aboutsummaryrefslogtreecommitdiffstats
path: root/poi-scratchpad
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Prevent one more case of allocating endlessly on invalid TNEF/HMEF/MAPI filesDominik Stadler2022-03-202-10/+16
| | | | | | Limit the number of attributes to 10,000 by default git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899072 13f79535-47bb-0310-9956-ffa450edef68
* Fix issues found when fuzzing Apache POI via JazzerDominik Stadler2022-03-205-21/+49
| | | | | | | | | | Replace assertions with actual checks when input-data can trigger them. We would not handle such input-data properly otherwise. Sometimes logging seems a better option if the issue is not blocking us from parsing the document anyway git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899070 13f79535-47bb-0310-9956-ffa450edef68
* Add/update some JavaDocDominik Stadler2022-02-2412-41/+42
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898385 13f79535-47bb-0310-9956-ffa450edef68
* Use gradle toolchain to specify the jdk version and vendor, e.g.Andreas Beeker2022-02-211-9/+21
| | | | | | > gradle -no-build-cache -PjdkVersion=16 -PjdkVendor=oracle clean check git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898288 13f79535-47bb-0310-9956-ffa450edef68
* refactor some stream codePJ Fanning2022-02-194-35/+38
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898221 13f79535-47bb-0310-9956-ffa450edef68
* refactor some stream codePJ Fanning2022-02-192-33/+36
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898216 13f79535-47bb-0310-9956-ffa450edef68
* refactor some stream codePJ Fanning2022-02-198-132/+142
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898213 13f79535-47bb-0310-9956-ffa450edef68
* rework testPJ Fanning2022-02-191-4/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898212 13f79535-47bb-0310-9956-ffa450edef68
* [bug-65899] fix issue where malformed tnef file can cause memory problemsPJ Fanning2022-02-192-3/+22
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898208 13f79535-47bb-0310-9956-ffa450edef68
* revert test module changesPJ Fanning2022-01-221-5/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897355 13f79535-47bb-0310-9956-ffa450edef68
* try to fix build for Java 9+PJ Fanning2022-01-222-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897344 13f79535-47bb-0310-9956-ffa450edef68
* try to fix build for Java 9+PJ Fanning2022-01-221-1/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897343 13f79535-47bb-0310-9956-ffa450edef68
* Don't add main classes to *-test.jar filesDominik Stadler2022-01-221-1/+1
| | | | | | | Better to only provide them once to avoid very strange errors if they differ for some reason git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897330 13f79535-47bb-0310-9956-ffa450edef68
* Introduce an OldVisioFormatException similar to other file-typesDominik Stadler2022-01-223-8/+33
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897321 13f79535-47bb-0310-9956-ffa450edef68
* remove use of deprecated commons-math methodsPJ Fanning2022-01-171-2/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897138 13f79535-47bb-0310-9956-ffa450edef68
* remove and prevent links to stackoverflowAndreas Beeker2022-01-102-33/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896899 13f79535-47bb-0310-9956-ffa450edef68
* Bug 65796: License violation in PICT.javaAxel Howind2022-01-101-19/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896887 13f79535-47bb-0310-9956-ffa450edef68
* Increase new limits for files processed in the mass-regression-testsDominik Stadler2022-01-061-1/+1
| | | | | | | Some valid test-files do trigger these limits, which indicates that we should set them a bit higher git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896745 13f79535-47bb-0310-9956-ffa450edef68
* Limit allocated elements in the PlfLfo structure for word documentsDominik Stadler2022-01-062-3/+9
| | | | | | | Use large allocation-detection here as well, otherwise some documents can try to allocate too much memory. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896744 13f79535-47bb-0310-9956-ffa450edef68
* Add a dependency for :poi-scratchpad:javadoc to :poi-ooxml:jar to avoid ↵Dominik Stadler2022-01-011-0/+4
| | | | | | strange build-failures with parallel building git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896604 13f79535-47bb-0310-9956-ffa450edef68
* use isEmpty()PJ Fanning2021-12-302-6/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896547 13f79535-47bb-0310-9956-ffa450edef68
* use isEmpty()PJ Fanning2021-12-303-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896541 13f79535-47bb-0310-9956-ffa450edef68