Commit Graph

487 Commits

Author SHA1 Message Date
Andreas Beeker 1a8ffb8569 prepare for 3.15-beta3
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1750213 13f79535-47bb-0310-9956-ffa450edef68
2016-06-25 16:53:05 +00:00
Javen O'Neal 889188f445 add description to gump and jenkins build targets
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1748100 13f79535-47bb-0310-9956-ffa450edef68
2016-06-13 07:15:47 +00:00
Javen O'Neal 609d0c1826 findbugs depends on the poi, poi-scratchpad, and poi-ooxml jars being copied to build/maven
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1748087 13f79535-47bb-0310-9956-ffa450edef68
2016-06-13 05:41:32 +00:00
Andreas Beeker 603bda4915 use newer findbugs version, if we run with java 7+
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1747936 13f79535-47bb-0310-9956-ffa450edef68
2016-06-11 21:23:01 +00:00
Dominik Stadler 0c74fe60a3 Remove invalid removal of findbugs-zip
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1747862 13f79535-47bb-0310-9956-ffa450edef68
2016-06-11 08:45:33 +00:00
Dominik Stadler 065fbcbc2f Cleanup old version of curvesapi to not use it any longer
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1746276 13f79535-47bb-0310-9956-ffa450edef68
2016-05-31 13:56:47 +00:00
Nick Burch af57e6f8bc Patch from virtuald from #59643 - update the maven-install target to match current maven resource paths in dist
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1746257 13f79535-47bb-0310-9956-ffa450edef68
2016-05-31 09:13:46 +00:00
Dustin Spicuzza 5be91c097c Update curvesapi to 1.04
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1746168 13f79535-47bb-0310-9956-ffa450edef68
2016-05-30 19:21:49 +00:00
Dominik Stadler a48bfc0281 Prepare build.xml for initial Java 9 testing:
* Allow to remove PermGenSize, this is not available any more in Java 9
* Allow to pass in java.locale.providers

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1746059 13f79535-47bb-0310-9956-ffa450edef68
2016-05-29 21:33:28 +00:00
Dominik Stadler 1afe952ca9 Revert back to findbugs-2.0.3 as 3.x requires Java 7, I didn't see the note that is already in the build.xml :(
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1745376 13f79535-47bb-0310-9956-ffa450edef68
2016-05-24 16:25:30 +00:00
Dominik Stadler a7df6604a4 Upgrade to FindBugs 3.0.1 and add some findbugs-excludes
Update to forbiddenapi-checker 2.1, use the newly provided rule-sets and remove things that were applied upstream 


git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1745366 13f79535-47bb-0310-9956-ffa450edef68
2016-05-24 14:17:52 +00:00
Andreas Beeker 12425ac107 added commons-logging to integration test to make profiling easier - just match the timestamps of the log with the timestamps of the profiling monitor
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1744001 13f79535-47bb-0310-9956-ffa450edef68
2016-05-16 09:49:17 +00:00
Andreas Beeker ac29f3105a remove dublin core schemas as we don't use the schemas which reference them
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1741699 13f79535-47bb-0310-9956-ffa450edef68
2016-04-29 20:55:52 +00:00
Andreas Beeker a5e58beed1 comment out https check for jdk1.6
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1741352 13f79535-47bb-0310-9956-ffa450edef68
2016-04-27 22:17:17 +00:00
Javen O'Neal c4df0320fb add description to dist-nexus target in build.xml
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1739680 13f79535-47bb-0310-9956-ffa450edef68
2016-04-18 01:28:11 +00:00
Javen O'Neal 6b682bcccc add test-ss target to test Common SS, HSSF, XSSF, and SXSSF; add descriptions to targets
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1739679 13f79535-47bb-0310-9956-ffa450edef68
2016-04-18 01:23:26 +00:00
Javen O'Neal 838a649a96 add test-hssf target to test just HSSF classes, skipping hssf.dev. Duration after running ant clean (includes 0m22s of prerequisites): test-hssf: 1m3s, test-main: 2m8s.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1739674 13f79535-47bb-0310-9956-ffa450edef68
2016-04-18 01:07:37 +00:00
Javen O'Neal 63d34f2080 add missing groups to javadocs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1739669 13f79535-47bb-0310-9956-ffa450edef68
2016-04-18 00:28:13 +00:00
Javen O'Neal 41b4177b45 add test-ooxml-ss target to test just (S)XSSF classes. Duration after running ant clean: test-ooxml-ss 1m55s, test-ooxml 2m26s, test 5m55s
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1739668 13f79535-47bb-0310-9956-ffa450edef68
2016-04-18 00:16:28 +00:00
Javen O'Neal c03fd6374b whitespace
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1739662 13f79535-47bb-0310-9956-ffa450edef68
2016-04-17 22:01:48 +00:00
Andreas Beeker 7d07ef4439 Nexus upload - mimic the manually uploaded repositories - see [INFRA-11687]
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1739281 13f79535-47bb-0310-9956-ffa450edef68
2016-04-15 11:06:58 +00:00
Javen O'Neal bf77655e00 sourceforge findbugs can't be downloaded over HTTPS yet
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1738751 13f79535-47bb-0310-9956-ffa450edef68
2016-04-12 09:56:33 +00:00
Javen O'Neal deb66d0d5d use https URLs when available
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1738750 13f79535-47bb-0310-9956-ffa450edef68
2016-04-12 09:52:42 +00:00
Javen O'Neal 4e610a4cf2 add compile dependency to forbidden-apis-check so that forbidden-apis-check will recompile sources that have been modified
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1738500 13f79535-47bb-0310-9956-ffa450edef68
2016-04-11 01:33:21 +00:00
Andreas Beeker 0cea01423f remove copy&paste error in release-prep
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1738352 13f79535-47bb-0310-9956-ffa450edef68
2016-04-09 11:28:12 +00:00
Andreas Beeker f18e11db77 update release-guide and build.xml to the new release process
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1738198 13f79535-47bb-0310-9956-ffa450edef68
2016-04-07 23:11:22 +00:00
Andreas Beeker 3b23cf3912 prepare for 3.15-beta2
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1737620 13f79535-47bb-0310-9956-ffa450edef68
2016-04-03 23:00:28 +00:00
Andreas Beeker 4065b3e6a4 release prepare for 3.15-beta1 - updating build.xml and status.xml
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1737617 13f79535-47bb-0310-9956-ffa450edef68
2016-04-03 22:58:08 +00:00
Andreas Beeker 9746e23093 prepare for 3.15-beta2
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1737615 13f79535-47bb-0310-9956-ffa450edef68
2016-04-03 22:25:55 +00:00
Andreas Beeker e43b180c0a release prepare for 3.15-beta1 - updating build.xml and status.xml
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1737611 13f79535-47bb-0310-9956-ffa450edef68
2016-04-03 22:23:21 +00:00
Andreas Beeker 0cd51933ad release prepare for 3.15-beta1 - updating build.xml and status.xml
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1737610 13f79535-47bb-0310-9956-ffa450edef68
2016-04-03 22:19:44 +00:00
Dominik Stadler 328c52aab7 Fix some cases where file handles are not closed in OldExcelExtractor
Close resources in some more tests to make the file-leak report clean again

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1737487 13f79535-47bb-0310-9956-ffa450edef68
2016-04-02 11:01:43 +00:00
Dominik Stadler 88e9ff08db Enhance integration tests to call some of the common examples/devtools to also trigger these with all sample files, currently XLSX2CSV, BiffViewer, FromHowTo
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1737308 13f79535-47bb-0310-9956-ffa450edef68
2016-04-01 06:25:49 +00:00
Tim Allison 26af28bbdb POI 59257 upgrade Bouncy Castle to 1.54
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1737298 13f79535-47bb-0310-9956-ffa450edef68
2016-04-01 00:57:56 +00:00
Nick Burch 17c2957dd7 Fetch the Ant SVN binding jars if init-svn is called
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1737165 13f79535-47bb-0310-9956-ffa450edef68
2016-03-30 21:27:03 +00:00
Andreas Beeker 8d71080604 another gump run fix (... try)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1736091 13f79535-47bb-0310-9956-ffa450edef68
2016-03-21 20:44:32 +00:00
Andreas Beeker 5741c62ab0 XmlBeans generation still needs the original jar
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1735876 13f79535-47bb-0310-9956-ffa450edef68
2016-03-20 13:15:04 +00:00
Andreas Beeker 488ce5fec3 #59195 - POIXMLTypeLoader depends on XMLBeans 2.6.0 - remove piccolo classes from xmlbeans jars and disable xmloption in type loader
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1735685 13f79535-47bb-0310-9956-ffa450edef68
2016-03-18 21:34:03 +00:00
Andreas Beeker 08fc07d5c6 increase perm gen
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1735332 13f79535-47bb-0310-9956-ffa450edef68
2016-03-16 22:41:34 +00:00
Dominik Stadler 128a991f9c Findbugs fixes
OldExcelExtractor could leak file handles in case of exceptions
Free file handles in POIFSDump, add unit-test for POIFSDump
Add a Findbugs exclude and adjust findbugs-ant slightly

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1734689 13f79535-47bb-0310-9956-ffa450edef68
2016-03-12 11:37:12 +00:00
Andreas Beeker 299fdcccf8 add fixcrlf to docs-target, to fix windows document generation
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1734654 13f79535-47bb-0310-9956-ffa450edef68
2016-03-12 00:34:26 +00:00
Andreas Beeker d1fe310b1a findbugs fix
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1734319 13f79535-47bb-0310-9956-ffa450edef68
2016-03-09 21:36:26 +00:00
Andreas Beeker ced84bd586 fix class dependency error of #57031 / #59058 patch
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1734312 13f79535-47bb-0310-9956-ffa450edef68
2016-03-09 21:01:33 +00:00
Andreas Beeker 342047e338 signing and repository upload via ant
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1733863 13f79535-47bb-0310-9956-ffa450edef68
2016-03-07 01:58:26 +00:00
Dominik Stadler 60159c83b6 Fixup last commit: don't remove the xmlbeans.marker files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1733465 13f79535-47bb-0310-9956-ffa450edef68
2016-03-03 13:38:03 +00:00
Dominik Stadler 9bc67aa067 Switch to 3.15-beta1 in the sonar-build-files as well
Add a bit more cleanup and removal of old libs

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1733464 13f79535-47bb-0310-9956-ffa450edef68
2016-03-03 13:36:26 +00:00
Andreas Beeker ba416e6c09 switch to 3.15-beta1
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1732983 13f79535-47bb-0310-9956-ffa450edef68
2016-03-01 00:35:51 +00:00
Andreas Beeker 7f5159bfbd 3.14 release preparation
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1732981 13f79535-47bb-0310-9956-ffa450edef68
2016-03-01 00:31:24 +00:00
Dominik Stadler b41e52b906 Update to JaCoCo 0.7.6 to try to restore coverage on builds.a.o
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1732611 13f79535-47bb-0310-9956-ffa450edef68
2016-02-27 08:41:07 +00:00
Dominik Stadler d70d496f84 Add curvesapi-jar when running Findbugs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1727652 13f79535-47bb-0310-9956-ffa450edef68
2016-01-29 22:08:55 +00:00
Andreas Beeker 183b2d774f Raised xmlsec version to 2.0.6
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1726528 13f79535-47bb-0310-9956-ffa450edef68
2016-01-24 18:36:56 +00:00
Dominik Stadler 08ec6e316c Include curvesapi-jar in distribution
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1725335 13f79535-47bb-0310-9956-ffa450edef68
2016-01-18 20:16:29 +00:00
Dominik Stadler 5d79479dcf Dummy commit to try if we can close some old github PRs via commit-comments: closes #2, closes #3, closes #4, closes #19
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1722963 13f79535-47bb-0310-9956-ffa450edef68
2016-01-04 20:43:16 +00:00
Andreas Beeker 99f6175e97 rat-check - remove clutter to compact build output
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1721043 13f79535-47bb-0310-9956-ffa450edef68
2015-12-20 17:01:46 +00:00
David North 9e0601a058 Trunk now heading for beta2 again, unpin docs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1720438 13f79535-47bb-0310-9956-ffa450edef68
2015-12-16 20:21:30 +00:00
David North 807bf16cee About to roll 3.14 beta1 rc2
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1720434 13f79535-47bb-0310-9956-ffa450edef68
2015-12-16 20:17:22 +00:00
David North a18fc56822 Trunk is now on course for 3.14beta2
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1718468 13f79535-47bb-0310-9956-ffa450edef68
2015-12-07 21:13:59 +00:00
Andreas Beeker a7fb6a7c54 xml schemas - remove deprecated warnings, as we prefer the array methods - see #56854
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1718125 13f79535-47bb-0310-9956-ffa450edef68
2015-12-05 21:58:20 +00:00
Dominik Stadler 5a8aceec32 Add some additional rules for the forbidden-apis-check borrowed from Elasticsearch, also add a separate signature file with more rules for the 'prod' code and fix two newly found issues
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1717689 13f79535-47bb-0310-9956-ffa450edef68
2015-12-02 21:47:52 +00:00
Javen O'Neal f04e478926 revert r1716119, since it would delete the output of compile-ooxml-xsds and require the target to be rebuilt every time "ant compile" was run
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1717057 13f79535-47bb-0310-9956-ffa450edef68
2015-11-29 13:02:12 +00:00
Nick Burch d80c13fcf4 Bump the ooxml-security version in the classpath definition to match the updated jar name
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1716119 13f79535-47bb-0310-9956-ffa450edef68
2015-11-24 12:23:08 +00:00
Andreas Beeker c5eef0ba45 raise ooxml schema/security version
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1715718 13f79535-47bb-0310-9956-ffa450edef68
2015-11-23 00:15:07 +00:00
Uwe Schindler c941df8642 Use <file/> instead of <fileset/> for single files to ensure, they exist
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1715627 13f79535-47bb-0310-9956-ffa450edef68
2015-11-22 14:03:52 +00:00
Andreas Beeker e0f10f2071 delete old schema-1.2 jar
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1715556 13f79535-47bb-0310-9956-ffa450edef68
2015-11-21 19:56:45 +00:00
Andreas Beeker 47b5cde9c3 #58617 - Add custom safe XmlBeans type loader / rename vendor specific schema packages
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1715555 13f79535-47bb-0310-9956-ffa450edef68
2015-11-21 19:37:26 +00:00
Uwe Schindler 0f40ad3125 Make forbiddenapis also check excelant. Use a separate "classpath" for running forbiddenapis; don't misuse javadoc.classpath for that.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1713222 13f79535-47bb-0310-9956-ffa450edef68
2015-11-08 11:57:58 +00:00
Dominik Stadler db98ec0bd9 Tried to add excelant to forbidden-apis-check, but failed due to issue #82 in forbidden-api-checks tool. List more pathes that we still not include. Add description to custom forbidden-api-checks and add commented out checks for reflectoin as discussed in bug 58597
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1713218 13f79535-47bb-0310-9956-ffa450edef68
2015-11-08 10:01:48 +00:00
Andreas Beeker 9b4919cd51 extended forbidden-apis-check to ooxml-tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1712693 13f79535-47bb-0310-9956-ffa450edef68
2015-11-05 00:15:51 +00:00
David North 1f86e2ac14 Add description to jenkins target
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1711215 13f79535-47bb-0310-9956-ffa450edef68
2015-10-29 10:42:23 +00:00
Dominik Stadler 19018c80e7 Add delete of outdated forbiddenapi-jar
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1710691 13f79535-47bb-0310-9956-ffa450edef68
2015-10-26 20:45:44 +00:00
Nick Burch 74f6f424ad Update the build version, step missed from the release guide
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1710408 13f79535-47bb-0310-9956-ffa450edef68
2015-10-25 00:26:43 +00:00
Dominik Stadler 63cb78d416 Revert upgrade of findbugs as it requires Java 7, but we still allow to compile using Java 6.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1710196 13f79535-47bb-0310-9956-ffa450edef68
2015-10-23 12:18:22 +00:00
Dominik Stadler 4ce73544a7 Update to latest findbugs version 3.0.1, reported issues go from 163 to 209 :(
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1710195 13f79535-47bb-0310-9956-ffa450edef68
2015-10-23 12:16:11 +00:00
Dominik Stadler 27d4814b80 Set newer curvesapi-version in .classpath as well and update some third-party libs for the password-protection-code to the latest versions
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1710032 13f79535-47bb-0310-9956-ffa450edef68
2015-10-22 15:21:25 +00:00
Dustin Spicuzza fe771aa808 XDGF: fix the fix
- Use Collections.emptySet() for an iterator instead
- Bump curvesapi to 1.03, which is compiled for JDK 1.5

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1709463 13f79535-47bb-0310-9956-ffa450edef68
2015-10-19 18:36:45 +00:00
Dustin Spicuzza e3365dfaeb poi-import: fix build dependencies
- Compilation + tests work now

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1709356 13f79535-47bb-0310-9956-ffa450edef68
2015-10-19 05:59:42 +00:00
Dominik Stadler 05c161b6cf Delete outdated versions of ooxml-schemas jars before building
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1708681 13f79535-47bb-0310-9956-ffa450edef68
2015-10-14 19:27:14 +00:00
Dominik Stadler cc576a9887 Update to latest commons-codec-1.10 and commons-logging-1.2, use the properties for these libs everywhere in build.xml
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1708464 13f79535-47bb-0310-9956-ffa450edef68
2015-10-13 16:37:22 +00:00
Dustin Spicuzza 75467f7cdb Exclude visio xsd from rat check
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1707292 13f79535-47bb-0310-9956-ffa450edef68
2015-10-07 13:13:39 +00:00
Dustin Spicuzza bf68d5f290 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
2015-10-07 02:41:30 +00:00
Dominik Stadler bf0dcc16c9 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
2015-10-06 13:36:30 +00:00
David North 28ccb12153 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
2015-10-05 12:23:07 +00:00
Dominik Stadler d81547befd 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
2015-09-30 20:00:14 +00:00
Andreas Beeker 8b40c3abb4 3.13 Final RC preparation
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1704429 13f79535-47bb-0310-9956-ffa450edef68
2015-09-21 21:40:59 +00:00
Andreas Beeker fec6b40606 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
2015-09-11 00:56:16 +00:00
Andreas Beeker aaafb0270d 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
2015-09-07 20:19:50 +00:00
Nick Burch 57a1370f1d 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
2015-08-27 13:23:44 +00:00
Nick Burch eea3ef5c49 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
2015-08-27 13:14:46 +00:00
Nick Burch d1f537ff48 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
2015-08-27 13:07:36 +00:00
Dominik Stadler 2d677beac8 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
2015-08-23 18:10:01 +00:00
Dominik Stadler 7851601247 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
2015-08-23 18:09:56 +00:00
Dominik Stadler 873bdb687c 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
2015-08-18 05:57:03 +00:00
Dominik Stadler 415d494631 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
2015-08-18 05:12:43 +00:00
Andreas Beeker 8635ec311c use woodstox property on all junit calls
move test system properties to junit propertyset

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1694751 13f79535-47bb-0310-9956-ffa450edef68
2015-08-07 23:33:30 +00:00
Andreas Beeker a674e638d5 another try to fix the woodstox errors in the gump build
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1694337 13f79535-47bb-0310-9956-ffa450edef68
2015-08-05 21:58:44 +00:00
Nick Burch 8ace3fe2a2 Maven uses plurals for everything *except* javadocs... #58203
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1693768 13f79535-47bb-0310-9956-ffa450edef68
2015-08-01 21:35:00 +00:00
Andreas Beeker f5e9adea84 merged common_sl branch to trunk
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1692593 13f79535-47bb-0310-9956-ffa450edef68
2015-07-24 21:47:55 +00:00
Andreas Beeker 3d2c320f49 disable jaxb class generation, because the order is different with each run
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/common_sl@1691849 13f79535-47bb-0310-9956-ffa450edef68
2015-07-19 19:46:25 +00:00
Andreas Beeker d439f080d6 merge trunk to common sl branch
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/common_sl@1691843 13f79535-47bb-0310-9956-ffa450edef68
2015-07-19 19:00:32 +00:00
Andreas Beeker 6fe5b7bf51 downgraded xjc params to jdk6 and regenerated geometry binding classes
added rendering for auto numbers
fixed various bugs on failing tests
changed xslf paragraph indent to indentLevel to align with hslf
added escher record factory subclass to hslf, to eventually make hslf wrapper classes obsolete

git-svn-id: https://svn.apache.org/repos/asf/poi/branches/common_sl@1689777 13f79535-47bb-0310-9956-ffa450edef68
2015-07-08 00:09:34 +00:00