]> source.dussan.org Git - poi.git/log
poi.git
5 months agofix npe
PJ Fanning [Fri, 19 Apr 2024 10:12:44 +0000 (10:12 +0000)]
fix npe

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

5 months agorefactor some code
PJ Fanning [Fri, 19 Apr 2024 09:56:05 +0000 (09:56 +0000)]
refactor some code

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

5 months agofix compile issues
PJ Fanning [Fri, 19 Apr 2024 09:38:53 +0000 (09:38 +0000)]
fix compile issues

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

5 months ago[bug-63189] support hyperlink relationships. Thanks to Ohyoung Kwon. This closes...
PJ Fanning [Fri, 19 Apr 2024 09:23:54 +0000 (09:23 +0000)]
[bug-63189] support hyperlink relationships. Thanks to Ohyoung Kwon. This closes #617

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

5 months agobouncycastle 1.78.1
PJ Fanning [Thu, 18 Apr 2024 19:47:58 +0000 (19:47 +0000)]
bouncycastle 1.78.1

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

5 months agoComment out one more flaky assertion
Dominik Stadler [Wed, 17 Apr 2024 19:12:25 +0000 (19:12 +0000)]
Comment out one more flaky assertion

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

5 months agoComment out flaky assertion and add more information to find which file fails in CI
Dominik Stadler [Wed, 17 Apr 2024 18:50:32 +0000 (18:50 +0000)]
Comment out flaky assertion and add more information to find which file fails in CI

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

5 months agoBug 66425: Avoid exceptions found via poi-fuzz
Dominik Stadler [Wed, 17 Apr 2024 18:15:46 +0000 (18:15 +0000)]
Bug 66425: Avoid exceptions found via poi-fuzz

Use correct default date-format, add some tests

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

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

5 months agoBug 66425: Avoid exceptions found via poi-fuzz
Dominik Stadler [Wed, 17 Apr 2024 18:15:38 +0000 (18:15 +0000)]
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

5 months agoBug 66425: Avoid exceptions found via poi-fuzz
Dominik Stadler [Wed, 17 Apr 2024 18:15:33 +0000 (18:15 +0000)]
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

6 months agoremove accidental test
PJ Fanning [Fri, 12 Apr 2024 17:29:27 +0000 (17:29 +0000)]
remove accidental test

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

6 months agoslf4j 2.0.13
PJ Fanning [Fri, 12 Apr 2024 17:28:41 +0000 (17:28 +0000)]
slf4j 2.0.13

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

6 months agocommons-io 2.16.1
PJ Fanning [Tue, 9 Apr 2024 07:59:42 +0000 (07:59 +0000)]
commons-io 2.16.1

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

6 months agobouncycastle 1.77
PJ Fanning [Mon, 8 Apr 2024 18:44:01 +0000 (18:44 +0000)]
bouncycastle 1.77

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

6 months agocommons-io 2.16.0
PJ Fanning [Fri, 29 Mar 2024 08:46:25 +0000 (08:46 +0000)]
commons-io 2.16.0

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

6 months agoupgrade woodstox
PJ Fanning [Wed, 27 Mar 2024 16:58:47 +0000 (16:58 +0000)]
upgrade woodstox

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

6 months agoadd since annotation
PJ Fanning [Wed, 27 Mar 2024 13:36:25 +0000 (13:36 +0000)]
add since annotation

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

6 months ago[github-607] Support SVGs in XWPF. Thanks to Etienne Gautier. This closes #607
PJ Fanning [Wed, 27 Mar 2024 13:33:57 +0000 (13:33 +0000)]
[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

7 months agopdfbox 3.0.2
PJ Fanning [Fri, 15 Mar 2024 17:16:10 +0000 (17:16 +0000)]
pdfbox 3.0.2

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

7 months agoBug 68778: Verify "ignoreMissingFontSystem" for SheetUtil.getDefaultCharWidthAsFloat()
Dominik Stadler [Thu, 14 Mar 2024 13:20:47 +0000 (13:20 +0000)]
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

7 months agoupgrade commons-compress and log4j
PJ Fanning [Mon, 11 Mar 2024 17:48:11 +0000 (17:48 +0000)]
upgrade commons-compress and log4j

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

7 months agoadd javadoc
PJ Fanning [Wed, 6 Mar 2024 12:22:34 +0000 (12:22 +0000)]
add javadoc

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

7 months agoremove annotation
PJ Fanning [Wed, 6 Mar 2024 12:20:46 +0000 (12:20 +0000)]
remove annotation

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

7 months agodeprecation warning
PJ Fanning [Wed, 6 Mar 2024 11:57:53 +0000 (11:57 +0000)]
deprecation warning

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

7 months ago[github-604] XDGF: add support for poly lines. Thanks to Dmitrii Komarov. This closes...
PJ Fanning [Wed, 6 Mar 2024 11:53:17 +0000 (11:53 +0000)]
[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

7 months ago[github-601] XDGF: handle elliptical arcs that have colinear points. Thanks to Dmitri...
PJ Fanning [Wed, 6 Mar 2024 11:13:01 +0000 (11:13 +0000)]
[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

7 months agorework test state
PJ Fanning [Wed, 6 Mar 2024 10:49:07 +0000 (10:49 +0000)]
rework test state

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

7 months agogradle 8.6
PJ Fanning [Tue, 5 Mar 2024 00:13:09 +0000 (00:13 +0000)]
gradle 8.6

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

7 months ago[bug-68703] fix issue with XSLFTextRuns in XSLFTableCells
PJ Fanning [Mon, 4 Mar 2024 14:56:20 +0000 (14:56 +0000)]
[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

7 months ago[bug-68703] revert fix issue with XSLFTextRuns in XSLFTableCells
PJ Fanning [Mon, 4 Mar 2024 14:01:46 +0000 (14:01 +0000)]
[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

7 months ago[bug-68703] fix issue with XSLFTextRuns in XSLFTableCells
PJ Fanning [Mon, 4 Mar 2024 12:49:02 +0000 (12:49 +0000)]
[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

7 months agoenable gradle caching again
Axel Howind [Wed, 28 Feb 2024 09:42:29 +0000 (09:42 +0000)]
enable gradle caching again

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

7 months agouse diamond operator
Axel Howind [Wed, 28 Feb 2024 09:35:51 +0000 (09:35 +0000)]
use diamond operator

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

7 months agouse method reference
Axel Howind [Wed, 28 Feb 2024 09:35:49 +0000 (09:35 +0000)]
use method reference

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

7 months agouse Map.computeIfAbsent()
Axel Howind [Wed, 28 Feb 2024 09:35:46 +0000 (09:35 +0000)]
use Map.computeIfAbsent()

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

7 months agorework tests
PJ Fanning [Mon, 26 Feb 2024 23:05:36 +0000 (23:05 +0000)]
rework tests

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

7 months agowoodstox 6.6.1
PJ Fanning [Mon, 26 Feb 2024 22:44:31 +0000 (22:44 +0000)]
woodstox 6.6.1

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

7 months agoMath.toIntExact is unnecessary because value is guaranteed to be between 0 and 15
Axel Howind [Thu, 22 Feb 2024 20:56:03 +0000 (20:56 +0000)]
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

7 months agoreplace List<Byte> with ByteArrayOutputStream to avoid boxing/unboxing and repeated...
Axel Howind [Thu, 22 Feb 2024 20:48:04 +0000 (20:48 +0000)]
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

7 months agoxmlsec 3.0.4
PJ Fanning [Thu, 22 Feb 2024 17:27:45 +0000 (17:27 +0000)]
xmlsec 3.0.4

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

7 months agodo not write single bytes
Axel Howind [Thu, 22 Feb 2024 15:44:31 +0000 (15:44 +0000)]
do not write single bytes

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

7 months agofix Logging issues:
Axel Howind [Wed, 21 Feb 2024 21:28:04 +0000 (21:28 +0000)]
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

7 months agomake loggers static final
Axel Howind [Wed, 21 Feb 2024 21:04:58 +0000 (21:04 +0000)]
make loggers static final

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

7 months agolog4j 2.23.0
PJ Fanning [Wed, 21 Feb 2024 10:52:18 +0000 (10:52 +0000)]
log4j 2.23.0

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

7 months agomove setting of locale for tests to top level build.gradle
Axel Howind [Tue, 20 Feb 2024 22:48:53 +0000 (22:48 +0000)]
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

7 months agoFix Ant-build after upgrade of commons-compress
Dominik Stadler [Tue, 20 Feb 2024 21:09:48 +0000 (21:09 +0000)]
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

7 months agoJenkins DSL: Use sonar-task and sonar.token instead of sonar.login
Dominik Stadler [Tue, 20 Feb 2024 21:09:44 +0000 (21:09 +0000)]
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

7 months agoSwitch builds for JDK 22 and 23 to Ant for now
Dominik Stadler [Tue, 20 Feb 2024 21:06:41 +0000 (21:06 +0000)]
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

7 months agotry to fix issue with invalid files after commons-compress upgrade
PJ Fanning [Tue, 20 Feb 2024 16:31:04 +0000 (16:31 +0000)]
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

7 months agocommons-compress 1.26.0
PJ Fanning [Tue, 20 Feb 2024 12:01:15 +0000 (12:01 +0000)]
commons-compress 1.26.0

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

7 months ago[github-596] Change cast logic in HSSFChart. Thanks to Ruby Hartono. This closes...
PJ Fanning [Mon, 19 Feb 2024 20:11:45 +0000 (20:11 +0000)]
[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

7 months agoremove unused loggers. Thanks to Ruby Hartono. This closes #594 and closes #595
PJ Fanning [Mon, 19 Feb 2024 10:10:57 +0000 (10:10 +0000)]
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

7 months agofix #68635: POI unit tests fail when run under non-US locale
Axel Howind [Sat, 17 Feb 2024 15:47:46 +0000 (15:47 +0000)]
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

7 months agoremove unused loggers - thanks to Ruby Hartono. This closes #588 and closes #589
PJ Fanning [Fri, 16 Feb 2024 15:25:24 +0000 (15:25 +0000)]
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

7 months ago[github-590] simplify some logging. This closes #590
PJ Fanning [Fri, 16 Feb 2024 15:12:54 +0000 (15:12 +0000)]
[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

7 months agobyte buddy 1.14.12
PJ Fanning [Fri, 16 Feb 2024 15:05:18 +0000 (15:05 +0000)]
byte buddy 1.14.12

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

8 months agotry to fix poi-scratchpad test module-info
PJ Fanning [Sat, 10 Feb 2024 01:27:06 +0000 (01:27 +0000)]
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

8 months agoUpgrade commons-codec dependency to 1.16.1
PJ Fanning [Fri, 9 Feb 2024 16:38:15 +0000 (16:38 +0000)]
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

8 months agojunit 5.10.2
PJ Fanning [Tue, 6 Feb 2024 20:18:31 +0000 (20:18 +0000)]
junit 5.10.2

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

8 months agoslf4j 2.0.12
PJ Fanning [Tue, 6 Feb 2024 20:17:13 +0000 (20:17 +0000)]
slf4j 2.0.12

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

8 months ago[github-582] improve performance CodepointsUtil.iteratorFor. Thanks to Jason Mirra...
PJ Fanning [Sat, 3 Feb 2024 21:06:38 +0000 (21:06 +0000)]
[github-582] improve performance CodepointsUtil.iteratorFor. Thanks to Jason Mirra. This closes #582

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

8 months agoremove one use of CodepointsUtil.iteratorFor
PJ Fanning [Sat, 3 Feb 2024 20:20:40 +0000 (20:20 +0000)]
remove one use of CodepointsUtil.iteratorFor

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

8 months agoSwitch builds for JDK 22 and 23 to Ant for now
Dominik Stadler [Thu, 1 Feb 2024 06:38:54 +0000 (06:38 +0000)]
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@1915505 13f79535-47bb-0310-9956-ffa450edef68

8 months agoSonarQube demands at least JDK 17 now
Dominik Stadler [Thu, 1 Feb 2024 06:38:51 +0000 (06:38 +0000)]
SonarQube demands at least JDK 17 now

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

8 months agoJenknins DSL: Remove builds for JDK 15 and 16
Dominik Stadler [Thu, 1 Feb 2024 06:38:49 +0000 (06:38 +0000)]
Jenknins DSL: Remove builds for JDK 15 and 16

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

8 months agoSonarQube demands at least JDK 17 now
Dominik Stadler [Tue, 30 Jan 2024 21:28:48 +0000 (21:28 +0000)]
SonarQube demands at least JDK 17 now

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

8 months agoFix handling missing font libraries to again not throw on some types of exception
Dominik Stadler [Tue, 30 Jan 2024 21:01:53 +0000 (21:01 +0000)]
Fix handling missing font libraries to again not throw on some types of exception

The previous change broke this handling by always re-throwing "Fatal" exceptions.

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

8 months agoUse latest version of rat and rat-plugin
Dominik Stadler [Tue, 30 Jan 2024 21:01:49 +0000 (21:01 +0000)]
Use latest version of rat and rat-plugin

In Gradle builds, this will still use rat 0.15.0, though
as the plugin hardcodes the version of rat that is used.

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

8 months agoBug 66425: Avoid exceptions found via poi-fuzz
Dominik Stadler [Tue, 30 Jan 2024 21:01:46 +0000 (21:01 +0000)]
Bug 66425: Avoid exceptions found via poi-fuzz

Prevent a few NullPointerException

Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=65450 and
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=63907 and
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=63727

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

8 months agoFix no-scratchpad CI job
Dominik Stadler [Tue, 30 Jan 2024 21:01:39 +0000 (21:01 +0000)]
Fix no-scratchpad CI job

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

8 months agoIgnore missing directory 'build/dist/maven' when deleting obsolete jars
Dominik Stadler [Fri, 26 Jan 2024 12:52:16 +0000 (12:52 +0000)]
Ignore missing directory 'build/dist/maven' when deleting obsolete jars

Otherwise build may fail on a fresh checkout or after 'clean'

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

8 months ago[github-578] allow any non-fatal exception when setting up fonts to indicate that...
PJ Fanning [Thu, 25 Jan 2024 10:03:29 +0000 (10:03 +0000)]
[github-578] allow any non-fatal exception when setting up fonts to indicate that the fonts are probably not installed. This closes #578

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

8 months agocyclonedx 1.8.2
PJ Fanning [Thu, 25 Jan 2024 09:32:57 +0000 (09:32 +0000)]
cyclonedx 1.8.2

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

8 months agoTry to remove outdated files from the "distribution" folder
Dominik Stadler [Tue, 23 Jan 2024 09:28:17 +0000 (09:28 +0000)]
Try to remove outdated files from the "distribution" folder

Clean directory and keep only the expected files with the current
version.

Otherwise we get strange errors about "duplicate modules" when
building after version was switched.

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

8 months agorevert woodstox upgrade
PJ Fanning [Thu, 18 Jan 2024 09:23:42 +0000 (09:23 +0000)]
revert woodstox upgrade

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

8 months agowoodstox upgrade
PJ Fanning [Wed, 17 Jan 2024 18:04:50 +0000 (18:04 +0000)]
woodstox upgrade

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

9 months agoremove ant release logic (not used for our releases and dependent on libs that don...
PJ Fanning [Tue, 16 Jan 2024 10:17:54 +0000 (10:17 +0000)]
remove ant release logic (not used for our releases and dependent on libs that don't seem to be maintained)

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

9 months agoremove ant release logic (not used for our releases and dependent on libs that don...
PJ Fanning [Tue, 16 Jan 2024 10:15:36 +0000 (10:15 +0000)]
remove ant release logic (not used for our releases and dependent on libs that don't seem to be maintained)

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

9 months agoslf4j 2.0.11
PJ Fanning [Tue, 9 Jan 2024 15:28:26 +0000 (15:28 +0000)]
slf4j 2.0.11

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

9 months ago2024
PJ Fanning [Sun, 31 Dec 2023 12:42:38 +0000 (12:42 +0000)]
2024

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

9 months agoBug 66425: Avoid exceptions found via poi-fuzz
Dominik Stadler [Sat, 30 Dec 2023 19:39:42 +0000 (19:39 +0000)]
Bug 66425: Avoid exceptions found via poi-fuzz

Prevent NullPointerException

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

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

9 months agoBug 66425: Avoid exceptions found via poi-fuzz
Dominik Stadler [Sat, 30 Dec 2023 19:39:36 +0000 (19:39 +0000)]
Bug 66425: Avoid exceptions found via poi-fuzz

Prevent NullPointerException

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

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

9 months agoBug 66425: Avoid exceptions found via poi-fuzz
Dominik Stadler [Sat, 30 Dec 2023 19:39:31 +0000 (19:39 +0000)]
Bug 66425: Avoid exceptions found via poi-fuzz

Prevent NullPointerException

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

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

9 months agoBug 66425: Avoid exceptions found via poi-fuzz
Dominik Stadler [Sat, 30 Dec 2023 19:39:24 +0000 (19:39 +0000)]
Bug 66425: Avoid exceptions found via poi-fuzz

Prevent ClassCastException

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

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

9 months agoslf4j 2.0.10
PJ Fanning [Sat, 30 Dec 2023 13:08:39 +0000 (13:08 +0000)]
slf4j 2.0.10

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

9 months agoBug 66425: Avoid exceptions found via poi-fuzz
Dominik Stadler [Sat, 30 Dec 2023 11:11:42 +0000 (11:11 +0000)]
Bug 66425: Avoid exceptions found via poi-fuzz

Prevent ClassCastException

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

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

9 months agoBug 66425: Avoid exceptions found via poi-fuzz
Dominik Stadler [Sat, 30 Dec 2023 11:11:36 +0000 (11:11 +0000)]
Bug 66425: Avoid exceptions found via poi-fuzz

Prevent ClassCastException

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

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

9 months agoBug 66425: Avoid exceptions found via poi-fuzz
Dominik Stadler [Sat, 30 Dec 2023 11:11:32 +0000 (11:11 +0000)]
Bug 66425: Avoid exceptions found via poi-fuzz

Prevent StackOverflow via endless nesting

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

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

9 months agoAdd JDK 23 and disable JDK 19 and 20 as they are replaced by LTS-version JDK 21 now
Dominik Stadler [Sat, 30 Dec 2023 11:11:26 +0000 (11:11 +0000)]
Add JDK 23 and disable JDK 19 and 20 as they are replaced by LTS-version JDK 21 now

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

9 months agoUpdate JaCoCo to 0.8.11
Dominik Stadler [Sat, 30 Dec 2023 11:11:24 +0000 (11:11 +0000)]
Update JaCoCo to 0.8.11

This should make building with JDK 22 work

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

9 months agoDon't fail on JDK 21.0.1 if one signature check fails
Dominik Stadler [Sat, 30 Dec 2023 11:11:21 +0000 (11:11 +0000)]
Don't fail on JDK 21.0.1 if one signature check fails

See https://bugs.openjdk.org/browse/JDK-8320597 for the
related bug-report for the JDK itself

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

9 months agolog4j 2.22.1
PJ Fanning [Wed, 27 Dec 2023 14:04:34 +0000 (14:04 +0000)]
log4j 2.22.1

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

9 months ago[bug-68379] add signing support for classificationlabels
PJ Fanning [Wed, 20 Dec 2023 18:01:02 +0000 (18:01 +0000)]
[bug-68379] add signing support for classificationlabels

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

9 months agotry to javadoc more unsupported methods
PJ Fanning [Wed, 20 Dec 2023 08:14:13 +0000 (08:14 +0000)]
try to javadoc more unsupported methods

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

9 months agotry to javadoc more unsupported methods
PJ Fanning [Tue, 19 Dec 2023 20:27:49 +0000 (20:27 +0000)]
try to javadoc more unsupported methods

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

10 months agoAllow all IndexOutOfBoundsException to have either empty message or some message
Dominik Stadler [Sat, 16 Dec 2023 12:09:02 +0000 (12:09 +0000)]
Allow all IndexOutOfBoundsException to have either empty message or some message

Newer JDKs add a more useful exception message, so we need to be a bit more
lenient for these in integration tests

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

10 months agocommons-compress is needed in ooxml-test for running tests via Ant
Dominik Stadler [Sat, 16 Dec 2023 12:08:57 +0000 (12:08 +0000)]
commons-compress is needed in ooxml-test for running tests via Ant

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

10 months agoUse revert() instead of close() when processing fails
Dominik Stadler [Sat, 16 Dec 2023 12:08:54 +0000 (12:08 +0000)]
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

10 months ago[bug-68305] extend test
PJ Fanning [Sun, 10 Dec 2023 13:51:19 +0000 (13:51 +0000)]
[bug-68305] extend test

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

10 months ago[bug-68305] add test
PJ Fanning [Sun, 10 Dec 2023 13:30:59 +0000 (13:30 +0000)]
[bug-68305] add test

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