<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_model.rb</a></tt> </td><td></td><td align="right" id="added">+10</td><td></td><td nowrap="nowrap" align="center">367 -&gt; 368</td></tr>
<tr class="alt"><td><tt>output/html/<a href="#file2">diff.rb</a></tt> </td><td></td><td align="right" id="added">+1</td><td align="right" id="removed">-2</td><td nowrap="nowrap" align="center">367 -&gt; 368</td></tr>
<tr><td><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/<a href="#file3">html_framework.rb</a></tt> </td><td></td><td align="right" id="added">+3</td><td></td><td nowrap="nowrap" align="center">367 -&gt; 368</td></tr>
<tr><td></td><td></td><td align="right" id="added">+14</td><td align="right" id="removed">-2</td><td></td></tr>
</table>
<small id="info">3 modified files</small><br />
<div class="tasklist"><ul>
<li><a href="#task1">TODO: What package?  [default], I suppose.  Don't want to have to check</a></li>
</ul></div>
<pre class="comment">
Some infrastructure to start constructing links to documentation from the api-diff pages
</pre>
<hr /><a name="file1" /><div class="file">
<span class="pathname">as2api/trunk/as2api/lib</span><br />
<div class="fileheader"><big><b>api_model.rb</b></big> <small id="info">367 -&gt; 368</small></div>
<pre class="diff"><small id="info">--- trunk/as2api/lib/api_model.rb        2006-04-03 21:19:16 UTC (rev 367)
+++ trunk/as2api/lib/api_model.rb        2006-04-03 21:24:25 UTC (rev 368)
@@ -183,6 +183,9 @@
</small></pre><pre class="diff" id="context">     @package_name = ""
     @document = false
   end
</pre><pre class="diff" id="added">+
<a name="task1" />+  # <span class="task">TODO</span>: What package?  [default], I suppose.  Don't want to have to check
+  #       for astype.package.nil? everywhere
</pre><pre class="diff" id="context"> end
 
 AS_VOID = ASVoidType.new
</pre><pre class="diff"><small id="info">@@ -429,10 +432,17 @@
</small></pre><pre class="diff" id="context">   def initialize(name)
     @name = name
     @types = []
</pre><pre class="diff" id="added">+    @doc_base = nil
</pre><pre class="diff" id="context">   end
 
   attr_accessor :name
   
</pre><pre class="diff" id="added">+  # If non-nil, the base URL at which documentation for this package's
+  # contents can be located.  Used for packages other than the ones being
+  # documented in this run, so that we can construct links to existing
+  # API documentation sets.
+  attr_accessor :doc_base
+
</pre><pre class="diff" id="context">   def add_type(astype)
     @types &lt;&lt; astype
   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">367 -&gt; 368</small></div>
<pre class="diff"><small id="info">--- trunk/as2api/lib/output/html/diff.rb        2006-04-03 21:19:16 UTC (rev 367)
+++ trunk/as2api/lib/output/html/diff.rb        2006-04-03 21:24:25 UTC (rev 368)
@@ -115,8 +115,7 @@
</small></pre><pre class="diff" id="context">     end
 
     summary_table(@api_changes.added_packages, _("Added Packages")) do |as_package|
</pre><pre class="diff" id="removed">-      name = package_display_name_for(as_package)
-      pcdata(name)
</pre><pre class="diff" id="added">+      link_package_summary(as_package)
</pre><pre class="diff" id="context">     end
 
     summary_table_tr(@api_changes.modified_packages, _("Modified Packages")) do |as_package|
</pre></div>
<hr /><a name="file3" /><div class="file">
<span class="pathname">as2api/trunk/as2api/lib/output/html</span><br />
<div class="fileheader"><big><b>html_framework.rb</b></big> <small id="info">367 -&gt; 368</small></div>
<pre class="diff"><small id="info">--- trunk/as2api/lib/output/html/html_framework.rb        2006-04-03 21:19:16 UTC (rev 367)
+++ trunk/as2api/lib/output/html/html_framework.rb        2006-04-03 21:24:25 UTC (rev 368)
@@ -208,8 +208,11 @@
</small></pre><pre class="diff" id="context">   def link_next; end
 
   def link_for_type(type)
</pre><pre class="diff" id="added">+    return nil if type == AS_VOID
</pre><pre class="diff" id="context">     if type.document?
       base_path(type.qualified_name.gsub(/\./, URL_SEPERATOR)+".html")
</pre><pre class="diff" id="added">+    elsif type.package &amp;&amp; type.package.doc_base
+      type.package.doc_base + URL_SEPERATOR + type.qualified_name.gsub(/\./, URL_SEPERATOR)+".html"
</pre><pre class="diff" id="context">     else
       nil
     end
</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>