Commit Graph

113 Commits

Author SHA1 Message Date
PJ Fanning 7ad1238393 [bug-65849] use Files.createTempFile
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897524 13f79535-47bb-0310-9956-ffa450edef68
2022-01-27 00:32:01 +00:00
PJ Fanning fc49da56ae [bug-65849] use Files.createTempFile
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897515 13f79535-47bb-0310-9956-ffa450edef68
2022-01-26 19:35:06 +00:00
Dominik Stadler 57e84a8a1a Fix invalid comparison and optimize construction of CellStyle objects for comparison
Fix copy/paste-errors where object are compared
with itself for "hidden" and "locked".

Integration tests showed that sometimes lots of time is
spent here, so let's try to reduce the number of calls to
getCellStyle().

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897323 13f79535-47bb-0310-9956-ffa450edef68
2022-01-22 06:58:58 +00:00
Andreas Beeker ff6984df00 remove and prevent links to stackoverflow
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896899 13f79535-47bb-0310-9956-ffa450edef68
2022-01-10 22:06:26 +00:00
PJ Fanning 075bc7021a fix switch
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896551 13f79535-47bb-0310-9956-ffa450edef68
2021-12-30 22:32:48 +00:00
PJ Fanning 4823d0cbd4 refactor CopyCompare again
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896543 13f79535-47bb-0310-9956-ffa450edef68
2021-12-30 21:09:08 +00:00
PJ Fanning 9a5dec078b rewrite CopyCompare to remove its ThreadLocal which causes a sonar code smell
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896536 13f79535-47bb-0310-9956-ffa450edef68
2021-12-30 20:02:03 +00:00
PJ Fanning 6784dd81c2 update some code based on sonar issues
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896504 13f79535-47bb-0310-9956-ffa450edef68
2021-12-29 13:08:56 +00:00
PJ Fanning d442ea645c [bug-65772] stop using deleteOnExit in DefaultTempFileCreationStrategy
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896474 13f79535-47bb-0310-9956-ffa450edef68
2021-12-28 12:36:51 +00:00
PJ Fanning 70dc07dd3b close cursors in finally blocks
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896472 13f79535-47bb-0310-9956-ffa450edef68
2021-12-28 10:51:24 +00:00
PJ Fanning fe4a3b7596 small refactor of XSSFReader
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896259 13f79535-47bb-0310-9956-ffa450edef68
2021-12-22 03:51:51 +00:00
PJ Fanning 6aea287542 some spotbugs issues
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896204 13f79535-47bb-0310-9956-ffa450edef68
2021-12-20 23:39:40 +00:00
PJ Fanning 5ed99abe8f remove log4j-core
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896198 13f79535-47bb-0310-9956-ffa450edef68
2021-12-20 19:38:23 +00:00
PJ Fanning e61dc89bff possible npes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896163 13f79535-47bb-0310-9956-ffa450edef68
2021-12-19 16:35:31 +00:00
PJ Fanning f4bb4560ed code tidy up
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896139 13f79535-47bb-0310-9956-ffa450edef68
2021-12-18 17:41:36 +00:00
PJ Fanning 74997afe6a update test assertion
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895423 13f79535-47bb-0310-9956-ffa450edef68
2021-11-30 10:11:41 +00:00
Dominik Stadler 5eb7b44d64 Add some missing JavaDoc for WorkbookFactory and ExtractorFactory
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895414 13f79535-47bb-0310-9956-ffa450edef68
2021-11-30 06:19:51 +00:00
PJ Fanning 9ed220fd75 [bug-65703] new DataFormatter method: setUse4DigitYearsInAllDateFormats - defaults to false
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895327 13f79535-47bb-0310-9956-ffa450edef68
2021-11-25 12:49:21 +00:00
PJ Fanning 5022f30c4b tidy up gradle scripts
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895321 13f79535-47bb-0310-9956-ffa450edef68
2021-11-25 10:31:50 +00:00
PJ Fanning a3f0121147 saxon test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895319 13f79535-47bb-0310-9956-ffa450edef68
2021-11-25 10:05:00 +00:00
PJ Fanning 057a85ac1e set emulateCSV mode in DataFormatter
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895315 13f79535-47bb-0310-9956-ffa450edef68
2021-11-25 06:46:04 +00:00
PJ Fanning c9ca793c44 javadoc
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895078 13f79535-47bb-0310-9956-ffa450edef68
2021-11-16 00:41:07 +00:00
Andreas Beeker 474576677b fix copy & paste package namespace
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895033 13f79535-47bb-0310-9956-ffa450edef68
2021-11-14 12:59:33 +00:00
PJ Fanning 8365ee1611 [github-278] Resolve all SpotBugs P1 issues in Main and Test. Thanks to Andreas Reichel. This closes #278
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895016 13f79535-47bb-0310-9956-ffa450edef68
2021-11-14 10:18:40 +00:00
PJ Fanning 02f36cf4fd [bug-65675] add regression test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894884 13f79535-47bb-0310-9956-ffa450edef68
2021-11-09 19:45:03 +00:00
PJ Fanning 171b6883f5 compile issue
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894688 13f79535-47bb-0310-9956-ffa450edef68
2021-11-02 15:03:42 +00:00
PJ Fanning f3d36d5271 use package revert due to new warning log about using revert
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894687 13f79535-47bb-0310-9956-ffa450edef68
2021-11-02 14:50:47 +00:00
PJ Fanning 90b8a0c36d try to add LICENSE and NOTICE to sources jars
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894565 13f79535-47bb-0310-9956-ffa450edef68
2021-10-25 22:50:03 +00:00
PJ Fanning e66486bc8a try to add LICENSE and NOTICE to javadoc jars
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894564 13f79535-47bb-0310-9956-ffa450edef68
2021-10-25 22:29:10 +00:00
PJ Fanning 5d79f841bb remove finalizer
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894490 13f79535-47bb-0310-9956-ffa450edef68
2021-10-22 18:09:26 +00:00
PJ Fanning 9fe3944e8e get proper xmlbeans 5.0.2 release
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894428 13f79535-47bb-0310-9956-ffa450edef68
2021-10-20 23:54:34 +00:00
Andreas Beeker 3c3154ea8c sonar fixes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894365 13f79535-47bb-0310-9956-ffa450edef68
2021-10-18 22:35:17 +00:00
Andreas Beeker 611f5273fd sonar fixes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894360 13f79535-47bb-0310-9956-ffa450edef68
2021-10-18 17:40:47 +00:00
Andreas Beeker 87a764956c sonar fixes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894331 13f79535-47bb-0310-9956-ffa450edef68
2021-10-17 20:44:36 +00:00
PJ Fanning 4b97b12712 xmlbeans 5.0.2 (temporarily from a pre-release location)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894211 13f79535-47bb-0310-9956-ffa450edef68
2021-10-13 21:27:32 +00:00
PJ Fanning a41aece5d3 [bug-65613] experimental SXSSF writeAvoidingTempFiles
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893900 13f79535-47bb-0310-9956-ffa450edef68
2021-10-04 21:56:18 +00:00
PJ Fanning c167c13df9 [bug-65613] experimental SXSSF writeAvoidingTempFiles
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893899 13f79535-47bb-0310-9956-ffa450edef68
2021-10-04 21:55:39 +00:00
PJ Fanning bf37257193 pointless instanceof
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893848 13f79535-47bb-0310-9956-ffa450edef68
2021-10-03 09:44:30 +00:00
Marius Volkhart 45f94fe29d Fix expected/actual order in assertEquals
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893781 13f79535-47bb-0310-9956-ffa450edef68
2021-10-01 12:31:09 +00:00
PJ Fanning 8334fb6cbd use https
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893673 13f79535-47bb-0310-9956-ffa450edef68
2021-09-27 11:34:18 +00:00
PJ Fanning 4fbadb0cfd tabs to spaces
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893576 13f79535-47bb-0310-9956-ffa450edef68
2021-09-23 19:03:06 +00:00
PJ Fanning b0f74ee213 javadoc change
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893510 13f79535-47bb-0310-9956-ffa450edef68
2021-09-22 08:47:37 +00:00
Andreas Beeker 596db31170 XmlSec/BouncyCastle and Batik are now optional
disable SonarQube build based on ant
remove sonar and maven directory, because POMs are now created via Gradle
remove maven section from seed-build

fix duplicated maven dependencies on POM export

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893289 13f79535-47bb-0310-9956-ffa450edef68
2021-09-12 20:31:43 +00:00
PJ Fanning 387ae17bc5 still hacking the build
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892941 13f79535-47bb-0310-9956-ffa450edef68
2021-09-05 15:02:44 +00:00
PJ Fanning bd9a10a153 still hacking the build
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892937 13f79535-47bb-0310-9956-ffa450edef68
2021-09-05 14:00:21 +00:00
PJ Fanning 23fe7998e1 still hacking the build
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892936 13f79535-47bb-0310-9956-ffa450edef68
2021-09-05 13:56:30 +00:00
PJ Fanning 76b270ca64 try not to have poi-integration in pom
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892931 13f79535-47bb-0310-9956-ffa450edef68
2021-09-05 11:39:41 +00:00
Andreas Beeker 1eace7a0c4 update module-info.classes for next release
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892829 13f79535-47bb-0310-9956-ffa450edef68
2021-09-02 20:47:20 +00:00
Andreas Beeker 5c6493a5fc try to fix no-scratchpad build
remove or set-to-static scratchpad dependency from modules

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892795 13f79535-47bb-0310-9956-ffa450edef68
2021-09-01 22:32:48 +00:00
Andreas Beeker f71cebcce5 sonar fixes
close resources in tests
fix gradle warnings

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892683 13f79535-47bb-0310-9956-ffa450edef68
2021-08-28 23:48:48 +00:00
PJ Fanning cceb910254 update docs about deferred SXSSF and limitations on what can be done in row generating function
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1891937 13f79535-47bb-0310-9956-ffa450edef68
2021-07-31 21:20:33 +00:00
PJ Fanning a6b9f5c006 update stress.xls
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1891729 13f79535-47bb-0310-9956-ffa450edef68
2021-07-22 17:23:00 +00:00
PJ Fanning 99a463c300 fix spelling
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1891715 13f79535-47bb-0310-9956-ffa450edef68
2021-07-22 12:42:42 +00:00
PJ Fanning 4abda38ceb add extra output to example
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1891714 13f79535-47bb-0310-9956-ffa450edef68
2021-07-22 12:36:39 +00:00
PJ Fanning 21dc03f9a7 use xmlbeans 5.0.0 in ant build due to build issues
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1891475 13f79535-47bb-0310-9956-ffa450edef68
2021-07-12 09:02:00 +00:00
PJ Fanning 95279ea034 convert tabs to spaces
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1890117 13f79535-47bb-0310-9956-ffa450edef68
2021-05-22 20:03:17 +00:00
Andreas Beeker f21019db12 add forbidden-apis plugin to gradle builds
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1890090 13f79535-47bb-0310-9956-ffa450edef68
2021-05-21 22:32:09 +00:00
Andreas Beeker 7eaca60a1a activate javadoc lint and fix errors
add signing and checksum generation
add slf4j-bridge for tests
add dependencies to ooxml-lite
fix complex enum classes
add override annotations
move gradle logic to root build
generate javadoc in its own dist directory, because JPMS complains about duplicate modules otherwise

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1890089 13f79535-47bb-0310-9956-ffa450edef68
2021-05-21 21:22:40 +00:00
Andreas Beeker 0614835c55 #65304 - Add commons-io as a dependency
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889871 13f79535-47bb-0310-9956-ffa450edef68
2021-05-14 00:37:50 +00:00
Dominik Stadler 41ff8bb20c Start moving some bits to the main Gradle file
Use a common definition of some constants
Gradle plugins are in the main file already anyway

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889839 13f79535-47bb-0310-9956-ffa450edef68
2021-05-13 12:11:35 +00:00
Andreas Beeker bb5d321b79 fix javadocs - remove @author tags (http://apache-poi.1045710.n5.nabble.com/Javadocs-clean-up-remove-author-tags-tp5737663.html)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888780 13f79535-47bb-0310-9956-ffa450edef68
2021-04-14 22:53:33 +00:00
Andreas Beeker 0f3bf7e37f fix merge problem
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888489 13f79535-47bb-0310-9956-ffa450edef68
2021-04-07 21:48:05 +00:00
Andreas Beeker b6aee1ef6d 65206 - Migrate ant / maven to gradle build
compile / jar / test of mrJars
don't include ants build.xml anymore
rename directories to match project and maven artifact names
refactor artifacts - so each project has one artifact
replace static references in hssf/dev tests with junit5 constructs, which had problems in parallel tests
increase gradle heap to 4gb because of OOM - maybe less would also work

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888488 13f79535-47bb-0310-9956-ffa450edef68
2021-04-07 21:40:33 +00:00