]> Pileus Git - ~andy/gtk/commit
add gdkkeys.[hc]
authorHavoc Pennington <hp@pobox.com>
Wed, 6 Dec 2000 05:31:30 +0000 (05:31 +0000)
committerHavoc Pennington <hp@src.gnome.org>
Wed, 6 Dec 2000 05:31:30 +0000 (05:31 +0000)
commit36aac0177bfe4dfed46cfcf8568256fe5b05f9b0
tree5091a09100b1743bf733d47dde7db34e9b673fc6
parent3bc53c742d676a974987ad084f8617a1ab6068fd
add gdkkeys.[hc]

2000-12-03  Havoc Pennington  <hp@pobox.com>

* gdk/Makefile.am: add gdkkeys.[hc]

* gdk/gdkkeys.h, gdk/gdkkeys.c: Move all the keyval stuff to these
files from gdk.h, gdk.c; add GdkKeymap type and operations on it.

* acconfig.h, configure.in: add checks and command line options
for XKB

* gdk/x11/gdkkeys-x11.c: Implement the above functions

* gdk/x11/gdkevents-x11.c (gdk_event_translate): Put the keycode
and group in the key event

* gdk/gdkevents.h (struct _GdkEventKey): Add a hardware_keycode
field with the low-level hardware key code, and a group
field with the keyboard group

* gdk/x11/gdkprivate-x11.h: include config.h for HAVE_XKB,
and declare a couple globals used for keymap handling

* gtk/gtkimcontextsimple.c: Implement ISO 14755 input method,
hold down Shift-Control and type a hex number to get a Unicode
character corresponding to the hex number
(gtk_im_context_simple_get_preedit_string): Fix cursor position
(return bytes not chars)
23 files changed:
ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
acconfig.h
configure.in
gdk/Makefile.am
gdk/gdk.c
gdk/gdk.h
gdk/gdkevents.h
gdk/gdkkeys.c [new file with mode: 0644]
gdk/gdkkeys.h [new file with mode: 0644]
gdk/x11/Makefile.am
gdk/x11/gdkevents-x11.c
gdk/x11/gdkkeys-x11.c [new file with mode: 0644]
gdk/x11/gdkmain-x11.c
gdk/x11/gdkprivate-x11.h
gtk/gtkimcontextsimple.c
gtk/gtkimcontextsimple.h
gtk/gtktextiter.h