]> source.dussan.org Git - xmlgraphics-fop.git/log
xmlgraphics-fop.git
13 years agoFix deprecation. Temp_Color Temp_Color
Jeremias Maerki [Thu, 10 Feb 2011 15:22:00 +0000 (15:22 +0000)]
Fix deprecation.

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

13 years agoStatus update
Jeremias Maerki [Thu, 10 Feb 2011 14:19:33 +0000 (14:19 +0000)]
Status update

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

13 years agoMerge from Trunk, revisions 1060235 to 1069383.
Jeremias Maerki [Thu, 10 Feb 2011 14:09:42 +0000 (14:09 +0000)]
Merge from Trunk, revisions 1060235 to 1069383.

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

13 years agoSimplification as suggested by Simon.
Jeremias Maerki [Thu, 10 Feb 2011 13:02:10 +0000 (13:02 +0000)]
Simplification as suggested by Simon.

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

13 years agoFix IF test for color_1.xml.
Jeremias Maerki [Thu, 10 Feb 2011 12:43:14 +0000 (12:43 +0000)]
Fix IF test for color_1.xml.
The round-trip for the rgb() was not working with ColorUtil.isSameColor() as that checks deeper than just Color.equals().

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

13 years agoAdjust range of valid results for OpenJDK 6
Jeremias Maerki [Thu, 10 Feb 2011 09:31:39 +0000 (09:31 +0000)]
Adjust range of valid results for OpenJDK 6

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

13 years agoFurther attempts at improving code readability, reduce some more duplication, and...
Andreas L. Delmelle [Wed, 9 Feb 2011 22:45:16 +0000 (22:45 +0000)]
Further attempts at improving code readability, reduce some more duplication, and move logic to where it is appropriate

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

13 years agoFurther reduction of code duplication in/between getNextKnuthElements()
Andreas L. Delmelle [Tue, 8 Feb 2011 23:06:18 +0000 (23:06 +0000)]
Further reduction of code duplication in/between getNextKnuthElements()

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

13 years agoElimination of code duplication in getNextKnuthElements()
Andreas L. Delmelle [Tue, 8 Feb 2011 18:32:15 +0000 (18:32 +0000)]
Elimination of code duplication in getNextKnuthElements()

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

13 years agoUse BitmapImageUtil for converting images to bi-level images.
Jeremias Maerki [Mon, 7 Feb 2011 08:39:46 +0000 (08:39 +0000)]
Use BitmapImageUtil for converting images to bi-level images.
Allow to indirectly configure the dithering quality to be applied when converting images to bi-level images.

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

13 years agoBugfix: toBufferedImage() didn't actually transfer the image data at all.
Jeremias Maerki [Mon, 7 Feb 2011 08:36:51 +0000 (08:36 +0000)]
Bugfix: toBufferedImage() didn't actually transfer the image data at all.

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

13 years agoBugfix: Avoid directly encoding if the sample model is not exactly right. For example...
Jeremias Maerki [Mon, 7 Feb 2011 08:28:41 +0000 (08:28 +0000)]
Bugfix: Avoid directly encoding if the sample model is not exactly right. For example, monochrome image generated by JAI (error-diffusion rasterization) use a non-packed sample model which caused badly encoded images.

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

13 years agoReverted previous commit; looks like it does require all related property classes...
Andreas L. Delmelle [Sun, 6 Feb 2011 22:02:13 +0000 (22:02 +0000)]
Reverted previous commit; looks like it does require all related property classes to be committed... Better luck next week

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

13 years agoBugzilla 50703: Parametrize PropertyCache, switch to parameterless public constructor...
Andreas L. Delmelle [Sun, 6 Feb 2011 21:52:46 +0000 (21:52 +0000)]
Bugzilla 50703: Parametrize PropertyCache, switch to parameterless public constructor (+ corresponding update in MarkerAttribute)

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

13 years agoMake URI extraction consistent with fo:external-graphic's src + remove unnecessary...
Andreas L. Delmelle [Sun, 6 Feb 2011 21:22:44 +0000 (21:22 +0000)]
Make URI extraction consistent with fo:external-graphic's src + remove unnecessary return

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

13 years agoCode fixups, type safety, etc.
Andreas L. Delmelle [Sun, 6 Feb 2011 21:13:50 +0000 (21:13 +0000)]
Code fixups, type safety, etc.

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

13 years agoMinor nits
Andreas L. Delmelle [Sun, 6 Feb 2011 20:50:56 +0000 (20:50 +0000)]
Minor nits

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

13 years agoMove CSOK suppresion comments; apparently @Override causes these to be ignored...
Andreas L. Delmelle [Sun, 6 Feb 2011 19:46:40 +0000 (19:46 +0000)]
Move CSOK suppresion comments; apparently @Override causes these to be ignored...

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

13 years agoFix checkstyle issue
Andreas L. Delmelle [Sun, 6 Feb 2011 19:16:44 +0000 (19:16 +0000)]
Fix checkstyle issue

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

13 years agoMore fixups: eliminate stray hungarians + added TODO for parameter removal
Andreas L. Delmelle [Sun, 6 Feb 2011 18:43:04 +0000 (18:43 +0000)]
More fixups: eliminate stray hungarians + added TODO for parameter removal

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

13 years agoRevert r1067644 (local 'clean' trunk got mixed up with fix for 49877)
Andreas L. Delmelle [Sun, 6 Feb 2011 18:25:21 +0000 (18:25 +0000)]
Revert r1067644 (local 'clean' trunk got mixed up with fix for 49877)

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

13 years agoEliminate unnecessary boxing (possible after r1062901)
Andreas L. Delmelle [Sun, 6 Feb 2011 17:59:55 +0000 (17:59 +0000)]
Eliminate unnecessary boxing (possible after r1062901)

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

13 years agoFix checkstyle issues
Andreas L. Delmelle [Sun, 6 Feb 2011 16:42:21 +0000 (16:42 +0000)]
Fix checkstyle issues

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

13 years agoFixups + necessary changes after r1067689
Andreas L. Delmelle [Sun, 6 Feb 2011 16:19:12 +0000 (16:19 +0000)]
Fixups + necessary changes after r1067689

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

13 years agoGot a bit ahead of myself, again...
Andreas L. Delmelle [Sun, 6 Feb 2011 16:14:51 +0000 (16:14 +0000)]
Got a bit ahead of myself, again...

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

13 years agoFixups, type safety...
Andreas L. Delmelle [Sun, 6 Feb 2011 16:08:39 +0000 (16:08 +0000)]
Fixups, type safety...

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

13 years agoCode fixups
Andreas L. Delmelle [Sun, 6 Feb 2011 15:55:05 +0000 (15:55 +0000)]
Code fixups

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

13 years agoRevert previous commit; wrong class...
Andreas L. Delmelle [Sun, 6 Feb 2011 15:51:31 +0000 (15:51 +0000)]
Revert previous commit; wrong class...

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

13 years agoCode fixups
Andreas L. Delmelle [Sun, 6 Feb 2011 15:33:17 +0000 (15:33 +0000)]
Code fixups

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

13 years agoMinor fixups
Andreas L. Delmelle [Sun, 6 Feb 2011 15:15:10 +0000 (15:15 +0000)]
Minor fixups

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

13 years agoCommit missing file from r1067670
Andreas L. Delmelle [Sun, 6 Feb 2011 14:19:42 +0000 (14:19 +0000)]
Commit missing file from r1067670

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

13 years agoDecommission BlockStackingLM.StackingIter
Andreas L. Delmelle [Sun, 6 Feb 2011 14:14:51 +0000 (14:14 +0000)]
Decommission BlockStackingLM.StackingIter

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

13 years agoMinor fixup: extract condition into local variable
Andreas L. Delmelle [Sun, 6 Feb 2011 14:05:44 +0000 (14:05 +0000)]
Minor fixup: extract condition into local variable

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

13 years agoCode cleanup:
Andreas L. Delmelle [Sun, 6 Feb 2011 13:40:31 +0000 (13:40 +0000)]
Code cleanup:
- reduce code duplication in getNextKnuthElements()
- removed references to experimental BlockStackingLM.bpUnit
- changed silly private method label
- various fixups

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

13 years agoCode cleanup: reduce some code duplication in getNextKnuthElements() variants (e.a.)
Andreas L. Delmelle [Sun, 6 Feb 2011 13:31:09 +0000 (13:31 +0000)]
Code cleanup: reduce some code duplication in getNextKnuthElements() variants (e.a.)

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

13 years agoPreceding cleanups 'fixed' behavior in test case
Andreas L. Delmelle [Sun, 6 Feb 2011 12:14:27 +0000 (12:14 +0000)]
Preceding cleanups 'fixed' behavior in test case

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

13 years agoCode cleanup (minor)
Andreas L. Delmelle [Sun, 6 Feb 2011 01:23:08 +0000 (01:23 +0000)]
Code cleanup (minor)

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

13 years agoFurther cleanup: reduce some code duplication in BlockStackingLM's getNextKnuthElemen...
Andreas L. Delmelle [Sun, 6 Feb 2011 01:17:57 +0000 (01:17 +0000)]
Further cleanup: reduce some code duplication in BlockStackingLM's getNextKnuthElements() variants

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

13 years agoRestored part that would otherwise cause a StackOverflowError...
Andreas L. Delmelle [Sun, 6 Feb 2011 01:15:39 +0000 (01:15 +0000)]
Restored part that would otherwise cause a StackOverflowError...

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

13 years agoCode cleanup
Andreas L. Delmelle [Sun, 6 Feb 2011 01:00:28 +0000 (01:00 +0000)]
Code cleanup

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

13 years agoAdd type safety to LMiter
Andreas L. Delmelle [Sun, 6 Feb 2011 00:56:28 +0000 (00:56 +0000)]
Add type safety to LMiter

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

13 years agoCode cleanup
Andreas L. Delmelle [Sat, 5 Feb 2011 21:49:58 +0000 (21:49 +0000)]
Code cleanup

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

13 years agoDecommission InlineStackingLM.StackingIter (+ minor fixups)
Andreas L. Delmelle [Sat, 5 Feb 2011 01:25:37 +0000 (01:25 +0000)]
Decommission InlineStackingLM.StackingIter (+ minor fixups)

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

13 years agoDecommission private PositionIterator subclasses in list package (+ minor fixups)
Andreas L. Delmelle [Sat, 5 Feb 2011 00:59:17 +0000 (00:59 +0000)]
Decommission private PositionIterator subclasses in list package (+ minor fixups)

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

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 agoCode cleanup.
Jeremias Maerki [Wed, 19 Jan 2011 10:04:12 +0000 (10:04 +0000)]
Code cleanup.
Not every color has to be a ColorWithAlternatives any longer now that we have the isSameColor() function.

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

13 years agoBugfix: don't use toString() but properly generate the color function.
Jeremias Maerki [Wed, 19 Jan 2011 09:08:18 +0000 (09:08 +0000)]
Bugfix: don't use toString() but properly generate the color function.

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

13 years agoCorrect link to replacement.
Jeremias Maerki [Tue, 18 Jan 2011 16:59:18 +0000 (16:59 +0000)]
Correct link to replacement.

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

13 years agoMake sure sub bridge contexts also have our bridges.
Jeremias Maerki [Tue, 18 Jan 2011 16:47:46 +0000 (16:47 +0000)]
Make sure sub bridge contexts also have our bridges.

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

13 years agoRemoved FopFactory.getColorSpace() in favor of FopFactory.getColorSpaceCache() to...
Jeremias Maerki [Tue, 18 Jan 2011 16:40:13 +0000 (16:40 +0000)]
Removed FopFactory.getColorSpace() in favor of FopFactory.getColorSpaceCache() to better follow the pattern we use for the FontManager and ImageManager.
Increased accuracy for sRGB derivation.
Fixed some tests.
Fixed bug in ColorUtil.toSRGBColor().
Documented inconsistency inside java.awt.Color in ColorUtilTest.

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

13 years agoRemove commented line
Jeremias Maerki [Tue, 18 Jan 2011 09:58:35 +0000 (09:58 +0000)]
Remove commented line

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

13 years agoResults of color conversions differ between Java 5 and 6.
Jeremias Maerki [Tue, 18 Jan 2011 09:55:21 +0000 (09:55 +0000)]
Results of color conversions differ between Java 5 and 6.

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

13 years agoMerge from Trunk, revisions 965390 to 1060234.
Jeremias Maerki [Tue, 18 Jan 2011 08:54:08 +0000 (08:54 +0000)]
Merge from Trunk, revisions 965390 to 1060234.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Color@1060241 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