aboutsummaryrefslogtreecommitdiffstats
path: root/src/ooxml/testcases/org/apache/poi/poifs
Commit message (Collapse)AuthorAgeFilesLines
* 65206 - Migrate ant / maven to gradle buildAndreas Beeker2021-03-278-2687/+0
| | | | | | | | update gradle files and project structure along https://github.com/centic9/poi/tree/gradle_build remove eclipse IDE project files remove obsolete record generator files git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888111 13f79535-47bb-0310-9956-ffa450edef68
* #65192 - Allow change of EncryptionModeAndreas Beeker2021-03-171-0/+45
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1887764 13f79535-47bb-0310-9956-ffa450edef68
* Use upcoming XmlBeans 5.0.0 (working version 4.0.1)Andreas Beeker2021-02-221-0/+2
| | | | | | | | Make batik optional as it doesn't work on the module-path Use sub-components of batik as batik-all references them all again resulting in duplicated entries (maven poms haven't been migrated yet ...) Remove SLF4j dependency git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1886777 13f79535-47bb-0310-9956-ffa450edef68
* [bug-63046] Use Log4j 2 for loggingMarius Volkhart2021-02-211-8/+8
| | | | | | | | | | This removes the POILogger and POILogFactory mechanism for logging. This mechanism was created at a time when the Java landscape looked very different than it does today. Log4j 2 is an Apache Foundation project that is well maintained and is widely regarded as having good performance and capabilities. We use only the Log4j API artifact. This lets application developers choose how they want to capture logging events if at all. Integrations with Log4j 2 Core and Logback are available from the Log4j project. Closes #224 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1886770 13f79535-47bb-0310-9956-ffa450edef68
* Sonar fixesAndreas Beeker2021-01-108-8/+8
| | | | | | JUnit5 test classes and methods should have default package visibility git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885326 13f79535-47bb-0310-9956-ffa450edef68
* Sonar fixesAndreas Beeker2021-01-091-1/+9
| | | | | | add asserts to tests git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885321 13f79535-47bb-0310-9956-ffa450edef68
* Sonar fixesAndreas Beeker2021-01-095-26/+26
| | | | | | JUnit5 test classes and methods should have default package visibility git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885318 13f79535-47bb-0310-9956-ffa450edef68
* Sonar fixesAndreas Beeker2021-01-095-15/+15
| | | | | | JUnit5 test classes and methods should have default package visibility git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885283 13f79535-47bb-0310-9956-ffa450edef68
* #65026 - Migrate tests to Junit 5Andreas Beeker2020-12-249-200/+132
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884783 13f79535-47bb-0310-9956-ffa450edef68
* avoid string concatsPJ Fanning2020-12-171-5/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884573 13f79535-47bb-0310-9956-ffa450edef68
* Improve error messages on missing Factory-implementations, fix Sonar issues ↵Dominik Stadler2020-11-011-1/+1
| | | | | | and IDE warnings git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1883035 13f79535-47bb-0310-9956-ffa450edef68
* create "build" directory - necessary when running in maven directory ↵Andreas Beeker2020-10-241-0/+1
| | | | | | structure / build git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882816 13f79535-47bb-0310-9956-ffa450edef68
* #64773 - Visual signatures for .xlsx/.docxAndreas Beeker2020-10-101-0/+105
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882394 13f79535-47bb-0310-9956-ffa450edef68
* ignore IBM certificate chain issueAndreas Beeker2020-09-081-1/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1881570 13f79535-47bb-0310-9956-ffa450edef68
* Update library versionsAndreas Beeker2020-08-181-5/+0
| | | | | | | Replace deprecated junit @Rules with assertThrows Adapt to XMLSec refactoring in version 2.2.0 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880965 13f79535-47bb-0310-9956-ffa450edef68
* #64411 - Provide JigSaw modulesAndreas Beeker2020-08-131-9/+7
| | | | | | - rework extractors - see bugzilla entry for more information git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880839 13f79535-47bb-0310-9956-ffa450edef68
* #64411 - Provide JigSaw modulesAndreas Beeker2020-07-228-34/+58
| | | | | | | | | | | | | | | - use classpath-build for Java 8, otherwise use modulepath - save module-info classes to source, when using Java 9+ environment - rename example packages - otherwise package clashes occured in the tests - move agile encryption from ooxml to main. remove EncryptionInfo XmlBeans and schema and use custom xml marshalling - move ooxml test classes which reside in the same package as their tested main class - rename base test classes to "BaseTest..." - temporarily I've used a light version of the main test classes to test scratchpad / ooxml - build.xml - fixed the Rhino javascript errors of the dependency-macros - DrawTextParagraph - fixed StringIndexOutOfBounds when logging set to debug level - use JigSaw provider interface (= Java ServiceLoader), i.e. it wasn't possible (without openening everything), to access ooxml factory classes from main factory stub git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880164 13f79535-47bb-0310-9956-ffa450edef68
* #64387 - Big POIFS stream result in OOMAndreas Beeker2020-04-281-31/+128
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877144 13f79535-47bb-0310-9956-ffa450edef68
* #64301 - Allow try-with-resources with OPCPackage.revert()Andreas Beeker2020-04-011-3/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876018 13f79535-47bb-0310-9956-ffa450edef68
* #64186 - Decrease usage of ThreadLocals in XML Signature APIAndreas Beeker2020-03-011-232/+153
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874671 13f79535-47bb-0310-9956-ffa450edef68
* Remove invalid agile certificate encryptionAndreas Beeker2020-02-222-198/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874351 13f79535-47bb-0310-9956-ffa450edef68
* Sonar fixesAndreas Beeker2020-01-211-115/+131
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1873015 13f79535-47bb-0310-9956-ffa450edef68
* Remove references to DatatypeConverterAndreas Beeker2019-10-251-3/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1868953 13f79535-47bb-0310-9956-ffa450edef68
* [bug-63344] add TempFilePOIFSFileSystemPJ Fanning2019-04-131-5/+38
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1857461 13f79535-47bb-0310-9956-ffa450edef68
* Code-style: Unify how arrays are specified from C-style to normal Java-styleDominik Stadler2018-12-255-39/+39
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1849716 13f79535-47bb-0310-9956-ffa450edef68
* #63011 - Multiple digital signature in excel file broke first signatureAndreas Beeker2018-12-152-328/+343
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1848974 13f79535-47bb-0310-9956-ffa450edef68
* #62994 - IBM JCE workaroundsAndreas Beeker2018-12-091-0/+3
| | | | | | add policy restriction exemption git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1848539 13f79535-47bb-0310-9956-ffa450edef68
* Remove/Minimize references to Scratchpad module from other modulesAndreas Beeker2018-11-191-20/+23
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1846931 13f79535-47bb-0310-9956-ffa450edef68
* #62649 - Remove OPOIFS* / rename NPOIFS* to POIFS*Andreas Beeker2018-08-312-13/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1839709 13f79535-47bb-0310-9956-ffa450edef68
* #62452 - Extract configuration while verifying XML signaturesAndreas Beeker2018-06-131-127/+182
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1833477 13f79535-47bb-0310-9956-ffa450edef68
* [bug-62438] remove nullable class (and use java.util.Optional). This closes #111PJ Fanning2018-06-131-9/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1833459 13f79535-47bb-0310-9956-ffa450edef68
* #62187 - Compiling with Java 10 fails with ClassCastException / use ↵Andreas Beeker2018-06-031-12/+12
| | | | | | commons-compress for zipbomb detection git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1832789 13f79535-47bb-0310-9956-ffa450edef68
* #62355 - unsplit packages - 3 - only importsAndreas Beeker2018-05-272-5/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1832360 13f79535-47bb-0310-9956-ffa450edef68
* Cleanup Biff8EncryptionKey usage and use HPSF constants instead of ↵Andreas Beeker2018-05-011-66/+65
| | | | | | duplicated strings git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1830705 13f79535-47bb-0310-9956-ffa450edef68
* #59893 - Forbid calls to InputStream.availableAndreas Beeker2018-04-272-352/+338
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1830400 13f79535-47bb-0310-9956-ffa450edef68
* Bug 62187 - commit Commons Compress unrelated changesAndreas Beeker2018-04-251-14/+23
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1830061 13f79535-47bb-0310-9956-ffa450edef68
* #62319 - Decommission XSLF-/PowerPointExtractorAndreas Beeker2018-04-201-10/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1829653 13f79535-47bb-0310-9956-ffa450edef68
* Close resources in tests and in case of Exceptions and use ↵Dominik Stadler2018-04-021-17/+8
| | | | | | try-with-resources. Close the socket-connection during encrpyting/decrypting as soon as it is not needed any more. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1828178 13f79535-47bb-0310-9956-ffa450edef68
* #62159 - Support XML signature over windows certificate storeAndreas Beeker2018-03-062-23/+51
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1825948 13f79535-47bb-0310-9956-ffa450edef68
* ignore broken test temporarilyPJ Fanning2018-01-271-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1822409 13f79535-47bb-0310-9956-ffa450edef68
* [github-90] change default DSIG algorithm to SHA256. Thanks to Jörn Franke. ↵PJ Fanning2018-01-261-0/+33
| | | | | | This closes #90 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1822293 13f79535-47bb-0310-9956-ffa450edef68
* Disable test which currently breaks with every little change to the ↵Dominik Stadler2017-12-281-1/+3
| | | | | | resulting XML git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1819424 13f79535-47bb-0310-9956-ffa450edef68
* use StandardCharsetsPJ Fanning2017-12-191-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1818628 13f79535-47bb-0310-9956-ffa450edef68
* convert "".equals(string) to string.isEmpty()Javen O'Neal2017-10-181-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1812470 13f79535-47bb-0310-9956-ffa450edef68
* Fix some IntelliJ warningsDominik Stadler2017-09-191-32/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808908 13f79535-47bb-0310-9956-ffa450edef68
* Remove unnecessary local variablesDominik Stadler2017-09-161-6/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808518 13f79535-47bb-0310-9956-ffa450edef68
* Remove unnecessary type arguments (Java 8)Dominik Stadler2017-09-162-8/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808516 13f79535-47bb-0310-9956-ffa450edef68
* Remove unnecessary casts and toString() callsDominik Stadler2017-09-161-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808512 13f79535-47bb-0310-9956-ffa450edef68
* Remove unnecessary initialization of membersDominik Stadler2017-09-161-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808510 13f79535-47bb-0310-9956-ffa450edef68
* remove test leftoverAndreas Beeker2017-07-261-4/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1803024 13f79535-47bb-0310-9956-ffa450edef68