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
Simon Pepping
fcd0a002ab
Adding the build dependencies to the source distribution
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/fop-1_0@963412 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Simon Pepping
f172fa4859
Move the maven bundle jar to the top directory after building; svn
ignore the build artifacts
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/fop-1_0@961414 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Simon Pepping
9b5d11bea3
Updated the version number in the build file; do not merge into trunk
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/fop-1_0@960619 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Simon Pepping
d734b37908
First changes for the release, mainly documentation changes
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/fop-1_0@960618 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Vincent Hennebert
721e78b7ac
Merged all the eventResourceGenerator tasks into one
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@932515 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Vincent Hennebert
9a00e131fd
Generate event models in the same directory as the corresponding EventProducer interfaces and name it event-model.xml by default
The eventResourceGenerator task now takes a destination directory parameter instead of modelfile
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@932502 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Vincent Hennebert
a5a17890ad
Moved ResourceEventProducer to org.apache.fop
Renamed event model used by FOPTestEventModelFactory to "event-model.xml"
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@932497 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Vincent Hennebert
8f6b532710
Split catch-all EventFormatter.xml message file into individual files for each EventProducer. There is no longer a default EventModelFactory
Added test case for font event
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@932481 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Vincent Hennebert
83f36b614c
Added test cases to ensure that the event notification system runs smoothly
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@932461 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Jeremias Maerki
fad33d93cc
Added Java Target information to Build-Id manifest entry. (Applied change as proposed on Feb 10 2010)
Suggested by: Peter Hancock
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@924863 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Adrian Cumiskey
71273824de
Added tests target in build script that calls upon FOP's Ant task to renderer all our unit tests for a configured mimetype.
I really could have done with this simple (and handy) feature some time ago... it should really help with manual/visual testing. I Hope it proves useful for everyone :).
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@829004 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Jeremias Maerki
feaabd1b43
Fix build to make accessibility events go to the right XML file.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility@828805 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Maximilian Berger
a267cc5fa7
Updated ant to run checkstyle 5. This is now supported in lib/build rather than the previously used checkstyle.home
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@824735 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Adrian Cumiskey
f6a828b695
If a JAI library is not available when creating a FOP distribution build we attempt to download one and make it available to the Ant build process.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@823685 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Simon Pepping
d5911c9e9a
Moved the class UnicodeClasses to src/codegen/unicode, so that it is
only built when the classes.xml file is regenerated. Modified the
build file accordingly. Restored Java 5 features in
UnicodeClasses. Created a License utility class. Added a license
statement and a generated file statement to classes.xml. Made
GenerateLineBreakUtils.java use the License class, and made it avoid
trailing spaces in the generated file.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@810896 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Simon Pepping
40b065f458
Prepare for new hyphenation pattern files, which do not have their own classes and instead use the default classes in FOP. Modified the build process to a forked java task, in order to be able to set a larger stack size for the compilation of the large number of classes. Added an ant task to generate a new default classes file, to be used with an update of the Unicode Character Database.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@805561 13f79535-47bb-0310-9956-ffa450edef68
14 years ago