Commit Graph

10091 Commits

Author SHA1 Message Date
Dominik Stadler c6dd3af374 Print out currently set Apache POI version during build.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1873233 13f79535-47bb-0310-9956-ffa450edef68
2020-01-27 22:54:21 +00:00
Dominik Stadler 366c80c480 Handle empty files correctly when looking for FileMagic to avoid NegativeArraySizeException
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1873232 13f79535-47bb-0310-9956-ffa450edef68
2020-01-27 22:54:15 +00:00
Dominik Stadler 31eb7f9b06 Fix some IDE warnings, Sonar fixes and some missing closing of resources in unit-tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1873231 13f79535-47bb-0310-9956-ffa450edef68
2020-01-27 22:54:03 +00:00
PJ Fanning d684fe1ebe fix NPE in test code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1873225 13f79535-47bb-0310-9956-ffa450edef68
2020-01-27 18:29:43 +00:00
Andreas Beeker 22a9be8706 #64036 - Replace reflection calls in factories for Java 9+ - POIXMLDocument factories
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1873190 13f79535-47bb-0310-9956-ffa450edef68
2020-01-27 00:31:01 +00:00
PJ Fanning 92deb8069d [bug-64098] XWPFRun: Whitespace in text not preserved if starting with tab character. Thanks to gjmathews
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1873188 13f79535-47bb-0310-9956-ffa450edef68
2020-01-26 20:44:02 +00:00
Andreas Beeker 8202a34d69 #64036 - Replace reflection calls in factories for Java 9+ - Escher factories
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1873187 13f79535-47bb-0310-9956-ffa450edef68
2020-01-26 19:50:40 +00:00
Andreas Beeker 563c29f8cf sonar fixes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1873078 13f79535-47bb-0310-9956-ffa450edef68
2020-01-23 22:48:19 +00:00
Andreas Beeker 01e30dcd8f Deactivate Forbidden apis check again
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1873047 13f79535-47bb-0310-9956-ffa450edef68
2020-01-22 21:43:14 +00:00
Andreas Beeker e46ad7452c Sonar fixes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1873015 13f79535-47bb-0310-9956-ffa450edef68
2020-01-21 22:02:10 +00:00
Andreas Beeker 88bbcee1c6 try to fix winmail errors in maven / sonar builds
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1873001 13f79535-47bb-0310-9956-ffa450edef68
2020-01-21 00:06:32 +00:00
Andreas Beeker 0fb322bb92 #64088 - SlideShow rendering fixes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872984 13f79535-47bb-0310-9956-ffa450edef68
2020-01-19 20:44:36 +00:00
Dominik Stadler 5927fd37f2 Adjust JavaDoc for stream-based reading of large workbooks
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872903 13f79535-47bb-0310-9956-ffa450edef68
2020-01-17 08:46:24 +00:00
Alain Béarez 1bcaa30bed Error bar minus and plus as numerical data sources
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872692 13f79535-47bb-0310-9956-ffa450edef68
2020-01-13 00:27:06 +00:00
Alain Béarez 2ff9f0fbbf Implement error bars on scatter chart data series
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872691 13f79535-47bb-0310-9956-ffa450edef68
2020-01-13 00:27:03 +00:00
Alain Béarez 22dd38ef72 Implement error bars for bar and line charts
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872690 13f79535-47bb-0310-9956-ffa450edef68
2020-01-13 00:26:59 +00:00
PJ Fanning b211a1362c use a few more lambdas
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872644 13f79535-47bb-0310-9956-ffa450edef68
2020-01-12 11:04:21 +00:00
PJ Fanning aa11adebf1 try to fix some jdk 14 build issues due to java.lang.Record causing existing POI Record classes to be ambiguous
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872611 13f79535-47bb-0310-9956-ffa450edef68
2020-01-10 23:32:03 +00:00
PJ Fanning 2797d07486 try to fix some jdk 14 build issues due to java.lang.Record causing existing POI Record classes to be ambiguous
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872610 13f79535-47bb-0310-9956-ffa450edef68
2020-01-10 23:13:20 +00:00
Dominik Stadler 12d49035c0 Jenkins DSL: Add JDK 14, disable JDK 12
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872608 13f79535-47bb-0310-9956-ffa450edef68
2020-01-10 21:04:14 +00:00
PJ Fanning 9e7b0e899e reformat code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872568 13f79535-47bb-0310-9956-ffa450edef68
2020-01-09 21:24:31 +00:00
PJ Fanning b594ec2947 [bug-63998] Support commas, exclamation marks correctly in AreaReference. Thanks to hzwhuang
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872567 13f79535-47bb-0310-9956-ffa450edef68
2020-01-09 21:19:34 +00:00
Andreas Beeker 11b2c7e898 #63955 - HMEFContentsExtractor fails to extract content from winmail.dat
fixed integration test

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872523 13f79535-47bb-0310-9956-ffa450edef68
2020-01-08 23:49:31 +00:00
Andreas Beeker f7fe4b0d59 #63955 - HMEFContentsExtractor fails to extract content from winmail.dat
added example file - optimized junit tests

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872480 13f79535-47bb-0310-9956-ffa450edef68
2020-01-08 00:49:39 +00:00
Andreas Beeker 5a5c074471 try sonar module key
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872478 13f79535-47bb-0310-9956-ffa450edef68
2020-01-08 00:30:58 +00:00
Andreas Beeker b1508479a7 try to set sonar settings via maven properties
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872477 13f79535-47bb-0310-9956-ffa450edef68
2020-01-08 00:01:05 +00:00
Andreas Beeker f776ddfbbb use lambda instead of sub class
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872475 13f79535-47bb-0310-9956-ffa450edef68
2020-01-07 23:05:47 +00:00
Andreas Beeker d1a714f5f1 findbugs fixes and refactor some ClassIDs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872473 13f79535-47bb-0310-9956-ffa450edef68
2020-01-07 22:46:29 +00:00
Andreas Beeker a4b6cf895b test if sonar can be configured via properties file
sonarcloud complained about jacoco native report paths

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872469 13f79535-47bb-0310-9956-ffa450edef68
2020-01-07 21:15:33 +00:00
PJ Fanning c891bca596 remove accidental commit
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872454 13f79535-47bb-0310-9956-ffa450edef68
2020-01-07 18:49:27 +00:00
PJ Fanning d8cfe433dd close OPCPackage if there is an exception
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872453 13f79535-47bb-0310-9956-ffa450edef68
2020-01-07 18:46:11 +00:00
Tim Allison e875bd8143 BUG 64015 -- swap out java.util.BitSet for zaxxer's SparseBitSet
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872445 13f79535-47bb-0310-9956-ffa450edef68
2020-01-07 15:45:07 +00:00
Andreas Beeker fb8f171900 ignore path conversion for URLs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872402 13f79535-47bb-0310-9956-ffa450edef68
2020-01-07 00:53:19 +00:00
Andreas Beeker 46f1242d03 add integration-test to sonar to update test coverage
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872400 13f79535-47bb-0310-9956-ffa450edef68
2020-01-07 00:44:01 +00:00
Andreas Beeker a4c370f913 sonar fixes - use assert in junit tests
use try-with-resources
remove obsolete and renamed OPOIFS references
add logic to unit tests which just opened a file, by rewriting it and some formula evaluation logic

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872397 13f79535-47bb-0310-9956-ffa450edef68
2020-01-06 21:48:00 +00:00
Alain Béarez 3c4d5b9c2b Clear all chart's properties as if newly created
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872363 13f79535-47bb-0310-9956-ffa450edef68
2020-01-05 23:54:12 +00:00
Alain Béarez 21393fd083 Complete test with cell in newly added column
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872362 13f79535-47bb-0310-9956-ffa450edef68
2020-01-05 23:54:09 +00:00
Alain Béarez fbf12935d3 Fix JavaDoc warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872361 13f79535-47bb-0310-9956-ffa450edef68
2020-01-05 23:54:06 +00:00
Andreas Beeker d66af200eb Sonar fixes - Tests should include assertions
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872302 13f79535-47bb-0310-9956-ffa450edef68
2020-01-03 23:30:36 +00:00
Dominik Stadler 4aa8334e3b Fix some additional file-handle-leaks reported by unit-tests via an enhanced version of the file-leak-detector
Also add a test for Bug 64045

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872287 13f79535-47bb-0310-9956-ffa450edef68
2020-01-03 13:11:41 +00:00
PJ Fanning 578d78da37 [bug-64045] close resources if we throw exceptions
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872284 13f79535-47bb-0310-9956-ffa450edef68
2020-01-03 11:27:01 +00:00
PJ Fanning 4a7aee8b1f remove unnecessary close
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872283 13f79535-47bb-0310-9956-ffa450edef68
2020-01-03 11:24:12 +00:00
PJ Fanning 8b389fdd4b [bug-64045] close resources if we throw exceptions
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872270 13f79535-47bb-0310-9956-ffa450edef68
2020-01-02 21:10:54 +00:00
PJ Fanning 7510f408dc [bug-64045] close resources if we throw exceptions
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872265 13f79535-47bb-0310-9956-ffa450edef68
2020-01-02 20:53:42 +00:00
PJ Fanning 22266e209a [bug-64045] close resources if we throw exceptions
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872264 13f79535-47bb-0310-9956-ffa450edef68
2020-01-02 20:45:31 +00:00
PJ Fanning 781ef0c754 [bug-64044] setCellValue(LocalDate) does not support nulls properly
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872247 13f79535-47bb-0310-9956-ffa450edef68
2020-01-02 15:20:04 +00:00
PJ Fanning 5ec079072a [bug-64044] setCellValue(LocalDate) does not support nulls properly
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872246 13f79535-47bb-0310-9956-ffa450edef68
2020-01-02 14:58:30 +00:00
Andreas Beeker adb8424bc1 Fix Visio compression
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872223 13f79535-47bb-0310-9956-ffa450edef68
2020-01-01 22:44:42 +00:00
Dominik Stadler 07b5bc667c Bug 63788: Remove AbstractNum by abstractNumId, not list index
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872187 13f79535-47bb-0310-9956-ffa450edef68
2020-01-01 19:22:30 +00:00
Dominik Stadler 9f35db4f51 Bug 63940: Avoid endless loop/out of memory on string-replace with empty search string
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872145 13f79535-47bb-0310-9956-ffa450edef68
2019-12-31 16:52:55 +00:00