Commit Graph

11626 Commits

Author SHA1 Message Date
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
PJ Fanning 6d93ac6172 add isEmpty() method
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896521 13f79535-47bb-0310-9956-ffa450edef68
2021-12-30 01:25:20 +00:00
PJ Fanning 9021c449f0 remove apache staging repo
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896516 13f79535-47bb-0310-9956-ffa450edef68
2021-12-30 00:08:37 +00:00
PJ Fanning daf3ef20eb gradle version
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896515 13f79535-47bb-0310-9956-ffa450edef68
2021-12-30 00:07:01 +00:00
PJ Fanning 8210bdb0c8 fix tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896513 13f79535-47bb-0310-9956-ffa450edef68
2021-12-29 22:00:43 +00:00
PJ Fanning efe404a2c7 sonar issues
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896511 13f79535-47bb-0310-9956-ffa450edef68
2021-12-29 17:18:44 +00:00
PJ Fanning 2e52cb7452 fix test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896507 13f79535-47bb-0310-9956-ffa450edef68
2021-12-29 13:39:07 +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 79a1e6b1e9 log4j 2.17.1
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896481 13f79535-47bb-0310-9956-ffa450edef68
2021-12-28 19:15:32 +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 57852e0c7d [bug-65772] stop using deleteOnExit in DefaultTempFileCreationStrategy
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896473 13f79535-47bb-0310-9956-ffa450edef68
2021-12-28 12:12:01 +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 dcdb14c5f2 close cursors in finally blocks
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896471 13f79535-47bb-0310-9956-ffa450edef68
2021-12-28 10:41:06 +00:00
PJ Fanning 233fbadf0a close cursors in finally blocks
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896470 13f79535-47bb-0310-9956-ffa450edef68
2021-12-28 10:24:04 +00:00
PJ Fanning 2996f82e98 close input streams for parts
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896464 13f79535-47bb-0310-9956-ffa450edef68
2021-12-28 02:48:28 +00:00
PJ Fanning 90319df180 close input streams for parts
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896463 13f79535-47bb-0310-9956-ffa450edef68
2021-12-28 02:42:29 +00:00
PJ Fanning 22d162cc7d close input streams for parts
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896462 13f79535-47bb-0310-9956-ffa450edef68
2021-12-28 02:33:44 +00:00
PJ Fanning 42a2794ae7 close input streams for parts
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896461 13f79535-47bb-0310-9956-ffa450edef68
2021-12-28 01:55:57 +00:00
PJ Fanning 96d8e3048c upgrade gradle
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896457 13f79535-47bb-0310-9956-ffa450edef68
2021-12-27 21:05:48 +00:00
PJ Fanning 0d308ecd48 code format
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896450 13f79535-47bb-0310-9956-ffa450edef68
2021-12-27 11:51:14 +00:00
PJ Fanning 2d4c270bad code format
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896449 13f79535-47bb-0310-9956-ffa450edef68
2021-12-27 11:27:54 +00:00
PJ Fanning 3daa439e9d jmh plugin 1.34
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896362 13f79535-47bb-0310-9956-ffa450edef68
2021-12-24 14:31:30 +00:00
PJ Fanning 83eed9e2d1 use xmlbeans 5.0.3 (rc2)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896354 13f79535-47bb-0310-9956-ffa450edef68
2021-12-24 11:48:43 +00:00
PJ Fanning dfb4af31e7 preserve rich text in cell copy
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896348 13f79535-47bb-0310-9956-ffa450edef68
2021-12-24 11:11:44 +00:00
PJ Fanning 0a916cd3e7 preserve rich text in cell copy
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896344 13f79535-47bb-0310-9956-ffa450edef68
2021-12-24 09:53:07 +00:00
PJ Fanning d6ab8e8444 [github-290] Customize Spliterator implementations for better parallelism. Thanks to Daniel Shuy. This closes #290
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896305 13f79535-47bb-0310-9956-ffa450edef68
2021-12-23 10:33:59 +00:00