Commit Graph

298 Commits

Author SHA1 Message Date
Dominik Stadler
75653698ce One more change to OOXMLLite to also run all tests successfully when the outdated xerces lib is provided
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1633285 13f79535-47bb-0310-9956-ffa450edef68
2014-10-21 07:06:26 +00:00
Andreas Beeker
11cfec8513 xml dsign - javadoc fixes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1633241 13f79535-47bb-0310-9956-ffa450edef68
2014-10-20 22:18:42 +00:00
Dominik Stadler
7664c7efa7 * Make more tests work in OOXMLLite compilation by adding xml security classpath and ensuring proper cleanup in some Extractor tests
* Remove downloading xerces library here, we now do this in the special Jenkins job and thus can get rid of it here

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1633166 13f79535-47bb-0310-9956-ffa450edef68
2014-10-20 14:26:53 +00:00
Dominik Stadler
02a4dc5462 * Also adjust build.xml for newer required Ant 1.8.0
* Pass "additionaljar" to junit calls to enable us to exclude tests which we know are failing (newer XML Security stuff)

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1633156 13f79535-47bb-0310-9956-ffa450edef68
2014-10-20 13:54:41 +00:00
Andreas Beeker
14f3200486 Removed some custom classloading code, which doesn't make sense anymore
Tested a few other timestamp providers
limited the use of the additional libraries to xml dsign classes while running the junit tests

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1632858 13f79535-47bb-0310-9956-ffa450edef68
2014-10-18 23:19:49 +00:00
Dominik Stadler
591d82f2e3 Fix detecting missing downloaded and compiled OOXML jars, remove older versions of apache-rat correctly
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1631249 13f79535-47bb-0310-9956-ffa450edef68
2014-10-12 20:07:11 +00:00
Dominik Stadler
bc400ad94a Update to Apache Rat 0.11
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1630660 13f79535-47bb-0310-9956-ffa450edef68
2014-10-10 06:48:29 +00:00
Dominik Stadler
d254ec8ec1 Print out current version of java before building to allow to see in build output if we use a supported Java VM version
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1629644 13f79535-47bb-0310-9956-ffa450edef68
2014-10-06 13:20:12 +00:00
Andreas Beeker
1ed069daf7 Fixed complete-build errors
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/xml_signature@1628338 13f79535-47bb-0310-9956-ffa450edef68
2014-09-29 23:39:45 +00:00
Andreas Beeker
b410e72196 merge with trunk
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/xml_signature@1625828 13f79535-47bb-0310-9956-ffa450edef68
2014-09-17 21:12:36 +00:00
Andreas Beeker
d0cc2e4267 removed HorribleProxy
added current version of BouncyCastle and xmlsec (using xmlsec instead of jdk internal classes, because of interoperabiltiy with e.g. IBM JDK)
heaps of changes because of above

git-svn-id: https://svn.apache.org/repos/asf/poi/branches/xml_signature@1620229 13f79535-47bb-0310-9956-ffa450edef68
2014-08-24 23:05:26 +00:00
Andreas Beeker
8962fa8310 starting tsp tests / removed mockito stuff again
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/xml_signature@1618515 13f79535-47bb-0310-9956-ffa450edef68
2014-08-17 19:53:34 +00:00
Andreas Beeker
58b11677cb - Updated to BC 1.51
- Download BC/test-libs in build.xml

git-svn-id: https://svn.apache.org/repos/asf/poi/branches/xml_signature@1618403 13f79535-47bb-0310-9956-ffa450edef68
2014-08-16 19:21:31 +00:00
Andreas Beeker
1b2f321ae9 migrated enveloped document test (1 of 2)
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/xml_signature@1618288 13f79535-47bb-0310-9956-ffa450edef68
2014-08-15 22:20:30 +00:00
Andreas Beeker
c378d75e51 sync merge to trunk
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/xml_signature@1617624 13f79535-47bb-0310-9956-ffa450edef68
2014-08-12 23:33:07 +00:00
Uwe Schindler
2f5bcfd162 Fix bug #56814 - Switch from dom4j to JAXP
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1617428 13f79535-47bb-0310-9956-ffa450edef68
2014-08-12 07:19:51 +00:00
Andreas Beeker
7d445b6693 download xades files and remove from them resources
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/xml_signature@1617153 13f79535-47bb-0310-9956-ffa450edef68
2014-08-10 20:37:44 +00:00
Andreas Beeker
63f8c1dcf0 Xml signature support - version 1
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/xml_signature@1617141 13f79535-47bb-0310-9956-ffa450edef68
2014-08-10 18:25:10 +00:00
Nick Burch
5aebae40d4 Correct xmlbeans 2.6 url
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1615893 13f79535-47bb-0310-9956-ffa450edef68
2014-08-05 08:53:15 +00:00
Nick Burch
b6c30fae87 Change the default XMLBeans version used for running to be 2.6, leave 2.3 for compiling the schemas (for maximum compatibility)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1615780 13f79535-47bb-0310-9956-ffa450edef68
2014-08-04 20:40:45 +00:00
Dominik Stadler
c557276cb4 * Ensure that some older versions of third-party libraries are removed when we do the jar-check, we saw some strange and hard-to-find build-errors lately, e.g. CI fails to run JaCoCo because of outdated asm-all-4.jar being still available.
* Include new "release-notes" target in jenkins-target

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1615453 13f79535-47bb-0310-9956-ffa450edef68
2014-08-03 21:30:30 +00:00
Nick Burch
06fa83bda7 Prep for 3.11 beta 1
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1614956 13f79535-47bb-0310-9956-ffa450edef68
2014-07-31 18:54:22 +00:00
Nick Burch
deba3155a8 Exclude the release notes and readmes from the rat checks
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1614642 13f79535-47bb-0310-9956-ffa450edef68
2014-07-30 12:53:19 +00:00
Nick Burch
c9e6a7345c Add a target to help with generating the release notes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1614573 13f79535-47bb-0310-9956-ffa450edef68
2014-07-30 07:32:21 +00:00
Dominik Stadler
090d669dba JaCoCo 0.7.x requires asm-5
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1612887 13f79535-47bb-0310-9956-ffa450edef68
2014-07-23 17:41:40 +00:00
Dominik Stadler
a8a582e3b2 Upgrade to latest JaCoCo 0.7.1
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1607384 13f79535-47bb-0310-9956-ffa450edef68
2014-07-02 14:48:59 +00:00
Dominik Stadler
516ce6c586 Revert upgrade to XMLBeans 2.6.0 to properly discuss on the mailinglist first
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1602075 13f79535-47bb-0310-9956-ffa450edef68
2014-06-12 07:08:21 +00:00
Dominik Stadler
9d1d93b88f Add missing @Overrides, reformat some files, increase coverage slightly,
comments, fix Eclipse warnings and add close() calls in some tests and
in HMEFMessage() to close files during tests correctly.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1602008 13f79535-47bb-0310-9956-ffa450edef68
2014-06-11 20:36:30 +00:00
Dominik Stadler
b9dee7bd46 Update XMLBeans to version 2.6.0
Conflicts:

	.classpath

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1602006 13f79535-47bb-0310-9956-ffa450edef68
2014-06-11 20:32:52 +00:00
Dominik Stadler
d24ed25318 Update to latest Ant 1.9.4 and add ant-launcher which is used in
ExcelAnt tests to make it easier to run these tests in Eclipse

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1598226 13f79535-47bb-0310-9956-ffa450edef68
2014-05-29 09:16:29 +00:00
Nick Burch
7927e10eb7 More stax jar removal for Java 6
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1587631 13f79535-47bb-0310-9956-ffa450edef68
2014-04-15 16:29:05 +00:00
Nick Burch
abd2638635 Now that we require Java 1.6, we no longer need to include the STAX-API jar as JRE 1.6 has it build in
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1587605 13f79535-47bb-0310-9956-ffa450edef68
2014-04-15 15:19:30 +00:00
Dominik Stadler
78665403c5 Exclude some generated classes from coverage measurements, now instruction coverage is at around 72%, also update JaCoCo to latest version 0.6.5
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1578146 13f79535-47bb-0310-9956-ffa450edef68
2014-03-16 19:46:46 +00:00
Andreas Beeker
51863e5267 disable font downloading, because of Jenkins connection (download) problems
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1574226 13f79535-47bb-0310-9956-ffa450edef68
2014-03-04 22:23:29 +00:00
Dominik Stadler
d5e69ccbb5 build.xml: Add missing depends on init for compile-main target
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1568556 13f79535-47bb-0310-9956-ffa450edef68
2014-02-15 00:19:50 +00:00
Andreas Beeker
3ceb93b23d FindBugs fix
- fixed "Field isn't final but should be"
- see http://findbugs.sourceforge.net/bugDescriptions.html#MS_SHOULD_BE_FINAL


git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1568145 13f79535-47bb-0310-9956-ffa450edef68
2014-02-13 23:34:11 +00:00
Andreas Beeker
276b477322 disable not applicable findbugs check
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1567815 13f79535-47bb-0310-9956-ffa450edef68
2014-02-13 00:07:36 +00:00
Andreas Beeker
8c3785890a Bug 55902 - Mixed fonts issue with Chinese characters (unable to form images from ppt)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1567455 13f79535-47bb-0310-9956-ffa450edef68
2014-02-11 23:16:54 +00:00
Andreas Beeker
413e76aed0 FindBugs fix
- fixed "Class defines equals() and uses Object.hashCode()"
- see http://findbugs.sourceforge.net/bugDescriptions.html#HE_EQUALS_USE_HASHCODE
- implemented UnicodeString.ExtRst.hashCode() + junit-test

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1566427 13f79535-47bb-0310-9956-ffa450edef68
2014-02-09 21:19:20 +00:00
Andreas Beeker
70291c0e2f Use findbugs in the jenkins build
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1566172 13f79535-47bb-0310-9956-ffa450edef68
2014-02-08 23:44:42 +00:00
Dominik Stadler
ca4e4a39dd Switch to JDK 6 for generated code as well
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1563999 13f79535-47bb-0310-9956-ffa450edef68
2014-02-03 18:55:37 +00:00
Dominik Stadler
42683639b5 Update commons-logging to 1.1.3 and set scope to test for hamcrest lib in pom
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1563997 13f79535-47bb-0310-9956-ffa450edef68
2014-02-03 18:54:44 +00:00
Dominik Stadler
52f6733baf Update third party libs: commons-codec to 1.9, log4j to 1.2.17
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1563447 13f79535-47bb-0310-9956-ffa450edef68
2014-02-01 17:21:21 +00:00
Dominik Stadler
c1963d6e60 Fix pattern for license check failure
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1559818 13f79535-47bb-0310-9956-ffa450edef68
2014-01-20 19:55:44 +00:00
Dominik Stadler
802824881b Add license check via Apache rat to jenkins build
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1559813 13f79535-47bb-0310-9956-ffa450edef68
2014-01-20 19:31:57 +00:00
Dominik Stadler
552d44d96e adjust ant-target check-rat: Download jarfile instead of requiring it locally, write report to a temporary file and scan it for failures to break the build if necessary
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1559810 13f79535-47bb-0310-9956-ffa450edef68
2014-01-20 19:25:22 +00:00
Yegor Kozlov
b777f5a9e8 set version.id to 3.11-beta1
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1558698 13f79535-47bb-0310-9956-ffa450edef68
2014-01-16 04:56:26 +00:00
Dominik Stadler
8f9d081f62 Update to latest JaCoCo 0.6.4
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1553521 13f79535-47bb-0310-9956-ffa450edef68
2013-12-26 17:54:27 +00:00
kiwiwings
ad9cecae59 Patch for Bug/Enhancement 55818 - add encryption support
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1553336 13f79535-47bb-0310-9956-ffa450edef68
2013-12-24 23:13:21 +00:00
Dominik Stadler
d08ab9dc0d Slightly more test-coverage in HSSFSheet/XSSFSheet/SXSSFSheet and fix some Eclipse warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1537331 13f79535-47bb-0310-9956-ffa450edef68
2013-10-30 22:26:13 +00:00