summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Deprecate x11protoHEADmasterAdam Jackson2018-03-015-308/+4
| | | | Signed-off-by: Adam Jackson <ajax@redhat.com>
* Add XF86XK_AudioPresetHans de Goede2017-05-121-0/+2
| | | | | | | | | | Add XF86XK_AudioPreset keysym, to be used as mapping for evdev's KEY_SOUND keycode which is generated on some devices by a button which on windows selects equalizer presets switching between settings such as e.g. theatre-mode / game-mode / voice-mode. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
* Add XF86XK_WWAN and XF86XK_RFKillHans de Goede2017-05-121-0/+3
| | | | | | | | | | | | | | | | | | | | | | Add Keysyms corresponding to the evdev WWAN and RFKILL keys, we already have Keysyms for WLAN and UWB from linux/input-event-codes.h: #define KEY_WLAN 238 #define KEY_UWB 239 But not for the WWAN and generic RFKILL keys: #define KEY_WWAN 246 /* Wireless WAN (LTE, UMTS, GSM, etc.) */ #define KEY_WIMAX KEY_WWAN #define KEY_RFKILL 247 /* Key that controls all radios */ This commits add Keysyms for these so that we can add proper mappings for them to xkb. Cc: Bastien Nocera <bnocera@redhat.com> Cc: Benjamin Berg <bberg@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
* Add XF86XK_KeyboardChristian Kellner2017-05-101-0/+2
| | | | | | | | The 2017 Thinkpad models have a new hotkey with a keyboard symbols on it, which is mapped to KEY_KEYBOARD in the kernel. Signed-off-by: Christian Kellner <christian@kellner.me> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
* autogen: add default patch prefixMihail Konev2017-01-261-0/+3
| | | | Signed-off-by: Mihail Konev <k.mvc@ya.ru>
* autogen.sh: use quoted string variablesEmil Velikov2017-01-241-4/+4
| | | | | | | | | Place quotes around the $srcdir, $ORIGDIR and $0 variables to prevent fall-outs, when they contain space. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* autogen.sh: use exec instead of waiting for configure to finishPeter Hutterer2017-01-241-1/+1
| | | | | | Syncs the invocation of configure with the one from the server. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* xproto 7.0.31xproto-7.0.31Keith Packard2016-09-231-1/+1
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* Fix typo __has_extenstion -> __has_extensionKeith Packard2016-09-231-1/+1
| | | | | Signed-off-by: Keith Packard <keithp@keithp.com> Reviewed-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
* xproto 7.0.30xproto-7.0.30Jeremy Huddleston Sequoia2016-09-221-1/+1
| | | | Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
* Xfuncproto: Add support for _X_NOTSAN macroJeremy Huddleston Sequoia2016-09-221-0/+7
| | | | | Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com> Reviewed-by: Keith Packard <keithp@keithp.com>
* Xfuncproto: Add support for _X_DEPRECATED_MSG() macroJeremy Huddleston Sequoia2016-09-221-0/+8
| | | | | Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com> Reviewed-by: Keith Packard <keithp@keithp.com>
* Xfuncproto.h: Define __has_extension() if it isn't alreadyJeremy Huddleston Sequoia2016-09-221-0/+3
| | | | | Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com> Reviewed-by: Keith Packard <keithp@keithp.com>
* Xfuncproto.h: Define __has_feature() if it isn't alreadyJeremy Huddleston Sequoia2016-09-221-0/+3
| | | | | Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com> Reviewed-by: Keith Packard <keithp@keithp.com>
* xproto 7.0.29xproto-7.0.29Julien Cristau2016-05-131-1/+1
| | | | Signed-off-by: Julien Cristau <jcristau@debian.org>
* Don't let XFD_SETSIZE exceed FD_SETSIZEJames Clarke2016-05-021-4/+7
| | | | | | | | | This fixes 2c94cdb453bc641246cc8b9a876da9799bee1ce7 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>
* Raise the number of FD on WIN32 as wellOlivier Fourdan2015-09-101-1/+1
| | | | | | | | | | | | 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>
* Incorrect guard block in HPkeysym.hAlan Coopersmith2015-07-271-1/+1
| | | | | | | 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>
* xproto 7.0.28xproto-7.0.28Adam Jackson2015-07-011-1/+1
| | | | Signed-off-by: Adam Jackson <ajax@redhat.com>
* Increase the number of file descriptorsOlivier Fourdan2015-07-011-2/+11
| | | | | | | | | 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>
* darwin: Include strings.hJeremy Huddleston Sequoia2015-05-252-2/+2
| | | | | | https://trac.macports.org/ticket/47813 Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
* Use C99 compliant definition of nonnull attribute.Thomas Klausner2015-01-131-0/+3
| | | | | | | Fixes warning with clang. Signed-off-by: Thomas Klausner <wiz@NetBSD.org> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* xproto 7.0.27xproto-7.0.27Alan Coopersmith2014-12-301-1/+1
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Use clang's __has_attribute to check for attribute supportAlan Coopersmith2014-08-071-9/+21
| | | | | | | | | 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>
* Do not suggest adding new keysyms to XF86keysym.hAlan Coopersmith2014-07-181-23/+8
| | | | | | | | | 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>
* Bug #80528: make it build on AIXMichael Haubenwallner2014-07-062-3/+3
| | | | | | | 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>
* Enable use of __attribute__((deprecated)) with Solaris Studio 12.4 compilerAlan Coopersmith2014-05-091-1/+2
| | | | | | Support for this attribute is added in the 12.4 beta release. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* xproto 7.0.26xproto-7.0.26Julien Cristau2014-04-141-1/+1
| | | | Signed-off-by: Julien Cristau <jcristau@debian.org>
* Xpoll.h.in: Fix WIN32 check to trigger on MinGW onlyJon TURNEY2014-03-131-1/+1
| | | | | | | | 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>
* Xwindows.h: Wrap Windows 64-bit types as well for 64-bit buildYaakov Selkowitz2014-03-131-0/+6
| | | | | Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk>
* Add more comments on connection setup to Xproto.hAlan Coopersmith2014-01-151-2/+15
| | | | | | | 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>
* Replace 'pointer' with explicit 'void *'Keith Packard2014-01-151-2/+2
| | | | | | | | | 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>
* Xthreads.h: Declare _Xthread_init for WIN32Yaakov Selkowitz2013-11-231-0/+1
| | | | | | | 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>
* xproto 7.0.25xproto-7.0.25Alan Coopersmith2013-11-221-1/+1
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* config: replace deprecated use of AC_OUTPUT with AC_CONFIG_FILESGaetan Nadon2013-10-261-1/+2
| | | | | | | 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>
* Remove WORD64, MUSTCOPY, and other CRAY leftoversAlan Coopersmith2013-09-052-76/+18
| | | | | | | Leaves behind several no-op macros for compatibility with existing code that uses them. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Additional dead keysyms to complete the German DIN T3 keyboard layout.Benno Schulenberg2013-08-311-0/+6
| | | | | Signed-off-by: Benno Schulenberg <bensberg@justemail.net> Signed-off-by: James Cloos <cloos@jhcloos.com>
* Add _X_COLD attribute for branch prediction hintsAlan Coopersmith2013-05-091-0/+9
| | | | | | | | | 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>
* xproto 7.0.24xproto-7.0.24Alan Coopersmith2013-03-291-1/+1
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* 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>