aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/poi/hpsf
Commit message (Collapse)AuthorAgeFilesLines
* 65206 - Migrate ant / maven to gradle buildAndreas Beeker2021-03-2747-9234/+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
* Streamline HPSF CustomProperties collection retrievalMarius Volkhart2021-03-101-7/+5
| | | | | | Reduce the number of map lookups necessary to compute the return values for methods that return collections of property details. Since we maintain parity between the `props` and `dictionary` contents, when retrieving property details, we can reference the `props` directly and avoid the `dictionary` indirection. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1887453 13f79535-47bb-0310-9956-ffa450edef68
* [bug-63046] Use Log4j 2 for loggingMarius Volkhart2021-02-219-71/+70
| | | | | | | | | | 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-173-4/+4
| | | | | | | 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
* avoid string concatsPJ Fanning2020-12-171-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884572 13f79535-47bb-0310-9956-ffa450edef68
* remove more deprecated codePJ Fanning2020-12-091-60/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884263 13f79535-47bb-0310-9956-ffa450edef68
* #64411 - Provide JigSaw modulesAndreas Beeker2020-08-131-17/+30
| | | | | | - 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
* remove some more deprecated codePJ Fanning2020-06-282-74/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879298 13f79535-47bb-0310-9956-ffa450edef68
* next version will be 5.0.0PJ Fanning2020-05-171-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877872 13f79535-47bb-0310-9956-ffa450edef68
* Fix some IDE warnings, make lock-objects final, use generics, remove unused ↵Dominik Stadler2020-05-161-2/+1
| | | | | | 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
* Sonar fixesAndreas Beeker2020-04-192-2/+2
| | | | | | | | - 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-182-29/+15
| | | | | | 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-8/+5
| | | | | | IOUtils.safelyClone git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876640 13f79535-47bb-0310-9956-ffa450edef68
* #63745 - Add traversing and debugging interface to HSSFAndreas Beeker2020-04-121-1/+10
| | | | | | | | | | This makes toString() implementations obsolete. This also contains preparation for #64036 to (maybe) change the record factory interface of HSSF. Remove duplicated record SeriesToChartGroupRecord, which is a duplicate of SeriesChartGroupIndexRecord. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876433 13f79535-47bb-0310-9956-ffa450edef68
* Sonar fixes - String literals should not be duplicatedAndreas Beeker2020-04-051-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876163 13f79535-47bb-0310-9956-ffa450edef68
* Sonar Fixes - "static" base class members should not be accessed via derived ↵Andreas Beeker2020-04-021-10/+10
| | | | | | types git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876067 13f79535-47bb-0310-9956-ffa450edef68
* Get UUID from ClassIDAndreas Beeker2020-03-081-7/+29
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874989 13f79535-47bb-0310-9956-ffa450edef68
* Sonar fixesAndreas Beeker2020-02-251-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874530 13f79535-47bb-0310-9956-ffa450edef68
* findbugs fixes and refactor some ClassIDsAndreas Beeker2020-01-074-110/+106
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872473 13f79535-47bb-0310-9956-ffa450edef68
* Replace internal GUID class with ClassIDAndreas Beeker2019-12-242-29/+69
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1871944 13f79535-47bb-0310-9956-ffa450edef68
* Replace custom hashCode code with Objects.hash() / Arrays.deepHashCode()Andreas Beeker2019-12-233-35/+25
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1871913 13f79535-47bb-0310-9956-ffa450edef68
* change package.html to package-info.javaAndreas Beeker2019-12-014-218/+89
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1870655 13f79535-47bb-0310-9956-ffa450edef68
* use zero size arg to toArray(), use Collection.addAll() (#63805, second patch)Axel Howind2019-11-171-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1869919 13f79535-47bb-0310-9956-ffa450edef68
* Remove references to DatatypeConverterAndreas Beeker2019-10-251-6/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1868953 13f79535-47bb-0310-9956-ffa450edef68
* #63818 - Allow multiple charsets for same font typefaceAndreas Beeker2019-10-121-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1868358 13f79535-47bb-0310-9956-ffa450edef68
* bumping minimum record length based on user feedback on tika-dev listTim Allison2019-10-101-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1868211 13f79535-47bb-0310-9956-ffa450edef68
* try to avoid casting to intPJ Fanning2019-09-141-8/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1866933 13f79535-47bb-0310-9956-ffa450edef68
* fix missing space in string literal (LGTM)Alain Béarez2019-05-211-6/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1859596 13f79535-47bb-0310-9956-ffa450edef68
* some javadoc issuesPJ Fanning2019-03-201-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1855954 13f79535-47bb-0310-9956-ffa450edef68
* JavaDoc fixes/additions and some IDE warnings removedDominik Stadler2018-12-251-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1849718 13f79535-47bb-0310-9956-ffa450edef68
* Code-style: Unify how arrays are specified from C-style to normal Java-styleDominik Stadler2018-12-252-44/+44
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1849716 13f79535-47bb-0310-9956-ffa450edef68
* Add test for FileMagicDominik Stadler2018-11-252-2/+7
| | | | | | | | JavaDoc warning fixes Remove some IDE warnings Reformat code of sample application git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1847437 13f79535-47bb-0310-9956-ffa450edef68
* Remove JavaDoc warningsDominik Stadler2018-11-011-4/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1845435 13f79535-47bb-0310-9956-ffa450edef68
* #62649 - Remove OPOIFS* / rename NPOIFS* to POIFS*Andreas Beeker2018-08-312-12/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1839709 13f79535-47bb-0310-9956-ffa450edef68
* #62649 - Remove OPOIFSAndreas Beeker2018-08-264-149/+148
| | | | | | 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
* #62451 - Document last printed in the year 27321Andreas Beeker2018-06-171-45/+41
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1833668 13f79535-47bb-0310-9956-ffa450edef68
* sonar fixesAndreas Beeker2018-06-021-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1832748 13f79535-47bb-0310-9956-ffa450edef68
* #62355 - unsplit packages - 4 - open HPSFAndreas Beeker2018-05-2715-81/+63
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1832361 13f79535-47bb-0310-9956-ffa450edef68
* #62355 - unsplit packages - 3 - only importsAndreas Beeker2018-05-271-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1832360 13f79535-47bb-0310-9956-ffa450edef68
* #59893 - Forbid calls to InputStream.availableAndreas Beeker2018-04-271-4/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1830400 13f79535-47bb-0310-9956-ffa450edef68
* #61940 - Replace ClassID statics with enumAndreas Beeker2017-12-312-37/+188
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1819705 13f79535-47bb-0310-9956-ffa450edef68
* #61809 - Infinite loop in SectionIDMap.get() and .put()Andreas Beeker2017-11-247-140/+74
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1816205 13f79535-47bb-0310-9956-ffa450edef68
* replace "".equals(string) with string.isEmpty() to avoid null strings ↵Javen O'Neal2017-10-181-1/+1
| | | | | | silently evaluating to false; most code should probably check string for null if it is not already git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1812476 13f79535-47bb-0310-9956-ffa450edef68
* Fix some findbugs-issues and apply some code-cleanup and apply some smaller ↵Dominik Stadler2017-10-131-1/+1
| | | | | | | | pull requests. This closes #74, This closes #75, This closes #76 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1812097 13f79535-47bb-0310-9956-ffa450edef68
* Remove "filling" in IntList as this has no effect whatsoever as far as I ↵Dominik Stadler2017-10-113-22/+12
| | | | | | | | could see Fix some IntelliJ warnings, missing JavaDoc, typos, Findbugs issues git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1811793 13f79535-47bb-0310-9956-ffa450edef68
* Bug 61349 -- add more sanity checks when allocating byte[]Tim Allison2017-09-216-7/+30
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1809169 13f79535-47bb-0310-9956-ffa450edef68
* remove some deprecated code slated for removal in 3.18PJ Fanning2017-09-161-195/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808535 13f79535-47bb-0310-9956-ffa450edef68
* Fix some warningsDominik Stadler2017-09-161-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808519 13f79535-47bb-0310-9956-ffa450edef68
* Remove unnecessary local variablesDominik Stadler2017-09-164-11/+5
| | | | 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-1610-20/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808516 13f79535-47bb-0310-9956-ffa450edef68