Commit graph

94 commits

Author SHA1 Message Date
Julien Danjou
c8a461686a hooks: split out of luaa
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-26 18:54:40 +01:00
Julien Danjou
862fe193ee Rewrite {tag,task}list in Lua.
This removes the C implementation of taglist and tasklist widgets and
use a Lua one.

This works by letting .widgets property of wiboxes to be a table with
table, and setting a special metatable on them which notify awesome on
newindex events, updating wiboxes.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-20 20:06:09 +02:00
Julien Danjou
34647e4e75 awful: split in several modules
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-29 18:30:32 +02:00
Julien Danjou
34fe130307 wibox: merge statusbar and titlebar types
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 11:11:56 +02:00
Julien Danjou
4193e81fa8 screen: merge with xscreen, remove screens_info
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 11:11:56 +02:00
Julien Danjou
6ac0c4130c image: merge draw_image_t and image_t
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 11:11:55 +02:00
Julien Danjou
2be620618b property: use xcb property handler system
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 11:11:55 +02:00
Julien Danjou
71ac6710e5 widgets: replace appicon by imagebox
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 11:11:55 +02:00
Julien Danjou
6ca4e58f3d image: add new image type
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 11:11:55 +02:00
Julien Danjou
6a5ad6af9b common: move draw, xscreen and swindow out
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 11:11:55 +02:00
Julien Danjou
63b5e65ebd placement: deprecate in favor of awful.placement
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 11:11:54 +02:00
Alex Cornejo
00721a15ea layout: add fair layout
Based on the original idea of Nathan Huesken, which was then implemented by
Gwenhael Le Moine, I completed and corrected the layout.

I added icons for the layout and modified the makefile and the aweseomerc.lua.in
to include the fair layout.

In the process I also decided to modify layoutgen.sh and tag.c, so that in the
future new layouts can be added without touching tag.c.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-11 13:31:28 +02:00
Julien Danjou
68cff957be build: stop compiling Lua libs
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-05 20:38:25 +02:00
Julien Danjou
dcbd7a7c14 socket, lua: use xcb_parse_display
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-27 17:14:47 +02:00
Julien Danjou
ae043ec0de build: add -export-dynamic flag
Without -export-dynamic, the dynamic linker (dlopen in the lua
interpreter) will error out when loading lfs.so, because lfs.so uses
some symbols defined in the lua library (static only on freebsd).

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-22 17:40:36 +02:00
Julien Danjou
72145f66fb utils: add awsetbg to set background
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-21 11:33:27 +02:00
Julien Danjou
ffd981a645 build: remove code for cmake < 2.6
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-18 16:14:44 +02:00
Julien Danjou
22f41a6983 lib: add @release tag
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-18 11:41:58 +02:00
Félix C. Morency
315b8e5c30 build: fix minimum required cmake version
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-13 21:30:55 +02:00
Félix C. Morency
fa95fc3feb build: fix theme install path
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-13 09:25:10 +02:00
Julien Danjou
47fe345b21 build: fix theme installation (FS#263)
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-12 19:13:40 +02:00
Julien Danjou
d2f38d4051 build: add desktop file (FS#257)
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-12 11:37:04 +02:00
Julien Danjou
2735144b8c beautiful: import
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-05 22:24:14 +02:00
Julien Danjou
81ae462a70 focus: remove focus history
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-31 17:30:01 +02:00
Julien Danjou
c7e70fbe7f build: install awful (FS#238)
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-29 17:10:40 +02:00
Julien Danjou
3db9f29453 appicon: new widget, used in titlebar
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-29 16:51:21 +02:00
Julien Danjou
8649c6cb8c awful: add titlebar support
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-29 15:47:58 +02:00
Kanru Chen
9a60abce52 config: Fix default config path and documents.
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-13 13:00:38 +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
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
b3a16bc6ad build: add support for __index in widgets
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-02 17:57:16 +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
db49685413 atoms: autogenerate atom list
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-30 20:05:53 +02:00
Julien Danjou
5daa38ac2d atom: new atom infra
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-30 18:25:01 +02:00
Félix C. Morency
7d2c5da8dd fixed out-of-source luac file generation 2008-06-26 19:33:43 +02:00
Julien Danjou
68f0eda193 iconbox: remove
This can be replaced by textbox.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-25 16:37:16 +02:00
Michael Gehring
46aa0b55ac cmake: compile lua libs 2008-06-25 12:46:53 +02:00
Michael Gehring
08762261c6 cmake: cleanup paths variables/fix AWESOME_CONF_PATH 2008-06-25 04:00:19 +02:00
Michael Gehring
a786d51a3c cmake: make building luadoc an option 2008-06-25 03:01:22 +02:00
Félix C. Morency
0c82372362 set cmake policy 2.6 if supported 2008-06-25 02:32:18 +02:00
Michael Gehring
c19fde1f01 cmake: only awesome-client needs to link readline 2008-06-24 18:15:20 +02:00
Michael Gehring
9d9bb48094 cmake: awesome-client depends on generated sources 2008-06-24 18:15:20 +02:00
Michael Gehring
388dbb01c1 build: implement make dist using git-archive
Instead of jumping through hoops to get the ignore list
right just use git-archive to get a clean source tarball.
2008-06-24 08:58:04 +02:00
Michael Gehring
27bc445664 cmake: use luadoc for functions exported from C
Documenting half of the Lua API in the awesomerc manpage and the other
half with luadoc, doesn't make much sense. I modified the output of
gendoc.lua to something that looks like lua with luadoc markup. That
file can then be processed by luadoc and we have all Lua documentation in
one place.

And yes, we're now pulling custom doxygen tags out of C source code to
generate annotated lua source code we never use, which is then mangled
again by luadoc to spit out a set of html files.
2008-06-23 18:43:05 +02:00
Michael Gehring
c3272d19a3 cmake: build/install luadoc for awful and tabulous 2008-06-23 18:43:04 +02:00
Felix C. Morency
e62ce757de cmake: fixed out-of-source build
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-23 18:31:42 +02:00
Michael Gehring
8f5363bcc1 cmake: indent 2008-06-23 14:15:55 +02:00
Michael Gehring
d08f746733 cmake: switch cmake commands to lowercase 2008-06-23 14:15:55 +02:00
Michael Gehring
6f8aa30b2f cmake: use BUILD_DIR/SOURCE_DIR shorthands
basically:
s/CMAKE_CURRENT_SOURCE_DIR/SOURCE_DIR/g
s/CMAKE_CURRENT_BINARY_DIR/BUILD_DIR/g
2008-06-23 14:15:55 +02:00
Julien Danjou
ab5119732d use more tokenizer, with len
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-23 14:01:33 +02:00