Commit Graph

13007 Commits

Author SHA1 Message Date
YUFEIFUT 7f56717398
Fix the rounding issue for numeric type formatting
Resolve the current issue with the DecimalFormat class when the incoming obj is of type Double or Float. For example, if a Double type value of 1.005 is passed in, and the corresponding cell in Excel is of numeric type and set to keep two decimal places.  Formatting the Double value 1.005 will be problematic; it will be formatted as 1.00, which is inconsistent with the behavior of Excel and does not perform rounding correctly
2024-07-01 13:44:24 +08:00
PJ Fanning 527f26aac9 junit 5.10.3
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1918712 13f79535-47bb-0310-9956-ffa450edef68
2024-06-27 15:12:15 +00:00
PJ Fanning f8a949217b update changes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1918709 13f79535-47bb-0310-9956-ffa450edef68
2024-06-27 15:10:52 +00:00
PJ Fanning 65443a93c6 stray ref to SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1918584 13f79535-47bb-0310-9956-ffa450edef68
2024-06-25 10:42:38 +00:00
PJ Fanning bb541e3e7c set version to 5.3.0
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1918572 13f79535-47bb-0310-9956-ffa450edef68
2024-06-24 23:48:32 +00:00
PJ Fanning a0abf65115 woodstox 7.0.0
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1918546 13f79535-47bb-0310-9956-ffa450edef68
2024-06-24 14:30:36 +00:00
Dominik Stadler e8c0084606 Adjust src-build-test for changed name of source-distribution archive
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1918518 13f79535-47bb-0310-9956-ffa450edef68
2024-06-23 07:38:33 +00:00
Dominik Stadler 434b1ab8e6 Add one more case where timestamp could end up
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1918517 13f79535-47bb-0310-9956-ffa450edef68
2024-06-23 07:38:30 +00:00
PJ Fanning d530977347 [bug-69147] fix issues with text function when input is a datetime in string format
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1918501 13f79535-47bb-0310-9956-ffa450edef68
2024-06-21 20:25:46 +00:00
PJ Fanning 461691ef0e add test related to bug-69147
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1918499 13f79535-47bb-0310-9956-ffa450edef68
2024-06-21 20:03:50 +00:00
PJ Fanning 2a47c185c6 issue with Java 22 returning string values insteadof booleans
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1918397 13f79535-47bb-0310-9956-ffa450edef68
2024-06-17 21:37:36 +00:00
PJ Fanning ebc4c37e78 issue with Java 22 returning string values insteadof booleans
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1918396 13f79535-47bb-0310-9956-ffa450edef68
2024-06-17 21:02:55 +00:00
PJ Fanning fac56eea48 gradle 8.8
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1918394 13f79535-47bb-0310-9956-ffa450edef68
2024-06-17 20:44:33 +00:00
PJ Fanning ca64f86ff8 ZipFile deprecation warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1918179 13f79535-47bb-0310-9956-ffa450edef68
2024-06-05 18:51:17 +00:00
PJ Fanning 41ccb6fe30 getNextZipEntry deprecation warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1918177 13f79535-47bb-0310-9956-ffa450edef68
2024-06-05 16:45:46 +00:00
PJ Fanning a1a982a2fb update guava
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1918176 13f79535-47bb-0310-9956-ffa450edef68
2024-06-05 16:33:17 +00:00
PJ Fanning f56eea8e45 BoundedInputStream deprecation warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1918175 13f79535-47bb-0310-9956-ffa450edef68
2024-06-05 16:31:36 +00:00
PJ Fanning 160fc0122c put apache in name of source dist
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1918173 13f79535-47bb-0310-9956-ffa450edef68
2024-06-05 16:10:04 +00:00
Dominik Stadler 3f243f65ab Change one exception to warning-log to avoid regressions in mass-tests
This avoids "breaking" a few documents which could be opened before.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1918118 13f79535-47bb-0310-9956-ffa450edef68
2024-06-02 11:31:31 +00:00
Dominik Stadler 329a659739 Avoid NPE and improve error message when saving a package-part fails
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1918117 13f79535-47bb-0310-9956-ffa450edef68
2024-06-02 09:39:57 +00:00
Dominik Stadler f490e43442 Apply IDE suggestions and ignore sonar false positive
Use NullOutputStream.INSTANCE
Rework one test slightly

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1918116 13f79535-47bb-0310-9956-ffa450edef68
2024-06-02 09:39:51 +00:00
Dominik Stadler 72282b8780 Add simple test for font-width
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1918115 13f79535-47bb-0310-9956-ffa450edef68
2024-06-02 09:39:43 +00:00
PJ Fanning 5ecc959180 use xmlbeans release
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1917993 13f79535-47bb-0310-9956-ffa450edef68
2024-05-26 21:42:46 +00:00
PJ Fanning 6ed4818996 commons-compress 1.26.2 released
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1917936 13f79535-47bb-0310-9956-ffa450edef68
2024-05-24 08:55:02 +00:00
PJ Fanning 19b9510bed commons-compress 1.26.2 is not yet officially released
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1917923 13f79535-47bb-0310-9956-ffa450edef68
2024-05-23 10:58:54 +00:00
PJ Fanning 156371540f commons-compress 1.26.2
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1917903 13f79535-47bb-0310-9956-ffa450edef68
2024-05-22 14:06:41 +00:00
PJ Fanning 7027eb5e8a byte buddy 1.14.16
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1917902 13f79535-47bb-0310-9956-ffa450edef68
2024-05-22 14:06:05 +00:00
PJ Fanning 5f7db27559 test with staged copy of xmlbeans 5.2.1 (rc)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1917874 13f79535-47bb-0310-9956-ffa450edef68
2024-05-22 00:06:34 +00:00
PJ Fanning 4565d31222 rename as 5.3.0-SNAPSHOT due to some changes in behaviour
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1917782 13f79535-47bb-0310-9956-ffa450edef68
2024-05-17 11:07:37 +00:00
PJ Fanning 68478c8b8c [bug-68183] SXSSFWorkbook now removes temp files when closed - removing need for a separate dispose call. Thanks to Clayton Bodendein. This closes #586
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1917780 13f79535-47bb-0310-9956-ffa450edef68
2024-05-17 11:04:12 +00:00
PJ Fanning af5d4b9f22 [bug-69021] add guard around cast
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1917779 13f79535-47bb-0310-9956-ffa450edef68
2024-05-17 10:00:28 +00:00
PJ Fanning 48305903b3 graphics2d 3.0.2
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1917702 13f79535-47bb-0310-9956-ffa450edef68
2024-05-13 15:49:36 +00:00
PJ Fanning b91827e029 [bug-68987] support allowStoredEntriesWithDataDescriptor=true when reading zip data
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1917587 13f79535-47bb-0310-9956-ffa450edef68
2024-05-08 22:32:22 +00:00
PJ Fanning c0c70cac7a javadoc issues
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1917586 13f79535-47bb-0310-9956-ffa450edef68
2024-05-08 21:30:13 +00:00
PJ Fanning efce9ba930 add back check for if dir already exists
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1917583 13f79535-47bb-0310-9956-ffa450edef68
2024-05-08 17:24:41 +00:00
PJ Fanning c960ee6070 upgrade xmlunit
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1917422 13f79535-47bb-0310-9956-ffa450edef68
2024-04-29 15:07:33 +00:00
PJ Fanning fa166a65d7 commons-codec 1.17.0
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1917420 13f79535-47bb-0310-9956-ffa450edef68
2024-04-29 15:04:07 +00:00
Dominik Stadler 3800aa5418 Bug 66425: Avoid exceptions found via poi-fuzz
Avoid a possible NullPointerException

Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=67922

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1917269 13f79535-47bb-0310-9956-ffa450edef68
2024-04-22 13:32:30 +00:00
Dominik Stadler 91149769e4 Adjust test for XLS2CSV for different newlines on Windows
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1917267 13f79535-47bb-0310-9956-ffa450edef68
2024-04-22 13:16:10 +00:00
PJ Fanning e6a913c3bd fix use of forbidden api
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1917264 13f79535-47bb-0310-9956-ffa450edef68
2024-04-22 10:43:36 +00:00
Dominik Stadler 238d002f34 Some new test-files need to be excluded for no-scratchpad execution
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1917258 13f79535-47bb-0310-9956-ffa450edef68
2024-04-22 06:43:24 +00:00
Dominik Stadler 601c5e2671 XLS(X) -> CSV: Wrap formatted numbers in quotes if necessary
e.g. German locale uses "comma" instead of point, e.g. 1,23 instead of 1.23
so we may need to quote formatted numbers

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1917257 13f79535-47bb-0310-9956-ffa450edef68
2024-04-22 06:43:20 +00:00
PJ Fanning 51242877e5 update fanningpj key
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1917252 13f79535-47bb-0310-9956-ffa450edef68
2024-04-21 22:03:36 +00:00
Dominik Stadler 5813a6d2d3 One integration-test file now fails in "additional" as well
Not sure which change introduced this as it worked initially...

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1917223 13f79535-47bb-0310-9956-ffa450edef68
2024-04-20 16:12:36 +00:00
Dominik Stadler 48a69cd5df Add one more "flaky" byte when comparing two documents
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1917177 13f79535-47bb-0310-9956-ffa450edef68
2024-04-20 07:53:47 +00:00
Dominik Stadler 6936398b0a Include inner exception when re-throwing
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1917176 13f79535-47bb-0310-9956-ffa450edef68
2024-04-20 07:53:43 +00:00
Dominik Stadler d4bcc2b3bb Bug 66425: Avoid exceptions found via poi-fuzz
Prevent a NullPointerException

Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=65448

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1917175 13f79535-47bb-0310-9956-ffa450edef68
2024-04-20 07:53:40 +00:00
Dominik Stadler 8c101982e0 Integration tests: Add writing out the document
This will cover some more functionality

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1917174 13f79535-47bb-0310-9956-ffa450edef68
2024-04-20 07:53:35 +00:00
PJ Fanning d87ffbc1b0 update tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1917164 13f79535-47bb-0310-9956-ffa450edef68
2024-04-19 17:10:56 +00:00
PJ Fanning ee525b6477 refactor code that removes parts
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1917154 13f79535-47bb-0310-9956-ffa450edef68
2024-04-19 14:12:13 +00:00