Commit Graph

4423 Commits

Author SHA1 Message Date
Julien Danjou 5072484f93 hooks: init correctly to REFNIL and factorize set
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-09 11:51:08 +02:00
Julien Danjou 0d761a1a8e token: remove useless tokens
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-09 11:41:44 +02:00
Julien Danjou 541a190a21 awesomerc: document markup
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-09 10:43:23 +02:00
Julien Danjou e3bbf3f15d draw: bug fix on bg parsing
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-09 10:38:39 +02:00
Julien Danjou ddae6f76b2 draw: add support for border around text
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-09 10:25:29 +02:00
Julien Danjou 9c495c0dee draw: use only one iconv for all
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-09 08:48:51 +02:00
Julien Danjou 58eac8af1c config: fix load paths
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-09 08:15:17 +02:00
Julien Danjou 845685ed18 lua: fix bug when $XDG_CONFIG_HOME is set
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-08 19:27:16 +02:00
Julien Danjou 1009d6a992 client: add support for pid
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-08 18:34:32 +02:00
Julien Danjou 00e9af11b8 client: fix title update
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-08 18:04:08 +02:00
Julien Danjou 6f1a4609c3 dbus: simply execute call
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-08 14:40:41 +02:00
Julien Danjou fb13bff697 config: use XDG for loading config
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-08 14:07:56 +02:00
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