<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">api_diff.rb</a></tt></td><td align="right" id="added">+6</td><td align="right" id="removed">-8</td><td nowrap="nowrap" align="center">313 -> 314</td></tr>
</table>
<pre class="comment">
Account for ASAccess change, and bugfix for unresolved types
</pre>
<hr /><a name="file1" /><div class="file">
<span class="pathname">trunk/as2api</span><br />
<div class="fileheader"><big><b>api_diff.rb</b></big> <small id="info">313 -> 314</small></div>
<pre class="diff"><small id="info">--- trunk/as2api/api_diff.rb        2006-03-19 21:56:44 UTC (rev 313)
+++ trunk/as2api/api_diff.rb        2006-03-19 21:58:14 UTC (rev 314)
@@ -108,15 +108,13 @@
</small></pre><pre class="diff" id="context">
def diff_access(old_access, new_access)
visibility_change = diff_visibility(old_access.visibility, new_access.visibility)
</pre><pre class="diff" id="removed">- static_change = diff_static(old_access.is_static, new_access.is_static)
</pre><pre class="diff" id="added">+ static_change = diff_static(old_access.static?, new_access.static?)
</pre><pre class="diff" id="context"> [visibility_change, static_change]
end
def diff_visibility(old_visibility, new_visibility)
</pre><pre class="diff" id="removed">- old_vis = old_visibility.body
- new_vis = new_visibility.body
- if old_vis != new_vis
- VisibilityChange.new(old_vis, new_vis)
</pre><pre class="diff" id="added">+ if old_visibility != new_visibility
+ VisibilityChange.new(old_visibility, new_visibility)
</pre><pre class="diff" id="context"> else
nil
end
</pre><pre class="diff"><small id="info">@@ -143,12 +141,12 @@
</small></pre><pre class="diff" id="context"> if old_type.nil?
old_type_name = nil
else
</pre><pre class="diff" id="removed">- old_type_name = old_type.resolved_type.qualified_name
</pre><pre class="diff" id="added">+ old_type_name = old_type.resolved? ? old_type.resolved_type.qualified_name : old_type.local_name
</pre><pre class="diff" id="context"> end
if new_type.nil?
new_type_name = nil
else
</pre><pre class="diff" id="removed">- new_type_name = new_type.resolved_type.qualified_name
</pre><pre class="diff" id="added">+ new_type_name = new_type.resolved? ? new_type.resolved_type.qualified_name : new_type.local_name
</pre><pre class="diff" id="context"> end
if old_type_name != new_type_name
TypeSigChange.new(old_type_name, new_type_name)
</pre><pre class="diff"><small id="info">@@ -167,7 +165,7 @@
</small></pre><pre class="diff" id="context">
def arg_type_name(arg_type)
return nil if arg_type.nil?
</pre><pre class="diff" id="removed">- arg_type.resolved_type.qualified_name
</pre><pre class="diff" id="added">+ arg_type.resolved? ? arg_type.resolved_type.qualified_name : arg_type.local_name
</pre><pre class="diff" id="context"> end
def diff_args(old_args, new_args)
</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>