10676 Commits

Author SHA1 Message Date
Marius Volkhart
089aa72647 Use Log4j 2 for logging
This removes the POILogger and POILogFactory mechanism for logging. This mechanism was created at a time when the Java landscape looked very different than it does today.

Log4j 2 is an Apache Foundation project that is well maintained and is widely regarded as having good performance and capabilities. We use only the Log4j API artifact. This lets application developers choose how they want to capture logging events if at all. Integrations with Log4j 2 Core and Logback are available from the Log4j project.

git-svn-id: https://svn.apache.org/repos/asf/poi/branches/log4j@1886103 13f79535-47bb-0310-9956-ffa450edef68
2021-02-01 14:59:43 +00:00
Marius Volkhart
05a3206884 git-svn-id: https://svn.apache.org/repos/asf/poi/branches/log4j@1886102 13f79535-47bb-0310-9956-ffa450edef68 2021-02-01 14:49:41 +00:00
Marius Volkhart
7a0cc6e7e5 Fix inconsistent logging statement
The conditions check for max, but the logging was copy/pasted and still uses the minimum.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1886089 13f79535-47bb-0310-9956-ffa450edef68
2021-02-01 01:02:26 +00:00
Alain Béarez
e367148e09 Clone only content of imported chart
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1886087 13f79535-47bb-0310-9956-ffa450edef68
2021-02-01 00:46:25 +00:00
Andreas Beeker
aa9ec651ea Sonar fixes
add asserts to tests

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1886070 13f79535-47bb-0310-9956-ffa450edef68
2021-01-30 22:58:14 +00:00
Dominik Stadler
caf2d32393 Bug 65099: Fix incorrect handling of styles in XWPFStyle.getUsedStyleList
Closes github #216

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1886063 13f79535-47bb-0310-9956-ffa450edef68
2021-01-30 18:42:14 +00:00
Dominik Stadler
6449c03a53 Adjust integration-test slightly for running mass-regression-tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1886062 13f79535-47bb-0310-9956-ffa450edef68
2021-01-30 18:42:08 +00:00
Dominik Stadler
a10ca15627 Apply IDE suggestions, add toString(), adjust JavaDoc and simplify code slightly
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1886061 13f79535-47bb-0310-9956-ffa450edef68
2021-01-30 18:42:05 +00:00
Dominik Stadler
615de587f7 Enable storing an SXSSF workbook twice
Verify this via a unit-test for all types of workbooks
Add a test to verify the contents is byte-for-byte equal
Also remove an overwritten test which works the same now for all three workbook-types

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1886060 13f79535-47bb-0310-9956-ffa450edef68
2021-01-30 18:41:57 +00:00
Andreas Beeker
1d26df99ee Sonar fixes
add asserts to tests

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885954 13f79535-47bb-0310-9956-ffa450edef68
2021-01-28 00:08:35 +00:00
Andreas Beeker
5cb3cb0384 Sonar fixes
add asserts to tests

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885922 13f79535-47bb-0310-9956-ffa450edef68
2021-01-26 23:26:50 +00:00
Andreas Beeker
6038381e3a try to fix windows integration tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885888 13f79535-47bb-0310-9956-ffa450edef68
2021-01-24 22:25:08 +00:00
Alain Béarez
ed836507e5 Replace deprecated methods used in tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885886 13f79535-47bb-0310-9956-ffa450edef68
2021-01-24 20:01:36 +00:00
Andreas Beeker
54fde895e6 Sonar fixes
add asserts to tests

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885859 13f79535-47bb-0310-9956-ffa450edef68
2021-01-23 23:04:49 +00:00
Andreas Beeker
904c77e242 Junit5 - fix logging to console
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885858 13f79535-47bb-0310-9956-ffa450edef68
2021-01-23 23:04:31 +00:00
Andreas Beeker
17372207f9 try to fix font-based issues
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885842 13f79535-47bb-0310-9956-ffa450edef68
2021-01-23 10:34:56 +00:00
Andreas Beeker
0e5f513830 Sonar fixes
add asserts to tests

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885819 13f79535-47bb-0310-9956-ffa450edef68
2021-01-22 23:00:51 +00:00
PJ Fanning
1b55a7930e missing license
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885772 13f79535-47bb-0310-9956-ffa450edef68
2021-01-21 21:39:28 +00:00
Alain Béarez
b2fd6f8bdc Bug 64950: handle doughnut hole size
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885771 13f79535-47bb-0310-9956-ffa450edef68
2021-01-21 21:13:27 +00:00
PJ Fanning
4013ffa220 [bug-65096] XLSX Streaming XML not correctly reading multiple inline Strings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885770 13f79535-47bb-0310-9956-ffa450edef68
2021-01-21 21:04:24 +00:00
Andreas Beeker
4a632f9389 limit junit concurrent threads to 3 (fixed amount)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885701 13f79535-47bb-0310-9956-ffa450edef68
2021-01-19 21:35:40 +00:00
Alain Béarez
825bebdbd1 Bug 65016 - Creating a chart throws exception
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885700 13f79535-47bb-0310-9956-ffa450edef68
2021-01-19 21:33:38 +00:00
Andreas Beeker
5de42f466f github-211 - Revert addRow to behaviour before 4.1.2
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885699 13f79535-47bb-0310-9956-ffa450edef68
2021-01-19 20:27:00 +00:00
PJ Fanning
c67b26c138 gradle 6.8
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885668 13f79535-47bb-0310-9956-ffa450edef68
2021-01-18 17:58:03 +00:00
PJ Fanning
ab90b2b453 gradle 6.8
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885665 13f79535-47bb-0310-9956-ffa450edef68
2021-01-18 17:32:58 +00:00
PJ Fanning
06ea5add36 [github-215] Improve Performance of OperandResolver#parseDouble. Thanks to Robert Wenzel. This closes #215
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885651 13f79535-47bb-0310-9956-ffa450edef68
2021-01-18 14:20:02 +00:00
Andreas Beeker
8f2c722fd3 Integration tests - try to fix Oracle/OpenJDK vs IBM-JDK error message differences on XXE files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885625 13f79535-47bb-0310-9956-ffa450edef68
2021-01-17 21:20:05 +00:00
Andreas Beeker
f5f5fc462c Update docs to 5.0.0
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885620 13f79535-47bb-0310-9956-ffa450edef68
2021-01-17 20:32:16 +00:00
Andreas Beeker
fd29c485ef Bump versions to 5.0.1-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885616 13f79535-47bb-0310-9956-ffa450edef68
2021-01-17 18:24:31 +00:00
Andreas Beeker
3778a3e9e2 Sonar fixes
constant name to match the regular expression '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'
reorder "final static" -> "static final"

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885613 13f79535-47bb-0310-9956-ffa450edef68
2021-01-17 17:31:22 +00:00
Andreas Beeker
8d0e84f257 integration tests: ignore hsmf/lots-of-recipients.msg because of concurrent test errors - also takes too long to process
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885603 13f79535-47bb-0310-9956-ffa450edef68
2021-01-17 15:51:41 +00:00
Andreas Beeker
7ad01e4daa Integration test - fix filenames with windows path separator
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885595 13f79535-47bb-0310-9956-ffa450edef68
2021-01-17 10:36:16 +00:00
Andreas Beeker
435b6a131e Remove superfluous test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885586 13f79535-47bb-0310-9956-ffa450edef68
2021-01-17 00:51:03 +00:00
Andreas Beeker
020f33a940 Sonar fixes
add asserts to tests

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885585 13f79535-47bb-0310-9956-ffa450edef68
2021-01-17 00:50:47 +00:00
Andreas Beeker
44efecf42e integration tests: Fix handling of NullPointerExceptions for Java 16+ (again ...)
Refactor TestAllFiles to provide an API for mass testing

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885576 13f79535-47bb-0310-9956-ffa450edef68
2021-01-16 15:51:00 +00:00
Andreas Beeker
2a19c0161d integration tests: Fix JDK version handling
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885553 13f79535-47bb-0310-9956-ffa450edef68
2021-01-16 11:36:45 +00:00
Andreas Beeker
5e110d7216 integration tests: NullPointerExceptions contain now a description in Java 16+
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885549 13f79535-47bb-0310-9956-ffa450edef68
2021-01-16 09:55:42 +00:00
Andreas Beeker
8a388f61e8 include externals on release build checkout
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885539 13f79535-47bb-0310-9956-ffa450edef68
2021-01-16 00:19:04 +00:00
Andreas Beeker
309e657b0d #65046 - Simplify integration tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885538 13f79535-47bb-0310-9956-ffa450edef68
2021-01-15 23:50:42 +00:00
Andreas Beeker
ca71e9dacf Sonar fixes
add asserts to tests

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885537 13f79535-47bb-0310-9956-ffa450edef68
2021-01-15 22:34:35 +00:00
Andreas Beeker
ac19545a66 Sonar fixes
add asserts to tests

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885503 13f79535-47bb-0310-9956-ffa450edef68
2021-01-15 00:03:43 +00:00
Andreas Beeker
4fec14dbc6 prepare for 5.0.1
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885419 13f79535-47bb-0310-9956-ffa450edef68
2021-01-12 22:40:59 +00:00
Andreas Beeker
ff2ae68ffc add lz4-java for svn/release operations
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885417 13f79535-47bb-0310-9956-ffa450edef68
2021-01-12 22:39:07 +00:00
Andreas Beeker
750f17ad5a release prepare for 5.0.0 - updating build.xml and changes.xml
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885416 13f79535-47bb-0310-9956-ffa450edef68
2021-01-12 22:33:18 +00:00
Andreas Beeker
70a3c38a43 remove EPL license
see https://lists.apache.org/thread.html/r605598dd36a371a8439652c8b362f4099d57662aeaf837fe5c22ad25%40%3Cdev.poi.apache.org%3E

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885412 13f79535-47bb-0310-9956-ffa450edef68
2021-01-12 22:12:28 +00:00
Andreas Beeker
e7fc9e3a3a Update license / NOTICE
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885402 13f79535-47bb-0310-9956-ffa450edef68
2021-01-12 18:05:36 +00:00
Andreas Beeker
bf3e4e5b58 Update maven dependencies
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885371 13f79535-47bb-0310-9956-ffa450edef68
2021-01-11 23:53:29 +00:00
Andreas Beeker
0aa7e7dfb6 Update maven dependencies
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885369 13f79535-47bb-0310-9956-ffa450edef68
2021-01-11 22:58:02 +00:00
Andreas Beeker
22e67b0dc7 Sonar fixes
add asserts to tests

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885343 13f79535-47bb-0310-9956-ffa450edef68
2021-01-11 00:34:21 +00:00
Andreas Beeker
9daa77751a revert Sonar fixes on BaseIntegrationTest
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885341 13f79535-47bb-0310-9956-ffa450edef68
2021-01-10 21:36:32 +00:00