[as2api-dev] [CVS trunk] Don't bother differentiating between field anchors and
method anchors.
David Holroyd
dave at badgers-in-foil.co.uk
Wed, 27 Jul 2005 23:09:50 +0000
<html>
<head>
<style><!--
body {background-color:#ffffff;}
.file {border:1px solid #eeeeee;margin-top:1em;margin-bottom:1em;}
.pathname {font-family:monospace; float:right;}
.fileheader {margin-bottom:.5em;}
.diff {margin:0;}
.tasklist {padding:4px;border:1px dashed #000000;margin-top:1em;}
.tasklist ul {margin-top:0;margin-bottom:0;}
tr.alt {background-color:#eeeeee}
#added {background-color:#ddffdd;}
#addedchars {background-color:#99ff99;font-weight:bolder;}
tr.alt #added {background-color:#ccf7cc;}
#removed {background-color:#ffdddd;}
#removedchars {background-color:#ff9999;font-weight:bolder;}
tr.alt #removed {background-color:#f7cccc;}
#info {color:#888888;}
#context {background-color:#eeeeee;}
td {padding-left:.3em;padding-right:.3em;}
tr.head {border-bottom-width:1px;border-bottom-style:solid;}
tr.head td {padding:0;padding-top:.2em;}
.task {background-color:#ffff00;}
.comment {padding:4px;border:1px dashed #000000;background-color:#ffffdd}
.error {color:red;}
hr {border-width:0px;height:2px;background:black;}
--></style>
</head>
<body>
<table cellspacing="0" cellpadding="0" border="0" rules="cols">
<tr class="head"><td colspan="4">Commit in <b><tt>trunk/as2api</tt></b><span id="info"> on MAIN</span></td></tr>
<tr><td><tt><a href="#file1">html_output.rb</a></tt></td><td align="right" id="added">+8</td><td align="right" id="removed">-8</td><td nowrap="nowrap" align="center"><a href="http://svn.badgers-in-foil.co.uk/viewcvs.cgi/as2api/trunk/as2api/html_output.rb?rev=213&content-type=text/vnd.viewcvs-markup">213</a> <a href="http://svn.badgers-in-foil.co.uk/viewcvs.cgi/as2api/trunk/as2api/html_output.rb.diff?r1=213&r2=214">-></a> <a href="http://svn.badgers-in-foil.co.uk/viewcvs.cgi/as2api/trunk/as2api/html_output.rb?rev=214&content-type=text/vnd.viewcvs-markup">214</a></td></tr>
</table>
<pre class="comment">
Don't bother differentiating between field anchors and method anchors.
ActionScript keeps both kinds of class member in the same namespace anyhow.
</pre>
<hr /><a name="file1" /><div class="file">
<span class="pathname"><a
href="http://svn.badgers-in-foil.co.uk/viewcvs.cgi/as2api/trunk">trunk</a>/<a
href="http://svn.badgers-in-foil.co.uk/viewcvs.cgi/as2api/trunk/as2api">as2api</a></span><br />
<div class="fileheader"><big><b>html_output.rb</b></big> <small id="info"><a href="http://svn.badgers-in-foil.co.uk/viewcvs.cgi/as2api/trunk/as2api/html_output.rb?rev=213&content-type=text/vnd.viewcvs-markup">213</a> <a href="http://svn.badgers-in-foil.co.uk/viewcvs.cgi/as2api/trunk/as2api/html_output.rb.diff?r1=213&r2=214">-></a> <a href="http://svn.badgers-in-foil.co.uk/viewcvs.cgi/as2api/trunk/as2api/html_output.rb?rev=214&content-type=text/vnd.viewcvs-markup">214</a></small></div>
<pre class="diff"><small id="info">--- trunk/as2api/html_output.rb 2005-07-27 23:00:13 UTC (rev 213)
+++ trunk/as2api/html_output.rb 2005-07-27 23:09:49 UTC (rev 214)
@@ -390,9 +390,9 @@
</small></pre><pre class="diff" id="context">
def link_for_field(field)
if @type == field.containing_type
</pre><pre class="diff" id="removed">- "#<span id="removedchars">field_</span>#{field.name}"
</pre><pre class="diff" id="added">+ "##{field.name}"
</pre><pre class="diff" id="context"> else
</pre><pre class="diff" id="removed">- "#{link_for_type(field.containing_type)}#<span id="removedchars">field_</span>#{field.name}"
</pre><pre class="diff" id="added">+ "#{link_for_type(field.containing_type)}##{field.name}"
</pre><pre class="diff" id="context"> end
end
</pre><pre class="diff"><small id="info">@@ -453,9 +453,9 @@
</small></pre><pre class="diff" id="context"> if inline.target.resolved?
href = link_for_type(inline.target.resolved_type)
if inline.member =~ /\(/
</pre><pre class="diff" id="removed">- target = "#<span id="removedchars">method_</span>#{$`}"
</pre><pre class="diff" id="added">+ target = "##{$`}"
</pre><pre class="diff" id="context"> else
</pre><pre class="diff" id="removed">- target = "#<span id="removedchars">field_</span>#{inline.member}"
</pre><pre class="diff" id="added">+ target = "##{inline.member}"
</pre><pre class="diff" id="context"> end
href << target
html_a("href"=>href) do
</pre><pre class="diff"><small id="info">@@ -468,9 +468,9 @@
</small></pre><pre class="diff" id="context"> link_type_proxy(inline.target)
else
if inline.member =~ /\(/
</pre><pre class="diff" id="removed">- target = "#<span id="removedchars">method_</span>#{$`}"
</pre><pre class="diff" id="added">+ target = "##{$`}"
</pre><pre class="diff" id="context"> else
</pre><pre class="diff" id="removed">- target = "#<span id="removedchars">field_</span>#{inline.member}"
</pre><pre class="diff" id="added">+ target = "##{inline.member}"
</pre><pre class="diff" id="context"> end
html_a("href"=>target) do
pcdata(inline.member)
</pre><pre class="diff"><small id="info">@@ -740,7 +740,7 @@
</small></pre><pre class="diff" id="context"> end
def document_field(field)
</pre><pre class="diff" id="removed">- html_a("", "name"=>"<span id="removedchars">field_</span>#{field.name}")
</pre><pre class="diff" id="added">+ html_a("", "name"=>"#{field.name}")
</pre><pre class="diff" id="context"> html_h3(field.name)
html_div("class"=>"field_details") do
field_synopsis(field)
</pre><pre class="diff"><small id="info">@@ -774,7 +774,7 @@
</small></pre><pre class="diff" id="context"> css_class = "method_details"
css_class << " alt_row" if alt_row
html_div("class"=>css_class) do
</pre><pre class="diff" id="removed">- html_a("", "name"=>"<span id="removedchars">method_</span>#{method.name}")
</pre><pre class="diff" id="added">+ html_a("", "name"=>"#{method.name}")
</pre><pre class="diff" id="context"> html_h3(method.name)
method_synopsis(method)
html_div("class"=>"method_info") do
</pre></div>
<center><small><a href="http://www.badgers-in-foil.co.uk/projects/cvsspam/" title="commit -> email">CVSspam</a> 0.2.11</small></center>
</body></html>