Uli Schlachter
56d6e3726b
Use _LDFLAGS instead of _LIBRARIES
...
The _LDFLAGS vars which pkg_check_modules() set also include -L flags which
are necessary so that the linker can find the libs it needs to find.
Signed-off-by: Uli Schlachter <psychon@znc.in>
2009-05-10 10:46:29 +02:00
Uli Schlachter
02e39eb8e0
Use tr [:lower:] [:upper:] instead of the a-z one
...
The 'old' tr call produced garbled output with sun's tr.
The current common/tokenize.gperf file only uses a-z, 1-5 and _. Thus the
dropped conversions don't hurt atm. If they should ever become necessary again,
we need to find another, more portable way to doing this.
Thanks to evocallaghan aka Edward O'Callaghan for trying to build awesome on
SunOS and providing some hints on how to fix it.
Signed-off-by: Uli Schlachter <psychon@znc.in>
2009-05-10 10:46:25 +02:00
Uli Schlachter
886d62fb59
Use 'sh' instead of 'sh -e'
...
'sh -e' makes the shell script die if any command returns an error which isn't
caught. While this is a nice feature, this script doesn't actually need this.
Not using this shell feature makes the script more portable.
Thanks to Edward O'Callaghan aka eocallagha for stumbling upon this.
Signed-off-by: Uli Schlachter <psychon@znc.in>
2009-05-10 10:40:09 +02:00
Uli Schlachter
90d6c799ff
Fix a bashism in gperf.sh
...
This (hopefully) fixes a bug reported by evocallaghan with ksh.
Signed-off-by: Uli Schlachter <psychon@znc.in>
2009-05-10 10:39:48 +02:00
Uli Schlachter
cf4630dbe1
Remove some useless use of cat
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2009-05-10 10:39:24 +02:00
Uli Schlachter
d9c71f4e23
Fix a wrong leading space in gperf.sh's shebang
...
While this space doesn't hurt on any modern OS (afaik), it does break stuff
on the old ones and is non-standard. Removing it won't hurt, so...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2009-05-10 10:39:15 +02:00
Julien Danjou
dd4d435db9
spawn: fix hook call on timeout
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-05-10 01:10:39 +02:00
Julien Danjou
0a1bf94036
build: remove useless check for libs
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-05-09 19:58:16 +02:00
Julien Danjou
70dffba6b1
awful.startup_notification: unregister events on time out
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-05-09 16:03:41 +02:00
Julien Danjou
3abec42c81
spawn: call startup notification hooks on time out
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-05-09 16:03:27 +02:00
Julien Danjou
ff46fd7e0a
spawn: fix reference counting of sequences
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-05-09 16:02:29 +02:00
Ali Polatel
238dc06ae4
luaA_init: use Lua C API to add paths to package.path
...
This is cleaner and it should be a bit faster than using
luaL_dostring().
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-05-09 13:58:57 +02:00
Julien Danjou
99f763d833
build: allow to specify cmake args
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-05-08 19:54:38 +02:00
Julien Danjou
b33cb3b89c
change codename
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-05-08 15:14:17 +02:00
koniu
35cd125ebd
naughty: fix bug in re-indexing popups if removing older to make space
...
Signed-off-by: koniu <gkusnierz@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-05-08 14:41:17 +02:00
Julien Danjou
5039c24ed0
ta{g,sk}list: fix memory leak on removal
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-05-08 14:39:06 +02:00
Julien Danjou
95180799cc
button: change copy method
...
We know also copy release.
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-05-08 14:00:43 +02:00
Julien Danjou
fe35104bc2
awful.widget: add support for __call on ta{g,sk}list widgets
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-05-08 11:59:38 +02:00
Julien Danjou
43902aed69
luaa: fix memory leak in __gc
...
We need to wipe the ref_array.
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-05-08 09:53:20 +02:00
koniu
3849e6d747
awful.prompt: fix delete
...
Signed-off-by: koniu <gkusnierz@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-05-08 07:58:46 +02:00
Julien Danjou
5344818677
image: fix new() documentation
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-05-07 20:24:46 +02:00
Julien Danjou
8828d629f4
image: do not return update
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-05-07 15:15:27 +02:00
Julien Danjou
fd40431e29
wibox: add missing documentation on objects
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-05-07 15:03:45 +02:00
Vincent Mauge
d1e9c0d5e9
Remove useless loop in hide()
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-05-07 08:27:30 +02:00
Ali Polatel
3fca4e0677
awful.widget.taglist: Fix label.all()
...
awful.util.escape() may return nil
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-05-04 16:39:01 +02:00
Julien Danjou
024ee30fe5
image: move empty creation
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-05-04 10:49:45 +02:00
Ciaran McCreesh
933dc50db9
Fix build with assertions enabled.
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-05-04 08:56:14 +02:00
Julien Danjou
34802872b2
awful.{button,key}: fix @see
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-05-01 15:37:17 +02:00
Julien Danjou
dadeb9bf86
change codename
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-05-01 15:17:10 +02:00
koniu
97863c1f08
awful.titlebar: allow titlebar_font in themes
...
Signed-off-by: koniu <gkusnierz@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-05-01 13:11:57 +02:00
Julien Danjou
e584da44ae
awful.menu: set some vars as local
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-30 02:12:23 +02:00
Julien Danjou
2b0d3f6ab2
awful.util: add spawn_with_shell (FS#515)
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-30 00:41:28 +02:00
Julien Danjou
b38ebbeac1
awesome-client: use readline and no backslash
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-30 00:32:06 +02:00
Julien Danjou
4f1eac6fa5
awesome-client: we use bash extensions
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-30 00:26:53 +02:00
Julien Danjou
c378343a64
key: add .keysym to return keysym name
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-30 00:11:38 +02:00
Mariusz Ceier
7010ffd164
Fix foreach macro
...
Fixes support of break/continue statement
Signed-off-by: Mariusz Ceier <mceier@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-29 21:13:37 +02:00
Julien Danjou
505245a5ff
array: fix foreach statement
...
We continously check for len, and build var upon each iteration so we
are sure we never go away in memory.
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-29 19:54:07 +02:00
Julien Danjou
7d9c796607
build: bump xproto required version
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-29 18:34:26 +02:00
Julien Danjou
63a7b50531
event: push button state correctly to mouse grabber
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-29 17:20:12 +02:00
Nikos Ntarmos
5ad3eb8021
Fix display misbehaving as a wpsetter.
...
ImageMagick's display returns 1 if it is to draw on the root window.
Teach awsetbg that this is not an error condition.
Signed-off-by: Nikos Ntarmos <ntarmos@cs.uoi.gr>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-29 15:32:20 +02:00
koniu
4400f1234d
awful.tag: fix typo
...
Adds a missing dash in comments to show history.restore in apidoc.
Signed-off-by: koniu <gkusnierz@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-29 15:09:02 +02:00
Julien Danjou
e43d2b76ef
awful.titlebar: fix buttons bindings
...
A recent commit change and fix what was pushed upon click on widget.
We used to get only wibox (bug) but now we get widget, wibox.
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-29 15:05:23 +02:00
Julien Danjou
7d20e63bc0
event: also push the wibox on widget button events
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-29 15:00:01 +02:00
Julien Danjou
d3e3c0c922
event: mouse grabbing blocks other events
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-29 13:59:13 +02:00
Julien Danjou
f05c1bc86c
key: prefix XF86 keys names
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-29 11:27:07 +02:00
Julien Danjou
7d59a773a7
key: add support for XF86 keysyms
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-29 11:24:06 +02:00
Julien Danjou
2e8557f04e
key: add missing XKB entries
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-29 11:05:58 +02:00
Julien Danjou
2c9a19bafb
key: stop using XKeysymToString()
...
It does not return the same thing.
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-29 10:53:50 +02:00
Julien Danjou
e44d62cb09
key: looking up for a key use a keysym
...
We do not resolve keycode anymore.
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-29 10:53:50 +02:00
Julien Danjou
bea4aa7f60
key: move keysym resolution to key
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-29 10:53:50 +02:00