Julien Danjou
e4acb74a5a
luaa: split dofunction()
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-06-10 11:44:29 +02:00
Julien Danjou
f4e77bcab9
luaa: rename and change hooks_property macro()
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-06-04 17:51:04 +02:00
Julien Danjou
1f3fdce144
luaa: remove useless dostring()
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-06-04 17:20:12 +02:00
Julien Danjou
dc29720ef7
Replace lua_newtable() with lua_createtable()
...
Lua can preallocate space in table for array or non-array elements type.
This should improve performance when setting table, so when we can we
use lua_createtable() since this is just a gain.
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-25 15:04:27 +02:00
Nikos Ntarmos
715f95555a
libxdg-basedir 1.0.0 compatibility
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-18 18:51:04 +02:00
Uli Schlachter
7f663ad563
Add luaA_pushcolor() for pushing color_t*
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2009-04-18 14:02:21 +02:00
Uli Schlachter
99b521b2c7
Rename luaA_pushcolor() to luaA_pushxcolor()
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2009-04-18 14:02:21 +02:00
Julien Danjou
f473a107b0
cleanup #includes
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-17 16:52:25 +02:00
Julien Danjou
486ef71a7f
screen: replace screens pointer by a screen_t array
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-17 16:14:09 +02:00
Julien Danjou
a4a745d505
luaa: rename luaA_toudata2() to luaA_toudata()
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-12 15:11:33 +02:00
Julien Danjou
7da55e899b
luaa: remove luaA_toudata()
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-12 15:11:33 +02:00
Julien Danjou
d728875969
luaa: remove luaA_checkudata
...
We do not need it with the new system.
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-12 15:11:33 +02:00
Julien Danjou
7b75f9711d
luaa: remove useless DO_LUA_*
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-12 15:11:33 +02:00
Julien Danjou
81033d391b
client: use new object system
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-12 15:11:33 +02:00
Julien Danjou
70cbf6bedb
luaa: implement luaA_toudata() with simple pointer
...
This is needed for new object system.
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-12 15:11:32 +02:00
Julien Danjou
74e4200176
luaa: split tostring creation
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-12 15:11:32 +02:00
Julien Danjou
a1480ef7d8
luaobject: import
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-12 15:11:32 +02:00
Julien Danjou
e24df900bb
luaa: fix luaA_getopt_*
...
We let an element on the stack, that's bad.
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-10 18:50:23 +02:00
Julien Danjou
7dbb02adf3
awesome-client: remove socket code
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-08 17:56:25 +02:00
Julien Danjou
f7bca3271c
luaa: use only one xdgHandle for all
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-08 15:47:31 +02:00
Julien Danjou
cbf55449a3
luaa: split spawn() into spawn.c
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-03 13:09:17 +02:00
Julien Danjou
31aa7e66eb
luaa: remove otable C implementation
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-14 17:20:17 +01:00
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