Commit Graph

11385 Commits

Author SHA1 Message Date
PJ Fanning 2db7202cc3 [bug-65676] issue in XSSFReader where string builder is not always cleared between cells
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894902 13f79535-47bb-0310-9956-ffa450edef68
2021-11-10 10:34:09 +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 458369a64d [bug-65674] add isVideoFile to XSLFPictureShape
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894860 13f79535-47bb-0310-9956-ffa450edef68
2021-11-09 10:40:57 +00:00
PJ Fanning 161f02ad9e javadoc typo
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894858 13f79535-47bb-0310-9956-ffa450edef68
2021-11-09 10:16:58 +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 2a6ef7e4ae throw IOException if getInputStream fails
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894848 13f79535-47bb-0310-9956-ffa450edef68
2021-11-08 20:49:45 +00:00
PJ Fanning 7739885b2f remove MaxPermSize - no longer supported in java
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894847 13f79535-47bb-0310-9956-ffa450edef68
2021-11-08 20:35:39 +00:00
PJ Fanning c9a0943690 upgrade byte-buddy
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894845 13f79535-47bb-0310-9956-ffa450edef68
2021-11-08 19:28:16 +00:00
PJ Fanning 5a59376389 return better error message when ZipEntry has no data (it was closed before the data was retrieved)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894831 13f79535-47bb-0310-9956-ffa450edef68
2021-11-08 11:15:26 +00:00
PJ Fanning 336bce7c82 [bug-65673] add test case (that passes)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894830 13f79535-47bb-0310-9956-ffa450edef68
2021-11-08 11:00:59 +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
PJ Fanning ee110ed126 typo in log message
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894828 13f79535-47bb-0310-9956-ffa450edef68
2021-11-08 10:30:28 +00:00
Andreas Beeker 37e8f72493 #65672 - Digitial Signature - set commitment type and purpose
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894820 13f79535-47bb-0310-9956-ffa450edef68
2021-11-07 23:48:15 +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 62b628f6f3 Add missing exclude for CI run "no-scratchpad"
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894816 13f79535-47bb-0310-9956-ffa450edef68
2021-11-07 15:26:56 +00:00
Dominik Stadler c531f2192f Jenkins DSL: Adjust batchFile() in Test-Environment-Job as it only expects a String
Also fix incorrect nesting of "condition", "runner", "steps" elements inside "conditionalSteps"

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894815 13f79535-47bb-0310-9956-ffa450edef68
2021-11-07 15:00:07 +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 92de062c21 Update version in osgi files to 5.1.1-SNAPSHOT as well
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894813 13f79535-47bb-0310-9956-ffa450edef68
2021-11-07 14:59:52 +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 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