10394 Commits

Author SHA1 Message Date
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
02a363d37c use spotbugs in xmlbeans builds
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880975 13f79535-47bb-0310-9956-ffa450edef68
2020-08-18 21:04:17 +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
f51306457d disable old "rapid release" Java versions
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880945 13f79535-47bb-0310-9956-ffa450edef68
2020-08-17 20:35:04 +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
f8040e5f8c #64036 - Replace reflection calls in factories for Java 9+
provide EvalutionWorkbook in HSSF/XSSF/SXSSF

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880925 13f79535-47bb-0310-9956-ffa450edef68
2020-08-17 11:49:02 +00:00
Andreas Beeker
506089a9f1 #64036 - Replace reflection calls in factories for Java 9+
ImageRenderer implementation are now loaded via ServiceLoader
fixed the ServiceLoader.load invocations to pass a sensible ClassLoader as OSGi preparation

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880911 13f79535-47bb-0310-9956-ffa450edef68
2020-08-16 23:19:51 +00:00
Andreas Beeker
afe4a109a8 removed test which is covered by TestPPTX2PNG
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880910 13f79535-47bb-0310-9956-ffa450edef68
2020-08-16 23:19:11 +00:00
Andreas Beeker
b57da2dada #64036 - Replace reflection calls in factories for Java 9+
ImageRenderer implementation are now loaded via ServiceLoader
fixed the ServiceLoader.load invocations to pass a sensible ClassLoader as OSGi preparation

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880909 13f79535-47bb-0310-9956-ffa450edef68
2020-08-16 23:18:19 +00:00
Andreas Beeker
d6a97ce38d #64036 - Replace reflection calls in factories for Java 9+
removed some unnecessary reflection calls OperationEvaluatorFactory

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880903 13f79535-47bb-0310-9956-ffa450edef68
2020-08-16 16:54:25 +00:00
Andreas Beeker
99d53d932f #64036 - Replace reflection calls in factories for Java 9+
migrated XDGF factories

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880900 13f79535-47bb-0310-9956-ffa450edef68
2020-08-16 14:32:54 +00:00
Andreas Beeker
607b554e5f fresh nodes on ci-builds ... maybe new luck?
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880898 13f79535-47bb-0310-9956-ffa450edef68
2020-08-16 13:06:29 +00:00
Andreas Beeker
2069274699 try to fix no-scratchpad test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880893 13f79535-47bb-0310-9956-ffa450edef68
2020-08-16 11:55:11 +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
Andreas Beeker
0ce32248c0 Migrate JOB DSL to new Jenkins environment ci-builds.apache.org
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880889 13f79535-47bb-0310-9956-ffa450edef68
2020-08-16 09:51:23 +00:00
Andreas Beeker
393301b8b5 try to fix spot bugs setting on new ci-builds jenkins
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880882 13f79535-47bb-0310-9956-ffa450edef68
2020-08-15 17:09:04 +00:00
Andreas Beeker
afc3b15b6a Fix typo
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880875 13f79535-47bb-0310-9956-ffa450edef68
2020-08-15 13:50:43 +00:00
Andreas Beeker
60303201dc use the forbidden-apis policies corresponding to the JRE
fix the forbidden apis issues

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880866 13f79535-47bb-0310-9956-ffa450edef68
2020-08-15 00:18:42 +00:00
Andreas Beeker
e68bd7bd7d upgrade forbidden-apis to 3.0.1
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880862 13f79535-47bb-0310-9956-ffa450edef68
2020-08-14 20:27:35 +00:00
Andreas Beeker
b9841b4007 also handle wrapped OOXML "Package" nodes inside of OLE2 containers
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880861 13f79535-47bb-0310-9956-ffa450edef68
2020-08-14 20:26:21 +00:00
Andreas Beeker
5caf8e109b #64411 - Provide JigSaw modules
- use service locator for SlideShowFactory

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880860 13f79535-47bb-0310-9956-ffa450edef68
2020-08-14 19:08:42 +00:00
PJ Fanning
4e3008acdb [github-191] Fix RuntimeException on array formula referencing blank cell. Thanks to Miłosz Rembisz. This closes #191
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880844 13f79535-47bb-0310-9956-ffa450edef68
2020-08-14 07:42:18 +00:00
Andreas Beeker
dfdf9e6d6f #64411 - Provide JigSaw modules
- rework extractors - see bugzilla entry for more information

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880839 13f79535-47bb-0310-9956-ffa450edef68
2020-08-13 21:08:24 +00:00
Tim Allison
4bf968d6bd Bug 64659 -- bump max record length
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880835 13f79535-47bb-0310-9956-ffa450edef68
2020-08-13 18:56:39 +00:00
Tim Allison
ab2dc71a95 Bug 64667.xlsx prevent NPE loading styles table
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880834 13f79535-47bb-0310-9956-ffa450edef68
2020-08-13 18:21:28 +00:00
PJ Fanning
252a4eccc9 [github-190] Javadoc fixes in ToCSV example. Thanks to Nick Rivera Meredith. This closes #190
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880802 13f79535-47bb-0310-9956-ffa450edef68
2020-08-12 07:30:28 +00:00
PJ Fanning
e86ba86f2d [github-189] Move date parsing logic to DateParser. Thanks to Miłosz Rembisz. This closes #189
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880777 13f79535-47bb-0310-9956-ffa450edef68
2020-08-11 16:59:29 +00:00
Sayi
8329582036 add removeTable method in cell
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880739 13f79535-47bb-0310-9956-ffa450edef68
2020-08-10 12:39:21 +00:00
PJ Fanning
a8d90aba91 [github-187] Add length validation for Excel DataValidations that are list literals. Thanks to Leo Webb. This closes #187
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880727 13f79535-47bb-0310-9956-ffa450edef68
2020-08-09 21:15:15 +00:00
Sayi
eb850f02de Use the existing CTExternalData element
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880707 13f79535-47bb-0310-9956-ffa450edef68
2020-08-09 08:05:37 +00:00
Andreas Beeker
edf41ca4d5 #64411 - Provide JigSaw modules
- add jdk.unsupported module to main jar for CleanerUtil

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880690 13f79535-47bb-0310-9956-ffa450edef68
2020-08-07 19:47:09 +00:00
Andreas Beeker
99817f56f7 fix build - remove old ant libs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880647 13f79535-47bb-0310-9956-ffa450edef68
2020-08-06 19:16:10 +00:00
Andreas Beeker
fad42e3ed6 try to fix windows builds - path issues with regex patterns
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880619 13f79535-47bb-0310-9956-ffa450edef68
2020-08-05 22:41:36 +00:00
Andreas Beeker
a96baf1d45 examples had been moved due to jigsaw modules migration
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880264 13f79535-47bb-0310-9956-ffa450edef68
2020-07-24 11:50:30 +00:00
Andreas Beeker
907ade52aa remove obsolete bouncycastle jars
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880229 13f79535-47bb-0310-9956-ffa450edef68
2020-07-23 23:36:09 +00:00
Andreas Beeker
d9e5f59821 a few jigsaw related fixes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880228 13f79535-47bb-0310-9956-ffa450edef68
2020-07-23 23:28:59 +00:00
PJ Fanning
6f3e38c18a try to make examples more robust - to fix integration tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880185 13f79535-47bb-0310-9956-ffa450edef68
2020-07-23 07:23:44 +00:00
Andreas Beeker
197570d18d use Ant 1.10 for the builds
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880175 13f79535-47bb-0310-9956-ffa450edef68
2020-07-22 22:56:47 +00:00
PJ Fanning
f7a174fc00 add back TempFileUtils.java due to broken build
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880171 13f79535-47bb-0310-9956-ffa450edef68
2020-07-22 22:34:15 +00:00
Andreas Beeker
c0f9941604 #64411 - Provide JigSaw modules
- use classpath-build for Java 8, otherwise use modulepath
- save module-info classes to source, when using Java 9+ environment
- rename example packages - otherwise package clashes occured in the tests
- move agile encryption from ooxml to main.
  remove EncryptionInfo XmlBeans and schema and use custom xml marshalling
- move ooxml test classes which reside in the same package as their tested main class
- rename base test classes to "BaseTest..." - temporarily I've used a light version of the main test classes to test scratchpad / ooxml
- build.xml - fixed the Rhino javascript errors of the dependency-macros
- DrawTextParagraph - fixed StringIndexOutOfBounds when logging set to debug level
- use JigSaw provider interface (= Java ServiceLoader), i.e. it wasn't possible (without openening everything), to access ooxml factory classes from main factory stub

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880164 13f79535-47bb-0310-9956-ffa450edef68
2020-07-22 22:08:33 +00:00
PJ Fanning
800da8b290 remove more deprecated code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879965 13f79535-47bb-0310-9956-ffa450edef68
2020-07-16 15:59:28 +00:00
PJ Fanning
05902bcd11 remove more deprecated code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879964 13f79535-47bb-0310-9956-ffa450edef68
2020-07-16 15:30:08 +00:00
PJ Fanning
38220f65b0 [bug-64605] update javadocs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879960 13f79535-47bb-0310-9956-ffa450edef68
2020-07-16 14:51:23 +00:00
PJ Fanning
41cedc65fc [bug-64605] update javadocs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879958 13f79535-47bb-0310-9956-ffa450edef68
2020-07-16 14:35:37 +00:00
PJ Fanning
4a173780dd [bug-64605] add support for non-integer font sizes on character runs (use double instead of float)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879950 13f79535-47bb-0310-9956-ffa450edef68
2020-07-16 12:50:40 +00:00
PJ Fanning
cb1d9a0061 [bug-64605] add support for non-integer font sizes on character runs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879949 13f79535-47bb-0310-9956-ffa450edef68
2020-07-16 12:31:53 +00:00
PJ Fanning
d928ac58a8 [bug-64605] add support for non-integer font sizes on character runs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879948 13f79535-47bb-0310-9956-ffa450edef68
2020-07-16 12:30:36 +00:00
PJ Fanning
a5cf0f0d3f use BigInteger.valueOf
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879937 13f79535-47bb-0310-9956-ffa450edef68
2020-07-16 10:03:00 +00:00
PJ Fanning
95702c9d7d fix some tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879928 13f79535-47bb-0310-9956-ffa450edef68
2020-07-16 07:34:51 +00:00
PJ Fanning
69aaedd60f fix some tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879927 13f79535-47bb-0310-9956-ffa450edef68
2020-07-16 07:33:31 +00:00