]> Pileus Git - ~andy/gtk/blobdiff - ChangeLog.pre-2-4
On Win32, look explicitly for LANG, LC_ALL and LC_CTYPE, and if not found,
[~andy/gtk] / ChangeLog.pre-2-4
index ac4aa00cf504f359ad1c28a0fc17f59c90751130..93f35fbb7bdc2be812aa814fe921b05ebb961230 100644 (file)
@@ -1,3 +1,213 @@
+2002-09-20  Tor Lillqvist  <tml@iki.fi>
+
+       * gtk/gtkmain.c (gtk_get_default_language): On Win32, look
+       explicitly for LANG, LC_ALL and LC_CTYPE, and if not found, use
+       g_win32_getlocale(). The setlocale() in msvcrt.dll would return a
+       locale name in the form Swedish_Finland for sv_FI.
+
+       * gdk/gdkfont.h: Delete leftover declarations of the obsolete
+       Win32-only functions gdk_font_full_name_get() and
+       gdk_font_full_name_free().
+
+       * gdk/gdk.def: Delete from here, too.
+
+       * gdk/win32/gdkfont-win32.c (logfont_to_xlfd,
+       gdk_font_full_name_get, gdk_font_full_name_free): Delete
+       implementation, and helper functions.
+
+       (pattern_match, InnerEnumFontFamExProc, EnumFontFamExProc,
+       gdk_font_list_new, gdk_font_list_free): Delete unused functions.
+
+       (gdk_text_width, gdk_text_width_wc) Instead of code duplication,
+       let gdk_text_extents() and gdk_text_extents_wc() do the job.
+       
+       * gdk/win32/gdkgc-win32.c (gdk_win32_gc_values_to_win32values):
+       Don't use the above removed functions in debugging output.
+
+       * gdk/win32/gdkdisplay-win32.c
+       * gdk/win32/gdkmain-win32.c
+       * gdk/win32/gdkprivate-win32.h
+       * gdk/win32/gdkselection-win32.c
+       * gdk/win32/gdkinput-win32.h
+       * gdk/win32/gdkinput.c: Make it compile again, pass a GdkDisplay in
+       a couple of places.
+
+Thu Sep 19 16:39:29 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtksettings.h (GTK_SETTINGS_GET_CLASS): Fix 
+       usage of compat GTK_TYPE_ macros without including
+       gtkobject.h.
+
+       * gdk/x11/gdkevents-x11.[ch]: Set a flag when initializing
+       to avoid having extra settings-notify events sent
+       when not needed.
+
+2002-09-17  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/stock-icons/stock_color_picker_25.png:
+       * gtk/stock-icons/Makefile.am (VARIABLES1): 
+       * gtk/gtkstock.h (GTK_STOCK_COLOR_PICKER): 
+       * gtk/gtkiconfactory.c (get_default_icons):  
+       * gtk/gtkcolorsel.c (gtk_color_selection_init): Stockify color
+       picker icon.   (#89880)
+
+2002-09-14  Sven Neumann  <sven@gimp.org>
+
+       * gdk/gdkpixbuf-drawable.c: fixed my latest change.
+
+2002-09-13  Sven Neumann  <sven@gimp.org>
+
+       * gdk/gdkpixbuf-drawable.c: use the most significant bits of the
+       GdkColor components (#89703).
+
+2002-09-12  Tor Lillqvist  <tml@iki.fi>
+
+       * gdk/win32/gdkinput-win32.c (gdk_input_wintab_init): Use correct
+       function name in warning messages.
+
+       Merge from gtk-2-0:
+
+       * gdk/win32/gdkdrawable-win32.c
+       * gdk/win32/gdkevents-win32.c: Some spacing and indentation cleanup.
+       
+       * gdk/win32/gdkdrawable-win32.c (render_line_horizontal,
+       render_line_vertical): Return TRUE.
+       
+       * gdk/win32/gdkevents-win32.c (_gdk_events_init): Search if the
+       system has some input locale identifier that uses a Latin
+       keyboard. This is needed to be able to get the virtual-key code
+       for the latin characters corresponding to ASCII control
+       characters. If no such keyboard is present, try to load one
+       then. Will this upset users with no wish to ever use a Latin-based
+       keyboard layout?
+
+       (vk_from_char): Convert all ASCII control chars to the
+       corresponding uppercase char before calling VkKeyScanEx(). Idea by
+       Florent Duguet. Makes Control-C work again. To make it hopefully
+       work like I think it should on non-Latin keyboards, too, use
+       latin_locale when looking for the corresponding keycode.
+
+       * gdk/win32/gdkgeometry-win32.c: Add GDK_NOTE debugging output
+       to some functions, related to moving and resizing and expose
+       and antiexpose queue processing. Use %p to output HWNDs.
+
+       * gdk/win32/gdkkeys-win32.c (print_keysym_tab): Factor out
+       debugging output to new function.
+
+       Fix for #81831 by Tim Evans:
+       
+       * gdk/win32/gdkevents-win32.c (gdk_event_translate): Don't call
+       _gdk_event_button_generate() here, it would append the double- or
+       triple-click events too early, before the single-click event.
+
+       (real_window_procedure): If we got a single-click event, call
+       _gdk_event_button_generate() to perhaps append the double- or
+       triple-click event after that.
+
+       Tentative fix for #79720 based on code by Florent Duguet:
+               
+       * gdk/win32/gdkgeometry-win32 (gdk_window_queue_append): New
+       static function. Checks length of translate_queue, calls
+       _gdk_window_process_expose() if length is >= 128. Then appends
+       to translate_queue.
+       (gdk_window_queue_translation,_gdk_windowing_window_queue_antiexpose):
+       Call gdk_window_queue_append().
+
+       Merge from gtk-1-3-win32-production and gtk-2-0:
+
+       * gdk/win32/gdkevents-win32.c (propagate): Check for parent being
+       NULL before trying to propagate to it, and return FALSE in that
+       case. (If parent is NULL, we are handling gdk_parent_root, and
+       probably should have noticed that and bailed out earlier. But
+       better late than never.)
+
+       * gdk/win32/gdkinput-win32.c (gdk_input_init): Use
+       GetSystemMetrics (SM_C[XY]SCREEN) instead of
+       gdk_screen_{width,height}().
+
+       * gdk/win32/gdkselection-win32.c (gdk_selection_convert): Don't
+       use return value from GlobalSize() as length of string when
+       calling MultiByteToWideChar(). Pass -1 instead (zero-terminated
+       string). Thanks to Iwasa Kazmi.
+
+Wed Sep 11 15:48:38 2002  Jonathan Blandford  <jrb@redhat.com>
+
+       * gtk/gtktreemodel.c (gtk_tree_row_reference_get_type): Make
+       GtkTreeRowReference a boxed type.
+
+       * gtk/gtkliststore.c (gtk_list_store_finalize): free the root
+       list.
+
+       * gtk/gtktreestore.c (gtk_tree_store_finalize): free the root
+       nodes.
+
+Wed Sep 11 12:33:34 2002  Soeren Sandmann  <sandmann@daimi.au.dk>
+
+       * gtk/gtkstyle.c: Draw radio buttons more symmetric. Draw shadow
+       out bevels slightly different. Fix drawing of top right corner of
+       etched in shadows.
+
+Tue Sep 10 09:47:52 2002  HideToshi Tajima  <hidetoshi.tajima@sun.com>
+
+       * modules/input/gtkimcontextxim.c
+       (get_im): modify a warning when XSetLocaleModifiers() fails, and
+       add a warning when XOpenIM() fails
+       (gtk_im_context_xim_filter_keypress): use XLookupString when xic
+       is not available. (#90661)
+       (gtk_im_context_xim_get_ic, gtk_im_with_preedit,
+       gtk_im_without_preeedit): filter key release events only when
+       input methods ask for (#81759)
+
+Tue Sep 10 11:11:09 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * gdk/linux-fb/*: Patch from Eric Warmonhoven to
+       get linux-fb compiling with multihead changes.
+
+Tue Sep 10 09:29:00 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * gdk/x11/gdkevents-x11.c (gdk_event_translate): Take
+       focus mode into account when tracking FocusIn/Out events,
+       so we don't get confused by focus changes while a 
+       keyboard grab is in effect. (Probably fixes #90563)
+
+Mon Sep  9 16:16:25 2002  Shivram U  <shivaram.upadhyayula@wipro.com>
+
+       * gtk/gtktextview.c (gtk_text_view_drag_motion): If the end iter
+       is also a part of the selection, then we are in the selection.
+       (#92768)
+
+2002-09-08  Tor Lillqvist  <tml@iki.fi>
+
+       * configure.in: Add AM_CONDITIONAL calls also in the non-x11
+       branch. Otherwise we get "conditional \"$1\" was never defined.
+       Usually this means the macro was only invoked conditionally."
+       errors when running configure if using automake 1.6a. Yeah, I know
+       that autogen.sh says to use automake 1.4, but on Win32 I more or
+       less have to use the bleeding edge. I think.
+
+Sat Sep  7 21:24:55 2002  Soeren Sandmann  <sandmann@daimi.au.dk>
+
+       * gtk/gtktoolbar.c (get_button_relief): call
+       gtk_widget_ensure_style() before reading "button_relief". Fixes
+       (#92741).
+
+2002-09-06  Matthias Clasen  <maclas@gmx.de>
+
+       * configure.in: Add ani to all_loaders.
+
+Fri Sep  6 15:59:54 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * gdk/gdkdisplay.h: Remove unused prototype for 
+       gdk_set_default_display 
+       (=> gdk_display_manager_set_default_display)
+       (#90616, Matthias Clasen)
+
+Fri Sep  6 15:35:01 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * gdk/gdkgc.c (gdk_gc_new_with_values): Only set
+       gc->colormap if it isn't already set. (Alex Larsson,
+       #90632)
+
 Fri Sep  6 12:41:16 2002  Owen Taylor  <otaylor@redhat.com>
 
        * modules/input/gtkimcontextxim.c: Pass the actual input
@@ -58,11 +268,12 @@ Fri Sep  6 12:41:16 2002  Owen Taylor  <otaylor@redhat.com>
        is implemented (in GLib) only on native Win32. (#91683, Masahiro
        Sakai)
 
-       * Include <sys/cygwin.h on Cygwin, for cygwin_conv_to_posix_path().
+       * gtk/gtkfilesel.c: Include <sys/cygwin.h on Cygwin, for
+       cygwin_conv_to_posix_path().
        (translate_win32_path, get_real_filename): Use
        cygwin_conv_to_posix_path().
        (gtk_file_selection_dir_activate): Call get_real_filename() here,
-       too. (#91843, Masahiro Sakai) 
+       too. (#91843, Masahiro Sakai)
 
 2002-08-26  Tor Lillqvist  <tml@iki.fi>