Commit Graph

13185 Commits

Author SHA1 Message Date
Dominik Stadler b92a912e7d Adjust some more for JDK 23/24
There are more date-formats which need to be
defined manually for the German locale now
to work without the COMPAT locale provider
in JDK 23+

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1922518 13f79535-47bb-0310-9956-ffa450edef68
2024-12-15 15:24:09 +00:00
PJ Fanning 704e9a5439 log4j 2.24.3
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1922507 13f79535-47bb-0310-9956-ffa450edef68
2024-12-15 12:21:30 +00:00
Dominik Stadler be83ccf2ef Adjust for removed locale provider in JDK 23 and newer
JDK 23 removes the COMPAT/JRE locale provider
which causes some changes to string formatting

Default German data format changed and thus we
need to introduce a custom format.

Also the US format uses some non-breaking spaces now
which we need to handle properly in tests.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1922506 13f79535-47bb-0310-9956-ffa450edef68
2024-12-15 11:40:02 +00:00
Dominik Stadler ba6b755107 Adjust for removed locale provider in JDK 23 and newer
JDK 23 removes the COMPAT/JRE locale provider
which causes some changes to string formatting

Some currency formatting relied on COMPAT to
format US-Dollar, we should override this to
keep the formatting the same way as Excel and
LibreOffice.

Also some tests for Chinese tried to work
around when COMPAT was used, this needs to
take JDK 23 into account when checking

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1922500 13f79535-47bb-0310-9956-ffa450edef68
2024-12-14 18:53:03 +00:00
Dominik Stadler 3755101b72 Ant: Update spotbugs to support JDK 21-23
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1922497 13f79535-47bb-0310-9956-ffa450edef68
2024-12-14 15:06:34 +00:00
Dominik Stadler 3ee979c767 Versions for spotbugs-libs need to be of a specific version
Using newer versions does not work

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1922496 13f79535-47bb-0310-9956-ffa450edef68
2024-12-14 15:06:31 +00:00
Dominik Stadler 6754be55a2 Exclude one file from testing because it fails in the IBM JDK CI build
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1922495 13f79535-47bb-0310-9956-ffa450edef68
2024-12-14 15:06:28 +00:00
Dominik Stadler 0e18766e1a Adjust excludes for rat-check in Ant build
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1922489 13f79535-47bb-0310-9956-ffa450edef68
2024-12-14 10:24:34 +00:00
Dominik Stadler 50431fbbaa Jenkins DSL: Add JDK 24, use Gradle for JDK 22 and 23
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1922488 13f79535-47bb-0310-9956-ffa450edef68
2024-12-14 10:24:32 +00:00
Dominik Stadler 1065c69004 Print out current locale.provider for some test-failures
JDK 24 will break things here and thus we should get more
information about which provider is used when running some tests

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1922487 13f79535-47bb-0310-9956-ffa450edef68
2024-12-14 10:24:29 +00:00
Dominik Stadler 20cb040701 Update JaCoCo to 0.8.12
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1922486 13f79535-47bb-0310-9956-ffa450edef68
2024-12-14 10:24:25 +00:00
PJ Fanning fde4545b3b remove staging repo
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1922476 13f79535-47bb-0310-9956-ffa450edef68
2024-12-13 22:47:02 +00:00
PJ Fanning c57f7a3b0e [github-735] POIFS: optimise occupied size calc. Thanks to Emmanuel Bourg. This closes #735
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1922232 13f79535-47bb-0310-9956-ffa450edef68
2024-11-30 10:47:53 +00:00
Dominik Stadler 1700967d17 Expect an XML parser error in one test when running with IBM JDK
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1922231 13f79535-47bb-0310-9956-ffa450edef68
2024-11-30 09:36:20 +00:00
Dominik Stadler 4f5d7781c1 Jenkins DSL: Remove POI builds for non-LTS JDKs 18, 19 and 20
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1922230 13f79535-47bb-0310-9956-ffa450edef68
2024-11-30 09:29:46 +00:00
Dominik Stadler 33f944f922 Groovy script example: Use latest POI and fix to run again
Fix path to test-file
Fix changed constants
Add settings.gradle
Adjust Rat exclusions

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1922229 13f79535-47bb-0310-9956-ffa450edef68
2024-11-30 09:29:43 +00:00
Dominik Stadler 3e0306d253 Jenkins DSL: adoptopenjdk is not available any more
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1922228 13f79535-47bb-0310-9956-ffa450edef68
2024-11-30 09:29:39 +00:00
PJ Fanning b8f975fb8f gradle 8.11.1
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1922180 13f79535-47bb-0310-9956-ffa450edef68
2024-11-27 20:55:13 +00:00
PJ Fanning d4c6cb4b53 add back 731 changes but increase gradle heap
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1922162 13f79535-47bb-0310-9956-ffa450edef68
2024-11-27 13:32:39 +00:00
PJ Fanning 6fdbaa55f3 test with xmlbeans 5.3.0 rc1
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1922135 13f79535-47bb-0310-9956-ffa450edef68
2024-11-26 20:53:04 +00:00
PJ Fanning 6d56d81f35 revert 731 because of suspicious mem issues in ci-builds
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1922112 13f79535-47bb-0310-9956-ffa450edef68
2024-11-26 11:24:39 +00:00
PJ Fanning 5874f55dcc add mirr test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1922096 13f79535-47bb-0310-9956-ffa450edef68
2024-11-25 21:09:54 +00:00
PJ Fanning edb9aeaca5 [github-733] Fix rate order in Mirr function. Thanks to Aleksandrs Jansons. This closes #733
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1922095 13f79535-47bb-0310-9956-ffa450edef68
2024-11-25 20:48:45 +00:00
PJ Fanning 0d63f9a814 [github-731] Fix the mini-stream size in the root property. This closes #731
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1922094 13f79535-47bb-0310-9956-ffa450edef68
2024-11-25 19:33:17 +00:00
PJ Fanning 799aef54fe PoiLogManager
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1922063 13f79535-47bb-0310-9956-ffa450edef68
2024-11-24 21:02:58 +00:00
PJ Fanning b788812546 PoiLogManager
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1922062 13f79535-47bb-0310-9956-ffa450edef68
2024-11-24 20:47:36 +00:00
PJ Fanning f2b0e2f19a PoiLogManager
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1922061 13f79535-47bb-0310-9956-ffa450edef68
2024-11-24 20:39:13 +00:00
PJ Fanning f5cb9588a0 PoiLogManager
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1922060 13f79535-47bb-0310-9956-ffa450edef68
2024-11-24 20:17:07 +00:00
PJ Fanning ba79c4c3c1 forbidden-apis
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1922057 13f79535-47bb-0310-9956-ffa450edef68
2024-11-24 20:02:18 +00:00
PJ Fanning a2af56511f PoiLogManager
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1922056 13f79535-47bb-0310-9956-ffa450edef68
2024-11-24 19:52:24 +00:00
PJ Fanning 924d8e7894 PoiLogManager
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1922055 13f79535-47bb-0310-9956-ffa450edef68
2024-11-24 19:48:55 +00:00
PJ Fanning e400a0cc0d log4j 2.24.2
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1922035 13f79535-47bb-0310-9956-ffa450edef68
2024-11-23 08:42:12 +00:00
Dominik Stadler c17d78a182 Add test to verify bug 69266
We could not reproduce the reported issue,
this test verifies this the functionality
some more now.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1921982 13f79535-47bb-0310-9956-ffa450edef68
2024-11-20 20:29:49 +00:00
Dominik Stadler 7c881a408f More tests for reproducible outputs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1921981 13f79535-47bb-0310-9956-ffa450edef68
2024-11-20 20:29:45 +00:00
Dominik Stadler c1f018f79c Apply some IDE suggestions, JavaDoc and GitHub PR
Update assertion-message
Adjust JavaDoc
Add tests
Reformat class DirectoryNode, adjust/move some comments

Closes #730

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1921980 13f79535-47bb-0310-9956-ffa450edef68
2024-11-20 20:29:38 +00:00
PJ Fanning 83384ccf90 commons-io 2.18.0
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1921968 13f79535-47bb-0310-9956-ffa450edef68
2024-11-20 09:09:19 +00:00
PJ Fanning 8c77000e8d [bug-66590] Number of blocks used by the property table missing from the file header. Thanks to Emmanuel Bourg. This closes #728
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1921956 13f79535-47bb-0310-9956-ffa450edef68
2024-11-19 17:39:09 +00:00
PJ Fanning 0f42425f8c [gitub-727] Remove DSTAMP token substitution. Thanks to Emmanuel Bourg. This closes #727
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1921954 13f79535-47bb-0310-9956-ffa450edef68
2024-11-19 09:36:00 +00:00
PJ Fanning 0aa9e2bbb7 [bug-66590] Number of blocks used by the property table missing from the file header. Thanks to Emmanuel Bourg. This closes #462
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1921937 13f79535-47bb-0310-9956-ffa450edef68
2024-11-18 17:33:04 +00:00
PJ Fanning 1df9b9c5cb [bug-66590] Number of blocks used by the property table missing from the file header. Thanks to Emmanuel Bourg. This closes #462
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1921936 13f79535-47bb-0310-9956-ffa450edef68
2024-11-18 17:28:36 +00:00
PJ Fanning 8fe23195c6 snapshot version
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1921935 13f79535-47bb-0310-9956-ffa450edef68
2024-11-18 17:20:07 +00:00
PJ Fanning 7bc2dced2f revert log4j and xmlbeans upgrades due to log4j issues
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1921859 13f79535-47bb-0310-9956-ffa450edef68
2024-11-12 09:52:42 +00:00
PJ Fanning 1d620e8714 prep v5.4.0
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1921817 13f79535-47bb-0310-9956-ffa450edef68
2024-11-08 08:52:52 +00:00
PJ Fanning e132050d2e add since tags
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1921801 13f79535-47bb-0310-9956-ffa450edef68
2024-11-06 20:56:45 +00:00
Tim Allison 157512d437 [bug-69434] -- add more properties to AttachmentChunks
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1921800 13f79535-47bb-0310-9956-ffa450edef68
2024-11-06 20:45:12 +00:00
PJ Fanning b9eabbb477 upgrade spotbugs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1921789 13f79535-47bb-0310-9956-ffa450edef68
2024-11-05 19:46:19 +00:00
PJ Fanning 02d2e6e82e xmlsec 3.0.5
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1921787 13f79535-47bb-0310-9956-ffa450edef68
2024-11-05 19:17:51 +00:00
PJ Fanning 613bf24ee7 xmlsec 3.0.5
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1921786 13f79535-47bb-0310-9956-ffa450edef68
2024-11-05 19:14:51 +00:00
PJ Fanning 5ba45570d6 xmlbeans 5.2.2
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1921776 13f79535-47bb-0310-9956-ffa450edef68
2024-11-05 10:38:30 +00:00
PJ Fanning df4bf119a5 update bytebuddy
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1921767 13f79535-47bb-0310-9956-ffa450edef68
2024-11-04 14:39:37 +00:00