Commit graph

29 commits

Author SHA1 Message Date
Julien Danjou
d4758481dc remove LAYOUT_PROTO, use a LayoutArrange typedef 2008-01-01 17:33:12 +01:00
Aldo Cortesi
ce556ec743 The preferred line length is 80 characters. 2007-12-18 11:27:26 +01:00
Aldo Cortesi
dcff13a5e7 Comment typos. 2007-12-14 08:47:21 +01:00
Aldo Cortesi
64117935c8 Add a warn utility function, and use it to improve error reporting in run_uicb. 2007-12-13 09:58:46 +01:00
Nikos Ntarmos
ac188235ed Split x-related util functions to a separate xutil.{c,h} file pair.
Hi there.

awesome-client is now linked against the whole hog of x-related libs
that awesome depends on. These get pulled in by awesome-client using the
same LDFLAGS as awesome. Removing x-related libs from the LDFLAGS for
awesome-client is only half of the story, as it also depends on util.c
which now has a couple of x-related functions. The attached patch also
splits these functions into a separate xutil.{c,h} file pair and teaches
the rest of the files to use them. Apart from the small difference in
file size (I see a 3-3.5% decrease in file size, both for a stripped and
a non-stripped awesome-client binary), this should also somewhat reduce
the startup time (since awesome-client won't have to map all of these
libraries).

Cheers...

\n\n
2007-11-19 20:45:21 +01:00
Julien Danjou
a74ca1d1de tabswidth is 4 not 6 2007-10-15 13:56:24 +02:00
Julien Danjou
4e0acfa99a add coding style stuff 2007-10-15 13:40:52 +02:00
Julien Danjou
a6781157b6 allow to execute uicb function via awesome control fifo 2007-10-12 17:10:36 +02:00
Julien Danjou
97a2085705 cosmetic: remove lines with empty spaces at end 2007-10-03 17:26:14 +02:00
Julien Danjou
a6943aa3f3 add uicb_exec 2007-09-28 13:39:46 +02:00
Julien Danjou
256717c792 add a_strncmp() to util.h and use a_str*() functions everywhere 2007-09-24 17:58:50 +02:00
Julien Danjou
b5f2129680 add a_strcat function to util 2007-09-24 16:53:03 +02:00
Julien Danjou
9a97c13804 add a_strcpy() function to util.c 2007-09-24 16:44:36 +02:00
Julien Danjou
df75e01ce0 add a_strncpy functions 2007-09-24 16:42:04 +02:00
Julien Danjou
c8373622ec Add UICB_PROTO to common.h (new) to declare uicb_functions 2007-09-24 14:40:40 +02:00
Julien Danjou
1340d926ce add a_strcmp function 2007-09-21 13:09:23 +02:00
Julien Danjou
7cb62508da fix p_realloc macro 2007-09-19 19:56:10 +02:00
Julien Danjou
dcec6aa749 remove screen arg from uicb* 2007-09-18 19:53:52 +02:00
Julien Danjou
2222164c27 add a die() function to util 2007-09-16 22:51:28 +02:00
Julien Danjou
933b0413ea add screen arg to uicb* 2007-09-16 01:05:43 +02:00
Julien Danjou
35defcc4e8 add compute_new_value_from_arg() to do the +/- job in uicb fcts 2007-09-14 13:43:51 +02:00
Julien Danjou
4925ff0c7a rename spawn to uicb_spawn and fix buggy proto 2007-09-12 18:19:28 +02:00
Julien Danjou
28df49c3cb rename gettextprop to xgettextprop and move it to util.c 2007-09-12 15:01:35 +02:00
Julien Danjou
7659289b9e chance license to GPLv2 2007-09-12 14:29:51 +02:00
Julien Danjou
9f56ade4e9 use more safe functions and update #inlcude 2007-09-11 14:00:49 +02:00
Julien Danjou
7064e17726 add several useful functions grabbed from madmutt 2007-09-11 13:35:58 +02:00
Julien Danjou
baa1e422fe rename last jdwm to awesome and make config a little more robust 2007-09-10 16:11:57 +02:00
Julien Danjou
6f528063be rename jdwm to awesome 2007-09-10 12:06:54 +02:00
Julien Danjou
f7173bd79d first import 2007-09-05 20:15:00 +02:00