]> source.dussan.org Git - poi.git/log
poi.git
5 months agoApply IDE suggestions and ignore sonar false positive
Dominik Stadler [Sun, 2 Jun 2024 09:39:51 +0000 (09:39 +0000)]
Apply IDE suggestions and ignore sonar false positive

Use NullOutputStream.INSTANCE
Rework one test slightly

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

5 months agoAdd simple test for font-width
Dominik Stadler [Sun, 2 Jun 2024 09:39:43 +0000 (09:39 +0000)]
Add simple test for font-width

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

5 months agouse xmlbeans release
PJ Fanning [Sun, 26 May 2024 21:42:46 +0000 (21:42 +0000)]
use xmlbeans release

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

6 months agocommons-compress 1.26.2 released
PJ Fanning [Fri, 24 May 2024 08:55:02 +0000 (08:55 +0000)]
commons-compress 1.26.2 released

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

6 months agocommons-compress 1.26.2 is not yet officially released
PJ Fanning [Thu, 23 May 2024 10:58:54 +0000 (10:58 +0000)]
commons-compress 1.26.2 is not yet officially released

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

6 months agocommons-compress 1.26.2
PJ Fanning [Wed, 22 May 2024 14:06:41 +0000 (14:06 +0000)]
commons-compress 1.26.2

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

6 months agobyte buddy 1.14.16
PJ Fanning [Wed, 22 May 2024 14:06:05 +0000 (14:06 +0000)]
byte buddy 1.14.16

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

6 months agotest with staged copy of xmlbeans 5.2.1 (rc)
PJ Fanning [Wed, 22 May 2024 00:06:34 +0000 (00:06 +0000)]
test with staged copy of xmlbeans 5.2.1 (rc)

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

6 months agorename as 5.3.0-SNAPSHOT due to some changes in behaviour
PJ Fanning [Fri, 17 May 2024 11:07:37 +0000 (11:07 +0000)]
rename as 5.3.0-SNAPSHOT due to some changes in behaviour

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

6 months ago[bug-68183] SXSSFWorkbook now removes temp files when closed - removing need for...
PJ Fanning [Fri, 17 May 2024 11:04:12 +0000 (11:04 +0000)]
[bug-68183] SXSSFWorkbook now removes temp files when closed - removing need for a separate dispose call. Thanks to Clayton Bodendein. This closes #586

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

6 months ago[bug-69021] add guard around cast
PJ Fanning [Fri, 17 May 2024 10:00:28 +0000 (10:00 +0000)]
[bug-69021] add guard around cast

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

6 months agographics2d 3.0.2
PJ Fanning [Mon, 13 May 2024 15:49:36 +0000 (15:49 +0000)]
graphics2d 3.0.2

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

6 months ago[bug-68987] support allowStoredEntriesWithDataDescriptor=true when reading zip data
PJ Fanning [Wed, 8 May 2024 22:32:22 +0000 (22:32 +0000)]
[bug-68987] support allowStoredEntriesWithDataDescriptor=true when reading zip data

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

6 months agojavadoc issues
PJ Fanning [Wed, 8 May 2024 21:30:13 +0000 (21:30 +0000)]
javadoc issues

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

6 months agoadd back check for if dir already exists
PJ Fanning [Wed, 8 May 2024 17:24:41 +0000 (17:24 +0000)]
add back check for if dir already exists

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

6 months agoupgrade xmlunit
PJ Fanning [Mon, 29 Apr 2024 15:07:33 +0000 (15:07 +0000)]
upgrade xmlunit

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

6 months agocommons-codec 1.17.0
PJ Fanning [Mon, 29 Apr 2024 15:04:07 +0000 (15:04 +0000)]
commons-codec 1.17.0

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

7 months agoBug 66425: Avoid exceptions found via poi-fuzz
Dominik Stadler [Mon, 22 Apr 2024 13:32:30 +0000 (13:32 +0000)]
Bug 66425: Avoid exceptions found via poi-fuzz

Avoid a possible NullPointerException

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

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

7 months agoAdjust test for XLS2CSV for different newlines on Windows
Dominik Stadler [Mon, 22 Apr 2024 13:16:10 +0000 (13:16 +0000)]
Adjust test for XLS2CSV for different newlines on Windows

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

7 months agofix use of forbidden api
PJ Fanning [Mon, 22 Apr 2024 10:43:36 +0000 (10:43 +0000)]
fix use of forbidden api

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

7 months agoSome new test-files need to be excluded for no-scratchpad execution
Dominik Stadler [Mon, 22 Apr 2024 06:43:24 +0000 (06:43 +0000)]
Some new test-files need to be excluded for no-scratchpad execution

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

7 months agoXLS(X) -> CSV: Wrap formatted numbers in quotes if necessary
Dominik Stadler [Mon, 22 Apr 2024 06:43:20 +0000 (06:43 +0000)]
XLS(X) -> CSV: Wrap formatted numbers in quotes if necessary

e.g. German locale uses "comma" instead of point, e.g. 1,23 instead of 1.23
so we may need to quote formatted numbers

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

7 months agoupdate fanningpj key
PJ Fanning [Sun, 21 Apr 2024 22:03:36 +0000 (22:03 +0000)]
update fanningpj key

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

7 months agoOne integration-test file now fails in "additional" as well
Dominik Stadler [Sat, 20 Apr 2024 16:12:36 +0000 (16:12 +0000)]
One integration-test file now fails in "additional" as well

Not sure which change introduced this as it worked initially...

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

7 months agoAdd one more "flaky" byte when comparing two documents
Dominik Stadler [Sat, 20 Apr 2024 07:53:47 +0000 (07:53 +0000)]
Add one more "flaky" byte when comparing two documents

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

7 months agoInclude inner exception when re-throwing
Dominik Stadler [Sat, 20 Apr 2024 07:53:43 +0000 (07:53 +0000)]
Include inner exception when re-throwing

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

7 months agoBug 66425: Avoid exceptions found via poi-fuzz
Dominik Stadler [Sat, 20 Apr 2024 07:53:40 +0000 (07:53 +0000)]
Bug 66425: Avoid exceptions found via poi-fuzz

Prevent a NullPointerException

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

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

7 months agoIntegration tests: Add writing out the document
Dominik Stadler [Sat, 20 Apr 2024 07:53:35 +0000 (07:53 +0000)]
Integration tests: Add writing out the document

This will cover some more functionality

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

7 months agoupdate tests
PJ Fanning [Fri, 19 Apr 2024 17:10:56 +0000 (17:10 +0000)]
update tests

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

7 months agorefactor code that removes parts
PJ Fanning [Fri, 19 Apr 2024 14:12:13 +0000 (14:12 +0000)]
refactor code that removes parts

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

7 months agogradle 8.7
PJ Fanning [Fri, 19 Apr 2024 13:26:22 +0000 (13:26 +0000)]
gradle 8.7

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

7 months agoadd javadoc
PJ Fanning [Fri, 19 Apr 2024 10:59:30 +0000 (10:59 +0000)]
add javadoc

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

7 months agofix npe
PJ Fanning [Fri, 19 Apr 2024 10:16:08 +0000 (10:16 +0000)]
fix npe

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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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