]> source.dussan.org Git - xmlgraphics-fop.git/log
xmlgraphics-fop.git
12 years agoFor ImportOrder, "under" already is the default value for "option". Removed it.
Vincent Hennebert [Fri, 23 Mar 2012 10:18:10 +0000 (10:18 +0000)]
For ImportOrder, "under" already is the default value for "option". Removed it.

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

12 years agoMade class non-final to allow mocking
Vincent Hennebert [Thu, 22 Mar 2012 19:50:19 +0000 (19:50 +0000)]
Made class non-final to allow mocking

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

12 years agoBugzilla #46962: Fixed deadlock in PropertyCache.
Vincent Hennebert [Thu, 22 Mar 2012 17:04:12 +0000 (17:04 +0000)]
Bugzilla #46962: Fixed deadlock in PropertyCache.

Re-wrote the PropertyCache class, leveraging Java 1.5 concurrency features.
Implemented equals and hashCode on many Property sub-classes to make the caching more effective

Patch by Alexios Giotis, applied with the following minor modifications:
* Javadoc improvements to PropertyCache
* Factorize into new CompareUtil class code often used by equals and hashCode implementations

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

12 years agoBugzilla #51385: Added configuration option to set the version of the output PDF...
Vincent Hennebert [Mon, 19 Mar 2012 15:56:19 +0000 (15:56 +0000)]
Bugzilla #51385: Added configuration option to set the version of the output PDF document.

Patch by Mehdi Houshmand, applied with minor modifications

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

12 years agoBugzila#52849: SVG font being painted as shapes when font present in the system
Mehdi Houshmand [Fri, 16 Mar 2012 11:44:09 +0000 (11:44 +0000)]
Bugzila#52849: SVG font being painted as shapes when font present in the system

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

12 years agoAdding Trademark logo to 'Apache'; also adding JPG, GIF, PNG and SVG versions of...
Clay Leeds [Sat, 10 Mar 2012 06:56:23 +0000 (06:56 +0000)]
Adding Trademark logo to 'Apache'; also adding JPG, GIF, PNG and SVG versions of Group Logo.

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

12 years agoprevent assert due to skipped out of order or duplicate glyph indices
Glenn Adams [Fri, 9 Mar 2012 16:50:06 +0000 (16:50 +0000)]
prevent assert due to skipped out of order or duplicate glyph indices

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

12 years agoApache Brand compliance;
Chris Bowditch [Fri, 9 Mar 2012 07:55:31 +0000 (07:55 +0000)]
Apache Brand compliance;
Add links to security and Apache websites
Make sure at least the titles all refer to FOP with Apacheā„¢ prefix

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

12 years agoFixed package declaration
Vincent Hennebert [Thu, 8 Mar 2012 10:10:01 +0000 (10:10 +0000)]
Fixed package declaration

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

12 years agoWe must respect projects' brand names. s/checkstyle/Checkstyle/
Vincent Hennebert [Thu, 8 Mar 2012 09:49:38 +0000 (09:49 +0000)]
We must respect projects' brand names. s/checkstyle/Checkstyle/

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

12 years agoAdded new line at end of files and enabled corresponding rule in checkstyle-5.5
Vincent Hennebert [Tue, 6 Mar 2012 10:17:54 +0000 (10:17 +0000)]
Added new line at end of files and enabled corresponding rule in checkstyle-5.5

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

12 years agoupdate convention documentation regarding @author usage
Glenn Adams [Tue, 6 Mar 2012 00:07:13 +0000 (00:07 +0000)]
update convention documentation regarding @author usage

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

12 years agoadd RegexpSingleline rule to flag use of @author; fix violations
Glenn Adams [Mon, 5 Mar 2012 23:29:29 +0000 (23:29 +0000)]
add RegexpSingleline rule to flag use of @author; fix violations

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

12 years agodisable line breaks after DOT with NoWhiteSpaceAfter; fix violations
Glenn Adams [Mon, 5 Mar 2012 21:13:28 +0000 (21:13 +0000)]
disable line breaks after DOT with NoWhiteSpaceAfter; fix violations

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

12 years agoMake sure TM logo and Apache used in main FOP references. ApacheCon 2011 is over
Chris Bowditch [Mon, 5 Mar 2012 17:30:25 +0000 (17:30 +0000)]
Make sure TM logo and Apache used in main FOP references. ApacheCon 2011 is over

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

12 years agoRemoved trailing whitespace and enabled corresponding RegexpSingleline Checkstyle...
Vincent Hennebert [Mon, 5 Mar 2012 11:19:47 +0000 (11:19 +0000)]
Removed trailing whitespace and enabled corresponding RegexpSingleline Checkstyle rule

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

12 years agoensure checkstyle-5.1 remains error free after recent changes for checkstyle-5.5...
Glenn Adams [Sat, 3 Mar 2012 09:46:03 +0000 (09:46 +0000)]
ensure checkstyle-5.1 remains error free after recent changes for checkstyle-5.5 rules

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

12 years agochange allowLineBreaks to false on NoWhitespaceAfter for BNOT, DEC, INC, LNOT, UNARY_...
Glenn Adams [Sat, 3 Mar 2012 00:43:50 +0000 (00:43 +0000)]
change allowLineBreaks to false on NoWhitespaceAfter for BNOT, DEC, INC, LNOT, UNARY_MINUS, UNARY_PLUS, but allow for ARRAY_INIT and DOT

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

12 years agoenable ImportOrder rule; fix violations
Glenn Adams [Sat, 3 Mar 2012 00:18:45 +0000 (00:18 +0000)]
enable ImportOrder rule; fix violations

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

12 years agoenable UnusedImports rule; fix violations
Glenn Adams [Fri, 2 Mar 2012 22:19:46 +0000 (22:19 +0000)]
enable UnusedImports rule; fix violations

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

12 years agoenable MultipleVariableDeclarations rule; fix violations
Glenn Adams [Fri, 2 Mar 2012 21:34:30 +0000 (21:34 +0000)]
enable MultipleVariableDeclarations rule; fix violations

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

12 years agoenable OneStatementPerLine rule; fix violations
Glenn Adams [Fri, 2 Mar 2012 20:40:08 +0000 (20:40 +0000)]
enable OneStatementPerLine rule; fix violations

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

12 years agoenable RedundantImport rule; fix violations
Glenn Adams [Fri, 2 Mar 2012 20:24:40 +0000 (20:24 +0000)]
enable RedundantImport rule; fix violations

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

12 years agoenable DefaultComesLast rule; fix violations
Glenn Adams [Fri, 2 Mar 2012 20:10:46 +0000 (20:10 +0000)]
enable DefaultComesLast rule; fix violations

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

12 years agodefault all RightCurly tokens, thus adding LITERAL_IF; fix violations
Glenn Adams [Fri, 2 Mar 2012 19:56:33 +0000 (19:56 +0000)]
default all RightCurly tokens, thus adding LITERAL_IF; fix violations

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

12 years agodefault all RedunduntModifier tokens, thus adding INTERFACE_DEF; fix violations
Glenn Adams [Fri, 2 Mar 2012 19:36:45 +0000 (19:36 +0000)]
default all RedunduntModifier tokens, thus adding INTERFACE_DEF; fix violations

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

12 years agoenable GenericWhitespace rule; fix violations
Glenn Adams [Fri, 2 Mar 2012 19:29:52 +0000 (19:29 +0000)]
enable GenericWhitespace rule; fix violations

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

12 years agochange allowLineBreaks to false (default value) on NoWhitespaceBefore; fix violations
Glenn Adams [Fri, 2 Mar 2012 19:25:52 +0000 (19:25 +0000)]
change allowLineBreaks to false (default value) on NoWhitespaceBefore; fix violations

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

12 years agofix breakage caused by CS patch
Glenn Adams [Fri, 2 Mar 2012 19:02:16 +0000 (19:02 +0000)]
fix breakage caused by CS patch

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

12 years agoRemoved duplicate line
Vincent Hennebert [Fri, 2 Mar 2012 10:26:39 +0000 (10:26 +0000)]
Removed duplicate line

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

12 years agoFix of a bug introduced when merging ImproveAccessibility.
Peter Hancock [Fri, 2 Mar 2012 10:04:26 +0000 (10:04 +0000)]
Fix of a bug introduced when merging ImproveAccessibility.

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

12 years agoBugzilla#50391: Adding support for different flow-name of fo:region-body in FOP
Peter Hancock [Fri, 2 Mar 2012 09:50:50 +0000 (09:50 +0000)]
Bugzilla#50391: Adding support for different flow-name of fo:region-body in FOP

Unit tests and a bugfix related to a repeatable sub-sequence specifier combo

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

12 years agoadd checkstyle-5.5 support, update rules
Glenn Adams [Thu, 1 Mar 2012 23:52:44 +0000 (23:52 +0000)]
add checkstyle-5.5 support, update rules

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

12 years agofix @Override usage to be compatible with Java 1.5
Glenn Adams [Wed, 29 Feb 2012 22:19:52 +0000 (22:19 +0000)]
fix @Override usage to be compatible with Java 1.5

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

12 years agoadd build-local.targets.xml to ignores
Glenn Adams [Wed, 29 Feb 2012 20:08:29 +0000 (20:08 +0000)]
add build-local.targets.xml to ignores

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

12 years agoupdate status to reflect recent CS commits; alphabetize developers list
Glenn Adams [Mon, 27 Feb 2012 17:47:42 +0000 (17:47 +0000)]
update status to reflect recent CS commits; alphabetize developers list

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

12 years agoupdate team info
Glenn Adams [Mon, 27 Feb 2012 02:09:47 +0000 (02:09 +0000)]
update team info

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

12 years agoupdate IF schema to reflect new @{dx,dp} usage on text element
Glenn Adams [Sun, 26 Feb 2012 23:22:16 +0000 (23:22 +0000)]
update IF schema to reflect new @{dx,dp} usage on text element

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

12 years agoapply complex scripts patch
Glenn Adams [Sun, 26 Feb 2012 02:29:01 +0000 (02:29 +0000)]
apply complex scripts patch

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

12 years agoBugzilla 52657: instream foreign object (svg) coloration incorrect
Chris Bowditch [Mon, 20 Feb 2012 14:50:08 +0000 (14:50 +0000)]
Bugzilla 52657: instream foreign object (svg) coloration incorrect
Submitted by Glenn Adams

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

12 years agoBugzilla #52655: Fixed rendering of special glyphs when using single-byte encoding...
Vincent Hennebert [Wed, 15 Feb 2012 19:17:55 +0000 (19:17 +0000)]
Bugzilla #52655: Fixed rendering of special glyphs when using single-byte encoding mode
Patch by Luis Bernardo

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

12 years agoEnabled assertions in junit tasks (analagous to JVM arg -ea)
Mehdi Houshmand [Tue, 14 Feb 2012 14:48:00 +0000 (14:48 +0000)]
Enabled assertions in junit tasks (analagous to JVM arg -ea)

- Disabled a layout test that fails an assertion
- Added an expression to a mocked class to pass assertion

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

12 years agoCorrected error in Junit4 migration
Mehdi Houshmand [Mon, 13 Feb 2012 15:00:41 +0000 (15:00 +0000)]
Corrected error in Junit4 migration

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

12 years agoMerged in Temp_ImproveAccessibility
Peter Hancock [Fri, 10 Feb 2012 16:51:08 +0000 (16:51 +0000)]
Merged in Temp_ImproveAccessibility

revs 118723411882051205935123671812383131240963

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

12 years agoBugzilla#52536: Added documentation about FOPs API and updated related documentation
Mehdi Houshmand [Mon, 6 Feb 2012 15:29:12 +0000 (15:29 +0000)]
Bugzilla#52536: Added documentation about FOPs API and updated related documentation

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

12 years agoAddressed findbugs and checkstyle regressions Temp_ImproveAccessibility Temp_ImproveAccessibility
Peter Hancock [Mon, 6 Feb 2012 10:18:09 +0000 (10:18 +0000)]
Addressed findbugs and checkstyle regressions

Findbugs report generated with version 1.3.9.
Checkstyle report generated with version 5.5.

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

12 years agomaster is not supposed to still be null when canProcess is called
Vincent Hennebert [Tue, 31 Jan 2012 14:56:55 +0000 (14:56 +0000)]
master is not supposed to still be null when canProcess is called

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

12 years agoCleanup associated with rev 1236718
Peter Hancock [Tue, 31 Jan 2012 09:27:01 +0000 (09:27 +0000)]
Cleanup associated with rev 1236718

Removed unused structure tree events.

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

12 years agoAmended checkstyle errors and return carriages
Mehdi Houshmand [Mon, 30 Jan 2012 11:46:13 +0000 (11:46 +0000)]
Amended checkstyle errors and return carriages

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

12 years agoBugzilla#52513: Moved FOUserAgent to the constructor of the Renderers
Mehdi Houshmand [Mon, 30 Jan 2012 09:49:22 +0000 (09:49 +0000)]
Bugzilla#52513: Moved FOUserAgent to the constructor of the Renderers

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

12 years agoAssociate structure tree elements directly to render content
Peter Hancock [Fri, 27 Jan 2012 15:36:05 +0000 (15:36 +0000)]
Associate structure tree elements directly to render content

* Defer the binding of PCData to struct elems using a placeholder mechanism.
* Translate text nodes to marked-content sequences in IF structure tree.
* Replace ptr with structure tree element.
* Re-order table footers so they appear at the end of the structure tree.

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

12 years agoAmended error message to describe licensing restriction flag in font
Mehdi Houshmand [Tue, 24 Jan 2012 17:02:03 +0000 (17:02 +0000)]
Amended error message to describe licensing restriction flag in font

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

12 years agoCorrected typo in error message
Mehdi Houshmand [Tue, 24 Jan 2012 10:02:36 +0000 (10:02 +0000)]
Corrected typo in error message

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

12 years agoReverted changes made in r1234877, see bugzilla#52513
Mehdi Houshmand [Tue, 24 Jan 2012 09:53:32 +0000 (09:53 +0000)]
Reverted changes made in r1234877, see bugzilla#52513

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

12 years agoMoved the FOUserAgent into the constructor of the Renderers
Mehdi Houshmand [Mon, 23 Jan 2012 16:15:23 +0000 (16:15 +0000)]
Moved the FOUserAgent into the constructor of the Renderers

This breaks the public API but for good reasons:
1) the user-agent is essential for configuring the renderers
2) instantiation of the constructor is always followed by call to "setUserAgent()" (in the examples)
3) simplifies the API and reduces mutability of the Renderers

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

12 years agoBugzilla#52499: non embeddable TTF fonts -- throw exception if trying to embed
Mehdi Houshmand [Mon, 23 Jan 2012 12:08:08 +0000 (12:08 +0000)]
Bugzilla#52499: non embeddable TTF fonts -- throw exception if trying to embed
Submitted by: Luis Bernardo

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

12 years agoAmended a non-ASCII character in a comment
Mehdi Houshmand [Mon, 23 Jan 2012 11:19:46 +0000 (11:19 +0000)]
Amended a non-ASCII character in a comment

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

12 years agoadded svn:eol-style=native property to recently added new files
Chris Bowditch [Fri, 20 Jan 2012 10:39:42 +0000 (10:39 +0000)]
added svn:eol-style=native property to recently added new files

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

12 years agouse of Ā£ was causing some cross platform issues since it's part of the ASCII extended...
Chris Bowditch [Thu, 19 Jan 2012 15:21:40 +0000 (15:21 +0000)]
use of Ā£ was causing some cross platform issues since it's part of the ASCII extended character set. Swapped it for a Unicode reference to resolve the problem.

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

12 years agoremove remaining duplicates with the help of xslt provided by Pascal Sancho
Chris Bowditch [Thu, 19 Jan 2012 15:00:41 +0000 (15:00 +0000)]
remove remaining duplicates with the help of xslt provided by Pascal Sancho

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

12 years agoBugzilla #52416:
Chris Bowditch [Thu, 19 Jan 2012 14:26:06 +0000 (14:26 +0000)]
Bugzilla #52416:
Suppress unnecessary "font not found warnings" when generating AFP with raster fonts
Submitted by: Luis Bernardo

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

12 years agoremove some duplicate exclusions
Chris Bowditch [Wed, 18 Jan 2012 17:04:57 +0000 (17:04 +0000)]
remove some duplicate exclusions

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

12 years agoresolve findbug warnings
Chris Bowditch [Wed, 18 Jan 2012 14:32:43 +0000 (14:32 +0000)]
resolve findbug warnings

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

12 years agoBugzilla #51209:
Chris Bowditch [Wed, 18 Jan 2012 11:54:36 +0000 (11:54 +0000)]
Bugzilla #51209:
SVG text in AFP creates miscoded GOCA text
Submitted by: Luis Bernardo

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

12 years agoBugzilla #50391:
Chris Bowditch [Tue, 10 Jan 2012 16:14:05 +0000 (16:14 +0000)]
Bugzilla #50391:
Add support for different flow-name of fo:region-body in FOP
Submitted by: Peter Hancock

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

12 years agoBugzilla #51644:
Chris Bowditch [Fri, 6 Jan 2012 16:03:44 +0000 (16:03 +0000)]
Bugzilla #51644:
Tagged PDF performance improvement + tests
Submitted by: Mehdi Houshmand

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

12 years agoRemoved file that became empty in rev. 1198853
Vincent Hennebert [Tue, 20 Dec 2011 16:03:29 +0000 (16:03 +0000)]
Removed file that became empty in rev. 1198853

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

12 years agoRename fop.cmd to fop.bat and let fop.cmd call fop.bat
Simon Pepping [Tue, 6 Dec 2011 11:13:00 +0000 (11:13 +0000)]
Rename fop.cmd to fop.bat and let fop.cmd call fop.bat

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

12 years agoBugzilla #52206: small performance improvements by declaring some class members as...
Vincent Hennebert [Mon, 5 Dec 2011 14:38:34 +0000 (14:38 +0000)]
Bugzilla #52206: small performance improvements by declaring some class members as static
Patch by Alexis Giotis, applied with minor modifications

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

13 years agoRemoved the DOM representation of the structure tree.
Vincent Hennebert [Thu, 24 Nov 2011 17:15:28 +0000 (17:15 +0000)]
Removed the DOM representation of the structure tree.

The structure tree is now directly converted into corresponding PDF objects.
When going the IF route, the structure tree is stored in the form of SAX events that will be re-played when it's time to stream them into the output. This may still change.

* Extracted RFC3066 methods from XMLUtil into new LanguageTags class that can be re-used in a non-XML context.
* Dropped support for accessibility in the old Area Tree XML.
* Added support for the xml:lang property on fo:root, so that the global language can be set for the document without retrieving the language from the first page-sequence.
* Renamed StructureTreeBuilder into more appropriate StructureTreeEventHandler (same for applicable sub-classes)
* Renamed StructureTreeBuildingFOEventHandler into FO2StructureTreeConverter and added test case
* Added test cases for classes in the StructureTreeEventHandler hierarchy

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

13 years agoAdded build/fop-hyph.jar to standard-junit-classpath so that hyphenation tests can...
Vincent Hennebert [Tue, 22 Nov 2011 15:51:00 +0000 (15:51 +0000)]
Added build/fop-hyph.jar to standard-junit-classpath so that hyphenation tests can run when the "source" en.xml and de.xml are stored in the hyph/ directory

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

13 years agoChanged the error handling for AFP fonts such that errors are passed to the AFPEventP...
Mehdi Houshmand [Mon, 21 Nov 2011 16:35:41 +0000 (16:35 +0000)]
Changed the error handling for AFP fonts such that errors are passed to the AFPEventProducer.

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

13 years agoBugzilla #52197: Improved support for AdobeStandardEncoding encoded AFM files for...
Mehdi Houshmand [Mon, 21 Nov 2011 13:33:00 +0000 (13:33 +0000)]
Bugzilla #52197: Improved support for AdobeStandardEncoding encoded AFM files for type1 fonts

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

13 years agoAdded mockito JAR for use in unit tests to mock classes
Mehdi Houshmand [Mon, 21 Nov 2011 11:44:25 +0000 (11:44 +0000)]
Added mockito JAR for use in unit tests to mock classes

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

13 years agoBugzilla #52151: added ant script to get JaCoCo code coverage
Vincent Hennebert [Fri, 18 Nov 2011 17:08:20 +0000 (17:08 +0000)]
Bugzilla #52151: added ant script to get JaCoCo code coverage

Patch by Mehdi Houshmand, applied with changes

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

13 years agoBugzilla #52177: Changed the AFP double-byte characterset builder to a singleton...
Mehdi Houshmand [Fri, 18 Nov 2011 16:23:43 +0000 (16:23 +0000)]
Bugzilla #52177: Changed the AFP double-byte characterset builder to a singleton, this now matches the behaviour of the single byte characterset builder

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

13 years agoBugzilla #51592: TTFFontLoader ignores the useKerning attribute used with fonts
Chris Bowditch [Thu, 17 Nov 2011 12:10:34 +0000 (12:10 +0000)]
Bugzilla #51592: TTFFontLoader ignores the useKerning attribute used with fonts
Patch submitted by Mehdi Houshmand (mehdi1985 at gmail.com)

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

13 years agoBugzilla 52136: Added to build file JUnit target that uses a regex to run all of...
Vincent Hennebert [Mon, 7 Nov 2011 18:18:29 +0000 (18:18 +0000)]
Bugzilla 52136: Added to build file JUnit target that uses a regex to run all of the test cases.
Patch by Mehdi Houshmand, applied with minor modifications

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

13 years agoBugzilla#52089: Allow JPEG images to be embedded in an AFP document as
Peter Hancock [Tue, 1 Nov 2011 12:20:21 +0000 (12:20 +0000)]
Bugzilla#52089: Allow JPEG images to be embedded in an AFP document as
is, without being decoded and encoded. It also allows lossy JPEG compression.

Patch by Jeremias Maerki and Mehdi Houshmand.

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

13 years agoRemoved the FO document pre-processing step that was adding ptr and creating a reduce...
Vincent Hennebert [Mon, 24 Oct 2011 16:29:56 +0000 (16:29 +0000)]
Removed the FO document pre-processing step that was adding ptr and creating a reduced FO tree.

* Removed addPtr.xsl and reduceFOTree.xsl
* Implemented Common Accessibility properties on objects that support them
* Added a special implementation of FOEventHandler to build the structure tree
* Added mockito library and its dependencies
* Added mocks for some FO nodes and properties
* Removed FOTreeUnitTester and converted it into a re-usable FODocumentParser class
* Re-worked table FO test cases accordingly

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

13 years agoAllow to switch to a different page size in mid-document.
Jeremias Maerki [Mon, 24 Oct 2011 12:44:11 +0000 (12:44 +0000)]
Allow to switch to a different page size in mid-document.

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

13 years agoCreated new branch for improvements of the Accessibility feature
Vincent Hennebert [Fri, 21 Oct 2011 09:16:14 +0000 (09:16 +0000)]
Created new branch for improvements of the Accessibility feature

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

13 years agoCache the schema for the XML namespace to a local directory. This avoids downloading...
Vincent Hennebert [Thu, 20 Oct 2011 15:38:54 +0000 (15:38 +0000)]
Cache the schema for the XML namespace to a local directory. This avoids downloading it from the W3C website every time the IF test cases are run.

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

13 years agoBugzilla#512010: Simplification of the build.
Peter Hancock [Wed, 19 Oct 2011 10:21:17 +0000 (10:21 +0000)]
Bugzilla#512010: Simplification of the build.
Reduced code duplication and layout engine tests.

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

13 years agoRestored PDFDocumentGraphics2D functionality.
Jeremias Maerki [Sat, 15 Oct 2011 10:32:15 +0000 (10:32 +0000)]
Restored PDFDocumentGraphics2D functionality.
Bugfix: NPE after PDFDocumentGraphics2D.create() due to missing font setup and other missing initializations.
Bugfix: Properly handle state in PDFGraphics2D.drawString().
Added an example class demonstrating the use of PDFDocumentGraphics2D.

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

13 years agoBugzilla#51962: Bugfix for when the last simple-page-master referenced in a page...
Peter Hancock [Tue, 11 Oct 2011 08:44:08 +0000 (08:44 +0000)]
Bugzilla#51962: Bugfix for when the last simple-page-master referenced in a page-sequence-master is not chosen when force-page-count=odd.

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

13 years agoBugzilla #51928: Upgraded all tests to JUnit 4
Vincent Hennebert [Tue, 4 Oct 2011 10:09:01 +0000 (10:09 +0000)]
Bugzilla #51928: Upgraded all tests to JUnit 4
Patch by Mehdi Houshmand, applied with minor cosmetics and error fixes

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

13 years agoFixed a findbugs warning introduced in rev#1177251
Peter Hancock [Mon, 3 Oct 2011 09:08:59 +0000 (09:08 +0000)]
Fixed a findbugs warning introduced in rev#1177251

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

13 years agoFix FO tree hierarchy: BasicLink shouldn't inherit from Inline
Peter Hancock [Thu, 29 Sep 2011 10:18:53 +0000 (10:18 +0000)]
Fix FO tree hierarchy: BasicLink shouldn't inherit from Inline

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

13 years agoVarious small fixes
Simon Pepping [Thu, 29 Sep 2011 08:58:12 +0000 (08:58 +0000)]
Various small fixes

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

13 years agoBugzilla#48696 version 4: Bugfix for color model in IOCA IDE structure parameter...
Peter Hancock [Mon, 26 Sep 2011 11:43:38 +0000 (11:43 +0000)]
Bugzilla#48696 version 4: Bugfix for color model in IOCA IDE structure parameter for 4- and 8-bit grayscale images.

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

13 years agoBugzilla#51760: PS images stored as an embedded file which has no length limit.
Peter Hancock [Mon, 26 Sep 2011 10:06:22 +0000 (10:06 +0000)]
Bugzilla#51760: PS images stored as an embedded file which has no length limit.

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

13 years agoPDFFactory responsible for asdigning name to a subset font.
Peter Hancock [Mon, 26 Sep 2011 09:48:20 +0000 (09:48 +0000)]
PDFFactory responsible for asdigning name to a subset font.

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

13 years agoProper fix for Bugzilla #51789: no non-ascii characters permitted
Vincent Hennebert [Mon, 12 Sep 2011 14:53:34 +0000 (14:53 +0000)]
Proper fix for Bugzilla #51789: no non-ascii characters permitted

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

13 years agoBugzilla #51790: source file contains non-ascii character
Vincent Hennebert [Mon, 12 Sep 2011 14:27:25 +0000 (14:27 +0000)]
Bugzilla #51790: source file contains non-ascii character
Removed @author tags

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

13 years agoBugzilla #51789: removed non-ascii characters in source files
Vincent Hennebert [Mon, 12 Sep 2011 14:19:03 +0000 (14:19 +0000)]
Bugzilla #51789: removed non-ascii characters in source files
Patch submitted by Christopher Yeleighton

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

13 years agoBugzill#51530: Improved support for EBCDIC encoded double byte fonts fo AFP.
Peter Hancock [Mon, 5 Sep 2011 09:42:00 +0000 (09:42 +0000)]
Bugzill#51530: Improved support for EBCDIC encoded double byte fonts fo AFP.
Submitted by: Mehdi Houshmand <med1985.at.gmail.com>

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

13 years agoBugzilla#51205: Corrected typographical errors in AFPBase12FontCollection.
Peter Hancock [Mon, 5 Sep 2011 07:55:05 +0000 (07:55 +0000)]
Bugzilla#51205: Corrected typographical errors in AFPBase12FontCollection.
Submitted by: Mehdi Houshmand <med1985.at.gmail.com>

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

13 years agoImproved fix for bugzilla#48062
Peter Hancock [Thu, 25 Aug 2011 15:48:26 +0000 (15:48 +0000)]
Improved fix for bugzilla#48062

Bug relates to PCL painter thread safetly. Previous fix in rev 895012 worked by synchronizing methods of a static instance of Java2DFontMetrics. This fix uses a unique instance for per thread.

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

13 years agoOnly some values of the format property are supported; change requested by Glenn...
Simon Pepping [Thu, 25 Aug 2011 07:11:00 +0000 (07:11 +0000)]
Only some values of the format property are supported; change requested by Glenn Adams

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