awesome/docs
Uli Schlachter da6012da3e Fix memory leak in the default config on screen removal
The default config had tables like mywibox and mywibox[s] was the wibox
that is visible on screen s. When a screen is removed, nothing cleans up
these tables and so the screen and the wibox could not be garbage
collected. The same applies to the layoutbox, taglist etc.

This commit removes the global mywibox table and instead saves it as a
property on the screen. This way, the screen is not explicitly
referenced and when it is removed, the screen, its wibox and all of its
widgets become unreachable and can be garbage collected.

This commit also updates the docs and the tests that referenced things
(mostly the wibox) via mywibox[s] to now use s.mywibox.

Fixes: https://github.com/awesomeWM/awesome/issues/1125
Signed-off-by: Uli Schlachter <psychon@znc.in>
2016-09-30 22:46:51 +02:00
..
aliases doc: Merge awful.mouse and mouse documentation pages 2016-04-30 04:27:34 -04:00
common doc: Document cursors 2016-09-26 00:40:20 -04:00
images doc: Add proper mouse documentation 2016-04-30 04:27:34 -04:00
00-authors.md Fixup display of e-mail adresses in the docs. 2015-02-28 23:14:13 +01:00
01-readme.md Add a list of build dependencies to the readme (#1087) 2016-09-12 23:46:47 +02:00
02-contributing.md Fix indenting for code in list 2016-03-13 17:17:36 +01:00
03-declarative-layout.md Fix memory leak in the default config on screen removal 2016-09-30 22:46:51 +02:00
04-new-widgets.md doc: Move the new widget documentation to a new file 2016-02-10 01:25:41 -05:00
05-awesomerc.md.lua doc: Document rc.lua 2016-09-26 00:40:20 -04:00
06-appearance.md.lua doc: Begin to document the themes better. 2016-09-26 00:40:19 -04:00
16-using-cairo.md Fix memory leak in the default config on screen removal 2016-09-30 22:46:51 +02:00
90-FAQ.md Fix memory leak in the default config on screen removal 2016-09-30 22:46:51 +02:00
config.ld doc: Document rc.lua 2016-09-26 00:40:20 -04:00
doing_a_release.md Import DoingARelease from the wiki 2016-05-01 10:08:43 +02:00
load_ldoc.cmake doc: Add a system to share ldoc content across multiple files 2016-05-09 01:37:47 -04:00
widget_lists.cmake doc: Add a system to auto-generate widgets list 2016-05-30 18:00:58 -04:00