Commit graph

161 commits

Author SHA1 Message Date
Peter Hutterer
1e33337d4d Add XF86XK_Suspend and XF86XK_Hibernate keysym defs.
At the moment, we have the following keysyms defined to put a computer into a
sleep state:

XF86XK_Standby    0x1008FF10   /* System into standby mode   */
XF86XK_PowerDown  0x1008FF21   /* Deep sleep the system      */
XF86XK_Sleep      0x1008FF2F   /* Put system to sleep        */

Proposed change by Richard Hughes:
    "The nomenclature I've been trying to make stick
    (most projects now use this) for a few years now is:

    standby: high sleep state, nobody uses this any more
    hibernate: sleep to disk - slow, but can remove power
    suspend: sleep to ram - fast, but can't remove power
    hybrid sleep: sleep to both, slow, and can remove power, but quick to
    resume if you don't - most users don't use this"

This patch adds XF86XK_Suspend and XF86XK_Hibernate. The behaviour of
XF86XK_Sleep can then be configured on a per-session basis.

Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
2008-11-14 10:33:30 +10:00
James Cloos
2563153ed6 [keysymdef.h] Add dead_currency symbol.
As requested for the Bépo keyboard layout (http://clavier-dvorak.org/wiki/).

Cf. bugs:

  http://bugs.freedesktop.org/show_bug.cgi?id=17821
  http://bugs.freedesktop.org/show_bug.cgi?id=17822
2008-11-11 16:26:28 -05:00
James Cloos
735d745e17 Add a dead_belowcomma keysym
Requested by the Bépo group.

The belowcomma is only used for:

 U+0218 [Ș] LATIN CAPITAL LETTER S WITH COMMA BELOW
 U+0219 [ș] LATIN SMALL LETTER S WITH COMMA BELOW
 U+021A [Ț] LATIN CAPITAL LETTER T WITH COMMA BELOW
 U+021B [ț] LATIN SMALL LETTER T WITH COMMA BELOW

(aka 0xAA, 0xBA, 0xDE and 0xFE from iso-8859-16).

Cf: http://bugs.freedesktop.org/show_bug.cgi?id=17822
    http://bugs.freedesktop.org/show_bug.cgi?id=17821
    http://clavier-dvorak.org/wiki/
2008-10-25 00:35:22 -04:00
Sayamindu Dasgupta
935dd37be4 Add dead vowels in keysymdef.h
At OLPC, we are using an XKB based Amharic keyboard layout, which requires the
use of dead vowels to generate the various consonant + vowel combinations (see
http://en.wikipedia.org/wiki/Ge%27ez_alphabet#Syllable_signs for a detailed
explanation).

[Patch modified to use available keysym codes.  -JimC]

Cf: http://bugs.freedesktop.org/show_bug.cgi?id=17437

Signed-off-by: James Cloos <cloos@jhcloos.com>
2008-10-25 00:35:21 -04:00
James Cloos
c43f804f44 Add dead keysyms for DOUBLE GRAVE and INVERTED BREVE accents
Several COMBINING characters are used in libX11's Compose tables
where dead keys should be used; these are the two most-used which
so far have not had equivalent dead keys.
2008-10-25 00:35:21 -04:00
Peter Hutterer
33a7de5cda Bump to 7.0.14. 2008-10-23 22:41:01 +10:30
Bastien Nocera
1cf41088ff 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>
2008-10-15 14:27:43 +10:30
Peter Hutterer
0b541b3fa2 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>
2008-10-14 21:00:10 +02:00
Peter Hutterer
c94477f163 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 2945d2f97c.
2008-10-14 21:00:10 +02:00
Peter Hutterer
2945d2f97c 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>
2008-10-14 21:42:10 +10:30
Peter Hutterer
610eb96983 Add keysyms for XF86XK_Battery, XF86XK_Bluetooth, XF86XK_WLAN, XF86XK_UWB. 2008-10-13 13:27:01 +10:30
James Cloos
0846d7adfe 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
2008-07-13 17:57:09 -04:00
James Cloos
38edd9839f fix typo in commit 40ed4eef 2008-07-13 17:54:47 -04:00
Peter Hutterer
53859ee4e4 Bump to 7.0.13. 2008-05-28 17:17:38 +09:30
Peter Hutterer
44e458285b Add GenericEvent and xGenericEvent definitions.
(cherry picked from commit 8a96cdca08db2563e8c4c7c9a110a3ab6d973fcc)
2008-05-22 09:23:39 +09:30
Jeremy Huddleston
22878c30d2 Apple: Added a comment to explain _DARWIN_C_SOURCE 2008-05-08 15:02:41 -07:00
Jeremy Huddleston
e3035a7e6e 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 2008-05-08 12:16:15 -07:00
Jeremy Huddleston
05b119d78e Apple: Cleaned up some Apple definitions 2008-05-08 11:36:03 -07:00
Alan Hourihane
c879dab58f avoid checking for fds_bits on mingw 2008-04-29 00:37:28 +01:00
Colin Harrison
8642ec676d Use Sleep() instead of sleep() on windows
(was already done in Xwindows.h, just not Xw32defs.h)
2008-04-26 18:21:41 +01:00
Colin Harrison
a893a6ac5d Use winsock2.h 2008-04-26 08:52:29 +01:00
Markus Kuhn
c705bab0f6 Added comment to slightly discourage the definition of ever more Unicode keysyms 2008-04-21 21:27:26 +01:00
James Cloos
44e24a27bc 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
2008-04-12 15:48:46 -04:00
James Cloos
07e83988ec 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.
2008-03-06 11:34:17 -05:00
Adam Jackson
d34310efef x11proto 7.0.12 2008-03-05 22:09:16 -05:00
Jeremy Huddleston
e4ad7a8080 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.
"""
2008-02-10 19:07:49 -08:00
Jeremy Huddleston
e49280c1c3 Changed __DARWIN__ to __APPLE__ 2007-12-10 21:33:01 -08:00
Alan Coopersmith
5ae4d304ec Make Xalloca.h work with Sun C++ compiler 2007-10-30 18:45:01 -07:00
Ben Byer
5ccc711612 fd_mask needs to be defined on OS X, too 2007-10-30 18:40:47 -07:00
Daniel Stone
8be48ca399 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.
2007-09-24 12:29:19 +03:00
James Cloos
68e841fb4b bump to 7.0.11 2007-09-08 08:30:17 -04:00
Eric Anholt
11fd082a38 Describe what XF86XK_Display does (or now is meant to do). 2007-08-28 14:54:44 -07:00
James Cloos
40ed4eef92 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.
2007-08-22 21:10:47 -04:00
James Cloos
ab74d270c7 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.
2007-08-22 21:01:48 -04:00
James Cloos
1edcfdb7f5 Add *~ to .gitignore to skip patch/emacs droppings 2007-08-21 00:10:08 -04:00
Colin Harrison
d8a49874bb bcopy needs definition in Xfuncs.h for Xming 2007-05-09 16:46:25 +01:00
Tilman Sauerbeck
7505880329 Added some more files to .gitignore. 2007-05-01 14:54:27 +02:00
Tilman Sauerbeck
0c55a57dca Enable GCC's visibility attributes on GCC 4 or greater only. 2007-05-01 14:52:57 +02:00
Zephaniah E. Hull
30f5eedf80 Add keysym definitions from Jim Gettys. 2007-02-02 15:11:26 -05:00
Daniel Stone
5951f0355c bump to 7.0.10 2006-12-16 01:09:50 +02:00
Daniel Stone
0422755ef9 don't distribute Xfuncproto.h and Xpoll.h
Don't distribute these two files, as they're generated during the build.
2006-12-16 01:09:44 +02:00
Daniel Stone
cf44526713 Makefile.am: make ChangeLog hook safer
Make ChangeLog hook as safe as possible.
2006-12-06 19:02:19 +02:00
Daniel Stone
528e313fd1 bump to 7.0.9 2006-10-26 00:45:44 +03:00
Daniel Stone
ab484c9343 Xfuncproto: add _X_LIKELY and _X_UNLIKELY
Add gcc branch hinting annotations.
2006-10-26 00:45:36 +03:00
Daniel Stone
178cae180b Xfuncproto: define _X_INLINE for older compilers 2006-09-21 18:43:06 +03:00
Daniel Stone
241e9dfd40 bump to 7.0.8 2006-09-21 14:51:00 +03:00
Daniel Stone
e51b21e316 XF86keysym: add keyboard/monitor brightness controls (Bug #8120)
Add XF86{Kbd,Mon}Brightness{Up,Down}, and XF86KbdLightOnOff.
2006-09-21 14:50:45 +03:00
Daniel Stone
c3f56593f7 Xfuncproto: add _X_INLINE 2006-09-20 21:11:30 +03:00
Alan Coopersmith
4fb2e257ae Replace manual ChangeLog with dist-hook to generate from git log 2006-07-14 17:59:19 -07:00
Alan Coopersmith
2153ef4b7c renamed: .cvsignore -> .gitignore 2006-07-14 17:54:38 -07:00