Commit Graph

399 Commits

Author SHA1 Message Date
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