]> source.dussan.org Git - poi.git/log
poi.git
12 months agotry to fix compile issues due to commons-compress upgrade
PJ Fanning [Thu, 16 Nov 2023 22:15:24 +0000 (22:15 +0000)]
try to fix compile issues due to commons-compress upgrade

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913865 13f79535-47bb-0310-9956-ffa450edef68

12 months agoprep v5.2.5
PJ Fanning [Thu, 16 Nov 2023 20:52:47 +0000 (20:52 +0000)]
prep v5.2.5

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913863 13f79535-47bb-0310-9956-ffa450edef68

12 months agoXMLBeans 5.2.0 release
PJ Fanning [Thu, 16 Nov 2023 20:46:45 +0000 (20:46 +0000)]
XMLBeans 5.2.0 release

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913860 13f79535-47bb-0310-9956-ffa450edef68

12 months agocommons-compress 1.25.0
PJ Fanning [Thu, 16 Nov 2023 20:16:19 +0000 (20:16 +0000)]
commons-compress 1.25.0

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913857 13f79535-47bb-0310-9956-ffa450edef68

12 months agobouncycastle 1.77
PJ Fanning [Wed, 15 Nov 2023 15:02:09 +0000 (15:02 +0000)]
bouncycastle 1.77

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913806 13f79535-47bb-0310-9956-ffa450edef68

12 months agoBug 68128: Exclude one broken file from the "No-Scratchpad" run
Dominik Stadler [Wed, 15 Nov 2023 10:32:59 +0000 (10:32 +0000)]
Bug 68128: Exclude one broken file from the "No-Scratchpad" run

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913797 13f79535-47bb-0310-9956-ffa450edef68

12 months agoClose document always in SlideShowRecordDumper
Dominik Stadler [Wed, 15 Nov 2023 10:22:49 +0000 (10:22 +0000)]
Close document always in SlideShowRecordDumper

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913795 13f79535-47bb-0310-9956-ffa450edef68

12 months agouse xmlbeans 5.1.1 release
PJ Fanning [Fri, 10 Nov 2023 10:50:14 +0000 (10:50 +0000)]
use xmlbeans 5.1.1 release

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913696 13f79535-47bb-0310-9956-ffa450edef68

12 months ago[bug-68094] try to improve cell width derivation by not rounding
PJ Fanning [Wed, 8 Nov 2023 13:41:53 +0000 (13:41 +0000)]
[bug-68094] try to improve cell width derivation by not rounding

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913676 13f79535-47bb-0310-9956-ffa450edef68

12 months ago[bug-67510] issue with empty num format on chart axes
PJ Fanning [Wed, 8 Nov 2023 12:34:41 +0000 (12:34 +0000)]
[bug-67510] issue with empty num format on chart axes

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913674 13f79535-47bb-0310-9956-ffa450edef68

12 months ago[bug-67510] issue with empty num format on chart axes
PJ Fanning [Wed, 8 Nov 2023 11:26:08 +0000 (11:26 +0000)]
[bug-67510] issue with empty num format on chart axes

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913672 13f79535-47bb-0310-9956-ffa450edef68

12 months agotemp workaround for chart axis issue
PJ Fanning [Wed, 8 Nov 2023 11:14:47 +0000 (11:14 +0000)]
temp workaround for chart axis issue

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913671 13f79535-47bb-0310-9956-ffa450edef68

12 months ago[github-545] Make exported sheet names compatible with Excel. Thanks to Aleksandrs...
PJ Fanning [Tue, 7 Nov 2023 21:50:12 +0000 (21:50 +0000)]
[github-545] Make exported sheet names compatible with Excel. Thanks to Aleksandrs Jansons. This closes #545

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913660 13f79535-47bb-0310-9956-ffa450edef68

12 months agotry to fix broken sxssf tests
PJ Fanning [Tue, 7 Nov 2023 12:23:53 +0000 (12:23 +0000)]
try to fix broken sxssf tests

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913651 13f79535-47bb-0310-9956-ffa450edef68

12 months agofix broken HSSFWorkbook test
PJ Fanning [Tue, 7 Nov 2023 12:00:57 +0000 (12:00 +0000)]
fix broken HSSFWorkbook test

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913648 13f79535-47bb-0310-9956-ffa450edef68

12 months agogradle 8.4
PJ Fanning [Tue, 7 Nov 2023 11:23:30 +0000 (11:23 +0000)]
gradle 8.4

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913647 13f79535-47bb-0310-9956-ffa450edef68

12 months agotest with saxon 12.3
PJ Fanning [Tue, 7 Nov 2023 11:17:39 +0000 (11:17 +0000)]
test with saxon 12.3

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913646 13f79535-47bb-0310-9956-ffa450edef68

12 months agoupgrade junit
PJ Fanning [Tue, 7 Nov 2023 08:54:13 +0000 (08:54 +0000)]
upgrade junit

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913643 13f79535-47bb-0310-9956-ffa450edef68

12 months agoupgrade cyclonedx
PJ Fanning [Mon, 30 Oct 2023 11:27:56 +0000 (11:27 +0000)]
upgrade cyclonedx

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913433 13f79535-47bb-0310-9956-ffa450edef68

12 months agosome tests
PJ Fanning [Fri, 27 Oct 2023 16:59:49 +0000 (16:59 +0000)]
some tests

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913396 13f79535-47bb-0310-9956-ffa450edef68

12 months agosome tests
PJ Fanning [Fri, 27 Oct 2023 16:53:06 +0000 (16:53 +0000)]
some tests

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913395 13f79535-47bb-0310-9956-ffa450edef68

12 months agosome tests
PJ Fanning [Fri, 27 Oct 2023 16:48:34 +0000 (16:48 +0000)]
some tests

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913394 13f79535-47bb-0310-9956-ffa450edef68

12 months agoBug 66425: Avoid exceptions found via poi-fuzz
Dominik Stadler [Fri, 27 Oct 2023 10:08:09 +0000 (10:08 +0000)]
Bug 66425: Avoid exceptions found via poi-fuzz

Fix one expected exception-text which is different
on newer Java versions

Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=63142

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913385 13f79535-47bb-0310-9956-ffa450edef68

12 months agoBug 66425: Avoid exceptions found via poi-fuzz
Dominik Stadler [Fri, 27 Oct 2023 10:08:04 +0000 (10:08 +0000)]
Bug 66425: Avoid exceptions found via poi-fuzz

Fix one expected exception-text which is different
on newer Java versions

Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=63143

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913384 13f79535-47bb-0310-9956-ffa450edef68

12 months agoBug 66425: Avoid exceptions found via poi-fuzz
Dominik Stadler [Fri, 27 Oct 2023 10:07:57 +0000 (10:07 +0000)]
Bug 66425: Avoid exceptions found via poi-fuzz

Fix one expected exception-text which is different
on newer Java versions

Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=63266

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913383 13f79535-47bb-0310-9956-ffa450edef68

12 months ago[bug-67579] test OPCPackage
PJ Fanning [Thu, 26 Oct 2023 20:03:33 +0000 (20:03 +0000)]
[bug-67579] test OPCPackage

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913368 13f79535-47bb-0310-9956-ffa450edef68

12 months ago[bug-67579] add new XmlVisioDocument constructor
PJ Fanning [Thu, 26 Oct 2023 18:24:03 +0000 (18:24 +0000)]
[bug-67579] add new XmlVisioDocument constructor

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913364 13f79535-47bb-0310-9956-ffa450edef68

12 months ago[bug-67579] add new XWPFDocument/XMLSlideShow constructor
PJ Fanning [Thu, 26 Oct 2023 18:20:33 +0000 (18:20 +0000)]
[bug-67579] add new XWPFDocument/XMLSlideShow constructor

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913363 13f79535-47bb-0310-9956-ffa450edef68

12 months ago[bug-67579] add new XSSFWorkbook constructor
PJ Fanning [Thu, 26 Oct 2023 18:13:43 +0000 (18:13 +0000)]
[bug-67579] add new XSSFWorkbook constructor

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913362 13f79535-47bb-0310-9956-ffa450edef68

12 months ago[bug-67579] add new XSSFWorkbook constructor
PJ Fanning [Thu, 26 Oct 2023 18:12:29 +0000 (18:12 +0000)]
[bug-67579] add new XSSFWorkbook constructor

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913361 13f79535-47bb-0310-9956-ffa450edef68

12 months ago[bug-67579] add new XSSFWorkbook constructor
PJ Fanning [Thu, 26 Oct 2023 18:09:38 +0000 (18:09 +0000)]
[bug-67579] add new XSSFWorkbook constructor

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913359 13f79535-47bb-0310-9956-ffa450edef68

12 months ago[bug-67579] revert changes - POI will again close the InputStream
PJ Fanning [Thu, 26 Oct 2023 17:37:46 +0000 (17:37 +0000)]
[bug-67579] revert changes - POI will again close the InputStream

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913356 13f79535-47bb-0310-9956-ffa450edef68

12 months ago[bug-67579] test that we close input stream
PJ Fanning [Thu, 26 Oct 2023 15:19:42 +0000 (15:19 +0000)]
[bug-67579] test that we close input stream

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913352 13f79535-47bb-0310-9956-ffa450edef68

12 months agotry to close streams in HSSF tests
PJ Fanning [Thu, 26 Oct 2023 15:02:52 +0000 (15:02 +0000)]
try to close streams in HSSF tests

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913351 13f79535-47bb-0310-9956-ffa450edef68

12 months ago[bug-67579] test that we do not close input stream
PJ Fanning [Thu, 26 Oct 2023 14:59:54 +0000 (14:59 +0000)]
[bug-67579] test that we do not close input stream

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913350 13f79535-47bb-0310-9956-ffa450edef68

12 months agorevert change to github-321.xlsx
PJ Fanning [Thu, 26 Oct 2023 09:55:33 +0000 (09:55 +0000)]
revert change to github-321.xlsx

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913343 13f79535-47bb-0310-9956-ffa450edef68

12 months agoundo test change
PJ Fanning [Thu, 26 Oct 2023 09:09:04 +0000 (09:09 +0000)]
undo test change

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913341 13f79535-47bb-0310-9956-ffa450edef68

12 months agocommons-io 2.15.0
PJ Fanning [Thu, 26 Oct 2023 09:07:54 +0000 (09:07 +0000)]
commons-io 2.15.0

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913340 13f79535-47bb-0310-9956-ffa450edef68

12 months agorevert test change
PJ Fanning [Wed, 25 Oct 2023 16:41:09 +0000 (16:41 +0000)]
revert test change

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913329 13f79535-47bb-0310-9956-ffa450edef68

12 months agoupdate test
PJ Fanning [Wed, 25 Oct 2023 16:39:46 +0000 (16:39 +0000)]
update test

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913328 13f79535-47bb-0310-9956-ffa450edef68

13 months agosecurity docs
PJ Fanning [Tue, 24 Oct 2023 21:50:57 +0000 (21:50 +0000)]
security docs

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913302 13f79535-47bb-0310-9956-ffa450edef68

13 months agobytebuddy 1.14.9
PJ Fanning [Tue, 24 Oct 2023 17:09:34 +0000 (17:09 +0000)]
bytebuddy 1.14.9

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913272 13f79535-47bb-0310-9956-ffa450edef68

13 months agolog4j 2.21.1
PJ Fanning [Tue, 24 Oct 2023 17:08:33 +0000 (17:08 +0000)]
log4j 2.21.1

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913270 13f79535-47bb-0310-9956-ffa450edef68

13 months ago[bug-67778] add more null checks to BaseXSSFFormulaEvaluator
PJ Fanning [Tue, 24 Oct 2023 09:34:58 +0000 (09:34 +0000)]
[bug-67778] add more null checks to BaseXSSFFormulaEvaluator

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913258 13f79535-47bb-0310-9956-ffa450edef68

13 months agoxmlsec 3.0.3
PJ Fanning [Thu, 19 Oct 2023 15:18:55 +0000 (15:18 +0000)]
xmlsec 3.0.3

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913122 13f79535-47bb-0310-9956-ffa450edef68

13 months agospotbugs gradle plugin to 5.2.1
PJ Fanning [Thu, 19 Oct 2023 14:58:47 +0000 (14:58 +0000)]
spotbugs gradle plugin to 5.2.1

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913121 13f79535-47bb-0310-9956-ffa450edef68

13 months ago[bug-67785] make XSSFExcelExtractor output more like that from XSSFEventBasedExcelExt...
PJ Fanning [Wed, 18 Oct 2023 09:37:37 +0000 (09:37 +0000)]
[bug-67785] make XSSFExcelExtractor output more like that from XSSFEventBasedExcelExtractor

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913080 13f79535-47bb-0310-9956-ffa450edef68

13 months ago[bug-67784] add tests
PJ Fanning [Tue, 17 Oct 2023 16:05:08 +0000 (16:05 +0000)]
[bug-67784] add tests

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913068 13f79535-47bb-0310-9956-ffa450edef68

13 months ago[bug-67784] experimental hack to fix regression
PJ Fanning [Tue, 17 Oct 2023 15:22:16 +0000 (15:22 +0000)]
[bug-67784] experimental hack to fix regression

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913067 13f79535-47bb-0310-9956-ffa450edef68

13 months agoreformat file
PJ Fanning [Tue, 17 Oct 2023 15:09:26 +0000 (15:09 +0000)]
reformat file

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913066 13f79535-47bb-0310-9956-ffa450edef68

13 months ago[bug-67784] add test for divide error
PJ Fanning [Tue, 17 Oct 2023 14:39:54 +0000 (14:39 +0000)]
[bug-67784] add test for divide error

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913065 13f79535-47bb-0310-9956-ffa450edef68

13 months ago[bug-67784] add test for divide error
PJ Fanning [Tue, 17 Oct 2023 14:27:25 +0000 (14:27 +0000)]
[bug-67784] add test for divide error

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913064 13f79535-47bb-0310-9956-ffa450edef68

13 months agorefactor
PJ Fanning [Tue, 17 Oct 2023 10:34:23 +0000 (10:34 +0000)]
refactor

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913056 13f79535-47bb-0310-9956-ffa450edef68

13 months agolog4j 2.21.0
PJ Fanning [Tue, 17 Oct 2023 08:42:26 +0000 (08:42 +0000)]
log4j 2.21.0

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913046 13f79535-47bb-0310-9956-ffa450edef68

13 months ago[bug-67778] try to make formula eval involving external workbooks more robust
PJ Fanning [Tue, 17 Oct 2023 08:36:07 +0000 (08:36 +0000)]
[bug-67778] try to make formula eval involving external workbooks more robust

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913045 13f79535-47bb-0310-9956-ffa450edef68

13 months agoBug 67767 - bump max picture size
Tim Allison [Mon, 16 Oct 2023 10:42:53 +0000 (10:42 +0000)]
Bug 67767 - bump max picture size

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913004 13f79535-47bb-0310-9956-ffa450edef68

13 months agotry harder to close zipArchive in ZipPackage (edge cases)
PJ Fanning [Sun, 15 Oct 2023 21:06:01 +0000 (21:06 +0000)]
try harder to close zipArchive in ZipPackage (edge cases)

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912986 13f79535-47bb-0310-9956-ffa450edef68

13 months ago[bug-67475] better support for edge cases in TEXT function. Thanks to Jakub Vojtisek
PJ Fanning [Sat, 14 Oct 2023 22:34:58 +0000 (22:34 +0000)]
[bug-67475] better support for edge cases in TEXT function. Thanks to Jakub Vojtisek

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912973 13f79535-47bb-0310-9956-ffa450edef68

13 months agoupdate gradle plugins
PJ Fanning [Sat, 14 Oct 2023 14:51:30 +0000 (14:51 +0000)]
update gradle plugins

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912968 13f79535-47bb-0310-9956-ffa450edef68

13 months agoadd back leading len into slideshow DrawTextFragment height
PJ Fanning [Sat, 14 Oct 2023 14:47:34 +0000 (14:47 +0000)]
add back leading len into slideshow DrawTextFragment height

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912967 13f79535-47bb-0310-9956-ffa450edef68

13 months agoextra classes in poi-ooxml-lite
PJ Fanning [Sat, 14 Oct 2023 14:38:12 +0000 (14:38 +0000)]
extra classes in poi-ooxml-lite

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912965 13f79535-47bb-0310-9956-ffa450edef68

13 months agoextra classes in poi-ooxml-lite
PJ Fanning [Sat, 14 Oct 2023 14:37:59 +0000 (14:37 +0000)]
extra classes in poi-ooxml-lite

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912964 13f79535-47bb-0310-9956-ffa450edef68

13 months ago[bug-67735] Add Complex scripts support in XWPFRun. Thanks to Mohammed Alhaddar....
PJ Fanning [Sat, 14 Oct 2023 14:31:52 +0000 (14:31 +0000)]
[bug-67735] Add Complex scripts support in XWPFRun. Thanks to Mohammed Alhaddar. This closes #536

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912963 13f79535-47bb-0310-9956-ffa450edef68

13 months agoFix job "no-scratchpad" after adding some more broken test-data
Dominik Stadler [Fri, 13 Oct 2023 09:26:07 +0000 (09:26 +0000)]
Fix job "no-scratchpad" after adding some more broken test-data

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912934 13f79535-47bb-0310-9956-ffa450edef68

13 months agointegration-tests: Enable testing extracting for OPCFileHandler and fix single test
Dominik Stadler [Fri, 13 Oct 2023 09:25:13 +0000 (09:25 +0000)]
integration-tests: Enable testing extracting for OPCFileHandler and fix single test

Enable running "extract" also for OPCFileHandler
Add additional expected failures in stress.xls

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912933 13f79535-47bb-0310-9956-ffa450edef68

13 months agoBug 66425: Avoid exceptions found via poi-fuzz
Dominik Stadler [Sun, 8 Oct 2023 05:41:26 +0000 (05:41 +0000)]
Bug 66425: Avoid exceptions found via poi-fuzz

Fix one expected exception-text which is different
on newer Java versions

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912804 13f79535-47bb-0310-9956-ffa450edef68

13 months agoException text changed for some file
Dominik Stadler [Sat, 7 Oct 2023 22:13:01 +0000 (22:13 +0000)]
Exception text changed for some file

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912800 13f79535-47bb-0310-9956-ffa450edef68

13 months agoBug 66425: Avoid exceptions found via poi-fuzz
Dominik Stadler [Sat, 7 Oct 2023 22:12:58 +0000 (22:12 +0000)]
Bug 66425: Avoid exceptions found via poi-fuzz

Fix check after commit fcaac5073716b98cba26c0655f06f20e310fd85e
so that other IndexOutOfBoundsExceptions are still thrown out

Also free resources when throwing an exception in the constructor

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912799 13f79535-47bb-0310-9956-ffa450edef68

13 months agoAdd some missing schema-files to ooxml-lite
Dominik Stadler [Sat, 7 Oct 2023 22:12:54 +0000 (22:12 +0000)]
Add some missing schema-files to ooxml-lite

This should fix https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=62255

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912798 13f79535-47bb-0310-9956-ffa450edef68

13 months agoBug 66425: Avoid Exceptions found via oss-fuzz
Dominik Stadler [Sat, 7 Oct 2023 22:12:50 +0000 (22:12 +0000)]
Bug 66425: Avoid Exceptions found via oss-fuzz

We try to avoid throwing ConcurrentModificationException,
but it was possible to trigger one here with a specially
crafted input-file

Should fix https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=62861

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912797 13f79535-47bb-0310-9956-ffa450edef68

13 months agoBug 66425: Avoid Exceptions found via oss-fuzz
Dominik Stadler [Sat, 7 Oct 2023 22:12:43 +0000 (22:12 +0000)]
Bug 66425: Avoid Exceptions found via oss-fuzz

We try to avoid throwing ClassCastExceptions,
but it was possible to trigger one here with a specially
crafted input-file

Should fix https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=62795

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912796 13f79535-47bb-0310-9956-ffa450edef68

13 months agoBug 66425: Avoid Exceptions found via oss-fuzz
Dominik Stadler [Sat, 7 Oct 2023 22:12:35 +0000 (22:12 +0000)]
Bug 66425: Avoid Exceptions found via oss-fuzz

We try to avoid throwing NullPointerExceptions or endless allocations,
but it was possible to trigger one here with a specially
crafted input-file

Should fix https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=62745

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912795 13f79535-47bb-0310-9956-ffa450edef68

13 months agoBug 66425: Avoid Exceptions found via oss-fuzz
Dominik Stadler [Sat, 7 Oct 2023 22:12:30 +0000 (22:12 +0000)]
Bug 66425: Avoid Exceptions found via oss-fuzz

We try to avoid throwing NullPointerExceptions or endless allocations,
but it was possible to trigger one here with a specially
crafted input-file

Should fix https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=62706

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912794 13f79535-47bb-0310-9956-ffa450edef68

13 months agoBug 66425: Avoid Exceptions found via oss-fuzz
Dominik Stadler [Sat, 7 Oct 2023 22:12:25 +0000 (22:12 +0000)]
Bug 66425: Avoid Exceptions found via oss-fuzz

We try to avoid throwing NullPointerExceptions or endless allocations,
but it was possible to trigger one here with a specially
crafted input-file

Should fix https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=62697

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912793 13f79535-47bb-0310-9956-ffa450edef68

13 months agoBug 66425: Avoid a NullPointerException found via oss-fuzz
Dominik Stadler [Sat, 7 Oct 2023 22:12:18 +0000 (22:12 +0000)]
Bug 66425: Avoid a NullPointerException found via oss-fuzz

We try to avoid throwing NullPointerException, but it was possible
to trigger one here with a specially crafted input-file

Should fix https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=62626

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912792 13f79535-47bb-0310-9956-ffa450edef68

13 months agoAdd some missing schema-files to ooxml-lite
Dominik Stadler [Sat, 7 Oct 2023 22:12:12 +0000 (22:12 +0000)]
Add some missing schema-files to ooxml-lite

This should fix https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=62255

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912791 13f79535-47bb-0310-9956-ffa450edef68

13 months agoadd internal annotation
PJ Fanning [Wed, 4 Oct 2023 07:48:57 +0000 (07:48 +0000)]
add internal annotation

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912727 13f79535-47bb-0310-9956-ffa450edef68

13 months agoAssert that deleting test-files and entries works in tests
Dominik Stadler [Tue, 3 Oct 2023 06:17:01 +0000 (06:17 +0000)]
Assert that deleting test-files and entries works in tests

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912709 13f79535-47bb-0310-9956-ffa450edef68

13 months agoAdjust order of testing and use try-with-resources
Dominik Stadler [Tue, 3 Oct 2023 06:06:03 +0000 (06:06 +0000)]
Adjust order of testing and use try-with-resources

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912708 13f79535-47bb-0310-9956-ffa450edef68

13 months agoBug 66425: Avoid exceptions found via poi-fuzz
Dominik Stadler [Tue, 3 Oct 2023 06:05:30 +0000 (06:05 +0000)]
Bug 66425: Avoid exceptions found via poi-fuzz

We try to avoid throwing NullPointerException, ClassCastExceptions
and StackOverflowException, but it was possible to trigger them

Also improve some exception messages

Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=62698
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=62606
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=62685

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912707 13f79535-47bb-0310-9956-ffa450edef68

13 months ago[bug-67579] do not close stream when reading XSSFWorkbook based on stream
PJ Fanning [Tue, 3 Oct 2023 00:06:27 +0000 (00:06 +0000)]
[bug-67579] do not close stream when reading XSSFWorkbook based on stream

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912700 13f79535-47bb-0310-9956-ffa450edef68

13 months agoupdate gradlew
PJ Fanning [Sun, 1 Oct 2023 03:00:23 +0000 (03:00 +0000)]
update gradlew

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912642 13f79535-47bb-0310-9956-ffa450edef68

13 months agocommons-io 2.14.0
PJ Fanning [Sun, 1 Oct 2023 01:56:20 +0000 (01:56 +0000)]
commons-io 2.14.0

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912639 13f79535-47bb-0310-9956-ffa450edef68

13 months agocommons-io 2.14.0
PJ Fanning [Sun, 1 Oct 2023 01:34:13 +0000 (01:34 +0000)]
commons-io 2.14.0

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912638 13f79535-47bb-0310-9956-ffa450edef68

13 months agocommons-io 2.14.0
PJ Fanning [Sun, 1 Oct 2023 01:16:08 +0000 (01:16 +0000)]
commons-io 2.14.0

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912637 13f79535-47bb-0310-9956-ffa450edef68

13 months agocommons-io 2.14.0
PJ Fanning [Sat, 30 Sep 2023 23:29:27 +0000 (23:29 +0000)]
commons-io 2.14.0

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912635 13f79535-47bb-0310-9956-ffa450edef68

13 months agochange param name
PJ Fanning [Fri, 29 Sep 2023 01:16:35 +0000 (01:16 +0000)]
change param name

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912589 13f79535-47bb-0310-9956-ffa450edef68

13 months agofix release artifact names
PJ Fanning [Fri, 29 Sep 2023 01:01:46 +0000 (01:01 +0000)]
fix release artifact names

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912588 13f79535-47bb-0310-9956-ffa450edef68

13 months ago[github-523] set locales for some tests. This closes #523
PJ Fanning [Thu, 28 Sep 2023 22:35:00 +0000 (22:35 +0000)]
[github-523] set locales for some tests. This closes #523

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912583 13f79535-47bb-0310-9956-ffa450edef68

13 months agoupdate docs for release 5.2.4
PJ Fanning [Thu, 28 Sep 2023 22:19:53 +0000 (22:19 +0000)]
update docs for release 5.2.4

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912581 13f79535-47bb-0310-9956-ffa450edef68

14 months agoprep v5.2.4
PJ Fanning [Thu, 21 Sep 2023 18:43:24 +0000 (18:43 +0000)]
prep v5.2.4

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912467 13f79535-47bb-0310-9956-ffa450edef68

14 months agoBug 66425: Avoid exceptions found via poi-fuzz
Dominik Stadler [Thu, 21 Sep 2023 15:06:28 +0000 (15:06 +0000)]
Bug 66425: Avoid exceptions found via poi-fuzz

We try to avoid throwing NullPointerException, ClassCastExceptions and StackOverflowException, but it was possible
to trigger them

Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=62548 and https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=62564

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912464 13f79535-47bb-0310-9956-ffa450edef68

14 months ago[bug-67396] add tests for standalone flag
PJ Fanning [Thu, 21 Sep 2023 12:15:20 +0000 (12:15 +0000)]
[bug-67396] add tests for standalone flag

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912456 13f79535-47bb-0310-9956-ffa450edef68

14 months agoBug47950 -- make stream/directory name lookup in OLE2 case insensitive
Tim Allison [Wed, 20 Sep 2023 20:32:59 +0000 (20:32 +0000)]
Bug47950 -- make stream/directory name lookup in OLE2 case insensitive

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912438 13f79535-47bb-0310-9956-ffa450edef68

14 months agoBug 66425: Avoid exceptions found via poi-fuzz
Dominik Stadler [Wed, 20 Sep 2023 14:55:19 +0000 (14:55 +0000)]
Bug 66425: Avoid exceptions found via poi-fuzz

We try to avoid throwing NullPointerException, ClassCastExceptions and StackOverflowException, but it was possible
to trigger them

Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=62530 and https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=62491

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912433 13f79535-47bb-0310-9956-ffa450edef68

14 months agoTest without scratchpad: Do not fail reading data for integrationtests
Dominik Stadler [Mon, 18 Sep 2023 20:31:03 +0000 (20:31 +0000)]
Test without scratchpad: Do not fail reading data for integrationtests

It seems the XLS now has missing cells which cause an NPE
while checking for scratchpad-handlers

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912407 13f79535-47bb-0310-9956-ffa450edef68

14 months agoSet one file to IGNORE as IBM JDK throws a different Exception
Dominik Stadler [Mon, 18 Sep 2023 20:30:59 +0000 (20:30 +0000)]
Set one file to IGNORE as IBM JDK throws a different Exception

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912406 13f79535-47bb-0310-9956-ffa450edef68

14 months agoSet one test-file to "IGNORED" in poi-integration
Dominik Stadler [Mon, 18 Sep 2023 18:25:59 +0000 (18:25 +0000)]
Set one test-file to "IGNORED" in poi-integration

It was processing fine on some JVM versions, but failed with an error on others.
Seems there is a difference in XmlParsers across versions of the JVM.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912404 13f79535-47bb-0310-9956-ffa450edef68

14 months agoAdjust max recursion nesting
Dominik Stadler [Mon, 18 Sep 2023 18:25:56 +0000 (18:25 +0000)]
Adjust max recursion nesting

Otherwise this still triggered StackOverflow on some version of JDK

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912403 13f79535-47bb-0310-9956-ffa450edef68

14 months agoBug 66425: Avoid exceptions found via poi-fuzz
Dominik Stadler [Mon, 18 Sep 2023 06:38:37 +0000 (06:38 +0000)]
Bug 66425: Avoid exceptions found via poi-fuzz

We try to avoid throwing NullPointerException, ClassCastExceptions and StackOverflowException, but it was possible
to trigger them

Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=61562
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=62068

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912383 13f79535-47bb-0310-9956-ffa450edef68