awesome/spec/wibox
Uli Schlachter c62d323d09 wibox.widget.base: Add caches for :layout and :fit
These caches, well, cache the result of the :layout and :fit callbacks on
widgets.

Clearing caches is done by recording dependencies between a widget. When a call
to base.fit_widget() or base.layout_widget() recursively causes another call to
such a function, this means that the earlier widget depends on the later widget.
This dependency is recorded and when the later widget emits
widget::layout_changed, the caches of all the widgets involved are cleared.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2015-09-06 18:57:21 +02:00
..
layout flex layout: Test signal emission 2015-09-05 14:51:36 +02:00
widget Add some tests for the textbox 2015-09-05 14:51:36 +02:00
hierarchy_spec.lua Tests: Have only one place for stubbing widgets 2015-09-06 18:57:07 +02:00
test_utils.lua wibox.widget.base: Add caches for :layout and :fit 2015-09-06 18:57:21 +02:00