Commit Graph

70 Commits

Author SHA1 Message Date
Julien Danjou f099e7de27 screen: modularize padding handling
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-14 10:28:23 +01:00
Julien Danjou b465fd7d2b luaa: rename luaA_deprecate()
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-12 16:51:41 +01:00
Julien Danjou 88025f3d16 luaa: remove useless luaA_getopt_string()
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-12 16:51:41 +01:00
Julien Danjou d1db6903fa luaa: check that function is not NIL before pushing and calling
Otherwise we may push unused elements because dofunction() checked
_after_ if the function was nil, or not.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-20 17:48:23 +01:00
Julien Danjou 3ebcc1aa5a luaa: add more deprecation information
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-14 12:12:01 +01:00
Julien Danjou 4e37a6cde2 luaaA: add luaA_unregister()
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-10 17:26:24 +01:00
Julien Danjou 2893d91bbf luaa: split include out of load, do it on init
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-08 14:22:20 +01:00
Julien Danjou 207df8e2b0 luaa: change deprecate() with more useful info
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-05 11:54:08 +01:00
Julien Danjou a9f3e379f4 luaa: new warning function
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-05 11:54:05 +01:00
Julien Danjou 16a2eadb66 wibox: check for table loops
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-27 14:17:12 +01:00
Julien Danjou 85c7bf07c9 luaa: merge tostring() with DO_LUA_NEW
Also use the same format as standard Lua for tostring output.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-26 16:15:49 +01:00
Julien Danjou 862fe193ee Rewrite {tag,task}list in Lua.
This removes the C implementation of taglist and tasklist widgets and
use a Lua one.

This works by letting .widgets property of wiboxes to be a table with
table, and setting a special metatable on them which notify awesome on
newindex events, updating wiboxes.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-20 20:06:09 +02:00
Julien Danjou 1f4df91c30 luaa: split luaA_register() out of luaA_registerfct()
This allow to register other items.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-20 11:43:58 +02:00
Julien Danjou e39535c9fd luaa: add stack dumping debug function
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-20 11:21:15 +02:00
Julien Danjou 148bc7760b luaa: add luaA_toudata()
Convert a object to a udata if possible.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-19 18:51:21 +02:00
Julien Danjou afbcd681be lua: add --check option
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-30 16:59:08 +02:00
Julien Danjou f374210382 client: add property hook
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-26 15:00:27 +02:00
Julien Danjou 0feb7de68e wibox: merge statusbars and titlebars Lua objects
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 14:34:43 +02:00
Julien Danjou 4193e81fa8 screen: merge with xscreen, remove screens_info
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 11:11:56 +02:00
Julien Danjou 6ac0c4130c image: merge draw_image_t and image_t
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 11:11:55 +02:00