Commit Graph

354 Commits

Author SHA1 Message Date
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
Nick Burch
5fc4bd3f48 #57857 Based on the Apache Tika OSGi bundle and tests, start on a maven-powered build and test for a POI bundle
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1675989 13f79535-47bb-0310-9956-ffa450edef68
2015-04-25 01:53:30 +00:00
Dominik Stadler
5d4a5c2bb4 Also write findbugs.xml file for reading the results in ^Cnkins builds
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1666657 13f79535-47bb-0310-9956-ffa450edef68
2015-03-14 11:52:59 +00:00
Dominik Stadler
1bbbd985d4 Bug 57612: Fix checking for proxy/accessible website in TestSignatureInfo
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1661774 13f79535-47bb-0310-9956-ffa450edef68
2015-02-23 20:45:21 +00:00
Nick Burch
8d19e8b741 Fix typo - remove duplicate characters
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1661662 13f79535-47bb-0310-9956-ffa450edef68
2015-02-23 13:21:06 +00:00
Andreas Beeker
0864168c23 update to next beta and docu fix
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1661349 13f79535-47bb-0310-9956-ffa450edef68
2015-02-21 12:55:03 +00:00
Andreas Beeker
996c9dd93c initial commit - still lots of errors, but I need to switch to a clean trunk for releasing and testing
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/common_sl@1661322 13f79535-47bb-0310-9956-ffa450edef68
2015-02-21 10:56:03 +00:00
Dominik Stadler
a27718e373 Add ooxml-sources-jar files to up-to-date check to still recompile if only they are missing
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1658593 13f79535-47bb-0310-9956-ffa450edef68
2015-02-09 22:32:43 +00:00
Dominik Stadler
24478a96dd Bug 57468: Avoid possible build-error if lib-directory is not created
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1653643 13f79535-47bb-0310-9956-ffa450edef68
2015-01-21 20:39:30 +00:00
Dominik Stadler
2dce3dc7d0 Adjust .classpath sources and add missing dependencies to run ooxml-lite tests standalone
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1649179 13f79535-47bb-0310-9956-ffa450edef68
2015-01-03 09:35:34 +00:00
Dominik Stadler
ff2dece3ce Update to junit-4.12, the jar file is downloaded, so not required on classpath anymore. Also adjust version in pom.xml for Sonar.
Conflicts:
	.classpath

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1649178 13f79535-47bb-0310-9956-ffa450edef68
2015-01-03 09:35:21 +00:00
Dominik Stadler
397d0d61d6 Update to latest JaCoCo 0.7.2 and adjust coverage report to exclude third-party code that is not relevant for coverage measurement
Conflicts:
	build.xml

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1649177 13f79535-47bb-0310-9956-ffa450edef68
2015-01-03 09:34:25 +00:00
Dominik Stadler
54fd49b39f Exclude javadoc-jars in findbugs run
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1648155 13f79535-47bb-0310-9956-ffa450edef68
2014-12-28 08:59:34 +00:00
Dominik Stadler
b1e4a93f4d Add jars from compile-lib to findbugs target
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1647938 13f79535-47bb-0310-9956-ffa450edef68
2014-12-26 07:04:10 +00:00
Dominik Stadler
0c580c8f45 Add a test-suite which performs integration/stress tests which load and handle all stored test files in various ways.
It works by using handlers for each type of file which perform various operations on the files, e.g. loading,
iterating content, modify, ... This will trigger changes which break working with the available test-files and
thus provides another layer of regression testing which hopefully prevents some failures from making it into
releases.

It is runnable via a new ant-target 'test-integration' and also added to the jenkins-target.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1647885 13f79535-47bb-0310-9956-ffa450edef68
2014-12-25 09:16:44 +00:00
Nick Burch
93372f4468 Prep for release
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1645814 13f79535-47bb-0310-9956-ffa450edef68
2014-12-16 01:54:49 +00:00
Nick Burch
c832b0ed4a Prep for release
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1645812 13f79535-47bb-0310-9956-ffa450edef68
2014-12-16 01:52:42 +00:00
Andreas Beeker
3f77a96e47 revert of r1639217 and offline-linking for maven javadocs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1639807 13f79535-47bb-0310-9956-ffa450edef68
2014-11-15 00:00:30 +00:00
Nick Burch
8a6cd5e11e Use more maven-like naming of the source jars for the ooxml schemas
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1638037 13f79535-47bb-0310-9956-ffa450edef68
2014-11-11 07:18:39 +00:00
Dominik Stadler
9f3e8b4919 Bug 57197: use proxy for TestSignatureInfo if set via environment variables
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1637979 13f79535-47bb-0310-9956-ffa450edef68
2014-11-10 20:37:26 +00:00
Nick Burch
0b4db82a91 Build per-component javadoc jars, suitable for use with Maven / Maven Central
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1637827 13f79535-47bb-0310-9956-ffa450edef68
2014-11-10 12:29:08 +00:00
Nick Burch
ab3c87b07f Follow discussions on dev@, don't include the javadocs in the source package, since they can be recreated as desired using ant from the unpacked source package
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1637818 13f79535-47bb-0310-9956-ffa450edef68
2014-11-10 11:20:48 +00:00
Dominik Stadler
3dd00ab13a Add xmlsec-jar in test-ooxml-lite which is missing after removing ooxml.classpath
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1637718 13f79535-47bb-0310-9956-ffa450edef68
2014-11-09 19:19:02 +00:00