]> source.dussan.org Git - poi.git/log
poi.git
6 weeks agoBump de.thetaphi.forbiddenapis from 3.7 to 3.8 dependabot/gradle/de.thetaphi.forbiddenapis-3.8 705/head
dependabot[bot] [Mon, 7 Oct 2024 14:13:28 +0000 (14:13 +0000)]
Bump de.thetaphi.forbiddenapis from 3.7 to 3.8

Bumps de.thetaphi.forbiddenapis from 3.7 to 3.8.

---
updated-dependencies:
- dependency-name: de.thetaphi.forbiddenapis
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
6 weeks ago[github-704] Add UserNameAwareTempFileCreationStrategy. Thanks to TigerZCoder. This...
PJ Fanning [Sun, 6 Oct 2024 17:30:49 +0000 (17:30 +0000)]
[github-704] Add UserNameAwareTempFileCreationStrategy. Thanks to TigerZCoder. This closes #704

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

6 weeks agojunit 5.11.2
PJ Fanning [Sun, 6 Oct 2024 17:18:55 +0000 (17:18 +0000)]
junit 5.11.2

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

7 weeks agoupgrade log4j
PJ Fanning [Mon, 30 Sep 2024 11:40:58 +0000 (11:40 +0000)]
upgrade log4j

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

7 weeks ago[bug-69351] fix issues with removing items from IntList
PJ Fanning [Sun, 29 Sep 2024 07:12:48 +0000 (07:12 +0000)]
[bug-69351] fix issues with removing items from IntList

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

8 weeks agogradle 8.10.2
PJ Fanning [Fri, 27 Sep 2024 20:08:59 +0000 (20:08 +0000)]
gradle 8.10.2

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

8 weeks agoupgrade byte-buddy
PJ Fanning [Fri, 27 Sep 2024 18:31:45 +0000 (18:31 +0000)]
upgrade byte-buddy

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

8 weeks agojunit 5.11.1
PJ Fanning [Wed, 25 Sep 2024 14:24:03 +0000 (14:24 +0000)]
junit 5.11.1

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

8 weeks agoupgrade spotbugs
PJ Fanning [Wed, 25 Sep 2024 14:23:05 +0000 (14:23 +0000)]
upgrade spotbugs

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

2 months ago[github-692] D* functions are incompatible with the diamond operator. Thanks to Luk...
PJ Fanning [Fri, 20 Sep 2024 20:20:34 +0000 (20:20 +0000)]
[github-692] D* functions are incompatible with the diamond operator. Thanks to Luk Spiewak. This closes #692

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

2 months agogradle 8.10.1
PJ Fanning [Fri, 20 Sep 2024 19:32:11 +0000 (19:32 +0000)]
gradle 8.10.1

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

2 months agotry to add more chart related classes to poi-ooxml-lite
PJ Fanning [Thu, 19 Sep 2024 16:13:27 +0000 (16:13 +0000)]
try to add more chart related classes to poi-ooxml-lite

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

2 months agocommons-io 2.17.0
PJ Fanning [Thu, 19 Sep 2024 11:15:42 +0000 (11:15 +0000)]
commons-io 2.17.0

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

2 months agoback to ant
PJ Fanning [Sun, 15 Sep 2024 22:31:44 +0000 (22:31 +0000)]
back to ant

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

2 months agoback to ant
PJ Fanning [Sun, 15 Sep 2024 22:30:35 +0000 (22:30 +0000)]
back to ant

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

2 months agouse gradle for java 22 builds
PJ Fanning [Sun, 15 Sep 2024 21:59:55 +0000 (21:59 +0000)]
use gradle for java 22 builds

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

2 months agotry jupiter junit 5.11.0 again
PJ Fanning [Sun, 15 Sep 2024 21:19:00 +0000 (21:19 +0000)]
try jupiter junit 5.11.0 again

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

2 months agoupgrade spotbugs
PJ Fanning [Sun, 15 Sep 2024 21:13:22 +0000 (21:13 +0000)]
upgrade spotbugs

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

2 months agorevert junit upgrade due to CI issues
PJ Fanning [Sun, 15 Sep 2024 21:12:49 +0000 (21:12 +0000)]
revert junit upgrade due to CI issues

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

2 months ago[bug-69323] DefaultTempFileCreationStrategy should worry about OS deleting the temp...
PJ Fanning [Fri, 13 Sep 2024 11:09:21 +0000 (11:09 +0000)]
[bug-69323] DefaultTempFileCreationStrategy should worry about OS deleting the temp dir. Thanks to Palle Girgensohn. This closes #691

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

2 months ago[bug-69209] default ignoreMissingFontSystem to true
PJ Fanning [Thu, 12 Sep 2024 21:32:17 +0000 (21:32 +0000)]
[bug-69209] default ignoreMissingFontSystem to true

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

2 months ago[bug-69209] default ignoreMissingFontSystem to true
PJ Fanning [Thu, 12 Sep 2024 21:16:34 +0000 (21:16 +0000)]
[bug-69209] default ignoreMissingFontSystem to true

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

2 months agorevert spotbugs due to build issues
PJ Fanning [Sun, 8 Sep 2024 21:12:19 +0000 (21:12 +0000)]
revert spotbugs due to build issues

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

2 months agorevert log4j 2.24.0 due to build issue
PJ Fanning [Sun, 8 Sep 2024 00:30:33 +0000 (00:30 +0000)]
revert log4j 2.24.0 due to build issue

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

2 months agolog4j 2.24.0
PJ Fanning [Sun, 8 Sep 2024 00:23:45 +0000 (00:23 +0000)]
log4j 2.24.0

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

2 months agoupgrade spotbugs
PJ Fanning [Thu, 5 Sep 2024 16:30:26 +0000 (16:30 +0000)]
upgrade spotbugs

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

2 months agoant 1.10.15
PJ Fanning [Fri, 30 Aug 2024 17:37:58 +0000 (17:37 +0000)]
ant 1.10.15

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

2 months agobytebuddy 1.15.1
PJ Fanning [Fri, 30 Aug 2024 17:15:58 +0000 (17:15 +0000)]
bytebuddy 1.15.1

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

2 months agobytebuddy 1.15.0
PJ Fanning [Tue, 27 Aug 2024 18:48:12 +0000 (18:48 +0000)]
bytebuddy 1.15.0

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

2 months agoupdate javadoc
PJ Fanning [Tue, 27 Aug 2024 18:46:55 +0000 (18:46 +0000)]
update javadoc

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

2 months ago[github-682] Add CellPropertyType and CellPropertyCategory enums. Thanks to Danila...
PJ Fanning [Tue, 27 Aug 2024 18:36:59 +0000 (18:36 +0000)]
[github-682] Add CellPropertyType and CellPropertyCategory enums. Thanks to Danila Avdeyenko. This closes #682

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

3 months ago[github-657] SXSSF: support setting an arbitrary extra width value for column widths
PJ Fanning [Wed, 21 Aug 2024 11:35:20 +0000 (11:35 +0000)]
[github-657] SXSSF: support setting an arbitrary extra width value for column widths

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

3 months agoupgrade bytebuddy
PJ Fanning [Tue, 20 Aug 2024 16:30:34 +0000 (16:30 +0000)]
upgrade bytebuddy

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

3 months agoupgrade guava
PJ Fanning [Tue, 20 Aug 2024 16:29:36 +0000 (16:29 +0000)]
upgrade guava

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

3 months agoupgrade commons-compress
PJ Fanning [Tue, 20 Aug 2024 16:28:30 +0000 (16:28 +0000)]
upgrade commons-compress

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

3 months agoupgrade cyclonedx
PJ Fanning [Tue, 20 Aug 2024 16:26:58 +0000 (16:26 +0000)]
upgrade cyclonedx

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

3 months agogradle 8.10
PJ Fanning [Fri, 16 Aug 2024 12:08:48 +0000 (12:08 +0000)]
gradle 8.10

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

3 months ago[github-673] Add word10.xsd to poi-ooxml-full. Thanks to fangd1997. This closes #673
PJ Fanning [Fri, 16 Aug 2024 12:06:41 +0000 (12:06 +0000)]
[github-673] Add word10.xsd to poi-ooxml-full. Thanks to fangd1997. This closes #673

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

3 months ago[github-672] Support removing XWPF Styles. Thanks to fangd1997. This closes #672
PJ Fanning [Thu, 15 Aug 2024 19:45:40 +0000 (19:45 +0000)]
[github-672] Support removing XWPF Styles. Thanks to fangd1997. This closes #672

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

3 months agojunit 5.11.0
PJ Fanning [Wed, 14 Aug 2024 17:42:53 +0000 (17:42 +0000)]
junit 5.11.0

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

3 months ago[github-670] XWPFRun.getText should support delInstrText and noBreakHyphen. Thanks...
PJ Fanning [Wed, 14 Aug 2024 17:38:32 +0000 (17:38 +0000)]
[github-670] XWPFRun.getText should support delInstrText and noBreakHyphen. Thanks to fangd1997. This closes #670

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

3 months agoslf4j 2.0.16
PJ Fanning [Sun, 11 Aug 2024 07:24:06 +0000 (07:24 +0000)]
slf4j 2.0.16

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

3 months agopdfbox 3.0.3
PJ Fanning [Fri, 9 Aug 2024 16:03:15 +0000 (16:03 +0000)]
pdfbox 3.0.3

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

3 months agocommons-compress 1.27.0
PJ Fanning [Fri, 9 Aug 2024 16:01:41 +0000 (16:01 +0000)]
commons-compress 1.27.0

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

3 months agoslf4j 2.0.15
PJ Fanning [Thu, 8 Aug 2024 15:00:18 +0000 (15:00 +0000)]
slf4j 2.0.15

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

3 months agoslf4j 2.0.14
PJ Fanning [Wed, 7 Aug 2024 10:19:16 +0000 (10:19 +0000)]
slf4j 2.0.14

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

3 months agohamcrest 3.0
PJ Fanning [Thu, 1 Aug 2024 15:46:30 +0000 (15:46 +0000)]
hamcrest 3.0

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

3 months agoupgrade cyclondex
PJ Fanning [Tue, 30 Jul 2024 14:59:38 +0000 (14:59 +0000)]
upgrade cyclondex

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

3 months agoremove unnecessary xz test dependendency
PJ Fanning [Tue, 30 Jul 2024 14:48:30 +0000 (14:48 +0000)]
remove unnecessary xz test dependendency

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

3 months agoBug 66425: Avoid exceptions found via poi-fuzz
Dominik Stadler [Sun, 28 Jul 2024 11:02:18 +0000 (11:02 +0000)]
Bug 66425: Avoid exceptions found via poi-fuzz

Prevent a possible NullPointerException

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

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

4 months agoadd chinese hssf test
PJ Fanning [Fri, 19 Jul 2024 14:19:35 +0000 (14:19 +0000)]
add chinese hssf test

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

4 months agoremove 22742.xls
PJ Fanning [Fri, 19 Jul 2024 13:36:06 +0000 (13:36 +0000)]
remove 22742.xls

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

4 months agoApply some IDE suggestions, improve JavaDoc and simplify reporting log messages
Dominik Stadler [Thu, 18 Jul 2024 07:10:35 +0000 (07:10 +0000)]
Apply some IDE suggestions, improve JavaDoc and simplify reporting log messages

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

4 months agoBug 66425: Avoid exceptions found via poi-fuzz
Dominik Stadler [Thu, 18 Jul 2024 07:09:32 +0000 (07:09 +0000)]
Bug 66425: Avoid exceptions found via poi-fuzz

Processing formats uses regular expressions. Very complex formats
can recurse very deeply and thus can cause StackOVerflows depending
on the used stack-size.

In order to handle this a bit more gracefully, we now catch this
and report a better exception with details about the parsed
format and potential mitigation.

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

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

4 months agocommons-codec 1.17.1 - no need to note Saxon upgrade (only used in tests)
PJ Fanning [Tue, 16 Jul 2024 14:11:35 +0000 (14:11 +0000)]
commons-codec 1.17.1 - no need to note Saxon upgrade (only used in tests)

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

4 months agoBug 66425: Avoid exceptions found via poi-fuzz
Dominik Stadler [Tue, 16 Jul 2024 13:26:16 +0000 (13:26 +0000)]
Bug 66425: Avoid exceptions found via poi-fuzz

Avoid a possible OutOfMemoryException with incorrect uniqueCount

The ReadOnlySharedStringsTable pre-allocates whatever is stated in uniqueCount.

As the uniqueCount may be an incorrect large number, we should cap it at some point
to avoid OOMs if corrupt files are processed.

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

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

4 months agoPOI tm
PJ Fanning [Tue, 16 Jul 2024 12:33:05 +0000 (12:33 +0000)]
POI tm

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

4 months agogradle 8.9
PJ Fanning [Tue, 16 Jul 2024 07:42:28 +0000 (07:42 +0000)]
gradle 8.9

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

4 months agoBug 66425: Avoid exceptions found via poi-fuzz
Dominik Stadler [Tue, 16 Jul 2024 05:26:42 +0000 (05:26 +0000)]
Bug 66425: Avoid exceptions found via poi-fuzz

Avoid a possible OutOfMemoryException with many child-records

This avoids having too many children in EscherRecords, the limit of
100_000 is arbitrarily chosen and can be adjusted if needed

Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=62924 and maybe others

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

4 months agoupdate bytebuddy
PJ Fanning [Mon, 15 Jul 2024 22:42:38 +0000 (22:42 +0000)]
update bytebuddy

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

4 months agoupdate gradle plugins
PJ Fanning [Mon, 15 Jul 2024 22:41:18 +0000 (22:41 +0000)]
update gradle plugins

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

4 months agoRemove exclusions that are not necessary/useful
Dominik Stadler [Mon, 15 Jul 2024 13:04:48 +0000 (13:04 +0000)]
Remove exclusions that are not necessary/useful

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

4 months agoApply some IDE suggestions
Dominik Stadler [Mon, 15 Jul 2024 13:03:19 +0000 (13:03 +0000)]
Apply some IDE suggestions

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

4 months agoBug 66425: Avoid exceptions found via poi-fuzz
Dominik Stadler [Mon, 15 Jul 2024 13:02:43 +0000 (13:02 +0000)]
Bug 66425: Avoid exceptions found via poi-fuzz

Avoid a possible StackOverflowException

This adds support of counting of the "nesting level" into the base
EscherRecord and thus makes this existing limitation much more effective
as it kicks in for more types of nested records.

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

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

4 months agoOptimize generating numbers for bullets in Word
Dominik Stadler [Mon, 15 Jul 2024 05:41:14 +0000 (05:41 +0000)]
Optimize generating numbers for bullets in Word

Using char[] instead of String improves performance of this
operation considerably, especially in JDK 11+ where StringBuilder
was switched to work on bytes instead of chars.

This is likely only relevant for very large documents, it was visible
in a synthetic test-file from fuzzing.

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

4 months agoReformat and add more tests
Dominik Stadler [Mon, 15 Jul 2024 05:41:10 +0000 (05:41 +0000)]
Reformat and add more tests

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

4 months agoBug 66425: Avoid exceptions found via poi-fuzz
Dominik Stadler [Mon, 15 Jul 2024 05:41:04 +0000 (05:41 +0000)]
Bug 66425: Avoid exceptions found via poi-fuzz

Prevent too much memory usage

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

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

4 months agoAdd initial support for SOURCE_DATE_EPOCH
Dominik Stadler [Mon, 15 Jul 2024 05:40:56 +0000 (05:40 +0000)]
Add initial support for SOURCE_DATE_EPOCH

This allows to create reproducible binary files without creation/modification-timestamp
being set when environment variable SOURCE_DATE_EPOCH is set.

See https://reproducible-builds.org/docs/source-date-epoch/ for the related specification.

For now, we ensure that Zip-file entries set the modification time to 1970-01-01,
which seems to be enough to make simple OOXML files reproducible.

There are likely some other places where resulting files are not reproducible, some
more testing will be necessary to identify other areas that should take this into
account as well.

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

4 months agoPatch forrest to expect all links to be "https" instead of "http"
Dominik Stadler [Mon, 15 Jul 2024 05:40:48 +0000 (05:40 +0000)]
Patch forrest to expect all links to be "https" instead of "http"

Otherwise generating documentation leads to incorrect links with "../https://..."

Unfortunately Forrest is archived at Apache so we cannot get this fixed
in Forrest anymore.

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

4 months agoAdjust the name of the distribution-file in one more place.
Dominik Stadler [Sun, 14 Jul 2024 13:11:23 +0000 (13:11 +0000)]
Adjust the name of the distribution-file in one more place.

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

4 months agoBug 66425: Avoid exceptions found via poi-fuzz
Dominik Stadler [Sun, 14 Jul 2024 11:27:02 +0000 (11:27 +0000)]
Bug 66425: Avoid exceptions found via poi-fuzz

Prevent a NullPointerException

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

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

4 months agoBug 66425: Avoid exceptions found via poi-fuzz
Dominik Stadler [Sun, 14 Jul 2024 11:26:56 +0000 (11:26 +0000)]
Bug 66425: Avoid exceptions found via poi-fuzz

Prevent a NullPointerException

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

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

4 months agoBug 66425: Avoid exceptions found via poi-fuzz
Dominik Stadler [Sun, 14 Jul 2024 11:26:50 +0000 (11:26 +0000)]
Bug 66425: Avoid exceptions found via poi-fuzz

Prevent a ClassCastException

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

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

4 months agoBug 66425: Avoid exceptions found via poi-fuzz
Dominik Stadler [Sun, 14 Jul 2024 11:26:43 +0000 (11:26 +0000)]
Bug 66425: Avoid exceptions found via poi-fuzz

Prevent a NullPointerException

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

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

4 months agoList expected failures in stress.xls instead of fully excluding them
Dominik Stadler [Sun, 14 Jul 2024 11:26:38 +0000 (11:26 +0000)]
List expected failures in stress.xls instead of fully excluding them

We list expected failures in stress.xls to verify that
the error message is correct and no unexpected exception
is introduced

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

4 months agoupdate exception message
PJ Fanning [Wed, 10 Jul 2024 11:39:27 +0000 (11:39 +0000)]
update exception message

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

4 months agoadd negative test
PJ Fanning [Tue, 9 Jul 2024 14:43:03 +0000 (14:43 +0000)]
add negative test

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

4 months agoadd test case
PJ Fanning [Tue, 9 Jul 2024 14:16:47 +0000 (14:16 +0000)]
add test case

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

4 months agomake validateEntryNames use case insensitive check
PJ Fanning [Tue, 9 Jul 2024 09:46:46 +0000 (09:46 +0000)]
make validateEntryNames use case insensitive check

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

4 months agoFix Paragraph.searchText
Dominik Stadler [Sun, 7 Jul 2024 06:40:36 +0000 (06:40 +0000)]
Fix Paragraph.searchText

The result was wrong for certain combinations of runs and found positions.

The adjusted implementation fixes this.

Also add a number of additional tests to verify results are correct.

Closes #655

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

4 months agoBug 66425: Avoid exceptions found via poi-fuzz
Dominik Stadler [Sun, 7 Jul 2024 06:40:31 +0000 (06:40 +0000)]
Bug 66425: Avoid exceptions found via poi-fuzz

Prevent a NullPointerException

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

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

4 months agoHSSFWorkbook.getSheet(): Return first found sheet
Dominik Stadler [Sun, 7 Jul 2024 05:03:15 +0000 (05:03 +0000)]
HSSFWorkbook.getSheet(): Return first found sheet

We do not need to loop over all sheets always but should
be able to return the first found sheet.

This may change semantics for cases where there are
multiple sheets where name only differs in case, but
the JavaDoc did not state which one will be returned.

All three implementations (HSSF, XSSF, SXSSF)
now behave the same way.

Closes #653

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

4 months agoupdate TestXSSFSheetShiftRows
PJ Fanning [Sat, 6 Jul 2024 20:17:22 +0000 (20:17 +0000)]
update TestXSSFSheetShiftRows

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

4 months agosaxon 12.5
PJ Fanning [Tue, 2 Jul 2024 20:29:26 +0000 (20:29 +0000)]
saxon 12.5

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

4 months ago[bug-69154] add speculative row shifter fix
PJ Fanning [Tue, 2 Jul 2024 13:10:29 +0000 (13:10 +0000)]
[bug-69154] add speculative row shifter fix

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

4 months ago[bug-69154] XSSF: Shifting columns with merged regions generates an error about overl...
PJ Fanning [Tue, 2 Jul 2024 12:58:37 +0000 (12:58 +0000)]
[bug-69154] XSSF: Shifting columns with merged regions generates an error about overlapping regions

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

4 months agounused import
PJ Fanning [Tue, 2 Jul 2024 12:44:23 +0000 (12:44 +0000)]
unused import

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

4 months agosnapshot version
PJ Fanning [Tue, 2 Jul 2024 12:37:38 +0000 (12:37 +0000)]
snapshot version

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

4 months agoadd dataformatter test
PJ Fanning [Tue, 2 Jul 2024 09:42:02 +0000 (09:42 +0000)]
add dataformatter test

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

4 months agoanother dataformatter test
PJ Fanning [Tue, 2 Jul 2024 09:08:40 +0000 (09:08 +0000)]
another dataformatter test

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

4 months agoanother dataformatter test
PJ Fanning [Tue, 2 Jul 2024 00:32:59 +0000 (00:32 +0000)]
another dataformatter test

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

4 months agodisable new dataformatter test that is failing
PJ Fanning [Tue, 2 Jul 2024 00:22:49 +0000 (00:22 +0000)]
disable new dataformatter test that is failing

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

4 months agotry to fix tests
PJ Fanning [Tue, 2 Jul 2024 00:02:47 +0000 (00:02 +0000)]
try to fix tests

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

4 months agoadd dataformatter tests
PJ Fanning [Mon, 1 Jul 2024 23:45:40 +0000 (23:45 +0000)]
add dataformatter tests

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

4 months agotry to stop poi-integration testing with corrupt file
PJ Fanning [Mon, 1 Jul 2024 23:27:27 +0000 (23:27 +0000)]
try to stop poi-integration testing with corrupt file

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

4 months agotry to stop poi-integration testing with corrupt file
PJ Fanning [Mon, 1 Jul 2024 23:19:33 +0000 (23:19 +0000)]
try to stop poi-integration testing with corrupt file

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

4 months agouse standard ASF header
PJ Fanning [Mon, 1 Jul 2024 23:06:36 +0000 (23:06 +0000)]
use standard ASF header

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

4 months agorename file
PJ Fanning [Mon, 1 Jul 2024 22:50:04 +0000 (22:50 +0000)]
rename file

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

4 months agothrow exception if xlsx contains duplicate file names
PJ Fanning [Mon, 1 Jul 2024 22:40:18 +0000 (22:40 +0000)]
throw exception if xlsx contains duplicate file names

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

4 months agolicense header
PJ Fanning [Mon, 1 Jul 2024 21:37:53 +0000 (21:37 +0000)]
license header

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