Commit Graph

12923 Commits

Author SHA1 Message Date
Axel Howind 9d14f3f9ee enable gradle caching again
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1916038 13f79535-47bb-0310-9956-ffa450edef68
2024-02-28 09:42:29 +00:00
Axel Howind 9e425e1c5b use diamond operator
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1916036 13f79535-47bb-0310-9956-ffa450edef68
2024-02-28 09:35:51 +00:00
Axel Howind 263171f80e use method reference
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1916035 13f79535-47bb-0310-9956-ffa450edef68
2024-02-28 09:35:49 +00:00
Axel Howind 6b40b7f966 use Map.computeIfAbsent()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1916034 13f79535-47bb-0310-9956-ffa450edef68
2024-02-28 09:35:46 +00:00
PJ Fanning 2496ce5229 rework tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1916017 13f79535-47bb-0310-9956-ffa450edef68
2024-02-26 23:05:36 +00:00
PJ Fanning 025c904695 woodstox 6.6.1
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1916016 13f79535-47bb-0310-9956-ffa450edef68
2024-02-26 22:44:31 +00:00
Axel Howind 05af0e0bf3 Math.toIntExact is unnecessary because value is guaranteed to be between 0 and 15
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1915959 13f79535-47bb-0310-9956-ffa450edef68
2024-02-22 20:56:03 +00:00
Axel Howind 17c6a1ec50 replace List<Byte> with ByteArrayOutputStream to avoid boxing/unboxing and repeated copying of data
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1915958 13f79535-47bb-0310-9956-ffa450edef68
2024-02-22 20:48:04 +00:00
PJ Fanning e5e22bb1f2 xmlsec 3.0.4
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1915955 13f79535-47bb-0310-9956-ffa450edef68
2024-02-22 17:27:45 +00:00
Axel Howind e65e666ece do not write single bytes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1915953 13f79535-47bb-0310-9956-ffa450edef68
2024-02-22 15:44:31 +00:00
Axel Howind 39a1ced25e fix Logging issues:
- don't use foreign class in Logger initialization
- update log statements to use MessageFormat syntax

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1915930 13f79535-47bb-0310-9956-ffa450edef68
2024-02-21 21:28:04 +00:00
Axel Howind cb10857970 make loggers static final
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1915929 13f79535-47bb-0310-9956-ffa450edef68
2024-02-21 21:04:58 +00:00
PJ Fanning 28fc73b046 log4j 2.23.0
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1915917 13f79535-47bb-0310-9956-ffa450edef68
2024-02-21 10:52:18 +00:00
Axel Howind 386ddb8e6b move setting of locale for tests to top level build.gradle
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1915910 13f79535-47bb-0310-9956-ffa450edef68
2024-02-20 22:48:53 +00:00
Dominik Stadler 1bb5f644f1 Fix Ant-build after upgrade of commons-compress
Commons-lang3 is now required as dependency of commons-compress

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1915909 13f79535-47bb-0310-9956-ffa450edef68
2024-02-20 21:09:48 +00:00
Dominik Stadler b7bf336453 Jenkins DSL: Use sonar-task and sonar.token instead of sonar.login
This removes some build-warnings

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1915908 13f79535-47bb-0310-9956-ffa450edef68
2024-02-20 21:09:44 +00:00
Dominik Stadler b4a2bc084e Switch builds for JDK 22 and 23 to Ant for now
Gradle does not yet support newer JDKs

See https://docs.gradle.org/current/userguide/compatibility.html
and https://github.com/gradle/gradle/issues/26162

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1915907 13f79535-47bb-0310-9956-ffa450edef68
2024-02-20 21:06:41 +00:00
PJ Fanning 3817f138f8 try to fix issue with invalid files after commons-compress upgrade
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1915895 13f79535-47bb-0310-9956-ffa450edef68
2024-02-20 16:31:04 +00:00
PJ Fanning fded4957db commons-compress 1.26.0
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1915892 13f79535-47bb-0310-9956-ffa450edef68
2024-02-20 12:01:15 +00:00
PJ Fanning d59d6b7d7d [github-596] Change cast logic in HSSFChart. Thanks to Ruby Hartono. This closes #596
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1915881 13f79535-47bb-0310-9956-ffa450edef68
2024-02-19 20:11:45 +00:00
PJ Fanning 23ed93817f remove unused loggers. Thanks to Ruby Hartono. This closes #594 and closes #595
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1915870 13f79535-47bb-0310-9956-ffa450edef68
2024-02-19 10:10:57 +00:00
Axel Howind 63899a8810 fix #68635: POI unit tests fail when run under non-US locale
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1915827 13f79535-47bb-0310-9956-ffa450edef68
2024-02-17 15:47:46 +00:00
PJ Fanning c871bb7b9f remove unused loggers - thanks to Ruby Hartono. This closes #588 and closes #589
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1915819 13f79535-47bb-0310-9956-ffa450edef68
2024-02-16 15:25:24 +00:00
PJ Fanning dc025d9365 [github-590] simplify some logging. This closes #590
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1915818 13f79535-47bb-0310-9956-ffa450edef68
2024-02-16 15:12:54 +00:00
PJ Fanning 99ec2c6c0f byte buddy 1.14.12
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1915817 13f79535-47bb-0310-9956-ffa450edef68
2024-02-16 15:05:18 +00:00
PJ Fanning 6a8994ee0e try to fix poi-scratchpad test module-info
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1915701 13f79535-47bb-0310-9956-ffa450edef68
2024-02-10 01:27:06 +00:00
PJ Fanning 3b7a01b804 Upgrade commons-codec dependency to 1.16.1
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1915695 13f79535-47bb-0310-9956-ffa450edef68
2024-02-09 16:38:15 +00:00
PJ Fanning b5c1a6644c junit 5.10.2
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1915600 13f79535-47bb-0310-9956-ffa450edef68
2024-02-06 20:18:31 +00:00
PJ Fanning 9994816676 slf4j 2.0.12
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1915599 13f79535-47bb-0310-9956-ffa450edef68
2024-02-06 20:17:13 +00:00
PJ Fanning 2469b89ee6 [github-582] improve performance CodepointsUtil.iteratorFor. Thanks to Jason Mirra. This closes #582
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1915572 13f79535-47bb-0310-9956-ffa450edef68
2024-02-03 21:06:38 +00:00
PJ Fanning e455798019 remove one use of CodepointsUtil.iteratorFor
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1915571 13f79535-47bb-0310-9956-ffa450edef68
2024-02-03 20:20:40 +00:00
Dominik Stadler e0d446c533 Switch builds for JDK 22 and 23 to Ant for now
Gradle does not yet support newer JDKs

See https://docs.gradle.org/current/userguide/compatibility.html
and https://github.com/gradle/gradle/issues/26162

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1915505 13f79535-47bb-0310-9956-ffa450edef68
2024-02-01 06:38:54 +00:00
Dominik Stadler 3b5a9b07c4 SonarQube demands at least JDK 17 now
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1915504 13f79535-47bb-0310-9956-ffa450edef68
2024-02-01 06:38:51 +00:00
Dominik Stadler 1bfcae1ac3 Jenknins DSL: Remove builds for JDK 15 and 16
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1915503 13f79535-47bb-0310-9956-ffa450edef68
2024-02-01 06:38:49 +00:00
Dominik Stadler 1fd07c94af SonarQube demands at least JDK 17 now
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1915483 13f79535-47bb-0310-9956-ffa450edef68
2024-01-30 21:28:48 +00:00
Dominik Stadler 209e8fc659 Fix handling missing font libraries to again not throw on some types of exception
The previous change broke this handling by always re-throwing "Fatal" exceptions.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1915482 13f79535-47bb-0310-9956-ffa450edef68
2024-01-30 21:01:53 +00:00
Dominik Stadler e696053e23 Use latest version of rat and rat-plugin
In Gradle builds, this will still use rat 0.15.0, though
as the plugin hardcodes the version of rat that is used.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1915481 13f79535-47bb-0310-9956-ffa450edef68
2024-01-30 21:01:49 +00:00
Dominik Stadler 147c96da67 Bug 66425: Avoid exceptions found via poi-fuzz
Prevent a few NullPointerException

Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=65450 and
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=63907 and
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=63727

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1915480 13f79535-47bb-0310-9956-ffa450edef68
2024-01-30 21:01:46 +00:00
Dominik Stadler fef87cfa0a Fix no-scratchpad CI job
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1915479 13f79535-47bb-0310-9956-ffa450edef68
2024-01-30 21:01:39 +00:00
Dominik Stadler 98c52bcbbb Ignore missing directory 'build/dist/maven' when deleting obsolete jars
Otherwise build may fail on a fresh checkout or after 'clean'

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1915410 13f79535-47bb-0310-9956-ffa450edef68
2024-01-26 12:52:16 +00:00
PJ Fanning 274a7e24f3 [github-578] allow any non-fatal exception when setting up fonts to indicate that the fonts are probably not installed. This closes #578
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1915397 13f79535-47bb-0310-9956-ffa450edef68
2024-01-25 10:03:29 +00:00
PJ Fanning 7b7f10e657 cyclonedx 1.8.2
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1915395 13f79535-47bb-0310-9956-ffa450edef68
2024-01-25 09:32:57 +00:00
Dominik Stadler b010f9c99c Try to remove outdated files from the "distribution" folder
Clean directory and keep only the expected files with the current
version.

Otherwise we get strange errors about "duplicate modules" when
building after version was switched.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1915368 13f79535-47bb-0310-9956-ffa450edef68
2024-01-23 09:28:17 +00:00
PJ Fanning c868af2e57 revert woodstox upgrade
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1915309 13f79535-47bb-0310-9956-ffa450edef68
2024-01-18 09:23:42 +00:00
PJ Fanning 1fa568916f woodstox upgrade
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1915295 13f79535-47bb-0310-9956-ffa450edef68
2024-01-17 18:04:50 +00:00
PJ Fanning f93306721f remove ant release logic (not used for our releases and dependent on libs that don't seem to be maintained)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1915265 13f79535-47bb-0310-9956-ffa450edef68
2024-01-16 10:17:54 +00:00
PJ Fanning 724fc526bf remove ant release logic (not used for our releases and dependent on libs that don't seem to be maintained)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1915264 13f79535-47bb-0310-9956-ffa450edef68
2024-01-16 10:15:36 +00:00
PJ Fanning c3fd1d5731 slf4j 2.0.11
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1915160 13f79535-47bb-0310-9956-ffa450edef68
2024-01-09 15:28:26 +00:00
PJ Fanning cf5cd6fb6b 2024
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1915022 13f79535-47bb-0310-9956-ffa450edef68
2023-12-31 12:42:38 +00:00
Dominik Stadler a27029d1af Bug 66425: Avoid exceptions found via poi-fuzz
Prevent NullPointerException

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

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1915006 13f79535-47bb-0310-9956-ffa450edef68
2023-12-30 19:39:42 +00:00