Commit Graph

4942 Commits

Author SHA1 Message Date
Julien Danjou 7fae0db5ea tokenize: remove useless tokens
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-21 12:29:42 +02:00
Julien Danjou 058dbab828 banning: remove passive refresh support (FS#629)
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-21 12:18:24 +02:00
Julien Danjou 890e15fa19 screen: fix tag removal/add
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-21 12:12:59 +02:00
Julien Danjou 9f21570a05 awesome.1: remove Java stuff (FS#630)
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-21 10:14:16 +02:00
Julien Danjou f3c57faf1d awful.layout.suit.magnifier: simplify
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-18 13:40:29 +02:00
Julien Danjou 295f712552 awesomerc: use keycode for tag bindings (FS#627)
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-18 11:41:55 +02:00
Julien Danjou 36d9178917 awesomerc: enable smart placement
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-18 11:35:59 +02:00
Julien Danjou 9c21ce8907 awful.layout: listen to geometry signal and lock arrange (FS#625)
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-18 11:31:49 +02:00
Julien Danjou 91b4611c94 client: emit geometry signal
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-18 11:31:31 +02:00
Cedric GESTES 9a0ae64840 placement: import center_horizontal and center_vertical
Signed-off-by: Cedric GESTES <ctaf42@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-14 11:53:45 +02:00
Adrian C. (anrxc) 626ea00ca0 themes: added mouse finder and tooltips
Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-13 14:38:59 +02:00
Jacob Winther 808be1d9b8 variable set twice in client.lua
Very small fix.

From 6933b43bd3d00baba661b367db5450a9179da0c7 Mon Sep 17 00:00:00 2001
From: Jacob Winther <jacob.winther@gmail.com>
Date: Sat, 12 Sep 2009 06:59:58 +1200
Subject: [PATCH 1/2] awful.client: remove duplicate variable

Signed-off-by: Jacob Winther <jacob.winther@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-13 14:33:31 +02:00
Sébastien Gross e196826415 awful.tooltip: ensure tooltip is attached to a screen
Signed-off-by: Sébastien Gross <seb•ɱɩɲʋʃ•awesome•ɑƬ•chezwam•ɖɵʈ•org>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-11 18:21:28 +02:00
Julien Danjou 4e35145ee3 remove bad files
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-11 14:21:19 +02:00
Julien Danjou ff653fd881 change codename
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-11 13:45:33 +02:00
Julien Danjou 8588e2d594 awful.mouse: load finder
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-11 13:43:02 +02:00
Sébastien Gross 4d1ca7bc18 awful: Add a mouse finder capability
Signed-off-by: Sébastien Gross <seb•ɱɩɲʋʃ•awesome•ɑƬ•chezwam•ɖɵʈ•org>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-11 13:38:38 +02:00
Julien Danjou 1d595fe507 awful.mouse: move into a directory
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-11 13:31:33 +02:00
Sébastien Gross 2faa2c1d2d awful: add tooltip module
Signed-off-by: Sébastien Gross <seb•ɱɩɲʋʃ•awesome•ɑƬ•chezwam•ɖɵʈ•org>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-09 20:27:47 +02:00
Uli Schlachter 7fc0c24f4f awful.wibox: Error out on invalid positions
Signed-off-by: Uli Schlachter <psychon@znc.in>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-09 19:50:52 +02:00
Julien Danjou 444edf1d03 awful.wibox: update documentation
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-08 17:02:56 +02:00
Julien Danjou c0cb4203a9 awful.tag: fix withcurrent screen choice (FS#616)
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-08 16:41:23 +02:00
Julien Danjou b94a32c281 client: emit x,y,width,height signal on size changes
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-08 16:09:47 +02:00
Julien Danjou 26a367fab0 icons: remove invaders
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-08 13:29:25 +02:00
Julien Danjou 67b66a8d62 awesome: fix memory leak with confpath
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-08 12:01:07 +02:00
Julien Danjou 97d82d8517 client: fix machine memory leak
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-08 11:21:47 +02:00
Julien Danjou 17226e5a61 telak: remove
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-08 11:04:43 +02:00
Julien Danjou 3617c4d43e invaders: remove
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-08 11:04:15 +02:00
Stephen Sugden 24a614f8d0 awful.menu: fix wibox height computing
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-08 10:24:32 +02:00
Julien Danjou 68148167ef awesomerc: fix default menu
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-08 10:23:18 +02:00
Cedric GESTES 62b0a9d8f1 rules: define geometry properties
Signed-off-by: Cedric GESTES <ctaf42@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-07 18:04:23 +02:00
Julien Danjou 1442687830 font: split out of draw
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-07 17:51:40 +02:00
Julien Danjou b2297fda46 globalconf: remove config.h include
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-07 17:28:55 +02:00
Julien Danjou 51b16804ed globalconf: remove useless typedef
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-07 17:25:11 +02:00
Julien Danjou 5b718cdacb structs: rename to globalconf
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-07 17:23:01 +02:00
Julien Danjou b9df512f3a widget: import widget_node definition
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-07 17:20:19 +02:00
Julien Danjou 8533c1d35d screen: makes luaA_pushscreen static
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-07 17:13:54 +02:00
Stephen Sugden b6a066b040 Put homedir before /usr/share in lua search path
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-07 10:40:56 +02:00
Cedric GESTES 9bfc4b0017 titlebar: fix title and appicon position in the layout
Signed-off-by: Cedric GESTES <ctaf42@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-04 18:18:52 +02:00
Brian Gianforcaro 73aa29645f Added documentation to D-Bus functions. Signed-off-by: Brian Gianforcaro <b.gianfo@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-04 18:18:04 +02:00
Brian Gianforcaro 7318a7891a awesome.doxygen: doxygen configuration fixes.
* Set a #define for WITH_DBUS
* Set dot to use transparent image backgrounds
* Fix small typo

Signed-off-by: Brian Gianforcaro <b.gianfo@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-04 18:18:03 +02:00
Uli Schlachter 3d69f38e45 awesome_atexit(): Clean up libev's state
Signed-off-by: Uli Schlachter <psychon@znc.in>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-04 16:32:00 +02:00
Uli Schlachter e1d6f0a150 Disconnect from the X server after closing lua
Else stuff like this can happen:

  Invalid read of size 4:
    at 0x300280BB7F: (within /usr/lib/libxcb.so.1.1.0)
    by 0x300280BD21: xcb_get_extension_data (in /usr/lib/libxcb.so.1.1.0)
    by 0x300280A55A: xcb_send_request (in /usr/lib/libxcb.so.1.1.0)
    by 0x300C604A4F: xcb_render_free_picture (in /usr/lib/libxcb-render.so.0.0.0)
    by 0x300B24C4BB: (within /usr/lib/libcairo.so.2.10800.8)
    by 0x300B22F1B6: cairo_surface_finish (in /usr/lib/libcairo.so.2.10800.8)
    by 0x300B22F234: cairo_surface_destroy (in /usr/lib/libcairo.so.2.10800.8)
    by 0x300B218124: (within /usr/lib/libcairo.so.2.10800.8)
    by 0x300B212750: cairo_destroy (in /usr/lib/libcairo.so.2.10800.8)
    by 0x42E4D0: wibox_wipe (draw.h:110)
    by 0x42E568: luaA_wibox_gc (wibox.c:46)
    by 0x3008E0CB15: (within /usr/lib/liblua5.1.so.0.0.0)
  Address 0x4e56ec0 is 20,928 bytes inside a block of size 20,992 free'd
    at 0x4A0761F: free (vg_replace_malloc.c:323)
    by 0x40F974: awesome_atexit (awesome.c:97)
    by 0x410316: main (awesome.c:577)

Signed-off-by: Uli Schlachter <psychon@znc.in>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-04 16:31:58 +02:00
Julien Danjou 255a7e9d54 widgets: allow some value to be nil
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-04 16:26:12 +02:00
Julien Danjou af44734bd4 luaclass: add luaA_checkudataornil
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-04 16:24:14 +02:00
Julien Danjou db45624809 widgets: fix index on checkudata
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-04 15:58:43 +02:00
Cedric GESTES 1b007151e4 client: check for nil geometry
Signed-off-by: Cedric GESTES <ctaf42@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-04 13:59:36 +02:00
Uli Schlachter 2b75950a8c Add some missing class type checks
Some functions didn't check the class of objects they were passed but just
casted them to the type they expected. This lead to code like e.g. the following
to crash awesome:

  c.titlebar = c

This adds a new function luaA_object_ref_class() which works like
luaA_object_ref(), but which also checks the class of the object.

Additionally, this function is now used in all necessary places.

Signed-off-by: Uli Schlachter <psychon@znc.in>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-04 13:58:31 +02:00
Uli Schlachter fa89775626 Add some missing luaA_checkudata() calls
luaA_object_ref_item doesn't check the type of object it returns which resulted
in stuff like this:

  wibox.shape_clip = wibox
  wibox.shape_bounding = wibox
  imagebox.image = imagebox
  textbox.bg_image = textbox

All of the above calls would result in a crash (unverified) and all of them
where fixed.

This should fix all places which use luaA_object_ref_item(). The others already
did a proper type check.

Signed-off-by: Uli Schlachter <psychon@znc.in>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-04 13:58:30 +02:00
Julien Danjou 769d2899ac awesomerc: remove move to mouse screen code on manage
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-04 13:40:28 +02:00