gtk-doc r568 - in trunk: . tests tests/bugs/docs tests/gobject/docs tests/gobject/docs-tmpl tests/gobject/src



Author: stefkost
Date: Mon Jun  2 06:28:30 2008
New Revision: 568
URL: http://svn.gnome.org/viewvc/gtk-doc?rev=568&view=rev

Log:
	* TODO:
	* tests/bugs/docs/tester-docs.xml:
	* tests/gobject/docs/tester-docs.xml:
	* tests/gobject/docs/tester-sections.txt:
	* tests/gobject/docs-tmpl/tester-docs.xml:
	* tests/gobject/docs-tmpl/tester-sections.txt:
	* tests/gobject/src/gobject.c:
	* tests/gobject/src/gobject.h:
	* tests/gtk-doc.make:
	* tests/gtk-doc.notmpl.make:
	  Add some index lists to the tests. Add a deprecated function.



Modified:
   trunk/ChangeLog
   trunk/TODO
   trunk/tests/bugs/docs/tester-docs.xml
   trunk/tests/gobject/docs-tmpl/tester-docs.xml
   trunk/tests/gobject/docs-tmpl/tester-sections.txt
   trunk/tests/gobject/docs/tester-docs.xml
   trunk/tests/gobject/docs/tester-sections.txt
   trunk/tests/gobject/src/gobject.c
   trunk/tests/gobject/src/gobject.h
   trunk/tests/gtk-doc.make
   trunk/tests/gtk-doc.notmpl.make

Modified: trunk/TODO
==============================================================================
--- trunk/TODO	(original)
+++ trunk/TODO	Mon Jun  2 06:28:30 2008
@@ -26,3 +26,7 @@
 More abbreviations:
 * expand urls
 
+Testing:
+cd test/gobject
+diff -u --exclude="Makefile*" docs docs-tmpl | diffstat
+

Modified: trunk/tests/bugs/docs/tester-docs.xml
==============================================================================
--- trunk/tests/bugs/docs/tester-docs.xml	(original)
+++ trunk/tests/bugs/docs/tester-docs.xml	Mon Jun  2 06:28:30 2008
@@ -12,7 +12,18 @@
   </bookinfo>
 
   <chapter>
-    <title>[Insert title here]</title>
+    <title>Tests</title>
     <xi:include href="xml/tester.xml"/>
   </chapter>
+
+  <index id="api-index">
+    <title>API Index</title>
+  </index>
+  <index id="deprecated-api-index" role="deprecated">
+    <title>Index of deprecated API</title>
+  </index>
+  <!--index id="api-index-0-9" role="0.9">
+    <title>Index of new API in 0.9</title>
+  </index-->
+
 </book>

Modified: trunk/tests/gobject/docs-tmpl/tester-docs.xml
==============================================================================
--- trunk/tests/gobject/docs-tmpl/tester-docs.xml	(original)
+++ trunk/tests/gobject/docs-tmpl/tester-docs.xml	Mon Jun  2 06:28:30 2008
@@ -30,6 +30,13 @@
      <xi:include href="xml/tree_index.sgml" />
   </chapter>
 
+  <index id="api-index">
+    <title>API Index</title>
+  </index>
+  <index id="deprecated-api-index" role="deprecated">
+    <title>Index of deprecated API</title>
+  </index>
+
   <glossary>
     <glossdiv id="glossary-X"><title>X</title>
       <glossentry>

Modified: trunk/tests/gobject/docs-tmpl/tester-sections.txt
==============================================================================
--- trunk/tests/gobject/docs-tmpl/tester-sections.txt	(original)
+++ trunk/tests/gobject/docs-tmpl/tester-sections.txt	Mon Jun  2 06:28:30 2008
@@ -4,6 +4,7 @@
 GtkdocObject
 GtkdocObjectClass
 gtkdoc_object_new
+gtkdoc_object_set_otest
 GTKDOC_OBJECT_MACRO_DUMMY
 GTKDOC_OBJECT_MACRO_SUM
 <SUBSECTION Standard>
@@ -29,6 +30,6 @@
 GTKDOC_IS_IFACE
 GTKDOC_TYPE_IFACE
 gtkdoc_iface_get_type
-GTKDOC_OBJECT_GET_INTERFACE
+GTKDOC_IFACE_GET_INTERFACE
 </SECTION>
 

Modified: trunk/tests/gobject/docs/tester-docs.xml
==============================================================================
--- trunk/tests/gobject/docs/tester-docs.xml	(original)
+++ trunk/tests/gobject/docs/tester-docs.xml	Mon Jun  2 06:28:30 2008
@@ -30,6 +30,13 @@
      <xi:include href="xml/tree_index.sgml" />
   </chapter>
 
+  <index id="api-index">
+    <title>API Index</title>
+  </index>
+  <index id="deprecated-api-index" role="deprecated">
+    <title>Index of deprecated API</title>
+  </index>
+
   <glossary>
     <glossdiv id="glossary-X"><title>X</title>
       <glossentry>

Modified: trunk/tests/gobject/docs/tester-sections.txt
==============================================================================
--- trunk/tests/gobject/docs/tester-sections.txt	(original)
+++ trunk/tests/gobject/docs/tester-sections.txt	Mon Jun  2 06:28:30 2008
@@ -4,6 +4,7 @@
 GtkdocObject
 GtkdocObjectClass
 gtkdoc_object_new
+gtkdoc_object_set_otest
 GTKDOC_OBJECT_MACRO_DUMMY
 GTKDOC_OBJECT_MACRO_SUM
 <SUBSECTION Standard>
@@ -29,6 +30,6 @@
 GTKDOC_IS_IFACE
 GTKDOC_TYPE_IFACE
 gtkdoc_iface_get_type
-GTKDOC_OBJECT_GET_INTERFACE
+GTKDOC_IFACE_GET_INTERFACE
 </SECTION>
 

Modified: trunk/tests/gobject/src/gobject.c
==============================================================================
--- trunk/tests/gobject/src/gobject.c	(original)
+++ trunk/tests/gobject/src/gobject.c	Mon Jun  2 06:28:30 2008
@@ -39,6 +39,19 @@
   return(NULL);
 }
 
+/**
+ * gtkdoc_object_set_otest:
+ * @self: the object
+ * @value: the new otest value
+ *
+ * Set the #GtkdocObject:otest property.
+ *
+ * Deprecated: Use g_object_set(obj,&quot;otest&quot;,value,NULL); instead.
+ */
+void gtkdoc_object_set_otest (GObject *self, const gchar *value) {
+  
+}
+
 /* methods */
 
 /* class internals */

Modified: trunk/tests/gobject/src/gobject.h
==============================================================================
--- trunk/tests/gobject/src/gobject.h	(original)
+++ trunk/tests/gobject/src/gobject.h	Mon Jun  2 06:28:30 2008
@@ -56,6 +56,7 @@
 GType  gtkdoc_object_get_type(void) G_GNUC_CONST;
 
 GtkdocObject *gtkdoc_object_new(void);
+void gtkdoc_object_set_otest (GObject *self, const gchar *value);
 
 /**
  * GTKDOC_OBJECT_MACRO_DUMMY:

Modified: trunk/tests/gtk-doc.make
==============================================================================
--- trunk/tests/gtk-doc.make	(original)
+++ trunk/tests/gtk-doc.make	Mon Jun  2 06:28:30 2008
@@ -84,7 +84,6 @@
 tmpl/*.sgml:
 	@true
 
-
 #### xml ####
 
 sgml-build.stamp: tmpl.stamp $(HFILE_GLOB) $(CFILE_GLOB) $(DOC_MODULE)-sections.txt $(srcdir)/tmpl/*.sgml $(expand_content_files)

Modified: trunk/tests/gtk-doc.notmpl.make
==============================================================================
--- trunk/tests/gtk-doc.notmpl.make	(original)
+++ trunk/tests/gtk-doc.notmpl.make	Mon Jun  2 06:28:30 2008
@@ -71,7 +71,7 @@
 
 #### xml ####
 
-sgml-build.stamp: $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt $(expand_content_files)
+sgml-build.stamp: $(HFILE_GLOB) $(CFILE_GLOB) $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt $(expand_content_files)
 	@echo 'gtk-doc: Building XML'
 	@-chmod -R u+w $(srcdir)
 	@PATH=$(top_builddir):$(PATH) PERL5LIB=$(top_builddir):$(PERL5LIB) && cd $(srcdir) && \



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]