Commit Graph

90 Commits

Author SHA1 Message Date
Julien Danjou b76e0e52d9 luaa: add enhanced type() function
This one recognizes awesome type.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-14 10:28:23 +01:00
Julien Danjou 26de388c4c client: add mouse_leave hook
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-14 10:28:22 +01:00
Julien Danjou 2037a053a9 layout: move layout code to Lua
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-14 10:28:21 +01:00
Julien Danjou 79ae3ab72a dbus: export in Lua request_name()
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-12 19:19:28 +01:00
Julien Danjou a4254b195d dbus: add D-Bus hooks
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-12 16:51:41 +01:00
Julien Danjou 0e972d4845 mousegrabber: import
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-12 16:51:41 +01:00
Julien Danjou 506e453a2f remove deprecated functions
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-12 16:51:40 +01:00
Julien Danjou 1bc9d234e5 luaa: pop element if we do not call lua_next()
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-10 10:10:49 +01:00
Julien Danjou 3d2c205969 luaa: check that object is a table before calling lua_next()
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-09 16:45:02 +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 f8c9b93be9 luaa: use fg/bg as keys for colors
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-13 15:18:56 +01:00
Julien Danjou 292f09bb93 luaa: add support for conffile in index
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-13 15:18:41 +01:00
Julien Danjou 590077004a luaa: add {new,}index to awesome lib, use for font
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-13 15:13:19 +01:00
Julien Danjou 83eadb46cb util: check asprintf return
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-10 10:36:39 +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 3a2236abb0 luaa: clean XDG_CONDIG_DIR package path adding
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-08 13:22:59 +01:00
Julien Danjou 278ec5acd4 luaa: just expand path
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-07 16:57:11 +01:00
Julien Danjou 8234da4517 luaa: add XDG_CONFIG_DIR as include path
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-07 16:42:59 +01:00
Julien Danjou 4c5a6b1df2 luaa: add support for meta __ipairs
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-06 17:33:58 +01:00
Julien Danjou 6ad02f9836 luaa: add compatibility for mouse_add
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-05 11:57:52 +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 8e66a543bc draw: remove phys_screen from font handling
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-04 17:50:10 +01:00
Julien Danjou 3e97d5ff13 lua: color pushlstring gets real len
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-03 16:48:06 +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 c8a461686a hooks: split out of luaa
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-26 18:54:40 +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 ba66ae8035 hooks: add clients hook
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-20 15:04:56 +02:00
Julien Danjou bc5569ab94 luaa: send back but do not block (FS#338)
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-13 11:17:43 +02:00
Julien Danjou c8640013c2 lua: return on socket init failure
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-04 10:11:43 +02:00
Julien Danjou b382754f3e lua: merge font and colors setters code, add comments
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-01 09:55:28 +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 116de39142 lua: add awesome.conffile()
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-30 15:35:47 +02:00
Julien Danjou 5709435392 wibox: rework, merge titlebar
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-26 15:00:42 +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 cd24dcf59d luaa: remove useless csio2 variable
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 14:41:31 +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 f4648c2e26 wibox: wibox_refresh merge statusbar and titlebar
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 11:11:56 +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