]> source.dussan.org Git - poi.git/log
poi.git
9 years agoMore forbidden apis fixes (added main-tests to the check)
Andreas Beeker [Fri, 11 Sep 2015 00:56:16 +0000 (00:56 +0000)]
More forbidden apis fixes (added main-tests to the check)
and a few junit4 upgrades
... hopefully this doesn't crash the build again ... :|

to simulate the tests on jenkins on the local developer box, uncomment the UTC lines in the build.xml

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

9 years agoforbidden apis fixes - timezone fix ... will it work?
Andreas Beeker [Thu, 10 Sep 2015 21:31:00 +0000 (21:31 +0000)]
forbidden apis fixes - timezone fix ... will it work?

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

9 years agoPatch from https://bz.apache.org/bugzilla/show_bug.cgi?id=58347 - s/arg/filename...
David North [Wed, 9 Sep 2015 17:27:49 +0000 (17:27 +0000)]
Patch from https://bz.apache.org/bugzilla/show_bug.cgi?id=58347 - s/arg/filename for a more descriptive filename

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

9 years agoforbidden apis fixes - a few DateFormat clean ups ...
Andreas Beeker [Wed, 9 Sep 2015 00:41:03 +0000 (00:41 +0000)]
forbidden apis fixes - a few DateFormat clean ups ...

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

9 years agoBug 58326 - Forbidden APIs patches - second set of changes for charset settings
Andreas Beeker [Tue, 8 Sep 2015 00:04:12 +0000 (00:04 +0000)]
Bug 58326 - Forbidden APIs patches - second set of changes for charset settings

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

9 years agoforbidden apis fixes
Andreas Beeker [Mon, 7 Sep 2015 22:34:21 +0000 (22:34 +0000)]
forbidden apis fixes

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

9 years agoBug 58326 - Forbidden APIs patches - first set of changes for locale and timezone...
Andreas Beeker [Mon, 7 Sep 2015 20:19:50 +0000 (20:19 +0000)]
Bug 58326 - Forbidden APIs patches - first set of changes for locale and timezone settings
also includes fixes for
- name shadowing
- unused deprecated method "getClipRect" in classes extending Graphics2d
- HexDump - replaced intermediate String.format calls with custom padding
- convert testcases to junit4
- closing resources

also tested with an arbitary timezone (PST) and locale (ru)

supresses forbidden apis check for
- LocaleUtil (the only place where Locale.getDefault() and TimeZone.getDefault() should be called)
- Classes using FontMetrics - without the actual text it's difficult to return something sane

Some usage of UTC and Locale.ROOT might be still wrong, e.g. in MapiMessage we don't access the
extended mapi properties, which might contain the timezone

DataFormatter has now a Observable property which need to be observed when custom formats are used
and the Locale changes

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

9 years agoBug 58326 - Forbidden APIs patches - first set of changes for locale and timezone...
Andreas Beeker [Mon, 7 Sep 2015 20:14:33 +0000 (20:14 +0000)]
Bug 58326 - Forbidden APIs patches - first set of changes for locale and timezone settings
commit single files because of svn failures ...

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

9 years agoBug 58315: Avoid NPE for RichTextString without font-details
Dominik Stadler [Sat, 5 Sep 2015 12:57:04 +0000 (12:57 +0000)]
Bug 58315: Avoid NPE for RichTextString without font-details

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

9 years agoEclipse warnings, close resources in CommandLineTextExtractor, add try/finally, forma...
Dominik Stadler [Thu, 3 Sep 2015 20:59:14 +0000 (20:59 +0000)]
Eclipse warnings, close resources in CommandLineTextExtractor, add try/finally, formatting, ...

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

9 years agoBug 56959: Add verification unit test to show that the bug cannot be reproduced
Dominik Stadler [Thu, 3 Sep 2015 20:46:32 +0000 (20:46 +0000)]
Bug 56959: Add verification unit test to show that the bug cannot be reproduced

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

9 years agoFix bug 53275: reset indexed color flag when setting a non-indexed color
Dominik Stadler [Thu, 3 Sep 2015 20:46:23 +0000 (20:46 +0000)]
Fix bug 53275: reset indexed color flag when setting a non-indexed color

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

9 years agoAdd unit test which verifies that bug 53105 is actually fixed now
Dominik Stadler [Thu, 3 Sep 2015 20:46:14 +0000 (20:46 +0000)]
Add unit test which verifies that bug 53105 is actually fixed now

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

9 years agoAdd unit tests to verify that bug 51626 and bug 51451 are fixed
Dominik Stadler [Thu, 3 Sep 2015 20:46:04 +0000 (20:46 +0000)]
Add unit tests to verify that bug 51626 and bug 51451 are fixed

Conflicts:
src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFBugs.java

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

9 years agoAdd unit tests which verify that the issues from bug 48962 and 50755 do not occur...
Dominik Stadler [Thu, 3 Sep 2015 20:45:55 +0000 (20:45 +0000)]
Add unit tests which verify that the issues from bug 48962 and 50755 do not occur any more on the latest version

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

9 years agoMake D* functions thread safe, thanks to Patrick Zimmermann for the patch.
David North [Thu, 3 Sep 2015 15:58:00 +0000 (15:58 +0000)]
Make D* functions thread safe, thanks to Patrick Zimmermann for the patch.

https://bz.apache.org/bugzilla/show_bug.cgi?id=58039

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

9 years agoDon't warn about unknown @SupressWarnings() in Eclipse
Dominik Stadler [Thu, 3 Sep 2015 13:44:10 +0000 (13:44 +0000)]
Don't warn about unknown @SupressWarnings() in Eclipse

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

9 years agoOne more place where we should state closer.lua now
Dominik Stadler [Thu, 3 Sep 2015 10:50:49 +0000 (10:50 +0000)]
One more place where we should state closer.lua now

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

9 years agoremove trailing comma ... works ok in Oracle jdk6, but maybe not in openjdk ...
Andreas Beeker [Wed, 2 Sep 2015 19:44:14 +0000 (19:44 +0000)]
remove trailing comma ... works ok in Oracle jdk6, but maybe not in openjdk ...

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

9 years agoFix DAYS360 for US/EU handling
Andreas Beeker [Tue, 1 Sep 2015 23:10:43 +0000 (23:10 +0000)]
Fix DAYS360 for US/EU handling
fix forbidden api calls
add TimeZone (user) override to DateUtil
fix a few left open resources in the junit tests

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

9 years agoFix some Forbidden APIs errors
Nick Burch [Tue, 1 Sep 2015 21:46:30 +0000 (21:46 +0000)]
Fix some Forbidden APIs errors

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

9 years agoFix some Forbidden APIs errors
Nick Burch [Tue, 1 Sep 2015 21:31:02 +0000 (21:31 +0000)]
Fix some Forbidden APIs errors

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

9 years agoFix some Forbidden APIs errors
Nick Burch [Tue, 1 Sep 2015 21:26:39 +0000 (21:26 +0000)]
Fix some Forbidden APIs errors

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

9 years agoFix some Forbidden APIs errors
Nick Burch [Tue, 1 Sep 2015 21:18:33 +0000 (21:18 +0000)]
Fix some Forbidden APIs errors

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

9 years agoFix some Forbidden APIs errors
Nick Burch [Tue, 1 Sep 2015 21:09:20 +0000 (21:09 +0000)]
Fix some Forbidden APIs errors

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

9 years agoFix some Forbidden APIs errors
Nick Burch [Tue, 1 Sep 2015 20:57:57 +0000 (20:57 +0000)]
Fix some Forbidden APIs errors

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

9 years agoFix some Forbidden APIs errors
Nick Burch [Tue, 1 Sep 2015 19:36:22 +0000 (19:36 +0000)]
Fix some Forbidden APIs errors

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

9 years agoFix some Forbidden APIs errors
Nick Burch [Tue, 1 Sep 2015 19:24:55 +0000 (19:24 +0000)]
Fix some Forbidden APIs errors

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

9 years agoFix some Forbidden APIs errors
Nick Burch [Tue, 1 Sep 2015 19:19:55 +0000 (19:19 +0000)]
Fix some Forbidden APIs errors

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

9 years agoFix inconsistent indent/whitespace
Nick Burch [Tue, 1 Sep 2015 19:17:40 +0000 (19:17 +0000)]
Fix inconsistent indent/whitespace

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

9 years agoFix some Forbidden APIs errors
Nick Burch [Tue, 1 Sep 2015 19:16:21 +0000 (19:16 +0000)]
Fix some Forbidden APIs errors

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

9 years agoFix some Forbidden APIs errors
Nick Burch [Tue, 1 Sep 2015 19:11:20 +0000 (19:11 +0000)]
Fix some Forbidden APIs errors

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

9 years agoFix some Forbidden APIs errors
Nick Burch [Tue, 1 Sep 2015 19:06:53 +0000 (19:06 +0000)]
Fix some Forbidden APIs errors

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

9 years agoFix some Forbidden APIs errors
Nick Burch [Tue, 1 Sep 2015 19:01:36 +0000 (19:01 +0000)]
Fix some Forbidden APIs errors

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

9 years agoFix some Forbidden APIs errors
Nick Burch [Tue, 1 Sep 2015 18:56:44 +0000 (18:56 +0000)]
Fix some Forbidden APIs errors

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

9 years agoFix some Forbidden APIs errors
Nick Burch [Tue, 1 Sep 2015 18:49:50 +0000 (18:49 +0000)]
Fix some Forbidden APIs errors

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

9 years agoFix some Forbidden APIs errors
Nick Burch [Tue, 1 Sep 2015 18:37:07 +0000 (18:37 +0000)]
Fix some Forbidden APIs errors

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

9 years agoforbidden apis fixes
Andreas Beeker [Sat, 29 Aug 2015 21:45:08 +0000 (21:45 +0000)]
forbidden apis fixes

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

9 years agoforbidden apis fixes
Andreas Beeker [Sat, 29 Aug 2015 18:01:26 +0000 (18:01 +0000)]
forbidden apis fixes

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

9 years agoignore IntelliJ project files
Andreas Beeker [Sat, 29 Aug 2015 17:29:39 +0000 (17:29 +0000)]
ignore IntelliJ project files

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

9 years agofixed a few forbidden api calls
Andreas Beeker [Sat, 29 Aug 2015 15:52:10 +0000 (15:52 +0000)]
fixed a few forbidden api calls

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

9 years agojunit4 fix
Andreas Beeker [Sat, 29 Aug 2015 14:47:16 +0000 (14:47 +0000)]
junit4 fix

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

9 years ago- reworked HexDump class - unified array dumps and usage of standard java calls for...
Andreas Beeker [Sat, 29 Aug 2015 14:41:12 +0000 (14:41 +0000)]
- reworked HexDump class - unified array dumps and usage of standard java calls for hex format
- fixed a few findbugs DM_DEFAULT_ENCODING issues
- removed a few System.out/.err calls - instead the poilogger is used
- closed a few left open resource instances

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

9 years agosonar - remove build dir when cleaning
Andreas Beeker [Sat, 29 Aug 2015 14:03:48 +0000 (14:03 +0000)]
sonar - remove build dir when cleaning

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

9 years agoFix a handful of forbidden apis identified problems
Nick Burch [Thu, 27 Aug 2015 17:21:35 +0000 (17:21 +0000)]
Fix a handful of forbidden apis identified problems

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

9 years agoEnable the Forbidden APIs checks on Main, Scratchpad and OOXML. Run with "ant forbidd...
Nick Burch [Thu, 27 Aug 2015 13:23:44 +0000 (13:23 +0000)]
Enable the Forbidden APIs checks on Main, Scratchpad and OOXML. Run with "ant forbidden-apis-check"

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

9 years agoUpdate RAT docs, and fetch the Forbidden APIs jar
Nick Burch [Thu, 27 Aug 2015 13:14:46 +0000 (13:14 +0000)]
Update RAT docs, and fetch the Forbidden APIs jar

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

9 years agoStub a call to the Forbidden APIs check
Nick Burch [Thu, 27 Aug 2015 13:07:36 +0000 (13:07 +0000)]
Stub a call to the Forbidden APIs check

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

9 years agoSonar Maven: Next try: Disable Subversion to see if we get results then.
Dominik Stadler [Thu, 27 Aug 2015 13:04:25 +0000 (13:04 +0000)]
Sonar Maven: Next try: Disable Subversion to see if we get results then.

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

9 years agoSonar Maven: Revert previous changes as they also did not work, it seems there is...
Dominik Stadler [Thu, 27 Aug 2015 08:20:40 +0000 (08:20 +0000)]
Sonar Maven: Revert previous changes as they also did not work, it seems there is no way to get a Sonar Maven build this way :(

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

9 years agoAdjust excludes for TestRecordLister
Dominik Stadler [Thu, 27 Aug 2015 06:32:33 +0000 (06:32 +0000)]
Adjust excludes for TestRecordLister

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

9 years agojavadoc fix
Andreas Beeker [Wed, 26 Aug 2015 22:26:39 +0000 (22:26 +0000)]
javadoc fix

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

9 years agoFix for JDK6 bug: http://bugs.java.com/view_bug.do?bug_id=6569074
Andreas Beeker [Wed, 26 Aug 2015 21:25:58 +0000 (21:25 +0000)]
Fix for JDK6 bug: http://bugs.java.com/view_bug.do?bug_id=6569074
This was fixed in jdk 7u72 ... so we'll keep this bit uncleaner version for a while ...

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

9 years agoAdd possibility to set zoomPercent for XWPFDocument
Dominik Stadler [Wed, 26 Aug 2015 19:34:28 +0000 (19:34 +0000)]
Add possibility to set zoomPercent for XWPFDocument

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

9 years agoNext try for Sonar Maven build: Specify the src-pathes in the various pom.xml files
Dominik Stadler [Tue, 25 Aug 2015 19:04:11 +0000 (19:04 +0000)]
Next try for Sonar Maven build: Specify the src-pathes in the various pom.xml files

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

9 years agoAdjust excludes after adjusting multiple HeaderFooterRecord instances
Dominik Stadler [Tue, 25 Aug 2015 08:32:41 +0000 (08:32 +0000)]
Adjust excludes after adjusting multiple HeaderFooterRecord instances

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

9 years agoRefactor BaseXLSIteratingTest into a Parameterized test to better show which files...
Dominik Stadler [Tue, 25 Aug 2015 08:30:49 +0000 (08:30 +0000)]
Refactor BaseXLSIteratingTest into a Parameterized test to better show which files failed
Simplify exclusion handling
Exclude testEXCEL_3.xls and testEXCEL_4.xls in two tests, not sure why this worked before?!

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

9 years agoAllow multiple instances of HeaderFooterRecord in CustomViewSettingsRecordAggregate...
Dominik Stadler [Tue, 25 Aug 2015 08:28:54 +0000 (08:28 +0000)]
Allow multiple instances of HeaderFooterRecord in CustomViewSettingsRecordAggregate similar to ChartSubstreamRecordAggreagte in order to read sample 49931.xls correctly after re-saving it with HSSFWorkbook
Improve error output

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

9 years agoTry to specify list of sources in Sonar-Run to look at the SVN-Sources, not the copie...
Dominik Stadler [Tue, 25 Aug 2015 07:06:51 +0000 (07:06 +0000)]
Try to specify list of sources in Sonar-Run to look at the SVN-Sources, not the copied ones because of our custom Maven build.

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

9 years agocommon sl: reworked and unified generics definitions
Andreas Beeker [Mon, 24 Aug 2015 23:15:14 +0000 (23:15 +0000)]
common sl: reworked and unified generics definitions
made various methods available through common sl
added createTextBox,AutoShape,... methods to ShapeContainers
hslf tables created by poi, will be identified as such when the file is read again

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

9 years agoTweak error message to make clear that we really need a file showing the problem
Nick Burch [Mon, 24 Aug 2015 21:20:01 +0000 (21:20 +0000)]
Tweak error message to make clear that we really need a file showing the problem

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

9 years agoJavadoc tweak
Nick Burch [Mon, 24 Aug 2015 17:55:57 +0000 (17:55 +0000)]
Javadoc tweak

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

9 years agoReduce required memory in tests by not actually creating all the rows/cells when...
Dominik Stadler [Mon, 24 Aug 2015 08:12:01 +0000 (08:12 +0000)]
Reduce required memory in tests by not actually creating all the rows/cells when verifying the max number of cellstyles. Hopefully this will avoid the OOMs that we see in various CI environments currently while still verifying the limits correctly.

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

9 years agoSpecify the amount of memory for OOXMLLite as different environments fail sometimes...
Dominik Stadler [Sun, 23 Aug 2015 18:10:01 +0000 (18:10 +0000)]
Specify the amount of memory for OOXMLLite as different environments fail sometimes currently and it should make the build more reproducible if we state how much memeory we want

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

9 years agoAdd empty.pptx to excludes in rat-check
Dominik Stadler [Sun, 23 Aug 2015 18:09:56 +0000 (18:09 +0000)]
Add empty.pptx to excludes in rat-check

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

9 years agoMove security schemas to security module
Andreas Beeker [Thu, 20 Aug 2015 23:06:00 +0000 (23:06 +0000)]
Move security schemas to security module
Fork xmlbeans plugin and run with more memory depending on 32/64bit runtime

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

9 years agoEclipse warnings, code formatting, missing @Overrides, Javadoc, missing close(), ...
Dominik Stadler [Thu, 20 Aug 2015 14:28:39 +0000 (14:28 +0000)]
Eclipse warnings, code formatting, missing @Overrides, Javadoc, missing close(), ...

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

9 years agoSonar Maven build:
Dominik Stadler [Thu, 20 Aug 2015 06:33:02 +0000 (06:33 +0000)]
Sonar Maven build:
* Try to provide more memory for the unit test runs as some unit tests create large spreadsheets now
* svn-ignore one more directory

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

9 years agoSomehow the Date formatting via SimpleDateFormatter fails on some CI machines, don...
Dominik Stadler [Thu, 20 Aug 2015 06:29:48 +0000 (06:29 +0000)]
Somehow the Date formatting via SimpleDateFormatter fails on some CI machines, don't rely on this to avoid test-failures due to timezones/locales but rather compare the date directly.

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

9 years agoPatch from Javen ONeal from bug #58254 - CellFormatResult.text should check for nulls...
Nick Burch [Wed, 19 Aug 2015 18:00:31 +0000 (18:00 +0000)]
Patch from Javen ONeal from bug #58254 - CellFormatResult.text should check for nulls as per the javadoc

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

9 years agoPOI Bug 58260: Fix checks for limit on number of styles in XSSF/SXSSF and fix having...
Dominik Stadler [Wed, 19 Aug 2015 13:36:08 +0000 (13:36 +0000)]
POI Bug 58260: Fix checks for limit on number of styles in XSSF/SXSSF and fix having more than 32k styles in SXSSF workbooks

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

9 years agoAdd additional checks to narrow down why this test fails when run via Maven
Dominik Stadler [Wed, 19 Aug 2015 13:28:23 +0000 (13:28 +0000)]
Add additional checks to narrow down why this test fails when run via Maven

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

9 years agoAdjust excludes to make the output a bit cleaner in OOXMLLite and also look in the...
Dominik Stadler [Wed, 19 Aug 2015 13:03:05 +0000 (13:03 +0000)]
Adjust excludes to make the output a bit cleaner in OOXMLLite and also look in the superclass for @Test annotations to include one additional unit-test that we missed currently.

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

9 years agoImprove ReadOnlySharedStringsTable to cope gracefully with an empty SST part.
David North [Wed, 19 Aug 2015 11:10:13 +0000 (11:10 +0000)]
Improve ReadOnlySharedStringsTable to cope gracefully with an empty SST part.

https://bz.apache.org/bugzilla/show_bug.cgi?id=58262

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

9 years ago* Adjust reported text when a Zip-Bomb is detected to allow to quickly see why it...
Dominik Stadler [Wed, 19 Aug 2015 10:57:19 +0000 (10:57 +0000)]
* Adjust reported text when a Zip-Bomb is detected to allow to quickly see why it happened
* Fail only with inflation ratio lower than the min, not equals, to behave as documented
* Add getters to be able to temporarily adjust the limits for unit tests
* Allow lower inflation ratio in OOXMLPrettyPrint as this is a dev-only tool

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

9 years agoMake intersection formulae work in XSSF. Patch from Matt Hillsdon plus additional...
David North [Wed, 19 Aug 2015 10:10:08 +0000 (10:10 +0000)]
Make intersection formulae work in XSSF. Patch from Matt Hillsdon plus additional tests.

https://bz.apache.org/bugzilla/show_bug.cgi?id=52111

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

9 years agoAdd one unit-test for a different way of calculating workdays to see if this also...
Dominik Stadler [Tue, 18 Aug 2015 20:24:07 +0000 (20:24 +0000)]
Add one unit-test for a different way of calculating workdays to see if this also triggers test failures in Sonar Maven runs which currently fail for test-case TestWorkdayFunction

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

9 years agoAdd more of the xsds to the Sonar Maven ooxml-schema pom.xml to try to make the Sonar...
Dominik Stadler [Tue, 18 Aug 2015 20:05:58 +0000 (20:05 +0000)]
Add more of the xsds to the Sonar Maven ooxml-schema pom.xml to try to make the Sonar Maven run finally run again.
svn-ignore two more generated src-directories

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

9 years agoSet some svn-ignores for generated files and directories
Dominik Stadler [Tue, 18 Aug 2015 19:07:39 +0000 (19:07 +0000)]
Set some svn-ignores for generated files and directories

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

9 years agoComments, imports and warnings
Nick Burch [Tue, 18 Aug 2015 14:59:52 +0000 (14:59 +0000)]
Comments, imports and warnings

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

9 years agoFix indents
Nick Burch [Tue, 18 Aug 2015 14:49:38 +0000 (14:49 +0000)]
Fix indents

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

9 years agoPatch from Javen ONeal from bug #58253 - CellReference upper-case check for #REF...
Nick Burch [Tue, 18 Aug 2015 14:46:01 +0000 (14:46 +0000)]
Patch from Javen ONeal from bug #58253 - CellReference upper-case check for #REF!, and code readability + javadoc improvements

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

9 years agoFix indents
Nick Burch [Tue, 18 Aug 2015 14:34:52 +0000 (14:34 +0000)]
Fix indents

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

9 years agoPatch from Javen ONeal from bug #58252 - More CellReference unit testing coverage
Nick Burch [Tue, 18 Aug 2015 14:32:53 +0000 (14:32 +0000)]
Patch from Javen ONeal from bug #58252 - More CellReference unit testing coverage

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

9 years agoUse more permsize when running ooxml-lite as it seems to reach the default limit now
Dominik Stadler [Tue, 18 Aug 2015 05:57:03 +0000 (05:57 +0000)]
Use more permsize when running ooxml-lite as it seems to reach the default limit now

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

9 years agoAdjust dependencies to make target compile-ooxml-xsds run standalone and use init...
Dominik Stadler [Tue, 18 Aug 2015 05:12:43 +0000 (05:12 +0000)]
Adjust dependencies to make target compile-ooxml-xsds run standalone and use init instead of check-jars,fetch-jars

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

9 years agosonar xmlbeans fix
Andreas Beeker [Tue, 18 Aug 2015 01:16:26 +0000 (01:16 +0000)]
sonar xmlbeans fix

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

9 years agoBug 54938: Throw InvalidFormatException as documented instead of IllegalArgumentExcep...
Dominik Stadler [Mon, 17 Aug 2015 20:54:32 +0000 (20:54 +0000)]
Bug 54938: Throw InvalidFormatException as documented instead of IllegalArgumentException in WorkbookFactory.create()

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

9 years agoUpdate to 3.13-SNAPSHOT
Andreas Beeker [Sun, 16 Aug 2015 22:54:18 +0000 (22:54 +0000)]
Update to 3.13-SNAPSHOT

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

9 years agoTry to make Sonar builds run again: add missing dependency, add ooxml-schema-security...
Dominik Stadler [Sun, 16 Aug 2015 20:51:40 +0000 (20:51 +0000)]
Try to make Sonar builds run again: add missing dependency, add ooxml-schema-security, don't depend on dir test-data and build-directory directly, don't override a POILogger that is set via System Properties

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

9 years agoMove and rename hslf line because of ambiguity with common sl line
Andreas Beeker [Sat, 15 Aug 2015 20:43:51 +0000 (20:43 +0000)]
Move and rename hslf line because of ambiguity with common sl line

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

9 years agoFindBugs - DLS_DEAD_LOCAL_STORE
Andreas Beeker [Sat, 15 Aug 2015 13:05:00 +0000 (13:05 +0000)]
FindBugs - DLS_DEAD_LOCAL_STORE

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

9 years agoFindBugs - BX_BOXING_IMMEDIATELY_UNBOXED_TO_PERFORM_COERCION
Andreas Beeker [Sat, 15 Aug 2015 13:00:05 +0000 (13:00 +0000)]
FindBugs - BX_BOXING_IMMEDIATELY_UNBOXED_TO_PERFORM_COERCION

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

9 years agoUpdate to 3.13-SNAPSHOT
Andreas Beeker [Sat, 15 Aug 2015 12:23:51 +0000 (12:23 +0000)]
Update to 3.13-SNAPSHOT

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

9 years agoFindBugs - DMI_INVOKING_TOSTRING_ON_ARRAY
Andreas Beeker [Sat, 15 Aug 2015 12:20:52 +0000 (12:20 +0000)]
FindBugs - DMI_INVOKING_TOSTRING_ON_ARRAY

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

9 years agoFindBugs - BX_UNBOXING_IMMEDIATELY_REBOXED
Andreas Beeker [Sat, 15 Aug 2015 12:13:09 +0000 (12:13 +0000)]
FindBugs - BX_UNBOXING_IMMEDIATELY_REBOXED

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

9 years agoFindBugs - BX_BOXING_IMMEDIATELY_UNBOXED_TO_PERFORM_COERCION
Andreas Beeker [Sat, 15 Aug 2015 12:09:26 +0000 (12:09 +0000)]
FindBugs - BX_BOXING_IMMEDIATELY_UNBOXED_TO_PERFORM_COERCION

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

9 years agoFindBugs - DLS_DEAD_LOCAL_STORE
Andreas Beeker [Sat, 15 Aug 2015 11:57:57 +0000 (11:57 +0000)]
FindBugs - DLS_DEAD_LOCAL_STORE

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

9 years agoBigger warnings that new users should use SXSSF, and not mess around with the XML...
Nick Burch [Sat, 15 Aug 2015 07:29:27 +0000 (07:29 +0000)]
Bigger warnings that new users should use SXSSF, and not mess around with the XML themselves

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

9 years agoRemove catches which were previously incorrectly declared when not needed
Nick Burch [Thu, 13 Aug 2015 20:31:25 +0000 (20:31 +0000)]
Remove catches which were previously incorrectly declared when not needed

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