Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mcs/tools/corcompare/cormissing.xsl')
-rw-r--r--mcs/tools/corcompare/cormissing.xsl424
1 files changed, 0 insertions, 424 deletions
diff --git a/mcs/tools/corcompare/cormissing.xsl b/mcs/tools/corcompare/cormissing.xsl
deleted file mode 100644
index a87c396354c..00000000000
--- a/mcs/tools/corcompare/cormissing.xsl
+++ /dev/null
@@ -1,424 +0,0 @@
-<?xml version="1.0" ?>
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
-
- <xsl:output method="html" indent="no"/>
- <!-- <xsl:output method="xml"/>-->
- <xsl:strip-space elements="*"/>
-
- <xsl:template match="/">
-<!--
- <HTML>
- <HEAD>
- <TITLE>
- Mono Class Library Status
- </TITLE>
- <SCRIPT src="cormissing.js"></SCRIPT>
- <LINK rel="stylesheet" type="text/css" href="cormissing.css"></LINK>
- </HEAD>
- <BODY onLoad="onLoad();">
- <P>
- <H1>Mono Class Library Status</H1>
- </P>
--->
- <P>
- <TABLE>
- <TR>
- <TD> <INPUT type="checkbox" ID="todo" onClick="selectTodo();" checked="1"/> </TD>
- <TD> <IMG src="cm/st.gif"/> </TD>
- <TD> TODO </TD>
- <TD width="20"/>
- <TD> <INPUT type="checkbox" ID="missing" onClick="selectMissing();" checked="1"/> </TD>
- <TD> <IMG src="cm/sm.gif"/> </TD>
- <TD> Missing </TD>
- </TR>
- <TR>
- <TD> <INPUT type="checkbox" ID="extra" onClick="selectExtra();" checked="1"/> </TD>
- <TD> <IMG src="cm/sx.gif"/> </TD>
- <TD> Extra </TD>
- <TD width="20"/>
- <TD> <INPUT type="checkbox" ID="errors" onClick="selectErrors();" checked="1"/> </TD>
- <TD> <IMG src="cm/se.gif"/> </TD>
- <TD> Errors </TD>
- </TR>
- <TR>
- <TD> </TD>
- <TD> <IMG src="cm/sc.gif"/> </TD>
- <TD> Completed </TD>
- </TR>
- </TABLE>
- </P>
- <DIV ID="ROOT">
- <xsl:apply-templates/>
- </DIV>
-<!--
- </BODY>
- </HTML>
--->
- </xsl:template>
-
-
-
- <!-- assembly -->
- <xsl:template match="/assemblies">
- <xsl:apply-templates select="assembly">
- <xsl:sort select="@name"/>
- </xsl:apply-templates>
- </xsl:template>
-
- <xsl:template match="assemblies/assembly[@missing_total or @todo_total or @extra_total or @warning_total or @error or @presence]">
- <DIV>
- <xsl:call-template name="ELEMENT">
- <xsl:with-param name="class">y</xsl:with-param>
- </xsl:call-template>
- <xsl:if test="not(@presence)">
- <xsl:apply-templates/>
- </xsl:if>
- </DIV>
- </xsl:template>
-
-
- <!-- namespace -->
- <xsl:template match="assembly/namespaces">
- <xsl:apply-templates select="namespace">
- <xsl:sort select="@name"/>
- </xsl:apply-templates>
- </xsl:template>
-
- <xsl:template match="namespaces/namespace[@missing_total or @todo_total or @extra_total or @warning_total or @error or @presence]">
- <DIV>
- <xsl:call-template name="ELEMENT">
- <xsl:with-param name="class">n</xsl:with-param>
- </xsl:call-template>
- <xsl:if test="not(@presence)">
- <xsl:apply-templates/>
- </xsl:if>
- </DIV>
- </xsl:template>
-
-
- <xsl:template match="namespace/classes">
- <xsl:apply-templates select="interface">
- <xsl:sort select="@name"/>
- </xsl:apply-templates>
- <xsl:apply-templates select="class">
- <xsl:sort select="@name"/>
- </xsl:apply-templates>
- <xsl:apply-templates select="struct">
- <xsl:sort select="@name"/>
- </xsl:apply-templates>
- <xsl:apply-templates select="delegate">
- <xsl:sort select="@name"/>
- </xsl:apply-templates>
- <xsl:apply-templates select="enum">
- <xsl:sort select="@name"/>
- </xsl:apply-templates>
- </xsl:template>
-
-
- <!-- class -->
- <xsl:template match="classes/class[@missing_total or @todo_total or @extra_total or @warning_total or @error or @presence]">
- <DIV>
- <xsl:call-template name="ELEMENT">
- <xsl:with-param name="class">c</xsl:with-param>
- </xsl:call-template>
- <xsl:if test="not(@presence)">
- <xsl:apply-templates select="attributes"/>
- <xsl:apply-templates select="interfaces"/>
- <xsl:apply-templates select="constructors"/>
- <xsl:apply-templates select="./*[local-name() != 'attributes' and local-name() != 'constructors' and local-name() != 'interfaces']"/>
- </xsl:if>
- </DIV>
- </xsl:template>
-
-
- <!-- struct -->
- <xsl:template match="classes/struct[@missing_total or @todo_total or @extra_total or @warning_total or @error or @presence]">
- <DIV>
- <xsl:call-template name="ELEMENT">
- <xsl:with-param name="class">s</xsl:with-param>
- </xsl:call-template>
- <xsl:if test="not(@presence)">
- <xsl:apply-templates/>
- </xsl:if>
- </DIV>
- </xsl:template>
-
-
-
- <!-- interface -->
- <xsl:template match="interfaces">
- <xsl:apply-templates select="interface">
- <xsl:sort select="@name"/>
- </xsl:apply-templates>
- </xsl:template>
-
- <xsl:template match="interface[@missing_total or @todo_total or @extra_total or @warning_total or @error or @presence]">
- <DIV>
- <xsl:call-template name="ELEMENT">
- <xsl:with-param name="class">i</xsl:with-param>
- </xsl:call-template>
- <xsl:if test="not(@presence)">
- <xsl:apply-templates/>
- </xsl:if>
- </DIV>
- </xsl:template>
-
-
- <!-- delegate -->
- <xsl:template match="classes/delegate[@missing_total or @todo_total or @extra_total or @warning_total or @error or @presence]">
- <DIV>
- <xsl:call-template name="ELEMENT">
- <xsl:with-param name="class">d</xsl:with-param>
- </xsl:call-template>
- <xsl:if test="not(@presence)">
- <xsl:apply-templates/>
- </xsl:if>
- </DIV>
- </xsl:template>
-
-
- <!-- enumeration -->
- <xsl:template match="classes/enum[@missing_total or @todo_total or @extra_total or @warning_total or @error or @presence]">
- <DIV>
- <xsl:call-template name="ELEMENT">
- <xsl:with-param name="class">en</xsl:with-param>
- </xsl:call-template>
- <xsl:if test="not(@presence)">
- <xsl:apply-templates/>
- </xsl:if>
- </DIV>
- </xsl:template>
-
-
- <!-- method -->
- <xsl:template match="methods">
- <xsl:apply-templates select="method">
- <xsl:sort select="@name"/>
- </xsl:apply-templates>
- </xsl:template>
-
- <xsl:template match="methods/method[@missing_total or @todo_total or @extra_total or @warning_total or @error or @presence]">
- <DIV>
- <xsl:call-template name="ELEMENT">
- <xsl:with-param name="class">m</xsl:with-param>
- </xsl:call-template>
- <xsl:if test="not(@presence)">
- <xsl:apply-templates/>
- </xsl:if>
- </DIV>
- </xsl:template>
-
-
- <!-- property -->
- <xsl:template match="properties">
- <xsl:apply-templates select="property">
- <xsl:sort select="@name"/>
- </xsl:apply-templates>
- </xsl:template>
-
- <xsl:template match="properties/property[@missing_total or @todo_total or @extra_total or @warning_total or @error or @presence]">
- <DIV>
- <xsl:call-template name="ELEMENT">
- <xsl:with-param name="class">p</xsl:with-param>
- </xsl:call-template>
- <xsl:if test="not(@presence)">
- <xsl:apply-templates/>
- </xsl:if>
- </DIV>
- </xsl:template>
-
-
- <!-- event -->
- <xsl:template match="events">
- <xsl:apply-templates select="event">
- <xsl:sort select="@name"/>
- </xsl:apply-templates>
- </xsl:template>
-
- <xsl:template match="events/event[@missing_total or @todo_total or @extra_total or @warning_total or @error or @presence]">
- <DIV>
- <xsl:call-template name="ELEMENT">
- <xsl:with-param name="class">e</xsl:with-param>
- </xsl:call-template>
- <xsl:if test="not(@presence)">
- <xsl:apply-templates/>
- </xsl:if>
- </DIV>
- </xsl:template>
-
-
- <!-- constructor -->
- <xsl:template match="constructors">
- <xsl:apply-templates select="constructor">
- <xsl:sort select="@name"/>
- </xsl:apply-templates>
- </xsl:template>
-
- <xsl:template match="constructors/constructor[@missing_total or @todo_total or @extra_total or @warning_total or @error or @presence]">
- <DIV>
- <xsl:call-template name="ELEMENT">
- <xsl:with-param name="class">x</xsl:with-param>
- <xsl:with-param name="image">m</xsl:with-param>
- </xsl:call-template>
- <xsl:if test="not(@presence)">
- <xsl:apply-templates/>
- </xsl:if>
- </DIV>
- </xsl:template>
-
-
- <!-- field -->
- <xsl:template match="fields">
- <xsl:apply-templates select="field">
- <xsl:sort select="@name"/>
- </xsl:apply-templates>
- </xsl:template>
-
- <xsl:template match="fields/field[@missing_total or @todo_total or @extra_total or @warning_total or @error or @presence]">
- <DIV>
- <xsl:call-template name="ELEMENT">
- <xsl:with-param name="class">f</xsl:with-param>
- </xsl:call-template>
- <xsl:if test="not(@presence)">
- <xsl:apply-templates/>
- </xsl:if>
- </DIV>
- </xsl:template>
-
- <!-- accessor -->
- <xsl:template match="property/accessors">
- <xsl:apply-templates select="method">
- <xsl:sort select="@name"/>
- </xsl:apply-templates>
- </xsl:template>
-
- <xsl:template match="property[@missing_total or @todo_total or @extra_total or @warning_total or @error or @presence]/accessors/method[@missing_total or @todo_total or @extra_total or @warning_total or @error or @presence]">
- <DIV>
- <xsl:call-template name="ELEMENT">
- <xsl:with-param name="class">o</xsl:with-param>
- <xsl:with-param name="image">m</xsl:with-param>
- </xsl:call-template>
- <xsl:if test="not(@presence)">
- <xsl:apply-templates/>
- </xsl:if>
- </DIV>
- </xsl:template>
-
-
- <!-- attribute -->
- <xsl:template match="attributes">
- <xsl:apply-templates select="attribute">
- <xsl:sort select="@name"/>
- </xsl:apply-templates>
- </xsl:template>
-
- <xsl:template match="attributes/attribute[@missing_total or @todo_total or @extra_total or @warning_total or @error or @presence]">
- <DIV>
- <xsl:call-template name="ELEMENT">
- <xsl:with-param name="class">r</xsl:with-param>
- </xsl:call-template>
- <xsl:if test="not(@presence)">
- <xsl:apply-templates/>
- </xsl:if>
- </DIV>
- </xsl:template>
-
-
-
- <!-- support templates -->
-
- <xsl:template name="ELEMENT">
- <xsl:param name="class"/>
- <xsl:param name="image"/>
- <xsl:attribute name="class">
- <xsl:value-of select="$class"/>
- <xsl:if test="./node() and local-name() != 'assembly'">_</xsl:if>
- </xsl:attribute>
- <xsl:call-template name="toggle"/>
- <xsl:choose>
- <xsl:when test="@error != 'todo'">
- <xsl:element name="img">
- <xsl:attribute name="src">cm/se.gif</xsl:attribute>
- <xsl:attribute name="class">t</xsl:attribute>
- <xsl:attribute name="title"><xsl:apply-templates select="warnings/warning" mode="hover"/></xsl:attribute>
- </xsl:element>
- </xsl:when>
- <xsl:when test="@error = 'todo'">
- <img src="cm/st.gif" class="t"/>
- </xsl:when>
- <xsl:when test="@presence = 'missing'">
- <img src="cm/sm.gif" class="t"/>
- </xsl:when>
- <xsl:when test="@presence = 'extra'">
- <img src="cm/sx.gif" class="t"/>
- </xsl:when>
- <xsl:otherwise>
- <img src="cm/sc.gif" class="t"/>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:choose>
- <xsl:when test="$image">
- <img src="cm/{$image}.gif" class="t"/>
- </xsl:when>
- <xsl:otherwise>
- <img src="cm/{$class}.gif" class="t"/>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:call-template name="name"/>
- <xsl:if test="not(@presence)">
- <xsl:call-template name="status"/>
- </xsl:if>
- </xsl:template>
-
- <xsl:template name="status">
- <xsl:if test="@complete and @complete != 0">
- <SPAN class="st">
- <img src="cm/sc.gif"/>: <xsl:value-of select="@complete"/>%
- </SPAN>
- </xsl:if>
- <xsl:if test="@todo_total">
- <SPAN class="st">
- <img src="cm/st.gif"/>: <xsl:value-of select="@todo_total"/>
- </SPAN>
- </xsl:if>
- <xsl:if test="@missing_total">
- <SPAN class="st">
- <img src="cm/sm.gif"/>: <xsl:value-of select="@missing_total"/>
- </SPAN>
- </xsl:if>
- <xsl:if test="@extra_total">
- <SPAN class="st">
- <img src="cm/sx.gif"/>: <xsl:value-of select="@extra_total"/>
- </SPAN>
- </xsl:if>
- <xsl:if test="@warning_total">
- <SPAN class="st">
- <img src="cm/se.gif"/>: <xsl:value-of select="@warning_total"/>
- </SPAN>
- </xsl:if>
- </xsl:template>
-
- <xsl:template name="toggle">
- <xsl:choose>
- <xsl:when test="not(@presence) and .//*[@missing_total or @todo_total or @extra_total or @warning_total or @error or @presence] and local-name() != 'assembly'">
- <IMG src="cm/tp.gif" class="t"/>
- </xsl:when>
- <xsl:when test="not(@presence) and .//*[@missing_total or @todo_total or @extra_total or @warning_total or @error or @presence]">
- <IMG src="cm/tm.gif" class="t"/>
- </xsl:when>
- <xsl:otherwise>
- <IMG src="cm/tb.gif"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-
- <xsl:template name="name">
- <xsl:if test="@name">
- <SPAN class="l"><xsl:value-of select="@name"/></SPAN>
- </xsl:if>
- </xsl:template>
-
- <xsl:template match="warnings/warning" mode="hover"> WARNING: <xsl:value-of select="@text"/>
- </xsl:template>
-
-</xsl:stylesheet>