Commit Graph

11665 Commits

Author SHA1 Message Date
PJ Fanning d24ec8d265 mockito 4.3.0
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897417 13f79535-47bb-0310-9956-ffa450edef68
2022-01-24 13:17:26 +00:00
PJ Fanning f15a4da321 fail image size rescaling of infinite values used
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897406 13f79535-47bb-0310-9956-ffa450edef68
2022-01-24 09:53:19 +00:00
PJ Fanning 8649a4672c [github-298] revert change of case in CORE_PROPERTIES_ECMA376
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897376 13f79535-47bb-0310-9956-ffa450edef68
2022-01-23 16:51:45 +00:00
PJ Fanning 981b1ccf03 [github-298] fix case issue in CORE_PROPERTIES_ECMA376
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897372 13f79535-47bb-0310-9956-ffa450edef68
2022-01-23 14:26:24 +00:00
PJ Fanning e71e602762 revert test module changes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897355 13f79535-47bb-0310-9956-ffa450edef68
2022-01-22 21:34:35 +00:00
PJ Fanning 1ee199b1ea try to fix build for Java 9+
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897344 13f79535-47bb-0310-9956-ffa450edef68
2022-01-22 14:35:20 +00:00
PJ Fanning ca9cf3c6f8 try to fix build for Java 9+
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897343 13f79535-47bb-0310-9956-ffa450edef68
2022-01-22 14:28:17 +00:00
PJ Fanning e0b84ef6ef slf4j 1.7.33
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897337 13f79535-47bb-0310-9956-ffa450edef68
2022-01-22 13:28:00 +00:00
Dominik Stadler 91fe8c5357 Remove one unnecessary exclude
It seems the problem when cloning was fixed in the meantime

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897335 13f79535-47bb-0310-9956-ffa450edef68
2022-01-22 10:47:28 +00:00
Dominik Stadler 373d30cdf6 Exclude one more file when running tests without poi-scratchpad
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897334 13f79535-47bb-0310-9956-ffa450edef68
2022-01-22 10:47:24 +00:00
Dominik Stadler cf15cba02d Add more output when integration-tests do not fail with the expected exception
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897333 13f79535-47bb-0310-9956-ffa450edef68
2022-01-22 08:57:50 +00:00
Dominik Stadler 9d97acc448 Adjust thread-names when running integration
This allows to identify in thread-dumps which
file is taking a long time or is causing issues

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897332 13f79535-47bb-0310-9956-ffa450edef68
2022-01-22 08:57:46 +00:00
Dominik Stadler 7f1d843752 Don't create an error-log when slightly broken spreadsheets contain an empty value for attribute "s"
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897331 13f79535-47bb-0310-9956-ffa450edef68
2022-01-22 08:57:43 +00:00
Dominik Stadler bba249d522 Don't add main classes to *-test.jar files
Better to only provide them once to avoid very strange
errors if they differ for some reason

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897330 13f79535-47bb-0310-9956-ffa450edef68
2022-01-22 08:57:38 +00:00
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