changeset 1001:eb5364abce0c

HTML cleanup
author thomask
date Wed, 17 May 2006 06:06:45 +0000
parents ba40405a2a79
children a7310ceac844
files log.d readme.html
diffstat 2 files changed, 18 insertions(+), 20 deletions(-) [+]
line wrap: on
line diff
--- a/log.d	Wed May 17 04:58:30 2006 +0000
+++ b/log.d	Wed May 17 06:06:45 2006 +0000
@@ -487,7 +487,7 @@
 	char[] root;
 	Log[] log;
 	static const char[] header =
-		"<th>&nbsp;</th><th>-g</th><th>-inline</th>"
+		"<th>&#160;</th><th>-g</th><th>-inline</th>"
 		"<th>-fPIC</th><th>-O</th><th>-release</th>"
 		"<th>-g -inline</th><th>-g -fPIC</th><th>-g -O</th>"
 		"<th>-g -release</th><th>-inline -fPIC</th>"
@@ -549,8 +549,8 @@
 			stream.writeLine("<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>");
 			stream.writeLine("<html xmlns='http://www.w3.org/1999/xhtml'>");
 
-			stream.writeLine("<head><title>DStress - Torture: "~name~"</title><link rel='stylesheet' type='text/css' href='formate.css' /><meta name='author' content='Thomas K&uuml;hne' /><meta name='date' content='" ~ dateString() ~ "' /></head>");
-			stream.writeLine("<body><center><h1>DStress - Torture: "~name~"</h1></center><center><small>by Thomas K&uuml;hne &lt;thomas-at-kuehne.cn&gt;</small></center>");
+			stream.writeLine("<head><title>DStress - Torture: "~name~"</title><link rel='stylesheet' type='text/css' href='formate.css' /><meta name='author' content='Thomas K&#252;hne' /><meta name='date' content='" ~ dateString() ~ "' /></head>");
+			stream.writeLine("<body><center><h1>DStress - Torture: "~name~"</h1></center><center><small>by Thomas K&#252;hne &lt;thomas-at-kuehne.cn&gt;</small></center>");
 			stream.writeLine("<h2><a name='note' id='note'></a>Note</h2><blockquote>A detailed description of the testing and the used symbols can be found on the <a href='./dstress.html'>main page</a>.</blockquote>");
 		}
 		
@@ -588,7 +588,7 @@
 
 
 			stream.writeLine("<table border='1' summary='nummeric summary of the test results'>");
-			stream.writeLine("\t<tr><td>&nbsp;</td>"~header~"</tr>");
+			stream.writeLine("\t<tr><td>&#160;</td>"~header~"</tr>");
 			stream.writeLine("\t<tr class='" ~ cast(char)('A'+Result.PASS)~"'><th>PASS</th>" ~ streamLine(stats[Result.PASS >> 2])~"</tr>");
 			stream.writeLine("\t<tr class='" ~ cast(char)('A'+Result.XFAIL)~"'><th>XFAIL</th>" ~ streamLine(stats[Result.XFAIL >> 2])~"</tr>");
 			stream.writeLine("\t<tr class='" ~ cast(char)('A'+Result.XPASS)~"'><th>XPASS</th>" ~ streamLine(stats[Result.XPASS >> 2])~"</tr>");
@@ -601,7 +601,7 @@
 		{ // details
 			stream.writeLine("<h2><a name='details' id='details'></a>Details</h2>");
 			stream.writeLine("<table border='1' summary='detailed listing of all test cases with unexpected results'>");
-			stream.writeLine("<tr><td>&nbsp;</td>"~header~"</tr>");
+			stream.writeLine("<tr><td>&#160;</td>"~header~"</tr>");
 			
 			char[][] keys;
 			{
@@ -660,12 +660,12 @@
 				}
 			}
 
-			stream.writeLine("<tr><td>&nbsp;</td>"~header~"</tr>");
+			stream.writeLine("<tr><td>&#160;</td>"~header~"</tr>");
 			stream.writeLine("</table>");
 		}
 		
 		{ // footer
-			stream.writeLine("<div><br /><br /><hr /><a href='http://dstress.kuehne.cn/www/"~cleanName~".html'>http://dstress.kuehne.cn/www/"~cleanName~".html</a>&nbsp; &nbsp;" ~ dateString() ~ "</div>");
+			stream.writeLine("<div><br /><br /><hr /><a href='http://dstress.kuehne.cn/www/"~cleanName~".html'>http://dstress.kuehne.cn/www/"~cleanName~".html</a>&#160; &#160;" ~ dateString() ~ "</div>");
 			stream.writeLine("<!-- Start of StatCounter Code -->");
 			stream.writeLine("<script type='text/javascript'><!-- var sc_project=1337754; var sc_invisible=1; var sc_partition=12; var sc_security=\"a4a998fe\"; var sc_remove_link=1; //--> </script>");
 			stream.writeLine("<script type='text/javascript' src='http://www.statcounter.com/counter/counter_xhtml.js'></script><noscript><div class='statcounter'><img src='http://c13.statcounter.com/counter.php?sc_project=1337754&amp;amp;java=0&amp;amp;security=a4a998fe&amp;amp;invisible=1' class='statcounter' alt='counter' /></div></noscript>");
@@ -767,14 +767,14 @@
 		// output
 		stream.writeLine("<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>");
 		stream.writeLine("<html xmlns='http://www.w3.org/1999/xhtml'>");
-		stream.writeLine("<head><title>DStress Report</title><link rel='stylesheet' type='text/css' href='formate.css' /><meta name='author' content='Thomas K&uuml;hne' /><meta name='date' content='"~dateString()~"' /></head>");
+		stream.writeLine("<head><title>DStress Report</title><link rel='stylesheet' type='text/css' href='formate.css' /><meta name='author' content='Thomas K&#252;hne' /><meta name='date' content='"~dateString()~"' /></head>");
 		stream.writeLine("<body><center><h1>DStress Report</h1></center>");
 		stream.writeLine("<h2><a name='note' id='note'></a>Note</h2>");
-		stream.writeLine("<blockquote>A detailed description of the testing and the used symbols can be found on the <a href='./dstress.html'>main page</a>.</blockquote>");
+		stream.writeLine("<blockquote><p>A detailed description of the testing and the used symbols can be found on the <a href='./dstress.html'>main page</a>.<p></blockquote>");
 		stream.writeLine("<h2><a name='summary' id='summary'></a>Summary</h2>");
 
 		stream.writeLine("<table border='1' summary='nummeric summary of the test results'>");
-		char[] versionHeader = "<tr><td>&nbsp;</td>";
+		char[] versionHeader = "<tr><td>&#160;</td>";
 		{ // version header
 			foreach(Log l; log){
 				char[] name = l.id;
@@ -808,7 +808,7 @@
 		stream.writeLine(versionHeader);
 		stream.writeLine("</table>");
 		
-		stream.writeLine("<div><br /><br /><hr /><a href='http://dstress.kuehne.cn/www/results.html'>http://dstress.kuehne.cn/www/results.html</a>&nbsp; &nbsp;"~dateString()~"</div>");
+		stream.writeLine("<div><br /><br /><hr /><a href='http://dstress.kuehne.cn/www/results.html'>http://dstress.kuehne.cn/www/results.html</a>&#160; &#160;"~dateString()~"</div>");
 
 		stream.writeLine("<!-- Start of StatCounter Code -->");
 		stream.writeLine("<script type='text/javascript'><!-- var sc_project=1337754; var sc_invisible=1; var sc_partition=12; var sc_security=\"a4a998fe\"; var sc_remove_link=1; //--> </script>");
--- a/readme.html	Wed May 17 04:58:30 2006 +0000
+++ b/readme.html	Wed May 17 06:06:45 2006 +0000
@@ -25,12 +25,12 @@
 	</head>
 	<body>
 
-		<center><h2><a id="top" name="top"></a>DStress - a D compiler test suite</h2><p>&#169; 2004, 2005 Thomas K&uuml;hne &lt;thomas [at] kuehne.cn&gt;</p></center>
+		<h2 align="center"><a id="top" name="top"></a>DStress - a D compiler test suite</h2><p align="center">&#169; 2004, 2005, 2006 Thomas K&#252;hne &lt;thomas [at] kuehne.cn&gt;</p>
 
 
 		<h3><a name="abstract" id="abstract" href="#top">^</a> Abstract</h3>
-		<blockquote>
-			 DStress is a collection of bug tracking and language conformance test cases for the <a href="http://digitalmars.com/d/">D programming language</a>. This document describes the use of the testing framework. The test summary can be found at <a href="./www/dstress.html">http://dstress.kuehne.cn/www/dstress.html</a> and a complete listing at <a href="./www/results.html">http://dstress.kuehne.cn/www/results.html</a>.
+		<blockquote><p>
+			 DStress is a collection of bug tracking and language conformance test cases for the <a href="http://digitalmars.com/d/">D programming language</a>. This document describes the use of the testing framework. The test summary can be found at <a href="./www/dstress.html">http://dstress.kuehne.cn/www/dstress.html</a> and a complete listing at <a href="./www/results.html">http://dstress.kuehne.cn/www/results.html</a>.</p>
 		</blockquote>
 
 		<h3><a name="index" id="index" href="#top">^</a> Index</h3>
@@ -73,7 +73,7 @@
 
 		<h3><a name="symbols" id="symbols" href="#top">^</a> Symbols</h3>
 		<blockquote>
-			 The symbols are the same as those used by the <a href="http://www.gnu.org/software/dejagnu/">DejaGnu</a> test framework.
+			 <p>The symbols are the same as those used by the <a href="http://www.gnu.org/software/dejagnu/">DejaGnu</a> test framework.</p>
 			<dl>
 				<dt>PASS</dt>
 					<dd>test case was expected to pass, and it did</dd>
@@ -91,7 +91,6 @@
 		<h3><a name="environment-settings" id="environment-settings" href="#top">^</a> Environment Settings</h3>
 		<blockquote>
 			<dl>
-				<dd>
 					<dt>DMD</dt>
 						<dd>the D compiler, e.g.: <i>c:\dmd\bin\dmd.exe</i></dd>
 						<dd>use the wrapper <i>gdmd</i> for the GDC compiler</dd>
@@ -100,13 +99,12 @@
 						<dd>a debugger with gdb-like commands, e.g.: <i>/usr/local/bin/gdb</i></dd>
 						<dd>default value: <i>gdb</i></dd>
 						<dd>note: only used on POSIX operating systems (e.g. BSD, Linux, Unix)</dd>
-				</dd>
 			</dl>
 		</blockquote>
 
 		<h3><a name="testcase-settings" id="testcase-settings" href="#top">^</a> Testcase Settings</h3>
 		<blockquote>
-			The settings starts with the end of one of the markers listed below and continues until the end of the line.
+			<p>The settings starts with the end of one of the markers listed below and continues until the end of the line.</p>
 			<dl>
 				<dt>__DSTRESS_DFLAGS__</dt>
 					<dd>additional compiler arguments</dd>
@@ -193,7 +191,7 @@
 
 		<h3><a name="sourcecode-metadata" id="sourcecode-metadata" href="#top">^</a> Sourcecode Metadata</h3>
 		<blockquote>
-			Metadata starts with one of the markers listed below and continues until the end of the line.
+			<div>Metadata starts with one of the markers listed below and continues until the end of the line.</div>
 			<dl>
 				<dt>@author@</dt>
 					<dd>the bug/testcase reporter</dd>
@@ -210,6 +208,6 @@
 			</dl>
 		</blockquote>
 
-		<div><br /><br /><hr /><a href='http://dstress.kuehne.cn/www/dstress.html'>http://dstress.kuehne.cn/readme.html</a>; 2006-05-14; <a href="mailto:webmastro@kuehne.cn">Webmaster</a></div>
+		<div><br /><br /><hr /><a href='http://dstress.kuehne.cn/www/dstress.html'>http://dstress.kuehne.cn/readme.html</a>; 2006-05-17; <a href="mailto:webmastro@kuehne.cn">Webmaster</a></div>
 	</body>
 </html>