1029 Commits

Author SHA1 Message Date
Andreas Beeker
a94a46a2c5 Code cleanup - repetitive calls
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895031 13f79535-47bb-0310-9956-ffa450edef68
2021-11-14 12:44:07 +00:00
PJ Fanning
90acd4ae28 missing license
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895019 13f79535-47bb-0310-9956-ffa450edef68
2021-11-14 11:10:09 +00:00
PJ Fanning
2ebe1aa650 [github-278] Resolve all SpotBugs P1 issues in Main and Test. Thanks to Andreas Reichel. This closes #278
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895017 13f79535-47bb-0310-9956-ffa450edef68
2021-11-14 10:30:59 +00:00
PJ Fanning
8365ee1611 [github-278] Resolve all SpotBugs P1 issues in Main and Test. Thanks to Andreas Reichel. This closes #278
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895016 13f79535-47bb-0310-9956-ffa450edef68
2021-11-14 10:18:40 +00:00
PJ Fanning
02f36cf4fd [bug-65675] add regression test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894884 13f79535-47bb-0310-9956-ffa450edef68
2021-11-09 19:45:03 +00:00
PJ Fanning
3b8ce51ff8 remove old deprecated clone method
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894849 13f79535-47bb-0310-9956-ffa450edef68
2021-11-08 20:53:19 +00:00
PJ Fanning
fec7e1cc89 use spaces for indents
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894829 13f79535-47bb-0310-9956-ffa450edef68
2021-11-08 10:33:49 +00:00
Dominik Stadler
9e867ad539 Adjust trimming sheetnames > 31 chars
Define Constant MAX_SENSITIVE_SHEET_NAME_LEN = 31
Warn about trimmed sheet names
Implement sheetname trimming for HSSFWorkbook
Add use case tests

Closes #273

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894817 13f79535-47bb-0310-9956-ffa450edef68
2021-11-07 16:22:33 +00:00
Dominik Stadler
761a78b49f Use append(char) instead of string where possible
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894814 13f79535-47bb-0310-9956-ffa450edef68
2021-11-07 15:00:03 +00:00
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