PJ Fanning
1d510c7fc3
allow ATP function override
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1925444 13f79535-47bb-0310-9956-ffa450edef68
2025-05-06 21:19:43 +00:00
PJ Fanning
a7231a3764
allow ATP function override
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1925443 13f79535-47bb-0310-9956-ffa450edef68
2025-05-06 20:49:57 +00:00
PJ Fanning
cdcc14d6e3
allow ATP function override
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1925442 13f79535-47bb-0310-9956-ffa450edef68
2025-05-06 20:29:55 +00:00
PJ Fanning
e867e371be
typos (an)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1925440 13f79535-47bb-0310-9956-ffa450edef68
2025-05-06 20:12:35 +00:00
Dominik Stadler
7aa4ae3bc1
Bug 69667: Test more variants of valid and invalid usernames
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1925429 13f79535-47bb-0310-9956-ffa450edef68
2025-05-06 06:04:44 +00:00
PJ Fanning
c37b4ee0d5
add test
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1925420 13f79535-47bb-0310-9956-ffa450edef68
2025-05-05 18:43:08 +00:00
Dominik Stadler
9e30ffc0de
Bug 69667: Handle slightly broken WriteAccessRecord gracefully
...
It seems some software creates records with invalid length.
If it uses UTF-16LE encoding, we can end up with 109 bytes,
which is invalid as UTF-16LE always requires an even number of
bytes.
Therefor we now sanitize the number of bytes we read from the
record to avoid this issue.
Also improve error message and add tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1925419 13f79535-47bb-0310-9956-ffa450edef68
2025-05-05 17:23:59 +00:00
PJ Fanning
22192ce2cc
add SHEET function to list of allowed functions
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1925374 13f79535-47bb-0310-9956-ffa450edef68
2025-05-02 23:26:16 +00:00
PJ Fanning
e458192cf2
upgrade plugins
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1925353 13f79535-47bb-0310-9956-ffa450edef68
2025-05-01 13:16:14 +00:00
PJ Fanning
fe0a4f1166
[bug-69658] use EnumMap elsewhere
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1925251 13f79535-47bb-0310-9956-ffa450edef68
2025-04-24 11:25:00 +00:00
PJ Fanning
691c8baa5a
[bug-69658] use EnumMap elsewhere
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1925250 13f79535-47bb-0310-9956-ffa450edef68
2025-04-24 11:21:36 +00:00
PJ Fanning
712c484a65
[bug-69658] use EnumMap in CellUtil
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1925249 13f79535-47bb-0310-9956-ffa450edef68
2025-04-24 10:31:04 +00:00
PJ Fanning
694538aed0
commons-collections 4.5.0
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1925238 13f79535-47bb-0310-9956-ffa450edef68
2025-04-23 19:44:41 +00:00
Dominik Stadler
0036655df4
ForbiddenApis: Adjust for deprecations in JDK 21+
...
Fix failures reported when raising the language level to 23
new URL() is deprecated
new Locale() is deprecated
still allow ThreadDeath and Thread.getId() for now to keep support for JDK 8
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1925199 13f79535-47bb-0310-9956-ffa450edef68
2025-04-21 12:07:21 +00:00
Dominik Stadler
3d66281e6d
Add more output to test to try to see why it fails now with JDK 23
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1925189 13f79535-47bb-0310-9956-ffa450edef68
2025-04-21 08:51:08 +00:00
Dominik Stadler
85aa74414c
Add test which populates cells with null string
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1925187 13f79535-47bb-0310-9956-ffa450edef68
2025-04-21 08:51:02 +00:00
PJ Fanning
5c82a0890c
build issues due to commons-io 2.19.0
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1925059 13f79535-47bb-0310-9956-ffa450edef68
2025-04-12 18:56:26 +00:00
PJ Fanning
b3d0fe52d3
[bug-69628] more changes to getMax methods
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1924994 13f79535-47bb-0310-9956-ffa450edef68
2025-04-10 13:58:44 +00:00
PJ Fanning
cdb8fad845
[bug-69628] in ZipArchiveFakeEntry, use min of IOUtils and ZipArchiveFakeEntry entry size limits
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1924657 13f79535-47bb-0310-9956-ffa450edef68
2025-03-27 09:32:19 +00:00
PJ Fanning
f90274e518
[bug-69628] make IOUtils more tolerant of len < 0
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1924601 13f79535-47bb-0310-9956-ffa450edef68
2025-03-25 21:12:23 +00:00
PJ Fanning
d8a2bbb900
[bug-69628] make ZipArchiveFakeEntry.setMaxEntrySize publicly accessible
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1924593 13f79535-47bb-0310-9956-ffa450edef68
2025-03-25 16:08:59 +00:00
PJ Fanning
a076204fac
add test
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1924539 13f79535-47bb-0310-9956-ffa450edef68
2025-03-23 20:59:01 +00:00
PJ Fanning
49aef015a8
fix test issue
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1924535 13f79535-47bb-0310-9956-ffa450edef68
2025-03-23 11:17:30 +00:00
PJ Fanning
70a69a4917
partially revert cell toString changes
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1924534 13f79535-47bb-0310-9956-ffa450edef68
2025-03-23 11:00:33 +00:00
PJ Fanning
71dcabc947
partially revert cell toString changes
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1924533 13f79535-47bb-0310-9956-ffa450edef68
2025-03-23 10:59:43 +00:00
PJ Fanning
af040998f4
fix spelling of separate
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1924321 13f79535-47bb-0310-9956-ffa450edef68
2025-03-11 23:44:59 +00:00
PJ Fanning
9e64e029e0
add datetime test
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1923882 13f79535-47bb-0310-9956-ffa450edef68
2025-02-17 20:34:51 +00:00
PJ Fanning
5b12033b99
add datetime test
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1923881 13f79535-47bb-0310-9956-ffa450edef68
2025-02-17 20:23:13 +00:00
PJ Fanning
7d87f1b5cd
fix problem test (SXXSF)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1923819 13f79535-47bb-0310-9956-ffa450edef68
2025-02-14 21:25:55 +00:00
PJ Fanning
41d42717d4
temp disable problem test (SXXSF)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1923797 13f79535-47bb-0310-9956-ffa450edef68
2025-02-13 22:55:05 +00:00
PJ Fanning
3be17c823d
fix some of the broken tests
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1923796 13f79535-47bb-0310-9956-ffa450edef68
2025-02-13 22:21:51 +00:00
PJ Fanning
961c83fb4e
fix some of the broken tests
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1923795 13f79535-47bb-0310-9956-ffa450edef68
2025-02-13 22:03:23 +00:00
PJ Fanning
50dcbd390b
fix some of the broken tests
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1923794 13f79535-47bb-0310-9956-ffa450edef68
2025-02-13 21:40:26 +00:00
PJ Fanning
ca8014ebef
refactor cell toString to use DataFormatter
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1923790 13f79535-47bb-0310-9956-ffa450edef68
2025-02-13 20:24:17 +00:00
PJ Fanning
694765368e
[bug-69583] DateUtil needs to handle time only dates (issue with 1900 format dates)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1923785 13f79535-47bb-0310-9956-ffa450edef68
2025-02-13 12:34:38 +00:00
PJ Fanning
8ad10c0ed7
format
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1923782 13f79535-47bb-0310-9956-ffa450edef68
2025-02-13 10:55:37 +00:00
PJ Fanning
3a3effca65
[bug-69583] when copying cells with dates - prefer using the numeric data directly
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1923780 13f79535-47bb-0310-9956-ffa450edef68
2025-02-13 10:53:16 +00:00
PJ Fanning
d6d403371a
add some doc
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1923767 13f79535-47bb-0310-9956-ffa450edef68
2025-02-12 23:52:17 +00:00
PJ Fanning
bff0b98095
[bug-69583] when copying cells with dates - prefer using the numeric data directly
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1923766 13f79535-47bb-0310-9956-ffa450edef68
2025-02-12 22:09:44 +00:00
PJ Fanning
ed744e15b4
remove line
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1923765 13f79535-47bb-0310-9956-ffa450edef68
2025-02-12 21:56:12 +00:00
PJ Fanning
79e5e6ae16
allow users supply a SheetUtil failover function
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1923467 13f79535-47bb-0310-9956-ffa450edef68
2025-01-30 22:29:43 +00:00
PJ Fanning
0f560377be
allow users supply a SheetUtil failover function
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1923466 13f79535-47bb-0310-9956-ffa450edef68
2025-01-30 22:15:32 +00:00
PJ Fanning
43aded3d9c
[bug-69555] need to work around inability to create a TextLayout in another place (caused by missing fonts most likely)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1923445 13f79535-47bb-0310-9956-ffa450edef68
2025-01-29 17:24:30 +00:00
Dominik Stadler
1dbcea46d5
Some changes to the Gradle build
...
Apply IDE suggestions for Gradle build files
Remove obsolete sorting of gradle-wrapper.properties
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1923284 13f79535-47bb-0310-9956-ffa450edef68
2025-01-20 20:05:58 +00:00
Axel Howind
c85e91e25c
remove unused import
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1923082 13f79535-47bb-0310-9956-ffa450edef68
2025-01-11 22:56:46 +00:00
Axel Howind
4962a04bbf
Support long month names, dot after day, single digit day of month
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1923081 13f79535-47bb-0310-9956-ffa450edef68
2025-01-11 22:46:10 +00:00
Dominik Stadler
0ab1ccc20a
Ensure that test which changes static value does not run at the same time as other tests
...
Otherwise we get strange test-failures in other places.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1923066 13f79535-47bb-0310-9956-ffa450edef68
2025-01-11 10:26:07 +00:00
Dominik Stadler
57afb34a18
Bug 66425: Avoid exceptions found via poi-fuzz
...
Prevent a NullPointerException
Fixes https://issues.oss-fuzz.com/issues/379574870
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1923059 13f79535-47bb-0310-9956-ffa450edef68
2025-01-11 09:24:08 +00:00
Dominik Stadler
a4097e05aa
Bug 65190: Handle decimal format '0#' the same way as Excel
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1923056 13f79535-47bb-0310-9956-ffa450edef68
2025-01-11 09:23:55 +00:00
Dominik Stadler
38e7fe63a8
Apply IDE suggestions, code-formating, tests, ...
...
Add test for DefaultTempFileCreationStrategy
Adjust comments, add test, improve error message
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1923054 13f79535-47bb-0310-9956-ffa450edef68
2025-01-11 09:23:46 +00:00