aboutsummaryrefslogtreecommitdiffstats
path: root/poi-scratchpad
Commit message (Collapse)AuthorAgeFilesLines
...
* Bug 66425: Avoid a ClassCastException found via oss-fuzzDominik Stadler2023-08-071-1/+1
| | | | | | 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
* Bug 66425: Avoid a ClassCastException found via oss-fuzzDominik Stadler2023-08-062-346/+345
| | | | | | | | | | | We try to avoid throwing ClassCastException, but it was possible to trigger one here with a specially crafted input-file Also rework test a bit to use try-with-resources and proper formatting Should fix https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=61221 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911494 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid a ClassCastException found via oss-fuzzDominik Stadler2023-08-051-1/+6
| | | | | | | | | 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
* apply some spelling fixesPJ Fanning2023-06-281-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910659 13f79535-47bb-0310-9956-ffa450edef68
* apply some spelling fixesPJ Fanning2023-06-272-3/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910627 13f79535-47bb-0310-9956-ffa450edef68
* Remove deprecation warnings reported with newer commons-ioDominik Stadler2023-06-0892-155/+161
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910300 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
* 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 'an'PJ Fanning2023-03-185-6/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1908483 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66521: Add a utility to clear all thread localsDominik Stadler2023-03-111-0/+5
| | | | | | | | 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
* Update/fix JavaDoc and add "throws"Dominik Stadler2023-03-101-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1908240 13f79535-47bb-0310-9956-ffa450edef68
* [bug-66518] license headerPJ Fanning2023-03-081-0/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1908193 13f79535-47bb-0310-9956-ffa450edef68
* [bug-66518] fix issue in AbstractExcelUtils.getColor(HSSFColor)PJ Fanning2023-03-081-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1908192 13f79535-47bb-0310-9956-ffa450edef68
* [bug-66518] fix issue in AbstractExcelUtils.getColor(HSSFColor)PJ Fanning2023-03-081-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1908191 13f79535-47bb-0310-9956-ffa450edef68
* add testPJ Fanning2023-03-081-0/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1908190 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
* revert use of ExceptionUtil on caught exceptions (not useful)PJ Fanning2023-02-1414-78/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907654 13f79535-47bb-0310-9956-ffa450edef68
* fix up use of ExceptionUtil in main poi-scratchpad modulePJ Fanning2023-02-1414-8/+78
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907652 13f79535-47bb-0310-9956-ffa450edef68
* Saxon-HE is included in more place, combine these into the main gradle buildDominik Stadler2023-01-061-4/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906427 13f79535-47bb-0310-9956-ffa450edef68
* Avoid some NullPointerException and ClassCastExceptions found when fuzzing ↵Dominik Stadler2023-01-037-10/+54
| | | | | | | | | 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
* Change more assertions to proper checksDominik Stadler2023-01-011-2/+6
| | | | | | | 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
* Prevent more cases of unbounded allocationDominik Stadler2023-01-012-15/+68
| | | | | | Test WordToTextConverter with all sample files git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906326 13f79535-47bb-0310-9956-ffa450edef68
* Avoid some NullPointerExceptions and ClassCastExceptions found when fuzzing ↵Dominik Stadler2023-01-016-10/+24
| | | | | | | | | 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
* [github-409] Textruns not honouring highlight. Thans to gffloodg. This ↵PJ Fanning2022-12-281-0/+1
| | | | | | closes #409 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906248 13f79535-47bb-0310-9956-ffa450edef68
* try to get rid of cached module-info classesPJ Fanning2022-12-273-32/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906232 13f79535-47bb-0310-9956-ffa450edef68
* doesn't matter what jdk vendor is used to build module-info classesPJ Fanning2022-12-261-2/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906212 13f79535-47bb-0310-9956-ffa450edef68
* try to fix buildPJ Fanning2022-12-261-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906208 13f79535-47bb-0310-9956-ffa450edef68
* rebuild module-info.class files even if Java8 usedPJ Fanning2022-12-251-10/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906207 13f79535-47bb-0310-9956-ffa450edef68
* try to build sbomsPJ Fanning2022-12-211-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906146 13f79535-47bb-0310-9956-ffa450edef68
* cyclonedx per modulePJ Fanning2022-12-211-0/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906134 13f79535-47bb-0310-9956-ffa450edef68
* license issuePJ Fanning2022-11-041-0/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1905063 13f79535-47bb-0310-9956-ffa450edef68
* [bug-66335] apply rest of fixPJ Fanning2022-11-042-4/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1905062 13f79535-47bb-0310-9956-ffa450edef68
* [bug-66335] add test case for issue and add some of the code from purported fixPJ Fanning2022-11-042-0/+41
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1905061 13f79535-47bb-0310-9956-ffa450edef68
* update javadocPJ Fanning2022-11-021-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1905029 13f79535-47bb-0310-9956-ffa450edef68
* [bug-66301] Add a method to properly write the header necessary for a MSG ↵PJ Fanning2022-10-183-17/+113
| | | | | | attachment. Thanks to Lyn Evans. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1904685 13f79535-47bb-0310-9956-ffa450edef68
* try to use IllegalStateException instead of RuntimeExceptionPJ Fanning2022-09-146-17/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1904065 13f79535-47bb-0310-9956-ffa450edef68
* try to use IllegalStateException instead of RuntimeExceptionPJ Fanning2022-09-1412-12/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1904051 13f79535-47bb-0310-9956-ffa450edef68
* try to use IllegalStateException instead of RuntimeExceptionPJ Fanning2022-09-142-4/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1904050 13f79535-47bb-0310-9956-ffa450edef68
* some lgtm issuesPJ Fanning2022-09-132-8/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1904048 13f79535-47bb-0310-9956-ffa450edef68
* [bug-63576] support capitalized text in WordExtractor (HWPF)PJ Fanning2022-08-282-0/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903738 13f79535-47bb-0310-9956-ffa450edef68
* sonar issuesPJ Fanning2022-08-252-11/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903686 13f79535-47bb-0310-9956-ffa450edef68
* more int narrowingPJ Fanning2022-08-192-9/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903562 13f79535-47bb-0310-9956-ffa450edef68
* more int narrowingPJ Fanning2022-08-195-22/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903560 13f79535-47bb-0310-9956-ffa450edef68
* test issuePJ Fanning2022-08-191-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903555 13f79535-47bb-0310-9956-ffa450edef68
* some int narrowingPJ Fanning2022-08-197-23/+23
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903551 13f79535-47bb-0310-9956-ffa450edef68
* remove unnecessary lPJ Fanning2022-08-072-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903266 13f79535-47bb-0310-9956-ffa450edef68
* [github-367] use uppercase L for longs. Thanks to Arturo Bernal. This closes ↵PJ Fanning2022-08-075-5/+5
| | | | | | #367 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903265 13f79535-47bb-0310-9956-ffa450edef68
* [github-365] use lambdas. Thanks to Arturo Bernal. This closes #365PJ Fanning2022-08-063-26/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903258 13f79535-47bb-0310-9956-ffa450edef68
* [github-366] remove unnecessary local vars. Thanks to Arturo Bernal. This ↵PJ Fanning2022-08-062-8/+4
| | | | | | closes #366 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903257 13f79535-47bb-0310-9956-ffa450edef68
* [github-364] use Math.min/max. Thanks to Arturo Bernal. This closes #364PJ Fanning2022-08-061-2/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903256 13f79535-47bb-0310-9956-ffa450edef68