summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-06-12Install xml versions of specs even if HAVE_XMLTO is falseGaetan Nadon2-2/+2
DocBook/XML input source is also a usefull output format that can be viewed with an XML viewer or editor and by some O/S help system. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-06-11Install target dbs alongside generated documentsGaetan Nadon2-3/+3
This matches a change in xorg-sgml-docs whereby the masterdb will look for the target dbs into the same location as the generated documents. The target dbs are now installed alongside the generated documents. Previously they are installed in $prefix/sgml/X11/dbs alongside masterdb which has the potential of installing outside the package prefix and cause distcheck to fail when user does not have write permission in this package. Requires XORG_CHECK_SGML_DOCTOOLS(1.8) which was released 2011-06-11
2011-06-06Fix sorting by codepoint in Latin 2.Cyril Brulebois1-1/+1
Sort performed by calling “sort -k 3” on the part between #ifdef XK_LATIN8 and #endif. Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Cyril Brulebois <kibi@debian.org>
2011-06-04build: Add SIAddresses as a subdir of specs.Cyril Brulebois1-0/+1
Fix the following distcheck failure: | configure: creating ./config.status | config.status: creating Makefile | config.status: creating specs/Makefile | config.status: error: cannot find input file: `specs/SIAddresses/Makefile.in' | make: *** [distcheck] Error 1 Signed-off-by: Cyril Brulebois <kibi@debian.org> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-05-28spec: Add more indexterm & glossterm linksAlan Coopersmith4-24/+97
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-05-28spec: move id attributes for event definitions so fop can find themAlan Coopersmith1-18/+18
FOP gives 'Unresolved ID reference "events:FocusOut" found.' errors when the id attribute is on the emphasis tag, so moved up to the surrounding entry tag. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-05-28spec: Add zone attributes to indexterm tags for more stable link idsAlan Coopersmith3-365/+370
Use named id's instead of autogenerating idXXXXXX values that change in different versions so that it's easier to have stable links. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-05-28spec: move &gt; outside emphasis to match &lt; in note after error listAlan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-05-28spec: Syntactic Conventions examples should not be separate list entriesAlan Coopersmith1-10/+0
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-05-28spec: Add cross-reference links in glossary to InputOnly & InputOutputAlan Coopersmith1-4/+4
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-05-28spec: Markup VoidSymbol and NoSymbol with <keysym> instead of <emphasis>Alan Coopersmith2-15/+16
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-05-27Sort Latin 8 keysyms by codepoints.Cyril Brulebois1-12/+12
The overall chaos misled implementors into writing interval checks to determine the case, but that doesn't work too well when lines aren't sorted. Sort performed by calling “sort -k 3” on the part between #ifdef XK_LATIN8 and #endif. Signed-off-by: Cyril Brulebois <kibi@debian.org> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-05-25Add comments to Xfuncproto.h noting required xproto versions for each macroAlan Coopersmith1-0/+11
Saves time trawling git logs to determine what to put in the call to PKG_CHECK_MODULES in configure.ac when you start using one of these. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> Acked-by: Cyril Brulebois <kibi@debian.org>
2011-04-28Add _X_NONNULL macro to annotate when a function expects arguments to be ↵Jeremy Huddleston1-0/+6
non-null This will allow with compiler optimization and better static analysis. Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> Reviewed-by: Daniel Stone <daniel@fooishbar.org>
2011-04-28Add _X_UNUSED attribute to designate unused variables and silence warningsJeremy Huddleston1-0/+6
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> Reviewed-by: Daniel Stone <daniel@fooishbar.org>
2011-04-21Fix __STDC_VERSION__ tests.Matthieu Herrb1-2/+2
the existing test: defined(__STDC__) && (__STDC_VERSION__ - 0 >= 199901L) causes an warning when building X stuff with gcc -Wundef. Other tests for __STDC_VERSION__ in the X sources all use defined(__STDC_VERSION__) && (__STDC_VERSION__ -0 >= 199901L) Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr> Reviewed-by: Matt Turner <mattst88@gmail.com> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-03-30Documentation: add Docbook external references supportGaetan Nadon4-68/+114
When writing technical documentation, it is often necessary to cross reference to other information. When that other information is not in the current document, additional support is needed, namely <olink>. A new feature with version 1.7 of xorg-sgml-doctools adds references to other documents within or outside this package. This patch adds technical support for this feature but does not change the content of the documentation as seen by the end user. Each book or article must generate a database containing the href of sections that can be referred to from another document. This database is installed in DATAROOTDIR/sgml/X11/dbs. There is a requirement that the value of DATAROOTDIR for xorg-sgml-doctools and for the package documentation is the same. This forms a virtual document tree. This database is consulted by other documents while they are being generated in order to fulfill the missing information for linking. Refer to the xorg-sgml-doctools for further technical information. Co-authored-by: Matt Dew <marcoz@osource.org> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-03-23xproto 7.0.21xproto-7.0.21Peter Hutterer1-1/+1
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-03-15Add #defines for Unicode Sinhala to keysymdef.hHarshula Jayasuriya2-0/+89
Add #defines for Unicode Sinhala so that they can be used in the lk XKB keyboard layout. Signed-off-by: Harshula Jayasuriya <harshula@gmail.com> Reviewed-by: Daniel Stone <daniel@fooishbar.org>
2011-02-24Support _X_INLINE in any C99-compliant compilerAlan Coopersmith1-7/+12
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-01-06Add missing notices to COPYINGAlan Coopersmith1-5/+48
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-12-13Xfuncproto.h: Add _X_RESTRICT_KEYWORD for C99 & gcc in non-strict-C89 modeAlan Coopersmith1-0/+12
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-12-13Enable gcc attribute(__format__) on gcc versions older than 4.0Alan Coopersmith1-2/+6
Enabled on 2.3 and up, since that's where it's available according to http://www.ohse.de/uwe/articles/gcc-attributes.html#func-format Tested with gcc 3.4.3 on Solaris. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
2010-12-07xproto 7.0.20xproto-7.0.20Alan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-12-04spec: Convert .DS/.DE nroff sections to <literallayout> tagsAlan Coopersmith1-83/+83
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-12-04spec: Convert some tables that didn't get converted from troff properlyAlan Coopersmith1-89/+194
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-12-04Replace ASCII -> arrows with Unicode ▶Alan Coopersmith2-84/+84
Matches formatting used in current extension specs like randr Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-12-04spec: Make request names in text hyperlinks to request definition sectionsAlan Coopersmith2-256/+256
Same basic process as previous commit for event names Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-12-04spec: Make event names in text hyperlinks to event definition sectionsAlan Coopersmith2-135/+135
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-04spec: Convert Events chapter into sectionsAlan Coopersmith1-118/+258
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-04spec: Convert Requests chapter to have a section per requestAlan Coopersmith1-486/+483
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-04spec: Fix a bunch of the .RB -> <emphasis> mappingsAlan Coopersmith2-50/+50
Cleans up the opening { of enum lists that the closing was handled by commit 68bf1a7a0c89 perl -i -p -e 's{^<emphasis([^>]*)>(\W+?\s+)}{$2<emphasis$1>}g' *.xml Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-12-04spec: add more indexterms linking into the body of the documentAlan Coopersmith1-5/+43
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-12-04spec: move another indexterm in glossary to workaround fop crashing bugAlan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-12-03spec: Change titles of other specs from emphasis to citetitle tagsAlan Coopersmith1-5/+5
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-12-03spec: Fix section title markup in Connection Setup chapterAlan Coopersmith1-125/+105
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-12-03spec: Fix section title markup in Protocol Formats chapterAlan Coopersmith1-27/+24
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-12-03spec: convert predefined atom list from table to simplelistAlan Coopersmith1-124/+70
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-12-03spec: Fix a bunch of the .BR -> <emphasis> mappingsAlan Coopersmith4-1242/+1242
perl -i -p -e 's{ (\W*?)\s*</emphasis>}{</emphasis>$1}g' *.xml Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-12-02specs: add ServerInterpreted addresses directoryGaetan Nadon8-0/+59
Relocated from xorg-docs/specs/SIAddresses Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-11-29spec: Add glossterm cross reference links to glossaryAlan Coopersmith1-16/+20
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-11-28spec: Stopping marking glossary terms as functions when they're notAlan Coopersmith1-99/+99
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-11-28spec: Finish converting some unconverted index entries in glossaryAlan Coopersmith1-19/+19
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-28spec: Add id's to glossary entries for use in cross-reference linksAlan Coopersmith1-98/+98
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-11-28spec: Add cross-reference links in doc ("see ...")Alan Coopersmith3-32/+37
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-11-28Sun's copyrights belong to Oracle nowAlan Coopersmith2-2/+3
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-11-28Bug 31132: Xarch.h needs to include <sys/types.h> on Solaris 10Alan Coopersmith1-0/+1
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-18Add XF86XK_TouchpadOn/OffBastien Nocera1-0/+2
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-09config: HTML file generation: use the installed copy of xorg.cssGaetan Nadon2-6/+4
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-03xproto 7.0.19xproto-7.0.19Alan Coopersmith1-1/+2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>