Commit Graph

5843 Commits

Author SHA1 Message Date
Andreas Beeker
123784df81 more flexible signer verification through Iterable-Interface
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/xml_signature@1627434 13f79535-47bb-0310-9956-ffa450edef68
2014-09-24 22:54:21 +00:00
Andreas Beeker
ff38e12652 centralized configs
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/xml_signature@1626646 13f79535-47bb-0310-9956-ffa450edef68
2014-09-21 22:48:20 +00:00
Andreas Beeker
6639a1938e reorganization, xmlsignatureservice is now in signatureinfo
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/xml_signature@1626107 13f79535-47bb-0310-9956-ffa450edef68
2014-09-18 23:47:41 +00:00
Andreas Beeker
c9757d974f Switched to config object
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/xml_signature@1625850 13f79535-47bb-0310-9956-ffa450edef68
2014-09-17 23:12:16 +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
21f01ab737 Bug 56854 - XMLBeans performance when using getXXXList() and other proxy methods
+ modification to XSSFSheet.removeMergedRegion

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1624922 13f79535-47bb-0310-9956-ffa450edef68
2014-09-14 22:57:38 +00:00
Nick Burch
21046dc43a More from Daniel Bonniot from bug #56956 - Make the FileChannel default read-only too, more in keeping with 3.10 behaviour
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1624266 13f79535-47bb-0310-9956-ffa450edef68
2014-09-11 12:07:22 +00:00
Nick Burch
ba861897ed Sync example with the website
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1624237 13f79535-47bb-0310-9956-ffa450edef68
2014-09-11 09:36:57 +00:00
Nick Burch
f835d21c9d Patch from Daniel Bonniot from bug #56956 - Add a NPOIFSFileSystem constructor with a FileChannel and the read-only option
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1624226 13f79535-47bb-0310-9956-ffa450edef68
2014-09-11 08:48:10 +00:00
Nick Burch
fc5c196636 Expose get/set reading order from the extended format record to the hssf cell style (XSSF does it differently, so not suitable for the interface)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1623853 13f79535-47bb-0310-9956-ffa450edef68
2014-09-09 15:59:06 +00:00
Andreas Beeker
c274932b5b Bug 56914 - XSSFRowShifter.updateConditionalFormatting throws IOOBE when there are more than 1 CTConditionalFormatting
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1622759 13f79535-47bb-0310-9956-ffa450edef68
2014-09-05 19:07:32 +00:00
Andreas Beeker
d60adb500e Bug 56913 - Replace usages of o.a.p.util.ArrayUtil.copyOf* methods with replacements from j.u.Arrays
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1622589 13f79535-47bb-0310-9956-ffa450edef68
2014-09-05 00:31:47 +00:00
Andreas Beeker
ff053aa4cd Bug 51483 - XSSF locking of specific features not working
Added some documentation to the crypto functions and adapted xor1verifier code to the OFFCrypto-Docs

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1622577 13f79535-47bb-0310-9956-ffa450edef68
2014-09-04 22:50:28 +00:00
Nick Burch
64d4d83f0c Add getters for the common xml extended properties
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1622257 13f79535-47bb-0310-9956-ffa450edef68
2014-09-03 13:47:50 +00:00
Nick Burch
d65693cb08 Provide a getter for custom properties, to match the add and contains methods already there
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1622252 13f79535-47bb-0310-9956-ffa450edef68
2014-09-03 13:38:48 +00:00
Dominik Stadler
6ac5bb3fbd Bug 48195: Formulas: Fix incorrect evaluation of IF() with ROW()/COLUMN() as else-result
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1621641 13f79535-47bb-0310-9956-ffa450edef68
2014-08-31 21:46:48 +00:00
Dominik Stadler
a8f284d5f5 Bug 55280: Implement a method XSSFSheet.removeMergedRegions() to bulk remove merged regions and thus speed up shifting rows with many merged regions greatly.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1621633 13f79535-47bb-0310-9956-ffa450edef68
2014-08-31 20:24:42 +00:00
Dominik Stadler
3eec314719 Bug 55280: Don't repeatedely fetch the size of the CTMergeCells object as this is a costly operation with XMLBeans
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1621631 13f79535-47bb-0310-9956-ffa450edef68
2014-08-31 19:53:53 +00:00
Dominik Stadler
809ec00a7d Bug 45312: Add unit-test and javadoc, also convert file to proper line-ending and make poi.deserialize.escher=true behave for full reading of files outside of BiffViewer
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1621586 13f79535-47bb-0310-9956-ffa450edef68
2014-08-31 11:40:22 +00:00
Andreas Beeker
0cbbbfe5d5 Bug 51222 - XSSFColor.getARGBHex() returns wrong color for Excel 2007 xlsx file
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1621393 13f79535-47bb-0310-9956-ffa450edef68
2014-08-29 22:14:55 +00:00
Dominik Stadler
67fcf46d4c Bug 56730: Fix exporting XML if schema contains ref-elements
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1621209 13f79535-47bb-0310-9956-ffa450edef68
2014-08-28 21:41:30 +00:00
Andreas Beeker
3be80a5b03 Bug 56864 - XWPFLatentStyles.isLatentStyle always returns true if there is at least 1 lsdException
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1620999 13f79535-47bb-0310-9956-ffa450edef68
2014-08-28 00:20:22 +00:00
Andreas Beeker
a82d67a2dd Bug 56854 - XMLBeans performance when using getXXXList() and other proxy methods
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1620997 13f79535-47bb-0310-9956-ffa450edef68
2014-08-28 00:08:41 +00:00
Andreas Beeker
11e384f0ec timestamping fixes
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/xml_signature@1620990 13f79535-47bb-0310-9956-ffa450edef68
2014-08-27 22:58:03 +00:00
Andreas Beeker
d248d13b2c ignore props
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/xml_signature@1620232 13f79535-47bb-0310-9956-ffa450edef68
2014-08-24 23:09:18 +00:00
Andreas Beeker
79e8d180be new directory for compile/test only libs
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/xml_signature@1620231 13f79535-47bb-0310-9956-ffa450edef68
2014-08-24 23:07:51 +00:00
Andreas Beeker
687194fd91 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@1620230 13f79535-47bb-0310-9956-ffa450edef68
2014-08-24 23:06:05 +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
Nick Burch
5b6cf95326 Fix indents / whitespace
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1619712 13f79535-47bb-0310-9956-ffa450edef68
2014-08-22 09:01:36 +00:00
Nick Burch
0911a5670a Include the maximum number of Cell Styles in the spreadsheet versions class
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1619710 13f79535-47bb-0310-9956-ffa450edef68
2014-08-22 08:59:25 +00:00
Uwe Schindler
5a933a3496 Add Dominik's suggestion to DocumentBuilderFactories. I also removed the setXIncludeAware(false) in XMLHelper, because it causes the same problem and is disabled by default.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1618644 13f79535-47bb-0310-9956-ffa450edef68
2014-08-18 16:01:35 +00:00
Dominik Stadler
36314b3995 * Allow to start tests with old Xerces jar-file to trigger issues we saw with missing methods in this XML parser. This is only active if the location of the jar-file is provided via ant property "-Dadditionaljar=lib/xercesImpl-2.6.1.jar"
* Also remove dom4j from downloaded libs to fully get rid of it in build-environments

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1618610 13f79535-47bb-0310-9956-ffa450edef68
2014-08-18 13:59:01 +00:00
Andreas Beeker
80d92c25bb added public key for kiwiwings (Andreas Beeker)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1618525 13f79535-47bb-0310-9956-ffa450edef68
2014-08-17 22:22:16 +00:00
Andreas Beeker
6673edd41b ignore .xsd - should be downloaded by build.xml or provided in the source tree
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1618519 13f79535-47bb-0310-9956-ffa450edef68
2014-08-17 20:11: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
ba8bd191b7 merge to trunk
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/xml_signature@1618405 13f79535-47bb-0310-9956-ffa450edef68
2014-08-16 19:36:35 +00:00
Andreas Beeker
d80884f9b9 merge to trunk
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/xml_signature@1618404 13f79535-47bb-0310-9956-ffa450edef68
2014-08-16 19:31:17 +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
ec7fde8fcb replace xmlbeans.factory.parse with selectPath calls
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/xml_signature@1618292 13f79535-47bb-0310-9956-ffa450edef68
2014-08-15 23:10:07 +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
777fd47d71 some changes because of test errors
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/xml_signature@1618254 13f79535-47bb-0310-9956-ffa450edef68
2014-08-15 18:19:28 +00:00
Uwe Schindler
eabb6a924b More cleanups for bug #56814 and some more external entity leaks of #56164
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1617849 13f79535-47bb-0310-9956-ffa450edef68
2014-08-13 22:34:53 +00:00
Andreas Beeker
55ee990238 sync test
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/xml_signature@1617627 13f79535-47bb-0310-9956-ffa450edef68
2014-08-12 23:39:18 +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
cd80405811 Add some extra safety test to check that external entities are not loaded by xmlbeans
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1617453 13f79535-47bb-0310-9956-ffa450edef68
2014-08-12 11:33:02 +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
6bbe12277f Tests/fixes for hash > sha1
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/xml_signature@1617180 13f79535-47bb-0310-9956-ffa450edef68
2014-08-10 23:34:13 +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
Andreas Beeker
9f7b23bb42 XML signature support
(https://issues.apache.org/bugzilla/show_bug.cgi?id=56836)

git-svn-id: https://svn.apache.org/repos/asf/poi/branches/xml_signature@1617139 13f79535-47bb-0310-9956-ffa450edef68
2014-08-10 18:04:47 +00:00