]> source.dussan.org Git - xmlgraphics-fop.git/log
xmlgraphics-fop.git
13 years agoDecommission AreaAdditionUtil.StackingIter + minor fixups
Andreas L. Delmelle [Sat, 5 Feb 2011 00:40:35 +0000 (00:40 +0000)]
Decommission AreaAdditionUtil.StackingIter + minor fixups

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

13 years agoRefactoring PositionIterator Step 1: make the class instantiable, provide default...
Andreas L. Delmelle [Sat, 5 Feb 2011 00:13:18 +0000 (00:13 +0000)]
Refactoring PositionIterator Step 1: make the class instantiable, provide default implementations for getLM() and getPos(), and make the constructor public

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

13 years agoDisable pixel tests due to differences between JVMs.
Jeremias Maerki [Fri, 4 Feb 2011 15:13:07 +0000 (15:13 +0000)]
Disable pixel tests due to differences between JVMs.

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

13 years agoBugfix: Suppress generating duplicate fo:root and fo:declarations extension attachments.
Jeremias Maerki [Fri, 4 Feb 2011 15:11:29 +0000 (15:11 +0000)]
Bugfix: Suppress generating duplicate fo:root and fo:declarations extension attachments.

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

13 years agoFix compile error when JAI is not around.
Jeremias Maerki [Fri, 4 Feb 2011 10:02:01 +0000 (10:02 +0000)]
Fix compile error when JAI is not around.

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

13 years agoSome tests for bitmap conversions.
Jeremias Maerki [Fri, 4 Feb 2011 09:56:33 +0000 (09:56 +0000)]
Some tests for bitmap conversions.

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

13 years agoBugzilla #50705:
Jeremias Maerki [Fri, 4 Feb 2011 08:14:41 +0000 (08:14 +0000)]
Bugzilla #50705:
Fix to preserve the order of AFP TLEs and NOPs as given in the XSL-FO document.
Submitted by: Mehdi Houshmand <med1985.at.gmail.com>

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

13 years agoGenerify ListUtil methods
Andreas L. Delmelle [Wed, 2 Feb 2011 20:57:06 +0000 (20:57 +0000)]
Generify ListUtil methods

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

13 years agoAdding information about the font cache file.
Jeremias Maerki [Wed, 2 Feb 2011 17:28:58 +0000 (17:28 +0000)]
Adding information about the font cache file.

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

13 years agoBugzilla #50699:
Jeremias Maerki [Wed, 2 Feb 2011 10:19:18 +0000 (10:19 +0000)]
Bugzilla #50699:
Added support for lookup of alternative glyphs when additional single-byte encodings are used, ex. replacing "Omegagreek" by "Omega" and vice versa.
Submitted by: Alexandros Papadakis <alpapad.at.gmail.com>

Changes to patch:
- fixed a couple of typos
- code formatting
- a little code optimization

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

13 years agoCommit file necessary to avoid compile error after r1066198
Andreas L. Delmelle [Tue, 1 Feb 2011 23:51:21 +0000 (23:51 +0000)]
Commit file necessary to avoid compile error after r1066198

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

13 years agoAdd type safety to PositionIterator + attempt at javadoc improvement
Andreas L. Delmelle [Tue, 1 Feb 2011 23:46:38 +0000 (23:46 +0000)]
Add type safety to PositionIterator + attempt at javadoc improvement

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

13 years agoSmall cleanup: extract TextDecorationMaker, move validation into convertProperty...
Andreas L. Delmelle [Tue, 1 Feb 2011 20:47:54 +0000 (20:47 +0000)]
Small cleanup: extract TextDecorationMaker, move validation into convertProperty() and eliminate unnecessary TextDecorationProperty

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

13 years agoBugzilla 48334: Added implementation for xml:base
Andreas L. Delmelle [Tue, 1 Feb 2011 20:20:02 +0000 (20:20 +0000)]
Bugzilla 48334: Added implementation for xml:base

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

13 years agoBugzilla 50698: Changes after updating XGC JAR
Andreas L. Delmelle [Tue, 1 Feb 2011 20:03:46 +0000 (20:03 +0000)]
Bugzilla 50698: Changes after updating XGC JAR

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

13 years agoUpdated XGC JAR after migrating ColorProfileUtil
Andreas L. Delmelle [Tue, 1 Feb 2011 20:02:08 +0000 (20:02 +0000)]
Updated XGC JAR after migrating ColorProfileUtil

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

13 years agoAllow afp:no-operation to be added to fo:page-sequence (page group in AFP) and fo...
Jeremias Maerki [Tue, 1 Feb 2011 16:04:41 +0000 (16:04 +0000)]
Allow afp:no-operation to be added to fo:page-sequence (page group in AFP) and fo:declarations (document in AFP). Includes a test case.
Update QDox to avoid a bug with class private enums.
Connect some older test cases into the standard test suite.

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

13 years agoFix an forgotten change of type in class Area and a checkstyle error in class FObj
Simon Pepping [Thu, 27 Jan 2011 15:34:12 +0000 (15:34 +0000)]
Fix an forgotten change of type in class Area and a checkstyle error in class FObj

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

13 years agoBugzilla 50635: fix issue in checkPreparedPages() where the same page-sequence is...
Andreas L. Delmelle [Mon, 24 Jan 2011 22:18:42 +0000 (22:18 +0000)]
Bugzilla 50635: fix issue in checkPreparedPages() where the same page-sequence is potentially started multiple times

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

13 years agoCredit where credit is due...
Andreas L. Delmelle [Mon, 24 Jan 2011 18:36:56 +0000 (18:36 +0000)]
Credit where credit is due...

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

13 years agoBugzilla 50636: fix performance issue when adding pages in very large documents
Andreas L. Delmelle [Mon, 24 Jan 2011 18:35:15 +0000 (18:35 +0000)]
Bugzilla 50636: fix performance issue when adding pages in very large documents

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

13 years agoBugzilla 50593: Mostly add type safety to various collections in the fop.area package...
Andreas L. Delmelle [Mon, 24 Jan 2011 18:06:25 +0000 (18:06 +0000)]
Bugzilla 50593: Mostly add type safety to various collections in the fop.area package. Additionally, added @Override annotations and used static import for Constants.

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

13 years agoRemoved unnecessary Checkstyle CSOK comments
Vincent Hennebert [Mon, 24 Jan 2011 11:46:53 +0000 (11:46 +0000)]
Removed unnecessary Checkstyle CSOK comments

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

13 years agoFAQ entry for anti-aliasing artifacts in Adobe Acrobat.
Jeremias Maerki [Mon, 24 Jan 2011 09:55:52 +0000 (09:55 +0000)]
FAQ entry for anti-aliasing artifacts in Adobe Acrobat.

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

13 years agoMake HashMaps type safe + remove corresponding redundant casts and unnecessary (un...
Andreas L. Delmelle [Sat, 22 Jan 2011 19:15:11 +0000 (19:15 +0000)]
Make HashMaps type safe + remove corresponding redundant casts and unnecessary (un)boxing

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

13 years agoMinor fixups: extract addAttributeToList() + no reason to first check the attributeVa...
Andreas L. Delmelle [Sat, 22 Jan 2011 19:09:00 +0000 (19:09 +0000)]
Minor fixups: extract addAttributeToList() + no reason to first check the attributeValue to ignore namespace declarations

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

13 years agoBugzilla 50626: Fix potential performance issue when adding nodes. Thanks to mkoegler...
Andreas L. Delmelle [Sat, 22 Jan 2011 18:28:57 +0000 (18:28 +0000)]
Bugzilla 50626: Fix potential performance issue when adding nodes. Thanks to mkoegler.AT.auto.tuwien.ac.at.

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

13 years agoReduced task attribute redundancy by using <presetdef>.
Jeremias Maerki [Fri, 21 Jan 2011 08:21:12 +0000 (08:21 +0000)]
Reduced task attribute redundancy by using <presetdef>.
Added maxmemory="256m" on junit instead of a JVM argument to overcome OutOfMemoryErrors that I have since moving to Windows 7 64bit.

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

13 years agoFix for paths with spaces.
Jeremias Maerki [Fri, 21 Jan 2011 06:54:39 +0000 (06:54 +0000)]
Fix for paths with spaces.
Submitted by: Carl Hoffman/Glenn Adams

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

13 years agoAvoid deconstructing and reconstructing the base URI of the
Simon Pepping [Thu, 20 Jan 2011 16:05:42 +0000 (16:05 +0000)]
Avoid deconstructing and reconstructing the base URI of the
configuration; the location string is obtained from a sax.Locator with
system ID, line number and optionally column number
(avalon.framework.configuration.SAXConfigurationHandler.getLocationString),
and can be used as a URI string directly.

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

13 years agoBugfix: Extracting the base directory through Configuration.getLocation() didn't...
Jeremias Maerki [Mon, 17 Jan 2011 15:08:39 +0000 (15:08 +0000)]
Bugfix: Extracting the base directory through Configuration.getLocation() didn't work for Windows, since Windows paths can contain drive letters that are separated by colons. This lead to FOP scanning the whole drive for fonts starting from the drive root in the auto-detect case.

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

13 years agoRemove unused class
Andreas L. Delmelle [Sun, 16 Jan 2011 00:15:09 +0000 (00:15 +0000)]
Remove unused class

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

13 years agoAdd test/use-case for id on fo:root
Andreas L. Delmelle [Sat, 15 Jan 2011 21:40:50 +0000 (21:40 +0000)]
Add test/use-case for id on fo:root

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

13 years agoEnable id on fo:root pt 3 - Signal processed id at end of document
Andreas L. Delmelle [Sat, 15 Jan 2011 18:51:36 +0000 (18:51 +0000)]
Enable id on fo:root pt 3 - Signal processed id at end of document

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

13 years agoEnable id property on fo:root.
Andreas L. Delmelle [Sat, 15 Jan 2011 18:42:50 +0000 (18:42 +0000)]
Enable id property on fo:root.

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

13 years agoAssociate id of fo:root with every new page.
Andreas L. Delmelle [Sat, 15 Jan 2011 18:38:39 +0000 (18:38 +0000)]
Associate id of fo:root with every new page.

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

13 years agoBugzilla 50590: Fix typo in fop_exec() function in fop.js. Thanks to sergeyb49.AT...
Andreas L. Delmelle [Sat, 15 Jan 2011 18:31:37 +0000 (18:31 +0000)]
Bugzilla 50590: Fix typo in fop_exec() function in fop.js. Thanks to sergeyb49.AT.gmail.

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

13 years agoPrevious commit would have caused compile error, unless others included as well.
Andreas L. Delmelle [Sat, 15 Jan 2011 00:14:27 +0000 (00:14 +0000)]
Previous commit would have caused compile error, unless others included as well.

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

13 years agoMight as well make those primitive ints...
Andreas L. Delmelle [Sat, 15 Jan 2011 00:03:36 +0000 (00:03 +0000)]
Might as well make those primitive ints...

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

13 years agoEliminate unnecessary boxing
Andreas L. Delmelle [Fri, 14 Jan 2011 23:57:55 +0000 (23:57 +0000)]
Eliminate unnecessary boxing

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

13 years agoEliminate a small waste: no reason to store the char as a String, and then constuct...
Andreas L. Delmelle [Fri, 14 Jan 2011 23:03:21 +0000 (23:03 +0000)]
Eliminate a small waste: no reason to store the char as a String, and then constuct a new one in getSpace()

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

13 years agoMinor fixups
Andreas L. Delmelle [Fri, 14 Jan 2011 23:00:42 +0000 (23:00 +0000)]
Minor fixups

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

13 years agoMinor nit: eliminate stray hungarian...
Andreas L. Delmelle [Fri, 14 Jan 2011 22:56:21 +0000 (22:56 +0000)]
Minor nit: eliminate stray hungarian...

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

13 years agoFix deprecation warnings; add some type safety
Simon Pepping [Fri, 14 Jan 2011 12:58:53 +0000 (12:58 +0000)]
Fix deprecation warnings; add some type safety

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

13 years agoRelative URIs in the configuration file are evaluated relative to the base URI of...
Simon Pepping [Fri, 14 Jan 2011 11:15:16 +0000 (11:15 +0000)]
Relative URIs in the configuration file are evaluated relative to the base URI of the configuration file

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

13 years agoRestored compatibility with third-party extensions.
Jeremias Maerki [Wed, 12 Jan 2011 19:58:50 +0000 (19:58 +0000)]
Restored compatibility with third-party extensions.

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

13 years agomove hyphenation-dependent testcase into hyphenation-testcases
Simon Pepping [Wed, 12 Jan 2011 09:40:10 +0000 (09:40 +0000)]
move hyphenation-dependent testcase into hyphenation-testcases

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

13 years agoCheckStyle fixup...
Andreas L. Delmelle [Tue, 11 Jan 2011 23:38:25 +0000 (23:38 +0000)]
CheckStyle fixup...

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

13 years agoBugzilla 49848: Correct behavior of keep-together.within-line in case of nested inlines
Andreas L. Delmelle [Sun, 9 Jan 2011 14:40:31 +0000 (14:40 +0000)]
Bugzilla 49848: Correct behavior of keep-together.within-line in case of nested inlines

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

13 years agoSwitch to type-safe collections (+ related cleanup of redundant casts, for-loops...)
Andreas L. Delmelle [Sun, 9 Jan 2011 12:20:21 +0000 (12:20 +0000)]
Switch to type-safe collections (+ related cleanup of redundant casts, for-loops...)

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

13 years agoFix minor bug in validateChildNode() + make regions Map type-safe
Andreas L. Delmelle [Sun, 9 Jan 2011 12:16:18 +0000 (12:16 +0000)]
Fix minor bug in validateChildNode() + make regions Map type-safe

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

13 years agoSimplify Region.getViewportRectangle(): no reason to pass the SinglePageMaster as...
Andreas L. Delmelle [Sun, 9 Jan 2011 12:11:07 +0000 (12:11 +0000)]
Simplify Region.getViewportRectangle(): no reason to pass the SinglePageMaster as a parameter, as Regions have access to it

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

13 years agoCommit changes forgotten in r757256...
Andreas L. Delmelle [Sun, 9 Jan 2011 01:26:33 +0000 (01:26 +0000)]
Commit changes forgotten in r757256...

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

13 years agoProperty fixup
Andreas L. Delmelle [Sat, 8 Jan 2011 19:22:12 +0000 (19:22 +0000)]
Property fixup

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

13 years agoSome refactoring
Simon Pepping [Sat, 8 Jan 2011 15:10:11 +0000 (15:10 +0000)]
Some refactoring

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

13 years agoBugzilla 50471: Avoid ArrayIndexOutOfBoundsException for codepoints without a linebre...
Andreas L. Delmelle [Fri, 7 Jan 2011 21:22:40 +0000 (21:22 +0000)]
Bugzilla 50471: Avoid ArrayIndexOutOfBoundsException for codepoints without a linebreak class

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

13 years agoBugzilla 48380: Avoid ClassCastException when using fox:widow-content-limit
Andreas L. Delmelle [Fri, 7 Jan 2011 21:14:33 +0000 (21:14 +0000)]
Bugzilla 48380: Avoid ClassCastException when using fox:widow-content-limit

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

13 years agoAdd type-safe parameters to collections; replace XGC jar to benefit from new type...
Simon Pepping [Tue, 4 Jan 2011 13:36:10 +0000 (13:36 +0000)]
Add type-safe parameters to collections; replace XGC jar to benefit from new type-safe methods

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

13 years agoAvoid unwrapping and rewrapping of Positions; use inspection instead. Remove unused...
Simon Pepping [Fri, 24 Dec 2010 19:28:11 +0000 (19:28 +0000)]
Avoid unwrapping and rewrapping of Positions; use inspection instead. Remove unused method removeWordSpace

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

13 years agoKeep a reference to a pageRef string, not to the page itself; suggested by Alexis...
Simon Pepping [Thu, 23 Dec 2010 10:28:11 +0000 (10:28 +0000)]
Keep a reference to a pageRef string, not to the page itself; suggested by Alexis Giotis

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

13 years agoFix bug 50510
Simon Pepping [Wed, 22 Dec 2010 12:39:35 +0000 (12:39 +0000)]
Fix bug 50510

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

13 years agoAuxiliary positions do not have an index value; fixing this in InlineStackingLM.apply...
Simon Pepping [Fri, 17 Dec 2010 10:57:18 +0000 (10:57 +0000)]
Auxiliary positions do not have an index value; fixing this in InlineStackingLM.applyChanges, rewrapping positions; fixed bug 49870

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

13 years agoBugzilla #49060: File Descriptor leak in AFP renderer
Vincent Hennebert [Thu, 16 Dec 2010 19:17:21 +0000 (19:17 +0000)]
Bugzilla #49060: File Descriptor leak in AFP renderer
Patch by Peter Hancock, applied with minor style modifications

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

13 years agoBugzilla #50089: Content after forced break in block-container is not rendered
Vincent Hennebert [Tue, 14 Dec 2010 19:39:28 +0000 (19:39 +0000)]
Bugzilla #50089: Content after forced break in block-container is not rendered

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

13 years agoAvoid an NPE in InlineStackingLM.applyChanges for Knuth elements with a null position...
Simon Pepping [Thu, 9 Dec 2010 09:00:24 +0000 (09:00 +0000)]
Avoid an NPE in InlineStackingLM.applyChanges for Knuth elements with a null position; resolves bug 50276

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

13 years agoBugzilla #42034:
Jeremias Maerki [Tue, 7 Dec 2010 08:34:39 +0000 (08:34 +0000)]
Bugzilla #42034:
Fixed adjustment of inline parent area for justified text containing a forward page reference.

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

13 years agoAdd a cast from char to int before autoboxing
Simon Pepping [Sat, 4 Dec 2010 11:26:38 +0000 (11:26 +0000)]
Add a cast from char to int before autoboxing

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

13 years agoAllow for words consisting of only soft hyphens; fixes bug 49837
Simon Pepping [Sat, 4 Dec 2010 08:30:47 +0000 (08:30 +0000)]
Allow for words consisting of only soft hyphens; fixes bug 49837

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

13 years agoReplaced creation of new Integer with Java autoboxing feature
Vincent Hennebert [Wed, 1 Dec 2010 12:20:39 +0000 (12:20 +0000)]
Replaced creation of new Integer with Java autoboxing feature

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

13 years agoSecond part of patch 50245 by Mehdi Houshmand
Simon Pepping [Fri, 26 Nov 2010 18:37:40 +0000 (18:37 +0000)]
Second part of patch 50245 by Mehdi Houshmand

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

13 years agoPartial application of patch 50245 by Mehdi Houshmand
Simon Pepping [Fri, 26 Nov 2010 13:40:27 +0000 (13:40 +0000)]
Partial application of patch 50245 by Mehdi Houshmand

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

14 years agoBugzilla 38264: hyphenation in combination with preserved linefeeds and/or white...
Andreas L. Delmelle [Thu, 25 Nov 2010 21:27:44 +0000 (21:27 +0000)]
Bugzilla 38264: hyphenation in combination with preserved linefeeds and/or white-space
no longer causes duplication of content and missing hyphens

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

14 years agoMinor fixups, cleanups; removal of some dead code and a misleading TODO
Andreas L. Delmelle [Thu, 25 Nov 2010 21:14:58 +0000 (21:14 +0000)]
Minor fixups, cleanups; removal of some dead code and a misleading TODO

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

14 years agoAnother go at removing all trailing whitespace
Vincent Hennebert [Thu, 25 Nov 2010 21:04:09 +0000 (21:04 +0000)]
Another go at removing all trailing whitespace

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

14 years agoSet svn:keywords and svn:eol-style properties
Vincent Hennebert [Thu, 25 Nov 2010 20:59:35 +0000 (20:59 +0000)]
Set svn:keywords and svn:eol-style properties

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

14 years agoBugzilla #49695: Replaced magic numbers with constants from UnitConv and GraphicsCons...
Vincent Hennebert [Tue, 23 Nov 2010 19:23:59 +0000 (19:23 +0000)]
Bugzilla #49695: Replaced magic numbers with constants from UnitConv and GraphicsConstants
Patch submitted by Joshua Marquart (joshua dot marquart _at. firstdata .dot_ com), applied with some modifications

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

14 years agoExclude all existing findbugs warnings
Simon Pepping [Fri, 19 Nov 2010 14:55:18 +0000 (14:55 +0000)]
Exclude all existing findbugs warnings

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

14 years agoReverting renaming of public methods of rev. 1036179
Simon Pepping [Fri, 19 Nov 2010 11:25:15 +0000 (11:25 +0000)]
Reverting renaming of public methods of rev. 1036179

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

14 years agoForgot to rename in one client
Simon Pepping [Thu, 18 Nov 2010 14:32:35 +0000 (14:32 +0000)]
Forgot to rename in one client

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

14 years agoRetroweaver is no longer necessary
Vincent Hennebert [Thu, 18 Nov 2010 14:28:48 +0000 (14:28 +0000)]
Retroweaver is no longer necessary

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

14 years agofindbugs-reported bug squashing; 959 bugs left (findbugs 1.3.9)
Simon Pepping [Wed, 17 Nov 2010 19:45:27 +0000 (19:45 +0000)]
findbugs-reported bug squashing; 959 bugs left (findbugs 1.3.9)

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

14 years agoUpdate XGC library to pull in the fix for headless junit tests, bug 50253
Simon Pepping [Wed, 17 Nov 2010 12:39:54 +0000 (12:39 +0000)]
Update XGC library to pull in the fix for headless junit tests, bug 50253

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

14 years agoRemoved outdated fop.bat script
Vincent Hennebert [Tue, 16 Nov 2010 12:26:26 +0000 (12:26 +0000)]
Removed outdated fop.bat script

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

14 years agoRe-ordered class members
Vincent Hennebert [Tue, 16 Nov 2010 12:25:06 +0000 (12:25 +0000)]
Re-ordered class members

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

14 years agoMade the result of toString more readable
Vincent Hennebert [Tue, 16 Nov 2010 12:20:06 +0000 (12:20 +0000)]
Made the result of toString more readable

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

14 years agoDo not re-create an AlignmentContext instance if one already exists.
Vincent Hennebert [Tue, 16 Nov 2010 12:18:15 +0000 (12:18 +0000)]
Do not re-create an AlignmentContext instance if one already exists.
Fixes a bug when the changing IPD hack is triggered and the getNextKnuthElements method is called a second time

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

14 years agoAdded missing license header.
Jeremias Maerki [Mon, 15 Nov 2010 13:52:58 +0000 (13:52 +0000)]
Added missing license header.

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

14 years agoRemoved tab characters.
Jeremias Maerki [Mon, 15 Nov 2010 13:51:20 +0000 (13:51 +0000)]
Removed tab characters.

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

14 years agoApplied patch 50240 by Mehdi Houshmand with changes: Java source and
Simon Pepping [Thu, 11 Nov 2010 09:48:24 +0000 (09:48 +0000)]
Applied patch 50240 by Mehdi Houshmand with changes: Java source and
target changed to 1.5. EncodingMode changed from class -> enum.

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

14 years agoAdded entry about bug 45971
Vincent Hennebert [Mon, 8 Nov 2010 11:42:01 +0000 (11:42 +0000)]
Added entry about bug 45971

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

14 years agoSmall improvement for XMP generation.
Jeremias Maerki [Wed, 27 Oct 2010 16:03:30 +0000 (16:03 +0000)]
Small improvement for XMP generation.

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

14 years agoAdded two more character to be escaped in a PDF name (now in sync with PDFBox).
Jeremias Maerki [Tue, 26 Oct 2010 12:48:55 +0000 (12:48 +0000)]
Added two more character to be escaped in a PDF name (now in sync with PDFBox).

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

14 years agoBugzilla #42600:
Jeremias Maerki [Thu, 21 Oct 2010 19:32:06 +0000 (19:32 +0000)]
Bugzilla #42600:
Wrong constant used.

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

14 years agoBugzilla #42600:
Jeremias Maerki [Thu, 21 Oct 2010 19:24:29 +0000 (19:24 +0000)]
Bugzilla #42600:
Added some support for break-before/-after for RTF output.
Submitted by: Maximilian Aster <maximilian.aster.at.boc-eu.com>

Changes to patch:
- Code style fixes
- Removed dependency from rtflib to FO Constants.
- Tried to implement even/odd/column breaks

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

14 years agoCopy attributes since some XML parsers might reuse the Attributes instance.
Jeremias Maerki [Thu, 21 Oct 2010 14:12:07 +0000 (14:12 +0000)]
Copy attributes since some XML parsers might reuse the Attributes instance.

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

14 years agoAllow to pass through document-level extensions from the first document passed to...
Jeremias Maerki [Thu, 21 Oct 2010 14:01:59 +0000 (14:01 +0000)]
Allow to pass through document-level extensions from the first document passed to the IFConcatenator.

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

14 years agoWrap the whole page stream in a q..Q pair to avoid problems when the page streams...
Jeremias Maerki [Thu, 21 Oct 2010 06:44:32 +0000 (06:44 +0000)]
Wrap the whole page stream in a q..Q pair to avoid problems when the page streams are combined later with additional content.

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

14 years agoBugfix for unescaped name characters which can cause trouble with PDF parsers.
Jeremias Maerki [Mon, 11 Oct 2010 12:41:37 +0000 (12:41 +0000)]
Bugfix for unescaped name characters which can cause trouble with PDF parsers.

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

14 years agoBugzilla #49379:
Jeremias Maerki [Thu, 7 Oct 2010 07:41:48 +0000 (07:41 +0000)]
Bugzilla #49379:
Added ability to embed an external AFP page segment resource file (AFP output only).
Submitted by: Peter Hancock <peter.hancock.at.gmail.com>

Changes to patch:
- Replaced AFP parsing code with a more universal MO:DCA parser (as discussed).
- AFPDocumentHandler: addressed a TODO (clearing of the page segment map was not necessary for each page)
- AFPDocumentHandler: merged pageSegmentMap and pageSegmentUriMap by creating a combined object: PageSegmentDescriptor

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

14 years agoHandled optional CR and LF chars between structured fields.
Jeremias Maerki [Wed, 6 Oct 2010 11:47:37 +0000 (11:47 +0000)]
Handled optional CR and LF chars between structured fields.
Extended the field class so it can write itself back to an OutputStream.

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