PJ Fanning
5874f55dcc
add mirr test
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1922096 13f79535-47bb-0310-9956-ffa450edef68
2024-11-25 21:09:54 +00:00
PJ Fanning
edb9aeaca5
[github-733] Fix rate order in Mirr function. Thanks to Aleksandrs Jansons. This closes #733
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1922095 13f79535-47bb-0310-9956-ffa450edef68
2024-11-25 20:48:45 +00:00
PJ Fanning
0d63f9a814
[github-731] Fix the mini-stream size in the root property. This closes #731
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1922094 13f79535-47bb-0310-9956-ffa450edef68
2024-11-25 19:33:17 +00:00
PJ Fanning
799aef54fe
PoiLogManager
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1922063 13f79535-47bb-0310-9956-ffa450edef68
2024-11-24 21:02:58 +00:00
PJ Fanning
f5cb9588a0
PoiLogManager
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1922060 13f79535-47bb-0310-9956-ffa450edef68
2024-11-24 20:17:07 +00:00
PJ Fanning
ba79c4c3c1
forbidden-apis
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1922057 13f79535-47bb-0310-9956-ffa450edef68
2024-11-24 20:02:18 +00:00
PJ Fanning
a2af56511f
PoiLogManager
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1922056 13f79535-47bb-0310-9956-ffa450edef68
2024-11-24 19:52:24 +00:00
PJ Fanning
924d8e7894
PoiLogManager
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1922055 13f79535-47bb-0310-9956-ffa450edef68
2024-11-24 19:48:55 +00:00
Dominik Stadler
7c881a408f
More tests for reproducible outputs
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1921981 13f79535-47bb-0310-9956-ffa450edef68
2024-11-20 20:29:45 +00:00
Dominik Stadler
c1f018f79c
Apply some IDE suggestions, JavaDoc and GitHub PR
...
Update assertion-message
Adjust JavaDoc
Add tests
Reformat class DirectoryNode, adjust/move some comments
Closes #730
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1921980 13f79535-47bb-0310-9956-ffa450edef68
2024-11-20 20:29:38 +00:00
PJ Fanning
8c77000e8d
[bug-66590] Number of blocks used by the property table missing from the file header. Thanks to Emmanuel Bourg. This closes #728
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1921956 13f79535-47bb-0310-9956-ffa450edef68
2024-11-19 17:39:09 +00:00
PJ Fanning
0f42425f8c
[gitub-727] Remove DSTAMP token substitution. Thanks to Emmanuel Bourg. This closes #727
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1921954 13f79535-47bb-0310-9956-ffa450edef68
2024-11-19 09:36:00 +00:00
PJ Fanning
0aa9e2bbb7
[bug-66590] Number of blocks used by the property table missing from the file header. Thanks to Emmanuel Bourg. This closes #462
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1921937 13f79535-47bb-0310-9956-ffa450edef68
2024-11-18 17:33:04 +00:00
PJ Fanning
1df9b9c5cb
[bug-66590] Number of blocks used by the property table missing from the file header. Thanks to Emmanuel Bourg. This closes #462
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1921936 13f79535-47bb-0310-9956-ffa450edef68
2024-11-18 17:28:36 +00:00
PJ Fanning
a43cc4a41a
call next release poi 5.4.0
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1921653 13f79535-47bb-0310-9956-ffa450edef68
2024-10-29 18:22:59 +00:00
PJ Fanning
7ea956189d
[bug-69418] Issue when evaluating WORKDAY function that has a cell ref as 2nd param
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1921651 13f79535-47bb-0310-9956-ffa450edef68
2024-10-29 18:18:12 +00:00
PJ Fanning
a185d08880
add workday test
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1921649 13f79535-47bb-0310-9956-ffa450edef68
2024-10-29 17:49:27 +00:00
PJ Fanning
9185ec02c5
immutable maps
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1921575 13f79535-47bb-0310-9956-ffa450edef68
2024-10-26 16:34:40 +00:00
PJ Fanning
24452a2ecb
try to make VariantSupport thread safe
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1921341 13f79535-47bb-0310-9956-ffa450edef68
2024-10-15 16:39:09 +00:00
PJ Fanning
822974aadc
make static maps final
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1921340 13f79535-47bb-0310-9956-ffa450edef68
2024-10-15 16:33:15 +00:00
PJ Fanning
ab68210d2a
[github-709] Make BitFieldFactory threadsafe. Thanks to ZhangChen. This closes #709
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1921332 13f79535-47bb-0310-9956-ffa450edef68
2024-10-15 12:58:33 +00:00
PJ Fanning
d034f954bd
[github-704] Add UserNameAwareTempFileCreationStrategy. Thanks to TigerZCoder. This closes #704
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1921154 13f79535-47bb-0310-9956-ffa450edef68
2024-10-06 17:30:49 +00:00
PJ Fanning
52039e220d
[bug-69351] fix issues with removing items from IntList
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1921017 13f79535-47bb-0310-9956-ffa450edef68
2024-09-29 07:12:48 +00:00
PJ Fanning
a139a17909
[github-692] D* functions are incompatible with the diamond operator. Thanks to Luk Spiewak. This closes #692
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1920817 13f79535-47bb-0310-9956-ffa450edef68
2024-09-20 20:20:34 +00:00
PJ Fanning
5a977d1a7b
[bug-69323] DefaultTempFileCreationStrategy should worry about OS deleting 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
2024-09-13 11:09:21 +00:00
PJ Fanning
5b404ebc6b
[bug-69209] default ignoreMissingFontSystem to true
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1920601 13f79535-47bb-0310-9956-ffa450edef68
2024-09-12 21:32:17 +00:00
PJ Fanning
5fd1f28b4b
[bug-69209] default ignoreMissingFontSystem to true
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1920600 13f79535-47bb-0310-9956-ffa450edef68
2024-09-12 21:16:34 +00:00
PJ Fanning
cb1f341bb9
ant 1.10.15
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1920302 13f79535-47bb-0310-9956-ffa450edef68
2024-08-30 17:37:58 +00:00
PJ Fanning
41ea754510
update javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1920232 13f79535-47bb-0310-9956-ffa450edef68
2024-08-27 18:46:55 +00:00
PJ Fanning
abf153d6a4
[github-682] Add CellPropertyType and CellPropertyCategory enums. Thanks to Danila Avdeyenko. This closes #682
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1920230 13f79535-47bb-0310-9956-ffa450edef68
2024-08-27 18:36:59 +00:00
PJ Fanning
c05eebf415
add chinese hssf test
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1919373 13f79535-47bb-0310-9956-ffa450edef68
2024-07-19 14:19:35 +00:00
PJ Fanning
889ba37ae9
remove 22742.xls
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1919372 13f79535-47bb-0310-9956-ffa450edef68
2024-07-19 13:36:06 +00:00
Dominik Stadler
6739970530
Apply some IDE suggestions, improve JavaDoc and simplify reporting log messages
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1919343 13f79535-47bb-0310-9956-ffa450edef68
2024-07-18 07:10:35 +00:00
Dominik Stadler
0dea4a301c
Bug 66425: Avoid exceptions found via poi-fuzz
...
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
2024-07-18 07:09:32 +00:00
Dominik Stadler
09fbfd5be4
Bug 66425: Avoid exceptions found via poi-fuzz
...
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
2024-07-16 05:26:42 +00:00
Dominik Stadler
a3d9c025e9
Apply some IDE suggestions
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1919257 13f79535-47bb-0310-9956-ffa450edef68
2024-07-15 13:03:19 +00:00
Dominik Stadler
2582e5e0c1
Bug 66425: Avoid exceptions found via poi-fuzz
...
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
2024-07-15 13:02:43 +00:00
Dominik Stadler
5085e3d1b2
Add initial support for SOURCE_DATE_EPOCH
...
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
2024-07-15 05:40:56 +00:00
Dominik Stadler
fc17f113d8
Bug 66425: Avoid exceptions found via poi-fuzz
...
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
2024-07-14 11:26:50 +00:00
Dominik Stadler
164c239a52
HSSFWorkbook.getSheet(): Return first found sheet
...
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
2024-07-07 05:03:15 +00:00
PJ Fanning
e1c6168682
[bug-69154] add speculative row shifter fix
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1918841 13f79535-47bb-0310-9956-ffa450edef68
2024-07-02 13:10:29 +00:00
PJ Fanning
3d1375deee
[bug-69154] XSSF: Shifting columns with merged regions generates an error about overlapping regions
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1918838 13f79535-47bb-0310-9956-ffa450edef68
2024-07-02 12:58:37 +00:00
PJ Fanning
6e07ce50dd
add dataformatter test
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1918819 13f79535-47bb-0310-9956-ffa450edef68
2024-07-02 09:42:02 +00:00
PJ Fanning
04c9d0a3c1
another dataformatter test
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1918817 13f79535-47bb-0310-9956-ffa450edef68
2024-07-02 09:08:40 +00:00
PJ Fanning
3f246cc189
disable new dataformatter test that is failing
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1918809 13f79535-47bb-0310-9956-ffa450edef68
2024-07-02 00:22:49 +00:00
PJ Fanning
648a2e58b0
add dataformatter tests
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1918807 13f79535-47bb-0310-9956-ffa450edef68
2024-07-01 23:45:40 +00:00
PJ Fanning
7e86ff1bb0
use standard ASF header
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1918804 13f79535-47bb-0310-9956-ffa450edef68
2024-07-01 23:06:36 +00:00
Dominik Stadler
434b1ab8e6
Add one more case where timestamp could end up
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1918517 13f79535-47bb-0310-9956-ffa450edef68
2024-06-23 07:38:30 +00:00
PJ Fanning
d530977347
[bug-69147] fix issues with text function when input is a datetime in string format
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1918501 13f79535-47bb-0310-9956-ffa450edef68
2024-06-21 20:25:46 +00:00
PJ Fanning
461691ef0e
add test related to bug-69147
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1918499 13f79535-47bb-0310-9956-ffa450edef68
2024-06-21 20:03:50 +00:00