]> source.dussan.org Git - poi.git/log
poi.git
7 years agoimprove unit test error messages
Javen O'Neal [Sat, 15 Apr 2017 03:21:34 +0000 (03:21 +0000)]
improve unit test error messages

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

7 years agochange from hamcrest-core-1.3 to hamcrest-all-1.3
Javen O'Neal [Sat, 15 Apr 2017 03:19:27 +0000 (03:19 +0000)]
change from hamcrest-core-1.3 to hamcrest-all-1.3

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

7 years agouse hamcrest matchers to reduce custom code
Javen O'Neal [Sat, 15 Apr 2017 02:50:46 +0000 (02:50 +0000)]
use hamcrest matchers to reduce custom code

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

7 years agouse assertStartsWith and assertEndsWith for better unit test error messages
Javen O'Neal [Sat, 15 Apr 2017 02:19:24 +0000 (02:19 +0000)]
use assertStartsWith and assertEndsWith for better unit test error messages

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

7 years ago#60973 XDGF Support for "PolylineTo" as well as existing alternate spelling "PolyLineTo"
Nick Burch [Wed, 12 Apr 2017 11:11:56 +0000 (11:11 +0000)]
#60973 XDGF Support for "PolylineTo" as well as existing alternate spelling "PolyLineTo"

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

7 years agoFailing, disabled unit test for bug #60973
Nick Burch [Wed, 12 Apr 2017 09:40:54 +0000 (09:40 +0000)]
Failing, disabled unit test for bug #60973

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

7 years agoprepare for 3.17-beta1
Andreas Beeker [Tue, 11 Apr 2017 22:14:38 +0000 (22:14 +0000)]
prepare for 3.17-beta1

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

7 years agorelease prepare for 3.16 - updating build.xml and status.xml
Andreas Beeker [Tue, 11 Apr 2017 22:13:33 +0000 (22:13 +0000)]
release prepare for 3.16 - updating build.xml and status.xml

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

7 years agoThe new HeapDump class uses com.sun.* classes, which the previous settings flagged...
Greg Woolsey [Tue, 11 Apr 2017 20:35:06 +0000 (20:35 +0000)]
The new HeapDump class uses com.sun.* classes, which the previous settings flagged as an error in Eclipse.  This changes them to warnings so compilation can succeed.

Also adds a couple of prefs from newer Eclipse, apparently.

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

7 years agoIssue #60971, handle formula chart titles
Greg Woolsey [Tue, 11 Apr 2017 20:27:23 +0000 (20:27 +0000)]
Issue #60971, handle formula chart titles

implemented per issue, breaking out static text vs. formula based title getters and setters, with unit test updates and additions.

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

7 years agobug 50955 - add logging per Javen's recommendation. Thank you!
Tim Allison [Tue, 11 Apr 2017 20:00:12 +0000 (20:00 +0000)]
bug 50955 - add logging per Javen's recommendation.  Thank you!

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

7 years agobug 50955 - incorporate info from the DocumentSummaryInformation for
Tim Allison [Tue, 11 Apr 2017 17:07:04 +0000 (17:07 +0000)]
bug 50955 - incorporate info from the DocumentSummaryInformation for
guessing the encoding.  Back off to the old method if DocSummInfo is
not available. Thanks to Andreas Beeker for recommending this direction.

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

7 years agobug 50955 - try originally guessed codepoint, backoff to 1252 if that fails
Tim Allison [Tue, 11 Apr 2017 01:30:02 +0000 (01:30 +0000)]
bug 50955 - try originally guessed codepoint, backoff to 1252 if that fails

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

7 years agoFix AIOOBE while extracting hssf pictures which are externally linked
Andreas Beeker [Mon, 10 Apr 2017 21:43:22 +0000 (21:43 +0000)]
Fix AIOOBE while extracting hssf pictures which are externally linked

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

7 years agoExclude some additional nodes from OpenJDK builds
Dominik Stadler [Fri, 7 Apr 2017 06:56:35 +0000 (06:56 +0000)]
Exclude some additional nodes from OpenJDK builds

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

7 years agoAdjust checking for Zip-Bomb errors so it also works on JDK >= 8
Dominik Stadler [Fri, 7 Apr 2017 06:38:23 +0000 (06:38 +0000)]
Adjust checking for Zip-Bomb errors so it also works on JDK >= 8

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

7 years agoTest for another type of xml-bomb
Dominik Stadler [Thu, 6 Apr 2017 21:50:03 +0000 (21:50 +0000)]
Test for another type of xml-bomb

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

7 years agoFix issue found via large corpus tests: HSSFPicture in a HSSFShapeGroup might not...
Dominik Stadler [Thu, 6 Apr 2017 21:49:53 +0000 (21:49 +0000)]
Fix issue found via large corpus tests: HSSFPicture in a HSSFShapeGroup might not have a patriarch set, so let's walk up the parents to try to find one.

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

7 years agoJavadoc fixes
Nick Burch [Wed, 5 Apr 2017 13:17:17 +0000 (13:17 +0000)]
Javadoc fixes

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

7 years agobug 50955 convert Set to Singleton per Javen's code review
Tim Allison [Wed, 5 Apr 2017 11:02:48 +0000 (11:02 +0000)]
bug 50955 convert Set to Singleton per Javen's code review

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

7 years agobug 50955 and bug 60953 improve Big5 reader; ensure one character
Tim Allison [Wed, 5 Apr 2017 01:45:55 +0000 (01:45 +0000)]
bug 50955 and bug 60953 improve Big5 reader; ensure one character
per byte pair

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

7 years agobug 50955 -- turn off test that now passes in Java 1.8 and 1.7
Tim Allison [Tue, 4 Apr 2017 15:26:01 +0000 (15:26 +0000)]
bug 50955 -- turn off test that now passes in Java 1.8 and 1.7
but not 1.6 until we can fix it

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

7 years agobug 50955 -- fix for java 7
Tim Allison [Tue, 4 Apr 2017 14:41:53 +0000 (14:41 +0000)]
bug 50955 -- fix for java 7

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

7 years agobug 50955 -- word 6.0 charset fix
Tim Allison [Tue, 4 Apr 2017 02:06:46 +0000 (02:06 +0000)]
bug 50955 -- word 6.0 charset fix

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

7 years agoCater for two different locations of test-results in Gradle 2.x and 3.x
Dominik Stadler [Sun, 2 Apr 2017 19:38:37 +0000 (19:38 +0000)]
Cater for two different locations of test-results in Gradle 2.x and 3.x

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

7 years agoBug 60906 -- clean up, and add range checking for casting to ints.
Tim Allison [Thu, 23 Mar 2017 18:08:52 +0000 (18:08 +0000)]
Bug 60906 -- clean up, and add range checking for casting to ints.

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

7 years agoBug 60489 -- add @Test annotation so that this actually runs and includes ConnectsTyp...
Tim Allison [Thu, 23 Mar 2017 16:56:29 +0000 (16:56 +0000)]
Bug 60489 -- add @Test annotation so that this actually runs and includes ConnectsType...<facepalm/>

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

7 years agoBug 60906 -- fix style index
Tim Allison [Thu, 23 Mar 2017 16:31:42 +0000 (16:31 +0000)]
Bug 60906 -- fix style index

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

7 years ago60881 -- fix unit test to use assumeTrue thanks to Javen's recommendation.
Tim Allison [Wed, 22 Mar 2017 16:21:25 +0000 (16:21 +0000)]
60881 -- fix unit test to use assumeTrue thanks to Javen's recommendation.

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

7 years ago60881 -- strip out system.set props for local test.
Tim Allison [Tue, 21 Mar 2017 00:13:11 +0000 (00:13 +0000)]
60881 -- strip out system.set props for local test.

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

7 years ago60881 -- fix new unit test. xlsb test file apparently requires unlimited jce. If...
Tim Allison [Tue, 21 Mar 2017 00:03:01 +0000 (00:03 +0000)]
60881 -- fix new unit test.  xlsb test file apparently requires unlimited jce.  If not installed, ignore new test.

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

7 years ago60881 and 60891 -- on further look, no need to throw an exception for an encrypted...
Tim Allison [Mon, 20 Mar 2017 20:47:15 +0000 (20:47 +0000)]
60881 and 60891 -- on further look, no need to throw an exception for an encrypted xlsb.  On the second, let's fix readFully to read fully.

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

7 years ago60879 -- figure out if we can support old beta xlsb or throw exception. For now...
Tim Allison [Mon, 20 Mar 2017 18:50:25 +0000 (18:50 +0000)]
60879 -- figure out if we can support old beta xlsb or throw exception.  For now, let's hope there's only one diff and/or the other bounds checking etc will throw exception if there are other problems.

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

7 years agoBug 60042: Add sample file to check if this bug is fixed via bug 55791 already.
Dominik Stadler [Sun, 19 Mar 2017 21:44:05 +0000 (21:44 +0000)]
Bug 60042: Add sample file to check if this bug is fixed via bug 55791 already.

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

7 years agoBug 60810: Check for duplicate relation-names for notes similar to the fix for slides...
Dominik Stadler [Sun, 19 Mar 2017 21:43:57 +0000 (21:43 +0000)]
Bug 60810: Check for duplicate relation-names for notes similar to the fix for slides themselves in bug 55791

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

7 years agoFix typo to "length", closes #51
Dominik Stadler [Sun, 19 Mar 2017 20:30:04 +0000 (20:30 +0000)]
Fix typo to "length", closes #51
Fix a few IntelliJ warnings

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

7 years ago60823: DGET function, correct behavior with multiple result entries but only one...
Dominik Stadler [Sun, 19 Mar 2017 20:29:55 +0000 (20:29 +0000)]
60823: DGET function, correct behavior with multiple result entries but only one non-blank

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

7 years agoFix broken imports
Dominik Stadler [Sat, 18 Mar 2017 18:46:15 +0000 (18:46 +0000)]
Fix broken imports

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

7 years agoAdjust integration-test files slightly, more failure-output, make it a bit easier...
Dominik Stadler [Sat, 18 Mar 2017 13:56:11 +0000 (13:56 +0000)]
Adjust integration-test files slightly, more failure-output, make it a bit easier to test single-files, add a HeapDump class for investigating memory leaks, adjust XSSFFileHandler to free memory more quickly

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

7 years agoAdd docm-file which is actually a binary doc to check handling of wrong-format-exceptions
Dominik Stadler [Sat, 18 Mar 2017 13:56:04 +0000 (13:56 +0000)]
Add docm-file which is actually a binary doc to check handling of wrong-format-exceptions

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

7 years agoFix ROOT_DIR
Dominik Stadler [Fri, 17 Mar 2017 12:03:07 +0000 (12:03 +0000)]
Fix ROOT_DIR

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

7 years ago60826 -- clean up. Many, many thanks to Javen O'Neal's code review!
Tim Allison [Fri, 17 Mar 2017 10:09:59 +0000 (10:09 +0000)]
60826 -- clean up. Many, many thanks to Javen O'Neal's code review!

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

7 years ago60826 -- update stress tests to handle xlsb
Tim Allison [Thu, 16 Mar 2017 22:32:24 +0000 (22:32 +0000)]
60826 -- update stress tests to handle xlsb

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

7 years ago60826 -- add initial support for streaming reading of xlsb files.
Tim Allison [Thu, 16 Mar 2017 18:37:13 +0000 (18:37 +0000)]
60826 -- add initial support for streaming reading of xlsb files.

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

7 years agoadd missing license header
Greg Woolsey [Tue, 14 Mar 2017 22:36:38 +0000 (22:36 +0000)]
add missing license header

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

7 years agoFixed #60858, which showed a regression of the fix for #56420 introduced by my refact...
Greg Woolsey [Tue, 14 Mar 2017 21:40:32 +0000 (21:40 +0000)]
Fixed #60858, which showed a regression of the fix for #56420 introduced by my refactoring to fix #56822.

Includes new unit test based on the bug sample file.

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

7 years agoFixed #60858, which showed a regression of the fix for #56420 introduced by my refact...
Greg Woolsey [Tue, 14 Mar 2017 21:39:33 +0000 (21:39 +0000)]
Fixed #60858, which showed a regression of the fix for #56420 introduced by my refactoring to fix #56822.

Includes new unit test based on the bug sample file.

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

7 years agoFix some Sonar issues in sample "HSSFReadWrite"
Dominik Stadler [Mon, 13 Mar 2017 14:09:27 +0000 (14:09 +0000)]
Fix some Sonar issues in sample "HSSFReadWrite"
Fix some IntelliJ warnings

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

7 years agoGradle Build: Try with setting baseDir for Sonar-runs, but likely still does not...
Dominik Stadler [Mon, 13 Mar 2017 13:20:51 +0000 (13:20 +0000)]
Gradle Build: Try with setting baseDir for Sonar-runs, but likely still does not work
 Update wrapper to 3.4.1, although we do not store it yet anyway

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

7 years agoJenkins DSL: Fix setting property for Sonar-Host-URL
Dominik Stadler [Mon, 13 Mar 2017 12:18:21 +0000 (12:18 +0000)]
Jenkins DSL: Fix setting property for Sonar-Host-URL

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

7 years agoAdd tests from bug 45353 to show that this now works fine
Dominik Stadler [Fri, 10 Mar 2017 20:14:00 +0000 (20:14 +0000)]
Add tests from bug 45353 to show that this now works fine

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

7 years agoHSSF: Try to handle cases where the length does not match the actual data while cloni...
Dominik Stadler [Fri, 10 Mar 2017 20:13:52 +0000 (20:13 +0000)]
HSSF: Try to handle cases where the length does not match the actual data while cloning, we see this in some documents

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

7 years agoAllow to enable Sonar as part of the Gradle build and add Jenkins DSL job to test it
Dominik Stadler [Fri, 10 Mar 2017 20:13:46 +0000 (20:13 +0000)]
Allow to enable Sonar as part of the Gradle build and add Jenkins DSL job to test it

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

7 years agoRemove unused import, IntelliJ warnings, duplicated code, improve some exception...
Dominik Stadler [Fri, 10 Mar 2017 20:13:39 +0000 (20:13 +0000)]
Remove unused import, IntelliJ warnings, duplicated code, improve some exception-texts

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

7 years agoJenkins DSL: Exclude some more slaves from building with OpenJDK
Dominik Stadler [Thu, 9 Mar 2017 19:50:17 +0000 (19:50 +0000)]
Jenkins DSL: Exclude some more slaves from building with OpenJDK

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

7 years ago51519 -- follow on, make concatenation of rPh configurable
Tim Allison [Wed, 8 Mar 2017 16:44:40 +0000 (16:44 +0000)]
51519 -- follow on, make concatenation of rPh configurable

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

7 years ago51519 -- allow users to ignore or include the <rPh> (phonetic run) element in the...
Tim Allison [Wed, 8 Mar 2017 13:41:07 +0000 (13:41 +0000)]
51519 -- allow users to ignore or include the <rPh> (phonetic run) element in the ReadOnlySharedStringsTable used in the SAX/streaming xlsx reader.

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

7 years agostore repeated expressions as temporary variables to make code shorter
Javen O'Neal [Tue, 7 Mar 2017 03:16:50 +0000 (03:16 +0000)]
store repeated expressions as temporary variables to make code shorter

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

7 years agobug 60787: remove calls to System.out.println. Thanks to Kamile Demirel.
Javen O'Neal [Thu, 2 Mar 2017 18:47:28 +0000 (18:47 +0000)]
bug 60787: remove calls to System.out.println. Thanks to Kamile Demirel.

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

7 years agoBug 60795 -- fixed deprecation, thanks to Javen.
Tim Allison [Wed, 1 Mar 2017 16:49:15 +0000 (16:49 +0000)]
Bug 60795 -- fixed deprecation, thanks to Javen.

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

7 years agoBug 60795 -- add enum for message class in MAPIMessage; deprecate getMessageClass()
Tim Allison [Wed, 1 Mar 2017 15:47:47 +0000 (15:47 +0000)]
Bug 60795 -- add enum for message class in MAPIMessage; deprecate getMessageClass()

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

7 years agofix formatting: 2nd level indentation
Javen O'Neal [Mon, 27 Feb 2017 05:56:41 +0000 (05:56 +0000)]
fix formatting: 2nd level indentation

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

7 years agoadd repo location of unit test code
Javen O'Neal [Mon, 27 Feb 2017 05:52:50 +0000 (05:52 +0000)]
add repo location of unit test code

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

7 years agofix formatting
Javen O'Neal [Mon, 27 Feb 2017 05:37:43 +0000 (05:37 +0000)]
fix formatting

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

7 years agofix formatting
Javen O'Neal [Mon, 27 Feb 2017 05:36:19 +0000 (05:36 +0000)]
fix formatting

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

7 years agoadd README.rst to make project more accessible to GitHub users
Javen O'Neal [Mon, 27 Feb 2017 05:35:19 +0000 (05:35 +0000)]
add README.rst to make project more accessible to GitHub users

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

7 years agocopy .gitignore from svn-props
Javen O'Neal [Mon, 27 Feb 2017 04:18:46 +0000 (04:18 +0000)]
copy .gitignore from svn-props
svn propget svn:ignore . > .gitignore

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

7 years agoadd helper functions to make it easier to see which scenarios are being tested
Javen O'Neal [Fri, 24 Feb 2017 05:07:10 +0000 (05:07 +0000)]
add helper functions to make it easier to see which scenarios are being tested

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

7 years agobug 59804: @Removal(version="3.15") version should be parsed to make sure the version...
Javen O'Neal [Fri, 24 Feb 2017 04:59:29 +0000 (04:59 +0000)]
bug 59804: @Removal(version="3.15") version should be parsed to make sure the version number is recognizable

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

7 years agoadd javadocs
Greg Woolsey [Tue, 21 Feb 2017 18:31:48 +0000 (18:31 +0000)]
add javadocs

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

7 years agoAdd null check
Greg Woolsey [Tue, 21 Feb 2017 18:18:10 +0000 (18:18 +0000)]
Add null check

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

7 years agosvn-ignore 'sonar/target'
Dominik Stadler [Tue, 21 Feb 2017 06:29:53 +0000 (06:29 +0000)]
svn-ignore 'sonar/target'

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

7 years agoJenkins DSL: Add one more directory for test-results to try to make Gradle build...
Dominik Stadler [Tue, 21 Feb 2017 06:28:12 +0000 (06:28 +0000)]
Jenkins DSL: Add one more directory for test-results to try to make Gradle build happy

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

7 years agoBugFix for JDK-6623219
Andreas Beeker [Sun, 19 Feb 2017 21:36:45 +0000 (21:36 +0000)]
BugFix for JDK-6623219

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

7 years ago#60662 - Slide import delete unrecognized elements in group shape
Andreas Beeker [Sat, 18 Feb 2017 01:07:47 +0000 (01:07 +0000)]
#60662 - Slide import delete unrecognized elements in group shape

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

7 years agobug 60742: remove commented out debugging code
Javen O'Neal [Fri, 17 Feb 2017 20:53:44 +0000 (20:53 +0000)]
bug 60742: remove commented out debugging code

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

7 years agobug 60742: Remove local test-code from test for bug 60512
Dominik Stadler [Fri, 17 Feb 2017 17:15:27 +0000 (17:15 +0000)]
bug 60742: Remove local test-code from test for bug 60512

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

7 years agobug 60742: write out to unit test TempFile rather than Unix-only /tmp/60512.xlsx...
Javen O'Neal [Fri, 17 Feb 2017 16:57:43 +0000 (16:57 +0000)]
bug 60742: write out to unit test TempFile rather than Unix-only /tmp/60512.xlsx; patch from Chiara Marcheschi

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

7 years agobug 59893: close open resources to prevent leaks
Javen O'Neal [Fri, 17 Feb 2017 09:53:49 +0000 (09:53 +0000)]
bug 59893: close open resources to prevent leaks

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

7 years agoconvert from junit3 to junit4
Javen O'Neal [Fri, 17 Feb 2017 09:37:00 +0000 (09:37 +0000)]
convert from junit3 to junit4

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

7 years agobug 59893: fix a few forgotten unrelated changes
Javen O'Neal [Fri, 17 Feb 2017 09:25:49 +0000 (09:25 +0000)]
bug 59893: fix a few forgotten unrelated changes

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

7 years agobug 59893: more unrelated changes from Andi
Javen O'Neal [Fri, 17 Feb 2017 09:08:21 +0000 (09:08 +0000)]
bug 59893: more unrelated changes from Andi

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

7 years agobug 59893: commit the changes from attachment 34068 that were unrelated to available()
Javen O'Neal [Fri, 17 Feb 2017 08:39:05 +0000 (08:39 +0000)]
bug 59893: commit the changes from attachment 34068 that were unrelated to available()

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

7 years agoOLD_FILES, EXPECTED_FAILURES, and IGNORED do not need to be modified when executing...
Javen O'Neal [Thu, 16 Feb 2017 06:15:13 +0000 (06:15 +0000)]
OLD_FILES, EXPECTED_FAILURES, and IGNORED do not need to be modified when executing TestAllFiles

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

7 years agotest-integration: replace redundant static { EXPECTED_FAILURES.add(...) } with (dynam...
Javen O'Neal [Thu, 16 Feb 2017 06:08:44 +0000 (06:08 +0000)]
test-integration: replace redundant static { EXPECTED_FAILURES.add(...) } with (dynamic) Arrays.asList() to improve code legibility.

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

7 years agoa new test file needed to be added to the list of sheet clone expected errors.
Greg Woolsey [Wed, 15 Feb 2017 17:48:46 +0000 (17:48 +0000)]
a new test file needed to be added to the list of sheet clone expected errors.

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

7 years agoJenkins DSL: Use latest JDK 1.9 pre-build and exclude some more slaves for the OpenJD...
Dominik Stadler [Wed, 15 Feb 2017 12:13:34 +0000 (12:13 +0000)]
Jenkins DSL: Use latest JDK 1.9 pre-build and exclude some more slaves for the OpenJDK build

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

7 years agoBug #56822 fix COUNTIFS()
Greg Woolsey [Tue, 14 Feb 2017 22:13:48 +0000 (22:13 +0000)]
Bug #56822 fix COUNTIFS()

Looks like at some point the function got added twice to the function instance map, once as null, later as the implementation.

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

7 years agoBug #56822 fix COUNTIFS()
Greg Woolsey [Tue, 14 Feb 2017 22:05:49 +0000 (22:05 +0000)]
Bug #56822 fix COUNTIFS()

includes unit test from the issue.  Verified unit test results in Excel vs. incorrect previous POI results.  Test passes new code, as do existing tests.

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

7 years agoChange logic to avoid a 1.6 compiler bug that doesn't properly handle generics. ...
Greg Woolsey [Tue, 14 Feb 2017 22:00:05 +0000 (22:00 +0000)]
Change logic to avoid a 1.6 compiler bug that doesn't properly handle generics.  Eclipse compiler and JDK > 1.6 work properly, even with target runtime = 1.6, so I didn't see it locally.  had to compile with the same version of the JDK as the build machine to see the problem.

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

7 years agoFix accidental call to a method added in Java 7, which for some reason Eclipse didn...
Greg Woolsey [Tue, 14 Feb 2017 20:25:46 +0000 (20:25 +0000)]
Fix accidental call to a method added in Java 7, which for some reason Eclipse didn't flag, even with compliance level set to 1.6.

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

7 years agoExpose Priority from newer-style HSSF CF rules
Nick Burch [Tue, 14 Feb 2017 17:49:13 +0000 (17:49 +0000)]
Expose Priority from newer-style HSSF CF rules

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

7 years agoUgh, that's what I get for copying someone else's code without fully reviewing it...
Greg Woolsey [Tue, 14 Feb 2017 16:49:24 +0000 (16:49 +0000)]
Ugh, that's what I get for copying someone else's code without fully reviewing it.  Return the boolean property, don't wrap it in an extra if().

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

7 years agoExpose another common property, strikeout.
Greg Woolsey [Tue, 14 Feb 2017 16:45:47 +0000 (16:45 +0000)]
Expose another common property, strikeout.

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

7 years agouse Ant 1.9.9 explicitly, since Ant (latest) is now 1.10.1 which requires Java 8.
Greg Woolsey [Tue, 14 Feb 2017 16:18:55 +0000 (16:18 +0000)]
use Ant 1.9.9 explicitly, since Ant (latest) is now 1.10.1 which requires Java 8.

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

7 years agoAdd license
Greg Woolsey [Tue, 14 Feb 2017 15:36:56 +0000 (15:36 +0000)]
Add license

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

7 years agoJavadoc fixes
Nick Burch [Tue, 14 Feb 2017 09:45:45 +0000 (09:45 +0000)]
Javadoc fixes

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

7 years agoJavadoc fixes
Nick Burch [Tue, 14 Feb 2017 09:35:43 +0000 (09:35 +0000)]
Javadoc fixes

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

7 years agodisable more H?? slaves
Andreas Beeker [Tue, 14 Feb 2017 00:24:43 +0000 (00:24 +0000)]
disable more H?? slaves

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

7 years agoMetro shapes: integration test regression on empty paragraphs
Andreas Beeker [Tue, 14 Feb 2017 00:18:13 +0000 (00:18 +0000)]
Metro shapes: integration test regression on empty paragraphs

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