Commit Graph

11640 Commits

Author SHA1 Message Date
PJ Fanning bbef66dee3 [bug-65741] issue with null date values causing npes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895877 13f79535-47bb-0310-9956-ffa450edef68
2021-12-13 12:23:13 +00:00
PJ Fanning e5722ef4e2 typo
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895875 13f79535-47bb-0310-9956-ffa450edef68
2021-12-13 11:24:48 +00:00
Dominik Stadler ae9cbc4230 Remove outdated downloaded versions of log4j
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895864 13f79535-47bb-0310-9956-ffa450edef68
2021-12-13 07:44:03 +00:00
PJ Fanning c81e996b0a use xmlbeans 5.0.3 staged version
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895844 13f79535-47bb-0310-9956-ffa450edef68
2021-12-12 10:52:06 +00:00
PJ Fanning 0f18de4b06 [bug-65739] reduce log level of message to debug
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895794 13f79535-47bb-0310-9956-ffa450edef68
2021-12-10 21:13:01 +00:00
PJ Fanning 0baf788054 [bug-65738] add basic test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895789 13f79535-47bb-0310-9956-ffa450edef68
2021-12-10 18:41:41 +00:00
PJ Fanning 11b0cf965c [bug-65738] do not treat zip directories as parts
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895788 13f79535-47bb-0310-9956-ffa450edef68
2021-12-10 18:07:25 +00:00
PJ Fanning 5ff9c60cbf log4j 2.15.0
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895746 13f79535-47bb-0310-9956-ffa450edef68
2021-12-10 08:00:11 +00:00
PJ Fanning 077815b37b add ctcustomxmlblockd3c1type.xsb to poi-ooxml-lite
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895733 13f79535-47bb-0310-9956-ffa450edef68
2021-12-09 20:37:15 +00:00
PJ Fanning 55324f9a97 spotbugs-gradle-plugin 5.0.2
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895722 13f79535-47bb-0310-9956-ffa450edef68
2021-12-09 12:54:35 +00:00
PJ Fanning ea1e38be74 [github-285] Issue in XDGFShape getTxtPinX. Thanks to Dmitry Komarov. This closes #285
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895720 13f79535-47bb-0310-9956-ffa450edef68
2021-12-09 09:55:02 +00:00
PJ Fanning a24820e629 add data-formatter test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895706 13f79535-47bb-0310-9956-ffa450edef68
2021-12-08 19:27:09 +00:00
PJ Fanning ea9883af55 update tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895705 13f79535-47bb-0310-9956-ffa450edef68
2021-12-08 19:03:30 +00:00
PJ Fanning 548dfb37f5 update tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895703 13f79535-47bb-0310-9956-ffa450edef68
2021-12-08 18:28:14 +00:00
Dominik Stadler b174eb5770 Fix applying ruls for forbidden-apis plugin
Need to use "+=", otherwise it overrides previous setup

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895702 13f79535-47bb-0310-9956-ffa450edef68
2021-12-08 17:21:25 +00:00
Dominik Stadler 9014625582 build.xml: Adjust forbidden-api to not get missing clases for prod-checks
Also clear up tabs/spaces

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895701 13f79535-47bb-0310-9956-ffa450edef68
2021-12-08 17:21:21 +00:00
PJ Fanning a5f73a0757 [bug-65730] add setUseCachedValuesForFormulaCells on DataFormatter
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895699 13f79535-47bb-0310-9956-ffa450edef68
2021-12-08 13:47:41 +00:00
PJ Fanning 307d5e2ce9 upgrade spotbugs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895696 13f79535-47bb-0310-9956-ffa450edef68
2021-12-08 12:42:19 +00:00
PJ Fanning d924919ab5 try to get xlookup example 6 to work
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895637 13f79535-47bb-0310-9956-ffa450edef68
2021-12-06 20:50:55 +00:00
PJ Fanning cbea2321f0 try to get xlookup example 6 to work
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895634 13f79535-47bb-0310-9956-ffa450edef68
2021-12-06 20:15:15 +00:00
Dominik Stadler 21039bd2b1 Some more changes for early support for JDK 18
Adjust one test which fails with JDK 18 because of
remove SecurityManager
Adjust excludes for JaCoCo as it does not run on JDK 18 otherwise
Adjust some JPMS settings which are not available any more on JDK 18

Some other things do not work yet, e.g. spotbugs

Also print out if CIBuild is selected
Only run signing if actually publishing to avoid failures
if signing key is defined locally

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895626 13f79535-47bb-0310-9956-ffa450edef68
2021-12-06 15:00:06 +00:00
Dominik Stadler 2d347b5a61 Fix forbidden-api violation for using wrong logger
Why did this not fail already earlier as
both the code and the forbidden-api are in place
for quite some time already?

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895625 13f79535-47bb-0310-9956-ffa450edef68
2021-12-06 14:59:45 +00:00
Dominik Stadler 97abbdd6ab Close some streams/workbooks properly
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895624 13f79535-47bb-0310-9956-ffa450edef68
2021-12-06 14:59:18 +00:00
PJ Fanning 811d4faf7b add broken test (xlookup)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895623 13f79535-47bb-0310-9956-ffa450edef68
2021-12-06 13:39:57 +00:00
PJ Fanning 6290a5ed24 add xmatch test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895622 13f79535-47bb-0310-9956-ffa450edef68
2021-12-06 13:05:08 +00:00
PJ Fanning c84888490f spotbugs 5.0.0
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895621 13f79535-47bb-0310-9956-ffa450edef68
2021-12-06 12:50:47 +00:00
PJ Fanning e52e874d28 add xmatch test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895619 13f79535-47bb-0310-9956-ffa450edef68
2021-12-06 12:02:24 +00:00
PJ Fanning 399280c79e add xmatch test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895618 13f79535-47bb-0310-9956-ffa450edef68
2021-12-06 11:54:38 +00:00
PJ Fanning 3e3bdd1328 add xmatch test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895615 13f79535-47bb-0310-9956-ffa450edef68
2021-12-06 10:37:08 +00:00
PJ Fanning 50bab16ece add xlookup test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895613 13f79535-47bb-0310-9956-ffa450edef68
2021-12-06 10:10:16 +00:00
PJ Fanning 80d4b8bd32 add initial version of XMATCH
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895608 13f79535-47bb-0310-9956-ffa450edef68
2021-12-06 00:32:45 +00:00
PJ Fanning c0681f0ca6 add initial version of XMATCH
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895607 13f79535-47bb-0310-9956-ffa450edef68
2021-12-05 23:52:49 +00:00
PJ Fanning 0a66fe284b initial work on example 5
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895606 13f79535-47bb-0310-9956-ffa450edef68
2021-12-05 23:25:31 +00:00
PJ Fanning f6e5e5f1c5 initial work on example 5
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895605 13f79535-47bb-0310-9956-ffa450edef68
2021-12-05 21:41:01 +00:00
PJ Fanning 6ca520e32d initial work on example 5
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895604 13f79535-47bb-0310-9956-ffa450edef68
2021-12-05 21:26:30 +00:00
PJ Fanning 7e240d41f1 initial work on example 5
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895603 13f79535-47bb-0310-9956-ffa450edef68
2021-12-05 21:03:21 +00:00
PJ Fanning c390436c9a fix broken xlookup test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895602 13f79535-47bb-0310-9956-ffa450edef68
2021-12-05 18:54:58 +00:00
Dominik Stadler a60f552c59 Remove some more from the Ant Build to try to keep POI-DSL-old-Xerces working for now
We can also switch it to Gradle soon, but let's keep a bit of Ant build a bit longer

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895601 13f79535-47bb-0310-9956-ffa450edef68
2021-12-05 17:34:58 +00:00
Dominik Stadler 1e9efb5562 Fix issues found when fuzzing Apache POI via Jazzer
Add some null-checks and report more meaningful exceptions
This provides a bit more information than simple NullPointExceptions

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895600 13f79535-47bb-0310-9956-ffa450edef68
2021-12-05 17:34:44 +00:00
Dominik Stadler f0e7cc0881 Fix issues found when fuzzing Apache POI via Jazzer
Check for negative array allocation size or access and report a more meaningful exception

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895599 13f79535-47bb-0310-9956-ffa450edef68
2021-12-05 17:34:19 +00:00
Dominik Stadler 0210af791e Fix issues found when fuzzing Apache POI via Jazzer
Catch and handle a possible NullPointerException in commons-compress
We can handle this gracefully for now and can remove this again
when commons-compress is fixed, see isse COMPRESS-598

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895598 13f79535-47bb-0310-9956-ffa450edef68
2021-12-05 15:34:16 +00:00
Dominik Stadler 3ef9605d29 Fix issues found when fuzzing Apache POI via Jazzer
Fix IOUtils.safelyClone to prevent overly large allocations
properly also when length is larger than src.length
Throw an exception instead of an assertion which hides
invalid usage in production builds

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895597 13f79535-47bb-0310-9956-ffa450edef68
2021-12-05 15:33:58 +00:00
Dominik Stadler d5538d24d8 Apply IDE suggestions, adjust tests, ...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895596 13f79535-47bb-0310-9956-ffa450edef68
2021-12-05 15:33:39 +00:00
PJ Fanning a3967026a3 add xlookup tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895595 13f79535-47bb-0310-9956-ffa450edef68
2021-12-05 11:14:42 +00:00
PJ Fanning 7f4378bda0 add xlookup tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895594 13f79535-47bb-0310-9956-ffa450edef68
2021-12-05 09:50:06 +00:00
PJ Fanning 7314afd6e5 refactor LookupUtils
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895568 13f79535-47bb-0310-9956-ffa450edef68
2021-12-04 08:53:29 +00:00
PJ Fanning 7e00f3594a upgrade byte-buddy
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895549 13f79535-47bb-0310-9956-ffa450edef68
2021-12-03 12:48:31 +00:00
PJ Fanning 10cd7dc8ed add xlookup tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895548 13f79535-47bb-0310-9956-ffa450edef68
2021-12-03 12:27:40 +00:00
PJ Fanning f33217b9e4 add xlookup tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895547 13f79535-47bb-0310-9956-ffa450edef68
2021-12-03 12:16:30 +00:00
PJ Fanning 37573b3b4e refactor LookupUtils
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895546 13f79535-47bb-0310-9956-ffa450edef68
2021-12-03 12:08:50 +00:00