]> source.dussan.org Git - poi.git/log
poi.git
10 years agoSeems we have slow connection on the Apache Jenkins instance. Thus allow one specific...
Dominik Stadler [Fri, 17 Oct 2014 13:04:53 +0000 (13:04 +0000)]
Seems we have slow connection on the Apache Jenkins instance. Thus allow one specific test to fail with a specific ConnectException as we see this happening sometimes in Jenkins but should not fail the unit test suite of POI because of such infrastructure problems

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1632566 13f79535-47bb-0310-9956-ffa450edef68

10 years agoBug 56836 - XML signature support
Andreas Beeker [Thu, 16 Oct 2014 23:30:42 +0000 (23:30 +0000)]
Bug 56836 - XML signature support

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1632447 13f79535-47bb-0310-9956-ffa450edef68

10 years agoAdd a note on how this is not the right way to make a string of your cell
Nick Burch [Thu, 16 Oct 2014 21:41:11 +0000 (21:41 +0000)]
Add a note on how this is not the right way to make a string of your cell

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1632438 13f79535-47bb-0310-9956-ffa450edef68

10 years agoBug 57080 - IndexOutOfBoundsException in poi decryptor
Andreas Beeker [Mon, 13 Oct 2014 23:42:33 +0000 (23:42 +0000)]
Bug 57080 - IndexOutOfBoundsException in poi decryptor

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1631600 13f79535-47bb-0310-9956-ffa450edef68

10 years agoEnsure svn properties are set on the build xml files, and they have consistent line...
Nick Burch [Mon, 13 Oct 2014 16:47:46 +0000 (16:47 +0000)]
Ensure svn properties are set on the build xml files, and they have consistent line endings

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1631469 13f79535-47bb-0310-9956-ffa450edef68

10 years agoEnhance test and coverge for class TempFile
Dominik Stadler [Sun, 12 Oct 2014 20:07:24 +0000 (20:07 +0000)]
Enhance test and coverge for class TempFile

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1631250 13f79535-47bb-0310-9956-ffa450edef68

10 years agoFix detecting missing downloaded and compiled OOXML jars, remove older versions of...
Dominik Stadler [Sun, 12 Oct 2014 20:07:11 +0000 (20:07 +0000)]
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

10 years agoxml signature: mainly javadocs - a few reorgs
Andreas Beeker [Fri, 10 Oct 2014 22:48:21 +0000 (22:48 +0000)]
xml signature: mainly javadocs - a few reorgs

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1631003 13f79535-47bb-0310-9956-ffa450edef68

10 years agoUpdate to Apache Rat 0.11
Dominik Stadler [Fri, 10 Oct 2014 06:48:29 +0000 (06:48 +0000)]
Update to Apache Rat 0.11

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1630660 13f79535-47bb-0310-9956-ffa450edef68

10 years agoUse XMLBeans 2.6.0 for Sonar runs as well
Dominik Stadler [Fri, 10 Oct 2014 06:48:07 +0000 (06:48 +0000)]
Use XMLBeans 2.6.0 for Sonar runs as well

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1630659 13f79535-47bb-0310-9956-ffa450edef68

10 years agoAdd a disabled unit test for bug #56880
Nick Burch [Thu, 9 Oct 2014 17:58:47 +0000 (17:58 +0000)]
Add a disabled unit test for bug #56880

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1630543 13f79535-47bb-0310-9956-ffa450edef68

10 years agoTest file from Jan Vanhoecke for bug #56880 - Non-extended character Pascal strings...
Nick Burch [Thu, 9 Oct 2014 17:53:54 +0000 (17:53 +0000)]
Test file from Jan Vanhoecke for bug #56880 - Non-extended character Pascal strings are not supported

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1630541 13f79535-47bb-0310-9956-ffa450edef68

10 years agoRevert parts of an inadvertent previous checkin, keep build.xml and @Override changes
Dominik Stadler [Mon, 6 Oct 2014 13:43:37 +0000 (13:43 +0000)]
Revert parts of an inadvertent previous checkin, keep build.xml and @Override changes

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1629656 13f79535-47bb-0310-9956-ffa450edef68

10 years agoRevert parts of an inadvertent previous checkin, keep build.xml and @Override changes
Dominik Stadler [Mon, 6 Oct 2014 13:39:35 +0000 (13:39 +0000)]
Revert parts of an inadvertent previous checkin, keep build.xml and @Override changes

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1629653 13f79535-47bb-0310-9956-ffa450edef68

10 years agoRevert parts of inadvertent previous checkin, keep build.xml and @Override changes
Dominik Stadler [Mon, 6 Oct 2014 13:30:10 +0000 (13:30 +0000)]
Revert parts of inadvertent previous checkin, keep build.xml and @Override changes

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1629646 13f79535-47bb-0310-9956-ffa450edef68

10 years agoPrint out current version of java before building to allow to see in build output...
Dominik Stadler [Mon, 6 Oct 2014 13:20:12 +0000 (13:20 +0000)]
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

10 years agoanother round of refactoring, limited exception declarations, more javadocs
Andreas Beeker [Fri, 3 Oct 2014 22:24:09 +0000 (22:24 +0000)]
another round of refactoring, limited exception declarations, more javadocs

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1629332 13f79535-47bb-0310-9956-ffa450edef68

10 years agoremoved obsolete classes and added a few javadocs elements and example calls
Andreas Beeker [Thu, 2 Oct 2014 22:47:35 +0000 (22:47 +0000)]
removed obsolete classes and added a few javadocs elements and example calls

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1629095 13f79535-47bb-0310-9956-ffa450edef68

10 years agoxml signature - small javadoc fixes, removed obsolete parameter from SignatureFacet...
Andreas Beeker [Tue, 30 Sep 2014 23:42:21 +0000 (23:42 +0000)]
xml signature - small javadoc fixes, removed obsolete parameter from SignatureFacet interface

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1628575 13f79535-47bb-0310-9956-ffa450edef68

10 years agoBug 56836 - XML signature support
Andreas Beeker [Tue, 30 Sep 2014 01:23:17 +0000 (01:23 +0000)]
Bug 56836 - XML signature support

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1628348 13f79535-47bb-0310-9956-ffa450edef68

10 years agomerge with trunk xml_signature xml_signature
Andreas Beeker [Tue, 30 Sep 2014 01:05:09 +0000 (01:05 +0000)]
merge with trunk

git-svn-id: https://svn.apache.org/repos/asf/poi/branches/xml_signature@1628347 13f79535-47bb-0310-9956-ffa450edef68

10 years agoFixed complete-build errors
Andreas Beeker [Mon, 29 Sep 2014 23:39:45 +0000 (23:39 +0000)]
Fixed complete-build errors

git-svn-id: https://svn.apache.org/repos/asf/poi/branches/xml_signature@1628338 13f79535-47bb-0310-9956-ffa450edef68

10 years agomore tests, some refactoring
Andreas Beeker [Sun, 28 Sep 2014 22:30:02 +0000 (22:30 +0000)]
more tests, some refactoring

git-svn-id: https://svn.apache.org/repos/asf/poi/branches/xml_signature@1628107 13f79535-47bb-0310-9956-ffa450edef68

10 years agoMerged from trunk
Andreas Beeker [Sun, 28 Sep 2014 00:42:20 +0000 (00:42 +0000)]
Merged from trunk

git-svn-id: https://svn.apache.org/repos/asf/poi/branches/xml_signature@1628035 13f79535-47bb-0310-9956-ffa450edef68

10 years agoforgot to rename get/setter
Andreas Beeker [Sun, 28 Sep 2014 00:35:00 +0000 (00:35 +0000)]
forgot to rename get/setter

git-svn-id: https://svn.apache.org/repos/asf/poi/branches/xml_signature@1628031 13f79535-47bb-0310-9956-ffa450edef68

10 years agoMoved prefix logic in one place
Andreas Beeker [Sun, 28 Sep 2014 00:30:05 +0000 (00:30 +0000)]
Moved prefix logic in one place

git-svn-id: https://svn.apache.org/repos/asf/poi/branches/xml_signature@1628029 13f79535-47bb-0310-9956-ffa450edef68

10 years agoconfigure namespaces via signatureconfig
Andreas Beeker [Sat, 27 Sep 2014 17:49:09 +0000 (17:49 +0000)]
configure namespaces via signatureconfig

git-svn-id: https://svn.apache.org/repos/asf/poi/branches/xml_signature@1627985 13f79535-47bb-0310-9956-ffa450edef68

10 years agoclean ups
Andreas Beeker [Thu, 25 Sep 2014 23:59:36 +0000 (23:59 +0000)]
clean ups

git-svn-id: https://svn.apache.org/repos/asf/poi/branches/xml_signature@1627682 13f79535-47bb-0310-9956-ffa450edef68

10 years agomore flexible signer verification through Iterable-Interface
Andreas Beeker [Wed, 24 Sep 2014 22:54:21 +0000 (22:54 +0000)]
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

10 years agocentralized configs
Andreas Beeker [Sun, 21 Sep 2014 22:48:20 +0000 (22:48 +0000)]
centralized configs

git-svn-id: https://svn.apache.org/repos/asf/poi/branches/xml_signature@1626646 13f79535-47bb-0310-9956-ffa450edef68

10 years agoreorganization, xmlsignatureservice is now in signatureinfo
Andreas Beeker [Thu, 18 Sep 2014 23:47:41 +0000 (23:47 +0000)]
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

10 years agoSwitched to config object
Andreas Beeker [Wed, 17 Sep 2014 23:12:16 +0000 (23:12 +0000)]
Switched to config object

git-svn-id: https://svn.apache.org/repos/asf/poi/branches/xml_signature@1625850 13f79535-47bb-0310-9956-ffa450edef68

10 years agomerge with trunk
Andreas Beeker [Wed, 17 Sep 2014 21:12:36 +0000 (21:12 +0000)]
merge with trunk

git-svn-id: https://svn.apache.org/repos/asf/poi/branches/xml_signature@1625828 13f79535-47bb-0310-9956-ffa450edef68

10 years agoBug 56854 - XMLBeans performance when using getXXXList() and other proxy methods
Andreas Beeker [Sun, 14 Sep 2014 22:57:38 +0000 (22:57 +0000)]
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

10 years agoMore from Daniel Bonniot from bug #56956 - Make the FileChannel default read-only...
Nick Burch [Thu, 11 Sep 2014 12:07:22 +0000 (12:07 +0000)]
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

10 years agoSync example with the website
Nick Burch [Thu, 11 Sep 2014 09:36:57 +0000 (09:36 +0000)]
Sync example with the website

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1624237 13f79535-47bb-0310-9956-ffa450edef68

10 years agoPatch from Daniel Bonniot from bug #56956 - Add a NPOIFSFileSystem constructor with...
Nick Burch [Thu, 11 Sep 2014 08:48:10 +0000 (08:48 +0000)]
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

10 years agoExpose get/set reading order from the extended format record to the hssf cell style...
Nick Burch [Tue, 9 Sep 2014 15:59:06 +0000 (15:59 +0000)]
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

10 years agoBug 56914 - XSSFRowShifter.updateConditionalFormatting throws IOOBE when there are...
Andreas Beeker [Fri, 5 Sep 2014 19:07:32 +0000 (19:07 +0000)]
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

10 years agoBug 56913 - Replace usages of o.a.p.util.ArrayUtil.copyOf* methods with replacements...
Andreas Beeker [Fri, 5 Sep 2014 00:31:47 +0000 (00:31 +0000)]
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

10 years agoBug 51483 - XSSF locking of specific features not working
Andreas Beeker [Thu, 4 Sep 2014 22:50:28 +0000 (22:50 +0000)]
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

10 years agoAdd getters for the common xml extended properties
Nick Burch [Wed, 3 Sep 2014 13:47:50 +0000 (13:47 +0000)]
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

10 years agoProvide a getter for custom properties, to match the add and contains methods already...
Nick Burch [Wed, 3 Sep 2014 13:38:48 +0000 (13:38 +0000)]
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

10 years agoBug 48195: Formulas: Fix incorrect evaluation of IF() with ROW()/COLUMN() as else...
Dominik Stadler [Sun, 31 Aug 2014 21:46:48 +0000 (21:46 +0000)]
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

10 years agoBug 55280: Implement a method XSSFSheet.removeMergedRegions() to bulk remove merged...
Dominik Stadler [Sun, 31 Aug 2014 20:24:42 +0000 (20:24 +0000)]
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

10 years agoBug 55280: Don't repeatedely fetch the size of the CTMergeCells object as this is...
Dominik Stadler [Sun, 31 Aug 2014 19:53:53 +0000 (19:53 +0000)]
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

10 years agoBug 45312: Add unit-test and javadoc, also convert file to proper line-ending and...
Dominik Stadler [Sun, 31 Aug 2014 11:40:22 +0000 (11:40 +0000)]
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

10 years agoBug 51222 - XSSFColor.getARGBHex() returns wrong color for Excel 2007 xlsx file
Andreas Beeker [Fri, 29 Aug 2014 22:14:55 +0000 (22:14 +0000)]
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

10 years agoBug 56730: Fix exporting XML if schema contains ref-elements
Dominik Stadler [Thu, 28 Aug 2014 21:41:30 +0000 (21:41 +0000)]
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

10 years agoBug 56864 - XWPFLatentStyles.isLatentStyle always returns true if there is at least...
Andreas Beeker [Thu, 28 Aug 2014 00:20:22 +0000 (00:20 +0000)]
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

10 years agoBug 56854 - XMLBeans performance when using getXXXList() and other proxy methods
Andreas Beeker [Thu, 28 Aug 2014 00:08:41 +0000 (00:08 +0000)]
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

10 years agotimestamping fixes
Andreas Beeker [Wed, 27 Aug 2014 22:58:03 +0000 (22:58 +0000)]
timestamping fixes

git-svn-id: https://svn.apache.org/repos/asf/poi/branches/xml_signature@1620990 13f79535-47bb-0310-9956-ffa450edef68

10 years agoignore props
Andreas Beeker [Sun, 24 Aug 2014 23:09:18 +0000 (23:09 +0000)]
ignore props

git-svn-id: https://svn.apache.org/repos/asf/poi/branches/xml_signature@1620232 13f79535-47bb-0310-9956-ffa450edef68

10 years agonew directory for compile/test only libs
Andreas Beeker [Sun, 24 Aug 2014 23:07:51 +0000 (23:07 +0000)]
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

10 years agoremoved HorribleProxy
Andreas Beeker [Sun, 24 Aug 2014 23:06:05 +0000 (23:06 +0000)]
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

10 years agoremoved HorribleProxy
Andreas Beeker [Sun, 24 Aug 2014 23:05:26 +0000 (23:05 +0000)]
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

10 years agoFix indents / whitespace
Nick Burch [Fri, 22 Aug 2014 09:01:36 +0000 (09:01 +0000)]
Fix indents / whitespace

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1619712 13f79535-47bb-0310-9956-ffa450edef68

10 years agoInclude the maximum number of Cell Styles in the spreadsheet versions class
Nick Burch [Fri, 22 Aug 2014 08:59:25 +0000 (08:59 +0000)]
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

10 years agoAdd Dominik's suggestion to DocumentBuilderFactories. I also removed the setXIncludeA...
Uwe Schindler [Mon, 18 Aug 2014 16:01:35 +0000 (16:01 +0000)]
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

10 years ago* Allow to start tests with old Xerces jar-file to trigger issues we saw with missing...
Dominik Stadler [Mon, 18 Aug 2014 13:59:01 +0000 (13:59 +0000)]
* 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

10 years agoadded public key for kiwiwings (Andreas Beeker)
Andreas Beeker [Sun, 17 Aug 2014 22:22:16 +0000 (22:22 +0000)]
added public key for kiwiwings (Andreas Beeker)

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1618525 13f79535-47bb-0310-9956-ffa450edef68

10 years agoignore .xsd - should be downloaded by build.xml or provided in the source tree
Andreas Beeker [Sun, 17 Aug 2014 20:11:26 +0000 (20:11 +0000)]
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

10 years agostarting tsp tests / removed mockito stuff again
Andreas Beeker [Sun, 17 Aug 2014 19:53:34 +0000 (19:53 +0000)]
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

10 years agomerge to trunk
Andreas Beeker [Sat, 16 Aug 2014 19:36:35 +0000 (19:36 +0000)]
merge to trunk

git-svn-id: https://svn.apache.org/repos/asf/poi/branches/xml_signature@1618405 13f79535-47bb-0310-9956-ffa450edef68

10 years agomerge to trunk
Andreas Beeker [Sat, 16 Aug 2014 19:31:17 +0000 (19:31 +0000)]
merge to trunk

git-svn-id: https://svn.apache.org/repos/asf/poi/branches/xml_signature@1618404 13f79535-47bb-0310-9956-ffa450edef68

10 years ago- Updated to BC 1.51
Andreas Beeker [Sat, 16 Aug 2014 19:21:31 +0000 (19:21 +0000)]
- 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

10 years agoreplace xmlbeans.factory.parse with selectPath calls
Andreas Beeker [Fri, 15 Aug 2014 23:10:07 +0000 (23:10 +0000)]
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

10 years agomigrated enveloped document test (1 of 2)
Andreas Beeker [Fri, 15 Aug 2014 22:20:30 +0000 (22:20 +0000)]
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

10 years agosome changes because of test errors
Andreas Beeker [Fri, 15 Aug 2014 18:19:28 +0000 (18:19 +0000)]
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

10 years agoMore cleanups for bug #56814 and some more external entity leaks of #56164
Uwe Schindler [Wed, 13 Aug 2014 22:34:53 +0000 (22:34 +0000)]
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

10 years agosync test
Andreas Beeker [Tue, 12 Aug 2014 23:39:18 +0000 (23:39 +0000)]
sync test

git-svn-id: https://svn.apache.org/repos/asf/poi/branches/xml_signature@1617627 13f79535-47bb-0310-9956-ffa450edef68

10 years agosync merge to trunk
Andreas Beeker [Tue, 12 Aug 2014 23:33:07 +0000 (23:33 +0000)]
sync merge to trunk

git-svn-id: https://svn.apache.org/repos/asf/poi/branches/xml_signature@1617624 13f79535-47bb-0310-9956-ffa450edef68

10 years agoAdd some extra safety test to check that external entities are not loaded by xmlbeans
Uwe Schindler [Tue, 12 Aug 2014 11:33:02 +0000 (11:33 +0000)]
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

10 years agoFix bug #56814 - Switch from dom4j to JAXP
Uwe Schindler [Tue, 12 Aug 2014 07:19:51 +0000 (07:19 +0000)]
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

10 years agoTests/fixes for hash > sha1
Andreas Beeker [Sun, 10 Aug 2014 23:34:13 +0000 (23:34 +0000)]
Tests/fixes for hash > sha1

git-svn-id: https://svn.apache.org/repos/asf/poi/branches/xml_signature@1617180 13f79535-47bb-0310-9956-ffa450edef68

10 years agodownload xades files and remove from them resources
Andreas Beeker [Sun, 10 Aug 2014 20:37:44 +0000 (20:37 +0000)]
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

10 years agoXml signature support - version 1
Andreas Beeker [Sun, 10 Aug 2014 18:25:10 +0000 (18:25 +0000)]
Xml signature support - version 1

git-svn-id: https://svn.apache.org/repos/asf/poi/branches/xml_signature@1617141 13f79535-47bb-0310-9956-ffa450edef68

10 years agoXML signature support
Andreas Beeker [Sun, 10 Aug 2014 18:04:47 +0000 (18:04 +0000)]
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

10 years agoAdd myself to keys file
Uwe Schindler [Sun, 10 Aug 2014 15:05:30 +0000 (15:05 +0000)]
Add myself to keys file

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1617116 13f79535-47bb-0310-9956-ffa450edef68

10 years agoCorrect xmlbeans 2.6 url
Nick Burch [Tue, 5 Aug 2014 08:53:15 +0000 (08:53 +0000)]
Correct xmlbeans 2.6 url

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1615893 13f79535-47bb-0310-9956-ffa450edef68

10 years agoFix bug #56812 - In XSLF provide a way to get the URI of externally linked pictures
Nick Burch [Mon, 4 Aug 2014 22:00:47 +0000 (22:00 +0000)]
Fix bug #56812 - In XSLF provide a way to get the URI of externally linked pictures

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1615812 13f79535-47bb-0310-9956-ffa450edef68

10 years agoAdd a disabled unit test for bug #56812, based on code and file from Geoff Wright
Nick Burch [Mon, 4 Aug 2014 21:34:51 +0000 (21:34 +0000)]
Add a disabled unit test for bug #56812, based on code and file from Geoff Wright

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1615803 13f79535-47bb-0310-9956-ffa450edef68

10 years agoBefore parsing an OOXML document, reset the xmlbeans sax parser to avoid the risk...
Nick Burch [Mon, 4 Aug 2014 20:42:41 +0000 (20:42 +0000)]
Before parsing an OOXML document, reset the xmlbeans sax parser to avoid the risk of getting one in an error state (due to XMLBEANS-512). Should be a minimal extra overhead pending a proper fix. Allows us to finish enabling the unit tests for #54764

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1615781 13f79535-47bb-0310-9956-ffa450edef68

10 years agoChange the default XMLBeans version used for running to be 2.6, leave 2.3 for compili...
Nick Burch [Mon, 4 Aug 2014 20:40:45 +0000 (20:40 +0000)]
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

10 years agoAdd another test file for #54764, and a test that uses it
Nick Burch [Mon, 4 Aug 2014 19:18:20 +0000 (19:18 +0000)]
Add another test file for #54764, and a test that uses it

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1615731 13f79535-47bb-0310-9956-ffa450edef68

10 years agoApply suggestions from Uwe Schindler for more secure xml defaults for #54764 and...
Nick Burch [Mon, 4 Aug 2014 18:17:26 +0000 (18:17 +0000)]
Apply suggestions from Uwe Schindler for more secure xml defaults for #54764 and #56164, for xml parsers which support them

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1615720 13f79535-47bb-0310-9956-ffa450edef68

10 years ago* Ensure that some older versions of third-party libraries are removed when we do...
Dominik Stadler [Sun, 3 Aug 2014 21:30:30 +0000 (21:30 +0000)]
* 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

10 years agoAnother test for NPOIFS in-place writing support - probably the deletion of an entry...
Andreas Beeker [Sat, 2 Aug 2014 00:51:56 +0000 (00:51 +0000)]
Another test for NPOIFS in-place writing support - probably the deletion of an entry causes the problem

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1615273 13f79535-47bb-0310-9956-ffa450edef68

10 years agoFix bug #56800 - Provide a helpful exception, XLSBUnsupportedException, if XSSFWorkbo...
Nick Burch [Fri, 1 Aug 2014 14:33:17 +0000 (14:33 +0000)]
Fix bug #56800 - Provide a helpful exception, XLSBUnsupportedException, if XSSFWorkbook is passed a .xlsb file

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1615118 13f79535-47bb-0310-9956-ffa450edef68

10 years agoPrep for 3.11 beta 1
Nick Burch [Thu, 31 Jul 2014 18:57:23 +0000 (18:57 +0000)]
Prep for 3.11 beta 1

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1614958 13f79535-47bb-0310-9956-ffa450edef68

10 years agoPrep for 3.11 beta 1
Nick Burch [Thu, 31 Jul 2014 18:54:22 +0000 (18:54 +0000)]
Prep for 3.11 beta 1

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1614956 13f79535-47bb-0310-9956-ffa450edef68

10 years agoFix bug #55196 - Correct XWPF createTOC handling of short style names
Nick Burch [Thu, 31 Jul 2014 16:11:35 +0000 (16:11 +0000)]
Fix bug #55196 - Correct XWPF createTOC handling of short style names

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1614930 13f79535-47bb-0310-9956-ffa450edef68

10 years agoFix bug #55050 - If the start+end row and cell are the same on an AreaPtg, avoid...
Nick Burch [Thu, 31 Jul 2014 16:06:43 +0000 (16:06 +0000)]
Fix bug #55050 - If the start+end row and cell are the same on an AreaPtg, avoid inverting the relative flag

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1614928 13f79535-47bb-0310-9956-ffa450edef68

10 years agoFix bug 54725 - HWPF where no parent style CHP exists, use an empty
Nick Burch [Thu, 31 Jul 2014 15:41:58 +0000 (15:41 +0000)]
Fix bug 54725 - HWPF where no parent style CHP exists, use an empty
 set when processing the style to avoid a NPE

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1614926 13f79535-47bb-0310-9956-ffa450edef68

10 years agoFix bug #56502 - When shifting XSSF rows with formula cells, if the formula can't...
Nick Burch [Thu, 31 Jul 2014 15:07:27 +0000 (15:07 +0000)]
Fix bug #56502 - When shifting XSSF rows with formula cells, if the formula can't be parsed, log + leave it unchanged rather than failing

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1614916 13f79535-47bb-0310-9956-ffa450edef68

10 years agoFix bug #56527 - Avoid NPE from XSSFHyperLink when setting the cell
Nick Burch [Thu, 31 Jul 2014 14:55:04 +0000 (14:55 +0000)]
Fix bug #56527 - Avoid NPE from XSSFHyperLink when setting the cell
it references on a new link

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1614914 13f79535-47bb-0310-9956-ffa450edef68

10 years agoFix javadoc warnings
Nick Burch [Thu, 31 Jul 2014 13:37:33 +0000 (13:37 +0000)]
Fix javadoc warnings

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1614886 13f79535-47bb-0310-9956-ffa450edef68

10 years agoFix bug #53984 - Support the ColInfoRecord coming after the cells, rather than before...
Nick Burch [Thu, 31 Jul 2014 13:31:01 +0000 (13:31 +0000)]
Fix bug #53984 - Support the ColInfoRecord coming after the cells, rather than before as is normal, and also handle things so that if an unsupported BofRecord is found for a sheet, warn and skip rather than breaking

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1614884 13f79535-47bb-0310-9956-ffa450edef68

10 years agoCorrect logic for the start-of-sheet missing rows, for event user model, and add...
Nick Burch [Wed, 30 Jul 2014 23:06:46 +0000 (23:06 +0000)]
Correct logic for the start-of-sheet missing rows, for event user model, and add tests for this

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1614789 13f79535-47bb-0310-9956-ffa450edef68

10 years agoGenerics fixes
Nick Burch [Wed, 30 Jul 2014 23:05:58 +0000 (23:05 +0000)]
Generics fixes

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1614788 13f79535-47bb-0310-9956-ffa450edef68