]> source.dussan.org Git - xmlgraphics-fop.git/log
xmlgraphics-fop.git
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

14 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

14 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

14 years agoMore cleanup of unused methods in Hyphenator
Simon Pepping [Wed, 6 Oct 2010 07:37:52 +0000 (07:37 +0000)]
More cleanup of unused methods in Hyphenator

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

14 years agoMaking fallback from (lang,country) to (lang) consistent
Simon Pepping [Wed, 6 Oct 2010 07:07:38 +0000 (07:07 +0000)]
Making fallback from (lang,country) to (lang) consistent

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

14 years agoFixing a few checkstyle warnings
Simon Pepping [Sat, 2 Oct 2010 18:30:00 +0000 (18:30 +0000)]
Fixing a few checkstyle warnings

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

14 years agoRemove unused methods from Hyphenator; this leaves a utility class
Simon Pepping [Sat, 2 Oct 2010 17:48:07 +0000 (17:48 +0000)]
Remove unused methods from Hyphenator; this leaves a utility class

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

14 years agoMake handling of configuration errors consistent
Simon Pepping [Sat, 2 Oct 2010 11:38:37 +0000 (11:38 +0000)]
Make handling of configuration errors consistent

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

14 years agoEnable configuration of hyphenation pattern file names
Simon Pepping [Sat, 2 Oct 2010 11:09:13 +0000 (11:09 +0000)]
Enable configuration of hyphenation pattern file names

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

14 years agoMetrics need to be added before the font properties to avoid NPEs on font replacement.
Jeremias Maerki [Thu, 30 Sep 2010 09:51:02 +0000 (09:51 +0000)]
Metrics need to be added before the font properties to avoid NPEs on font replacement.

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

14 years agoRemoved custom asf.todo tag
Vincent Hennebert [Wed, 29 Sep 2010 17:48:22 +0000 (17:48 +0000)]
Removed custom asf.todo tag

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

14 years agoAdded support for font substitutions on PDF/PSTranscoder by configuring the FontManager.
Jeremias Maerki [Wed, 29 Sep 2010 10:01:21 +0000 (10:01 +0000)]
Added support for font substitutions on PDF/PSTranscoder by configuring the FontManager.
Restored configuration support for the (E)PSTranscoder.

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

14 years agoSome fine-tuning for the font selection in SVG to better match AWT/GVT fonts to FOP...
Jeremias Maerki [Tue, 21 Sep 2010 16:32:08 +0000 (16:32 +0000)]
Some fine-tuning for the font selection in SVG to better match AWT/GVT fonts to FOP's fonts.

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

14 years agoAdd the availability of nightly snapshots
Simon Pepping [Tue, 21 Sep 2010 11:34:21 +0000 (11:34 +0000)]
Add the availability of nightly snapshots

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

14 years agoUpdate the location of the maven XML schema
Simon Pepping [Tue, 21 Sep 2010 11:33:38 +0000 (11:33 +0000)]
Update the location of the maven XML schema

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

14 years agoBugzilla #46360:
Jeremias Maerki [Thu, 16 Sep 2010 06:29:08 +0000 (06:29 +0000)]
Bugzilla #46360:
Fixed a multi-threading issue when rendering SVG.

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

14 years agoBugzilla #46360:
Jeremias Maerki [Thu, 16 Sep 2010 06:26:12 +0000 (06:26 +0000)]
Bugzilla #46360:
Fixed a multi-threading issue when rendering SVG.
Submitted by: Alexis Giotis <alex.giotis.at.gmail.com>

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

14 years agoCreated target nightly-build
Simon Pepping [Mon, 13 Sep 2010 08:46:36 +0000 (08:46 +0000)]
Created target nightly-build

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

14 years agoMoving the AFP parser from XGC to FOP for now.
Jeremias Maerki [Fri, 10 Sep 2010 11:53:28 +0000 (11:53 +0000)]
Moving the AFP parser from XGC to FOP for now.

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

14 years agoFixed formatting of help message
Vincent Hennebert [Wed, 8 Sep 2010 18:31:09 +0000 (18:31 +0000)]
Fixed formatting of help message

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

14 years agoBugzilla #49885:
Jeremias Maerki [Tue, 7 Sep 2010 13:45:39 +0000 (13:45 +0000)]
Bugzilla #49885:
Fixed retrieval of available BPD for cases spanning columns and multiple pages with differing page masters.

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

14 years agoAdd parent block, update XGC version in pom template
Simon Pepping [Tue, 7 Sep 2010 12:28:31 +0000 (12:28 +0000)]
Add parent block, update XGC version in pom template

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

14 years agoFixed typos and source code indentation issues.
Vincent Hennebert [Fri, 3 Sep 2010 17:26:28 +0000 (17:26 +0000)]
Fixed typos and source code indentation issues.

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

14 years agoImplemented reset method for changing IPD
Vincent Hennebert [Thu, 2 Sep 2010 17:34:43 +0000 (17:34 +0000)]
Implemented reset method for changing IPD

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

14 years agoFixed indentation
Vincent Hennebert [Fri, 27 Aug 2010 14:02:34 +0000 (14:02 +0000)]
Fixed indentation

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

14 years agoRemoved unused methods
Vincent Hennebert [Fri, 27 Aug 2010 13:55:49 +0000 (13:55 +0000)]
Removed unused methods

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

14 years agoReplaced @asf.todo with normal TODO comment
Vincent Hennebert [Fri, 27 Aug 2010 13:31:41 +0000 (13:31 +0000)]
Replaced @asf.todo with normal TODO comment

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