summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* autogen.sh: Implement GNOME Build APIbaserock/morphColin Walters2013-01-151-1/+3
| | | | | | http://people.gnome.org/~walters/docs/build-api.txt Signed-off-by: Adam Jackson <ajax@redhat.com>
* configure: Remove AM_MAINTAINER_MODEAdam Jackson2013-01-151-1/+0
| | | | Signed-off-by: Adam Jackson <ajax@redhat.com>
* Adjust wrapping to work with MinGW-w64 headersYaakov Selkowitz2012-10-292-12/+41
| | | | | | | | | | | Adjust <windows.h> wrapping to work with MinGW-w64 as well MinGW.org headers, which define BOOL in a different way. Add some more comments on what we doing here. v2: Make similar changes to Xwinsock.h, used for MinGW but not Cygwin. Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
* Do not use visibility attributes on MinGWYaakov Selkowitz2012-10-161-1/+1
| | | | | | Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> Reviewed-by: Colin Harrison <colin.harrison@virgin.net> Tested-by: Colin Harrison <colin.harrison@virgin.net>
* Bug 51009: _X_RESTRICT_KYWD fix for g++ 4.6 & later on SolarisAlan Coopersmith2012-09-061-1/+2
| | | | | | | | | | | | | | | g++ 4.6 & later on Solaris set the __STDC_VERSION__ define to indicate C99 mode to expose C99/Unix03 functions in the system headers, even though they don't recognize the C99 restrict keyword, as explained in http://gcc.gnu.org/ml/gcc-patches/2010-05/msg01308.html Thus we avoid using the restrict keyword here if __cplusplus is also defined, falling back to the __GNUC__ case using __restrict__ instead. Fixes https://bugs.freedesktop.org/show_bug.cgi?id=51009 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Tested-by: Jonathan Perkin
* Add XF86XK_AudioMicMuteJames M Leddy2012-08-261-0/+2
| | | | | | | | Lenovo Thinkpad machines have a microphone mute in addition to the standard audio output mute. Signed-off-by: James M. Leddy <james.leddy@canonical.com> Signed-off-by: James Cloos <cloos@jhcloos.com>
* Xmd.h: Treat __ILP32__ targets as LONG32 onesSergei Trofimovich2012-06-101-1/+3
| | | | | | | | | | | | | | amd64-x32 ABI defines sizeof(long) == sizeof (void*) == 4 Noticed on build failure of libXmu: libXmu-1.1.0/work/libXmu-1.1.0/src/EditresCom.c: In function '_XEditresGetStringValues': libXmu-1.1.0/work/libXmu-1.1.0/src/EditresCom.c:2198:6: error: duplicate case value libXmu-1.1.0/work/libXmu-1.1.0/src/EditresCom.c:2194:6: error: previously used here More info about x32: https://sites.google.com/site/x32abi/ Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> Signed-off-by: James Cloos <cloos@jhcloos.com>
* config: replace obsolete AC_CONFIG_HEADER with with AC_CONFIG_HEADERSGaetan Nadon2012-05-021-2/+2
| | | | | | | | The former is an obsolete alias to the latter. It may get removed in the future. Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
* xproto 7.0.23xproto-7.0.23Alan Coopersmith2012-03-151-1/+1
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* x11proto: add permille, ezh, and EZH to keysymdef.hMarko Myllynen2012-02-212-4/+13
| | | | | | | | | | | | | | | | | | | This patch adds the following mnemonic symbols: XK_permille for U+2030 PER MILLE SIGN XK_EZH for U+01B7 LATIN CAPITAL LETTER EZH XK_ezh for U+0292 LATIN SMALL LETTER EZH These are the last mnemonic symbols missing from the Finnish keyboard layout. The characters are part of the Finnish standard, ezh is used in Sami and permille sign is used commonly in Finland, probably in other countries as well. https://bugs.freedesktop.org/show_bug.cgi?id=19687 Signed-off-by: Marko Myllynen <myllynen@redhat.com> Reviewed-by: Matt Dew <marcoz@osource.org> Signed-off-by: James Cloos <cloos@jhcloos.com>
* Definition of dead greek symbolFrédéric Boiteux2012-02-081-0/+2
| | | | | | | | | Define a new dead greek symbol for use in Dvorak-like Bepo keyboard layout. FreeDesktop Bug 21475 <https://bugs.freedesktop.org/show_bug.cgi?id=21475> Signed-off-by: Frédéric Boiteux <fboiteux@calistel.com> Signed-off-by: James Cloos <cloos@jhcloos.com>
* informaltable cleanupMatt Dew2012-01-153-2303/+2468
| | | | | | | | | | | | | | | | On certain tables, add top and bottom borders to table header and a bottom border to the table. This matches what those tables in the old pdfs looked like. the <?dbfo keep-together='always'> prevents tables from splitting across pages. Useful for tiny tables. Converting the colwidth to a floating point, IE, 1* -> 1.0* cleans up these build errors: WARNING: table-layout="fixed" and column-width unspecified => falling back to proportional-column-width(1) Signed-off-by: Matt Dew <marcoz@osource.org>
* Cygwin/X: Include <strings.h> early to avoid compile errorsYaakov Selkowitz2011-11-212-2/+2
| | | | | | | http://lists.x.org/archives/xorg-devel/2011-November/027117.html Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
* 1 - fix the capitolization of the ID attriutes to match either theMatt Dew2011-10-033-49/+49
| | | | | | | | | <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. Signed-off-by: Matt Dew <marcoz@osource.org>
* x11proto spec: fix copyright markupGaetan Nadon2011-09-211-9/+5
| | | | Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
* spec: remove duplicate Copyright lineGaetan Nadon2011-09-141-3/+0
| | | | Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
* docs: use the &fullrelvers; entity to set X11 release informationGaetan Nadon2011-09-121-1/+5
| | | | Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
* docs: remove <productnumber> which is not used by defaultGaetan Nadon2011-09-111-1/+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>
* docbook.am: embed css styles inside the HTML HEAD elementGaetan Nadon2011-09-081-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>
* docbook.am: global maintenance update - entities, images and olinkingGaetan Nadon2011-09-071-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>
* Fix Xfuncproto.h to work when #included in a C89-mode compilationAlan Coopersmith2011-08-301-2/+4
| | | | | | | | | | | | | | | | | Variable argument macros are not supported in C89, only C99 or a compiler-specific extension like gcc's. Even just defining the macro causes builds with C89 compilers to fail, as they can't figure out how to handle #define _X_NONNULL(...), so only define the fallback for C99 compilers. Since this means C89 compilers will see _X_NONNULL unexpanded in sources, add a comment to remind users that this should only be used with #ifdef _X_NONNULL guards in public/exported API headers we install for other software to compile against, so that we don't break their builds. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Julien Cristau <jcristau@debian.org>
* Add some keysyms to support Breton’s n-graphs.James Cloos2011-06-291-0/+9
| | | | | | | | | | These keysyms are necessary for XIM to support single-keystroke multiple-character keys on Breton C’HWERTY keyboards. Addresses: https://bugs.freedesktop.org/show_bug.cgi?id=34453 Signed-off-by: James Cloos <cloos@jhcloos.com> Reviewed-by: Daniel Stone <daniel@fooishbar.org>
* xproto 7.0.22xproto-7.0.22Peter Hutterer2011-06-231-1/+1
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* Add two more symbols for logging grab and window treesPeter Hutterer2011-06-201-1/+2
| | | | | | | | | | | | | | These two keysyms provide exciting new possibilities of a close relationship between our valued users and hard-working developers through innovative logging solutions. Such keysyms truly pave new ground in the reponsiveness to bug reports and and debug-ability of grabs. For unprecedented uses of these keysyms, see the patches here: http://patchwork.freedesktop.org/patch/5936/ http://patchwork.freedesktop.org/patch/5935/ Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Daniel Stone <daniel@fooishbar.org>
* Install xml versions of specs even if HAVE_XMLTO is falseGaetan Nadon2011-06-122-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>
* Install target dbs alongside generated documentsGaetan Nadon2011-06-112-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
* Fix sorting by codepoint in Latin 2.Cyril Brulebois2011-06-061-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>
* build: Add SIAddresses as a subdir of specs.Cyril Brulebois2011-06-041-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>
* spec: Add more indexterm & glossterm linksAlan Coopersmith2011-05-284-24/+97
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* spec: move id attributes for event definitions so fop can find themAlan Coopersmith2011-05-281-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>
* spec: Add zone attributes to indexterm tags for more stable link idsAlan Coopersmith2011-05-283-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>
* spec: move &gt; outside emphasis to match &lt; in note after error listAlan Coopersmith2011-05-281-1/+1
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* spec: Syntactic Conventions examples should not be separate list entriesAlan Coopersmith2011-05-281-10/+0
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* spec: Add cross-reference links in glossary to InputOnly & InputOutputAlan Coopersmith2011-05-281-4/+4
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* spec: Markup VoidSymbol and NoSymbol with <keysym> instead of <emphasis>Alan Coopersmith2011-05-282-15/+16
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Sort Latin 8 keysyms by codepoints.Cyril Brulebois2011-05-271-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>
* Add comments to Xfuncproto.h noting required xproto versions for each macroAlan Coopersmith2011-05-251-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>
* Add _X_NONNULL macro to annotate when a function expects arguments to be ↵Jeremy Huddleston2011-04-281-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>
* Add _X_UNUSED attribute to designate unused variables and silence warningsJeremy Huddleston2011-04-281-0/+6
| | | | | Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> Reviewed-by: Daniel Stone <daniel@fooishbar.org>
* Fix __STDC_VERSION__ tests.Matthieu Herrb2011-04-211-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>
* Documentation: add Docbook external references supportGaetan Nadon2011-03-304-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>
* xproto 7.0.21xproto-7.0.21Peter Hutterer2011-03-231-1/+1
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* Add #defines for Unicode Sinhala to keysymdef.hHarshula Jayasuriya2011-03-152-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>
* Support _X_INLINE in any C99-compliant compilerAlan Coopersmith2011-02-241-7/+12
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Add missing notices to COPYINGAlan Coopersmith2011-01-061-5/+48
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Xfuncproto.h: Add _X_RESTRICT_KEYWORD for C99 & gcc in non-strict-C89 modeAlan Coopersmith2010-12-131-0/+12
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Enable gcc attribute(__format__) on gcc versions older than 4.0Alan Coopersmith2010-12-131-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>
* xproto 7.0.20xproto-7.0.20Alan Coopersmith2010-12-071-1/+1
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* spec: Convert .DS/.DE nroff sections to <literallayout> tagsAlan Coopersmith2010-12-041-83/+83
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* spec: Convert some tables that didn't get converted from troff properlyAlan Coopersmith2010-12-041-89/+194
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>