Commit Graph

167 Commits

Author SHA1 Message Date
Perrin "kAworu" Alexandre 319f2d55bc removed WidgetList, name_func_link_t and related function
use tokenize.gperf instead.

Signed-off-by: Perrin "kAworu" Alexandre <kaworu(a)kaworu,ch>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-06-17 16:22:42 +02:00
Julien Danjou 332e2cb8e8 layout: rename to banning
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-06-10 11:42:43 +02:00
Julien Danjou be238512cc awesome: dump backtrace on SEGV/ABRT
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-06-05 15:00:37 +02:00
Johan Kiviniemi bd0a57d9f8 themes: Old ImageMagick compatibility
Verified to build with ImageMagick 6.2.4.

Signed-off-by: Johan Kiviniemi <devel@johan.kiviniemi.name>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-05-18 20:53:23 +02:00
Johan Kiviniemi acd6c64f55 themes: Generate unfocused/inactive icons automatically
Additionally, use the alpha channel so that the unfocused icons look
good on any background, not just black.

This adds ImageMagick as a build dependency.

Signed-off-by: Johan Kiviniemi <devel@johan.kiviniemi.name>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-05-18 08:30:21 +02:00
Julien Danjou 308ef7de5d mouse: split button out
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-26 10:46:09 +02:00
Uli Schlachter 5dadaa59a9 Move xcolor into its own source files
Signed-off-by: Uli Schlachter <psychon@znc.in>
2009-04-18 13:55:38 +02:00
Julien Danjou 80e935455d stack: remove client_node type and inverse order
We now use a client_array_t which is more efficient and we reverse the
array order compared to before.

Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-17 23:26:26 +02:00
Julien Danjou 9a66456f90 root: split out of luaa
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-17 11:50:20 +02:00
Julien Danjou 0fcba4363a build: move manpages into their own directory
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-11 16:11:43 +02:00
Julien Danjou 7dbb02adf3 awesome-client: remove socket code
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-08 17:56:25 +02:00
Julien Danjou cbf55449a3 luaa: split spawn() into spawn.c
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-03 13:09:17 +02:00
Julien Danjou 5154cfc19f remove deprecated functions
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-12 11:49:58 +01:00
Gregor Best c242657c3b awesome: add selection() for getting the primary X selection
Signed-off-by: Gregor Best <farhaven@googlemail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-01-03 11:52:24 +01:00
Julien Danjou 53f58aa1a6 keybinding: move to key
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-18 11:33:52 +01:00
Julien Danjou 26da80f90a draw: remove custom markup support
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-14 10:28:23 +01:00
Julien Danjou 2037a053a9 layout: move layout code to Lua
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-14 10:28:21 +01:00
Julien Danjou 0e972d4845 mousegrabber: import
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-12 16:51:41 +01:00
Julien Danjou f2eab39776 xcursor: import
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-12 16:51:41 +01:00
Julien Danjou 506e453a2f remove deprecated functions
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-12 16:51:40 +01:00
Julien Danjou 281e562182 awsetbg: add manpage
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-21 11:43:36 +01:00
Andrei 'Garoth' Thorp 9d04111a75 sky-theme: Initial import and integration
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-12 16:06:14 +01:00
Julien Danjou 36e4847dd1 themes: move theme icons to themes/
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-10 12:02:08 +01:00
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
Michael Gehring c0796d2259 cmake: typo 2008-06-23 13:11:51 +02:00
Michael Gehring 3b2848f00b cmake: move gperf commands to generated_sources 2008-06-23 13:11:51 +02:00
Michael Gehring 138895317c cmake: make out-of-source build work with RO source dir again 2008-06-23 13:11:51 +02:00
Pierre Habouzit 1746e9e940 don't include tokenize.[hc] in the manpages target for now
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
2008-06-23 09:23:31 +02:00
Pierre Habouzit c2df807ede Use gperf to tokenize some strings.
This makes the code way more readable, and also avoids a lot of strcmps.

Use it for draw_align_get_from_str as a proof of concept.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
2008-06-23 07:41:22 +02:00
MATSUU Takuto ec71a73072 build: set minimal cmake version to 2.4.7
FindPkgConfig is implemented in cmake-2.4.7. it doesn't work with cmake-2.4.6.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-23 07:37:42 +02:00
Michael Gehring 426d2fee9e cmake: update git version every build 2008-06-22 22:13:06 +02:00
Pierre Habouzit e25a50774b Add extensible buffers to awesome.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
2008-06-22 15:04:09 +02:00
Michael Gehring e1dd1344fc cmake: make out-of-source build work with readonly source dir 2008-06-22 03:00:42 +02:00
Michael Gehring 000e69729a cmake: figure out man section from filename 2008-06-21 19:14:26 +02:00
Michael Gehring 62f2e3d549 cmake: stop deleting the source when gzipping manpages 2008-06-21 18:27:36 +02:00
Félix C. Morency 041207090a * Fixed header generation 2008-06-21 18:08:55 +02:00
Michael Gehring 8cf710acad cmake: make manpages have dependecies again 2008-06-21 18:08:45 +02:00
Michael Gehring 15dbc1c887 cmake: make lua api documentation a target with dependencies 2008-06-21 17:04:02 +02:00
Michael Gehring f231e8496a cmake: cmake < 2.6 doesn't know FILE(STRINGS ...) 2008-06-21 15:10:59 +02:00
Michael Gehring 482679548b cmake: scan sources for lua exports 2008-06-21 10:20:00 +02:00
Michael Gehring 8fdd5fa62e cmake: install LICENSE/README/... 2008-06-21 10:20:00 +02:00
Michael Gehring 94c0b483fb cmake: make generated headers a real target with dependecies 2008-06-21 10:20:00 +02:00
Michael Gehring 0ec46b99b9 cmake: move cmake 2.4 compatibility settings on top 2008-06-21 10:20:00 +02:00
Michael Gehring bc85cd80ea cmake: awesome-client: stop linking to X libs 2008-06-21 10:20:00 +02:00
Michael Gehring 37ccec4800 cmake: restructure required/optional libs 2008-06-21 10:20:00 +02:00
Michael Gehring 30ea399f52 cmake: remove unnecessary variables 2008-06-21 10:20:00 +02:00
Michael Gehring a25ce00935 cmake: make building manpages an option 2008-06-21 10:20:00 +02:00
Michael Gehring 92e7c4f940 cmake: move doxygen target to CMakeLists.txt 2008-06-21 10:20:00 +02:00
Michael Gehring 0aa87e68b8 cmake: group external utilities 2008-06-21 10:20:00 +02:00
Félix C. Morency 77f5fbcc60 Fixed loose loop construct support and cmake min version
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-20 15:38:37 +02:00
Michael Gehring 7ed1ee43ca cmake: remove second ${LIB_EV} in target_libraries 2008-06-20 12:15:23 +02:00