Vincent Hennebert
283a05db7d
Re-enabled Checkstyle in Gump, the issue should be sorted now
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1555946 13f79535-47bb-0310-9956-ffa450edef68
10 years ago
Vincent Hennebert
ca34fbb95f
Disable Checkstyle in Gump for now, to avoid being flooded by build failures over the next days
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1553322 13f79535-47bb-0310-9956-ffa450edef68
10 years ago
Vincent Hennebert
1e2982a3f2
Enabled plain formatter to get Checkstyle warnings from Gump builds
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1553214 13f79535-47bb-0310-9956-ffa450edef68
10 years ago
Vincent Hennebert
f4503bb6c4
Have Checkstyle fail the build if there are any warnings
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1551637 13f79535-47bb-0310-9956-ffa450edef68
10 years ago
Vincent Hennebert
9c45b11284
Have Gump run Checkstyle on the source code
Removed HTML output for easier integration with Gump
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1551634 13f79535-47bb-0310-9956-ffa450edef68
10 years ago
Vincent Hennebert
126e31e719
Cosmetics only: enabled Checkstyle for test files and fixed resulting errors
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1551536 13f79535-47bb-0310-9956-ffa450edef68
10 years ago
Luis Bernardo
7d3dba6c3c
FOP-2313: add support for svg gradients when generating PostScript; most code authored by Robert Meyer with a small contribution by Athanasios Giannimaras.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1541551 13f79535-47bb-0310-9956-ffa450edef68
10 years ago
Adrian Cumiskey
400a481147
Fix to the "pmd" build target
PMD reports were being generated correctly when invoked from the
"reports" target but when run standalone the build directory was not being
created prior task execution.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1536947 13f79535-47bb-0310-9956-ffa450edef68
10 years ago
Vincent Hennebert
f8e822efe1
Directly use FOP fonts to lay out SVG images for PDF, PS and AFP outputs.
The metrics are now taken from FOP configured fonts and no longer from AWT equivalents. That avoids discrepancies in case AWT and FOP use slightly different fonts, or if the font is not installed on the system. That actually also avoids having to install the font on the system.
FOP is also used for the primary layout of text (prior to SVG-specific transforms like translation or rotation) for consistency between SVG and XSL-FO.
This is a joint work from Peter Hancock and myself.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_FopFontsForSVG@1508208 13f79535-47bb-0310-9956-ffa450edef68
10 years ago
Luis Bernardo
c78d0c39e5
FOP-2265: Enable xlint cast; patch submitted by Simon Steiner; failed to commit changes to build.xml before.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1503396 13f79535-47bb-0310-9956-ffa450edef68
10 years ago
Clay Leeds
41c2656fef
Removing Forrest-based documentation files from build.xml.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1444575 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Clay Leeds
a9ba0e20ba
Removing Forrest-based documentation files.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1444573 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Glenn Adams
5c06a584d6
FOP-2197: missing GlyphTester class in transcoder archives
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1437102 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Glenn Adams
1a5394a6be
Merge from ^/branches/fop-1_1.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1400707 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Glenn Adams
56517e87d2
Merge from ^/branches/fop-1_1.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1364036 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Mehdi Houshmand
eccd73c523
Started unifying URI resolution mechanism, redesigned configuration system and created flexible config testing
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_URI_Unification@1344594 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Glenn Adams
c8c417405a
Improve consistency between junit-run and junit-all targets.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1328537 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Glenn Adams
eab33874f3
Bugzilla #53083: Update to use of checkstyle-5.5 as default configuration. Remove checkstyle-4.0 configuration. Also, import environment build properties before local properties, so that latter can refer to former.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1326154 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Vincent Hennebert
7c8f02c573
Bugzilla #50483: Improved support for TrueType fonts in PostScript
Refactored code and added unit tests
Patch by Mehdi Houshmand
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_TrueTypeInPostScript@1307574 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Vincent Hennebert
2874695d34
Removed reference to XML schema from IF schema.
Copied the definition of xml:space into the IF schema.
Removed the setup-xml-schema Ant ask.
xml.xsd is a file under the W3C Document License and we cannot (yet?) redistribute files under such a license.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1304524 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Vincent Hennebert
cb6243080e
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 ago
Glenn Adams
b9f4f5f763
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 ago
Glenn Adams
d6d8e57b17
apply complex scripts patch
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1293736 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Mehdi Houshmand
07b46e643a
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 ago
Peter Hancock
160d78ce1c
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 ago
Vincent Hennebert
89b7968a92
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
12 years ago
Mehdi Houshmand
96f6f23137
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
12 years ago
Vincent Hennebert
07f082ad3d
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
12 years ago
Vincent Hennebert
02303acdd9
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
12 years ago
Vincent Hennebert
b073a605e4
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
12 years ago
Vincent Hennebert
ae7c3b4bd8
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
12 years ago
Peter Hancock
9860d5a133
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
12 years ago
Vincent Hennebert
91c66d9742
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
12 years ago
Peter Hancock
937d2cbd25
Fixed a bug in AFP where an ArrayOutofBoundsException is throwqn when embedding a Page Segment.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1160298 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Vincent Hennebert
8e894b822f
Added support for 128bit encryption in PDF output. Based on work by Michael Rubin.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1154998 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Vincent Hennebert
427df0fa7d
Added id element to intermediate format to track the origin of content.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1094690 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jeremias Maerki
b3365920c4
Customizing the Gump runs from our build file rather than from the Gump descriptor.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1076307 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jeremias Maerki
941181b8e3
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 ago
Jeremias Maerki
a712bc8cdc
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 ago
Vincent Hennebert
ee9cbf9013
Retroweaver is no longer necessary
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1036466 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Simon Pepping
1939c00e19
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
13 years ago
Vincent Hennebert
da7bda6577
Removed custom asf.todo tag
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1002788 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Simon Pepping
07c8abc503
Created target nightly-build
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@996451 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Simon Pepping
1847b92194
Bugzilla #49752:
Findbugs build target enhancements
Submitted by: Glenn Adams <glenn.at.skynav.com>
Changes to patch:
- Added descriptions to the user visible targets
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@986616 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Simon Pepping
b69448b24b
Fixed javadoc, checkstyle and ant warnings
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@986602 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jeremias Maerki
61df4e0806
Removed the Class-Path Manifest entry since it's often not quite right and FOP's Main class sets up the classpath in a much more flexible way.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@985921 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jeremias Maerki
29e8badcec
Bugzilla #49733:
Resolved compilation (safe one), Checkstyle and many Javadoc warnings.
Submitted by: Glenn Adams <glenn.at.skynav.com>
Changes to patch:
- Restored the deprecated Graphics2DAdapter method (to be removed after Barcode4J 2.1 is released).
- Restored Renderer.startPageSequence(LineArea) pending discussion about removal.
- build.xml: set max VM to 1024MB instead of 2048MB to allow for 32-bit JVMs.
- build.xml: restored longer taskdef names.
- Restored Checkstyle 4 file for people running older IDEs.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@985537 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Adrian Cumiskey
d82e108272
Fix to "docs" target. FORREST_HOME no longer needs to be in your PATH for the target to work as you would expect it to.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@966339 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Simon Pepping
d6ed09f8f1
Target dist-src need not depend on target all. A comment on the
dependency of target dist on target distclean.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@965953 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Jeremias Maerki
25072c1b24
Merged changes from Trunk (minus JARs).
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Color@965380 13f79535-47bb-0310-9956-ffa450edef68
14 years ago