x11proto-core: Changes to 'upstream-experimental'
.gitignore | 8 +
X.h | 3
XF86keysym.h | 309 ++++++++++++++++++++++++++++++--------------------------
Xalloca.h | 9 -
Xfuncproto.h.in | 19 ++-
Xfuncs.h | 4
Xos.h | 2
Xos_r.h | 2
Xosdefs.h | 16 ++
Xproto.h | 32 +++++
Xw32defs.h | 2
Xwindows.h | 2
Xwinsock.h | 2
configure.ac | 34 +++++-
keysymdef.h | 42 ++++++-
15 files changed, 316 insertions(+), 170 deletions(-)
New commits:
commit 33a7de5cdacb59503b26c6523ffb33dba118faed
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Thu Oct 23 22:41:01 2008 +1030
Bump to 7.0.14.
diff --git a/configure.ac b/configure.ac
index cde753c..5bcf3ef 100755
--- a/configure.ac
+++ b/configure.ac
@@ -1,5 +1,5 @@
AC_PREREQ([2.57])
-AC_INIT([Xproto], [7.0.13], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg])
+AC_INIT([Xproto], [7.0.14], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg])
AM_INIT_AUTOMAKE([foreign dist-bzip2])
AC_CONFIG_HEADER([do-not-use-config.h])
commit 1cf41088ff751e60071a519466b5a51b65c7626a
Author: Bastien Nocera <bnocera@redhat.com>
Date: Wed Oct 15 14:20:45 2008 +1030
Keysyms needed for some HID remote controls to work under X. #16519
In particular, this enables Sony Ericsson phones and PS3 BD remotes.
X.Org Bug 16519 <https://bugs.freedesktop.org/show_bug.cgi?id=16519>
Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
diff --git a/XF86keysym.h b/XF86keysym.h
index 4643b01..2a39f4e 100644
--- a/XF86keysym.h
+++ b/XF86keysym.h
@@ -188,6 +188,24 @@
#define XF86XK_WLAN 0x1008FF95 /* Enable/disable WLAN */
#define XF86XK_UWB 0x1008FF96 /* Enable/disable UWB */
+#define XF86XK_AudioForward 0x1008FF97 /* fast-forward audio track */
+#define XF86XK_AudioRepeat 0x1008FF98 /* toggle repeat mode */
+#define XF86XK_AudioRandomPlay 0x1008FF99 /* toggle shuffle mode */
+#define XF86XK_Subtitle 0x1008FF9A /* cycle through subtitle */
+#define XF86XK_AudioCycleTrack 0x1008FF9B /* cycle through audio tracks */
+#define XF86XK_CycleAngle 0x1008FF9C /* cycle through angles */
+#define XF86XK_FrameBack 0x1008FF9D /* video: go one frame back */
+#define XF86XK_FrameForward 0x1008FF9E /* video: go one frame forward */
+#define XF86XK_Time 0x1008FF9F /* display, or shows an entry for time seeking */
+#define XF86XK_Select 0x1008FFA0 /* Select button on joypads and remotes */
+#define XF86XK_View 0x1008FFA1 /* Show a view options/properties */
+#define XF86XK_TopMenu 0x1008FFA2 /* Go to a top-level menu in a video */
+
+#define XF86XK_Red 0x1008FFA3 /* Red button */
+#define XF86XK_Green 0x1008FFA4 /* Green button */
+#define XF86XK_Yellow 0x1008FFA5 /* Yellow button */
+#define XF86XK_Blue 0x1008FFA6 /* Blue button */
+
/* Keys for special action keys (hot keys) */
/* Virtual terminals on some operating systems */
#define XF86XK_Switch_VT_1 0x1008FE01
commit 0b541b3fa282531c97c6ecee574c8b92b1489bfc
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Tue Oct 14 21:56:14 2008 +1030
Fix typos in comments (UP/DOWN TACK and LEFT/RIGHT TACK wrong way round).
Spotted by Erik Streb and Julien Cristau.
Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
diff --git a/keysymdef.h b/keysymdef.h
index 84b4683..2e49082 100644
--- a/keysymdef.h
+++ b/keysymdef.h
@@ -1496,20 +1496,20 @@ SOFTWARE.
#define XK_downcaret 0x0ba8 /*(U+2228 LOGICAL OR)*/
#define XK_upcaret 0x0ba9 /*(U+2227 LOGICAL AND)*/
#define XK_overbar 0x0bc0 /*(U+00AF MACRON)*/
-#define XK_downtack 0x0bc2 /* U+22A5 UP TACK */
+#define XK_downtack 0x0bc2 /* U+22A4 DOWN TACK */
#define XK_upshoe 0x0bc3 /*(U+2229 INTERSECTION)*/
#define XK_downstile 0x0bc4 /* U+230A LEFT FLOOR */
#define XK_underbar 0x0bc6 /*(U+005F LOW LINE)*/
#define XK_jot 0x0bca /* U+2218 RING OPERATOR */
#define XK_quad 0x0bcc /* U+2395 APL FUNCTIONAL SYMBOL QUAD */
-#define XK_uptack 0x0bce /* U+22A4 DOWN TACK */
+#define XK_uptack 0x0bce /* U+22A5 UP TACK */
#define XK_circle 0x0bcf /* U+25CB WHITE CIRCLE */
#define XK_upstile 0x0bd3 /* U+2308 LEFT CEILING */
#define XK_downshoe 0x0bd6 /*(U+222A UNION)*/
#define XK_rightshoe 0x0bd8 /*(U+2283 SUPERSET OF)*/
#define XK_leftshoe 0x0bda /*(U+2282 SUBSET OF)*/
-#define XK_lefttack 0x0bdc /* U+22A2 RIGHT TACK */
-#define XK_righttack 0x0bfc /* U+22A3 LEFT TACK */
+#define XK_lefttack 0x0bdc /* U+22A3 LEFT TACK */
+#define XK_righttack 0x0bfc /* U+22A2 RIGHT TACK */
#endif /* XK_APL */
/*
commit c94477f16356790741ebc139d2d0b15d79c83e28
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Tue Oct 14 21:54:16 2008 +1030
Revert "Fix typos in comments (UP/DOWN TACK and LEFT/RIGHT TACK wrong way round)."
Codepoints should have moved with the comments. See next commit for correct
patch.
This reverts commit 2945d2f97c264783e4050a8f6c3016290014b9e2.
diff --git a/keysymdef.h b/keysymdef.h
index f1eed47..84b4683 100644
--- a/keysymdef.h
+++ b/keysymdef.h
@@ -1496,20 +1496,20 @@ SOFTWARE.
#define XK_downcaret 0x0ba8 /*(U+2228 LOGICAL OR)*/
#define XK_upcaret 0x0ba9 /*(U+2227 LOGICAL AND)*/
#define XK_overbar 0x0bc0 /*(U+00AF MACRON)*/
-#define XK_downtack 0x0bc2 /* U+22A5 DOWN TACK */
+#define XK_downtack 0x0bc2 /* U+22A5 UP TACK */
#define XK_upshoe 0x0bc3 /*(U+2229 INTERSECTION)*/
#define XK_downstile 0x0bc4 /* U+230A LEFT FLOOR */
#define XK_underbar 0x0bc6 /*(U+005F LOW LINE)*/
#define XK_jot 0x0bca /* U+2218 RING OPERATOR */
#define XK_quad 0x0bcc /* U+2395 APL FUNCTIONAL SYMBOL QUAD */
-#define XK_uptack 0x0bce /* U+22A4 UP TACK */
+#define XK_uptack 0x0bce /* U+22A4 DOWN TACK */
#define XK_circle 0x0bcf /* U+25CB WHITE CIRCLE */
#define XK_upstile 0x0bd3 /* U+2308 LEFT CEILING */
#define XK_downshoe 0x0bd6 /*(U+222A UNION)*/
#define XK_rightshoe 0x0bd8 /*(U+2283 SUPERSET OF)*/
#define XK_leftshoe 0x0bda /*(U+2282 SUBSET OF)*/
-#define XK_lefttack 0x0bdc /* U+22A2 LEFT TACK */
-#define XK_righttack 0x0bfc /* U+22A3 RIGHT TACK */
+#define XK_lefttack 0x0bdc /* U+22A2 RIGHT TACK */
+#define XK_righttack 0x0bfc /* U+22A3 LEFT TACK */
#endif /* XK_APL */
/*
commit 2945d2f97c264783e4050a8f6c3016290014b9e2
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Tue Oct 14 21:04:08 2008 +1030
Fix typos in comments (UP/DOWN TACK and LEFT/RIGHT TACK wrong way round).
Spotted by Erik Streb.
Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
diff --git a/keysymdef.h b/keysymdef.h
index 84b4683..f1eed47 100644
--- a/keysymdef.h
+++ b/keysymdef.h
@@ -1496,20 +1496,20 @@ SOFTWARE.
#define XK_downcaret 0x0ba8 /*(U+2228 LOGICAL OR)*/
#define XK_upcaret 0x0ba9 /*(U+2227 LOGICAL AND)*/
#define XK_overbar 0x0bc0 /*(U+00AF MACRON)*/
-#define XK_downtack 0x0bc2 /* U+22A5 UP TACK */
+#define XK_downtack 0x0bc2 /* U+22A5 DOWN TACK */
#define XK_upshoe 0x0bc3 /*(U+2229 INTERSECTION)*/
#define XK_downstile 0x0bc4 /* U+230A LEFT FLOOR */
#define XK_underbar 0x0bc6 /*(U+005F LOW LINE)*/
#define XK_jot 0x0bca /* U+2218 RING OPERATOR */
#define XK_quad 0x0bcc /* U+2395 APL FUNCTIONAL SYMBOL QUAD */
-#define XK_uptack 0x0bce /* U+22A4 DOWN TACK */
+#define XK_uptack 0x0bce /* U+22A4 UP TACK */
#define XK_circle 0x0bcf /* U+25CB WHITE CIRCLE */
#define XK_upstile 0x0bd3 /* U+2308 LEFT CEILING */
#define XK_downshoe 0x0bd6 /*(U+222A UNION)*/
#define XK_rightshoe 0x0bd8 /*(U+2283 SUPERSET OF)*/
#define XK_leftshoe 0x0bda /*(U+2282 SUBSET OF)*/
-#define XK_lefttack 0x0bdc /* U+22A2 RIGHT TACK */
-#define XK_righttack 0x0bfc /* U+22A3 LEFT TACK */
+#define XK_lefttack 0x0bdc /* U+22A2 LEFT TACK */
+#define XK_righttack 0x0bfc /* U+22A3 RIGHT TACK */
#endif /* XK_APL */
/*
commit 610eb9698316b7cdfe378ce7776c4520f8b061ff
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Mon Oct 13 12:01:16 2008 +1030
Add keysyms for XF86XK_Battery, XF86XK_Bluetooth, XF86XK_WLAN, XF86XK_UWB.
diff --git a/XF86keysym.h b/XF86keysym.h
index e4ba4a6..4643b01 100644
--- a/XF86keysym.h
+++ b/XF86keysym.h
@@ -183,6 +183,11 @@
#define XF86XK_Pictures 0x1008FF91 /* Show pictures */
#define XF86XK_Music 0x1008FF92 /* Launch music application */
+#define XF86XK_Battery 0x1008FF93 /* Display battery information */
+#define XF86XK_Bluetooth 0x1008FF94 /* Enable/disable Bluetooth */
+#define XF86XK_WLAN 0x1008FF95 /* Enable/disable WLAN */
+#define XF86XK_UWB 0x1008FF96 /* Enable/disable UWB */
+
/* Keys for special action keys (hot keys) */
/* Virtual terminals on some operating systems */
#define XF86XK_Switch_VT_1 0x1008FE01
commit 0846d7adfe790897e879c5ed53d4f81db459a20d
Author: James Cloos <cloos@jhcloos.com>
Date: Sun Jul 13 17:57:09 2008 -0400
Add dead_perispomeni to keysymdef.h
Make the dead_perispomeni keysym an alias to dead_tilde
(which is currently used for entering characters with
perispomeni).
Cf: https://bugs.freedesktop.org/show_bug.cgi?id=14013
diff --git a/keysymdef.h b/keysymdef.h
index d504e5c..84b4683 100644
--- a/keysymdef.h
+++ b/keysymdef.h
@@ -385,6 +385,7 @@ SOFTWARE.
#define XK_dead_acute 0xfe51
#define XK_dead_circumflex 0xfe52
#define XK_dead_tilde 0xfe53
+#define XK_dead_perispomeni 0xfe53 /* alias for dead_tilde */
#define XK_dead_macron 0xfe54
#define XK_dead_breve 0xfe55
#define XK_dead_abovedot 0xfe56
commit 38edd9839fa8495602378af36c67b2477b24eca2
Author: James Cloos <cloos@jhcloos.com>
Date: Sun Jul 13 17:54:47 2008 -0400
fix typo in commit 40ed4eef
diff --git a/keysymdef.h b/keysymdef.h
index 18753ee..d504e5c 100644
--- a/keysymdef.h
+++ b/keysymdef.h
@@ -404,7 +404,7 @@ SOFTWARE.
#define XK_dead_abovecomma 0xfe64
#define XK_dead_psili 0xfe64 /* alias for dead_abovecomma */
#define XK_dead_abovereversedcomma 0xfe65
-#define XK_dead_dasia 0xfe66 /* alias for dead_abovereversedcomma */
+#define XK_dead_dasia 0xfe65 /* alias for dead_abovereversedcomma */
#define XK_dead_belowring 0xfe67
#define XK_dead_belowmacron 0xfe68
#define XK_dead_belowcircumflex 0xfe69
commit 53859ee4e431c21000e282971894dbe9384ed205
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Wed May 28 17:17:38 2008 +0930
Bump to 7.0.13.
diff --git a/configure.ac b/configure.ac
index b7007d6..cde753c 100755
--- a/configure.ac
+++ b/configure.ac
@@ -1,5 +1,5 @@
AC_PREREQ([2.57])
-AC_INIT([Xproto], [7.0.12], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg])
+AC_INIT([Xproto], [7.0.13], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg])
AM_INIT_AUTOMAKE([foreign dist-bzip2])
AC_CONFIG_HEADER([do-not-use-config.h])
commit 44e458285bb2e7771963a9ab9b5f03d2fb48e611
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Tue May 15 16:41:08 2007 +0930
Add GenericEvent and xGenericEvent definitions.
(cherry picked from commit 8a96cdca08db2563e8c4c7c9a110a3ab6d973fcc)
diff --git a/X.h b/X.h
index 0a9c501..ebcc767 100644
--- a/X.h
+++ b/X.h
@@ -216,7 +216,8 @@ are reserved in the protocol for errors and replies. */
#define ColormapNotify 32
#define ClientMessage 33
#define MappingNotify 34
-#define LASTEvent 35 /* must be bigger than any event # */
+#define GenericEvent 35
+#define LASTEvent 36 /* must be bigger than any event # */
/* Key masks. Used as modifiers to GrabButton and GrabKey, results of QueryPointer,
diff --git a/Xproto.h b/Xproto.h
index e5bba70..4ec32b8 100644
--- a/Xproto.h
+++ b/Xproto.h
@@ -1212,6 +1212,38 @@ typedef struct _xEvent {
} u;
} xEvent;
+/*********************************************************
+ *
+ * Generic event
+ *
+ * Those events are not part of the core protocol spec and can be used by
+ * various extensions.
+ * type is always GenericEvent
+ * extension is the minor opcode of the extension the event belongs to.
+ * evtype is the actual event type, unique __per extension__.
+ *
+ * GenericEvents can be longer than 32 bytes, with the length field
+ * specifying the number of 4 byte blocks after the first 32 bytes.
+ *
+ *
+ */
+typedef struct
+{
+ BYTE type;
+ CARD8 extension;
+ CARD16 sequenceNumber B16;
+ CARD32 length B32;
+ CARD16 evtype B16;
+ CARD16 pad2 B16;
+ CARD32 pad3 B32;
+ CARD32 pad4 B32;
+ CARD32 pad5 B32;
+ CARD32 pad6 B32;
+ CARD32 pad7 B32;
+} xGenericEvent;
+
+
+
/* KeymapNotify events are not included in the above union because they
are different from all other events: they do not have a "detail"
or "sequenceNumber", so there is room for a 248-bit key mask. */
commit 22878c30d21580146200c00070478f88d969bcaa
Author: Jeremy Huddleston <jeremyhu@freedesktop.org>
Date: Thu May 8 15:02:41 2008 -0700
Apple: Added a comment to explain _DARWIN_C_SOURCE
diff --git a/Xosdefs.h b/Xosdefs.h
index a0b2e3e..ee33a32 100644
--- a/Xosdefs.h
+++ b/Xosdefs.h
@@ -135,9 +135,18 @@ in this Software without prior written authorization from The Open Group.
#ifdef __APPLE__
#define NULL_NOT_ZERO
+
+/* Defining any of these will sanitize the namespace to JUST want is defined by
+ * that particular standard. If that happens, we don't get some expected
+ * prototypes, typedefs, etc (like fd_mask). We can define _DARWIN_C_SOURCE to
+ * loosen our belts a tad.
+ */
+#if defined(_XOPEN_SOURCE) || defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE)
#define _DARWIN_C_SOURCE
#endif
+#endif
+
#ifdef __GNU__
#ifndef PATH_MAX
#define PATH_MAX 4096
commit e3035a7e6e56e01eb79478ea5342e032ec67a190
Author: Jeremy Huddleston <jeremyhu@freedesktop.org>
Date: Thu May 8 12:16:15 2008 -0700
Apple: Define _DARWIN_C_SOURCE otherwise _XOPEN_SOURCE, _POSIX_SOURCE, or _POSIX_C_SOURCE will cause fd_mask to not be defined due to the strict namespace
diff --git a/Xosdefs.h b/Xosdefs.h
index 903a5a0..a0b2e3e 100644
--- a/Xosdefs.h
+++ b/Xosdefs.h
@@ -135,6 +135,7 @@ in this Software without prior written authorization from The Open Group.
#ifdef __APPLE__
#define NULL_NOT_ZERO
+#define _DARWIN_C_SOURCE
#endif
#ifdef __GNU__
commit 05b119d78e1c6a4db563b2a976cee0173489f9b6
Author: Jeremy Huddleston <jeremyhu@freedesktop.org>
Date: Thu May 8 11:36:03 2008 -0700
Apple: Cleaned up some Apple definitions
diff --git a/Xosdefs.h b/Xosdefs.h
index 14971c4..903a5a0 100644
--- a/Xosdefs.h
+++ b/Xosdefs.h
@@ -156,7 +156,7 @@ in this Software without prior written authorization from The Open Group.
#endif
#if defined(__OpenBSD__) || defined(__NetBSD__) || defined(__FreeBSD__) \
- || defined(__Darwin__) || defined(__DragonFly__)
+ || defined(__APPLE__) || defined(__DragonFly__)
# ifndef CSRG_BASED
# define CSRG_BASED
# endif
diff --git a/Xpoll.h.in b/Xpoll.h.in
index 3940489..33fdad4 100644
--- a/Xpoll.h.in
+++ b/Xpoll.h.in
@@ -91,7 +91,7 @@ from The Open Group.
#ifdef CSRG_BASED
#include <sys/param.h>
-# if BSD < 199103 || defined(__APPLE__)
+# if BSD < 199103
typedef long fd_mask;
# endif
#endif
commit c879dab58f82f4789f27933c22706c84015f8684
Author: Alan Hourihane <alanh@tungstengraphics.com>
Date: Tue Apr 29 00:37:28 2008 +0100
avoid checking for fds_bits on mingw
diff --git a/configure.ac b/configure.ac
old mode 100644
new mode 100755
index f62d508..b7007d6
--- a/configure.ac
+++ b/configure.ac
@@ -35,7 +35,11 @@ AC_ARG_ENABLE(wide-prototypes,
AC_CHECK_HEADERS([sys/select.h sys/param.h sys/types.h sys/time.h])
# Handle Xpoll.h.in
-fds_bits_found=false;
+# Avoid determining fds_bits on WIN32 hosts (not including cygwin)
+case $host_os in
+ mingw*) fds_bits_found=true;;
+ *) fds_bits_found=false;;
+esac
if test "x$fds_bits_found" = xfalse ; then
AC_CHECK_MEMBER(fd_set.fds_bits,
commit 8642ec676db0dd875f4d3a97d8a3cdbf6843a985
Author: Colin Harrison <colin.harrison-at-virgin.net>
Date: Sat Apr 26 18:21:41 2008 +0100
Use Sleep() instead of sleep() on windows
(was already done in Xwindows.h, just not Xw32defs.h)
diff --git a/Xw32defs.h b/Xw32defs.h
index 07624fe..f65b265 100644
--- a/Xw32defs.h
+++ b/Xw32defs.h
@@ -44,7 +44,7 @@ typedef char *caddr_t;
#define putenv _putenv
#define read _read
#define rmdir _rmdir
-#define sleep(x) _sleep((x) * 1000)
+#define sleep(x) Sleep((x) * 1000)
#define stat _stat
#define sys_errlist _sys_errlist
#define sys_nerr _sys_nerr
diff --git a/Xwindows.h b/Xwindows.h
index 7fb9840..8364952 100644
--- a/Xwindows.h
+++ b/Xwindows.h
@@ -66,7 +66,7 @@ The Open Group.
#define RT_CURSOR ((RESTYPE)5)
#endif
-#define sleep(x) Sleep(1000*x)
+#define sleep(x) Sleep((x) * 1000)
#if defined(WIN32) && (!defined(PATH_MAX) || PATH_MAX < 1024)
#undef PATH_MAX
commit a893a6ac5d9fdfe9a420d1812402a01904e6482b
Author: Colin Harrison <colin.harrison-at-virgin.net>
Date: Sat Apr 26 08:52:29 2008 +0100
Use winsock2.h
diff --git a/Xwinsock.h b/Xwinsock.h
index 0278c09..5cf062f 100644
--- a/Xwinsock.h
+++ b/Xwinsock.h
@@ -47,7 +47,7 @@ The Open Group.
#define ATOM wATOM
#define BYTE wBYTE
#define FreeResource wFreeResource
-#include <winsock.h>
+#include <winsock2.h>
#undef Status
#define Status int
#undef BYTE
commit c705bab0f6efcb6937b7ccc2fb415e701878fddb
Author: Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>
Date: Mon Apr 21 21:27:26 2008 +0100
Added comment to slightly discourage the definition of ever more Unicode keysyms
diff --git a/keysymdef.h b/keysymdef.h
index 1d9a3c1..18753ee 100644
--- a/keysymdef.h
+++ b/keysymdef.h
@@ -56,7 +56,7 @@ SOFTWARE.
* engraving) of a keyboard layout. This file assigns mnemonic macro
* names for these keysyms.
*
- * This file is also compiled (by xc/lib/X11/util/makekeys.c) into
+ * This file is also compiled (by src/util/makekeys.c in libX11) into
* hash tables that can be accessed with X11 library functions such as
* XStringToKeysym() and XKeysymToString().
*
@@ -93,17 +93,26 @@ SOFTWARE.
* /^\#define XK_([a-zA-Z_0-9]+)\s+0x([0-9a-f]+)\s*\/\*\(U+([0-9A-F]{4,6}) (.*)\)\*\/\s*$/
* /^\#define XK_([a-zA-Z_0-9]+)\s+0x([0-9a-f]+)\s*(\/\*\s*(.*)\s*\*\/)?\s*$/
*
+ * Before adding new keysyms, please do consider the following: In
+ * addition to the keysym names defined in this file, the
+ * XStringToKeysym() and XKeysymToString() functions will also handle
+ * any keysym string of the form "U0020" to "U007E" and "U00A0" to
+ * "U10FFFF" for all possible Unicode characters. In other words,
+ * every possible Unicode character has already a keysym string
+ * defined algorithmically, even if it is not listed here. Therefore,
+ * defining an additional keysym macro is only necessary where a
+ * non-hexadecimal mnemonic name is needed, or where the new keysym
+ * does not represent any existing Unicode character.
+ *
* When adding new keysyms to this file, do not forget to also update the
- * mappings in xc/lib/X11/KeyBind.c and the protocol specification in
- * xc/doc/specs/XProtocol/X11.keysyms.
- */
-
-/*
- * Now that the Xorg code base is managed in Git repositories, the KeyBind.c
- * and X11.keysyms files mentioned in the last comment block are located at:
+ * following:
+ *
+ * - the mappings in src/KeyBind.c in the repo
+ * git://anongit.freedesktop.org/xorg/lib/libX11
+ *
+ * - the protocol specification in specs/XProtocol/X11.keysyms
+ * in the repo git://anongit.freedesktop.org/xorg/doc/xorg-docs
*
- * src/KeyBind.c in the repo git://anongit.freedesktop.org/xorg/lib/libX11
- * specs/XProtocol/X11.keysyms in the repo git://anongit.freedesktop.org/xorg/doc/xorg-docs
*/
#define XK_VoidSymbol 0xffffff /* Void symbol */
commit 44e24a27bca023cf7b799f191fe6d52e12efbe5f
Author: James Cloos <cloos@jhcloos.com>
Date: Sat Apr 12 15:48:46 2008 -0400
Add more dead key syms
Add dead keys to support input of the precomposed latin characters in
ISO 10747 which have ring, line, circumflex, tilde, breve or diaeresis
below.
This addresses: https://bugs.freedesktop.org/show_bug.cgi?id=15446
diff --git a/keysymdef.h b/keysymdef.h
index b3ade4d..1d9a3c1 100644
--- a/keysymdef.h
+++ b/keysymdef.h
@@ -396,6 +396,12 @@ SOFTWARE.
#define XK_dead_psili 0xfe64 /* alias for dead_abovecomma */
#define XK_dead_abovereversedcomma 0xfe65
#define XK_dead_dasia 0xfe66 /* alias for dead_abovereversedcomma */
+#define XK_dead_belowring 0xfe67
+#define XK_dead_belowmacron 0xfe68
+#define XK_dead_belowcircumflex 0xfe69
+#define XK_dead_belowtilde 0xfe6a
+#define XK_dead_belowbreve 0xfe6b
+#define XK_dead_belowdiaeresis 0xfe6c
#define XK_First_Virtual_Screen 0xfed0
#define XK_Prev_Virtual_Screen 0xfed1
commit 07e83988ec0b1c9577646daca3943badd5dcc0d1
Author: James Cloos <cloos@jhcloos.com>
Date: Thu Mar 6 11:34:17 2008 -0500
Fix typo in XF86Keysym.h
Fix typo reported in https://bugs.freedesktop.org/show_bug.cgi?id=11193
thereby making XF86Keysym.h match libX11’s XKeysymDB.
diff --git a/XF86keysym.h b/XF86keysym.h
index fb0ee67..e4ba4a6 100644
--- a/XF86keysym.h
+++ b/XF86keysym.h
@@ -100,7 +100,7 @@
#define XF86XK_Finance 0x1008FF3C /* Display financial site */
#define XF86XK_Community 0x1008FF3D /* Display user's community */
#define XF86XK_AudioRewind 0x1008FF3E /* "rewind" audio track */
-#define XF86XK_XF86BackForward 0x1008FF3F /* ??? */
+#define XF86XK_BackForward 0x1008FF3F /* ??? */
#define XF86XK_Launch0 0x1008FF40 /* Launch Application */
#define XF86XK_Launch1 0x1008FF41 /* Launch Application */
#define XF86XK_Launch2 0x1008FF42 /* Launch Application */
commit d34310efef11264ddff79320b8c6f03705b1208a
Author: Adam Jackson <ajax@redhat.com>
Date: Wed Mar 5 22:09:16 2008 -0500
x11proto 7.0.12
diff --git a/configure.ac b/configure.ac
index 9806ae3..f62d508 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,5 +1,5 @@
AC_PREREQ([2.57])
-AC_INIT([Xproto], [7.0.11], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg])
+AC_INIT([Xproto], [7.0.12], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg])
AM_INIT_AUTOMAKE([foreign dist-bzip2])
AC_CONFIG_HEADER([do-not-use-config.h])
commit e4ad7a8080e4ac0b868fa7cf39bc5ad9a6e0bee1
Author: Jeremy Huddleston <jeremy@tifa.local>
Date: Sun Feb 10 19:07:49 2008 -0800
Fixed #ifdef checks that were using i386 to use __i386__
"""
It's simply obsolete, sloppy, compiler namespace pollution. The
compiler is not allowed to predefine symbols that might conflict with
ordinary identifiers. For backwards compatibility gcc currently
predefines i386 when compiling for x86 32-bit (but not 64-bit), but that
will go away. It is also not defined if you specify -ansi when invoking
the compiler, because then it is seriously standards compliant. Other
compilers shouldn't define it either. Correct code shouldn't rely on it
being defined. However __i386__ is safe and proper.
"""
diff --git a/Xos.h b/Xos.h
index b6b93a5..67bf679 100644
--- a/Xos.h
+++ b/Xos.h
@@ -149,7 +149,7 @@ extern int sys_nerr;
*/
#if defined(X_NOT_POSIX)
#include <fcntl.h>
-#if defined(USL) || defined(CRAY) || defined(MOTOROLA) || (defined(i386) && (defined(SYSV) || defined(SVR4))) || defined(__sxg__)
+#if defined(USL) || defined(CRAY) || defined(MOTOROLA) || (defined(__i386__) && (defined(SYSV) || defined(SVR4))) || defined(__sxg__)
#include <unistd.h>
#endif
#ifdef WIN32
diff --git a/Xos_r.h b/Xos_r.h
index f52bde7..7ce72ac 100644
--- a/Xos_r.h
+++ b/Xos_r.h
@@ -237,7 +237,7 @@ extern void XtProcessUnlock(
#elif !defined(XTHREADS) && !defined(X_FORCE_USE_MTSAFE_API)
/* Use regular, unsafe API. */
-# if defined(X_NOT_POSIX) && !defined(i386) && !defined(SYSV)
+# if defined(X_NOT_POSIX) && !defined(__i386__) && !defined(SYSV)
extern struct passwd *getpwuid(), *getpwnam();
# endif
typedef int _Xgetpwparams; /* dummy */
diff --git a/Xosdefs.h b/Xosdefs.h
index be90d5e..14971c4 100644
--- a/Xosdefs.h
+++ b/Xosdefs.h
@@ -86,7 +86,7 @@ in this Software without prior written authorization from The Open Group.
#endif
#endif
-#ifdef i386
+#ifdef __i386__
#ifdef SYSV
#if !defined(ISC) && !defined(__SCO__) && !defined(_SEQUENT_) && \
!defined(__UNIXWARE__) && !defined(sun)
commit e49280c1c33622dbf288b0ac4f8324b01ff9b4aa
Author: Jeremy Huddleston <jeremy@yuffie.local>
Date: Mon Dec 10 21:33:01 2007 -0800
Changed __DARWIN__ to __APPLE__
diff --git a/Xosdefs.h b/Xosdefs.h
index 075d798..be90d5e 100644
--- a/Xosdefs.h
+++ b/Xosdefs.h
@@ -133,7 +133,7 @@ in this Software without prior written authorization from The Open Group.
#define NULL_NOT_ZERO
#endif
-#ifdef __DARWIN__
+#ifdef __APPLE__
#define NULL_NOT_ZERO
#endif
commit 5ae4d304ecb5fb4af0435c9f2efde3d2da5905d1
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date: Tue Oct 30 18:44:49 2007 -0700
Make Xalloca.h work with Sun C++ compiler
diff --git a/Xalloca.h b/Xalloca.h
index 67f2671..c561718 100644
--- a/Xalloca.h
+++ b/Xalloca.h
@@ -62,7 +62,8 @@ from The Open Group.
#define XALLOCA_H 1
#ifndef INCLUDE_ALLOCA_H
-# if defined(__SUNPRO_C) /* Need to add more here to match Imake *.cf's */
+/* Need to add more here to match Imake *.cf's */
+# if defined(HAVE_ALLOCA_H) || defined(__SUNPRO_C) || defined(__SUNPRO_CC)
# define INCLUDE_ALLOCA_H
# endif
#endif
@@ -111,16 +112,14 @@ from The Open Group.
* decide that you don't want to use alloca, you might want to fix it here.
*/
/* alloca might be a macro taking one arg (hi, Sun!), so give it one. */
-# ifndef __sgi /* IRIX 5/6 has definition */
-# ifndef __QNX__
+# if !defined(__sgi) && !defined(__QNX__) && !defined(__cplusplus)
# define __Xnullarg /* as nothing */
# ifndef X_NOT_STDC_ENV
extern void *alloca(__Xnullarg);
# else
extern char *alloca(__Xnullarg);
# endif
-# endif /* __QNX__ */
-# endif /* __sgi */
+# endif /* !__sgi && !__QNX && !__cplusplus */
# define ALLOCATE_LOCAL(size) alloca((int)(size))
# endif /* who does alloca */
# endif /* NCR */
commit 5ccc71161283fdb2c42da1eeb4049650f6a2f429
Author: Ben Byer <bbyer@bbyer.apple.com>
Date: Tue Oct 30 18:40:47 2007 -0700
fd_mask needs to be defined on OS X, too
diff --git a/Xpoll.h.in b/Xpoll.h.in
index 33fdad4..3940489 100644
--- a/Xpoll.h.in
+++ b/Xpoll.h.in
@@ -91,7 +91,7 @@ from The Open Group.
#ifdef CSRG_BASED
#include <sys/param.h>
-# if BSD < 199103
+# if BSD < 199103 || defined(__APPLE__)
typedef long fd_mask;
# endif
#endif
commit 8be48ca399c3efd0e5d59f53da1b37d02647f33b
Author: Daniel Stone <daniel@fooishbar.org>
Date: Mon Sep 24 12:28:25 2007 +0300
Check headers before testing for fds_bits access method (bug #8442)
HP-UX doesn't have sys/select.h, so make sure we don't overzealously include
headers when we try to find out how to use fds_bits.
diff --git a/configure.ac b/configure.ac
index 21479e4..9806ae3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -32,6 +32,8 @@ AC_ARG_ENABLE(wide-prototypes,
[WIDEPROTO=$enableval], [WIDEPROTO=auto])
+AC_CHECK_HEADERS([sys/select.h sys/param.h sys/types.h sys/time.h])
+
# Handle Xpoll.h.in
fds_bits_found=false;
@@ -42,8 +44,18 @@ if test "x$fds_bits_found" = xfalse ; then
USE_FDS_BITS="fds_bits"
],,
[
+ #ifdef HAVE_SYS_PARAM_H
+ #include <sys/param.h>
+ #endif
+ #ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
+ #endif
+ #ifdef HAVE_SYS_TIME_H
+ #include <sys/time.h>
+ #endif
+ #ifdef HAVE_SYS_SELECT_H
#include <sys/select.h>
+ #endif
])
fi
@@ -54,8 +66,18 @@ if test "x$fds_bits_found" = xfalse ; then
USE_FDS_BITS="__fds_bits"
],,
[
- #include <sys/types.h>
- #include <sys/select.h>
+ #ifdef HAVE_SYS_PARAM_H
+ #include <sys/param.h>
+ #endif
+ #ifdef HAVE_SYS_TYPES_H
+ #include <sys/types.h>
+ #endif
+ #ifdef HAVE_SYS_TIME_H
+ #include <sys/time.h>
+ #endif
+ #ifdef HAVE_SYS_SELECT_H
+ #include <sys/select.h>
+ #endif
])
fi
commit 68e841fb4bf489531635e6bee70f041d2c3cb87c
Author: James Cloos <cloos@jhcloos.com>
Date: Sat Sep 8 08:30:17 2007 -0400
bump to 7.0.11
diff --git a/configure.ac b/configure.ac
index 310e215..21479e4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,5 +1,5 @@
AC_PREREQ([2.57])
-AC_INIT([Xproto], [7.0.10], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg])
+AC_INIT([Xproto], [7.0.11], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg])
AM_INIT_AUTOMAKE([foreign dist-bzip2])
AC_CONFIG_HEADER([do-not-use-config.h])
commit 11fd082a384499c38065e06065bf80f244e9909a
Author: Eric Anholt <eric@anholt.net>
Date: Tue Aug 28 14:54:44 2007 -0700
Describe what XF86XK_Display does (or now is meant to do).
diff --git a/XF86keysym.h b/XF86keysym.h
index 7cf5617..fb0ee67 100644
--- a/XF86keysym.h
+++ b/XF86keysym.h
@@ -127,7 +127,7 @@
#define XF86XK_Close 0x1008FF56 /* Close window */
#define XF86XK_Copy 0x1008FF57 /* Copy selection */
#define XF86XK_Cut 0x1008FF58 /* Cut selection */
-#define XF86XK_Display 0x1008FF59 /* ?? */
+#define XF86XK_Display 0x1008FF59 /* Output switch key */
#define XF86XK_DOS 0x1008FF5A /* Launch DOS (emulation) */
#define XF86XK_Documents 0x1008FF5B /* Open documents window */
#define XF86XK_Excel 0x1008FF5C /* Launch spread sheet */
commit 40ed4eef92e31fcf7ea0a436e1a00cdf49484c1b
Author: James Cloos <cloos@jhcloos.com>
Date: Wed Aug 22 21:10:47 2007 -0400
Add dead_abovecomma and dead_abovereversedcomma
Also added aliases dead_psili and dead_dasia.
The UCS unifies Combining Psili and Combining Dasia with
Combining Comma Above and Combining Reversed Comma Above.
These two aliases mirror that unification.
diff --git a/keysymdef.h b/keysymdef.h
index b3fae7a..b3ade4d 100644
--- a/keysymdef.h
+++ b/keysymdef.h
@@ -392,6 +392,10 @@ SOFTWARE.
#define XK_dead_hook 0xfe61
#define XK_dead_horn 0xfe62
#define XK_dead_stroke 0xfe63
+#define XK_dead_abovecomma 0xfe64
+#define XK_dead_psili 0xfe64 /* alias for dead_abovecomma */
+#define XK_dead_abovereversedcomma 0xfe65
+#define XK_dead_dasia 0xfe66 /* alias for dead_abovereversedcomma */
#define XK_First_Virtual_Screen 0xfed0
#define XK_Prev_Virtual_Screen 0xfed1
commit ab74d270c76b17926504815ba43ee35b8b18d3be
Author: James Cloos <cloos@jhcloos.com>
Date: Wed Aug 22 21:01:48 2007 -0400
Comment on the new locations of the files referenced in keysymdef.h
keysymdef.h has a comment from the monolithic days suggesting that
the file be kept in sync with mappings inxc/lib/X11/KeyBind.c and
the protocol specication in xc/doc/specs/XProtocol/X11.keysyms.
This commit adds pointers to the new locations of those two files.
diff --git a/keysymdef.h b/keysymdef.h
index a84923f..b3fae7a 100644
--- a/keysymdef.h
+++ b/keysymdef.h
@@ -98,6 +98,14 @@ SOFTWARE.
* xc/doc/specs/XProtocol/X11.keysyms.
*/
+/*
+ * Now that the Xorg code base is managed in Git repositories, the KeyBind.c
+ * and X11.keysyms files mentioned in the last comment block are located at:
+ *
+ * src/KeyBind.c in the repo git://anongit.freedesktop.org/xorg/lib/libX11
+ * specs/XProtocol/X11.keysyms in the repo git://anongit.freedesktop.org/xorg/doc/xorg-docs
+ */
+
#define XK_VoidSymbol 0xffffff /* Void symbol */
#ifdef XK_MISCELLANY
commit 1edcfdb7f5c51e5c8014c56c4d5937337b7d4302
Author: James Cloos <cloos@jhcloos.com>
Date: Tue Aug 21 00:10:08 2007 -0400
Add *~ to .gitignore to skip patch/emacs droppings
diff --git a/.gitignore b/.gitignore
index 8255fde..b6bb852 100644
--- a/.gitignore
+++ b/.gitignore
@@ -16,3 +16,4 @@ missing
stamp-h1
stamp-h2
xproto.pc
+*~
commit d8a49874bbd05a927c42102c0c5c147cf72cb1dd
Author: Colin Harrison <colin.harrison-at-virgin.net>
Date: Wed May 9 16:46:25 2007 +0100
bcopy needs definition in Xfuncs.h for Xming
diff --git a/Xfuncs.h b/Xfuncs.h
index 9fe8687..2469b69 100644
--- a/Xfuncs.h
+++ b/Xfuncs.h
@@ -89,6 +89,10 @@ void bcopy();
#define atexit(f) on_exit(f, 0)
#endif
+#if defined WIN32 && defined __MINGW32__
+#define bcopy(b1,b2,len) memmove(b2, b1, (size_t)(len))
+#endif
+
#endif /* !(defined(XFree86LOADER) && defined(IN_MODULE)) */
#endif /* _XFUNCS_H_ */
commit 7505880329d6b81f0c77d6aaa3995390659d5c63
Author: Tilman Sauerbeck <tilman@code-monkey.de>
Date: Tue May 1 14:54:27 2007 +0200
Added some more files to .gitignore.
diff --git a/.gitignore b/.gitignore
index e4667f7..8255fde 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,11 +1,18 @@
Makefile
Makefile.in
Xpoll.h
+Xfuncproto.h
aclocal.m4
autom4te.cache
+config.guess
config.log
config.status
+config.sub
configure
+do-not-use-config.h
+do-not-use-config.h.in
install-sh
missing
Reply to: