awesome/lib
Uli Schlachter 3e9fdea650 test-leaks: Fix with Lua 5.1
I have no idea why this needs collectgarbage() to be called twice.

On the other hand, I can explain the change in tooltip.lua. Lua 5.2 introduced
"ephermeron tables". This means that in the following sitation, lua 5.2 can
collect the entry from the table, while 5.1 keeps the entry alive, because the
table has a strong reference to the value and that in turn has a strong
reference to the key:

  t = setmetatable({}, { __mode = "k"})
  do
    local k = {}
    t[k] = function() print(k) end
  end
  collectgarbage("collect")
  print(next(t, nil))

To handle this incompatibility, this commit just removes the whole indirection
through the module-level variable "data".

Signed-off-by: Uli Schlachter <psychon@znc.in>
2015-09-27 16:04:20 +02:00
..
awful test-leaks: Fix with Lua 5.1 2015-09-27 16:04:20 +02:00
beautiful Use awful.util.round in beautiful.xresources.apply_dpi 2015-08-12 14:18:57 +02:00
gears Merge pull request #454 from psychon/remove_gears.debug.assert 2015-09-21 21:16:36 +02:00
menubar menubar: fix height to be rounded 2015-08-31 20:47:22 +02:00
naughty naughty.notify: improve doc for args.run 2015-09-23 20:56:17 +02:00
wibox leak test: Make the layoutbox test pass 2015-09-27 14:42:39 +02:00