]> source.dussan.org Git - poi.git/log
poi.git
3 years agoconvert tabs to spaces
PJ Fanning [Sun, 23 May 2021 01:17:07 +0000 (01:17 +0000)]
convert tabs to spaces

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1890128 13f79535-47bb-0310-9956-ffa450edef68

3 years agotry to fix tests
PJ Fanning [Sat, 22 May 2021 23:02:02 +0000 (23:02 +0000)]
try to fix tests

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1890126 13f79535-47bb-0310-9956-ffa450edef68

3 years agoconvert tabs to spaces
PJ Fanning [Sat, 22 May 2021 22:08:50 +0000 (22:08 +0000)]
convert tabs to spaces

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1890125 13f79535-47bb-0310-9956-ffa450edef68

3 years agotry to fix test
PJ Fanning [Sat, 22 May 2021 22:04:07 +0000 (22:04 +0000)]
try to fix test

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1890124 13f79535-47bb-0310-9956-ffa450edef68

3 years agotry to fix test
PJ Fanning [Sat, 22 May 2021 22:02:45 +0000 (22:02 +0000)]
try to fix test

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1890123 13f79535-47bb-0310-9956-ffa450edef68

3 years agoconvert tabs to spaces
PJ Fanning [Sat, 22 May 2021 21:37:08 +0000 (21:37 +0000)]
convert tabs to spaces

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1890122 13f79535-47bb-0310-9956-ffa450edef68

3 years agotry to fix test
PJ Fanning [Sat, 22 May 2021 21:31:55 +0000 (21:31 +0000)]
try to fix test

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1890121 13f79535-47bb-0310-9956-ffa450edef68

3 years agoconvert tabs to spaces
PJ Fanning [Sat, 22 May 2021 20:56:44 +0000 (20:56 +0000)]
convert tabs to spaces

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1890120 13f79535-47bb-0310-9956-ffa450edef68

3 years agoconvert tabs to spaces
PJ Fanning [Sat, 22 May 2021 20:22:16 +0000 (20:22 +0000)]
convert tabs to spaces

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1890119 13f79535-47bb-0310-9956-ffa450edef68

3 years agoexclude gradle wrapper from src release
PJ Fanning [Sat, 22 May 2021 20:16:21 +0000 (20:16 +0000)]
exclude gradle wrapper from src release

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1890118 13f79535-47bb-0310-9956-ffa450edef68

3 years agoconvert tabs to spaces
PJ Fanning [Sat, 22 May 2021 20:03:17 +0000 (20:03 +0000)]
convert tabs to spaces

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1890117 13f79535-47bb-0310-9956-ffa450edef68

3 years agoadd forbidden-apis plugin to gradle builds
Andreas Beeker [Fri, 21 May 2021 22:32:09 +0000 (22:32 +0000)]
add forbidden-apis plugin to gradle builds

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1890090 13f79535-47bb-0310-9956-ffa450edef68

3 years agoactivate javadoc lint and fix errors
Andreas Beeker [Fri, 21 May 2021 21:22:40 +0000 (21:22 +0000)]
activate javadoc lint and fix errors
add signing and checksum generation
add slf4j-bridge for tests
add dependencies to ooxml-lite
fix complex enum classes
add override annotations
move gradle logic to root build
generate javadoc in its own dist directory, because JPMS complains about duplicate modules otherwise

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1890089 13f79535-47bb-0310-9956-ffa450edef68

3 years agoBug65292: Manual revert r1884958, Add a paragraph by default when creating a cell...
Sayi [Thu, 20 May 2021 09:57:32 +0000 (09:57 +0000)]
Bug65292: Manual revert r1884958, Add a paragraph by default when creating a cell and not add a paragraph when loading an existing table cell

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1890042 13f79535-47bb-0310-9956-ffa450edef68

3 years agofixed unable to read comments with pictures
Sayi [Thu, 20 May 2021 08:52:30 +0000 (08:52 +0000)]
fixed unable to read comments with pictures

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1890040 13f79535-47bb-0310-9956-ffa450edef68

3 years agoJenkins DSL: Make sure to revert module-info.class files
Dominik Stadler [Sat, 15 May 2021 07:20:46 +0000 (07:20 +0000)]
Jenkins DSL: Make sure to revert module-info.class files

Otherwise CI-builds fail when they were modified by a previous build

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889910 13f79535-47bb-0310-9956-ffa450edef68

3 years agoOne more place where path.separator needs to be used instead of ':'
Dominik Stadler [Fri, 14 May 2021 12:14:13 +0000 (12:14 +0000)]
One more place where path.separator needs to be used instead of ':'

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889894 13f79535-47bb-0310-9956-ffa450edef68

3 years agoAdd missing dependency on batik-script
Dominik Stadler [Fri, 14 May 2021 11:38:31 +0000 (11:38 +0000)]
Add missing dependency on batik-script

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889893 13f79535-47bb-0310-9956-ffa450edef68

3 years agoJenkins DSL: Disable general Maven job as well and add trigger for Gradle-SonarQube-Job
Dominik Stadler [Fri, 14 May 2021 11:38:27 +0000 (11:38 +0000)]
Jenkins DSL: Disable general Maven job as well and add trigger for Gradle-SonarQube-Job

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889892 13f79535-47bb-0310-9956-ffa450edef68

3 years agodelete old xmlsec jar
PJ Fanning [Fri, 14 May 2021 08:39:36 +0000 (08:39 +0000)]
delete old xmlsec jar

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889888 13f79535-47bb-0310-9956-ffa450edef68

3 years agoTry to fix compiling on some CI-runs to support all active types of JDKs
Dominik Stadler [Fri, 14 May 2021 08:20:45 +0000 (08:20 +0000)]
Try to fix compiling on some CI-runs to support all active types of JDKs

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889885 13f79535-47bb-0310-9956-ffa450edef68

3 years agoTry to use the correct path-separator on Windows
Dominik Stadler [Fri, 14 May 2021 06:41:22 +0000 (06:41 +0000)]
Try to use the correct path-separator on Windows

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889880 13f79535-47bb-0310-9956-ffa450edef68

3 years agoMake isJava8 true or false, print out result in "init"
Dominik Stadler [Fri, 14 May 2021 06:41:20 +0000 (06:41 +0000)]
Make isJava8 true or false, print out result in "init"

Some CI-builds with Java 11+ seem to still run as "JDK 8" builds...

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889879 13f79535-47bb-0310-9956-ffa450edef68

3 years agouse commons-io StringBuilderWriter
PJ Fanning [Fri, 14 May 2021 02:24:48 +0000 (02:24 +0000)]
use commons-io StringBuilderWriter

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889874 13f79535-47bb-0310-9956-ffa450edef68

3 years agoimport order
PJ Fanning [Fri, 14 May 2021 02:11:21 +0000 (02:11 +0000)]
import order

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889873 13f79535-47bb-0310-9956-ffa450edef68

3 years agoforbidden api issue
PJ Fanning [Fri, 14 May 2021 02:09:44 +0000 (02:09 +0000)]
forbidden api issue

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889872 13f79535-47bb-0310-9956-ffa450edef68

3 years ago#65304 - Add commons-io as a dependency
Andreas Beeker [Fri, 14 May 2021 00:37:50 +0000 (00:37 +0000)]
#65304 - Add commons-io as a dependency

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889871 13f79535-47bb-0310-9956-ffa450edef68

3 years agoFix two more invalid paths for the Java 9+ compilation
Dominik Stadler [Thu, 13 May 2021 12:11:43 +0000 (12:11 +0000)]
Fix two more invalid paths for the Java 9+ compilation

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889842 13f79535-47bb-0310-9956-ffa450edef68

3 years agoPrint out state of isJava8 when building jars
Dominik Stadler [Thu, 13 May 2021 12:11:40 +0000 (12:11 +0000)]
Print out state of isJava8 when building jars

It seems this is not set properly in some of the CI-builds

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889841 13f79535-47bb-0310-9956-ffa450edef68

3 years agoUse proper module-name without "poi-" prefix when compiling module-java with Java 9+
Dominik Stadler [Thu, 13 May 2021 12:11:38 +0000 (12:11 +0000)]
Use proper module-name without "poi-" prefix when compiling module-java with Java 9+

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889840 13f79535-47bb-0310-9956-ffa450edef68

3 years agoStart moving some bits to the main Gradle file
Dominik Stadler [Thu, 13 May 2021 12:11:35 +0000 (12:11 +0000)]
Start moving some bits to the main Gradle file

Use a common definition of some constants
Gradle plugins are in the main file already anyway

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889839 13f79535-47bb-0310-9956-ffa450edef68

3 years agoBug 65227: Add some more tests, but the actual case is hard to reproduce with HSSF
Dominik Stadler [Thu, 13 May 2021 12:11:31 +0000 (12:11 +0000)]
Bug 65227: Add some more tests, but the actual case is hard to reproduce with HSSF

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889838 13f79535-47bb-0310-9956-ffa450edef68

3 years agoBug 63339: Use removeFormulaImpl() where possible and add a test which verifies that...
Dominik Stadler [Thu, 13 May 2021 12:11:26 +0000 (12:11 +0000)]
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

3 years agoApply some IDE suggestions
Dominik Stadler [Thu, 13 May 2021 12:11:22 +0000 (12:11 +0000)]
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

3 years agoxmlsec 2.2.2
PJ Fanning [Thu, 13 May 2021 00:00:41 +0000 (00:00 +0000)]
xmlsec 2.2.2

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889816 13f79535-47bb-0310-9956-ffa450edef68

3 years agogradle 7
PJ Fanning [Wed, 12 May 2021 23:39:41 +0000 (23:39 +0000)]
gradle 7

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889815 13f79535-47bb-0310-9956-ffa450edef68

3 years agoRemove invalid code
Sayi [Tue, 11 May 2021 08:03:28 +0000 (08:03 +0000)]
Remove invalid code

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889747 13f79535-47bb-0310-9956-ffa450edef68

3 years ago#64844 - Incorrect sizes of images in SVG
Andreas Beeker [Sat, 8 May 2021 21:56:06 +0000 (21:56 +0000)]
#64844 - Incorrect sizes of images in SVG

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889686 13f79535-47bb-0310-9956-ffa450edef68

3 years agoBug 65293 -- npe in HwmfFont
Tim Allison [Fri, 7 May 2021 15:43:04 +0000 (15:43 +0000)]
Bug 65293 -- npe in HwmfFont

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889636 13f79535-47bb-0310-9956-ffa450edef68

3 years ago#65282 - addRun method only adds to run collection, missing iRun collection
Sayi [Thu, 6 May 2021 06:29:31 +0000 (06:29 +0000)]
#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

3 years ago#65085 - LineRect shall throw more specific exceptions
Andreas Beeker [Sun, 2 May 2021 22:03:02 +0000 (22:03 +0000)]
#65085 - LineRect shall throw more specific exceptions

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889428 13f79535-47bb-0310-9956-ffa450edef68

3 years ago#65214 - Document signed by POI reported as 'partially' signed
Andreas Beeker [Sun, 2 May 2021 21:48:02 +0000 (21:48 +0000)]
#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

3 years agoFix ArrayIndexOutOfBoundsException if XWPFRun does not set style
Sayi [Wed, 28 Apr 2021 09:26:16 +0000 (09:26 +0000)]
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

3 years agoUpdate to SonarQube plugin 3.1.1 and try to set version
Dominik Stadler [Mon, 26 Apr 2021 15:12:35 +0000 (15:12 +0000)]
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

3 years agoDo not return null for POITextExtractor.getMetadataTextExtractor() for old Excel...
Dominik Stadler [Mon, 26 Apr 2021 15:12:32 +0000 (15:12 +0000)]
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

3 years agoImprove error message when formulas cannot be evaluated for some rows in SXSSF
Dominik Stadler [Mon, 26 Apr 2021 15:12:26 +0000 (15:12 +0000)]
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

3 years agoRework test to not cause file-handle leaks and add an exclude for Log4j 2
Dominik Stadler [Mon, 26 Apr 2021 15:12:22 +0000 (15:12 +0000)]
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

3 years agoAdd a disabled test to run one single file from the stress-test-documents
Dominik Stadler [Mon, 26 Apr 2021 15:12:18 +0000 (15:12 +0000)]
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

3 years agoJenkins DSL: Remove some outdated directories/files
Dominik Stadler [Mon, 26 Apr 2021 15:12:15 +0000 (15:12 +0000)]
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

3 years agoJeknins DSL: Disable Maven based Sonar-run to see if the Gradle-based one works fine now
Dominik Stadler [Mon, 26 Apr 2021 15:12:12 +0000 (15:12 +0000)]
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

3 years ago[github-235] Fix date formatting for number cell values. Thanks to Anthony Schott...
PJ Fanning [Sun, 25 Apr 2021 17:16:05 +0000 (17:16 +0000)]
[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

3 years ago#65228 - the method getCap() does not work correctly in xslf.usermodel.XSLFTextRun
Andreas Beeker [Thu, 22 Apr 2021 22:09:14 +0000 (22:09 +0000)]
#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

3 years agoTIKA-3164 - add more .xsb and classes needed for TIKAs extractor
Andreas Beeker [Mon, 19 Apr 2021 22:48:09 +0000 (22:48 +0000)]
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

3 years agoFix Javadocs
Andreas Beeker [Mon, 19 Apr 2021 17:30:02 +0000 (17:30 +0000)]
Fix Javadocs

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888977 13f79535-47bb-0310-9956-ffa450edef68

3 years agoFix Javadocs
Andreas Beeker [Sun, 18 Apr 2021 23:15:45 +0000 (23:15 +0000)]
Fix Javadocs

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888939 13f79535-47bb-0310-9956-ffa450edef68

3 years agofix gradle builds to better comply with IntelliJ
Andreas Beeker [Sun, 18 Apr 2021 22:11:26 +0000 (22:11 +0000)]
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

3 years agoFix Javadocs
Andreas Beeker [Sun, 18 Apr 2021 22:10:38 +0000 (22:10 +0000)]
Fix Javadocs

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888935 13f79535-47bb-0310-9956-ffa450edef68

3 years agofix javadocs
Andreas Beeker [Thu, 15 Apr 2021 22:28:11 +0000 (22:28 +0000)]
fix javadocs

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888805 13f79535-47bb-0310-9956-ffa450edef68

3 years ago[github-234] Ensure the hours position is correct. Thanks to Anthony Schott. This...
PJ Fanning [Thu, 15 Apr 2021 22:13:09 +0000 (22:13 +0000)]
[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

3 years agoIncrease memory for task allJavaDoc to avoid OOM during building
Dominik Stadler [Thu, 15 Apr 2021 14:25:47 +0000 (14:25 +0000)]
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

3 years agoJunit 5: Run some tests which change static BYTE_ARRAY_MAX_OVERRIDE in isolation
Dominik Stadler [Thu, 15 Apr 2021 14:25:44 +0000 (14:25 +0000)]
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

3 years agoGradle: Synchronize the code in the different build-scripts across the projects
Dominik Stadler [Thu, 15 Apr 2021 14:25:38 +0000 (14:25 +0000)]
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

3 years agofix javadocs - remove @author tags (http://apache-poi.1045710.n5.nabble.com/Javadocs...
Andreas Beeker [Wed, 14 Apr 2021 22:53:33 +0000 (22:53 +0000)]
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

3 years ago:poi-ooxml - fix javadocs - link to dependent/external project javadocs
Andreas Beeker [Tue, 13 Apr 2021 22:46:12 +0000 (22:46 +0000)]
: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

3 years ago:poi-scratchpad - fix javadocs - link to dependent/external project javadocs
Andreas Beeker [Tue, 13 Apr 2021 21:37:33 +0000 (21:37 +0000)]
: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

3 years agoreplace over engineered inner classes with lambdas/method references
Andreas Beeker [Tue, 13 Apr 2021 19:44:38 +0000 (19:44 +0000)]
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

3 years agoFix Xades / Document.importNode SIGSEV
Andreas Beeker [Mon, 12 Apr 2021 23:49:29 +0000 (23:49 +0000)]
Fix Xades / Document.importNode SIGSEV

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888686 13f79535-47bb-0310-9956-ffa450edef68

3 years ago:poi - fix javadocs - link to dependent/external project javadocs
Andreas Beeker [Sun, 11 Apr 2021 20:17:06 +0000 (20:17 +0000)]
: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

3 years agoAdjust paths in build-files some more and copy svn-libs
Dominik Stadler [Sat, 10 Apr 2021 12:29:13 +0000 (12:29 +0000)]
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

3 years agomove jdk check into doFirst
Andreas Beeker [Sat, 10 Apr 2021 12:01:15 +0000 (12:01 +0000)]
move jdk check into doFirst

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888582 13f79535-47bb-0310-9956-ffa450edef68

3 years agofix paths for integration build, docs, add site task to main build.gradle
Andreas Beeker [Sat, 10 Apr 2021 11:44:30 +0000 (11:44 +0000)]
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

3 years agotry to fix build issue
PJ Fanning [Sat, 10 Apr 2021 10:01:50 +0000 (10:01 +0000)]
try to fix build issue

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888577 13f79535-47bb-0310-9956-ffa450edef68

3 years agoStore jars for svnant locally
Dominik Stadler [Sat, 10 Apr 2021 07:16:57 +0000 (07:16 +0000)]
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

3 years ago[bug-65227] add NPE guard in SheetUtil. Thanks to Petr Blaha
PJ Fanning [Fri, 9 Apr 2021 08:21:13 +0000 (08:21 +0000)]
[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

3 years agoAdjust for the new source-directories in some more places
Dominik Stadler [Thu, 8 Apr 2021 20:10:53 +0000 (20:10 +0000)]
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

3 years agoEnsure the cache-directory for ImageIO is set to a valid directory
Dominik Stadler [Thu, 8 Apr 2021 20:10:48 +0000 (20:10 +0000)]
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

3 years agofix paths to new gradle directories
Andreas Beeker [Thu, 8 Apr 2021 17:54:42 +0000 (17:54 +0000)]
fix paths to new gradle directories

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888529 13f79535-47bb-0310-9956-ffa450edef68

3 years agofix merge problem
Andreas Beeker [Wed, 7 Apr 2021 21:48:05 +0000 (21:48 +0000)]
fix merge problem

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888489 13f79535-47bb-0310-9956-ffa450edef68

3 years ago65206 - Migrate ant / maven to gradle build
Andreas Beeker [Wed, 7 Apr 2021 21:40:33 +0000 (21:40 +0000)]
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

3 years agoAdjust path for archiving JUnit files to capture both locations that are in use
Dominik Stadler [Wed, 7 Apr 2021 05:33:18 +0000 (05:33 +0000)]
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

3 years agoJenkins DSL: Add a workaround to run "ant init" before building with Gradle
Dominik Stadler [Tue, 6 Apr 2021 20:42:32 +0000 (20:42 +0000)]
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

3 years agoEnable Gradle Wrapper to avoid running with an unsupported local version
Dominik Stadler [Tue, 6 Apr 2021 20:23:44 +0000 (20:23 +0000)]
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

3 years agoAdd a simple test-case for XLSX2CSV
Dominik Stadler [Tue, 6 Apr 2021 12:48:21 +0000 (12:48 +0000)]
Add a simple test-case for XLSX2CSV

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888432 13f79535-47bb-0310-9956-ffa450edef68

3 years agoAdd one more directory from Maven build to .gitignore
Dominik Stadler [Tue, 6 Apr 2021 12:48:16 +0000 (12:48 +0000)]
Add one more directory from Maven build to .gitignore

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888431 13f79535-47bb-0310-9956-ffa450edef68

3 years agoFix directory for examples-sources to make Maven build work again
Dominik Stadler [Tue, 6 Apr 2021 12:48:14 +0000 (12:48 +0000)]
Fix directory for examples-sources to make Maven build work again

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888430 13f79535-47bb-0310-9956-ffa450edef68

3 years agoSwitch the Ant-build to separate folders under "build/classes"
Dominik Stadler [Tue, 6 Apr 2021 06:11:16 +0000 (06:11 +0000)]
Switch the Ant-build to separate folders under "build/classes"

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

3 years agoAdd a Gradle target "allJavaDoc" for an initial combined JavaDoc run
Dominik Stadler [Tue, 6 Apr 2021 06:11:13 +0000 (06:11 +0000)]
Add a Gradle target "allJavaDoc" for an initial combined JavaDoc run

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888421 13f79535-47bb-0310-9956-ffa450edef68

3 years agoAdjust JavaDoc target to act similar as the one in the build.xml
Dominik Stadler [Tue, 6 Apr 2021 06:11:10 +0000 (06:11 +0000)]
Adjust JavaDoc target to act similar as the one in the build.xml

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

3 years agoAdjust some JavaDoc
Dominik Stadler [Tue, 6 Apr 2021 06:11:07 +0000 (06:11 +0000)]
Adjust some JavaDoc

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888419 13f79535-47bb-0310-9956-ffa450edef68

3 years agoXSLX2CSV: Do not double-encode if the value is already having quotes and escape doubl...
Dominik Stadler [Tue, 6 Apr 2021 06:11:01 +0000 (06:11 +0000)]
XSLX2CSV: Do not double-encode if the value is already having quotes and 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

3 years agoAlso look for test-data in ../test-data for Gradle build
Dominik Stadler [Tue, 6 Apr 2021 06:10:46 +0000 (06:10 +0000)]
Also look for test-data in ../test-data for Gradle build

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

3 years agoUpdate JUnit to 5.7.1 and junit-platform to 1.7.1
Dominik Stadler [Tue, 6 Apr 2021 06:10:33 +0000 (06:10 +0000)]
Update JUnit to 5.7.1 and junit-platform to 1.7.1

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888416 13f79535-47bb-0310-9956-ffa450edef68

3 years agoApply some IDE suggestions, improve exception message, add some JavaDoc
Dominik Stadler [Tue, 6 Apr 2021 06:10:19 +0000 (06:10 +0000)]
Apply some IDE suggestions, improve exception message, add some JavaDoc

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888415 13f79535-47bb-0310-9956-ffa450edef68

3 years agoIgnore new "build" and "out" directories
Dominik Stadler [Sun, 28 Mar 2021 19:55:00 +0000 (19:55 +0000)]
Ignore new "build" and "out" directories

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888140 13f79535-47bb-0310-9956-ffa450edef68

3 years agoGradle: Add support for rat-check and initial target "jenkins"
Dominik Stadler [Sun, 28 Mar 2021 19:54:57 +0000 (19:54 +0000)]
Gradle: Add support for rat-check and initial target "jenkins"

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888139 13f79535-47bb-0310-9956-ffa450edef68

3 years agoRemove support for japicmp from Gradle build
Dominik Stadler [Sun, 28 Mar 2021 19:54:54 +0000 (19:54 +0000)]
Remove support for japicmp from Gradle build

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

3 years ago65206 - Migrate ant / maven to gradle build
Andreas Beeker [Sun, 28 Mar 2021 01:12:58 +0000 (01:12 +0000)]
65206 - Migrate ant / maven to gradle build
fix distsourcebuild

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888121 13f79535-47bb-0310-9956-ffa450edef68

3 years ago65206 - Migrate ant / maven to gradle build
Andreas Beeker [Sat, 27 Mar 2021 23:16:45 +0000 (23:16 +0000)]
65206 - Migrate ant / maven to gradle build
try to fix Java 16 build

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888119 13f79535-47bb-0310-9956-ffa450edef68

3 years ago65206 - Migrate ant / maven to gradle build
Andreas Beeker [Sat, 27 Mar 2021 14:03:16 +0000 (14:03 +0000)]
65206 - Migrate ant / maven to gradle build
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

3 years agoremove temp gradle workaround for xmlbeans
PJ Fanning [Fri, 26 Mar 2021 08:22:00 +0000 (08:22 +0000)]
remove temp gradle workaround for xmlbeans

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888079 13f79535-47bb-0310-9956-ffa450edef68