]> source.dussan.org Git - poi.git/log
poi.git
9 years ago- a few findbugs/sonar fixes
Andreas Beeker [Wed, 23 Sep 2015 23:22:46 +0000 (23:22 +0000)]
- a few findbugs/sonar fixes
- removed obsolete openxml4j signature classes

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

9 years agoMake XSSF and HSSF consistent in getMergedRegions - return empty list if there are...
David North [Wed, 23 Sep 2015 12:53:13 +0000 (12:53 +0000)]
Make XSSF and HSSF consistent in getMergedRegions - return empty list if there are none, rather than an exception. Tests for this.

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

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

9 years agoEnsure that the ThreadLocal-Biff-Password is reset correctly after each usage, we...
Dominik Stadler [Tue, 22 Sep 2015 19:50:37 +0000 (19:50 +0000)]
Ensure that the ThreadLocal-Biff-Password is reset correctly after each usage, we had some unit tests failing sporadically due to this

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

9 years agounpin externals
Andreas Beeker [Mon, 21 Sep 2015 22:07:09 +0000 (22:07 +0000)]
unpin externals

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

9 years ago3.13 Final RC preparation
Andreas Beeker [Mon, 21 Sep 2015 21:44:00 +0000 (21:44 +0000)]
3.13 Final RC preparation

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

9 years ago3.13 Final RC preparation
Andreas Beeker [Mon, 21 Sep 2015 21:40:59 +0000 (21:40 +0000)]
3.13 Final RC preparation

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

9 years agoFix javadoc warnings
Nick Burch [Mon, 21 Sep 2015 19:18:40 +0000 (19:18 +0000)]
Fix javadoc warnings

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

9 years agoremoved common sl path
Andreas Beeker [Mon, 21 Sep 2015 00:16:36 +0000 (00:16 +0000)]
removed common sl path

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

9 years ago- #58216 - provide picture-shape resize that maintains the aspect ratio
Andreas Beeker [Mon, 21 Sep 2015 00:09:45 +0000 (00:09 +0000)]
- #58216 - provide picture-shape resize that maintains the aspect ratio
- moved SlideShowFactory to Common SL
- changed get/setAnchor to Rectangle instead of Rectangle2D
- Fixed some Common SL generic definitions
- picture dimensions are now in points and an additional method exists for pixels

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

9 years agoBug 58333: Apply patch to verify behavior on row-index before and after the limits...
Dominik Stadler [Sun, 20 Sep 2015 20:16:17 +0000 (20:16 +0000)]
Bug 58333: Apply patch to verify behavior on row-index before and after the limits set by the specification

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

9 years agoBug 58332: Adjust implementation of dev-util 'MemoryUsage' to print out information...
Dominik Stadler [Sun, 20 Sep 2015 20:05:36 +0000 (20:05 +0000)]
Bug 58332: Adjust implementation of dev-util 'MemoryUsage' to print out information if limits are reached instead of OOM

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

9 years agoAdded web of trust to kiwiwings entry
Andreas Beeker [Sun, 20 Sep 2015 14:01:20 +0000 (14:01 +0000)]
Added web of trust to kiwiwings entry

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

9 years agoclose resources in junit tests
Andreas Beeker [Sun, 20 Sep 2015 12:02:40 +0000 (12:02 +0000)]
close resources in junit tests

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

9 years ago- #58207 - Provide user access to the original image dimensions (XSLF)
Andreas Beeker [Sun, 20 Sep 2015 02:25:35 +0000 (02:25 +0000)]
- #58207 - Provide user access to the original image dimensions (XSLF)
- same for hslf / common sl
- unify method names in H/XSLF Slideshow for common sl
- add/fix header information for PICT/EMF/WMF

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

9 years agoBug 57925: Add unit test and a simple fix to at least avoid the NPE when Workbooks...
Dominik Stadler [Sat, 19 Sep 2015 12:22:42 +0000 (12:22 +0000)]
Bug 57925: Add unit test and a simple fix to at least avoid the NPE when Workbooks have invalid external references

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

9 years agoBug 57915: Fix Dev2Hex for numbers larger than Integer.MAX_VALUE and less than Intege...
Dominik Stadler [Thu, 17 Sep 2015 19:23:25 +0000 (19:23 +0000)]
Bug 57915: Fix Dev2Hex for numbers larger than Integer.MAX_VALUE and less than Integer.MIN_VALUE

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

9 years agoApply patch from bug 57890 to add support for different datatypes in XSSFImportFromXML
Dominik Stadler [Thu, 17 Sep 2015 18:30:13 +0000 (18:30 +0000)]
Apply patch from bug 57890 to add support for different datatypes in XSSFImportFromXML

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

9 years agoJavadoc fixes
Nick Burch [Thu, 17 Sep 2015 11:18:15 +0000 (11:18 +0000)]
Javadoc fixes

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

9 years agoPatch from Javen ONeal from bug #58245 - Make Workbook support iterating over Sheets
Nick Burch [Thu, 17 Sep 2015 11:10:11 +0000 (11:10 +0000)]
Patch from Javen ONeal from bug #58245 - Make Workbook support iterating over Sheets

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

9 years agoEclipse warnings, code formatting, simplify ExcelAntWorkbookUtilFactory, always close...
Dominik Stadler [Mon, 14 Sep 2015 18:40:23 +0000 (18:40 +0000)]
Eclipse warnings, code formatting, simplify ExcelAntWorkbookUtilFactory, always close resources, ...

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

9 years agoUpdate javadoc for bug 56129
Dominik Stadler [Sun, 13 Sep 2015 19:32:50 +0000 (19:32 +0000)]
Update javadoc for bug 56129

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

9 years agoRemove src/contrib/src from Eclipse project after code was moved to examples
Dominik Stadler [Sun, 13 Sep 2015 19:06:02 +0000 (19:06 +0000)]
Remove src/contrib/src from Eclipse project after code was moved to examples

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

9 years agoEclipse warnings, comment out dead code, close resources, enhance unit tests, javadoc...
Dominik Stadler [Sun, 13 Sep 2015 19:05:55 +0000 (19:05 +0000)]
Eclipse warnings, comment out dead code, close resources, enhance unit tests, javadoc, ...

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

9 years agoEnhance integration testing to apply OPCPackage tests to more file-types and also...
Dominik Stadler [Sun, 13 Sep 2015 19:05:40 +0000 (19:05 +0000)]
Enhance integration testing to apply OPCPackage tests to more file-types and also run XSSFReader in XSSFFileHandler

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

9 years agoVerify that bug 55406 can be closed WORKSFORME
Dominik Stadler [Sun, 13 Sep 2015 19:05:28 +0000 (19:05 +0000)]
Verify that bug 55406 can be closed WORKSFORME

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

9 years agoAdd test case for bug 54399
Dominik Stadler [Sun, 13 Sep 2015 14:48:58 +0000 (14:48 +0000)]
Add test case for bug 54399

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

9 years agofix eclipse warning - mostly generics cosmetics
Andreas Beeker [Sun, 13 Sep 2015 12:36:56 +0000 (12:36 +0000)]
fix eclipse warning - mostly generics cosmetics
close resources in tests
junit4 conversions
convert spreadsheet based formular test to junit parameterized tests

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

9 years agofix eclipse warning - mostly generics cosmetics
Andreas Beeker [Sat, 12 Sep 2015 18:45:07 +0000 (18:45 +0000)]
fix eclipse warning - mostly generics cosmetics
close resources in tests
junit4 conversions
convert spreadsheet based formular test to junit parameterized tests

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

9 years agoBug 58353: Return correct value in Match-Function with match-type == -1
Dominik Stadler [Fri, 11 Sep 2015 18:52:29 +0000 (18:52 +0000)]
Bug 58353: Return correct value in Match-Function with match-type == -1

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

9 years agoJavadoc fix
Nick Burch [Fri, 11 Sep 2015 10:27:22 +0000 (10:27 +0000)]
Javadoc fix

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

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