gtk2/gdk/win32
Tor Lillqvist 00c5e83871 Add new keysyms from X11R6.4 (including EuroSign).
1999-10-31  Tor Lillqvist  <tml@iki.fi>

* gdk/gdkkeysyms.h: Add new keysyms from X11R6.4 (including
EuroSign).

* gdk/gdktypes.h: Add note about wchar_t not necessarily being the
same type as GdkWChar, especially on Win32.

* gdk/win32/*.c: Change gdk_root_parent to be a pointer.

* gdk/win32/*.c: Assume all strings are UTF-8. Convert to Unicode
before passing to Windows GDI for drawing etc. Convert to the
system default codepage before passing to Windows as window
titles.

* gdk/win32/gdkprivate.h: Add more fields to GdkWindowPrivate to
support changing input locale on the fly.

* gdk/win32/gdkevent.c: Support input language (keyboard locale)
on-the-fly changes. Convert incoming characters from the current
codepage to Unicode (and then to a UTF-8 multi-byte string) based
on the current input language. Use keysym<->Unicode mapping tables
and functions borrowed from xterm sources.

Support IMEs (Input Method Editors) for CJK languages. On non-CJK
editions of Win9x, use the ActiveX-based Active IMM (Input Method
Manager) if available. IMEs and the Active IMM are available under
the disguise of Chinese, Korean and Japanese support for IE and
Outlook Express from "Windows Update" for Win98. On Win2k, the CJK
support is present in all editions (as long as you install it).

Call DispatchMessage from gdk_events_queue() (and thus
gdk_WindowProc()), instead of duplicating the code in
gdk_WindowProc().

Reworked the grab handling and propagation code, factored out
duplicated code snippets into separate functions. Other cleanups,
too.

* gdk/win32/surrogate-dimm.h: Provide just the bits we need from
the <dimm.h> header describing the Active IMM.

* gdk/win32/gdkfont.c: Pretend to support fontsets, but so far
just do the same as for "single" fonts.

* gdk/win32/gdk.c: Call CoInitialize() (COM initialisation) from
gdk_init_check, and CoUninitialize() from gdk_exit_func. Handle
the new keysyms from gdkkeysyms.h.

* gtk/gtkfontsel.c (Win32): Load the font for the preview as a
fontset, so that gtkentry uses wide characters.

* gtk/gtkrc.c (Win32): Get the locale with gwin_getlocale(). Call
GTk+'s system directory "gtk+", not "gtk".
1999-10-31 21:35:39 +00:00
..
rc Delete the gdk_DC when exiting, just to be sure. 1999-09-21 19:12:50 +00:00
gdk-win32.def Corresponding changes as in X11 backend. 1999-10-05 19:04:48 +00:00
gdk.c Add new keysyms from X11R6.4 (including EuroSign). 1999-10-31 21:35:39 +00:00
gdk.def Corresponding changes as in X11 backend. 1999-10-05 19:04:48 +00:00
gdkcc.c Change GDK_WINDOWING_WIN32 usage to #ifdef also here. 1999-10-02 22:42:58 +00:00
gdkcolor-win32.c Change GDK_WINDOWING_WIN32 usage to #ifdef also here. 1999-10-02 22:42:58 +00:00
gdkcolor.c Change GDK_WINDOWING_WIN32 usage to #ifdef also here. 1999-10-02 22:42:58 +00:00
gdkconfig.h Add new keysyms from X11R6.4 (including EuroSign). 1999-10-31 21:35:39 +00:00
gdkcursor-win32.c Corresponding changes as in X11 backend. 1999-10-05 19:04:48 +00:00
gdkcursor.c Corresponding changes as in X11 backend. 1999-10-05 19:04:48 +00:00
gdkdnd-win32.c Add new keysyms from X11R6.4 (including EuroSign). 1999-10-31 21:35:39 +00:00
gdkdnd.c Add new keysyms from X11R6.4 (including EuroSign). 1999-10-31 21:35:39 +00:00
gdkdraw.c Add new keysyms from X11R6.4 (including EuroSign). 1999-10-31 21:35:39 +00:00
gdkdrawable-win32.c Add new keysyms from X11R6.4 (including EuroSign). 1999-10-31 21:35:39 +00:00
gdkevents-win32.c Add new keysyms from X11R6.4 (including EuroSign). 1999-10-31 21:35:39 +00:00
gdkevents.c Add new keysyms from X11R6.4 (including EuroSign). 1999-10-31 21:35:39 +00:00
gdkfont-win32.c Add new keysyms from X11R6.4 (including EuroSign). 1999-10-31 21:35:39 +00:00
gdkfont.c Add new keysyms from X11R6.4 (including EuroSign). 1999-10-31 21:35:39 +00:00
gdkgc-win32.c Add new keysyms from X11R6.4 (including EuroSign). 1999-10-31 21:35:39 +00:00
gdkgc.c Add new keysyms from X11R6.4 (including EuroSign). 1999-10-31 21:35:39 +00:00
gdkglobals-win32.c Add new keysyms from X11R6.4 (including EuroSign). 1999-10-31 21:35:39 +00:00
gdkglobals.c Add new keysyms from X11R6.4 (including EuroSign). 1999-10-31 21:35:39 +00:00
gdkim-win32.c Add new keysyms from X11R6.4 (including EuroSign). 1999-10-31 21:35:39 +00:00
gdkim.c Add new keysyms from X11R6.4 (including EuroSign). 1999-10-31 21:35:39 +00:00
gdkimage-win32.c Corresponding changes as in X11 backend. 1999-10-05 19:04:48 +00:00
gdkimage.c Corresponding changes as in X11 backend. 1999-10-05 19:04:48 +00:00
gdkinput-win32.c Add new keysyms from X11R6.4 (including EuroSign). 1999-10-31 21:35:39 +00:00
gdkinput.c Add new keysyms from X11R6.4 (including EuroSign). 1999-10-31 21:35:39 +00:00
gdkinputprivate.h A few includes added for the picky MSVC compiler. 1999-10-02 22:53:45 +00:00
gdkmain-win32.c Add new keysyms from X11R6.4 (including EuroSign). 1999-10-31 21:35:39 +00:00
gdkpixmap-win32.c Add new keysyms from X11R6.4 (including EuroSign). 1999-10-31 21:35:39 +00:00
gdkpixmap.c Add new keysyms from X11R6.4 (including EuroSign). 1999-10-31 21:35:39 +00:00
gdkprivate-win32.h Add new keysyms from X11R6.4 (including EuroSign). 1999-10-31 21:35:39 +00:00
gdkprivate.h Add new keysyms from X11R6.4 (including EuroSign). 1999-10-31 21:35:39 +00:00
gdkproperty-win32.c Corresponding changes as in X11 backend. 1999-10-05 19:04:48 +00:00
gdkproperty.c Corresponding changes as in X11 backend. 1999-10-05 19:04:48 +00:00
gdkregion-win32.c Change GDK_WINDOWING_WIN32 usage to #ifdef also here. 1999-10-02 22:42:58 +00:00
gdkregion.c Change GDK_WINDOWING_WIN32 usage to #ifdef also here. 1999-10-02 22:42:58 +00:00
gdkselection-win32.c Add new keysyms from X11R6.4 (including EuroSign). 1999-10-31 21:35:39 +00:00
gdkselection.c Add new keysyms from X11R6.4 (including EuroSign). 1999-10-31 21:35:39 +00:00
gdkvisual-win32.c Change GDK_WINDOWING_WIN32 usage to #ifdef also here. 1999-10-02 22:42:58 +00:00
gdkvisual.c Change GDK_WINDOWING_WIN32 usage to #ifdef also here. 1999-10-02 22:42:58 +00:00
gdkwin32.h Add new keysyms from X11R6.4 (including EuroSign). 1999-10-31 21:35:39 +00:00
gdkwin32id.c Change GDK_WINDOWING_WIN32 usage to #ifdef also here. 1999-10-02 22:42:58 +00:00
gdkwindow-win32.c Add new keysyms from X11R6.4 (including EuroSign). 1999-10-31 21:35:39 +00:00
gdkwindow.c Add new keysyms from X11R6.4 (including EuroSign). 1999-10-31 21:35:39 +00:00
gdkx.h Add new keysyms from X11R6.4 (including EuroSign). 1999-10-31 21:35:39 +00:00
gdkxid.c Change GDK_WINDOWING_WIN32 usage to #ifdef also here. 1999-10-02 22:42:58 +00:00
makefile.cygwin Add new keysyms from X11R6.4 (including EuroSign). 1999-10-31 21:35:39 +00:00
makefile.msc Corresponding changes as in X11 backend. 1999-10-05 19:04:48 +00:00
surrogate-dimm.h Add new keysyms from X11R6.4 (including EuroSign). 1999-10-31 21:35:39 +00:00