Julien Danjou
903e694611
util: add a_strsplit()
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-08 14:07:34 +02:00
Julien Danjou
5a5a1b32c3
dbus: remove spurious printf
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-08 10:55:18 +02:00
Julien Danjou
3de2bf3918
dbus: add client support
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-08 10:54:57 +02:00
Julien Danjou
1d64f8231c
client: use atom name to update title
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-08 08:42:39 +02:00
Julien Danjou
63b0457fc4
version: enhance printing
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-02 18:41:08 +02:00
Julien Danjou
fad964dd3c
doxygen: add lfield
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-02 17:59:26 +02:00
Julien Danjou
64e390e2a3
textbox: documente index
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-02 17:59:06 +02:00
Julien Danjou
b3a16bc6ad
build: add support for __index in widgets
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-02 17:57:16 +02:00
marco candrian
2b767c2352
widgets: use vector_t for the color-gradients course.
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-02 13:59:30 +02:00
marco candrian
3074c3fdf4
progressbar: cosmetic
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-02 13:59:25 +02:00
Pierre Habouzit
46ea7c45aa
Get rid of the color name, and generate a #RGBA value on the fly if needed.
...
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-02 11:09:10 +02:00
Pierre Habouzit
924078c898
Streamline xcolor_t.
...
Do not have a ->name char * field, but a char[32] instead. This isn't a
big problem, the longest color in /etc/X11/rgb.txt is 23 chars long, and
if it becomes a problem one day, one could just strip the name and
generate an hexadecimal representation on the fly instead. But allocating
the name is asking for a lot of trouble.
Since we do not allocate anything anymore, just don't allocate anything
anymore at all, it avoids the mess of xcolor_copy/_wipe and fixes a lot of
sleeping bugs (p_dup were used e.g., which is wrong).
Pass xcolor_t *, xcolor_t becomes too big to be passed by value. Add
consts at some places.
xcolor_new allocates nothing, hence is renamed xcolor_init, has xcolor_t
as a first argument (OO-style, this is self), and doesn't touch the
structure at all if it returns false, which allow us to skip a lot of
intermediates values.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-02 10:36:46 +02:00
Julien Danjou
b8310ffd38
widget: documente index
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-02 10:34:14 +02:00
Julien Danjou
414e227a1a
build: add support for documentation of __index
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-02 10:32:35 +02:00
Julien Danjou
2c5333e9a3
mouse: merge screen_get() into index
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-02 09:14:17 +02:00
Julien Danjou
ab72f6f02b
mouse: add newindex, merge coords
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-02 09:11:03 +02:00
Julien Danjou
0cbf293e13
mouse: add __index
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-02 09:00:59 +02:00
marco candrian
0c4b56a065
add fg_off to set + fix copy/paste typo
...
- widgets/progressbar.c | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-02 08:10:46 +02:00
Julien Danjou
3e9cf64123
titlebar: fix memory leak on error, add widget_remove
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-01 22:58:59 +02:00
Julien Danjou
78eca81072
statusbar: fix the loop on widget_remove
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-01 22:58:44 +02:00
Julien Danjou
1437f68ae1
lua: move padding to screen
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-01 22:37:35 +02:00
Pierre Habouzit
16bc2a8de8
Add a tags target, cmake already knows install needs build.
...
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-01 22:19:44 +02:00
Julien Danjou
52ba1392c6
client: merge titlebar_{set,get} into index
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-01 22:19:23 +02:00
Julien Danjou
8646d06fab
client: merge coords function into index
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-01 22:08:27 +02:00
Pierre Habouzit
91656b0b29
Revamp the toplevel Makefile.
...
This fixes among things:
* cmake has a clean target that doesn't redo cmake, use it, implement
distclean for what clean did.
* cmake is aware that it has to reconfigure, let id be clever about that
instead of being half clever ourselves.
* Don't have a *build* symlink and a *build* target, this is confusing.
* Forward things we don't know about to cmake.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-01 22:02:24 +02:00
Matthew McCormick (thewtex
e0607d7165
build: deal with not-existant .version_stamp
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-01 22:01:10 +02:00
Julien Danjou
e4db1a3b86
client: merge class hints into index
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-01 21:56:53 +02:00
Julien Danjou
fc38d32052
client: merge floating placement into index
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-01 21:46:43 +02:00
Julien Danjou
014214794a
client: merge screen_{set,get} into index
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-01 21:39:52 +02:00
Pierre Habouzit
49466fa385
Build system improvements.
...
Add missing -f so that ln doesn't complain about target existing.
Be sure that the toplevel makefile is silent instead of custom @'s.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-01 21:22:04 +02:00
Julien Danjou
b9e8307f60
client: merge border_set into index
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-01 20:07:21 +02:00
Julien Danjou
2b1101daee
client: merge honorsizehints into index
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-01 19:59:36 +02:00
Julien Danjou
d7c70c57b5
client: merge floating_{set,get} into index
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-01 19:55:18 +02:00
Julien Danjou
495fd3d8e7
client: merge opacity into index
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-01 19:52:25 +02:00
Julien Danjou
3f5b80c39d
client: missing break
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-01 19:49:35 +02:00
Julien Danjou
7e95166629
client: merge icon path into index
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-01 19:49:14 +02:00
Julien Danjou
f2a2882cf5
statusbar: fix background color setting
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-01 19:45:07 +02:00
Julien Danjou
86df357a2b
client: merge hide into index
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-01 19:43:23 +02:00
Julien Danjou
a07b726714
client: add index, move name functions
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-01 19:37:46 +02:00
Julien Danjou
1723cc160a
lua: introduce luaA_usemetatable
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-01 19:25:58 +02:00
Julien Danjou
d9fa6d65c8
titlebar: merge colors_set() into index
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-01 18:33:09 +02:00
Julien Danjou
33a8c1acb7
statusbar: merge border_set() into index
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-01 18:28:17 +02:00
Julien Danjou
1097f506d3
titlebar: add index
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-01 18:19:33 +02:00
Julien Danjou
885ea9cb89
build: rework makefile
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-01 17:07:51 +02:00
Julien Danjou
3750b08248
statusbar: merge position_{set,get} into index
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-01 17:00:31 +02:00
Julien Danjou
06b490d319
statusbar: widget_get() returns a dict
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-01 16:53:20 +02:00
Julien Danjou
bdd6b078f2
titlebar: ref widget on get()
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-01 16:53:00 +02:00
Julien Danjou
49f823dcb6
statusbar: merge colors_set() into index
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-01 16:50:03 +02:00
Julien Danjou
a816ce0440
util: position_tostr() return const
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-01 16:33:24 +02:00
Julien Danjou
99fe611d31
statusbar: introduce index, use it for align_set
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-01 16:31:22 +02:00