PJ Fanning
505ac31533
commons-io 2.14.0
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912637 13f79535-47bb-0310-9956-ffa450edef68
2023-10-01 01:16:08 +00:00
PJ Fanning
fdad7e1408
[github-523] set locales for some tests. This closes #523
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912583 13f79535-47bb-0310-9956-ffa450edef68
2023-09-28 22:35:00 +00:00
Dominik Stadler
c79fb75cbc
Bug 66425: Avoid exceptions found via poi-fuzz
...
We try to avoid throwing NullPointerException, ClassCastExceptions and StackOverflowException, but it was possible
to trigger them
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=62548 and https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=62564
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912464 13f79535-47bb-0310-9956-ffa450edef68
2023-09-21 15:06:28 +00:00
PJ Fanning
a9aa91a9ed
[bug-67396] add tests for standalone flag
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912456 13f79535-47bb-0310-9956-ffa450edef68
2023-09-21 12:15:20 +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
Dominik Stadler
88bbfbb3f7
Bug 66425: Avoid exceptions found via poi-fuzz
...
We try to avoid throwing NullPointerException, ClassCastExceptions and StackOverflowException, but it was possible
to trigger them
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=61562
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=62068
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912383 13f79535-47bb-0310-9956-ffa450edef68
2023-09-18 06:38:37 +00:00
PJ Fanning
836512cc1f
update changes
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912373 13f79535-47bb-0310-9956-ffa450edef68
2023-09-17 16:39:35 +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
PJ Fanning
8514b659ae
[bug-67442] add test
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912366 13f79535-47bb-0310-9956-ffa450edef68
2023-09-17 14:49:16 +00:00
Dominik Stadler
9e2ce70d2b
Bug 66425: Avoid NullPointerExceptions and ClassCastExceptions found via poi-fuzz
...
We try to avoid throwing NullPointerException and ClassCastExceptions, but it was possible
to trigger them
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=62414
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=62442
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=62450
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912365 13f79535-47bb-0310-9956-ffa450edef68
2023-09-17 14:38:24 +00:00
PJ Fanning
4b520ff7c5
use more nio file support
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912316 13f79535-47bb-0310-9956-ffa450edef68
2023-09-14 15:49:10 +00:00
PJ Fanning
4afcb281ce
[bug-67005] XSLFPictureShape - audio-related methods. Thanks to Max
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912315 13f79535-47bb-0310-9956-ffa450edef68
2023-09-14 14:56:01 +00:00
PJ Fanning
16a1e36018
missing header
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912306 13f79535-47bb-0310-9956-ffa450edef68
2023-09-14 11:56:02 +00:00
PJ Fanning
542daa2ab8
[bug-67396] StreamHelper does not set standalone=yes when built-in javax Transformer is used
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912305 13f79535-47bb-0310-9956-ffa450edef68
2023-09-14 11:23:05 +00:00
Dominik Stadler
e9b860f6d4
Bug 66425: Avoid NullPointerExceptions found via poi-fuzz
...
We try to avoid throwing NullPointerException, but it was possible
to trigger one here
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912303 13f79535-47bb-0310-9956-ffa450edef68
2023-09-14 09:23:02 +00:00
Dominik Stadler
cc4ccbae1d
Bug 66425: Avoid NullPointerExceptions found via poi-fuzz
...
We try to avoid throwing NullPointerException, but it was possible
to trigger one here
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912281 13f79535-47bb-0310-9956-ffa450edef68
2023-09-13 10:59:54 +00:00
Dominik Stadler
4b70989156
Bug 66425: Avoid a NullPointerException found via oss-fuzz
...
We try to avoid throwing NullPointerException, but it was possible
to trigger one here with a specially crafted input-file
Fixes https://oss-fuzz.com/testcase-detail/5265527465181184
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912277 13f79535-47bb-0310-9956-ffa450edef68
2023-09-13 07:48:22 +00:00
PJ Fanning
ca681fd706
[bug-63934] Fix parsing of structure references. Thanks to Matthias Raschhofer. This closes #514
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912263 13f79535-47bb-0310-9956-ffa450edef68
2023-09-12 10:36:14 +00:00
Dominik Stadler
cc9d1c7c70
Bug 66425: Avoid a NullPointerException 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=62225
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912253 13f79535-47bb-0310-9956-ffa450edef68
2023-09-11 18:25:18 +00:00
Dominik Stadler
481c00bc6f
Bug 66425: Avoid a ClassCastException found via oss-fuzz
...
We try to avoid throwing ClassCastException, 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=62170
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912252 13f79535-47bb-0310-9956-ffa450edef68
2023-09-11 18:25:13 +00:00
Dominik Stadler
e666d3756e
Bug 66425: Avoid a NullPointerException 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=62208
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912251 13f79535-47bb-0310-9956-ffa450edef68
2023-09-11 18:25:06 +00:00
Dominik Stadler
f90415ef0e
Bug 66425: Avoid a NullPointerException 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=62151
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912198 13f79535-47bb-0310-9956-ffa450edef68
2023-09-08 16:02:06 +00:00
Dominik Stadler
e686e84512
Bug 66425: Avoid a ClassCastException found via oss-fuzz
...
We try to avoid throwing ClassCastException, but it was possible
to trigger one here with a specially crafted input-file
Also add SXSSFWorkbook.write() to integrationtests
Fixes https://oss-fuzz.com/testcase-detail/5185049589579776
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912162 13f79535-47bb-0310-9956-ffa450edef68
2023-09-07 12:20:28 +00:00
Dominik Stadler
5c2a89412b
Bug 66425: Avoid a ClassCastException found via oss-fuzz
...
We try to avoid throwing ClassCastException, but it was possible
to trigger one here with a specially crafted input-file
Fixes https://oss-fuzz.com/testcase-detail/4959857092198400
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912157 13f79535-47bb-0310-9956-ffa450edef68
2023-09-07 08:35:23 +00:00
PJ Fanning
40cdc76f63
[GitHub-511] Prevent artificial row creation when reading XWPFTable. Thanks to Christian Appl. This closes #511
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912149 13f79535-47bb-0310-9956-ffa450edef68
2023-09-06 22:32:28 +00:00
PJ Fanning
9821182d57
SparseBitSet 1.3
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912141 13f79535-47bb-0310-9956-ffa450edef68
2023-09-06 15:12:52 +00:00
Dominik Stadler
aad473eaca
Bug 66425: Avoid a ClassCastException found via oss-fuzz
...
We try to avoid throwing ClassCastException, but it was possible
to trigger one here with a specially crafted input-file
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912140 13f79535-47bb-0310-9956-ffa450edef68
2023-09-06 14:58:31 +00:00
Dominik Stadler
5d073e3586
Bug 66425: Avoid a NullPointerException found via oss-fuzz
...
We try to avoid throwing NullPointerException, but it was possible
to trigger one here with a specially crafted input-file
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912139 13f79535-47bb-0310-9956-ffa450edef68
2023-09-06 14:48:58 +00:00
Dominik Stadler
24bf8c33f2
Bug 66425: Avoid a NullPointerException found via oss-fuzz
...
We try to avoid throwing NullPointerException, but it was possible
to trigger one here with a specially crafted input-file
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912138 13f79535-47bb-0310-9956-ffa450edef68
2023-09-06 14:33:59 +00:00
Dominik Stadler
b801711afe
Bug 66425: Avoid a NullPointerException 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=62059
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912127 13f79535-47bb-0310-9956-ffa450edef68
2023-09-06 10:38:51 +00:00
Dominik Stadler
4b03c24ec8
Bug 66425: Avoid a NullPointerException 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=62074
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912125 13f79535-47bb-0310-9956-ffa450edef68
2023-09-06 09:48:21 +00:00
PJ Fanning
9c0c9ac8e4
slf4j 2.0.9
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912088 13f79535-47bb-0310-9956-ffa450edef68
2023-09-04 14:57:03 +00:00
Dominik Stadler
2999073715
Apply some IDE suggestions, add tests, set unit-test to isolated
...
Without Isolation, one test did change static settings
and thus could cause flaky tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911891 13f79535-47bb-0310-9956-ffa450edef68
2023-08-24 08:53:01 +00:00
Dominik Stadler
cdb2ba1398
Bug 66425: Avoid a NullPointerException 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=61441
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911890 13f79535-47bb-0310-9956-ffa450edef68
2023-08-24 08:48:45 +00:00
Dominik Stadler
0654bf9d87
Bug 66425: Avoid a NullPointerException 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=61520
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911863 13f79535-47bb-0310-9956-ffa450edef68
2023-08-23 09:30:00 +00:00
Dominik Stadler
1b88529d07
Bug 66425: Avoid a NullPointerException 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=61644
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911842 13f79535-47bb-0310-9956-ffa450edef68
2023-08-22 14:22:06 +00:00
PJ Fanning
c3f4201831
change test broken by bug-66988 change
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911755 13f79535-47bb-0310-9956-ffa450edef68
2023-08-18 13:08:13 +00:00
PJ Fanning
1bdfdcc793
[bug-66988] Fully replace content of XWPFTableCell on setText. Thanks to Anton Oellerer. This closes #503
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911749 13f79535-47bb-0310-9956-ffa450edef68
2023-08-18 08:48:18 +00:00
Dominik Stadler
733d3d10ea
Bug 66425: Avoid a NullPointerException 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=61390
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911615 13f79535-47bb-0310-9956-ffa450edef68
2023-08-12 14:53:58 +00:00
PJ Fanning
5bedd077a6
curvesapi 1.08
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911604 13f79535-47bb-0310-9956-ffa450edef68
2023-08-11 14:52:47 +00:00
PJ Fanning
a6a37bd0f0
add check for number of files inside zip
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911588 13f79535-47bb-0310-9956-ffa450edef68
2023-08-10 09:27:26 +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
a8b31c37a6
Bug 66425: Avoid a ClassCastException found via oss-fuzz
...
Add exception details and fix expected exceptions to make tests run again
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911503 13f79535-47bb-0310-9956-ffa450edef68
2023-08-07 11:11:08 +00:00
Dominik Stadler
31fd087a48
Bug 66425: Avoid a ClassCastException found via oss-fuzz
...
We try to avoid throwing ClassCastException, 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=61249
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911501 13f79535-47bb-0310-9956-ffa450edef68
2023-08-07 09:42:17 +00:00
PJ Fanning
91c4ec6a45
avoid creating enumeration twice
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911470 13f79535-47bb-0310-9956-ffa450edef68
2023-08-05 22:20:38 +00:00
Dominik Stadler
acf61f325f
Use interfaces for variables and reformat source-code
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911436 13f79535-47bb-0310-9956-ffa450edef68
2023-08-04 12:47:09 +00:00
PJ Fanning
c488cae3f3
[bug-66827] treat VML drawing entry for a comment that has incorrect type of TEXT as invalid
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911407 13f79535-47bb-0310-9956-ffa450edef68
2023-08-02 08:58:34 +00:00
PJ Fanning
dd1b0b1128
[bug-66827] add test case (that passes) - so issue is nor reproduced
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911399 13f79535-47bb-0310-9956-ffa450edef68
2023-08-01 20:49:26 +00:00
PJ Fanning
842e12d06e
bouncycastle 1.76
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911371 13f79535-47bb-0310-9956-ffa450edef68
2023-07-31 14:55:12 +00:00
PJ Fanning
fa8650fbe3
[bug-66682] fix xslb reading support for formula cells of boolean type. This closes #485
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910951 13f79535-47bb-0310-9956-ffa450edef68
2023-07-12 22:26:41 +00:00
PJ Fanning
e1bb2a73c8
[bug-66675] fix issue with writing xlsx (core properties being added twice)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910949 13f79535-47bb-0310-9956-ffa450edef68
2023-07-12 12:25:01 +00:00
PJ Fanning
04442923f3
[bug-62181] try to handle file where shared string loading is happening twice
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910759 13f79535-47bb-0310-9956-ffa450edef68
2023-07-03 20:54:56 +00:00
PJ Fanning
cd5d0c3d07
update guava
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910755 13f79535-47bb-0310-9956-ffa450edef68
2023-07-03 14:33:28 +00:00
PJ Fanning
273067b103
apply some spelling fixes
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910659 13f79535-47bb-0310-9956-ffa450edef68
2023-06-28 11:55:29 +00:00
PJ Fanning
f331d08c22
apply some spelling fixes
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910640 13f79535-47bb-0310-9956-ffa450edef68
2023-06-27 19:37:48 +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
PJ Fanning
bfb6ec8e54
add XSSF test where 2 row instances have same rowNum
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910569 13f79535-47bb-0310-9956-ffa450edef68
2023-06-23 12:59:57 +00:00
PJ Fanning
01208d5790
[bug-66661] revert github-269 due to it breaking formulas with table references
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910561 13f79535-47bb-0310-9956-ffa450edef68
2023-06-22 21:37:01 +00:00
PJ Fanning
c3d8586079
bouncycastle 1.75
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910543 13f79535-47bb-0310-9956-ffa450edef68
2023-06-21 17:03:09 +00:00
PJ Fanning
e30571e9ec
fix test assertion
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910480 13f79535-47bb-0310-9956-ffa450edef68
2023-06-18 17:10:56 +00:00
PJ Fanning
3bf4276117
xddf test
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910459 13f79535-47bb-0310-9956-ffa450edef68
2023-06-16 19:05:58 +00:00
PJ Fanning
5cafcdc83e
[bug-66650] add chartex classes to poi-ooxml-full
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910433 13f79535-47bb-0310-9956-ffa450edef68
2023-06-15 20:05:33 +00:00
PJ Fanning
73fef78604
bouncycastle 1.74
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910429 13f79535-47bb-0310-9956-ffa450edef68
2023-06-15 15:35:39 +00:00
PJ Fanning
6943cc9a9c
[GitHub-473] Add getCTSettings() to XWPFSettings. This closes #473
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910402 13f79535-47bb-0310-9956-ffa450edef68
2023-06-14 11:29:27 +00:00
PJ Fanning
51bd992387
update guava
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910365 13f79535-47bb-0310-9956-ffa450edef68
2023-06-12 10:14:05 +00:00
Dominik Stadler
0dc3d6e479
Need to lower the min expected width after changes for bug 66632
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910309 13f79535-47bb-0310-9956-ffa450edef68
2023-06-08 15:54:50 +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
Dominik Stadler
c8f9fe4c2c
Fix generating JavaDoc when running build with Java 9 or higher
...
Otherwise "current" is JDK 11, but "javadoc" from JDK 8 is executed
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910299 13f79535-47bb-0310-9956-ffa450edef68
2023-06-08 08:51:58 +00:00
PJ Fanning
367b8b797a
update guava
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910275 13f79535-47bb-0310-9956-ffa450edef68
2023-06-07 10:23:06 +00:00
PJ Fanning
0ad5f6ac58
improve exception handling
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910273 13f79535-47bb-0310-9956-ffa450edef68
2023-06-07 09:51:05 +00:00
PJ Fanning
dfe5dd150c
[bug-66612] get macrosheet xml (test)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1909996 13f79535-47bb-0310-9956-ffa450edef68
2023-05-22 16:31:05 +00:00
PJ Fanning
bc035b1aff
[bug-66612] get macrosheet xml (test)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1909995 13f79535-47bb-0310-9956-ffa450edef68
2023-05-22 16:08:48 +00:00
PJ Fanning
b5153f1395
[bug-66612] get macrosheet xml (test)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1909994 13f79535-47bb-0310-9956-ffa450edef68
2023-05-22 16:00:10 +00:00
PJ Fanning
2712abf00b
add content types for macrosheets
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1909993 13f79535-47bb-0310-9956-ffa450edef68
2023-05-22 15:17:22 +00:00
PJ Fanning
60d5336f7c
[bug-66607] perf issue processing array formulas
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1909934 13f79535-47bb-0310-9956-ffa450edef68
2023-05-19 13:09:15 +00:00
Dominik Stadler
720027879f
Bug 66598: Fix invalid loop-condition when cleaning up CTCells
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1909808 13f79535-47bb-0310-9956-ffa450edef68
2023-05-14 07:47:16 +00:00
Dominik Stadler
a647cc97e7
Fix a case in IdentifierManager.release(), reformat, add tests
...
The case when all are reserved was not handled properly
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1909807 13f79535-47bb-0310-9956-ffa450edef68
2023-05-14 07:47:12 +00:00
PJ Fanning
338e97f87c
use MarlinRenderingEngine
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1909748 13f79535-47bb-0310-9956-ffa450edef68
2023-05-11 10:25:10 +00:00
PJ Fanning
fe3b4645b7
[bug-66584] ensure ZipPackage closes input stream when exceptions happen
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1909467 13f79535-47bb-0310-9956-ffa450edef68
2023-04-28 09:13:08 +00:00
PJ Fanning
b88f3ac0ab
spelling
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1909466 13f79535-47bb-0310-9956-ffa450edef68
2023-04-28 08:58:34 +00:00
PJ Fanning
56dc911402
bouncycastle 1.73
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1909101 13f79535-47bb-0310-9956-ffa450edef68
2023-04-12 19:37:57 +00:00
PJ Fanning
2bf82a487f
xmlsec 3.0.2
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1908966 13f79535-47bb-0310-9956-ffa450edef68
2023-04-04 19:04:46 +00:00
Dominik Stadler
c0484ce62d
Add more information in exception when formula parsing fails
...
Use toString() instead of getClass() to include more information
for some ValueEval implementations
When low-level parsing fails, the IllegalStateException does not
contain any information, therefore wrap it and enrich it with
more information about the cell and the parsed formula
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1908608 13f79535-47bb-0310-9956-ffa450edef68
2023-03-21 11:45:00 +00:00
PJ Fanning
f37a6013b6
slf4j 2.0.7
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1908558 13f79535-47bb-0310-9956-ffa450edef68
2023-03-20 11:00:46 +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
c58ff2216f
temporary hack to build to see if the ooxml tests are hanging and breaking all our https://ci-builds.apache.org/ builds for Java 8
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1908527 13f79535-47bb-0310-9956-ffa450edef68
2023-03-19 20:10:39 +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
9f0fe6139e
fix test
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1908486 13f79535-47bb-0310-9956-ffa450edef68
2023-03-18 12:03:41 +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
0275daa5de
[bug-66532] more performant way to iterate over codepoints. Thanks to Matthias Raschhofer
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1908458 13f79535-47bb-0310-9956-ffa450edef68
2023-03-17 23:35:33 +00:00
PJ Fanning
7d67fa729e
revert test change
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1908175 13f79535-47bb-0310-9956-ffa450edef68
2023-03-07 22:14:25 +00:00
PJ Fanning
c8ef2e89ba
byte-buddy 1.14.1
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1908174 13f79535-47bb-0310-9956-ffa450edef68
2023-03-07 22:14:01 +00:00
PJ Fanning
1639f8b923
sxssf date style test
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1908173 13f79535-47bb-0310-9956-ffa450edef68
2023-03-07 22:03:58 +00:00
PJ Fanning
729e012804
try to fix gradle issues
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907808 13f79535-47bb-0310-9956-ffa450edef68
2023-02-22 20:08:44 +00:00
PJ Fanning
3ab6847bcc
[bug-66485] poi-ooxml-full: generate classes for drawing/2012/chart schema
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907789 13f79535-47bb-0310-9956-ffa450edef68
2023-02-21 13:11:59 +00:00
PJ Fanning
e431ec35c3
safety check on throwable catch
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907656 13f79535-47bb-0310-9956-ffa450edef68
2023-02-14 15:12:18 +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
PJ Fanning
326126a365
provide way to clear the state on the ThreadLocal used byby ExtractorFactory
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907581 13f79535-47bb-0310-9956-ffa450edef68
2023-02-11 12:07:34 +00:00
PJ Fanning
28a26d9cb2
[bug-66475] SignatureConfig: remove ThreadLocals and deprecated code associated with them
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907579 13f79535-47bb-0310-9956-ffa450edef68
2023-02-11 11:51:13 +00:00
PJ Fanning
46a1548f83
upgrade bouncycastle
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907568 13f79535-47bb-0310-9956-ffa450edef68
2023-02-10 20:34:01 +00:00
Dominik Stadler
3eae53357d
Avoid a file-handle leak in tests
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907445 13f79535-47bb-0310-9956-ffa450edef68
2023-02-05 21:11:09 +00:00
Dominik Stadler
1ca2e638ed
Bug 66436: Fix invalid handling of padded encrypted bytes
...
The encrypted data is padded to 16 bytes, but these additional bytes
were not read from the stream
Make the reading of the additional bytes "lenient" to not introduce
breaking change if some existing functionality did produce non-aligned
data for some reason.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907444 13f79535-47bb-0310-9956-ffa450edef68
2023-02-05 21:11:03 +00:00
PJ Fanning
43551babf1
[bug-65260] partial revert of recent changes
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907443 13f79535-47bb-0310-9956-ffa450edef68
2023-02-05 20:34:19 +00:00
PJ Fanning
7c372bd18c
fix compile issues
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907309 13f79535-47bb-0310-9956-ffa450edef68
2023-02-04 15:28:04 +00:00
PJ Fanning
040181c42f
[bug-65260] catch Throwable instead of error - see https://github.com/apache/poi/pull/425
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907308 13f79535-47bb-0310-9956-ffa450edef68
2023-02-04 15:10:32 +00:00
Dominik Stadler
edc7f8fd6f
Bug 54373: Include alpha/transparency value when creating an XSSFColor from an AWT Color object
...
Use the alpha-value from Color as well
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907106 13f79535-47bb-0310-9956-ffa450edef68
2023-01-30 12:19:31 +00:00
Dominik Stadler
acdf2ec981
Bug 62272: Include alpha/transparency value when setting a color-value for a font
...
Use method with returns 4 bytes to use an ARGB value instead of only RGB
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907105 13f79535-47bb-0310-9956-ffa450edef68
2023-01-30 12:19:24 +00:00
PJ Fanning
e6087ba6af
don't create format pr instance for read events
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907079 13f79535-47bb-0310-9956-ffa450edef68
2023-01-29 17:15:41 +00:00
PJ Fanning
4944aa4c2e
rework SXSSF groupRow and add test
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907068 13f79535-47bb-0310-9956-ffa450edef68
2023-01-28 22:18:33 +00:00
PJ Fanning
cde87ab3c6
edge case (avoid short overflow)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907066 13f79535-47bb-0310-9956-ffa450edef68
2023-01-28 20:44:26 +00:00
PJ Fanning
1cf4094e2d
try to improve performance of XSSFSheet row/col grouping/ungrouping
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907065 13f79535-47bb-0310-9956-ffa450edef68
2023-01-28 20:13:33 +00:00
PJ Fanning
edaeb54967
reorder xssf code
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906981 13f79535-47bb-0310-9956-ffa450edef68
2023-01-24 15:01:38 +00:00
PJ Fanning
650f0e9276
remove incomplete test
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906654 13f79535-47bb-0310-9956-ffa450edef68
2023-01-13 12:10:04 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
PJ Fanning
4d0a627fb9
small optimisation on getCellStyle
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1905936 13f79535-47bb-0310-9956-ffa450edef68
2022-12-12 17:36:51 +00:00
PJ Fanning
624f834310
[github-404] issue with text runs and styling relating to table cells. Thanks to gffloodg. This closes #404
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1905933 13f79535-47bb-0310-9956-ffa450edef68
2022-12-12 15:18:35 +00:00
PJ Fanning
f8fd8eb2e3
[bug-66365] add test for EventBasedExcelExtractor
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1905577 13f79535-47bb-0310-9956-ffa450edef68
2022-11-28 17:59:02 +00:00
PJ Fanning
185020b538
possible issue when streaming xssf cells with formulas
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1905575 13f79535-47bb-0310-9956-ffa450edef68
2022-11-28 14:30:15 +00:00
PJ Fanning
4b911496eb
[bug-66365] add test for XSSFExcelExtractor
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1905574 13f79535-47bb-0310-9956-ffa450edef68
2022-11-28 14:23:16 +00:00
PJ Fanning
c8f4cbd20b
[bug-66365] update XSSFExcelExtractor to better handle formula cells with cached results of string type
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1905572 13f79535-47bb-0310-9956-ffa450edef68
2022-11-28 14:14:09 +00:00
PJ Fanning
efc032babc
[bug-66365] rework XSSFCell getRichStringCellValue and getStringCellValue to better support array formula results. Thanks to Espen Amble Kolstad.
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1905571 13f79535-47bb-0310-9956-ffa450edef68
2022-11-28 13:05:45 +00:00
PJ Fanning
a1c38536b9
slf4j 2.0.5
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1905527 13f79535-47bb-0310-9956-ffa450edef68
2022-11-25 14:18:00 +00:00
PJ Fanning
bac21cc1a6
javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1905445 13f79535-47bb-0310-9956-ffa450edef68
2022-11-21 20:22:40 +00:00
PJ Fanning
a1919c33cf
[bug-66347] add read test
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1905374 13f79535-47bb-0310-9956-ffa450edef68
2022-11-18 10:09:51 +00:00
PJ Fanning
33c5125865
slf4j 2.0.4
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1905373 13f79535-47bb-0310-9956-ffa450edef68
2022-11-18 10:06:19 +00:00
PJ Fanning
09126e404c
[bug-66347] add XWPFTheme support to XWPFDocument. Thanks to Stephan Schwiebert.
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1905344 13f79535-47bb-0310-9956-ffa450edef68
2022-11-16 22:10:18 +00:00