<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_loader.rb</a></tt></td><td align="right" id="added">+10</td><td align="right" id="removed">-6</td><td nowrap="nowrap" align="center">249 -> 250</td></tr>
<tr class="alt"><td><tt><a href="#file2">doc_comment.rb</a></tt></td><td align="right" id="added">+1</td><td align="right" id="removed">-1</td><td nowrap="nowrap" align="center">249 -> 250</td></tr>
<tr><td><tt>parse/<a href="#file3">lexer.rb</a></tt></td><td align="right" id="added">+6</td><td></td><td nowrap="nowrap" align="center">249 -> 250</td></tr>
<tr class="alt"><td><tt>ui/<a href="#file4">cli.rb</a></tt></td><td align="right" id="added">+1</td><td align="right" id="removed">-1</td><td nowrap="nowrap" align="center">249 -> 250</td></tr>
<tr><td></td><td align="right" id="added">+18</td><td align="right" id="removed">-8</td><td></td></tr>
</table>
<small id="info">4 modified files</small><br />
<pre class="comment">
Make reports of unhandled javadoc tags include the source file name
</pre>
<hr /><a name="file1" /><div class="file">
<span class="pathname">trunk/as2api</span><br />
<div class="fileheader"><big><b>api_loader.rb</b></big> <small id="info">249 -> 250</small></div>
<pre class="diff"><small id="info">--- trunk/as2api/api_loader.rb        2005-11-06 23:26:39 UTC (rev 249)
+++ trunk/as2api/api_loader.rb        2005-11-07 00:01:11 UTC (rev 250)
@@ -11,11 +11,13 @@
</small></pre><pre class="diff" id="context"> ActionScript::Parse::ASToken.module_eval("attr_accessor :last_comment")
</pre><pre class="diff" id="removed">-def simple_parse(input)
</pre><pre class="diff" id="added">+def simple_parse(input<span id="addedchars">, source</span>)
</pre><pre class="diff" id="context"> as_io = ASIO.new(input)
</pre><pre class="diff" id="removed">- lex = DocASLexer.new(ActionScript::Parse::ASLexer.new(as_io))
- parse = DocASParser.new(lex)
- handler = DocASHandler.new
</pre><pre class="diff" id="added">+ lex = ActionScript::Parse::ASLexer.new(as_io)
+ lex.source = source
+ skip = DocASLexer.new(lex)
+ parse = DocASParser.new(skip)
+ handler = DocASHandler.new(source)
</pre><pre class="diff" id="context"> parse.handler = handler
parse.parse_compilation_unit
handler.defined_type
</pre><pre class="diff"><small id="info">@@ -26,7 +28,7 @@
</small></pre><pre class="diff" id="context"> File.open(File.join(file.prefix, file.suffix)) do |io|
begin
is_utf8 = detect_bom?(io)
</pre><pre class="diff" id="removed">- type = simple_parse(io)
</pre><pre class="diff" id="added">+ type = simple_parse(io<span id="addedchars">, file.suffix</span>)
</pre><pre class="diff" id="context"> type.input_file = file
type.source_utf8 = is_utf8
return type
</pre><pre class="diff"><small id="info">@@ -100,7 +102,8 @@
</small></pre><pre class="diff" id="context"> # Builds a model of the API being processed as ActionScript::Parse::Parser
# recognises pieces of the ActionScript grammar
class DocASHandler < ActionScript::Parse::ASHandler
</pre><pre class="diff" id="removed">- def initialize
</pre><pre class="diff" id="added">+ def initialize<span id="addedchars">(source)</span>
+ @source = source
</pre><pre class="diff" id="context"> parse_conf_build = ConfigBuilder.new
@method_comment_config = parse_conf_build.build_method_config
@field_comment_config = parse_conf_build.build_field_config
</pre><pre class="diff"><small id="info">@@ -253,6 +256,7 @@
</small></pre><pre class="diff" id="context"> input = StringIO.new(comment_token.body)
input.lineno = comment_token.lineno
lexer = ActionScript::ParseDoc::DocCommentLexer.new(input)
</pre><pre class="diff" id="added">+ lexer.source = @source
</pre><pre class="diff" id="context"> parser = ActionScript::ParseDoc::DocCommentParser.new(lexer)
handler = OurDocCommentHandler.new(comment_data, config, @type_resolver)
parser.handler = handler
</pre></div>
<hr /><a name="file2" /><div class="file">
<span class="pathname">trunk/as2api</span><br />
<div class="fileheader"><big><b>doc_comment.rb</b></big> <small id="info">249 -> 250</small></div>
<pre class="diff"><small id="info">--- trunk/as2api/doc_comment.rb        2005-11-06 23:26:39 UTC (rev 249)
+++ trunk/as2api/doc_comment.rb        2005-11-07 00:01:11 UTC (rev 250)
@@ -154,7 +154,7 @@
</small></pre><pre class="diff" id="context"> def handler_for(kind)
handler = @block_handlers[kind.body]
if handler.nil?
</pre><pre class="diff" id="removed">- parse_error("#{kind.lineno}: Unknown block tag @#{kind.body}")
</pre><pre class="diff" id="added">+ parse_error("#{kind.<span id="addedchars">source}:#{kind.</span>lineno}: Unknown block tag @#{kind.body}")
</pre><pre class="diff" id="context"> handler = NIL_HANDLER
end
handler
</pre></div>
<hr /><a name="file3" /><div class="file">
<span class="pathname">trunk/as2api/parse</span><br />
<div class="fileheader"><big><b>lexer.rb</b></big> <small id="info">249 -> 250</small></div>
<pre class="diff"><small id="info">--- trunk/as2api/parse/lexer.rb        2005-11-06 23:26:39 UTC (rev 249)
+++ trunk/as2api/parse/lexer.rb        2005-11-07 00:01:11 UTC (rev 250)
@@ -10,6 +10,7 @@
</small></pre><pre class="diff" id="context"> def initialize(body, lineno)
@body = body
@lineno = lineno
</pre><pre class="diff" id="added">+ @source = nil
</pre><pre class="diff" id="context"> end
def body
@body
</pre><pre class="diff"><small id="info">@@ -20,6 +21,7 @@
</small></pre><pre class="diff" id="context"> def to_s
@body
end
</pre><pre class="diff" id="added">+ attr_accessor :source
</pre><pre class="diff" id="context"> end
</pre><pre class="diff"><small id="info">@@ -29,8 +31,11 @@
</small></pre><pre class="diff" id="context"> @io = io
@tokens = Array.new
@eof = false
</pre><pre class="diff" id="added">+ @source = nil
</pre><pre class="diff" id="context"> end
</pre><pre class="diff" id="added">+ attr_accessor :source
+
</pre><pre class="diff" id="context"> def get_next
nextt
end
</pre><pre class="diff"><small id="info">@@ -54,6 +59,7 @@
</small></pre><pre class="diff" id="context"> end
def emit(token)
</pre><pre class="diff" id="added">+ token.source = @source
</pre><pre class="diff" id="context"> @tokens << token
end
</pre></div>
<hr /><a name="file4" /><div class="file">
<span class="pathname">trunk/as2api/ui</span><br />
<div class="fileheader"><big><b>cli.rb</b></big> <small id="info">249 -> 250</small></div>
<pre class="diff"><small id="info">--- trunk/as2api/ui/cli.rb        2005-11-06 23:26:39 UTC (rev 249)
+++ trunk/as2api/ui/cli.rb        2005-11-07 00:01:11 UTC (rev 250)
@@ -190,7 +190,7 @@
</small></pre><pre class="diff" id="context"> File.open(File.join(file.prefix, file.suffix)) do |io|
begin
        is_utf8 = detect_bom?(io)
</pre><pre class="diff" id="removed">-        type = simple_parse(io)
</pre><pre class="diff" id="added">+        type = simple_parse(io, file.suffix)
</pre><pre class="diff" id="context">         type.input_file = file
        type.source_utf8 = is_utf8
        type_agregator.add_type(type)
</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>