awesome/lib/awful
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
..
client Remove the *.in from all files. 2015-06-19 22:33:32 +02:00
layout Merge pull request #323 from actionless/grow-master 2015-09-03 08:53:19 +02:00
mouse Add finish callback to awful.mouse.client.move 2015-08-22 14:50:42 +02:00
widget Make tasklist garbage-collectable 2015-09-27 14:20:24 +02:00
autofocus.lua Use `hints` table argument with `request::activate` signal 2015-06-25 06:47:39 +02:00
button.lua Remove the *.in from all files. 2015-06-19 22:33:32 +02:00
client.lua Add missing hints argument in `awful.movetoscreen` 2015-09-11 22:30:47 +02:00
completion.lua Remove the *.in from all files. 2015-06-19 22:33:32 +02:00
dbus.lua Remove the *.in from all files. 2015-06-19 22:33:32 +02:00
ewmh.lua Merge pull request #438 from blueyed/ewmh-activate-raise-always 2015-09-25 10:16:03 +02:00
init.lua Remove the *.in from all files. 2015-06-19 22:33:32 +02:00
key.lua Remove the *.in from all files. 2015-06-19 22:33:32 +02:00
keygrabber.lua keygrabber.grabber: rename function name 2015-07-22 13:52:47 +02:00
menu.lua awful.menu: use beautiful.xresources.apply_dpi for margins 2015-08-01 17:47:51 +02:00
placement.lua placement.no_offscreen: add optional screen argument 2015-09-16 10:39:12 +02:00
prompt.lua Replace uses of color_strip_alpha with ensure_pango_color, refactor 2015-07-10 18:11:45 -04:00
remote.lua Remove the *.in from all files. 2015-06-19 22:33:32 +02:00
rules.lua awful.rules: factor out `matches` 2015-09-03 22:56:07 +02:00
screen.lua Add awful.screen.focused [FS#1029] 2015-07-21 12:51:45 +02:00
startup_notification.lua Remove the *.in from all files. 2015-06-19 22:33:32 +02:00
tag.lua Add optional limit for nmaster/ncol based on number of tiled windows 2015-09-19 12:05:28 +02:00
titlebar.lua drawable: Use a context table as first argument to :draw() 2015-08-12 11:17:48 +02:00
tooltip.lua test-leaks: Fix with Lua 5.1 2015-09-27 16:04:20 +02:00
util.lua spawn_with_line_callback: Add missing return 2015-09-03 19:57:57 +02:00
wibox.lua awful.wibox: round x/y/width/height wibox arguments 2015-08-12 14:14:14 +02:00