aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* upgrade commons-compressPJ Fanning2024-08-202-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1920072 13f79535-47bb-0310-9956-ffa450edef68
* upgrade cyclonedxPJ Fanning2024-08-201-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1920071 13f79535-47bb-0310-9956-ffa450edef68
* gradle 8.10PJ Fanning2024-08-164-13/+18
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1919930 13f79535-47bb-0310-9956-ffa450edef68
* [github-673] Add word10.xsd to poi-ooxml-full. Thanks to fangd1997. This ↵PJ Fanning2024-08-164-2/+566
| | | | | | closes #673 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1919929 13f79535-47bb-0310-9956-ffa450edef68
* [github-672] Support removing XWPF Styles. Thanks to fangd1997. This closes #672PJ Fanning2024-08-152-6/+56
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1919918 13f79535-47bb-0310-9956-ffa450edef68
* junit 5.11.0PJ Fanning2024-08-142-5/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1919896 13f79535-47bb-0310-9956-ffa450edef68
* [github-670] XWPFRun.getText should support delInstrText and noBreakHyphen. ↵PJ Fanning2024-08-142-2/+16
| | | | | | Thanks to fangd1997. This closes #670 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1919895 13f79535-47bb-0310-9956-ffa450edef68
* slf4j 2.0.16PJ Fanning2024-08-115-5/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1919805 13f79535-47bb-0310-9956-ffa450edef68
* pdfbox 3.0.3PJ Fanning2024-08-092-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1919786 13f79535-47bb-0310-9956-ffa450edef68
* commons-compress 1.27.0PJ Fanning2024-08-092-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1919785 13f79535-47bb-0310-9956-ffa450edef68
* slf4j 2.0.15PJ Fanning2024-08-085-5/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1919749 13f79535-47bb-0310-9956-ffa450edef68
* slf4j 2.0.14PJ Fanning2024-08-075-5/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1919716 13f79535-47bb-0310-9956-ffa450edef68
* hamcrest 3.0PJ Fanning2024-08-012-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1919622 13f79535-47bb-0310-9956-ffa450edef68
* upgrade cyclondexPJ Fanning2024-07-301-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1919596 13f79535-47bb-0310-9956-ffa450edef68
* remove unnecessary xz test dependendencyPJ Fanning2024-07-301-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1919595 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid exceptions found via poi-fuzzDominik Stadler2024-07-283-2/+2
| | | | | | | | Prevent a possible NullPointerException Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=70467 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1919562 13f79535-47bb-0310-9956-ffa450edef68
* add chinese hssf testPJ Fanning2024-07-192-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1919373 13f79535-47bb-0310-9956-ffa450edef68
* remove 22742.xlsPJ Fanning2024-07-192-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1919372 13f79535-47bb-0310-9956-ffa450edef68
* Apply some IDE suggestions, improve JavaDoc and simplify reporting log messagesDominik Stadler2024-07-183-6/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1919343 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid exceptions found via poi-fuzzDominik Stadler2024-07-186-12/+34
| | | | | | | | | | | | | | Processing formats uses regular expressions. Very complex formats can recurse very deeply and thus can cause StackOVerflows depending on the used stack-size. In order to handle this a bit more gracefully, we now catch this and report a better exception with details about the parsed format and potential mitigation. Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=66137 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1919342 13f79535-47bb-0310-9956-ffa450edef68
* commons-codec 1.17.1 - no need to note Saxon upgrade (only used in tests)PJ Fanning2024-07-162-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1919288 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid exceptions found via poi-fuzzDominik Stadler2024-07-162-1/+43
| | | | | | | | | | | | | Avoid a possible OutOfMemoryException with incorrect uniqueCount The ReadOnlySharedStringsTable pre-allocates whatever is stated in uniqueCount. As the uniqueCount may be an incorrect large number, we should cap it at some point to avoid OOMs if corrupt files are processed. Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=66137 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1919284 13f79535-47bb-0310-9956-ffa450edef68
* POI tmPJ Fanning2024-07-161-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1919276 13f79535-47bb-0310-9956-ffa450edef68
* gradle 8.9PJ Fanning2024-07-162-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1919274 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid exceptions found via poi-fuzzDominik Stadler2024-07-1610-7/+110
| | | | | | | | | | | Avoid a possible OutOfMemoryException with many child-records This avoids having too many children in EscherRecords, the limit of 100_000 is arbitrarily chosen and can be adjusted if needed Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=62924 and maybe others git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1919272 13f79535-47bb-0310-9956-ffa450edef68
* update bytebuddyPJ Fanning2024-07-152-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1919268 13f79535-47bb-0310-9956-ffa450edef68
* update gradle pluginsPJ Fanning2024-07-151-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1919266 13f79535-47bb-0310-9956-ffa450edef68
* Remove exclusions that are not necessary/usefulDominik Stadler2024-07-151-3/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1919258 13f79535-47bb-0310-9956-ffa450edef68
* Apply some IDE suggestionsDominik Stadler2024-07-152-7/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1919257 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid exceptions found via poi-fuzzDominik Stadler2024-07-156-4/+32
| | | | | | | | | | | | Avoid a possible StackOverflowException This adds support of counting of the "nesting level" into the base EscherRecord and thus makes this existing limitation much more effective as it kicks in for more types of nested records. Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=66374 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1919256 13f79535-47bb-0310-9956-ffa450edef68
* Optimize generating numbers for bullets in WordDominik Stadler2024-07-151-3/+8
| | | | | | | | | | | Using char[] instead of String improves performance of this operation considerably, especially in JDK 11+ where StringBuilder was switched to work on bytes instead of chars. This is likely only relevant for very large documents, it was visible in a synthetic test-file from fuzzing. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1919239 13f79535-47bb-0310-9956-ffa450edef68
* Reformat and add more testsDominik Stadler2024-07-152-26/+132
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1919238 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid exceptions found via poi-fuzzDominik Stadler2024-07-155-155/+126
| | | | | | | | Prevent too much memory usage Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=67413 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1919237 13f79535-47bb-0310-9956-ffa450edef68
* Add initial support for SOURCE_DATE_EPOCHDominik Stadler2024-07-157-74/+127
| | | | | | | | | | | | | | | | This allows to create reproducible binary files without creation/modification-timestamp being set when environment variable SOURCE_DATE_EPOCH is set. See https://reproducible-builds.org/docs/source-date-epoch/ for the related specification. For now, we ensure that Zip-file entries set the modification time to 1970-01-01, which seems to be enough to make simple OOXML files reproducible. There are likely some other places where resulting files are not reproducible, some more testing will be necessary to identify other areas that should take this into account as well. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1919236 13f79535-47bb-0310-9956-ffa450edef68
* Patch forrest to expect all links to be "https" instead of "http"Dominik Stadler2024-07-151-0/+7
| | | | | | | | | Otherwise generating documentation leads to incorrect links with "../https://..." Unfortunately Forrest is archived at Apache so we cannot get this fixed in Forrest anymore. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1919235 13f79535-47bb-0310-9956-ffa450edef68
* Adjust the name of the distribution-file in one more place.Dominik Stadler2024-07-141-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1919221 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid exceptions found via poi-fuzzDominik Stadler2024-07-142-7/+22
| | | | | | | | Prevent a NullPointerException Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=66400 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1919216 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid exceptions found via poi-fuzzDominik Stadler2024-07-143-1/+6
| | | | | | | | Prevent a NullPointerException Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=68104 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1919215 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid exceptions found via poi-fuzzDominik Stadler2024-07-145-0/+5
| | | | | | | | Prevent a ClassCastException Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=66089 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1919214 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid exceptions found via poi-fuzzDominik Stadler2024-07-143-2/+2
| | | | | | | | Prevent a NullPointerException Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=70273 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1919213 13f79535-47bb-0310-9956-ffa450edef68
* List expected failures in stress.xls instead of fully excluding themDominik Stadler2024-07-142-5/+2
| | | | | | | | We list expected failures in stress.xls to verify that the error message is correct and no unexpected exception is introduced git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1919212 13f79535-47bb-0310-9956-ffa450edef68
* update exception messagePJ Fanning2024-07-101-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1919091 13f79535-47bb-0310-9956-ffa450edef68
* add negative testPJ Fanning2024-07-093-0/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1919065 13f79535-47bb-0310-9956-ffa450edef68
* add test casePJ Fanning2024-07-093-0/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1919064 13f79535-47bb-0310-9956-ffa450edef68
* make validateEntryNames use case insensitive checkPJ Fanning2024-07-092-3/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1919058 13f79535-47bb-0310-9956-ffa450edef68
* Fix Paragraph.searchTextDominik Stadler2024-07-072-17/+67
| | | | | | | | | | | | The result was wrong for certain combinations of runs and found positions. The adjusted implementation fixes this. Also add a number of additional tests to verify results are correct. Closes #655 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1918986 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid exceptions found via poi-fuzzDominik Stadler2024-07-073-0/+3
| | | | | | | | Prevent a NullPointerException Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=69450 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1918985 13f79535-47bb-0310-9956-ffa450edef68
* HSSFWorkbook.getSheet(): Return first found sheetDominik Stadler2024-07-073-6/+13
| | | | | | | | | | | | | | | | We do not need to loop over all sheets always but should be able to return the first found sheet. This may change semantics for cases where there are multiple sheets where name only differs in case, but the JavaDoc did not state which one will be returned. All three implementations (HSSF, XSSF, SXSSF) now behave the same way. Closes #653 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1918982 13f79535-47bb-0310-9956-ffa450edef68
* update TestXSSFSheetShiftRowsPJ Fanning2024-07-061-2/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1918978 13f79535-47bb-0310-9956-ffa450edef68
* saxon 12.5PJ Fanning2024-07-022-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1918857 13f79535-47bb-0310-9956-ffa450edef68