aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache
Commit message (Collapse)AuthorAgeFilesLines
* Bugzilla 45113:Andreas L. Delmelle2008-10-263-11/+127
| | | | | | | | | Added PDF /Launch action, which is used in case of references to URIs using the file:// protocol. Thanks to Alexander Stamenov (astamenov.AT.gmail.com) for the input! git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@708012 13f79535-47bb-0310-9956-ffa450edef68
* Fixed a problem where the BPD or a block area could be wrong if there is a ↵Jeremias Maerki2008-10-242-11/+8
| | | | | | | | nested, absolutely positioned area (for example a block-container). This was most probably introduced by rev 618992. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@707631 13f79535-47bb-0310-9956-ffa450edef68
* AFPFontReader a lot more robust now with less copy/pasted code but still far ↵Adrian Cumiskey2008-10-249-260/+252
| | | | | | | | | from ideal, the whole AFP FOCA parsing/handling still in need of a rewrite at some point. CharacterSetOrientation width() renamed to getWidth() and now protects itself against a possible ArrayIndexOutOfBoundsException. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@707627 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #45956:Jeremias Maerki2008-10-201-1/+33
| | | | | | Minimal support for leader-pattern="rule" for PCL output. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@706319 13f79535-47bb-0310-9956-ffa450edef68
* Fixed size of images when vector graphic images are painted using ↵Jeremias Maerki2008-10-206-37/+94
| | | | | | | | | fox:conversion-mode="bitmap" (for PDF output). Added support for fox:conversion-mode="bitmap" for PS output. Avoid "unsupported target ImageFlavor" error after the fix in XML Graphics Commons (rev 706270). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@706276 13f79535-47bb-0310-9956-ffa450edef68
* Removed superfluous bracketsVincent Hennebert2008-10-171-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@705529 13f79535-47bb-0310-9956-ffa450edef68
* Fix for ps:ps-page-setup-code.Adrian Cumiskey2008-10-152-42/+42
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@704909 13f79535-47bb-0310-9956-ffa450edef68
* More readable.Adrian Cumiskey2008-10-151-12/+18
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@704907 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #45971: improved the behaviour of the command line interface:Vincent Hennebert2008-10-132-32/+49
| | | | | | | | | | - display 'fop' instead of 'Fop' in help messages - do not throw exception when running fop without argument or with -v or -h - return more meaningful error codes Patch submitted with some modifications by Tom Browder (tom_dot.browder.at_gmail.dot_com) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@704008 13f79535-47bb-0310-9956-ffa450edef68
* Added two missing files from r698280Andreas L. Delmelle2008-09-242-5/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@698670 13f79535-47bb-0310-9956-ffa450edef68
* Cleanup firstWhiteSpaceInSeq at end of block too...Andreas L. Delmelle2008-09-231-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@698322 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla 40798: A conditional-page-master-reference with ↵Andreas L. Delmelle2008-09-237-94/+51
| | | | | | | | | page-position="last" is also eligible for an only page (first as well as last) Additionally: added support for page-position="only" git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@698280 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #45795:Jeremias Maerki2008-09-171-0/+15
| | | | | | | PDF Output: Added support for handling 16-bit alpha channel. They are currently converted to 8 bits. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@696365 13f79535-47bb-0310-9956-ffa450edef68
* Re-enabled image loader testcasesMaximilian Berger2008-09-163-7/+7
| | | | | | | | 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
* PDF Output: Made sure the XMP Metadata stream is never compressed.Jeremias Maerki2008-09-151-4/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@695491 13f79535-47bb-0310-9956-ffa450edef68
* Minor fix: avoid attempts at converting a default namespace declaration as a ↵Andreas L. Delmelle2008-09-101-4/+5
| | | | | | FO property, if the parser reports it as a regular attribute git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@693841 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #45734:Jeremias Maerki2008-09-101-3/+5
| | | | | | | Fix for PFMReader after bug #43089 (r567078) changed the behavior of PFMFile. Fixes baseline problems when Type 1 fonts are used in conjunction with XML font metric files. Submitted by: J. Frantzius <jfrantzius.at.web.de> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@693781 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #45616:Jeremias Maerki2008-09-101-10/+7
| | | | | | | Fix for table handling in RTF output, so the output works with OpenOffice and AbiWord, too. Submitted by: Pavel Kysilka <goldenfish.at.linuxsoft.cz> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@693742 13f79535-47bb-0310-9956-ffa450edef68
* Some older TTF fonts have shorter OS/2 tables. This fixes potential ↵Jeremias Maerki2008-09-101-15/+30
| | | | | | EOFExceptions. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@693720 13f79535-47bb-0310-9956-ffa450edef68
* This is a better fix which will cater for the case where the first character ↵Adrian Cumiskey2008-09-091-4/+4
| | | | | | encountered is the EOF (-1) character. EOF test now only occurs when loop is exit so this should execute more efficiently. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@693462 13f79535-47bb-0310-9956-ffa450edef68
* Make PFM string parsing a little more robustAdrian Cumiskey2008-09-091-1/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@693433 13f79535-47bb-0310-9956-ffa450edef68
* Partial fix for Bugzilla 45702: instead of wrapping the forcedBreakAfterLast ↵Andreas L. Delmelle2008-08-301-2/+2
| | | | | | element, simply add it to the returnList git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@690532 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla 45667: avoid NullPointerExceptions during hyphenation for empty ↵Andreas L. Delmelle2008-08-291-1/+2
| | | | | | inlines. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@690382 13f79535-47bb-0310-9956-ffa450edef68
* Added missing generation of areas for empty grid units in tables with ↵Jeremias Maerki2008-08-292-8/+111
| | | | | | collapsing border model. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@690319 13f79535-47bb-0310-9956-ffa450edef68
* Expanded warning message about borders and paddings on regions.Luca Furini2008-08-271-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@689442 13f79535-47bb-0310-9956-ffa450edef68
* Forgot to add deprecated public statics.Adrian Cumiskey2008-08-261-0/+18
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@689000 13f79535-47bb-0310-9956-ffa450edef68
* Deprecate UnitConv now that it resides only in xmlgraphics commons.Adrian Cumiskey2008-08-261-0/+152
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@688994 13f79535-47bb-0310-9956-ffa450edef68
* CommonURIResolver is no longer a singletonMaximilian Berger2008-08-251-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@688666 13f79535-47bb-0310-9956-ffa450edef68
* Re-added moved class as deprecatedMaximilian Berger2008-08-253-0/+191
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@688652 13f79535-47bb-0310-9956-ffa450edef68
* Fixed memory leak in property cache (not cleaning stale ↵Jeremias Maerki2008-08-251-47/+58
| | | | | | | | PropertyCache$CacheEntry instances). Special thanks to Andreas Delmelle for his help! git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@688633 13f79535-47bb-0310-9956-ffa450edef68
* Moved DataURIResolver from FOP to commons; use new URIResolver registryMaximilian Berger2008-08-244-243/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@688508 13f79535-47bb-0310-9956-ffa450edef68
* minor spelling mistakesMaximilian Berger2008-08-221-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@688139 13f79535-47bb-0310-9956-ffa450edef68
* Merge from branch ↵Jeremias Maerki2008-08-221-1/+3
| | | | | | | | https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/fop-0_95: Fixed text stroking in SVG when the stroke-width is zero. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@688087 13f79535-47bb-0310-9956-ffa450edef68
* * Updated xmlgraphics-commons-14svn.jar to reflect UnitConv additions.Adrian Cumiskey2008-08-209-192/+33
| | | | | | | * 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
* Boolean.valueOf() is available in 1.4, but retroweaver still tried to weave itMaximilian Berger2008-08-202-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@687365 13f79535-47bb-0310-9956-ffa450edef68
* valueOf is Java 1.5+ onlyMaximilian Berger2008-08-202-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@687323 13f79535-47bb-0310-9956-ffa450edef68
* Moved mptToPt() and ptToMpt() from AbstractRenderer to UnitConv. One less ↵Adrian Cumiskey2008-08-205-41/+44
| | | | | | dependency to worry about. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@687305 13f79535-47bb-0310-9956-ffa450edef68
* Moved static method lightenColor() from PrintRenderer to ColorUtil. Thats ↵Adrian Cumiskey2008-08-146-49/+52
| | | | | | one less Renderer interface dependency to worry about :). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@685885 13f79535-47bb-0310-9956-ffa450edef68
* Fixed the source for a division by zero when the content of an fo:leader ↵Jeremias Maerki2008-08-141-10/+16
| | | | | | with leader-pattern="use-content" collapses to zero width during layout. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@685879 13f79535-47bb-0310-9956-ffa450edef68
* Removed three unused classes in the traits package.Jeremias Maerki2008-08-143-159/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@685785 13f79535-47bb-0310-9956-ffa450edef68
* Fixed border trait parsing for the area tree XML when CMYK or ICC colors ↵Jeremias Maerki2008-08-131-7/+14
| | | | | | were used. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@685573 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #45606:Jeremias Maerki2008-08-101-7/+8
| | | | | | | Fixed generation of "fonttbl" for RTF output to fix loading problem with AbiWord. Submitted by: Pavel Kysilka <goldenfish.at.linuxsoft.cz> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@684577 13f79535-47bb-0310-9956-ffa450edef68
* Merge from 0_95 branch:Jeremias Maerki2008-08-101-15/+14
| | | | | | Fixed ID resolution for nested bookmarks with duplicated IDs. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@684575 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla 45490: Avoid altering the original 'href' if the protocol is other ↵Andreas L. Delmelle2008-08-101-9/+10
| | | | | | than 'file:' (suggested by Thomas Stieler) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@684491 13f79535-47bb-0310-9956-ffa450edef68
* Fixed small mistake with weight adjustment on font lookup. Weight 400 was ↵Jeremias Maerki2008-08-051-1/+1
| | | | | | slipping through the cracks. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@682618 13f79535-47bb-0310-9956-ffa450edef68
* The FontEventListener was not wired into font auto-detection. An error while ↵Jeremias Maerki2008-08-052-11/+24
| | | | | | loading a font wasn't relayed to the event subsystem. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@682617 13f79535-47bb-0310-9956-ffa450edef68
* Skip IO Exception when loading a PFM and an AFM could be loaded. The PFM is ↵Jeremias Maerki2008-08-051-0/+5
| | | | | | only a fallback and not necessary when the AFM is available. Motivation: The "URW Bookman L" fonts from GhostScript have bad PFM files. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@682616 13f79535-47bb-0310-9956-ffa450edef68
* Merged revisions ↵Jeremias Maerki2008-07-3136-368/+1026
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 636407-637074,637076-637118,637120-637790,637792-637856,637858-637992,637994-638047,638049-638307,638309-638315,638318-638936,638938-640888,640890-642905,642907-647402,647404-647536,647538-648983,648985-649005,649007-649013,649015-650549,650551-651301,651303-653536,653538-654452,654454-656285,656287-656523,656525-657519,657521-661579,661581-663481,663483-664691,664693-681285,681287-681290,681292-681298 via svnmerge from https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/fop-0_95 ........ r666635 | jeremias | 2008-06-11 14:18:53 +0200 (Mi, 11 Jun 2008) | 1 line Fixed resolution handling inside AWT preview dialog. ........ r666662 | jeremias | 2008-06-11 15:33:20 +0200 (Mi, 11 Jun 2008) | 1 line Some notes on RTF and print output. ........ r668533 | jeremias | 2008-06-17 09:57:55 +0200 (Di, 17 Jun 2008) | 2 lines Bugzilla #45151: Note on the "compiling" page that Ant 1.7 is required. The README file already points to this page. ........ r668534 | jeremias | 2008-06-17 09:58:40 +0200 (Di, 17 Jun 2008) | 2 lines Update known issues. Remove ApacheConEU logo. ........ r668550 | jeremias | 2008-06-17 10:05:22 +0200 (Di, 17 Jun 2008) | 2 lines Bugzilla #45146: Removed duplicate LICENSE.txt and Notice.txt from the JAR. ........ r668570 | jeremias | 2008-06-17 10:54:07 +0200 (Di, 17 Jun 2008) | 1 line Wrong line number reported in the case of a line overflow. ........ r668641 | jeremias | 2008-06-17 14:59:25 +0200 (Di, 17 Jun 2008) | 1 line Fixed potential NPE. ........ r669118 | jeremias | 2008-06-18 11:02:45 +0200 (Mi, 18 Jun 2008) | 4 lines Bugzilla #44412: Regression fix for empty pages caused by multiple collapsible breaks. No more empty block areas if a break-before occurs on the first child of an FO to match the behaviour of tables and other FO implementations (clarification by XSL WG pending). Added an accessor interface for break-before/-after to avoid long if..else lists in BlockStackingLayoutManager. ........ r669173 | jeremias | 2008-06-18 16:07:27 +0200 (Mi, 18 Jun 2008) | 7 lines Bugzilla #44887: Fixed potential multi-threading problem concerning the use of DecimalFormat. Results from performance measurements in a separate test (operation repeated 100'000 times, exemplary): shared static variable: ~220ms (old choice, problematic!) always create new instance: ~480ms ThreadLocal: ~220ms (new choice) ........ r669478 | jeremias | 2008-06-19 15:03:57 +0200 (Do, 19 Jun 2008) | 4 lines Bugzilla #44412: Improvements after Vincent's feedback: Removal of the somewhat ugly Reference. getBreakBefore() reduced to private visibility. ........ r670551 | jeremias | 2008-06-23 14:54:27 +0200 (Mo, 23 Jun 2008) | 3 lines Use configured source and target resolution for foreign objects in RTF output. Fixed intrinsic size calculation for SVG images when source resolution is not 72 dpi. Fixed calculation of px2mm values in the SVG to G2D converter (used by RTF output). ........ r673750 | adelmelle | 2008-07-03 20:25:01 +0200 (Do, 03 Jul 2008) | 1 line Fix for Bugzilla 45295 (already committed to the trunk with r672010, r672495 and r672496) ........ r674304 | jeremias | 2008-07-06 17:09:10 +0200 (So, 06 Jul 2008) | 18 lines Bugzilla #43606: column-width accepts percent values (proportional-column-width and % working) Table width accepts percent values (100% of the page width as standard) Nested tables are working It is also possible to make nested tables with a higher depth than 3 without causing word to crash Submitted by: Maximilan Aster <maximilian.aster.at.boc-eu.com> Changes to the patch by Jeremias: - Patch simplified (reuse of ColumnSetup from the layoutmgr package) - Percentages and proportional-column-width didn't work properly in my tests -> fixed - Adjustments for FOP code conventions Bugzilla #43824: page-number-citation working but has to be refreshed inside word to show the correct values Submitted by: Maximilan Aster <maximilian.aster.at.boc-eu.com> Changes to the patch by Jeremias: - Adjustments for FOP code conventions ........ r674314 | jeremias | 2008-07-06 18:40:08 +0200 (So, 06 Jul 2008) | 7 lines Bugzilla #43825: leader supports fixed percent values for leader-length, most other properties use-content, leader-pattern-width not implemented Submitted by: Maximilan Aster <maximilian.aster.at.boc-eu.com> Changes to the patch by Jeremias: - Adjustments for FOP code conventions ........ r674317 | jeremias | 2008-07-06 18:44:43 +0200 (So, 06 Jul 2008) | 1 line Doc update after RTF changes. ........ r675106 | jeremias | 2008-07-09 09:03:46 +0200 (Mi, 09 Jul 2008) | 2 lines Bugzilla #45366: Document missing feature. ........ r675150 | jeremias | 2008-07-09 14:56:41 +0200 (Mi, 09 Jul 2008) | 2 lines Bugzilla #39980: Fixed image scaling for RTF output. ........ r675151 | jeremias | 2008-07-09 14:57:06 +0200 (Mi, 09 Jul 2008) | 1 line Removed unused code. ........ r675152 | jeremias | 2008-07-09 14:58:18 +0200 (Mi, 09 Jul 2008) | 1 line Don't generate commands for default values. ........ r675707 | jeremias | 2008-07-10 21:58:27 +0200 (Do, 10 Jul 2008) | 1 line Bugfix: -imagein didn't work because the stylesheet didn't get copied into fop.jar. ........ r680715 | jeremias | 2008-07-29 16:37:10 +0200 (Di, 29 Jul 2008) | 1 line Found a surplus "pop state" which somehow causes a regression (fill color doesn't get properly reset) between 0.94 and 0.95. Shows in Barcode4J's fop-extension-demo.fo. The line has already been there in 0.94 but only shows in 0.95 probably due to an additional save/restore state pair added in PDFRenderer for reference areas after the block-container area refactoring. ........ r680820 | jeremias | 2008-07-29 22:02:14 +0200 (Di, 29 Jul 2008) | 2 lines Bugzilla #41306: The AWT Renderer is really not out-of-order capable. ........ r681284 | jeremias | 2008-07-31 08:47:49 +0200 (Do, 31 Jul 2008) | 1 line Some updates to status.xml (I was not the only one working on the final release). ........ r681290 | jeremias | 2008-07-31 09:44:51 +0200 (Do, 31 Jul 2008) | 2 lines Website updates for the 0.95 release. The projectInfo plug-in of Forrest is not ideal for doing a bugfix release. It's not possible to combine the changes for two releases. ........ r681292 | jeremias | 2008-07-31 09:47:13 +0200 (Do, 31 Jul 2008) | 1 line Disabling the ApacheCon ad for the release build. ........ git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@681307 13f79535-47bb-0310-9956-ffa450edef68
* Reverted revision 670341 and replaced it with a different solution as discussed:Jeremias Maerki2008-07-2810-49/+55
| | | | | | | | addCharacters() is now deprecated and called by the new characters() method which uses start/length instead of start/end. Fixed bugs in the AFP and PS extensions (ArrayIndexOutOfBoundsExceptions). They were not properly changed when the interface changed. Discussion: http://markmail.org/message/pdgzf6odxrnhflby git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@680378 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #45470:Jeremias Maerki2008-07-281-34/+42
| | | | | | Added LayoutManagerMapping.registerMaker() to make registration of custom layout managers easier. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@680369 13f79535-47bb-0310-9956-ffa450edef68