]> source.dussan.org Git - poi.git/log
poi.git
4 years agotag r1873869 as 4.1.2 tags/REL_4_1_2 REL_4_1_2
Andreas Beeker [Mon, 10 Feb 2020 19:23:47 +0000 (19:23 +0000)]
tag r1873869 as 4.1.2

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

4 years agorelease prepare for 4.1.2 - updating build.xml and changes.xml
Andreas Beeker [Mon, 10 Feb 2020 19:23:22 +0000 (19:23 +0000)]
release prepare for 4.1.2 - updating build.xml and changes.xml

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

4 years agoBug 64130 -- handle empty worksheet names in OldSheetRecord more robustly.
Tim Allison [Mon, 10 Feb 2020 17:38:29 +0000 (17:38 +0000)]
Bug 64130 -- handle empty worksheet names in OldSheetRecord more robustly.

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

4 years agoUse https for repo1.maven.org
Dominik Stadler [Sun, 9 Feb 2020 08:05:16 +0000 (08:05 +0000)]
Use https for repo1.maven.org

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

4 years agoupdate year in NOTICE
Andreas Beeker [Tue, 4 Feb 2020 21:40:14 +0000 (21:40 +0000)]
update year in NOTICE

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

4 years agoprepare for 4.1.3
Andreas Beeker [Mon, 3 Feb 2020 19:39:06 +0000 (19:39 +0000)]
prepare for 4.1.3

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

4 years agotag r1873550 as 4.1.2
Andreas Beeker [Mon, 3 Feb 2020 19:38:55 +0000 (19:38 +0000)]
tag r1873550 as 4.1.2

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

4 years agorelease prepare for 4.1.2 - updating build.xml and changes.xml
Andreas Beeker [Mon, 3 Feb 2020 19:38:27 +0000 (19:38 +0000)]
release prepare for 4.1.2 - updating build.xml and changes.xml

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

4 years agoUse indexed palette for duo tone pattern
Andreas Beeker [Mon, 3 Feb 2020 00:25:52 +0000 (00:25 +0000)]
Use indexed palette for duo tone pattern

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

4 years agoRegression findings - fix missing moveto exception
Andreas Beeker [Sun, 2 Feb 2020 22:53:09 +0000 (22:53 +0000)]
Regression findings - fix missing moveto exception

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

4 years agoXSLF Performance - use XmlCursor instead of XQuery expression - handle AlternateConte...
Andreas Beeker [Sun, 2 Feb 2020 22:13:16 +0000 (22:13 +0000)]
XSLF Performance - use XmlCursor instead of XQuery expression - handle AlternateContent elements uniformly

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

4 years agoXSLF Performance - don't initialize the JAXBContext every time
Andreas Beeker [Sun, 2 Feb 2020 11:15:56 +0000 (11:15 +0000)]
XSLF Performance - don't initialize the JAXBContext every time

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

4 years agoRestore heap size of integration tests to verify getAdvance() fix
Andreas Beeker [Sun, 2 Feb 2020 07:49:32 +0000 (07:49 +0000)]
Restore heap size of integration tests to verify getAdvance() fix

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

4 years agoomit bug63955-winmail.dat in no-scratchpad mode
Andreas Beeker [Sun, 2 Feb 2020 07:30:50 +0000 (07:30 +0000)]
omit bug63955-winmail.dat in no-scratchpad mode

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

4 years agoTextLayout.getAdvance() for " " returns 0 in some cases / JDKs, which caused an div...
Andreas Beeker [Sun, 2 Feb 2020 06:04:14 +0000 (06:04 +0000)]
TextLayout.getAdvance() for " " returns 0 in some cases / JDKs, which caused an div by 0 -> Infinity problem

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

4 years agoprepare for 4.1.3
Andreas Beeker [Fri, 31 Jan 2020 20:43:17 +0000 (20:43 +0000)]
prepare for 4.1.3

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

4 years agotag r1873443 as 4.1.2
Andreas Beeker [Fri, 31 Jan 2020 20:43:07 +0000 (20:43 +0000)]
tag r1873443 as 4.1.2

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

4 years agoTry to fix release build
Andreas Beeker [Fri, 31 Jan 2020 20:41:59 +0000 (20:41 +0000)]
Try to fix release build

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

4 years agoTry to fix release build
Andreas Beeker [Fri, 31 Jan 2020 20:38:35 +0000 (20:38 +0000)]
Try to fix release build

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

4 years agoprepare for 4.1.3
Andreas Beeker [Fri, 31 Jan 2020 18:56:15 +0000 (18:56 +0000)]
prepare for 4.1.3

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

4 years agotag r1873431 as 4.1.2
Andreas Beeker [Fri, 31 Jan 2020 18:56:04 +0000 (18:56 +0000)]
tag r1873431 as 4.1.2

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

4 years agorelease prepare for 4.1.2 - updating build.xml and changes.xml
Andreas Beeker [Fri, 31 Jan 2020 18:55:40 +0000 (18:55 +0000)]
release prepare for 4.1.2 - updating build.xml and changes.xml

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

4 years agoLocal EMF test changes
Andreas Beeker [Fri, 31 Jan 2020 18:45:39 +0000 (18:45 +0000)]
Local EMF test changes

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

4 years agoAdd a few more file-leak-detector excludes
Dominik Stadler [Thu, 30 Jan 2020 21:09:22 +0000 (21:09 +0000)]
Add a few more file-leak-detector excludes

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

4 years agoImprove some assertions and error messages for exceptions seen in the regression...
Dominik Stadler [Thu, 30 Jan 2020 21:09:17 +0000 (21:09 +0000)]
Improve some assertions and error messages for exceptions seen in the regression tests

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

4 years ago[bug-64108] unsafe pipe character (
PJ Fanning [Thu, 30 Jan 2020 21:06:35 +0000 (21:06 +0000)]
[bug-64108] unsafe pipe character (

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

4 years agoInvert bar chart if negative by Niklas Mollenhauer
Alain Béarez [Wed, 29 Jan 2020 06:38:22 +0000 (06:38 +0000)]
Invert bar chart if negative by Niklas Mollenhauer

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

4 years agoPrint out currently set Apache POI version during build.
Dominik Stadler [Mon, 27 Jan 2020 22:54:21 +0000 (22:54 +0000)]
Print out currently set Apache POI version during build.

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

4 years agoHandle empty files correctly when looking for FileMagic to avoid NegativeArraySizeExc...
Dominik Stadler [Mon, 27 Jan 2020 22:54:15 +0000 (22:54 +0000)]
Handle empty files correctly when looking for FileMagic to avoid NegativeArraySizeException

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

4 years agoFix some IDE warnings, Sonar fixes and some missing closing of resources in unit...
Dominik Stadler [Mon, 27 Jan 2020 22:54:03 +0000 (22:54 +0000)]
Fix some IDE warnings, Sonar fixes and some missing closing of resources in unit-tests

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

4 years agofix NPE in test code
PJ Fanning [Mon, 27 Jan 2020 18:29:43 +0000 (18:29 +0000)]
fix NPE in test code

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

4 years ago#64036 - Replace reflection calls in factories for Java 9+ - POIXMLDocument factories
Andreas Beeker [Mon, 27 Jan 2020 00:31:01 +0000 (00:31 +0000)]
#64036 - Replace reflection calls in factories for Java 9+ - POIXMLDocument factories

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

4 years ago[bug-64098] XWPFRun: Whitespace in text not preserved if starting with tab character...
PJ Fanning [Sun, 26 Jan 2020 20:44:02 +0000 (20:44 +0000)]
[bug-64098] XWPFRun: Whitespace in text not preserved if starting with tab character. Thanks to gjmathews

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

4 years ago#64036 - Replace reflection calls in factories for Java 9+ - Escher factories
Andreas Beeker [Sun, 26 Jan 2020 19:50:40 +0000 (19:50 +0000)]
#64036 - Replace reflection calls in factories for Java 9+ - Escher factories

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

4 years agosonar fixes
Andreas Beeker [Thu, 23 Jan 2020 22:48:19 +0000 (22:48 +0000)]
sonar fixes

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

4 years agoDeactivate Forbidden apis check again
Andreas Beeker [Wed, 22 Jan 2020 21:43:14 +0000 (21:43 +0000)]
Deactivate Forbidden apis check again

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

4 years agoSonar fixes
Andreas Beeker [Tue, 21 Jan 2020 22:02:10 +0000 (22:02 +0000)]
Sonar fixes

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

4 years agotry to fix winmail errors in maven / sonar builds
Andreas Beeker [Tue, 21 Jan 2020 00:06:32 +0000 (00:06 +0000)]
try to fix winmail errors in maven / sonar builds

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

4 years ago#64088 - SlideShow rendering fixes
Andreas Beeker [Sun, 19 Jan 2020 20:44:36 +0000 (20:44 +0000)]
#64088 - SlideShow rendering fixes

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

4 years agoAdjust JavaDoc for stream-based reading of large workbooks
Dominik Stadler [Fri, 17 Jan 2020 08:46:24 +0000 (08:46 +0000)]
Adjust JavaDoc for stream-based reading of large workbooks

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

4 years agoError bar minus and plus as numerical data sources
Alain Béarez [Mon, 13 Jan 2020 00:27:06 +0000 (00:27 +0000)]
Error bar minus and plus as numerical data sources

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

4 years agoImplement error bars on scatter chart data series
Alain Béarez [Mon, 13 Jan 2020 00:27:03 +0000 (00:27 +0000)]
Implement error bars on scatter chart data series

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

4 years agoImplement error bars for bar and line charts
Alain Béarez [Mon, 13 Jan 2020 00:26:59 +0000 (00:26 +0000)]
Implement error bars for bar and line charts

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

4 years agouse a few more lambdas
PJ Fanning [Sun, 12 Jan 2020 11:04:21 +0000 (11:04 +0000)]
use a few more lambdas

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

4 years agotry to fix some jdk 14 build issues due to java.lang.Record causing existing POI...
PJ Fanning [Fri, 10 Jan 2020 23:32:03 +0000 (23:32 +0000)]
try to fix some jdk 14 build issues due to java.lang.Record causing existing POI Record classes to be ambiguous

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

4 years agotry to fix some jdk 14 build issues due to java.lang.Record causing existing POI...
PJ Fanning [Fri, 10 Jan 2020 23:13:20 +0000 (23:13 +0000)]
try to fix some jdk 14 build issues due to java.lang.Record causing existing POI Record classes to be ambiguous

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

4 years agoJenkins DSL: Add JDK 14, disable JDK 12
Dominik Stadler [Fri, 10 Jan 2020 21:04:14 +0000 (21:04 +0000)]
Jenkins DSL: Add JDK 14, disable JDK 12

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

4 years agoreformat code
PJ Fanning [Thu, 9 Jan 2020 21:24:31 +0000 (21:24 +0000)]
reformat code

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

4 years ago[bug-63998] Support commas, exclamation marks correctly in AreaReference. Thanks...
PJ Fanning [Thu, 9 Jan 2020 21:19:34 +0000 (21:19 +0000)]
[bug-63998] Support commas, exclamation marks correctly in AreaReference. Thanks to hzwhuang

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

4 years ago#63955 - HMEFContentsExtractor fails to extract content from winmail.dat
Andreas Beeker [Wed, 8 Jan 2020 23:49:31 +0000 (23:49 +0000)]
#63955 - HMEFContentsExtractor fails to extract content from winmail.dat
fixed integration test

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

4 years ago#63955 - HMEFContentsExtractor fails to extract content from winmail.dat
Andreas Beeker [Wed, 8 Jan 2020 00:49:39 +0000 (00:49 +0000)]
#63955 - HMEFContentsExtractor fails to extract content from winmail.dat
added example file - optimized junit tests

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

4 years agotry sonar module key
Andreas Beeker [Wed, 8 Jan 2020 00:30:58 +0000 (00:30 +0000)]
try sonar module key

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

4 years agotry to set sonar settings via maven properties
Andreas Beeker [Wed, 8 Jan 2020 00:01:05 +0000 (00:01 +0000)]
try to set sonar settings via maven properties

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

4 years agouse lambda instead of sub class
Andreas Beeker [Tue, 7 Jan 2020 23:05:47 +0000 (23:05 +0000)]
use lambda instead of sub class

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

4 years agofindbugs fixes and refactor some ClassIDs
Andreas Beeker [Tue, 7 Jan 2020 22:46:29 +0000 (22:46 +0000)]
findbugs fixes and refactor some ClassIDs

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

4 years agotest if sonar can be configured via properties file
Andreas Beeker [Tue, 7 Jan 2020 21:15:33 +0000 (21:15 +0000)]
test if sonar can be configured via properties file
sonarcloud complained about jacoco native report paths

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

4 years agoremove accidental commit
PJ Fanning [Tue, 7 Jan 2020 18:49:27 +0000 (18:49 +0000)]
remove accidental commit

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

4 years agoclose OPCPackage if there is an exception
PJ Fanning [Tue, 7 Jan 2020 18:46:11 +0000 (18:46 +0000)]
close OPCPackage if there is an exception

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

4 years agoBUG 64015 -- swap out java.util.BitSet for zaxxer's SparseBitSet
Tim Allison [Tue, 7 Jan 2020 15:45:07 +0000 (15:45 +0000)]
BUG 64015 -- swap out java.util.BitSet for zaxxer's SparseBitSet

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

4 years agoignore path conversion for URLs
Andreas Beeker [Tue, 7 Jan 2020 00:53:19 +0000 (00:53 +0000)]
ignore path conversion for URLs

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

4 years agoadd integration-test to sonar to update test coverage
Andreas Beeker [Tue, 7 Jan 2020 00:44:01 +0000 (00:44 +0000)]
add integration-test to sonar to update test coverage

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

4 years agosonar fixes - use assert in junit tests
Andreas Beeker [Mon, 6 Jan 2020 21:48:00 +0000 (21:48 +0000)]
sonar fixes - use assert in junit tests
use try-with-resources
remove obsolete and renamed OPOIFS references
add logic to unit tests which just opened a file, by rewriting it and some formula evaluation logic

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

4 years agoClear all chart's properties as if newly created
Alain Béarez [Sun, 5 Jan 2020 23:54:12 +0000 (23:54 +0000)]
Clear all chart's properties as if newly created

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

4 years agoComplete test with cell in newly added column
Alain Béarez [Sun, 5 Jan 2020 23:54:09 +0000 (23:54 +0000)]
Complete test with cell in newly added column

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

4 years agoFix JavaDoc warnings
Alain Béarez [Sun, 5 Jan 2020 23:54:06 +0000 (23:54 +0000)]
Fix JavaDoc warnings

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

4 years agoSonar fixes - Tests should include assertions
Andreas Beeker [Fri, 3 Jan 2020 23:30:36 +0000 (23:30 +0000)]
Sonar fixes - Tests should include assertions

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

4 years agoFix some additional file-handle-leaks reported by unit-tests via an enhanced version...
Dominik Stadler [Fri, 3 Jan 2020 13:11:41 +0000 (13:11 +0000)]
Fix some additional file-handle-leaks reported by unit-tests via an enhanced version of the file-leak-detector

Also add a test for Bug 64045

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

4 years ago[bug-64045] close resources if we throw exceptions
PJ Fanning [Fri, 3 Jan 2020 11:27:01 +0000 (11:27 +0000)]
[bug-64045] close resources if we throw exceptions

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

4 years agoremove unnecessary close
PJ Fanning [Fri, 3 Jan 2020 11:24:12 +0000 (11:24 +0000)]
remove unnecessary close

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

4 years ago[bug-64045] close resources if we throw exceptions
PJ Fanning [Thu, 2 Jan 2020 21:10:54 +0000 (21:10 +0000)]
[bug-64045] close resources if we throw exceptions

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

4 years ago[bug-64045] close resources if we throw exceptions
PJ Fanning [Thu, 2 Jan 2020 20:53:42 +0000 (20:53 +0000)]
[bug-64045] close resources if we throw exceptions

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

4 years ago[bug-64045] close resources if we throw exceptions
PJ Fanning [Thu, 2 Jan 2020 20:45:31 +0000 (20:45 +0000)]
[bug-64045] close resources if we throw exceptions

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

4 years ago[bug-64044] setCellValue(LocalDate) does not support nulls properly
PJ Fanning [Thu, 2 Jan 2020 15:20:04 +0000 (15:20 +0000)]
[bug-64044] setCellValue(LocalDate) does not support nulls properly

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

4 years ago[bug-64044] setCellValue(LocalDate) does not support nulls properly
PJ Fanning [Thu, 2 Jan 2020 14:58:30 +0000 (14:58 +0000)]
[bug-64044] setCellValue(LocalDate) does not support nulls properly

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

4 years agoFix Visio compression
Andreas Beeker [Wed, 1 Jan 2020 22:44:42 +0000 (22:44 +0000)]
Fix Visio compression

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

4 years agoBug 63788: Remove AbstractNum by abstractNumId, not list index
Dominik Stadler [Wed, 1 Jan 2020 19:22:30 +0000 (19:22 +0000)]
Bug 63788: Remove AbstractNum by abstractNumId, not list index

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

4 years agoBug 63940: Avoid endless loop/out of memory on string-replace with empty search string
Dominik Stadler [Tue, 31 Dec 2019 16:52:55 +0000 (16:52 +0000)]
Bug 63940: Avoid endless loop/out of memory on string-replace with empty search string

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

4 years agoBug 63700: Make D* functions work with numeric result column
Dominik Stadler [Tue, 31 Dec 2019 10:41:43 +0000 (10:41 +0000)]
Bug 63700: Make D* functions work with numeric result column

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

4 years agoBug 63960: Write pre-evaluated string-values in formula cells with the correct type
Dominik Stadler [Tue, 31 Dec 2019 06:34:51 +0000 (06:34 +0000)]
Bug 63960: Write pre-evaluated string-values in formula cells with the correct type

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

4 years agoFix bug 63984: AND / OR should treat missing parameters as FALSE
Dominik Stadler [Mon, 30 Dec 2019 19:57:11 +0000 (19:57 +0000)]
Fix bug 63984: AND / OR should treat missing parameters as FALSE

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

4 years agoSonar fixes
Andreas Beeker [Mon, 30 Dec 2019 00:08:24 +0000 (00:08 +0000)]
Sonar fixes

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

4 years ago#64036 - remove reflective calls in Workbook- and SlideShowFactory
Andreas Beeker [Sat, 28 Dec 2019 22:39:26 +0000 (22:39 +0000)]
#64036 - remove reflective calls in Workbook- and SlideShowFactory

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

4 years agoMigrate all junit tests to Junit 4
Andreas Beeker [Fri, 27 Dec 2019 23:00:13 +0000 (23:00 +0000)]
Migrate all junit tests to Junit 4
get rid of references to junit.framework
don't throw AssertionFailedErrors, but use Assert.fail instead
add try-with-resources where it was missing

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

4 years agotry to find issue in test
PJ Fanning [Thu, 26 Dec 2019 12:55:49 +0000 (12:55 +0000)]
try to find issue in test

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

4 years ago[github-163] Add set level numbering on XWPFParagraph. Thanks to Mi Guoliang. This...
PJ Fanning [Thu, 26 Dec 2019 11:55:41 +0000 (11:55 +0000)]
[github-163] Add set level numbering on XWPFParagraph. Thanks to Mi Guoliang. This closes #163

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

4 years agofix spelling of OutlookTextExtractor class name
PJ Fanning [Thu, 26 Dec 2019 09:28:06 +0000 (09:28 +0000)]
fix spelling of OutlookTextExtractor class name

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

4 years agofix spelling of OutlookTextExtractor class name
PJ Fanning [Thu, 26 Dec 2019 09:27:51 +0000 (09:27 +0000)]
fix spelling of OutlookTextExtractor class name

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

4 years agofix spelling of Usage
PJ Fanning [Thu, 26 Dec 2019 06:16:21 +0000 (06:16 +0000)]
fix spelling of Usage

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

4 years agofix spelling of OutlookTextExtractor class name
PJ Fanning [Thu, 26 Dec 2019 06:12:56 +0000 (06:12 +0000)]
fix spelling of OutlookTextExtractor class name

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

4 years agoReplace internal GUID class with ClassID
Andreas Beeker [Tue, 24 Dec 2019 19:48:22 +0000 (19:48 +0000)]
Replace internal GUID class with ClassID

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

4 years ago#64004 - Replace clone() with copy constructor - mainly HWPF classes
Andreas Beeker [Tue, 24 Dec 2019 11:56:42 +0000 (11:56 +0000)]
#64004 - Replace clone() with copy constructor - mainly HWPF classes

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

4 years agoconvert some tabs to spaces
PJ Fanning [Mon, 23 Dec 2019 09:18:38 +0000 (09:18 +0000)]
convert some tabs to spaces

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

4 years agoReplace custom hashCode code with Objects.hash() / Arrays.deepHashCode()
Andreas Beeker [Mon, 23 Dec 2019 00:15:55 +0000 (00:15 +0000)]
Replace custom hashCode code with Objects.hash() / Arrays.deepHashCode()

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

4 years ago#64004 - Replace clone() with copy constructor - mainly HSSF classes
Andreas Beeker [Sun, 22 Dec 2019 21:44:45 +0000 (21:44 +0000)]
#64004 - Replace clone() with copy constructor - mainly HSSF classes

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

4 years agoRemove exception-handling code in ZipPackage that was never reached
Dominik Stadler [Sun, 15 Dec 2019 14:54:03 +0000 (14:54 +0000)]
Remove exception-handling code in ZipPackage that was never reached

Here e.getMessage() and e.toString() were compared, which never match

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

4 years agoAdd more information to assertion
Dominik Stadler [Sun, 15 Dec 2019 14:53:59 +0000 (14:53 +0000)]
Add more information to assertion

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

4 years agoAdd some more tests for IOUtils
Dominik Stadler [Sun, 15 Dec 2019 14:53:55 +0000 (14:53 +0000)]
Add some more tests for IOUtils

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

4 years agoLet IntelliJ simplify some assertions
Dominik Stadler [Sun, 15 Dec 2019 14:53:46 +0000 (14:53 +0000)]
Let IntelliJ simplify some assertions

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

4 years agoReplace manual close with try-with-resources
Dominik Stadler [Sun, 15 Dec 2019 14:53:11 +0000 (14:53 +0000)]
Replace manual close with try-with-resources

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

4 years agoBug 63749; Make getLastRowNum() and getFirstRow() return -1 instead of 0 on empty...
Dominik Stadler [Sun, 15 Dec 2019 14:52:45 +0000 (14:52 +0000)]
Bug 63749; Make getLastRowNum() and getFirstRow() return -1 instead of 0 on empty Sheets

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