aboutsummaryrefslogtreecommitdiffstats
path: root/build.xml
Commit message (Collapse)AuthorAgeFilesLines
* Improved JUnit report creation.Jeremias Maerki2006-04-051-41/+17
| | | | | | | | | | Added support for OutputIntent objects in PDF. When PDF/A-1b is activated OutputIntents are created and the sRGB color space is used by default (hardcoded for the moment for lack of better color infrastructure in FOP). The sRGB color profile from HP (covering sRGB IEC61966-2.1) is now embedded in fop.jar as a resource so the PDF library can embed it. The sRGB profile from the Sun JRE is much bigger. That's why it's not used. The Gladiator TrueType font (glb12.ttf) has been copied over from Batik and is used to verify PDF/A-1b's conformance checks. CMYK JPEG image added to test resources so PDF/A-1b color space checks can be performed. With the color space checks, support for PDF/A-1b is complete to the degree that FOP supports the creation of elements described in ISO 19005-1, except for the case where an embedded XMP packet is used in the fo:declarations element. In this case the metadata is not synchronized with the values in the Info PDF object which could lead to validation errors when checking for PDF/A-1b conformance. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@391624 13f79535-47bb-0310-9956-ffa450edef68
* Adding dependency on XML Graphics Commons.Jeremias Maerki2006-04-041-1/+7
| | | | | | | | | | | Switching to code in XML Graphics Commons for: - PSGraphics2D - Service discovery - Codecs Removed local classes that have been ported to Commons. xmlgraphics-commons-snapshot.jar is a Trunk snapshot built with JDK 1.4.2 from today. It should work under JDK 1.3.1. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@391332 13f79535-47bb-0310-9956-ffa450edef68
* Merged Temp_API_Finalization branch back into FOP Trunk:Jeremias Maerki2006-03-271-1/+1
| | | | | | | | | | | Finalized API according to the plan in the Wiki: http://wiki.apache.org/xmlgraphics-fop/ApiDesign In addition to that: Deprecated the rest of the Fop constructors. Refactored the FopServlet a bit to make it more versatile and still easy to understand. The FopPrintServlet is now a subclass of FopServlet. Some further cleanup on the way. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@389086 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #38821:Jeremias Maerki2006-03-011-4/+13
| | | | | | | | | | Re-added the Class-Path entry in the manifest. Additional changes: Fixed the javac.fork property. Prepared classpaths for when xmlgraphics-commons is ready. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@382152 13f79535-47bb-0310-9956-ffa450edef68
* Added samedir property, to allow Checkstyle 4 to runChris Bowditch2006-01-201-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@370811 13f79535-47bb-0310-9956-ffa450edef68
* New feature: "Intermediate format" (IF). The IF is basically the XML dialect ↵Jeremias Maerki2006-01-171-3/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | written by the area tree renderer (XMLRenderer). A new parser for this format allows reparsing a serialized and possibly modified area tree and rendering it to the final target format. More details on the Wiki at http://wiki.apache.org/xmlgraphics-fop/AreaTreeIntermediateXml. No advanced features have been implemented, yet, only the basic functionality. The whole change should be fully backwards-compatible WRT the outer FOP API except maybe for FOTreeBuilder.addElementMapping(), and the area tree XML which got small changes. The area tree has been cleaned up. The serializability has been restored. The CachedRenderPagesModel works again and can, in certain situations, decrease the maximum amount of memory held at one point in time. Some adjustments were necessary in the area tree to help the work of the AreaTreeParser. The AreaTreeParser is new and is responsible for parsing area tree XML files and adding pages to a RenderPagesModel instance. It is SAX-based and should be pretty efficient. XMLUnit (http://xmlunit.sourceforge.net, BSD license) is a new dependency for the test code. It is used to verify the correctness of the intermediate format code. It doesn't have to be installed for the build to run through, though. ElementMapping got a new method getDOMImplementation() which provides the DOMImplementation used to handle a subdocument of a particular namespace. For example, SVG uses Batik's SVG DOM. The AreaTreeParser needs that to properly recreate foreign objects because it can't use the mechanism of the FO tree. The default implementation returns null. The ElementMapping instances are no longer maintained by the FOTreeBuilder, but by the newly created ElementMappingRegistry class. It is expected that the instance of this class is moved from the FOTreeBuilder and the AreaTreeParser's Handler class to the "environment class" once it is created to cut down on the startup time for each processed document. The XMLRenderer has been slightly modified to improve the serialization/deserialization qualities of the area tree XML format. The XMLRenderer can now mimic another renderer (see mimicRenderer(Renderer)) in order to use its font setup. That way it is made certain that the reparsed area tree will render to the final target format exactly as expected. Fixed a bug in the XMLHandlerRegistry which did not always return the right XMLHandler for every situation. Added a DefaultErrorListener to the util package. I've had problems with Xalan-J swallowing exceptions with its default ErrorListener, so I added a simple one for convenience and use in AreaTreeParser. Example code for working with the AreaTreeParser can be found in examples/embedding. Documentation will follow. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@369753 13f79535-47bb-0310-9956-ffa450edef68
* Added support for relative font config URLs (metrics-url and embed-url). ↵Manuel Mall2006-01-071-2/+2
| | | | | | These URLs are now resolved through the FOP config URI resolver. A new configuration item font-base has been added which defines the base URL to be used for resolution of the font URLs. If it is not given the normal FOP base URL is used. Unrelated to this feature the patch also contains a new image class (java 1.4 specific) for JPEG images. This is for renderers (e.g. AFP) which require access to the decoded JPEG. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@366718 13f79535-47bb-0310-9956-ffa450edef68
* XMLHandler interface changed so it reports whether it supports a particular ↵Jeremias Maerki2005-12-161-1/+6
| | | | | | | | | | | | | | Renderer instead of reporting the MIME type. One MIME type could be implemented by multiple Renderer implementations so conflicts could occur. Almost all XMLHandler implementations will have a dependency on a particular Renderer implementation. XMLHandlers are now configurable. Standard XMLHandlers now get registered through service lookup. Simplification: XMLHandlers don't need nested classes for the handling functionality anymore. If Batik, for example, is not in the classpath it will already be detected while registering the XMLHandlers. The RendererContextConstants interface now standardizes some of the keys used in the RendererContext and helps with actually decoupling the XMLHandler implementations from the renderers. This is one step towards making Batik an optional dependency and making it possible to move the SVG functionality to a separate place later. Extracted the SVG XMLHandler functionality from the sandbox SVGRenderer into a separate class following the example of the other renderers. Bugfix in PSSVGHandler: Fixed a copy/paste error which could lead to wrong clipping of an SVG image for PostScript output. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@357166 13f79535-47bb-0310-9956-ffa450edef68
* Going back to SVN Trunk mode.Jeremias Maerki2005-11-241-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@348747 13f79535-47bb-0310-9956-ffa450edef68
* Added test case for hyphenation-ladder-count, fix broken build.xml with ↵Manuel Mall2005-11-231-1/+1
| | | | | | respect hyphenation layout tests git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@348376 13f79535-47bb-0310-9956-ffa450edef68
* Merged changes 345575:345890 from branches/fop-0_90 into trunk:Jeremias Maerki2005-11-221-30/+39
| | | | | | | | | | | | | | | | | | "build/site" is now copied to "docs". The build directory isn't included in either distribution anymore. Source distribution doesn't contain fop.jar, javadocs and compiled docs anymore to make the distribution smaller. KEYS and status.xml and lib/xalan*.txt added (Thanks, Simon). Added version info to javadocs. Removed limitation to build javadocs only with JDKs >= 1.4. It works fine for me on Win32 Sun JDK 1.3.1_15. You can add "javahome.jdk14" to your build-local.properties so Forrest docs can be built during a JDK 1.3 distribution build. Added release notes to site (Thanks, Christian, for the reminder). Append JDK indicator to binary distribution using system property java.specification.version. upgrade guide: new configuration format (CG) Documented additional known issue with PS Renderer that I didn't have time to fix. Redirects and release names cleaned up as per Simon's suggestions. Added link to latest release branch to download page. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@348205 13f79535-47bb-0310-9956-ffa450edef68
* XMLified files describing disabled testcases for layout engine and FO treeJoerg Pietschmann2005-11-181-2/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@345474 13f79535-47bb-0310-9956-ffa450edef68
* examples directory was missing in both src and bin distributions.Jeremias Maerki2005-11-171-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@345250 13f79535-47bb-0310-9956-ffa450edef68
* Setting the final version number.Jeremias Maerki2005-11-171-5/+7
| | | | | | The NOTICE file was missing from the distribution. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@345211 13f79535-47bb-0310-9956-ffa450edef68
* Make docs target work under Windows.Jeremias Maerki2005-11-171-2/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@345209 13f79535-47bb-0310-9956-ffa450edef68
* lowercase filenames for distscleanChristian Geisert2005-11-161-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@345069 13f79535-47bb-0310-9956-ffa450edef68
* docs building with a simple forrest call instead of using importChristian Geisert2005-11-141-7/+12
| | | | | | | (because of problems with plugin download and validation) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@344146 13f79535-47bb-0310-9956-ffa450edef68
* exclude hyphenation patterns from source distributionChristian Geisert2005-11-141-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@344091 13f79535-47bb-0310-9956-ffa450edef68
* Oops! Removed duplicate 'if'Andreas L. Delmelle2005-11-131-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@344002 13f79535-47bb-0310-9956-ffa450edef68
* Made junit-layout-hyphenation conditionalAndreas L. Delmelle2005-11-131-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@344000 13f79535-47bb-0310-9956-ffa450edef68
* Made junit-layout-standard conditionalAndreas L. Delmelle2005-11-131-1/+1
| | | | | | Submitted by: Nils Meier <nmeier.at.users.sourceforge.net> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@343994 13f79535-47bb-0310-9956-ffa450edef68
* Changed tar targets to set execute permission on fop scriptManuel Mall2005-11-121-3/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@332774 13f79535-47bb-0310-9956-ffa450edef68
* Excluded docs directory from fop dist buildManuel Mall2005-11-121-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@332760 13f79535-47bb-0310-9956-ffa450edef68
* Step 1 (SVN just doesn't want me to delete the old directories):Jeremias Maerki2005-11-111-8/+38
| | | | | | | | | Created sandbox area (src/sandbox). Moved MIF, PCL and SVG support to the sandbox due to their current state. Build adjusted to build a fop-sandbox.jar (the three moved renderers automatically get registered if they are in the classpath). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@332575 13f79535-47bb-0310-9956-ffa450edef68
* Separated JUnit layout tests such that the majority are still run even if no ↵Manuel Mall2005-11-101-9/+51
| | | | | | hyphenation support present git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@332292 13f79535-47bb-0310-9956-ffa450edef68
* Applied fix for bug #37414. Submitted by Matthew Daniel ↵Andreas L. Delmelle2005-11-081-4/+4
| | | | | | (bugzilla@mdaniel.scdi.com) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@331922 13f79535-47bb-0310-9956-ffa450edef68
* Updated build.xml to include lib licences in binary build and other small modsManuel Mall2005-10-271-13/+22
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@328891 13f79535-47bb-0310-9956-ffa450edef68
* Package documentation.Jeremias Maerki2005-10-271-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@328824 13f79535-47bb-0310-9956-ffa450edef68
* Javadoc fixes.Jeremias Maerki2005-10-271-2/+3
| | | | | | Removed unused code in PDF and PS renderers (fixes javadoc warning). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@328814 13f79535-47bb-0310-9956-ffa450edef68
* Forgot to add the new Version class to the transcoder package.Jeremias Maerki2005-10-241-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@328005 13f79535-47bb-0310-9956-ffa450edef68
* FOP now retrieves the version information from the Manifest or from SVN ↵Jeremias Maerki2005-10-211-4/+11
| | | | | | information if the Manifest is not available. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@327144 13f79535-47bb-0310-9956-ffa450edef68
* The classpath for junit-transcoder should not contain fop.jarSimon Pepping2005-10-141-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@321196 13f79535-47bb-0310-9956-ffa450edef68
* Use libs-run-classpath for hyphenation-present and junit-layoutSimon Pepping2005-10-121-6/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@315029 13f79535-47bb-0310-9956-ffa450edef68
* Separated JUnit tests into groups with separate targets, added fotree test ↵Manuel Mall2005-10-071-6/+32
| | | | | | to default JUnit target, test for the presence of hyphenation support as prerequisite for layout tests git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@307113 13f79535-47bb-0310-9956-ffa450edef68
* Use checkstyle.config to get the appropriate checkstyle configuration fileJoerg Pietschmann2005-10-061-3/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@306650 13f79535-47bb-0310-9956-ffa450edef68
* Build the hyphenation patterns under the build/classes directory.Simon Pepping2005-10-011-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@292942 13f79535-47bb-0310-9956-ffa450edef68
* Build should work without Forrest installedChristian Geisert2005-09-271-2/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@291934 13f79535-47bb-0310-9956-ffa450edef68
* Added docs building with forrestChristian Geisert2005-09-271-0/+14
| | | | | | | | | (needs Ant 1.6 and you need to run forrest once manually as there's a bug with the plugin download) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@291860 13f79535-47bb-0310-9956-ffa450edef68
* dist filenames lowercaseChristian Geisert2005-09-201-16/+16
| | | | | | | tabs removed git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@290483 13f79535-47bb-0310-9956-ffa450edef68
* Added Checkstyle 4.0 capability. Added Checkstyle autodetection.Joerg Pietschmann2005-09-201-19/+89
| | | | | | | | Use checkstyle.home.dir in build-local.properties to point to the checkstyle home. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@290420 13f79535-47bb-0310-9956-ffa450edef68
* include serializer.jar in dist (see Bugzilla #36677)Christian Geisert2005-09-201-0/+1
| | | | | | | Submitted by: Matthew Daniel <bugzilla -at- mdaniel.scdi.com> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@290407 13f79535-47bb-0310-9956-ffa450edef68
* Removal of hyphenation patternsAndreas L. Delmelle2005-09-181-4/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@289935 13f79535-47bb-0310-9956-ffa450edef68
* Use uptodate to avoid rebuilding fop-transcoder jars every time.Joerg Pietschmann2005-09-161-49/+57
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@289562 13f79535-47bb-0310-9956-ffa450edef68
* version number update for first preview releaseChristian Geisert2005-09-141-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@280828 13f79535-47bb-0310-9956-ffa450edef68
* Enabled fotree junit tests.Finn Bock2005-09-121-1/+27
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@280298 13f79535-47bb-0310-9956-ffa450edef68
* Require at least Java 1.4 for building the javadocs.Joerg Pietschmann2005-09-081-0/+11
| | | | | | | | Add todo tag to javadoc task. Fixed @todo: tags. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@279661 13f79535-47bb-0310-9956-ffa450edef68
* Allow javadoc to find Ant classes.Joerg Pietschmann2005-09-071-1/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@279456 13f79535-47bb-0310-9956-ffa450edef68
* Add classpathref to CheckStyle task to allow finding FOP Exceptions.Joerg Pietschmann2005-09-071-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@279441 13f79535-47bb-0310-9956-ffa450edef68
* Add property for forking javac.Joerg Pietschmann2005-09-061-7/+11
| | | | | | | Add javac.fork and user.hyph.dir to the build.porperties templates. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@279125 13f79535-47bb-0310-9956-ffa450edef68
* Moved default property settings from build.properties to build.xml.Joerg Pietschmann2005-09-061-0/+7
| | | | | | | Add comments to build.properties. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@279120 13f79535-47bb-0310-9956-ffa450edef68