X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=ChangeLog.pre-2-8;h=d7b557e905a641d5156bd26662dd37df7e09dc5c;hb=0ad4aa57d696dbff96e35e571925330afa1ad2d1;hp=c9cd1d1b00accc2d98cbf4d26d45abb237cdb430;hpb=d23e3848a93e052763c6290528312b9f1e332df2;p=~andy%2Fgtk diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index c9cd1d1b0..d7b557e90 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,195 @@ +1999-11-07 Tor Lillqvist + + * gdk/win32/gdkprivate.h: New font private structures, related to + fontsets. + + * gdk/win32/gdkfont.c: New functions gdk_font_list_new() and + gdk_font_list_free(). On X11, will just be wrappers to + XListFonts() and XFreeFontNames(). On Win32, the code previously + in gtkfontsel.c is now here. + + New function gdk_font_xlfd_create(). On X11 will get the FONT + property of the font (for GDK_FONT_FONTs), or call + XBaseFontNameListOfFontSet (for GDK_FONT_FONTSETs), on Win32 + builds a XLFD style name from the font information in the LOGFONT + struct(s). + + New function gdk_font_xlfd_free(), which correspondingly frees the + string returned by gdk_font_xlfd_create(). + + Implement fontsets on Win32. Add a function that iterates over a + wide char string and calls a callback function for each substring + of wide chars from the same Unicode subrange (and thus probably + available in the same real font). + + Improve the XLFD emulation a bit. + + * gdk/win32/gdkim.c (gdk_nmbstowchar_ts): Small bugfix. + + * gdk/win32/gdkevents.c: Workaround for suspected bug on Win2k + Beta3, WM_IME_CHAR messages don't seem to contain the composed + multi-byte char as with the Active IMM on Win9x. Oh well, handle + WM_IME_COMPOSITION with GCS_RESULTSTR instead, use + ImmGetCompositionStringW() to get the composed Unicode chars. + + * gdk/win32/gdkgc.c + * gdk/win32/gdkdraw.c: Changes needed because of the font private + struct changes. + + * gdk/win32/gdk.def: Add the new functions. + +1999-11-04 Tor Lillqvist + + * config.h.win32: Don't define HAVE_DIMM_H if MSC, as you have to + get the Platform SDK to get . + + * gdk/win32/gdkevents.c: More event handling fixes and + simplification. Never generate motion events with is_hint true. We + used to do that on bogus grounds earlier. Windows sends + WM_MOUSEMOVE messages on button events even if the mouse hasn't + moved, ignore these. + + * gdk/win32/gdkfont.c: Load all fonts as (pretended) fontsets. + + * gdk/win32/gdkglobals.c + * gdk/win32/gdkprivate.h: Define a typedef for the pointer to + the TrackMouseEvent function, and use it. + + * gdk/win32/gdkwindow.c: Terminate widechar string with a zero + char before calling WideCharToMultiByte in order to get a string + for the window title. + + * gdk/win32/gdkdnd.c: Some more random hacking, ifdeffed out. + + * gdk/win32/gdk.def: Remove obsolete functions. + + * gdk/win32/makefile.{cygwin,msc}: Remove gdkcompat.{o,obj}. Add + /nodefaultlib and /defaultlib switches. + + * gtk/gtkrc.c: s/gwin_getlocale/g_win32_getlocale/. + +1999-10-31 Tor Lillqvist + + * 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 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". + +Sat Oct 30 13:17:18 BST 1999 Tony Gale + + * docs/gtkfaq.sgml: FAQ update + +1999-10-21 Tor Lillqvist + + * gdk/win32/gdkprivate.h: Add more font private data. + + * gdk/win32/gdkfont.c + * gdk/win32/gdkdraw.c: Revamped handling of multi-byte charset + fonts and strings. Now works much better. You still have to + have a correct font selected, though. No fontset emulation yet. + +1999-10-19 Tor Lillqvist + + * gtk/maketypes.awk: Use G_OS_WIN32. + + * gtk/gtk.def: Add some missing entry points. Also some non-public + ones, but PyGTK porter claims to need them. + + * gtk/makefile.{cygwin,msc}: Drop some unneeded headers from the + built-in type generation. + +1999-10-14 Tor Lillqvist + + * gdk/win32/gdkdraw.c (gdk_draw_text_wc): Don't use TextOutW for + GDK_FONT_FONT fonts (which is all we have for now, we don't + emulate fontsets). The X11 version uses plain XDrawString in that + case, too. The string passed to gdk_draw_text_wc seems to be in + fact (at least, when used by gtkentry and gtktext) either in a + single-byte charset, or a DBCS. Not Unicode. + + This fixes the problem in gtkfontsel, where even if you had + selected a font with a non-Latin1 charset (windows-greek, for + instance), the preview still used Latin-1 glyphs. + + * gdk/win32/gdkfont.c (gdk_text_width_wc): Similar change. Don't + use GetTextExtentPoint32W, use GetTextExtentPoint32A. + (gdk_font_load): Recognize the demibold etc weights, even if we + don't have the corresponding constants in the headers. + (gdk_font_hash_insert): Use same hash mechanism as in the X11 + version. Should save font resources a bit, when we don't have + multiple HFONTs for the same font. + + * gdk/win32/gdkprivate.h: Add the names field as in the X11 + version. + +1999-10-11 ERDI Gergo + + * gdk/gdk.c (gdk_beep): Modified the XBell call to use the default + X values + +1999-10-09 ERDI Gergo + + * gtk/gtktoolbar.h, gtk/gtktoolbar.c: Added horizontal icon/text + layout support (as mentioned on + http://www.jcinteractive.com/gnome-ui/software/widgets/) + +Wed Oct 6 12:46:17 PDT 1999 Manish Singh + + * gtk/fnmatch.c + * gtk/gtkfilesel.c: s/G_HAVE_CYGWIN/G_WITH_CYGWIN/ + +1999-10-05 Jesus Bravo Alvarez + + * configure.in (ALL_LINGUAS): Added Galician (gl) + 1999-10-05 Tor Lillqvist * gdk/win32/*.[ch]: Corresponding changes as in X11 backend.