]> Pileus Git - ~andy/gtk/blobdiff - ChangeLog.pre-2-6
Fix problem where widget->requisition was being used instead of
[~andy/gtk] / ChangeLog.pre-2-6
index 323e8a91b8d487d08ecea78443e85616e9957d9e..baae1d9764ed80db9b106c655335654b89638819 100644 (file)
@@ -1,3 +1,196 @@
+Sun Jan 13 23:23:22 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkwindow.c (gtk_window_compute_hints): Fix problem where
+       widget->requisition was being used instead of
+       gtk_widget_get_child_requisition (), causing geometry widgets
+       with usizes to misbehave.
+
+2002-01-14  Sven Neumann  <sven@gimp.org>
+
+       * gtk/gtkrc.c: g_getenv() returns a const string.
+
+2002-01-14  Hasbullah Bin Pit  <sebol@ikhlas.com>
+
+        * configure.in: Added ms at ALL_LINGUAS.
+       * po/ms.po: Added Malay Translation.
+
+2002-01-14  Matthias Clasen  <matthiasc@poet.de>
+
+       * gtk/gtkitemfactory.c: Documentation.
+
+2002-01-13  Sven Neumann  <sven@gimp.org>
+
+       * gdk/gdkwindow.c: documentation cleanups.
+
+Sun Jan 13 01:15:45 2002  Kristian Rietveld  <kris@gtk.org>
+
+       * gtk/gtktreemodelsort.c: various cleanups,
+       (get_child_iter_from_elt): removed,
+       (gtk_tree_model_sort_elt_get_path): rewritten to be a lot cleaner
+       and especially faster,
+       (gtk_tree_model_convert_iter_to_child_iter): use
+       gtk_tree_model_sort_elt_get_path
+
+Sat Jan 12 16:57:31 2002  Kristian Rietveld  <kris@gtk.org>
+
+       * gtk/gtktreeview.c (gtk_tree_view_real_start_interactive_search):
+       revert Owen's change (using a strdupped string as object data), so
+       the interactive search works again
+
+2002-01-11  Havoc Pennington  <hp@pobox.com>
+
+       * gtk/gtklabel.c: put in more links to Pango markup format docs
+       (gtk_label_set_justify): mention gtk_misc_set_alignment
+
+2002-01-12  Tor Lillqvist  <tml@iki.fi>
+
+       Fixes contributed by Archaeopteryx Software: This is a first small
+       part of their changes. Will commit more later.
+       
+       * gdk/win32/*.c: Add some more checks for failed GDI calls. If a
+       call fails, don't use bogus values.
+
+        gdk/win32/gdkcursor-win32.c (_gdk_win32_data_to_wcursor): Plug
+       memory leak: g_free() the AND and XOR bitmaps after use.
+       (_gdk_cursor_destroy): If we are destroying the current Windows
+       cursor, set the Windows cursor to none first.
+
+       * gdk/win32/gdkgc-win32.c (predraw_set_foreground): Delete the old
+       brush that was in the DC, like the win32-procution branch does. I
+       guess this plugs a resource leak? With the HDC cache, the old
+       brush might be something we created ourselves, and not a stock
+       brush. And it doesn't do any harm to call DeleteObject on stock
+       brushes.
+
+       * gdk/win32/gdkwindow-win32.c (gdk_window_impl_win32_finalize): If
+       the window has a cursor which is the current Windows cursor,
+       before destroying it set the current Windows cursor to none.
+       (gdk_window_set_cursor): Also here, if destroying the current
+       Windows cursor, set the current Windows cursor to none first.
+       (gdk_window_get_pointer): Revamp logic.
+       
+2002-01-10  jacob berkman  <jacob@ximian.com>
+
+       * gtk/gtkwidget.c (gtk_widget_add_events): actually iterate
+       through the list rather than infinitely loop
+
+2002-01-08  Matthias Clasen  <matthiasc@poet.de>
+
+       * gtk/gtkwidget.c (gtk_widget_set_style_recurse): Rename to
+       reset_rc_styles_recurse(). (#68084)
+
+2002-01-10            Vitaly Tishkov       <tvv@sparc.spb.su>
+        * gtk/gtkimage.c
+       * gtk/gtkimcontext.c
+       * gtk/gtktreemodel.c
+       * gtk/gtktreemodelsort.c
+       * gtk/gtkwindow.c
+       fix docs        
+
+Wed Jan  9 20:56:42 2002  Jonathan Blandford  <jrb@redhat.com>
+
+       * gdk/x11/gdkkeys-x11.c (get_xkb): get the types as well as the
+       symbols because we need them in MyEnhancedXkbTranslateKeyCode.
+
+2002-01-10  Tor Lillqvist  <tml@iki.fi>
+
+       Apply the same fixes and improvements as to the
+       gtk-1-3-win32-production branch: Bug fixes and cleanup of
+       selection and DND functionality. Still doesn't work as well as the
+       win32-production branch, though, but getting closer.
+
+       After this, need to add Archaeopteryx Software's OLE2 DND support.
+
+       * gdk/win32/gdkselection-win32.c (gdk_selection_owner_set,
+       gdk_selection_send_notify, generate_selection_notify): Don't use
+       SendMessage() to generate events for the same app, instead use
+       gdk_event_put().
+
+       * gdk/win32/gdkprivate-win32.h
+       * gdk/win32/gdkglobals-win32.c
+       * gdk/win32/gdkmain-win32.c
+       * gdk/win32/gdkevents-win32.c: Thus, remove declaration, definition,
+       initialisation and handling of gdk_selection_notify_msg,
+       gdk_selection_request_msg and gdk_selection_clear_msg. 
+
+       * gdk/win32/gdkselection-win32.c (gdk_text_property_to_text_list,
+       gdk_free_text_list, gdk_string_to_compound_text,
+       gdk_free_compound_text): Implement trivially, witrh a text_list
+       always having a single element, and a compound text always
+       consisting of just a single (UTF-8!) string. Let's see how well
+       this works.
+
+       * gdk/win32/gdkselection-win32.c (gdk_selection_convert): Fix
+       non-ASCII paste from the clipboard: Try getting the same formats
+       from the Windows clipboard that gdk_property_change() puts there:
+       CF_UNICODETEXT, UTF8_STRING or CF_TEXT+CF_LOCALE.
+
+       * gdk/win32/gdkproperty-win32.c (gdk_property_change): When
+       storing text on the clipboard, handle non-ASCII text
+       correctly. The logic is as follows:
+
+       If we have only ASCII characters, use CF_TEXT.
+
+       Else, if we are on NT, use CF_UNICODETEXT.
+
+       Else (we are on Win9x), if all the characters are present in the
+       code page of some installed locale, use CF_TEXT and also set
+       CF_LOCALE to that locale.
+
+       Else (still on Win9x) store as RTF. We use a very simple RTF
+       string, just the text, no fonts or other crap, with the non-ASCII
+       characters as Unicode \uN keywords. Additionally, also store the
+       UTF-8 string as such, under the format "UTF8_STRING", so that GDK
+       can also paste from the Clipboard what it has copied there. (Thus
+       no need to implement any RTF parser.)
+       
+       (find_common_locale): New function, implements the search for a
+       locale for case 3 above.
+
+       * gdk/win32/gdkglobals-win32.c: New global variables
+       compound_text, text_uri_list, utf8_string, cf_rtf and
+       cf_utf8_string.
+
+       * gdk/win32/gdkim-win32.c (_gdk_ucs2_to_utf8): New function,
+       converts from a wchar_t string to UTF-8.
+       (_gdk_utf8_to_ucs2): Rename from _gdk_win32_nmbstowchar_ts.
+       (_gdk_utf8_to_wcs): Rename from gdk_nmbstowchar_ts.
+
+       * gdk/win32/gdkevents-win32.c (build_keypress_event): Use
+       _gdk_ucs2_to_utf8().
+
+       * gdk/win32/gdkselection-win32.c: Remove some unnecessary logging.
+
+       * gdk/win32/gdkdnd-win32.c: Plug memory leaks, the
+       gdk_drag_context_ref() was called unnecessarily in a couple of
+       places, meaning drag contexts were never freed. The same memory
+       leaks seem to be present in gdk/linux-fb/gdkselection-fb.c, BTW.
+
+       (gdk_drop_reply): For WIN32_DROPFILES drops, free the temporarily
+       stored file list.
+
+       * gdk/win32/gdkselection-win32.c: Clarify the use of the
+       sel_prop_table. Now it is used only for storing the GDK_SELECTION
+       "properties".
+
+       The file names dropped with WM_DROPFILES -style DND is stored
+       temporarily (between the drop and the target picking them up) in a
+       separate place.
+
+       Have a separate hash table to map selection atoms to owner
+       windows. This used to be quite mixed up.
+
+       (_gdk_dropfiles_store): New function, to store the dropped file
+       list for the drop target to possibly fetch, and clear it
+       afterwards, from gdk_drop_reply().
+
+       (gdk_selection_owner_get): Much simplified now.
+
+2002-01-09  jacob berkman  <jacob@ximian.com>
+
+       * gtk/gtklayout.c (gtk_layout_style_set): set the background of
+       our bin window also (fixes #58957)
+
 Wed Jan  9 19:10:07 2002  Jonathan Blandford  <jrb@redhat.com>
 
        * gtk/gtktreeselection.c
@@ -16180,6 +16373,7 @@ Thu Nov  9 11:23:22 2000  Jonathan Blandford  <jrb@redhat.com>
        
 
 2000-11-02  Havoc Pennington  <hp@redhat.com>
+<<<<<<< ChangeLog
 
        * gtk/gtkfilesel.h, gtk/gtkfilesel.c: Derive from GtkDialog, and
        use stock buttons. Should be 100% source compatible, appropriate
@@ -16965,7 +17159,10 @@ Mon Oct 23 12:07:57 2000  Owen Taylor  <otaylor@redhat.com>
        (gtk_dialog_run): block waiting for the dialog, return 
        the response. Override normal delete_event behavior, so that 
        delete_event does nothing inside gtk_dialog_run().
+=======
+>>>>>>> 1.2802
 
+<<<<<<< ChangeLog
        * gtk/gtkdialog.h, gtk/gtkdialog.c: Add "response" signal
        emitted when an action widget is clicked or the dialog gets
        delete_event
@@ -24786,3 +24983,6 @@ Sat Feb 27 01:18:47 1999  Tim Janik  <timj@gtk.org>
        new one.
        
        * configure.in: set gtk+ version to 1.3.0.
+=======
+       * gtk/gtkfilesel.h, gtk/gtkfilesel.c: Derive from GtkDialog,
+>>>>>>> 1.2802