Commit 91c9544a authored by Davis King's avatar Davis King
Browse files

set the subversion eol-style to native for these files

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402354
parent 8fa33842
<?xml version="1.0" encoding="ISO-8859-1" ?> <?xml version="1.0" encoding="ISO-8859-1" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method='html' version='1.0' encoding='UTF-8' indent='yes' /> <xsl:output method='html' version='1.0' encoding='UTF-8' indent='yes' />
<!-- ************************************************************************* --> <!-- ************************************************************************* -->
<xsl:variable name="is_chm">true</xsl:variable> <xsl:variable name="is_chm">true</xsl:variable>
<xsl:variable name="main_menu">main_menu.xml</xsl:variable> <xsl:variable name="main_menu">main_menu.xml</xsl:variable>
<xsl:variable name="project_name">dlib C++ Library</xsl:variable> <xsl:variable name="project_name">dlib C++ Library</xsl:variable>
<!-- ************************************************************************* --> <!-- ************************************************************************* -->
<!-- This is the ID you get from Google Webmaster Tools --> <!-- This is the ID you get from Google Webmaster Tools -->
<xsl:variable name="google_verify_id">02MiiaFNVzS5/u0eQhsy3/knioFHsia1X3DXRpHkE6I=</xsl:variable> <xsl:variable name="google_verify_id">02MiiaFNVzS5/u0eQhsy3/knioFHsia1X3DXRpHkE6I=</xsl:variable>
<!-- ************************************************************************* --> <!-- ************************************************************************* -->
<xsl:variable name="last_modified_date_var">_LAST_MODIFIED_DATE_</xsl:variable> <xsl:variable name="last_modified_date_var">_LAST_MODIFIED_DATE_</xsl:variable>
<xsl:variable name="current_release_var">_CURRENT_RELEASE_</xsl:variable> <xsl:variable name="current_release_var">_CURRENT_RELEASE_</xsl:variable>
<xsl:template match="last_modified_date"><xsl:value-of select="$last_modified_date_var"/></xsl:template> <xsl:template match="last_modified_date"><xsl:value-of select="$last_modified_date_var"/></xsl:template>
<xsl:template match="current_release"><xsl:value-of select="$current_release_var"/></xsl:template> <xsl:template match="current_release"><xsl:value-of select="$current_release_var"/></xsl:template>
<!-- ************************************************************************* --> <!-- ************************************************************************* -->
<xsl:variable name="gray">#E3E3E3</xsl:variable> <xsl:variable name="gray">#E3E3E3</xsl:variable>
<xsl:variable name="background_color">#EDF3EE</xsl:variable> <xsl:variable name="background_color">#EDF3EE</xsl:variable>
<xsl:variable name="main_width">62em</xsl:variable> <xsl:variable name="main_width">62em</xsl:variable>
<!-- ************************************************************************* --> <!-- ************************************************************************* -->
<!-- ************************************************************************* --> <!-- ************************************************************************* -->
<!-- ************************************************************************* --> <!-- ************************************************************************* -->
<xsl:variable name="lcletters">abcdefghijklmnopqrstuvwxyz </xsl:variable> <xsl:variable name="lcletters">abcdefghijklmnopqrstuvwxyz </xsl:variable>
<xsl:variable name="ucletters">ABCDEFGHIJKLMNOPQRSTUVWXYZ </xsl:variable> <xsl:variable name="ucletters">ABCDEFGHIJKLMNOPQRSTUVWXYZ </xsl:variable>
<!-- ************************************************************************* --> <!-- ************************************************************************* -->
<xsl:template match="/doc"> <xsl:template match="/doc">
<html> <html>
<head> <head>
<!-- Verify with Google --> <!-- Verify with Google -->
<meta name="verify-v1" content="{$google_verify_id}" /> <meta name="verify-v1" content="{$google_verify_id}" />
<title> <title>
<xsl:value-of select="$project_name"/> <xsl:value-of select="$project_name"/>
<xsl:if test="title"> <xsl:if test="title">
- <xsl:value-of select="title" /> - <xsl:value-of select="title" />
</xsl:if> </xsl:if>
</title> </title>
<!-- [client side code for collapsing and unfolding branches] --> <!-- [client side code for collapsing and unfolding branches] -->
<script language="JavaScript"> <script language="JavaScript">
// --------------------------------------------- // ---------------------------------------------
// --- Name: Easy DHTML Treeview -- // --- Name: Easy DHTML Treeview --
// --- Author: D.D. de Kerf -- // --- Author: D.D. de Kerf --
// --- Version: 0.2 Date: 13-6-2001 -- // --- Version: 0.2 Date: 13-6-2001 --
// --------------------------------------------- // ---------------------------------------------
function Toggle(node) function Toggle(node)
{ {
// Unfold the branch if it isn't visible // Unfold the branch if it isn't visible
var next_node = node.nextSibling; var next_node = node.nextSibling;
if (next_node.style.display == 'none') if (next_node.style.display == 'none')
{ {
// Change the image (if there is an image) // Change the image (if there is an image)
if (node.childNodes.length > 0) if (node.childNodes.length > 0)
{ {
if (node.childNodes.length > 0) if (node.childNodes.length > 0)
{ {
if (node.childNodes.item(0).nodeName == "IMG") if (node.childNodes.item(0).nodeName == "IMG")
{ {
node.childNodes.item(0).src = "minus.gif"; node.childNodes.item(0).src = "minus.gif";
} }
} }
} }
next_node.style.display = 'block'; next_node.style.display = 'block';
} }
// Collapse the branch if it IS visible // Collapse the branch if it IS visible
else else
{ {
// Change the image (if there is an image) // Change the image (if there is an image)
if (node.childNodes.length > 0) if (node.childNodes.length > 0)
{ {
if (node.childNodes.length > 0) if (node.childNodes.length > 0)
{ {
if (node.childNodes.item(0).nodeName == "IMG") if (node.childNodes.item(0).nodeName == "IMG")
{ {
node.childNodes.item(0).src = "plus.gif"; node.childNodes.item(0).src = "plus.gif";
} }
} }
} }
next_node.style.display = 'none'; next_node.style.display = 'none';
} }
} }
</script> </script>
<style type="text/css"> <style type="text/css">
body {margin:0px;} body {margin:0px;}
pre {margin:0px;} pre {margin:0px;}
ul.tree li { list-style: none; } ul.tree li { list-style: none; }
ul.tree { margin:0px; padding:0px; margin-left:13px; cursor: pointer;} ul.tree { margin:0px; padding:0px; margin-left:13px; cursor: pointer;}
ul.tree li ul { margin-left:16px; padding:0px; } ul.tree li ul { margin-left:16px; padding:0px; }
div#component { div#component {
background-color:white; background-color:white;
border: 2px solid rgb(102,102,102); border: 2px solid rgb(102,102,102);
text-align:left; text-align:left;
margin-top: 1.5em; margin-top: 1.5em;
padding: 0.7em; padding: 0.7em;
} }
div#logb { div#logb {
text-align:left; text-align:left;
padding: 0.0em; padding: 0.0em;
float: left; float: left;
background-color:#c0c0c0; background-color:#c0c0c0;
border: double ; border: double ;
margin: 0.5em; margin: 0.5em;
} }
.bdotted {border-bottom: 1px dotted} .bdotted {border-bottom: 1px dotted}
.bdashed {border-bottom: 1px dashed} .bdashed {border-bottom: 1px dashed}
.bsolid {border-bottom: 1px solid} .bsolid {border-bottom: 1px solid}
.bdouble {border-bottom: 1px double} .bdouble {border-bottom: 1px double}
.bgroove {border-bottom: 1px groove} .bgroove {border-bottom: 1px groove}
.bridge {border-bottom: 1px ridge} .bridge {border-bottom: 1px ridge}
.binset {border-bottom: 1px inset} .binset {border-bottom: 1px inset}
.boutset {border-bottom: 1px outset} .boutset {border-bottom: 1px outset}
div#row1 { div#row1 {
background-color:#dfdfdf; background-color:#dfdfdf;
} }
div#row2 { div#row2 {
background-color:#f2f2f2; background-color:#f2f2f2;
} }
div#typedefs { div#typedefs {
margin-left: 1.5em; margin-left: 1.5em;
margin-top: 0.2em; margin-top: 0.2em;
border: 1px dotted; border: 1px dotted;
width: 52em; width: 52em;
} }
div#tdn { div#tdn {
width: 10em; width: 10em;
} }
.fullhr { .fullhr {
clear: both; clear: both;
} }
body { body {
text-align: center; text-align: center;
} }
div#entire_page { div#entire_page {
width:<xsl:value-of select="$main_width"/>; width:<xsl:value-of select="$main_width"/>;
text-align: left; text-align: left;
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;
} }
</style> </style>
</head> </head>
<body bgcolor="{$background_color}"> <body bgcolor="{$background_color}">
<a name="top" /> <a name="top" />
<div id="entire_page"> <div id="entire_page">
<table bgcolor="white" height="100%" bordercolor="{$background_color}" CELLSPACING="0" CELLPADDING="10"> <table bgcolor="white" height="100%" bordercolor="{$background_color}" CELLSPACING="0" CELLPADDING="10">
<tr height="100%"> <tr height="100%">
<xsl:apply-templates select="document($main_menu)/doc/menu"/> <xsl:apply-templates select="document($main_menu)/doc/menu"/>
<!-- ************************************************************************* --> <!-- ************************************************************************* -->
<td VALIGN="TOP" width="100%"> <td VALIGN="TOP" width="100%">
<xsl:if test="title"> <xsl:if test="title">
<center><h1> <xsl:value-of select="title" /> </h1></center> <center><h1> <xsl:value-of select="title" /> </h1></center>
</xsl:if> </xsl:if>
<xsl:apply-templates select="body"/> <xsl:apply-templates select="body"/>
</td> </td>
<!-- ************************************************************************* --> <!-- ************************************************************************* -->
<xsl:choose> <xsl:choose>
<xsl:when test="menu/@from_file"> <xsl:when test="menu/@from_file">
<xsl:apply-templates select="document(menu/@from_file)/doc/menu"> <xsl:apply-templates select="document(menu/@from_file)/doc/menu">
<xsl:with-param name="file_name" select="concat(substring-before(menu/@from_file,'.'),'.html')" /> <xsl:with-param name="file_name" select="concat(substring-before(menu/@from_file,'.'),'.html')" />
</xsl:apply-templates> </xsl:apply-templates>
</xsl:when> </xsl:when>
<xsl:otherwise> <xsl:otherwise>
<xsl:apply-templates select="menu"/> <xsl:apply-templates select="menu"/>
</xsl:otherwise> </xsl:otherwise>
</xsl:choose> </xsl:choose>
<!-- ************************************************************************* --> <!-- ************************************************************************* -->
</tr> </tr>
</table> </table>
<xsl:apply-templates select="components"/> <xsl:apply-templates select="components"/>
</div> </div>
</body> </body>
</html> </html>
</xsl:template> </xsl:template>
<!-- ************************************************************************* --> <!-- ************************************************************************* -->
<xsl:template match="section"> <xsl:template match="section">
<xsl:param name="file_name" /> <xsl:param name="file_name" />
<b><xsl:value-of select="name"/></b> <b><xsl:value-of select="name"/></b>
<ul class="tree"> <ul class="tree">
<xsl:for-each select="item"> <xsl:for-each select="item">
<xsl:sort select="translate(concat(name,.),$lcletters, $ucletters)"/> <xsl:sort select="translate(concat(name,.),$lcletters, $ucletters)"/>
<xsl:apply-templates select="."> <xsl:apply-templates select=".">
<xsl:with-param name="file_name" select="$file_name" /> <xsl:with-param name="file_name" select="$file_name" />
</xsl:apply-templates> </xsl:apply-templates>
</xsl:for-each> </xsl:for-each>
</ul> </ul>
<br/> <br/>
</xsl:template> </xsl:template>
<xsl:template match="top"> <xsl:template match="top">
<xsl:param name="file_name" /> <xsl:param name="file_name" />
<xsl:apply-templates> <xsl:apply-templates>
<xsl:with-param name="file_name" select="$file_name" /> <xsl:with-param name="file_name" select="$file_name" />
</xsl:apply-templates> </xsl:apply-templates>
</xsl:template> </xsl:template>
<xsl:template match="bottom"> <xsl:template match="bottom">
<xsl:param name="file_name" /> <xsl:param name="file_name" />
<xsl:apply-templates> <xsl:apply-templates>
<xsl:with-param name="file_name" select="$file_name" /> <xsl:with-param name="file_name" select="$file_name" />
</xsl:apply-templates> </xsl:apply-templates>
</xsl:template> </xsl:template>
<xsl:template match="menu"> <xsl:template match="menu">
<xsl:param name="file_name" /> <xsl:param name="file_name" />
<td BGCOLOR="{$gray}" VALIGN="TOP" height="100%"> <td BGCOLOR="{$gray}" VALIGN="TOP" height="100%">
<br/> <br/>
<table WIDTH="{@width}" height="100%"> <table WIDTH="{@width}" height="100%">
<tr><td VALIGN="TOP"> <tr><td VALIGN="TOP">
<xsl:apply-templates select="top"> <xsl:apply-templates select="top">
<xsl:with-param name="file_name" select="$file_name" /> <xsl:with-param name="file_name" select="$file_name" />
</xsl:apply-templates> </xsl:apply-templates>
</td><td width="1"></td></tr> </td><td width="1"></td></tr>
<tr><td valign="bottom"> <tr><td valign="bottom">
<xsl:apply-templates select="bottom"> <xsl:apply-templates select="bottom">
<xsl:with-param name="file_name" select="$file_name" /> <xsl:with-param name="file_name" select="$file_name" />
</xsl:apply-templates> </xsl:apply-templates>
</td></tr> </td></tr>
</table> </table>
</td> </td>
</xsl:template> </xsl:template>
<xsl:template match="item"> <xsl:template match="item">
<xsl:param name="file_name" /> <xsl:param name="file_name" />
<li> <li>
<xsl:choose> <xsl:choose>
<xsl:when test="@nolink = 'true'"> <xsl:when test="@nolink = 'true'">
<xsl:choose> <xsl:choose>
<xsl:when test="name"> <xsl:when test="name">
<a onclick="Toggle(this)"><img src="plus.gif"/><font color="green"><u><xsl:value-of select="name"/></u></font></a> <a onclick="Toggle(this)"><img src="plus.gif"/><font color="green"><u><xsl:value-of select="name"/></u></font></a>
<xsl:apply-templates select="sub"> <xsl:apply-templates select="sub">
<xsl:with-param name="file_name" select="$file_name" /> <xsl:with-param name="file_name" select="$file_name" />
</xsl:apply-templates> </xsl:apply-templates>
</xsl:when> </xsl:when>
<xsl:otherwise> <xsl:otherwise>
<xsl:apply-templates> <xsl:apply-templates>
<xsl:with-param name="file_name" select="$file_name" /> <xsl:with-param name="file_name" select="$file_name" />
</xsl:apply-templates> </xsl:apply-templates>
</xsl:otherwise> </xsl:otherwise>
</xsl:choose> </xsl:choose>
</xsl:when> </xsl:when>
<xsl:when test="name"> <xsl:when test="name">
<xsl:choose> <xsl:choose>
<xsl:when test="sub"> <xsl:when test="sub">
<xsl:choose> <xsl:choose>
<xsl:when test="link"> <xsl:when test="link">
<a href="{link}"><img src="right.gif" border="0"/></a> <a href="{link}"><img src="right.gif" border="0"/></a>
<a onclick="Toggle(this)"><img src="plus.gif" border="0"/><font color="green"><u><xsl:value-of select="name"/></u></font></a> <a onclick="Toggle(this)"><img src="plus.gif" border="0"/><font color="green"><u><xsl:value-of select="name"/></u></font></a>
<xsl:apply-templates select="sub"> <xsl:apply-templates select="sub">
<xsl:with-param name="file_name" select="$file_name" /> <xsl:with-param name="file_name" select="$file_name" />
</xsl:apply-templates> </xsl:apply-templates>
</xsl:when> </xsl:when>
<xsl:otherwise> <xsl:otherwise>
<a href="{$file_name}#{name}"><img src="down.gif" border="0"/></a> <a href="{$file_name}#{name}"><img src="down.gif" border="0"/></a>
<a onclick="Toggle(this)"><img src="plus.gif" border="0"/><font color="green"><u><xsl:value-of select="name"/></u></font></a> <a onclick="Toggle(this)"><img src="plus.gif" border="0"/><font color="green"><u><xsl:value-of select="name"/></u></font></a>
<xsl:apply-templates select="sub"> <xsl:apply-templates select="sub">
<xsl:with-param name="file_name" select="$file_name" /> <xsl:with-param name="file_name" select="$file_name" />
</xsl:apply-templates> </xsl:apply-templates>
</xsl:otherwise> </xsl:otherwise>
</xsl:choose> </xsl:choose>
</xsl:when> </xsl:when>
<xsl:otherwise> <xsl:otherwise>
<xsl:choose> <xsl:choose>
<xsl:when test="link"> <xsl:when test="link">
<a href="{link}"><xsl:value-of select="name"/></a> <a href="{link}"><xsl:value-of select="name"/></a>
</xsl:when> </xsl:when>
<xsl:otherwise> <xsl:otherwise>
<a href="{$file_name}#{name}"><xsl:value-of select="name"/></a> <a href="{$file_name}#{name}"><xsl:value-of select="name"/></a>
</xsl:otherwise> </xsl:otherwise>
</xsl:choose> </xsl:choose>
</xsl:otherwise> </xsl:otherwise>
</xsl:choose> </xsl:choose>
</xsl:when> </xsl:when>
<xsl:otherwise> <xsl:otherwise>
<a href="{$file_name}#{.}"><xsl:value-of select="."/></a> <a href="{$file_name}#{.}"><xsl:value-of select="."/></a>
</xsl:otherwise> </xsl:otherwise>
</xsl:choose> </xsl:choose>
</li> </li>
</xsl:template> </xsl:template>
<xsl:template match="sub"> <xsl:template match="sub">
<xsl:param name="file_name" /> <xsl:param name="file_name" />
<ul style="display:none;"> <ul style="display:none;">
<xsl:for-each select="item"> <xsl:for-each select="item">
<xsl:sort select="translate(concat(name,.),$lcletters, $ucletters)"/> <xsl:sort select="translate(concat(name,.),$lcletters, $ucletters)"/>
<xsl:apply-templates select="."> <xsl:apply-templates select=".">
<xsl:with-param name="file_name" select="$file_name" /> <xsl:with-param name="file_name" select="$file_name" />
</xsl:apply-templates> </xsl:apply-templates>
</xsl:for-each> </xsl:for-each>
</ul> </ul>
</xsl:template> </xsl:template>
<!-- ************************************************************************* --> <!-- ************************************************************************* -->
<xsl:template match="components"> <xsl:template match="components">
<xsl:for-each select="component"> <xsl:for-each select="component">
<xsl:sort select="translate(name,$lcletters, $ucletters)"/> <xsl:sort select="translate(name,$lcletters, $ucletters)"/>
<xsl:variable name="checked" select="@checked"/> <xsl:variable name="checked" select="@checked"/>
<a name = "{name}"> <a name = "{name}">
<div id="component" > <div id="component" >
<a href="#top"><font size='2'><center>[top]</center></font></a> <a href="#top"><font size='2'><center>[top]</center></font></a>
<h1 style="margin:0px;"><xsl:value-of select="name"/></h1> <h1 style="margin:0px;"><xsl:value-of select="name"/></h1>
<BR/> <BR/>
<BR/> <BR/>
<xsl:apply-templates select="description"/> <xsl:apply-templates select="description"/>
<xsl:if test="spec_file"> <xsl:if test="spec_file">
<BR/> <BR/>
<xsl:choose> <xsl:choose>
<xsl:when test="spec_file/@link = 'true'"> <xsl:when test="spec_file/@link = 'true'">
<BR/> <BR/>
<b>Specification: </b> <a href="{spec_file}.html#{name}"><xsl:value-of select="spec_file"/></a> <b>Specification: </b> <a href="{spec_file}.html#{name}"><xsl:value-of select="spec_file"/></a>
</xsl:when> </xsl:when>
<xsl:otherwise> <xsl:otherwise>
<BR/> <BR/>
<b>Specification: </b> <a href="{spec_file}.html"><xsl:value-of select="spec_file"/></a> <b>Specification: </b> <a href="{spec_file}.html"><xsl:value-of select="spec_file"/></a>
</xsl:otherwise> </xsl:otherwise>
</xsl:choose> </xsl:choose>
</xsl:if> </xsl:if>
<xsl:if test="file"> <xsl:if test="file">
<BR/><B>File to include: </B> <a href="{file}.html"><xsl:value-of select="file"/></a> <BR/><B>File to include: </B> <a href="{file}.html"><xsl:value-of select="file"/></a>
</xsl:if> </xsl:if>
<xsl:if test="body_file"> <xsl:if test="body_file">
<BR/> <BR/>
The body for the <xsl:value-of select="name"/> component can be found The body for the <xsl:value-of select="name"/> component can be found
here: <a href="{body_file}.html#{name}"><xsl:value-of select="body_file"/></a> here: <a href="{body_file}.html#{name}"><xsl:value-of select="body_file"/></a>
</xsl:if> </xsl:if>
<xsl:apply-templates select="examples"/> <xsl:apply-templates select="examples"/>
<xsl:apply-templates select="implementations"> <xsl:apply-templates select="implementations">
<xsl:with-param name="checked" select="$checked" /> <xsl:with-param name="checked" select="$checked" />
</xsl:apply-templates> </xsl:apply-templates>
<xsl:choose> <xsl:choose>
<xsl:when test="implementations"></xsl:when> <xsl:when test="implementations"></xsl:when>
<xsl:otherwise><br/><br/></xsl:otherwise> <xsl:otherwise><br/><br/></xsl:otherwise>
</xsl:choose> </xsl:choose>
<xsl:if test="extensions"> <xsl:if test="extensions">
<center> <center>
<HR align='center'/> <HR align='center'/>
<h2>Extensions to <xsl:value-of select="name"/></h2> <h2>Extensions to <xsl:value-of select="name"/></h2>
</center> </center>
<xsl:for-each select="extensions/extension"> <xsl:for-each select="extensions/extension">
<xsl:sort select="translate(name,$lcletters, $ucletters)"/> <xsl:sort select="translate(name,$lcletters, $ucletters)"/>
<BR/><a name="{name}"><B><font size='4'><xsl:value-of select="name"/>:</font></B></a><Br/> <BR/><a name="{name}"><B><font size='4'><xsl:value-of select="name"/>:</font></B></a><Br/>
<xsl:apply-templates select="description"/> <xsl:apply-templates select="description"/>
<BR/> <BR/>
<BR/> <BR/>
<b>Specification: </b> <a href="{spec_file}.html"><xsl:value-of select="spec_file"/></a> <b>Specification: </b> <a href="{spec_file}.html"><xsl:value-of select="spec_file"/></a>
<xsl:apply-templates select="examples"/> <xsl:apply-templates select="examples"/>
<xsl:apply-templates select="implementations"> <xsl:apply-templates select="implementations">
<xsl:with-param name="checked" select="$checked" /> <xsl:with-param name="checked" select="$checked" />
</xsl:apply-templates> </xsl:apply-templates>
<xsl:if test="position() != last()"> <xsl:if test="position() != last()">
<HR width='20%' align='left'/> <HR width='20%' align='left'/>
</xsl:if> </xsl:if>
</xsl:for-each> </xsl:for-each>
</xsl:if> </xsl:if>
<!-- putting this empty center tag here, for whatever reason, prevents IE from <!-- putting this empty center tag here, for whatever reason, prevents IE from
messing up the space between these div blocks --> messing up the space between these div blocks -->
<center></center> <center></center>
</div> </div>
</a> </a>
</xsl:for-each> </xsl:for-each>
</xsl:template> </xsl:template>
<xsl:template match="examples"> <xsl:template match="examples">
<BR/><b>Code Examples: </b> <BR/><b>Code Examples: </b>
<xsl:for-each select="example"> <xsl:for-each select="example">
<xsl:choose> <xsl:choose>
<xsl:when test="position() = last()"> <xsl:when test="position() = last()">
<a href="{.}"><xsl:value-of select="position()"/></a> <a href="{.}"><xsl:value-of select="position()"/></a>
</xsl:when> </xsl:when>
<xsl:otherwise> <xsl:otherwise>
<a href="{.}"><xsl:value-of select="position()"/></a>, <a href="{.}"><xsl:value-of select="position()"/></a>,
</xsl:otherwise> </xsl:otherwise>
</xsl:choose> </xsl:choose>
</xsl:for-each> </xsl:for-each>
</xsl:template> </xsl:template>
<xsl:template match="implementations"> <xsl:template match="implementations">
<xsl:param name="checked" /> <xsl:param name="checked" />
<BR/><BR/><B>Implementations:</B> <BR/><BR/><B>Implementations:</B>
<xsl:choose> <xsl:choose>
<xsl:when test="implementation/typedefs"> <xsl:when test="implementation/typedefs">
<xsl:for-each select="implementation"> <xsl:for-each select="implementation">
<blockquote> <blockquote>
<a href="{file}.html"><xsl:value-of select="name"/></a>: <a href="{file}.html"><xsl:value-of select="name"/></a>:
<xsl:if test="typedefs"><br/></xsl:if> <xsl:if test="typedefs"><br/></xsl:if>
<xsl:apply-templates select="description"/> <xsl:apply-templates select="description"/>
<xsl:apply-templates select="typedefs"> <xsl:apply-templates select="typedefs">
<xsl:with-param name="checked" select="$checked"/> <xsl:with-param name="checked" select="$checked"/>
</xsl:apply-templates> </xsl:apply-templates>
</blockquote> </blockquote>
</xsl:for-each> </xsl:for-each>
</xsl:when> </xsl:when>
<xsl:otherwise> <xsl:otherwise>
<blockquote> <blockquote>
<xsl:for-each select="implementation"> <xsl:for-each select="implementation">
<a href="{file}.html"><xsl:value-of select="name"/></a>: <a href="{file}.html"><xsl:value-of select="name"/></a>:
<xsl:apply-templates select="description"/> <xsl:apply-templates select="description"/>
<br/> <br/>
</xsl:for-each> </xsl:for-each>
</blockquote> </blockquote>
</xsl:otherwise> </xsl:otherwise>
</xsl:choose> </xsl:choose>
</xsl:template> </xsl:template>
<xsl:template match="typedefs"> <xsl:template match="typedefs">
<xsl:param name="checked" /> <xsl:param name="checked" />
<div id="typedefs"><table CELLSPACING='0' CELLPADDING='0' bgcolor="white" > <div id="typedefs"><table CELLSPACING='0' CELLPADDING='0' bgcolor="white" >
<xsl:for-each select="typedef"> <xsl:for-each select="typedef">
<xsl:choose> <xsl:choose>
<xsl:when test="$checked = 'true'"> <xsl:when test="$checked = 'true'">
<tr><td bgcolor="{$gray}" valign="top"> <tr><td bgcolor="{$gray}" valign="top">
<div id="tdn"><xsl:value-of select="name"/></div> <div id="tdn"><xsl:value-of select="name"/></div>
</td><td width="100%" bgcolor="{$gray}"> </td><td width="100%" bgcolor="{$gray}">
<xsl:apply-templates select="description"/> <xsl:apply-templates select="description"/>
</td></tr> </td></tr>
<tr><td valign="top"> <tr><td valign="top">
<div id="tdn"><xsl:value-of select="name"/>_c</div> <div id="tdn"><xsl:value-of select="name"/>_c</div>
</td><td width="100%"> </td><td width="100%">
is a typedef for <xsl:value-of select="name"/> that checks its preconditions. is a typedef for <xsl:value-of select="name"/> that checks its preconditions.
</td></tr> </td></tr>
</xsl:when> </xsl:when>
<xsl:otherwise> <xsl:otherwise>
<xsl:choose> <xsl:choose>
<xsl:when test="position() mod 2 = 0"> <xsl:when test="position() mod 2 = 0">
<tr><td valign="top"> <tr><td valign="top">
<div id="tdn"><xsl:value-of select="name"/></div> <div id="tdn"><xsl:value-of select="name"/></div>
</td><td width="100%"> </td><td width="100%">
<xsl:apply-templates select="description"/> <xsl:apply-templates select="description"/>
</td></tr> </td></tr>
</xsl:when> </xsl:when>
<xsl:otherwise> <xsl:otherwise>
<tr><td bgcolor="{$gray}" valign="top"> <tr><td bgcolor="{$gray}" valign="top">
<div id="tdn"><xsl:value-of select="name"/></div> <div id="tdn"><xsl:value-of select="name"/></div>
</td><td width="100%" bgcolor="{$gray}"> </td><td width="100%" bgcolor="{$gray}">
<xsl:apply-templates select="description"/> <xsl:apply-templates select="description"/>
</td></tr> </td></tr>
</xsl:otherwise> </xsl:otherwise>
</xsl:choose> </xsl:choose>
</xsl:otherwise> </xsl:otherwise>
</xsl:choose> </xsl:choose>
</xsl:for-each> </xsl:for-each>
</table></div> </table></div>
</xsl:template> </xsl:template>
<!-- ************************************************************************* --> <!-- ************************************************************************* -->
<xsl:template match="release_notes"> <xsl:template match="release_notes">
<h1 style="margin:0px;">Release <xsl:value-of select="$current_release_var"/></h1> <h1 style="margin:0px;">Release <xsl:value-of select="$current_release_var"/></h1>
<u>Release date</u>: <xsl:value-of select="$last_modified_date_var"/> <u>Release date</u>: <xsl:value-of select="$last_modified_date_var"/>
<br/> <br/>
<u>Major Changes in this Release</u>: <u>Major Changes in this Release</u>:
<table cellspacing="5" cellpadding="0" width="100%"> <table cellspacing="5" cellpadding="0" width="100%">
<tr> <tr>
<td width="15"></td> <td width="15"></td>
<td><pre><xsl:value-of select="current"/></pre></td> <td><pre><xsl:value-of select="current"/></pre></td>
</tr> </tr>
</table> </table>
<xsl:for-each select="old"> <xsl:for-each select="old">
<xsl:if test="position() &lt; 10"> <xsl:if test="position() &lt; 10">
<hr/> <hr/>
<h1 style="margin:0px;">Release <xsl:value-of select="@name"/></h1> <h1 style="margin:0px;">Release <xsl:value-of select="@name"/></h1>
<xsl:if test="@date"> <xsl:if test="@date">
<u>Release date</u>: <xsl:value-of select="@date"/> <u>Release date</u>: <xsl:value-of select="@date"/>
</xsl:if> </xsl:if>
<br/> <br/>
<u>Major Changes in this Release</u>: <u>Major Changes in this Release</u>:
<table cellspacing="5" cellpadding="0" width="100%"> <table cellspacing="5" cellpadding="0" width="100%">
<tr> <tr>
<td width="15"></td> <td width="15"></td>
<td><pre><xsl:value-of select="."/></pre></td> <td><pre><xsl:value-of select="."/></pre></td>
</tr> </tr>
</table> </table>
</xsl:if> </xsl:if>
</xsl:for-each> </xsl:for-each>
<br/> <br/>
<br/> <br/>
<br/> <br/>
<center><a href="old_release_notes.html">Old Release Notes</a></center> <center><a href="old_release_notes.html">Old Release Notes</a></center>
<br/> <br/>
</xsl:template> </xsl:template>
<!-- ************************************************************************* --> <!-- ************************************************************************* -->
<xsl:template match="old_release_notes"> <xsl:template match="old_release_notes">
<xsl:for-each select="document('release_notes.xml')/doc/body/release_notes/old"> <xsl:for-each select="document('release_notes.xml')/doc/body/release_notes/old">
<xsl:if test="position() &gt;= 10"> <xsl:if test="position() &gt;= 10">
<h1 style="margin:0px;">Release <xsl:value-of select="@name"/></h1> <h1 style="margin:0px;">Release <xsl:value-of select="@name"/></h1>
<xsl:if test="@date"> <xsl:if test="@date">
<u>Release date</u>: <xsl:value-of select="@date"/> <u>Release date</u>: <xsl:value-of select="@date"/>
</xsl:if> </xsl:if>
<br/> <br/>
<u>Major Changes in this Release</u>: <u>Major Changes in this Release</u>:
<table cellspacing="5" cellpadding="0" width="100%"> <table cellspacing="5" cellpadding="0" width="100%">
<tr> <tr>
<td width="15"></td> <td width="15"></td>
<td><pre><xsl:value-of select="."/></pre></td> <td><pre><xsl:value-of select="."/></pre></td>
</tr> </tr>
</table> </table>
<xsl:if test="position() != last()"> <xsl:if test="position() != last()">
<hr/> <hr/>
</xsl:if> </xsl:if>
</xsl:if> </xsl:if>
</xsl:for-each> </xsl:for-each>
</xsl:template> </xsl:template>
<!-- ************************************************************************* --> <!-- ************************************************************************* -->
<xsl:template match="description"> <xsl:template match="description">
<xsl:apply-templates/> <xsl:apply-templates/>
</xsl:template> </xsl:template>
<xsl:template match="body"> <xsl:template match="body">
<xsl:choose> <xsl:choose>
<xsl:when test="@from_file"> <xsl:when test="@from_file">
<xsl:apply-templates select="document(@from_file)"/> <xsl:apply-templates select="document(@from_file)"/>
<xsl:apply-templates/> <xsl:apply-templates/>
</xsl:when> </xsl:when>
<xsl:otherwise> <xsl:otherwise>
<xsl:apply-templates/> <xsl:apply-templates/>
</xsl:otherwise> </xsl:otherwise>
</xsl:choose> </xsl:choose>
</xsl:template> </xsl:template>
<xsl:template match="text"> <xsl:template match="text">
<br/> <br/>
<pre><xsl:apply-templates/></pre> <pre><xsl:apply-templates/></pre>
</xsl:template> </xsl:template>
<xsl:template match="h3"> <xsl:template match="h3">
<a name="{.}"/> <a name="{.}"/>
<h3> <h3>
<xsl:apply-templates/> <xsl:apply-templates/>
</h3> </h3>
</xsl:template> </xsl:template>
<xsl:template match="h2"> <xsl:template match="h2">
<a name="{.}"/> <a name="{.}"/>
<h2> <h2>
<xsl:apply-templates/> <xsl:apply-templates/>
</h2> </h2>
</xsl:template> </xsl:template>
<xsl:template match="h1"> <xsl:template match="h1">
<a name="{.}"/> <a name="{.}"/>
<h1> <h1>
<xsl:apply-templates/> <xsl:apply-templates/>
</h1> </h1>
</xsl:template> </xsl:template>
<xsl:template match="p"> <xsl:template match="p">
<p> <p>
<xsl:apply-templates/> <xsl:apply-templates/>
</p> </p>
</xsl:template> </xsl:template>
<xsl:template match="center"> <xsl:template match="center">
<center> <center>
<xsl:apply-templates/> <xsl:apply-templates/>
</center> </center>
</xsl:template> </xsl:template>
<xsl:template match="pre"> <xsl:template match="pre">
<pre> <pre>
<xsl:apply-templates/> <xsl:apply-templates/>
</pre> </pre>
</xsl:template> </xsl:template>
<xsl:template match="blockquote"> <xsl:template match="blockquote">
<blockquote> <blockquote>
<xsl:apply-templates/> <xsl:apply-templates/>
</blockquote> </blockquote>
</xsl:template> </xsl:template>
<xsl:template match="anchor"> <xsl:template match="anchor">
<a name="{.}"/> <a name="{.}"/>
</xsl:template> </xsl:template>
<xsl:template match="br"> <xsl:template match="br">
<br/> <br/>
<xsl:apply-templates/> <xsl:apply-templates/>
</xsl:template> </xsl:template>
<xsl:template match="a"> <xsl:template match="a">
<a href="{@href}"> <a href="{@href}">
<xsl:apply-templates/> <xsl:apply-templates/>
</a> </a>
</xsl:template> </xsl:template>
<xsl:template match="script"> <xsl:template match="script">
<script type="{@type}" language="{@language}" src="{@src}"> <script type="{@type}" language="{@language}" src="{@src}">
<xsl:apply-templates/> <xsl:apply-templates/>
</script> </script>
</xsl:template> </xsl:template>
<xsl:template match="tt"> <xsl:template match="tt">
<tt> <tt>
<xsl:apply-templates/> <xsl:apply-templates/>
</tt> </tt>
</xsl:template> </xsl:template>
<xsl:template match="chm"> <xsl:template match="chm">
<xsl:if test="$is_chm = 'true'"> <xsl:if test="$is_chm = 'true'">
<xsl:apply-templates/> <xsl:apply-templates/>
</xsl:if> </xsl:if>
</xsl:template> </xsl:template>
<xsl:template match="web"> <xsl:template match="web">
<xsl:if test="$is_chm != 'true'"> <xsl:if test="$is_chm != 'true'">
<xsl:apply-templates/> <xsl:apply-templates/>
</xsl:if> </xsl:if>
</xsl:template> </xsl:template>
<xsl:template match="li"> <xsl:template match="li">
<li> <li>
<xsl:apply-templates/> <xsl:apply-templates/>
</li> </li>
</xsl:template> </xsl:template>
<xsl:template match="ul"> <xsl:template match="ul">
<ul> <ul>
<xsl:apply-templates/> <xsl:apply-templates/>
</ul> </ul>
</xsl:template> </xsl:template>
<xsl:template match="u"> <xsl:template match="u">
<u> <u>
<xsl:apply-templates/> <xsl:apply-templates/>
</u> </u>
</xsl:template> </xsl:template>
<xsl:template match="i"> <xsl:template match="i">
<i> <i>
<xsl:apply-templates/> <xsl:apply-templates/>
</i> </i>
</xsl:template> </xsl:template>
<xsl:template match="b"> <xsl:template match="b">
<b> <b>
<xsl:apply-templates/> <xsl:apply-templates/>
</b> </b>
</xsl:template> </xsl:template>
<xsl:template match="U"> <xsl:template match="U">
<u> <u>
<xsl:apply-templates/> <xsl:apply-templates/>
</u> </u>
</xsl:template> </xsl:template>
<xsl:template match="I"> <xsl:template match="I">
<i> <i>
<xsl:apply-templates/> <xsl:apply-templates/>
</i> </i>
</xsl:template> </xsl:template>
<xsl:template match="B"> <xsl:template match="B">
<b> <b>
<xsl:apply-templates/> <xsl:apply-templates/>
</b> </b>
</xsl:template> </xsl:template>
<xsl:template match="font"> <xsl:template match="font">
<font color="{@color}"> <font color="{@color}">
<xsl:apply-templates/> <xsl:apply-templates/>
</font> </font>
</xsl:template> </xsl:template>
<xsl:template match="img"> <xsl:template match="img">
<img src="{@src}" border="0"> <img src="{@src}" border="0">
<xsl:apply-templates/> <xsl:apply-templates/>
</img> </img>
</xsl:template> </xsl:template>
<xsl:template name="term_list_go"> <xsl:template name="term_list_go">
<xsl:param name="num"/> <xsl:param name="num"/>
<xsl:if test="$num &lt; 27"> <xsl:if test="$num &lt; 27">
<ul> <ul>
<xsl:variable name="cur_letter" select="substring($ucletters, $num, 1)"/> <xsl:variable name="cur_letter" select="substring($ucletters, $num, 1)"/>
<a name="{$cur_letter}"/> <a name="{$cur_letter}"/>
<h1><xsl:value-of select="$cur_letter"/></h1> <h1><xsl:value-of select="$cur_letter"/></h1>
<xsl:for-each select="term"> <xsl:for-each select="term">
<xsl:sort order="ascending" select="translate(@name,$lcletters, $ucletters)"/> <xsl:sort order="ascending" select="translate(@name,$lcletters, $ucletters)"/>
<xsl:if test="$cur_letter = substring(translate(@name,$lcletters, $ucletters),1,1)"> <xsl:if test="$cur_letter = substring(translate(@name,$lcletters, $ucletters),1,1)">
<xsl:choose> <xsl:choose>
<xsl:when test="@link"> <xsl:when test="@link">
<li><a href="{@link}"><xsl:value-of select="@name"/></a></li> <li><a href="{@link}"><xsl:value-of select="@name"/></a></li>
</xsl:when> </xsl:when>
<xsl:otherwise> <xsl:otherwise>
<li> <xsl:value-of select="@name"/> <li> <xsl:value-of select="@name"/>
<ul> <ul>
<xsl:for-each select="term"> <xsl:for-each select="term">
<xsl:sort order="ascending" select="translate(@name,$lcletters, $ucletters)"/> <xsl:sort order="ascending" select="translate(@name,$lcletters, $ucletters)"/>
<li><a href="{@link}"><xsl:value-of select="@name"/></a></li> <li><a href="{@link}"><xsl:value-of select="@name"/></a></li>
</xsl:for-each> </xsl:for-each>
</ul> </ul>
</li> </li>
</xsl:otherwise> </xsl:otherwise>
</xsl:choose> </xsl:choose>
</xsl:if> </xsl:if>
</xsl:for-each> </xsl:for-each>
</ul> </ul>
<xsl:call-template name="term_list_go" > <xsl:call-template name="term_list_go" >
<xsl:with-param name="num" select="$num + 1"/> <xsl:with-param name="num" select="$num + 1"/>
</xsl:call-template> </xsl:call-template>
</xsl:if> </xsl:if>
</xsl:template> </xsl:template>
<xsl:template match="term_list"> <xsl:template match="term_list">
<center> <center>
<a href="#A">[A]</a> <a href="#A">[A]</a>
<a href="#B">[B]</a> <a href="#B">[B]</a>
<a href="#C">[C]</a> <a href="#C">[C]</a>
<a href="#D">[D]</a> <a href="#D">[D]</a>
<a href="#E">[E]</a> <a href="#E">[E]</a>
<a href="#F">[F]</a> <a href="#F">[F]</a>
<a href="#G">[G]</a> <a href="#G">[G]</a>
<a href="#H">[H]</a> <a href="#H">[H]</a>
<a href="#I">[I]</a> <a href="#I">[I]</a>
<a href="#J">[J]</a> <a href="#J">[J]</a>
<a href="#K">[K]</a> <a href="#K">[K]</a>
<a href="#L">[L]</a> <a href="#L">[L]</a>
<a href="#M">[M]</a> <a href="#M">[M]</a>
<a href="#N">[N]</a> <a href="#N">[N]</a>
<a href="#O">[O]</a> <a href="#O">[O]</a>
<a href="#P">[P]</a> <a href="#P">[P]</a>
<a href="#Q">[Q]</a> <a href="#Q">[Q]</a>
<a href="#R">[R]</a> <a href="#R">[R]</a>
<a href="#S">[S]</a> <a href="#S">[S]</a>
<a href="#T">[T]</a> <a href="#T">[T]</a>
<a href="#U">[U]</a> <a href="#U">[U]</a>
<a href="#V">[V]</a> <a href="#V">[V]</a>
<a href="#W">[W]</a> <a href="#W">[W]</a>
<a href="#X">[X]</a> <a href="#X">[X]</a>
<a href="#Y">[Y]</a> <a href="#Y">[Y]</a>
<a href="#Z">[Z]</a> <a href="#Z">[Z]</a>
</center> </center>
<xsl:call-template name="term_list_go" > <xsl:call-template name="term_list_go" >
<xsl:with-param name="num" select="1"/> <xsl:with-param name="num" select="1"/>
</xsl:call-template> </xsl:call-template>
</xsl:template> </xsl:template>
<!-- This function turns a string of the form 2006-03-21T02:35:20.510956Z into a nice <!-- This function turns a string of the form 2006-03-21T02:35:20.510956Z into a nice
normal looking date --> normal looking date -->
<xsl:template name="format-date"> <xsl:template name="format-date">
<xsl:param name="xsd-date"/> <xsl:param name="xsd-date"/>
<xsl:variable name="date" select="substring-before($xsd-date,'T')"/> <xsl:variable name="date" select="substring-before($xsd-date,'T')"/>
<xsl:variable name="time" select="substring-before(substring-after($xsd-date,'T'),'.')"/> <xsl:variable name="time" select="substring-before(substring-after($xsd-date,'T'),'.')"/>
<xsl:variable name="year" select="substring($date,1,4)"/> <xsl:variable name="year" select="substring($date,1,4)"/>
<xsl:variable name="month" select="substring($date,6,2)"/> <xsl:variable name="month" select="substring($date,6,2)"/>
<xsl:variable name="day" select="substring($date,9,2)"/> <xsl:variable name="day" select="substring($date,9,2)"/>
<xsl:variable name="hour" select="substring($time,1,2)"/> <xsl:variable name="hour" select="substring($time,1,2)"/>
<xsl:variable name="minute" select="substring($time,4,2)"/> <xsl:variable name="minute" select="substring($time,4,2)"/>
<xsl:variable name="second" select="substring($time,7,2)"/> <xsl:variable name="second" select="substring($time,7,2)"/>
<xsl:choose> <xsl:choose>
<xsl:when test="$month = 1">Jan </xsl:when> <xsl:when test="$month = 1">Jan </xsl:when>
<xsl:when test="$month = 2">Feb </xsl:when> <xsl:when test="$month = 2">Feb </xsl:when>
<xsl:when test="$month = 3">Mar </xsl:when> <xsl:when test="$month = 3">Mar </xsl:when>
<xsl:when test="$month = 4">Apr </xsl:when> <xsl:when test="$month = 4">Apr </xsl:when>
<xsl:when test="$month = 5">May </xsl:when> <xsl:when test="$month = 5">May </xsl:when>
<xsl:when test="$month = 6">Jun </xsl:when> <xsl:when test="$month = 6">Jun </xsl:when>
<xsl:when test="$month = 7">Jul </xsl:when> <xsl:when test="$month = 7">Jul </xsl:when>
<xsl:when test="$month = 8">Aug </xsl:when> <xsl:when test="$month = 8">Aug </xsl:when>
<xsl:when test="$month = 9">Sep </xsl:when> <xsl:when test="$month = 9">Sep </xsl:when>
<xsl:when test="$month = 10">Oct </xsl:when> <xsl:when test="$month = 10">Oct </xsl:when>
<xsl:when test="$month = 11">Nov </xsl:when> <xsl:when test="$month = 11">Nov </xsl:when>
<xsl:when test="$month = 12">Dec </xsl:when> <xsl:when test="$month = 12">Dec </xsl:when>
</xsl:choose> </xsl:choose>
<xsl:value-of select="$day"/>, <xsl:value-of select="$year"/> <xsl:value-of select="$day"/>, <xsl:value-of select="$year"/>
(<xsl:value-of select="$hour"/>:<xsl:value-of select="$minute"/>:<xsl:value-of select="$second"/> UTC) (<xsl:value-of select="$hour"/>:<xsl:value-of select="$minute"/>:<xsl:value-of select="$second"/> UTC)
</xsl:template> </xsl:template>
<!-- ************************************************************************* --> <!-- ************************************************************************* -->
<!-- ************************************************************************* --> <!-- ************************************************************************* -->
<!-- ******* Subversion stylesheet stfuff ******************** --> <!-- ******* Subversion stylesheet stfuff ******************** -->
<!-- ************************************************************************* --> <!-- ************************************************************************* -->
<!-- ************************************************************************* --> <!-- ************************************************************************* -->
<!-- ************************************************************************* --> <!-- ************************************************************************* -->
<xsl:template match="log"> <xsl:template match="log">
<xsl:for-each select="logentry"> <xsl:for-each select="logentry">
<xsl:sort order="descending" data-type="number" select="./@revision"/> <xsl:sort order="descending" data-type="number" select="./@revision"/>
<u>Revision</u>: <xsl:value-of select="@revision"/> <br/> <u>Revision</u>: <xsl:value-of select="@revision"/> <br/>
<u>Date</u>: <xsl:call-template name="format-date"><xsl:with-param name="xsd-date" select="date"/></xsl:call-template> <br/> <u>Date</u>: <xsl:call-template name="format-date"><xsl:with-param name="xsd-date" select="date"/></xsl:call-template> <br/>
<xsl:apply-templates select="msg"/> <xsl:apply-templates select="msg"/>
<xsl:apply-templates select="paths"/> <xsl:apply-templates select="paths"/>
<hr class="fullhr"/> <hr class="fullhr"/>
</xsl:for-each> </xsl:for-each>
</xsl:template> </xsl:template>
<!-- ************************************************************************* --> <!-- ************************************************************************* -->
<xsl:template name="paths"> <xsl:template name="paths">
<xsl:param name="type"/> <xsl:param name="type"/>
<xsl:param name="name"/> <xsl:param name="name"/>
<xsl:param name="color"/> <xsl:param name="color"/>
<xsl:if test="path[@action=$type]"> <xsl:if test="path[@action=$type]">
<div id="logb"> <div id="logb">
<div class="bsolid"><b><font color="{$color}"><xsl:value-of select="$name"/></font></b></div> <div class="bsolid"><b><font color="{$color}"><xsl:value-of select="$name"/></font></b></div>
<xsl:for-each select="path[@action = $type]"> <xsl:for-each select="path[@action = $type]">
<xsl:sort select="."/> <xsl:sort select="."/>
<xsl:choose> <xsl:choose>
<xsl:when test="position() mod 2 = 0"> <xsl:when test="position() mod 2 = 0">
<div id="row1"><xsl:value-of select="."/></div> <div id="row1"><xsl:value-of select="."/></div>
</xsl:when> </xsl:when>
<xsl:otherwise> <xsl:otherwise>
<div id="row2"><xsl:value-of select="."/></div> <div id="row2"><xsl:value-of select="."/></div>
</xsl:otherwise> </xsl:otherwise>
</xsl:choose> </xsl:choose>
</xsl:for-each> </xsl:for-each>
</div> </div>
</xsl:if> </xsl:if>
</xsl:template> </xsl:template>
<!-- ************************************************************************* --> <!-- ************************************************************************* -->
<xsl:template match="paths"> <xsl:template match="paths">
<xsl:call-template name="paths"> <xsl:call-template name="paths">
<xsl:with-param name="type">M</xsl:with-param> <xsl:with-param name="type">M</xsl:with-param>
<xsl:with-param name="name">Modified</xsl:with-param> <xsl:with-param name="name">Modified</xsl:with-param>
<xsl:with-param name="color">black</xsl:with-param> <xsl:with-param name="color">black</xsl:with-param>
</xsl:call-template> </xsl:call-template>
<xsl:call-template name="paths"> <xsl:call-template name="paths">
<xsl:with-param name="type">A</xsl:with-param> <xsl:with-param name="type">A</xsl:with-param>
<xsl:with-param name="name">Added</xsl:with-param> <xsl:with-param name="name">Added</xsl:with-param>
<xsl:with-param name="color">blue</xsl:with-param> <xsl:with-param name="color">blue</xsl:with-param>
</xsl:call-template> </xsl:call-template>
<xsl:call-template name="paths"> <xsl:call-template name="paths">
<xsl:with-param name="type">D</xsl:with-param> <xsl:with-param name="type">D</xsl:with-param>
<xsl:with-param name="name">Deleted</xsl:with-param> <xsl:with-param name="name">Deleted</xsl:with-param>
<xsl:with-param name="color">red</xsl:with-param> <xsl:with-param name="color">red</xsl:with-param>
</xsl:call-template> </xsl:call-template>
</xsl:template> </xsl:template>
<xsl:template match="msg"> <xsl:template match="msg">
<pre><xsl:value-of select="."/></pre> <pre><xsl:value-of select="."/></pre>
</xsl:template> </xsl:template>
<!-- ************************************************************************* --> <!-- ************************************************************************* -->
</xsl:stylesheet> </xsl:stylesheet>
move all the function bodies in widgets.h to cpp. move all the function bodies in widgets.h to cpp.
Hide all windows header files in a cpp file. Hide all windows header files in a cpp file.
smart pointer that uses a memory manager. think memory pool with pool pointers smart pointer that uses a memory manager. think memory pool with pool pointers
make a function to make a vector of vectors look like a matrix make a function to make a vector of vectors look like a matrix
add something to unroll a matrix into a vector add something to unroll a matrix into a vector
add row_cat and col_cat matrix functions add row_cat and col_cat matrix functions
add a quadratic classifier add a quadratic classifier
make a multiline text field make a multiline text field
make htmlify work right on tempalte function calls make htmlify work right on tempalte function calls
mutual information based feature selection mutual information based feature selection
make the popup menus from the menu_bar always put themselves on the screen make the popup menus from the menu_bar always put themselves on the screen
add toggle menu item styles add toggle menu item styles
improve unicode support in on_keydown() improve unicode support in on_keydown()
make widgets take ustring as well as std::string make widgets take ustring as well as std::string
add a popup menu region sort of like the tooltip widget add a popup menu region sort of like the tooltip widget
make other widgets have a user settable style make other widgets have a user settable style
find all uses of std::rand() and replace them with rand_kernel_1 find all uses of std::rand() and replace them with rand_kernel_1
add a function to display an image in a window. add a function to display an image in a window.
make the binary search tree's add function return a make the binary search tree's add function return a
pointer to the thing it just added pointer to the thing it just added
add an object that represents an atomic counter so I can make some thread add an object that represents an atomic counter so I can make some thread
safe reference counting stuff. Probably use the one from boost. safe reference counting stuff. Probably use the one from boost.
add an option to the logger to send log messages add an option to the logger to send log messages
to a thread instead of writing them directly to a thread instead of writing them directly
to the ostream. Or maybe make a threaded streambuf to the ostream. Or maybe make a threaded streambuf
that sits on top of a normal stream buffer but that sits on top of a normal stream buffer but
adds a thread for the io... adds a thread for the io...
make the matrix have a template argument that determined if the data is stored make the matrix have a template argument that determined if the data is stored
in row_major or column_major order. in row_major or column_major order.
maybe add an enable_events() function to base_window maybe add an enable_events() function to base_window
add a toolbar_button that has a picture and text in it. add a toolbar_button that has a picture and text in it.
make an ostream_fork object that lets you make an ostream that writes to two make an ostream_fork object that lets you make an ostream that writes to two
other ostream objects. other ostream objects.
make something that parses strings of the form "key ='value' key2='value'" make something that parses strings of the form "key ='value' key2='value'"
add some sha-256 stuff add some sha-256 stuff
uulib-threadsafe implementation uulib-threadsafe implementation
http://www.fpx.de/fp/Software/UUDeview/ http://www.fpx.de/fp/Software/UUDeview/
add an example that uses the new checking extension for the cmd_line_parser. maybe make a add an example that uses the new checking extension for the cmd_line_parser. maybe make a
program that adds numbers and whatnot as an example and have it validate the numbers or something. program that adds numbers and whatnot as an example and have it validate the numbers or something.
add some extensions to the dir_nav stuff that know how to pull out various parts of a path. add some extensions to the dir_nav stuff that know how to pull out various parts of a path.
like the parent directory of a file and such. like the parent directory of a file and such.
make a widget that lets you use the mouse to define geometric shapes on the screen make a widget that lets you use the mouse to define geometric shapes on the screen
modify the if in the reference_counter::modify() function so that it works modify the if in the reference_counter::modify() function so that it works
better with the branch predictor better with the branch predictor
Add a progress bar and password field to the gui_widgets Add a progress bar and password field to the gui_widgets
make sure constructors that take parameters that need to be checked make sure constructors that take parameters that need to be checked
get checked *before* they are passed on to the base class constructors. get checked *before* they are passed on to the base class constructors.
make the hashing objects take a normal size rather than expnum make the hashing objects take a normal size rather than expnum
make a linear hashing object on top of the array and use a binary search tree make a linear hashing object on top of the array and use a binary search tree
for pathological buckets. for pathological buckets.
********************************************* *********************************************
make conditioning_class_kernel_3 have a pointer into its array that tells it how many make conditioning_class_kernel_3 have a pointer into its array that tells it how many
elements are used. this way it doesn't need to zero everything on construction. elements are used. this way it doesn't need to zero everything on construction.
a command line "percent complete bar". something that uses \r and looks like a command line "percent complete bar". something that uses \r and looks like
|========== | 25% |========== | 25%
or something like that. that would be nice. or something like that. that would be nice.
some object that abstracts configuration managment. like windows has the registry and some object that abstracts configuration managment. like windows has the registry and
linux and posix stuff has basically nothing except for /etc and ~/.yourprogram sort of crap. linux and posix stuff has basically nothing except for /etc and ~/.yourprogram sort of crap.
I should make an object that lets you "save" information to disk and then get it later. but I should make an object that lets you "save" information to disk and then get it later. but
you shouldn't need to know if you are using windows or a posix OS or any of that crap you shouldn't need to know if you are using windows or a posix OS or any of that crap
the parsing end event in the xml parser should tell you the line number that parsing eneded on the parsing end event in the xml parser should tell you the line number that parsing eneded on
an object which can fill an array of unsigned longs with primes an object which can fill an array of unsigned longs with primes
look for places to remove the use of references to arguments. use a look for places to remove the use of references to arguments. use a
temporary where appropriate temporary where appropriate
make an implementation of sequence that is just an array with slack on each end make an implementation of sequence that is just an array with slack on each end
something that mesures cpu clock ticks something that mesures cpu clock ticks
something that helps you make pdf files. Just read the PDF standard and think something that helps you make pdf files. Just read the PDF standard and think
up cool stuff. :) up cool stuff. :)
english word set with perfect hashing english word set with perfect hashing
something that helps you find perfect hash functions for a given data set something that helps you find perfect hash functions for a given data set
make something like the linker object but that has some events that tell you make something like the linker object but that has some events that tell you
when data is being sent so you can see what each side is sending. when data is being sent so you can see what each side is sending.
modify sequence_kernel_1 so that when you access the same element more than once at a time modify sequence_kernel_1 so that when you access the same element more than once at a time
it takes O(1) time it takes O(1) time
make some bayesian text categorizer make some bayesian text categorizer
implement the hash table described on comp.programming. the one implement the hash table described on comp.programming. the one
that uses an "infinite" array of buckets of sizes that are powers that uses an "infinite" array of buckets of sizes that are powers
of two with the watermark. of two with the watermark.
also change the specs for hash table to say that the num_of_buckets is also change the specs for hash table to say that the num_of_buckets is
an initial suggestion as to the size of the hash table. not an absolute an initial suggestion as to the size of the hash table. not an absolute
rule for the implementation. say that it is a guaranteed lower bound or something rule for the implementation. say that it is a guaranteed lower bound or something
an object that makes it easy to save data to the end of an executable file. an object that makes it easy to save data to the end of an executable file.
email objects email objects
new sockets stuff, UDP sockets, non-blocking sockets, IO multiplexing, negal alg on/off new sockets stuff, UDP sockets, non-blocking sockets, IO multiplexing, negal alg on/off
make a priority queue make a priority queue
an echo object for networking shit. holds connections and echos any data from one connection an echo object for networking shit. holds connections and echos any data from one connection
to all the others to all the others
a broadcast object. holds connections and allows you to send data to all of them easily a broadcast object. holds connections and allows you to send data to all of them easily
file sender function file sender function
an object which represents a file containing many text lines an object which represents a file containing many text lines
like an array of strings which represents a file. like an array of strings which represents a file.
make an object that facilitates the creation of a gnutelli like broadcast network. make an object that facilitates the creation of a gnutelli like broadcast network.
could be useful for making someting like a distributed server. and that only requires a could be useful for making someting like a distributed server. and that only requires a
few computers so its something actually doable without the support of 100,000 people few computers so its something actually doable without the support of 100,000 people
a few ideas about this. when you connect to the first person on the network you then send a few ideas about this. when you connect to the first person on the network you then send
out a ping message and the pong messages you get back are from people who want more out a ping message and the pong messages you get back are from people who want more
connections, the message tells you how many hops away they are and how many connections connections, the message tells you how many hops away they are and how many connections
they currently have. you pick the one that is the farthest away and then to break any they currently have. you pick the one that is the farthest away and then to break any
ties you pick the one with the least number of connections. ties you pick the one with the least number of connections.
an object which allows you to replace strings in a file with something else. possibly event driven. an object which allows you to replace strings in a file with something else. possibly event driven.
you give it a set of strings to look for and when it finds them you get an event and can write you give it a set of strings to look for and when it finds them you get an event and can write
whatever you want and then it continues on looking for more strings. whatever you want and then it continues on looking for more strings.
an object which will pick out all the links in an html file and any other convenient information from an object which will pick out all the links in an html file and any other convenient information from
the file. the file.
make numerical stuff like, a big integer, big real, integration stuff, differentiation stuff, make numerical stuff like, a big integer, big real, integration stuff, differentiation stuff,
matrix stuff, etc... matrix stuff, etc...
make a framework for creating web page interfaces to a program. have stuff like buttons, make a framework for creating web page interfaces to a program. have stuff like buttons,
listboxes, dropdown boxes, checkboxes, etc... listboxes, dropdown boxes, checkboxes, etc...
a kind of pop3 proxy that can perform mail filtering. like picking out and taging spam a kind of pop3 proxy that can perform mail filtering. like picking out and taging spam
so that crappy email clients like netscape can put the spam into a folder so that crappy email clients like netscape can put the spam into a folder
the filter could also buffer stuff it thought as spam for a while. like hold it for a few hours and then let it be passed on. this way all the spam comes wrapped together. and so most of the time you get a flag saying you have mail it won't be spam. only somtimes will it be the packet of spam. the filter could also buffer stuff it thought as spam for a while. like hold it for a few hours and then let it be passed on. this way all the spam comes wrapped together. and so most of the time you get a flag saying you have mail it won't be spam. only somtimes will it be the packet of spam.
for the bigint object: for the bigint object:
also consider adding a function which returns an unsigned short which contains the two least significant bytes from the bigint also consider adding a function which returns an unsigned short which contains the two least significant bytes from the bigint
an object which knows all about the different time zones and what not. it could convert time from GMT to whatever local timezone you are in. and any other useful conversions an object which knows all about the different time zones and what not. it could convert time from GMT to whatever local timezone you are in. and any other useful conversions
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment