Commit Graph

519 Commits

Author SHA1 Message Date
Andreas Beeker 068ddf14f5 test environment via ant - not via the shell - hope that makes sense ...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1801341 13f79535-47bb-0310-9956-ffa450edef68
2017-07-08 23:44:35 +00:00
Andreas Beeker ad3f978601 add version.id to release notes in update-download template
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1800529 13f79535-47bb-0310-9956-ffa450edef68
2017-07-01 19:53:47 +00:00
Andreas Beeker 68ea3a9254 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 2b874e59b5 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 87591edbf3 #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 7e79cadbdc 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 048ae39b1b 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 902124a5fd 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 4e57326803 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 f9dfa07143 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 585d77c9cf 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 b9a2479f92 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 980f319270 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 ed3706b8ce 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 d5f1f9ca43 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 179fbb134e 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 470f8a432a 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 c43ca904b3 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 7f79ea4644 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 9fe2769ecd 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 209c10a3f5 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 d5724474e6 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 62e584e656 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 b70287f72e 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 5a10161b58 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 60daf9d297 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 dc5bb33269 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 84c5e73baa 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 a8164b628b 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 e3728f1258 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 1dc4f7d086 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 7a9f81a948 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 70864c5a57 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 c331523fc5 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 6c5040f565 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 02f2481d21 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
Dominik Stadler fce89b2c5c 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 0d3304f2b5 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 581bed4fac 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 3cd4237084 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 7a021f6768 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 fe6ab5e0e1 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 09b3c01f05 #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 1575f3d263 #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 0375ceb955 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 33ad71d77e 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 cfd932f8ca 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 a1c9f7f723 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 0480ef3722 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 0ed7585732 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