aboutsummaryrefslogtreecommitdiffstats
path: root/test/java/org/apache
Commit message (Collapse)AuthorAgeFilesLines
* Started unifying URI resolution mechanism, redesigned configuration system ↵Mehdi Houshmand2012-05-3194-600/+4448
| | | | | | 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
* Added possibility to treat some content as artifact.Vincent Hennebert2012-05-293-2/+112
| | | | | | | | | If any fo:static-content or fo:wrapper element has their 'role' property set to 'artifact', then they and their descendants will be treated as artifacts. Suggested by Martin Koegler as part of Bugzilla #50852 git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1343632 13f79535-47bb-0310-9956-ffa450edef68
* Add extension to place code just before PostScript %PageTrailer. Submitted ↵Glenn Adams2012-05-271-0/+45
| | | | | | by Luis Bernardo. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1343072 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #53294: Fix invalid PostScript file being created when font-size is ↵Glenn Adams2012-05-251-0/+69
| | | | | | 0. Submitted by Robert Meyer. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1342792 13f79535-47bb-0310-9956-ffa450edef68
* Added support for the role property on fo:page-sequence, fo:flow and ↵Vincent Hennebert2012-05-251-3/+3
| | | | | | | | | | | fo:static-content. This allows to change the mapping of those FOs to PDF structure types when enabling accessibility. Suggested by Martin Koegler as part of Bugzilla #50852 git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1342680 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #52144: Fix crash on use of version switch (-v). Submitted by Luis ↵Glenn Adams2012-05-221-0/+20
| | | | | | Bernardo. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1341585 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #53242: Support fractional line widths in AFP renderer, fixing ↵Glenn Adams2012-05-173-0/+173
| | | | | | problem with SVG line drawing. Submitted by Luis Bernardo. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1339442 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #53248: Fix exception thrown from use of -print option in CLI. ↵Glenn Adams2012-05-171-0/+52
| | | | | | Submitted by Luis Bernardo. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1339441 13f79535-47bb-0310-9956-ffa450edef68
* Improved handling of AFP double-byte character setsMehdi Houshmand2012-05-151-7/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1338605 13f79535-47bb-0310-9956-ffa450edef68
* Changed the way AFP PTOCA TransparentData control sequences are written so ↵Mehdi Houshmand2012-05-111-0/+73
| | | | | | that they end on character byte boundaries git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1337142 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #53097: Ensure writing-mode specified on fo:table is used to ↵Glenn Adams2012-04-171-0/+4
| | | | | | determine writing mode of table and its descendants. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1327244 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #53094: Convert block container overflow exception to event model, ↵Glenn Adams2012-04-171-0/+12
| | | | | | improving overflow property behavior. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1327157 13f79535-47bb-0310-9956-ffa450edef68
* Merged branch Temp_PDF_ObjectStreamsVincent Hennebert2012-03-2614-14/+942
|\ | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1305467 13f79535-47bb-0310-9956-ffa450edef68
| * Added support for PDF object streams.Temp_PDF_ObjectStreamsVincent Hennebert2012-03-2115-16/+944
| | | | | | | | | | | | | | | | When accessibility is enabled and PDF version 1.5 selected, the structure tree will be stored in object streams in order to reduce the size of the final PDF. This can lead to file reductions by up to 75% git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_PDF_ObjectStreams@1303431 13f79535-47bb-0310-9956-ffa450edef68
* | Removed reference to XML schema from IF schema.Vincent Hennebert2012-03-232-95/+0
| | | | | | | | | | | | | | | | | | | | 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
* | Bugzilla #46962: Fixed deadlock in PropertyCache.Vincent Hennebert2012-03-221-2/+2
|/ | | | | | | | | | | | 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
* Bugzilla #51385: Added configuration option to set the version of the output ↵Vincent Hennebert2012-03-192-0/+232
| | | | | | | | | 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
* Bugzila#52849: SVG font being painted as shapes when font present in the systemMehdi Houshmand2012-03-162-0/+47
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1301445 13f79535-47bb-0310-9956-ffa450edef68
* Added new line at end of files and enabled corresponding rule in checkstyle-5.5Vincent Hennebert2012-03-0621-21/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1297404 13f79535-47bb-0310-9956-ffa450edef68
* Removed trailing whitespace and enabled corresponding RegexpSingleline ↵Vincent Hennebert2012-03-058-17/+17
| | | | | | Checkstyle rule git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1297008 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla#50391: Adding support for different flow-name of fo:region-body in FOPPeter Hancock2012-03-027-61/+242
| | | | | | | 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
* fix @Override usage to be compatible with Java 1.5Glenn Adams2012-02-292-4/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1295320 13f79535-47bb-0310-9956-ffa450edef68
* apply complex scripts patchGlenn Adams2012-02-26661-5/+11999
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1293736 13f79535-47bb-0310-9956-ffa450edef68
* Enabled assertions in junit tasks (analagous to JVM arg -ea)Mehdi Houshmand2012-02-141-0/+1
| | | | | | | | - 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
* Corrected error in Junit4 migrationMehdi Houshmand2012-02-132-30/+26
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1243549 13f79535-47bb-0310-9956-ffa450edef68
* Merged in Temp_ImproveAccessibilityPeter Hancock2012-02-1030-153/+2510
|\ | | | | | | | | | | | | revs 1187234, 1188205, 1205935, 1236718, 1238313, 1240963 git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1242848 13f79535-47bb-0310-9956-ffa450edef68
| * Associate structure tree elements directly to render contentPeter Hancock2012-01-276-47/+402
| | | | | | | | | | | | | | | | | | | | * 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
| * Removed the DOM representation of the structure tree.Vincent Hennebert2011-11-2412-28/+703
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * Removed the FO document pre-processing step that was adding ptr and creating ↵Vincent Hennebert2011-10-2420-141/+1475
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Amended checkstyle errors and return carriagesMehdi Houshmand2012-01-302-60/+64
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1237610 13f79535-47bb-0310-9956-ffa450edef68
* | Bugzilla#52513: Moved FOUserAgent to the constructor of the RenderersMehdi Houshmand2012-01-303-17/+13
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1237582 13f79535-47bb-0310-9956-ffa450edef68
* | Reverted changes made in r1234877, see bugzilla#52513Mehdi Houshmand2012-01-243-13/+17
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1235189 13f79535-47bb-0310-9956-ffa450edef68
* | Moved the FOUserAgent into the constructor of the RenderersMehdi Houshmand2012-01-233-17/+13
| | | | | | | | | | | | | | | | | | | | 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
* | Amended a non-ASCII character in a commentMehdi Houshmand2012-01-231-1/+1
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1234748 13f79535-47bb-0310-9956-ffa450edef68
* | added svn:eol-style=native property to recently added new filesChris Bowditch2012-01-2017-1601/+1601
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1233854 13f79535-47bb-0310-9956-ffa450edef68
* | use of £ was causing some cross platform issues since it's part of the ↵Chris Bowditch2012-01-191-1/+1
| | | | | | | | | | | | 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
* | Bugzilla #51209:Chris Bowditch2012-01-181-0/+72
| | | | | | | | | | | | | | 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
* | Bugzilla #50391:Chris Bowditch2012-01-105-11/+338
| | | | | | | | | | | | | | 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
* | Bugzilla #51644:Chris Bowditch2012-01-0615-150/+1338
| | | | | | | | | | | | | | 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
* | Removed file that became empty in rev. 1198853Vincent Hennebert2011-12-201-0/+0
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1221326 13f79535-47bb-0310-9956-ffa450edef68
* | Changed the error handling for AFP fonts such that errors are passed to the ↵Mehdi Houshmand2011-11-214-11/+110
| | | | | | | | | | | | AFPEventProducer. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1204579 13f79535-47bb-0310-9956-ffa450edef68
* | Bugzilla #52197: Improved support for AdobeStandardEncoding encoded AFM ↵Mehdi Houshmand2011-11-2116-46/+1257
| | | | | | | | | | | | files for type1 fonts git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1204488 13f79535-47bb-0310-9956-ffa450edef68
* | Bugzilla #52151: added ant script to get JaCoCo code coverageVincent Hennebert2011-11-182-2/+66
| | | | | | | | | | | | | | 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
* | Bugzilla #51592: TTFFontLoader ignores the useKerning attribute used with fontsChris Bowditch2011-11-171-0/+57
| | | | | | | | | | | | 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
* | Bugzilla 52136: Added to build file JUnit target that uses a regex to run ↵Vincent Hennebert2011-11-0769-308/+166
| | | | | | | | | | | | | | | | | | 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
* | Bugzilla#52089: Allow JPEG images to be embedded in an AFP document asPeter Hancock2011-11-016-4/+327
|/ | | | | | | | | 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
* Cache the schema for the XML namespace to a local directory. This avoids ↵Vincent Hennebert2011-10-202-0/+95
| | | | | | 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
* Bugzilla#512010: Simplification of the build.Peter Hancock2011-10-198-107/+316
| | | | | | | 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
* Restored PDFDocumentGraphics2D functionality.Jeremias Maerki2011-10-152-1/+96
| | | | | | | | 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
* Bugzilla #51928: Upgraded all tests to JUnit 4Vincent Hennebert2011-10-04108-1217/+1179
| | | | | | | 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