summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2013-04-13Use _XEatDataWords to avoid overflow of rep.length bit shiftingAlan Coopersmith10-9/+64
rep.length is a CARD32, so rep.length << 2 could overflow in 32-bit builds Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-01-15autogen.sh: Implement GNOME Build APIColin Walters1-1/+3
http://people.gnome.org/~walters/docs/build-api.txt Signed-off-by: Adam Jackson <ajax@redhat.com>
2013-01-15configure: Remove AM_MAINTAINER_MODEAdam Jackson1-1/+0
Signed-off-by: Adam Jackson <ajax@redhat.com>
2012-08-23Replace presentationm-level requests with .RS/RE.Eric S. Raymond1-9/+9
This will assist translation to DocBook. Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
2012-08-23Replace various unsafe presentation-level requests with .RS/.RE and .EX/EE.Eric S. Raymond1-47/+68
These can be translated structurally into DocBook.
2012-07-30Avoid having macros expand code to be: ((f) ? (f)->m1 : NULL)->m2Thomas Klausner1-2/+2
From Matthew R. Green <mrg@NetBSD.org> Signed-off-by: Thomas Klausner <wiz@NetBSD.org> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-04-23Destroy generic event extension after last display is removedChase Douglas1-1/+9
The extension record is currently leaked and never freed. Signed-off-by: Chase Douglas <chase.douglas@canonical.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-04-23sync: fix copy/paste error in commentPeter Hutterer1-1/+1
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-03-07libXext 1.3.1libXext-1.3.1Alan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-10-14Add const attributes to fix gcc -Wwrite-strings warningsAlan Coopersmith15-21/+21
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-10-07more Cleanup of IDs and links in docMatt Dew1-9/+9
2011-09-22Fix id attributes capitolizationMatt Dew1-34/+34
#1 - fix the capitolization of the ID attriutes to match either the <title> or <funcdef> string it goes with. #2 - fix any <linkend>'s that were affected by #1 #3 - any <function> in the docs that has an actual funcdef, will become an olink. Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Gaetan Nadon <memsize@videotron.ca> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-09-20specs: regroup <author> <editor> <othercredit> under authorgroupGaetan Nadon1-4/+4
Some elements are not displayed when outside authorgroup Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-09-20xtest1: adding legal text related to the X Consortium CopyrightGaetan Nadon1-0/+29
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-09-20dpmslib: minor markup fix in legal textGaetan Nadon1-3/+1
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-09-20synclib: refactor copyright legal text for multiple licensingGaetan Nadon1-11/+8
One sentence added as per the xorg License doc. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-09-20specs: add missing legal text informationGaetan Nadon1-1/+1
The reference being the xorg License doc. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-09-16Strip trailing whitespaceAlan Coopersmith50-660/+660
Performed with: find * -type f | xargs perl -i -p -e 's{[ \t]+$}{}' git diff -w & git diff -b show no diffs from this change Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-09-16dbelib: refactor docbook copyright markupGaetan Nadon1-5/+16
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-09-15synclib: fix authors and affiliationsGaetan Nadon1-3/+13
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-09-14dbelib: fix typo in author's nameGaetan Nadon1-1/+1
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-09-14dpmslib: restore DEC copyrightGaetan Nadon1-2/+3
Somehow during docbook conversion the copyright was changed from DEC to X Consortium. There are suprious instances of X Consortium in many docs. The dpms protocol doc was intact. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-09-14docs: fix author affiliationGaetan Nadon3-8/+5
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-09-14docs: remove orphan affiliationGaetan Nadon1-2/+1
Move releaseinfo elements together Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-09-14docs: fix author affiliationGaetan Nadon1-2/+2
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-09-12docs: use the &fullrelvers; entity to set X11 release informationGaetan Nadon4-8/+20
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-09-11docs: remove <productnumber> which is not used by defaultGaetan Nadon5-5/+0
This element is not rendered by default on the title. A template customization is required to display it. X Window System does not have a product number. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-09-08docbook.am: embed css styles inside the HTML HEAD elementGaetan Nadon1-2/+0
Rather than referring to the external xorg.css stylesheet, embed the content of the file in the html output produced. This is accomplished by using version 1.10 of xorg-xhtml.xsl. This makes the whole html docs tree much more relocatable. In addition, it eliminates xorg.css as a runtime file which makes xorg-sgml-doctools a build time only package. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-09-07docbook.am: global maintenance update - entities, images and olinkingGaetan Nadon1-52/+62
Adding support in libX11 for html chunking caused a reorg of docbook.am as well as the xorg-sgml-doctools masterdb for olinking. The parameter img.src.path is added for pdf images. A searchpath to the root builddir is added for local entities, if present. The docbook.am makefile hides all the details and is identical for all 22 modules having DocBook documentation. It is included by a thin Makefile.am which requires no docbook knowledge. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-07-17Add some links for quick referencing definitions.Matt Dew1-11/+20
Signed-off-by: Matt Dew <marcoz@osource.org> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Acked-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-04add id attributes to funcsynopsis to allow other docs to olink to them.Matt Dew4-60/+60
Signed-off-by: Matt Dew <marcoz@osource.org> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
2011-05-06Install xml versions of specs even if HAVE_XMLTO is falseAlan Coopersmith2-2/+2
Moves HAVE_XMLTO check into docbook.am, more closely matches behaviour from before docbook.am changes. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-05-06libXext 1.3.0libXext-1.3.0Alan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-04-12Correct XShm return values.Peter Hutterer3-13/+13
XShmAttach, XShmDetach, XShmPutImage do not return a Status but 0 or 1. Though the man section for XShmAttach says "if all goes well, you will get a non-zero status, back" this is counter to the usage of Status in Xlib itself where 0 means Success and no-zero specifies the specific error. XShmPixmapFormat does not return a Status but the pixmap format or 0 on failure. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Adam Jackson <ajax@redhat.com>
2011-04-11Add missing prototypes. #14723Alistair Leslie-Hughes1-0/+14
This patch is based off the work by Paulo César Pereira de Andrade Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=14723 Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-03-30Documentation: add Docbook external references supportGaetan Nadon4-57/+108
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-02-25Add _X_HIDDEN to xgeExtRegister to fix build problems on 64bitAlan Hourihane1-1/+1
2011-02-02config: comment, minor upgrade, quote and layout configure.acGaetan Nadon1-24/+18
Group statements per section as per Autoconf standard layout Quote statements where appropriate. Autoconf recommends not using dnl instead of # for comments Use AC_CONFIG_FILES to replace the deprecated AC_OUTPUT with parameters. Remove redundant AC_CANONICAL_HOST included in XORG_DEFAULT_OPTIONS Remove redundant AC_SUBST(*_CFLAGS) and/or *_LIBS No functional configuration changes This helps automated maintenance and release activities. Details can be found in http://wiki.x.org/wiki/NewModuleGuidelines Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-01-28config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERSGaetan Nadon1-1/+1
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-01-28config: remove unrequired AC_HEADER_STDCGaetan Nadon1-5/+0
Autoconf says: "This macro is obsolescent, as current systems have conforming header files. New programs need not use this macro".
2011-01-27config: remove AC_PROG_CC as it overrides AC_PROG_C_C99Gaetan Nadon1-1/+0
XORG_STRICT_OPTION from XORG_DEFAULT_OPTIONS calls AC_PROG_C_C99. This sets gcc with -std=gnu99. If AC_PROG_CC macro is called afterwards, it resets CC to gcc. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-12-19Remove old .tex versions of dbelib & synclib specs now that we have .xmlAlan Coopersmith2-1390/+0
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-12-16Use docbookx.dtd version 4.3 for all docsPaulo Zanoni4-8/+8
Signed-off-by: Paulo Zanoni <pzanoni@mandriva.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-12-16specs/xtest1.xml: Fix section titles/nestingAlan Coopersmith1-9/+7
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-12-16specs/synclib.xml: Fix title page/legal notice markupAlan Coopersmith1-11/+20
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-12-16specs/shapelib.xml: Remove extra Glossary titleAlan Coopersmith1-4/+0
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-12-03Add XSyncAwaitFence()James Jones2-0/+27
Add the XSynceFence version of XSyncAwait(). Waits for fence objects to reach the triggered state. Signed-off-by: James Jones <jajones@nvidia.com> Reviewed-by: Aaron Plattner <aplattner@nvidia.com> Acked-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-12-03Add XSyncQueryFence()James Jones2-0/+35
Allows callers to query whether or not a given fence sync object is currently triggered. Signed-off-by: James Jones <jajones@nvidia.com> Reviewed-by: Aaron Plattner <aplattner@nvidia.com> Acked-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-12-03Initial Fence Sync Object supportJames Jones2-0/+106
Allows creating and managing binary state sync objects. Currently they aren't useful because there is not yet a way to wait for them or query their state. X fence objects are owned by a screen. As Aaron Plattner pointed out, screens are identified by a drawable in X protocol, so XSyncCreateFence() takes a drawable to identify which screen to create the fence on. Signed-off-by: James Jones <jajones@nvidia.com> Reviewed-by: Aaron Plattner <aplattner@nvidia.com> Acked-by: Alan Coopersmith <alan.coopersmith@oracle.com>