Commit Graph

12946 Commits

Author SHA1 Message Date
Dominik Stadler c4e8388742 Bug 66425: Avoid exceptions found via poi-fuzz
Prevent a NullPointerException

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

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1917069 13f79535-47bb-0310-9956-ffa450edef68
2024-04-17 18:15:38 +00:00
Dominik Stadler 51637fcc43 Bug 66425: Avoid exceptions found via poi-fuzz
Prevent a few NullPointerException

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

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1917068 13f79535-47bb-0310-9956-ffa450edef68
2024-04-17 18:15:33 +00:00
PJ Fanning 059595f021 remove accidental test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1916938 13f79535-47bb-0310-9956-ffa450edef68
2024-04-12 17:29:27 +00:00
PJ Fanning 1fe45e84b0 slf4j 2.0.13
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1916936 13f79535-47bb-0310-9956-ffa450edef68
2024-04-12 17:28:41 +00:00
PJ Fanning eee1ab84dc commons-io 2.16.1
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1916878 13f79535-47bb-0310-9956-ffa450edef68
2024-04-09 07:59:42 +00:00
PJ Fanning 5984227b20 bouncycastle 1.77
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1916866 13f79535-47bb-0310-9956-ffa450edef68
2024-04-08 18:44:01 +00:00
PJ Fanning eccb6983b7 commons-io 2.16.0
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1916611 13f79535-47bb-0310-9956-ffa450edef68
2024-03-29 08:46:25 +00:00
PJ Fanning 0e806d485c upgrade woodstox
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1916587 13f79535-47bb-0310-9956-ffa450edef68
2024-03-27 16:58:47 +00:00
PJ Fanning d8d1af03b5 add since annotation
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1916583 13f79535-47bb-0310-9956-ffa450edef68
2024-03-27 13:36:25 +00:00
PJ Fanning c715f9ee1d [github-607] Support SVGs in XWPF. Thanks to Etienne Gautier. This closes #607
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1916582 13f79535-47bb-0310-9956-ffa450edef68
2024-03-27 13:33:57 +00:00
PJ Fanning bdff72668e pdfbox 3.0.2
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1916345 13f79535-47bb-0310-9956-ffa450edef68
2024-03-15 17:16:10 +00:00
Dominik Stadler f4af02bb24 Bug 68778: Verify "ignoreMissingFontSystem" for SheetUtil.getDefaultCharWidthAsFloat()
This functionality saw some regressions at times and thus
should be verified via unit-tests. 

We can simulate failures in the low-level font-system by 
mocking the FontRenderContext and triggering exceptions
from there.

This hopefully now verifies behavior of 
SheetUtil.getDefaultCharWidthAsFloat() both with 
"ignoreMissingFontSystem" enabled and disabled.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1916297 13f79535-47bb-0310-9956-ffa450edef68
2024-03-14 13:20:47 +00:00
PJ Fanning 08436ddf7f upgrade commons-compress and log4j
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1916233 13f79535-47bb-0310-9956-ffa450edef68
2024-03-11 17:48:11 +00:00
PJ Fanning 56692aa84c add javadoc
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1916150 13f79535-47bb-0310-9956-ffa450edef68
2024-03-06 12:22:34 +00:00
PJ Fanning 6e01fe6e2a remove annotation
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1916149 13f79535-47bb-0310-9956-ffa450edef68
2024-03-06 12:20:46 +00:00
PJ Fanning 45b2ecb20a deprecation warning
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1916147 13f79535-47bb-0310-9956-ffa450edef68
2024-03-06 11:57:53 +00:00
PJ Fanning d0a5b622ca [github-604] XDGF: add support for poly lines. Thanks to Dmitrii Komarov. This closes #604
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1916146 13f79535-47bb-0310-9956-ffa450edef68
2024-03-06 11:53:17 +00:00
PJ Fanning baae7b0301 [github-601] XDGF: handle elliptical arcs that have colinear points. Thanks to Dmitrii Komarov. This closes #601
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1916144 13f79535-47bb-0310-9956-ffa450edef68
2024-03-06 11:13:01 +00:00
PJ Fanning 9d3531842b rework test state
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1916143 13f79535-47bb-0310-9956-ffa450edef68
2024-03-06 10:49:07 +00:00
PJ Fanning 30ff717be4 gradle 8.6
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1916114 13f79535-47bb-0310-9956-ffa450edef68
2024-03-05 00:13:09 +00:00
PJ Fanning a3488f6c39 [bug-68703] fix issue with XSLFTextRuns in XSLFTableCells
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1916108 13f79535-47bb-0310-9956-ffa450edef68
2024-03-04 14:56:20 +00:00
PJ Fanning db63599833 [bug-68703] revert fix issue with XSLFTextRuns in XSLFTableCells
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1916106 13f79535-47bb-0310-9956-ffa450edef68
2024-03-04 14:01:46 +00:00
PJ Fanning 1c156c4005 [bug-68703] fix issue with XSLFTextRuns in XSLFTableCells
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1916105 13f79535-47bb-0310-9956-ffa450edef68
2024-03-04 12:49:02 +00:00
Axel Howind 9d14f3f9ee enable gradle caching again
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1916038 13f79535-47bb-0310-9956-ffa450edef68
2024-02-28 09:42:29 +00:00
Axel Howind 9e425e1c5b use diamond operator
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1916036 13f79535-47bb-0310-9956-ffa450edef68
2024-02-28 09:35:51 +00:00
Axel Howind 263171f80e use method reference
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1916035 13f79535-47bb-0310-9956-ffa450edef68
2024-02-28 09:35:49 +00:00
Axel Howind 6b40b7f966 use Map.computeIfAbsent()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1916034 13f79535-47bb-0310-9956-ffa450edef68
2024-02-28 09:35:46 +00:00
PJ Fanning 2496ce5229 rework tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1916017 13f79535-47bb-0310-9956-ffa450edef68
2024-02-26 23:05:36 +00:00
PJ Fanning 025c904695 woodstox 6.6.1
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1916016 13f79535-47bb-0310-9956-ffa450edef68
2024-02-26 22:44:31 +00:00
Axel Howind 05af0e0bf3 Math.toIntExact is unnecessary because value is guaranteed to be between 0 and 15
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1915959 13f79535-47bb-0310-9956-ffa450edef68
2024-02-22 20:56:03 +00:00
Axel Howind 17c6a1ec50 replace List<Byte> with ByteArrayOutputStream to avoid boxing/unboxing and repeated copying of data
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1915958 13f79535-47bb-0310-9956-ffa450edef68
2024-02-22 20:48:04 +00:00
PJ Fanning e5e22bb1f2 xmlsec 3.0.4
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1915955 13f79535-47bb-0310-9956-ffa450edef68
2024-02-22 17:27:45 +00:00
Axel Howind e65e666ece do not write single bytes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1915953 13f79535-47bb-0310-9956-ffa450edef68
2024-02-22 15:44:31 +00:00
Axel Howind 39a1ced25e fix Logging issues:
- don't use foreign class in Logger initialization
- update log statements to use MessageFormat syntax

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1915930 13f79535-47bb-0310-9956-ffa450edef68
2024-02-21 21:28:04 +00:00
Axel Howind cb10857970 make loggers static final
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1915929 13f79535-47bb-0310-9956-ffa450edef68
2024-02-21 21:04:58 +00:00
PJ Fanning 28fc73b046 log4j 2.23.0
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1915917 13f79535-47bb-0310-9956-ffa450edef68
2024-02-21 10:52:18 +00:00
Axel Howind 386ddb8e6b move setting of locale for tests to top level build.gradle
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1915910 13f79535-47bb-0310-9956-ffa450edef68
2024-02-20 22:48:53 +00:00
Dominik Stadler 1bb5f644f1 Fix Ant-build after upgrade of commons-compress
Commons-lang3 is now required as dependency of commons-compress

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1915909 13f79535-47bb-0310-9956-ffa450edef68
2024-02-20 21:09:48 +00:00
Dominik Stadler b7bf336453 Jenkins DSL: Use sonar-task and sonar.token instead of sonar.login
This removes some build-warnings

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1915908 13f79535-47bb-0310-9956-ffa450edef68
2024-02-20 21:09:44 +00:00
Dominik Stadler b4a2bc084e Switch builds for JDK 22 and 23 to Ant for now
Gradle does not yet support newer JDKs

See https://docs.gradle.org/current/userguide/compatibility.html
and https://github.com/gradle/gradle/issues/26162

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1915907 13f79535-47bb-0310-9956-ffa450edef68
2024-02-20 21:06:41 +00:00
PJ Fanning 3817f138f8 try to fix issue with invalid files after commons-compress upgrade
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1915895 13f79535-47bb-0310-9956-ffa450edef68
2024-02-20 16:31:04 +00:00
PJ Fanning fded4957db commons-compress 1.26.0
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1915892 13f79535-47bb-0310-9956-ffa450edef68
2024-02-20 12:01:15 +00:00
PJ Fanning d59d6b7d7d [github-596] Change cast logic in HSSFChart. Thanks to Ruby Hartono. This closes #596
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1915881 13f79535-47bb-0310-9956-ffa450edef68
2024-02-19 20:11:45 +00:00
PJ Fanning 23ed93817f remove unused loggers. Thanks to Ruby Hartono. This closes #594 and closes #595
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1915870 13f79535-47bb-0310-9956-ffa450edef68
2024-02-19 10:10:57 +00:00
Axel Howind 63899a8810 fix #68635: POI unit tests fail when run under non-US locale
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1915827 13f79535-47bb-0310-9956-ffa450edef68
2024-02-17 15:47:46 +00:00
PJ Fanning c871bb7b9f remove unused loggers - thanks to Ruby Hartono. This closes #588 and closes #589
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1915819 13f79535-47bb-0310-9956-ffa450edef68
2024-02-16 15:25:24 +00:00
PJ Fanning dc025d9365 [github-590] simplify some logging. This closes #590
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1915818 13f79535-47bb-0310-9956-ffa450edef68
2024-02-16 15:12:54 +00:00
PJ Fanning 99ec2c6c0f byte buddy 1.14.12
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1915817 13f79535-47bb-0310-9956-ffa450edef68
2024-02-16 15:05:18 +00:00
PJ Fanning 6a8994ee0e try to fix poi-scratchpad test module-info
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1915701 13f79535-47bb-0310-9956-ffa450edef68
2024-02-10 01:27:06 +00:00
PJ Fanning 3b7a01b804 Upgrade commons-codec dependency to 1.16.1
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1915695 13f79535-47bb-0310-9956-ffa450edef68
2024-02-09 16:38:15 +00:00