Commit Graph

7909 Commits

Author SHA1 Message Date
Nick Burch
6219cc6664 Unit test for bug #60128, showing that calling close on a broken package cleans up file or stream
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1760693 13f79535-47bb-0310-9956-ffa450edef68
2016-09-14 12:35:34 +00:00
Javen O'Neal
ed7258906f move HSSFFormulaEvaluator#evaluateInCell and BaseXSSFFormulaEvaluator#evaluateInCell(Cell) up to BaseFormulaEvaluator to reduce duplicated code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1760651 13f79535-47bb-0310-9956-ffa450edef68
2016-09-14 07:53:58 +00:00
Javen O'Neal
8842d7bffd move BaseXSSFFormulaEvaluator#evaluateFormulaCellEnum(Cell) and HSSFFormulaEvaluator#evaluateFormulaCellEnum(Cell) up to BaseFormulaEvaluator class to reduce duplicated code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1760647 13f79535-47bb-0310-9956-ffa450edef68
2016-09-14 07:33:20 +00:00
Javen O'Neal
f71ae8036d bug 59791: add deprecation and removal annotations
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1760641 13f79535-47bb-0310-9956-ffa450edef68
2016-09-14 06:42:20 +00:00
Javen O'Neal
b0f814f83f bug 59791: add deprecation warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1760639 13f79535-47bb-0310-9956-ffa450edef68
2016-09-14 06:22:38 +00:00
Javen O'Neal
9a11b0ffd5 bug 59791: add deprecation and removal annotations
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1760634 13f79535-47bb-0310-9956-ffa450edef68
2016-09-14 05:51:52 +00:00
Javen O'Neal
430ea9abfd bug 58190: add @since annotations to SlideShow.addPicture and findPicture
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1760633 13f79535-47bb-0310-9956-ffa450edef68
2016-09-14 05:41:40 +00:00
Javen O'Neal
ca78ec2878 bug 58671: add @Removal annotation to deprecated fields
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1760632 13f79535-47bb-0310-9956-ffa450edef68
2016-09-14 05:31:48 +00:00
Javen O'Neal
38cd94d676 bug 59264: revert CellStyle#getBorder[Top|Bottom|Left|Right]() to return short and add getBorder[Top|Bottom|Left|Right]Enum() returns BorderStyle enum for backwards compatibility with POI 3.14 and earlier
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1760630 13f79535-47bb-0310-9956-ffa450edef68
2016-09-14 05:22:23 +00:00
Javen O'Neal
292d7ec27c bug 59264: revert getBorder[Top|Bottom|Left|Right|Diagonal]() to return short and add getBorder[Top|Bottom|Left|Right|Diagonal]Enum() returns BorderStyle enum for backwards compatibility with POI 3.14 and earlier
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1760627 13f79535-47bb-0310-9956-ffa450edef68
2016-09-14 04:35:45 +00:00
Javen O'Neal
2644cae418 bug 59790: add @Removal annotations to deprecated methods
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1760624 13f79535-47bb-0310-9956-ffa450edef68
2016-09-14 03:51:45 +00:00
Javen O'Neal
5d1ae2cbae bug 59833: add @Removal annotation to deprecated methods
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1760623 13f79535-47bb-0310-9956-ffa450edef68
2016-09-14 03:33:52 +00:00
Javen O'Neal
6839a52aa3 bug 59837,59833,59264: add @Removal annotations to CellStyle constants for which enums now exist
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1760622 13f79535-47bb-0310-9956-ffa450edef68
2016-09-14 03:24:15 +00:00
Javen O'Neal
808996a683 bug 59873: add @Removal annotations for deprecated CreationHelper#createHyperlink(int) and Hyperlink static aliases to HyperlinkType enum values
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1760621 13f79535-47bb-0310-9956-ffa450edef68
2016-09-14 03:17:51 +00:00
Javen O'Neal
b91b5c5715 bug 59907: add @Removal annotations to AnchorType static aliases in ClientAnchor
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1760620 13f79535-47bb-0310-9956-ffa450edef68
2016-09-14 03:06:51 +00:00
Javen O'Neal
9ea5915313 bug 59907: add @Removal annotations to deprecated ClientAnchor#setAnchorType(int)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1760619 13f79535-47bb-0310-9956-ffa450edef68
2016-09-14 02:55:52 +00:00
Javen O'Neal
0977e51818 bug 59907: restore ClientAnchor#setAnchorType(int) that was removed in POI 3.14 beta 1 and broke backwards compatibility without a 2 release deprecation notice
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1760617 13f79535-47bb-0310-9956-ffa450edef68
2016-09-14 02:41:01 +00:00
Javen O'Neal
3c97d9700a change CellValue#getCellType() to return an int instead of an enum for backwards compatibility (source and binary) with POI 3.14. This reverts the behavior introduced in POI 3.15 beta 3 in r1751237.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1760607 13f79535-47bb-0310-9956-ffa450edef68
2016-09-13 23:24:56 +00:00
Nick Burch
494b54161a Disabled unit test for #60010
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1760458 13f79535-47bb-0310-9956-ffa450edef68
2016-09-12 23:10:27 +00:00
David North
b0215121b2 prepare for 3.16-beta1
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1760273 13f79535-47bb-0310-9956-ffa450edef68
2016-09-11 18:50:26 +00:00
David North
f9f343d279 release prepare for 3.15 - updating build.xml and status.xml
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1760270 13f79535-47bb-0310-9956-ffa450edef68
2016-09-11 18:48:11 +00:00
Javen O'Neal
abe46f40ed bug 52425: Error adding Comments into cloned Sheets; patch from Daniel
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1760221 13f79535-47bb-0310-9956-ffa450edef68
2016-09-11 04:05:42 +00:00
Javen O'Neal
adfd0d7f6c bug 60025: DataFormatter should print booleans as TRUE/FALSE, not true/false
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1760219 13f79535-47bb-0310-9956-ffa450edef68
2016-09-11 03:37:56 +00:00
Javen O'Neal
5409095923 bug 58191: Support merge cells within a table row; patch from Mark Olesen
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1760217 13f79535-47bb-0310-9956-ffa450edef68
2016-09-11 03:21:33 +00:00
Javen O'Neal
050010094f add unit test class for XSLFTableRow
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1760216 13f79535-47bb-0310-9956-ffa450edef68
2016-09-11 02:52:29 +00:00
Javen O'Neal
6146860a5e bug 59958: Add cells on the fly to the evaluation sheet cache on cache miss; patch from Tomasz Stanczak
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1760213 13f79535-47bb-0310-9956-ffa450edef68
2016-09-11 02:02:56 +00:00
Javen O'Neal
d9cfcbdd18 bug 60102: throw IOException when writing a closed document
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1760206 13f79535-47bb-0310-9956-ffa450edef68
2016-09-10 19:33:32 +00:00
Javen O'Neal
7dabe1b101 move duplicated NullOutputStream classes to test suite utilities
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1760203 13f79535-47bb-0310-9956-ffa450edef68
2016-09-10 18:47:00 +00:00
Javen O'Neal
e1b5ed4c14 Add comments describing purpose of each unit test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1760130 13f79535-47bb-0310-9956-ffa450edef68
2016-09-10 05:22:58 +00:00
Tim Allison
5747e871a1 poi-60044 small typo in last update to BuiltinFormats
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1760102 13f79535-47bb-0310-9956-ffa450edef68
2016-09-09 18:41:37 +00:00
Javen O'Neal
cd7b5359f8 make CreatePivotTable self-explaining with better variable names
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1757459 13f79535-47bb-0310-9956-ffa450edef68
2016-08-24 04:03:26 +00:00
Javen O'Neal
7f7eba3d04 Update CreatePivotTable with non-deprecated constructor. This closes #36 on github.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1757458 13f79535-47bb-0310-9956-ffa450edef68
2016-08-24 03:54:55 +00:00
Javen O'Neal
bc1f9dfb27 Remove unnecessary short cast. This closes #37 on github
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1757457 13f79535-47bb-0310-9956-ffa450edef68
2016-08-24 03:47:21 +00:00
Javen O'Neal
9665b9859a bug 59791: add @Removal tags to Cell.CELL_TYPE_* constants, deprecated by CellType enum
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1757239 13f79535-47bb-0310-9956-ffa450edef68
2016-08-22 18:25:45 +00:00
Javen O'Neal
75b943d69c bug 59791: make sure hard-coded int literals work for cell type
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1757237 13f79535-47bb-0310-9956-ffa450edef68
2016-08-22 18:14:46 +00:00
Javen O'Neal
3f4612ffcb bug 59791: improve Cell.CELL_TYPE_* backwards compatibility
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1757235 13f79535-47bb-0310-9956-ffa450edef68
2016-08-22 17:57:45 +00:00
David North
e3fadb214d prepare for 3.16-beta1
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1757092 13f79535-47bb-0310-9956-ffa450edef68
2016-08-21 21:44:42 +00:00
David North
6fc298d0ae release prepare for 3.15 - updating build.xml and status.xml
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1757090 13f79535-47bb-0310-9956-ffa450edef68
2016-08-21 21:43:48 +00:00
David North
b3504854b8 Svn commit via calling the binary. Doing it via ant fails every single time for me on two different environments with:
svn: E200007: Commit failed (details follow): svn: E200007: CHECKOUT can only be performed on a version resource [at this time].

more investigation required.


git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1757089 13f79535-47bb-0310-9956-ffa450edef68
2016-08-21 21:43:38 +00:00
David North
f43de7b516 Undo another iffy attempt
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1757088 13f79535-47bb-0310-9956-ffa450edef68
2016-08-21 21:37:21 +00:00
David North
c059198e5a "release prepare for 3.15 - pin documentation
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1757086 13f79535-47bb-0310-9956-ffa450edef68
2016-08-21 21:34:52 +00:00
David North
0014635bac release prepare for 3.15 - updating build.xml and status.xml
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1757085 13f79535-47bb-0310-9956-ffa450edef68
2016-08-21 21:33:14 +00:00
David North
e6384056ec Revert accidental edits
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1757084 13f79535-47bb-0310-9956-ffa450edef68
2016-08-21 21:33:03 +00:00
David North
497c5b9e16 release prepare for 3.15 - updating build.xml and status.xml
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1757083 13f79535-47bb-0310-9956-ffa450edef68
2016-08-21 21:18:07 +00:00
Andreas Beeker
3d87a1f002 changed expiration date of kiwiwings@apache.org
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1757046 13f79535-47bb-0310-9956-ffa450edef68
2016-08-21 11:19:42 +00:00
Javen O'Neal
f7bf415085 revert r1753048 due to AIOOB regression
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1756552 13f79535-47bb-0310-9956-ffa450edef68
2016-08-16 21:43:31 +00:00
Javen O'Neal
403db2b866 decrease TestSXSSFSheetAutoSizeColumn COLUMN_WIDTH_THRESHOLD_BETWEEN_SHORT_AND_LONG so that poi-ooxml-schemas can be built on 'Java: 1.8.0_101/1.8.0_101-b13/25.101-b13/OpenJDK 64-Bit Server VM from Oracle Corporation on Linux: 4.7.0-1-default'
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1756402 13f79535-47bb-0310-9956-ffa450edef68
2016-08-15 17:17:06 +00:00
Javen O'Neal
139319ac73 +svn:eol-style=native
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1756398 13f79535-47bb-0310-9956-ffa450edef68
2016-08-15 16:08:11 +00:00
Javen O'Neal
779c0e527a bug 60005: fix NPE in XSLFTextParagraph.getDefaultFontSize()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1756397 13f79535-47bb-0310-9956-ffa450edef68
2016-08-15 16:05:32 +00:00
Javen O'Neal
4f49414473 make member variables final
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1756361 13f79535-47bb-0310-9956-ffa450edef68
2016-08-15 08:09:32 +00:00