Commit Graph

12957 Commits

Author SHA1 Message Date
Dominik Stadler ffc4795258 Use revert() instead of close() when processing fails
Otherwise we might write partial changes to the
underlying file which is unexpected.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1914706 13f79535-47bb-0310-9956-ffa450edef68
2023-12-16 12:08:54 +00:00
PJ Fanning 4b84986671 [bug-68305] extend test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1914512 13f79535-47bb-0310-9956-ffa450edef68
2023-12-10 13:51:19 +00:00
PJ Fanning f662657db1 [bug-68305] add test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1914511 13f79535-47bb-0310-9956-ffa450edef68
2023-12-10 13:30:59 +00:00
PJ Fanning 2c838143ba [GitHub-562] Add extra pivot table classes to poi-ooxml-lite. This closes #562
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1914509 13f79535-47bb-0310-9956-ffa450edef68
2023-12-10 12:53:05 +00:00
PJ Fanning ecc42ac4f2 remove unused loggers
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1914434 13f79535-47bb-0310-9956-ffa450edef68
2023-12-07 14:04:02 +00:00
Dominik Stadler 6775bd259d Add new dependency pdfbox-io to Ant build
Otherwise CI job "old-xerces" fails.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1914411 13f79535-47bb-0310-9956-ffa450edef68
2023-12-06 20:49:10 +00:00
Dominik Stadler d021e6bc5e Simplify handling of exceptions in ZipPackage
The code became overly complex and hard to reason about.

We can avoid some additional catching/rethrowing of exceptions.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1914409 13f79535-47bb-0310-9956-ffa450edef68
2023-12-06 19:51:19 +00:00
Dominik Stadler fd9300d3b7 Mark internal classes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1914408 13f79535-47bb-0310-9956-ffa450edef68
2023-12-06 19:50:06 +00:00
Dominik Stadler c8c8130ae3 Make sure OLE2ScratchpadExtractorFacory is sorted first
Otherwise order of found extractors would depend on jar-loading order
and thus might have unexpected side-effects and missing features in
text-extraction.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1914407 13f79535-47bb-0310-9956-ffa450edef68
2023-12-06 19:50:02 +00:00
Dominik Stadler 497482d4dc Add one more xsb which is missing in one of my projects
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1914406 13f79535-47bb-0310-9956-ffa450edef68
2023-12-06 19:49:59 +00:00
Dominik Stadler 25e2d5ca69 Add more output for a failure that we saw once in CI
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1914405 13f79535-47bb-0310-9956-ffa450edef68
2023-12-06 19:49:56 +00:00
Dominik Stadler 15dd62d659 Bug 66425: Avoid exceptions found via poi-fuzz
Avoid a ClassCastException and trigger some more
code in integration-testing.

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

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1914404 13f79535-47bb-0310-9956-ffa450edef68
2023-12-06 19:49:52 +00:00
Dominik Stadler c7329fbd38 Bug 66425: Avoid exceptions found via poi-fuzz
Change an assertion which can be triggered via an
input-document.

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

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1914403 13f79535-47bb-0310-9956-ffa450edef68
2023-12-06 19:49:45 +00:00
Dominik Stadler f1589b8d66 Bug 66425: Avoid exceptions found via poi-fuzz
Add an xsb file to ooxml-lite which seems to be
missing in some cases

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

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1914402 13f79535-47bb-0310-9956-ffa450edef68
2023-12-06 19:49:38 +00:00
Dominik Stadler 9fda604fb8 Bug 66425: Avoid exceptions found via poi-fuzz
Capture and report integer overflow as normal
parsing/format exceptions

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

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1914401 13f79535-47bb-0310-9956-ffa450edef68
2023-12-06 19:49:34 +00:00
PJ Fanning e0b7dcda83 gradle 8.5
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1914357 13f79535-47bb-0310-9956-ffa450edef68
2023-12-05 11:35:22 +00:00
PJ Fanning 6e3d031e80 pdfbox/graphics2d 3.0.1
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1914298 13f79535-47bb-0310-9956-ffa450edef68
2023-12-03 10:41:36 +00:00
PJ Fanning 3f317f5b32 pdfbox/graphics2d 3.0.1
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1914296 13f79535-47bb-0310-9956-ffa450edef68
2023-12-03 10:40:41 +00:00
PJ Fanning 5b246ca080 saxon 12.4
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1914236 13f79535-47bb-0310-9956-ffa450edef68
2023-11-30 15:41:04 +00:00
PJ Fanning f40c8ccafb update github actions
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1914235 13f79535-47bb-0310-9956-ffa450edef68
2023-11-30 15:37:44 +00:00
PJ Fanning 3ab1c1a131 xmlsec stuck at 3.0.3 due to xmlsec 4 needing java 11
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1914230 13f79535-47bb-0310-9956-ffa450edef68
2023-11-30 09:26:03 +00:00
PJ Fanning 9e1e675fc3 try xmlsec 4.0.1
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1914228 13f79535-47bb-0310-9956-ffa450edef68
2023-11-30 08:39:07 +00:00
PJ Fanning ba84383764 commons-io 2.15.1
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1914225 13f79535-47bb-0310-9956-ffa450edef68
2023-11-30 08:29:37 +00:00
PJ Fanning 8690df1d28 log4j 2.22.0
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1914154 13f79535-47bb-0310-9956-ffa450edef68
2023-11-27 11:09:38 +00:00
PJ Fanning 9c48dee4ea snapshot version
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1914153 13f79535-47bb-0310-9956-ffa450edef68
2023-11-27 10:11:54 +00:00
PJ Fanning bcb451a416 [bug-68237] SXSSFWorkbook: write as
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1914152 13f79535-47bb-0310-9956-ffa450edef68
2023-11-27 10:08:16 +00:00
PJ Fanning b5da35ee4e poi 5.2.5 release
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1914119 13f79535-47bb-0310-9956-ffa450edef68
2023-11-25 19:31:28 +00:00
PJ Fanning d81223cd10 deprecate unnecessary method
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1914086 13f79535-47bb-0310-9956-ffa450edef68
2023-11-24 13:03:54 +00:00
PJ Fanning 5d2f053769 deprecate unnecessary method
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1914084 13f79535-47bb-0310-9956-ffa450edef68
2023-11-24 11:07:44 +00:00
Dominik Stadler 9965dc74db Jenkins DSL: Capture artefacts for checksums and .pom as well
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913990 13f79535-47bb-0310-9956-ffa450edef68
2023-11-20 19:16:43 +00:00
PJ Fanning 386b2fcc78 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
2023-11-16 22:15:24 +00:00
PJ Fanning e9710ead93 prep v5.2.5
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913863 13f79535-47bb-0310-9956-ffa450edef68
2023-11-16 20:52:47 +00:00
PJ Fanning 2d10477565 XMLBeans 5.2.0 release
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913860 13f79535-47bb-0310-9956-ffa450edef68
2023-11-16 20:46:45 +00:00
PJ Fanning 3d35361666 commons-compress 1.25.0
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913857 13f79535-47bb-0310-9956-ffa450edef68
2023-11-16 20:16:19 +00:00
PJ Fanning 04a4dd179b bouncycastle 1.77
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913806 13f79535-47bb-0310-9956-ffa450edef68
2023-11-15 15:02:09 +00:00
Dominik Stadler 676d0fdf3f 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
2023-11-15 10:32:59 +00:00
Dominik Stadler 219954c07c Close document always in SlideShowRecordDumper
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913795 13f79535-47bb-0310-9956-ffa450edef68
2023-11-15 10:22:49 +00:00
PJ Fanning 3b03ed58e4 use xmlbeans 5.1.1 release
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913696 13f79535-47bb-0310-9956-ffa450edef68
2023-11-10 10:50:14 +00:00
PJ Fanning 8819952b2f [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
2023-11-08 13:41:53 +00:00
PJ Fanning e95a4d84d0 [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
2023-11-08 12:34:41 +00:00
PJ Fanning 74151ffa5b [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
2023-11-08 11:26:08 +00:00
PJ Fanning 726fa5c85e temp workaround for chart axis issue
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913671 13f79535-47bb-0310-9956-ffa450edef68
2023-11-08 11:14:47 +00:00
PJ Fanning e83987b35d [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
2023-11-07 21:50:12 +00:00
PJ Fanning 76b1a6fee4 try to fix broken sxssf tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913651 13f79535-47bb-0310-9956-ffa450edef68
2023-11-07 12:23:53 +00:00
PJ Fanning c9506f0f39 fix broken HSSFWorkbook test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913648 13f79535-47bb-0310-9956-ffa450edef68
2023-11-07 12:00:57 +00:00
PJ Fanning a57344e585 gradle 8.4
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913647 13f79535-47bb-0310-9956-ffa450edef68
2023-11-07 11:23:30 +00:00
PJ Fanning 1d24d0c476 test with saxon 12.3
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913646 13f79535-47bb-0310-9956-ffa450edef68
2023-11-07 11:17:39 +00:00
PJ Fanning 69be873ff3 upgrade junit
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913643 13f79535-47bb-0310-9956-ffa450edef68
2023-11-07 08:54:13 +00:00
PJ Fanning 5533d35cef upgrade cyclonedx
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913433 13f79535-47bb-0310-9956-ffa450edef68
2023-10-30 11:27:56 +00:00
PJ Fanning 9acbe83d5b some tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913396 13f79535-47bb-0310-9956-ffa450edef68
2023-10-27 16:59:49 +00:00