]> source.dussan.org Git - poi.git/log
poi.git
19 months agosaxon 11.5
PJ Fanning [Thu, 23 Feb 2023 23:17:26 +0000 (23:17 +0000)]
saxon 11.5

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

19 months agoupgrade byte-buddy
PJ Fanning [Thu, 23 Feb 2023 19:41:20 +0000 (19:41 +0000)]
upgrade byte-buddy

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

19 months agotry gradle 8.0.1 again
PJ Fanning [Thu, 23 Feb 2023 00:03:18 +0000 (00:03 +0000)]
try gradle 8.0.1 again

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

19 months agotry gradle 8.0.1 again
PJ Fanning [Wed, 22 Feb 2023 23:38:36 +0000 (23:38 +0000)]
try gradle 8.0.1 again

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

19 months agotry gradle 8.0.1 again
PJ Fanning [Wed, 22 Feb 2023 22:43:41 +0000 (22:43 +0000)]
try gradle 8.0.1 again

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

19 months agotry gradle 8.0.1 again
PJ Fanning [Wed, 22 Feb 2023 22:26:50 +0000 (22:26 +0000)]
try gradle 8.0.1 again

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

19 months agotry gradle 8.0.1 again
PJ Fanning [Wed, 22 Feb 2023 22:19:17 +0000 (22:19 +0000)]
try gradle 8.0.1 again

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

19 months agosonar 4.0.0.2929
PJ Fanning [Wed, 22 Feb 2023 20:44:46 +0000 (20:44 +0000)]
sonar 4.0.0.2929

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

19 months agotry to fix gradle issues
PJ Fanning [Wed, 22 Feb 2023 20:31:47 +0000 (20:31 +0000)]
try to fix gradle issues

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

19 months agotry to fix gradle issues
PJ Fanning [Wed, 22 Feb 2023 20:08:44 +0000 (20:08 +0000)]
try to fix gradle issues

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

19 months agogradle 8.0.1
PJ Fanning [Wed, 22 Feb 2023 19:45:56 +0000 (19:45 +0000)]
gradle 8.0.1

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

19 months ago[bug-66485] poi-ooxml-full: generate classes for drawing/2012/chart schema
PJ Fanning [Tue, 21 Feb 2023 13:11:59 +0000 (13:11 +0000)]
[bug-66485] poi-ooxml-full: generate classes for drawing/2012/chart schema

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

19 months agolog4j 2.20.0
PJ Fanning [Tue, 21 Feb 2023 11:06:12 +0000 (11:06 +0000)]
log4j 2.20.0

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

19 months agobuild issue
PJ Fanning [Sun, 19 Feb 2023 23:21:51 +0000 (23:21 +0000)]
build issue

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

19 months agobuild issue
PJ Fanning [Sun, 19 Feb 2023 18:54:56 +0000 (18:54 +0000)]
build issue

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

20 months agosafety check on throwable catch
PJ Fanning [Tue, 14 Feb 2023 18:20:06 +0000 (18:20 +0000)]
safety check on throwable catch

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

20 months agosafety check on throwable catch
PJ Fanning [Tue, 14 Feb 2023 15:12:18 +0000 (15:12 +0000)]
safety check on throwable catch

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

20 months agorevert accidental change
PJ Fanning [Tue, 14 Feb 2023 15:07:55 +0000 (15:07 +0000)]
revert accidental change

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

20 months agorevert use of ExceptionUtil on caught exceptions (not useful)
PJ Fanning [Tue, 14 Feb 2023 15:03:26 +0000 (15:03 +0000)]
revert use of ExceptionUtil on caught exceptions (not useful)

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

20 months agouse of ExceptionUtil in excelant
PJ Fanning [Tue, 14 Feb 2023 14:52:29 +0000 (14:52 +0000)]
use of ExceptionUtil in excelant

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

20 months agofix up use of ExceptionUtil in main poi-scratchpad module
PJ Fanning [Tue, 14 Feb 2023 14:51:27 +0000 (14:51 +0000)]
fix up use of ExceptionUtil in main poi-scratchpad module

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

20 months agofix up use of ExceptionUtil in main poi module
PJ Fanning [Tue, 14 Feb 2023 14:26:56 +0000 (14:26 +0000)]
fix up use of ExceptionUtil in main poi module

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

20 months agodon't use ExceptionUtil in examples
PJ Fanning [Tue, 14 Feb 2023 13:52:53 +0000 (13:52 +0000)]
don't use ExceptionUtil in examples

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

20 months agoadd util code to rethrow fatal exceptions
PJ Fanning [Tue, 14 Feb 2023 13:51:52 +0000 (13:51 +0000)]
add util code to rethrow fatal exceptions

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

20 months agoupgrade cyclonedx plugin
PJ Fanning [Tue, 14 Feb 2023 11:01:06 +0000 (11:01 +0000)]
upgrade cyclonedx plugin

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

20 months agoprovide way to clear the state on the ThreadLocal used byby ExtractorFactory
PJ Fanning [Sat, 11 Feb 2023 12:07:34 +0000 (12:07 +0000)]
provide way to clear the state on the ThreadLocal used byby ExtractorFactory

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

20 months ago[bug-66475] SignatureConfig: remove ThreadLocals and deprecated code associated with...
PJ Fanning [Sat, 11 Feb 2023 11:51:13 +0000 (11:51 +0000)]
[bug-66475] SignatureConfig: remove ThreadLocals and deprecated code associated with them

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

20 months agoremove recently added volatile markers due to Sonarcloud warnings
PJ Fanning [Sat, 11 Feb 2023 11:26:03 +0000 (11:26 +0000)]
remove recently added volatile markers due to Sonarcloud warnings

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

20 months agobyte buddy 1.12.22
PJ Fanning [Fri, 10 Feb 2023 20:40:12 +0000 (20:40 +0000)]
byte buddy 1.12.22

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

20 months agoupgrade bouncycastle
PJ Fanning [Fri, 10 Feb 2023 20:34:01 +0000 (20:34 +0000)]
upgrade bouncycastle

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

20 months agoDataFormatter - typo in javadoc and possible NPE
PJ Fanning [Thu, 9 Feb 2023 15:22:21 +0000 (15:22 +0000)]
DataFormatter - typo in javadoc and possible NPE

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

20 months agoremove oracle requirement due to build failures
PJ Fanning [Mon, 6 Feb 2023 00:38:26 +0000 (00:38 +0000)]
remove oracle requirement due to build failures

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

20 months agoDo not fail if an empty password is provided
Dominik Stadler [Sun, 5 Feb 2023 21:11:14 +0000 (21:11 +0000)]
Do not fail if an empty password is provided

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

20 months agoAvoid a file-handle leak in tests
Dominik Stadler [Sun, 5 Feb 2023 21:11:09 +0000 (21:11 +0000)]
Avoid a file-handle leak in tests

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

20 months agoBug 66436: Fix invalid handling of padded encrypted bytes
Dominik Stadler [Sun, 5 Feb 2023 21:11:03 +0000 (21:11 +0000)]
Bug 66436: Fix invalid handling of padded encrypted bytes

The encrypted data is padded to 16 bytes, but these additional bytes
were not read from the stream

Make the reading of the additional bytes "lenient" to not introduce
breaking change if some existing functionality did produce non-aligned
data for some reason.

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

20 months ago[bug-65260] partial revert of recent changes
PJ Fanning [Sun, 5 Feb 2023 20:34:19 +0000 (20:34 +0000)]
[bug-65260] partial revert of recent changes

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

20 months agofix compile issues
PJ Fanning [Sat, 4 Feb 2023 15:28:04 +0000 (15:28 +0000)]
fix compile issues

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

20 months ago[bug-65260] catch Throwable instead of error - see https://github.com/apache/poi...
PJ Fanning [Sat, 4 Feb 2023 15:10:32 +0000 (15:10 +0000)]
[bug-65260] catch Throwable instead of error - see https://github.com/apache/poi/pull/425

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

20 months agomark some variables that are used in synchronized code as volatile
PJ Fanning [Mon, 30 Jan 2023 14:46:43 +0000 (14:46 +0000)]
mark some variables that are used in synchronized code as volatile

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

20 months agoSpotbugs: Replace \n with %n in String.format()
Dominik Stadler [Mon, 30 Jan 2023 12:19:43 +0000 (12:19 +0000)]
Spotbugs: Replace \n with %n in String.format()

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

20 months agoAnt build: Specify "--add-opens" to avoid byte-buddy complaining on newer JDKs
Dominik Stadler [Mon, 30 Jan 2023 12:19:39 +0000 (12:19 +0000)]
Ant build: Specify "--add-opens" to avoid byte-buddy complaining on newer JDKs

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

20 months agoUse an error-handler to use logging also for XML parsing errors
Dominik Stadler [Mon, 30 Jan 2023 12:19:37 +0000 (12:19 +0000)]
Use an error-handler to use logging also for XML parsing errors

Otherwise this output is done to stdout/stderr which we would like to avoid.

Keep the format as one line and do not include a full exception stacktrace
to not introduce lots of exception-stacktraces for some slightly broken input files

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

20 months agoAdjust file-handle-leak exlusions
Dominik Stadler [Mon, 30 Jan 2023 12:19:33 +0000 (12:19 +0000)]
Adjust file-handle-leak exlusions

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

20 months agoBug 54373: Include alpha/transparency value when creating an XSSFColor from an AWT...
Dominik Stadler [Mon, 30 Jan 2023 12:19:31 +0000 (12:19 +0000)]
Bug 54373: Include alpha/transparency value when creating an XSSFColor from an AWT Color object

Use the alpha-value from Color as well

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

20 months agoBug 62272: Include alpha/transparency value when setting a color-value for a font
Dominik Stadler [Mon, 30 Jan 2023 12:19:24 +0000 (12:19 +0000)]
Bug 62272: Include alpha/transparency value when setting a color-value for a font

Use method with returns 4 bytes to use an ARGB value instead of only RGB

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

20 months agojunit-platform 1.9.2
PJ Fanning [Sun, 29 Jan 2023 21:15:58 +0000 (21:15 +0000)]
junit-platform 1.9.2

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

20 months agodon't create format pr instance for read events
PJ Fanning [Sun, 29 Jan 2023 17:15:41 +0000 (17:15 +0000)]
don't create format pr instance for read events

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

20 months agorework SXSSF groupRow and add test
PJ Fanning [Sat, 28 Jan 2023 22:18:33 +0000 (22:18 +0000)]
rework SXSSF groupRow and add test

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

20 months agoedge case (avoid short overflow)
PJ Fanning [Sat, 28 Jan 2023 20:44:26 +0000 (20:44 +0000)]
edge case (avoid short overflow)

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

20 months agotry to improve performance of XSSFSheet row/col grouping/ungrouping
PJ Fanning [Sat, 28 Jan 2023 20:13:33 +0000 (20:13 +0000)]
try to improve performance of XSSFSheet row/col grouping/ungrouping

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

20 months agoreorder xssf code
PJ Fanning [Tue, 24 Jan 2023 15:01:38 +0000 (15:01 +0000)]
reorder xssf code

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

20 months ago[bug-66433] Boolean functions should blank cells. Thanks to Patrick Böker
PJ Fanning [Fri, 20 Jan 2023 12:03:52 +0000 (12:03 +0000)]
[bug-66433] Boolean functions should blank cells. Thanks to Patrick Böker

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

20 months agorevert to saxon 11.4 (saxon 12.0 only supports Java 11)
PJ Fanning [Tue, 17 Jan 2023 18:56:47 +0000 (18:56 +0000)]
revert to saxon 11.4 (saxon 12.0 only supports Java 11)

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

21 months agowoodstox 6.5
PJ Fanning [Mon, 16 Jan 2023 19:39:56 +0000 (19:39 +0000)]
woodstox 6.5

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

21 months agotest with saxon 12
PJ Fanning [Mon, 16 Jan 2023 19:39:02 +0000 (19:39 +0000)]
test with saxon 12

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

21 months agoremove incomplete test
PJ Fanning [Fri, 13 Jan 2023 12:10:04 +0000 (12:10 +0000)]
remove incomplete test

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

21 months agobyte-buddy 1.12.22
PJ Fanning [Fri, 13 Jan 2023 12:08:02 +0000 (12:08 +0000)]
byte-buddy 1.12.22

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

21 months agojunit 5.9.2
PJ Fanning [Wed, 11 Jan 2023 14:13:29 +0000 (14:13 +0000)]
junit 5.9.2

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

21 months agoxmlunit 2.9.1
PJ Fanning [Wed, 11 Jan 2023 14:11:02 +0000 (14:11 +0000)]
xmlunit 2.9.1

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

21 months agorevert ant upgrade due to issues with ant-launcher-1.10.13.jar
PJ Fanning [Tue, 10 Jan 2023 21:36:34 +0000 (21:36 +0000)]
revert ant upgrade due to issues with ant-launcher-1.10.13.jar

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

21 months agorevert ant upgrade due to issues with ant-launcher-1.10.13.jar
PJ Fanning [Tue, 10 Jan 2023 20:59:59 +0000 (20:59 +0000)]
revert ant upgrade due to issues with ant-launcher-1.10.13.jar

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

21 months agoadd test case
PJ Fanning [Tue, 10 Jan 2023 20:10:25 +0000 (20:10 +0000)]
add test case

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

21 months agobyte-buddy 1.12.21
PJ Fanning [Tue, 10 Jan 2023 19:45:56 +0000 (19:45 +0000)]
byte-buddy 1.12.21

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

21 months agoupgrade ant
PJ Fanning [Tue, 10 Jan 2023 19:44:37 +0000 (19:44 +0000)]
upgrade ant

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

21 months ago[bug-66413] try to fix HSSF code where you can set fill colors
PJ Fanning [Sat, 7 Jan 2023 22:24:49 +0000 (22:24 +0000)]
[bug-66413] try to fix HSSF code where you can set fill colors

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

21 months ago[bug-65543] HSSF: fix issue with incomplete SSTs. Thanks to Simon Carter.
PJ Fanning [Fri, 6 Jan 2023 23:50:54 +0000 (23:50 +0000)]
[bug-65543] HSSF: fix issue with incomplete SSTs. Thanks to Simon Carter.

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

21 months agoSaxon-HE is included in more place, combine these into the main gradle build
Dominik Stadler [Fri, 6 Jan 2023 19:58:45 +0000 (19:58 +0000)]
Saxon-HE is included in more place, combine these into the main gradle build

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

21 months agoTesting with saxon-HE: Avoid module-clash between xml.apis and java.xml
Dominik Stadler [Fri, 6 Jan 2023 17:41:28 +0000 (17:41 +0000)]
Testing with saxon-HE: Avoid module-clash between xml.apis and java.xml

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

21 months agoUpdate Apache Ant to latest 1.10.12 to try to make writing JUnit results work for...
Dominik Stadler [Fri, 6 Jan 2023 16:52:14 +0000 (16:52 +0000)]
Update Apache Ant to latest 1.10.12 to try to make writing JUnit results work for JDK 20

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

21 months agoAdd missing library for forbidden-apis-check
Dominik Stadler [Tue, 3 Jan 2023 19:52:14 +0000 (19:52 +0000)]
Add missing library for forbidden-apis-check

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

21 months agoAvoid some NullPointerException and ClassCastExceptions found when fuzzing Apache POI
Dominik Stadler [Tue, 3 Jan 2023 19:52:03 +0000 (19:52 +0000)]
Avoid some NullPointerException and ClassCastExceptions found when fuzzing Apache POI

This mostly only makes thrown runtime-exceptions a bit more consistent and
improves information in exceptions.

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

21 months ago2023
PJ Fanning [Sun, 1 Jan 2023 23:04:10 +0000 (23:04 +0000)]
2023

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

21 months agoChange more assertions to proper checks
Dominik Stadler [Sun, 1 Jan 2023 15:59:48 +0000 (15:59 +0000)]
Change more assertions to proper checks

A broken input-document should not trigger assertions,
but proper exceptions with useful information for the user

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

21 months agoPrevent more cases of unbounded allocation
Dominik Stadler [Sun, 1 Jan 2023 15:59:44 +0000 (15:59 +0000)]
Prevent more cases of unbounded allocation

Test WordToTextConverter with all sample files

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

21 months agoAnt: Adjust libs for poi-excelant as it requires poi-ooxml and xmlbeans
Dominik Stadler [Sun, 1 Jan 2023 15:59:40 +0000 (15:59 +0000)]
Ant: Adjust libs for poi-excelant as it requires poi-ooxml and xmlbeans

Seems JDK 20 does more checks on module-path and thus fails the
build otherwise

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

21 months agoIgnore compile module-info class-files
Dominik Stadler [Sun, 1 Jan 2023 15:59:37 +0000 (15:59 +0000)]
Ignore compile module-info class-files

Now that they are not checked in any more.

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

21 months agoTry to avoid clashes of modules java.xml and xml-apis
Dominik Stadler [Sun, 1 Jan 2023 15:59:35 +0000 (15:59 +0000)]
Try to avoid clashes of modules java.xml and xml-apis

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

21 months agoAvoid some NullPointerExceptions and ClassCastExceptions found when fuzzing Apache POI
Dominik Stadler [Sun, 1 Jan 2023 15:59:32 +0000 (15:59 +0000)]
Avoid some NullPointerExceptions and ClassCastExceptions found when fuzzing Apache POI

This mostly only makes thrown exceptions a bit more consistent
or may allow some broken documents to be still read.

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

21 months agoJenkins DSL: Fix link to Spotbugs results some more
Dominik Stadler [Sun, 1 Jan 2023 15:59:16 +0000 (15:59 +0000)]
Jenkins DSL: Fix link to Spotbugs results some more

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

21 months agoJenkins DSL: Adjust links and comment out publishing "warnings" as the plugin is...
Dominik Stadler [Fri, 30 Dec 2022 08:11:43 +0000 (08:11 +0000)]
Jenkins DSL: Adjust links and comment out publishing "warnings" as the plugin is not installed

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

21 months agoJenkins DSL: On Windows also revert some specific files
Dominik Stadler [Fri, 30 Dec 2022 08:11:41 +0000 (08:11 +0000)]
Jenkins DSL: On Windows also revert some specific files

The wildcard based revert seems to fail

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

21 months agoRename method for color from "RBG" to "RGB"
Dominik Stadler [Fri, 30 Dec 2022 08:11:38 +0000 (08:11 +0000)]
Rename method for color from "RBG" to "RGB"

It's a protected method that is not intended to be used
outside anyway.

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

21 months agoReplace some more http -> https in the generated documentation pages
Dominik Stadler [Fri, 30 Dec 2022 08:11:32 +0000 (08:11 +0000)]
Replace some more http -> https in the generated documentation pages

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

21 months agoJenkins DSL: Do not try to rebuild sources with Gradle for JDK 20
Dominik Stadler [Fri, 30 Dec 2022 08:11:30 +0000 (08:11 +0000)]
Jenkins DSL: Do not try to rebuild sources with Gradle for JDK 20

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

21 months agographics2d 0.42
PJ Fanning [Thu, 29 Dec 2022 22:31:14 +0000 (22:31 +0000)]
graphics2d 0.42

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

21 months ago[github-409] Textruns not honouring highlight. Thans to gffloodg. This closes #409
PJ Fanning [Wed, 28 Dec 2022 17:56:26 +0000 (17:56 +0000)]
[github-409] Textruns not honouring highlight. Thans to gffloodg. This closes #409

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

21 months agomockito 4.11.0
PJ Fanning [Wed, 28 Dec 2022 17:46:55 +0000 (17:46 +0000)]
mockito 4.11.0

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

21 months ago[github-409] Textruns not honouring highlight. Thans to gffloodg. This closes #409
PJ Fanning [Wed, 28 Dec 2022 17:45:21 +0000 (17:45 +0000)]
[github-409] Textruns not honouring highlight. Thans to gffloodg. This closes #409

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

21 months ago[bug-66397] update temp file code. Thanks to lsq27.
PJ Fanning [Wed, 28 Dec 2022 08:08:09 +0000 (08:08 +0000)]
[bug-66397] update temp file code. Thanks to lsq27.

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

21 months agoadd test file
PJ Fanning [Wed, 28 Dec 2022 07:57:59 +0000 (07:57 +0000)]
add test file

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

21 months agotry to get rid of cached module-info classes
PJ Fanning [Tue, 27 Dec 2022 18:45:15 +0000 (18:45 +0000)]
try to get rid of cached module-info classes

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

21 months agoFix when bodyElements contain sdt, the inserted element is in the wrong position
Bida Fan [Tue, 27 Dec 2022 07:49:35 +0000 (07:49 +0000)]
Fix when bodyElements contain sdt, the inserted element is in the wrong position

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

21 months agotry to get sboms to build again
PJ Fanning [Mon, 26 Dec 2022 19:54:56 +0000 (19:54 +0000)]
try to get sboms to build again

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

21 months agoAnt-Java 11+: Add support for a 4th module to be able to add slf4j module
Dominik Stadler [Mon, 26 Dec 2022 16:25:26 +0000 (16:25 +0000)]
Ant-Java 11+: Add support for a 4th module to be able to add slf4j module

Otherwise running test-ooxml may fail because of a missing class

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

21 months agobuild.xml: Update spotbugs to 4.7.3 to enable support for JDK 20
Dominik Stadler [Mon, 26 Dec 2022 16:15:47 +0000 (16:15 +0000)]
build.xml: Update spotbugs to 4.7.3 to enable support for JDK 20

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

21 months agoBug 65260: Fix how we ignore errors when fonts are not installed
Dominik Stadler [Mon, 26 Dec 2022 16:15:44 +0000 (16:15 +0000)]
Bug 65260: Fix how we ignore errors when fonts are not installed

The implementation via bug 66230 was not fully working due to the
caught exception.
Also add this to the 2nd constructor as well.

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

21 months agoBug 66401: Handle escaped single-quote in formulas properly
Dominik Stadler [Mon, 26 Dec 2022 16:15:39 +0000 (16:15 +0000)]
Bug 66401: Handle escaped single-quote in formulas properly

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

21 months agotry to get sboms to build again
PJ Fanning [Mon, 26 Dec 2022 13:32:30 +0000 (13:32 +0000)]
try to get sboms to build again

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

21 months agotry to fix module-info compile
PJ Fanning [Mon, 26 Dec 2022 10:22:14 +0000 (10:22 +0000)]
try to fix module-info compile

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

21 months agodoesn't matter what jdk vendor is used to build module-info classes
PJ Fanning [Mon, 26 Dec 2022 10:05:10 +0000 (10:05 +0000)]
doesn't matter what jdk vendor is used to build module-info classes

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