# HG changeset patch # User bsw # Date 1340817507 -7200 # Node ID ca44dff90b4ebce60bc9dc50286083b7315f7b50 # Parent bfae497543a35eb9503ce2bc1a501af576c08469 Fixed ui.anchor diff -r bfae497543a3 -r ca44dff90b4e framework/env/trace/_close_section.lua --- a/framework/env/trace/_close_section.lua Wed Jun 27 19:11:18 2012 +0200 +++ b/framework/env/trace/_close_section.lua Wed Jun 27 19:18:27 2012 +0200 @@ -4,6 +4,7 @@ if not closed_section then error("All trace sections have been closed already.") end + --trace.debug("END " .. extos.monotonic_hires_time() .. " / " .. os.clock()) trace._stack[pos] = nil return closed_section end diff -r bfae497543a3 -r ca44dff90b4e framework/env/trace/_open_section.lua --- a/framework/env/trace/_open_section.lua Wed Jun 27 19:11:18 2012 +0200 +++ b/framework/env/trace/_open_section.lua Wed Jun 27 19:18:27 2012 +0200 @@ -2,5 +2,6 @@ local node = trace._new_entry(node) node.section = true table.insert(trace._stack, node) + --trace.debug("START " .. extos.monotonic_hires_time() .. " / " .. os.clock()) return node end diff -r bfae497543a3 -r ca44dff90b4e framework/env/ui/anchor.lua --- a/framework/env/ui/anchor.lua Wed Jun 27 19:11:18 2012 +0200 +++ b/framework/env/ui/anchor.lua Wed Jun 27 19:18:27 2012 +0200 @@ -10,11 +10,11 @@ --]]-- function ui.anchor(args) - local attr = table.new(attr) + local attr = table.new(args.attr) attr.name = args.name return ui.tag{ tag = "a", attr = attr, - content = content + content = args.content } end