aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/poi/poifs/filesystem
Commit message (Collapse)AuthorAgeFilesLines
* 65206 - Migrate ant / maven to gradle buildAndreas Beeker2021-03-2728-5634/+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
* try to re-enable new getBlockAt codePJ Fanning2021-03-191-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1887828 13f79535-47bb-0310-9956-ffa450edef68
* add back some new codePJ Fanning2021-03-151-0/+45
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1887685 13f79535-47bb-0310-9956-ffa450edef68
* revert recent changesPJ Fanning2021-03-151-68/+30
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1887682 13f79535-47bb-0310-9956-ffa450edef68
* [bug-65184] revert due to integration test failuresPJ Fanning2021-03-141-15/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1887660 13f79535-47bb-0310-9956-ffa450edef68
* reformat filePJ Fanning2021-03-141-203/+203
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1887658 13f79535-47bb-0310-9956-ffa450edef68
* [bug-65184] Improve performance of POFSMiniStore getBlockAt. Thanks to sitsPJ Fanning2021-03-142-21/+63
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1887657 13f79535-47bb-0310-9956-ffa450edef68
* [bug-65184] Improve performance of POFSMiniStore getBlockAt. Thanks to sitsPJ Fanning2021-03-131-153/+151
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1887604 13f79535-47bb-0310-9956-ffa450edef68
* [bug-63046] Use Log4j 2 for loggingMarius Volkhart2021-02-212-7/+7
| | | | | | | | | | 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-171-1/+1
| | | | | | | constant name to match the regular expression '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$' reorder "final static" -> "static final" git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885613 13f79535-47bb-0310-9956-ffa450edef68
* Include file-name in EmptyFileExceptionDominik Stadler2021-01-061-4/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885192 13f79535-47bb-0310-9956-ffa450edef68
* Sonar fixesAndreas Beeker2020-12-262-19/+23
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884807 13f79535-47bb-0310-9956-ffa450edef68
* also handle wrapped OOXML "Package" nodes inside of OLE2 containersAndreas Beeker2020-08-141-3/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880861 13f79535-47bb-0310-9956-ffa450edef68
* 64512 - Ole10Native aka embedded / object packager - handle UTF16 variantsAndreas Beeker2020-06-113-163/+243
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1878730 13f79535-47bb-0310-9956-ffa450edef68
* [github-182] Fix root property size calculation. Thanks to netmackan. This ↵PJ Fanning2020-06-101-1/+1
| | | | | | closes #182 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1878721 13f79535-47bb-0310-9956-ffa450edef68
* Fix some IDE warnings, make lock-objects final, use generics, remove unused ↵Dominik Stadler2020-05-161-5/+0
| | | | | | allocated fields to reduce memory overhead of DocumentInputStream git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877818 13f79535-47bb-0310-9956-ffa450edef68
* #64387 - Big POIFS stream result in OOMAndreas Beeker2020-04-284-27/+46
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877144 13f79535-47bb-0310-9956-ffa450edef68
* Sonar fixesAndreas Beeker2020-04-191-7/+7
| | | | | | | | - Math operands should be cast before assignment - Suppress - Make sure that command line arguments are used safely here - Suppress - Replace this use of System.out or System.err by a logger. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876737 13f79535-47bb-0310-9956-ffa450edef68
* Sonar fixes - Ignore System.out-calls and args checks in examplesAndreas Beeker2020-04-181-188/+62
| | | | | | Remove superfluous internal methods git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876704 13f79535-47bb-0310-9956-ffa450edef68
* Replace Allocate+System.arraycopy with Array.copyOf/Range and ↵Andreas Beeker2020-04-161-42/+40
| | | | | | IOUtils.safelyClone git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876640 13f79535-47bb-0310-9956-ffa450edef68
* #64350 - Sonar fix - "Iterator.next()" methods should throw ↵Andreas Beeker2020-04-143-67/+72
| | | | | | "NoSuchElementException" git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876525 13f79535-47bb-0310-9956-ffa450edef68
* replace some calls to Collection methods with shorter/more effective versionsAxel Howind2020-02-202-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874263 13f79535-47bb-0310-9956-ffa450edef68
* Handle empty files correctly when looking for FileMagic to avoid ↵Dominik Stadler2020-01-271-2/+5
| | | | | | NegativeArraySizeException git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1873232 13f79535-47bb-0310-9956-ffa450edef68
* Sonar fixes - type: bugs / severity: majorAndreas Beeker2019-12-081-19/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1871064 13f79535-47bb-0310-9956-ffa450edef68
* Sonar fixes - use try-with-resourcesAndreas Beeker2019-11-301-7/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1870653 13f79535-47bb-0310-9956-ffa450edef68
* Replace StringBuffer with StringBuilderAndreas Beeker2019-11-292-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1870600 13f79535-47bb-0310-9956-ffa450edef68
* use zero size arg to toArray(), use Collection.addAll() (#63805, second patch)Axel Howind2019-11-171-4/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1869919 13f79535-47bb-0310-9956-ffa450edef68
* Bug 60656 - Emf image support in slideshowsAndreas Beeker2019-11-081-0/+2
| | | | | | | | - Use ImageRenderer instead of prerendered BufferedImage to achieve better rendering result - Fix extraction of EMF embeddings - Fix renderer state handling in HemfGraphics (but still not perfect) git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1869582 13f79535-47bb-0310-9956-ffa450edef68
* #60656 - EMF image support in slideshowsAndreas Beeker2019-11-011-1/+10
| | | | | | | | | | - extract option for embedded element in PPTX2PNG - minor GenericRecordJsonWriter fixes - fix EMF+ world transformations - fix initialization emf pictures, which were partly unbounded -> excessive memory consumption - change EMF+ brushes to continueable record git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1869272 13f79535-47bb-0310-9956-ffa450edef68
* fix result of multiplication cast to wider typeAlain Béarez2019-05-211-1/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1859595 13f79535-47bb-0310-9956-ffa450edef68
* FileMagic now has patterns with up to 12 bytes (JPG)Dominik Stadler2019-05-201-4/+19
| | | | | | | Avoid exception if a very short file is encountered Add more tests git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1859564 13f79535-47bb-0310-9956-ffa450edef68
* Bug 60656 - EMF image support in slideshowsAndreas Beeker2019-05-041-20/+26
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1858625 13f79535-47bb-0310-9956-ffa450edef68
* some more checks for int overflowsPJ Fanning2019-04-151-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1857609 13f79535-47bb-0310-9956-ffa450edef68
* use ArithmeticUtils for calculations that might overflowPJ Fanning2019-04-151-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1857596 13f79535-47bb-0310-9956-ffa450edef68
* use ArithmeticUtils for calculations that might overflowPJ Fanning2019-04-152-2/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1857594 13f79535-47bb-0310-9956-ffa450edef68
* Add missing license headerDominik Stadler2019-04-131-0/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1857483 13f79535-47bb-0310-9956-ffa450edef68
* [bug-63344] add TempFilePOIFSFileSystemPJ Fanning2019-04-131-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1857462 13f79535-47bb-0310-9956-ffa450edef68
* [bug-63344] add TempFilePOIFSFileSystemPJ Fanning2019-04-132-5/+42
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1857461 13f79535-47bb-0310-9956-ffa450edef68
* adjust formattingPJ Fanning2019-04-131-415/+389
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1857452 13f79535-47bb-0310-9956-ffa450edef68
* Bug 63330 -- use skipfully instead of hoping skip() worksTim Allison2019-04-101-0/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1857277 13f79535-47bb-0310-9956-ffa450edef68
* Add some more variants of HTML with preceding newline which we see frequentlyDominik Stadler2019-03-311-5/+16
| | | | | | in the large regression test corpus git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1856689 13f79535-47bb-0310-9956-ffa450edef68
* Remove more remnants of NPOIFSFileSystem, mostly in comments and variable namesDominik Stadler2019-03-192-15/+15
| | | | | | | This avoids confusion if people look at this code in the future without knowledge about the historical transition from java.io to java.nio git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1855873 13f79535-47bb-0310-9956-ffa450edef68
* Remove some remnants of NFileSystemDominik Stadler2019-02-233-13/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1854191 13f79535-47bb-0310-9956-ffa450edef68
* Adjust handling of some exceptions in regression testsDominik Stadler2019-01-271-0/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1852278 13f79535-47bb-0310-9956-ffa450edef68
* throw IllegalArgumnetException if null directory specifiedPJ Fanning2019-01-041-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1850394 13f79535-47bb-0310-9956-ffa450edef68
* Code-style: Unify how arrays are specified from C-style to normal Java-styleDominik Stadler2018-12-253-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1849716 13f79535-47bb-0310-9956-ffa450edef68
* #62951 - FileMagic not correctly identifiedAndreas Beeker2018-11-251-11/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1847429 13f79535-47bb-0310-9956-ffa450edef68
* sonar fixes - blockerAndreas Beeker2018-08-311-0/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1839745 13f79535-47bb-0310-9956-ffa450edef68
* #62649 - Remove OPOIFS* / rename NPOIFS* to POIFS*Andreas Beeker2018-08-3113-1775/+1361
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1839709 13f79535-47bb-0310-9956-ffa450edef68
* #62649 - Remove OPOIFSAndreas Beeker2018-08-2611-1800/+239
| | | | | | Fix HPSF UTF-8 encoding error with Bug52311.doc while refactoring CopyCompare/EntryUtils git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1839201 13f79535-47bb-0310-9956-ffa450edef68