Commit Graph

11367 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 c2936346f8 Add JUnit and JaCoCo publisher to Sonar-Gradle Job
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894811 13f79535-47bb-0310-9956-ffa450edef68
2021-11-07 14:59:43 +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 4e7b994c25 remove file due to build issue
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894802 13f79535-47bb-0310-9956-ffa450edef68
2021-11-07 10:57:02 +00:00
PJ Fanning d2167b007a include copy of LICENSE in root dir as well as legal dir (so github will find it)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894752 13f79535-47bb-0310-9956-ffa450edef68
2021-11-05 09:01:16 +00:00
PJ Fanning 067baed674 revert README change
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894750 13f79535-47bb-0310-9956-ffa450edef68
2021-11-05 08:44:42 +00:00
PJ Fanning 484074dd68 add SECURITY.md
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894749 13f79535-47bb-0310-9956-ffa450edef68
2021-11-05 08:39:11 +00:00
PJ Fanning e40b4e1ec9 CaseInsensitiveMap is not thread-safe
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894738 13f79535-47bb-0310-9956-ffa450edef68
2021-11-04 18:30:31 +00:00
PJ Fanning 584c8c059b case insensitive map
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894720 13f79535-47bb-0310-9956-ffa450edef68
2021-11-03 15:20:32 +00:00
PJ Fanning a46cf63f4f javadoc
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894714 13f79535-47bb-0310-9956-ffa450edef68
2021-11-03 14:00:10 +00:00
PJ Fanning 8f1baa1190 [bug-65669] proper handling of apostrophe escaping in table column names
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894713 13f79535-47bb-0310-9956-ffa450edef68
2021-11-03 13:55:11 +00:00
PJ Fanning 90d791b8ff xmlsec upgrade
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894705 13f79535-47bb-0310-9956-ffa450edef68
2021-11-03 07:40:44 +00:00
Andreas Beeker f2f4ea44b6 #65668 - upgrade to xmlsec 2.3.0 - make secure validation configurable
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894701 13f79535-47bb-0310-9956-ffa450edef68
2021-11-03 00:00:21 +00:00
PJ Fanning 1c184f49d0 forbidden api
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894700 13f79535-47bb-0310-9956-ffa450edef68
2021-11-02 21:37:01 +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 face981f3f forbidden api
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894697 13f79535-47bb-0310-9956-ffa450edef68
2021-11-02 19:54:45 +00:00
PJ Fanning e26ab012d8 [github-270] Draw correct XDGF circular arc. Thanks to Dmitry Komarov. This closes #270
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894696 13f79535-47bb-0310-9956-ffa450edef68
2021-11-02 19:35:25 +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
PJ Fanning d9b6f799a6 revert xmlsec upgrade
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894691 13f79535-47bb-0310-9956-ffa450edef68
2021-11-02 17:15:53 +00:00
PJ Fanning c5b2b3b984 xmlsec 2.3.0
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894689 13f79535-47bb-0310-9956-ffa450edef68
2021-11-02 15:03:56 +00:00
PJ Fanning 171b6883f5 compile issue
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894688 13f79535-47bb-0310-9956-ffa450edef68
2021-11-02 15:03:42 +00:00
PJ Fanning f3d36d5271 use package revert due to new warning log about using revert
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894687 13f79535-47bb-0310-9956-ffa450edef68
2021-11-02 14:50:47 +00:00
Dominik Stadler 8bf6a489f6 Adjust version to 5.1.1-SNAPSHOT, adjust version replacing
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894682 13f79535-47bb-0310-9956-ffa450edef68
2021-11-02 13:19:16 +00:00
Dominik Stadler f4ae175558 Add slightly more output if signature-test fails
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894681 13f79535-47bb-0310-9956-ffa450edef68
2021-11-02 13:19:03 +00:00
Dominik Stadler 34ea6a50e0 Check and fix issue when sheets are added while an existing workbook-evaluator is used.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894680 13f79535-47bb-0310-9956-ffa450edef68
2021-11-02 13:18:50 +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 cb30647014 Keep junit-versions in sync between Ant and Gradle
Also remove outdated versions of junit 5 jars
This breaks CI builds in strange ways otherwise

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894678 13f79535-47bb-0310-9956-ffa450edef68
2021-11-02 13:18:20 +00:00
Dominik Stadler bf22ea449e Switch to Gradle build for recomplication-test in poi-integration
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894677 13f79535-47bb-0310-9956-ffa450edef68
2021-11-02 13:18:07 +00:00
Dominik Stadler 7a5bc4227b Do not fail on different count of categories and points and fix cloning charts
We see many cases where documents have charts with a difference here, so
downgrade the exception to a warning for now

Also handle cloning charts in workbooks where the parts have unexpected names
by making sure that the chosen part-name is not yet taken.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894676 13f79535-47bb-0310-9956-ffa450edef68
2021-11-02 13:17:53 +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 087236a412 snapshot version
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894666 13f79535-47bb-0310-9956-ffa450edef68
2021-11-02 08:47:22 +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 a35532e9ea byte-buddy 1.11.22
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894623 13f79535-47bb-0310-9956-ffa450edef68
2021-10-29 16:54:46 +00:00
PJ Fanning 567b8fde92 try to add LICENSE and NOTICE to sources jars
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894567 13f79535-47bb-0310-9956-ffa450edef68
2021-10-26 00:38:50 +00:00
PJ Fanning a826e8e32d try to add LICENSE and NOTICE to sources jars
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894566 13f79535-47bb-0310-9956-ffa450edef68
2021-10-26 00:37:27 +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 d34b0554cc stub entry for 5.1.0 release
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894556 13f79535-47bb-0310-9956-ffa450edef68
2021-10-25 14:21:28 +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
PJ Fanning 7e17a57848 prep 5.10 (RC2)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894541 13f79535-47bb-0310-9956-ffa450edef68
2021-10-24 23:10:05 +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 3a3ac61965 add missing xsbs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894533 13f79535-47bb-0310-9956-ffa450edef68
2021-10-24 14:45:11 +00:00
PJ Fanning 977a870899 configurable max record len
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894526 13f79535-47bb-0310-9956-ffa450edef68
2021-10-24 09:37:50 +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 c1ae6ef0e9 XSSFReader extensibility
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894513 13f79535-47bb-0310-9956-ffa450edef68
2021-10-23 14:23:19 +00:00
PJ Fanning 9f6f11023a fix mime type for pict files (image/x-pict)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894510 13f79535-47bb-0310-9956-ffa450edef68
2021-10-23 12:53:57 +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