Commit Graph

376 Commits

Author SHA1 Message Date
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
Dominik Stadler
eee8a0742c remove some older jacoco jars from the lib-directories to avoid loading outdated 3rd party code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1685702 13f79535-47bb-0310-9956-ffa450edef68
2015-06-16 05:32:22 +00:00
Dominik Stadler
c49278ebac List more targets in help, make jar-src work standalone
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1682785 13f79535-47bb-0310-9956-ffa450edef68
2015-05-31 20:11:20 +00:00
Dominik Stadler
82d1907584 Set version to 3.13-beta1
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1682784 13f79535-47bb-0310-9956-ffa450edef68
2015-05-31 20:10:08 +00:00
Nick Burch
0da60bd78e Note on why ooxml needs scratchpad, for one part only
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1682212 13f79535-47bb-0310-9956-ffa450edef68
2015-05-28 11:17:41 +00:00
Nick Burch
f769cb3461 Fix inconsistent indents
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1682201 13f79535-47bb-0310-9956-ffa450edef68
2015-05-28 11:00:32 +00:00
Dominik Stadler
4c826a7ee3 Update to JaCoCo 0.7.4 and fix location of coverage data in build-output
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1680228 13f79535-47bb-0310-9956-ffa450edef68
2015-05-19 10:16:57 +00:00
Dominik Stadler
c3e1267a4d Make source-build from a fresh repository work, compile-lib was not created.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1678322 13f79535-47bb-0310-9956-ffa450edef68
2015-05-08 10:32:26 +00:00
Andreas Beeker
9c558ab293 Use en-locale for javadoc otherwise apidocs contains <html lang="de"> attributes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1678109 13f79535-47bb-0310-9956-ffa450edef68
2015-05-06 23:17:18 +00:00
Andreas Beeker
125ef5707f Release preparation
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1677675 13f79535-47bb-0310-9956-ffa450edef68
2015-05-04 20:28:30 +00:00
Andreas Beeker
cdc2ab7f9b javadoc fix ... trying to get rid of the "Error fetching URL" warning
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1677659 13f79535-47bb-0310-9956-ffa450edef68
2015-05-04 19:34:48 +00:00
Nick Burch
7998e373d3 Little bit more OSGi, not yet working #57857
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1675991 13f79535-47bb-0310-9956-ffa450edef68
2015-04-25 02:18:06 +00:00