Commit Graph

517 Commits

Author SHA1 Message Date
Andreas Beeker
196b1429fc prepare for 3.17-beta2
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1799747 13f79535-47bb-0310-9956-ffa450edef68
2017-06-24 09:27:28 +00:00
Dominik Stadler
a37f6a4997 Update forbidden-apis to version 2.3
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1799036 13f79535-47bb-0310-9956-ffa450edef68
2017-06-18 05:59:16 +00:00
Andreas Beeker
14b2d4501a #61162 - En-/decryption support for HWPF
- encryption support for HWPF
- refactor/unify EncryptionInfo handling in H**F classes
- remove Iterable interface from WorkbookRecordList - use getRecords() instead, to prevent modifications over the Iterator

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1798722 13f79535-47bb-0310-9956-ffa450edef68
2017-06-14 17:21:50 +00:00
Nick Burch
036aa25f72 Javadoc has some references to unit test classes, so put the junit jars on the javadoc classpath
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1798324 13f79535-47bb-0310-9956-ffa450edef68
2017-06-10 15:01:14 +00:00
Dominik Stadler
937500f6ee Forbidden-APIs needs junit-jars
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1798204 13f79535-47bb-0310-9956-ffa450edef68
2017-06-09 12:49:58 +00:00
Dominik Stadler
05570364db Move one testcase with incorrect source location
remove some junit dependencies in example-code
build: do not pass junit-jar to normal compile targets to avoid introducing it as dependency again 
Reformat code, fix warnings, ...

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1798202 13f79535-47bb-0310-9956-ffa450edef68
2017-06-09 12:49:01 +00:00
Andreas Beeker
eb95017049 increase heap size for ooxml compilation again, because of failing (gradle?) builds
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1796868 13f79535-47bb-0310-9956-ffa450edef68
2017-05-30 13:57:42 +00:00
Andreas Beeker
b2ab7542ac Add logging for gradle->ant->javac OOM
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1796862 13f79535-47bb-0310-9956-ffa450edef68
2017-05-30 13:33:07 +00:00
Dominik Stadler
3021f03be9 Add jmh to Sonar-Maven build as well, add comment why we need to stick to 1.15 for now
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1796035 13f79535-47bb-0310-9956-ffa450edef68
2017-05-24 10:07:32 +00:00
Andreas Beeker
390444a3be Increase memory for xmlbean generation, because of failing gump builds.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1795661 13f79535-47bb-0310-9956-ffa450edef68
2017-05-20 15:11:58 +00:00
Javen O'Neal
5c62492ffb github-54: when adding a picture to an XSSFWorkbook, reduce memory consumption by 100x and increase speed by 10x based on OpenJDK JMH benchmarking. Thanks to Tim Helmstedt! This closes #54.
https://github.com/apache/poi/pull/54

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1795252 13f79535-47bb-0310-9956-ffa450edef68
2017-05-15 23:27:21 +00:00
Andreas Beeker
8c1346b138 Add ASL header and exclude table preset from rat-check
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1795137 13f79535-47bb-0310-9956-ffa450edef68
2017-05-15 06:30:06 +00:00
Dominik Stadler
a39df8eb71 Exclude one more test from no-scratchpad runs, not sure how this was even working before...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1793253 13f79535-47bb-0310-9956-ffa450edef68
2017-04-30 09:12:48 +00:00
Andreas Beeker
3d53258942 Website update / release guide fix
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1791631 13f79535-47bb-0310-9956-ffa450edef68
2017-04-16 20:40:47 +00:00
Javen O'Neal
21f5fc8eaf roll back to hamcrest-core
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1791572 13f79535-47bb-0310-9956-ffa450edef68
2017-04-16 06:19:30 +00:00
Javen O'Neal
dc29c94460 roll back to hamcrest-core
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1791570 13f79535-47bb-0310-9956-ffa450edef68
2017-04-16 06:10:23 +00:00
Javen O'Neal
ef8c9329cf change from hamcrest-core-1.3 to hamcrest-all-1.3
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1791444 13f79535-47bb-0310-9956-ffa450edef68
2017-04-15 03:19:27 +00:00
Andreas Beeker
1078cef19c prepare for 3.17-beta1
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1791047 13f79535-47bb-0310-9956-ffa450edef68
2017-04-11 22:14:38 +00:00
Andreas Beeker
2bfad141fc release prepare for 3.16 - updating build.xml and status.xml
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1791045 13f79535-47bb-0310-9956-ffa450edef68
2017-04-11 22:13:33 +00:00
Javen O'Neal
0f09e9eae2 bug 59227: parse dates formatted in Japanese or Chinese. Change javac source encoding from ASCII to UTF-8 (same as build.gradle). Patch from jzhao. This closes #48 on Github.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1782119 13f79535-47bb-0310-9956-ffa450edef68
2017-02-08 08:29:18 +00:00
Javen O'Neal
a1db2e3346 run release-prep0 with https URLs. This worked for kiwiwings.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1781337 13f79535-47bb-0310-9956-ffa450edef68
2017-02-02 00:48:03 +00:00
Javen O'Neal
82ecb71a99 echo release version
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1781195 13f79535-47bb-0310-9956-ffa450edef68
2017-02-01 01:24:02 +00:00
Javen O'Neal
16b8e35296 release-prep1 should abort if release tag already exists. It's likely that the version was entered incorrectly or copy-pasted from a template.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1781191 13f79535-47bb-0310-9956-ffa450edef68
2017-02-01 00:59:20 +00:00
Javen O'Neal
3cb725c86d prepare for 3.16-beta3
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1780508 13f79535-47bb-0310-9956-ffa450edef68
2017-01-27 05:47:12 +00:00
Javen O'Neal
1cd8182bae revert r1780499: wrong release-prep1 version (3.15-beta1)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1780505 13f79535-47bb-0310-9956-ffa450edef68
2017-01-27 05:41:13 +00:00
Javen O'Neal
1860c7d716 Revert r1780501: wrong release-prep1 version (3.15-beta1)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1780502 13f79535-47bb-0310-9956-ffa450edef68
2017-01-27 05:27:01 +00:00
Javen O'Neal
383377499c prepare for 3.15-beta2
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1780501 13f79535-47bb-0310-9956-ffa450edef68
2017-01-27 04:49:14 +00:00
Javen O'Neal
f56740144a release prepare for 3.15-beta1 - updating build.xml and status.xml
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1780499 13f79535-47bb-0310-9956-ffa450edef68
2017-01-27 04:47:49 +00:00
Dominik Stadler
30071927f8 Need a fifth addopens-parameter for JDK 9
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1780457 13f79535-47bb-0310-9956-ffa450edef68
2017-01-26 19:59:10 +00:00
Dominik Stadler
c2022f7c3a Allow to pass --add-modules to javadoc as well as we get lots of missing code reported otherwise, we cannot use the existing property java9addmods as we need to use a different default-value for non-JDK9 builds
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1776797 13f79535-47bb-0310-9956-ffa450edef68
2016-12-31 16:53:20 +00:00
Dominik Stadler
1350ad3eb3 Coverage:
* Exclude "examples" from coverage in Jenkins, add some comments
* Fix warning in newer Gradle versions
* Adjust coverage-excludes in build.xml

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1776715 13f79535-47bb-0310-9956-ffa450edef68
2016-12-31 09:43:13 +00:00
Dominik Stadler
de83b46caa Update JaCoCo to 0.7.8 to allow to run it when using JDK 9
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1776623 13f79535-47bb-0310-9956-ffa450edef68
2016-12-30 19:03:44 +00:00
Dominik Stadler
a6f5bcc970 Add full support for using file-leak-detector, will be added to CI to report missing close() calls in test-runs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1776617 13f79535-47bb-0310-9956-ffa450edef68
2016-12-30 18:37:24 +00:00
Dominik Stadler
7b5a7e32df Allow to set the new --add-opens argument for JDK 9, scratchpad tests require slightly more memory on JDK 9 now, also adjust the Jenkins DSL accordingly.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1776608 13f79535-47bb-0310-9956-ffa450edef68
2016-12-30 17:00:13 +00:00
centic
0b17d4def9 Use one redirection less when downloading findbugs jar
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1776066 13f79535-47bb-0310-9956-ffa450edef68
2016-12-26 19:51:37 +00:00
Dominik Stadler
a5f60dbe27 Revert "Fail after running tests if halt.on.test.failure is set and tests are failing"
This reverts commit 1fdfcd3d44e71a2b919f045bad849b9d38150aea.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1773688 13f79535-47bb-0310-9956-ffa450edef68
2016-12-11 21:15:31 +00:00
Dominik Stadler
f93ed55070 Revert "Add file-leak-detector to test-run and ooxml-lite generation in build.xml"
This reverts commit 0392a0e1c7cb188c57f59fa17578b0a69bab4d22.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1773678 13f79535-47bb-0310-9956-ffa450edef68
2016-12-11 21:14:50 +00:00
Dominik Stadler
4a154add8e Add file-leak-detector to test-run and ooxml-lite generation in build.xml
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1773646 13f79535-47bb-0310-9956-ffa450edef68
2016-12-11 20:58:58 +00:00
Dominik Stadler
ca6cea1863 Fail after running tests if halt.on.test.failure is set and tests are failing
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1773636 13f79535-47bb-0310-9956-ffa450edef68
2016-12-11 20:58:16 +00:00
Andreas Beeker
200850c1e4 removed duplicate ignore
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1771977 13f79535-47bb-0310-9956-ffa450edef68
2016-11-29 23:03:46 +00:00
Andreas Beeker
d9ef0efcdd #60427 - Creating pictures in PowerPoint slides requires scratchpad-jar for adding WMF images
more cases

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1771974 13f79535-47bb-0310-9956-ffa450edef68
2016-11-29 22:41:26 +00:00
Andreas Beeker
11986a0492 #60427 - Creating pictures in PowerPoint slides requires scratchpad-jar for adding WMF images
more cases

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1771832 13f79535-47bb-0310-9956-ffa450edef68
2016-11-29 00:46:39 +00:00
Andreas Beeker
603993ad08 rat-check fix
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1771649 13f79535-47bb-0310-9956-ffa450edef68
2016-11-27 21:14:55 +00:00
Andreas Beeker
8ef4744b38 fix update-download task
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1771066 13f79535-47bb-0310-9956-ffa450edef68
2016-11-24 00:31:20 +00:00
Javen O'Neal
91a8fb0a0d fix broken link http://missing-link.googlecode.com/files/ml-ant-http-1.1.3.zip
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1771056 13f79535-47bb-0310-9956-ffa450edef68
2016-11-23 22:23:09 +00:00
Dominik Stadler
5ec38746a1 Fix missing directory 'maven' in source release packages, adjust the related test-Ant-script to call 'assemble' instead of 'jar' to catch something like this in the future.
Also exclude some more intermediate files/directories from the source package.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1769684 13f79535-47bb-0310-9956-ffa450edef68
2016-11-14 19:50:39 +00:00
Javen O'Neal
04e85b90db http://www.apache.org/dist/poi -> https://www.apache.org/dist/poi
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1769566 13f79535-47bb-0310-9956-ffa450edef68
2016-11-14 05:56:19 +00:00
Javen O'Neal
c733c769f9 prepare for 3.16-beta2
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1769474 13f79535-47bb-0310-9956-ffa450edef68
2016-11-13 08:41:53 +00:00
Dominik Stadler
cc38d66a3e Add a way to exclude tests via Ant-properties, needed to check if ooxml-tests run without scratchpad (except TestExtractorFactory)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1768591 13f79535-47bb-0310-9956-ffa450edef68
2016-11-07 21:32:22 +00:00
Dominik Stadler
a350f399f5 Allow more time for a unit-test when running on slow Gump VM
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1766397 13f79535-47bb-0310-9956-ffa450edef68
2016-10-24 12:07:15 +00:00