Commit graph

260 commits

Author SHA1 Message Date
Keith Packard
f3b7b85677 xproto 7.0.31
Signed-off-by: Keith Packard <keithp@keithp.com>
2016-09-23 09:49:36 +03:00
Keith Packard
d59bd3ade1 Fix typo __has_extenstion -> __has_extension
Signed-off-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
2016-09-23 09:47:52 +03:00
Jeremy Huddleston Sequoia
bd3832a988 xproto 7.0.30
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
2016-09-22 14:31:11 -07:00
Jeremy Huddleston Sequoia
ad959de4f4 Xfuncproto: Add support for _X_NOTSAN macro
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
Reviewed-by: Keith Packard <keithp@keithp.com>
2016-09-22 14:30:29 -07:00
Jeremy Huddleston Sequoia
9a9382de90 Xfuncproto: Add support for _X_DEPRECATED_MSG() macro
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
Reviewed-by: Keith Packard <keithp@keithp.com>
2016-09-22 14:30:27 -07:00
Jeremy Huddleston Sequoia
34a95f725c Xfuncproto.h: Define __has_extension() if it isn't already
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
Reviewed-by: Keith Packard <keithp@keithp.com>
2016-09-22 14:30:25 -07:00
Jeremy Huddleston Sequoia
4855c9229f Xfuncproto.h: Define __has_feature() if it isn't already
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
Reviewed-by: Keith Packard <keithp@keithp.com>
2016-09-22 14:30:22 -07:00
Julien Cristau
3e975a39b0 xproto 7.0.29
Signed-off-by: Julien Cristau <jcristau@debian.org>
2016-05-13 10:28:39 +02:00
James Clarke
de30673937 Don't let XFD_SETSIZE exceed FD_SETSIZE
This fixes 2c94cdb453 on the Hurd, as
FD_SETSIZE is only 256, and so anyone using XFD_SETSIZE to iterate over
the contents of an fd_set will overrun the array.

Signed-off-by: James Clarke <jrtc27@jrtc27.com>
Reviewed-by: Julien Cristau <jcristau@debian.org>
2016-05-02 10:09:50 -04:00
Olivier Fourdan
edc04f87c7 Raise the number of FD on WIN32 as well
Commit 2c94cdb raised the number of file descriptors from 256 to 512
but only for non-WIN32 platforms.

The definition of XFD_SETSIZE being duplicated, we need to do the same
for WIN32 builds as well otherwise a newer X server trying to
use more than 256 clients would fail on that platform.

Signed-off-by: Olivier Fourdan <ofourdan@redhat.com>
Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk>
2015-09-10 14:34:04 +01:00
Alan Coopersmith
446ee4b7f7 Incorrect guard block in HPkeysym.h
https://bugs.freedesktop.org/show_bug.cgi?id=91469

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Thomas Klausner <wiz@NetBSD.org>
2015-07-27 08:49:53 -07:00
Adam Jackson
d5524e2b8d xproto 7.0.28
Signed-off-by: Adam Jackson <ajax@redhat.com>
2015-07-01 11:35:13 -04:00
Olivier Fourdan
2c94cdb453 Increase the number of file descriptors
To allow up to 512 clients, the number of file descriptors being
monitored need to be increased accordingly.

Signed-off-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com>
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2015-07-01 11:16:11 -04:00
Jeremy Huddleston Sequoia
2dc2c38fb5 darwin: Include strings.h
https://trac.macports.org/ticket/47813

Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
2015-05-25 04:30:29 -07:00
Thomas Klausner
70cf8acf06 Use C99 compliant definition of nonnull attribute.
Fixes warning with clang.

Signed-off-by: Thomas Klausner <wiz@NetBSD.org>
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2015-01-13 08:56:30 +01:00
Alan Coopersmith
303b137a55 xproto 7.0.27
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2014-12-30 21:15:09 -08:00
Alan Coopersmith
ffd4a13042 Use clang's __has_attribute to check for attribute support
Hopefully other compilers will start adopting this so we don't have to
maintain ever growing matrixes of compiler/version checks for all the
attributes we use.

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
2014-08-07 18:02:14 -07:00
Alan Coopersmith
9b895b4285 Do not suggest adding new keysyms to XF86keysym.h
As noted in the comment in the file, X.Org controls the main X11 keysym
definitions, so adds new keysyms there, not in the XFree86 vendor space.

Reported-by: Gioele Barabucci <gioele@svario.it>
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
2014-07-18 17:09:55 -07:00
Michael Haubenwallner
25f1134b4a Bug #80528: make it build on AIX
https://bugs.freedesktop.org/show_bug.cgi?id=80528

Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2014-07-06 08:41:07 -07:00
Alan Coopersmith
068fd2cb19 Enable use of __attribute__((deprecated)) with Solaris Studio 12.4 compiler
Support for this attribute is added in the 12.4 beta release.

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2014-05-09 19:23:58 -07:00
Julien Cristau
03cbbf6c3e xproto 7.0.26
Signed-off-by: Julien Cristau <jcristau@debian.org>
2014-04-14 15:45:13 +02:00
Jon TURNEY
d522ff998b Xpoll.h.in: Fix WIN32 check to trigger on MinGW only
MinGW-w64 w32api-headers 3.0.0 define WIN32 in some places they didn't before,
which causes this check to turn on for Cygwin, which is not wanted.

Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Reviewed-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
2014-03-13 20:36:21 +00:00
Yaakov Selkowitz
aee7e4de57 Xwindows.h: Wrap Windows 64-bit types as well for 64-bit build
Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk>
2014-03-13 20:33:45 +00:00
Alan Coopersmith
e5e2ed5b11 Add more comments on connection setup to Xproto.h
Some of the bits I forget and have to dig out of the protocol spec
every few years when I need to know again.

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2014-01-15 15:16:21 -08:00
Keith Packard
148d89f0b3 Replace 'pointer' with explicit 'void *'
To get rid of the 'pointer' typedef, stop using it locally. That way,
when _XTYPEDEF_POINTER is defined before Xdefs.h is included, it won't
get defined and Xdefs.h will still compile.

Signed-off-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2014-01-15 15:02:12 -08:00
Yaakov Selkowitz
3911ad9e8e Xthreads.h: Declare _Xthread_init for WIN32
This fixes the build of libXt on *-*-mingw* with -Werror=implicit.

Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-11-23 19:09:46 -06:00
Alan Coopersmith
a7fa86998c xproto 7.0.25
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-11-22 22:14:24 -08:00
Gaetan Nadon
a8aa17cb63 config: replace deprecated use of AC_OUTPUT with AC_CONFIG_FILES
Fix Automake warning: AC_OUTPUT should be used without arguments.
www.gnu.org/software/autoconf/manual/autoconf.html#Configuration-Files

Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2013-10-26 09:42:05 -04:00
Alan Coopersmith
ed5a86761d Remove WORD64, MUSTCOPY, and other CRAY leftovers
Leaves behind several no-op macros for compatibility with existing
code that uses them.

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-09-05 18:32:16 -07:00
Benno Schulenberg
6d4acb0e3a Additional dead keysyms to complete the German DIN T3 keyboard layout.
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
Signed-off-by: James Cloos <cloos@jhcloos.com>
2013-08-31 16:05:01 -04:00
Alan Coopersmith
043ed78ce0 Add _X_COLD attribute for branch prediction hints
Unfortunately the Solaris Studio equivalent is a pragma taking the
function names as arguments, so doesn't translate cleanly into a
common macro form.

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
2013-05-09 18:17:39 -07:00
Alan Coopersmith
d103af8068 xproto 7.0.24
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-03-29 16:21:00 -07:00
Colin Walters
f8c43d587e autogen.sh: Implement GNOME Build API
http://people.gnome.org/~walters/docs/build-api.txt

Signed-off-by: Adam Jackson <ajax@redhat.com>
2013-01-15 14:03:01 -05:00
Adam Jackson
3707c6e71c configure: Remove AM_MAINTAINER_MODE
Signed-off-by: Adam Jackson <ajax@redhat.com>
2013-01-15 14:01:10 -05:00
Yaakov Selkowitz
c0dd615fdd Adjust wrapping to work with MinGW-w64 headers
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>
2012-10-29 21:46:01 -05:00
Yaakov Selkowitz
c0d697ffdd Do not use visibility attributes on MinGW
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>
2012-10-16 02:35:19 -05:00
Alan Coopersmith
c76d51423d Bug 51009: _X_RESTRICT_KYWD fix for g++ 4.6 & later on Solaris
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
2012-09-06 23:15:29 -07:00
James M Leddy
f1b8b4dd5e
Add XF86XK_AudioMicMute
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>
2012-08-26 06:59:39 -04:00
Sergei Trofimovich
a06fa7fc98
Xmd.h: Treat __ILP32__ targets as LONG32 ones
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>
2012-06-10 05:11:06 -04:00
Gaetan Nadon
a6651a8d81 config: replace obsolete AC_CONFIG_HEADER with with AC_CONFIG_HEADERS
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>
2012-05-02 11:37:55 -04:00
Alan Coopersmith
20202784b9 xproto 7.0.23
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2012-03-15 23:11:19 -07:00
Marko Myllynen
ab1fba1a09 x11proto: add permille, ezh, and EZH to keysymdef.h
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>
2012-02-21 09:15:13 -05:00
Frédéric Boiteux
67dd3bfe1e Definition of dead greek symbol
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>
2012-02-08 17:47:49 -05:00
Matt Dew
4769a96385 informaltable cleanup
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>
2012-01-15 17:17:24 -07:00
Yaakov Selkowitz
7f26709e4b Cygwin/X: Include <strings.h> early to avoid compile errors
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>
2011-11-21 19:55:25 -08:00
Matt Dew
3d7be5c61b 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.

    Signed-off-by: Matt Dew <marcoz@osource.org>
2011-10-03 18:26:22 -06:00
Gaetan Nadon
f5d77f49db x11proto spec: fix copyright markup
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-09-21 15:52:39 -04:00
Gaetan Nadon
8cf26b2900 spec: remove duplicate Copyright line
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-09-14 14:49:03 -04:00
Gaetan Nadon
aefda8ec34 docs: use the &fullrelvers; entity to set X11 release information
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-09-12 20:34:47 -04:00
Gaetan Nadon
a4fca029b5 docs: remove <productnumber> which is not used by default
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-11 19:49:54 -04:00