Commit Graph

11651 Commits

Author SHA1 Message Date
Dominik Stadler 416562daa5 Avoid log-spam when using SXSSFWorkbook with auto-sizing
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897324 13f79535-47bb-0310-9956-ffa450edef68
2022-01-22 06:59:03 +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
Dominik Stadler 2e9bb3e543 Adjust one more version-number in the osgi-pom.xml
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897322 13f79535-47bb-0310-9956-ffa450edef68
2022-01-22 06:58:54 +00:00
Dominik Stadler 9a0933b04e Introduce an OldVisioFormatException similar to other file-types
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897321 13f79535-47bb-0310-9956-ffa450edef68
2022-01-22 06:58:51 +00:00
Dominik Stadler 16a24ecd79 Improve error-message, include some details why processing the file fails
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897320 13f79535-47bb-0310-9956-ffa450edef68
2022-01-22 06:58:47 +00:00
Dominik Stadler 7283d7ed64 Make all text-extractors always return a non-null String
This changes the expected exception of some test-files

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897319 13f79535-47bb-0310-9956-ffa450edef68
2022-01-22 06:58:43 +00:00
Dominik Stadler 8f1c84c3fa Avoid stackoverflow exception that can be caused by a corrupted slideshow file
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897318 13f79535-47bb-0310-9956-ffa450edef68
2022-01-22 06:58:39 +00:00
Dominik Stadler 53599d84a7 Add test-dependency on slf4j-simple to include all logs in captured test-output
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897317 13f79535-47bb-0310-9956-ffa450edef68
2022-01-22 06:58:34 +00:00
PJ Fanning 68ce022531 [github-296] cache data of external workbook. Thanks to aspojo. This closes #296
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897311 13f79535-47bb-0310-9956-ffa450edef68
2022-01-21 19:43:10 +00:00
PJ Fanning 78deb9874e curvesapi 1.07
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897180 13f79535-47bb-0310-9956-ffa450edef68
2022-01-18 19:26:47 +00:00
PJ Fanning f2d37da8fc remove use of deprecated commons-math methods
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897138 13f79535-47bb-0310-9956-ffa450edef68
2022-01-17 00:58:27 +00:00
PJ Fanning a729b3c7e8 unused import
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897137 13f79535-47bb-0310-9956-ffa450edef68
2022-01-17 00:14:50 +00:00
PJ Fanning 2e818b0276 snapshot version
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897119 13f79535-47bb-0310-9956-ffa450edef68
2022-01-16 11:15:20 +00:00
PJ Fanning 66e16a8957 [bug-65792] change way multiply and divide are calculated due to rounding issues
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897066 13f79535-47bb-0310-9956-ffa450edef68
2022-01-15 00:35:18 +00:00
PJ Fanning 50db37510d POI 5.2.0 release
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897058 13f79535-47bb-0310-9956-ffa450edef68
2022-01-14 23:16:44 +00:00
PJ Fanning 45d042d0c1 remove log4j-core dependency
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897038 13f79535-47bb-0310-9956-ffa450edef68
2022-01-14 15:15:01 +00:00
PJ Fanning 6e92ba3c57 upgrade woodstox
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897032 13f79535-47bb-0310-9956-ffa450edef68
2022-01-14 13:07:09 +00:00
PJ Fanning d2d0c8fe65 slf4j 1.7.33
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897002 13f79535-47bb-0310-9956-ffa450edef68
2022-01-13 15:23:23 +00:00
PJ Fanning 278592857b slf4j 1.7.33
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897000 13f79535-47bb-0310-9956-ffa450edef68
2022-01-13 15:22:10 +00:00
PJ Fanning 45770bd549 update docs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896923 13f79535-47bb-0310-9956-ffa450edef68
2022-01-11 19:43:04 +00:00
PJ Fanning 87e4872a27 add removal version
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896909 13f79535-47bb-0310-9956-ffa450edef68
2022-01-11 11:43:42 +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
Axel Howind 78f7decf00 Bug 65796: License violation in PICT.java
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896887 13f79535-47bb-0310-9956-ffa450edef68
2022-01-10 14:37:13 +00:00
Andreas Beeker 1533af4f1d activate xmlbeans sonarqube
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896837 13f79535-47bb-0310-9956-ffa450edef68
2022-01-08 18:22:12 +00:00
Dominik Stadler f331af5a52 Increase new limits for files processed in the mass-regression-tests
Some valid test-files do trigger these limits, which indicates that
we should set them a bit higher

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896745 13f79535-47bb-0310-9956-ffa450edef68
2022-01-06 11:10:33 +00:00
Dominik Stadler 729d78cda6 Limit allocated elements in the PlfLfo structure for word documents
Use large allocation-detection here as well,
otherwise some documents can try to allocate too much memory.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896744 13f79535-47bb-0310-9956-ffa450edef68
2022-01-06 11:10:00 +00:00
PJ Fanning 71f063b465 prep v5.2.0 (RC1)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896701 13f79535-47bb-0310-9956-ffa450edef68
2022-01-05 10:35:19 +00:00
Andreas Beeker 53ae30b7e0 update xmlbeans gradle calls
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896622 13f79535-47bb-0310-9956-ffa450edef68
2022-01-02 13:09:46 +00:00
Dominik Stadler 1e58d90228 Add a dependency for :poi-scratchpad:javadoc to :poi-ooxml:jar to avoid strange build-failures with parallel building
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896604 13f79535-47bb-0310-9956-ffa450edef68
2022-01-01 21:11:40 +00:00
Dominik Stadler 4fd458cae1 Define some system properties differently in tests
They seem to not take effect otherwise

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896602 13f79535-47bb-0310-9956-ffa450edef68
2022-01-01 16:31:14 +00:00
Dominik Stadler 1176b0002d Remove some more outdated log4j-jars
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896599 13f79535-47bb-0310-9956-ffa450edef68
2022-01-01 16:12:02 +00:00
Dominik Stadler 6de48ada57 Do not fail TestSignatureInfo when the current JDK does not have all the necessary setup
Let's gracefully handle some expected failures with some versions of the JDK
to not have flaky/failing test for users who just want to recompile POI themselves.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896598 13f79535-47bb-0310-9956-ffa450edef68
2022-01-01 16:11:49 +00:00
Andreas Beeker 3e66ca24b2 update xmlbeans gradle calls
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896562 13f79535-47bb-0310-9956-ffa450edef68
2021-12-31 00:17:57 +00:00
PJ Fanning cf2be7a718 license
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896560 13f79535-47bb-0310-9956-ffa450edef68
2021-12-30 23:30:19 +00:00
Dominik Stadler 35e96646f4 Limit the maximum number of records that are read for an XLS
To avoid unexpected behavior on some corrupted input-data

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896555 13f79535-47bb-0310-9956-ffa450edef68
2021-12-30 23:04:16 +00:00
Dominik Stadler 8f991d52f7 Do not set readIndex to "-1" on EOF
Add some simple tests of LittleEndianInputStream

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896554 13f79535-47bb-0310-9956-ffa450edef68
2021-12-30 23:03:58 +00:00
Dominik Stadler fd6ccbdf14 Bug 65312: Make RecordType.byName work for type "formula"
Also avoid NullPointerException when parsing unexpected record types
and check for bounds in byId()

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896553 13f79535-47bb-0310-9956-ffa450edef68
2021-12-30 23:03:40 +00:00
Dominik Stadler 1d630a94fc Bug 52447: Allow HyperLinkRecord to appear as part of the RowRecordsAggregate
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896552 13f79535-47bb-0310-9956-ffa450edef68
2021-12-30 23:03:16 +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 a83fe7d91f fix excel-ant tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896548 13f79535-47bb-0310-9956-ffa450edef68
2021-12-30 21:40:34 +00:00
PJ Fanning c8fc960d2d use isEmpty()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896547 13f79535-47bb-0310-9956-ffa450edef68
2021-12-30 21:35:45 +00:00
PJ Fanning 9345c84194 excelant evaluator if seems useless
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896546 13f79535-47bb-0310-9956-ffa450edef68
2021-12-30 21:18:26 +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 e35347157d try to fix test issue
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896542 13f79535-47bb-0310-9956-ffa450edef68
2021-12-30 20:41:51 +00:00
PJ Fanning 9de29ea3fc use isEmpty()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896541 13f79535-47bb-0310-9956-ffa450edef68
2021-12-30 20:34:10 +00:00
PJ Fanning 15b1c51f33 deprecated annotation
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896540 13f79535-47bb-0310-9956-ffa450edef68
2021-12-30 20:21:58 +00:00
PJ Fanning 4833168d11 typo
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896539 13f79535-47bb-0310-9956-ffa450edef68
2021-12-30 20:16:16 +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
Dominik Stadler 32311e42c2 Fix Sonar issues and print out some more in test-assertions that do fail sometimes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896531 13f79535-47bb-0310-9956-ffa450edef68
2021-12-30 16:10:52 +00:00
PJ Fanning 6aa1e58bdf add isEmpty() method
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896524 13f79535-47bb-0310-9956-ffa450edef68
2021-12-30 06:18:09 +00:00