Permalink
Browse files

Initial import

  • Loading branch information...
1 parent efab353 commit 65b1f79f56802c9346656028e892add3398c1cc0 Ross Burton committed Nov 12, 2002
View
@@ -0,0 +1 @@
+Ross Burton <ross@burtonini.com>
View
@@ -0,0 +1,62 @@
+2002-11-10 Ross Burton <ross@burtonini.com>
+
+ * configure.in: Bump version up to 0.2.4. Also check for the
+ regular expression POSIX headers, for...
+
+ * src/devilspie-matcher-windowname.gob: Use regular expression
+ matching instead of literal string compares. Thanks to Patrick
+ Aussems <zyk@bugfactory.org> for this kick-arse patch.
+
+2002-10-30 Ross Burton <ross@burtonini.com>
+
+ * src/devilspie-action-savegeometry.gob: Connect to the
+ window_closed signal of the WnckScreen in the constructor.
+
+ * README: Documentation is always a good thing. I was bored so I
+ fleshed this out a little.
+
+2002-10-24 Ross Burton <ross@burtonini.com>
+
+ * src/devilspie-action-debug.gob: Print out the window Role.
+
+ * src/devilspie-action-savegeometry.gob: Started on a Save Window
+ Geometry action. Doesn't do anything at the moment apart from
+ printing messages at the right moments.
+
+ * src/devilspie-matcher-windowname.gob: Re-wrote the return logic
+ to be much clearer, and started on a window role (WM_WINDOW_ROLE)
+ matcher, which also doesn't work.
+
+2002-10-17 Ross Burton <ross@burtonini.com>
+
+ * src/devilspie-action-layer.gob: Added an Action which can set
+ the ABOVE and BELOW layer hints on windows. Panel-below heaven is
+ here! :)
+
+ * src/devilspie.c: Parse the command line arguments
+ correctly. Open the file specified, if no file is specified try to
+ open ~/.devilspie.xml.
+
+ * configure.in: Bump version to 0.2.2.
+
+2002-09-08 Ross Burton <ross@burtonini.com>
+
+ * src/devilspie.c (main): Actually check the number of arguments,
+ so that we don't coredump if no configuration file is
+ specified. Fixes a segfault pointed out by jdub. As usual, IRC is
+ a great way of finding bugs in code.
+
+ * configure.in: Bump version to 0.2.1.
+
+2002-09-03 Ross Burton <ross@burtonini.com>
+
+ * src/*: Many, many changes. In fact this entry is totally
+ redundant, except for...
+
+ * configure.in: Bump version up to 0.2.
+
+2002-08-14 Ross Burton <ross@burtonini.com>
+
+ * src/*: Finally managed to make enough work for an alpha
+ release. Release 0.1!
+
View
@@ -0,0 +1,15 @@
+SUBDIRS = po src
+
+man_MANS = devilspie.1
+
+EXTRA_DIST = \
+ debian \
+ autogen.sh \
+ intltool-extract.in \
+ intltool-merge.in \
+ intltool-update.in \
+ sample-config.xml \
+ devilspie.dtd \
+ devilspie.glade \
+ devilspie.gladep \
+ $(man_MANS)
View
26 NEWS
@@ -0,0 +1,26 @@
+Devil's Pie 0.2.4
+
+* Use regular expressions instead of literal string compares when
+ matching window names, application names, or roles.
+* More documentation!
+
+Devil's Pie 0.2.3
+
+* Re-generated the .c and .h files using GOB 2.0.3, fixing a terrible bug
+ with devilspie when using GCC 3.
+
+Devil's Pie 0.2.2
+
+* Have decent command line argument parsing
+* Added a layer action so that windows can be below or above the
+ normal windows
+
+Devil's Pie 0.2.1
+
+* Check the number of command line arguments, so we don't segfault any
+ more.
+
+Devil's Pie 0.2
+
+* The first real release -- 0.1 was actually released, but I didn't
+ really like it so I didn't tell many people...
View
28 TODO
@@ -0,0 +1,28 @@
+TODO for Devil's Pie
+
+A nearly-ordered list:
+* More matchers (can't think of any though)
+* More actions (set size, set position)
+* Debian packages
+* SGML catalogue entry
+* Catch events on window move and resize too
+* Clean up and order the souce tree. devilspie and the editor should
+ be seperate directories, and the sample configuration file (etc)
+ should not be in the top-level directory.
+* Add ability to insert self into session on startup
+* GUI builder
+* RedHat packages
+* Remove dependency on gnome-common, as using it breaks builds on RH8
+ (they forgot to package it) and this program only requires GTK+ and
+ libwnck.
+* Use gnome-vfs to monitor the configuration file, and re-read it when
+ it is changed. This is fairly trivial, props to the gnome-vfs guys.
+
+The position of GUI builder is not a reflection of how much I want
+one, but a reflection of how long I think a good config tool will take
+to write.
+
+My previous GUI builders have been rather advanced... maybe it should
+be more wizard like. Allow the user to select one of a series of
+common options, such as 'make this window not appear in the task list'
+or 'move this window to workspace "Foo"'.
View
@@ -0,0 +1,20 @@
+#!/bin/sh
+# Run this to generate all the initial makefiles, etc.
+
+srcdir=`dirname $0`
+test -z "$srcdir" && srcdir=.
+
+PKG_NAME="devilspie"
+
+(test -f $srcdir/configure.in) || {
+ echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
+ echo " top-level $PKG_NAME directory"
+ exit 1
+}
+
+which gnome-autogen.sh || {
+ echo "You need to install gnome-common from the GNOME CVS"
+ exit 1
+}
+
+USE_GNOME2_MACROS=1 . gnome-autogen.sh
View
@@ -0,0 +1,41 @@
+dnl Initial blurb
+AC_PREREQ(2.52)
+AC_INIT(devilspie, 0.2.4, http://www.burtonini.com/)
+AC_CONFIG_SRCDIR(src/devilspie.c)
+AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
+AM_CONFIG_HEADER(config.h)
+
+AM_MAINTAINER_MODE
+
+dnl Do the gettext/i18n stuff
+AC_DEFINE(PACKAGE, AC_PACKAGE_NAME)
+AC_DEFINE(VERSION, AC_PACKAGE_VERSION)
+AC_DEFINE(GETTEXT_PACKAGE, "AC_PACKAGE_NAME", [foo])
+GETTEXT_PACKAGE=AC_PACKAGE_NAME
+AC_SUBST(GETTEXT_PACKAGE)
+AC_PROG_INTLTOOL([0.20])
+ALL_LINGUAS=""
+AM_GLIB_GNU_GETTEXT
+
+dnl Check for the POSIX regexpr functions and headers
+AC_CHECK_FUNCS([regcomp regexec regfree])
+AC_CHECK_HEADERS([sys/types.h regex.h])
+
+dnl Check that we actually have the libraries required to
+dnl build. Versioned dependancy on libwnck as essential API additions
+dnl were made in 0.17.
+PKG_CHECK_MODULES(EXTRA_GNOME,
+ gtk+-2.0
+ libwnck-1.0 >= 0.17
+ libglade-2.0)
+AC_SUBST(EXTRA_GNOME_CFLAGS)
+AC_SUBST(EXTRA_GNOME_LIBS)
+
+dnl We really need gob2 to build.
+GOB2_CHECK(2.0.3)
+
+AC_OUTPUT([
+Makefile
+src/Makefile
+po/Makefile.in
+])
View
@@ -0,0 +1,17 @@
+.TH devilspie 1
+.SH NAME
+devilspie \- perform actions on windows as they are created
+.SH SYNOPSIS
+.B devilspie
+.I "configuration-file"
+.SH "DESCRIPTION"
+.BR devilspie
+is a program which can detect windows as they are created, and perform
+actions on them if they match as set of criteria.
+
+The configuration file is a XML file. For now, the documentation for
+this file in in the example configuration file, and the relevant DTD.
+.SH BUGS
+This manpage is useless, as it was thrown together on a train.
+.SH AUTHOR
+This manual page was written by Ross Burton <ross@burtonini.com>.
View
@@ -0,0 +1,28 @@
+<!--
+This is the DTD for Devil's Pie configuration files
+Author: Ross Burton <ross@burtonini.com>
+-->
+
+<!--
+Root element
+-->
+
+<!ELEMENT devilspie (flurb)*>
+
+<!ELEMENT flurb (matchers, actions)>
+<!ATTLIST flurb name CDATA #IMPLIED>
+
+<!ELEMENT matchers (matcher)*>
+<!ELEMENT actions (action)*>
+
+<!ELEMENT matcher (property)*>
+<!ATTLIST matcher name CDATA #REQUIRED>
+
+<!ELEMENT action (property)*>
+<!ATTLIST action name CDATA #REQUIRED>
+
+<!ELEMENT property EMPTY>
+<!ATTLIST property
+ name CDATA #REQUIRED
+ value CDATA #REQUIRED
+>
Oops, something went wrong.

0 comments on commit 65b1f79

Please sign in to comment.