]> Pileus Git - ~andy/gtk/blobdiff - ChangeLog.pre-2-10
Avoid triggering an X error when the client->manager_window is
[~andy/gtk] / ChangeLog.pre-2-10
index 9b4b62cc43146e23fd6a6680943d2156a8286bb4..eb909cdff9b6d90c0b03834878703dea2ac842af 100644 (file)
@@ -1,7 +1,477 @@
+Tue Feb 10 12:02:14 2004  Owen Taylor  <otaylor@redhat.com>
+
+       * gdk/x11/xsettings-client.c (read_settings): Avoid
+       triggering an X error when the client->manager_window
+       is None...makes logs look cleaner.
+
+       * gdk/x11/gdkproperty-x11.c (gdk_property_get): Handle
+       GDK_NONE to mean AnyPropertyType as documented. (Reported 
+       by Yu Shao)
+
+       * gdk/x11/gdkevents-x11.c (fetch_net_wm_check_window,
+       gdk_x11_screen_get_window_manager_name): Fix error trap
+       we've been leaking since 2002... (#129538)
+
+2004-02-10  Federico Mena Quintero  <federico@ximian.com>
+
+       Fixes the entry-related part of #133852.
+
+       * gtk/gtkfilechooserdefault.c (update_chooser_entry): Don't change
+       the file part of the entry if the selected item is a folder.
+
+2004-02-10  Federico Mena Quintero  <federico@ximian.com>
+
+       Fixes #133995, patch by Morten Welinder <mortenw@gnome.org>.
+
+       * tests/prop-editor.c (create_prop_editor): Free the title.
+       (object_changed): Free the children list.
+
+Tue Feb 10 01:58:55 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtkcontainer.c (gtk_container_set_focus_hadjustment): 
+       * gtk/gtkcontainer.c (gtk_container_set_focus_vadjustment): Document 
+       these functions.
+
+2004-02-09  Federico Mena Quintero  <federico@ximian.com>
+
+       * gtk/gtkfilechooserdefault.c (set_list_model): Request
+       GTK_FILE_INFO_ALL from the file system model, so that arbitrary
+       filtering will work.  Perhaps we should have a way of aggregating
+       info types to the model as filters get installed.
+
+Mon Feb  9 22:22:19 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtkcellview.c (gtk_cell_view_cell_layout_clear_attributes): 
+       Ugh. Don't try to free ints, even if they're stored in pointers.
+
+2004-02-09  Federico Mena Quintero  <federico@ximian.com>
+
+       Fix #132256.
+
+       * gtk/gtkfilechooserdefault.c
+       (gtk_file_chooser_default_get_paths): Read the contents of the
+       filename entry in both OPEN and SAVE mode.  In multiple-selection
+       mode, add this to the selection from the file/folder list.
+       (struct get_paths_closure): Add a path_from_entry field.
+       (get_paths_foreach): Only add the iterated path if it is not the
+       same as the path from the entry.
+
+2004-02-09  Federico Mena Quintero  <federico@ximian.com>
+
+       * gtk/gtkfilesystemunix.c (gtk_file_system_unix_get_folder): If
+       the folder is already open, add the requested info types to it.
+
+Sun Feb  8 01:28:02 2004  Manish Singh  <yosh@gimp.org>
+
+       * gtk/gtkcombobox.c (gtk_combo_box_set_popup_widget): Add appropriate
+       type casts for the gtk_window_set_screen() call.
+
+Sun Feb  8 01:44:06 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtkcombobox.c (gtk_combo_box_set_popup_widget): Make popups 
+       come up on the same screen as the combo box.  (#133544, 
+       Morten Welinder)
+
+Fri Feb  6 23:40:24 2004  Jonathan Blandford  <jrb@gnome.org>
+
+       * gtk/gtkfilechooserdefault.c (create_file_list): clean up the
+       packing of the file selector.
+
+Sat Feb  7 01:21:09 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtktreemodel.c (gtk_tree_model_base_init): Don't use function 
+       calls in array initializers, as some compilers seem to hate this.
+       (#133216, Jonas Jonsson)
+
+Sat Feb  7 00:06:44 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtkaccelmap.[hc]: Add change notification for GtkAccelMap,
+       by on-demand instantiating a singleton object with a "changed" 
+       signal. 
+
+       * gtk/gtkmarshalers.list (VOID:STRING,UINT,FLAGS): Add marshaller
+       for GtkAccelMap::changed.
+
+Fri Feb  6 23:08:29 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtktextbtree.c (_gtk_text_btree_check): 
+       * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_clear_attributes): 
+       * gtk/gtkcellview.c (gtk_cell_view_cell_layout_clear_attributes): 
+       Actually free the lists. Pointed out by Morten Welinder.
+       
+Fri Feb  6 22:38:54 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtkcombo.c (gtk_combo_entry_key_press): Handle character 
+       positions in UTF-8 strings correctly.  (#133315, Theppitak 
+       Karoonboonyanan)
+
+2004-02-06  Morten Welinder  <terra@gnome.org>
+
+       * gtk/gtktoolbar.c (show_menu): Cleanup using
+       gtk_menu_attach_to_widget.  Also fixes leak, see #133411.
+
+2004-02-06  Federico Mena Quintero  <federico@ximian.com>
+
+       * gtk/gtkfilechooserdefault.c (shortcuts_add_volumes): Free the
+       list.  Fixes #133546.
+
+2004-02-06  Federico Mena Quintero  <federico@ximian.com>
+
+       Fix #132327.
+
+       * gtk/gtkfilesystemunix.c (struct _GtkFileSystemUnix): Add a
+       folder_hash field to keep a list of live folder objects.
+       (gtk_file_system_unix_init): Create the folder_hash.
+       (gtk_file_system_unix_finalize): Destroy the folder_hash.
+       (gtk_file_system_unix_get_folder): Ref and return an existing
+       folder if we have it around, otherwise return a new folder object.
+       (struct _GtkFileFolderUnix): Add a field for the parent file system.
+       (gtk_file_folder_unix_finalize): Remove the folder from the file
+       system's hash table.
+       (gtk_file_system_unix_create_folder):  Emit "files-added" on the
+       newly-created folder's parent.  Fixes #132327.
+
+Fri Feb  6 00:51:57 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtkstock.c (builtin_items): Change the labels of the 
+       ZOOM_100 and ZOOM_FIT stock items to "_Normal Size" and
+       "Best _Fit", to be HIG compliant.  (#124080, Mariano 
+       Suárez-Alvarez)
+
+Fri Feb  6 00:45:16 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtkcombobox.c (gtk_combo_box_finalize): Add a finalize 
+       function to plug a few memory leaks.  (#133544, Morten Welinder)
+
+Fri Feb  6 00:15:38 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtkcomboboxentry.c (gtk_combo_box_entry_mnemonic_activate): 
+       Support mnemonic_activate here as well.
+       
+       * gtk/gtkcombobox.c (gtk_combo_box_mnemonic_activate): Focus
+       the button, not the tree_view.
+
+Thu Feb  5 23:48:19 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtkcombobox.c (gtk_combo_box_mnemonic_activate): Add this
+       function, to make mnemonic_activate work for combo boxes.
+       (#133443, Paolo Borelli)
+
+Thu Feb  5 22:05:52 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtkfilesystemunix.c (bookmark_list_read): Initialize result
+       to FALSE.  (#133539, Morten Welinder)
+
+Thu Feb  5 21:36:43 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtkcombobox.c (gtk_combo_box_set_active_iter): Fix the logic
+       of the depth one check.  (#133488, Christian Persch)
+
+Thu Feb  5 01:50:19 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtktearoffmenuitem.c (gtk_tearoff_menu_item_paint): Fix
+       the drawing of tearoff menu items which don't come first in their
+       menu.  (#33311)
+
+Thu Feb  5 00:59:08 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtkcombo.c (gtk_combo_entry_key_press): Use 
+       g_completion_complete_utf8(). (#133313, Theppitak Karoonboonyanan)
+
+2004-02-04  Federico Mena Quintero  <federico@ximian.com>
+
+       Fix #59707.
+
+       * gtk/gtklabel.c (gtk_label_focus): Removed, so we don't ignore
+       the focus chain.
+       (gtk_label_button_press): Fix prototype.
+       (gtk_label_button_release): Likewise.
+       (gtk_label_motion): Likewise.
+
+       * tests/testgtk.c (create_message_dialog): For the dialog with
+       only GTK_BUTTONS_CLOSE, make GTK_RESPONSE_CLOSE the default.
+
+2004-02-04  Morten Welinder  <terra@gnome.org>
+
+       * gtk/gtktoolbar.c (show_menu): Show on the right screen.  (Fixes
+       bug 133411, apart from the leak.)
+
+Tue Feb  3 13:39:27 2004  Manish Singh  <yosh@gimp.org>
+
+       * gtk/gtkadjustment.c (gtk_adjustment_new): pass value in last
+       in g_object_new, since it depends on lower and upper being set.
+
+2004-02-03  Federico Mena Quintero  <federico@ximian.com>
+
+       * gtk/gtkmessagedialog.c (gtk_message_dialog_init): Make the
+       window not resizable.  Fixes #114032.
+
+2004-02-03  Federico Mena Quintero  <federico@ximian.com>
+
+       * gtk/gtkmessagedialog.c (gtk_message_dialog_class_init): Add
+       documentation for the use_separator style property.
+
+2004-02-03  Federico Mena Quintero  <federico@ximian.com>
+
+       Fix #68938.
+
+       * gtk/gtkdialog.c (GtkDialogPrivate): New private structure for
+       GtkDialog; right now it only contains an ignore_separator field.
+       (gtk_dialog_class_init): Register the private structure.
+       (gtk_dialog_init): Initialize the priv->ignore_separator field.
+       (_gtk_dialog_set_ignore_separator): New private function.
+       (gtk_dialog_set_has_separator): Ignore the setting if appropriate.
+
+       * gtk/gtkmessagedialog.c (gtk_message_dialog_class_init): Add a
+       use_separator style property.
+       (gtk_message_dialog_style_set): Change the dialog's separator
+       based on the style property.
+       (gtk_message_dialog_init): Set the dialog box to ignore the
+       separator setting.
+
+Tue Feb  3 02:35:09 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/Makefile.am: Build filesystemwin32.c if OS_WIN32 and
+       also dist gtkfilesystemwin32.[hc].
+
+Tue Feb  3 02:04:44 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtklabel.c (gtk_label_ensure_layout): Right-justify labels
+       in rtl mode.  (#129071, chinen@jp.ibm.com)
+
+Tue Feb  3 02:01:25 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtkmenushell.c (gtk_real_menu_shell_move_current): Exchange the
+       meaning GTK_MENU_DIR_PARENT/CHILD and GTK_MENU_DIR_PREV/NEXT in rtl
+       mode.  (#107528)
+
+Tue Feb  3 01:38:06 2004  Matthias Clasen  <maclas@gmx.de>
+
+       Clip narrow columns in rtl-oriented tree views (#128089,  
+       chinen@jp.ibm.com):
+       
+       * gtk/gtkstyle.c (gtk_default_draw_option): 
+       * gtk/gtkstyle.c (gtk_default_draw_check): Clip to the 
+       given area.
+
+       * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action): 
+       Use the right clip area when calling gtk_cell_renderer_render().
+       * gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_cell_draw_focus): 
+       Use the right clip area when calling gtk_paint_focus().
+       * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_render): 
+       Use the right clip area when calling gtk_paint_toggle() or
+       gtk_paint_check().
+       * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_render): 
+       Clip to the expose_area when drawing the background rectangle.
+       
+Tue Feb  3 00:14:36 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
+
+       * gdk/x11/gdkgeometry-x11.c (queue_item_free, gdk_window_queue):
+       Use a weak reference instead of ref()/unref(). (#60857, reported
+       by Joshua N Pritikin)
+
+       * gdk/gdkimage.c (scratch_image_info_for_depth): Formatting fix.
+
+Tue Feb  3 00:15:17 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtktreeprivate.h (struct _GtkTreeViewPrivate): Add 
+       init_hadjust_value and prev_width.
+       * gtk/gtktreeview.c (gtk_tree_view_init): Initialize 
+       them here.
+       * gtk/gtktreeview.c (gtk_tree_view_update_size): ...and here.
+       * gtk/gtktreeview.c (gtk_tree_view_size_allocate): Use them
+       here to properly handle the initial position of rtl-oriented
+       tree views.  (#127581, chinen@jp.ibm.com)
+
+2004-01-20  Federico Mena Quintero  <federico@ximian.com>
+
+       Fix #130846, reported by R. McFarland <rwmcfa1@neces.com>.
+
+       * gtk/gtktreeview.c (gtk_tree_view_button_press): Return TRUE when
+       we handle an event in the colums, and FALSE at the end if the
+       event is not handled at all.
+
+Mon Feb  2 23:41:48 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_changed): 
+       Don't access the level after removing the node, since that may
+       kill the level.  (#132615, Crispin Flowerday)
+
+2004-02-02  Tor Lillqvist  <tml@iki.fi>
+
+       * gdk/win32/gdkevents-win32.c (gdk_pointer_grab): Set the cursor
+       in all cases. If no grab cursor specified, use the grabbing
+       window's cursor. If the grabbing window has no cursor, use the
+       default arrow cursor. (#118025)
+
+Mon Feb  2 22:05:36 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtkseparatormenuitem.c (gtk_separator_menu_item_init): The
+       latest in menu separation technology.
+
+Mon Feb  2 19:04:17 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
+
+       * gdk/x11/gdkwindow-x11.c: Assume gravity works. (Anything else
+       we have to take our chances with).
+       
+       (Bug 97510)
+
+Mon Feb  2 18:45:28 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
+
+       Fix bug 110224.
+
+       * gdk/x11/gdkfont-x11.c (gdk_font_from_description_for_display):
+       Remove unused variable 'result'
+
+       * gdk/x11/xsettings-client.[ch]: Add new set_grab/ungrab_func() functions.
+
+       * gdk/x11/gdkevents-x11.c (_gdk_x11_events_init_screen): Use them
+       here.
+
+Mon Feb  2 14:32:32 2004  Pablo Saratxaga  <pablo@mandrakesoft.com>
+
+       * configure.in po/uz*.po: changed default for Uzbek; now just "uz"
+       is in cyrillic and "uz@Latn" for latin; "uz@Cyrl" has been removed
+
+Sun Feb  1 16:34:07 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
+
+       * gtk/gtktoolbar.c (gtk_toolbar_size_allocate): Only start
+       sliding when using the new API.
+
+Sun Feb  1 16:03:39 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
+
+       * gtk/gtktoolbar.c (gtk_toolbar_size_allocate): Make sure
+       item_area is positioned correctly. Fix #133070, reported by Jeroen
+       Zwartepoorte.
+
+Sat Jan 31 23:13:43 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtktextchild.c (gtk_text_child_anchor_finalize): Don't
+       crash when finalizing an unused GtkTextChildAnchor.  (#132260,
+       muppet)
+
+Sat Jan 31 22:41:57 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtktreemodel.c (gtk_tree_model_rows_reordered): Correct
+       the documentation for new_order.  (#124790, Tim-Philipp Müller)
+
+Sat Jan 31 22:38:07 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_fixed_width): 
+       Reset use_resized_width when setting fixed_width.  (#108612, 
+       Felipe Heidrich) 
+
+Sat Jan 31 16:27:44 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtkmain.c (gtk_key_snooper_remove): Don't leak the
+       GtkKeySnooperData.  (#132038, R. McFarland)
+
+2004-01-30  Federico Mena Quintero  <federico@ximian.com>
+
+       Fixes #132975.
+
+       * gtk/gtkfilesystem.c (gtk_file_system_make_path): Return NULL,
+       not FALSE.
+       (gtk_file_system_volume_render_icon): Likewise.
+
+       * gtk/gtkfilesystemwin32.c (gtk_file_system_win32_make_path):
+       Likewise.
+
+       * gtk/gtktreestore.c (gtk_tree_store_iter_n_children): Return 0,
+       not FALSE.
+
+       * gtk/gtktoolbar.c (gtk_toolbar_get_drop_index): Return -1, not
+       FALSE.
+
+       * gtk/gtktextiter.c (gtk_text_iter_get_chars_in_line): Return 0,
+       not FALSE.
+       (gtk_text_iter_get_bytes_in_line): Likewise.
+
+       * gdk/x11/gdkcursor-x11.c (gdk_display_get_default_cursor_size):
+       Likewise.
+
+       * gdk/linux-fb/gdkcolor-fb.c (gdk_colors_alloc): Return FALSE, not
+       0.
+
+2004-01-30  Not Zed  <NotZed@Ximian.com>
+
+       Fixes #132929.
+
+       * gtk/gtktreeview.c (cancel_arrow_animation): remove the timeout
+       handler when we clear the timeout id.
+
+2004-01-30  Federico Mena Quintero  <federico@ximian.com>
+
+       Fix #129872, based on a patch by Jan Arne Petersen
+       <jpetersen@uni-bonn.de>
+
+       * gtk/gtkfilesystemunix.c (gtk_file_system_unix_list_bookmarks):
+       Implement.
+       (gtk_file_system_unix_add_bookmark): Implement.
+       (gtk_file_system_unix_remove_bookmark): Implement.
+
+2004-01-29  Federico Mena Quintero  <federico@ximian.com>
+
+       Fixes #132693.
+
+       * gtk/gtkfilesystemunix.c (gtk_file_system_unix_get_parent): Don't
+       use filename_from_path().  Also, check that the filename is
+       absolute.
+       (gtk_file_system_unix_get_folder): Likewise.
+       (gtk_file_system_unix_create_folder): Likewise.
+       (gtk_file_system_unix_make_path): Likewise.
+       (gtk_file_system_unix_parse): Likewise.
+       (gtk_file_folder_unix_get_info): Likewise.
+       (filename_from_path): Removed.
+
+2004-01-30  Federico Mena Quintero  <federico@ximian.com>
+
+       * gtk/gtkcalendar.c (arrow_action): Remove C++ comment; reported
+       by Damien Carbery <damien.carbery@sun.com>.  Fixes #132956.
+
+Fri Jan 30 11:37:37 2004  Owen Taylor  <otaylor@redhat.com>
+
+       * gdk/x11/gdkdrawable-x11.c: Revert changes from
+       #113476 and go back to using XftDrawSetClip, because
+       XftDrawSetClipRectangles is buggy in XFree86-4.3.
+
+Thu Jan 29 18:08:06 2004  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtktextlayout.c (line_display_iter_to_index)
+       * gtk/gtktextlayout.c (line_display_index_to_iter): Only
+       adjust the preedit position for lines that include the
+       preedit string. (#132353, Yao Zhang). How the heck
+       did this work as well as it did?!?!
+
+       * modules/input/gtkimcontextxim.c (gtk_im_context_xim_get_ic): 
+       Reverse change to change of XNFilterEvents event mask from
+       #110493 -- it's documented and in the Xlib code an
+       unsigned long. 
+       
+       * modules/input/gtkimcontextxim.c (preedit_start_callback): 
+       Return -1 rather than void to indicate no length limit.
+       (#129548)
+
+Fri Jan 30 00:45:46 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtkadjustment.c: Add properties to GtkAdjustment.
+       (#64601, Murray Cumming)
+
+Fri Jan 30 00:13:46 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtkcombo.c (gtk_combo_set_popdown_strings): Allow NULL
+       for strings to clear the list.  (#105386, Marco Pesenti Gritti)
+       
+2004-01-28  Richard Hult  <richard@imendio.com>
+
+       * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_size):
+       Free font_desc.  Fixes #132805.
+
 2004-01-29  Federico Mena Quintero  <federico@ximian.com>
 
        * gtk/gtkiconfactory.c (render_icon_name_pixbuf): Free the GError.
        Patch provided by Christian Persch <chpe@stud.uni-saarland.de>
+       Fixes #132574.
 
 Thu Jan 29 11:00:18 2004  Owen Taylor  <otaylor@redhat.com>