aboutsummaryrefslogtreecommitdiffstats
path: root/poi
Commit message (Collapse)AuthorAgeFilesLines
* [bug-68094] try to improve cell width derivation by not roundingPJ Fanning2023-11-082-6/+62
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913676 13f79535-47bb-0310-9956-ffa450edef68
* [github-545] Make exported sheet names compatible with Excel. Thanks to ↵PJ Fanning2023-11-072-46/+93
| | | | | | Aleksandrs Jansons. This closes #545 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913660 13f79535-47bb-0310-9956-ffa450edef68
* try to fix broken sxssf testsPJ Fanning2023-11-072-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913651 13f79535-47bb-0310-9956-ffa450edef68
* fix broken HSSFWorkbook testPJ Fanning2023-11-072-7/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913648 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid exceptions found via poi-fuzzDominik Stadler2023-10-271-1/+5
| | | | | | | | | Fix one expected exception-text which is different on newer Java versions Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=63143 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913384 13f79535-47bb-0310-9956-ffa450edef68
* [bug-67579] test that we close input streamPJ Fanning2023-10-261-0/+31
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913352 13f79535-47bb-0310-9956-ffa450edef68
* try to close streams in HSSF testsPJ Fanning2023-10-261-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913351 13f79535-47bb-0310-9956-ffa450edef68
* [bug-67784] add test for divide errorPJ Fanning2023-10-171-0/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913065 13f79535-47bb-0310-9956-ffa450edef68
* [bug-67784] add test for divide errorPJ Fanning2023-10-171-0/+26
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913064 13f79535-47bb-0310-9956-ffa450edef68
* [bug-67475] better support for edge cases in TEXT function. Thanks to Jakub ↵PJ Fanning2023-10-142-12/+181
| | | | | | Vojtisek git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912973 13f79535-47bb-0310-9956-ffa450edef68
* add back leading len into slideshow DrawTextFragment heightPJ Fanning2023-10-141-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912967 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid Exceptions found via oss-fuzzDominik Stadler2023-10-074-1/+7
| | | | | | | | | | We try to avoid throwing ConcurrentModificationException, 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=62861 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912797 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid Exceptions found via oss-fuzzDominik Stadler2023-10-075-4/+21
| | | | | | | | | | We try to avoid throwing ClassCastExceptions, 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=62795 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912796 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid Exceptions found via oss-fuzzDominik Stadler2023-10-074-3/+9
| | | | | | | | | | We try to avoid throwing NullPointerExceptions or endless allocations, 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=62697 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912793 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid a NullPointerException found via oss-fuzzDominik Stadler2023-10-071-1/+5
| | | | | | | | | 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=62626 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912792 13f79535-47bb-0310-9956-ffa450edef68
* Assert that deleting test-files and entries works in testsDominik Stadler2023-10-032-6/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912709 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid exceptions found via poi-fuzzDominik Stadler2023-10-031-1/+1
| | | | | | | | | | | | | We try to avoid throwing NullPointerException, ClassCastExceptions and StackOverflowException, but it was possible to trigger them Also improve some exception messages Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=62698 https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=62606 https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=62685 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912707 13f79535-47bb-0310-9956-ffa450edef68
* commons-io 2.14.0PJ Fanning2023-10-011-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912637 13f79535-47bb-0310-9956-ffa450edef68
* [github-523] set locales for some tests. This closes #523PJ Fanning2023-09-282-0/+28
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912583 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid exceptions found via poi-fuzzDominik Stadler2023-09-211-1/+1
| | | | | | | | | 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
* Bug47950 -- make stream/directory name lookup in OLE2 case insensitiveTim Allison2023-09-2041-278/+403
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912438 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid exceptions found via poi-fuzzDominik Stadler2023-09-206-5/+31
| | | | | | | | | 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=62530 and https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=62491 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912433 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid exceptions found via poi-fuzzDominik Stadler2023-09-181-1/+17
| | | | | | | | | | 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
* use files nio APIs in more placesPJ Fanning2023-09-1712-27/+32
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912367 13f79535-47bb-0310-9956-ffa450edef68
* 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