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
Dominik Stadler
d648c6d652
Fix issues found when fuzzing Apache POI via Jazzer
...
Throw RecordFormatException instead of NPE or assertion for
cases that can be triggered by a malformed document
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899073 13f79535-47bb-0310-9956-ffa450edef68
2022-03-20 06:52:51 +00:00
Dominik Stadler
9df7e2d847
Prevent one more case of allocating endlessly on invalid TNEF/HMEF/MAPI files
...
Limit the number of attributes to 10,000 by default
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899072 13f79535-47bb-0310-9956-ffa450edef68
2022-03-20 06:52:47 +00:00
Dominik Stadler
3ee410e8b5
Bug 65854: Use revert() instead of close() when OPCPackage is opened read-only
...
Also add tests, however it is not possible to verify that no
logging takes place, so you have to use debugging to verify it.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899071 13f79535-47bb-0310-9956-ffa450edef68
2022-03-20 06:52:43 +00:00
Dominik Stadler
a7810011c7
Fix issues found when fuzzing Apache POI via Jazzer
...
Replace assertions with actual checks when input-data
can trigger them. We would not handle such
input-data properly otherwise.
Sometimes logging seems a better option if the issue
is not blocking us from parsing the document anyway
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899070 13f79535-47bb-0310-9956-ffa450edef68
2022-03-20 06:52:38 +00:00
PJ Fanning
ff466eff1c
POI 5.2.2 release
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899060 13f79535-47bb-0310-9956-ffa450edef68
2022-03-19 23:09:08 +00:00
PJ Fanning
5e87f112bb
javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898946 13f79535-47bb-0310-9956-ffa450edef68
2022-03-15 10:06:56 +00:00
PJ Fanning
5745fc0a68
update test
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898945 13f79535-47bb-0310-9956-ffa450edef68
2022-03-15 09:53:26 +00:00
PJ Fanning
935c8ab06a
add xssf test (width/height)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898944 13f79535-47bb-0310-9956-ffa450edef68
2022-03-15 09:40:48 +00:00
PJ Fanning
f19233164c
upgrade gradle
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898937 13f79535-47bb-0310-9956-ffa450edef68
2022-03-14 23:17:03 +00:00
PJ Fanning
8657e4eaea
revert: try to fix java 18 build issue
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898908 13f79535-47bb-0310-9956-ffa450edef68
2022-03-13 18:26:47 +00:00
PJ Fanning
d8e163a82f
try to fix java 18 build issue
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898907 13f79535-47bb-0310-9956-ffa450edef68
2022-03-13 18:22:29 +00:00
PJ Fanning
3573e5c44f
handle case where toByteArray truncates stream because max len is less than stream len
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898876 13f79535-47bb-0310-9956-ffa450edef68
2022-03-12 13:57:50 +00:00
PJ Fanning
1efd809e6c
prep 5.2.2 release
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898874 13f79535-47bb-0310-9956-ffa450edef68
2022-03-12 11:03:00 +00:00
PJ Fanning
01e5666633
fix issue in IOUtils.toByteArrayWithMaxLength
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898871 13f79535-47bb-0310-9956-ffa450edef68
2022-03-12 09:31:44 +00:00
PJ Fanning
cbdf6d2330
fix issue in IOUtils.toByteArrayWithMaxLength
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898870 13f79535-47bb-0310-9956-ffa450edef68
2022-03-12 09:24:21 +00:00
PJ Fanning
417f5e9a95
fix issue in IOUtils.toByteArrayWithMaxLength
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898864 13f79535-47bb-0310-9956-ffa450edef68
2022-03-11 23:40:21 +00:00
PJ Fanning
38e5040ee6
fix issue in IOUtils.toByteArrayWithMaxLength
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898863 13f79535-47bb-0310-9956-ffa450edef68
2022-03-11 22:37:29 +00:00
PJ Fanning
5b5f286a30
fix issue in IOUtils.toByteArrayWithMaxLength
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898862 13f79535-47bb-0310-9956-ffa450edef68
2022-03-11 21:45:02 +00:00
PJ Fanning
f4bfcaeec9
fix issue in IOUtils.toByteArrayWithMaxLength
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898861 13f79535-47bb-0310-9956-ffa450edef68
2022-03-11 21:24:51 +00:00
PJ Fanning
e7f9cd277d
fix issue in IOUtils.toByteArrayWithMaxLength
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898856 13f79535-47bb-0310-9956-ffa450edef68
2022-03-11 17:03:36 +00:00
PJ Fanning
85356f1d54
[bug-65946] remove duplicate Category property from extracted properties
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898805 13f79535-47bb-0310-9956-ffa450edef68
2022-03-09 20:56:02 +00:00
PJ Fanning
f3e197713b
[bug-65946] remove duplicate Category property from extracted properties
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898804 13f79535-47bb-0310-9956-ffa450edef68
2022-03-09 20:43:38 +00:00
PJ Fanning
bdd7e65d85
[bug-65943] support rich text in SXSSFWorkbook (only when shared string table is enabled)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898803 13f79535-47bb-0310-9956-ffa450edef68
2022-03-09 20:12:37 +00:00
PJ Fanning
552471e578
[bug-65943] support rich text in SXSSFWorkbook (only when shared string table is enabled)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898801 13f79535-47bb-0310-9956-ffa450edef68
2022-03-09 20:06:59 +00:00
PJ Fanning
81b557030c
update mockito
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898743 13f79535-47bb-0310-9956-ffa450edef68
2022-03-08 20:08:21 +00:00
PJ Fanning
ddf2717c8d
missing license
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898685 13f79535-47bb-0310-9956-ffa450edef68
2022-03-07 13:34:53 +00:00
PJ Fanning
19366d6013
[bug-65939] add partial fix for clearing formula with circular ref
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898681 13f79535-47bb-0310-9956-ffa450edef68
2022-03-07 13:15:01 +00:00