]> source.dussan.org Git - poi.git/log
poi.git
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

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

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

4 months agoreformat ZipFileZipEntrySource.java
PJ Fanning [Mon, 1 Jul 2024 21:30:07 +0000 (21:30 +0000)]
reformat ZipFileZipEntrySource.java

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

4 months agojunit 5.10.3
PJ Fanning [Thu, 27 Jun 2024 15:12:15 +0000 (15:12 +0000)]
junit 5.10.3

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

4 months agoupdate changes
PJ Fanning [Thu, 27 Jun 2024 15:10:52 +0000 (15:10 +0000)]
update changes

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

4 months agostray ref to SNAPSHOT
PJ Fanning [Tue, 25 Jun 2024 10:42:38 +0000 (10:42 +0000)]
stray ref to SNAPSHOT

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

4 months agoset version to 5.3.0
PJ Fanning [Mon, 24 Jun 2024 23:48:32 +0000 (23:48 +0000)]
set version to 5.3.0

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

4 months agowoodstox 7.0.0
PJ Fanning [Mon, 24 Jun 2024 14:30:36 +0000 (14:30 +0000)]
woodstox 7.0.0

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

5 months agoAdjust src-build-test for changed name of source-distribution archive
Dominik Stadler [Sun, 23 Jun 2024 07:38:33 +0000 (07:38 +0000)]
Adjust src-build-test for changed name of source-distribution archive

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

5 months agoAdd one more case where timestamp could end up
Dominik Stadler [Sun, 23 Jun 2024 07:38:30 +0000 (07:38 +0000)]
Add one more case where timestamp could end up

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

5 months ago[bug-69147] fix issues with text function when input is a datetime in string format
PJ Fanning [Fri, 21 Jun 2024 20:25:46 +0000 (20:25 +0000)]
[bug-69147] fix issues with text function when input is a datetime in string format

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

5 months agoadd test related to bug-69147
PJ Fanning [Fri, 21 Jun 2024 20:03:50 +0000 (20:03 +0000)]
add test related to bug-69147

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

5 months agoissue with Java 22 returning string values insteadof booleans
PJ Fanning [Mon, 17 Jun 2024 21:37:36 +0000 (21:37 +0000)]
issue with Java 22 returning string values insteadof booleans

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

5 months agoissue with Java 22 returning string values insteadof booleans
PJ Fanning [Mon, 17 Jun 2024 21:02:55 +0000 (21:02 +0000)]
issue with Java 22 returning string values insteadof booleans

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

5 months agogradle 8.8
PJ Fanning [Mon, 17 Jun 2024 20:44:33 +0000 (20:44 +0000)]
gradle 8.8

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

5 months agoZipFile deprecation warnings
PJ Fanning [Wed, 5 Jun 2024 18:51:17 +0000 (18:51 +0000)]
ZipFile deprecation warnings

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

5 months agogetNextZipEntry deprecation warnings
PJ Fanning [Wed, 5 Jun 2024 16:45:46 +0000 (16:45 +0000)]
getNextZipEntry deprecation warnings

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

5 months agoupdate guava
PJ Fanning [Wed, 5 Jun 2024 16:33:17 +0000 (16:33 +0000)]
update guava

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

5 months agoBoundedInputStream deprecation warnings
PJ Fanning [Wed, 5 Jun 2024 16:31:36 +0000 (16:31 +0000)]
BoundedInputStream deprecation warnings

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

5 months agoput apache in name of source dist
PJ Fanning [Wed, 5 Jun 2024 16:10:04 +0000 (16:10 +0000)]
put apache in name of source dist

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

5 months agoChange one exception to warning-log to avoid regressions in mass-tests
Dominik Stadler [Sun, 2 Jun 2024 11:31:31 +0000 (11:31 +0000)]
Change one exception to warning-log to avoid regressions in mass-tests

This avoids "breaking" a few documents which could be opened before.

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

5 months agoAvoid NPE and improve error message when saving a package-part fails
Dominik Stadler [Sun, 2 Jun 2024 09:39:57 +0000 (09:39 +0000)]
Avoid NPE and improve error message when saving a package-part fails

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

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