Commit Graph

113 Commits

Author SHA1 Message Date
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
PJ Fanning b8d4597ea4 cyclonedx per module
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906134 13f79535-47bb-0310-9956-ffa450edef68
2022-12-21 11:23:43 +00:00
PJ Fanning 1b4e8ba77b remove unnecessary short casts for getCellStyleAt
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1905938 13f79535-47bb-0310-9956-ffa450edef68
2022-12-12 18:14:49 +00:00
PJ Fanning 9798625cb9 jdk19 build issue
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1904908 13f79535-47bb-0310-9956-ffa450edef68
2022-10-28 23:10:54 +00:00
PJ Fanning 439d67d6d9 upgrade deps
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1904010 13f79535-47bb-0310-9956-ffa450edef68
2022-09-12 13:22:27 +00:00
PJ Fanning deffaacd0f sonar issues
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903686 13f79535-47bb-0310-9956-ffa450edef68
2022-08-25 18:52:27 +00:00
PJ Fanning bbfd7b9ec8 [github-365] use lambdas. Thanks to Arturo Bernal. This closes #365
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903258 13f79535-47bb-0310-9956-ffa450edef68
2022-08-06 21:12:49 +00:00
PJ Fanning dcb6742a26 try to fix jaav 17 build
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903051 13f79535-47bb-0310-9956-ffa450edef68
2022-07-27 09:21:34 +00:00
PJ Fanning c62002e7ba refactor smart art code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903000 13f79535-47bb-0310-9956-ffa450edef68
2022-07-25 09:25:05 +00:00
PJ Fanning 5c34bad8f4 forbidden api
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902939 13f79535-47bb-0310-9956-ffa450edef68
2022-07-22 10:33:31 +00:00
PJ Fanning cc7fcdfab3 [bug-66176] Integrate SmartArt diagrams from powerpoint presentations. Thanks to Yaseen.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902934 13f79535-47bb-0310-9956-ffa450edef68
2022-07-22 09:55:10 +00:00
PJ Fanning 590e49c143 [bug-66173] add new XSSFSheet createSplitPane method to avoid bug in existing method
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902876 13f79535-47bb-0310-9956-ffa450edef68
2022-07-20 13:13:28 +00:00
PJ Fanning 369681f7f9 use try-with-resources
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902873 13f79535-47bb-0310-9956-ffa450edef68
2022-07-20 10:56:16 +00:00
PJ Fanning f736e2c65b lgtm issue
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902804 13f79535-47bb-0310-9956-ffa450edef68
2022-07-17 10:00:17 +00:00
PJ Fanning c589f0ee7a [github-339] Add extra methods to StringUtil and refactor some code to use them. Thanks to XenoAmess. This closes #339
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902789 13f79535-47bb-0310-9956-ffa450edef68
2022-07-17 01:53:18 +00:00
PJ Fanning 773ad5e825 [github-356] accept some of the changes in this PR (not all)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902784 13f79535-47bb-0310-9956-ffa450edef68
2022-07-16 20:21:22 +00:00
PJ Fanning 4f54f29a2d [github-345] Use switch instead of if. Thanks to XenoAmess. This closes #345
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902772 13f79535-47bb-0310-9956-ffa450edef68
2022-07-16 10:13:18 +00:00
PJ Fanning ce3371e92e [github-341] Remove unused imports. Thanks to XenoAmess. This closes #341
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902760 13f79535-47bb-0310-9956-ffa450edef68
2022-07-15 23:23:34 +00:00
PJ Fanning 87ee700d04 [github-340] make more use of StandardCharsets. Thanks to XenoAmess. This closes #340
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902755 13f79535-47bb-0310-9956-ffa450edef68
2022-07-15 21:52:32 +00:00
PJ Fanning 72e7df6b5c javadoc issues
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902624 13f79535-47bb-0310-9956-ffa450edef68
2022-07-10 10:29:33 +00:00
Andreas Beeker b59dbbd076 Use gradle toolchain to specify the jdk version and vendor, e.g.
> gradle -no-build-cache -PjdkVersion=16 -PjdkVendor=oracle clean check

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898288 13f79535-47bb-0310-9956-ffa450edef68
2022-02-21 22:57:03 +00:00
PJ Fanning 4496e7761f change formatting
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898232 13f79535-47bb-0310-9956-ffa450edef68
2022-02-19 20:54:42 +00:00