Commit Graph

9799 Commits

Author SHA1 Message Date
Andreas Beeker 27399cec83 #54803 - Error opening XLSX after saving with a Drawing using POI
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1857671 13f79535-47bb-0310-9956-ffa450edef68
2019-04-17 06:19:51 +00:00
Andreas Beeker e2cd384259 #54803 - Error opening XLSX after saving with a Drawing using POI
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1857663 13f79535-47bb-0310-9956-ffa450edef68
2019-04-16 21:27:30 +00:00
PJ Fanning 08d44a1d84 try a different url for svnclient jar (due to broken CI builds)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1857637 13f79535-47bb-0310-9956-ffa450edef68
2019-04-16 10:00:30 +00:00
PJ Fanning cf5b72bc00 some more checks for int overflows
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1857609 13f79535-47bb-0310-9956-ffa450edef68
2019-04-15 23:10:04 +00:00
PJ Fanning c56ebe15af use ArithmeticUtils for calculations that might overflow
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1857596 13f79535-47bb-0310-9956-ffa450edef68
2019-04-15 16:02:53 +00:00
PJ Fanning 3c7bb45e54 use ArithmeticUtils for calculations that might overflow
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1857594 13f79535-47bb-0310-9956-ffa450edef68
2019-04-15 15:45:59 +00:00
Dominik Stadler 8a1d0151ea Disable all apache-beam-* nodes as they seem to lack svn and Ant installations currently
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1857490 13f79535-47bb-0310-9956-ffa450edef68
2019-04-13 19:27:55 +00:00
Dominik Stadler 8823c1a9ab Add missing license header
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1857483 13f79535-47bb-0310-9956-ffa450edef68
2019-04-13 17:19:05 +00:00
Dominik Stadler b652fc664f Try to make dependency on "svn" optional to allow to build on more CI nodes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1857476 13f79535-47bb-0310-9956-ffa450edef68
2019-04-13 13:06:43 +00:00
PJ Fanning 924b2c546b [bug-63344] add TempFilePOIFSFileSystem
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1857462 13f79535-47bb-0310-9956-ffa450edef68
2019-04-13 10:08:55 +00:00
PJ Fanning bdc3b391fd [bug-63344] add TempFilePOIFSFileSystem
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1857461 13f79535-47bb-0310-9956-ffa450edef68
2019-04-13 10:03:02 +00:00
PJ Fanning fb5d21b1bb adjust formatting
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1857452 13f79535-47bb-0310-9956-ffa450edef68
2019-04-13 08:08:36 +00:00
Dominik Stadler 11772284ec Jenkins: Disable one node which is missing the "svn" command
display if svn is available as part of the Test-Environment job

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1857449 13f79535-47bb-0310-9956-ffa450edef68
2019-04-13 07:41:21 +00:00
Tim Allison cf76af521d Bug 63330 -- use skipfully instead of hoping skip() works
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1857277 13f79535-47bb-0310-9956-ffa450edef68
2019-04-10 19:11:02 +00:00
Greg Woolsey 362a99a60b Update site source for 4.1.0, prep build for 4.1.1 (via ant task)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1857217 13f79535-47bb-0310-9956-ffa450edef68
2019-04-09 15:57:25 +00:00
Andreas Beeker 3a6c933020 Remove invalid import
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1857141 13f79535-47bb-0310-9956-ffa450edef68
2019-04-08 21:09:55 +00:00
Tim Allison a5278ccad9 bug 63327 allow retrieval of wmf data embedded in emf
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1857136 13f79535-47bb-0310-9956-ffa450edef68
2019-04-08 19:53:21 +00:00
Tim Allison ad11a5d363 Bug 63323 -- improve handling of multibyte characters
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1857135 13f79535-47bb-0310-9956-ffa450edef68
2019-04-08 19:51:16 +00:00
Dominik Stadler 836b9abdc6 Set version to 4.1.1-SNAPSHOT everywhere to not mix intermediate packages with the future final ones, add a helper target to set the version from the build.xml everywhere
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1857070 13f79535-47bb-0310-9956-ffa450edef68
2019-04-07 07:17:58 +00:00
Dominik Stadler 56c0209780 Various enhancements to build.xml
* Use https for pentaho repository location
* Add some more targets to "jenkins" target
* Add download of maven-ant-task to make target "maven-install"
  work without manual installation into the ant-home directory
* Update JaCoCo to 0.8.3 and asm to 7.0
  This should now also work with JDK 13 pre-builds, so enable
  coverage in the JDK 13 CI builds again

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1857069 13f79535-47bb-0310-9956-ffa450edef68
2019-04-07 07:17:52 +00:00
Dominik Stadler 6119c0ecec Fix a flaky test, it seems if the document is not closed, the automatic
closing of file-handles interferes with subsequent tests, by closing the
document this flakiness seems to be gone.

Flakiness could be reproduced locally by continuously running test with IntelliJ
"run until failure" run-config option and after aprox. 17,000 test-executions!

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1857068 13f79535-47bb-0310-9956-ffa450edef68
2019-04-07 07:17:47 +00:00
Dominik Stadler b88c6b12e5 Improve error message slightly and verify error when a File is passed in
as "Object"

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1857067 13f79535-47bb-0310-9956-ffa450edef68
2019-04-07 07:17:41 +00:00
Dominik Stadler 9b726e88b7 Close more file-handles in tests and convert some more tests to junit-4
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1857066 13f79535-47bb-0310-9956-ffa450edef68
2019-04-07 07:17:34 +00:00
Greg Woolsey ec2db31b43 prepare for 4.1.1
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1857042 13f79535-47bb-0310-9956-ffa450edef68
2019-04-05 22:44:00 +00:00
Greg Woolsey 030fdf1b61 release prepare for 4.1.0 - updating build.xml and changes.xml
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1857040 13f79535-47bb-0310-9956-ffa450edef68
2019-04-05 22:43:37 +00:00
Greg Woolsey f6d1bc51bd prepare for 4.1.1
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1857022 13f79535-47bb-0310-9956-ffa450edef68
2019-04-05 16:14:30 +00:00
Greg Woolsey 27726a34c2 release prepare for 4.1.0 - updating build.xml and changes.xml
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1857020 13f79535-47bb-0310-9956-ffa450edef68
2019-04-05 16:13:58 +00:00
Greg Woolsey 150344ef5a restore BouncyCastle version to 1.61, update commons-openpgp link to newer version for signature tasks.
Should restore build.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1857015 13f79535-47bb-0310-9956-ffa450edef68
2019-04-05 15:09:24 +00:00
PJ Fanning 0c8e82f40f fix ref to batik version
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1856995 13f79535-47bb-0310-9956-ffa450edef68
2019-04-05 09:20:17 +00:00
PJ Fanning b523186038 try to fix javadoc issues
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1856994 13f79535-47bb-0310-9956-ffa450edef68
2019-04-05 09:18:26 +00:00
Greg Woolsey 8a5bd2c774 revert signing BouncyCastle to 1.51 due to commons-openpgp dependency compatibility
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1856984 13f79535-47bb-0310-9956-ffa450edef68
2019-04-05 03:44:02 +00:00
Greg Woolsey aa311680d8 prepare for 4.1.1
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1856983 13f79535-47bb-0310-9956-ffa450edef68
2019-04-05 02:12:43 +00:00
Greg Woolsey 3cfebf8cd5 Update pentaho repo domain, per
https://repo.pentaho.org/

- converted to nexus.pentaho.org

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1856966 13f79535-47bb-0310-9956-ffa450edef68
2019-04-04 17:32:10 +00:00
Dominik Stadler e6c3dd9350 Fix some IDE warnings and enable commented test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1856691 13f79535-47bb-0310-9956-ffa450edef68
2019-03-31 19:29:52 +00:00
Dominik Stadler 8f3935d023 Add integration-test-jar to jenkins target
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1856690 13f79535-47bb-0310-9956-ffa450edef68
2019-03-31 19:29:46 +00:00
Dominik Stadler 0e69c64a62 Add some more variants of HTML with preceding newline which we see frequently
in the large regression test corpus

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1856689 13f79535-47bb-0310-9956-ffa450edef68
2019-03-31 19:29:42 +00:00
Dominik Stadler 097fd7a5e2 Close more file-handles in tests, convert junit3 tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1856688 13f79535-47bb-0310-9956-ffa450edef68
2019-03-31 19:29:34 +00:00
PJ Fanning 9576ab77f9 replace version number 4.0.2
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1856665 13f79535-47bb-0310-9956-ffa450edef68
2019-03-31 08:54:44 +00:00
Greg Woolsey 48ac6b4d02 fix a condition not seen until a recent expansion of the stress test. Gracefully ignore missing/invalid external sheet references in one more path (there were several already with comments like "this seems to be what Excel does in this case")
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1856655 13f79535-47bb-0310-9956-ffa450edef68
2019-03-31 03:49:16 +00:00
Greg Woolsey 389946bb31 fix unit test that I merged wrong.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1856653 13f79535-47bb-0310-9956-ffa450edef68
2019-03-31 01:12:10 +00:00
Greg Woolsey 6b76706ef7 #61700 getForceFormulaRecalculation() returns wrong value
changed to use the proper OOXML attribute instead of a hack about calculation engine version ID.  Reporter was right, the behavior was wrong in some cases, but it turns out the fix was a bit more.  See issue for details.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1856652 13f79535-47bb-0310-9956-ffa450edef68
2019-03-31 01:00:05 +00:00
PJ Fanning b9101138bd [bug-61700] getForceFormulaRecalculation() returns wrong value. Fix thanks to Kai G
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1856650 13f79535-47bb-0310-9956-ffa450edef68
2019-03-30 23:59:19 +00:00
PJ Fanning 5d580f48e6 fix build issue
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1856649 13f79535-47bb-0310-9956-ffa450edef68
2019-03-30 21:57:50 +00:00
Greg Woolsey 67aad69757 #63292 1904 date windowing flag not used for some format cases
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1856648 13f79535-47bb-0310-9956-ffa450edef68
2019-03-30 20:13:24 +00:00
Greg Woolsey 0d22749477 #63291 CellFormat global cache isn't thread-safe
move date format synchronization down to where the problem instance is held. 

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1856647 13f79535-47bb-0310-9956-ffa450edef68
2019-03-30 19:33:02 +00:00
Greg Woolsey 30851e44a6 #63302 Formula evaluation of names with offset or row function is incorrect
thanks to John Lincoln White for the patch, including new unit tests.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1856644 13f79535-47bb-0310-9956-ffa450edef68
2019-03-30 18:14:14 +00:00
PJ Fanning 2a9390d683 [bug-63291] support concurrent date formatting with same DataFormatter
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1856449 13f79535-47bb-0310-9956-ffa450edef68
2019-03-27 23:04:40 +00:00
PJ Fanning 80dc4b34c9 add test for concurrent use of DataFormatter
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1856439 13f79535-47bb-0310-9956-ffa450edef68
2019-03-27 21:24:25 +00:00
PJ Fanning 89d34e6c64 use released version of xmlbeans 3.1.0
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1856354 13f79535-47bb-0310-9956-ffa450edef68
2019-03-26 23:41:53 +00:00
PJ Fanning e2111d9d26 xmlbeans 3.1.0
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1856093 13f79535-47bb-0310-9956-ffa450edef68
2019-03-22 23:24:35 +00:00