]> source.dussan.org Git - poi.git/log
poi.git
14 months agoReduce flakiness of one test which compares two documents
Dominik Stadler [Wed, 6 Sep 2023 09:53:29 +0000 (09:53 +0000)]
Reduce flakiness of one test which compares two documents

There are more places where a timestamp is stored in the zip-file,
let's try to replace some more bytes to make comparison succeed
more often.

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

14 months agoBug 66425: Avoid a NullPointerException found via oss-fuzz
Dominik Stadler [Wed, 6 Sep 2023 09:48:21 +0000 (09:48 +0000)]
Bug 66425: Avoid a NullPointerException found via oss-fuzz

We try to avoid throwing NullPointerException, but it was possible
to trigger one here with a specially crafted input-file

Should fix https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=62074

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

14 months agoExclude more broken files when running without poi-scratchpad
Dominik Stadler [Wed, 6 Sep 2023 07:46:58 +0000 (07:46 +0000)]
Exclude more broken files when running without poi-scratchpad

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

14 months agoExclude more broken files when running without poi-scratchpad
Dominik Stadler [Wed, 6 Sep 2023 07:20:39 +0000 (07:20 +0000)]
Exclude more broken files when running without poi-scratchpad

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

14 months agoRevert PDFBox back to 2.0.x as 3.0.0 causes Java module errors
Dominik Stadler [Wed, 6 Sep 2023 07:14:14 +0000 (07:14 +0000)]
Revert PDFBox back to 2.0.x as 3.0.0 causes Java module errors

Seems Batik conflicts with newer PDFBox in some way

Error are like "module batik.xml reads package org.apache.pdfbox.multipdf from both de.rototor.pdfbox.graphics2d and org.apache.pdfbox"

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

14 months agoslf4j 2.0.9
PJ Fanning [Mon, 4 Sep 2023 14:57:03 +0000 (14:57 +0000)]
slf4j 2.0.9

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

15 months agoApply some IDE suggestions, add tests, set unit-test to isolated
Dominik Stadler [Thu, 24 Aug 2023 08:53:01 +0000 (08:53 +0000)]
Apply some IDE suggestions, add tests, set unit-test to isolated

Without Isolation, one test did change static settings
and thus could cause flaky tests

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

15 months agoBug 66425: Avoid a NullPointerException found via oss-fuzz
Dominik Stadler [Thu, 24 Aug 2023 08:48:45 +0000 (08:48 +0000)]
Bug 66425: Avoid a NullPointerException found via oss-fuzz

We try to avoid throwing NullPointerException, but it was possible
to trigger one here with a specially crafted input-file

Should fix https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=61441

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

15 months agoBug 66425: Avoid a NullPointerException found via oss-fuzz
Dominik Stadler [Wed, 23 Aug 2023 10:00:16 +0000 (10:00 +0000)]
Bug 66425: Avoid a NullPointerException found via oss-fuzz

ArrayIndexOutOfBoundsException has different message depending on JDK

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

15 months agoBug 66425: Avoid a NullPointerException found via oss-fuzz
Dominik Stadler [Wed, 23 Aug 2023 09:30:00 +0000 (09:30 +0000)]
Bug 66425: Avoid a NullPointerException found via oss-fuzz

We try to avoid throwing NullPointerException, but it was possible
to trigger one here with a specially crafted input-file

Should fix https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=61520

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

15 months agoBug 66425: Avoid a ClassCastException found via oss-fuzz
Dominik Stadler [Wed, 23 Aug 2023 08:26:27 +0000 (08:26 +0000)]
Bug 66425: Avoid a ClassCastException found via oss-fuzz

We try to avoid throwing ClassCastException, but it was possible
to trigger one here with a specially crafted input-file

Should fix https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=61578

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

15 months agoBug 66425: Avoid a NullPointerException found via oss-fuzz
Dominik Stadler [Tue, 22 Aug 2023 14:22:06 +0000 (14:22 +0000)]
Bug 66425: Avoid a NullPointerException found via oss-fuzz

We try to avoid throwing NullPointerException, but it was possible
to trigger one here with a specially crafted input-file

Should fix https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=61644

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

15 months agobatik 1.17
PJ Fanning [Mon, 21 Aug 2023 15:16:27 +0000 (15:16 +0000)]
batik 1.17

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

15 months agochange test broken by bug-66988 change
PJ Fanning [Fri, 18 Aug 2023 13:08:13 +0000 (13:08 +0000)]
change test broken by bug-66988 change

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

15 months agogradle 8.3
PJ Fanning [Fri, 18 Aug 2023 09:43:49 +0000 (09:43 +0000)]
gradle 8.3

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

15 months ago[bug-66988] Fully replace content of XWPFTableCell on setText. Thanks to Anton Oeller...
PJ Fanning [Fri, 18 Aug 2023 08:48:18 +0000 (08:48 +0000)]
[bug-66988] Fully replace content of XWPFTableCell on setText. Thanks to Anton Oellerer. This closes #503

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

15 months agogradle 8.2.1
PJ Fanning [Thu, 17 Aug 2023 08:48:31 +0000 (08:48 +0000)]
gradle 8.2.1

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

15 months agoBug 66425: Avoid a ClassCastException found via oss-fuzz
Dominik Stadler [Sat, 12 Aug 2023 17:37:14 +0000 (17:37 +0000)]
Bug 66425: Avoid a ClassCastException found via oss-fuzz

We try to avoid throwing ClassCastException, but it was possible
to trigger one here with a specially crafted input-file

Should fix https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=61400

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

15 months agoBug 66425: Avoid a NullPointerException found via oss-fuzz
Dominik Stadler [Sat, 12 Aug 2023 14:53:58 +0000 (14:53 +0000)]
Bug 66425: Avoid a NullPointerException found via oss-fuzz

We try to avoid throwing NullPointerException, but it was possible
to trigger one here with a specially crafted input-file

Should fix https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=61390

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

15 months agoJenkins DSL: Adjust nodes for job Test-Environment
Dominik Stadler [Sat, 12 Aug 2023 14:53:54 +0000 (14:53 +0000)]
Jenkins DSL: Adjust nodes for job Test-Environment

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

15 months agoJenkins DSL: Add JDK 20, 21 and 22, disable JDK 18 and 19, remove JDK 10, 12, 13, 14
Dominik Stadler [Sat, 12 Aug 2023 14:53:51 +0000 (14:53 +0000)]
Jenkins DSL: Add JDK 20, 21 and 22, disable JDK 18 and 19, remove JDK 10, 12, 13, 14

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

15 months agocurvesapi 1.08
PJ Fanning [Fri, 11 Aug 2023 14:52:47 +0000 (14:52 +0000)]
curvesapi 1.08

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

15 months agoBug 66425: Avoid a NullPointerException found via oss-fuzz
Dominik Stadler [Fri, 11 Aug 2023 14:46:04 +0000 (14:46 +0000)]
Bug 66425: Avoid a NullPointerException found via oss-fuzz

We try to avoid throwing NullPointerException, but it was possible
to trigger one here with a specially crafted input-file

Should fix https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=61372

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

15 months ago[bug-66855] Formula parser incorrectly handles sheet name containing multiple single...
PJ Fanning [Thu, 10 Aug 2023 09:38:39 +0000 (09:38 +0000)]
[bug-66855] Formula parser incorrectly handles sheet name containing multiple single quotes in a row. Thanks to Kirill lebedev. This closes #496

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

15 months agoadd check for number of files inside zip
PJ Fanning [Thu, 10 Aug 2023 09:27:26 +0000 (09:27 +0000)]
add check for number of files inside zip

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

15 months agoBug 66425: Avoid a ClassCastException found via oss-fuzz
Dominik Stadler [Thu, 10 Aug 2023 06:14:44 +0000 (06:14 +0000)]
Bug 66425: Avoid a ClassCastException found via oss-fuzz

We try to avoid throwing ClassCastException, but it was possible
to trigger one here with a specially crafted input-file

Should fix https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=61330

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

15 months agoBug 66425: Avoid a NullPointerException found via oss-fuzz
Dominik Stadler [Thu, 10 Aug 2023 04:54:25 +0000 (04:54 +0000)]
Bug 66425: Avoid a NullPointerException found via oss-fuzz

Handle some data that can be missing properly.

Should fix https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=61332

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

15 months agoJenkins DSL: Add JDK 20 and 21 to Test-Environment job
Dominik Stadler [Thu, 10 Aug 2023 04:37:47 +0000 (04:37 +0000)]
Jenkins DSL: Add JDK 20 and 21 to Test-Environment job

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

15 months agoBug 66425: Avoid a StackOverflowException found via oss-fuzz
Dominik Stadler [Wed, 9 Aug 2023 16:16:49 +0000 (16:16 +0000)]
Bug 66425: Avoid a StackOverflowException found via oss-fuzz

We try to avoid causing StackOverflow, but it was possible
to trigger one here with a specially crafted input-file.

This puts a limit on the number of nested children in place
and logs a warning when the Stream is not fully parsed.

Should fix https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=61256

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

15 months agoBug 66425: Avoid a ClassCastException found via oss-fuzz
Dominik Stadler [Wed, 9 Aug 2023 10:09:16 +0000 (10:09 +0000)]
Bug 66425: Avoid a ClassCastException found via oss-fuzz

We try to avoid throwing ClassCastException, but it was possible
to trigger one here with a specially crafted input-file

Should fix https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=61306

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

15 months agoTry to adjust for strange null-message for ArrayIndexOutOfBoundsException
Dominik Stadler [Wed, 9 Aug 2023 09:53:54 +0000 (09:53 +0000)]
Try to adjust for strange null-message for ArrayIndexOutOfBoundsException

Some CI runs seem to throw the exception with an empty message instead of
the expected text.

I could not reproduce this consistently and so we only can disable a
check in this case.

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

15 months agoBug 66425: Avoid a ClassCastException found via oss-fuzz
Dominik Stadler [Wed, 9 Aug 2023 07:23:04 +0000 (07:23 +0000)]
Bug 66425: Avoid a ClassCastException found via oss-fuzz

We try to avoid throwing ClassCastException, but it was possible
to trigger one here with a specially crafted input-file

Should fix https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=61317

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

15 months agoCombine steps for tasks "jenkins" and "jenkinsLite" in one place
Dominik Stadler [Wed, 9 Aug 2023 07:22:30 +0000 (07:22 +0000)]
Combine steps for tasks "jenkins" and "jenkinsLite" in one place

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

15 months agoBug 66425: Avoid a StackOverflowException found via oss-fuzz
Dominik Stadler [Wed, 9 Aug 2023 05:45:21 +0000 (05:45 +0000)]
Bug 66425: Avoid a StackOverflowException found via oss-fuzz

We try to avoid causing StackOverflow, but it was possible
to trigger one here with a specially crafted input-file.

This puts a limit on the number of nested properties in place
and logs a warning when the StyleSheet is not fully parsed.

Should fix https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=61252

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

15 months agoDo not disable all files for poi-integration in build.gradle
Dominik Stadler [Wed, 9 Aug 2023 05:44:01 +0000 (05:44 +0000)]
Do not disable all files for poi-integration in build.gradle

It seems doing it this way can kick in even when using JDK 11+ due
to the Gradle toolchain.

Let's rather do a more specific exclusion in code to only exclude files
which actually cause JDK 8 to hang.

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

15 months agoBug 66425: Avoid a ClassCastException found via oss-fuzz
Dominik Stadler [Tue, 8 Aug 2023 08:48:13 +0000 (08:48 +0000)]
Bug 66425: Avoid a ClassCastException found via oss-fuzz

We try to avoid throwing ClassCastException, but it was possible
to trigger one here with a specially crafted input-file

Should fix https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=61276

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

15 months agoBug 66425: Add memory-safeguard in one more place
Dominik Stadler [Mon, 7 Aug 2023 20:35:59 +0000 (20:35 +0000)]
Bug 66425: Add memory-safeguard in one more place

We try to generally avoid overly large allocations in places
where arrays are allocated.

We add one more such check for pictures in HSLF.

We might need to increase the used value of 10MB if users report
larger files being used frequently.

Overriding this check via IOUtils is possible.

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

15 months agoBug 66425: Avoid a ClassCastException found via oss-fuzz
Dominik Stadler [Mon, 7 Aug 2023 20:01:19 +0000 (20:01 +0000)]
Bug 66425: Avoid a ClassCastException found via oss-fuzz

We try to avoid throwing NullPointerException, but it was possible
to trigger one here with a specially crafted input-file

Should fix https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=61266

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

15 months agoBug 66425: Avoid a ClassCastException found via oss-fuzz
Dominik Stadler [Mon, 7 Aug 2023 19:59:04 +0000 (19:59 +0000)]
Bug 66425: Avoid a ClassCastException found via oss-fuzz

Fix previous changes

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

15 months agouse of junit internal StringUtils is causing build issues
PJ Fanning [Mon, 7 Aug 2023 19:11:54 +0000 (19:11 +0000)]
use of junit internal StringUtils is causing build issues

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

15 months agouse of junit internal StringUtils is causing build issues
PJ Fanning [Mon, 7 Aug 2023 18:33:24 +0000 (18:33 +0000)]
use of junit internal StringUtils is causing build issues

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

15 months agoBug 66425: Avoid a ClassCastException found via oss-fuzz
Dominik Stadler [Mon, 7 Aug 2023 16:18:46 +0000 (16:18 +0000)]
Bug 66425: Avoid a ClassCastException found via oss-fuzz

We try to avoid throwing ClassCastException, but it was possible
to trigger one here with a specially crafted input-file

Should fix https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=61259

Also fix handling of NullPointerException

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

15 months agoReduce log4j2 level for integration tests to ERROR
Dominik Stadler [Mon, 7 Aug 2023 15:17:10 +0000 (15:17 +0000)]
Reduce log4j2 level for integration tests to ERROR

Otherwise there is lots of output that is likely rarely useful.

This can be changed locally for testing easily whenever necessary.

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

15 months agoBug 66425: Avoid a ClassCastException found via oss-fuzz
Dominik Stadler [Mon, 7 Aug 2023 15:15:38 +0000 (15:15 +0000)]
Bug 66425: Avoid a ClassCastException found via oss-fuzz

We try to avoid throwing ClassCastException, but it was possible
to trigger one here with a specially crafted input-file

Should fix https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=61242

Also enhance output of some test-failures and allow an empty exception message

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

15 months agoBug 66425: Avoid an AssertionError found via oss-fuzz
Dominik Stadler [Mon, 7 Aug 2023 14:32:11 +0000 (14:32 +0000)]
Bug 66425: Avoid an AssertionError found via oss-fuzz

We try to avoid throwing AssertionError to be triggered by input data, but it was possible
to trigger one here with a specially crafted input-file

Should fix https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=61251

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

15 months agoBug 66425: Avoid a ClassCastException found via oss-fuzz
Dominik Stadler [Mon, 7 Aug 2023 12:09:31 +0000 (12:09 +0000)]
Bug 66425: Avoid a ClassCastException found via oss-fuzz

We try to avoid throwing ClassCastException, but it was possible
to trigger one here with a specially crafted input-file

Should fix https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=61243

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

15 months agoOpen configuration file for integration-tests read-only to not fail if the file is...
Dominik Stadler [Mon, 7 Aug 2023 11:11:45 +0000 (11:11 +0000)]
Open configuration file for integration-tests read-only to not fail if the file is opened by an Application locally

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

15 months agoBug 66425: Avoid a ClassCastException found via oss-fuzz
Dominik Stadler [Mon, 7 Aug 2023 11:11:08 +0000 (11:11 +0000)]
Bug 66425: Avoid a ClassCastException found via oss-fuzz

Add exception details and fix expected exceptions to make tests run again

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

15 months agoBug 66425: Avoid a ClassCastException found via oss-fuzz
Dominik Stadler [Mon, 7 Aug 2023 09:42:17 +0000 (09:42 +0000)]
Bug 66425: Avoid a ClassCastException found via oss-fuzz

We try to avoid throwing ClassCastException, but it was possible
to trigger one here with a specially crafted input-file

Should fix https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=61249

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

15 months agoFix expected exception text and print out which FileHandler failed in integration...
Dominik Stadler [Sun, 6 Aug 2023 17:13:46 +0000 (17:13 +0000)]
Fix expected exception text and print out which FileHandler failed in integration-tests

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

15 months agoBug 66425: Avoid a ClassCastException found via oss-fuzz
Dominik Stadler [Sun, 6 Aug 2023 14:57:47 +0000 (14:57 +0000)]
Bug 66425: Avoid a ClassCastException found via oss-fuzz

We try to avoid throwing ClassCastException, but it was possible
to trigger one here with a specially crafted input-file

Also rework test a bit to use try-with-resources and proper formatting

Should fix https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=61221

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

15 months agoupgrade junit
PJ Fanning [Sun, 6 Aug 2023 08:39:16 +0000 (08:39 +0000)]
upgrade junit

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

15 months agoavoid creating enumeration twice
PJ Fanning [Sat, 5 Aug 2023 22:20:38 +0000 (22:20 +0000)]
avoid creating enumeration twice

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

15 months agoupgrade com.dorongold.task-tree
PJ Fanning [Sat, 5 Aug 2023 14:42:47 +0000 (14:42 +0000)]
upgrade com.dorongold.task-tree

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

15 months agoadd back gradle wrapper jar due to windows build issues
PJ Fanning [Sat, 5 Aug 2023 14:15:21 +0000 (14:15 +0000)]
add back gradle wrapper jar due to windows build issues

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

15 months agoupdate jobs
PJ Fanning [Sat, 5 Aug 2023 13:43:48 +0000 (13:43 +0000)]
update jobs

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

15 months agoupdate jobs
PJ Fanning [Sat, 5 Aug 2023 13:41:30 +0000 (13:41 +0000)]
update jobs

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

15 months agoremove gradle-wrapper jar because it is against ASF policy to ship jars in source...
PJ Fanning [Sat, 5 Aug 2023 13:34:46 +0000 (13:34 +0000)]
remove gradle-wrapper jar because it is against ASF policy to ship jars in source releases

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

15 months agoremove gradle-wrapper jar because it is against ASF policy to ship jars in source...
PJ Fanning [Sat, 5 Aug 2023 13:16:21 +0000 (13:16 +0000)]
remove gradle-wrapper jar because it is against ASF policy to ship jars in source releases

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

15 months agoremove gradle-wrapper jar because it is against ASF policy to ship jars in source...
PJ Fanning [Sat, 5 Aug 2023 13:14:56 +0000 (13:14 +0000)]
remove gradle-wrapper jar because it is against ASF policy to ship jars in source releases

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

15 months agoBug 66425: Avoid a ClassCastException found via oss-fuzz
Dominik Stadler [Sat, 5 Aug 2023 12:13:13 +0000 (12:13 +0000)]
Bug 66425: Avoid a ClassCastException found via oss-fuzz

We try to avoid throwing ClassCastException but it was possible
to trigger one here with a specially crafted input-file

Should fix https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=61162

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

15 months agoUse interfaces for variables and reformat source-code
Dominik Stadler [Fri, 4 Aug 2023 12:47:09 +0000 (12:47 +0000)]
Use interfaces for variables and reformat source-code

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

15 months agoUse correct version for JUnit in Ant build
Dominik Stadler [Fri, 4 Aug 2023 12:41:34 +0000 (12:41 +0000)]
Use correct version for JUnit in Ant build

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

15 months agogradle-8.2.1
PJ Fanning [Thu, 3 Aug 2023 21:12:30 +0000 (21:12 +0000)]
gradle-8.2.1

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

15 months ago[bug-66827] treat VML drawing entry for a comment that has incorrect type of TEXT...
PJ Fanning [Wed, 2 Aug 2023 08:58:34 +0000 (08:58 +0000)]
[bug-66827] treat VML drawing entry for a comment that has incorrect type of TEXT as invalid

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

15 months ago[bug-66827] add test case (that passes) - so issue is nor reproduced
PJ Fanning [Tue, 1 Aug 2023 20:49:26 +0000 (20:49 +0000)]
[bug-66827] add test case (that passes) - so issue is nor reproduced

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

15 months agogradle hates ant 1.10.13
PJ Fanning [Tue, 1 Aug 2023 20:19:38 +0000 (20:19 +0000)]
gradle hates ant 1.10.13

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

15 months agoExclude some files in one test to avoid flakiness during parallel builds
Dominik Stadler [Tue, 1 Aug 2023 08:24:59 +0000 (08:24 +0000)]
Exclude some files in one test to avoid flakiness during parallel builds

This test failed once locally due to a temporary file
being deleted again when the test tried to access it

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

15 months agoUpdate Apache Ant to 1.10.13 and use newer Gradle syntax
Dominik Stadler [Tue, 1 Aug 2023 08:24:54 +0000 (08:24 +0000)]
Update Apache Ant to 1.10.13 and use newer Gradle syntax

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

15 months agojunit 5.10.0
PJ Fanning [Mon, 31 Jul 2023 15:02:03 +0000 (15:02 +0000)]
junit 5.10.0

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

15 months agobouncycastle 1.76
PJ Fanning [Mon, 31 Jul 2023 14:55:12 +0000 (14:55 +0000)]
bouncycastle 1.76

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

16 months ago[github-488] Round up seconds in CellElapsedFormatter. Thanks to Anthony Schott....
PJ Fanning [Mon, 24 Jul 2023 19:59:45 +0000 (19:59 +0000)]
[github-488] Round up seconds in CellElapsedFormatter. Thanks to Anthony Schott. This closes #488

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

16 months agoundo last change due to broken test
PJ Fanning [Mon, 24 Jul 2023 12:00:17 +0000 (12:00 +0000)]
undo last change due to broken test

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

16 months ago[github-487] Round up seconds in CellElapsedFormatter. Thanks to Anthony Schott....
PJ Fanning [Mon, 24 Jul 2023 10:12:46 +0000 (10:12 +0000)]
[github-487] Round up seconds in CellElapsedFormatter. Thanks to Anthony Schott. This closes #487

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

16 months ago[bug-66682] fix xslb reading support for formula cells of boolean type. This closes...
PJ Fanning [Wed, 12 Jul 2023 22:26:41 +0000 (22:26 +0000)]
[bug-66682] fix xslb reading support for formula cells of boolean type. This closes #485

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

16 months ago[bug-66675] fix issue with writing xlsx (core properties being added twice)
PJ Fanning [Wed, 12 Jul 2023 12:25:01 +0000 (12:25 +0000)]
[bug-66675] fix issue with writing xlsx (core properties being added twice)

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

16 months agogradle 8.2
PJ Fanning [Thu, 6 Jul 2023 16:48:24 +0000 (16:48 +0000)]
gradle 8.2

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

16 months agoremove release date from version.java
PJ Fanning [Mon, 3 Jul 2023 21:01:19 +0000 (21:01 +0000)]
remove release date from version.java

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

16 months ago[bug-62181] try to handle file where shared string loading is happening twice
PJ Fanning [Mon, 3 Jul 2023 20:54:56 +0000 (20:54 +0000)]
[bug-62181] try to handle file where shared string loading is happening twice

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

16 months agoupdate guava
PJ Fanning [Mon, 3 Jul 2023 14:33:28 +0000 (14:33 +0000)]
update guava

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

16 months agopdfbox 2.0.29
PJ Fanning [Mon, 3 Jul 2023 14:32:05 +0000 (14:32 +0000)]
pdfbox 2.0.29

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

16 months agoapply some spelling fixes
PJ Fanning [Wed, 28 Jun 2023 11:55:29 +0000 (11:55 +0000)]
apply some spelling fixes

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

16 months agoapply some spelling fixes
PJ Fanning [Tue, 27 Jun 2023 19:37:48 +0000 (19:37 +0000)]
apply some spelling fixes

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

16 months agoapply some spelling fixes
PJ Fanning [Tue, 27 Jun 2023 19:33:13 +0000 (19:33 +0000)]
apply some spelling fixes

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

16 months agoapply some spelling fixes
PJ Fanning [Tue, 27 Jun 2023 11:48:38 +0000 (11:48 +0000)]
apply some spelling fixes

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

17 months agoadd XSSF test where 2 row instances have same rowNum
PJ Fanning [Fri, 23 Jun 2023 12:59:57 +0000 (12:59 +0000)]
add XSSF test where 2 row instances have same rowNum

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

17 months ago[bug-66661] revert github-269 due to it breaking formulas with table references
PJ Fanning [Thu, 22 Jun 2023 21:37:01 +0000 (21:37 +0000)]
[bug-66661] revert github-269 due to it breaking formulas with table references

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

17 months agoupdate ooxml-lite-report.xsb
PJ Fanning [Thu, 22 Jun 2023 20:46:25 +0000 (20:46 +0000)]
update ooxml-lite-report.xsb

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

17 months agocommons-codec 1.16.0
PJ Fanning [Thu, 22 Jun 2023 16:49:00 +0000 (16:49 +0000)]
commons-codec 1.16.0

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

17 months agobouncycastle 1.75
PJ Fanning [Wed, 21 Jun 2023 17:03:09 +0000 (17:03 +0000)]
bouncycastle 1.75

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

17 months agofix test assertion
PJ Fanning [Sun, 18 Jun 2023 17:10:56 +0000 (17:10 +0000)]
fix test assertion

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

17 months agoxddf test
PJ Fanning [Fri, 16 Jun 2023 19:05:58 +0000 (19:05 +0000)]
xddf test

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

17 months ago[bug-66650] add chartex classes to poi-ooxml-full
PJ Fanning [Thu, 15 Jun 2023 20:05:33 +0000 (20:05 +0000)]
[bug-66650] add chartex classes to poi-ooxml-full

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

17 months agobouncycastle 1.74
PJ Fanning [Thu, 15 Jun 2023 15:35:39 +0000 (15:35 +0000)]
bouncycastle 1.74

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

17 months agoPrint out slightly more in SSPerformanceTest
Dominik Stadler [Thu, 15 Jun 2023 08:35:19 +0000 (08:35 +0000)]
Print out slightly more in SSPerformanceTest

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

17 months ago[GitHub-473] Add getCTSettings() to XWPFSettings. This closes #473
PJ Fanning [Wed, 14 Jun 2023 11:29:27 +0000 (11:29 +0000)]
[GitHub-473] Add getCTSettings() to XWPFSettings. This closes #473

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

17 months agoupdate guava
PJ Fanning [Mon, 12 Jun 2023 10:14:05 +0000 (10:14 +0000)]
update guava

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

17 months ago[bug-66644] enable reproducible build settings in gradle
PJ Fanning [Mon, 12 Jun 2023 10:10:37 +0000 (10:10 +0000)]
[bug-66644] enable reproducible build settings in gradle

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

17 months agoNeed to lower the min expected width after changes for bug 66632
Dominik Stadler [Thu, 8 Jun 2023 15:54:50 +0000 (15:54 +0000)]
Need to lower the min expected width after changes for bug 66632

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

17 months agoBug 66632: Round char-width instead of cutting off
Dominik Stadler [Thu, 8 Jun 2023 08:53:15 +0000 (08:53 +0000)]
Bug 66632: Round char-width instead of cutting off

Otherwise we sometimes use a too low "default char width"
which leads to autosizing of columns with too wide columns.

We should propably return float instead of int here to
not introduce rounding errors at this point at all,
but it would need more API changes, so let's at least
make it work better for now.

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