gtk2/gdk
Tor Lillqvist 93fa867e14 Implement the functions that until now just were non-functional stubs. For
2002-02-26  Tor Lillqvist  <tml@iki.fi>

	* gdk/win32/gdkkeys-win32.c: Implement the functions that until
	now just were non-functional stubs. For "hardware keycodes", we
	use Windows virtual keycodes. Not scancodes, although that at
	first might seem more low-level and a better match to X11
	keycodes.

	The Windows API is really mixed up and confused with respect to
	scancodes and virtual keycodes. (Surprised?) Some scancodes are
	generated by two keys on the keyboard (!), and although the
	keyboard messages do have a flag to indicate which key the user
	pressed, other API that take a scan code as input don't let you
	specify which actual key you mean.

	(update_keymap): Function to build a X11-like representation of
	the keyboard. Each key has four keysyms: two levels (nonshifted
	and shifted) and two groups (normal and with AltGr).

	(gdk_keymap_get_direction): Use the codepage corresponding to the
	thread's input locale, not the system codepage.

	* gdk/win32/gdkglobals-win32.c
	* gdk/win32/gdkmain-win32.c
	* gdk/win32/gdkprivate-win32.h
	* gdk/win32/gdkwindow-win32.h
	* gdk/win32/gdkwindow-win32.c: Remove the input_locale and
	charset_info fields from GdkWindowImplWin32. Input locale is
	per-thread in Windows, and as GDK on Windows really only works
	when the GDI interaction all happens in just one thread anyway,
	this state can be global. Use globals _gdk_input_locale and
	_gdk_input_codepage instead. Set these based on the thread's input
	locale (keyboard layout, or which IME is active).

	* gdk/win32/gdkevents-win32.c: Set the group and hardware_keycode
	fields in GDK key events. On input locale change messages, set
	the global state variables, and inform update_keymap() that it
	has to rebuild the keymap.
2002-02-26 01:18:27 +00:00
..
linux-fb Implement "fuzzy" key binding lookups; allow matches on key and level but 2002-02-21 17:14:10 +00:00
nanox Make gdkx.h the only installed header from gdk/x11. All structures in 2001-09-07 21:50:20 +00:00
win32 Implement the functions that until now just were non-functional stubs. For 2002-02-26 01:18:27 +00:00
x11 Fix precendence problem. (Sven Neumann) 2002-02-25 17:48:32 +00:00
.cvsignore shut up CVS 2001-04-03 23:11:15 +00:00
COPYING [ Merges from gtk-1-2 ] 1999-09-28 20:19:13 +00:00
gdk.c Add some more GdkDebugFlags, for more fine-grained debugging output 2002-02-13 21:59:47 +00:00
gdk.def Massive changes. Too many to list here, but I'll try a summary: 2002-02-17 00:25:05 +00:00
gdk.h Add a function, gdk_threads_init() that must be explicitely called to 2001-10-22 12:59:21 +00:00
gdkcolor.c 1.3.12, interface, binary age 0. 2001-12-23 22:59:30 +00:00
gdkcolor.h Deprecate. (#65851) 2001-12-05 00:06:40 +00:00
gdkconfig.h.win32 Massive changes. Too many to list here, but I'll try a summary: 2002-02-17 00:25:05 +00:00
gdkcursor.c Update to use the new g_boxed_type_register_static API. 2001-09-10 16:54:07 +00:00
gdkcursor.h Directly include the contents of gdkcursors.h in the GdkCursorType enum. 2001-11-28 18:38:43 +00:00
gdkdnd.h Deprecate. 2001-11-30 22:55:28 +00:00
gdkdraw.c Call _gdk_draw_pixbuf(), thus enabling using this function for pixbufs 2002-01-29 22:46:21 +00:00
gdkdrawable.h Massive padding addition to class structures. 2002-02-23 20:22:05 +00:00
gdkevents.c Ref and sink priv->tooltips in init() and unref priv->tooltips in destroy 2001-12-04 17:12:35 +00:00
gdkevents.h !GTK_OBJECT_DESTROYED() -> GTK_WIDGET_REALIZE() for resize queueing. 2001-06-28 22:49:20 +00:00
gdkfont.c Forget gdkfont 2001-09-10 16:57:38 +00:00
gdkfont.h get rid of extraneous prototype 2002-01-11 03:47:49 +00:00
gdkgc.c 1.3.12, interface, binary age 0. 2001-12-23 22:59:30 +00:00
gdkgc.h Massive padding addition to class structures. 2002-02-23 20:22:05 +00:00
gdkglobals.c File Edit Options Buffers Tools Help Thu Feb 14 21:08:49 2002 Owen Taylor <otaylor@redhat.com> 2002-02-15 02:45:09 +00:00
gdki18n.h Deprecate GtkPreviewType, GtkSignalRunType, GtkSideType, 2002-01-30 02:01:10 +00:00
gdkimage.c make static. 2002-01-31 15:48:58 +00:00
gdkimage.h Fix docs. (#66383) 2001-12-06 21:38:12 +00:00
gdkinput.h Make gdkx.h the only installed header from gdk/x11. All structures in 2001-09-07 21:50:20 +00:00
gdkinternals.h Add some more GdkDebugFlags, for more fine-grained debugging output 2002-02-13 21:59:47 +00:00
gdkkeys.c Throughout: assorted docs 2001-10-03 18:19:48 +00:00
gdkkeys.h Implement "fuzzy" key binding lookups; allow matches on key and level but 2002-02-21 17:14:10 +00:00
gdkkeysyms.h Directly include the contents of gdkcursors.h in the GdkCursorType enum. 2001-11-28 18:38:43 +00:00
gdkkeyuni.c Handle numeric keypad keysyms; bug #50201 2001-04-18 20:33:26 +00:00
gdkpango.c Patch from Hidetoshi Tajima to fix bad match error when target drawable is 2001-11-30 21:14:07 +00:00
gdkpango.h Doc fixes 2001-03-04 00:12:55 +00:00
gdkpixbuf-drawable.c Fixes for AIX compilation from Miroslaw Dobrzanski-Neumann, #72182. 2002-02-23 00:13:17 +00:00
gdkpixbuf-render.c Call _gdk_draw_pixbuf(), thus enabling using this function for pixbufs 2002-01-29 22:46:21 +00:00
gdkpixbuf.h Deprecate gdk_set/get_use_xshm, make gdk_set_use_xshm a noop. Remove 2001-09-07 22:33:09 +00:00
gdkpixmap.c Private function to tell if we have RENDER extension. 2002-01-04 05:58:01 +00:00
gdkpixmap.h Add gdk_window_lookup, gdk_window_foreign_new, gdk_pixmap_lookup and 2001-10-18 20:23:17 +00:00
gdkpoly-generic.h Merge no-flicker branch into HEAD 2000-03-28 01:24:44 +00:00
gdkpolyreg-generic.c Merge no-flicker branch into HEAD 2000-03-28 01:24:44 +00:00
gdkprivate.h Make gdkx.h the only installed header from gdk/x11. All structures in 2001-09-07 21:50:20 +00:00
gdkproperty.h Use $PKG_CONFIG, not pkg-config. (#51032) 2001-05-29 21:42:20 +00:00
gdkrectangle.c Update to use the new g_boxed_type_register_static API. 2001-09-10 16:54:07 +00:00
gdkregion-generic.c Released 1.3.14 2002-02-18 03:29:00 +00:00
gdkregion-generic.h (Part 2) Remove gdk_*_lookup() defines, since they are defined by the 2000-07-24 16:19:00 +00:00
gdkregion.h use _gdk_region_get_xrectangles() 2001-03-02 20:02:17 +00:00
gdkrgb.c Private function to tell if we have RENDER extension. 2002-01-04 05:58:01 +00:00
gdkrgb.h [ Patch from Sebastian Wilhelmi, 52790 ] 2001-08-23 15:26:49 +00:00
gdkselection.h these should be 31, not 3. Hooray for Xatoms (and not using the XA_* 2001-10-31 21:52:29 +00:00
gdktypes.h Fixes for AIX compilation from Miroslaw Dobrzanski-Neumann, #72182. 2002-02-23 00:13:17 +00:00
gdkvisual.h Deprecate. 2001-11-30 22:55:28 +00:00
gdkwindow.c Released 1.3.14 2002-02-18 03:29:00 +00:00
gdkwindow.h fix signature to match implementation 2002-02-11 16:34:27 +00:00
makeenums.pl Add GdkEventSetting event for notification of changes to system settings, 2001-04-02 23:33:47 +00:00
Makefile.am Simplify Makefiles. <URL: http://bugzilla.gnome.org/show_bug.cgi?id=68969> 2002-01-18 04:21:24 +00:00
makefile.mingw.in Updates. 2001-10-29 07:06:37 +00:00
makefile.msc need to cast image->mem away from void* to avoid 'error C2036: 'void *' : 2002-01-05 19:07:13 +00:00
testgdk.c Update. 2000-10-09 19:49:42 +00:00
TODO Make gdkx.h the only installed header from gdk/x11. All structures in 2001-09-07 21:50:20 +00:00