grim/purple-objects-docbook
Changed from refsect's to chapters. This makes our TOC be number and so on.
Added a revision history as a separate page
Other misc changes
--- a/Makefile Thu Apr 30 00:35:38 2009 -0500
+++ b/Makefile Thu Apr 30 02:09:25 2009 -0500
@@ -21,6 +21,7 @@
--- a/sheets/devtodo.xsl Thu Apr 30 00:35:38 2009 -0500
+++ b/sheets/devtodo.xsl Thu Apr 30 02:09:25 2009 -0500
@@ -35,25 +35,17 @@
<xsl:template match="todo">
- <xsl:element name="refentry">
+ <xsl:element name="chapter"> <xsl:attribute name="id">todo</xsl:attribute>
- <xsl:element name="refmeta">
- <xsl:element name="refentrytitle">
- <xsl:text>Todo</xsl:text>
+ <xsl:element name="title"> + <xsl:text>TODO List</xsl:text> - <xsl:element name="refsect1">
- <xsl:element name="title">
- <xsl:text>TODO List</xsl:text>
- <xsl:element name="variablelist">
- <xsl:for-each select="note">
- <xsl:call-template name="note"/>
+ <xsl:element name="variablelist"> + <xsl:for-each select="note"> + <xsl:call-template name="note"/> --- a/sheets/purple-objects.xsl Thu Apr 30 00:35:38 2009 -0500
+++ b/sheets/purple-objects.xsl Thu Apr 30 02:09:25 2009 -0500
@@ -11,4 +11,8 @@
<xsl:param name="refentry.generate.name" select="0"/>
<xsl:param name="refentry.generate.title" select="1"/>
<xsl:param name="use.id.as.filename" select="1"/>
+ <xsl:param name="id.warnings" select="1"/> + <xsl:param name="annotate.toc" select="1"/> + <xsl:param name="toc.max.depth" select="1"/> + <xsl:param name="generate.revhistory.link" select="1"/> --- a/xml/about.xml Thu Apr 30 00:35:38 2009 -0500
+++ b/xml/about.xml Thu Apr 30 02:09:25 2009 -0500
@@ -1,30 +1,24 @@
<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
- <refentrytitle>About</refentrytitle>
+ <title>Why use GObjects in libpurple?</title>
- <title>Why use GObjects in libpurple?</title>
+ There are many benefits GObjects can bring to purple. Some of + which we have implemented ourselves already and others that we've + considered adding in the past but no one has gotten to yet.
- There are many benefits GObjects can bring to purple. Some of
- which we have implemented ourselves already and others that we've
- considered adding in the past but no one has gotten to yet.
+ One of the biggest benefits is the type system. While it's a bit + more work to start up a GObject class, the benefit of using a + tested type system makes it worth it. Right now we're only lightly + using inheritance. For example: PurpleBlistNode is the base class + for PurpleBuddy, PurpleChat, PurpleContact, and PurpleGroup. There + are quite a few problems with the current setup. It's error prone, + theres no type checking, and it's impossible to subclass unless + the new "type" is added to libpurple itself.
- One of the biggest benefits is the type system. While it's a bit
- more work to start up a GObject class, the benefit of using a
- tested type system makes it worth it. Right now we're only lightly
- using inheritance. For example: PurpleBlistNode is the base class
- for PurpleBuddy, PurpleChat, PurpleContact, and PurpleGroup. There
- are quite a few problems with the current setup. It's error prone,
- theres no type checking, and it's impossible to subclass unless
- the new "type" is added to libpurple itself.
--- a/xml/accounts.xml Thu Apr 30 00:35:38 2009 -0500
+++ b/xml/accounts.xml Thu Apr 30 02:09:25 2009 -0500
@@ -1,17 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
-<refentry id="accounts">
- <refentrytitle>Accounts</refentrytitle>
+ <title>Accounts</title>
- <title>Accounts</title>
+ <imagedata fileref="graphs/accounts.png"/>
- <imagedata fileref="graphs/accounts.png"/>
--- a/xml/ciphers.xml Thu Apr 30 00:35:38 2009 -0500
+++ b/xml/ciphers.xml Thu Apr 30 02:09:25 2009 -0500
@@ -1,17 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
- <refentrytitle>Ciphers</refentrytitle>
+ <imagedata fileref="graphs/ciphers.png"/>
- <imagedata fileref="graphs/ciphers.png"/>
--- a/xml/connections.xml Thu Apr 30 00:35:38 2009 -0500
+++ b/xml/connections.xml Thu Apr 30 02:09:25 2009 -0500
@@ -1,17 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
-<refentry id="connections">
- <refentrytitle>Connections</refentrytitle>
+<chapter id="connections"> + <title>Connections</title>
- <title>Connections</title>
+ <imagedata fileref="graphs/connections.png"/>
- <imagedata fileref="graphs/connections.png"/>
--- a/xml/conversations.xml Thu Apr 30 00:35:38 2009 -0500
+++ b/xml/conversations.xml Thu Apr 30 02:09:25 2009 -0500
@@ -1,21 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
-<refentry id="conversations">
- <refentrytitle>Conversations</refentrytitle>
- <title>Conversations</title>
+<chapter id="conversations"> + <title>Conversations</title>
- <imagedata fileref="graphs/conversations-objects.png"/>
+ <imagedata fileref="graphs/conversations-objects.png"/>
- <imagedata fileref="graphs/conversations-interfaces.png"/>
+ <imagedata fileref="graphs/conversations-interfaces.png"/> --- a/xml/filetransfers.xml Thu Apr 30 00:35:38 2009 -0500
+++ b/xml/filetransfers.xml Thu Apr 30 02:09:25 2009 -0500
@@ -1,17 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
-<refentry id="filetransfers">
- <refentrytitle>File Transfers</refentrytitle>
+<chapter id="filetransfers"> + <title>File Transfers</title>
- <title>File Transfers</title>
+ <imagedata fileref="graphs/filetransfers.png"/>
- <imagedata fileref="graphs/filetransfers.png"/>
--- a/xml/graphs.xml Thu Apr 30 00:35:38 2009 -0500
+++ b/xml/graphs.xml Thu Apr 30 02:09:25 2009 -0500
@@ -1,51 +1,45 @@
<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
- <refentrytitle>Graphs</refentrytitle>
+ <title>All about the graphs</title>
- <title>All about the graphs</title>
+ There are many graphs in use in this document. All of the graphs + are generated by the graphviz package. + <title>Object Key</title> + <imagedata fileref="graphs/objects.png"/> - There are many graphs in use in this document. All of the graphs
- are generated by the graphviz package.
+ All object and interfaces are represented by a rectangle. The + color is used to describe the type of object. In the key above + we see that abstract classes are pale green, concrete classes + are light pink, and interfaces are powder blue.
- <title>Object Key</title>
- <imagedata fileref="graphs/objects.png"/>
- All object and interfaces are represented by a rectangle. The
- color is used to describe the type of object. In the key above
- we see that abstract classes are pale green, concrete classes
- are light pink, and interfaces are powder blue.
+ <title>Relationship Key</title>
- <title>Relationship Key</title>
- <imagedata fileref="graphs/relationships.png"/>
+ <imagedata fileref="graphs/relationships.png"/>
- Similar to the object key, the relationship key shows how
- objects relate to one another. Subclasses point to their
- parent class with a solid line with an open arrow. Classes
- that implement interfaces point to the interface they're
- implementing with a dotted line with an open circle. Classes
- that have an instance of another class, are pointed to by that
- class with an open diamond.
+ Similar to the object key, the relationship key shows how + objects relate to one another. Subclasses point to their + parent class with a solid line with an open arrow. Classes + that implement interfaces point to the interface they're + implementing with a dotted line with an open circle. Classes + that have an instance of another class, are pointed to by that + class with an open diamond. --- a/xml/plugin-loaders.xml Thu Apr 30 00:35:38 2009 -0500
+++ b/xml/plugin-loaders.xml Thu Apr 30 02:09:25 2009 -0500
@@ -1,21 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
-<refentry id="plugin-loaders">
- <refentrytitle>Plugin Loaders</refentrytitle>
- <title>Plugin Loaders</title>
+<chapter id="plugin-loaders"> + <title>Plugin Loaders</title>
- <imagedata fileref="graphs/plugin-loaders.png"/>
+ <imagedata fileref="graphs/plugin-loaders.png"/>
- <imagedata fileref="graphs/plugin-loader.png"/>
+ <imagedata fileref="graphs/plugin-loader.png"/> --- a/xml/plugins.xml Thu Apr 30 00:35:38 2009 -0500
+++ b/xml/plugins.xml Thu Apr 30 02:09:25 2009 -0500
@@ -1,29 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
- <refentrytitle>Plugins</refentrytitle>
- <imagedata fileref="graphs/plugins.png"/>
+ <imagedata fileref="graphs/plugins.png"/>
- <imagedata fileref="graphs/plugin.png"/>
+ <imagedata fileref="graphs/plugin.png"/>
- <imagedata fileref="graphs/plugin-info.png"/>
+ <imagedata fileref="graphs/plugin-info.png"/>
- <imagedata fileref="graphs/plugin-state.png"/>
+ <imagedata fileref="graphs/plugin-state.png"/> --- a/xml/pounces.xml Thu Apr 30 00:35:38 2009 -0500
+++ b/xml/pounces.xml Thu Apr 30 02:09:25 2009 -0500
@@ -1,17 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
- <refentrytitle>Pounces</refentrytitle>
+ <imagedata fileref="graphs/pounces.png"/>
- <imagedata fileref="graphs/pounces.png"/>
--- a/xml/proxies.xml Thu Apr 30 00:35:38 2009 -0500
+++ b/xml/proxies.xml Thu Apr 30 02:09:25 2009 -0500
@@ -1,17 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
- <refentrytitle>Proxies</refentrytitle>
+ <imagedata fileref="graphs/proxies.png"/>
- <imagedata fileref="graphs/proxies.png"/>
--- a/xml/purple-objects.xml Thu Apr 30 00:35:38 2009 -0500
+++ b/xml/purple-objects.xml Thu Apr 30 02:09:25 2009 -0500
@@ -19,4 +19,6 @@
<xi:include href="connections.xml"/>
<xi:include href="filetransfers.xml"/>
<xi:include href="pounces.xml"/>
+ <xi:include href="revhistory.xml"/> --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/revhistory.xml Thu Apr 30 02:09:25 2009 -0500
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE appendix PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" + "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"> +<appendix id="revhistory"> + <title>Revision History</title> + <revnumber>0.1</revnumber> + Initial revision, basic overview, no input from any other + <authorinitials>GK</authorinitials> --- a/xml/todo.xml Thu Apr 30 00:35:38 2009 -0500
+++ b/xml/todo.xml Thu Apr 30 02:09:25 2009 -0500
@@ -1,22 +1,17 @@
-<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
- <refentrytitle>Todo</refentrytitle>
- <title>TODO List</title>
- <term class="veryhigh">
+<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"> + <title>TODO List</title> + <term class="veryhigh"> Dump devtodo output into the book as well
Create conversation graphs
--- a/xml/whiteboards.xml Thu Apr 30 00:35:38 2009 -0500
+++ b/xml/whiteboards.xml Thu Apr 30 02:09:25 2009 -0500
@@ -1,17 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
-<refentry id="whiteboards">
- <refentrytitle>Whiteboards</refentrytitle>
+<chapter id="whiteboards"> + <title>Whiteboards</title>
- <title>Whiteboards</title>
+ <imagedata fileref="graphs/whiteboards.png"/>
- <imagedata fileref="graphs/whiteboards.png"/>