Commit Graph

3358 Commits

Author SHA1 Message Date
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
Aldo Cortesi f5372a7252 Use strtok in run_uicb, in preparation for improving error reporting.
Yes strtok is not nice, but it's nicer than rolling your own. ;)
2007-12-13 09:58:05 +01:00
Aldo Cortesi 417c7a5116 Fix crashing bug triggered through awesome-client 2007-12-13 09:54:57 +01:00
Aldo Cortesi c8d81a5a18 Add doc to .gitignore. 2007-12-13 09:53:39 +01:00
Aldo Cortesi affc42d519 Vim swap file in .gitignore 2007-12-13 09:53:28 +01:00
Julien Danjou 5fa67c23df split awesomeconf and screen config
a.k.a the big post-2.0 blind commit
2007-12-11 20:56:51 +01:00
Julien Danjou db65eac4b8 add release name in -v 2007-12-10 17:34:32 +01:00
Julien Danjou 4aca7af7e2 cosmetic on manpage 2007-12-10 17:33:33 +01:00
Julien Danjou 5e5d711b09 fix comment in config.h 2007-12-10 13:43:28 +01:00
Julien Danjou 861dee4256 add default bindings to manpage 2007-12-10 12:34:49 +01:00
Julien Danjou 8dadb8b5df switch urxvt to xterm 2007-12-10 12:31:00 +01:00
Julien Danjou 49d904b024 remove useless config comment 2007-12-10 11:55:00 +01:00
Julien Danjou e70dad3f02 add a default configuration when running awesome without configuration file 2007-12-10 11:54:00 +01:00
Julien Danjou ebff63e89a remove some useless #include 2007-12-05 14:31:15 +01:00
Julien Danjou 6c15afbbae fix memory allocation when DISPLAY is not set 2007-12-04 10:17:02 +01:00
Nikos Ntarmos 3931061646 GTK+ combo box goes lower 2007-12-03 10:00:31 +01:00
Julien Danjou 6f995ad3a5 add awesome-client.1 manpage and modify Makefile for this 2007-12-02 15:43:40 +01:00
Julien Danjou 17753110c8 fix typo on URL 2007-12-02 15:43:23 +01:00
Julien Danjou 4144ee13fc include manpage in dist tarball 2007-11-29 18:34:17 +01:00
Nathan Hüsken 9524f15478 Adding padding 2007-11-28 11:00:48 +01:00
Nikos Ntarmos 355dc7d556 fix rules handling in configurequest events 2007-11-27 16:48:06 +01:00
Nikos Ntarmos 963bef908e Move string manipulation of the DISPLAY env var into get_client_addr
awesome-client.c manipulates the string returned from getenv("DISPLAY"),
removing anything after the first dot ('.'). awesome.c however has no
such thing, leading to awesome listening on a '...0.0' socket. Anyway,
this seems like something that should be in get_client_addr as opposed
to hardwired in awesome-client.c or awesome.c. The attached patch moves
it into awesome-client-common.c:get_client_addr() and teaches
awesome-client.c of the change.
2007-11-27 14:09:21 +01:00
Arnaud Fontaine ece6bb27f3 check whether atoi success 2007-11-26 18:42:30 +01:00
Julien Danjou de8ea9dde4 change defaut tag name to letters 2007-11-26 17:07:30 +01:00
Julien Danjou 37fae50fbe close csfd 2007-11-26 10:49:59 +01:00
Julien Danjou e0a72e79ac use $DISPLAY 2007-11-26 10:49:22 +01:00
Julien Danjou 1722520a2a add some comments to explain len computing 2007-11-26 09:52:55 +01:00
Julien Danjou 359ff93666 cosmetic 2007-11-26 09:48:03 +01:00
MATSUU Takuto a991759ccb fix parallel make install 2007-11-25 20:43:27 +01:00
Julien Danjou db22906ba0 add CFG_END for mouse bindings where missing in config parser
Thanks rcs.
2007-11-22 10:48:09 +01:00
Julien Danjou 2693631447 split doc and binary build 2007-11-22 09:09:58 +01:00
Nikos Ntarmos 22655a20b2 manpage generation more BSD friendly 2007-11-22 09:03:57 +01:00
Nikos Ntarmos 7c361ab884 change echo -e lines to be BSD friendly 2007-11-22 09:03:54 +01:00
Nikos Ntarmos c824915f9e remove awesome manpage on clean target 2007-11-22 09:02:41 +01:00
Nikos Ntarmos b1d20f7537 use another asciidoc format for better support on other OS 2007-11-22 08:57:29 +01:00
Julien Danjou 226d718634 make uicb_screen_focus{prev,next} honor tag->client_sel 2007-11-21 17:18:42 +01:00
Julien Danjou 3f8bff5bef fix comment 2007-11-21 15:06:30 +01:00
Julien Danjou 63a2bfb7a3 use asciidoc to render man page 2007-11-21 14:29:16 +01:00
Julien Danjou 9bdf2b6fc2 rename raw to unstrip 2007-11-21 14:17:27 +01:00
Julien Danjou ae93ae7780 add comments to awesomerc 2007-11-21 12:50:23 +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 279baed9c6 add GNU/Hurd workaround
thanks Fabienne Ducroquet
2007-11-19 20:43:53 +01:00
Nikos Ntarmos 1a829fd76d Make awesome-client exit with a meaningful value on error
As discussed on #awesome, the attached patch makes awesome-client exit
with a meaningful value (i.e. that of errno) when it encounters an
error. Since the most frequent error with awesome-client is a mismatch
in the socket path, there is an explicit case for ENOENT errors. I
thought of adding a matching fprintf in awesome.c, but you can tell what
socket awesome is listening on by looking at what ~/.awesome_ctl.* file
you have.

CAVEAT: Exiting on error may break setups such as:

	while true; do
		echo "some text"
	done | /path/to/awesome-client

which relied on awesome-client continuing to send to the given socket
(although failing) until EOF was encountered on stdin.
2007-11-19 20:42:06 +01:00
Toshihide Shimayama 1ff5740104 uicb_client_zoom() on nmaster swap with next window 2007-11-17 08:37:42 +01:00
Julien Danjou 51911613c5 handle uicb_client_toggletag() with no args or with i > ntags 2007-11-16 22:07:58 +01:00
Julien Danjou d46f740a39 check for int value in uicb_tag_toggleview() 2007-11-16 22:03:26 +01:00
Julien Danjou 037d6aea59 fix bug with arg is NULL in uicb_client_tag() 2007-11-16 21:56:31 +01:00
Julien Danjou 7808e2f8b0 ignore cp errors 2007-11-16 20:23:28 +01:00
Julien Danjou c412b05b3c small fix for maximize() in floating layout 2007-11-16 19:14:08 +01:00
Nikos Ntarmos af0eab0322 delete key->arg on cleanup 2007-11-15 17:21:38 +01:00