You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by vh...@apache.org on 2007/08/08 19:37:46 UTC

svn commit: r563951 [2/2] - in /xmlgraphics/fop/branches/fop-0_94: ./ src/documentation/content/xdocs/ src/documentation/content/xdocs/trunk/ src/java/META-INF/services/ src/java/org/apache/fop/fo/ src/java/org/apache/fop/fo/properties/ src/java/org/ap...

Modified: xmlgraphics/fop/branches/fop-0_94/status.xml
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/fop-0_94/status.xml?view=diff&rev=563951&r1=563950&r2=563951
==============================================================================
--- xmlgraphics/fop/branches/fop-0_94/status.xml (original)
+++ xmlgraphics/fop/branches/fop-0_94/status.xml Wed Aug  8 10:37:33 2007
@@ -28,17 +28,29 @@
 
   <changes>
     <release version="FOP Trunk">
-      <action context="code" dev="AD" type="add" fixes-bug="42785" due-to="Max Berger">
+      <action context="Code" dev="JM" type="fix">
+        AFP Renderer: Bugfix for 1 bit images where the width is not a multiple of 8.
+      </action>
+      <action context="Code" dev="MM" type="add">
+        Support for keep-together.within-line="always".
+      </action>
+      <action context="Code" dev="MM" type="fix">
+        Fixed incomplete support for Unicode Word Joiner characters (U+2060 and U+FEFF).
+      </action>
+      <action context="Code" dev="VH" type="add">
+        Add support for conditional spaces in table-cells.
+      </action>
+      <action context="Code" dev="AD" type="add" fixes-bug="42785" due-to="Max Berger">
         Support alignment-adjust for images.
       </action>
-      <action context="code" dev="AD" type="add" fixes-bug="41044" due-to="Richard Wheeldon">
+      <action context="Code" dev="AD" type="add" fixes-bug="41044" due-to="Richard Wheeldon">
         Partial application of the patch in Bugzilla 41044:
           * addition of a generic PropertyCache to be used by all Property
             types that can be safely canonicalized
           * modified EnumProperty, StringProperty, NumberProperty, EnumNumber
             and FixedLength to make use of the cache infrastructure
       </action>
-      <action context="code" dev="AD" type="update" fixes-bug="41656">
+      <action context="Code" dev="AD" type="update" fixes-bug="41656">
         Refactoring in the fo package:
         -> removal of the childNodes instance member in fop.fo.FObj
         -> addition of a firstChild instance member in fop.fo.FObj
@@ -46,7 +58,7 @@
         -> addition of a FONodeIterator interface in FONode + corresponding implementation in FObj
         -> changed implementations of FObj.addChildNode(), .removeChild() and .getChildNodes()
       </action>
-      <action context="code" dev="AD" type="update" fixes-bug="42089" due-to="Adrian Cumiskey">
+      <action context="Code" dev="AD" type="update" fixes-bug="42089" due-to="Adrian Cumiskey">
         Code cleanup and restructuring: 
         Refactoring of PageSequenceLayoutManager and provide common FObj id property use
       </action>
@@ -57,7 +69,7 @@
       <action context="Code" dev="JM" type="update">
         Updated PDF/A-1b support according to ISO-19005-1:2005/Cor.1:2007.
       </action>
-      <action context="Code" dev="JM" type="add" fixes-bug="41831" due-to="Adrian Cumiskey">
+      <action context="Code" dev="JM" type="add" importance="high" fixes-bug="41831" due-to="Adrian Cumiskey">
         Add support for font auto-detection (easier font configuration).
       </action>
       <action context="Code" dev="JM" type="update" fixes-bug="42406" due-to="Hussein Shafie">
@@ -76,6 +88,15 @@
       </action>
       <action context="Code" dev="JM" type="fix" fixes-bug="41434" due-to="Martin Kögler">
         Fix PDF Genaration for non-ASCII compatible locales.
+      </action>
+      <action context="Code" dev="VH" type="fix">
+        Fix several exceptions when break-before/after is set on the first/last row of a table.
+      </action>
+      <action context="Code" dev="VH" type="fix">
+        Fix extra page break when break-before is set on both a table and its first row.
+      </action>
+      <action context="Code" dev="VH" type="fix">
+        Make keep-with-next and keep-with-previous work on fo:table.
       </action>
       <action context="Code" dev="VH, JM" type="add" importance="high" fixes-bug="36934">
         Add support for the collapsing-border model in tables.

Modified: xmlgraphics/fop/branches/fop-0_94/test/layoutengine/disabled-testcases.xml
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/fop-0_94/test/layoutengine/disabled-testcases.xml?view=diff&rev=563951&r1=563950&r2=563951
==============================================================================
--- xmlgraphics/fop/branches/fop-0_94/test/layoutengine/disabled-testcases.xml (original)
+++ xmlgraphics/fop/branches/fop-0_94/test/layoutengine/disabled-testcases.xml Wed Aug  8 10:37:33 2007
@@ -123,11 +123,6 @@
     <reference>http://issues.apache.org/bugzilla/show_bug.cgi?id=37579</reference>
   </testcase>
   <testcase>
-    <name>keeps on inlines NYI</name>
-    <file>inline_keep-together.xml</file>
-    <description>Keeps are not implemented in inline-level elements, yet.</description>
-  </testcase>
-  <testcase>
     <name>NPE for table inside an inline</name>
     <file>inline_block_nested_3.xml</file>
     <description>Placing a table as a child of an fo:inline produces a 

Modified: xmlgraphics/fop/branches/fop-0_94/test/layoutengine/standard-testcases/block_uax14_linebreaking.xml
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/fop-0_94/test/layoutengine/standard-testcases/block_uax14_linebreaking.xml?view=diff&rev=563951&r1=563950&r2=563951
==============================================================================
--- xmlgraphics/fop/branches/fop-0_94/test/layoutengine/standard-testcases/block_uax14_linebreaking.xml (original)
+++ xmlgraphics/fop/branches/fop-0_94/test/layoutengine/standard-testcases/block_uax14_linebreaking.xml Wed Aug  8 10:37:33 2007
@@ -112,6 +112,12 @@
           <fo:block background-color="yellow" margin="0pt 0pt 3pt 0pt">
             No-break-point-in-normal-dates-12/12/2006-or-fractions-12345678/67890112
           </fo:block>
+          <fo:block background-color="silver" font-size="8pt" margin="3pt 0pt 0pt 0pt">
+            WJ -- Word Joiner (XB/XA)
+          </fo:block>
+          <fo:block background-color="yellow" margin="0pt 0pt 3pt 0pt">
+            Here we/&#x2060;prevent/&#x2060;any/&#x2060;breaks/&#x2060;after the/&#x2060;solidus
+          </fo:block>
         </fo:flow>
       </fo:page-sequence>
     </fo:root>
@@ -184,5 +190,9 @@
       <eval expected="114460" xpath="//flow/block[27]/lineArea[1]/text/@ipd"/>
       <eval expected="93380" xpath="//flow/block[27]/lineArea[2]/text/@ipd"/>
       <eval expected="132860" xpath="//flow/block[27]/lineArea[3]/text/@ipd"/>
+
+      <eval expected="2" xpath="count(//flow/block[29]/lineArea)"/>
+      <eval expected="147840" xpath="//flow/block[29]/lineArea[1]/text/@ipd"/>
+      <eval expected="47800" xpath="//flow/block[29]/lineArea[2]/text/@ipd"/>
   </checks>
 </testcase>

Modified: xmlgraphics/fop/branches/fop-0_94/test/layoutengine/standard-testcases/inline_keep-together.xml
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/fop-0_94/test/layoutengine/standard-testcases/inline_keep-together.xml?view=diff&rev=563951&r1=563950&r2=563951
==============================================================================
--- xmlgraphics/fop/branches/fop-0_94/test/layoutengine/standard-testcases/inline_keep-together.xml (original)
+++ xmlgraphics/fop/branches/fop-0_94/test/layoutengine/standard-testcases/inline_keep-together.xml Wed Aug  8 10:37:33 2007
@@ -33,12 +33,11 @@
         </fo:simple-page-master>
       </fo:layout-master-set>
       <fo:page-sequence master-reference="simple">
-        <fo:flow flow-name="xsl-region-body" hyphenate="true">
+        <fo:flow flow-name="xsl-region-body">
           <fo:block-container width="100pt" background-color="yellow">
-            <fo:block>This is <fo:inline keep-together.within-line="always">BLah-blah-blah-blah!</fo:inline></fo:block>
-            <fo:block>This is <fo:inline keep-together.within-line="always">Blah-blah-blah-blah!</fo:inline></fo:block>
-            <fo:block>This is <fo:inline>Blah blah blah blah!</fo:inline></fo:block>
+            <fo:block keep-together.within-line="always">This is Blah blah blah blah!</fo:block>
             <fo:block>This is <fo:inline keep-together.within-line="always">Blah blah blah blah!</fo:inline></fo:block>
+            <fo:block>This is <fo:wrapper keep-together.within-line="always">Blah blah blah blah!</fo:wrapper></fo:block>
           </fo:block-container>
         </fo:flow>
       </fo:page-sequence>
@@ -46,18 +45,15 @@
   </fo>
   <checks>
     <!-- The layout engine should warn the user about the overflow in this case. -->
-    <eval expected="This is " xpath="//flow/block[1]/block[1]/block[1]/lineArea[1]"/>
-    <eval expected="BLah-blah-blah-blah!" xpath="//flow/block[1]/block[1]/block[1]/lineArea[2]"/>
+    <eval expected="This is Blah blah blah blah!" xpath="//flow/block[1]/block[1]/block[1]/lineArea[1]"/>
 
     <!-- The layout engine should warn the user about the overflow in this case. -->
-    <eval expected="This is " xpath="//flow/block[1]/block[1]/block[2]/lineArea[1]"/>
-    <eval expected="Blah-blah-blah-blah!" xpath="//flow/block[1]/block[1]/block[2]/lineArea[2]"/>
-
-    <eval expected="This is Blah blah " xpath="//flow/block[1]/block[1]/block[3]/lineArea[1]"/>
-    <eval expected="blah blah!" xpath="//flow/block[1]/block[1]/block[3]/lineArea[2]"/>
+    <eval expected="This is" xpath="//flow/block[1]/block[1]/block[2]/lineArea[1]"/>
+    <eval expected="Blah blah blah blah!" xpath="//flow/block[1]/block[1]/block[2]/lineArea[2]"/>
 
     <!-- The layout engine should warn the user about the overflow in this case. -->
-    <eval expected="This is " xpath="//flow/block[1]/block[1]/block[4]/lineArea[1]"/>
-    <eval expected="Blah blah blah blah!" xpath="//flow/block[1]/block[1]/block[4]/lineArea[2]"/>
+    <eval expected="This is" xpath="//flow/block[1]/block[1]/block[3]/lineArea[1]"/>
+    <eval expected="Blah blah blah blah!" xpath="//flow/block[1]/block[1]/block[3]/lineArea[2]"/>
+
   </checks>
 </testcase>

Modified: xmlgraphics/fop/branches/fop-0_94/test/layoutengine/standard-testcases/page-breaking_5.xml
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/fop-0_94/test/layoutengine/standard-testcases/page-breaking_5.xml?view=diff&rev=563951&r1=563950&r2=563951
==============================================================================
--- xmlgraphics/fop/branches/fop-0_94/test/layoutengine/standard-testcases/page-breaking_5.xml (original)
+++ xmlgraphics/fop/branches/fop-0_94/test/layoutengine/standard-testcases/page-breaking_5.xml Wed Aug  8 10:37:33 2007
@@ -41,10 +41,10 @@
       </fo:layout-master-set>
       <fo:page-sequence master-reference="master">
         <fo:flow flow-name="xsl-region-body">
-          <fo:block background-color="orange" keep-together="always">Apache FOP is a great tool to create PDF documents with.</fo:block>
-          <fo:block background-color="orange" keep-together="always">Apache FOP is a great tool to create PDF documents with.</fo:block>
-          <fo:block background-color="orange" keep-together="always">Apache FOP is a great tool to create PDF documents with.</fo:block>
-          <fo:block background-color="orange" keep-together="always">Apache FOP is a great tool to create PDF documents with.</fo:block>
+          <fo:block background-color="orange" keep-together.within-page="always">Apache FOP is a great tool to create PDF documents with.</fo:block>
+          <fo:block background-color="orange" keep-together.within-page="always">Apache FOP is a great tool to create PDF documents with.</fo:block>
+          <fo:block background-color="orange" keep-together.within-page="always">Apache FOP is a great tool to create PDF documents with.</fo:block>
+          <fo:block background-color="orange" keep-together.within-page="always">Apache FOP is a great tool to create PDF documents with.</fo:block>
           <fo:block background-color="yellow">last line in new block</fo:block>
         </fo:flow>
       </fo:page-sequence>



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-commits-help@xmlgraphics.apache.org