]> source.dussan.org Git - poi.git/log
poi.git
9 years agoBug 58048: Add visio schemas to the OOXML jar
Dustin Spicuzza [Wed, 7 Oct 2015 02:41:30 +0000 (02:41 +0000)]
Bug 58048: Add visio schemas to the OOXML jar

- Bumped OOXML jar version also

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

9 years agofix forbidden apis issue and make non-static as decimalformat is not thread-safe
Andreas Beeker [Tue, 6 Oct 2015 22:52:05 +0000 (22:52 +0000)]
fix forbidden apis issue and make non-static as decimalformat is not thread-safe

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

9 years agoAnt build: Use correct AntTask as reported by forbidden-apis-check, Print out which...
Dominik Stadler [Tue, 6 Oct 2015 13:36:30 +0000 (13:36 +0000)]
Ant build: Use correct AntTask as reported by forbidden-apis-check, Print out which documentation directory is looked at in -check-docs

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

9 years agoFormat numbers more like Excel does
David North [Tue, 6 Oct 2015 09:56:26 +0000 (09:56 +0000)]
Format numbers more like Excel does

Thanks to Chris Boyle for the patch

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

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

9 years agosonar fixes and closing resources after use
Andreas Beeker [Tue, 6 Oct 2015 00:04:12 +0000 (00:04 +0000)]
sonar fixes and closing resources after use

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

9 years agoClean up a bit and move some comments into descriptions for the benefit of ant -p
David North [Mon, 5 Oct 2015 12:23:07 +0000 (12:23 +0000)]
Clean up a bit and move some comments into descriptions for the benefit of ant -p

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

9 years agoFix for https://bz.apache.org/bugzilla/show_bug.cgi?id=58466
David North [Mon, 5 Oct 2015 10:31:33 +0000 (10:31 +0000)]
Fix for https://bz.apache.org/bugzilla/show_bug.cgi?id=58466

ColumnHelper now preserves information on multiple changes to the same group, hopefully while preserving the faster implementation intended by the original patch.

NB changes to TestXSSFSheet: the behaviour of column group collapsing/expanding is now closer to what Excel does than before.

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

9 years agoUpdate my key with additional sigs from Nick
David North [Mon, 5 Oct 2015 08:07:02 +0000 (08:07 +0000)]
Update my key with additional sigs from Nick

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

9 years agoAs discussed at ApacheCon: Try to automatically find test-data in unit tests, this...
Dominik Stadler [Mon, 5 Oct 2015 06:45:20 +0000 (06:45 +0000)]
As discussed at ApacheCon: Try to automatically find test-data in unit tests, this makes it easier to get going in Eclipse or other IDEs.

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

9 years agoEclipse warnings
Dominik Stadler [Mon, 5 Oct 2015 06:41:48 +0000 (06:41 +0000)]
Eclipse warnings

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

9 years agofixed sonar issues and eclipse warnings
Andreas Beeker [Mon, 5 Oct 2015 00:28:54 +0000 (00:28 +0000)]
fixed sonar issues and eclipse warnings

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

9 years agoobsoleted Codec classes by HexDump
Andreas Beeker [Mon, 5 Oct 2015 00:27:47 +0000 (00:27 +0000)]
obsoleted Codec classes by HexDump

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

9 years agoremoved obsolete classes
Andreas Beeker [Mon, 5 Oct 2015 00:26:45 +0000 (00:26 +0000)]
removed obsolete classes

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

9 years agoFixed a problem with save-and-load of conditional formattings (CFHeader12 wasn't...
Andreas Beeker [Mon, 5 Oct 2015 00:26:19 +0000 (00:26 +0000)]
Fixed a problem with save-and-load of conditional formattings (CFHeader12 wasn't added to conditional formattings, rgb value wasn't saved in extended color)

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

9 years agosonar fixes
Andreas Beeker [Sun, 4 Oct 2015 00:35:30 +0000 (00:35 +0000)]
sonar fixes

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

9 years agoBug 55032: Fix handling missing option values in financial functions PV, FV, NPER...
Dominik Stadler [Thu, 1 Oct 2015 14:05:28 +0000 (14:05 +0000)]
Bug 55032: Fix handling missing option values in financial functions PV, FV, NPER and PMT

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

9 years agosonar fixes
Andreas Beeker [Wed, 30 Sep 2015 23:06:39 +0000 (23:06 +0000)]
sonar fixes

Very interesting was the exception swallowing in PackagePropertiesPart. When it was properly thrown, it already led to various errors in the junits test - I've fixed the handling for at least the ones which are in our test set

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

9 years agoUpdate forbidden-api checks to new release 2.0
Dominik Stadler [Wed, 30 Sep 2015 20:00:14 +0000 (20:00 +0000)]
Update forbidden-api checks to new release 2.0

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

9 years agoVerify that bug 51998 is actually fixed since some time already.
Dominik Stadler [Tue, 29 Sep 2015 13:09:47 +0000 (13:09 +0000)]
Verify that bug 51998 is actually fixed since some time already.

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

9 years agoBug 50319: Make row groups which include row 0 work
Dominik Stadler [Tue, 29 Sep 2015 12:26:08 +0000 (12:26 +0000)]
Bug 50319: Make row groups which include row 0 work

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

9 years agoTried to reproduce bug 48403 but couldn't, still adding the related unit test
Dominik Stadler [Tue, 29 Sep 2015 10:14:40 +0000 (10:14 +0000)]
Tried to reproduce bug 48403 but couldn't, still adding the related unit test

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

9 years agosonar fixes
Andreas Beeker [Tue, 29 Sep 2015 08:31:15 +0000 (08:31 +0000)]
sonar fixes

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

9 years agoAdd test which shows that bug 46515 is fixed since some time already.
Dominik Stadler [Tue, 29 Sep 2015 07:51:48 +0000 (07:51 +0000)]
Add test which shows that bug 46515 is fixed since some time already.

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

9 years agoVerify that bug 45541 can be resolved, add some more checks in XSLFFileHandler
Dominik Stadler [Tue, 29 Sep 2015 06:08:08 +0000 (06:08 +0000)]
Verify that bug 45541 can be resolved, add some more checks in XSLFFileHandler

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

9 years agoSonar fixes - add cloneable interface to classes with clone()
Andreas Beeker [Mon, 28 Sep 2015 23:16:58 +0000 (23:16 +0000)]
Sonar fixes - add cloneable interface to classes with clone()
Sonar fixes - remove pubic/static/final modifier from interfaces

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

9 years agoRemoved HDF API
Andreas Beeker [Mon, 28 Sep 2015 21:26:06 +0000 (21:26 +0000)]
Removed HDF API
Sonar fixes

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

9 years agoSonar fixes
Andreas Beeker [Sun, 27 Sep 2015 22:14:25 +0000 (22:14 +0000)]
Sonar fixes

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

9 years agoPOI 3.13 site updates
Andreas Beeker [Sun, 27 Sep 2015 21:16:47 +0000 (21:16 +0000)]
POI 3.13 site updates

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

9 years agofixed some wrong nightly assumptions ... (Note to myself, don't rely on ant automatic...
Andreas Beeker [Thu, 24 Sep 2015 05:51:38 +0000 (05:51 +0000)]
fixed some wrong nightly assumptions ... (Note to myself, don't rely on ant automatic file change detection, but run ant clean before ...)

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

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