]> Pileus Git - ~andy/gtk/blobdiff - ChangeLog.pre-2-4
Fix off-by-one bug in parameter check.
[~andy/gtk] / ChangeLog.pre-2-4
index b413b3ebdd57ef030a3092d26b02414327085b9e..34c2c84935637a1b276d23b2b4f33b7bfde66cd7 100644 (file)
@@ -1,3 +1,364 @@
+Wed Nov 10 17:26:49 GMT 1999 Tony Gale  <gale@gtk.org>
+
+       * gtk/gtkclist.c: Fix off-by-one bug in parameter
+       check.
+
+Wed Nov 10 12:12:03 1999  Owen Taylor  <otaylor@redhat.com>
+
+       * gdk/x11/gdkinput-{x11,xfree}.c: Call XFreeDeviceState()
+       on results of XQueryDeviceState().
+
+Mon Nov  8 16:40:43 1999  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkwidget.c: Substitute gdkx.h => gdkprivate.h since
+       we need to accesss only ->children. We need an accessor
+       for the children.
+
+       * gtk/gtkhandlebox.c gtk/testgtk.c: Substitute G
+       DK_ROOT_PARENT() => NULL, in call to gtk_window_get_pointer()
+       to get rid of gdkx.h include.
+       
+       * gtk/gtkctree.c: Get rid of #include <gdk/gdkx.h>
+       and random references to 'None'.
+
+       * gtk/gtkclist.c gtk/gtkeditable.c gtk/gtkpreview.c
+       Get rid of unused #include <gdk/gdkx.h>
+
+       * gtk/gtkrc.c gtk/gtkmain.c: Get rid of #include <gdk/gdkx.h>
+       gdkx.h is _X_ specific stuff. GDK_WINDOWING comes from
+       gdkconfig.h.
+
+1999-11-08  Tor Lillqvist  <tml@iki.fi>
+
+       * gdk/win32/gdkdraw.c
+       * gdk/win32/gdkfont.c
+       * gdk/win32/gdkgc.c: Various minor cleanups and bugfixes
+       following yesterday's changes. (Unrelated to Owen's reorg.)
+
+Mon Nov  8 16:18:25 1999  Owen Taylor  <otaylor@redhat.com>
+
+       * gdk/x11/gdkinput-gxi.c: Add missing include,
+         fix GdkWindowPrivate => GdkDrawablePrivate.
+
+       * gdk/x11/gdkinputprivate.h: include <X11/Xlib.h>.
+
+       * gdk/x11/Makefile.am (xinput_sources): Add missing
+       backslash to fix building with --with-xinput=none
+
+Mon Nov  8 14:47:04 1999  Owen Taylor  <otaylor@redhat.com>
+
+       Move all X specific code into the x11/ directory.
+       Aside from shuffling things around, did the following:
+
+       * gdk/gdkprivate.h gdk/gdk.h gdk/x11/gdkmain-x11.h: Add
+        gdk_arg_context_* - a simple argument parsing system
+        in the style of popt.
+
+       * gdk/gdkdrawable.[ch] gdk/gdkprivate.h gdk/gdkwindow.[ch]
+        gdk/x11/gdkprivate-x11.h:
+        Remove X specific stuff from GdkDrawable and GdkWindowPrivate - 
+        add ->klass and ->klass_data fields. The klass_data
+        field points to an auxilliary structure that is
+        windowing system dependent.
+
+       * gdk/gdkfont.c: Make most of the measurement functions
+        simply wrappers around gdk_text_extents().
+
+       * gdk/gdkfont.c gdk/gdkprivate.h gdk/x11/gdkfont-x11.c: Add a 
+        _gdk_font_strlen() function that hides the weird
+        behavior in gtk+-1.[02] where a string is interpreted
+        differently for 8-bit and 16-bit fonts.
+
+       * gdk/gdkevents.c: Add a new function gdk_event_button_generate()
+        to store common code for synthesizing double/triple
+        press events.
+       
+       * gdk/gdkgc.[ch]: Virtualize in the same way as gdkdrawable.h.
+        Make all the function that modify an existing GC
+        simply wrappers around gdk_gc_set_values().
+        
+       * gdk/gdkcc.[ch]: Moved into x11/ directory in preparation
+        for throwing out later.
+
+       * gdk/gdkfont.c gdk/gdkimage.c gdk/gdkcolor.c: Change GdkFontPrivate,
+        GdkImagePrivate and GdkColormapPrivate to have a
+        windowing system dependent part (GdkFontPrivateX etc.)
+        that "derives" from the system-independent part.
+
+       * configure.in gdk/x11/Makefile.in gdk/x11/gdkinput*.c:
+        Got rid of the included-source-files for XInput in
+        favor of automake conditionals. (Which didn't exist
+        when XInput support was originally added.)
+
+       * gdk/gdkrgb.c: Remove the visual id from the debugging
+        statements since that is X11 specific; print out
+        type/depth info instead.
+        
+
+Wed Nov  3 18:14:49 1999  Owen Taylor  <otaylor@redhat.com>
+
+       * gdk/x11/gdkfont-x11.c (gdk_font_load): Ref fonts when
+       loading duplicates of hashed fonts.
+
+       * gdk/gdk.c (gdk_keysym_convert_case): rename
+       gdk_XConvertCase to gdk_keysym_convert_case, allow
+       results to be NULL in the GTK+ style.
+
+       * gdk/gdkcompat.h: Started compatibility header
+       for renames.
+
+1999-11-07  Tor Lillqvist  <tml@iki.fi>
+
+       * 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  <tml@iki.fi>
+
+       * config.h.win32: Don't define HAVE_DIMM_H if MSC, as you have to
+       get the Platform SDK to get <dimm.h>.
+
+       * 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  <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".
+
+Sat Oct 30 13:17:18 BST 1999 Tony Gale <gale@gtk.org>
+
+       * docs/gtkfaq.sgml: FAQ update
+
+1999-10-21  Tor Lillqvist  <tml@iki.fi>
+
+       * 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  <tml@iki.fi>
+
+       * 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  <tml@iki.fi>
+
+       * 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  <cactus@cactus.rulez.org>
+
+       * gdk/gdk.c (gdk_beep): Modified the XBell call to use the default
+       X values
+
+1999-10-09  ERDI Gergo  <cactus@cactus.rulez.org>
+
+       * 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 <yosh@gimp.org>
+
+       * gtk/fnmatch.c
+       * gtk/gtkfilesel.c: s/G_HAVE_CYGWIN/G_WITH_CYGWIN/
+
+1999-10-05  Jesus Bravo Alvarez  <jba@pobox.com>
+
+       * configure.in (ALL_LINGUAS): Added Galician (gl)
+
+1999-10-05  Tor Lillqvist  <tml@iki.fi>
+
+       * gdk/win32/*.[ch]: Corresponding changes as in X11 backend.
+
+       * gdk/win32/gdkcompat.c: New file, actually provide an
+       implementation for the deprecated functions. (Just temporarily.)
+
+       * gtk/gtkfilesel.c: Fix an #ifdef syntax botch.
+
+       * gtk/makefile.{cygwin,msc}: Update gdk_headers.
+
+       * gdk/win32/gdk.def gtk/gtk.def: Updates.
+
+1999-10-05  Kjartan Maraas  <kmaraas@online.no>
+
+       * configure.in: Added "uk" to ALL_LINGUAS.
+       
+Mon Oct  4 11:57:11 PDT 1999 Manish Singh <yosh@gimp.org>
+
+       * configure.in: correct checking for BeOS check
+
+       * gdk/gdktypes.h
+       * gtk/fnmatch.c
+       * gtk/gtkfilesel.c
+       * gtk/gtkitemfactory.c
+       * gtk/gtkmain.[ch]
+       * gtk/gtkrc.c: use G_OS_WIN32 and G_HAVE_CYGWIN #defines
+
+Mon Oct  4 16:16:53 1999  Pablo Saratxaga <pablo@mandrakesoft.com>
+
+       * gtk/gtkrc.{bg,iso88591[345]}: add gtkrc files for some new charset
+       encodings: iso-8859-13 (for Lithuanian), iso-8859-14 (used by celtic
+       languages), iso-8859-15 (used in Estonia) and microsoft-cp1251 (used
+       by Bulgarian). 
+
+Sun Oct  3 18:13:44 1999  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkwidget.c (gtk_reset_shapes_recurse): 
+       Fix a reference to window_private->destroyed.   
+
+       * gtk/gtkplug.c (gtk_plug_realize): Fix up a direct
+       (ugly) setting of an internal GdkWindow member to use
+       a _slightly_ cleaner macro.
+
+       * gdk/gdkprivate.h: Split GdkWindowPrivate into
+       GdkDrawablePrivate and GdkWindowPrivate.
+       Add extra macros for accessing GDK_DRAWABLE_ components.
+
+       * *.[ch]: Massive adjustments for the above, use the
+       new macros in a lot of places.
+
+Sun Oct  3 15:16:24 1999  Owen Taylor  <otaylor@redhat.com>
+
+       * gdk/gdktypes.h: Make GdkDrawable the base type,
+       not GdkWindow.
+
+Sun Oct  3 15:08:44 1999  Owen Taylor  <otaylor@redhat.com>
+
+       * gdk/gdkdraw.c (gdk_drawable_get_data): Added new function.
+
 Sun Oct  3 14:26:15 1999  Owen Taylor  <otaylor@redhat.com>
 
        * gdk/gxid* gdk/x11/gxid*: Move files into x11 subdirectory.