Commit Graph

9433 Commits

Author SHA1 Message Date
Dominik Stadler
de6280700b Enable periodic run of build against JDK 11
Add build for JDK 12, but still disabled because there is no JDK 12 in CI availalbe yet

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1839198 13f79535-47bb-0310-9956-ffa450edef68
2018-08-26 11:41:25 +00:00
Dominik Stadler
522c33358b Ensure that file handles are closed for encrypted files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1839197 13f79535-47bb-0310-9956-ffa450edef68
2018-08-26 11:41:20 +00:00
Dominik Stadler
eaea81bfa8 Use any version of xmlbeans in the assemble step to reduce the number of places that need to be updated
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1839196 13f79535-47bb-0310-9956-ffa450edef68
2018-08-26 11:41:13 +00:00
Dominik Stadler
71002b2491 Adjust test for JDK 9, 10 and 11
fix some IDE/Javadoc warnings

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1839195 13f79535-47bb-0310-9956-ffa450edef68
2018-08-26 11:41:09 +00:00
PJ Fanning
876a783aee fix accidental change in test file
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1838919 13f79535-47bb-0310-9956-ffa450edef68
2018-08-24 17:58:30 +00:00
PJ Fanning
f82d679413 use released version of xmlbeans 3.0.1
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1838918 13f79535-47bb-0310-9956-ffa450edef68
2018-08-24 17:57:06 +00:00
Dominik Stadler
5f15047629 Also update asm to 6.2.1, this is required for JaCoCo 0.8.2
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1838787 13f79535-47bb-0310-9956-ffa450edef68
2018-08-24 06:48:39 +00:00
Dominik Stadler
301832620b Exclude some test-suites in build.gradle to not execute tests multiple times
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1838765 13f79535-47bb-0310-9956-ffa450edef68
2018-08-23 20:23:30 +00:00
Dominik Stadler
d351a24e5c Update JaCoCo to 0.8.2 in build.gradle to make it work with JDK 10+
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1838764 13f79535-47bb-0310-9956-ffa450edef68
2018-08-23 20:23:25 +00:00
Dominik Stadler
4663238bb8 Adjust for JDK 11 ea-26 build, need to add jaxb via normal jar dependency now as it was removed from the JDK
Also needed to remove a few uses of Mockito which fail now with certain abstract classes
Update to Mockito 2.21

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1838763 13f79535-47bb-0310-9956-ffa450edef68
2018-08-23 20:23:20 +00:00
Dominik Stadler
5acb18ac04 Remove some IDE warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1838733 13f79535-47bb-0310-9956-ffa450edef68
2018-08-23 13:34:25 +00:00
Dominik Stadler
78dac9bd50 Update to latest Mockito 2.21
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1838731 13f79535-47bb-0310-9956-ffa450edef68
2018-08-23 13:25:53 +00:00
Dominik Stadler
ba258c675e Add staging repo in one more place in Gradle build to make compile succeed on a fresh machine
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1838729 13f79535-47bb-0310-9956-ffa450edef68
2018-08-23 13:22:34 +00:00
Dominik Stadler
c9dad04072 Disable some machines that do not yet have JDK 11 installed
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1838705 13f79535-47bb-0310-9956-ffa450edef68
2018-08-23 09:26:25 +00:00
Dominik Stadler
b2e81ecad9 Try to make target "docs" work on Windows again
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1838703 13f79535-47bb-0310-9956-ffa450edef68
2018-08-23 09:06:34 +00:00
Dominik Stadler
1d9568899d Adjust job for JDK 11 to not require module java.xml.bind any more
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1838702 13f79535-47bb-0310-9956-ffa450edef68
2018-08-23 09:03:49 +00:00
PJ Fanning
179e81c4a4 [github-122] XWPF: Set table and table cell widths to percentage, twips, or auto. This closes #122
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1838449 13f79535-47bb-0310-9956-ffa450edef68
2018-08-20 18:12:37 +00:00
PJ Fanning
a611b66fd1 [bug-62639] make private constructor on DateFormatter public
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1838420 13f79535-47bb-0310-9956-ffa450edef68
2018-08-20 10:03:49 +00:00
PJ Fanning
71f2298b9a allow access to apache staging repo
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1838379 13f79535-47bb-0310-9956-ffa450edef68
2018-08-19 13:17:43 +00:00
PJ Fanning
37a3a769fe uptake xmlbeans 3.0.1 (staging version, pre-release)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1838366 13f79535-47bb-0310-9956-ffa450edef68
2018-08-19 09:08:00 +00:00
Dominik Stadler
2ef660bf97 Adjust list of nodes for testing environment
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1838360 13f79535-47bb-0310-9956-ffa450edef68
2018-08-19 05:58:31 +00:00
Dominik Stadler
1b77f54b3c Add Job for testing with JDK 11, no trigger yet as it does not fully work yet
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1838359 13f79535-47bb-0310-9956-ffa450edef68
2018-08-19 05:58:27 +00:00
PJ Fanning
8a417fe39d fix issue with commons-compress URL
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1838237 13f79535-47bb-0310-9956-ffa450edef68
2018-08-17 07:53:10 +00:00
Tim Allison
99a27862ae 62630 -- upgrad commons-compress
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1838214 13f79535-47bb-0310-9956-ffa450edef68
2018-08-16 18:36:47 +00:00
Tim Allison
5a2090fe9d entity_expansion
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1838135 13f79535-47bb-0310-9956-ffa450edef68
2018-08-15 19:20:11 +00:00
PJ Fanning
ae13b034fe [github-121] Fix issue with setting vertical alignment and emphasis mark. This closes #121
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1838133 13f79535-47bb-0310-9956-ffa450edef68
2018-08-15 18:31:36 +00:00
Tim Allison
fa0d9edebd improve sax reading
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1838048 13f79535-47bb-0310-9956-ffa450edef68
2018-08-14 20:03:14 +00:00
Tim Allison
2942b66e7a bug 62597 -- bump max record length for ExOleObjStg based on regression corpus
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1838047 13f79535-47bb-0310-9956-ffa450edef68
2018-08-14 19:29:03 +00:00
Andreas Beeker
1407ace4f7 #61589 - Importing content does not copy hyperlink address
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1837909 13f79535-47bb-0310-9956-ffa450edef68
2018-08-12 22:35:02 +00:00
PJ Fanning
1691c2372a disable dtd processing
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1837850 13f79535-47bb-0310-9956-ffa450edef68
2018-08-11 09:22:05 +00:00
Andreas Beeker
d21c3d50ee #62587 - repeated call to XSLFSheet.removeShape leads to java.lang.IllegalArgumentException: partName
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1837839 13f79535-47bb-0310-9956-ffa450edef68
2018-08-11 01:55:39 +00:00
Tim Allison
5e241fdd3c bug 62591 -- revert to ignoring place holders even if they contain metroblobs in ppt
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1837742 13f79535-47bb-0310-9956-ffa450edef68
2018-08-09 15:50:34 +00:00
PJ Fanning
7b8ff720f4 try to fix TestAllFiles
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1837716 13f79535-47bb-0310-9956-ffa450edef68
2018-08-09 11:09:45 +00:00
Tim Allison
2bb839edd7 bug 62608 -- avoid ioobe in VBAMacroReader
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1837664 13f79535-47bb-0310-9956-ffa450edef68
2018-08-08 17:30:02 +00:00
Tim Allison
070e815109 bug 62592 -- prevent StackOverflowError on corrupt thmx
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1837658 13f79535-47bb-0310-9956-ffa450edef68
2018-08-08 16:06:18 +00:00
Tim Allison
c709b0c5d5 bug 62597 -- bump max record sizes up based on new failures in regression set. I typically bumped to 2x the max found in regression set.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1837387 13f79535-47bb-0310-9956-ffa450edef68
2018-08-03 17:14:34 +00:00
PJ Fanning
cad6c1701f fix build issue
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1837349 13f79535-47bb-0310-9956-ffa450edef68
2018-08-03 07:41:22 +00:00
PJ Fanning
c456c2fbe6 [github-119] extra xpwf formatting support. This closes #119
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1837336 13f79535-47bb-0310-9956-ffa450edef68
2018-08-02 21:28:47 +00:00
PJ Fanning
9a6fde7673 [github-120] rename some new xpwf abstract classes. This closes #120
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1837335 13f79535-47bb-0310-9956-ffa450edef68
2018-08-02 20:04:49 +00:00
PJ Fanning
361117c17a add CTEm class to poi-ooxml-schemas
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1837197 13f79535-47bb-0310-9956-ffa450edef68
2018-07-31 23:45:18 +00:00
PJ Fanning
e05b80f7dc [github-118] Added get/set for mirror margins setting. This closes #118
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1837093 13f79535-47bb-0310-9956-ffa450edef68
2018-07-30 22:23:25 +00:00
PJ Fanning
bfc79d5169 add new public method to expose cell addresses that have comments
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1837082 13f79535-47bb-0310-9956-ffa450edef68
2018-07-30 18:44:58 +00:00
PJ Fanning
6e0a009b8f ensure xssfsheet getCellComments returns comments with client anchors set
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1837014 13f79535-47bb-0310-9956-ffa450edef68
2018-07-30 02:08:37 +00:00
PJ Fanning
f84dc3885c exclude broken pptx file from integration test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1837013 13f79535-47bb-0310-9956-ffa450edef68
2018-07-30 01:55:09 +00:00
PJ Fanning
857f4a5ad4 add null guard in XSSFComment
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1837012 13f79535-47bb-0310-9956-ffa450edef68
2018-07-30 01:45:29 +00:00
PJ Fanning
51b4e33a62 add 1 of the pptx files failing in centic regression tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1837010 13f79535-47bb-0310-9956-ffa450edef68
2018-07-29 23:19:07 +00:00
PJ Fanning
3be215e070 Handle NPE issues in POIXMLProperties
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1837007 13f79535-47bb-0310-9956-ffa450edef68
2018-07-29 23:05:01 +00:00
PJ Fanning
83b60f4777 [bug-62275] in vlooup function, treat optional 4th param as true if the value is not provided
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1836857 13f79535-47bb-0310-9956-ffa450edef68
2018-07-27 21:26:31 +00:00
PJ Fanning
3c4d0086fa add test case
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1836856 13f79535-47bb-0310-9956-ffa450edef68
2018-07-27 21:00:36 +00:00
PJ Fanning
d2d9202772 make xssf streaming code more extensible
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1836795 13f79535-47bb-0310-9956-ffa450edef68
2018-07-27 09:19:58 +00:00