]> source.dussan.org Git - poi.git/log
poi.git
13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

14 months agoupdate changes
PJ Fanning [Sun, 17 Sep 2023 16:39:35 +0000 (16:39 +0000)]
update changes

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

14 months agouse files nio APIs in more places
PJ Fanning [Sun, 17 Sep 2023 15:29:16 +0000 (15:29 +0000)]
use files nio APIs in more places

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

14 months ago[bug-67442] add test
PJ Fanning [Sun, 17 Sep 2023 14:49:16 +0000 (14:49 +0000)]
[bug-67442] add test

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

14 months agoBug 66425: Avoid NullPointerExceptions and ClassCastExceptions found via poi-fuzz
Dominik Stadler [Sun, 17 Sep 2023 14:38:24 +0000 (14:38 +0000)]
Bug 66425: Avoid NullPointerExceptions and ClassCastExceptions found via poi-fuzz

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

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

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

14 months agouse more nio file support
PJ Fanning [Thu, 14 Sep 2023 15:49:10 +0000 (15:49 +0000)]
use more nio file support

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

14 months ago[bug-67005] XSLFPictureShape - audio-related methods. Thanks to Max
PJ Fanning [Thu, 14 Sep 2023 14:56:01 +0000 (14:56 +0000)]
[bug-67005] XSLFPictureShape - audio-related methods. Thanks to Max

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

14 months ago[bug-67402] DATEVALUE function should return #VALUE! for a null or empty string argum...
PJ Fanning [Thu, 14 Sep 2023 14:13:22 +0000 (14:13 +0000)]
[bug-67402] DATEVALUE function should return #VALUE! for a null or empty string argument. Thanks to Jakub Vojtisek.

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

14 months agomissing header
PJ Fanning [Thu, 14 Sep 2023 11:56:02 +0000 (11:56 +0000)]
missing header

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

14 months ago[bug-67396] StreamHelper does not set standalone=yes when built-in javax Transformer...
PJ Fanning [Thu, 14 Sep 2023 11:23:05 +0000 (11:23 +0000)]
[bug-67396] StreamHelper does not set standalone=yes when built-in javax Transformer is used

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

14 months agoBug 66425: Avoid NullPointerExceptions found via poi-fuzz
Dominik Stadler [Thu, 14 Sep 2023 09:23:02 +0000 (09:23 +0000)]
Bug 66425: Avoid NullPointerExceptions found via poi-fuzz

We try to avoid throwing NullPointerException, but it was possible
to trigger one here

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

14 months agoBug 66425: Avoid NullPointerExceptions found via poi-fuzz
Dominik Stadler [Wed, 13 Sep 2023 10:59:54 +0000 (10:59 +0000)]
Bug 66425: Avoid NullPointerExceptions found via poi-fuzz

We try to avoid throwing NullPointerException, but it was possible
to trigger one here

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

14 months agoBug 66425: Avoid a NullPointerException found via oss-fuzz
Dominik Stadler [Wed, 13 Sep 2023 07:48:22 +0000 (07:48 +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

Fixes https://oss-fuzz.com/testcase-detail/5265527465181184

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

14 months ago[bug-63934] Fix parsing of structure references. Thanks to Matthias Raschhofer. This...
PJ Fanning [Tue, 12 Sep 2023 10:36:14 +0000 (10:36 +0000)]
[bug-63934] Fix parsing of structure references. Thanks to Matthias Raschhofer. This closes #514

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

14 months agoBug 66425: Avoid a NullPointerException found via oss-fuzz
Dominik Stadler [Mon, 11 Sep 2023 18:25:21 +0000 (18:25 +0000)]
Bug 66425: Avoid a NullPointerException found via oss-fuzz

Ignore results of one file because the Exception is different in Java 8 and Java 11

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

14 months agoBug 66425: Avoid a NullPointerException found via oss-fuzz
Dominik Stadler [Mon, 11 Sep 2023 18:25:18 +0000 (18:25 +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=62225

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

14 months agoBug 66425: Avoid a ClassCastException found via oss-fuzz
Dominik Stadler [Mon, 11 Sep 2023 18:25:13 +0000 (18:25 +0000)]
Bug 66425: Avoid a ClassCastException found via oss-fuzz

We try to avoid throwing ClassCastException, 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=62170

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

14 months agoBug 66425: Avoid a NullPointerException found via oss-fuzz
Dominik Stadler [Mon, 11 Sep 2023 18:25:06 +0000 (18:25 +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=62208

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

14 months agoBug 66425: Avoid a NullPointerException found via oss-fuzz
Dominik Stadler [Mon, 11 Sep 2023 18:25:01 +0000 (18:25 +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=62216

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

14 months agoBug 66828: Update Ant to 1.10.14
Dominik Stadler [Mon, 11 Sep 2023 18:24:54 +0000 (18:24 +0000)]
Bug 66828: Update Ant to 1.10.14

Now that adding the file allow.class was reverted, we should
be able to update

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

14 months agocommons-compress 1.24.0
PJ Fanning [Mon, 11 Sep 2023 14:34:51 +0000 (14:34 +0000)]
commons-compress 1.24.0

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

14 months agoAdjust expected exception text for 47889.xlsx
Dominik Stadler [Fri, 8 Sep 2023 16:02:17 +0000 (16:02 +0000)]
Adjust expected exception text for 47889.xlsx

The actual message depends on the version of Java

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

14 months agoBug 66425: Avoid a NullPointerException found via oss-fuzz
Dominik Stadler [Fri, 8 Sep 2023 16:02:13 +0000 (16:02 +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=62128

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

14 months agoBug 66425: Avoid a NullPointerException found via oss-fuzz
Dominik Stadler [Fri, 8 Sep 2023 16:02:06 +0000 (16:02 +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=62151

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

14 months agoBug 66425: Avoid a ClassCastException found via oss-fuzz
Dominik Stadler [Thu, 7 Sep 2023 12:20:28 +0000 (12:20 +0000)]
Bug 66425: Avoid a ClassCastException found via oss-fuzz

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

Also add SXSSFWorkbook.write() to integrationtests

Fixes https://oss-fuzz.com/testcase-detail/5185049589579776

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

14 months agoBug 66425: Avoid a ClassCastException found via oss-fuzz
Dominik Stadler [Thu, 7 Sep 2023 08:35:23 +0000 (08:35 +0000)]
Bug 66425: Avoid a ClassCastException found via oss-fuzz

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

Fixes https://oss-fuzz.com/testcase-detail/4959857092198400

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

14 months ago[GitHub-511] Prevent artificial row creation when reading XWPFTable. Thanks to Christ...
PJ Fanning [Wed, 6 Sep 2023 22:32:28 +0000 (22:32 +0000)]
[GitHub-511] Prevent artificial row creation when reading XWPFTable. Thanks to Christian Appl. This closes #511

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

14 months agoSparseBitSet 1.3
PJ Fanning [Wed, 6 Sep 2023 15:12:52 +0000 (15:12 +0000)]
SparseBitSet 1.3

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