Commit Graph

13136 Commits

Author SHA1 Message Date
Dominik Stadler 57d746827f 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=61162

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911459 13f79535-47bb-0310-9956-ffa450edef68
2023-08-05 12:13:13 +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
Dominik Stadler ee1c914cea Use correct version for JUnit in Ant build
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911435 13f79535-47bb-0310-9956-ffa450edef68
2023-08-04 12:41:34 +00:00
PJ Fanning 53cb570a0c gradle-8.2.1
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911428 13f79535-47bb-0310-9956-ffa450edef68
2023-08-03 21:12:30 +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 005863e1c9 gradle hates ant 1.10.13
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911398 13f79535-47bb-0310-9956-ffa450edef68
2023-08-01 20:19:38 +00:00
Dominik Stadler cb835739c6 Exclude some files in one test to avoid flakiness during parallel builds
This test failed once locally due to a temporary file
being deleted again when the test tried to access it

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911384 13f79535-47bb-0310-9956-ffa450edef68
2023-08-01 08:24:59 +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 ce1e4695e7 junit 5.10.0
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911373 13f79535-47bb-0310-9956-ffa450edef68
2023-07-31 15:02:03 +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 c6aa3a1318 [github-488] Round up seconds in CellElapsedFormatter. Thanks to Anthony Schott. This closes #488
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911254 13f79535-47bb-0310-9956-ffa450edef68
2023-07-24 19:59:45 +00:00
PJ Fanning 1f446e0aef undo last change due to broken test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911233 13f79535-47bb-0310-9956-ffa450edef68
2023-07-24 12:00:17 +00:00
PJ Fanning cd2dcd3940 [github-487] Round up seconds in CellElapsedFormatter. Thanks to Anthony Schott. This closes #487
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911228 13f79535-47bb-0310-9956-ffa450edef68
2023-07-24 10:12:46 +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 a9a0acc232 gradle 8.2
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910822 13f79535-47bb-0310-9956-ffa450edef68
2023-07-06 16:48:24 +00:00
PJ Fanning 23caf67c58 remove release date from version.java
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910760 13f79535-47bb-0310-9956-ffa450edef68
2023-07-03 21:01:19 +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 20473c1b01 pdfbox 2.0.29
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910753 13f79535-47bb-0310-9956-ffa450edef68
2023-07-03 14:32:05 +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 e8505dc208 update ooxml-lite-report.xsb
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910560 13f79535-47bb-0310-9956-ffa450edef68
2023-06-22 20:46:25 +00:00
PJ Fanning 606d11be73 commons-codec 1.16.0
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910558 13f79535-47bb-0310-9956-ffa450edef68
2023-06-22 16:49:00 +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
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
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
PJ Fanning 0c62fc12f8 [bug-66644] enable reproducible build settings in gradle
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910364 13f79535-47bb-0310-9956-ffa450edef68
2023-06-12 10:10:37 +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 6442dccab9 Bug 66632: Round char-width instead of cutting off
Otherwise we sometimes use a too low "default char width"
which leads to autosizing of columns with too wide columns.

We should propably return float instead of int here to
not introduce rounding errors at this point at all,
but it would need more API changes, so let's at least
make it work better for now.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910301 13f79535-47bb-0310-9956-ffa450edef68
2023-06-08 08:53:15 +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 219b1d0bce commons-io 2.13.0
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910297 13f79535-47bb-0310-9956-ffa450edef68
2023-06-08 08:36:48 +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 ebb6796f69 byte buddy 1.14.5
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910274 13f79535-47bb-0310-9956-ffa450edef68
2023-06-07 10:10:31 +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 0b116246dd revert sonarqube plugin due to ci-build issues
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910100 13f79535-47bb-0310-9956-ffa450edef68
2023-05-28 10:37:22 +00:00
PJ Fanning 13fa43f5b8 update sonarqube plugin
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910076 13f79535-47bb-0310-9956-ffa450edef68
2023-05-26 18:24:43 +00:00
PJ Fanning 2676dcc7f4 [bug-66614] remove limit on offset function params
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910049 13f79535-47bb-0310-9956-ffa450edef68
2023-05-25 10:39:47 +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