1029 Commits

Author SHA1 Message Date
PJ Fanning
e6039d0deb [bug-65846] support numbervalue function
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897463 13f79535-47bb-0310-9956-ffa450edef68
2022-01-25 18:45:01 +00:00
PJ Fanning
f15a4da321 fail image size rescaling of infinite values used
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897406 13f79535-47bb-0310-9956-ffa450edef68
2022-01-24 09:53:19 +00:00
PJ Fanning
e71e602762 revert test module changes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897355 13f79535-47bb-0310-9956-ffa450edef68
2022-01-22 21:34:35 +00:00
PJ Fanning
1ee199b1ea try to fix build for Java 9+
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897344 13f79535-47bb-0310-9956-ffa450edef68
2022-01-22 14:35:20 +00:00
Dominik Stadler
bba249d522 Don't add main classes to *-test.jar files
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
2022-01-22 08:57:38 +00:00
Dominik Stadler
16a24ecd79 Improve error-message, include some details why processing the file fails
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897320 13f79535-47bb-0310-9956-ffa450edef68
2022-01-22 06:58:47 +00:00
Dominik Stadler
8f1c84c3fa Avoid stackoverflow exception that can be caused by a corrupted slideshow file
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897318 13f79535-47bb-0310-9956-ffa450edef68
2022-01-22 06:58:39 +00:00
PJ Fanning
68ce022531 [github-296] cache data of external workbook. Thanks to aspojo. This closes #296
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897311 13f79535-47bb-0310-9956-ffa450edef68
2022-01-21 19:43:10 +00:00
PJ Fanning
f2d37da8fc remove use of deprecated commons-math methods
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897138 13f79535-47bb-0310-9956-ffa450edef68
2022-01-17 00:58:27 +00:00
PJ Fanning
a729b3c7e8 unused import
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897137 13f79535-47bb-0310-9956-ffa450edef68
2022-01-17 00:14:50 +00:00
PJ Fanning
66e16a8957 [bug-65792] change way multiply and divide are calculated due to rounding issues
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897066 13f79535-47bb-0310-9956-ffa450edef68
2022-01-15 00:35:18 +00:00
PJ Fanning
278592857b slf4j 1.7.33
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897000 13f79535-47bb-0310-9956-ffa450edef68
2022-01-13 15:22:10 +00:00
PJ Fanning
45770bd549 update docs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896923 13f79535-47bb-0310-9956-ffa450edef68
2022-01-11 19:43:04 +00:00
PJ Fanning
87e4872a27 add removal version
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896909 13f79535-47bb-0310-9956-ffa450edef68
2022-01-11 11:43:42 +00:00
Andreas Beeker
ff6984df00 remove and prevent links to stackoverflow
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896899 13f79535-47bb-0310-9956-ffa450edef68
2022-01-10 22:06:26 +00:00
Dominik Stadler
f331af5a52 Increase new limits for files processed in the mass-regression-tests
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
2022-01-06 11:10:33 +00:00
PJ Fanning
cf2be7a718 license
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896560 13f79535-47bb-0310-9956-ffa450edef68
2021-12-30 23:30:19 +00:00
Dominik Stadler
35e96646f4 Limit the maximum number of records that are read for an XLS
To avoid unexpected behavior on some corrupted input-data

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896555 13f79535-47bb-0310-9956-ffa450edef68
2021-12-30 23:04:16 +00:00
Dominik Stadler
8f991d52f7 Do not set readIndex to "-1" on EOF
Add some simple tests of LittleEndianInputStream

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896554 13f79535-47bb-0310-9956-ffa450edef68
2021-12-30 23:03:58 +00:00
Dominik Stadler
fd6ccbdf14 Bug 65312: Make RecordType.byName work for type "formula"
Also avoid NullPointerException when parsing unexpected record types
and check for bounds in byId()

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896553 13f79535-47bb-0310-9956-ffa450edef68
2021-12-30 23:03:40 +00:00
Dominik Stadler
1d630a94fc Bug 52447: Allow HyperLinkRecord to appear as part of the RowRecordsAggregate
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896552 13f79535-47bb-0310-9956-ffa450edef68
2021-12-30 23:03:16 +00:00
PJ Fanning
c8fc960d2d use isEmpty()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896547 13f79535-47bb-0310-9956-ffa450edef68
2021-12-30 21:35:45 +00:00
PJ Fanning
9345c84194 excelant evaluator if seems useless
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896546 13f79535-47bb-0310-9956-ffa450edef68
2021-12-30 21:18:26 +00:00
PJ Fanning
9de29ea3fc use isEmpty()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896541 13f79535-47bb-0310-9956-ffa450edef68
2021-12-30 20:34:10 +00:00
PJ Fanning
4833168d11 typo
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896539 13f79535-47bb-0310-9956-ffa450edef68
2021-12-30 20:16:16 +00:00
PJ Fanning
8210bdb0c8 fix tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896513 13f79535-47bb-0310-9956-ffa450edef68
2021-12-29 22:00:43 +00:00
PJ Fanning
efe404a2c7 sonar issues
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896511 13f79535-47bb-0310-9956-ffa450edef68
2021-12-29 17:18:44 +00:00
PJ Fanning
2e52cb7452 fix test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896507 13f79535-47bb-0310-9956-ffa450edef68
2021-12-29 13:39:07 +00:00
PJ Fanning
6784dd81c2 update some code based on sonar issues
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896504 13f79535-47bb-0310-9956-ffa450edef68
2021-12-29 13:08:56 +00:00
PJ Fanning
d442ea645c [bug-65772] stop using deleteOnExit in DefaultTempFileCreationStrategy
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896474 13f79535-47bb-0310-9956-ffa450edef68
2021-12-28 12:36:51 +00:00
PJ Fanning
57852e0c7d [bug-65772] stop using deleteOnExit in DefaultTempFileCreationStrategy
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896473 13f79535-47bb-0310-9956-ffa450edef68
2021-12-28 12:12:01 +00:00
PJ Fanning
90319df180 close input streams for parts
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896463 13f79535-47bb-0310-9956-ffa450edef68
2021-12-28 02:42:29 +00:00
PJ Fanning
dfb4af31e7 preserve rich text in cell copy
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896348 13f79535-47bb-0310-9956-ffa450edef68
2021-12-24 11:11:44 +00:00
PJ Fanning
0a916cd3e7 preserve rich text in cell copy
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896344 13f79535-47bb-0310-9956-ffa450edef68
2021-12-24 09:53:07 +00:00
PJ Fanning
d6ab8e8444 [github-290] Customize Spliterator implementations for better parallelism. Thanks to Daniel Shuy. This closes #290
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896305 13f79535-47bb-0310-9956-ffa450edef68
2021-12-23 10:33:59 +00:00
PJ Fanning
f4bb4560ed code tidy up
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896139 13f79535-47bb-0310-9956-ffa450edef68
2021-12-18 17:41:36 +00:00
PJ Fanning
53c88399f6 code tidy up
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896138 13f79535-47bb-0310-9956-ffa450edef68
2021-12-18 17:13:03 +00:00
PJ Fanning
220fabc7ae javadoc
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895929 13f79535-47bb-0310-9956-ffa450edef68
2021-12-13 22:43:46 +00:00
Dominik Stadler
9fa33b2b7e Fix issues found when fuzzing Apache POI via Jazzer
Add some additional allocation limits to avoid OOM in
some more cases with some broken input files

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895922 13f79535-47bb-0310-9956-ffa450edef68
2021-12-13 19:22:34 +00:00
PJ Fanning
837590024f [bug-65741] rework previous change
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895881 13f79535-47bb-0310-9956-ffa450edef68
2021-12-13 13:12:32 +00:00
PJ Fanning
0f18de4b06 [bug-65739] reduce log level of message to debug
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895794 13f79535-47bb-0310-9956-ffa450edef68
2021-12-10 21:13:01 +00:00
PJ Fanning
ea9883af55 update tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895705 13f79535-47bb-0310-9956-ffa450edef68
2021-12-08 19:03:30 +00:00
PJ Fanning
548dfb37f5 update tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895703 13f79535-47bb-0310-9956-ffa450edef68
2021-12-08 18:28:14 +00:00
PJ Fanning
a5f73a0757 [bug-65730] add setUseCachedValuesForFormulaCells on DataFormatter
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895699 13f79535-47bb-0310-9956-ffa450edef68
2021-12-08 13:47:41 +00:00
PJ Fanning
d924919ab5 try to get xlookup example 6 to work
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895637 13f79535-47bb-0310-9956-ffa450edef68
2021-12-06 20:50:55 +00:00
PJ Fanning
cbea2321f0 try to get xlookup example 6 to work
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895634 13f79535-47bb-0310-9956-ffa450edef68
2021-12-06 20:15:15 +00:00
Dominik Stadler
21039bd2b1 Some more changes for early support for JDK 18
Adjust one test which fails with JDK 18 because of
remove SecurityManager
Adjust excludes for JaCoCo as it does not run on JDK 18 otherwise
Adjust some JPMS settings which are not available any more on JDK 18

Some other things do not work yet, e.g. spotbugs

Also print out if CIBuild is selected
Only run signing if actually publishing to avoid failures
if signing key is defined locally

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895626 13f79535-47bb-0310-9956-ffa450edef68
2021-12-06 15:00:06 +00:00
Dominik Stadler
2d347b5a61 Fix forbidden-api violation for using wrong logger
Why did this not fail already earlier as
both the code and the forbidden-api are in place
for quite some time already?

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895625 13f79535-47bb-0310-9956-ffa450edef68
2021-12-06 14:59:45 +00:00
Dominik Stadler
97abbdd6ab Close some streams/workbooks properly
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895624 13f79535-47bb-0310-9956-ffa450edef68
2021-12-06 14:59:18 +00:00
PJ Fanning
811d4faf7b add broken test (xlookup)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895623 13f79535-47bb-0310-9956-ffa450edef68
2021-12-06 13:39:57 +00:00