Julien Danjou
db88877587
lua: split getopt_string/getopt_lstring; fix mouse corner
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-25 17:33:05 +02:00
Julien Danjou
6ec76c3b97
client: honor size hints is now by client
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-25 15:42:07 +02:00
Pierre Habouzit
0f23ce88cb
Divert lua string.len to a multibyte aware implementation.
...
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
2008-06-25 11:42:06 +02:00
Julien Danjou
38c48cf374
lua: remap on restart
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-24 17:39:06 +02:00
Pierre Habouzit
14f4e02e66
Replace tag_t lists with arrays.
...
This improves lots of code efficiency (we *know* how many tags we have
now, YA'RLY).
Also fix a \todo in client.c: since knowing the number of tags is cheap,
ignore props that don't match it.
Use many p_alloca for things that depends on the number of tags (no sane
user will have *thousands* of tags. This saves a few more mallocs.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
2008-06-23 17:37:19 +02:00
Julien Danjou
ab5119732d
use more tokenizer, with len
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-23 14:01:33 +02:00
Julien Danjou
c67c237bba
client: move floating_placement_set()
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-23 11:41:16 +02:00
Michael Gehring
9206a60e88
cmake: consolidate version strings
2008-06-22 22:13:06 +02:00
Julien Danjou
92f369e3aa
lua: userdata_new is now macro
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-18 18:31:35 +02:00
Julien Danjou
9490c0c3fd
ewmh: add support for _NET_WORKAREA
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-17 22:12:30 +02:00
Julien Danjou
5bae1f0c37
window: rework root_grabbuttons()
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-17 14:35:58 +02:00
Pierre Habouzit
9ea15fd224
And migrate the rest of the loop to the libev.
...
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
2008-06-17 00:30:53 +02:00
Pierre Habouzit
476c851510
Migrate the lua server to the libev.
...
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
2008-06-16 23:51:11 +02:00
Julien Danjou
1142c382f7
mouse: make button bindings objects
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-13 15:35:47 +02:00
Julien Danjou
3d8613daf4
Fix comments typos
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-12 13:42:39 +02:00
Julien Danjou
d702011b22
[lua] Typo in comment
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-11 09:25:57 +02:00
Julien Danjou
f11c913bc4
[lua] Fix gettop() usages
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-10 20:32:26 +02:00
Michael Gehring
1ca55927f0
[doxygen] Convert Lua documentation
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-10 20:12:51 +02:00
Julien Danjou
4573147196
[hooks] Rename newclient to `manage', add unmanage hook
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-10 19:03:10 +02:00
Julien Danjou
13a96b6edd
[keygrab] Add keygrabbing infrastructure
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-10 17:22:36 +02:00
Julien Danjou
1049393840
Revert "Replace tags by workspaces"
...
This reverts commit 00f966ea04
.
Revert "[focus] Fix bogus arguments"
This reverts commit 816b5d16bc
.
Revert "[mouse] Fix bug with floating"
This reverts commit 89daa72790
.
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-09 21:56:03 +02:00
Julien Danjou
00f966ea04
Replace tags by workspaces
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-09 16:30:46 +02:00
Michael Gehring
4af0791499
[lua] Split luaA_parserc into luaA_init/parserc
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-09 08:52:00 +02:00
Michael Gehring
35d1bc283f
Move default color/font initialization out of luaA_parserc
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-09 08:51:46 +02:00
Julien Danjou
4c41361d6c
[lua] Add object as argument to mouse click function
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-04 19:21:21 +02:00
Julien Danjou
b202b22314
[hooks] Fix timer resolution
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-31 23:43:28 +02:00
Julien Danjou
c332971b21
[draw] Rename draw_color_new() to xcolor_new()
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-30 12:34:38 +02:00
Julien Danjou
994f7abbc1
[lua] Add a timed hook
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-29 13:47:11 +02:00
Julien Danjou
b6e31563d0
[lua] Add new keybinding interface
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-28 12:15:00 +02:00
Julien Danjou
ebb56ce6b1
[client] Add a hook on urgent flag
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-28 11:08:48 +02:00
Julien Danjou
2e82fa5abf
[lua] Documentation fix for mouseover hook
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-28 10:13:27 +02:00
Julien Danjou
974e3859f7
[lua] Finish screen luaL_reg with NULL
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-28 06:49:32 +02:00
Julien Danjou
b1467494ea
Revert "[lua] Add a hook on standard fd activity"
...
This reverts commit 785c41f089
.
Too much potential deadlock problems.
2008-05-27 16:36:06 +02:00
Julien Danjou
60c8a3593d
[lua] Split screen.* out of awesome.*
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-27 16:07:17 +02:00
Julien Danjou
785c41f089
[lua] Add a hook on standard fd activity
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-27 15:56:14 +02:00
Julien Danjou
b1c20dd651
[lua] Document some functions
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-26 20:39:54 +02:00
Julien Danjou
0e3531d3a3
[client] Rework raise and mouse stuff
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-26 18:08:29 +02:00
Julien Danjou
f6f74c4565
[client] Add client.name_set() function and hook on title update
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-25 17:51:45 +02:00
Julien Danjou
0bbd2d4b3e
Rename AwesomeConf to awesome_t
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-24 08:59:27 +02:00
Julien Danjou
f76357499c
[lua] Add colors_set() function
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-23 18:15:41 +02:00
Julien Danjou
9a0ed4d0d3
[lua] Add an hook on arrange
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-23 17:09:34 +02:00
Julien Danjou
a04417494b
[mouse] Rename Button to button_t
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-23 15:12:01 +02:00
Julien Danjou
2313429a76
[lua] Remove useless extern widget
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-23 10:08:10 +02:00
Julien Danjou
648dc236f8
[lua] Fix wrong proto
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-21 17:28:54 +02:00
Julien Danjou
9754e1c039
[lua] Add awesome.font_set() to set the default font
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-21 17:03:10 +02:00
Julien Danjou
ad84eb52db
[lua] Remove deprecated luaL_openlib() calls
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-20 20:26:58 +02:00
Julien Danjou
680944d583
[build] Use autoheader & config.h
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-20 19:55:37 +02:00
Julien Danjou
fe3c152f2b
[lua] Use luaL_register() instead of deprecated luaL_openlib()
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-20 19:35:01 +02:00
Julien Danjou
7adc9efef3
[lua] Fix Lua lib path
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-20 18:10:02 +02:00
Julien Danjou
1f046b3c9f
[everything] Switch from libconfuse to Lua
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-20 18:01:15 +02:00