Commit Graph

541 Commits

Author SHA1 Message Date
David North
e5877bd8e0 Introduce name-based methods for access to named ranges in a workbook, and deprecate the old index-based methods.
Re-organise internally to use a map so that lookup is O(1) rather than O(n ranges).

Add a dependency on commons collections 4, also ASL licensed so no problem.

https://bz.apache.org/bugzilla/show_bug.cgi?id=59734

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1754521 13f79535-47bb-0310-9956-ffa450edef68
2016-07-29 13:24:00 +00:00
Javen O'Neal
a3a5552b4d bug 59784: replace 'signed' with 'signature (.asc)'; patch from Sebb
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1751559 13f79535-47bb-0310-9956-ffa450edef68
2016-07-05 20:59:28 +00:00
Andreas Beeker
2a4b9c6728 announce POI 3.15-beta2
generate snipplet for download.xml

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1751103 13f79535-47bb-0310-9956-ffa450edef68
2016-07-02 22:09:00 +00:00
Dominik Stadler
e1f7c9ae23 Update to apache-rat-12
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1750863 13f79535-47bb-0310-9956-ffa450edef68
2016-06-30 21:05:52 +00:00
Andreas Beeker
1a8ffb8569 prepare for 3.15-beta3
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1750213 13f79535-47bb-0310-9956-ffa450edef68
2016-06-25 16:53:05 +00:00
Javen O'Neal
889188f445 add description to gump and jenkins build targets
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1748100 13f79535-47bb-0310-9956-ffa450edef68
2016-06-13 07:15:47 +00:00
Javen O'Neal
609d0c1826 findbugs depends on the poi, poi-scratchpad, and poi-ooxml jars being copied to build/maven
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1748087 13f79535-47bb-0310-9956-ffa450edef68
2016-06-13 05:41:32 +00:00
Andreas Beeker
603bda4915 use newer findbugs version, if we run with java 7+
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1747936 13f79535-47bb-0310-9956-ffa450edef68
2016-06-11 21:23:01 +00:00
Dominik Stadler
0c74fe60a3 Remove invalid removal of findbugs-zip
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1747862 13f79535-47bb-0310-9956-ffa450edef68
2016-06-11 08:45:33 +00:00
Dominik Stadler
065fbcbc2f Cleanup old version of curvesapi to not use it any longer
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1746276 13f79535-47bb-0310-9956-ffa450edef68
2016-05-31 13:56:47 +00:00
Nick Burch
af57e6f8bc Patch from virtuald from #59643 - update the maven-install target to match current maven resource paths in dist
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1746257 13f79535-47bb-0310-9956-ffa450edef68
2016-05-31 09:13:46 +00:00
Dustin Spicuzza
5be91c097c Update curvesapi to 1.04
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1746168 13f79535-47bb-0310-9956-ffa450edef68
2016-05-30 19:21:49 +00:00
Dominik Stadler
a48bfc0281 Prepare build.xml for initial Java 9 testing:
* Allow to remove PermGenSize, this is not available any more in Java 9
* Allow to pass in java.locale.providers

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1746059 13f79535-47bb-0310-9956-ffa450edef68
2016-05-29 21:33:28 +00:00
Dominik Stadler
1afe952ca9 Revert back to findbugs-2.0.3 as 3.x requires Java 7, I didn't see the note that is already in the build.xml :(
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1745376 13f79535-47bb-0310-9956-ffa450edef68
2016-05-24 16:25:30 +00:00
Dominik Stadler
a7df6604a4 Upgrade to FindBugs 3.0.1 and add some findbugs-excludes
Update to forbiddenapi-checker 2.1, use the newly provided rule-sets and remove things that were applied upstream 


git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1745366 13f79535-47bb-0310-9956-ffa450edef68
2016-05-24 14:17:52 +00:00
Andreas Beeker
12425ac107 added commons-logging to integration test to make profiling easier - just match the timestamps of the log with the timestamps of the profiling monitor
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1744001 13f79535-47bb-0310-9956-ffa450edef68
2016-05-16 09:49:17 +00:00
Andreas Beeker
ac29f3105a remove dublin core schemas as we don't use the schemas which reference them
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1741699 13f79535-47bb-0310-9956-ffa450edef68
2016-04-29 20:55:52 +00:00
Andreas Beeker
a5e58beed1 comment out https check for jdk1.6
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1741352 13f79535-47bb-0310-9956-ffa450edef68
2016-04-27 22:17:17 +00:00
Javen O'Neal
c4df0320fb add description to dist-nexus target in build.xml
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1739680 13f79535-47bb-0310-9956-ffa450edef68
2016-04-18 01:28:11 +00:00
Javen O'Neal
6b682bcccc add test-ss target to test Common SS, HSSF, XSSF, and SXSSF; add descriptions to targets
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1739679 13f79535-47bb-0310-9956-ffa450edef68
2016-04-18 01:23:26 +00:00
Javen O'Neal
838a649a96 add test-hssf target to test just HSSF classes, skipping hssf.dev. Duration after running ant clean (includes 0m22s of prerequisites): test-hssf: 1m3s, test-main: 2m8s.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1739674 13f79535-47bb-0310-9956-ffa450edef68
2016-04-18 01:07:37 +00:00
Javen O'Neal
63d34f2080 add missing groups to javadocs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1739669 13f79535-47bb-0310-9956-ffa450edef68
2016-04-18 00:28:13 +00:00
Javen O'Neal
41b4177b45 add test-ooxml-ss target to test just (S)XSSF classes. Duration after running ant clean: test-ooxml-ss 1m55s, test-ooxml 2m26s, test 5m55s
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1739668 13f79535-47bb-0310-9956-ffa450edef68
2016-04-18 00:16:28 +00:00
Javen O'Neal
c03fd6374b whitespace
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1739662 13f79535-47bb-0310-9956-ffa450edef68
2016-04-17 22:01:48 +00:00
Andreas Beeker
7d07ef4439 Nexus upload - mimic the manually uploaded repositories - see [INFRA-11687]
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1739281 13f79535-47bb-0310-9956-ffa450edef68
2016-04-15 11:06:58 +00:00
Javen O'Neal
bf77655e00 sourceforge findbugs can't be downloaded over HTTPS yet
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1738751 13f79535-47bb-0310-9956-ffa450edef68
2016-04-12 09:56:33 +00:00
Javen O'Neal
deb66d0d5d use https URLs when available
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1738750 13f79535-47bb-0310-9956-ffa450edef68
2016-04-12 09:52:42 +00:00
Javen O'Neal
4e610a4cf2 add compile dependency to forbidden-apis-check so that forbidden-apis-check will recompile sources that have been modified
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1738500 13f79535-47bb-0310-9956-ffa450edef68
2016-04-11 01:33:21 +00:00
Andreas Beeker
0cea01423f remove copy&paste error in release-prep
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1738352 13f79535-47bb-0310-9956-ffa450edef68
2016-04-09 11:28:12 +00:00
Andreas Beeker
f18e11db77 update release-guide and build.xml to the new release process
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1738198 13f79535-47bb-0310-9956-ffa450edef68
2016-04-07 23:11:22 +00:00
Andreas Beeker
3b23cf3912 prepare for 3.15-beta2
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1737620 13f79535-47bb-0310-9956-ffa450edef68
2016-04-03 23:00:28 +00:00
Andreas Beeker
4065b3e6a4 release prepare for 3.15-beta1 - updating build.xml and status.xml
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1737617 13f79535-47bb-0310-9956-ffa450edef68
2016-04-03 22:58:08 +00:00
Andreas Beeker
9746e23093 prepare for 3.15-beta2
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1737615 13f79535-47bb-0310-9956-ffa450edef68
2016-04-03 22:25:55 +00:00
Andreas Beeker
e43b180c0a release prepare for 3.15-beta1 - updating build.xml and status.xml
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1737611 13f79535-47bb-0310-9956-ffa450edef68
2016-04-03 22:23:21 +00:00
Andreas Beeker
0cd51933ad release prepare for 3.15-beta1 - updating build.xml and status.xml
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1737610 13f79535-47bb-0310-9956-ffa450edef68
2016-04-03 22:19:44 +00:00
Dominik Stadler
328c52aab7 Fix some cases where file handles are not closed in OldExcelExtractor
Close resources in some more tests to make the file-leak report clean again

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1737487 13f79535-47bb-0310-9956-ffa450edef68
2016-04-02 11:01:43 +00:00
Dominik Stadler
88e9ff08db Enhance integration tests to call some of the common examples/devtools to also trigger these with all sample files, currently XLSX2CSV, BiffViewer, FromHowTo
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1737308 13f79535-47bb-0310-9956-ffa450edef68
2016-04-01 06:25:49 +00:00
Tim Allison
26af28bbdb POI 59257 upgrade Bouncy Castle to 1.54
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1737298 13f79535-47bb-0310-9956-ffa450edef68
2016-04-01 00:57:56 +00:00
Nick Burch
17c2957dd7 Fetch the Ant SVN binding jars if init-svn is called
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1737165 13f79535-47bb-0310-9956-ffa450edef68
2016-03-30 21:27:03 +00:00
Andreas Beeker
8d71080604 another gump run fix (... try)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1736091 13f79535-47bb-0310-9956-ffa450edef68
2016-03-21 20:44:32 +00:00
Andreas Beeker
5741c62ab0 XmlBeans generation still needs the original jar
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1735876 13f79535-47bb-0310-9956-ffa450edef68
2016-03-20 13:15:04 +00:00
Andreas Beeker
488ce5fec3 #59195 - POIXMLTypeLoader depends on XMLBeans 2.6.0 - remove piccolo classes from xmlbeans jars and disable xmloption in type loader
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1735685 13f79535-47bb-0310-9956-ffa450edef68
2016-03-18 21:34:03 +00:00
Andreas Beeker
08fc07d5c6 increase perm gen
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1735332 13f79535-47bb-0310-9956-ffa450edef68
2016-03-16 22:41:34 +00:00
Dominik Stadler
128a991f9c Findbugs fixes
OldExcelExtractor could leak file handles in case of exceptions
Free file handles in POIFSDump, add unit-test for POIFSDump
Add a Findbugs exclude and adjust findbugs-ant slightly

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1734689 13f79535-47bb-0310-9956-ffa450edef68
2016-03-12 11:37:12 +00:00
Andreas Beeker
299fdcccf8 add fixcrlf to docs-target, to fix windows document generation
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1734654 13f79535-47bb-0310-9956-ffa450edef68
2016-03-12 00:34:26 +00:00
Andreas Beeker
d1fe310b1a findbugs fix
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1734319 13f79535-47bb-0310-9956-ffa450edef68
2016-03-09 21:36:26 +00:00
Andreas Beeker
ced84bd586 fix class dependency error of #57031 / #59058 patch
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1734312 13f79535-47bb-0310-9956-ffa450edef68
2016-03-09 21:01:33 +00:00
Andreas Beeker
342047e338 signing and repository upload via ant
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1733863 13f79535-47bb-0310-9956-ffa450edef68
2016-03-07 01:58:26 +00:00
Dominik Stadler
60159c83b6 Fixup last commit: don't remove the xmlbeans.marker files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1733465 13f79535-47bb-0310-9956-ffa450edef68
2016-03-03 13:38:03 +00:00
Dominik Stadler
9bc67aa067 Switch to 3.15-beta1 in the sonar-build-files as well
Add a bit more cleanup and removal of old libs

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1733464 13f79535-47bb-0310-9956-ffa450edef68
2016-03-03 13:36:26 +00:00
Andreas Beeker
ba416e6c09 switch to 3.15-beta1
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1732983 13f79535-47bb-0310-9956-ffa450edef68
2016-03-01 00:35:51 +00:00
Andreas Beeker
7f5159bfbd 3.14 release preparation
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1732981 13f79535-47bb-0310-9956-ffa450edef68
2016-03-01 00:31:24 +00:00
Dominik Stadler
b41e52b906 Update to JaCoCo 0.7.6 to try to restore coverage on builds.a.o
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1732611 13f79535-47bb-0310-9956-ffa450edef68
2016-02-27 08:41:07 +00:00
Dominik Stadler
d70d496f84 Add curvesapi-jar when running Findbugs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1727652 13f79535-47bb-0310-9956-ffa450edef68
2016-01-29 22:08:55 +00:00
Andreas Beeker
183b2d774f Raised xmlsec version to 2.0.6
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1726528 13f79535-47bb-0310-9956-ffa450edef68
2016-01-24 18:36:56 +00:00
Dominik Stadler
08ec6e316c Include curvesapi-jar in distribution
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1725335 13f79535-47bb-0310-9956-ffa450edef68
2016-01-18 20:16:29 +00:00
Dominik Stadler
5d79479dcf Dummy commit to try if we can close some old github PRs via commit-comments: closes #2, closes #3, closes #4, closes #19
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1722963 13f79535-47bb-0310-9956-ffa450edef68
2016-01-04 20:43:16 +00:00
Andreas Beeker
99f6175e97 rat-check - remove clutter to compact build output
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1721043 13f79535-47bb-0310-9956-ffa450edef68
2015-12-20 17:01:46 +00:00
David North
9e0601a058 Trunk now heading for beta2 again, unpin docs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1720438 13f79535-47bb-0310-9956-ffa450edef68
2015-12-16 20:21:30 +00:00
David North
807bf16cee About to roll 3.14 beta1 rc2
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1720434 13f79535-47bb-0310-9956-ffa450edef68
2015-12-16 20:17:22 +00:00
David North
a18fc56822 Trunk is now on course for 3.14beta2
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1718468 13f79535-47bb-0310-9956-ffa450edef68
2015-12-07 21:13:59 +00:00
Andreas Beeker
a7fb6a7c54 xml schemas - remove deprecated warnings, as we prefer the array methods - see #56854
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1718125 13f79535-47bb-0310-9956-ffa450edef68
2015-12-05 21:58:20 +00:00
Dominik Stadler
5a8aceec32 Add some additional rules for the forbidden-apis-check borrowed from Elasticsearch, also add a separate signature file with more rules for the 'prod' code and fix two newly found issues
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1717689 13f79535-47bb-0310-9956-ffa450edef68
2015-12-02 21:47:52 +00:00
Javen O'Neal
f04e478926 revert r1716119, since it would delete the output of compile-ooxml-xsds and require the target to be rebuilt every time "ant compile" was run
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1717057 13f79535-47bb-0310-9956-ffa450edef68
2015-11-29 13:02:12 +00:00
Nick Burch
d80c13fcf4 Bump the ooxml-security version in the classpath definition to match the updated jar name
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1716119 13f79535-47bb-0310-9956-ffa450edef68
2015-11-24 12:23:08 +00:00
Andreas Beeker
c5eef0ba45 raise ooxml schema/security version
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1715718 13f79535-47bb-0310-9956-ffa450edef68
2015-11-23 00:15:07 +00:00
Uwe Schindler
c941df8642 Use <file/> instead of <fileset/> for single files to ensure, they exist
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1715627 13f79535-47bb-0310-9956-ffa450edef68
2015-11-22 14:03:52 +00:00
Andreas Beeker
e0f10f2071 delete old schema-1.2 jar
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1715556 13f79535-47bb-0310-9956-ffa450edef68
2015-11-21 19:56:45 +00:00
Andreas Beeker
47b5cde9c3 #58617 - Add custom safe XmlBeans type loader / rename vendor specific schema packages
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1715555 13f79535-47bb-0310-9956-ffa450edef68
2015-11-21 19:37:26 +00:00
Uwe Schindler
0f40ad3125 Make forbiddenapis also check excelant. Use a separate "classpath" for running forbiddenapis; don't misuse javadoc.classpath for that.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1713222 13f79535-47bb-0310-9956-ffa450edef68
2015-11-08 11:57:58 +00:00
Dominik Stadler
db98ec0bd9 Tried to add excelant to forbidden-apis-check, but failed due to issue #82 in forbidden-api-checks tool. List more pathes that we still not include. Add description to custom forbidden-api-checks and add commented out checks for reflectoin as discussed in bug 58597
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1713218 13f79535-47bb-0310-9956-ffa450edef68
2015-11-08 10:01:48 +00:00
Andreas Beeker
9b4919cd51 extended forbidden-apis-check to ooxml-tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1712693 13f79535-47bb-0310-9956-ffa450edef68
2015-11-05 00:15:51 +00:00
David North
1f86e2ac14 Add description to jenkins target
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1711215 13f79535-47bb-0310-9956-ffa450edef68
2015-10-29 10:42:23 +00:00
Dominik Stadler
19018c80e7 Add delete of outdated forbiddenapi-jar
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1710691 13f79535-47bb-0310-9956-ffa450edef68
2015-10-26 20:45:44 +00:00
Nick Burch
74f6f424ad Update the build version, step missed from the release guide
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1710408 13f79535-47bb-0310-9956-ffa450edef68
2015-10-25 00:26:43 +00:00
Dominik Stadler
63cb78d416 Revert upgrade of findbugs as it requires Java 7, but we still allow to compile using Java 6.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1710196 13f79535-47bb-0310-9956-ffa450edef68
2015-10-23 12:18:22 +00:00
Dominik Stadler
4ce73544a7 Update to latest findbugs version 3.0.1, reported issues go from 163 to 209 :(
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1710195 13f79535-47bb-0310-9956-ffa450edef68
2015-10-23 12:16:11 +00:00
Dominik Stadler
27d4814b80 Set newer curvesapi-version in .classpath as well and update some third-party libs for the password-protection-code to the latest versions
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1710032 13f79535-47bb-0310-9956-ffa450edef68
2015-10-22 15:21:25 +00:00
Dustin Spicuzza
fe771aa808 XDGF: fix the fix
- Use Collections.emptySet() for an iterator instead
- Bump curvesapi to 1.03, which is compiled for JDK 1.5

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1709463 13f79535-47bb-0310-9956-ffa450edef68
2015-10-19 18:36:45 +00:00
Dustin Spicuzza
e3365dfaeb poi-import: fix build dependencies
- Compilation + tests work now

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1709356 13f79535-47bb-0310-9956-ffa450edef68
2015-10-19 05:59:42 +00:00
Dominik Stadler
05c161b6cf Delete outdated versions of ooxml-schemas jars before building
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1708681 13f79535-47bb-0310-9956-ffa450edef68
2015-10-14 19:27:14 +00:00
Dominik Stadler
cc576a9887 Update to latest commons-codec-1.10 and commons-logging-1.2, use the properties for these libs everywhere in build.xml
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1708464 13f79535-47bb-0310-9956-ffa450edef68
2015-10-13 16:37:22 +00:00
Dustin Spicuzza
75467f7cdb Exclude visio xsd from rat check
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1707292 13f79535-47bb-0310-9956-ffa450edef68
2015-10-07 13:13:39 +00:00
Dustin Spicuzza
bf68d5f290 Bug 58048: Add visio schemas to the OOXML jar
- Bumped OOXML jar version also

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1707177 13f79535-47bb-0310-9956-ffa450edef68
2015-10-07 02:41:30 +00:00
Dominik Stadler
bf0dcc16c9 Ant build: Use correct AntTask as reported by forbidden-apis-check, Print out which documentation directory is looked at in -check-docs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1707055 13f79535-47bb-0310-9956-ffa450edef68
2015-10-06 13:36:30 +00:00
David North
28ccb12153 Clean up a bit and move some comments into descriptions for the benefit of ant -p
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1706822 13f79535-47bb-0310-9956-ffa450edef68
2015-10-05 12:23:07 +00:00
Dominik Stadler
d81547befd Update forbidden-api checks to new release 2.0
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1706151 13f79535-47bb-0310-9956-ffa450edef68
2015-09-30 20:00:14 +00:00
Andreas Beeker
8b40c3abb4 3.13 Final RC preparation
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1704429 13f79535-47bb-0310-9956-ffa450edef68
2015-09-21 21:40:59 +00:00
Andreas Beeker
fec6b40606 More forbidden apis fixes (added main-tests to the check)
and a few junit4 upgrades
... hopefully this doesn't crash the build again ... :|

to simulate the tests on jenkins on the local developer box, uncomment the UTC lines in the build.xml

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1702356 13f79535-47bb-0310-9956-ffa450edef68
2015-09-11 00:56:16 +00:00
Andreas Beeker
aaafb0270d Bug 58326 - Forbidden APIs patches - first set of changes for locale and timezone settings
also includes fixes for
- name shadowing 
- unused deprecated method "getClipRect" in classes extending Graphics2d
- HexDump - replaced intermediate String.format calls with custom padding
- convert testcases to junit4
- closing resources

also tested with an arbitary timezone (PST) and locale (ru)

supresses forbidden apis check for
- LocaleUtil (the only place where Locale.getDefault() and TimeZone.getDefault() should be called)
- Classes using FontMetrics - without the actual text it's difficult to return something sane

Some usage of UTC and Locale.ROOT might be still wrong, e.g. in MapiMessage we don't access the
extended mapi properties, which might contain the timezone

DataFormatter has now a Observable property which need to be observed when custom formats are used
and the Locale changes

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1701688 13f79535-47bb-0310-9956-ffa450edef68
2015-09-07 20:19:50 +00:00
Nick Burch
57a1370f1d Enable the Forbidden APIs checks on Main, Scratchpad and OOXML. Run with "ant forbidden-apis-check"
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1698148 13f79535-47bb-0310-9956-ffa450edef68
2015-08-27 13:23:44 +00:00
Nick Burch
eea3ef5c49 Update RAT docs, and fetch the Forbidden APIs jar
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1698147 13f79535-47bb-0310-9956-ffa450edef68
2015-08-27 13:14:46 +00:00
Nick Burch
d1f537ff48 Stub a call to the Forbidden APIs check
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1698143 13f79535-47bb-0310-9956-ffa450edef68
2015-08-27 13:07:36 +00:00
Dominik Stadler
2d677beac8 Specify the amount of memory for OOXMLLite as different environments fail sometimes currently and it should make the build more reproducible if we state how much memeory we want
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1697233 13f79535-47bb-0310-9956-ffa450edef68
2015-08-23 18:10:01 +00:00
Dominik Stadler
7851601247 Add empty.pptx to excludes in rat-check
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1697232 13f79535-47bb-0310-9956-ffa450edef68
2015-08-23 18:09:56 +00:00
Dominik Stadler
873bdb687c Use more permsize when running ooxml-lite as it seems to reach the default limit now
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1696359 13f79535-47bb-0310-9956-ffa450edef68
2015-08-18 05:57:03 +00:00
Dominik Stadler
415d494631 Adjust dependencies to make target compile-ooxml-xsds run standalone and use init instead of check-jars,fetch-jars
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1696358 13f79535-47bb-0310-9956-ffa450edef68
2015-08-18 05:12:43 +00:00
Andreas Beeker
8635ec311c use woodstox property on all junit calls
move test system properties to junit propertyset

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1694751 13f79535-47bb-0310-9956-ffa450edef68
2015-08-07 23:33:30 +00:00
Andreas Beeker
a674e638d5 another try to fix the woodstox errors in the gump build
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1694337 13f79535-47bb-0310-9956-ffa450edef68
2015-08-05 21:58:44 +00:00
Nick Burch
8ace3fe2a2 Maven uses plurals for everything *except* javadocs... #58203
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1693768 13f79535-47bb-0310-9956-ffa450edef68
2015-08-01 21:35:00 +00:00
Andreas Beeker
f5e9adea84 merged common_sl branch to trunk
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1692593 13f79535-47bb-0310-9956-ffa450edef68
2015-07-24 21:47:55 +00:00
Andreas Beeker
3d2c320f49 disable jaxb class generation, because the order is different with each run
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/common_sl@1691849 13f79535-47bb-0310-9956-ffa450edef68
2015-07-19 19:46:25 +00:00
Andreas Beeker
d439f080d6 merge trunk to common sl branch
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/common_sl@1691843 13f79535-47bb-0310-9956-ffa450edef68
2015-07-19 19:00:32 +00:00
Andreas Beeker
6fe5b7bf51 downgraded xjc params to jdk6 and regenerated geometry binding classes
added rendering for auto numbers
fixed various bugs on failing tests
changed xslf paragraph indent to indentLevel to align with hslf
added escher record factory subclass to hslf, to eventually make hslf wrapper classes obsolete

git-svn-id: https://svn.apache.org/repos/asf/poi/branches/common_sl@1689777 13f79535-47bb-0310-9956-ffa450edef68
2015-07-08 00:09:34 +00:00
Dominik Stadler
eee8a0742c remove some older jacoco jars from the lib-directories to avoid loading outdated 3rd party code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1685702 13f79535-47bb-0310-9956-ffa450edef68
2015-06-16 05:32:22 +00:00
Dominik Stadler
c49278ebac List more targets in help, make jar-src work standalone
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1682785 13f79535-47bb-0310-9956-ffa450edef68
2015-05-31 20:11:20 +00:00
Dominik Stadler
82d1907584 Set version to 3.13-beta1
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1682784 13f79535-47bb-0310-9956-ffa450edef68
2015-05-31 20:10:08 +00:00
Nick Burch
0da60bd78e Note on why ooxml needs scratchpad, for one part only
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1682212 13f79535-47bb-0310-9956-ffa450edef68
2015-05-28 11:17:41 +00:00
Nick Burch
f769cb3461 Fix inconsistent indents
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1682201 13f79535-47bb-0310-9956-ffa450edef68
2015-05-28 11:00:32 +00:00
Dominik Stadler
4c826a7ee3 Update to JaCoCo 0.7.4 and fix location of coverage data in build-output
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1680228 13f79535-47bb-0310-9956-ffa450edef68
2015-05-19 10:16:57 +00:00
Dominik Stadler
c3e1267a4d Make source-build from a fresh repository work, compile-lib was not created.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1678322 13f79535-47bb-0310-9956-ffa450edef68
2015-05-08 10:32:26 +00:00
Andreas Beeker
9c558ab293 Use en-locale for javadoc otherwise apidocs contains <html lang="de"> attributes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1678109 13f79535-47bb-0310-9956-ffa450edef68
2015-05-06 23:17:18 +00:00
Andreas Beeker
125ef5707f Release preparation
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1677675 13f79535-47bb-0310-9956-ffa450edef68
2015-05-04 20:28:30 +00:00
Andreas Beeker
cdc2ab7f9b javadoc fix ... trying to get rid of the "Error fetching URL" warning
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1677659 13f79535-47bb-0310-9956-ffa450edef68
2015-05-04 19:34:48 +00:00
Nick Burch
7998e373d3 Little bit more OSGi, not yet working #57857
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1675991 13f79535-47bb-0310-9956-ffa450edef68
2015-04-25 02:18:06 +00:00
Nick Burch
5fc4bd3f48 #57857 Based on the Apache Tika OSGi bundle and tests, start on a maven-powered build and test for a POI bundle
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1675989 13f79535-47bb-0310-9956-ffa450edef68
2015-04-25 01:53:30 +00:00
Dominik Stadler
5d4a5c2bb4 Also write findbugs.xml file for reading the results in ^Cnkins builds
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1666657 13f79535-47bb-0310-9956-ffa450edef68
2015-03-14 11:52:59 +00:00
Dominik Stadler
1bbbd985d4 Bug 57612: Fix checking for proxy/accessible website in TestSignatureInfo
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1661774 13f79535-47bb-0310-9956-ffa450edef68
2015-02-23 20:45:21 +00:00
Nick Burch
8d19e8b741 Fix typo - remove duplicate characters
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1661662 13f79535-47bb-0310-9956-ffa450edef68
2015-02-23 13:21:06 +00:00
Andreas Beeker
0864168c23 update to next beta and docu fix
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1661349 13f79535-47bb-0310-9956-ffa450edef68
2015-02-21 12:55:03 +00:00
Andreas Beeker
996c9dd93c initial commit - still lots of errors, but I need to switch to a clean trunk for releasing and testing
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/common_sl@1661322 13f79535-47bb-0310-9956-ffa450edef68
2015-02-21 10:56:03 +00:00
Dominik Stadler
a27718e373 Add ooxml-sources-jar files to up-to-date check to still recompile if only they are missing
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1658593 13f79535-47bb-0310-9956-ffa450edef68
2015-02-09 22:32:43 +00:00
Dominik Stadler
24478a96dd Bug 57468: Avoid possible build-error if lib-directory is not created
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1653643 13f79535-47bb-0310-9956-ffa450edef68
2015-01-21 20:39:30 +00:00
Dominik Stadler
2dce3dc7d0 Adjust .classpath sources and add missing dependencies to run ooxml-lite tests standalone
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1649179 13f79535-47bb-0310-9956-ffa450edef68
2015-01-03 09:35:34 +00:00
Dominik Stadler
ff2dece3ce Update to junit-4.12, the jar file is downloaded, so not required on classpath anymore. Also adjust version in pom.xml for Sonar.
Conflicts:
	.classpath

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1649178 13f79535-47bb-0310-9956-ffa450edef68
2015-01-03 09:35:21 +00:00
Dominik Stadler
397d0d61d6 Update to latest JaCoCo 0.7.2 and adjust coverage report to exclude third-party code that is not relevant for coverage measurement
Conflicts:
	build.xml

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1649177 13f79535-47bb-0310-9956-ffa450edef68
2015-01-03 09:34:25 +00:00
Dominik Stadler
54fd49b39f Exclude javadoc-jars in findbugs run
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1648155 13f79535-47bb-0310-9956-ffa450edef68
2014-12-28 08:59:34 +00:00
Dominik Stadler
b1e4a93f4d Add jars from compile-lib to findbugs target
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1647938 13f79535-47bb-0310-9956-ffa450edef68
2014-12-26 07:04:10 +00:00
Dominik Stadler
0c580c8f45 Add a test-suite which performs integration/stress tests which load and handle all stored test files in various ways.
It works by using handlers for each type of file which perform various operations on the files, e.g. loading,
iterating content, modify, ... This will trigger changes which break working with the available test-files and
thus provides another layer of regression testing which hopefully prevents some failures from making it into
releases.

It is runnable via a new ant-target 'test-integration' and also added to the jenkins-target.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1647885 13f79535-47bb-0310-9956-ffa450edef68
2014-12-25 09:16:44 +00:00
Nick Burch
93372f4468 Prep for release
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1645814 13f79535-47bb-0310-9956-ffa450edef68
2014-12-16 01:54:49 +00:00
Nick Burch
c832b0ed4a Prep for release
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1645812 13f79535-47bb-0310-9956-ffa450edef68
2014-12-16 01:52:42 +00:00
Andreas Beeker
3f77a96e47 revert of r1639217 and offline-linking for maven javadocs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1639807 13f79535-47bb-0310-9956-ffa450edef68
2014-11-15 00:00:30 +00:00
Nick Burch
8a6cd5e11e Use more maven-like naming of the source jars for the ooxml schemas
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1638037 13f79535-47bb-0310-9956-ffa450edef68
2014-11-11 07:18:39 +00:00
Dominik Stadler
9f3e8b4919 Bug 57197: use proxy for TestSignatureInfo if set via environment variables
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1637979 13f79535-47bb-0310-9956-ffa450edef68
2014-11-10 20:37:26 +00:00
Nick Burch
0b4db82a91 Build per-component javadoc jars, suitable for use with Maven / Maven Central
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1637827 13f79535-47bb-0310-9956-ffa450edef68
2014-11-10 12:29:08 +00:00
Nick Burch
ab3c87b07f Follow discussions on dev@, don't include the javadocs in the source package, since they can be recreated as desired using ant from the unpacked source package
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1637818 13f79535-47bb-0310-9956-ffa450edef68
2014-11-10 11:20:48 +00:00
Dominik Stadler
3dd00ab13a Add xmlsec-jar in test-ooxml-lite which is missing after removing ooxml.classpath
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1637718 13f79535-47bb-0310-9956-ffa450edef68
2014-11-09 19:19:02 +00:00
Dominik Stadler
a37f104ad4 Adjust location of ooxml-lite classes and try with reduced classpath to actually test without full xsds
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1637704 13f79535-47bb-0310-9956-ffa450edef68
2014-11-09 17:55:22 +00:00
Nick Burch
89baa23ab6 When building the source package, also exclude the compile jars, and any dist folders
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1637561 13f79535-47bb-0310-9956-ffa450edef68
2014-11-08 13:40:53 +00:00
Nick Burch
6d92d0bf25 Set things up for the next release
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1637555 13f79535-47bb-0310-9956-ffa450edef68
2014-11-08 12:49:03 +00:00
Dominik Stadler
24effccc61 Fail build if test-cases fail in OOXMLLite execution to avoid missing included schema-classes. Also adjust how we look for test-classes so that we print out the ones that we skip with known ones excluded. Also print out skipped inner classes.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1637475 13f79535-47bb-0310-9956-ffa450edef68
2014-11-07 22:33:54 +00:00
Andreas Beeker
57948d071f excluded notesmaster.xml from rat check
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1635018 13f79535-47bb-0310-9956-ffa450edef68
2014-10-29 00:45:47 +00:00
Andreas Beeker
e409054f89 added ooxml-security-1.0 to the maven artifacts
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1634247 13f79535-47bb-0310-9956-ffa450edef68
2014-10-25 19:34:42 +00:00
Dominik Stadler
75653698ce One more change to OOXMLLite to also run all tests successfully when the outdated xerces lib is provided
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1633285 13f79535-47bb-0310-9956-ffa450edef68
2014-10-21 07:06:26 +00:00
Andreas Beeker
11cfec8513 xml dsign - javadoc fixes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1633241 13f79535-47bb-0310-9956-ffa450edef68
2014-10-20 22:18:42 +00:00
Dominik Stadler
7664c7efa7 * Make more tests work in OOXMLLite compilation by adding xml security classpath and ensuring proper cleanup in some Extractor tests
* Remove downloading xerces library here, we now do this in the special Jenkins job and thus can get rid of it here

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1633166 13f79535-47bb-0310-9956-ffa450edef68
2014-10-20 14:26:53 +00:00
Dominik Stadler
02a4dc5462 * Also adjust build.xml for newer required Ant 1.8.0
* Pass "additionaljar" to junit calls to enable us to exclude tests which we know are failing (newer XML Security stuff)

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1633156 13f79535-47bb-0310-9956-ffa450edef68
2014-10-20 13:54:41 +00:00
Andreas Beeker
14f3200486 Removed some custom classloading code, which doesn't make sense anymore
Tested a few other timestamp providers
limited the use of the additional libraries to xml dsign classes while running the junit tests

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1632858 13f79535-47bb-0310-9956-ffa450edef68
2014-10-18 23:19:49 +00:00
Dominik Stadler
591d82f2e3 Fix detecting missing downloaded and compiled OOXML jars, remove older versions of apache-rat correctly
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1631249 13f79535-47bb-0310-9956-ffa450edef68
2014-10-12 20:07:11 +00:00
Dominik Stadler
bc400ad94a Update to Apache Rat 0.11
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1630660 13f79535-47bb-0310-9956-ffa450edef68
2014-10-10 06:48:29 +00:00