mutter/doc
Owen W. Taylor 020aea033c metacity-theme-3.xml: Add a flexible version mechanism
The current mechanism of metacity-theme-1.xml and metacity-theme-2.xml
is not flexible for allowing small-scale additions. With this patch
we bump the major version version once more to metacity-theme-3.xml
and add a single feature:

Any element in the DTD can have an attribute:

 version="[<|<=|=>|>] MAJOR.MINOR"

And it will be ignored unless the predicate is met. (< and > should
be to be entity escaped as &lt; and &gt;)

This allows having alternate sections of the theme file for older and
newer version.

* Required GLib version is bumped to 2.14 so we can parse versions
  with a regular expression.

* We switch internal version numbers to be "1000 * major + minor"

* We keep a stack of the maximum required version for the current portion
  the XML tree so that the "cannot use versions you don't require" stricture
  of the old code can be made local to a subpart of the tree.

* A version on the top metacity_theme element causes the entire file to
  be ignored; this allows having one metacity-theme-3.xml for version 3.2
  and newer (say) and a metacity-1.xml for everything old.

Actual new features will be added starting with 3.1 - 3.0 is just the
version="" feature.

http://bugzilla.gnome.org/show_bug.cgi?id=592503
2010-04-13 13:40:16 -04:00
..
man Comprehensively rename to Mutter 2009-06-16 14:17:10 -04:00
.cvsignore and you 2002-11-26 12:21:59 +00:00
code-overview.txt Provide more documentation to make it easier for people to contribute to 2005-01-02 21:59:05 +00:00
compositor-control.txt Comprehensively rename to Mutter 2009-06-16 14:17:10 -04:00
dialogs.txt A small writeup on how to use dialogs in metacity. Approved by Havoc. 2003-02-17 05:00:40 +00:00
how-constraints-works.txt Merge of all the changes on the constraints_experiments branch. This is 2005-11-19 14:58:50 +00:00
how-to-get-focus-right.txt Fix lots of little issues with min/max constraints and size increment 2007-04-04 21:54:56 +00:00
Makefile.am Comprehensively rename to Mutter 2009-06-16 14:17:10 -04:00
strut-and-related-updating.txt Oops, missed a couple cleanups in this documentation 2005-11-21 18:19:58 +00:00
theme-format.txt metacity-theme-3.xml: Add a flexible version mechanism 2010-04-13 13:40:16 -04:00