Started by taking list of event names and generating a list of perl
commands such as:
s{^\<emphasis role='bold'\>KeyPress\</emphasis\>}{<link linkend="events:KeyPress"><emphasis role='bold'>KeyPress</emphasis></link>}g;
and running that with perl -i -p /tmp/e.pl *.xml
Many of those changes were then manually reverted to avoid having
the same link appear multiple times in a paragraph or to avoid having
the definition sections link to themselves.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Started with a similar replace-regexp as the Requests chapter, but
with a lot more manual editing due to the sections with multiple
events grouped into a set.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Bulk of change performed with emacs replace-regexp:
<para id="requests:[^"]+">
<emphasis role='bold'>\([^<]+\)</emphasis>
<indexterm significance="preferred"><primary>[^<]+</primary></indexterm>
</para>
with:
</section>
<section id="requests:\1">
<title>\1</title>
<indexterm significance="preferred"><primary>\1</primary></indexterm>
Plus manual editing of the first & last section, and manual
conversion of GrabButton & GrabServer due to extra indexterm lines.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Cleans up the opening { of enum lists that the closing was handled
by commit 68bf1a7a0c
perl -i -p -e 's{^<emphasis([^>]*)>(\W+?\s+)}{$2<emphasis$1>}g' *.xml
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Workaround older Solaris releases using types from <sys/types.h> in
<sys/byteorder.h> and not including it directly.
(That was fixed in OpenSolaris/Solaris 11 as part of:
http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=4483139 )
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Acked-by: Pat Kane <pekane52@gmail.com>
Those keysyms will be used to report events from the hardware. Hardware
like the HP laptops emit 2 separate keycodes when the touchpad is enabled
or disabled. So we can catch those in user-space and display a popup.
https://bugs.freedesktop.org/show_bug.cgi?id=31300
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Currenlty the xorg.css file is copied in each location
where a DocBook/XML file resides. This produces about
70 copies in the $(docdir) install tree.
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Try to avoid problems similar to those fixed in libX11
commit 511c4f6d29b2da4f71093feabcbb3913cb5d12a7
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Many of the .IN tags seem to have been lost in translation before this.
Converted those still in comments with:
perl -i -p -e 's{\<\!-- \.IN "([^"]+)" "" "\@DEF\@" --\>}{<indexterm significance="preferred"><primary>$1</primary></indexterm>}' *.xml
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Unrelated to the previous patches, the new value simply reflects
the reality that the minimum level for autoconf to configure
all x.org modules is 2.60 dated June 2006.
ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.60.tar.gz
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
This macro aggregate a number of existing macros that sets commmon
X.Org components configuration options. It shields the configuration file from
future changes.