aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add a simple test-case for XLSX2CSVDominik Stadler2021-04-061-0/+113
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888432 13f79535-47bb-0310-9956-ffa450edef68
* Add one more directory from Maven build to .gitignoreDominik Stadler2021-04-061-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888431 13f79535-47bb-0310-9956-ffa450edef68
* Fix directory for examples-sources to make Maven build work againDominik Stadler2021-04-061-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888430 13f79535-47bb-0310-9956-ffa450edef68
* Switch the Ant-build to separate folders under "build/classes"Dominik Stadler2021-04-061-6/+6
| | | | | | | | This avoids colliding in strange ways with the default Gradle location "build/classes/main/java" This caused very strange error messages about invalid package names when compiling with Gradle and Ant in one source checkout git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888422 13f79535-47bb-0310-9956-ffa450edef68
* Add a Gradle target "allJavaDoc" for an initial combined JavaDoc runDominik Stadler2021-04-061-0/+41
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888421 13f79535-47bb-0310-9956-ffa450edef68
* Adjust JavaDoc target to act similar as the one in the build.xmlDominik Stadler2021-04-061-0/+12
| | | | | | Set memory and set "lint:non" on Java 8 to not be stricter than the Ant-build git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888420 13f79535-47bb-0310-9956-ffa450edef68
* Adjust some JavaDocDominik Stadler2021-04-067-11/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888419 13f79535-47bb-0310-9956-ffa450edef68
* XSLX2CSV: Do not double-encode if the value is already having quotes and ↵Dominik Stadler2021-04-063-5/+30
| | | | | | | | | | | | | | escape double-quotes Most CSV formats use "" (two quotes) to escape a "-character, we should do this in this example as well to produce files that can be parsed by other CSV processors correctly. Also cases where the value is already enclosed in quotes should not lead to additional quotes Add a simple initial test to module "examples" verify basic functionality of XSLX2CSV as I often rely on it for converting some very large xlsx-files to csv git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888418 13f79535-47bb-0310-9956-ffa450edef68
* Also look for test-data in ../test-data for Gradle buildDominik Stadler2021-04-061-3/+5
| | | | | | This is needed when running tests in the IDE via the Gradle project import git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888417 13f79535-47bb-0310-9956-ffa450edef68
* Update JUnit to 5.7.1 and junit-platform to 1.7.1Dominik Stadler2021-04-063-9/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888416 13f79535-47bb-0310-9956-ffa450edef68
* Apply some IDE suggestions, improve exception message, add some JavaDocDominik Stadler2021-04-067-52/+49
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888415 13f79535-47bb-0310-9956-ffa450edef68
* Ignore new "build" and "out" directoriesDominik Stadler2021-03-281-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888140 13f79535-47bb-0310-9956-ffa450edef68
* Gradle: Add support for rat-check and initial target "jenkins"Dominik Stadler2021-03-281-1/+55
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888139 13f79535-47bb-0310-9956-ffa450edef68
* Remove support for japicmp from Gradle buildDominik Stadler2021-03-2810-48/+2
| | | | | | | | | | | I now spent a few hours trying to make it work and the Gradle support is simply not production-ready and also not maintained, it triggers various strange errors and does not supporting the usual Gradle conventions. So I do not want to spend more time on it, feel free to revive it if you know how to make this work properly. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888138 13f79535-47bb-0310-9956-ffa450edef68
* 65206 - Migrate ant / maven to gradle buildAndreas Beeker2021-03-282-14/+14
| | | | | | fix distsourcebuild git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888121 13f79535-47bb-0310-9956-ffa450edef68
* 65206 - Migrate ant / maven to gradle buildAndreas Beeker2021-03-271-0/+2
| | | | | | try to fix Java 16 build git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888119 13f79535-47bb-0310-9956-ffa450edef68
* 65206 - Migrate ant / maven to gradle buildAndreas Beeker2021-03-273714-7021/+463
| | | | | | | | update gradle files and project structure along https://github.com/centic9/poi/tree/gradle_build remove eclipse IDE project files remove obsolete record generator files git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888111 13f79535-47bb-0310-9956-ffa450edef68
* remove temp gradle workaround for xmlbeansPJ Fanning2021-03-261-10/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888079 13f79535-47bb-0310-9956-ffa450edef68
* [github-233] Updated de.rototor.pdfbox:graphics2d to 0.31. Thanks to Tobias ↵PJ Fanning2021-03-254-4/+4
| | | | | | Stadler. This closes #233 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888058 13f79535-47bb-0310-9956-ffa450edef68
* Make "normalizing" the file-path actually workDominik Stadler2021-03-242-1/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888021 13f79535-47bb-0310-9956-ffa450edef68
* Don't use a hardcoded temporary file (and also not a hardcoded /tmp directory)Dominik Stadler2021-03-241-4/+11
| | | | | | This could cause issues in CI or when multiple different users run tests of POI on one machine! git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1887998 13f79535-47bb-0310-9956-ffa450edef68
* Make new tests for IOUtils work on Windows as wellDominik Stadler2021-03-241-1/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1887997 13f79535-47bb-0310-9956-ffa450edef68
* add more xsbs to the ooxml-lite jar by recursing through XWPF and XSSF documentsAndreas Beeker2021-03-235-0/+32
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1887978 13f79535-47bb-0310-9956-ffa450edef68
* Forbidden apis fixAndreas Beeker2021-03-201-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1887880 13f79535-47bb-0310-9956-ffa450edef68
* dispose cursor finallySayi2021-03-201-5/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1887868 13f79535-47bb-0310-9956-ffa450edef68
* Create, get, modify and remove comments, support operating paragraphs, ↵Sayi2021-03-208-39/+866
| | | | | | pictures and tables in comments git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1887867 13f79535-47bb-0310-9956-ffa450edef68
* add jdk 1.16 job for xmlbeansPJ Fanning2021-03-201-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1887845 13f79535-47bb-0310-9956-ffa450edef68
* revert accidental changePJ Fanning2021-03-191-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1887829 13f79535-47bb-0310-9956-ffa450edef68
* try to re-enable new getBlockAt codePJ Fanning2021-03-192-2/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1887828 13f79535-47bb-0310-9956-ffa450edef68
* add disabled test for corrupt filePJ Fanning2021-03-191-6/+30
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1887827 13f79535-47bb-0310-9956-ffa450edef68
* Allow negative numbers in conditional part of format stringDominik Stadler2021-03-192-1/+1
| | | | | | Closes #229 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1887802 13f79535-47bb-0310-9956-ffa450edef68
* Enhance javadoc and coverage for IOUtilsDominik Stadler2021-03-192-19/+223
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1887801 13f79535-47bb-0310-9956-ffa450edef68
* #65192 - Allow change of EncryptionModeAndreas Beeker2021-03-173-6/+91
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1887764 13f79535-47bb-0310-9956-ffa450edef68
* Revert erroneously modified logging statementMarius Volkhart2021-03-161-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1887717 13f79535-47bb-0310-9956-ffa450edef68
* add back some new codePJ Fanning2021-03-151-0/+45
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1887685 13f79535-47bb-0310-9956-ffa450edef68
* revert recent changesPJ Fanning2021-03-151-68/+30
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1887682 13f79535-47bb-0310-9956-ffa450edef68
* Run the TestAllFiles tests as part of GradleMarius Volkhart2021-03-151-1/+0
| | | | | | I accidentally excluded these in r1887643. They should not be excluded. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1887681 13f79535-47bb-0310-9956-ffa450edef68
* [bug-65184] revert due to integration test failuresPJ Fanning2021-03-141-15/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1887660 13f79535-47bb-0310-9956-ffa450edef68
* Try to fix sonar buildAndreas Beeker2021-03-145-1/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1887659 13f79535-47bb-0310-9956-ffa450edef68
* reformat filePJ Fanning2021-03-141-203/+203
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1887658 13f79535-47bb-0310-9956-ffa450edef68
* [bug-65184] Improve performance of POFSMiniStore getBlockAt. Thanks to sitsPJ Fanning2021-03-142-21/+63
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1887657 13f79535-47bb-0310-9956-ffa450edef68
* Implement CONCAT function #65185Nick Burch2021-03-144-12/+107
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1887656 13f79535-47bb-0310-9956-ffa450edef68
* Change Gradle to use java-library pluginMarius Volkhart2021-03-141-73/+49
| | | | | | | | This plugin is specifically built for libraries. The major difference to the regular java plugin is that is allows defining dependencies as part of the api or implementation. Both are used by the project at compile/runtime, but only api dependencies are made available to dependent projects. In our current setup, this doesn't matter much. We deploy to maven central using pre-built POMs. It's more of a future-proofing, and it makes it a little bit clearer which gradle projects actually require which dependencies. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1887650 13f79535-47bb-0310-9956-ffa450edef68
* xmlbeans 5.0.0 releasePJ Fanning2021-03-147-11/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1887648 13f79535-47bb-0310-9956-ffa450edef68
* Exclude batik-script dependency from OOXML artifactMarius Volkhart2021-03-144-6/+16
| | | | | | | | We do not make use of the batik-script dependency. While this is likely to be true of a variety of the Batik dependencies, batik-script causes problems for our users who are using JPMS. See [bug-65103]. Fixes #230 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1887643 13f79535-47bb-0310-9956-ffa450edef68
* Specify more granular Batik dependenciesMarius Volkhart2021-03-143-9/+26
| | | | | | | | Batik-all is a strange artifact. It's POM declares dependencies on all the sub-JARs, but its JAR has all of the sub-jars repackaged. This results in multiple JARs with the same packages being added to consuming applications. This leads to problems for JPMS users. See [bug-65183]. The Ant build does not use batik-all, so the Maven and Gradle builds should not either. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1887642 13f79535-47bb-0310-9956-ffa450edef68
* Disable parallel tests on Gradle againMarius Volkhart2021-03-141-1/+1
| | | | | | | | Something is causing parallel tests to fail on CI. I haven't been able to track down what it is. The symptoms look similar to others where the cause was a test modifying the test-data directory. The integration tests also sometimes run into OutOfMemoryErrors when I run them in parallel. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1887631 13f79535-47bb-0310-9956-ffa450edef68
* Limit which tests can run in parallelMarius Volkhart2021-03-144-3/+14
| | | | | | Some tests modify global resources. Those tests cannot be run in parallel with others, as they cause problems or become flaky. Where possible, indicate to JUnit the resources in contention. Otherwise, mark the tests as needing to run in isolation. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1887630 13f79535-47bb-0310-9956-ffa450edef68
* Get Gradle GitHub Action past downloading the XMLBeans JARMarius Volkhart2021-03-141-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1887614 13f79535-47bb-0310-9956-ffa450edef68
* [bug-65184] Improve performance of POFSMiniStore getBlockAt. Thanks to sitsPJ Fanning2021-03-131-153/+151
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1887604 13f79535-47bb-0310-9956-ffa450edef68