PJ Fanning
a8f1e7acd1
[github-321] Fix issue with rounding in DataFormatter. Thanks to Colin Wang. This closes #321
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899680 13f79535-47bb-0310-9956-ffa450edef68
2022-04-09 12:02:55 +00:00
PJ Fanning
7289015073
increase tolerance on rate test due to failures
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899679 13f79535-47bb-0310-9956-ffa450edef68
2022-04-09 11:37:36 +00:00
PJ Fanning
503c831dbd
forbidden api issue
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899676 13f79535-47bb-0310-9956-ffa450edef68
2022-04-09 08:48:58 +00:00
Yegor Kozlov
542900693e
Bug 65988: Rate function giving incorrect results
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899668 13f79535-47bb-0310-9956-ffa450edef68
2022-04-08 15:08:50 +00:00
PJ Fanning
05e8a16543
[github-321] add test case
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899667 13f79535-47bb-0310-9956-ffa450edef68
2022-04-08 13:08:10 +00:00
PJ Fanning
0a6a042807
update apache rat
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899615 13f79535-47bb-0310-9956-ffa450edef68
2022-04-06 13:00:25 +00:00
PJ Fanning
0b863c29a1
[github-319] fix javadoc on setColumnHidden. Thanks to CodeMonkeyLab. This closes #319
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899580 13f79535-47bb-0310-9956-ffa450edef68
2022-04-05 10:43:54 +00:00
Dominik Stadler
0ee8c135c4
Various smaller changes
...
Improve exception messages
Add more JavaDoc
Provide more information on test-failures
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899534 13f79535-47bb-0310-9956-ffa450edef68
2022-04-03 13:25:27 +00:00
Dominik Stadler
d80f48dd82
Speed up execution of formulas with whole-column area reference
...
The previous change via r1894675 did not fully solve this as
it only took place when more than one sheet were used.
There were still some cases where evaluating formulas needed
to iterate across a huge number of non-existant rows, e.g.
TestVLookup, which took more than 1 minute locally.
However doing the lowering of row-numbers always would trigger
test-regressions as some Excel-functionality depends on actions
being possible on rows larger than current "last row" in the sheet.
Thus changed this to a slightly different approach which only adjusts
last-row when it is at or above the workbook-limit of rows
Execution of TestVLookup is now at 1-2 seconds!
Also added a test-case to verify details of the implementation now.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899533 13f79535-47bb-0310-9956-ffa450edef68
2022-04-03 13:25:21 +00:00
Dominik Stadler
86bc671633
Use a modified version of NullPrintStream in integration tests
...
The default version from Commons-IO does not avoid doing
utf-8 conversion and other work, so it is not well suited for
cases where lots of output happens.
Using an optimized version can bring down runtime of integration-tests
somewhat, especially for large files where XLS2CSV prints out lots of
data
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899532 13f79535-47bb-0310-9956-ffa450edef68
2022-04-03 13:25:15 +00:00
PJ Fanning
fb95dfdd93
[bug-65993] support copying hssf hyperlinks to xssf and respect full cell range
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899521 13f79535-47bb-0310-9956-ffa450edef68
2022-04-02 18:55:56 +00:00
PJ Fanning
8406fbc3c0
[github-318] handle null raw text. Thanks to wanglunhui2012. This closes #318
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899508 13f79535-47bb-0310-9956-ffa450edef68
2022-04-02 08:20:57 +00:00
Dominik Stadler
69dff49c95
Also exclude new files in rat-check of ant-build
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899499 13f79535-47bb-0310-9956-ffa450edef68
2022-04-01 21:32:03 +00:00
Dominik Stadler
8412eb4503
Suppress forbidden-apis failing with MemoryLeakVerifier in JDK 18
...
Keep using Runtime.runFinalization() as long as it is available.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899497 13f79535-47bb-0310-9956-ffa450edef68
2022-04-01 21:17:22 +00:00
Dominik Stadler
0c77cd4d55
Update forbiddenapis to 3.3
...
This also improves support for building with JDK 18
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899496 13f79535-47bb-0310-9956-ffa450edef68
2022-04-01 21:17:07 +00:00
PJ Fanning
728c2d36cf
apply change that stackoverflow (but that does not fix the broken case)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899456 13f79535-47bb-0310-9956-ffa450edef68
2022-03-31 20:27:22 +00:00
PJ Fanning
9d89bc1604
reformat file
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899455 13f79535-47bb-0310-9956-ffa450edef68
2022-03-31 20:13:49 +00:00
PJ Fanning
b1c98d3999
[bug-65988] add test case for rate function (failing)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899452 13f79535-47bb-0310-9956-ffa450edef68
2022-03-31 20:08:14 +00:00
PJ Fanning
ee9c1817bd
upgrade graphics2d
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899438 13f79535-47bb-0310-9956-ffa450edef68
2022-03-31 13:52:32 +00:00
PJ Fanning
a7e1909c21
addHyperlink method on SXSSFSheet
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899367 13f79535-47bb-0310-9956-ffa450edef68
2022-03-29 23:30:26 +00:00
PJ Fanning
f6c92f9b09
javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899351 13f79535-47bb-0310-9956-ffa450edef68
2022-03-29 12:30:55 +00:00
PJ Fanning
9b60986f68
do not fail if xslt transformer does not support accessExternalStylesheet attribute
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899326 13f79535-47bb-0310-9956-ffa450edef68
2022-03-28 20:37:21 +00:00
PJ Fanning
cba63eda75
upgrade saxon
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899321 13f79535-47bb-0310-9956-ffa450edef68
2022-03-28 14:56:21 +00:00
PJ Fanning
94393c7241
upgrade jmh
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899320 13f79535-47bb-0310-9956-ffa450edef68
2022-03-28 14:55:32 +00:00
PJ Fanning
a6edfe4252
spotbugs issue
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899309 13f79535-47bb-0310-9956-ffa450edef68
2022-03-28 14:05:44 +00:00
PJ Fanning
63ecb6152b
try upgrading spotbugs again
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899308 13f79535-47bb-0310-9956-ffa450edef68
2022-03-28 13:49:38 +00:00
PJ Fanning
9c885441b6
upgrade forbiddenapis
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899307 13f79535-47bb-0310-9956-ffa450edef68
2022-03-28 13:12:15 +00:00
PJ Fanning
dd13adef38
[github-314] Add equals and hashcode to PaneInformation. Thanks to Daniel Shuy. This closes #314
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899240 13f79535-47bb-0310-9956-ffa450edef68
2022-03-27 09:26:34 +00:00
Dominik Stadler
c5a13f5b3f
Avoid intermittent failure of srcDistZip with parallel builds/tests
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899163 13f79535-47bb-0310-9956-ffa450edef68
2022-03-24 04:42:37 +00:00
Dominik Stadler
bfd2266779
Fix issues found when fuzzing Apache POI via Jazzer
...
Do not assert when the next line will throw a proper exception anyway
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899162 13f79535-47bb-0310-9956-ffa450edef68
2022-03-24 04:42:34 +00:00
Dominik Stadler
67b3e09618
Add a target to extract all third-party libraries into directory build/runtime
...
This is used when testing with latest Apache POI locally, e.g.
when running mass-regression-testing
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899161 13f79535-47bb-0310-9956-ffa450edef68
2022-03-24 04:42:30 +00:00
Dominik Stadler
09e464bb5f
poi-ooxml-lite: Check in list of classes and xsb-files to avoid the jar-to-test dependency
...
Avoid running all tests whenever building jars as tests take a long time now
and also cause large memory allocations.
It is nice if the target "jar" is as fast as possible and the list of included
items for ooxml-lite only changes rarely anyway.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899160 13f79535-47bb-0310-9956-ffa450edef68
2022-03-24 04:42:27 +00:00
Dominik Stadler
a59e17590a
OOXMLLiteAgent: Some smaller adjustments
...
Print unexpected exceptions to stdout instead of silently ignoring them
Don't include classes created via Mockito
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899159 13f79535-47bb-0310-9956-ffa450edef68
2022-03-24 04:42:22 +00:00
PJ Fanning
902d1487f7
[bug-65973] fix for removing hyperlinks that span multiple cells
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899139 13f79535-47bb-0310-9956-ffa450edef68
2022-03-22 18:00:57 +00:00
PJ Fanning
aff20dc6f9
[bug-65973] partial fix for removing hyperlinks that span multiple cells
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899138 13f79535-47bb-0310-9956-ffa450edef68
2022-03-22 17:55:53 +00:00
PJ Fanning
d41a40abc8
[bug-65973] partial fix for removing hyperlinks that span multiple cells
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899137 13f79535-47bb-0310-9956-ffa450edef68
2022-03-22 17:54:37 +00:00
PJ Fanning
a1463e32e5
increase max size of hwmf picture
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899135 13f79535-47bb-0310-9956-ffa450edef68
2022-03-22 14:58:47 +00:00
PJ Fanning
0bc81c57fd
small refactor
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899134 13f79535-47bb-0310-9956-ffa450edef68
2022-03-22 14:14:08 +00:00
PJ Fanning
058aef3bfb
[bug-65973] partial fix for removing hyperlinks that span multiple cells
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899133 13f79535-47bb-0310-9956-ffa450edef68
2022-03-22 14:10:02 +00:00
PJ Fanning
4508404af0
spelling
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899131 13f79535-47bb-0310-9956-ffa450edef68
2022-03-22 12:39:46 +00:00
PJ Fanning
0c4fec3528
[bug-65973] partial fix for removing hyperlinks that span multiple cells
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899130 13f79535-47bb-0310-9956-ffa450edef68
2022-03-22 12:02:11 +00:00
PJ Fanning
2298c8ff26
[bug-65973] partial fix for removing hyperlinks that span multiple cells
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899129 13f79535-47bb-0310-9956-ffa450edef68
2022-03-22 11:44:31 +00:00
PJ Fanning
49668edbf2
[bug-64536] add another test
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899092 13f79535-47bb-0310-9956-ffa450edef68
2022-03-20 22:06:27 +00:00
PJ Fanning
56b4313997
[bug-64536] add getDimension on XSSFSheet
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899091 13f79535-47bb-0310-9956-ffa450edef68
2022-03-20 21:41:31 +00:00
PJ Fanning
d013349052
use spaces for indents
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899082 13f79535-47bb-0310-9956-ffa450edef68
2022-03-20 10:26:05 +00:00
PJ Fanning
1ab968419e
compile issue
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899081 13f79535-47bb-0310-9956-ffa450edef68
2022-03-20 10:13:39 +00:00
Dominik Stadler
42985f64df
Avoid flaky tests with parallel execution
...
One test stores and deletes files named "-saved.xls", so
we need to prevent other tests from reading those
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899077 13f79535-47bb-0310-9956-ffa450edef68
2022-03-20 08:20:05 +00:00
Dominik Stadler
9949242022
Remove unused imports, remove unnecessary boxing of int-value and apply some other IDE suggestions
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899076 13f79535-47bb-0310-9956-ffa450edef68
2022-03-20 08:20:00 +00:00
Dominik Stadler
98fbe88d3a
Improve error message if formula cannot be parsed
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899075 13f79535-47bb-0310-9956-ffa450edef68
2022-03-20 06:52:59 +00:00
Dominik Stadler
306dc69105
Add reproducer for possible OOM when reading pictures in XWPF
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899074 13f79535-47bb-0310-9956-ffa450edef68
2022-03-20 06:52:55 +00:00