]> source.dussan.org Git - poi.git/log
poi.git
8 years agoVBA extraction support from bug #52949 from Barry Lagerweij
Nick Burch [Sun, 10 Apr 2016 11:16:49 +0000 (11:16 +0000)]
VBA extraction support from bug #52949 from Barry Lagerweij

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

8 years agoBug 57844: Add some javadoc for unimplemented features in SXSSF
Dominik Stadler [Sun, 10 Apr 2016 09:40:40 +0000 (09:40 +0000)]
Bug 57844: Add some javadoc for unimplemented features in SXSSF

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

8 years agoremove copy&paste error in release-prep
Andreas Beeker [Sat, 9 Apr 2016 11:28:12 +0000 (11:28 +0000)]
remove copy&paste error in release-prep

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

8 years agoclose fileinputstream on second exception in ZipPackage
Tim Allison [Fri, 8 Apr 2016 14:36:05 +0000 (14:36 +0000)]
close fileinputstream on second exception in ZipPackage

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

8 years agoupdate release-guide and build.xml to the new release process
Andreas Beeker [Thu, 7 Apr 2016 23:11:22 +0000 (23:11 +0000)]
update release-guide and build.xml to the new release process

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

8 years agoIn Example FromHowTo, open the OPCPacakge read-only to not try to write it back on...
Dominik Stadler [Thu, 7 Apr 2016 07:25:02 +0000 (07:25 +0000)]
In Example FromHowTo, open the OPCPacakge read-only to not try to write it back on close()

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

8 years agoupdate license - include additional dependencies
Andreas Beeker [Wed, 6 Apr 2016 21:32:59 +0000 (21:32 +0000)]
update license - include additional dependencies

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

8 years agoClose two more file-handles in Example FromHowTo
Dominik Stadler [Wed, 6 Apr 2016 19:50:20 +0000 (19:50 +0000)]
Close two more file-handles in Example FromHowTo

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

8 years agoTried to evaluate all formulas in worksheets as part of the integration tests, but...
Dominik Stadler [Wed, 6 Apr 2016 19:50:14 +0000 (19:50 +0000)]
Tried to evaluate all formulas in worksheets as part of the integration tests, but some documents fail and it probably increases runtime of tests considerably, so left commented out for now.

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

8 years agoBug 58648: Fix handling whitespaces in formulas, unfortunately blank can be the inter...
Dominik Stadler [Wed, 6 Apr 2016 19:50:08 +0000 (19:50 +0000)]
Bug 58648: Fix handling whitespaces in formulas, unfortunately blank can be the intersection operator as well, so we need to try and skip it as whitespace if intersection fails which can lead to hard to track bugs or misleading error messages with some formulas

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

8 years agoSlightly improve error message
Dominik Stadler [Wed, 6 Apr 2016 19:49:59 +0000 (19:49 +0000)]
Slightly improve error message
Fix some IntelliJ/compiler warnings
Use common interfaces where possible
Cleanup after testing POIFSDump

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

8 years agoCode cleanup via IntelliJ: Remove unnecessary semicolon
Dominik Stadler [Wed, 6 Apr 2016 19:49:47 +0000 (19:49 +0000)]
Code cleanup via IntelliJ: Remove unnecessary semicolon

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

8 years agoAdd missing license header
Dominik Stadler [Wed, 6 Apr 2016 10:52:36 +0000 (10:52 +0000)]
Add missing license header

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

8 years agoBug 56911: Fix IndexOutOfBoundsException in PlfLfo.add() and add minimal test, howeve...
Dominik Stadler [Wed, 6 Apr 2016 09:00:05 +0000 (09:00 +0000)]
Bug 56911: Fix IndexOutOfBoundsException in PlfLfo.add() and add minimal test, however these classes look quite untested and thus require more test-coverage to make them more robust

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

8 years agoFix javadoc warning - As per http://bugs.java.com/bugdatabase/view_bug.do;jsessionid...
Nick Burch [Wed, 6 Apr 2016 06:28:14 +0000 (06:28 +0000)]
Fix javadoc warning - As per http://bugs.java.com/bugdatabase/view_bug.do;jsessionid=d014dfa686594180be40ca5872f5?bug_id=4907024 an @see is only allowed a single link with nothing after it

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

8 years agoadd test coverage for TestSXSSFCell.toString() on blank and date cells
Javen O'Neal [Wed, 6 Apr 2016 06:01:26 +0000 (06:01 +0000)]
add test coverage for TestSXSSFCell.toString() on blank and date cells

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

8 years agoadd test coverage for WorkbookFactory.create(File file, String password, Boolean...
Javen O'Neal [Wed, 6 Apr 2016 05:15:15 +0000 (05:15 +0000)]
add test coverage for WorkbookFactory.create(File file, String password, Boolean readOnly) when file does not exists

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

8 years agobug 59264: fix javadocs
Javen O'Neal [Wed, 6 Apr 2016 04:32:36 +0000 (04:32 +0000)]
bug 59264: fix javadocs

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

8 years agobug 59264: fix findbugs warning 'A boxed value is unboxed and then immediately reboxed.'
Javen O'Neal [Wed, 6 Apr 2016 00:06:53 +0000 (00:06 +0000)]
bug 59264: fix findbugs warning 'A boxed value is unboxed and then immediately reboxed.'

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

8 years agowhitespace (tabs to 4 spaces)
Javen O'Neal [Tue, 5 Apr 2016 23:47:41 +0000 (23:47 +0000)]
whitespace (tabs to 4 spaces)

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

8 years agobug 59264: move border style deprecations to POI 3.15 beta 2.
Javen O'Neal [Tue, 5 Apr 2016 23:30:37 +0000 (23:30 +0000)]
bug 59264: move border style deprecations to POI 3.15 beta 2.

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

8 years agobug 59264: type safety: check if border code is a valid BorderStyle enum for setBorde...
Javen O'Neal [Tue, 5 Apr 2016 21:38:55 +0000 (21:38 +0000)]
bug 59264: type safety: check if border code is a valid BorderStyle enum for setBorderX(short)

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

8 years agobug 59264: allow borders styles to be set with BorderStyles enums or Short codes...
Javen O'Neal [Tue, 5 Apr 2016 21:36:11 +0000 (21:36 +0000)]
bug 59264: allow borders styles to be set with BorderStyles enums or Short codes for backwards compatibility

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

8 years agobug 59264: add link to BorderStyle on deprecated BORDER_* constants
Javen O'Neal [Tue, 5 Apr 2016 21:34:24 +0000 (21:34 +0000)]
bug 59264: add link to BorderStyle on deprecated BORDER_* constants

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

8 years agobug 59264: use BorderStyle for changing Cell border line style
Javen O'Neal [Tue, 5 Apr 2016 20:28:46 +0000 (20:28 +0000)]
bug 59264: use BorderStyle for changing Cell border line style

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

8 years agobug 59264: copy cell border style codes (from CellStyle.java) into BorderStyle enum
Javen O'Neal [Mon, 4 Apr 2016 23:27:20 +0000 (23:27 +0000)]
bug 59264: copy cell border style codes (from CellStyle.java) into BorderStyle enum

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

8 years agorearrange BORDER_DOTTED and BORDER_HAIR
Javen O'Neal [Mon, 4 Apr 2016 23:26:44 +0000 (23:26 +0000)]
rearrange BORDER_DOTTED and BORDER_HAIR

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

8 years agorevert test file to original bytes see bug 59257. Thanks to Javen O'Neal for pointin...
Tim Allison [Mon, 4 Apr 2016 11:44:59 +0000 (11:44 +0000)]
revert test file to original bytes see bug 59257.  Thanks to Javen O'Neal for pointing this out and Dominik Stadler for fixing the unit test.  Apologies to all for not reading my diff more carefully before committing.

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

8 years agoprepare for 3.15-beta2
Andreas Beeker [Sun, 3 Apr 2016 23:00:28 +0000 (23:00 +0000)]
prepare for 3.15-beta2

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

8 years agorelease prepare for 3.15-beta1 - pin documentation
Andreas Beeker [Sun, 3 Apr 2016 22:59:17 +0000 (22:59 +0000)]
release prepare for 3.15-beta1 - pin documentation

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

8 years agorelease prepare for 3.15-beta1 - updating build.xml and status.xml
Andreas Beeker [Sun, 3 Apr 2016 22:58:08 +0000 (22:58 +0000)]
release prepare for 3.15-beta1 - updating build.xml and status.xml

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

8 years agoprepare for 3.15-beta2
Andreas Beeker [Sun, 3 Apr 2016 22:25:55 +0000 (22:25 +0000)]
prepare for 3.15-beta2

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

8 years agorelease prepare for 3.15-beta1 - pin documentation
Andreas Beeker [Sun, 3 Apr 2016 22:24:01 +0000 (22:24 +0000)]
release prepare for 3.15-beta1 - pin documentation

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

8 years agorelease prepare for 3.15-beta1 - updating build.xml and status.xml
Andreas Beeker [Sun, 3 Apr 2016 22:23:21 +0000 (22:23 +0000)]
release prepare for 3.15-beta1 - updating build.xml and status.xml

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

8 years agorelease prepare for 3.15-beta1 - updating build.xml and status.xml
Andreas Beeker [Sun, 3 Apr 2016 22:19:44 +0000 (22:19 +0000)]
release prepare for 3.15-beta1 - updating build.xml and status.xml

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

8 years agoBug 55982: Don't fail to open the spreadsheet if no TabIdRecord is found
Dominik Stadler [Sun, 3 Apr 2016 18:32:22 +0000 (18:32 +0000)]
Bug 55982: Don't fail to open the spreadsheet if no TabIdRecord is found

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

8 years agoFix two more places where wrong/invalid files can lead to file-handle leaks currently
Dominik Stadler [Sat, 2 Apr 2016 11:01:56 +0000 (11:01 +0000)]
Fix two more places where wrong/invalid files can lead to file-handle leaks currently

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

8 years agoPrevent us from changing the file with every test-run
Dominik Stadler [Sat, 2 Apr 2016 11:01:49 +0000 (11:01 +0000)]
Prevent us from changing the file with every test-run

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

8 years agoFix some cases where file handles are not closed in OldExcelExtractor
Dominik Stadler [Sat, 2 Apr 2016 11:01:43 +0000 (11:01 +0000)]
Fix some cases where file handles are not closed in OldExcelExtractor
Close resources in some more tests to make the file-leak report clean again

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

8 years agoRegression: Add unit-test which triggers more code deep inside XSLF to have some...
Dominik Stadler [Sat, 2 Apr 2016 06:38:39 +0000 (06:38 +0000)]
Regression: Add unit-test which triggers more code deep inside XSLF to have some missing pieces included in the reduced ooxml-schema-jar

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

8 years agoJavadoc fix - Generics are type-erased so not included in the javadoc links
Nick Burch [Fri, 1 Apr 2016 07:17:04 +0000 (07:17 +0000)]
Javadoc fix - Generics are type-erased so not included in the javadoc links

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

8 years agoEnhance integration tests to call some of the common examples/devtools to also trigg...
Dominik Stadler [Fri, 1 Apr 2016 06:25:49 +0000 (06:25 +0000)]
Enhance integration tests to call some of the common examples/devtools  to also trigger these with all sample files, currently XLSX2CSV, BiffViewer, FromHowTo

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

8 years agoPOI 59257 upgrade Bouncy Castle to 1.54
Tim Allison [Fri, 1 Apr 2016 00:57:56 +0000 (00:57 +0000)]
POI 59257 upgrade Bouncy Castle to 1.54

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

8 years agoBug 57930: Add support for inlineString in FromHowTo
Dominik Stadler [Thu, 31 Mar 2016 14:39:11 +0000 (14:39 +0000)]
Bug 57930: Add support for inlineString in FromHowTo
Also do not require an Apache Xerces Parser, let the JDK choose an available one instead

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

8 years agoAdjust integration tests, fix compilation warnings, make the check on "EXPECTED_EXTRA...
Dominik Stadler [Thu, 31 Mar 2016 13:56:27 +0000 (13:56 +0000)]
Adjust integration tests, fix compilation warnings, make the check on "EXPECTED_EXTRACTOR_FAILURES" actually work

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

8 years agoApply patch from bug 58909 - Add a cloneSheet() which directly sets the sheetname...
Dominik Stadler [Thu, 31 Mar 2016 13:32:05 +0000 (13:32 +0000)]
Apply patch from bug 58909 - Add a cloneSheet() which directly sets the sheetname to allow to avoid a costly renaming of sheets.
Combine related unit-tests into Base-Test-Classes to run them for all types of Workbook/Sheet/...

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

8 years agoFetch the Ant SVN binding jars if init-svn is called
Nick Burch [Wed, 30 Mar 2016 21:27:03 +0000 (21:27 +0000)]
Fetch the Ant SVN binding jars if init-svn is called

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

8 years agoDumpPOIFS: Create a separate named sub-directory for each file to not overwrite each...
Dominik Stadler [Tue, 29 Mar 2016 18:44:11 +0000 (18:44 +0000)]
DumpPOIFS: Create a separate named sub-directory for each file to not overwrite each other when passing in multiple files for dumping, check for failing mkdirs()

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

8 years agoRevert set of inadvertedly committed files/changes
Dominik Stadler [Tue, 29 Mar 2016 18:11:44 +0000 (18:11 +0000)]
Revert set of inadvertedly committed files/changes

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

8 years agoBug 58915: Add note about memory consumption and update changelog
Dominik Stadler [Tue, 29 Mar 2016 17:30:55 +0000 (17:30 +0000)]
Bug 58915: Add note about memory consumption and update changelog

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

8 years agoBug 58915: Update javadoc for memory consumption and fix some other javadoc and compi...
Dominik Stadler [Tue, 29 Mar 2016 17:27:20 +0000 (17:27 +0000)]
Bug 58915: Update javadoc for memory consumption and fix some other javadoc and compiler warnings

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

8 years agoTry to reproduce bug 58922, convert to JUnit 4
Dominik Stadler [Tue, 29 Mar 2016 16:11:29 +0000 (16:11 +0000)]
Try to reproduce bug 58922, convert to JUnit 4

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

8 years agoFix some compiler warnings, improve error message, cover some more code
Dominik Stadler [Tue, 29 Mar 2016 15:45:04 +0000 (15:45 +0000)]
Fix some compiler warnings, improve error message, cover some more code

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

8 years agoBug 59132: Adjust implementation of COUNTBLANK to be conforming to Excel, empty strin...
Dominik Stadler [Tue, 29 Mar 2016 14:53:44 +0000 (14:53 +0000)]
Bug 59132: Adjust implementation of COUNTBLANK to be conforming to Excel, empty strings are counted as blank as well

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

8 years agoXSLF: do not display Master Slide objects by default
Andreas Beeker [Mon, 28 Mar 2016 22:52:01 +0000 (22:52 +0000)]
XSLF: do not display Master Slide objects by default
XSLF: fix alternate content handling for picture shapes

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

8 years agosome zips can't be opened via ZipFile in JDK6, as the central directory
Andreas Beeker [Mon, 28 Mar 2016 22:49:45 +0000 (22:49 +0000)]
some zips can't be opened via ZipFile in JDK6, as the central directory
contains either non-latin entries or the compression type can't be handled
the workaround is to iterate over the stream and not the directory

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

8 years agosonar fixes
Andreas Beeker [Mon, 28 Mar 2016 22:46:53 +0000 (22:46 +0000)]
sonar fixes

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

8 years agoFix some compiler warnings, javadoc, ...
Dominik Stadler [Mon, 28 Mar 2016 20:22:08 +0000 (20:22 +0000)]
Fix some compiler warnings, javadoc, ...

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

8 years agoBug 59199: Handle null date-values in a similar way as null-Strings
Dominik Stadler [Mon, 28 Mar 2016 20:20:29 +0000 (20:20 +0000)]
Bug 59199: Handle null date-values in a similar way as null-Strings

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

8 years agoassertCloseDoesNotModifyFile method was adapted from method with the same name in...
Javen O'Neal [Sun, 27 Mar 2016 13:09:50 +0000 (13:09 +0000)]
assertCloseDoesNotModifyFile method was adapted from method with the same name in TestWorkbookFactory

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

8 years agoadd more commented-out tests for bug 58779: closing an XML Workbook that was not...
Javen O'Neal [Sun, 27 Mar 2016 13:04:37 +0000 (13:04 +0000)]
add more commented-out tests for bug 58779: closing an XML Workbook that was not opened as read-only will modify the file on disk

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

8 years agomake OPCPackage logger final
Javen O'Neal [Sun, 27 Mar 2016 05:01:02 +0000 (05:01 +0000)]
make OPCPackage logger final

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

8 years agobug 59224: change hasTint, add hasAlpha and unit tests. Patch from gubespam@gmail.com
Javen O'Neal [Thu, 24 Mar 2016 17:29:00 +0000 (17:29 +0000)]
bug 59224: change hasTint, add hasAlpha and unit tests. Patch from gubespam@gmail.com

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

8 years agomake private member variable ctColor final
Javen O'Neal [Thu, 24 Mar 2016 06:37:34 +0000 (06:37 +0000)]
make private member variable ctColor final

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

8 years agobug 59222: fix NPE thrown by (S)XSSFSheet.getCellComments(). Reported by Vasily Kopytov.
Javen O'Neal [Wed, 23 Mar 2016 16:42:04 +0000 (16:42 +0000)]
bug 59222: fix NPE thrown by (S)XSSFSheet.getCellComments(). Reported by Vasily Kopytov.

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

8 years agobug 59212: Do not check for overlapping regions when adding merged regions to a sheet
Javen O'Neal [Tue, 22 Mar 2016 09:22:03 +0000 (09:22 +0000)]
bug 59212: Do not check for overlapping regions when adding merged regions to a sheet

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

8 years agobug 59212: Do not check for overlapping regions when adding merged regions to a sheet
Javen O'Neal [Tue, 22 Mar 2016 09:02:08 +0000 (09:02 +0000)]
bug 59212: Do not check for overlapping regions when adding merged regions to a sheet

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

8 years agoCheck for null in IOUtils.closeQuietly() to not log this unnecessarily
Dominik Stadler [Tue, 22 Mar 2016 07:51:39 +0000 (07:51 +0000)]
Check for null in IOUtils.closeQuietly() to not log this unnecessarily
Add coverage for some  more methods in ExtractorFactory
Fix some IntelliJ warnings

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

8 years agoreturn unmodifiable shared strings to guarentee parallel data structures stay in...
Javen O'Neal [Tue, 22 Mar 2016 07:04:51 +0000 (07:04 +0000)]
return unmodifiable shared strings to guarentee parallel data structures stay in sync

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

8 years agobug 59208: correctly understand val="1" for isBold, isItalic, etc
Javen O'Neal [Tue, 22 Mar 2016 04:20:45 +0000 (04:20 +0000)]
bug 59208: correctly understand val="1" for isBold, isItalic, etc

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

8 years agofix inconsistent newlines (remove carriage returns), set svnprop eol-style native
Javen O'Neal [Tue, 22 Mar 2016 02:31:16 +0000 (02:31 +0000)]
fix inconsistent newlines (remove carriage returns), set svnprop eol-style native

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

8 years agofindbugs fixes - SE_COMPARATOR_SHOULD_BE_SERIALIZABLE
Andreas Beeker [Mon, 21 Mar 2016 23:42:56 +0000 (23:42 +0000)]
findbugs fixes - SE_COMPARATOR_SHOULD_BE_SERIALIZABLE

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

8 years agofindbugs fixes - RR_NOT_CHECKED
Andreas Beeker [Mon, 21 Mar 2016 23:29:06 +0000 (23:29 +0000)]
findbugs fixes - RR_NOT_CHECKED

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

8 years agoanother gump run fix (... try)
Andreas Beeker [Mon, 21 Mar 2016 20:44:32 +0000 (20:44 +0000)]
another gump run fix (... try)

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

8 years agofix eclipse warnings
Andreas Beeker [Mon, 21 Mar 2016 00:14:21 +0000 (00:14 +0000)]
fix eclipse warnings
close resources

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

8 years agofix eclipse warnings
Andreas Beeker [Sun, 20 Mar 2016 13:36:56 +0000 (13:36 +0000)]
fix eclipse warnings

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

8 years agoXmlBeans generation still needs the original jar
Andreas Beeker [Sun, 20 Mar 2016 13:15:04 +0000 (13:15 +0000)]
XmlBeans generation still needs the original jar

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

8 years agoeclipse warning fixes
Andreas Beeker [Fri, 18 Mar 2016 23:12:28 +0000 (23:12 +0000)]
eclipse warning fixes

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

8 years agosonar fix
Andreas Beeker [Fri, 18 Mar 2016 22:21:12 +0000 (22:21 +0000)]
sonar fix

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

8 years ago#59195 - POIXMLTypeLoader depends on XMLBeans 2.6.0 - remove piccolo classes from...
Andreas Beeker [Fri, 18 Mar 2016 21:34:03 +0000 (21:34 +0000)]
#59195 - POIXMLTypeLoader depends on XMLBeans 2.6.0 - remove piccolo classes from xmlbeans jars and disable xmloption in type loader

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

8 years agosonar fix
Andreas Beeker [Thu, 17 Mar 2016 22:39:20 +0000 (22:39 +0000)]
sonar fix

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

8 years agofindbugs fix
Andreas Beeker [Thu, 17 Mar 2016 22:36:11 +0000 (22:36 +0000)]
findbugs fix

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

8 years agosonar fix
Andreas Beeker [Thu, 17 Mar 2016 21:52:53 +0000 (21:52 +0000)]
sonar fix

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

8 years agoforgot another contains call ...
Andreas Beeker [Wed, 16 Mar 2016 23:40:00 +0000 (23:40 +0000)]
forgot another contains call ...

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

8 years agofindbugs fix
Andreas Beeker [Wed, 16 Mar 2016 23:36:17 +0000 (23:36 +0000)]
findbugs fix

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

8 years agosonar fixes
Andreas Beeker [Wed, 16 Mar 2016 23:30:19 +0000 (23:30 +0000)]
sonar fixes

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

8 years agoincrease perm gen
Andreas Beeker [Wed, 16 Mar 2016 22:41:34 +0000 (22:41 +0000)]
increase perm gen

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

8 years agosonar fixes
Andreas Beeker [Wed, 16 Mar 2016 22:34:26 +0000 (22:34 +0000)]
sonar fixes

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

8 years agosonar fixes
Andreas Beeker [Wed, 16 Mar 2016 22:27:56 +0000 (22:27 +0000)]
sonar fixes

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

8 years agofindbugs fixes
Andreas Beeker [Wed, 16 Mar 2016 22:10:27 +0000 (22:10 +0000)]
findbugs fixes

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

8 years agoforbidden-apis-fix
Andreas Beeker [Wed, 16 Mar 2016 21:59:40 +0000 (21:59 +0000)]
forbidden-apis-fix

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

8 years agofindbugs fixes
Andreas Beeker [Wed, 16 Mar 2016 21:46:28 +0000 (21:46 +0000)]
findbugs fixes

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

8 years agosonar fixes
Andreas Beeker [Wed, 16 Mar 2016 21:20:15 +0000 (21:20 +0000)]
sonar fixes

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

8 years agoFirst try of uncluttering CellNumberFormatter.
Andreas Beeker [Wed, 16 Mar 2016 21:18:58 +0000 (21:18 +0000)]
First try of uncluttering CellNumberFormatter.
Make inner classes static and remove setting of private outer properties while in constructor.
Make properties final to make sure they are only set once.

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

8 years agoFix for Softmaker Office files, which set encryption settings invalidly
Andreas Beeker [Wed, 16 Mar 2016 21:05:37 +0000 (21:05 +0000)]
Fix for Softmaker Office files, which set encryption settings invalidly

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

8 years ago59183 - handle timezones (even with colons) in date parsing metadata in ooxml opc
Tim Allison [Wed, 16 Mar 2016 17:52:42 +0000 (17:52 +0000)]
59183 - handle timezones (even with colons) in date parsing metadata in ooxml opc

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

8 years agoIgnore ODS
Nick Burch [Tue, 15 Mar 2016 14:17:47 +0000 (14:17 +0000)]
Ignore ODS

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

8 years agoOne final invalid file type check
Nick Burch [Tue, 15 Mar 2016 12:37:01 +0000 (12:37 +0000)]
One final invalid file type check

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

8 years agoBefore opening an OOXML file, check the first few bytes, and give helpful exceptions...
Nick Burch [Tue, 15 Mar 2016 12:30:45 +0000 (12:30 +0000)]
Before opening an OOXML file, check the first few bytes, and give helpful exceptions for common mistakes

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

8 years agoPush all the zip opening logic into ZipHelper
Nick Burch [Tue, 15 Mar 2016 12:03:30 +0000 (12:03 +0000)]
Push all the zip opening logic into ZipHelper

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