<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;}
  #copied {background-color:#ccccff;}
  tr.alt #copied {background-color:#bbbbf7;}
  #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 {white-space:-moz-pre-wrap;white-space:-pre-wrap;white-space:-o-pre-wrap;white-space:pre-wrap;word-wrap:break-word;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="5">Commit in <b><tt>as2api/trunk/as2api/lib</tt></b></td></tr>
<tr><td><tt><a href="#file1">api_diff.rb</a></tt> </td><td></td><td align="right" id="added">+16</td><td align="right" id="removed">-1</td><td nowrap="nowrap" align="center">348 -&gt; 349</td></tr>
<tr class="alt"><td><tt>output/html/<a href="#file2">diff.rb</a></tt> </td><td></td><td align="right" id="added">+74</td><td align="right" id="removed">-8</td><td nowrap="nowrap" align="center">348 -&gt; 349</td></tr>
<tr><td></td><td></td><td align="right" id="added">+90</td><td align="right" id="removed">-9</td><td></td></tr>
</table>
<small id="info">2 modified files</small><br />
<pre class="comment">
Summarise change info for packages and types
</pre>
<hr /><a name="file1" /><div class="file">
<span class="pathname">as2api/trunk/as2api/lib</span><br />
<div class="fileheader"><big><b>api_diff.rb</b></big> <small id="info">348 -&gt; 349</small></div>
<pre class="diff"><small id="info">--- trunk/as2api/lib/api_diff.rb        2006-03-30 20:45:14 UTC (rev 348)
+++ trunk/as2api/lib/api_diff.rb        2006-03-30 21:54:28 UTC (rev 349)
@@ -195,7 +195,7 @@
</small></pre><pre class="diff" id="context">     @modified_packages = modified_packages
   end
 
</pre><pre class="diff" id="removed">-  attr_accessor :added_packages, :removed_packages, :modified_packages
</pre><pre class="diff" id="added">+  attr_accessor :added_packages, :removed_packages, :modified_packages, :api_name, :api_old_ver, :api_new_ver
</pre><pre class="diff" id="context"> end
 
 
</pre><pre class="diff"><small id="info">@@ -208,6 +208,14 @@
</small></pre><pre class="diff" id="context">   end
 
   attr_accessor :name, :added_types, :removed_types, :modified_types
</pre><pre class="diff" id="added">+
+  def added_types?; !@added_types.empty?; end
+  def removed_types?; !@removed_types.empty?; end
+  def modified_types?; !@modified_types.empty?; end
+
+  def default?
+    name.nil? || name == ""
+  end
</pre><pre class="diff" id="context"> end
 
 class TypeChanges
</pre><pre class="diff"><small id="info">@@ -221,6 +229,13 @@
</small></pre><pre class="diff" id="context">     @modified_fields = modified_fields
   end
 
</pre><pre class="diff" id="added">+  def added_methods?; !@added_methods.empty?; end
+  def modified_methods?; !@modified_methods.empty?; end
+  def removed_methods?; !@removed_methods.empty?; end
+  def added_fields?; !@added_fields.empty?; end
+  def removed_fields?; !@removed_fields.empty?; end
+  def modified_fields?; !@modified_fields.empty?; end
+
</pre><pre class="diff" id="context">   attr_accessor :new_type, :added_methods, :removed_methods, :modified_methods, :added_fields, :removed_fields, :modified_fields
 end
 
</pre></div>
<hr /><a name="file2" /><div class="file">
<span class="pathname">as2api/trunk/as2api/lib/output/html</span><br />
<div class="fileheader"><big><b>diff.rb</b></big> <small id="info">348 -&gt; 349</small></div>
<pre class="diff"><small id="info">--- trunk/as2api/lib/output/html/diff.rb        2006-03-30 20:45:14 UTC (rev 348)
+++ trunk/as2api/lib/output/html/diff.rb        2006-03-30 21:54:28 UTC (rev 349)
@@ -119,10 +119,32 @@
</small></pre><pre class="diff" id="context">       pcdata(name)
     end
 
</pre><pre class="diff" id="removed">-    summary_table(@api_changes.modified_packages, _("Modified Packages")) do |as_package|
-      name = package_display_name_for(as_package)
-      href = package_link_for(as_package, "package-summary.html")
-      html_a(name, {"href"=&gt;href})
</pre><pre class="diff" id="added">+    summary_table_tr(@api_changes.modified_packages, _("Modified Packages")) do |as_package|
+      html_td do
+        name = package_display_name_for(as_package)
+        href = package_link_for(as_package, "package-summary.html")
+        html_a(name, {"href"=&gt;href})
+      end
+      html_td do
+        lastcount = 0
+        if as_package.added_types?
+          pcdata(_("%d added") % as_package.added_types.length)
+          lastcount = as_package.added_types.length
+        end
+        if as_package.modified_types?
+          pcdata(", ") unless lastcount.zero?
+          pcdata(_("%d changed") % as_package.modified_types.length)
+          lastcount = as_package.modified_types.length
+        end
+        if as_package.removed_types?
+          pcdata(", ") unless lastcount.zero?
+          pcdata(_("%d removed") % as_package.removed_types.length)
+          lastcount = as_package.removed_types.length
+        end
+        pcdata(" ")
+        pcdata(n_("type", "types", lastcount.to_i))
+        pcdata(".")
+      end
</pre><pre class="diff" id="context">     end
 
     summary_table(@api_changes.removed_packages, _("Removed Packages")) do |as_package|
</pre><pre class="diff"><small id="info">@@ -150,10 +172,54 @@
</small></pre><pre class="diff" id="context">       link_type(as_type)
     end
 
</pre><pre class="diff" id="removed">-    summary_table(@package_changes.modified_types, _("Modified Types")) do |as_type|
-      name = as_type.new_type.unqualified_name
-      href = "#{name}.html"
-      html_a(name, {"href", href})
</pre><pre class="diff" id="added">+    summary_table_tr(@package_changes.modified_types, _("Modified Types")) do |as_type|
+      html_td do
+        name = as_type.new_type.unqualified_name
+        href = "#{name}.html"
+        html_a(name, {"href", href})
+      end
+      html_td do
+        if as_type.added_methods? || as_type.modified_methods? || as_type.removed_methods?
+          lastcount = 0
+          if as_type.added_methods?
+            pcdata(_("%d added") % as_type.added_methods.length)
+            lastcount = as_type.added_methods.length
+          end
+          if as_type.modified_methods?
+            pcdata(", ") unless lastcount.zero?
+            pcdata(_("%d changed") % as_type.modified_methods.length)
+            lastcount = as_type.modified_methods.length
+          end
+          if as_type.removed_methods?
+            pcdata(", ") unless lastcount.zero?
+            pcdata(_("%d removed") % as_type.removed_methods.length)
+            lastcount = as_type.removed_methods.length
+          end
+          pcdata(" ")
+          pcdata(n_("method", "methods", lastcount.to_i))
+          pcdata(".")
+        end
+        if as_type.added_fields? || as_type.modified_fields? || as_type.removed_fields?
+          lastcount = 0
+          if as_type.added_fields?
+            pcdata(_("%d added") % as_type.added_fields.length)
+            lastcount = as_type.added_fields.length
+          end
+          if as_type.modified_fields?
+            pcdata(", ") unless lastcount.zero?
+            pcdata(_("%d changed") % as_type.modified_fields.length)
+            lastcount = as_type.modified_fields.length
+          end
+          if as_type.removed_fields?
+            pcdata(", ") unless lastcount.zero?
+            pcdata(_("%d removed") % as_type.removed_fields.length)
+            lastcount = as_type.removed_fields.length
+          end
+          pcdata(" ")
+          pcdata(n_("field", "fields", lastcount.to_i))
+          pcdata(".")
+        end
+      end
</pre><pre class="diff" id="context">     end
 
     summary_table(@package_changes.removed_types, _("Removed Types")) do |as_type|
</pre></div>
<center><small><a href="http://www.badgers-in-foil.co.uk/projects/cvsspam/" title="commit -&gt; email">CVSspam</a> 0.2.12</small></center>
</body></html>