Commit Graph

12492 Commits

Author SHA1 Message Date
PJ Fanning 15bdee4456 build issue
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907761 13f79535-47bb-0310-9956-ffa450edef68
2023-02-19 18:54:56 +00:00
PJ Fanning c67d140d77 safety check on throwable catch
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907660 13f79535-47bb-0310-9956-ffa450edef68
2023-02-14 18:20:06 +00:00
PJ Fanning e431ec35c3 safety check on throwable catch
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907656 13f79535-47bb-0310-9956-ffa450edef68
2023-02-14 15:12:18 +00:00
PJ Fanning 54fc06be81 revert accidental change
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907655 13f79535-47bb-0310-9956-ffa450edef68
2023-02-14 15:07:55 +00:00
PJ Fanning d07d8e42b9 revert use of ExceptionUtil on caught exceptions (not useful)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907654 13f79535-47bb-0310-9956-ffa450edef68
2023-02-14 15:03:26 +00:00
PJ Fanning f6cec39ba2 use of ExceptionUtil in excelant
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907653 13f79535-47bb-0310-9956-ffa450edef68
2023-02-14 14:52:29 +00:00
PJ Fanning 3968e289e4 fix up use of ExceptionUtil in main poi-scratchpad module
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907652 13f79535-47bb-0310-9956-ffa450edef68
2023-02-14 14:51:27 +00:00
PJ Fanning 3a70d5e002 fix up use of ExceptionUtil in main poi module
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907651 13f79535-47bb-0310-9956-ffa450edef68
2023-02-14 14:26:56 +00:00
PJ Fanning 03f7f911b0 don't use ExceptionUtil in examples
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907646 13f79535-47bb-0310-9956-ffa450edef68
2023-02-14 13:52:53 +00:00
PJ Fanning adcf7bf533 add util code to rethrow fatal exceptions
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907645 13f79535-47bb-0310-9956-ffa450edef68
2023-02-14 13:51:52 +00:00
PJ Fanning 660b90062d upgrade cyclonedx plugin
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907639 13f79535-47bb-0310-9956-ffa450edef68
2023-02-14 11:01:06 +00:00
PJ Fanning 326126a365 provide way to clear the state on the ThreadLocal used byby ExtractorFactory
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907581 13f79535-47bb-0310-9956-ffa450edef68
2023-02-11 12:07:34 +00:00
PJ Fanning 28a26d9cb2 [bug-66475] SignatureConfig: remove ThreadLocals and deprecated code associated with them
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907579 13f79535-47bb-0310-9956-ffa450edef68
2023-02-11 11:51:13 +00:00
PJ Fanning dc91cdbaaa remove recently added volatile markers due to Sonarcloud warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907578 13f79535-47bb-0310-9956-ffa450edef68
2023-02-11 11:26:03 +00:00
PJ Fanning bdd39251ef byte buddy 1.12.22
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907569 13f79535-47bb-0310-9956-ffa450edef68
2023-02-10 20:40:12 +00:00
PJ Fanning 46a1548f83 upgrade bouncycastle
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907568 13f79535-47bb-0310-9956-ffa450edef68
2023-02-10 20:34:01 +00:00
PJ Fanning c2d2ec0eaf DataFormatter - typo in javadoc and possible NPE
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907543 13f79535-47bb-0310-9956-ffa450edef68
2023-02-09 15:22:21 +00:00
PJ Fanning c4e2eebbaf remove oracle requirement due to build failures
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907447 13f79535-47bb-0310-9956-ffa450edef68
2023-02-06 00:38:26 +00:00
Dominik Stadler 25d67aa6ec Do not fail if an empty password is provided
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907446 13f79535-47bb-0310-9956-ffa450edef68
2023-02-05 21:11:14 +00:00
Dominik Stadler 3eae53357d Avoid a file-handle leak in tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907445 13f79535-47bb-0310-9956-ffa450edef68
2023-02-05 21:11:09 +00:00
Dominik Stadler 1ca2e638ed Bug 66436: Fix invalid handling of padded encrypted bytes
The encrypted data is padded to 16 bytes, but these additional bytes
were not read from the stream

Make the reading of the additional bytes "lenient" to not introduce
breaking change if some existing functionality did produce non-aligned
data for some reason.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907444 13f79535-47bb-0310-9956-ffa450edef68
2023-02-05 21:11:03 +00:00
PJ Fanning 43551babf1 [bug-65260] partial revert of recent changes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907443 13f79535-47bb-0310-9956-ffa450edef68
2023-02-05 20:34:19 +00:00
PJ Fanning 7c372bd18c fix compile issues
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907309 13f79535-47bb-0310-9956-ffa450edef68
2023-02-04 15:28:04 +00:00
PJ Fanning 040181c42f [bug-65260] catch Throwable instead of error - see https://github.com/apache/poi/pull/425
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907308 13f79535-47bb-0310-9956-ffa450edef68
2023-02-04 15:10:32 +00:00
PJ Fanning 34f6955a28 mark some variables that are used in synchronized code as volatile
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907114 13f79535-47bb-0310-9956-ffa450edef68
2023-01-30 14:46:43 +00:00
Dominik Stadler 6f606cabda Spotbugs: Replace \n with %n in String.format()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907110 13f79535-47bb-0310-9956-ffa450edef68
2023-01-30 12:19:43 +00:00
Dominik Stadler be3a17160e Ant build: Specify "--add-opens" to avoid byte-buddy complaining on newer JDKs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907109 13f79535-47bb-0310-9956-ffa450edef68
2023-01-30 12:19:39 +00:00
Dominik Stadler bcd3785d7d Use an error-handler to use logging also for XML parsing errors
Otherwise this output is done to stdout/stderr which we would like to avoid.

Keep the format as one line and do not include a full exception stacktrace
to not introduce lots of exception-stacktraces for some slightly broken input files

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907108 13f79535-47bb-0310-9956-ffa450edef68
2023-01-30 12:19:37 +00:00
Dominik Stadler 0f290fe501 Adjust file-handle-leak exlusions
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907107 13f79535-47bb-0310-9956-ffa450edef68
2023-01-30 12:19:33 +00:00
Dominik Stadler edc7f8fd6f Bug 54373: Include alpha/transparency value when creating an XSSFColor from an AWT Color object
Use the alpha-value from Color as well

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907106 13f79535-47bb-0310-9956-ffa450edef68
2023-01-30 12:19:31 +00:00
Dominik Stadler acdf2ec981 Bug 62272: Include alpha/transparency value when setting a color-value for a font
Use method with returns 4 bytes to use an ARGB value instead of only RGB

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907105 13f79535-47bb-0310-9956-ffa450edef68
2023-01-30 12:19:24 +00:00
PJ Fanning a7382f00b9 junit-platform 1.9.2
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907084 13f79535-47bb-0310-9956-ffa450edef68
2023-01-29 21:15:58 +00:00
PJ Fanning e6087ba6af don't create format pr instance for read events
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907079 13f79535-47bb-0310-9956-ffa450edef68
2023-01-29 17:15:41 +00:00
PJ Fanning 4944aa4c2e rework SXSSF groupRow and add test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907068 13f79535-47bb-0310-9956-ffa450edef68
2023-01-28 22:18:33 +00:00
PJ Fanning cde87ab3c6 edge case (avoid short overflow)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907066 13f79535-47bb-0310-9956-ffa450edef68
2023-01-28 20:44:26 +00:00
PJ Fanning 1cf4094e2d try to improve performance of XSSFSheet row/col grouping/ungrouping
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907065 13f79535-47bb-0310-9956-ffa450edef68
2023-01-28 20:13:33 +00:00
PJ Fanning edaeb54967 reorder xssf code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906981 13f79535-47bb-0310-9956-ffa450edef68
2023-01-24 15:01:38 +00:00
PJ Fanning 60872927bd [bug-66433] Boolean functions should blank cells. Thanks to Patrick Böker
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906836 13f79535-47bb-0310-9956-ffa450edef68
2023-01-20 12:03:52 +00:00
PJ Fanning 42bbbfc55a revert to saxon 11.4 (saxon 12.0 only supports Java 11)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906747 13f79535-47bb-0310-9956-ffa450edef68
2023-01-17 18:56:47 +00:00
PJ Fanning 0f7e83b246 woodstox 6.5
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906715 13f79535-47bb-0310-9956-ffa450edef68
2023-01-16 19:39:56 +00:00
PJ Fanning 1bd008e2e9 test with saxon 12
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906714 13f79535-47bb-0310-9956-ffa450edef68
2023-01-16 19:39:02 +00:00
PJ Fanning 650f0e9276 remove incomplete test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906654 13f79535-47bb-0310-9956-ffa450edef68
2023-01-13 12:10:04 +00:00
PJ Fanning a00cc9ff2b byte-buddy 1.12.22
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906653 13f79535-47bb-0310-9956-ffa450edef68
2023-01-13 12:08:02 +00:00
PJ Fanning 56daedd9dd junit 5.9.2
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906602 13f79535-47bb-0310-9956-ffa450edef68
2023-01-11 14:13:29 +00:00
PJ Fanning 02f4a07a97 xmlunit 2.9.1
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906601 13f79535-47bb-0310-9956-ffa450edef68
2023-01-11 14:11:02 +00:00
PJ Fanning 46f45c2d0a revert ant upgrade due to issues with ant-launcher-1.10.13.jar
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906580 13f79535-47bb-0310-9956-ffa450edef68
2023-01-10 21:36:34 +00:00
PJ Fanning 25bb01ac14 revert ant upgrade due to issues with ant-launcher-1.10.13.jar
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906570 13f79535-47bb-0310-9956-ffa450edef68
2023-01-10 20:59:59 +00:00
PJ Fanning 786af03e67 add test case
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906561 13f79535-47bb-0310-9956-ffa450edef68
2023-01-10 20:10:25 +00:00
PJ Fanning c7822f687a byte-buddy 1.12.21
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906558 13f79535-47bb-0310-9956-ffa450edef68
2023-01-10 19:45:56 +00:00
PJ Fanning 16cddb4dd4 upgrade ant
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906557 13f79535-47bb-0310-9956-ffa450edef68
2023-01-10 19:44:37 +00:00