Dominik Stadler
9e1afbbab1
Fix some more Gradle deprecation-warnings in preparation for Gradle 9
...
Only signing-handling in poi-ooxml is still remaining, but
this deprecation seems to have been moved to Gradle 10 anyway.
Gradle 9 will require JDK 17, though, so we can only upgrade
when the min. supported JDK is bumped once more.
2025-12-19 16:15:21 +01:00
Dominik Stadler
338882ac88
Convert some files to unix newlines
...
Otherwise these can cause issues when checking out
sources on Windows
2025-12-17 22:11:29 +01:00
PJ Fanning
031793ddaf
remove deprecated AddDimensionedImage ( #942 )
2025-11-19 14:10:23 +01:00
Dominik Stadler
d486e50822
Use OpenRewrite to update code to make use of Java 11
2025-11-16 14:18:06 +01:00
PJ Fanning
16ecbc7d48
build issues
2025-11-15 11:34:52 +01:00
PJ Fanning
323b5c8c6b
start move to require java 11 min
2025-11-15 11:26:19 +01:00
Dominik Stadler
a371cba0be
Apply IDE suggestions
2025-11-03 07:31:41 +01:00
Dominik Stadler
42193c57e4
Try to verify handling of deeply nested xlsx
2025-10-06 07:40:53 +02:00
Dominik Stadler
f10f164c61
Add a microBenchmark for replacing strings
...
It shows that Java 11 improves a lot and no custom string-replace
is necessary any more when using this version
2025-10-06 07:40:53 +02:00
PJ Fanning
49fd564023
log4j bom ( #897 )
2025-09-11 10:52:01 +01:00
PJ Fanning
f73913cd84
deprecate old picture type method ( #865 )
...
* deprecate old picture type method
* more changes
2025-07-25 15:28:51 +01:00
PJ Fanning
1eee67fb8b
sxssf workbook dispose no longer needed
2025-07-11 19:50:51 +01:00
PJ Fanning
07fa0b88e0
Update SavePasswordProtectedXlsx.java
2025-07-08 22:42:37 +01:00
PJ Fanning
2f66c63387
git repo
2025-07-07 23:07:39 +01:00
PJ Fanning
b461e98edb
code refactor
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1925650 13f79535-47bb-0310-9956-ffa450edef68
2025-05-17 17:00:58 +00:00
PJ Fanning
b76bbc866e
code refactor
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1925646 13f79535-47bb-0310-9956-ffa450edef68
2025-05-17 15:57:29 +00:00
Dominik Stadler
1dbcea46d5
Some changes to the Gradle build
...
Apply IDE suggestions for Gradle build files
Remove obsolete sorting of gradle-wrapper.properties
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1923284 13f79535-47bb-0310-9956-ffa450edef68
2025-01-20 20:05:58 +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
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
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
c9c8653e6e
[bug-69411] add XSSFReader.getSheetIterator
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1921571 13f79535-47bb-0310-9956-ffa450edef68
2024-10-26 15:22:52 +00:00
Dominik Stadler
91149769e4
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
2024-04-22 13:16:10 +00:00
PJ Fanning
e6a913c3bd
fix use of forbidden api
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1917264 13f79535-47bb-0310-9956-ffa450edef68
2024-04-22 10:43:36 +00:00
Dominik Stadler
601c5e2671
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
2024-04-22 06:43:20 +00:00
Dominik Stadler
51637fcc43
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
2024-04-17 18:15:33 +00:00
Dominik Stadler
9fda604fb8
Bug 66425: Avoid exceptions found via poi-fuzz
...
Capture and report integer overflow as normal
parsing/format exceptions
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=63628
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1914401 13f79535-47bb-0310-9956-ffa450edef68
2023-12-06 19:49:34 +00:00
PJ Fanning
726fa5c85e
temp workaround for chart axis issue
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913671 13f79535-47bb-0310-9956-ffa450edef68
2023-11-08 11:14:47 +00:00
Tim Allison
99117381e5
Bug47950 -- make stream/directory name lookup in OLE2 case insensitive
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912438 13f79535-47bb-0310-9956-ffa450edef68
2023-09-20 20:32:59 +00:00
PJ Fanning
4299690639
use files nio APIs in more places
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912367 13f79535-47bb-0310-9956-ffa450edef68
2023-09-17 15:29:16 +00:00
Dominik Stadler
163ff25594
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
2023-08-07 20:01:19 +00:00
Dominik Stadler
8e2b749cf6
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
2023-08-01 08:24:54 +00:00
PJ Fanning
b90935055d
apply some spelling fixes
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910639 13f79535-47bb-0310-9956-ffa450edef68
2023-06-27 19:33:13 +00:00
PJ Fanning
99634d6af6
apply some spelling fixes
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910627 13f79535-47bb-0310-9956-ffa450edef68
2023-06-27 11:48:38 +00:00
Dominik Stadler
9556080d38
Print out slightly more in SSPerformanceTest
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910422 13f79535-47bb-0310-9956-ffa450edef68
2023-06-15 08:35:19 +00:00
Dominik Stadler
d3e35e740a
Remove deprecation warnings reported with newer commons-io
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910300 13f79535-47bb-0310-9956-ffa450edef68
2023-06-08 08:53:08 +00:00
PJ Fanning
5fb90fdcce
remove temporary hacks
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1908529 13f79535-47bb-0310-9956-ffa450edef68
2023-03-19 20:40:14 +00:00
PJ Fanning
17899fc75b
temporary hack to build to see if the gradle toolchain logic is what is breaking all our https://ci-builds.apache.org/ builds for Java 8
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1908515 13f79535-47bb-0310-9956-ffa450edef68
2023-03-19 13:17:53 +00:00
PJ Fanning
2ae294e606
use 'its'
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1908484 13f79535-47bb-0310-9956-ffa450edef68
2023-03-18 11:55:54 +00:00
PJ Fanning
27344ca661
use 'an'
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1908483 13f79535-47bb-0310-9956-ffa450edef68
2023-03-18 11:35:26 +00:00
PJ Fanning
54fc06be81
revert accidental change
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907655 13f79535-47bb-0310-9956-ffa450edef68
2023-02-14 15:07:55 +00:00
PJ Fanning
d07d8e42b9
revert use of ExceptionUtil on caught exceptions (not useful)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907654 13f79535-47bb-0310-9956-ffa450edef68
2023-02-14 15:03:26 +00:00
PJ Fanning
03f7f911b0
don't use ExceptionUtil in examples
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907646 13f79535-47bb-0310-9956-ffa450edef68
2023-02-14 13:52:53 +00:00
PJ Fanning
adcf7bf533
add util code to rethrow fatal exceptions
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907645 13f79535-47bb-0310-9956-ffa450edef68
2023-02-14 13:51:52 +00:00
Dominik Stadler
c8c06d1ec0
Saxon-HE is included in more place, combine these into the main gradle build
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906427 13f79535-47bb-0310-9956-ffa450edef68
2023-01-06 19:58:45 +00:00
PJ Fanning
1def0cba38
[bug-66397] update temp file code. Thanks to lsq27.
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906238 13f79535-47bb-0310-9956-ffa450edef68
2022-12-28 08:08:09 +00:00
PJ Fanning
78516f50dc
try to get rid of cached module-info classes
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906232 13f79535-47bb-0310-9956-ffa450edef68
2022-12-27 18:45:15 +00:00
PJ Fanning
5e212e4a33
doesn't matter what jdk vendor is used to build module-info classes
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906212 13f79535-47bb-0310-9956-ffa450edef68
2022-12-26 10:05:10 +00:00
PJ Fanning
8898d2d15a
try to fix build
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906208 13f79535-47bb-0310-9956-ffa450edef68
2022-12-26 00:24:29 +00:00
PJ Fanning
edee60d87a
rebuild module-info.class files even if Java8 used
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906207 13f79535-47bb-0310-9956-ffa450edef68
2022-12-25 23:56:32 +00:00
PJ Fanning
1494812da8
try to build sboms
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906146 13f79535-47bb-0310-9956-ffa450edef68
2022-12-21 17:52:29 +00:00