aboutsummaryrefslogtreecommitdiffstats
path: root/poi
Commit message (Collapse)AuthorAgeFilesLines
* call next release poi 5.4.0PJ Fanning2024-10-297-35/+35
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1921653 13f79535-47bb-0310-9956-ffa450edef68
* [bug-69418] Issue when evaluating WORKDAY function that has a cell ref as ↵PJ Fanning2024-10-293-1/+18
| | | | | | 2nd param git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1921651 13f79535-47bb-0310-9956-ffa450edef68
* add workday testPJ Fanning2024-10-292-0/+76
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1921649 13f79535-47bb-0310-9956-ffa450edef68
* immutable mapsPJ Fanning2024-10-268-45/+61
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1921575 13f79535-47bb-0310-9956-ffa450edef68
* try to make VariantSupport thread safePJ Fanning2024-10-151-11/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1921341 13f79535-47bb-0310-9956-ffa450edef68
* make static maps finalPJ Fanning2024-10-152-6/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1921340 13f79535-47bb-0310-9956-ffa450edef68
* [github-709] Make BitFieldFactory threadsafe. Thanks to ZhangChen. This ↵PJ Fanning2024-10-151-2/+2
| | | | | | closes #709 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1921332 13f79535-47bb-0310-9956-ffa450edef68
* [github-704] Add UserNameAwareTempFileCreationStrategy. Thanks to ↵PJ Fanning2024-10-063-32/+135
| | | | | | TigerZCoder. This closes #704 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1921154 13f79535-47bb-0310-9956-ffa450edef68
* [bug-69351] fix issues with removing items from IntListPJ Fanning2024-09-292-2/+36
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1921017 13f79535-47bb-0310-9956-ffa450edef68
* [github-692] D* functions are incompatible with the diamond operator. Thanks ↵PJ Fanning2024-09-207-17/+92
| | | | | | to Luk Spiewak. This closes #692 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1920817 13f79535-47bb-0310-9956-ffa450edef68
* [bug-69323] DefaultTempFileCreationStrategy should worry about OS deleting ↵PJ Fanning2024-09-131-5/+9
| | | | | | the temp dir. Thanks to Palle Girgensohn. This closes #691 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1920610 13f79535-47bb-0310-9956-ffa450edef68
* [bug-69209] default ignoreMissingFontSystem to truePJ Fanning2024-09-121-0/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1920601 13f79535-47bb-0310-9956-ffa450edef68
* [bug-69209] default ignoreMissingFontSystem to truePJ Fanning2024-09-121-3/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1920600 13f79535-47bb-0310-9956-ffa450edef68
* ant 1.10.15PJ Fanning2024-08-301-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1920302 13f79535-47bb-0310-9956-ffa450edef68
* update javadocPJ Fanning2024-08-271-0/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1920232 13f79535-47bb-0310-9956-ffa450edef68
* [github-682] Add CellPropertyType and CellPropertyCategory enums. Thanks to ↵PJ Fanning2024-08-279-555/+1868
| | | | | | Danila Avdeyenko. This closes #682 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1920230 13f79535-47bb-0310-9956-ffa450edef68
* add chinese hssf testPJ Fanning2024-07-191-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1919373 13f79535-47bb-0310-9956-ffa450edef68
* remove 22742.xlsPJ Fanning2024-07-191-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-181-2/+2
| | | | 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-182-11/+31
| | | | | | | | | | | | | | 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
* Bug 66425: Avoid exceptions found via poi-fuzzDominik Stadler2024-07-165-7/+98
| | | | | | | | | | | 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
* Apply some IDE suggestionsDominik Stadler2024-07-151-5/+5
| | | | 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-153-4/+31
| | | | | | | | | | | | 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
* Add initial support for SOURCE_DATE_EPOCHDominik Stadler2024-07-152-65/+96
| | | | | | | | | | | | | | | | 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
* Bug 66425: Avoid exceptions found via poi-fuzzDominik Stadler2024-07-142-0/+4
| | | | | | | | 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
* HSSFWorkbook.getSheet(): Return first found sheetDominik Stadler2024-07-071-6/+7
| | | | | | | | | | | | | | | | 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
* [bug-69154] add speculative row shifter fixPJ Fanning2024-07-022-6/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1918841 13f79535-47bb-0310-9956-ffa450edef68
* [bug-69154] XSSF: Shifting columns with merged regions generates an error ↵PJ Fanning2024-07-021-5/+5
| | | | | | about overlapping regions git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1918838 13f79535-47bb-0310-9956-ffa450edef68
* add dataformatter testPJ Fanning2024-07-021-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1918819 13f79535-47bb-0310-9956-ffa450edef68
* another dataformatter testPJ Fanning2024-07-022-0/+23
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1918817 13f79535-47bb-0310-9956-ffa450edef68
* disable new dataformatter test that is failingPJ Fanning2024-07-021-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1918809 13f79535-47bb-0310-9956-ffa450edef68
* add dataformatter testsPJ Fanning2024-07-011-1/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1918807 13f79535-47bb-0310-9956-ffa450edef68
* use standard ASF headerPJ Fanning2024-07-015-20/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1918804 13f79535-47bb-0310-9956-ffa450edef68
* Add one more case where timestamp could end upDominik Stadler2024-06-231-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1918517 13f79535-47bb-0310-9956-ffa450edef68
* [bug-69147] fix issues with text function when input is a datetime in string ↵PJ Fanning2024-06-212-1/+16
| | | | | | format git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1918501 13f79535-47bb-0310-9956-ffa450edef68
* add test related to bug-69147PJ Fanning2024-06-211-0/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1918499 13f79535-47bb-0310-9956-ffa450edef68
* issue with Java 22 returning string values insteadof booleansPJ Fanning2024-06-171-9/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1918397 13f79535-47bb-0310-9956-ffa450edef68
* issue with Java 22 returning string values insteadof booleansPJ Fanning2024-06-171-5/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1918396 13f79535-47bb-0310-9956-ffa450edef68
* getNextZipEntry deprecation warningsPJ Fanning2024-06-051-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1918177 13f79535-47bb-0310-9956-ffa450edef68
* BoundedInputStream deprecation warningsPJ Fanning2024-06-054-5/+27
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1918175 13f79535-47bb-0310-9956-ffa450edef68
* Apply IDE suggestions and ignore sonar false positiveDominik Stadler2024-06-025-167/+166
| | | | | | | Use NullOutputStream.INSTANCE Rework one test slightly git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1918116 13f79535-47bb-0310-9956-ffa450edef68
* Add simple test for font-widthDominik Stadler2024-06-021-2/+50
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1918115 13f79535-47bb-0310-9956-ffa450edef68
* [bug-69021] add guard around castPJ Fanning2024-05-172-5/+29
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1917779 13f79535-47bb-0310-9956-ffa450edef68
* add back check for if dir already existsPJ Fanning2024-05-081-5/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1917583 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid exceptions found via poi-fuzzDominik Stadler2024-04-224-8/+35
| | | | | | | | Avoid a possible NullPointerException Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=67922 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1917269 13f79535-47bb-0310-9956-ffa450edef68
* Add one more "flaky" byte when comparing two documentsDominik Stadler2024-04-201-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1917177 13f79535-47bb-0310-9956-ffa450edef68
* Comment out flaky assertion and add more information to find which file ↵Dominik Stadler2024-04-171-14/+15
| | | | | | fails in CI git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1917072 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid exceptions found via poi-fuzzDominik Stadler2024-04-174-1/+37
| | | | | | | | Use correct default date-format, add some tests Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=66381 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1917070 13f79535-47bb-0310-9956-ffa450edef68
* [github-607] Support SVGs in XWPF. Thanks to Etienne Gautier. This closes #607PJ Fanning2024-03-271-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1916582 13f79535-47bb-0310-9956-ffa450edef68
* Bug 68778: Verify "ignoreMissingFontSystem" for ↵Dominik Stadler2024-03-142-2/+185
| | | | | | | | | | | | | | | | | SheetUtil.getDefaultCharWidthAsFloat() This functionality saw some regressions at times and thus should be verified via unit-tests. We can simulate failures in the low-level font-system by mocking the FontRenderContext and triggering exceptions from there. This hopefully now verifies behavior of SheetUtil.getDefaultCharWidthAsFloat() both with "ignoreMissingFontSystem" enabled and disabled. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1916297 13f79535-47bb-0310-9956-ffa450edef68