aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* forbidden apis fixes - a few DateFormat clean ups ...Andreas Beeker2015-09-0913-42/+49
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1701888 13f79535-47bb-0310-9956-ffa450edef68
* Bug 58326 - Forbidden APIs patches - second set of changes for charset settingsAndreas Beeker2015-09-0817-208/+183
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1701713 13f79535-47bb-0310-9956-ffa450edef68
* forbidden apis fixesAndreas Beeker2015-09-078-39/+50
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1701710 13f79535-47bb-0310-9956-ffa450edef68
* Bug 58326 - Forbidden APIs patches - first set of changes for locale and ↵Andreas Beeker2015-09-0799-2511/+3151
| | | | | | | | | | | | | | | | | | | | | | | | | 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
* Bug 58326 - Forbidden APIs patches - first set of changes for locale and ↵Andreas Beeker2015-09-071-14/+14
| | | | | | | | 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
* Bug 58315: Avoid NPE for RichTextString without font-detailsDominik Stadler2015-09-052-0/+26
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1701382 13f79535-47bb-0310-9956-ffa450edef68
* Eclipse warnings, close resources in CommandLineTextExtractor, add ↵Dominik Stadler2015-09-038-28/+43
| | | | | | try/finally, formatting, ... git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1701139 13f79535-47bb-0310-9956-ffa450edef68
* Bug 56959: Add verification unit test to show that the bug cannot be reproducedDominik Stadler2015-09-032-2/+44
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1701135 13f79535-47bb-0310-9956-ffa450edef68
* Fix bug 53275: reset indexed color flag when setting a non-indexed colorDominik Stadler2015-09-032-6/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1701134 13f79535-47bb-0310-9956-ffa450edef68
* Add unit test which verifies that bug 53105 is actually fixed nowDominik Stadler2015-09-031-0/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1701133 13f79535-47bb-0310-9956-ffa450edef68
* Add unit tests to verify that bug 51626 and bug 51451 are fixedDominik Stadler2015-09-031-1/+46
| | | | | | | 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
* Add unit tests which verify that the issues from bug 48962 and 50755 do not ↵Dominik Stadler2015-09-031-0/+42
| | | | | | occur any more on the latest version git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1701131 13f79535-47bb-0310-9956-ffa450edef68
* Make D* functions thread safe, thanks to Patrick Zimmermann for the patch.David North2015-09-035-25/+25
| | | | | | 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
* remove trailing comma ... works ok in Oracle jdk6, but maybe not in openjdk ...Andreas Beeker2015-09-022-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1700880 13f79535-47bb-0310-9956-ffa450edef68
* Fix DAYS360 for US/EU handlingAndreas Beeker2015-09-0110-324/+381
| | | | | | | | 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
* Fix some Forbidden APIs errorsNick Burch2015-09-017-19/+22
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1700677 13f79535-47bb-0310-9956-ffa450edef68
* Fix some Forbidden APIs errorsNick Burch2015-09-013-11/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1700675 13f79535-47bb-0310-9956-ffa450edef68
* Fix some Forbidden APIs errorsNick Burch2015-09-011-163/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1700673 13f79535-47bb-0310-9956-ffa450edef68
* Fix some Forbidden APIs errorsNick Burch2015-09-013-9/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1700672 13f79535-47bb-0310-9956-ffa450edef68
* Fix some Forbidden APIs errorsNick Burch2015-09-0121-38/+58
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1700670 13f79535-47bb-0310-9956-ffa450edef68
* Fix some Forbidden APIs errorsNick Burch2015-09-011-15/+18
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1700669 13f79535-47bb-0310-9956-ffa450edef68
* Fix some Forbidden APIs errorsNick Burch2015-09-013-12/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1700652 13f79535-47bb-0310-9956-ffa450edef68
* Fix some Forbidden APIs errorsNick Burch2015-09-012-10/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1700651 13f79535-47bb-0310-9956-ffa450edef68
* Fix some Forbidden APIs errorsNick Burch2015-09-013-12/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1700648 13f79535-47bb-0310-9956-ffa450edef68
* Fix inconsistent indent/whitespaceNick Burch2015-09-011-143/+142
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1700647 13f79535-47bb-0310-9956-ffa450edef68
* Fix some Forbidden APIs errorsNick Burch2015-09-013-11/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1700646 13f79535-47bb-0310-9956-ffa450edef68
* Fix some Forbidden APIs errorsNick Burch2015-09-013-10/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1700645 13f79535-47bb-0310-9956-ffa450edef68
* Fix some Forbidden APIs errorsNick Burch2015-09-0111-21/+34
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1700644 13f79535-47bb-0310-9956-ffa450edef68
* Fix some Forbidden APIs errorsNick Burch2015-09-0110-21/+31
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1700642 13f79535-47bb-0310-9956-ffa450edef68
* Fix some Forbidden APIs errorsNick Burch2015-09-0115-29/+44
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1700641 13f79535-47bb-0310-9956-ffa450edef68
* Fix some Forbidden APIs errorsNick Burch2015-09-016-13/+28
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1700640 13f79535-47bb-0310-9956-ffa450edef68
* Fix some Forbidden APIs errorsNick Burch2015-09-0112-16/+28
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1700635 13f79535-47bb-0310-9956-ffa450edef68
* forbidden apis fixesAndreas Beeker2015-08-295-72/+88
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1700076 13f79535-47bb-0310-9956-ffa450edef68
* forbidden apis fixesAndreas Beeker2015-08-293-7/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1700063 13f79535-47bb-0310-9956-ffa450edef68
* fixed a few forbidden api callsAndreas Beeker2015-08-291-18/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1700055 13f79535-47bb-0310-9956-ffa450edef68
* junit4 fixAndreas Beeker2015-08-291-13/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1700043 13f79535-47bb-0310-9956-ffa450edef68
* - reworked HexDump class - unified array dumps and usage of standard java ↵Andreas Beeker2015-08-2923-677/+511
| | | | | | | | | | 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
* Fix a handful of forbidden apis identified problemsNick Burch2015-08-273-10/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1698198 13f79535-47bb-0310-9956-ffa450edef68
* Adjust excludes for TestRecordListerDominik Stadler2015-08-272-1/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1698081 13f79535-47bb-0310-9956-ffa450edef68
* javadoc fixAndreas Beeker2015-08-261-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1698030 13f79535-47bb-0310-9956-ffa450edef68
* Fix for JDK6 bug: http://bugs.java.com/view_bug.do?bug_id=6569074Andreas Beeker2015-08-2620-21/+21
| | | | | | 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
* Add possibility to set zoomPercent for XWPFDocumentDominik Stadler2015-08-263-3/+49
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1697992 13f79535-47bb-0310-9956-ffa450edef68
* Adjust excludes after adjusting multiple HeaderFooterRecord instancesDominik Stadler2015-08-251-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1697602 13f79535-47bb-0310-9956-ffa450edef68
* Refactor BaseXLSIteratingTest into a Parameterized test to better show which ↵Dominik Stadler2015-08-257-128/+112
| | | | | | | | | 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
* Allow multiple instances of HeaderFooterRecord in ↵Dominik Stadler2015-08-253-5/+88
| | | | | | | | | 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
* common sl: reworked and unified generics definitionsAndreas Beeker2015-08-2496-473/+1067
| | | | | | | | 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
* Tweak error message to make clear that we really need a file showing the problemNick Burch2015-08-241-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1697502 13f79535-47bb-0310-9956-ffa450edef68
* Javadoc tweakNick Burch2015-08-241-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1697462 13f79535-47bb-0310-9956-ffa450edef68
* Reduce required memory in tests by not actually creating all the rows/cells ↵Dominik Stadler2015-08-242-15/+16
| | | | | | 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
* Eclipse warnings, code formatting, missing @Overrides, Javadoc, missing ↵Dominik Stadler2015-08-204-56/+175
| | | | | | close(), ... git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1696794 13f79535-47bb-0310-9956-ffa450edef68