Commit Graph

13007 Commits

Author SHA1 Message Date
PJ Fanning 8142b56fb8 some tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913395 13f79535-47bb-0310-9956-ffa450edef68
2023-10-27 16:53:06 +00:00
PJ Fanning 0d1644282f some tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913394 13f79535-47bb-0310-9956-ffa450edef68
2023-10-27 16:48:34 +00:00
Dominik Stadler 4cff905375 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
2023-10-27 10:08:09 +00:00
Dominik Stadler 56eb1ccff6 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
2023-10-27 10:08:04 +00:00
Dominik Stadler 5cc8b9958c 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
2023-10-27 10:07:57 +00:00
PJ Fanning ef743728ab [bug-67579] test OPCPackage
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913368 13f79535-47bb-0310-9956-ffa450edef68
2023-10-26 20:03:33 +00:00
PJ Fanning 6e680589de [bug-67579] add new XmlVisioDocument constructor
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913364 13f79535-47bb-0310-9956-ffa450edef68
2023-10-26 18:24:03 +00:00
PJ Fanning 89ccbec1dd [bug-67579] add new XWPFDocument/XMLSlideShow constructor
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913363 13f79535-47bb-0310-9956-ffa450edef68
2023-10-26 18:20:33 +00:00
PJ Fanning 070393a06f [bug-67579] add new XSSFWorkbook constructor
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913362 13f79535-47bb-0310-9956-ffa450edef68
2023-10-26 18:13:43 +00:00
PJ Fanning e7358f8ff8 [bug-67579] add new XSSFWorkbook constructor
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913361 13f79535-47bb-0310-9956-ffa450edef68
2023-10-26 18:12:29 +00:00
PJ Fanning e94b284c59 [bug-67579] add new XSSFWorkbook constructor
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913359 13f79535-47bb-0310-9956-ffa450edef68
2023-10-26 18:09:38 +00:00
PJ Fanning ff5fc9d582 [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
2023-10-26 17:37:46 +00:00
PJ Fanning bcfd81f489 [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
2023-10-26 15:19:42 +00:00
PJ Fanning d4373c2d09 try to close streams in HSSF tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913351 13f79535-47bb-0310-9956-ffa450edef68
2023-10-26 15:02:52 +00:00
PJ Fanning f64524916d [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
2023-10-26 14:59:54 +00:00
PJ Fanning fee050b391 revert change to github-321.xlsx
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913343 13f79535-47bb-0310-9956-ffa450edef68
2023-10-26 09:55:33 +00:00
PJ Fanning 1855186f85 undo test change
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913341 13f79535-47bb-0310-9956-ffa450edef68
2023-10-26 09:09:04 +00:00
PJ Fanning 9dec19ba00 commons-io 2.15.0
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913340 13f79535-47bb-0310-9956-ffa450edef68
2023-10-26 09:07:54 +00:00
PJ Fanning 0d57635607 revert test change
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913329 13f79535-47bb-0310-9956-ffa450edef68
2023-10-25 16:41:09 +00:00
PJ Fanning c8d0332c60 update test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913328 13f79535-47bb-0310-9956-ffa450edef68
2023-10-25 16:39:46 +00:00
PJ Fanning 0fe45fe899 security docs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913302 13f79535-47bb-0310-9956-ffa450edef68
2023-10-24 21:50:57 +00:00
PJ Fanning 7c5a3ee7fc bytebuddy 1.14.9
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913272 13f79535-47bb-0310-9956-ffa450edef68
2023-10-24 17:09:34 +00:00
PJ Fanning efba2c39ce log4j 2.21.1
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913270 13f79535-47bb-0310-9956-ffa450edef68
2023-10-24 17:08:33 +00:00
PJ Fanning 176a685e2d [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
2023-10-24 09:34:58 +00:00
PJ Fanning 8759103c94 xmlsec 3.0.3
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913122 13f79535-47bb-0310-9956-ffa450edef68
2023-10-19 15:18:55 +00:00
PJ Fanning cf440d3c77 spotbugs gradle plugin to 5.2.1
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913121 13f79535-47bb-0310-9956-ffa450edef68
2023-10-19 14:58:47 +00:00
PJ Fanning 9a8ea4a165 [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
2023-10-18 09:37:37 +00:00
PJ Fanning e80ae0bb07 [bug-67784] add tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913068 13f79535-47bb-0310-9956-ffa450edef68
2023-10-17 16:05:08 +00:00
PJ Fanning 818091f54d [bug-67784] experimental hack to fix regression
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913067 13f79535-47bb-0310-9956-ffa450edef68
2023-10-17 15:22:16 +00:00
PJ Fanning 0dd2b18b56 reformat file
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913066 13f79535-47bb-0310-9956-ffa450edef68
2023-10-17 15:09:26 +00:00
PJ Fanning 5035a531c5 [bug-67784] add test for divide error
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913065 13f79535-47bb-0310-9956-ffa450edef68
2023-10-17 14:39:54 +00:00
PJ Fanning 08aa6d1730 [bug-67784] add test for divide error
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913064 13f79535-47bb-0310-9956-ffa450edef68
2023-10-17 14:27:25 +00:00
PJ Fanning 5c9fb98bcf refactor
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913056 13f79535-47bb-0310-9956-ffa450edef68
2023-10-17 10:34:23 +00:00
PJ Fanning 2f5a188497 log4j 2.21.0
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913046 13f79535-47bb-0310-9956-ffa450edef68
2023-10-17 08:42:26 +00:00
PJ Fanning 236710df4e [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
2023-10-17 08:36:07 +00:00
Tim Allison f869dc6f74 Bug 67767 - bump max picture size
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913004 13f79535-47bb-0310-9956-ffa450edef68
2023-10-16 10:42:53 +00:00
PJ Fanning edef04dce7 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
2023-10-15 21:06:01 +00:00
PJ Fanning dbddc32c1b [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
2023-10-14 22:34:58 +00:00
PJ Fanning b48de0fe42 update gradle plugins
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912968 13f79535-47bb-0310-9956-ffa450edef68
2023-10-14 14:51:30 +00:00
PJ Fanning fccf4a97fb 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
2023-10-14 14:47:34 +00:00
PJ Fanning ec099d769f extra classes in poi-ooxml-lite
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912965 13f79535-47bb-0310-9956-ffa450edef68
2023-10-14 14:38:12 +00:00
PJ Fanning 6a3e6c2b2e extra classes in poi-ooxml-lite
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912964 13f79535-47bb-0310-9956-ffa450edef68
2023-10-14 14:37:59 +00:00
PJ Fanning bc870ab764 [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
2023-10-14 14:31:52 +00:00
Dominik Stadler 407bb3744c 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
2023-10-13 09:26:07 +00:00
Dominik Stadler a227fa9443 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
2023-10-13 09:25:13 +00:00
Dominik Stadler 638a9be903 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
2023-10-08 05:41:26 +00:00
Dominik Stadler 2276c3571d Exception text changed for some file
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912800 13f79535-47bb-0310-9956-ffa450edef68
2023-10-07 22:13:01 +00:00
Dominik Stadler e670061518 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
2023-10-07 22:12:58 +00:00
Dominik Stadler 2bd84bf25c 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
2023-10-07 22:12:54 +00:00
Dominik Stadler e43c1bc911 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
2023-10-07 22:12:50 +00:00