]> source.dussan.org Git - poi.git/log
poi.git
2 years agojavadoc
PJ Fanning [Sun, 1 May 2022 18:21:31 +0000 (18:21 +0000)]
javadoc

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1900465 13f79535-47bb-0310-9956-ffa450edef68

2 years agosupport sqrtpi function
PJ Fanning [Sat, 30 Apr 2022 08:31:31 +0000 (08:31 +0000)]
support sqrtpi function

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1900418 13f79535-47bb-0310-9956-ffa450edef68

2 years agosupport sqrtpi function
PJ Fanning [Sat, 30 Apr 2022 08:16:48 +0000 (08:16 +0000)]
support sqrtpi function

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1900416 13f79535-47bb-0310-9956-ffa450edef68

2 years agosupport lcm function
PJ Fanning [Fri, 29 Apr 2022 23:19:53 +0000 (23:19 +0000)]
support lcm function

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1900410 13f79535-47bb-0310-9956-ffa450edef68

2 years agosupport gcd function
PJ Fanning [Fri, 29 Apr 2022 22:50:38 +0000 (22:50 +0000)]
support gcd function

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1900409 13f79535-47bb-0310-9956-ffa450edef68

2 years agosupport gcd function
PJ Fanning [Fri, 29 Apr 2022 22:44:57 +0000 (22:44 +0000)]
support gcd function

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1900408 13f79535-47bb-0310-9956-ffa450edef68

2 years agosupport gcd function
PJ Fanning [Fri, 29 Apr 2022 22:34:20 +0000 (22:34 +0000)]
support gcd function

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1900407 13f79535-47bb-0310-9956-ffa450edef68

2 years agosupport gcd function
PJ Fanning [Fri, 29 Apr 2022 22:28:35 +0000 (22:28 +0000)]
support gcd function

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1900406 13f79535-47bb-0310-9956-ffa450edef68

2 years agoreformat
PJ Fanning [Fri, 29 Apr 2022 21:53:33 +0000 (21:53 +0000)]
reformat

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1900403 13f79535-47bb-0310-9956-ffa450edef68

2 years agomake HPSF limit more configuarble
PJ Fanning [Fri, 29 Apr 2022 21:47:45 +0000 (21:47 +0000)]
make HPSF limit more configuarble

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1900402 13f79535-47bb-0310-9956-ffa450edef68

2 years agofix broken test
PJ Fanning [Fri, 29 Apr 2022 20:53:49 +0000 (20:53 +0000)]
fix broken test

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1900399 13f79535-47bb-0310-9956-ffa450edef68

2 years agoreformat
PJ Fanning [Fri, 29 Apr 2022 20:47:25 +0000 (20:47 +0000)]
reformat

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1900398 13f79535-47bb-0310-9956-ffa450edef68

2 years agoadd broken test that prvis new averageif code is incorrect
PJ Fanning [Fri, 29 Apr 2022 20:26:52 +0000 (20:26 +0000)]
add broken test that prvis new averageif code is incorrect

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1900397 13f79535-47bb-0310-9956-ffa450edef68

2 years agoreformat
PJ Fanning [Fri, 29 Apr 2022 20:12:12 +0000 (20:12 +0000)]
reformat

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1900395 13f79535-47bb-0310-9956-ffa450edef68

2 years ago[github-330] add averageif function support
PJ Fanning [Fri, 29 Apr 2022 19:55:12 +0000 (19:55 +0000)]
[github-330] add averageif function support

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1900394 13f79535-47bb-0310-9956-ffa450edef68

2 years ago[bug-66039] remove stray </p>
PJ Fanning [Fri, 29 Apr 2022 13:08:52 +0000 (13:08 +0000)]
[bug-66039] remove stray </p>

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1900384 13f79535-47bb-0310-9956-ffa450edef68

2 years ago[bug-66039] add more javadoc about setCellFormulaValidation
PJ Fanning [Fri, 29 Apr 2022 13:07:00 +0000 (13:07 +0000)]
[bug-66039] add more javadoc about setCellFormulaValidation

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1900383 13f79535-47bb-0310-9956-ffa450edef68

2 years agosmall big decimal refactor
PJ Fanning [Fri, 29 Apr 2022 12:32:54 +0000 (12:32 +0000)]
small big decimal refactor

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1900377 13f79535-47bb-0310-9956-ffa450edef68

2 years ago[bug-66047] change mround implementation due to issue - thanks to @fabio
PJ Fanning [Fri, 29 Apr 2022 12:25:29 +0000 (12:25 +0000)]
[bug-66047] change mround implementation due to issue - thanks to @fabio

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1900376 13f79535-47bb-0310-9956-ffa450edef68

2 years ago[bug-66039] show use of setCellFormulaValidation=false in a test
PJ Fanning [Fri, 29 Apr 2022 10:52:34 +0000 (10:52 +0000)]
[bug-66039] show use of setCellFormulaValidation=false in a test

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1900375 13f79535-47bb-0310-9956-ffa450edef68

2 years agoupdate github actions
PJ Fanning [Tue, 26 Apr 2022 12:14:54 +0000 (12:14 +0000)]
update github actions

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1900289 13f79535-47bb-0310-9956-ffa450edef68

2 years ago[github-325] Update GithubActions permissions. Thanks to @nathannaveen. This closes...
PJ Fanning [Tue, 26 Apr 2022 12:00:44 +0000 (12:00 +0000)]
[github-325] Update GithubActions permissions. Thanks to @nathannaveen. This closes #325

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1900288 13f79535-47bb-0310-9956-ffa450edef68

2 years agomockito
PJ Fanning [Fri, 22 Apr 2022 23:43:58 +0000 (23:43 +0000)]
mockito

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1900171 13f79535-47bb-0310-9956-ffa450edef68

2 years agoupgrafe deps
PJ Fanning [Fri, 22 Apr 2022 23:13:13 +0000 (23:13 +0000)]
upgrafe deps

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1900168 13f79535-47bb-0310-9956-ffa450edef68

2 years agoupdate mockito
PJ Fanning [Wed, 20 Apr 2022 14:31:22 +0000 (14:31 +0000)]
update mockito

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1900072 13f79535-47bb-0310-9956-ffa450edef68

2 years agosmall changes to github action
PJ Fanning [Sun, 17 Apr 2022 10:28:50 +0000 (10:28 +0000)]
small changes to github action

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899938 13f79535-47bb-0310-9956-ffa450edef68

2 years agorevert fraction format change
PJ Fanning [Thu, 14 Apr 2022 21:46:13 +0000 (21:46 +0000)]
revert fraction format change

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899870 13f79535-47bb-0310-9956-ffa450edef68

2 years agotry to standardise big decimal code
PJ Fanning [Thu, 14 Apr 2022 17:01:51 +0000 (17:01 +0000)]
try to standardise big decimal code

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899864 13f79535-47bb-0310-9956-ffa450edef68

2 years agoupgrade deps
PJ Fanning [Thu, 14 Apr 2022 15:04:49 +0000 (15:04 +0000)]
upgrade deps

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899861 13f79535-47bb-0310-9956-ffa450edef68

2 years agorefactor test
PJ Fanning [Mon, 11 Apr 2022 19:29:30 +0000 (19:29 +0000)]
refactor test

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899756 13f79535-47bb-0310-9956-ffa450edef68

2 years agoPrevent an overly large allocation when using HPSF
Dominik Stadler [Mon, 11 Apr 2022 13:51:31 +0000 (13:51 +0000)]
Prevent an overly large allocation when using HPSF

Add a sample document from fuzzing which contains invalid/oversized values

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899749 13f79535-47bb-0310-9956-ffa450edef68

2 years agoMissing font-system can throw two other types of exception
Dominik Stadler [Mon, 11 Apr 2022 13:51:26 +0000 (13:51 +0000)]
Missing font-system can throw two other types of exception

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899748 13f79535-47bb-0310-9956-ffa450edef68

2 years agoAdd a way to not require a functioning font-setup
Dominik Stadler [Sun, 10 Apr 2022 16:45:02 +0000 (16:45 +0000)]
Add a way to not require a functioning font-setup

New configuration-method SheetUtil.setIgnoreMissingFontSystem()
This allows to do a bit more on machines where no fonts are installed

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899709 13f79535-47bb-0310-9956-ffa450edef68

2 years agoRework message when reaching allocation limits
Dominik Stadler [Sun, 10 Apr 2022 16:44:58 +0000 (16:44 +0000)]
Rework message when reaching allocation limits

Also remove a useless Math.min() as the previous condition already
indicates which one is the smaller value

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899708 13f79535-47bb-0310-9956-ffa450edef68

2 years agoadd test
PJ Fanning [Sat, 9 Apr 2022 21:17:49 +0000 (21:17 +0000)]
add test

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899690 13f79535-47bb-0310-9956-ffa450edef68

2 years agore-enable test
PJ Fanning [Sat, 9 Apr 2022 21:13:53 +0000 (21:13 +0000)]
re-enable test

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899689 13f79535-47bb-0310-9956-ffa450edef68

2 years ago[github-321] Fix issue with rounding in DataFormatter. First try broke a test.
PJ Fanning [Sat, 9 Apr 2022 13:55:25 +0000 (13:55 +0000)]
[github-321] Fix issue with rounding in DataFormatter. First try broke a test.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899686 13f79535-47bb-0310-9956-ffa450edef68

2 years agomore test issues with rate change
PJ Fanning [Sat, 9 Apr 2022 13:38:27 +0000 (13:38 +0000)]
more test issues with rate change

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899685 13f79535-47bb-0310-9956-ffa450edef68

2 years ago[github-321] Fix issue with rounding in DataFormatter. First try broke a test.
PJ Fanning [Sat, 9 Apr 2022 12:30:49 +0000 (12:30 +0000)]
[github-321] Fix issue with rounding in DataFormatter. First try broke a test.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899683 13f79535-47bb-0310-9956-ffa450edef68

2 years agotry to standardise div code
PJ Fanning [Sat, 9 Apr 2022 12:07:31 +0000 (12:07 +0000)]
try to standardise div code

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899681 13f79535-47bb-0310-9956-ffa450edef68

2 years ago[github-321] Fix issue with rounding in DataFormatter. Thanks to Colin Wang. This...
PJ Fanning [Sat, 9 Apr 2022 12:02:55 +0000 (12:02 +0000)]
[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

2 years agoincrease tolerance on rate test due to failures
PJ Fanning [Sat, 9 Apr 2022 11:37:36 +0000 (11:37 +0000)]
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

2 years agoforbidden api issue
PJ Fanning [Sat, 9 Apr 2022 08:48:58 +0000 (08:48 +0000)]
forbidden api issue

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899676 13f79535-47bb-0310-9956-ffa450edef68

2 years agoBug 65988: Rate function giving incorrect results
Yegor Kozlov [Fri, 8 Apr 2022 15:08:50 +0000 (15:08 +0000)]
Bug 65988: Rate function giving incorrect results

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899668 13f79535-47bb-0310-9956-ffa450edef68

2 years ago[github-321] add test case
PJ Fanning [Fri, 8 Apr 2022 13:08:10 +0000 (13:08 +0000)]
[github-321] add test case

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899667 13f79535-47bb-0310-9956-ffa450edef68

2 years agoupdate apache rat
PJ Fanning [Wed, 6 Apr 2022 13:00:25 +0000 (13:00 +0000)]
update apache rat

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899615 13f79535-47bb-0310-9956-ffa450edef68

2 years ago[github-319] fix javadoc on setColumnHidden. Thanks to CodeMonkeyLab. This closes...
PJ Fanning [Tue, 5 Apr 2022 10:43:54 +0000 (10:43 +0000)]
[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

2 years agoVarious smaller changes
Dominik Stadler [Sun, 3 Apr 2022 13:25:27 +0000 (13:25 +0000)]
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

2 years agoSpeed up execution of formulas with whole-column area reference
Dominik Stadler [Sun, 3 Apr 2022 13:25:21 +0000 (13:25 +0000)]
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

2 years agoUse a modified version of NullPrintStream in integration tests
Dominik Stadler [Sun, 3 Apr 2022 13:25:15 +0000 (13:25 +0000)]
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

2 years ago[bug-65993] support copying hssf hyperlinks to xssf and respect full cell range
PJ Fanning [Sat, 2 Apr 2022 18:55:56 +0000 (18:55 +0000)]
[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

2 years ago[github-318] handle null raw text. Thanks to wanglunhui2012. This closes #318
PJ Fanning [Sat, 2 Apr 2022 08:20:57 +0000 (08:20 +0000)]
[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

2 years agoAlso exclude new files in rat-check of ant-build
Dominik Stadler [Fri, 1 Apr 2022 21:32:03 +0000 (21:32 +0000)]
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

2 years agoSuppress forbidden-apis failing with MemoryLeakVerifier in JDK 18
Dominik Stadler [Fri, 1 Apr 2022 21:17:22 +0000 (21:17 +0000)]
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

2 years agoUpdate forbiddenapis to 3.3
Dominik Stadler [Fri, 1 Apr 2022 21:17:07 +0000 (21:17 +0000)]
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

2 years agoapply change that stackoverflow (but that does not fix the broken case)
PJ Fanning [Thu, 31 Mar 2022 20:27:22 +0000 (20:27 +0000)]
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

2 years agoreformat file
PJ Fanning [Thu, 31 Mar 2022 20:13:49 +0000 (20:13 +0000)]
reformat file

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899455 13f79535-47bb-0310-9956-ffa450edef68

2 years ago[bug-65988] add test case for rate function (failing)
PJ Fanning [Thu, 31 Mar 2022 20:08:14 +0000 (20:08 +0000)]
[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

2 years agoupgrade graphics2d
PJ Fanning [Thu, 31 Mar 2022 13:52:32 +0000 (13:52 +0000)]
upgrade graphics2d

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899438 13f79535-47bb-0310-9956-ffa450edef68

2 years agoaddHyperlink method on SXSSFSheet
PJ Fanning [Tue, 29 Mar 2022 23:30:26 +0000 (23:30 +0000)]
addHyperlink method on SXSSFSheet

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899367 13f79535-47bb-0310-9956-ffa450edef68

2 years agojavadoc
PJ Fanning [Tue, 29 Mar 2022 12:30:55 +0000 (12:30 +0000)]
javadoc

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899351 13f79535-47bb-0310-9956-ffa450edef68

2 years agodo not fail if xslt transformer does not support accessExternalStylesheet attribute
PJ Fanning [Mon, 28 Mar 2022 20:37:21 +0000 (20:37 +0000)]
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

2 years agoupgrade saxon
PJ Fanning [Mon, 28 Mar 2022 14:56:21 +0000 (14:56 +0000)]
upgrade saxon

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899321 13f79535-47bb-0310-9956-ffa450edef68

2 years agoupgrade jmh
PJ Fanning [Mon, 28 Mar 2022 14:55:32 +0000 (14:55 +0000)]
upgrade jmh

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899320 13f79535-47bb-0310-9956-ffa450edef68

2 years agospotbugs issue
PJ Fanning [Mon, 28 Mar 2022 14:05:44 +0000 (14:05 +0000)]
spotbugs issue

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899309 13f79535-47bb-0310-9956-ffa450edef68

2 years agotry upgrading spotbugs again
PJ Fanning [Mon, 28 Mar 2022 13:49:38 +0000 (13:49 +0000)]
try upgrading spotbugs again

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899308 13f79535-47bb-0310-9956-ffa450edef68

2 years agoupgrade forbiddenapis
PJ Fanning [Mon, 28 Mar 2022 13:12:15 +0000 (13:12 +0000)]
upgrade forbiddenapis

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899307 13f79535-47bb-0310-9956-ffa450edef68

2 years ago[github-314] Add equals and hashcode to PaneInformation. Thanks to Daniel Shuy. This...
PJ Fanning [Sun, 27 Mar 2022 09:26:34 +0000 (09:26 +0000)]
[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

2 years agoAvoid intermittent failure of srcDistZip with parallel builds/tests
Dominik Stadler [Thu, 24 Mar 2022 04:42:37 +0000 (04:42 +0000)]
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

2 years agoFix issues found when fuzzing Apache POI via Jazzer
Dominik Stadler [Thu, 24 Mar 2022 04:42:34 +0000 (04:42 +0000)]
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

2 years agoAdd a target to extract all third-party libraries into directory build/runtime
Dominik Stadler [Thu, 24 Mar 2022 04:42:30 +0000 (04:42 +0000)]
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

2 years agopoi-ooxml-lite: Check in list of classes and xsb-files to avoid the jar-to-test depen...
Dominik Stadler [Thu, 24 Mar 2022 04:42:27 +0000 (04:42 +0000)]
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

2 years agoOOXMLLiteAgent: Some smaller adjustments
Dominik Stadler [Thu, 24 Mar 2022 04:42:22 +0000 (04:42 +0000)]
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

2 years ago[bug-65973] fix for removing hyperlinks that span multiple cells
PJ Fanning [Tue, 22 Mar 2022 18:00:57 +0000 (18:00 +0000)]
[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

2 years ago[bug-65973] partial fix for removing hyperlinks that span multiple cells
PJ Fanning [Tue, 22 Mar 2022 17:55:53 +0000 (17:55 +0000)]
[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

2 years ago[bug-65973] partial fix for removing hyperlinks that span multiple cells
PJ Fanning [Tue, 22 Mar 2022 17:54:37 +0000 (17:54 +0000)]
[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

2 years agoincrease max size of hwmf picture
PJ Fanning [Tue, 22 Mar 2022 14:58:47 +0000 (14:58 +0000)]
increase max size of hwmf picture

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899135 13f79535-47bb-0310-9956-ffa450edef68

2 years agosmall refactor
PJ Fanning [Tue, 22 Mar 2022 14:14:08 +0000 (14:14 +0000)]
small refactor

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899134 13f79535-47bb-0310-9956-ffa450edef68

2 years ago[bug-65973] partial fix for removing hyperlinks that span multiple cells
PJ Fanning [Tue, 22 Mar 2022 14:10:02 +0000 (14:10 +0000)]
[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

2 years agospelling
PJ Fanning [Tue, 22 Mar 2022 12:39:46 +0000 (12:39 +0000)]
spelling

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899131 13f79535-47bb-0310-9956-ffa450edef68

2 years ago[bug-65973] partial fix for removing hyperlinks that span multiple cells
PJ Fanning [Tue, 22 Mar 2022 12:02:11 +0000 (12:02 +0000)]
[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

2 years ago[bug-65973] partial fix for removing hyperlinks that span multiple cells
PJ Fanning [Tue, 22 Mar 2022 11:44:31 +0000 (11:44 +0000)]
[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

2 years ago[bug-64536] add another test
PJ Fanning [Sun, 20 Mar 2022 22:06:27 +0000 (22:06 +0000)]
[bug-64536] add another test

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899092 13f79535-47bb-0310-9956-ffa450edef68

2 years ago[bug-64536] add getDimension on XSSFSheet
PJ Fanning [Sun, 20 Mar 2022 21:41:31 +0000 (21:41 +0000)]
[bug-64536] add getDimension on XSSFSheet

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899091 13f79535-47bb-0310-9956-ffa450edef68

2 years agouse spaces for indents
PJ Fanning [Sun, 20 Mar 2022 10:26:05 +0000 (10:26 +0000)]
use spaces for indents

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899082 13f79535-47bb-0310-9956-ffa450edef68

2 years agocompile issue
PJ Fanning [Sun, 20 Mar 2022 10:13:39 +0000 (10:13 +0000)]
compile issue

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899081 13f79535-47bb-0310-9956-ffa450edef68

2 years agoAvoid flaky tests with parallel execution
Dominik Stadler [Sun, 20 Mar 2022 08:20:05 +0000 (08:20 +0000)]
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

2 years agoRemove unused imports, remove unnecessary boxing of int-value and apply some other...
Dominik Stadler [Sun, 20 Mar 2022 08:20:00 +0000 (08:20 +0000)]
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

2 years agoImprove error message if formula cannot be parsed
Dominik Stadler [Sun, 20 Mar 2022 06:52:59 +0000 (06:52 +0000)]
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

2 years agoAdd reproducer for possible OOM when reading pictures in XWPF
Dominik Stadler [Sun, 20 Mar 2022 06:52:55 +0000 (06:52 +0000)]
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

2 years agoFix issues found when fuzzing Apache POI via Jazzer
Dominik Stadler [Sun, 20 Mar 2022 06:52:51 +0000 (06:52 +0000)]
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

2 years agoPrevent one more case of allocating endlessly on invalid TNEF/HMEF/MAPI files
Dominik Stadler [Sun, 20 Mar 2022 06:52:47 +0000 (06:52 +0000)]
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

2 years agoBug 65854: Use revert() instead of close() when OPCPackage is opened read-only
Dominik Stadler [Sun, 20 Mar 2022 06:52:43 +0000 (06:52 +0000)]
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

2 years agoFix issues found when fuzzing Apache POI via Jazzer
Dominik Stadler [Sun, 20 Mar 2022 06:52:38 +0000 (06:52 +0000)]
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

2 years agoPOI 5.2.2 release
PJ Fanning [Sat, 19 Mar 2022 23:09:08 +0000 (23:09 +0000)]
POI 5.2.2 release

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899060 13f79535-47bb-0310-9956-ffa450edef68

2 years agojavadoc
PJ Fanning [Tue, 15 Mar 2022 10:06:56 +0000 (10:06 +0000)]
javadoc

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898946 13f79535-47bb-0310-9956-ffa450edef68

2 years agoupdate test
PJ Fanning [Tue, 15 Mar 2022 09:53:26 +0000 (09:53 +0000)]
update test

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898945 13f79535-47bb-0310-9956-ffa450edef68

2 years agoadd xssf test (width/height)
PJ Fanning [Tue, 15 Mar 2022 09:40:48 +0000 (09:40 +0000)]
add xssf test (width/height)

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898944 13f79535-47bb-0310-9956-ffa450edef68

2 years agoupgrade gradle
PJ Fanning [Mon, 14 Mar 2022 23:17:03 +0000 (23:17 +0000)]
upgrade gradle

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898937 13f79535-47bb-0310-9956-ffa450edef68

2 years agorevert: try to fix java 18 build issue
PJ Fanning [Sun, 13 Mar 2022 18:26:47 +0000 (18:26 +0000)]
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