]> source.dussan.org Git - poi.git/log
poi.git
7 years agoAdd additional check as mentioned in bug 50060
Dominik Stadler [Sat, 16 Sep 2017 08:20:32 +0000 (08:20 +0000)]
Add additional check as mentioned in bug 50060

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808503 13f79535-47bb-0310-9956-ffa450edef68

7 years agoTried to reproduce bug 61300, but could not.
Dominik Stadler [Sat, 16 Sep 2017 08:20:25 +0000 (08:20 +0000)]
Tried to reproduce bug 61300, but could not.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808502 13f79535-47bb-0310-9956-ffa450edef68

7 years agoAt least print out correct offset information for PtrRefN if it has offset values set
Dominik Stadler [Sat, 16 Sep 2017 08:20:17 +0000 (08:20 +0000)]
At least print out correct offset information for PtrRefN if it has offset values set

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808501 13f79535-47bb-0310-9956-ffa450edef68

7 years agoAdd test for question on the mailing-list
Dominik Stadler [Sat, 16 Sep 2017 08:20:06 +0000 (08:20 +0000)]
Add test for question on the mailing-list

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808500 13f79535-47bb-0310-9956-ffa450edef68

7 years agoremove some deprecated code slated for removal in 3.18
PJ Fanning [Fri, 15 Sep 2017 20:17:21 +0000 (20:17 +0000)]
remove some deprecated code slated for removal in 3.18

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808483 13f79535-47bb-0310-9956-ffa450edef68

7 years agoJava 8: Disable Jobs using Java 1.6 and 1.7 for now, they can be removed soon.
Dominik Stadler [Fri, 15 Sep 2017 18:39:47 +0000 (18:39 +0000)]
Java 8: Disable Jobs using Java 1.6 and 1.7 for now, they can be removed soon.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808476 13f79535-47bb-0310-9956-ffa450edef68

7 years agoJava 8: Deprecate some methods in IOUtils
Dominik Stadler [Fri, 15 Sep 2017 18:39:43 +0000 (18:39 +0000)]
Java 8: Deprecate some methods in IOUtils

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808475 13f79535-47bb-0310-9956-ffa450edef68

7 years agoAdjust Maven pom.xml for 4.0, Java 8 and newer third party libs
Dominik Stadler [Fri, 15 Sep 2017 18:39:37 +0000 (18:39 +0000)]
Adjust Maven pom.xml for 4.0, Java 8 and newer third party libs

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808474 13f79535-47bb-0310-9956-ffa450edef68

7 years agoAdjust some more places for the new versions of some third party libraries
Dominik Stadler [Fri, 15 Sep 2017 18:39:29 +0000 (18:39 +0000)]
Adjust some more places for the new versions of some third party libraries

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808473 13f79535-47bb-0310-9956-ffa450edef68

7 years agoUpdate third party libs to latest versions
Dominik Stadler [Fri, 15 Sep 2017 18:39:18 +0000 (18:39 +0000)]
Update third party libs to latest versions
Start updating build to Java 8
Set version to 4.0-beta1

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808472 13f79535-47bb-0310-9956-ffa450edef68

7 years agoremove some deprecated code slated for removal in 3.18
PJ Fanning [Fri, 15 Sep 2017 12:29:35 +0000 (12:29 +0000)]
remove some deprecated code slated for removal in 3.18

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808455 13f79535-47bb-0310-9956-ffa450edef68

7 years agoRemove javadoc references to removed classes
Nick Burch [Fri, 15 Sep 2017 09:03:56 +0000 (09:03 +0000)]
Remove javadoc references to removed classes

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808436 13f79535-47bb-0310-9956-ffa450edef68

7 years agoremove deprecated inner classes from HSFColor
PJ Fanning [Fri, 15 Sep 2017 08:29:31 +0000 (08:29 +0000)]
remove deprecated inner classes from HSFColor

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808432 13f79535-47bb-0310-9956-ffa450edef68

7 years agoremove some deprecated code slated for removal in 3.18
PJ Fanning [Thu, 14 Sep 2017 23:44:47 +0000 (23:44 +0000)]
remove some deprecated code slated for removal in 3.18

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808403 13f79535-47bb-0310-9956-ffa450edef68

7 years agoremove some deprecated code slated for removal in 3.18
PJ Fanning [Thu, 14 Sep 2017 23:09:08 +0000 (23:09 +0000)]
remove some deprecated code slated for removal in 3.18

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808402 13f79535-47bb-0310-9956-ffa450edef68

7 years agoremove some deprecated code slated for removal in 3.18
PJ Fanning [Thu, 14 Sep 2017 22:19:16 +0000 (22:19 +0000)]
remove some deprecated code slated for removal in 3.18

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808400 13f79535-47bb-0310-9956-ffa450edef68

7 years agoadd missing licenses on test classes
PJ Fanning [Thu, 14 Sep 2017 07:21:33 +0000 (07:21 +0000)]
add missing licenses on test classes

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808315 13f79535-47bb-0310-9956-ffa450edef68

7 years ago60279 -- back off to brute-force search for macro content if offset information is...
Tim Allison [Thu, 14 Sep 2017 02:22:55 +0000 (02:22 +0000)]
60279 -- back off to brute-force search for macro content if offset information is not correct

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808301 13f79535-47bb-0310-9956-ffa450edef68

7 years agoNumeric Array Formula and Matrix Function [from Bob95132] This closes #69
PJ Fanning [Wed, 13 Sep 2017 23:54:36 +0000 (23:54 +0000)]
Numeric Array Formula and Matrix Function [from Bob95132] This closes #69

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808297 13f79535-47bb-0310-9956-ffa450edef68

7 years ago[bug-61515] fix xlsf issue with relationships [from Alain Bearez] This closes #70
PJ Fanning [Wed, 13 Sep 2017 23:10:44 +0000 (23:10 +0000)]
[bug-61515] fix xlsf issue with relationships [from Alain Bearez] This closes #70

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808294 13f79535-47bb-0310-9956-ffa450edef68

7 years agoprepare for 3.18-beta1
Andreas Beeker [Fri, 8 Sep 2017 21:04:13 +0000 (21:04 +0000)]
prepare for 3.18-beta1

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1807827 13f79535-47bb-0310-9956-ffa450edef68

7 years agorelease prepare for 3.17 - updating build.xml and status.xml
Andreas Beeker [Fri, 8 Sep 2017 21:03:20 +0000 (21:03 +0000)]
release prepare for 3.17 - updating build.xml and status.xml

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1807825 13f79535-47bb-0310-9956-ffa450edef68

7 years agoRemove incorrect copy-include in pom.xml
Dominik Stadler [Fri, 8 Sep 2017 20:42:24 +0000 (20:42 +0000)]
Remove incorrect copy-include in pom.xml

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1807822 13f79535-47bb-0310-9956-ffa450edef68

7 years agoAdd Removal annotation to xmlbeans generation
Andreas Beeker [Fri, 8 Sep 2017 20:27:49 +0000 (20:27 +0000)]
Add Removal annotation to xmlbeans generation

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1807817 13f79535-47bb-0310-9956-ffa450edef68

7 years agoAdd Removal.java to fix Maven compilation
Dominik Stadler [Fri, 8 Sep 2017 18:30:39 +0000 (18:30 +0000)]
Add Removal.java to fix Maven compilation

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1807797 13f79535-47bb-0310-9956-ffa450edef68

7 years agoAdd Removal annotation to xmlbeans generation
Andreas Beeker [Thu, 7 Sep 2017 22:01:41 +0000 (22:01 +0000)]
Add Removal annotation to xmlbeans generation

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1807653 13f79535-47bb-0310-9956-ffa450edef68

7 years agoCopy over and tweak PicturesSource from Apache Tika
Nick Burch [Thu, 7 Sep 2017 21:36:15 +0000 (21:36 +0000)]
Copy over and tweak PicturesSource from Apache Tika

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1807651 13f79535-47bb-0310-9956-ffa450edef68

7 years agoprepare for 3.18-beta1
Andreas Beeker [Tue, 5 Sep 2017 22:49:57 +0000 (22:49 +0000)]
prepare for 3.18-beta1

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1807430 13f79535-47bb-0310-9956-ffa450edef68

7 years agorelease prepare for 3.17 - updating build.xml and status.xml
Andreas Beeker [Tue, 5 Sep 2017 22:49:04 +0000 (22:49 +0000)]
release prepare for 3.17 - updating build.xml and status.xml

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1807428 13f79535-47bb-0310-9956-ffa450edef68

7 years ago#61478 - POI OOXML-Schema lookup uses wrong classloader
Andreas Beeker [Tue, 5 Sep 2017 21:30:29 +0000 (21:30 +0000)]
#61478 - POI OOXML-Schema lookup uses wrong classloader

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1807418 13f79535-47bb-0310-9956-ffa450edef68

7 years agoWhile working on 61475, need to add a new line after picture text...not worth separat...
Tim Allison [Thu, 31 Aug 2017 20:20:24 +0000 (20:20 +0000)]
While working on 61475, need to add a new line after picture text...not worth separate ticket.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1806843 13f79535-47bb-0310-9956-ffa450edef68

7 years ago61475 -- append text from pictures only once...bug from my work on 61470.
Tim Allison [Thu, 31 Aug 2017 19:14:43 +0000 (19:14 +0000)]
61475 -- append text from pictures only once...bug from my work on 61470.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1806839 13f79535-47bb-0310-9956-ffa450edef68

7 years ago61470 -- add extraction of content within ruby elements; allow users to concatenate...
Tim Allison [Wed, 30 Aug 2017 16:29:52 +0000 (16:29 +0000)]
61470 -- add extraction of content within ruby elements; allow users to concatenate or not concatenate phonetic strings.  Default is to concatenate.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1806712 13f79535-47bb-0310-9956-ffa450edef68

7 years agoFixes bug #61468, caused by a confusing OOXML spec design as noted in JavaDocs added...
Greg Woolsey [Tue, 29 Aug 2017 17:14:52 +0000 (17:14 +0000)]
Fixes bug #61468, caused by a confusing OOXML spec design as noted in JavaDocs added in r1795648.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1806623 13f79535-47bb-0310-9956-ffa450edef68

7 years agoprepare for 3.18-beta1
Andreas Beeker [Mon, 28 Aug 2017 20:53:19 +0000 (20:53 +0000)]
prepare for 3.18-beta1

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1806509 13f79535-47bb-0310-9956-ffa450edef68

7 years agorelease prepare for 3.17 - updating build.xml and status.xml
Andreas Beeker [Mon, 28 Aug 2017 20:52:23 +0000 (20:52 +0000)]
release prepare for 3.17 - updating build.xml and status.xml

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1806507 13f79535-47bb-0310-9956-ffa450edef68

7 years agosha512 checksums aren't yet supported by Nexus
Andreas Beeker [Mon, 28 Aug 2017 20:41:16 +0000 (20:41 +0000)]
sha512 checksums aren't yet supported by Nexus

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1806505 13f79535-47bb-0310-9956-ffa450edef68

7 years agoVerify that bug 61294 is fixed now, add some more coverage for IOUtils in general
Dominik Stadler [Fri, 25 Aug 2017 11:51:18 +0000 (11:51 +0000)]
Verify that bug 61294 is fixed now, add some more coverage for IOUtils in general

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1806162 13f79535-47bb-0310-9956-ffa450edef68

7 years agoRevert performance tuning done via Bug 61350 as it lead to problems when running...
Dominik Stadler [Thu, 24 Aug 2017 19:46:39 +0000 (19:46 +0000)]
Revert performance tuning done via Bug 61350 as it lead to problems when running multi-threaded large regression tests.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1806077 13f79535-47bb-0310-9956-ffa450edef68

7 years agoprepare for 3.18-beta1
Andreas Beeker [Sun, 20 Aug 2017 19:18:48 +0000 (19:18 +0000)]
prepare for 3.18-beta1

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1805582 13f79535-47bb-0310-9956-ffa450edef68

7 years agorelease prepare for 3.17 - updating build.xml and status.xml
Andreas Beeker [Sun, 20 Aug 2017 19:17:37 +0000 (19:17 +0000)]
release prepare for 3.17 - updating build.xml and status.xml

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1805580 13f79535-47bb-0310-9956-ffa450edef68

7 years agoFix 60384 and 60709: When shifting with merged regions we should correctly check...
Dominik Stadler [Sat, 19 Aug 2017 16:31:45 +0000 (16:31 +0000)]
Fix 60384 and 60709: When shifting with merged regions we should correctly check if the region is moved along or needs to be removed because it is not fully kept via the shifting. This was broken by the fix for bug 59740, now additional unit tests ensure that it works better.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1805518 13f79535-47bb-0310-9956-ffa450edef68

7 years agoAdd more --add-opens for JDK 9
Dominik Stadler [Sat, 19 Aug 2017 16:31:33 +0000 (16:31 +0000)]
Add more --add-opens for JDK 9

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1805517 13f79535-47bb-0310-9956-ffa450edef68

7 years agoAdd more non-test classes in OOXMLLite and add another font-metric that appears
Dominik Stadler [Sat, 19 Aug 2017 16:31:28 +0000 (16:31 +0000)]
Add more non-test classes in OOXMLLite and add another font-metric that appears

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1805516 13f79535-47bb-0310-9956-ffa450edef68

7 years agoBug 61431 - Conditional formatting evaluation ignores undefined cells
Greg Woolsey [Wed, 16 Aug 2017 23:52:27 +0000 (23:52 +0000)]
Bug 61431 - Conditional formatting evaluation ignores undefined cells

now evaluating based on cell references instead, and watching out for undefined cells in rules that require a cell.

Added unit test based on previously failing file.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1805245 13f79535-47bb-0310-9956-ffa450edef68

7 years agoAs per ".sha Release Distribution Policy" email, also generate .sha512 hashes for...
Nick Burch [Wed, 16 Aug 2017 13:44:58 +0000 (13:44 +0000)]
As per ".sha Release Distribution Policy" email, also generate .sha512 hashes for dist

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1805198 13f79535-47bb-0310-9956-ffa450edef68

7 years agoexclude H21 from slave list
Andreas Beeker [Sun, 13 Aug 2017 11:42:35 +0000 (11:42 +0000)]
exclude H21 from slave list

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1804897 13f79535-47bb-0310-9956-ffa450edef68

7 years ago#61381 - PushbackInputStreams passed to ZipHelper may not hold 8 bytes
Andreas Beeker [Fri, 11 Aug 2017 20:47:48 +0000 (20:47 +0000)]
#61381 - PushbackInputStreams passed to ZipHelper may not hold 8 bytes

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1804854 13f79535-47bb-0310-9956-ffa450edef68

7 years agoAdd an example of trying multiple passwords against an OOXML file. More a demo than...
Nick Burch [Thu, 10 Aug 2017 12:43:16 +0000 (12:43 +0000)]
Add an example of trying multiple passwords against an OOXML file. More a demo than anything, GPU enabled tools are much faster!

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1804667 13f79535-47bb-0310-9956-ffa450edef68

7 years ago[Bug-61048] SXSSF module writes wrong escape sequence for carriage returns
PJ Fanning [Wed, 9 Aug 2017 18:37:14 +0000 (18:37 +0000)]
[Bug-61048] SXSSF module writes wrong escape sequence for carriage returns

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1804596 13f79535-47bb-0310-9956-ffa450edef68

7 years agonotify dev@ when windows-1.7 fails
Andreas Beeker [Sat, 5 Aug 2017 19:47:32 +0000 (19:47 +0000)]
notify dev@ when windows-1.7 fails

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1804211 13f79535-47bb-0310-9956-ffa450edef68

7 years agoadd findbugs3 prefetch to Windows / JDK1.7 build
Andreas Beeker [Tue, 1 Aug 2017 19:44:17 +0000 (19:44 +0000)]
add findbugs3 prefetch to Windows / JDK1.7 build

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1803694 13f79535-47bb-0310-9956-ffa450edef68

7 years agoAssert on the contents of the byte-array to see if the problem happens during writing...
Dominik Stadler [Tue, 1 Aug 2017 06:26:44 +0000 (06:26 +0000)]
Assert on the contents of the byte-array to see if the problem happens during writing the data or reading it back in

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1803614 13f79535-47bb-0310-9956-ffa450edef68

7 years agoJenkins DSL: Use latest available early access build of JDK 9 b179
Dominik Stadler [Tue, 1 Aug 2017 06:26:39 +0000 (06:26 +0000)]
Jenkins DSL: Use latest available early access build of JDK 9 b179

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1803613 13f79535-47bb-0310-9956-ffa450edef68

7 years agoReformat code slightly
Dominik Stadler [Tue, 1 Aug 2017 06:26:27 +0000 (06:26 +0000)]
Reformat code slightly

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1803612 13f79535-47bb-0310-9956-ffa450edef68

7 years agoJob DSL refactorings
Andreas Beeker [Mon, 31 Jul 2017 22:56:08 +0000 (22:56 +0000)]
Job DSL refactorings

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1803594 13f79535-47bb-0310-9956-ffa450edef68

7 years agoJob DSL fix windows call / retrieve findbugs via powershell
Andreas Beeker [Mon, 31 Jul 2017 18:21:48 +0000 (18:21 +0000)]
Job DSL fix windows call / retrieve findbugs via powershell

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1803559 13f79535-47bb-0310-9956-ffa450edef68

7 years agoAdd Windows jobs
Andreas Beeker [Mon, 31 Jul 2017 15:29:28 +0000 (15:29 +0000)]
Add Windows jobs

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1803543 13f79535-47bb-0310-9956-ffa450edef68

7 years agoFix further Windows JVM 6 font rendering errors - OOM and EXCEPTION_ACCESS_VIOLATION
Andreas Beeker [Mon, 31 Jul 2017 12:25:23 +0000 (12:25 +0000)]
Fix further Windows JVM 6 font rendering errors - OOM and EXCEPTION_ACCESS_VIOLATION

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1803528 13f79535-47bb-0310-9956-ffa450edef68

7 years agoremove invalid javadocs
Andreas Beeker [Mon, 31 Jul 2017 08:42:48 +0000 (08:42 +0000)]
remove invalid javadocs

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1803493 13f79535-47bb-0310-9956-ffa450edef68

7 years agoJavadoc fixes
Nick Burch [Mon, 31 Jul 2017 06:36:10 +0000 (06:36 +0000)]
Javadoc fixes

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1803488 13f79535-47bb-0310-9956-ffa450edef68

7 years ago#61363 - Unify escher shape id allocation
Andreas Beeker [Sun, 30 Jul 2017 23:11:36 +0000 (23:11 +0000)]
#61363 - Unify escher shape id allocation

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1803483 13f79535-47bb-0310-9956-ffa450edef68

7 years agoAdd handling of alternate content elements
Andreas Beeker [Sat, 29 Jul 2017 23:08:15 +0000 (23:08 +0000)]
Add handling of alternate content elements

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1803397 13f79535-47bb-0310-9956-ffa450edef68

7 years agoJenkins-DSL: Print out the exact version of java in the pre-steps
Dominik Stadler [Sat, 29 Jul 2017 06:57:40 +0000 (06:57 +0000)]
Jenkins-DSL: Print out the exact version of java in the pre-steps

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1803357 13f79535-47bb-0310-9956-ffa450edef68

7 years agoDeleting a sheet did not delete table parts and relations. Deleting a table needs...
Greg Woolsey [Fri, 28 Jul 2017 18:01:36 +0000 (18:01 +0000)]
Deleting a sheet did not delete table parts and relations.  Deleting a table needs to also delete any queryTable relations and parts.

Previous behavior didn't result in documents Excel complained about, but left dead entries in the ZIP structure, which made it bigger and bugged me.

This change does not attempt to delete query connection definitions, as those aren't referenced as relations, and don't have a usage counter to ensure we only delete them if there are no other references.  In my samples I had query tables on multiple sheets using the same connection definition, and wanted to delete only one sheet/table but leave others.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1803317 13f79535-47bb-0310-9956-ffa450edef68

7 years ago[Bug-61354] fix issue with extracting text from Word docs. This closes #66
PJ Fanning [Fri, 28 Jul 2017 07:42:23 +0000 (07:42 +0000)]
[Bug-61354] fix issue with extracting text from Word docs. This closes #66

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1803250 13f79535-47bb-0310-9956-ffa450edef68

7 years agoFix data validation value list evaluation
Greg Woolsey [Wed, 26 Jul 2017 22:19:58 +0000 (22:19 +0000)]
Fix data validation value list evaluation

One of my users found that my initial implementation was lacking a core distinction - most evaluations expect a single result, and "unwrap" 2/3D ValueEval results to a single value based on the input row/column.

However, data validation list formulas explicitly are expected to return a 2D ValueEval.  This worked when the formula was simple and evaluated to a single Ptg, but only returned one value when the formula was more complex, or referenced a named range defined as a complex formula.

This change teaches WorkbookEvaluator about the distinction, by way of a new attribute for FormulaType.

There is room for discussion over how it is implemented, but this works for me.

Includes the failing workbook we had as a new unit test.

While I was in FormulaType I went ahead and removed the deprecated, unused, and redundant code marked for removal in 3.17.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1803121 13f79535-47bb-0310-9956-ffa450edef68

7 years ago#61350 - Use unsynchronized xmlbeans
Andreas Beeker [Wed, 26 Jul 2017 22:15:27 +0000 (22:15 +0000)]
#61350 - Use unsynchronized xmlbeans

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1803120 13f79535-47bb-0310-9956-ffa450edef68

7 years agoAnother font size variation. I suspect it is my Windows 10 scaling factor, set to...
Greg Woolsey [Wed, 26 Jul 2017 22:00:23 +0000 (22:00 +0000)]
Another font size variation.  I suspect it is my Windows 10 scaling factor, set to 100% instead of the Windows 10 default 125%.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1803117 13f79535-47bb-0310-9956-ffa450edef68

7 years ago61337 -- try to convert assertions to exceptions. I left in the assertions for the...
Tim Allison [Wed, 26 Jul 2017 18:43:27 +0000 (18:43 +0000)]
61337 -- try to convert assertions to exceptions.  I left in the assertions for the binary search components.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1803092 13f79535-47bb-0310-9956-ffa450edef68

7 years ago61346 add more sanity checks before allocating byte arrays in emf/wmf
Tim Allison [Wed, 26 Jul 2017 12:46:24 +0000 (12:46 +0000)]
61346 add more sanity checks before allocating byte arrays in emf/wmf

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1803041 13f79535-47bb-0310-9956-ffa450edef68

7 years agoremove test leftover
Andreas Beeker [Wed, 26 Jul 2017 08:13:16 +0000 (08:13 +0000)]
remove test leftover

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1803024 13f79535-47bb-0310-9956-ffa450edef68

7 years agoBug 61182 - Invalid signature created for streamed xlsx file
Andreas Beeker [Tue, 25 Jul 2017 22:42:22 +0000 (22:42 +0000)]
Bug 61182 - Invalid signature created for streamed xlsx file
- add hashes for other linebreaks

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1803011 13f79535-47bb-0310-9956-ffa450edef68

7 years ago61338 -- avoid infinite loop triggered by fuzzed wmf file
Tim Allison [Tue, 25 Jul 2017 20:26:57 +0000 (20:26 +0000)]
61338 -- avoid infinite loop triggered by fuzzed wmf file

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1802997 13f79535-47bb-0310-9956-ffa450edef68

7 years ago61295 -- prevent potential oom in HPSF triggered by fuzzed file
Tim Allison [Tue, 25 Jul 2017 01:38:35 +0000 (01:38 +0000)]
61295 -- prevent potential oom in HPSF triggered by fuzzed file

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1802879 13f79535-47bb-0310-9956-ffa450edef68

7 years agoaugment expected sizes in TestFonts
Tim Allison [Mon, 24 Jul 2017 19:29:29 +0000 (19:29 +0000)]
augment expected sizes in TestFonts

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1802855 13f79535-47bb-0310-9956-ffa450edef68

7 years agoRefactor test somewhat to make it easier to see what it actually verifies
Dominik Stadler [Mon, 24 Jul 2017 14:16:34 +0000 (14:16 +0000)]
Refactor test somewhat to make it easier to see what it actually verifies
Check some more to see why it fails sometimes in CI, e.g. on node qnode1

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1802817 13f79535-47bb-0310-9956-ffa450edef68

7 years agoFonts bugfix
Andreas Beeker [Mon, 24 Jul 2017 05:39:33 +0000 (05:39 +0000)]
Fonts bugfix

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1802751 13f79535-47bb-0310-9956-ffa450edef68

7 years agoBug 61331 - Font group handling / common font interface
Andreas Beeker [Sun, 23 Jul 2017 22:45:47 +0000 (22:45 +0000)]
Bug 61331 - Font group handling / common font interface

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1802741 13f79535-47bb-0310-9956-ffa450edef68

7 years agoMy version of Java 6 chokes on Generics here
Dominik Stadler [Fri, 21 Jul 2017 18:19:29 +0000 (18:19 +0000)]
My version of Java 6 chokes on Generics here

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1802633 13f79535-47bb-0310-9956-ffa450edef68

7 years agoAdjust TestFonts for my version of Ubuntu
Dominik Stadler [Fri, 21 Jul 2017 18:19:22 +0000 (18:19 +0000)]
Adjust TestFonts for my version of Ubuntu

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1802632 13f79535-47bb-0310-9956-ffa450edef68

7 years agoAdd note that japicmp cannot be upgrade until Gradle 4 is used
Dominik Stadler [Fri, 21 Jul 2017 18:19:17 +0000 (18:19 +0000)]
Add note that japicmp cannot be upgrade until Gradle 4 is used

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1802631 13f79535-47bb-0310-9956-ffa450edef68

7 years agoExtractorFactory: Try to close resources also on Errors to avoid keeping files open...
Dominik Stadler [Fri, 21 Jul 2017 18:19:11 +0000 (18:19 +0000)]
ExtractorFactory: Try to close resources also on Errors to avoid keeping files open too long

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1802630 13f79535-47bb-0310-9956-ffa450edef68

7 years agoFix some IntelliJ warnings
Dominik Stadler [Fri, 21 Jul 2017 18:19:03 +0000 (18:19 +0000)]
Fix some IntelliJ warnings

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1802629 13f79535-47bb-0310-9956-ffa450edef68

7 years agoExclude some more nodes for OpenJDK build
Dominik Stadler [Wed, 19 Jul 2017 19:02:53 +0000 (19:02 +0000)]
Exclude some more nodes for OpenJDK build

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1802425 13f79535-47bb-0310-9956-ffa450edef68

7 years agofix tests broken by <br/> doc changes
PJ Fanning [Mon, 17 Jul 2017 11:36:32 +0000 (11:36 +0000)]
fix tests broken by <br/> doc changes

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1802131 13f79535-47bb-0310-9956-ffa450edef68

7 years agojavadoc: replace invalid self enclosing elements
PJ Fanning [Mon, 17 Jul 2017 08:24:24 +0000 (08:24 +0000)]
javadoc: replace invalid self enclosing elements

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1802110 13f79535-47bb-0310-9956-ffa450edef68

7 years agosome javadoc fixes
PJ Fanning [Sat, 15 Jul 2017 22:31:09 +0000 (22:31 +0000)]
some javadoc fixes

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1802035 13f79535-47bb-0310-9956-ffa450edef68

7 years agotry to fix build issues since namespaces constants were changed
PJ Fanning [Sat, 15 Jul 2017 20:00:11 +0000 (20:00 +0000)]
try to fix build issues since namespaces constants were changed

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1802030 13f79535-47bb-0310-9956-ffa450edef68

7 years agobug 61300 -- prevent really long (infinite?) loop on corrupt file
Tim Allison [Fri, 14 Jul 2017 20:47:40 +0000 (20:47 +0000)]
bug 61300 -- prevent really long (infinite?) loop on corrupt file

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1801989 13f79535-47bb-0310-9956-ffa450edef68

7 years agoclean up whitespace and indents
Tim Allison [Fri, 14 Jul 2017 14:19:21 +0000 (14:19 +0000)]
clean up whitespace and indents

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1801969 13f79535-47bb-0310-9956-ffa450edef68

7 years agoavoid using non-ascii in unit tests
Tim Allison [Fri, 14 Jul 2017 14:17:55 +0000 (14:17 +0000)]
avoid using non-ascii in unit tests

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1801968 13f79535-47bb-0310-9956-ffa450edef68

7 years agobug 61286/bug 61287 -- allow WriteProtectRecord to have 2 bytes, and allow for Header...
Tim Allison [Fri, 14 Jul 2017 13:54:06 +0000 (13:54 +0000)]
bug 61286/bug 61287 -- allow WriteProtectRecord to have 2 bytes, and allow for HeaderFooter to be empty.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1801966 13f79535-47bb-0310-9956-ffa450edef68

7 years agobug 61294 -- cleaned up based on PJ Fanning's code review. Went with a copy/paste...
Tim Allison [Fri, 14 Jul 2017 12:48:28 +0000 (12:48 +0000)]
bug 61294 -- cleaned up based on PJ Fanning's code review.  Went with a copy/paste from commons-io.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1801952 13f79535-47bb-0310-9956-ffa450edef68

7 years agobug 61296: suggest de-duplication of purl dublin core namespace url
Javen O'Neal [Fri, 14 Jul 2017 03:54:12 +0000 (03:54 +0000)]
bug 61296: suggest de-duplication of purl dublin core namespace url

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1801905 13f79535-47bb-0310-9956-ffa450edef68

7 years agobug 61296: deduplicate ooxml schema constants
Javen O'Neal [Fri, 14 Jul 2017 03:47:38 +0000 (03:47 +0000)]
bug 61296: deduplicate ooxml schema constants

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1801904 13f79535-47bb-0310-9956-ffa450edef68

7 years agobug 61296: consolidate some of the ooxml namespace uri copy-paste in POI, prepare...
Javen O'Neal [Fri, 14 Jul 2017 03:39:25 +0000 (03:39 +0000)]
bug 61296: consolidate some of the ooxml namespace uri copy-paste in POI, prepare to make these usable by downstream libraries like Tika

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1801903 13f79535-47bb-0310-9956-ffa450edef68

7 years agobug 61296: consolidate some of the ooxml namespace uri copy-paste in POI, prepare...
Javen O'Neal [Fri, 14 Jul 2017 03:14:30 +0000 (03:14 +0000)]
bug 61296: consolidate some of the ooxml namespace uri copy-paste in POI, prepare to make these usable by downstream libraries like Tika

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1801901 13f79535-47bb-0310-9956-ffa450edef68

7 years agobug 61294 -- prevent infinite loop in IOUtils' skipFully.
Tim Allison [Thu, 13 Jul 2017 16:20:28 +0000 (16:20 +0000)]
bug 61294 -- prevent infinite loop in IOUtils' skipFully.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1801844 13f79535-47bb-0310-9956-ffa450edef68

7 years agoavoid unnecessary string concats in SXSSF SheetDataWriter
PJ Fanning [Thu, 13 Jul 2017 07:14:01 +0000 (07:14 +0000)]
avoid unnecessary string concats in SXSSF SheetDataWriter

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1801806 13f79535-47bb-0310-9956-ffa450edef68