aboutsummaryrefslogtreecommitdiffstats
path: root/src/resources/devtools
Commit message (Collapse)AuthorAgeFilesLines
* code tidy upPJ Fanning2021-12-181-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896139 13f79535-47bb-0310-9956-ffa450edef68
* [bug-65678] add XSLFGraphicFrame hasDiagramPJ Fanning2021-11-111-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894962 13f79535-47bb-0310-9956-ffa450edef68
* Add some more forbidden-apis to prefer core JDK classes over Guava and ↵Dominik Stadler2021-11-071-2/+31
| | | | | | | | commons-codec Also prevent java logging from being used inadvertently git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894810 13f79535-47bb-0310-9956-ffa450edef68
* #64876 - Unable to convert pptx to pdfAndreas Beeker2020-12-171-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884578 13f79535-47bb-0310-9956-ffa450edef68
* #64693 - POI HwmfGraphics cannot read the embedded document titleAndreas Beeker2020-08-301-1/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1881322 13f79535-47bb-0310-9956-ffa450edef68
* Activate Forbidden-Apis-Check also for other testsAndreas Beeker2020-08-171-1/+1
| | | | | | | Max supported Java version is currently Java 14 Fix the check failures git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880944 13f79535-47bb-0310-9956-ffa450edef68
* #64036 - Replace reflection calls in factories for Java 9+Andreas Beeker2020-08-161-1/+4
| | | | | | | ImageRenderer implementation are now loaded via ServiceLoader fixed the ServiceLoader.load invocations to pass a sensible ClassLoader as OSGi preparation git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880909 13f79535-47bb-0310-9956-ffa450edef68
* use the forbidden-apis policies corresponding to the JREAndreas Beeker2020-08-151-3/+3
| | | | | | fix the forbidden apis issues git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880866 13f79535-47bb-0310-9956-ffa450edef68
* Remove references to DatatypeConverterAndreas Beeker2019-10-251-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1868953 13f79535-47bb-0310-9956-ffa450edef68
* add stax entries to forbidden apis due to android issuesPJ Fanning2018-10-061-0/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1843009 13f79535-47bb-0310-9956-ffa450edef68
* #62564 - replace Thread.currentThread().getContextClassLoader() with ↵Andreas Beeker2018-07-241-2/+3
| | | | | | getClass().getClassLoader() git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1836590 13f79535-47bb-0310-9956-ffa450edef68
* #59893 - Forbid calls to InputStream.availableAndreas Beeker2018-04-271-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1830400 13f79535-47bb-0310-9956-ffa450edef68
* add forbidden api checks for non-Locale toLowerCase and toUpperCasePJ Fanning2017-11-211-2/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1815994 13f79535-47bb-0310-9956-ffa450edef68
* add forbidden api checks for non-Locale toLowerCase and toUpperCasePJ Fanning2017-11-211-4/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1815989 13f79535-47bb-0310-9956-ffa450edef68
* eventually we want to forbid StringBuffer usageJaven O'Neal2017-10-311-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1813875 13f79535-47bb-0310-9956-ffa450edef68
* github-79: add String.toString() to forbidden API'sJaven O'Neal2017-10-161-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1812239 13f79535-47bb-0310-9956-ffa450edef68
* Fix some findbugs-issues and apply some code-cleanup and apply some smaller ↵Dominik Stadler2017-10-131-0/+7
| | | | | | | | 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
* Fix some compilation warningsDominik Stadler2016-12-301-0/+1
| | | | | | | | Update Javadoc Reformat code somewhat Supress IntelliJ warnings in findbugs-filters.xml git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1776645 13f79535-47bb-0310-9956-ffa450edef68
* bug 59781: ignore duplicate HSSF PaneInformation, which now shadows the ↵Javen O'Neal2016-07-021-1/+3
| | | | | | Common SS version. The HSSF version has been deprecated and will be deleted after 2 releases git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1751081 13f79535-47bb-0310-9956-ffa450edef68
* findbugs: fix SF_SWITCH_FALLTHROUGH warningsJaven O'Neal2016-06-131-0/+34
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1748088 13f79535-47bb-0310-9956-ffa450edef68
* findbugs: fix URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD and UUF_UNUSED_FIELD warningsJaven O'Neal2016-06-131-0/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1748086 13f79535-47bb-0310-9956-ffa450edef68
* findbugs: fix URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD warningsJaven O'Neal2016-06-131-0/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1748085 13f79535-47bb-0310-9956-ffa450edef68
* findbugs: fix URF_UNREAD_FIELD warningsJaven O'Neal2016-06-131-7/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1748084 13f79535-47bb-0310-9956-ffa450edef68
* consolidate findbugs filters using Or logicJaven O'Neal2016-06-131-56/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1748081 13f79535-47bb-0310-9956-ffa450edef68
* fix findbugs issuesJaven O'Neal2016-06-131-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1748080 13f79535-47bb-0310-9956-ffa450edef68
* ignore invalid performance issues - e.g. see #57840Andreas Beeker2016-06-121-0/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1747947 13f79535-47bb-0310-9956-ffa450edef68
* +props svn:eol-style nativeJaven O'Neal2016-06-111-88/+88
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1747846 13f79535-47bb-0310-9956-ffa450edef68
* Upgrade to FindBugs 3.0.1 and add some findbugs-excludesDominik Stadler2016-05-242-4/+60
| | | | | | | Update to forbiddenapi-checker 2.1, use the newly provided rule-sets and remove things that were applied upstream git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1745366 13f79535-47bb-0310-9956-ffa450edef68
* Findbugs fixesDominik Stadler2016-03-121-0/+5
| | | | | | | | OldExcelExtractor could leak file handles in case of exceptions Free file handles in POIFSDump, add unit-test for POIFSDump Add a Findbugs exclude and adjust findbugs-ant slightly git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1734689 13f79535-47bb-0310-9956-ffa450edef68
* add other printStackTrace methods to forbidden-apis-checkAndreas Beeker2016-01-101-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1723960 13f79535-47bb-0310-9956-ffa450edef68
* replace Throwable.printStackTrace() with POILogger calls - Todo: other ↵Andreas Beeker2016-01-101-2/+3
| | | | | | printStrackTrace(...) calls git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1723899 13f79535-47bb-0310-9956-ffa450edef68
* fix forbidden apis issuesAndreas Beeker2015-12-131-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1719778 13f79535-47bb-0310-9956-ffa450edef68
* Add some additional rules for the forbidden-apis-check borrowed from ↵Dominik Stadler2015-12-022-0/+110
| | | | | | Elasticsearch, also add a separate signature file with more rules for the 'prod' code and fix two newly found issues git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1717689 13f79535-47bb-0310-9956-ffa450edef68
* close resourcesAndreas Beeker2015-11-291-0/+3
| | | | | | fix a few eclipse warnings git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1717077 13f79535-47bb-0310-9956-ffa450edef68
* Fix remaining security manager problems. Forbiddenapis now passes.Uwe Schindler2015-11-111-4/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1713915 13f79535-47bb-0310-9956-ffa450edef68
* Tried to add excelant to forbidden-apis-check, but failed due to issue #82 ↵Dominik Stadler2015-11-081-4/+10
| | | | | | in forbidden-api-checks tool. List more pathes that we still not include. Add description to custom forbidden-api-checks and add commented out checks for reflectoin as discussed in bug 58597 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1713218 13f79535-47bb-0310-9956-ffa450edef68
* fixes sonar/findbugs issuesAndreas Beeker2015-11-021-1/+2
| | | | | | add Date.toString() to forbidden-apis and fix occurrences git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1712181 13f79535-47bb-0310-9956-ffa450edef68
* Import poi-visio codebaseDustin Spicuzza2015-10-191-0/+45
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1709354 13f79535-47bb-0310-9956-ffa450edef68
* Bug 58326 - Forbidden APIs patches - first set of changes for locale and ↵Andreas Beeker2015-09-071-0/+25
| | | | | | | | | | | | | | | | | | | | | | | | | timezone settings also includes fixes for - name shadowing - unused deprecated method "getClipRect" in classes extending Graphics2d - HexDump - replaced intermediate String.format calls with custom padding - convert testcases to junit4 - closing resources also tested with an arbitary timezone (PST) and locale (ru) supresses forbidden apis check for - LocaleUtil (the only place where Locale.getDefault() and TimeZone.getDefault() should be called) - Classes using FontMetrics - without the actual text it's difficult to return something sane Some usage of UTC and Locale.ROOT might be still wrong, e.g. in MapiMessage we don't access the extended mapi properties, which might contain the timezone DataFormatter has now a Observable property which need to be observed when custom formats are used and the Locale changes git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1701688 13f79535-47bb-0310-9956-ffa450edef68
* FindBugs fixAndreas Beeker2014-02-161-1/+1
| | | | | | | - fixed "Equals method should not assume anything about the type of its argument" - see http://findbugs.sourceforge.net/bugDescriptions.html#BC_EQUALS_METHOD_SHOULD_WORK_FOR_ALL_OBJECTS git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1568861 13f79535-47bb-0310-9956-ffa450edef68
* FindBugs fixAndreas Beeker2014-02-131-3/+3
| | | | | | | | - fixed "Field isn't final but should be" - see http://findbugs.sourceforge.net/bugDescriptions.html#MS_SHOULD_BE_FINAL git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1568145 13f79535-47bb-0310-9956-ffa450edef68
* disable not applicable findbugs checkAndreas Beeker2014-02-131-0/+24
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1567815 13f79535-47bb-0310-9956-ffa450edef68
* Add standard licence header for src/resources directoryMark Thomas2007-01-152-0/+30
| | | | git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@496531 13f79535-47bb-0310-9956-ffa450edef68
* update jindent fileAvik Sengupta2007-01-021-54/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@491759 13f79535-47bb-0310-9956-ffa450edef68
* Removed runtime dependency from commons logging.Nicola Ken Barozzi2002-06-112-0/+12
| | | | | | | | | | | | | Now the PoiLogFactory will try to create a logger using the System property named "org.apache.poi.util.POILogger". If it fails, the NullLogger is used. There is also a basic SystemOutLogger and the former CommonsLogger. Haven't checked the code that much, but it compiles and POI works. git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352672 13f79535-47bb-0310-9956-ffa450edef68
* To make thing easier for users, I've changed now the default properties of ↵Nicola Ken Barozzi2002-03-181-0/+31
| | | | | | | | | log4j to output to null even when jog4j is present. To override, one can use commoms logging env variables or simply replace src/java/log4j.properties with the one in src/resources/devtools, that works as usual for developers. git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352244 13f79535-47bb-0310-9956-ffa450edef68
* Make POI use commons.logging, make log4j optional and clean structure to ↵Nicola Ken Barozzi2002-03-141-0/+319
comply with, and use, Krysalis Centipede 2.0.1. git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352212 13f79535-47bb-0310-9956-ffa450edef68