Commit Graph

9828 Commits

Author SHA1 Message Date
Alain Béarez 8784d6d6d7 fix potential input resource leaks (LGTM)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1859591 13f79535-47bb-0310-9956-ffa450edef68
2019-05-21 00:13:47 +00:00
Alain Béarez 093cbcfcca code cleanup plus fix for bug 63153
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1859590 13f79535-47bb-0310-9956-ffa450edef68
2019-05-21 00:13:40 +00:00
Alain Béarez af1dacfe2c Added more chart supports.
fixed bug while creating chart with bar and line series.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1859589 13f79535-47bb-0310-9956-ffa450edef68
2019-05-21 00:13:28 +00:00
Dominik Stadler 217a7caae6 Use TempFile to avoid problems with temporary directories in Maven builds
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1859575 13f79535-47bb-0310-9956-ffa450edef68
2019-05-20 17:35:54 +00:00
Dominik Stadler 1a3e69fe16 Include actual found type in exception when encountering unexpected type of file in ExtractorFactory
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1859565 13f79535-47bb-0310-9956-ffa450edef68
2019-05-20 14:42:39 +00:00
Dominik Stadler b2130769b6 FileMagic now has patterns with up to 12 bytes (JPG)
Avoid exception if a very short file is encountered
Add more tests

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1859564 13f79535-47bb-0310-9956-ffa450edef68
2019-05-20 14:42:31 +00:00
Dominik Stadler f4a3d3bb89 Refine JavaDoc of WorkbookFactory slightly
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1859368 13f79535-47bb-0310-9956-ffa450edef68
2019-05-16 11:40:38 +00:00
Tim Allison b3da2d5e8a Bug 63431 -- unbug ChunkedCipherInputStream's read()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1859251 13f79535-47bb-0310-9956-ffa450edef68
2019-05-15 00:56:15 +00:00
PJ Fanning b77c010743 [github-148] update license text in pom file. Thanks to Vincent Privat. This close #148
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1859202 13f79535-47bb-0310-9956-ffa450edef68
2019-05-14 00:44:47 +00:00
Andreas Beeker 3f59355629 revert exclude H27 / don't complain on mkdir
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1859163 13f79535-47bb-0310-9956-ffa450edef68
2019-05-12 23:34:29 +00:00
Andreas Beeker 73bcdb55da exclude H27
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1859162 13f79535-47bb-0310-9956-ffa450edef68
2019-05-12 23:22:27 +00:00
PJ Fanning 2ae5198ff7 [github-145] issue in PackagingURIHelper.encode. Thanks to @greedbell. This closes #145
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1859160 13f79535-47bb-0310-9956-ffa450edef68
2019-05-12 20:59:27 +00:00
Andreas Beeker d6ee139b39 Bug 60656 - EMF image support in slideshows
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1859159 13f79535-47bb-0310-9956-ffa450edef68
2019-05-12 19:50:04 +00:00
Andreas Beeker 049baa86d7 #59004 - HSLF rendering - adjust values for presetShapeDefinition differs in HSLF/XSLF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1859102 13f79535-47bb-0310-9956-ffa450edef68
2019-05-10 20:55:24 +00:00
Andreas Beeker 4e663c4b5d Don't fallback to master shape properties, if master shape is not assigned
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1859101 13f79535-47bb-0310-9956-ffa450edef68
2019-05-10 20:54:57 +00:00
PJ Fanning 8d9378a867 [bug-63404] add description to assemble target
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1858773 13f79535-47bb-0310-9956-ffa450edef68
2019-05-06 10:12:40 +00:00
Andreas Beeker d0da9b788d Disable all beam nodes - ANT is not installed on them
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1858660 13f79535-47bb-0310-9956-ffa450edef68
2019-05-05 09:49:35 +00:00
Andreas Beeker 6b69baf2e1 Bug 60656 - EMF image support in slideshows
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1858628 13f79535-47bb-0310-9956-ffa450edef68
2019-05-05 01:05:58 +00:00
Andreas Beeker ea0e01acc1 Bug 60656 - EMF image support in slideshows
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1858625 13f79535-47bb-0310-9956-ffa450edef68
2019-05-04 23:01:53 +00:00
PJ Fanning dfbf788201 [bug-62906] ensure table display name is always set
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1858179 13f79535-47bb-0310-9956-ffa450edef68
2019-04-26 07:48:26 +00:00
Dominik Stadler abc7359c8f Make compilation work in Eclipse 2019.03 again by working around a
limitation of the Eclipse Java Compiler regarding casting/generics

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1858117 13f79535-47bb-0310-9956-ffa450edef68
2019-04-25 12:27:04 +00:00
Dominik Stadler bd8fab1196 Close more file-handles in tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1858024 13f79535-47bb-0310-9956-ffa450edef68
2019-04-23 20:28:21 +00:00
Dominik Stadler 66d522873f Update JAXB to the latest version
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1858023 13f79535-47bb-0310-9956-ffa450edef68
2019-04-23 20:28:00 +00:00
Dominik Stadler 37ec3380ae Bug 63371: addMergedRegion does not update CTMergeCells.getCount
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1858022 13f79535-47bb-0310-9956-ffa450edef68
2019-04-23 20:27:53 +00:00
Dominik Stadler cd52566c98 Bug 63073: Adjust returned index of merged regions and verify all calls in tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1858021 13f79535-47bb-0310-9956-ffa450edef68
2019-04-23 20:27:39 +00:00
Dominik Stadler d7aedc7978 Use https in build.xml where possible to avoid errors in Gradle build
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1857971 13f79535-47bb-0310-9956-ffa450edef68
2019-04-22 19:32:11 +00:00
Dominik Stadler c81a41bb7f Jenkins DSL: Exclude more beam* nodes which cause strange problems
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1857970 13f79535-47bb-0310-9956-ffa450edef68
2019-04-22 19:32:07 +00:00
Dominik Stadler be7730bce3 Jenkins DSL: Switch to "Ant 1.9 (Latest)" as "Ant 1.9.9" seems to be unavailable on some machines
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1857969 13f79535-47bb-0310-9956-ffa450edef68
2019-04-22 18:48:35 +00:00
Andreas Beeker 103b011b4a #github-143 - MAPIType.isFixedLength: not true in case of length > 8
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1857708 13f79535-47bb-0310-9956-ffa450edef68
2019-04-17 20:18:29 +00:00
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