]> Pileus Git - ~andy/gtk/blobdiff - ChangeLog
Include <config.h>. (#317444, Kazuki Iwamoto)
[~andy/gtk] / ChangeLog
index 6186993907ebb5d9227697f0e2b22455b5d46d47..efdaa2233a07d97f04c384827a20a29ed2f388c1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,309 @@
+2005-09-28  Tor Lillqvist  <tml@novell.com>
+
+       * modules/input/imime.c: Include <config.h>. (#317444, Kazuki
+       Iwamoto)
+
+2005-09-27  Federico Mena Quintero  <federico@ximian.com>
+
+       Don't reload the current folder unnecessarily on ::map().
+
+       * gtk/gtkfilechooserprivate.h (ReloadState): New enum to represent
+       the reloading state.
+       (struct _GtkFileChooserDefault): Added a "reload_state" field.
+
+       * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_init):
+       Initialize impl->reload_state.
+       (gtk_file_chooser_default_map): Check the impl->reload_state; load
+       a default folder if no folder has been set, or reload the current
+       one only if we had been unmapped first.
+       (gtk_file_chooser_default_update_current_folder): Set the
+       reload_state to RELOAD_HAS_FOLDER.
+       (gtk_file_chooser_default_unmap): Implement, and set the
+       reload_state to RELOAD_WAS_UNMAPPED.
+       (shortcuts_model_create): Don't call shortcuts_add_bookmarks()
+       here; they'll get (re)loaded on ::map() anyway.
+
+       * gtk/gtkfilechooserwidget.c
+       (gtk_file_chooser_widget_constructor): Don't set a default folder here.
+
+       * tests/autotestfilechooser.c (test_action_widgets): Don't take in
+       a dialog; build it ourselves.
+       (test_reload): New test to ensure that we don't load the default
+       folder more than once, and that we reload it when
+       unmapping/remapping.
+       (get_impl_from_dialog): New utility function.
+       (test_widgets_for_current_action): Use get_impl_from_dialog().
+
+2005-09-27  Federico Mena Quintero  <federico@ximian.com>
+
+       * gtk/gtkfilechooserdefault.c
+       (gtk_file_chooser_default_constructor): Mark the entry/exit of
+       this function for profiling.
+       (check_icon_theme): Likewise.
+       (change_icon_theme): Likewise.
+       (settings_notify_cb): Likewise.
+       (gtk_file_chooser_default_screen_changed): Likewise.
+       (update_chooser_entry): If the selection is empty, clear the file
+       name entry only if we are in CREATE_FOLDER mode.  In SAVE mode,
+       nothing will be selected when the user starts typeahead in the
+       treeview, and we don't want to clear the file name entry in that
+       case --- the user could be typing-ahead to look for a folder name.
+       Fixes bug #308332, patch by Jürg Billeter.
+
+2005-09-27  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup):
+       Pop below the entry if there's more free space below the entry
+       than above.  (#316948, Tommi Komulainen)
+
+2005-09-26  Federico Mena Quintero  <federico@ximian.com>
+
+       Do not create the save mode-specific widgets in the open modes, so
+       that we don't carry their baggage around.
+
+       * gtk/gtkfilechooserdefault.c
+       (gtk_file_chooser_default_constructor): Don't create the
+       save_widgets here.
+       (save_widgets_create): Set the impl->save_widgets directly here,
+       instead of passing the widgets back to the caller.  Also, pack
+       them into the impl's box.
+       (update_appearance): Create or destroy the save widgets as
+       appropriate.  Set the action of the save_file_name_entry here.
+       (shortcuts_add_current_folder): Set the active item in the
+       save_folder_combo only if it exists.
+       (gtk_file_chooser_default_set_property): Don't set the action of
+       the save_file_name_entry here.
+       (gtk_file_chooser_default_update_current_folder): Set the base
+       folder of the save_file_name_entry only if the entry exists.
+       (shortcuts_drag_data_received_cb): Cast the selection_data->data
+       to (const char *) since that's what shortcuts_drop_uris() expects.
+       (file_list_drag_data_received_cb): Likewise, for
+       g_uri_list_extract_uris().
+
+2005-09-26  Tor Lillqvist  <tml@novell.com>
+
+       * gdk/win32/gdkwindow-win32.c (gdk_window_shape_combine_mask): Set
+       the shaped flag here, too. (#316871)
+       (gdk_window_shape_combine_region): Currently unimplemented, so
+       don't do anything to the shaped flag here.
+
+2005-09-26  Matthias Clasen  <mclasen@redhat.com>
+
+       Fix #316871, reported by Dan Winship:
+       
+       * gdk/gdkwindow.h (struct _GdkWindowObject): Add a shaped flag.
+
+       * gdk/x11/gdkwindow-x11.c (gdk_window_shape_combine_mask) 
+       (gdk_window_shape_combine_region): Set it here.
+
+       * gdk/gdkwindow.c (gdk_window_invalidate_maybe_recurse): Don't
+       remove the child area for shaped windows.
+
+2005-09-23  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_finalize):
+       Don't leak expander pixbufs.  (#316946, Tommi Komulainen)
+
+2005-09-22  Michael Natterer  <mitch@imendio.com>
+
+       Renamed GtkCellRendererKeys to GtkCellRendererAccel to be
+       consistent with GTK+ terminology:
+
+       * gtk/gtkcellrendererkeys.[ch]
+       * tests/testkeys.c: removed...
+
+       * gtk/gtkcellrendereraccel.[ch]
+       * tests/testaccel.c: ...and added.
+
+       * gtk/Makefile.am
+       * gtk/gtk.h
+       * gtk/gtk.symbols
+       * tests/Makefile.am: changed accordingly.
+
+2005-09-22  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkwidget.c (gtk_widget_class_init): Fix the documentation
+       for the grab-broken-event signal, noticed by Damon Chaplin.
+
+2005-09-21  Tor Lillqvist  <tml@novell.com>
+
+       * gdk/win32/gdkselection-win32.c (gdk_selection_convert,
+       gdk_text_property_to_text_list_for_display,
+       gdk_text_property_to_utf8_list_for_display,
+       gdk_win32_selection_add_targets,
+       _gdk_win32_selection_convert_to_dib): Free return value from
+       gdk_atom_name().
+       (gdk_text_property_to_text_list_for_display): Drop GError variable
+       that isn't actually used after being set.
+
+2005-09-20  Johan Dahlin  <jdahlin@async.com.br>
+
+       * gtk/gtkentry.c (gtk_entry_set_completion): Mention NULL in 
+       documentation.
+
+2005-09-20  Tor Lillqvist  <tml@novell.com>
+
+       * gdk/win32/gdkselection-win32.c
+       (gdk_selection_owner_get_for_display): Do return the correct owner
+       for CLIPBOARD (i.e., the owner of the Windows Clipboard, if it is
+       a window GDK knows about). The reason to return NULL seems to have
+       gone when in the fix for bug #163702 the artificial
+       GDK_SELECTION_CLEAR event generation was removed from
+       gdk_selection_send_notify_for_display(). Fixes bug #316552.
+
+2005-09-20  Matthias Clasen  <mclasen@redhat.com>
+
+       Avoid unnecessary XkbGetState() calls and XkbStateNotify
+       events.  (#151555, Søren Sandmann)
+
+       * gdk/x11/gdkdisplay-x11.c (gdk_display_open): Use 
+       XkbSelectEventDetails() to select XkbStateNotify events
+       for only the state we care about.
+
+       * gdk/x11/gdkprivate-x11.h:
+       * gdk/x11/gdkkeys-x11.c (_gdk_keymap_state_changed): Pass
+       the event into the function and update the keymap state from
+       the state information contained in the event. Adjust all callers.
+       
+2005-09-19  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkiconview.c: Use g_list_nth_data() instead of g_list_nth()->data
+       in multiple places to avoid segfaults if the index is out of range.  
+       (#316422, Guillaume Cottenceau)
+       (gtk_icon_view_set_drag_dest_item): 
+       (gtk_icon_view_scroll_to_path): Fix a typo in the docs.  (#316419,
+       #316424, Guillaume Cottenceau)
+
+2005-09-18  Hans Breuer  <hans@breuer.org>
+
+       * gtk/gtktrayicon-win32.c : now handling events by hard-coded 
+       g_signal_emit_by_name() - will break when gtkstatusicon.c changes.
+
+2005-09-18  Hans Breuer  <hans@breuer.org>
+
+       * gdk/gdk.symbols gdk/win32/gdkwin32.h gdk/win32/gdkcursorwin32.c : export
+       _gdk_win32_pixbuf_to_hicon() as gdk_win32_pixbuf_to_hicon_libgtk_only()
+       * gtk/gtktrayicon-win32.c : a lot of debug spew but it has started to show
+       the icon and is blinking with teststatusicon. More to come ...
+
+2005-09-18  Hans Breuer  <hans@breuer.org>
+
+       * gtk/makefile.msc.in : fix typo for GTK_VER; define HAVE_CONFIG_H
+       cause gtkprogressbar.c has #include <config.h> conditionally; less
+       noise from generated gtk.def
+       * gtk/stock-icons/makefile.msc gdk/makefile.msc tests/makefile.msc : updated
+       
+       * gtk/gtktrayicon-win32.c : dummy implmentation to make gtk compile.
+       For me it works as well as the *NIX implemenation, that is not at all.
+
+       * gdk/win32/gdkproperty-win32.c : implement gdk_atom_intern_static_string()
+
+       * gdk/win32/gdkwindow-win32.c(gdk_window_set_urgency_hint) : only use
+       only use (WINVER >= 0x0500) when available from the SDK. Otherwise fall
+       back to true dynamic linking of FlashWindowEx. Makes gtk+ work on NT4.0
+       again - if compiled properly.
+
+       * tests/teststatusicon.c : don't use GNOME icons for testing, but icons
+       already coming with Gtk+. Makes it compile on win32.
+
+2005-09-18  Guilherme de S. Pastore  <gpastore@cvs.gnome.org>
+
+       * README.cvs-commits: fixed some tiny typos
+
+2005-09-16  Tor Lillqvist  <tml@novell.com>
+
+       * modules/engines/ms-windows/msw_style.c (draw_extension,
+       draw_box_gap): Check whether the widget actually is a GtkNotebook
+       before treating it as such. Drop some unneeded local variables,
+       use parameter with same information instead. (#316412)
+
+2005-09-15  Federico Mena Quintero  <federico@ximian.com>
+
+       * tests/autotestfilechooser.c: Start a set of automated tests for
+       the file chooser.  The only test in there right now doesn't pass
+       yet.  It specifies the intended behavior of the first optimization
+       of a series which I'll do on the file chooser (see
+       http://primates.ximian.com/~federico/news-2005-09.html#14 for the
+       details of this optimization).
+
+       * tests/Makefile.am: Added autotestfilechooser.c.
+
+       * gtk/gtkfilechooserprivate.h (struct
+       _GtkFileChooserDialogPrivate): Move all the file chooser's private
+       structures to here, so that they can be accessed by
+       tests/autotestfilechooser.c:  _GtkFileChooserDialogPrivate,
+       _GtkFileChooserWidgetPrivate, LoadState, _GtkFileChooserDefault.
+
+       * gtk/gtkfilechooserdialog.c: See above.
+
+       * gtk/gtkfilechooserwidget.c: See above.
+
+       * gtk/gtkfilechooserdefault.c: See above.
+
+Thu Sep 15 15:27:55 2005  Tim Janik  <timj@imendio.com>
+
+       * gtk/gtkwindow.c: 
+       gtk_window_map_event(): new function to work around lost unmap requests.
+       fixes bug #316180.
+
+2005-09-14  Federico Mena Quintero  <federico@ximian.com>
+
+       * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_init): Add
+       an easy-to-find profiling marker when starting to create a file
+       chooser.
+       (browse_files_model_finished_loading_cb): Likewise, for when the
+       chooser is finished loading.
+
+2005-09-14  Tristan Van Berkom <tvb@cvs.gnome.org>
+
+       * gtk/gtkcolorbutton.c: Check "color" argument in gtk_color_button_set_color ()
+
+2005-09-14  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtklabel.c (gtk_label_get_type): 
+       * gtk/gtkbutton.c (gtk_button_get_type): 
+       * gtk/gtkwindow.c (gtk_window_group_get_type): No point in 
+       using a mem chunk for window groups, buttons, labels.
+
+       * gtk/updateiconcache.c (foreach_remove_func): Fix
+       a use-after-free bug.  (#316256, Alexander Nedotsukov)
+
+2005-09-13  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/*.c: Various cleanups.  (#315360, Kjartan Maraas)
+
+       * gdk/*.c: Various cleanups.  (#315359, Kjartan Maraas)
+       
+2005-09-13  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkimcontextsimple.c (gtk_im_context_simple_filter_keypress): 
+       Let GDK_Return pass through in some more cases.
+
+       * gtk/gtkentry.c (gtk_entry_key_press): Reset the im context before
+       activating the entry. 
+
+       * gtk/gtkiconview.c (gtk_icon_view_class_init):
+       (gtk_icon_view_get_dest_item_at_pos):  Fix typos in the 
+       docs.  (#316008, #316027, #316121, Guillaume Cottenceau)
+
+       * gtk/gtkfilechooser.c (gtk_file_chooser_class_init): Add some docs.
+       (#316001, Guillaume Cottenceau)
+
+       * gtk/gtkdnd.c (gtk_drag_set_icon_name): Fix a copy-and-paste
+       mistake in the docs.  (#315993, Guillaume Cottenceau)
+
+       * tests/testentrycompletion.c (create_simple_completion_model): Add
+       some strings containing multibyte characters.
+
+       * gtk/gtkentrycompletion.c (gtk_entry_completion_real_insert_prefix): 
+       Fix prefix insertion for multibyte characters.  (#316095,
+       Tommi Komulainen)
+
+       * gtk/gtktreeview.c (gtk_tree_view_create_row_drag_icon): 
+       * gtk/gtkiconview.c (gtk_icon_view_create_drag_icon): Silently
+       return NULL if the widget is not realized.  (#316023,
+       Guillaume Cottenceau)
+
 2005-09-11  Matthias Clasen  <mclasen@redhat.com>
 
        * gdk/gdk.symbols: 
        New function to avoid pointless strdups when creating atoms
        from static strings.  
 
-       * gdk/x11/gdkdisplay-x11.c:
-       * gdk/x11/gdkdnd-x11.c:
-       * gdk/x11/gdkevents-x11.c:
-       * gdk/x11/gdkmain-x11.c:
-       * gdk/x11/gdkproperty-x11.c:
-       * gdk/x11/gdkselection-x11.c:
-       * gdk/x11/gdkwindow-x11.c: Use gdk_atom_intern_static_string()
-       where appropriate.
+       * gdk/x11/*.c:
+       * gtk/*.c:  Use gdk_atom_intern_static_string() where 
+       appropriate.
 
 2005-09-09  Matthias Clasen  <mclasen@redhat.com>