Commit Graph

10845 Commits

Author SHA1 Message Date
Dominik Stadler 454d0452ef Bug 63339: Use removeFormulaImpl() where possible and add a test which verifies that setting a string-value on a formula cell is performed
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889837 13f79535-47bb-0310-9956-ffa450edef68
2021-05-13 12:11:26 +00:00
Dominik Stadler 5e656e05ef Apply some IDE suggestions
Simpler regexes, missing JavaDoc, final

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889836 13f79535-47bb-0310-9956-ffa450edef68
2021-05-13 12:11:22 +00:00
PJ Fanning b3212152e6 xmlsec 2.2.2
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889816 13f79535-47bb-0310-9956-ffa450edef68
2021-05-13 00:00:41 +00:00
PJ Fanning 33bfe37c0b gradle 7
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889815 13f79535-47bb-0310-9956-ffa450edef68
2021-05-12 23:39:41 +00:00
Sayi d977656195 Remove invalid code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889747 13f79535-47bb-0310-9956-ffa450edef68
2021-05-11 08:03:28 +00:00
Andreas Beeker 0b0bcce7ac #64844 - Incorrect sizes of images in SVG
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889686 13f79535-47bb-0310-9956-ffa450edef68
2021-05-08 21:56:06 +00:00
Tim Allison b3f53ff0bc Bug 65293 -- npe in HwmfFont
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889636 13f79535-47bb-0310-9956-ffa450edef68
2021-05-07 15:43:04 +00:00
Sayi 841d558018 #65282 - addRun method only adds to run collection, missing iRun collection
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889551 13f79535-47bb-0310-9956-ffa450edef68
2021-05-06 06:29:31 +00:00
Andreas Beeker 053ae3618d #65085 - LineRect shall throw more specific exceptions
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889428 13f79535-47bb-0310-9956-ffa450edef68
2021-05-02 22:03:02 +00:00
Andreas Beeker 45995b4a24 #65214 - Document signed by POI reported as 'partially' signed
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889427 13f79535-47bb-0310-9956-ffa450edef68
2021-05-02 21:48:02 +00:00
Sayi 90f228cabb Fix ArrayIndexOutOfBoundsException if XWPFRun does not set style
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889259 13f79535-47bb-0310-9956-ffa450edef68
2021-04-28 09:26:16 +00:00
Dominik Stadler 285fd61fb8 Update to SonarQube plugin 3.1.1 and try to set version
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889206 13f79535-47bb-0310-9956-ffa450edef68
2021-04-26 15:12:35 +00:00
Dominik Stadler f71833e1d9 Do not return null for POITextExtractor.getMetadataTextExtractor() for old Excel files
To adhere to the JavaDoc of the POITextExtractor interface which does not document a
possible null return.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889205 13f79535-47bb-0310-9956-ffa450edef68
2021-04-26 15:12:32 +00:00
Dominik Stadler 6b1e23665d Improve error message when formulas cannot be evaluated for some rows in SXSSF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889204 13f79535-47bb-0310-9956-ffa450edef68
2021-04-26 15:12:26 +00:00
Dominik Stadler 9517445fa9 Rework test to not cause file-handle leaks and add an exclude for Log4j 2
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889203 13f79535-47bb-0310-9956-ffa450edef68
2021-04-26 15:12:22 +00:00
Dominik Stadler 6722f275d3 Add a disabled test to run one single file from the stress-test-documents
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889202 13f79535-47bb-0310-9956-ffa450edef68
2021-04-26 15:12:18 +00:00
Dominik Stadler a4b22fa4d3 Jenkins DSL: Remove some outdated directories/files
Otherwise we run into strange CI failures if some duplicated classes
are found in some of the steps

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889201 13f79535-47bb-0310-9956-ffa450edef68
2021-04-26 15:12:15 +00:00
Dominik Stadler e52be55f45 Jeknins DSL: Disable Maven based Sonar-run to see if the Gradle-based one works fine now
We can get rid of the Maven-based build if the Gradle-based job works fine now!

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889200 13f79535-47bb-0310-9956-ffa450edef68
2021-04-26 15:12:12 +00:00
PJ Fanning 50cfe3c10e [github-235] Fix date formatting for number cell values. Thanks to Anthony Schott. This close #235
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889179 13f79535-47bb-0310-9956-ffa450edef68
2021-04-25 17:16:05 +00:00
Andreas Beeker 1d594451d8 #65228 - the method getCap() does not work correctly in xslf.usermodel.XSLFTextRun
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889111 13f79535-47bb-0310-9956-ffa450edef68
2021-04-22 22:09:14 +00:00
Andreas Beeker 48d3c68270 TIKA-3164 - add more .xsb and classes needed for TIKAs extractor
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888985 13f79535-47bb-0310-9956-ffa450edef68
2021-04-19 22:48:09 +00:00
Andreas Beeker cf045a86b0 Fix Javadocs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888977 13f79535-47bb-0310-9956-ffa450edef68
2021-04-19 17:30:02 +00:00
Andreas Beeker 32c2de2325 Fix Javadocs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888939 13f79535-47bb-0310-9956-ffa450edef68
2021-04-18 23:15:45 +00:00
Andreas Beeker 27e0842bcc fix gradle builds to better comply with IntelliJ
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888936 13f79535-47bb-0310-9956-ffa450edef68
2021-04-18 22:11:26 +00:00
Andreas Beeker 9392b464e3 Fix Javadocs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888935 13f79535-47bb-0310-9956-ffa450edef68
2021-04-18 22:10:38 +00:00
Andreas Beeker 7ab1c9c0fd fix javadocs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888805 13f79535-47bb-0310-9956-ffa450edef68
2021-04-15 22:28:11 +00:00
PJ Fanning e7a2df7dda [github-234] Ensure the hours position is correct. Thanks to Anthony Schott. This closes #234
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888804 13f79535-47bb-0310-9956-ffa450edef68
2021-04-15 22:13:09 +00:00
Dominik Stadler 3b1c82f6cb Increase memory for task allJavaDoc to avoid OOM during building
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888793 13f79535-47bb-0310-9956-ffa450edef68
2021-04-15 14:25:47 +00:00
Dominik Stadler 0484610a9c Junit 5: Run some tests which change static BYTE_ARRAY_MAX_OVERRIDE in isolation
Otherwise many other tests can become flaky if the value is set very low

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888792 13f79535-47bb-0310-9956-ffa450edef68
2021-04-15 14:25:44 +00:00
Dominik Stadler 930e576659 Gradle: Synchronize the code in the different build-scripts across the projects
No actual change in behavior expected
Mostly moved parts to make it easier to compare the build files with each other

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888791 13f79535-47bb-0310-9956-ffa450edef68
2021-04-15 14:25:38 +00:00
Andreas Beeker bb5d321b79 fix javadocs - remove @author tags (http://apache-poi.1045710.n5.nabble.com/Javadocs-clean-up-remove-author-tags-tp5737663.html)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888780 13f79535-47bb-0310-9956-ffa450edef68
2021-04-14 22:53:33 +00:00
Andreas Beeker 7c67bba960 :poi-ooxml - fix javadocs - link to dependent/external project javadocs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888747 13f79535-47bb-0310-9956-ffa450edef68
2021-04-13 22:46:12 +00:00
Andreas Beeker 088d1dd197 :poi-scratchpad - fix javadocs - link to dependent/external project javadocs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888746 13f79535-47bb-0310-9956-ffa450edef68
2021-04-13 21:37:33 +00:00
Andreas Beeker 240b02daec replace over engineered inner classes with lambdas/method references
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888743 13f79535-47bb-0310-9956-ffa450edef68
2021-04-13 19:44:38 +00:00
Andreas Beeker 3c03974499 Fix Xades / Document.importNode SIGSEV
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888686 13f79535-47bb-0310-9956-ffa450edef68
2021-04-12 23:49:29 +00:00
Andreas Beeker 382714eccd :poi - fix javadocs - link to dependent/external project javadocs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888640 13f79535-47bb-0310-9956-ffa450edef68
2021-04-11 20:17:06 +00:00
Dominik Stadler 41b9bb011f Adjust paths in build-files some more and copy svn-libs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888584 13f79535-47bb-0310-9956-ffa450edef68
2021-04-10 12:29:13 +00:00
Andreas Beeker 22c893bc69 move jdk check into doFirst
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888582 13f79535-47bb-0310-9956-ffa450edef68
2021-04-10 12:01:15 +00:00
Andreas Beeker 861ff65508 fix paths for integration build, docs, add site task to main build.gradle
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888580 13f79535-47bb-0310-9956-ffa450edef68
2021-04-10 11:44:30 +00:00
PJ Fanning ab0e7481aa try to fix build issue
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888577 13f79535-47bb-0310-9956-ffa450edef68
2021-04-10 10:01:50 +00:00
Dominik Stadler fadeb68392 Store jars for svnant locally
Downloading them becomes nearly impossible now that bintray.dl closes down,
so let's rather persist the jars as part of the source distribution for now.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888572 13f79535-47bb-0310-9956-ffa450edef68
2021-04-10 07:16:57 +00:00
PJ Fanning 0c3aa44d36 [bug-65227] add NPE guard in SheetUtil. Thanks to Petr Blaha
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888553 13f79535-47bb-0310-9956-ffa450edef68
2021-04-09 08:21:13 +00:00
Dominik Stadler 30d8d17735 Adjust for the new source-directories in some more places
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888536 13f79535-47bb-0310-9956-ffa450edef68
2021-04-08 20:10:53 +00:00
Dominik Stadler 329ae952d2 Ensure the cache-directory for ImageIO is set to a valid directory
Introduce a helper method to set ImageIO.setCacheDir() to the default temporary directory

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888535 13f79535-47bb-0310-9956-ffa450edef68
2021-04-08 20:10:48 +00:00
Andreas Beeker b9521e877c fix paths to new gradle directories
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888529 13f79535-47bb-0310-9956-ffa450edef68
2021-04-08 17:54:42 +00:00
Andreas Beeker 0f3bf7e37f fix merge problem
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888489 13f79535-47bb-0310-9956-ffa450edef68
2021-04-07 21:48:05 +00:00
Andreas Beeker b6aee1ef6d 65206 - Migrate ant / maven to gradle build
compile / jar / test of mrJars
don't include ants build.xml anymore
rename directories to match project and maven artifact names
refactor artifacts - so each project has one artifact
replace static references in hssf/dev tests with junit5 constructs, which had problems in parallel tests
increase gradle heap to 4gb because of OOM - maybe less would also work

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888488 13f79535-47bb-0310-9956-ffa450edef68
2021-04-07 21:40:33 +00:00
Dominik Stadler 6458acb931 Adjust path for archiving JUnit files to capture both locations that are in use
Somehow JUnit stores test-results either under test-result or under test-result/test,
so let's look at both directories for now

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888458 13f79535-47bb-0310-9956-ffa450edef68
2021-04-07 05:33:18 +00:00
Dominik Stadler fc96f1e4af Jenkins DSL: Add a workaround to run "ant init" before building with Gradle
Otherwise the Ant-helpers are not compiled properly currently

We should remove this as soon as Gradle build is working standalone

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888450 13f79535-47bb-0310-9956-ffa450edef68
2021-04-06 20:42:32 +00:00
Dominik Stadler 572c1d9285 Enable Gradle Wrapper to avoid running with an unsupported local version
This may cause the strange "PrecompiledProjectScript" failures that we see currently

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888449 13f79535-47bb-0310-9956-ffa450edef68
2021-04-06 20:23:44 +00:00