aboutsummaryrefslogtreecommitdiffstats
path: root/test/java/org
Commit message (Collapse)AuthorAgeFilesLines
...
* Bugzilla #48237:Chris Bowditch2010-01-082-2/+6
| | | | | | | | AFP Renderer does not respect image color settings for svg Submitted by: Peter Hancock <peter.hancock.at.gmail.com> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@897221 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #48071: made the MinOptMax class immutable. Also, lots of clean ups ↵Vincent Hennebert2009-12-222-2/+202
| | | | | | | | | and minor refactorings. Patch submitted by Alexander Kiel. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@893238 13f79535-47bb-0310-9956-ffa450edef68
* Fixed test case: #CMYK pseudo-profile comes before the color profile URI.Jeremias Maerki2009-12-171-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@891726 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: Added equals() method to ColorExt because the base class only ↵Jeremias Maerki2009-11-251-4/+26
| | | | | | compares the RGB value but not any other value. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@884117 13f79535-47bb-0310-9956-ffa450edef68
* Moved declaration of xml:space attribute from <text> to <page-sequence> in ↵Vincent Hennebert2009-11-091-2/+1
| | | | | | | | | the XML Schema, to reflect changes from rev. 834020. Moved validation of intermediate XML to testParserToIntermediateFormat method, so that any validation error is returned by Junit instead of being swallowed. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@834135 13f79535-47bb-0310-9956-ffa450edef68
* XMLUtilTestCase somehow hasn't been included in the merge of the ↵Vincent Hennebert2009-10-281-0/+45
| | | | | | accessibility branch into the Trunk git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@830576 13f79535-47bb-0310-9956-ffa450edef68
* Merged back Temp_Accessibility branch into TrunkVincent Hennebert2009-10-271-1/+2
|\ | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@830293 13f79535-47bb-0310-9956-ffa450edef68
| * Merged changes from Trunk up to revision 829121Vincent Hennebert2009-10-232-33/+33
| |\ | |/ |/| | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility@829138 13f79535-47bb-0310-9956-ffa450edef68
| * Merged changes from Trunk up to revision 824832Vincent Hennebert2009-10-132-0/+54
| |\ | | | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility@824839 13f79535-47bb-0310-9956-ffa450edef68
| * \ Merged changes from Trunk up to revision 816269Vincent Hennebert2009-09-189-22/+325
| |\ \ | | | | | | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility@816718 13f79535-47bb-0310-9956-ffa450edef68
| * | | Added support for adding natural language information on page-sequence and ↵Jeremias Maerki2009-04-171-0/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | document level to a tagged PDF. The document-level language is assumed to be the language of the first page-sequence. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility@765965 13f79535-47bb-0310-9956-ffa450edef68
| * | | Fixed copy/paste mistake.Jeremias Maerki2009-04-141-1/+2
| | | | | | | | | | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility@764805 13f79535-47bb-0310-9956-ffa450edef68
* | | | Application of the patch submitted by Alexander Kiel to improve variable ↵Adrian Cumiskey2009-10-152-33/+33
| |_|/ |/| | | | | | | | | | | | | | names around Kerning and KnuthElement (see https://issues.apache.org/bugzilla/show_bug.cgi?id=48003). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@825646 13f79535-47bb-0310-9956-ffa450edef68
* | | Font name was wrongMaximilian Berger2009-09-241-1/+1
| | | | | | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@818441 13f79535-47bb-0310-9956-ffa450edef68
* | | Added Testcase from Bug #47872 (thanks to alex kiel) and fixed it in FontLoaderMaximilian Berger2009-09-242-0/+54
| |/ |/| | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@818424 13f79535-47bb-0310-9956-ffa450edef68
* | Added support for the #CMYK pseudo-profile supported by some commercial XSL ↵Jeremias Maerki2009-09-161-2/+19
| | | | | | | | | | | | implementations on the rgb-icc() function. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@815938 13f79535-47bb-0310-9956-ffa450edef68
* | Added tests for 2, 3, 4 values specified in the page boundaries properties.Vincent Hennebert2009-08-141-1/+51
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@804159 13f79535-47bb-0310-9956-ffa450edef68
* | Renamed PageScaleAttributes class into PageScale.Vincent Hennebert2009-08-121-4/+6
| | | | | | | | | | | | | | | | | | | | | | Simplified and improved its behaviour: - return null for an empty string - allow for an arbitrary sequence of white spaces between the scales - check that number of arguments is no more than 2 - other small improvements git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@803440 13f79535-47bb-0310-9956-ffa450edef68
* | Fixed issues in PageBoundaries class:Vincent Hennebert2009-08-104-143/+207
| | | | | | | | | | | | | | | | | | | | | | | | | | - typos in method name and documentation - unnecessary conversions from double to int - a single space between values of bleed and crop-offset is too restrictive; changed into a sequence of white space characters Cleanup and improvements of prepress tests: - split PrepressTest class into two separate PageScaleTest and PageBoundariesTest test cases - moved newly created test cases into prepress sub-package - re-organized tests and made them more complete git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@802752 13f79535-47bb-0310-9956-ffa450edef68
* | Bugzilla #47311:Jeremias Maerki2009-08-031-32/+44
| | | | | | | | | | | | | | | | Fixed typos. Bugfix: when crop-offset wasn't specified, but bleed was, the media box was wrong. Tried to fix encapsulation problem mentioned by Vincent. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@800401 13f79535-47bb-0310-9956-ffa450edef68
* | Bugzilla #47311:Jeremias Maerki2009-08-022-0/+131
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added an initial set of extensions for prepress support (fox:bleed, fox:crop-offset, fox:crop-box and fox:scale). This is currently supported only by PDF and Java2D renderers. Submitted by: Peter Coppens <pc.subscriptions.at.gmail.com> Changes to patch by jeremias: - crop box expands from trim box rather than the bleed box. - fixed positioning in AWT preview Additional changes included: - disabled the border around every page in Java2DRenderer. - if background painting is enabled for the Java2DRenderer, it uses the bleed box rather than the trim box. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@800142 13f79535-47bb-0310-9956-ffa450edef68
* | bug fix: allow back slashes for file URLs as they are commonly used in WindowsChris Bowditch2009-05-072-0/+2
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@772672 13f79535-47bb-0310-9956-ffa450edef68
* | Bugzilla 47027: Correction for interpretation of pixel-lengths, as suggested ↵Andreas L. Delmelle2009-04-193-20/+45
|/ | | | | | | | | by Jeremias. + minor changes to the fotreetest-classes: distinguish between fatal errors due to malformed testcases, and genuine assertion failures. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@766492 13f79535-47bb-0310-9956-ffa450edef68
* Improved multi-threading testbed a bit:Jeremias Maerki2009-03-273-25/+132
| | | | | | | - Prints out a report with some statistics at the end. - Worker threads moved into their own thread group for easier profiling. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@759147 13f79535-47bb-0310-9956-ffa450edef68
* Amendment to revision 755894:Jeremias Maerki2009-03-241-6/+35
| | | | | | The mimicking fix didn't work for all output formats. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@757681 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: IFSerializer's mimicking feature didn't work properly. The wrong ↵Jeremias Maerki2009-03-192-0/+122
| | | | | | configuration got selected. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@755894 13f79535-47bb-0310-9956-ffa450edef68
* Restored ability to specify any URI base URI (URL), not just file URLs. For ↵Jeremias Maerki2009-03-102-9/+58
| | | | | | | | file URLs and file paths there's still a check whether the directory exists. Enabled FontBaseBadTestCase. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@752153 13f79535-47bb-0310-9956-ffa450edef68
* Avoid errors with relative paths.Jeremias Maerki2009-03-101-2/+7
| | | | | | Properly handle events using the special test event listener. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@752011 13f79535-47bb-0310-9956-ffa450edef68
* Forgot to remove the old ";mode=painter" work-around.Jeremias Maerki2009-02-251-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@747752 13f79535-47bb-0310-9956-ffa450edef68
* ";mode=painter" MIME suffix removed from all new IFDocumentHandler ↵Jeremias Maerki2009-02-231-0/+159
| | | | | | | | | implementations. Changed RendererFactory to prefer IFDocumentHandler over Renderer if available. A setting on RendererFactory allows to to prefer Renderer over IFDocumentHandler if necessary for compatibility. (not yet tied into CLI or configuration) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@747010 13f79535-47bb-0310-9956-ffa450edef68
* Additional filter possibility for BatchDiffer so previously faulty cases can ↵Jeremias Maerki2009-02-161-0/+10
| | | | | | quickly be regenerated. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@744858 13f79535-47bb-0310-9956-ffa450edef68
* Merge from Trunk revisions 735029 - 740275.Jeremias Maerki2009-02-031-2/+4
|\ | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@740340 13f79535-47bb-0310-9956-ffa450edef68
| * Disabled the PDF dump by default.Jeremias Maerki2009-01-281-2/+4
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@738482 13f79535-47bb-0310-9956-ffa450edef68
* | Fixed test error for transcoders.Jeremias Maerki2009-01-308-153/+272
| | | | | | | | | | | | | | | | | | Enabled disabling strict validation from inside the test case. This enabled activating the border/padding test case for region references. Refactored layout engine and intermediate format tests a bit to increase code reuse. Fixed the way border/padding are set on the area tree. The current way had unwanted side-effects for the AreaTreeParser. Added support for border/padding on region references when parsing from area tree XML. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@739386 13f79535-47bb-0310-9956-ffa450edef68
* | Added validation against XML Schema of the intermediate format so we notice ↵Jeremias Maerki2009-01-302-0/+67
| | | | | | | | | | | | when either changes incompatibly. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@739244 13f79535-47bb-0310-9956-ffa450edef68
* | Introduced IFContext to provide access to foreign attributes (as discussed ↵Jeremias Maerki2009-01-024-5/+9
| | | | | | | | | | | | | | | | | | | | | | on fop-dev). Removed the foreign attributes map from the drawImage methods as a consequence. Added support for foreign attributes on the page (PCL's paper-source and duplex-mode extensions). Fixed a couple of bugs parsing the document navigation elements. Build-time test suite now runs through. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@730740 13f79535-47bb-0310-9956-ffa450edef68
* | Added getUserAgent() to IFDocumentHandler (implemented by all ↵Jeremias Maerki2008-12-175-0/+634
| | | | | | | | | | | | | | | | | | | | | | | | | | implementations already). Full image support for PSPainter. PostScript output now uses the ImageHandler facility (IF and renderer) for both inline (ImageHandler interface) and form image production (PSImageHandler interface). No more hard-coded image flavor list. Resource optimization extended so images that are only used once are inlined to lower memory requirements in the PostScript VM. Added test cases using Commons' DSC parser to verify the new functionality. Added IFDocumentHandler override possibility in FOUserAgent (just like for FOEventHandler and Renderer). Subject support for PDF output. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@727405 13f79535-47bb-0310-9956-ffa450edef68
* | Run AT tests only if there are such tests.Jeremias Maerki2008-12-111-3/+7
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@725702 13f79535-47bb-0310-9956-ffa450edef68
* | Fixed NPE: the user agent was not set.Jeremias Maerki2008-12-111-0/+1
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@725701 13f79535-47bb-0310-9956-ffa450edef68
* | Forgot to add link support. First version added now. Generalizing this for ↵Jeremias Maerki2008-12-091-0/+18
| | | | | | | | | | | | | | | | | | the IF is not so easy it seems. Moved document navigation features (bookmarks, links, named destinations) into a separate handler interface that can be optionally implemented by document handler implementations. This will need a bit more work to be complete (parsing for document navigation from IF, cleanup in PDF library etc.). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@724932 13f79535-47bb-0310-9956-ffa450edef68
* | Split IFPainter into IFDocumentHandler and IFPainter. This makes the ↵Jeremias Maerki2008-09-282-14/+14
| | | | | | | | | | | | | | | | | | | | implementation classes smaller, better allows to isolate the painting parts and helps with formats that generate one object per page (SVG, PNG etc.). Added ImageHandlerFactory to FopFactory. Started TIFF output in order to develop the Java2DPainter that will be needed for certain tasks when generating PCL. Tweaked the way XML is generated for IF and SVG output. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@699813 13f79535-47bb-0310-9956-ffa450edef68
* | Merge from Trunk revisions 685575-699792.Jeremias Maerki2008-09-288-186/+222
|\| | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@699801 13f79535-47bb-0310-9956-ffa450edef68
| * Re-enabled image loader testcasesMaximilian Berger2008-09-162-7/+67
| | | | | | | | | | | | | | | | Made sure SVG converters use SVG flavor (updated in commons) Added new ImageLoaderTest which tests JPGs embedded in SVG git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@695776 13f79535-47bb-0310-9956-ffa450edef68
| * Avoid test failure if the backup directory is not available, yet.Jeremias Maerki2008-09-011-0/+1
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@690903 13f79535-47bb-0310-9956-ffa450edef68
| * added URIResolutionTestCaseMaximilian Berger2008-08-261-0/+1
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@689043 13f79535-47bb-0310-9956-ffa450edef68
| * Moved DataURIResolver from FOP to commons; use new URIResolver registryMaximilian Berger2008-08-242-118/+0
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@688508 13f79535-47bb-0310-9956-ffa450edef68
| * Final statistics output after the test with average speed indication.Jeremias Maerki2008-08-222-2/+16
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@688078 13f79535-47bb-0310-9956-ffa450edef68
| * Added some performance statistics to MemoryEater.Jeremias Maerki2008-08-212-11/+137
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@687786 13f79535-47bb-0310-9956-ffa450edef68
| * * Updated xmlgraphics-commons-14svn.jar to reflect UnitConv additions.Adrian Cumiskey2008-08-202-50/+2
| | | | | | | | | | | | | | * Removed UnitConv and its unit test case (now resides in commons). * Updated all fop util package references fpr UnitConv to xmlgraphics commons util package. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@687369 13f79535-47bb-0310-9956-ffa450edef68
* | Added a default ErrorListener just to be on the safe side.Jeremias Maerki2008-08-262-0/+4
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@689039 13f79535-47bb-0310-9956-ffa450edef68