aboutsummaryrefslogtreecommitdiffstats
path: root/poi-scratchpad
Commit message (Collapse)AuthorAgeFilesLines
* 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
* update some module-info classesPJ Fanning2022-07-252-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903003 13f79535-47bb-0310-9956-ffa450edef68
* [github-353] Use printf. Thanks to XenoAmess. This closes #353PJ Fanning2022-07-171-14/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902802 13f79535-47bb-0310-9956-ffa450edef68
* [github-354] Add extra methods to StringUtil and refactor some code to use ↵PJ Fanning2022-07-177-48/+53
| | | | | | them. Thanks to XenoAmess. This closes #354 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902801 13f79535-47bb-0310-9956-ffa450edef68
* [github-339] Add extra methods to StringUtil and refactor some code to use ↵PJ Fanning2022-07-173-3/+6
| | | | | | them. Thanks to XenoAmess. This closes #339 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902789 13f79535-47bb-0310-9956-ffa450edef68
* java 17 compile issuePJ Fanning2022-07-161-4/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902783 13f79535-47bb-0310-9956-ffa450edef68
* [github-342] Use foreach. Thanks to XenoAmess. This closes #342PJ Fanning2022-07-168-39/+38
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902778 13f79535-47bb-0310-9956-ffa450edef68
* [github-345] Use switch instead of if. Thanks to XenoAmess. This closes #345PJ Fanning2022-07-161-6/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902772 13f79535-47bb-0310-9956-ffa450edef68
* java 17 compile issuesPJ Fanning2022-07-162-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902761 13f79535-47bb-0310-9956-ffa450edef68
* [github-341] Remove unused imports. Thanks to XenoAmess. This closes #341PJ Fanning2022-07-1510-13/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902760 13f79535-47bb-0310-9956-ffa450edef68
* [github-361] reuse regex pattern instances. Thanks to XenoAmess. This closes ↵PJ Fanning2022-07-151-647/+670
| | | | | | #361 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902756 13f79535-47bb-0310-9956-ffa450edef68
* [github-340] make more use of StandardCharsets. Thanks to XenoAmess. This ↵PJ Fanning2022-07-154-5/+8
| | | | | | closes #340 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902755 13f79535-47bb-0310-9956-ffa450edef68
* [github-351] make test loop more efficientPJ Fanning2022-07-151-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902752 13f79535-47bb-0310-9956-ffa450edef68
* [bug-65634] NotOLE2FileException not thrown in POI 5.0.0 by opening an ↵PJ Fanning2022-07-011-0/+31
| | | | | | XML-RAW File with SlideShowFactory.create() git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902395 13f79535-47bb-0310-9956-ffa450edef68
* Fix issues found when fuzzing Apache POI via JazzerDominik Stadler2022-03-241-2/+0
| | | | | | Do not assert when the next line will throw a proper exception anyway git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899162 13f79535-47bb-0310-9956-ffa450edef68
* increase max size of hwmf picturePJ Fanning2022-03-221-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899135 13f79535-47bb-0310-9956-ffa450edef68
* use spaces for indentsPJ Fanning2022-03-206-36/+36
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899082 13f79535-47bb-0310-9956-ffa450edef68
* Remove unused imports, remove unnecessary boxing of int-value and apply some ↵Dominik Stadler2022-03-201-3/+0
| | | | | | other IDE suggestions git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899076 13f79535-47bb-0310-9956-ffa450edef68
* Fix issues found when fuzzing Apache POI via JazzerDominik Stadler2022-03-203-3/+13
| | | | | | | Throw RecordFormatException instead of NPE or assertion for cases that can be triggered by a malformed document git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899073 13f79535-47bb-0310-9956-ffa450edef68