220 Commits

Author SHA1 Message Date
Dominik Stadler
53217e2b1e Use parallel build to speed up building and running tests
Enable parallel building and parallel test-execution
Provide a configuration to still build/test serially on CI
via CI_BUILD=TRUE gradle --no-parallel --max-workers=1 clean build
Adjust Jenkins DSL to set CI_BUILD to avoid problems in CI
Adjust TestAllFiles to not fail when parallel builds are enabled
Reduce memory settings to reduce requirements on build-environments
Add gradle plugin to list task-dependencies

Thanks to Andreas Reichel for the PR

Closes #275

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894812 13f79535-47bb-0310-9956-ffa450edef68
2021-11-07 14:59:48 +00:00
Dominik Stadler
034c95ec55 Add some more forbidden-apis to prefer core JDK classes over Guava and commons-codec
Also prevent java logging from being used inadvertently

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894810 13f79535-47bb-0310-9956-ffa450edef68
2021-11-07 14:59:40 +00:00
PJ Fanning
c7954fdcd8 forbidden api
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894699 13f79535-47bb-0310-9956-ffa450edef68
2021-11-02 21:12:40 +00:00
PJ Fanning
1328893212 [github-269] more work on external workbook links (formulas). Thanks to @aspojo. This closes #269
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894695 13f79535-47bb-0310-9956-ffa450edef68
2021-11-02 18:59:18 +00:00
Dominik Stadler
da930c4f87 Add some more JavaDoc
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894679 13f79535-47bb-0310-9956-ffa450edef68
2021-11-02 13:18:35 +00:00
Dominik Stadler
d205318583 Optimize formula evaluation of row-references
We currently walk 1 million rows for every formula which
uses a column-reference like "$A"

Execution time of test-case TestVlookup.testFullColumnAreaRef61841
went from more than 16 seconds to around 2 seconds

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894675 13f79535-47bb-0310-9956-ffa450edef68
2021-11-02 13:17:39 +00:00
PJ Fanning
712fdd6226 javadoc
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894642 13f79535-47bb-0310-9956-ffa450edef68
2021-10-31 09:44:41 +00:00
PJ Fanning
90b8a0c36d try to add LICENSE and NOTICE to sources jars
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894565 13f79535-47bb-0310-9956-ffa450edef68
2021-10-25 22:50:03 +00:00
PJ Fanning
e66486bc8a try to add LICENSE and NOTICE to javadoc jars
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894564 13f79535-47bb-0310-9956-ffa450edef68
2021-10-25 22:29:10 +00:00
PJ Fanning
a5325cb112 reflections 0.10.2
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894561 13f79535-47bb-0310-9956-ffa450edef68
2021-10-25 21:03:10 +00:00
PJ Fanning
ecdd4fcb55 revert github-267 due to broken tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894550 13f79535-47bb-0310-9956-ffa450edef68
2021-10-25 10:11:04 +00:00
PJ Fanning
6017327bae [github-267] Issue with sheet range in formula With spaces and quotes. Thanks to aspojo. This closes #267
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894549 13f79535-47bb-0310-9956-ffa450edef68
2021-10-25 09:32:50 +00:00
Andreas Beeker
4b230fa142 #65653 - HSLF FillType for texture and background color fills ignored
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894538 13f79535-47bb-0310-9956-ffa450edef68
2021-10-24 22:07:59 +00:00
PJ Fanning
e823df8029 configurable max record len
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894525 13f79535-47bb-0310-9956-ffa450edef68
2021-10-24 09:37:37 +00:00
PJ Fanning
8644c69b4c configurable max record len
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894516 13f79535-47bb-0310-9956-ffa450edef68
2021-10-23 21:13:08 +00:00
PJ Fanning
6a12c6cb25 [bug-65650] use image/x-pict mime type
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894507 13f79535-47bb-0310-9956-ffa450edef68
2021-10-23 10:49:18 +00:00
PJ Fanning
c0cc881114 more support for configurable max record len
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894494 13f79535-47bb-0310-9956-ffa450edef68
2021-10-22 21:08:53 +00:00
PJ Fanning
a34768d3f8 javadoc
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894476 13f79535-47bb-0310-9956-ffa450edef68
2021-10-22 12:59:35 +00:00
PJ Fanning
253c8a06ab get some T.DIST tests to work
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894473 13f79535-47bb-0310-9956-ffa450edef68
2021-10-22 11:53:05 +00:00
PJ Fanning
1b51dbca9f get some T.DIST tests to work
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894471 13f79535-47bb-0310-9956-ffa450edef68
2021-10-22 09:59:53 +00:00
PJ Fanning
6290068f49 get some T.DIST tests to work (still not right on cumulative=false)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894470 13f79535-47bb-0310-9956-ffa450edef68
2021-10-22 09:48:30 +00:00
PJ Fanning
80b852452f fix negative X on T.DIST.RT
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894469 13f79535-47bb-0310-9956-ffa450edef68
2021-10-22 09:03:46 +00:00
PJ Fanning
5d5778d407 fix names of t.dist functions
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894468 13f79535-47bb-0310-9956-ffa450edef68
2021-10-22 08:49:43 +00:00
PJ Fanning
e216997950 make max record sizes configurable
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894454 13f79535-47bb-0310-9956-ffa450edef68
2021-10-21 18:42:11 +00:00
PJ Fanning
04c130b8d5 make max record sizes configurable
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894453 13f79535-47bb-0310-9956-ffa450edef68
2021-10-21 17:34:29 +00:00
PJ Fanning
dbc6576da4 make max record sizes configurable
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894452 13f79535-47bb-0310-9956-ffa450edef68
2021-10-21 16:52:09 +00:00
Andreas Beeker
bf360400be sonar fixes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894426 13f79535-47bb-0310-9956-ffa450edef68
2021-10-20 22:50:35 +00:00
PJ Fanning
f09e50305e ant 1.10.12
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894425 13f79535-47bb-0310-9956-ffa450edef68
2021-10-20 22:48:54 +00:00
Andreas Beeker
40888e08cd sonar fixes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894393 13f79535-47bb-0310-9956-ffa450edef68
2021-10-19 21:20:40 +00:00
PJ Fanning
f4726ede1f comments
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894392 13f79535-47bb-0310-9956-ffa450edef68
2021-10-19 20:38:27 +00:00
PJ Fanning
77786178ea [bug-65644] Improved regex for Excel accounting formats. Thanks to Adam DeSapio
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894386 13f79535-47bb-0310-9956-ffa450edef68
2021-10-19 18:25:33 +00:00
PJ Fanning
67008b3114 add TDIST.2T support
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894384 13f79535-47bb-0310-9956-ffa450edef68
2021-10-19 16:18:52 +00:00
PJ Fanning
72e6896f81 add TDIST.RT support
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894383 13f79535-47bb-0310-9956-ffa450edef68
2021-10-19 15:56:40 +00:00
PJ Fanning
cdc859a88b warning about varargs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894379 13f79535-47bb-0310-9956-ffa450edef68
2021-10-19 14:10:00 +00:00
PJ Fanning
616cdf944b [bug-64258] support TDIST function
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894378 13f79535-47bb-0310-9956-ffa450edef68
2021-10-19 14:01:40 +00:00
PJ Fanning
d14dc1c659 scaling issue
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894366 13f79535-47bb-0310-9956-ffa450edef68
2021-10-18 22:40:14 +00:00
Andreas Beeker
3c3154ea8c sonar fixes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894365 13f79535-47bb-0310-9956-ffa450edef68
2021-10-18 22:35:17 +00:00
Andreas Beeker
611f5273fd sonar fixes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894360 13f79535-47bb-0310-9956-ffa450edef68
2021-10-18 17:40:47 +00:00
PJ Fanning
005810640d [bug-65638] Remove escaping of ampersand from headers and footers created by Excel. Thanks to Viru.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894357 13f79535-47bb-0310-9956-ffa450edef68
2021-10-18 17:15:04 +00:00
Andreas Beeker
87a764956c sonar fixes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894331 13f79535-47bb-0310-9956-ffa450edef68
2021-10-17 20:44:36 +00:00
PJ Fanning
0042a47172 record size of encrypted temp data
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894303 13f79535-47bb-0310-9956-ffa450edef68
2021-10-16 10:30:43 +00:00
Andreas Beeker
dfbab3ff6a #64036 - Replace reflection calls in factories for Java 9+
use ServiceLoader for HSLF Metro Shapes

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894298 13f79535-47bb-0310-9956-ffa450edef68
2021-10-16 00:00:50 +00:00
Andreas Beeker
c6f7087f4f #65634 - NotOLE2FileException not thrown in POI 5.0.0 by opening an XML-RAW File with SlideShowFactory.create()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894271 13f79535-47bb-0310-9956-ffa450edef68
2021-10-14 22:43:56 +00:00
PJ Fanning
700ecc461f [bug-62215] add test case for sxssf formulas - issue was already fixed
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894128 13f79535-47bb-0310-9956-ffa450edef68
2021-10-11 10:45:59 +00:00
PJ Fanning
84d9ff335a [bug-64137] increase max iterations for IRR
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894111 13f79535-47bb-0310-9956-ffa450edef68
2021-10-10 15:46:01 +00:00
PJ Fanning
08f6de47f6 [bug-64137] increase max iterations for IRR
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894110 13f79535-47bb-0310-9956-ffa450edef68
2021-10-10 13:23:01 +00:00
PJ Fanning
8ed95f7970 add test case for IRR function
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894109 13f79535-47bb-0310-9956-ffa450edef68
2021-10-10 13:09:09 +00:00
PJ Fanning
5bcf3c3d73 [bug-62040] quotient function does not support cell references
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894103 13f79535-47bb-0310-9956-ffa450edef68
2021-10-10 11:21:41 +00:00
PJ Fanning
93fb1bf96b imports
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894098 13f79535-47bb-0310-9956-ffa450edef68
2021-10-10 10:00:27 +00:00
PJ Fanning
2514e4d0ab [bug-65452] fix issue where WorkbookFactory.create(File, ...) returns null if file type not recognised
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894097 13f79535-47bb-0310-9956-ffa450edef68
2021-10-10 09:58:02 +00:00