[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-gtk-doc
Subject:    [PHP-GTK-DOC] cvs: php-gtk-doc / Makefile.in  /stylesheets/html hierarchy.xsl phpweb.xsl.in
From:       "Steph Fox" <sfox () php ! net>
Date:       2006-04-18 21:19:22
Message-ID: cvssfox1145395162 () cvsserver
[Download RAW message or body]

sfox		Tue Apr 18 21:19:22 2006 UTC

  Modified files:              
    /php-gtk-doc	Makefile.in 
    /php-gtk-doc/stylesheets/html	hierarchy.xsl phpweb.xsl.in 
  Log:
  - make 'GObject' work in the phpweb hierarchy without having a classentry
  - new build option, 'make phptest id=whatever'
  - clean up a bunch of messy whitespace
  
http://cvs.php.net/viewcvs.cgi/php-gtk-doc/Makefile.in?r1=1.30&r2=1.31&diff_format=u
Index: php-gtk-doc/Makefile.in
diff -u php-gtk-doc/Makefile.in:1.30 php-gtk-doc/Makefile.in:1.31
--- php-gtk-doc/Makefile.in:1.30	Wed Apr 12 14:11:31 2006
+++ php-gtk-doc/Makefile.in	Tue Apr 18 21:19:22 2006
@@ -14,7 +14,7 @@
 # +----------------------------------------------------------------------+
 
 #
-# $Id: Makefile.in,v 1.30 2006/04/12 14:11:31 sfox Exp $
+# $Id: Makefile.in,v 1.31 2006/04/18 21:19:22 sfox Exp $
 #
 
 #
@@ -53,6 +53,7 @@
 mtoc: $(BUILD_TEST)/mtoc.xml
 phpweb: $(BUILD)/php/index.php
 test: $(BUILD_TEST)/$(id).html
+phptest: $(BUILD_TEST)/$(id).php
 text: $(BUILD)/manual.txt
 updates: $(BUILD_TEST)/updates-$(LANG).php
 
@@ -116,6 +117,10 @@
 	@mkdir -p $(BUILD_TEST)
 	$(XSLTPROC) --param base.dir "'$(BUILD_TEST)/'" --stringparam rootid "$(id)" \
--xinclude $(chunk) $(SCRIPT_DIR)/manual.xml  
+$(BUILD_TEST)/$(id).php: $(SCRIPT_DIR)/manual.xml
+	@mkdir -p $(BUILD_TEST)
+	$(XSLTPROC) --param base.dir "'$(BUILD_TEST)/'" --stringparam rootid "$(id)" \
--xinclude $(phpweb) $(SCRIPT_DIR)/manual.xml +
 $(BUILD_TEST)/demo_manual.html: $(SCRIPT_DIR)/demo_manual.xml
 	@mkdir -p $(BUILD_TEST)
 	$(XSLTPROC) --param base.dir "'$(BUILD_TEST)/'" --xinclude $(chunk) \
$(SCRIPT_DIR)/demo_manual.xml  \
http://cvs.php.net/viewcvs.cgi/php-gtk-doc/stylesheets/html/hierarchy.xsl?r1=1.13&r2=1.14&diff_format=u
                
Index: php-gtk-doc/stylesheets/html/hierarchy.xsl
diff -u php-gtk-doc/stylesheets/html/hierarchy.xsl:1.13 \
                php-gtk-doc/stylesheets/html/hierarchy.xsl:1.14
--- php-gtk-doc/stylesheets/html/hierarchy.xsl:1.13	Wed Dec 28 13:03:37 2005
+++ php-gtk-doc/stylesheets/html/hierarchy.xsl	Tue Apr 18 21:19:22 2006
@@ -8,7 +8,6 @@
 
 <xsl:template name="generate_hierarchy"/>
 
-
 <xsl:template name="get_parent_class">
  <xsl:param name="classname"/>
 
@@ -28,7 +27,6 @@
  </xsl:choose>
 </xsl:template>
 
-
 <xsl:template name="current-depth">
  <xsl:param name="classname"/>
 
@@ -51,7 +49,6 @@
  </xsl:choose>
 </xsl:template>
 
-
 <!--
 Makes the indent for the class hierarchy
  depending on the depth
@@ -82,7 +79,6 @@
  </xsl:choose>
 </xsl:template>
 
-
 <xsl:template name="get_class_hierarchy">
  <xsl:param name="classname" />
 
@@ -146,7 +142,6 @@
  
 </xsl:template>
 
-
 <xsl:template name="get_direct_subclasses">
  <xsl:param name="classname" />
  
@@ -176,7 +171,6 @@
  </xsl:for-each> 
 </xsl:template>
 
-
 <!--
  creates a class tree beginning from
  one top class with all its subclasses
@@ -248,10 +242,8 @@
 
 </xsl:template>
 
-
-
 <!--
- Lists all implemented interfaces of a the current classset
+ Lists all implemented interfaces of the current classset
 -->
  <xsl:template name="implementedinterfaces">
   <xsl:if test="./classmeta/implements">
@@ -331,5 +323,4 @@
   </xsl:if>
  </xsl:template>
 
-
 </xsl:stylesheet>
\ No newline at end of file
http://cvs.php.net/viewcvs.cgi/php-gtk-doc/stylesheets/html/phpweb.xsl.in?r1=1.13&r2=1.14&diff_format=u
                
Index: php-gtk-doc/stylesheets/html/phpweb.xsl.in
diff -u php-gtk-doc/stylesheets/html/phpweb.xsl.in:1.13 \
                php-gtk-doc/stylesheets/html/phpweb.xsl.in:1.14
--- php-gtk-doc/stylesheets/html/phpweb.xsl.in:1.13	Sat Apr 15 05:27:36 2006
+++ php-gtk-doc/stylesheets/html/phpweb.xsl.in	Tue Apr 18 21:19:22 2006
@@ -225,7 +225,7 @@
    </xsl:call-template>
   </xsl:variable>
 
-  <xsl:if test="$depth>0">
+  <xsl:if test="$depth > 0">
    <xsl:call-template name="phpweb.get_class_hierarchy">
     <xsl:with-param name="classname">
      <xsl:call-template name="get_parent_class">
@@ -235,49 +235,34 @@
    </xsl:call-template>
   </xsl:if>
 
-<xsl:variable name="rtl" select="ancestor-or-self::classentry[1][@rtl=1]"/>
+  <xsl:variable name="rtl" select="ancestor-or-self::classentry[1][@rtl=1]"/>
 
   <xsl:variable name="new.hack">
    <xsl:choose>
-    <xsl:when test="$depth=0">
-     <xsl:text></xsl:text>
+    <xsl:when test="$depth = 0 or $depth = 1">
+     <xsl:text disable-output-escaping="yes" />
     </xsl:when>
-    <xsl:when test="$depth=1">
-     <xsl:text disable-output-escaping="yes"/>
-    </xsl:when>
-    <xsl:when test="$depth=2">
+    <xsl:when test="$depth = 2">
      <xsl:choose>
       <xsl:when test="$rtl = true()">
-       <xsl:text disable-output-escaping="yes">
-print_image('revhier-arrow.gif');
-       </xsl:text>
+       <xsl:text disable-output-escaping="yes">print_image('revhier-arrow.gif');</xsl:text>
  </xsl:when>
       <xsl:otherwise>
-       <xsl:text disable-output-escaping="yes">
-print_image('inhier-arrow.gif');
-       </xsl:text>
+       <xsl:text disable-output-escaping="yes">print_image('inhier-arrow.gif');</xsl:text>
  </xsl:otherwise>
      </xsl:choose>
     </xsl:when>
     <xsl:otherwise>
      <xsl:choose>
       <xsl:when test="$rtl = true()">
-       <xsl:text disable-output-escaping="yes">
-echo str_repeat(make_image('inhier-blank.gif'), 
-       </xsl:text>
-       <xsl:number value="$depth+-2" format="1"/>
-       <xsl:text disable-output-escaping="yes">
-); print_image('revhier-arrow.gif');
-       </xsl:text>
+       <xsl:text disable-output-escaping="yes">echo \
str_repeat(make_image('inhier-blank.gif'), </xsl:text> +       <xsl:number \
value="$depth + -2" format="1"/> +       <xsl:text disable-output-escaping="yes">); \
print_image('revhier-arrow.gif');</xsl:text>  </xsl:when>
       <xsl:otherwise>
-       <xsl:text disable-output-escaping="yes">
-echo str_repeat(make_image('inhier-blank.gif'), 
-       </xsl:text>
-       <xsl:number value="$depth+-2" format="1"/>
-       <xsl:text disable-output-escaping="yes">
-); print_image('inhier-arrow.gif');
-       </xsl:text>
+       <xsl:text disable-output-escaping="yes">echo \
str_repeat(make_image('inhier-blank.gif'), </xsl:text> +       <xsl:number \
value="$depth + -2" format="1"/> +       <xsl:text disable-output-escaping="yes">); \
print_image('inhier-arrow.gif');</xsl:text>  </xsl:otherwise>
      </xsl:choose>
     </xsl:otherwise>
@@ -293,7 +278,7 @@
     </xsl:variable>
     <xsl:processing-instruction name="php">
      <xsl:value-of select="$new.hack"/>
-    </xsl:processing-instruction> 
+    </xsl:processing-instruction>
     &nbsp;
     <span dir="ltr">
      <a>
@@ -303,13 +288,17 @@
       <xsl:value-of select="$classname" />
      </a>
     </span>
-    <br/>
+    <br />
    </xsl:when>
    <xsl:otherwise>
-    <xsl:processing-instruction name="php">
-     <xsl:value-of select="$new.hack"/>
-     <xsl:value-of select="$classname" />
-    </xsl:processing-instruction> 
+    <xsl:value-of select="$new.hack"/>
+    <xsl:if test="$classname!=''">
+     &nbsp;
+     <span dir="ltr">
+      <xsl:value-of select="$classname" />
+     </span>
+     <br />
+    </xsl:if>
    </xsl:otherwise>
   </xsl:choose>
 

-- 
PHP-GTK Documentation Mailing List (http://gtk.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic