]> source.dussan.org Git - poi.git/log
poi.git
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

8 years agoFix inconsistent indents
Nick Burch [Tue, 15 Mar 2016 11:56:28 +0000 (11:56 +0000)]
Fix inconsistent indents

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

8 years agoFix inconsistent indents
Nick Burch [Tue, 15 Mar 2016 11:54:16 +0000 (11:54 +0000)]
Fix inconsistent indents

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

8 years agoStart to give more helpful Exceptions from OPCPackage when non-OOXML files are passed...
Nick Burch [Tue, 15 Mar 2016 11:50:57 +0000 (11:50 +0000)]
Start to give more helpful Exceptions from OPCPackage when non-OOXML files are passed to it

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

8 years agoAdd a test ODS file, for more helpful error messages
Nick Burch [Tue, 15 Mar 2016 11:15:38 +0000 (11:15 +0000)]
Add a test ODS file, for more helpful error messages

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

8 years agoRemove some useless lines of code, the initialAllocationSize is ignored in SXSSFRow...
Dominik Stadler [Mon, 14 Mar 2016 12:00:27 +0000 (12:00 +0000)]
Remove some useless lines of code, the initialAllocationSize is ignored in SXSSFRow() anyway

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

8 years agoFix some IntelliJ warnings and adjust Javadoc of readFully() slightly to describe...
Dominik Stadler [Mon, 14 Mar 2016 11:58:15 +0000 (11:58 +0000)]
Fix some IntelliJ warnings and adjust Javadoc of readFully() slightly to describe the behavior better.

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

8 years agoHSLF: Add support for system colors
Andreas Beeker [Mon, 14 Mar 2016 00:42:59 +0000 (00:42 +0000)]
HSLF: Add support for system colors

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

8 years agoBug 56930: Add Workbook.getNames() to allow to query for names that appear multiple...
Dominik Stadler [Sun, 13 Mar 2016 21:30:38 +0000 (21:30 +0000)]
Bug 56930: Add Workbook.getNames() to allow to query for names that appear multiple times

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

8 years agoBug 55791: Avoid using an existing file-name when creating a new slide, it could...
Dominik Stadler [Sun, 13 Mar 2016 21:30:27 +0000 (21:30 +0000)]
Bug 55791: Avoid using an existing file-name when creating a new slide, it could still be left over from previous partial removal

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

8 years agoBug 55668: Try to avoid NullPointerException when chaning cell type and formula leads...
Dominik Stadler [Sun, 13 Mar 2016 21:30:18 +0000 (21:30 +0000)]
Bug 55668: Try to avoid NullPointerException when chaning cell type and formula leads to null-string by seting the cell to BLANK instead

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

8 years agoEscape spaces in the URL
Nick Burch [Sun, 13 Mar 2016 21:19:46 +0000 (21:19 +0000)]
Escape spaces in the URL

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

8 years ago#59135 - Password gets truncated when using passwords longer than 15 characters for...
Andreas Beeker [Sun, 13 Mar 2016 19:31:32 +0000 (19:31 +0000)]
#59135 - Password gets truncated when using passwords longer than 15 characters for the function protectSheet()

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

8 years agosonar fix
Andreas Beeker [Sun, 13 Mar 2016 14:12:43 +0000 (14:12 +0000)]
sonar fix

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

8 years agoBug 57200: Do not try to delete the poifiles-tempdir as it can interfere when multipl...
Dominik Stadler [Sat, 12 Mar 2016 16:56:33 +0000 (16:56 +0000)]
Bug 57200: Do not try to delete the poifiles-tempdir as it can interfere when multiple applications are using SXSSF on the same machine.

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

8 years agoFix bug 56549: correctly calculate char index ranges for HWPF in the TextPieceTable
Dominik Stadler [Sat, 12 Mar 2016 16:56:26 +0000 (16:56 +0000)]
Fix bug 56549: correctly calculate char index ranges for HWPF in the TextPieceTable

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

8 years ago#59170 - Remove deprecated classes (POI 3.15) - *Workbook.setRepeatingRowsAndColumns()
Andreas Beeker [Sat, 12 Mar 2016 13:33:53 +0000 (13:33 +0000)]
#59170 - Remove deprecated classes (POI 3.15) - *Workbook.setRepeatingRowsAndColumns()

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

8 years agoApply patch to fix bug 57495: getTableArray method can not get 0 pos table
Dominik Stadler [Sat, 12 Mar 2016 11:45:34 +0000 (11:45 +0000)]
Apply patch to fix bug 57495: getTableArray method can not get 0 pos table

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

8 years agoRefactor some common code from the various Document-Factories into a helper class
Dominik Stadler [Sat, 12 Mar 2016 11:37:32 +0000 (11:37 +0000)]
Refactor some common code from the various Document-Factories into a helper class
Fix a potential file-handle-leak for password protected workbooks or slideshows

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

8 years agoFix some cases where POI itself or the tests leaked file-handles
Dominik Stadler [Sat, 12 Mar 2016 11:37:22 +0000 (11:37 +0000)]
Fix some cases where POI itself or the tests leaked file-handles
Also fix some IntelliJ warnings

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

8 years agoFindbugs fixes
Dominik Stadler [Sat, 12 Mar 2016 11:37:12 +0000 (11:37 +0000)]
Findbugs fixes
OldExcelExtractor could leak file handles in case of exceptions
Free file handles in POIFSDump, add unit-test for POIFSDump
Add a Findbugs exclude and adjust findbugs-ant slightly

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

8 years agoMark duplicated RecordFormatException as deprecated to be able to remove it at some...
Dominik Stadler [Sat, 12 Mar 2016 11:36:56 +0000 (11:36 +0000)]
Mark duplicated RecordFormatException as deprecated to be able to remove it at some point in the future

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

8 years agoEnable some tests that are ignored, actually run green and did not have any comment...
Dominik Stadler [Sat, 12 Mar 2016 11:36:50 +0000 (11:36 +0000)]
Enable some tests that are ignored, actually run green and did not have any comment why they were ignored in the first place
Fix some compiler warnings

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

8 years agoAdd test for bug 59098 which shows that this is fixed in 3.14.
Dominik Stadler [Sat, 12 Mar 2016 11:36:43 +0000 (11:36 +0000)]
Add test for bug 59098 which shows that this is fixed in 3.14.

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

8 years agoadd fixcrlf to docs-target, to fix windows document generation
Andreas Beeker [Sat, 12 Mar 2016 00:34:26 +0000 (00:34 +0000)]
add fixcrlf to docs-target, to fix windows document generation

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

8 years ago#59170 - Remove deprecated classes (POI 3.15) - org.apache.poi.hssf/ss.util.Region
Andreas Beeker [Sat, 12 Mar 2016 00:17:16 +0000 (00:17 +0000)]
#59170 - Remove deprecated classes (POI 3.15) - org.apache.poi.hssf/ss.util.Region

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

8 years agosonar fixes
Andreas Beeker [Fri, 11 Mar 2016 23:14:09 +0000 (23:14 +0000)]
sonar fixes

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

8 years agosonar fixes
Andreas Beeker [Thu, 10 Mar 2016 00:32:33 +0000 (00:32 +0000)]
sonar fixes

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

8 years agosonar fixes
Andreas Beeker [Thu, 10 Mar 2016 00:20:34 +0000 (00:20 +0000)]
sonar fixes

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

8 years agofindbugs fix
Andreas Beeker [Wed, 9 Mar 2016 21:36:26 +0000 (21:36 +0000)]
findbugs fix

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

8 years agofix class dependency error of #57031 / #59058 patch
Andreas Beeker [Wed, 9 Mar 2016 21:01:33 +0000 (21:01 +0000)]
fix class dependency error of #57031 / #59058 patch

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

8 years agoRemove a superfluous/bloated log function, which String.format can do better and...
Andreas Beeker [Wed, 9 Mar 2016 20:57:26 +0000 (20:57 +0000)]
Remove a superfluous/bloated log function, which String.format can do better and is only used once ...

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

8 years agoMore helpful exception message if POIFS is given a raw XML file (eg an Office 2003...
Nick Burch [Wed, 9 Mar 2016 10:57:52 +0000 (10:57 +0000)]
More helpful exception message if POIFS is given a raw XML file (eg an Office 2003 XML file), plus tests

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

8 years ago#59058 - OOM when parsing docx after OPCPackage.open with File but not with InputStre...
Andreas Beeker [Wed, 9 Mar 2016 01:25:02 +0000 (01:25 +0000)]
#59058 - OOM when parsing docx after OPCPackage.open with File but not with InputStream (TIKA-1866)

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

8 years ago#57031 - Out of Memory when extracting text from attached files
Andreas Beeker [Wed, 9 Mar 2016 00:41:02 +0000 (00:41 +0000)]
#57031 - Out of Memory when extracting text from attached files

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

8 years agoFix source rebuilding verification after resulting binaries in dist-folder changed
Dominik Stadler [Mon, 7 Mar 2016 08:32:11 +0000 (08:32 +0000)]
Fix source rebuilding verification after resulting binaries in dist-folder changed

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

8 years agosigning and repository upload via ant
Andreas Beeker [Mon, 7 Mar 2016 01:58:26 +0000 (01:58 +0000)]
signing and repository upload via ant

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

8 years agoupdate doap to poi 3.14
Andreas Beeker [Mon, 7 Mar 2016 01:53:47 +0000 (01:53 +0000)]
update doap to poi 3.14

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

8 years agoFixup last commit: don't remove the xmlbeans.marker files
Dominik Stadler [Thu, 3 Mar 2016 13:38:03 +0000 (13:38 +0000)]
Fixup last commit: don't remove the xmlbeans.marker files

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