]> source.dussan.org Git - poi.git/log
poi.git
5 years agoVarious enhancements to build.xml
Dominik Stadler [Sun, 7 Apr 2019 07:17:52 +0000 (07:17 +0000)]
Various enhancements to build.xml

* Use https for pentaho repository location
* Add some more targets to "jenkins" target
* Add download of maven-ant-task to make target "maven-install"
  work without manual installation into the ant-home directory
* Update JaCoCo to 0.8.3 and asm to 7.0
  This should now also work with JDK 13 pre-builds, so enable
  coverage in the JDK 13 CI builds again

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

5 years agoFix a flaky test, it seems if the document is not closed, the automatic
Dominik Stadler [Sun, 7 Apr 2019 07:17:47 +0000 (07:17 +0000)]
Fix a flaky test, it seems if the document is not closed, the automatic
closing of file-handles interferes with subsequent tests, by closing the
document this flakiness seems to be gone.

Flakiness could be reproduced locally by continuously running test with IntelliJ
"run until failure" run-config option and after aprox. 17,000 test-executions!

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

5 years agoImprove error message slightly and verify error when a File is passed in
Dominik Stadler [Sun, 7 Apr 2019 07:17:41 +0000 (07:17 +0000)]
Improve error message slightly and verify error when a File is passed in
as "Object"

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

5 years agoClose more file-handles in tests and convert some more tests to junit-4
Dominik Stadler [Sun, 7 Apr 2019 07:17:34 +0000 (07:17 +0000)]
Close more file-handles in tests and convert some more tests to junit-4

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

5 years agoprepare for 4.1.1
Greg Woolsey [Fri, 5 Apr 2019 22:44:00 +0000 (22:44 +0000)]
prepare for 4.1.1

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

5 years agorelease prepare for 4.1.0 - updating build.xml and changes.xml
Greg Woolsey [Fri, 5 Apr 2019 22:43:37 +0000 (22:43 +0000)]
release prepare for 4.1.0 - updating build.xml and changes.xml

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

5 years agoprepare for 4.1.1
Greg Woolsey [Fri, 5 Apr 2019 16:14:30 +0000 (16:14 +0000)]
prepare for 4.1.1

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

5 years agorelease prepare for 4.1.0 - updating build.xml and changes.xml
Greg Woolsey [Fri, 5 Apr 2019 16:13:58 +0000 (16:13 +0000)]
release prepare for 4.1.0 - updating build.xml and changes.xml

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

5 years agorestore BouncyCastle version to 1.61, update commons-openpgp link to newer version...
Greg Woolsey [Fri, 5 Apr 2019 15:09:24 +0000 (15:09 +0000)]
restore BouncyCastle version to 1.61, update commons-openpgp link to newer version for signature tasks.

Should restore build.

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

5 years agofix ref to batik version
PJ Fanning [Fri, 5 Apr 2019 09:20:17 +0000 (09:20 +0000)]
fix ref to batik version

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

5 years agotry to fix javadoc issues
PJ Fanning [Fri, 5 Apr 2019 09:18:26 +0000 (09:18 +0000)]
try to fix javadoc issues

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

5 years agorevert signing BouncyCastle to 1.51 due to commons-openpgp dependency compatibility
Greg Woolsey [Fri, 5 Apr 2019 03:44:02 +0000 (03:44 +0000)]
revert signing BouncyCastle to 1.51 due to commons-openpgp dependency compatibility

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

5 years agoprepare for 4.1.1
Greg Woolsey [Fri, 5 Apr 2019 02:12:43 +0000 (02:12 +0000)]
prepare for 4.1.1

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

5 years agoUpdate pentaho repo domain, per
Greg Woolsey [Thu, 4 Apr 2019 17:32:10 +0000 (17:32 +0000)]
Update pentaho repo domain, per

https://repo.pentaho.org/

- converted to nexus.pentaho.org

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

5 years agoFix some IDE warnings and enable commented test
Dominik Stadler [Sun, 31 Mar 2019 19:29:52 +0000 (19:29 +0000)]
Fix some IDE warnings and enable commented test

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

5 years agoAdd integration-test-jar to jenkins target
Dominik Stadler [Sun, 31 Mar 2019 19:29:46 +0000 (19:29 +0000)]
Add integration-test-jar to jenkins target

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

5 years agoAdd some more variants of HTML with preceding newline which we see frequently
Dominik Stadler [Sun, 31 Mar 2019 19:29:42 +0000 (19:29 +0000)]
Add some more variants of HTML with preceding newline which we see frequently
in the large regression test corpus

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

5 years agoClose more file-handles in tests, convert junit3 tests
Dominik Stadler [Sun, 31 Mar 2019 19:29:34 +0000 (19:29 +0000)]
Close more file-handles in tests, convert junit3 tests

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

5 years agoreplace version number 4.0.2
PJ Fanning [Sun, 31 Mar 2019 08:54:44 +0000 (08:54 +0000)]
replace version number 4.0.2

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

5 years agofix a condition not seen until a recent expansion of the stress test. Gracefully...
Greg Woolsey [Sun, 31 Mar 2019 03:49:16 +0000 (03:49 +0000)]
fix a condition not seen until a recent expansion of the stress test.  Gracefully ignore missing/invalid external sheet references in one more path (there were several already with comments like "this seems to be what Excel does in this case")

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

5 years agofix unit test that I merged wrong.
Greg Woolsey [Sun, 31 Mar 2019 01:12:10 +0000 (01:12 +0000)]
fix unit test that I merged wrong.

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

5 years ago#61700 getForceFormulaRecalculation() returns wrong value
Greg Woolsey [Sun, 31 Mar 2019 01:00:05 +0000 (01:00 +0000)]
#61700 getForceFormulaRecalculation() returns wrong value

changed to use the proper OOXML attribute instead of a hack about calculation engine version ID.  Reporter was right, the behavior was wrong in some cases, but it turns out the fix was a bit more.  See issue for details.

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

5 years ago[bug-61700] getForceFormulaRecalculation() returns wrong value. Fix thanks to Kai G
PJ Fanning [Sat, 30 Mar 2019 23:59:19 +0000 (23:59 +0000)]
[bug-61700] getForceFormulaRecalculation() returns wrong value. Fix thanks to Kai G

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

5 years agofix build issue
PJ Fanning [Sat, 30 Mar 2019 21:57:50 +0000 (21:57 +0000)]
fix build issue

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

5 years ago#63292 1904 date windowing flag not used for some format cases
Greg Woolsey [Sat, 30 Mar 2019 20:13:24 +0000 (20:13 +0000)]
#63292 1904 date windowing flag not used for some format cases

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

5 years ago#63291 CellFormat global cache isn't thread-safe
Greg Woolsey [Sat, 30 Mar 2019 19:33:02 +0000 (19:33 +0000)]
#63291 CellFormat global cache isn't thread-safe

move date format synchronization down to where the problem instance is held.

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

5 years ago#63302 Formula evaluation of names with offset or row function is incorrect
Greg Woolsey [Sat, 30 Mar 2019 18:14:14 +0000 (18:14 +0000)]
#63302 Formula evaluation of names with offset or row function is incorrect

thanks to John Lincoln White for the patch, including new unit tests.

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

5 years ago[bug-63291] support concurrent date formatting with same DataFormatter
PJ Fanning [Wed, 27 Mar 2019 23:04:40 +0000 (23:04 +0000)]
[bug-63291] support concurrent date formatting with same DataFormatter

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

5 years agoadd test for concurrent use of DataFormatter
PJ Fanning [Wed, 27 Mar 2019 21:24:25 +0000 (21:24 +0000)]
add test for concurrent use of DataFormatter

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

5 years agouse released version of xmlbeans 3.1.0
PJ Fanning [Tue, 26 Mar 2019 23:41:53 +0000 (23:41 +0000)]
use released version of xmlbeans 3.1.0

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

5 years agoxmlbeans 3.1.0
PJ Fanning [Fri, 22 Mar 2019 23:24:35 +0000 (23:24 +0000)]
xmlbeans 3.1.0

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

5 years ago[github-142] issue in ExcelComparator example. Thanks to chirkovmail. This close...
PJ Fanning [Fri, 22 Mar 2019 13:38:05 +0000 (13:38 +0000)]
[github-142] issue in ExcelComparator example. Thanks to chirkovmail. This close #142

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

5 years agoreorder jar files
PJ Fanning [Thu, 21 Mar 2019 15:10:49 +0000 (15:10 +0000)]
reorder jar files

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

5 years agoreorder jar files
PJ Fanning [Thu, 21 Mar 2019 15:10:25 +0000 (15:10 +0000)]
reorder jar files

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

5 years agoupgrade xmlsec, slf4j, batik
PJ Fanning [Thu, 21 Mar 2019 13:43:19 +0000 (13:43 +0000)]
upgrade xmlsec, slf4j, batik

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

5 years agoupgrade bouncycastle and curvesapi
PJ Fanning [Thu, 21 Mar 2019 10:23:05 +0000 (10:23 +0000)]
upgrade bouncycastle and curvesapi

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

5 years agocommons-codec - 1.12
PJ Fanning [Thu, 21 Mar 2019 10:00:33 +0000 (10:00 +0000)]
commons-codec - 1.12

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

5 years agocommons-collections4 - 4.3
PJ Fanning [Thu, 21 Mar 2019 09:49:54 +0000 (09:49 +0000)]
commons-collections4 - 4.3

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

5 years agotry to fix gradle build
PJ Fanning [Thu, 21 Mar 2019 09:38:21 +0000 (09:38 +0000)]
try to fix gradle build

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

5 years agotry to fix gradle build
PJ Fanning [Thu, 21 Mar 2019 09:34:04 +0000 (09:34 +0000)]
try to fix gradle build

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

5 years agotry to fix gradle build
PJ Fanning [Thu, 21 Mar 2019 09:26:03 +0000 (09:26 +0000)]
try to fix gradle build

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

5 years agopossible npe in test
PJ Fanning [Thu, 21 Mar 2019 09:20:00 +0000 (09:20 +0000)]
possible npe in test

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

5 years agoremove unncessary synchronization
PJ Fanning [Wed, 20 Mar 2019 23:41:29 +0000 (23:41 +0000)]
remove unncessary synchronization

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

5 years agosome javadoc issues
PJ Fanning [Wed, 20 Mar 2019 23:33:50 +0000 (23:33 +0000)]
some javadoc issues

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

5 years agouse xmlbeans-3.0.3 rc version
PJ Fanning [Wed, 20 Mar 2019 23:16:13 +0000 (23:16 +0000)]
use xmlbeans-3.0.3 rc version

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

5 years agoRemove old versions of commons-collections also in ooxml-lib, we loaded
Dominik Stadler [Tue, 19 Mar 2019 21:55:36 +0000 (21:55 +0000)]
Remove old versions of commons-collections also in ooxml-lib, we loaded
it there at some point

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

5 years agoSwitch to parameterized test and add some more information to try to find
Dominik Stadler [Tue, 19 Mar 2019 21:55:33 +0000 (21:55 +0000)]
Switch to parameterized test and add some more information to try to find
out why this test fails from time to time

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

5 years agoRemove more remnants of NPOIFSFileSystem, mostly in comments and variable names
Dominik Stadler [Tue, 19 Mar 2019 21:55:26 +0000 (21:55 +0000)]
Remove more remnants of NPOIFSFileSystem, mostly in comments and variable names

This avoids confusion if people look at this code in the future without knowledge
about the historical transition from java.io to java.nio

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

5 years ago[bug-63268] fix issue where CellUtil.setFont is adding unnecessary styles
PJ Fanning [Tue, 19 Mar 2019 05:59:00 +0000 (05:59 +0000)]
[bug-63268] fix issue where CellUtil.setFont is adding unnecessary styles

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

5 years agopre-release maintenance:
Greg Woolsey [Tue, 19 Mar 2019 00:35:09 +0000 (00:35 +0000)]
pre-release maintenance:

* add my key to the KEYS file
* update year in NOTICE (first release of 2019)
* remove svn:executable flag from random test data files

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

5 years agoFix a unit test that changed with the implementation of another function.
Greg Woolsey [Mon, 18 Mar 2019 22:05:34 +0000 (22:05 +0000)]
Fix a unit test that changed with the implementation of another function.

Didn't fail for me because I hadn't noticed the Eclipse classpath was out of date wrt some dependency versions, and therefore my local code was not compiling properly, meaning my test run ran old code and passed this one when it should have failed.

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

5 years ago#60724 - Partial implementation for SUBTOTAL() 'ignore hidden rows' variations
Greg Woolsey [Mon, 18 Mar 2019 19:09:11 +0000 (19:09 +0000)]
#60724 - Partial implementation for SUBTOTAL() 'ignore hidden rows' variations

The function still doesn't deal with auto-filtering, but it now handles variations that should skip hidden rows.

Taught the evaluation framework to know about hidden rows similar to what was already there for skipping subtotals within subtotal ranges.

Added unit test cases.

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

5 years agoFix forbidden apis error
Andreas Beeker [Sat, 16 Mar 2019 20:44:12 +0000 (20:44 +0000)]
Fix forbidden apis error

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

5 years agoUse JPG source, otherwise we have problems with Alpha conversion in OpenJDK.
Andreas Beeker [Sat, 16 Mar 2019 20:13:55 +0000 (20:13 +0000)]
Use JPG source, otherwise we have problems with Alpha conversion in OpenJDK.
https://stackoverflow.com/questions/3432388/imageio-not-able-to-write-a-jpeg-file

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

5 years agoBug 61472: Convert date/time strings to numbers when evaluating formulas
Yegor Kozlov [Sat, 16 Mar 2019 15:41:46 +0000 (15:41 +0000)]
Bug 61472: Convert date/time strings to numbers when evaluating formulas

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

5 years agoHandle possible invalid date value (#61652)
Greg Woolsey [Sat, 16 Mar 2019 06:55:16 +0000 (06:55 +0000)]
Handle possible invalid date value (#61652)

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

5 years ago#63264 Conditional Format rule evaluation calculates relative references incorrectly
Greg Woolsey [Sat, 16 Mar 2019 00:27:13 +0000 (00:27 +0000)]
#63264 Conditional Format rule evaluation calculates relative references incorrectly

Fixing the offset calculation and passing the top-left-most region rather than the region matching the current cell fixed these cases.  I've augmented unit tests to check for them to avoid future regressions.

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

5 years agofix some cases where iterator usage does not check hasNext
PJ Fanning [Thu, 14 Mar 2019 04:01:10 +0000 (04:01 +0000)]
fix some cases where iterator usage does not check hasNext

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

5 years agoFix URL for test
Dominik Stadler [Sun, 10 Mar 2019 16:13:02 +0000 (16:13 +0000)]
Fix URL for test

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

5 years agoBug 63221: Add margin-settings for top, bottom, left and right to XSSFPrintSetup
Dominik Stadler [Sun, 10 Mar 2019 16:12:57 +0000 (16:12 +0000)]
Bug 63221: Add margin-settings for top, bottom, left and right to XSSFPrintSetup

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

5 years agoAdjust test to not fail with Xerces XML Parser, fix some IDE warnings
Dominik Stadler [Sun, 10 Mar 2019 08:18:54 +0000 (08:18 +0000)]
Adjust test to not fail with Xerces XML Parser, fix some IDE warnings

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

5 years agoJenkins DSL: Enable job for running API-Check again now that we compare 4.x to 4.0.0
Dominik Stadler [Sun, 10 Mar 2019 08:18:46 +0000 (08:18 +0000)]
Jenkins DSL: Enable job for running API-Check again now that we compare 4.x to 4.0.0

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

5 years ago[bug-63240] make SAXHelper.newXMLReader non-synchronized]
PJ Fanning [Wed, 6 Mar 2019 19:17:22 +0000 (19:17 +0000)]
[bug-63240] make SAXHelper.newXMLReader non-synchronized]

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

5 years ago[bug-63240] make DocumentHelper.newDocumentBuilder non-synchronized]
PJ Fanning [Wed, 6 Mar 2019 18:36:12 +0000 (18:36 +0000)]
[bug-63240] make DocumentHelper.newDocumentBuilder non-synchronized]

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

5 years agoJenkins DSL: Add XMLBeans-JDK-12, still disabled, though
Dominik Stadler [Sun, 3 Mar 2019 14:09:58 +0000 (14:09 +0000)]
Jenkins DSL: Add XMLBeans-JDK-12, still disabled, though
Print out where we get Ant from
Use new 'jenkins' target for XMLBeans and fetch compiler warnings and JUnit results

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

5 years agoUpdate file-leak excludes for XMLBeans/jaxb
Dominik Stadler [Sun, 3 Mar 2019 14:09:54 +0000 (14:09 +0000)]
Update file-leak excludes for XMLBeans/jaxb

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

5 years agoClose more file-handles in tests
Dominik Stadler [Sun, 3 Mar 2019 14:09:50 +0000 (14:09 +0000)]
Close more file-handles in tests

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

5 years agoFix a regression test failure, toString() should never return null
Dominik Stadler [Sun, 3 Mar 2019 14:09:40 +0000 (14:09 +0000)]
Fix a regression test failure, toString() should never return null

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

5 years agoBug 63200: Avoid NullPointerException in XSLFShape.selectPaint() and check some more...
Dominik Stadler [Sat, 2 Mar 2019 12:28:19 +0000 (12:28 +0000)]
Bug 63200: Avoid NullPointerException in XSLFShape.selectPaint() and check some more in integration tests

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

5 years agoBug 62151: Fix warnings about illegal reflective access in Java 9+ by
Dominik Stadler [Sat, 2 Mar 2019 09:19:45 +0000 (09:19 +0000)]
Bug 62151: Fix warnings about illegal reflective access in Java 9+ by
using a similar approach as Apache Hadoop via a CleanerUtil class which encapsulates
the two different approaches for Java <= 8 and Java >= 9

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

5 years agoFix detecting Java <= 8 vs. >= 9 to not detect Java 8 for version-string "11.x"
Dominik Stadler [Sat, 2 Mar 2019 09:18:15 +0000 (09:18 +0000)]
Fix detecting Java <= 8 vs. >= 9 to not detect Java 8 for version-string "11.x"
Add system property to junit to disable optimization in jaxb which causes illegal access in Java 9+
Add argument to junit to display all illegal accesses in Java 9+

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

5 years agoAdd batik-jars to findbugs-task
Dominik Stadler [Sat, 23 Feb 2019 07:52:29 +0000 (07:52 +0000)]
Add batik-jars to findbugs-task

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

5 years agoClose file-handles for slideshows also when construction fails or when dual-storage...
Dominik Stadler [Sat, 23 Feb 2019 07:52:24 +0000 (07:52 +0000)]
Close file-handles for slideshows also when construction fails or when dual-storage is used
Also avoid file-leak reports in some tests

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

5 years agoRemove some remnants of NFileSystem
Dominik Stadler [Sat, 23 Feb 2019 07:52:06 +0000 (07:52 +0000)]
Remove some remnants of NFileSystem

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

5 years agoAdd some more testing for bug 63151: NullPointerException in HSSFOptimiser.optimiseFo...
Dominik Stadler [Sat, 23 Feb 2019 07:51:57 +0000 (07:51 +0000)]
Add some more testing for bug 63151: NullPointerException in HSSFOptimiser.optimiseFonts(), also execute it as part of large regression tests in the future

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

5 years agoAdjust BaseIntegrationTest some more to better handle invalid file extensions
Dominik Stadler [Sat, 23 Feb 2019 07:51:48 +0000 (07:51 +0000)]
Adjust BaseIntegrationTest some more to better handle invalid file extensions

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

5 years agoBug 60980: Fix parsing formulas with intersections in functions args
Yegor Kozlov [Thu, 21 Feb 2019 11:00:40 +0000 (11:00 +0000)]
Bug 60980: Fix parsing formulas with intersections in functions args

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

5 years ago[bug-63151] handle NPE in UnicodeString
PJ Fanning [Tue, 19 Feb 2019 06:27:04 +0000 (06:27 +0000)]
[bug-63151] handle NPE in UnicodeString

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

5 years ago[bug-63187] fix typos
PJ Fanning [Mon, 18 Feb 2019 09:56:11 +0000 (09:56 +0000)]
[bug-63187] fix typos

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

5 years agoBug 63029: fixed failing test in test-ooxml-lite
Yegor Kozlov [Wed, 13 Feb 2019 18:37:20 +0000 (18:37 +0000)]
Bug 63029: fixed failing test in test-ooxml-lite

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

5 years agoBug 63029: revert handling NotOfficeXmlFileException in ZipPackage as this change...
Yegor Kozlov [Wed, 13 Feb 2019 06:45:14 +0000 (06:45 +0000)]
Bug 63029: revert handling NotOfficeXmlFileException in ZipPackage as this change broke the build

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

5 years agoBug 63029: OPCPackage Potentially clobbers files on close()
Yegor Kozlov [Tue, 12 Feb 2019 16:55:13 +0000 (16:55 +0000)]
Bug 63029: OPCPackage Potentially clobbers files on close()

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

5 years agoBug 62980: Make D* functions ignore case in headings
Yegor Kozlov [Sat, 9 Feb 2019 13:00:09 +0000 (13:00 +0000)]
Bug 62980: Make D* functions ignore case in headings

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

5 years agoJenkins DSL: Add more output in test-env-build
Dominik Stadler [Sun, 27 Jan 2019 21:17:01 +0000 (21:17 +0000)]
Jenkins DSL: Add more output in test-env-build

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

5 years ago... link external again
Andreas Beeker [Sun, 27 Jan 2019 15:29:56 +0000 (15:29 +0000)]
... link external again

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

5 years agoremove new documentation directory and then ...
Andreas Beeker [Sun, 27 Jan 2019 15:27:09 +0000 (15:27 +0000)]
remove new documentation directory and then ...

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

5 years agoJenkins DSL: Adjust the list of JDKs that we look for in the testevn-job
Dominik Stadler [Sun, 27 Jan 2019 10:28:50 +0000 (10:28 +0000)]
Jenkins DSL: Adjust the list of JDKs that we look for in the testevn-job

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

5 years agoremoved accidentally added release-notes
Vladislav Galas [Sun, 27 Jan 2019 10:18:26 +0000 (10:18 +0000)]
removed accidentally added release-notes

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

5 years agoAdd reproducing test-case for a bug we found newly introduced in JDK 12-ea+28
Dominik Stadler [Sun, 27 Jan 2019 09:58:08 +0000 (09:58 +0000)]
Add reproducing test-case for a bug we found newly introduced in JDK 12-ea+28
and fixed again in JDK 12-ea+29

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

5 years agoFix some IDE warnings and better output in unit test
Dominik Stadler [Sun, 27 Jan 2019 09:58:02 +0000 (09:58 +0000)]
Fix some IDE warnings and better output in unit test

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

5 years agoExclude one more local file from rat-checks
Dominik Stadler [Sun, 27 Jan 2019 09:57:54 +0000 (09:57 +0000)]
Exclude one more local file from rat-checks

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

5 years agoAdjust handling of some exceptions in regression tests
Dominik Stadler [Sun, 27 Jan 2019 09:57:49 +0000 (09:57 +0000)]
Adjust handling of some exceptions in regression tests

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

5 years agoBug 60405: Add initial support for cetab functions so some macros can be
Dominik Stadler [Sun, 27 Jan 2019 09:57:39 +0000 (09:57 +0000)]
Bug 60405: Add initial support for cetab functions so some macros can be
parsed
Add some function-definitions for Excel 4 Macros and missing functions
found in regression tests

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

5 years agoIgnore file-leaks from openjpa/derby/log4j for the regression tests
Dominik Stadler [Sun, 27 Jan 2019 09:57:19 +0000 (09:57 +0000)]
Ignore file-leaks from openjpa/derby/log4j for the regression tests

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

5 years agopulled *Cell.setCellValue(String), setCellValue(RichTextString) to the common base
Vladislav Galas [Sat, 26 Jan 2019 23:20:07 +0000 (23:20 +0000)]
pulled *Cell.setCellValue(String), setCellValue(RichTextString) to the common base

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

5 years agopulled *Cell.setCellValue(Date) and setCellValue(Calendar) to the common base
Vladislav Galas [Sat, 26 Jan 2019 23:19:59 +0000 (23:19 +0000)]
pulled *Cell.setCellValue(Date) and setCellValue(Calendar) to the common base

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

5 years agopulled *Cell.setCellValue(double) to the common base
Vladislav Galas [Sat, 26 Jan 2019 23:19:53 +0000 (23:19 +0000)]
pulled *Cell.setCellValue(double) to the common base

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

5 years agopulled *Cell.getCellTypeEnum() to common base
Vladislav Galas [Sat, 26 Jan 2019 23:19:47 +0000 (23:19 +0000)]
pulled *Cell.getCellTypeEnum() to common base

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

5 years agopulled *Cell.getAddress to common base
Vladislav Galas [Sat, 26 Jan 2019 23:19:41 +0000 (23:19 +0000)]
pulled *Cell.getAddress to common base

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

5 years agopurged usages of Cell.setCellType (left only in tests, where conversions are tested)
Vladislav Galas [Sat, 26 Jan 2019 19:41:36 +0000 (19:41 +0000)]
purged usages of Cell.setCellType (left only in tests, where conversions are tested)

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