Commit Graph

62 Commits

Author SHA1 Message Date
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
Julien Danjou 668702b777 move list.h and util.[ch] to common/ 2008-01-21 18:14:59 +01:00
Julien Danjou 0940f2f81a rename tileup/down to top/bottom 2008-01-21 16:31:15 +01:00
Julien Danjou bbe0254393 move gen scripts in build-utils 2008-01-21 16:31:14 +01:00
Julien Danjou 8416705a20 autogenerate layout list 2008-01-21 16:31:14 +01:00
Julien Danjou 5def70a8f0 autogenerate widget list 2008-01-21 16:31:14 +01:00
Julien Danjou 135c418275 auto generate uicb list 2008-01-21 16:31:14 +01:00
Fabienne Ducroquet 1dbe305177 mirror layout
I missed this feature for some time too, then I've just added two
layouts with master and stack area separated horizontaly: tiledown and
tileup (with the stack area down and up respectively) by adding a third
argument telling whether one wants to separate horizontally or verticaly
to the _tile function in layouts/tile.c. Patch against latest git
version, you will need to have icons
icons/layouts/{tiledown.png,tiledownw.png,tileup.png,tileupw.png} to
compile it without modifications.

Fabienne

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-01-21 16:31:14 +01:00
Julien Danjou 0b5e3e7cd1 split config.h, and move DO_SLIST() 2008-01-21 16:31:14 +01:00
Julien Danjou 771199a2e5 add list header 2008-01-21 16:31:13 +01:00
Hans Ulrich Niedermann a3e8081c62 Add check for --help and --version support
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-01-21 15:52:22 +01:00
Hans Ulrich Niedermann 70ce4b8856 Mute version check (unless it fails)
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-01-21 15:52:22 +01:00
Hans Ulrich Niedermann 7ffd48ccd6 Use consistent wording in version check
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-01-21 15:52:22 +01:00
Hans Ulrich Niedermann eadebdd35d Add version generation script, version stamp file
Use a single script to generate the version number from git. This script

  * strips the v from the start of the "git describe" output
  * changes all "-" occurences to "."
  * does NOT create a properly sortable version number from "2.1-rc2"
    type "git describe" output
  * does NOT generate a "proper" "1.2.3" type version number under any
    circumstances
  * will generate "2.1" in case the "git describe" output is "2.1"

These policy might need closer adaption to awesome's tagging habit
some time.

In dist tarballs, ship a "version-stamp" file with the package version
in it. If the "version-stamp" file is present (i.e. if it is a source
tree from a dist tarball), no git checks will be performed.

Concept from autoconf, but code written from scratch to match
awesome's requirements.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-01-15 08:21:43 +01:00