Commit Graph

12650 Commits

Author SHA1 Message Date
PJ Fanning a00cc9ff2b byte-buddy 1.12.22
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906653 13f79535-47bb-0310-9956-ffa450edef68
2023-01-13 12:08:02 +00:00
PJ Fanning 56daedd9dd junit 5.9.2
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906602 13f79535-47bb-0310-9956-ffa450edef68
2023-01-11 14:13:29 +00:00
PJ Fanning 02f4a07a97 xmlunit 2.9.1
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906601 13f79535-47bb-0310-9956-ffa450edef68
2023-01-11 14:11:02 +00:00
PJ Fanning 46f45c2d0a revert ant upgrade due to issues with ant-launcher-1.10.13.jar
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906580 13f79535-47bb-0310-9956-ffa450edef68
2023-01-10 21:36:34 +00:00
PJ Fanning 25bb01ac14 revert ant upgrade due to issues with ant-launcher-1.10.13.jar
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906570 13f79535-47bb-0310-9956-ffa450edef68
2023-01-10 20:59:59 +00:00
PJ Fanning 786af03e67 add test case
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906561 13f79535-47bb-0310-9956-ffa450edef68
2023-01-10 20:10:25 +00:00
PJ Fanning c7822f687a byte-buddy 1.12.21
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906558 13f79535-47bb-0310-9956-ffa450edef68
2023-01-10 19:45:56 +00:00
PJ Fanning 16cddb4dd4 upgrade ant
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906557 13f79535-47bb-0310-9956-ffa450edef68
2023-01-10 19:44:37 +00:00
PJ Fanning 5c964e4194 [bug-66413] try to fix HSSF code where you can set fill colors
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906451 13f79535-47bb-0310-9956-ffa450edef68
2023-01-07 22:24:49 +00:00
PJ Fanning 968dabd462 [bug-65543] HSSF: fix issue with incomplete SSTs. Thanks to Simon Carter.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906434 13f79535-47bb-0310-9956-ffa450edef68
2023-01-06 23:50:54 +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
Dominik Stadler 4c1f59d85c Testing with saxon-HE: Avoid module-clash between xml.apis and java.xml
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906425 13f79535-47bb-0310-9956-ffa450edef68
2023-01-06 17:41:28 +00:00
Dominik Stadler e3924e5d0b Update Apache Ant to latest 1.10.12 to try to make writing JUnit results work for JDK 20
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906424 13f79535-47bb-0310-9956-ffa450edef68
2023-01-06 16:52:14 +00:00
Dominik Stadler a174896eaf Add missing library for forbidden-apis-check
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906361 13f79535-47bb-0310-9956-ffa450edef68
2023-01-03 19:52:14 +00:00
Dominik Stadler 1ff1e84e4a Avoid some NullPointerException and ClassCastExceptions found when fuzzing Apache POI
This mostly only makes thrown runtime-exceptions a bit more consistent and
improves information in exceptions.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906360 13f79535-47bb-0310-9956-ffa450edef68
2023-01-03 19:52:03 +00:00
PJ Fanning 22807e03dd 2023
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906330 13f79535-47bb-0310-9956-ffa450edef68
2023-01-01 23:04:10 +00:00
Dominik Stadler 49526667ab Change more assertions to proper checks
A broken input-document should not trigger assertions,
but proper exceptions with useful information for the user

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906327 13f79535-47bb-0310-9956-ffa450edef68
2023-01-01 15:59:48 +00:00
Dominik Stadler 059283c9e6 Prevent more cases of unbounded allocation
Test WordToTextConverter with all sample files

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906326 13f79535-47bb-0310-9956-ffa450edef68
2023-01-01 15:59:44 +00:00
Dominik Stadler ab45ef779c Ant: Adjust libs for poi-excelant as it requires poi-ooxml and xmlbeans
Seems JDK 20 does more checks on module-path and thus fails the
build otherwise

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906325 13f79535-47bb-0310-9956-ffa450edef68
2023-01-01 15:59:40 +00:00
Dominik Stadler a0ce31a576 Ignore compile module-info class-files
Now that they are not checked in any more.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906324 13f79535-47bb-0310-9956-ffa450edef68
2023-01-01 15:59:37 +00:00
Dominik Stadler d333c291de Try to avoid clashes of modules java.xml and xml-apis
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906323 13f79535-47bb-0310-9956-ffa450edef68
2023-01-01 15:59:35 +00:00
Dominik Stadler 5724a77cf2 Avoid some NullPointerExceptions and ClassCastExceptions found when fuzzing Apache POI
This mostly only makes thrown exceptions a bit more consistent
or may allow some broken documents to be still read.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906322 13f79535-47bb-0310-9956-ffa450edef68
2023-01-01 15:59:32 +00:00
Dominik Stadler 012bf1a99a Jenkins DSL: Fix link to Spotbugs results some more
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906321 13f79535-47bb-0310-9956-ffa450edef68
2023-01-01 15:59:16 +00:00
Dominik Stadler b5e2f2ee5d Jenkins DSL: Adjust links and comment out publishing "warnings" as the plugin is not installed
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906278 13f79535-47bb-0310-9956-ffa450edef68
2022-12-30 08:11:43 +00:00
Dominik Stadler 1f15bf5b15 Jenkins DSL: On Windows also revert some specific files
The wildcard based revert seems to fail

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906277 13f79535-47bb-0310-9956-ffa450edef68
2022-12-30 08:11:41 +00:00
Dominik Stadler 83bb4b4da5 Rename method for color from "RBG" to "RGB"
It's a protected method that is not intended to be used
outside anyway.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906276 13f79535-47bb-0310-9956-ffa450edef68
2022-12-30 08:11:38 +00:00
Dominik Stadler cc40f9faac Replace some more http -> https in the generated documentation pages
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906275 13f79535-47bb-0310-9956-ffa450edef68
2022-12-30 08:11:32 +00:00
Dominik Stadler f3fbf0233a Jenkins DSL: Do not try to rebuild sources with Gradle for JDK 20
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906274 13f79535-47bb-0310-9956-ffa450edef68
2022-12-30 08:11:30 +00:00
PJ Fanning 42a2c9606a graphics2d 0.42
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906265 13f79535-47bb-0310-9956-ffa450edef68
2022-12-29 22:31:14 +00:00
PJ Fanning 537dc7a933 [github-409] Textruns not honouring highlight. Thans to gffloodg. This closes #409
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906250 13f79535-47bb-0310-9956-ffa450edef68
2022-12-28 17:56:26 +00:00
PJ Fanning 1709aa988d mockito 4.11.0
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906249 13f79535-47bb-0310-9956-ffa450edef68
2022-12-28 17:46:55 +00:00
PJ Fanning 37994bf3e2 [github-409] Textruns not honouring highlight. Thans to gffloodg. This closes #409
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906248 13f79535-47bb-0310-9956-ffa450edef68
2022-12-28 17:45:21 +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 215da1a1ed add test file
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906237 13f79535-47bb-0310-9956-ffa450edef68
2022-12-28 07:57:59 +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
Bida Fan 98d51e4139 Fix when bodyElements contain sdt, the inserted element is in the wrong position
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906225 13f79535-47bb-0310-9956-ffa450edef68
2022-12-27 07:49:35 +00:00
PJ Fanning a84c9e0be6 try to get sboms to build again
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906222 13f79535-47bb-0310-9956-ffa450edef68
2022-12-26 19:54:56 +00:00
Dominik Stadler cf559d3ae4 Ant-Java 11+: Add support for a 4th module to be able to add slf4j module
Otherwise running test-ooxml may fail because of a missing class

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906220 13f79535-47bb-0310-9956-ffa450edef68
2022-12-26 16:25:26 +00:00
Dominik Stadler c0d3f16b87 build.xml: Update spotbugs to 4.7.3 to enable support for JDK 20
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906219 13f79535-47bb-0310-9956-ffa450edef68
2022-12-26 16:15:47 +00:00
Dominik Stadler 3ef2c45101 Bug 65260: Fix how we ignore errors when fonts are not installed
The implementation via bug 66230 was not fully working due to the
caught exception.
Also add this to the 2nd constructor as well.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906218 13f79535-47bb-0310-9956-ffa450edef68
2022-12-26 16:15:44 +00:00
Dominik Stadler 7ba2f0fffa Bug 66401: Handle escaped single-quote in formulas properly
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906217 13f79535-47bb-0310-9956-ffa450edef68
2022-12-26 16:15:39 +00:00
PJ Fanning 971ff37eec try to get sboms to build again
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906215 13f79535-47bb-0310-9956-ffa450edef68
2022-12-26 13:32:30 +00:00
PJ Fanning b217a77dac try to fix module-info compile
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906213 13f79535-47bb-0310-9956-ffa450edef68
2022-12-26 10:22:14 +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 664fe668b7 exclude sboms from source distro
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906171 13f79535-47bb-0310-9956-ffa450edef68
2022-12-22 19:28:44 +00:00
PJ Fanning 3cc8f54a20 try ant for jdk 20 build due to policeman issues
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906161 13f79535-47bb-0310-9956-ffa450edef68
2022-12-22 10:59:41 +00:00
PJ Fanning 3532fd2c3f try ant for jdk 20 build due to policeman issues
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906160 13f79535-47bb-0310-9956-ffa450edef68
2022-12-22 10:40:49 +00:00
PJ Fanning a7684eb0ed add sboms to bin/src dits
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906155 13f79535-47bb-0310-9956-ffa450edef68
2022-12-22 01:03:34 +00:00