aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/poi/poifs/macros/VBAMacroReader.java
Commit message (Collapse)AuthorAgeFilesLines
* 65206 - Migrate ant / maven to gradle buildAndreas Beeker2021-03-271-834/+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
* [bug-63046] Use Log4j 2 for loggingMarius Volkhart2021-02-211-10/+9
| | | | | | | | | | 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 fixes - a few "Try-with-resources should be used"Andreas Beeker2020-10-241-29/+23
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882820 13f79535-47bb-0310-9956-ffa450edef68
* Bug 63330 -- use skipfully instead of hoping skip() worksTim Allison2019-04-101-4/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1857277 13f79535-47bb-0310-9956-ffa450edef68
* Remove more remnants of NPOIFSFileSystem, mostly in comments and variable namesDominik Stadler2019-03-191-1/+1
| | | | | | | 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
* bug 62624 -- further cleanupTim Allison2018-11-011-29/+27
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1845511 13f79535-47bb-0310-9956-ffa450edef68
* bug 62624 -- ensure streams are closed...thanks to LGTM, and PJ!Tim Allison2018-10-311-6/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1845300 13f79535-47bb-0310-9956-ffa450edef68
* bug 62624 -- fix loop identified as dodgy by FindBugs; add a other sanity ↵Tim Allison2018-10-311-26/+34
| | | | | | checks. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1845299 13f79535-47bb-0310-9956-ffa450edef68
* bug 62624 -- fix recursionTim Allison2018-10-301-14/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1845284 13f79535-47bb-0310-9956-ffa450edef68
* bug 62625 -- clean up importsTim Allison2018-10-301-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1845246 13f79535-47bb-0310-9956-ffa450edef68
* bug 62625 -- add special handling for REFERENCE_NAME record that may onlyTim Allison2018-10-301-4/+51
| | | | | | contain an ascii string, against the spec in VBAMacroReader git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1845238 13f79535-47bb-0310-9956-ffa450edef68
* bug 62624 -- fix npe by adding processing of module name mapping in ↵Tim Allison2018-10-291-16/+143
| | | | | | VBAMacroReader git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1845138 13f79535-47bb-0310-9956-ffa450edef68
* #62649 - Remove OPOIFS* / rename NPOIFS* to POIFS*Andreas Beeker2018-08-311-6/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1839709 13f79535-47bb-0310-9956-ffa450edef68
* bug 62608 -- avoid ioobe in VBAMacroReaderTim Allison2018-08-081-3/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1837664 13f79535-47bb-0310-9956-ffa450edef68
* use try with resourcesPJ Fanning2018-06-071-15/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1833096 13f79535-47bb-0310-9956-ffa450edef68
* Apply patch from bug 61096: Add support for modules in VBAMacroReaderDominik Stadler2017-10-071-42/+87
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1811383 13f79535-47bb-0310-9956-ffa450edef68
* Remove unnecessary type arguments (Java 8)Dominik Stadler2017-09-161-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808516 13f79535-47bb-0310-9956-ffa450edef68
* Update third party libs to latest versionsDominik Stadler2017-09-151-0/+1
| | | | | | | Start updating build to Java 8 Set version to 4.0-beta1 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808472 13f79535-47bb-0310-9956-ffa450edef68
* 60279 -- back off to brute-force search for macro content if offset ↵Tim Allison2017-09-141-105/+361
| | | | | | information is not correct git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808301 13f79535-47bb-0310-9956-ffa450edef68
* #61381 - PushbackInputStreams passed to ZipHelper may not hold 8 bytesAndreas Beeker2017-08-111-8/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1804854 13f79535-47bb-0310-9956-ffa450edef68
* BUG-59302 --add minimal support for VBAMacro extraction to HSLF; credit to ↵Tim Allison2016-10-191-1/+8
| | | | | | Andreas Beeker for this patch. Problems are mine. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1765696 13f79535-47bb-0310-9956-ffa450edef68
* Fix some IDE warnings/javadoc/...Dominik Stadler2016-10-191-9/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1765538 13f79535-47bb-0310-9956-ffa450edef68
* add data type to UTF_16LEJaven O'Neal2016-10-191-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1765529 13f79535-47bb-0310-9956-ffa450edef68
* remove java.nio.charset.StandardCharsets which is not available until Java 7Javen O'Neal2016-10-191-2/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1765528 13f79535-47bb-0310-9956-ffa450edef68
* BUG 60273 -- Use codepageutil to get correct charset in VBAMacroReaderTim Allison2016-10-181-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1765490 13f79535-47bb-0310-9956-ffa450edef68
* BUG 59858 -- avoid npe when there's a collision of record namesTim Allison2016-10-181-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1765479 13f79535-47bb-0310-9956-ffa450edef68
* BUG 59830 -- incorrect reading of unicode stream nameTim Allison2016-10-181-0/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1765468 13f79535-47bb-0310-9956-ffa450edef68
* BUG 60158 -- AIOOBE in VBAMacroReaderTim Allison2016-10-181-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1765433 13f79535-47bb-0310-9956-ffa450edef68
* bug 59858: describe why VBA macro reading failedJaven O'Neal2016-07-151-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1752778 13f79535-47bb-0310-9956-ffa450edef68
* bug 52949,59830: move module storage and decompressing into a standalone ↵Javen O'Neal2016-07-091-31/+36
| | | | | | function git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1751990 13f79535-47bb-0310-9956-ffa450edef68
* bug 52949,59830: move module storage and decompressing into a standalone ↵Javen O'Neal2016-07-091-15/+34
| | | | | | function git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1751987 13f79535-47bb-0310-9956-ffa450edef68
* bug 59830: attach context to any IOException (likely a result of reaching ↵Javen O'Neal2016-07-091-44/+69
| | | | | | EOF on input stream) git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1751986 13f79535-47bb-0310-9956-ffa450edef68
* bug 59830: add context to why no more bytes could be read from input streamJaven O'Neal2016-07-091-1/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1751982 13f79535-47bb-0310-9956-ffa450edef68
* findbugs: DocumentInputStream.skip(long) result not checked; close ↵Javen O'Neal2016-07-021-61/+69
| | | | | | DocumentInputStream even if exception is thrown git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1751020 13f79535-47bb-0310-9956-ffa450edef68
* whitespace and +svn:eol-style=nativeJaven O'Neal2016-07-021-243/+243
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1751019 13f79535-47bb-0310-9956-ffa450edef68
* fix javadocs and findbugs warningsJaven O'Neal2016-04-121-7/+32
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1738674 13f79535-47bb-0310-9956-ffa450edef68
* bug 52949: add VBAMacroReader unit tests for H/XSLF, H/XWPF, and HGDF; OLE ↵Javen O'Neal2016-04-111-8/+35
| | | | | | directories as case-insensitive git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1738513 13f79535-47bb-0310-9956-ffa450edef68
* Javadoc tweaksNick Burch2016-04-101-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1738431 13f79535-47bb-0310-9956-ffa450edef68
* Unit test for VBA macro reading #52949Nick Burch2016-04-101-105/+123
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1738427 13f79535-47bb-0310-9956-ffa450edef68
* Start to refactor VBAMacroExtractor into a more general classNick Burch2016-04-101-0/+199
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1738423 13f79535-47bb-0310-9956-ffa450edef68