]> source.dussan.org Git - poi.git/log
poi.git
10 years agoadded ooxml-security-1.0 to the maven artifacts
Andreas Beeker [Sat, 25 Oct 2014 19:34:42 +0000 (19:34 +0000)]
added ooxml-security-1.0 to the maven artifacts

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

10 years agoApply patch for bug 55864 - XSSFImportFromXML.importFromXML() does not support option...
Dominik Stadler [Tue, 21 Oct 2014 15:56:45 +0000 (15:56 +0000)]
Apply patch for bug 55864 - XSSFImportFromXML.importFromXML() does not support optional elements

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

10 years agoApply patch to fix bug 56835: Unreadable content when adding multiple comments to...
Dominik Stadler [Tue, 21 Oct 2014 15:16:14 +0000 (15:16 +0000)]
Apply patch to fix bug 56835: Unreadable content when adding multiple comments to cell

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

10 years agoOne more change to OOXMLLite to also run all tests successfully when the outdated...
Dominik Stadler [Tue, 21 Oct 2014 07:06:26 +0000 (07:06 +0000)]
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

10 years agoAdd disabled unit tests for bug #46670 - failing on both HSSF and XSSF, but for diffe...
Nick Burch [Mon, 20 Oct 2014 23:22:02 +0000 (23:22 +0000)]
Add disabled unit tests for bug #46670 - failing on both HSSF and XSSF, but for different reasons

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

10 years agoUnit tests which reference XSSF must be on the ooxml part of the tree
Nick Burch [Mon, 20 Oct 2014 23:21:01 +0000 (23:21 +0000)]
Unit tests which reference XSSF must be on the ooxml part of the tree

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

10 years agoEscape non-ASCII characters in the unit test, so it builds properly everywhere
Nick Burch [Mon, 20 Oct 2014 23:19:30 +0000 (23:19 +0000)]
Escape non-ASCII characters in the unit test, so it builds properly everywhere

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

10 years agoxml dsign - javadoc fixes
Andreas Beeker [Mon, 20 Oct 2014 22:18:42 +0000 (22:18 +0000)]
xml dsign - javadoc fixes

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

10 years agoBug 57010: Add implementation of function PROPER
Dominik Stadler [Mon, 20 Oct 2014 19:57:11 +0000 (19:57 +0000)]
Bug 57010: Add implementation of function PROPER

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

10 years ago* Make more tests work in OOXMLLite compilation by adding xml security classpath...
Dominik Stadler [Mon, 20 Oct 2014 14:26:53 +0000 (14:26 +0000)]
* 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

10 years ago* Also adjust build.xml for newer required Ant 1.8.0
Dominik Stadler [Mon, 20 Oct 2014 13:54:41 +0000 (13:54 +0000)]
* 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

10 years agoWhen using v4 Junit style, we need to set @Test to make the test-methods actually...
Dominik Stadler [Mon, 20 Oct 2014 13:49:51 +0000 (13:49 +0000)]
When using v4 Junit style, we need to set @Test to make the test-methods actually execute

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

10 years agoRemoved some custom classloading code, which doesn't make sense anymore
Andreas Beeker [Sat, 18 Oct 2014 23:19:49 +0000 (23:19 +0000)]
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

10 years agoFinish unit tests for stackoverflow #26437323 - POI works fine already!
Nick Burch [Sat, 18 Oct 2014 20:53:50 +0000 (20:53 +0000)]
Finish unit tests for stackoverflow #26437323 - POI works fine already!

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

10 years agoStart on unit tests for the problem reported in stackoverflow post 26437323
Nick Burch [Sat, 18 Oct 2014 20:37:56 +0000 (20:37 +0000)]
Start on unit tests for the problem reported in stackoverflow post 26437323

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

10 years agoMove non-HSSF specific bug tests into BaseTestBugzillaIssues from HSSF TestBugs,...
Nick Burch [Sat, 18 Oct 2014 20:10:31 +0000 (20:10 +0000)]
Move non-HSSF specific bug tests into BaseTestBugzillaIssues from HSSF TestBugs, so they can be tested automatically on XSSF too

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

10 years agoSheetUtil helper for finding the main cell of a merged region, if in one
Nick Burch [Sat, 18 Oct 2014 19:58:05 +0000 (19:58 +0000)]
SheetUtil helper for finding the main cell of a merged region, if in one

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

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