aboutsummaryrefslogtreecommitdiffstats
path: root/poi
Commit message (Collapse)AuthorAgeFilesLines
...
* Bug 66425: Avoid NullPointerExceptions and ClassCastExceptions found via ↵Dominik Stadler2023-09-171-1/+1
| | | | | | | | | | | | | 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
* use more nio file supportPJ Fanning2023-09-1414-50/+58
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912316 13f79535-47bb-0310-9956-ffa450edef68
* [bug-67402] DATEVALUE function should return #VALUE! for a null or empty ↵PJ Fanning2023-09-142-46/+41
| | | | | | string argument. Thanks to Jakub Vojtisek. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912313 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid NullPointerExceptions found via poi-fuzzDominik Stadler2023-09-131-0/+6
| | | | | | | 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
* [bug-63934] Fix parsing of structure references. Thanks to Matthias ↵PJ Fanning2023-09-121-0/+24
| | | | | | Raschhofer. This closes #514 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912263 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid a NullPointerException found via oss-fuzzDominik Stadler2023-09-111-0/+3
| | | | | | | | | 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=62216 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912250 13f79535-47bb-0310-9956-ffa450edef68
* SparseBitSet 1.3PJ Fanning2023-09-063-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912141 13f79535-47bb-0310-9956-ffa450edef68
* Reduce flakiness of one test which compares two documentsDominik Stadler2023-09-061-0/+35
| | | | | | | | There are more places where a timestamp is stored in the zip-file, let's try to replace some more bytes to make comparison succeed more often. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912126 13f79535-47bb-0310-9956-ffa450edef68
* slf4j 2.0.9PJ Fanning2023-09-041-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912088 13f79535-47bb-0310-9956-ffa450edef68
* [bug-66855] Formula parser incorrectly handles sheet name containing ↵PJ Fanning2023-08-102-2/+16
| | | | | | multiple single quotes in a row. Thanks to Kirill lebedev. This closes #496 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911589 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid a ClassCastException found via oss-fuzzDominik Stadler2023-08-082-0/+5
| | | | | | | | | 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=61276 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911536 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid a ClassCastException found via oss-fuzzDominik Stadler2023-08-074-4/+11
| | | | | | | | | | | 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=61242 Also enhance output of some test-failures and allow an empty exception message git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911515 13f79535-47bb-0310-9956-ffa450edef68
* gradle hates ant 1.10.13PJ Fanning2023-08-011-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911398 13f79535-47bb-0310-9956-ffa450edef68
* Exclude some files in one test to avoid flakiness during parallel buildsDominik Stadler2023-08-011-1/+6
| | | | | | | 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
* Update Apache Ant to 1.10.13 and use newer Gradle syntaxDominik Stadler2023-08-011-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911383 13f79535-47bb-0310-9956-ffa450edef68
* [github-488] Round up seconds in CellElapsedFormatter. Thanks to Anthony ↵PJ Fanning2023-07-242-1/+8
| | | | | | Schott. This closes #488 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911254 13f79535-47bb-0310-9956-ffa450edef68
* undo last change due to broken testPJ Fanning2023-07-241-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911233 13f79535-47bb-0310-9956-ffa450edef68
* [github-487] Round up seconds in CellElapsedFormatter. Thanks to Anthony ↵PJ Fanning2023-07-241-1/+1
| | | | | | Schott. This closes #487 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911228 13f79535-47bb-0310-9956-ffa450edef68
* remove release date from version.javaPJ Fanning2023-07-031-10/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910760 13f79535-47bb-0310-9956-ffa450edef68
* apply some spelling fixesPJ Fanning2023-06-289-15/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910659 13f79535-47bb-0310-9956-ffa450edef68
* apply some spelling fixesPJ Fanning2023-06-277-10/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910640 13f79535-47bb-0310-9956-ffa450edef68
* apply some spelling fixesPJ Fanning2023-06-275-10/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910639 13f79535-47bb-0310-9956-ffa450edef68
* apply some spelling fixesPJ Fanning2023-06-2711-16/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910627 13f79535-47bb-0310-9956-ffa450edef68
* [bug-66661] revert github-269 due to it breaking formulas with table referencesPJ Fanning2023-06-221-0/+96
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910561 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66632: Round char-width instead of cutting offDominik Stadler2023-06-081-1/+1
| | | | | | | | | | | | 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
* Remove deprecation warnings reported with newer commons-ioDominik Stadler2023-06-0880-147/+193
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910300 13f79535-47bb-0310-9956-ffa450edef68
* [bug-66614] remove limit on offset function paramsPJ Fanning2023-05-252-10/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910049 13f79535-47bb-0310-9956-ffa450edef68
* don't share the skip bytes bufferPJ Fanning2023-03-251-3/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1908716 13f79535-47bb-0310-9956-ffa450edef68
* don't share the skip bytes bufferPJ Fanning2023-03-251-10/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1908700 13f79535-47bb-0310-9956-ffa450edef68
* Add more information in exception when formula parsing failsDominik Stadler2023-03-211-2/+1
| | | | | | | | | | 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
* remove temporary hacksPJ Fanning2023-03-191-2/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1908529 13f79535-47bb-0310-9956-ffa450edef68
* revert back to ant 1.10.12 - 1.10.13 breaks our buildPJ Fanning2023-03-191-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1908518 13f79535-47bb-0310-9956-ffa450edef68
* ant 1.10.13PJ Fanning2023-03-191-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1908516 13f79535-47bb-0310-9956-ffa450edef68
* temporary hack to build to see if the gradle toolchain logic is what is ↵PJ Fanning2023-03-191-0/+2
| | | | | | 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
* use 'its'PJ Fanning2023-03-188-8/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1908484 13f79535-47bb-0310-9956-ffa450edef68
* use 'an'PJ Fanning2023-03-1822-30/+30
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1908483 13f79535-47bb-0310-9956-ffa450edef68
* typoPJ Fanning2023-03-181-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1908481 13f79535-47bb-0310-9956-ffa450edef68
* [bug-66532] more performant way to iterate over codepoints.PJ Fanning2023-03-182-9/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1908479 13f79535-47bb-0310-9956-ffa450edef68
* revert: [bug-66503] Add flag for Excel 4 macros in composite documents.PJ Fanning2023-03-181-0/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1908463 13f79535-47bb-0310-9956-ffa450edef68
* revert: [bug-66503] Add flag for Excel 4 macros in composite documents.PJ Fanning2023-03-182-50/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1908462 13f79535-47bb-0310-9956-ffa450edef68
* [bug-66503] Add flag for Excel 4 macros in composite documents. Thanks to M. ↵PJ Fanning2023-03-182-0/+41
| | | | | | P. Halpin git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1908461 13f79535-47bb-0310-9956-ffa450edef68
* [bug-66532] more performant way to iterate over codepoints.PJ Fanning2023-03-171-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1908460 13f79535-47bb-0310-9956-ffa450edef68
* [bug-66532] more performant way to iterate over codepoints.PJ Fanning2023-03-171-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1908459 13f79535-47bb-0310-9956-ffa450edef68
* [bug-66532] more performant way to iterate over codepoints. Thanks to ↵PJ Fanning2023-03-172-2/+33
| | | | | | Matthias Raschhofer git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1908458 13f79535-47bb-0310-9956-ffa450edef68
* javadoc typosPJ Fanning2023-03-131-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1908363 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66521: Add a utility to clear all thread localsDominik Stadler2023-03-118-2/+162
| | | | | | | | Otherwise some applications may complain about left-over things, e.g. Tomcat sometimes reports warning logs if Threads are not cleaned up before being passed back into the global thread-pool. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1908263 13f79535-47bb-0310-9956-ffa450edef68
* Fix a flaky test which fails roughly once in 9000 iterationsDominik Stadler2023-03-101-1/+2
| | | | | | Ranodm(9000) means it can also be 0 so the test should allow reading 300 bytes only git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1908242 13f79535-47bb-0310-9956-ffa450edef68
* Update/fix JavaDoc and add "throws"Dominik Stadler2023-03-101-1/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1908240 13f79535-47bb-0310-9956-ffa450edef68
* try gradle 8.0.1 againPJ Fanning2023-02-221-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907813 13f79535-47bb-0310-9956-ffa450edef68
* try to fix gradle issuesPJ Fanning2023-02-221-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907808 13f79535-47bb-0310-9956-ffa450edef68