Commit graph

181 commits

Author SHA1 Message Date
Alan Coopersmith
d25f90fe26 xproto 7.0.20
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-12-07 19:05:26 -08:00
Alan Coopersmith
78806c9fc4 spec: Convert .DS/.DE nroff sections to <literallayout> tags
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-12-04 17:57:50 -08:00
Alan Coopersmith
f1309dd259 spec: Convert some tables that didn't get converted from troff properly
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-12-04 17:37:05 -08:00
Alan Coopersmith
19e314d952 Replace ASCII -> arrows with Unicode ▶
Matches formatting used in current extension specs like randr

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-12-04 16:28:52 -08:00
Alan Coopersmith
fa2daaceb0 spec: Make request names in text hyperlinks to request definition sections
Same basic process as previous commit for event names

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-12-04 16:14:53 -08:00
Alan Coopersmith
998f64c6c9 spec: Make event names in text hyperlinks to event definition sections
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>
2010-12-04 16:14:53 -08:00
Alan Coopersmith
c4be93c218 spec: Convert Events chapter into sections
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>
2010-12-04 16:14:53 -08:00
Alan Coopersmith
eb772110ff spec: Convert Requests chapter to have a section per request
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>
2010-12-04 16:14:40 -08:00
Alan Coopersmith
14a0efb08c spec: Fix a bunch of the .RB -> <emphasis> mappings
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>
2010-12-04 11:45:48 -08:00
Alan Coopersmith
c11f17ab76 spec: add more indexterms linking into the body of the document
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-12-04 01:38:10 -08:00
Alan Coopersmith
19ce91d225 spec: move another indexterm in glossary to workaround fop crashing bug
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-12-04 00:21:36 -08:00
Alan Coopersmith
2406b705e5 spec: Change titles of other specs from emphasis to citetitle tags
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-12-03 22:09:05 -08:00
Alan Coopersmith
10b0200992 spec: Fix section title markup in Connection Setup chapter
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-12-03 22:02:06 -08:00
Alan Coopersmith
573cf64807 spec: Fix section title markup in Protocol Formats chapter
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-12-03 22:01:57 -08:00
Alan Coopersmith
79afc5fb99 spec: convert predefined atom list from table to simplelist
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-12-03 21:43:09 -08:00
Alan Coopersmith
68bf1a7a0c spec: Fix a bunch of the .BR -> <emphasis> mappings
perl -i -p -e 's{ (\W*?)\s*</emphasis>}{</emphasis>$1}g' *.xml

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-12-03 16:02:45 -08:00
Gaetan Nadon
eef13837a6 specs: add ServerInterpreted addresses directory
Relocated from xorg-docs/specs/SIAddresses

Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-12-02 16:16:26 -05:00
Alan Coopersmith
fb8a596aec spec: Add glossterm cross reference links to glossary
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-11-29 00:23:38 -08:00
Alan Coopersmith
ee6ddb4b0e spec: Stopping marking glossary terms as functions when they're not
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-11-28 23:56:12 -08:00
Alan Coopersmith
710b9979c9 spec: Finish converting some unconverted index entries in glossary
Change made by:
perl -i -p -e 's{\<\!-- \.IN "([^"]+)" "([^"]+)" "\@DEF\@" --\>}{  <indexterm significance="preferred"><primary>$1</primary><secondary>$2</secondary></indexterm>}' glossary.xml

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-11-28 23:52:37 -08:00
Alan Coopersmith
ae571ef20d spec: Add id's to glossary entries for use in cross-reference links
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-11-28 23:35:51 -08:00
Alan Coopersmith
6bc03d2e9f spec: Add cross-reference links in doc ("see ...")
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-11-28 23:26:53 -08:00
Alan Coopersmith
2fd776b24e Sun's copyrights belong to Oracle now
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-11-28 22:44:39 -08:00
Alan Coopersmith
fe7b269fd3 Bug 31132: Xarch.h needs to include <sys/types.h> on Solaris 10
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>
2010-11-28 22:44:33 -08:00
Bastien Nocera
5d3428de97 Add XF86XK_TouchpadOn/Off
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>
2010-11-18 14:29:20 +10:00
Gaetan Nadon
d441b9b023 config: HTML file generation: use the installed copy of xorg.css
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>
2010-11-09 15:19:09 -05:00
Alan Coopersmith
cda6ce66ca xproto 7.0.19
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-11-03 00:04:22 -07:00
Alan Coopersmith
25bd19ee85 README: Provide a small description
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-11-03 00:04:06 -07:00
Alan Coopersmith
ce8b17064d specs: Fix nesting of chapters included in sect1-9.xml
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-10-31 15:43:10 -07:00
Alan Coopersmith
14acb707db specs: Move indexterms out of glossdef tags
Try to avoid problems similar to those fixed in libX11
commit 511c4f6d29b2da4f71093feabcbb3913cb5d12a7

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-10-31 15:43:10 -07:00
Alan Coopersmith
0d44b3e4db specs: Restore missing indexterms for request, type, error & event definitions
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-10-31 15:43:10 -07:00
Alan Coopersmith
ea96e0e74f specs: Convert troff ``quotes'' to DocBook <quote>quotes</quote>
perl -i -p -e 's{\`\`([^\047]+)\047\047}{<quote>$1</quote>}g' *.xml

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-10-31 15:43:10 -07:00
Alan Coopersmith
d27f326c97 specs: Convert .IN troff tags to <indexterm> DocBook Tags
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>
2010-10-31 15:43:10 -07:00
Alan Coopersmith
34b099b7b6 specs: Fix authorship section
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-10-31 15:43:04 -07:00
Matt Dew
c23cc9a4a7 specs: convert protocol .ms from xorg-docs to DocBook XML
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-08-18 10:22:22 -04:00
Adam Jackson
cb020b302c xproto 7.0.18
Signed-off-by: Adam Jackson <ajax@redhat.com>
2010-08-10 10:20:01 -04:00
Alan Coopersmith
d14e0d0250 Add Sun cc 5.9 & later to compilers supporting noreturn attribute
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
2010-05-18 17:53:10 -07:00
Julien Cristau
9ffca70443 xproto 7.0.17
Signed-off-by: Julien Cristau <jcristau@debian.org>
2010-05-15 17:43:50 +02:00
Gaetan Nadon
81c3cc1ce1 config: update AC_PREREQ statement to 2.60
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>
2010-03-28 19:25:52 -04:00
Gaetan Nadon
1f442cdd1c config: remove the pkgconfig pc.in file from EXTRA_DIST
Automake always includes it in the tarball.

Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-03-28 19:00:31 -04:00
Jeremy Huddleston
1511eb6065 Add _X_NORETURN macro to signify functions that don't return
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
Reviewed-by: Alan Coopersmith <alan.coopersmith@sun.com>
2010-03-28 13:14:57 -07:00
Gaetan Nadon
e7d73aec46 config: remove execute permission on configuration file
Introduced in commit 	c879dab58f
"avoid checking for fds_bits on mingw"

Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-03-27 16:38:27 -04:00
Alan Coopersmith
bf25d06799 Update Sun license notices to current X.Org standard form
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2010-01-15 13:31:40 -08:00
Yaakov Selkowitz
d02f4b1244 xproto: Cygwin GCC does not support visibility attributes
Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
Acked-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2010-01-04 11:37:54 +10:00
Gaetan Nadon
ec13f2cc5a Makefile.am: add ChangeLog and INSTALL on MAINTAINERCLEANFILES
Now that the INSTALL file is generated.
Allows running make maintainer-clean.
2009-11-22 19:24:48 -05:00
Gaetan Nadon
45135e80f1 README: file created or updated #24206
Contains a set of URLs to freedesktop.org.
2009-11-16 11:13:30 -05:00
Gaetan Nadon
cdd22487f1 Makefile.am: ChangeLog not required: EXTRA_DIST or *CLEANFILES #24432
ChangeLog filename is known to Automake and requires no further
coding in the makefile.
2009-11-15 19:45:27 -05:00
Gaetan Nadon
b99b992915 Makefile.am: INSTALL file is missing or incorrect #24206
The standard GNU file on building/installing  tarball is copied
using the XORG_INSTALL macro contained in XORG_DEFAULT_OPTIONS
Add INSTALL target
2009-11-15 18:31:29 -05:00
Gaetan Nadon
caea0fd5a9 configure.ac: deploy the new XORG_DEFAULT_OPTIONS #24242
This macro aggregate a number of existing macros that sets commmon
X.Org components configuration options. It shields the configuration file from
future changes.
2009-11-15 18:11:36 -05:00
Gaetan Nadon
f1b1d45cd9 configure.ac: AM_MAINTAINER_MODE missing #24238
This turns off maintainer mode build rules in tarballs.
Works in conjunction with autogen.sh --enable-maintainer-mode
2009-11-15 13:48:57 -05:00