Commit Graph

9842 Commits

Author SHA1 Message Date
Alain Béarez dcb6d534fd remove code smells
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1860311 13f79535-47bb-0310-9956-ffa450edef68
2019-05-29 01:05:26 +00:00
PJ Fanning 0ccbf4671d fix forbidden api issue
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1860160 13f79535-47bb-0310-9956-ffa450edef68
2019-05-27 20:00:04 +00:00
PJ Fanning 2343919656 try to fix integration tests (by ignoring some new msg files)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1860155 13f79535-47bb-0310-9956-ffa450edef68
2019-05-27 17:46:41 +00:00
PJ Fanning f74a8f9abb [github-149] improve MAPIMessage.guess7BitEncoding, improve MAPIMessage.getHtmlBody. Thanks to Dominik Hölzl. This closes #149
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1860043 13f79535-47bb-0310-9956-ffa450edef68
2019-05-26 09:43:59 +00:00
PJ Fanning 3d5671ac5e remove some tab indents
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1859758 13f79535-47bb-0310-9956-ffa450edef68
2019-05-22 22:59:12 +00:00
PJ Fanning 3e80ec9c5e try to use more https urls in pom.xml
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1859701 13f79535-47bb-0310-9956-ffa450edef68
2019-05-22 08:17:16 +00:00
Alain Béarez 9995e178e3 code inspired from Axel Richter on StackOverflow
closes #139
closes #144

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1859676 13f79535-47bb-0310-9956-ffa450edef68
2019-05-21 23:28:15 +00:00
PJ Fanning f6eaab2165 try to remove http refs from some pom files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1859663 13f79535-47bb-0310-9956-ffa450edef68
2019-05-21 16:55:34 +00:00
PJ Fanning 31adf0096f switch svn jars to https site
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1859625 13f79535-47bb-0310-9956-ffa450edef68
2019-05-21 12:21:41 +00:00
Alain Béarez e3df15d773 fix missing space in string literal (LGTM)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1859596 13f79535-47bb-0310-9956-ffa450edef68
2019-05-21 00:14:15 +00:00
Alain Béarez 928e6937f4 fix result of multiplication cast to wider type
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1859595 13f79535-47bb-0310-9956-ffa450edef68
2019-05-21 00:14:12 +00:00
Alain Béarez 906c52d81d fix whitespace contradicts operator precedence
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1859594 13f79535-47bb-0310-9956-ffa450edef68
2019-05-21 00:13:59 +00:00
Alain Béarez 5d376c8696 fix boxed variable is never null
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1859593 13f79535-47bb-0310-9956-ffa450edef68
2019-05-21 00:13:56 +00:00
Alain Béarez a59ed12ecf fix potential output resource leaks (LGTM)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1859592 13f79535-47bb-0310-9956-ffa450edef68
2019-05-21 00:13:51 +00:00
Alain Béarez 8784d6d6d7 fix potential input resource leaks (LGTM)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1859591 13f79535-47bb-0310-9956-ffa450edef68
2019-05-21 00:13:47 +00:00
Alain Béarez 093cbcfcca code cleanup plus fix for bug 63153
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1859590 13f79535-47bb-0310-9956-ffa450edef68
2019-05-21 00:13:40 +00:00
Alain Béarez af1dacfe2c Added more chart supports.
fixed bug while creating chart with bar and line series.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1859589 13f79535-47bb-0310-9956-ffa450edef68
2019-05-21 00:13:28 +00:00
Dominik Stadler 217a7caae6 Use TempFile to avoid problems with temporary directories in Maven builds
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1859575 13f79535-47bb-0310-9956-ffa450edef68
2019-05-20 17:35:54 +00:00
Dominik Stadler 1a3e69fe16 Include actual found type in exception when encountering unexpected type of file in ExtractorFactory
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1859565 13f79535-47bb-0310-9956-ffa450edef68
2019-05-20 14:42:39 +00:00
Dominik Stadler b2130769b6 FileMagic now has patterns with up to 12 bytes (JPG)
Avoid exception if a very short file is encountered
Add more tests

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1859564 13f79535-47bb-0310-9956-ffa450edef68
2019-05-20 14:42:31 +00:00
Dominik Stadler f4a3d3bb89 Refine JavaDoc of WorkbookFactory slightly
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1859368 13f79535-47bb-0310-9956-ffa450edef68
2019-05-16 11:40:38 +00:00
Tim Allison b3da2d5e8a Bug 63431 -- unbug ChunkedCipherInputStream's read()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1859251 13f79535-47bb-0310-9956-ffa450edef68
2019-05-15 00:56:15 +00:00
PJ Fanning b77c010743 [github-148] update license text in pom file. Thanks to Vincent Privat. This close #148
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1859202 13f79535-47bb-0310-9956-ffa450edef68
2019-05-14 00:44:47 +00:00
Andreas Beeker 3f59355629 revert exclude H27 / don't complain on mkdir
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1859163 13f79535-47bb-0310-9956-ffa450edef68
2019-05-12 23:34:29 +00:00
Andreas Beeker 73bcdb55da exclude H27
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1859162 13f79535-47bb-0310-9956-ffa450edef68
2019-05-12 23:22:27 +00:00
PJ Fanning 2ae5198ff7 [github-145] issue in PackagingURIHelper.encode. Thanks to @greedbell. This closes #145
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1859160 13f79535-47bb-0310-9956-ffa450edef68
2019-05-12 20:59:27 +00:00
Andreas Beeker d6ee139b39 Bug 60656 - EMF image support in slideshows
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1859159 13f79535-47bb-0310-9956-ffa450edef68
2019-05-12 19:50:04 +00:00
Andreas Beeker 049baa86d7 #59004 - HSLF rendering - adjust values for presetShapeDefinition differs in HSLF/XSLF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1859102 13f79535-47bb-0310-9956-ffa450edef68
2019-05-10 20:55:24 +00:00
Andreas Beeker 4e663c4b5d Don't fallback to master shape properties, if master shape is not assigned
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1859101 13f79535-47bb-0310-9956-ffa450edef68
2019-05-10 20:54:57 +00:00
PJ Fanning 8d9378a867 [bug-63404] add description to assemble target
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1858773 13f79535-47bb-0310-9956-ffa450edef68
2019-05-06 10:12:40 +00:00
Andreas Beeker d0da9b788d Disable all beam nodes - ANT is not installed on them
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1858660 13f79535-47bb-0310-9956-ffa450edef68
2019-05-05 09:49:35 +00:00
Andreas Beeker 6b69baf2e1 Bug 60656 - EMF image support in slideshows
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1858628 13f79535-47bb-0310-9956-ffa450edef68
2019-05-05 01:05:58 +00:00
Andreas Beeker ea0e01acc1 Bug 60656 - EMF image support in slideshows
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1858625 13f79535-47bb-0310-9956-ffa450edef68
2019-05-04 23:01:53 +00:00
PJ Fanning dfbf788201 [bug-62906] ensure table display name is always set
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1858179 13f79535-47bb-0310-9956-ffa450edef68
2019-04-26 07:48:26 +00:00
Dominik Stadler abc7359c8f Make compilation work in Eclipse 2019.03 again by working around a
limitation of the Eclipse Java Compiler regarding casting/generics

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1858117 13f79535-47bb-0310-9956-ffa450edef68
2019-04-25 12:27:04 +00:00
Dominik Stadler bd8fab1196 Close more file-handles in tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1858024 13f79535-47bb-0310-9956-ffa450edef68
2019-04-23 20:28:21 +00:00
Dominik Stadler 66d522873f Update JAXB to the latest version
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1858023 13f79535-47bb-0310-9956-ffa450edef68
2019-04-23 20:28:00 +00:00
Dominik Stadler 37ec3380ae Bug 63371: addMergedRegion does not update CTMergeCells.getCount
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1858022 13f79535-47bb-0310-9956-ffa450edef68
2019-04-23 20:27:53 +00:00
Dominik Stadler cd52566c98 Bug 63073: Adjust returned index of merged regions and verify all calls in tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1858021 13f79535-47bb-0310-9956-ffa450edef68
2019-04-23 20:27:39 +00:00
Dominik Stadler d7aedc7978 Use https in build.xml where possible to avoid errors in Gradle build
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1857971 13f79535-47bb-0310-9956-ffa450edef68
2019-04-22 19:32:11 +00:00
Dominik Stadler c81a41bb7f Jenkins DSL: Exclude more beam* nodes which cause strange problems
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1857970 13f79535-47bb-0310-9956-ffa450edef68
2019-04-22 19:32:07 +00:00
Dominik Stadler be7730bce3 Jenkins DSL: Switch to "Ant 1.9 (Latest)" as "Ant 1.9.9" seems to be unavailable on some machines
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1857969 13f79535-47bb-0310-9956-ffa450edef68
2019-04-22 18:48:35 +00:00
Andreas Beeker 103b011b4a #github-143 - MAPIType.isFixedLength: not true in case of length > 8
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1857708 13f79535-47bb-0310-9956-ffa450edef68
2019-04-17 20:18:29 +00:00
Andreas Beeker 27399cec83 #54803 - Error opening XLSX after saving with a Drawing using POI
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1857671 13f79535-47bb-0310-9956-ffa450edef68
2019-04-17 06:19:51 +00:00
Andreas Beeker e2cd384259 #54803 - Error opening XLSX after saving with a Drawing using POI
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1857663 13f79535-47bb-0310-9956-ffa450edef68
2019-04-16 21:27:30 +00:00
PJ Fanning 08d44a1d84 try a different url for svnclient jar (due to broken CI builds)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1857637 13f79535-47bb-0310-9956-ffa450edef68
2019-04-16 10:00:30 +00:00
PJ Fanning cf5b72bc00 some more checks for int overflows
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1857609 13f79535-47bb-0310-9956-ffa450edef68
2019-04-15 23:10:04 +00:00
PJ Fanning c56ebe15af use ArithmeticUtils for calculations that might overflow
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1857596 13f79535-47bb-0310-9956-ffa450edef68
2019-04-15 16:02:53 +00:00
PJ Fanning 3c7bb45e54 use ArithmeticUtils for calculations that might overflow
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1857594 13f79535-47bb-0310-9956-ffa450edef68
2019-04-15 15:45:59 +00:00
Dominik Stadler 8a1d0151ea Disable all apache-beam-* nodes as they seem to lack svn and Ant installations currently
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1857490 13f79535-47bb-0310-9956-ffa450edef68
2019-04-13 19:27:55 +00:00