Commit Graph

10154 Commits

Author SHA1 Message Date
Andreas Beeker 40f320bcf9 github-167 - HSMF enhancements
introduce NameIdChunks.GetPropertyTag:
which enables evaluating property ids from properties identified by name/id in property sets (simple version of IMAPIProp::GetIDsFromNames)

AttachmentChunks.getAttachData:
use new ByteChunkDeferred instead of ByteChunk which enables delayed reading of attachments to avoid all attachments are completely read into memory when parsing which may cause OutOfMemoryErrors on e-mails with big attachments.

POIFSChunkParser:
support reading multi valued chunks (e.g. required when reading the Keywords ("categories") property)

add MAPIProperty.RECEIVED_BY_SMTP_ADDRESS

add unit tests

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874990 13f79535-47bb-0310-9956-ffa450edef68
2020-03-08 23:26:53 +00:00
Andreas Beeker ef90a5f2c8 Get UUID from ClassID
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874989 13f79535-47bb-0310-9956-ffa450edef68
2020-03-08 23:20:44 +00:00
Dominik Stadler 199895bfc4 Work on bug 64038 and other bugs and add test for 62865
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874983 13f79535-47bb-0310-9956-ffa450edef68
2020-03-08 20:17:19 +00:00
Dominik Stadler 7c2dfd9930 Adjust some more places to use https instead of http, need a workaround for a bug in Apache Forrest
See comment in build.xml for why this replacement is needed.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874982 13f79535-47bb-0310-9956-ffa450edef68
2020-03-08 20:17:11 +00:00
Dominik Stadler 77fbcb788d Try to use https for poi.apache.org everywhere
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874981 13f79535-47bb-0310-9956-ffa450edef68
2020-03-08 20:17:08 +00:00
Dominik Stadler a7d96dcb73 Bug 58896 and 52834: Cache Sheet.getMergedRegions() as it seems to sometimes be the culprit for autosize taking a very long time.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874973 13f79535-47bb-0310-9956-ffa450edef68
2020-03-08 11:17:34 +00:00
Dominik Stadler d57edf14f6 One more file-leak-detector exclude
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874967 13f79535-47bb-0310-9956-ffa450edef68
2020-03-08 08:28:20 +00:00
Dominik Stadler 1e8cba79ce Bug 60282: Update JavaDoc and use a common constant for TWIPS_PER_POINT
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874966 13f79535-47bb-0310-9956-ffa450edef68
2020-03-08 08:28:17 +00:00
Dominik Stadler af4751b260 Update JavaDoc for logging and marshalling
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874965 13f79535-47bb-0310-9956-ffa450edef68
2020-03-08 08:28:11 +00:00
Dominik Stadler da4c9cc706 Use new URL for downloads of releases
See https://blogs.apache.org/infra/entry/more-secure-and-robust-downloads

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874964 13f79535-47bb-0310-9956-ffa450edef68
2020-03-08 08:28:04 +00:00
Dominik Stadler 2776f18423 Fix incorrect handling of format which should not produce any digit for zero
Also include the internally computed format-string when the resulting format causes an exception

One other case with question marks is still not handled correctly, though

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874950 13f79535-47bb-0310-9956-ffa450edef68
2020-03-07 15:33:53 +00:00
Dominik Stadler cbf7275a0d Bug 64179: Adjust to ensure a fixed timezone for date parsing in test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874949 13f79535-47bb-0310-9956-ffa450edef68
2020-03-07 15:33:46 +00:00
Dominik Stadler ee61d3eb56 Do not recompile Version.java unless build.xml (i.e. version) changes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874901 13f79535-47bb-0310-9956-ffa450edef68
2020-03-06 15:22:16 +00:00
Dominik Stadler 769c0d546b Set version to 4.1.3-SNAPSHOT everywhere
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874900 13f79535-47bb-0310-9956-ffa450edef68
2020-03-06 15:22:09 +00:00
Alain Béarez 850387f5cb Allow for numerical category in charts
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874705 13f79535-47bb-0310-9956-ffa450edef68
2020-03-02 23:57:05 +00:00
Alain Béarez 2522a3bc89 Remove chart title when given text is null
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874704 13f79535-47bb-0310-9956-ffa450edef68
2020-03-02 23:57:01 +00:00
Andreas Beeker b04379bc4c #64186 - Decrease usage of ThreadLocals in XML Signature API
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874671 13f79535-47bb-0310-9956-ffa450edef68
2020-03-01 22:20:38 +00:00
Andreas Beeker 3691704678 Sonar fixes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874530 13f79535-47bb-0310-9956-ffa450edef68
2020-02-25 21:27:07 +00:00
Andreas Beeker 1aed0bc40b try to fix sonar execution warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874431 13f79535-47bb-0310-9956-ffa450edef68
2020-02-23 15:56:54 +00:00
Andreas Beeker 100ea31fc1 Ignore IIOException "Can't create ..."
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874429 13f79535-47bb-0310-9956-ffa450edef68
2020-02-23 15:01:54 +00:00
Andreas Beeker 39ab347d99 Remove invalid agile certificate encryption
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874351 13f79535-47bb-0310-9956-ffa450edef68
2020-02-22 00:36:32 +00:00
Andreas Beeker a5e157c06f check for old xercesImpl.jar file size > 0
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874342 13f79535-47bb-0310-9956-ffa450edef68
2020-02-21 22:11:26 +00:00
Andreas Beeker f8f7fa1b24 update download-plugin version to 1.5.0
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874339 13f79535-47bb-0310-9956-ffa450edef68
2020-02-21 21:32:46 +00:00
Andreas Beeker 159ad62a47 fix IntelliJ warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874338 13f79535-47bb-0310-9956-ffa450edef68
2020-02-21 21:14:31 +00:00
Axel Howind fd4410d50b replace some calls to Collection methods with shorter/more effective versions
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874263 13f79535-47bb-0310-9956-ffa450edef68
2020-02-20 16:27:19 +00:00
Axel Howind 842e71a3d7 use indexOf(char) instead of indexOf(String) where possible; replace one more StringBuffer with StringBuilder - bug 63805
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874262 13f79535-47bb-0310-9956-ffa450edef68
2020-02-20 15:51:17 +00:00
Axel Howind 09d55c7832 Applied "clean up IntList code" patch from bug 63805
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874257 13f79535-47bb-0310-9956-ffa450edef68
2020-02-20 15:04:57 +00:00
Andreas Beeker bc969fe4aa PPTX2PNG - fix SVG gradients
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874150 13f79535-47bb-0310-9956-ffa450edef68
2020-02-17 22:29:29 +00:00
Andreas Beeker 221f840adb Update Batik dependency to 1.12
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874149 13f79535-47bb-0310-9956-ffa450edef68
2020-02-17 22:28:08 +00:00
Andreas Beeker 556347f3a8 PPTX2PNG - SVG export
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874065 13f79535-47bb-0310-9956-ffa450edef68
2020-02-15 22:21:30 +00:00
PJ Fanning dacc3004e2 fix classpaths for japicmp
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874049 13f79535-47bb-0310-9956-ffa450edef68
2020-02-15 08:07:01 +00:00
PJ Fanning 0f522cec66 bouncycastle 1.64
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874039 13f79535-47bb-0310-9956-ffa450edef68
2020-02-14 23:18:44 +00:00
PJ Fanning e287107607 commons-codec 1.14
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874038 13f79535-47bb-0310-9956-ffa450edef68
2020-02-14 23:06:06 +00:00
PJ Fanning 71ec0721c8 commons-compress 1.20
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874036 13f79535-47bb-0310-9956-ffa450edef68
2020-02-14 23:00:49 +00:00
PJ Fanning 33fdbda1b4 try to gradle tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874022 13f79535-47bb-0310-9956-ffa450edef68
2020-02-14 14:04:17 +00:00
PJ Fanning 03b7935147 try to gradle tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874020 13f79535-47bb-0310-9956-ffa450edef68
2020-02-14 13:31:55 +00:00
PJ Fanning b7d0f9fafe update junit to 4.13 and mockito to 3.2.4
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874019 13f79535-47bb-0310-9956-ffa450edef68
2020-02-14 13:19:10 +00:00
PJ Fanning d2f1e7ee6f gradle 6.1.1
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874018 13f79535-47bb-0310-9956-ffa450edef68
2020-02-14 13:11:28 +00:00
Andreas Beeker e9c5c2b90e update references to 4.1.2
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1873995 13f79535-47bb-0310-9956-ffa450edef68
2020-02-13 23:26:54 +00:00
Andreas Beeker 75c45cfdf4 prepare for 4.1.3
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1873871 13f79535-47bb-0310-9956-ffa450edef68
2020-02-10 19:23:58 +00:00
Andreas Beeker 7ac8a6f659 release prepare for 4.1.2 - updating build.xml and changes.xml
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1873869 13f79535-47bb-0310-9956-ffa450edef68
2020-02-10 19:23:22 +00:00
Tim Allison 636cc83665 Bug 64130 -- handle empty worksheet names in OldSheetRecord more robustly.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1873863 13f79535-47bb-0310-9956-ffa450edef68
2020-02-10 17:38:29 +00:00
Dominik Stadler d5ba6195a5 Use https for repo1.maven.org
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1873819 13f79535-47bb-0310-9956-ffa450edef68
2020-02-09 08:05:16 +00:00
Andreas Beeker 1791a4e61d update year in NOTICE
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1873577 13f79535-47bb-0310-9956-ffa450edef68
2020-02-04 21:40:14 +00:00
Andreas Beeker 48eecceefb prepare for 4.1.3
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1873552 13f79535-47bb-0310-9956-ffa450edef68
2020-02-03 19:39:06 +00:00
Andreas Beeker f386a9822c release prepare for 4.1.2 - updating build.xml and changes.xml
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1873550 13f79535-47bb-0310-9956-ffa450edef68
2020-02-03 19:38:27 +00:00
Andreas Beeker 8803989321 Use indexed palette for duo tone pattern
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1873516 13f79535-47bb-0310-9956-ffa450edef68
2020-02-03 00:25:52 +00:00
Andreas Beeker 33fd0b22d6 Regression findings - fix missing moveto exception
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1873515 13f79535-47bb-0310-9956-ffa450edef68
2020-02-02 22:53:09 +00:00
Andreas Beeker d20e85387e XSLF Performance - use XmlCursor instead of XQuery expression - handle AlternateContent elements uniformly
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1873514 13f79535-47bb-0310-9956-ffa450edef68
2020-02-02 22:13:16 +00:00
Andreas Beeker 4a2273c370 XSLF Performance - don't initialize the JAXBContext every time
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1873499 13f79535-47bb-0310-9956-ffa450edef68
2020-02-02 11:15:56 +00:00