Commit Graph

777 Commits

Author SHA1 Message Date
Andreas Beeker eb30f2e1c8 Use upcoming XmlBeans 5.0.0 (working version 4.0.1)
Make batik optional as it doesn't work on the module-path
Use sub-components of batik as batik-all references them all again resulting in duplicated entries (maven poms haven't been migrated yet ...)
Remove SLF4j dependency

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1886777 13f79535-47bb-0310-9956-ffa450edef68
2021-02-22 00:18:37 +00:00
Marius Volkhart 259c9967ef [bug-63046] 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.

Closes #224

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1886770 13f79535-47bb-0310-9956-ffa450edef68
2021-02-21 20:57:25 +00:00
PJ Fanning 79a9cf3692 batik 1.14
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1886491 13f79535-47bb-0310-9956-ffa450edef68
2021-02-13 14:49:40 +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 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
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 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 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 cc7cd1caf3 ignore inner classes in junitlauncher run
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885334 13f79535-47bb-0310-9956-ffa450edef68
2021-01-10 13:34:04 +00:00
Andreas Beeker f7c50cfbe3 add failing regression test files
fix ooxml-lite packaging
fix PP97 dual storage file handling in extractor

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884962 13f79535-47bb-0310-9956-ffa450edef68
2020-12-30 22:56:36 +00:00
Dominik Stadler 1303f44abf Add missing jar-file for JavaDoc generation
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884919 13f79535-47bb-0310-9956-ffa450edef68
2020-12-29 19:29:29 +00:00
Andreas Beeker b7463df98c bump versions
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884878 13f79535-47bb-0310-9956-ffa450edef68
2020-12-28 14:49:29 +00:00
Andreas Beeker 0ab727bbde github-207 - replace commons logging with slf4j - use jcl-over-slf4j
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884873 13f79535-47bb-0310-9956-ffa450edef68
2020-12-28 14:03:36 +00:00
Andreas Beeker 07ba96f023 gather necessary .xsb for ooxml-lite jar via intercepting the calls to SchemaTypeSystemImpl.XsbReader
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884850 13f79535-47bb-0310-9956-ffa450edef68
2020-12-28 00:47:23 +00:00
Andreas Beeker a2d728cbe6 upgrade pdfbox and pdfbox-graphics2d
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884786 13f79535-47bb-0310-9956-ffa450edef68
2020-12-25 01:59:24 +00:00
Andreas Beeker 6b6e96e07d try to fix distsourcebuild error
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884785 13f79535-47bb-0310-9956-ffa450edef68
2020-12-25 01:42:10 +00:00
Andreas Beeker a0fa9e19b1 #65026 - Migrate tests to Junit 5
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884783 13f79535-47bb-0310-9956-ffa450edef68
2020-12-24 18:42:29 +00:00
PJ Fanning 8ff37c2a8a revert accidental change
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884624 13f79535-47bb-0310-9956-ffa450edef68
2020-12-19 09:49:23 +00:00
PJ Fanning b2bfc99cdc fix log text
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884623 13f79535-47bb-0310-9956-ffa450edef68
2020-12-19 09:47:19 +00:00
PJ Fanning e1b0bc6e1d [github-207] add SLF4JLogger
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884568 13f79535-47bb-0310-9956-ffa450edef68
2020-12-17 19:59:01 +00:00
PJ Fanning 2b154b8d8f add back log4j 1.x as a test-only dependency of ooxml-tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884520 13f79535-47bb-0310-9956-ffa450edef68
2020-12-16 19:44:54 +00:00
PJ Fanning 8a66685c2d try to remove seemingly unused log4j 1.x dependency
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884519 13f79535-47bb-0310-9956-ffa450edef68
2020-12-16 19:09:00 +00:00
PJ Fanning 9c1eb6b18e use less contentious language in code comments
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884473 13f79535-47bb-0310-9956-ffa450edef68
2020-12-15 23:04:14 +00:00
Andreas Beeker c8940e7d1e #64979 - Change artifact names of poi-/ooxml-schemas
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884381 13f79535-47bb-0310-9956-ffa450edef68
2020-12-13 15:32:43 +00:00
Andreas Beeker c5f6dfa68e Bug 56205 - Upgrade OOXML schema to 3rd edition (transitional)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884368 13f79535-47bb-0310-9956-ffa450edef68
2020-12-12 23:15:20 +00:00
Andreas Beeker 92e8e79822 fix missing xsbs in ooxml-lite run
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884142 13f79535-47bb-0310-9956-ffa450edef68
2020-12-06 00:26:44 +00:00
Andreas Beeker e43a1d220f optimize size of poi-ooxml-schemas by 40% by only including necessary *.xsb files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884139 13f79535-47bb-0310-9956-ffa450edef68
2020-12-05 21:30:19 +00:00
Andreas Beeker 20c883b201 upgrade to pdfbox-graphics2d 0.29
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1883907 13f79535-47bb-0310-9956-ffa450edef68
2020-11-28 18:00:00 +00:00
Andreas Beeker ff0d031f10 update dependencies - make optional dependencies mandatory
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1883325 13f79535-47bb-0310-9956-ffa450edef68
2020-11-11 21:53:05 +00:00
Andreas Beeker 134b4ba762 #64867 - Provide PDF rendering with PPTX2PNG
remove pdfbox-graphics2d workaround and update its version

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1883236 13f79535-47bb-0310-9956-ffa450edef68
2020-11-09 20:11:11 +00:00
Andreas Beeker 150fb90cc2 #64867 - Provide PDF rendering with PPTX2PNG
add dependencies to gradle and maven builds

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1883075 13f79535-47bb-0310-9956-ffa450edef68
2020-11-03 00:22:10 +00:00
Andreas Beeker b20318b58c #64867 - Provide PDF rendering with PPTX2PNG
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1883074 13f79535-47bb-0310-9956-ffa450edef68
2020-11-02 23:56:27 +00:00
PJ Fanning a8a4e40c5a try to upgrade spotbugs and asm
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882836 13f79535-47bb-0310-9956-ffa450edef68
2020-10-25 12:51:34 +00:00
Dominik Stadler 8b37dad7a1 Add mising path to ooxml-schemas which is necessary for building with latest JDK 16 ea-builds
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882830 13f79535-47bb-0310-9956-ffa450edef68
2020-10-25 08:22:45 +00:00
PJ Fanning a2dcb10f67 update commons-codec
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882771 13f79535-47bb-0310-9956-ffa450edef68
2020-10-22 22:51:31 +00:00
Andreas Beeker 9c367c57c0 Handle errors from GraalVM native mode runs - UnsupportedFeature on setting Sax features together with missing ErrorMessages from the java.xml module
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882714 13f79535-47bb-0310-9956-ffa450edef68
2020-10-20 20:30:03 +00:00
PJ Fanning a3194a9b5b use xmlbeans official 4.0.0 release
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882586 13f79535-47bb-0310-9956-ffa450edef68
2020-10-16 16:57:11 +00:00
Andreas Beeker 2a292cb42d #64773 - Visual signatures for .xlsx/.docx
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882394 13f79535-47bb-0310-9956-ffa450edef68
2020-10-10 23:33:26 +00:00
Dominik Stadler 7b83320f9e Update third party libraries in pom.xml and build.gradle, update JaCoCo to 0.8.6
Maven build should work onw, but Gradle is still broken by the poi-ant-contrib library
Also remove outdated third party libraries

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882026 13f79535-47bb-0310-9956-ffa450edef68
2020-09-25 19:39:49 +00:00
Andreas Beeker fe2b58a9cc Fix Ant javascript issues
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1881914 13f79535-47bb-0310-9956-ffa450edef68
2020-09-22 00:07:32 +00:00
Andreas Beeker 3070369b3a XmlBeans is now generating Java 1.8 based files - javasources option is not available anymore
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1881779 13f79535-47bb-0310-9956-ffa450edef68
2020-09-17 00:06:58 +00:00
Andreas Beeker ea43beeba7 add "provided" jars to binary dist bundle
add instruction to pptx rendering
case-insensitive argument handling in PPTX2PNG

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1881416 13f79535-47bb-0310-9956-ffa450edef68
2020-09-03 19:13:16 +00:00
Andreas Beeker 5e04140d59 fix build error
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880988 13f79535-47bb-0310-9956-ffa450edef68
2020-08-19 09:47:10 +00:00
Andreas Beeker a73348fe8b Update library versions
Replace deprecated junit @Rules with assertThrows
Adapt to XMLSec refactoring in version 2.2.0

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880965 13f79535-47bb-0310-9956-ffa450edef68
2020-08-18 13:50:31 +00:00
Andreas Beeker b7b0a0c215 Activate Forbidden-Apis-Check also for other tests
Max supported Java version is currently Java 14
Fix the check failures

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880944 13f79535-47bb-0310-9956-ffa450edef68
2020-08-17 20:25:08 +00:00
Andreas Beeker d5d444b499 Update links to ci-builds.apache.org
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880892 13f79535-47bb-0310-9956-ffa450edef68
2020-08-16 10:58:54 +00:00