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
PJ Fanning
7807b706ac
[github-408] Increase performance of StylesTable.putStyle. Thanks to Jason Mirra. This closes #408
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906152 13f79535-47bb-0310-9956-ffa450edef68
2022-12-21 22:30:32 +00:00
PJ Fanning
f78d742c38
java 20 build
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906149 13f79535-47bb-0310-9956-ffa450edef68
2022-12-21 21:52:39 +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
efeea0fbc9
archive xmlbeans jdk 1.19 build
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906136 13f79535-47bb-0310-9956-ffa450edef68
2022-12-21 12:21:12 +00:00
PJ Fanning
f1876395f6
archive xmlbeans sboms
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906135 13f79535-47bb-0310-9956-ffa450edef68
2022-12-21 12:17:59 +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
5b295d644b
upgrade cyclonedx
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906127 13f79535-47bb-0310-9956-ffa450edef68
2022-12-21 10:18:09 +00:00
PJ Fanning
7e2f2bbbfb
revert accidental change to multiply/divide
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906013 13f79535-47bb-0310-9956-ffa450edef68
2022-12-15 12:10:02 +00:00
PJ Fanning
2a34e5a31e
upgrade mockito and byte-buddy
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906012 13f79535-47bb-0310-9956-ffa450edef68
2022-12-15 12:06:39 +00:00
PJ Fanning
0d382b4c67
slf4j 2.0.6
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1905950 13f79535-47bb-0310-9956-ffa450edef68
2022-12-13 08:35:40 +00:00
PJ Fanning
693c59574c
[bug-66319] do not create HSSF patriarch to find comments (only use one that pre-exists)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1905943 13f79535-47bb-0310-9956-ffa450edef68
2022-12-12 21:09:09 +00:00
PJ Fanning
5a6df66b07
untidy hack for shared string counts that are higher than Integer.MAX_VALUE
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1905940 13f79535-47bb-0310-9956-ffa450edef68
2022-12-12 18:43:44 +00:00
PJ Fanning
fdffe5f66d
untidy hack for shared string counts that are higher than Integer.MAX_VALUE
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1905939 13f79535-47bb-0310-9956-ffa450edef68
2022-12-12 18:20:21 +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
7454a722f0
try to speed up SXSSFCell getColumnIndex
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1905937 13f79535-47bb-0310-9956-ffa450edef68
2022-12-12 17:58:50 +00:00