Commit Graph

75 Commits

Author SHA1 Message Date
Alex Cornejo cee3e9b60d [draw] Add option to link against GTK instead of Imlib2
I added an option to the configure script to link against gdk instead
of imlib2. Most people already have gdk installed so that way they can
use awesome without installing imlib2, and gdk's pixbuf was explicitly
designed to replace imlib2.

Also, a nice side effect is that GDK works directly with cairo
surfaces, so the process of loading images should be faster, although
since awesome does very little image loading it probably wont have a
noticable impact on performance, but it certainly won't hurt.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-03 09:16:58 +02:00
Julien Danjou 2779610ab5 [build] Enhance documentation building
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-31 14:15:55 +02:00
Julien Danjou 2fd0b3c008 [widgets] New emptybox widget
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-31 10:15:38 +02:00
Julien Danjou ced72a959f [build] Add python detection
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-27 17:40:52 +01:00
Julien Danjou 25b22a7cb9 [doc] Add autogeneration of options documentation
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-27 16:48:52 +01:00
Julien Danjou c834134cc8 [doc] Autogenerate documentation for uicb from source code
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-27 15:00:46 +01:00
marco candrian 89f4e22255 [widgets] new progressbar options
if a ticks_count is defined (!= 0), round the value to them ('ticks')
and draw finally some gaps.

Also an important issue: since the bar needs to be 'homogenous', they may won't
match a given height. Some value tweaking will be necessary then.

An alternative would be a not homogenous bar, what is worse I think.

The values, when there are 'ticks', get rounded up somebit. So they get turned on,
when half of them is reached - or so.

new options (see awesomerc.5.txt for a more detailed description):

border_width
border_padding
fg_off

ticks_count
ticks_gap

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-26 10:02:37 +01:00
Julien Danjou 06ac58cd6e Add icons in dist tarball and in default statusbar
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-25 16:59:51 +01:00
Julien Danjou dfb479b0f5 Switch pack name to lowercase
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-24 15:12:31 +01:00
Julien Danjou de5d82b8c2 Use Imlib2 to load images
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-23 15:52:22 +01:00
Julien Danjou a3f9eb7af9 Revert "Add preliminary support for XPM format"
This reverts commit 5f8b538a5e4eeea159b26c3d0b943cac745ffdce.
2008-03-23 15:52:22 +01:00
Julien Danjou df2555d9fe Add preliminary support for XPM format
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-23 15:52:22 +01:00
Arnaud Fontaine 542a944361 Use Pango for fonts instead of Xft (which hasn't been ported yet to
XCB) to measure text.
2008-03-23 15:52:21 +01:00
Julien Danjou 9bd32fc3b8 Split titlebar stuff into titlebar.[ch], and uicb_client_toggletitlebar 2008-03-23 15:52:19 +01:00
Julien Danjou 45a650a662 Add awesome-menu manpage 2008-03-23 15:52:19 +01:00
Julien Danjou d10b98c101 Make awesome-{menu,message} Xinerama aware 2008-03-23 15:52:18 +01:00
Julien Danjou 0bde5c9e29 Move some screen functions from screen.c to new common/xscreen.c 2008-03-23 15:52:17 +01:00
Julien Danjou e5069d1b8c Add Xinerama support to awesome-menu and fix a bug with wrong displaying when selecting an item 2008-03-23 15:52:15 +01:00
Julien Danjou 867b2f0775 first version of awesome-menu 2008-03-23 15:52:15 +01:00
Julien Danjou 74ab56b1b2 Stop adding useless space at the end of each default awesomerc line
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-21 14:50:35 +01:00
Julien Danjou 23a31eda23 Add a manpage for awesome-message 2008-03-13 11:33:58 +01:00
Hans Ulrich Niedermann 2d454a438a Determine screen number from $DISPLAY for restarts
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-09 20:50:11 +01:00
Hans Ulrich Niedermann f1e4ad09a1 Add make targets replacing the running awesome
Presuming we are running awesome on this screen, and this is
screen 0,

  * we replace the running awesome instance by a freshly compiled
    one with the "restart-uninstalled" target,
  * we replace the running awesome instance by the last installed
    one with the "restart-installed" target.

Note this can render your running X11 screen unusable.

A little bit of test magic starting Xnest should make more
confined tests possible with less serious failure modes.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-09 20:49:47 +01:00
Julien Danjou 5446071aef do not use cfg_print() to generate default configuration file: fwrite() the default one 2008-02-29 15:36:13 +01:00
Julien Danjou 19ffbf6e0f move awesomerc manpages to section 5 (File format) 2008-02-28 12:36:17 +01:00
Julien Danjou 3ccf163357 fix awesome-version-internal define 2008-02-27 09:09:38 +01:00
Julien Danjou 11b0982a58 rename awclient.[ch] to socket.[ch] 2008-02-27 09:07:52 +01:00
Julien Danjou 6fd3801ef0 rename awesome-version.[ch] to version.[ch] 2008-02-27 09:04:17 +01:00
Julien Danjou 1e3f3d9300 floating placement can be chosen by config 2008-02-13 18:04:20 +01:00
Hans Ulrich Niedermann 593f92c24d Check whether 'xmlto man' actually works
If xmlto is present, create a very simple example man page by
running 'xmlto man'. Only generate man pages at "make all" time
if this works.

The check is a little lenthy, so we might want to put it into
a separate .m4 file some time.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-02-11 11:06:35 +01:00
Hans Ulrich Niedermann d68ba7fa12 Generate man pages IFF doc tools are present
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-02-11 11:06:23 +01:00
Hans Ulrich Niedermann 2fafec9dc3 Ship forgotten UPGRADE file
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-02-11 11:05:58 +01:00
Julien Danjou 170ed9882a rename netwmicon to focusicon 2008-02-06 20:13:41 +01:00
Julien Danjou ffbcea0084 remove focustitle widget 2008-02-06 20:05:14 +01:00
Julien Danjou 91d6a11fd3 add UPGRADE to dist 2008-02-02 18:13:55 +01:00
Julien Danjou 395b39de78 awesome-run use awesome config file 2008-01-31 17:32:05 +01:00
Julien Danjou 4b412d86ff split out config stuff 2008-01-31 16:34:00 +01:00
Julien Danjou f2e64adb59 remove awesome-check, move that to an -k option to awesome 2008-01-31 10:21:03 +01:00
Julien Danjou 10f9106e4e add new awesome-check program to check configuration file syntax 2008-01-30 14:07:14 +01:00
Hans Ulrich Niedermann e1d3b007a7 Terser version update message
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-01-29 13:26:40 +01:00
Julien Danjou ab8d95f13d rework include 2008-01-29 11:27:14 +01:00
Julien Danjou 46f42de45f rename to awesome-message to be respect awesome naming scheme 2008-01-27 15:53:28 +01:00
Julien Danjou af4c6d6d58 first proto of awmessage 2008-01-26 21:41:34 +01:00
Julien Danjou c5f57d24d3 split out simple window handling 2008-01-26 17:58:01 +01:00
Hans Ulrich Niedermann b457c4b4c9 Common version message for awesome and -client
At every build ("make", "make all"), if necessary, this
version message will be updated.

Note that "make awesome{,-client}" will NOT update the
version message.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-01-25 12:10:33 +01:00
Hans Ulrich Niedermann 3d9c2e72fb Compile executable with correct version number
Updates awesome-version.h every time the version number has
actually changed. The normal C header deps will then trigger
the appropriate rebuilds.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-01-25 12:10:32 +01:00
Hans Ulrich Niedermann e719d6d0b6 fix header generators for out-of-source builds
The header generator scripts now work when srcdir!=builddir.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-01-25 12:10:32 +01:00
Julien Danjou 2ac27fdac4 move draw files to common/ 2008-01-24 18:48:11 +01:00
Hans Ulrich Niedermann bb9b688ead Generate misc headers in the builddir, not srcdir
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-01-22 10:35:10 +01:00
Julien Danjou 197fabfa95 move awesome-client-common to common/ 2008-01-21 18:17:08 +01:00