]> Pileus Git - ~andy/gtk/blobdiff - ChangeLog.pre-2-8
Allow custom initialization of cell editables. (#147221)
[~andy/gtk] / ChangeLog.pre-2-8
index 2aa1bb4dc5eae1eb639c3055363311aa3e9b2f62..bfd6b74925b9b7f336d4de9f924a0fa8a668af3d 100644 (file)
@@ -1,5 +1,318 @@
+2004-07-20  Matthias Clasen  <mclasen@redhat.com>
+
+       Allow custom initialization of cell editables.  (#147221)
+       
+       * gtk/gtkcellrenderer.h (struct _GtkCellRendererClass): 
+       * gtk/gtkcellrenderer.c (gtk_cell_renderer_class_init): Add a 
+       ::editing-started signal as a hook for setting up the 
+       GtkCellEditable.
+       (gtk_cell_renderer_start_editing): ...and emit it here.
+
+Mon Jul 19 23:51:50 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtktreeview.c (gtk_tree_view_button_press): Set drag_pos
+       before grabbing the focus, since we may reenter into 
+       gtk_tree_view_motion_resize_column() which requires drag_pos
+       to be set.  (#147913, Guilherme Salgado, patch by John Finlay) 
+
+Mon Jul 19 23:51:50 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtktreeview.c (gtk_tree_view_enter_notify): Don't
+       use uninitialized node pointer.  (#147911, Peter Zelezny)
+
+Tue Jul 20 04:34:56 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
+
+       * configure.in: Bump version number
+
+Sun Jul 18 17:21:10 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
+
+       * === Released 2.5.0 ===
+
+       * NEWS: updates
+
+       * tests/testcombo.c: Fix compilation
+
+2004-07-19  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkentrycompletion.c (gtk_entry_completion_set_popup_completion):
+       Fix doc comment.
+       
+2004-07-19  Matthias Clasen  <mclasen@redhat.com>
+
+       Make GtkCellView public, since people seem to have uses for it, 
+       it is clean API and we were just conservative in not making it 
+       public initially. At the same time, get rid of GtkCellViewMenuItem,
+       which doesn't have any function which can't be served by a
+       GtkMenuItem with a GtkCellView child.  (#136637, Padraig O'Briain)
+
+       * gtk/gtk.h: Include gtkcellview.h
+
+       * gtk/Makefile.am (gtk_public_h_sources): 
+
+       * gtk/Makefile.am (gtk_private_h_sources): 
+       (gtk_c_sources): Remove gtkcellviewmenuitem.[hc]
+       * gtk/gtkcombobox.c: Replace all uses of GtkCellViewMenuItem by
+       GtkMenuItem with a GtkCellView child.
+
+       * gtk/gtkcellviewmenuitem.[hc]: Removed.
+
+2004-07-19  Matthias Clasen  <mclasen@redhat.com>
+
+       Support inline autocompletion in entries  (#135953)
+       
+       * gtk/gtkentryprivate.h: 
+       * gtk/gtkentrycompletion.h: 
+       * gtk/gtkentrycompletion.c (gtk_entry_completion_class_init): 
+       Add a new signal ::insert-prefix which can be used to override 
+       the default inline-completion behaviour. Add two new boolean
+       properties, :popup_completion and :inline_completion which
+       determine how the possible completions should be presented.
+       (gtk_entry_completion_insert_prefix): New function to request
+       a prefix insertion. 
+
+       * gtk/gtkentry.c: Add the necessary glue for inline completion. 
+
+Sun Jul 18 15:28:24 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
+
+       * gtk/gtkdnd.c (gtk_drag_source_set, gtk_drag_dest_set): Create an
+       empty target list if targets is NULL.
+
+       * configure.in: Add check for X11/extensions/sync.h. (#147416,
+       Morten Welinder)
+
+Sun Jul 18 01:24:31 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * NEWS: Updates for 2.5.0
+
+Sat Jul 17 23:11:04 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtkiconview.h:
+       * gtk/gtkiconview.c (gtk_icon_view_class_init): 
+       * gtk/gtkiconview.c (gtk_icon_view_set_orientation): 
+       * gtk/gtkiconview.c (gtk_icon_view_get_orientation): 
+       * gtk/gtkiconview.c (gtk_icon_view_calculate_item_size): 
+       * gtk/gtkiconview.c (gtk_icon_view_layout_single_row): 
+       Add a new :orientation property to determine whether text
+       is positioned below or beside icons.  (#147463)
+
+Sat Jul 17 23:03:30 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtkiconview.c (gtk_icon_view_paint_item): 
+       * gtk/gtkiconview.c (gtk_icon_view_calculate_item_size): 
+       * gtk/gtkiconview.c (gtk_icon_view_layout_single_row): Draw 
+       focus indicator outside the selection, respect focus 
+       line width.  (#147460) 
+
+Sat Jul 17 01:17:33 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * gdk/x11/gdkdnd-x11.c (xdnd_check_dest): Fix a warning
+       message.
+
+Sat Jul 17 00:48:27 2004  Matthias Clasen  <maclas@gmx.de>
+
+       Support text/plain selection target  (#55117, Owen Taylor)
+       
+       * gtk/gtkselection.h: 
+       * gtk/gtkdnd.h: 
+       * gtk/gtkselection.c (gtk_target_list_add_text_targets): 
+       * gtk/gtkdnd.c (gtk_drag_dest_add_text_targets): 
+       * gtk/gtkdnd.c (gtk_drag_source_add_text_targets): New
+       functions to facilitate handling of text targets.
+
+       * gtk/gtkentry.c: 
+       * gtk/gtktextview.c: Use the new text target handling 
+       functions instead of hardwiring the list of supported
+       text targets everywhere.
+
+       * gtk/gtkselection.c (gtk_selection_data_get_text): 
+       (gtk_selection_data_set_text): 
+       Support the targets text/plain, text/plain?charset=utf-8
+       and text/plain?charset=<LOCALE-CHARSET> as outlined in
+       #55117: 
+       For text/plain send only ASCII, but accept 8-bit text 
+       and treat it as ISO-8859-1 as specified by the Xdnd spec.
+       Always send CRLF terminators. Accept either and convert
+       into the native terminator for the platform.
+       
+Fri Jul 16 23:20:34 2004  Matthias Clasen  <maclas@gmx.de>
+
+       Support themed window icons.  (#92346, Calum Benson)
+       
+       * gtk/gtkicontheme.c (gtk_icon_theme_get_icon_sizes): New 
+       function to obtain information about the sizes in which an
+       icon is available.  
+
+       * gtk/gtkwindow.h: 
+       * gtk/gtkwindow.c (gtk_window_class_init): 
+       (gtk_window_set_icon_name): 
+       (gtk_window_get_icon_name): Add an "icon_name" property
+       (gtk_window_set_default_icon_name): ...and a default icon name. 
+       (icon_list_from_theme): 
+       (update_themed_icon): New auxiliary functions to create a 
+       list of all available sizes of a themed icon and update the
+       window icon list from it.
+
+2004-07-16  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkcombobox.c (gtk_combo_box_scroll_event): Make 
+       scrolling work if no item is selected.
+       (gtk_cell_editable_key_press): Don't eat space.
+
+       Add a combo box cell renderer (#139347, Lorenzo Gil Sanchez)
+       
+       * gtk/gtkcellrenderercombo.[hc]: New Files.
+
+       * gtk/gtk.h: 
+       * gtk/Makefile.am (gtk_public_h_sources, gtk_c_sources): 
+       Add the new files.
+
+       * gtk/gtkcombobox.[hc]: Implement GtkCellEditable, add a 
+       :has-frame property for suppressing the frame around 
+       the child and redo the size allocation logic to take 
+       focus width into account.
+
+       * gtk/gtkcomboboxentry.c (gtk_combo_box_entry_init): 
+       Acknowledge the GtkComboBox:has-frame property and make
+       the entry fill its allocation vertically.
+
+       * gtk/gtkmarshalers.list: Add BOOLEAN:STRING.
+               
+       * gtk/gtktreeview.c (gtk_tree_view_remove_widget): Queue
+       a draw here to keep non-widget windows from leaving 
+       shadows behind.
+
+2004-07-16  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkcombobox.c (gtk_combo_box_forall): Don't iterate
+       multiple times over some of the children. 
+
+Thu Jul 15 22:19:40 2004  Matthias Clasen  <maclas@gmx.de>
+
+       Fix #60128, #58307, #144706:
+       
+       * gtk/gtkstyle.c (gtk_style_real_copy): Handle references
+       to bg_pixmaps properly.
+       (gtk_style_real_unrealize): Don't keep dangling references
+       to the bg_pixmaps.  
+       (gtk_style_attach): Split the loop into two loops, first 
+       looking for a matching style, then for an empty one.
+       (gtk_style_finalize): 
+       (gtk_style_duplicate): Add comments explaining the handling
+       of style->styles.
+
+Thu Jul 15 20:31:28 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtkspinbutton.c (start_spinning): Install the timeout
+       before changing the value, so that a ::value_changed handler
+       has a chance to remove it.  (#122427, Elke Meier)
+
+Thu Jul 15 19:20:05 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * gdk/x11/gdkgtk+/im-x11.c (_gdk_x11_initialize_locale): 
+       * gtk/gtkcalendar.c (gtk_calendar_class_init): Use 'cannot'
+       instead of 'can not' in messages.  (#144226, Morten Welinder)
+
+2004-07-15  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtktreeview.c (gtk_tree_view_class_init): 
+       * gtk/gtkcellrenderer.c (gtk_cell_renderer_class_init): 
+       Correct the declared default values of several properties
+       to be in sync with the actual initial values.
+
+       * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_class_init): 
+       Make spacing a property, correct the declared default values 
+       of several properties to be in sync with the actual initial 
+       values.  (#147654, Matthias Clasen)
+
+       * gtk/gtkmenu.c (gtk_menu_set_tearoff_state): Don't reparent
+       back to menu->toplevel if it is already gone because we're
+       shutting down.  (#147656, John Cupitt)
+
+2004-07-14  Federico Mena Quintero  <federico@ximian.com>
+
+       Fix #126295:
+
+       * gtk/gtktreeview.c (gtk_tree_view_bin_expose): Draw a focus
+       indicator along the edge of the bin_window when the tree is empty.
+       (grab_focus_and_unset_draw_keyfocus): New helper function.
+       (gtk_tree_view_button_press): Remove a bit of superfluous code.
+       Use the helper function to save on duplicated code.
+       (gtk_tree_view_button_press): Grab the focus if the tree is empty.
+       (gtk_tree_view_focus): Allow focusing into an empty tree.
+
+2004-07-14  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkaboutdialog.c (add_credits_page): Don't use
+       gcc extensions for the ternary ?: operator.  (#147590,
+       Damien Carbery)
+
+2004-07-14  Federico Mena Quintero  <federico@ximian.com>
+
+       Fix #144405, patch by Padraig O'Briain <padraig.obriain@sun.com>:
+
+       * gtk/gtkfilechooserdefault.c (shortcuts_list_create): Set the
+       accessible object name for the tree view.
+       (create_file_list): Likewise.
+
+Tue Jul 13 21:53:08 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtkicontheme.c (free_unthemed_icon): Don't leak
+       no_svg_filename.  (#147399, Kjartan Maraas)
+
+2004-07-13  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_get_neighbor_sizes): 
+       Make this work in RTL context.
+
+2004-07-13  Federico Mena Quintero  <federico@ximian.com>
+
+       * gtk/gtkfilechooserdefault.c (shortcuts_activate_volume): Set a
+       busy cursor while mounting the volume.  Also, ref the chooser
+       while mounting, as we may re-enter.  Fixes #139376.
+
+2004-07-13  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtktreeview.c (gtk_tree_view_adjustment_changed): 
+       Prepare to handle composite implementations of
+       GtkCellEditable, but recursively poking at
+       allocation->y (hack stolen from GtkCList).
+       (check_expander_max): Tweak the warning.
+
+       * gtk/gtkmain.h: Add gtk_parse_args(), its a public 
+       function.  (#147476, Owen Taylor)
+
+       * gtk/gtkcombobox.c (gtk_combo_box_popdown): Don't
+       crash if unrealized.
+
+Tue Jul 13 01:50:06 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtkaboutdialog.c (display_credits_dialog): Don't
+       display untranslated translator credits. 
+
+Tue Jul 13 01:15:05 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtkiconview.c: Some documentation updates.
+
+Tue Jul 13 00:40:29 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
+
+       * gdk/gdkwindow.c (gdk_window_process_updates_internal): Do an
+       empty begin_paint_region()/end_paint() for windows without
+       EXPOSURE_MASK.
+
+       * gdk/x11/gdkwindow-x11.c (_gdk_x11_window_tmp_unset_bg,
+       _gdk_x11_window_tmp_reset_bg): Remove checks for EXPOSURE_MASK.
+
 2004-07-12  Matthias Clasen  <mclasen@redhat.com>
 
+       * demos/gtk-demo/appwindow.c: Use a GtkAboutDialog.
+
+       * gtk/gtkaboutdialog.h: 
+       * gtk/gtkaboutdialog.c: New widget: GtkAboutDialog.
+
+       * gtk/Makefile.am (gtk_public_h_sources, gtk_c_sources): 
+       * gtk/gtk.h: Add GtkAboutDialog. (#109435, Paolo Borelli,
+       patch by Matthias Clasen)
+
        * gtk/gtkrc.c (_gtk_rc_init): Apply the gtk-default-menu-item-style 
        to cell view menu items as well.  (#147405, John Cupitt)