]> Pileus Git - ~andy/gtk/blobdiff - ChangeLog.pre-2-6
get logic right, #66249
[~andy/gtk] / ChangeLog.pre-2-6
index 8a0e5435904611bb853f3778937a960fd4dcf4f2..1d1223036cc2d78cd53417c4926b510890ed12f4 100644 (file)
@@ -1,3 +1,459 @@
+Fri Dec  7 20:06:14 2001  Jonathan Blandford  <jrb@redhat.com>
+
+       * gtk/gtktreeview.c (validate_visible_area): get logic right,
+       #66249
+
+       * gtk/gtkrbtree.c (_gtk_rbtree_remove_node): fix bug where
+       removing a node ended up with a corrupt tree.  Really really nasty
+       bug.
+       (_gtk_rbtree_debug_spew): new debug helper function
+       (_fixup_validation): new inline function to clean up code
+       readability a lot. 
+
+Fri Dec  7 19:34:51 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtktoolbar.c (gtk_toolbar_insert_element):
+       Close comment.
+
+2001-12-07  Matthias Clasen  <matthiasc@poet.de>
+
+       * gtk/gtkstyle.h: Typo fixes.
+
+       * gtk/gtkstyle.c, gtk/gtktoolbar.c: Add docs.
+
+       * gtk/gtkrc.c (gtk_rc_find_pixmap_in_path): Fix docs.
+
+Fri Dec  7 16:05:22 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * modules/input/gtkimcontextxim.c: Display the XIM
+       status callbacks with a popup window. (Patch from
+       HideToshi Tajima, #50628, somewhat modified.)
+
+Fri Dec  7 12:07:15 2001  Tim Janik  <timj@gtk.org>
+
+       * gtk/Makefile.am: each source generation rule needs to use its own
+       temporary file, to avoid clashes for parallel builds. fixed rules
+       for gtkmarshalers.h and gtkmarshalers.c to use their own temp files.
+
+2001-12-07  Havoc Pennington  <hp@pobox.com>
+
+       * gdk/x11/gdkcursor-x11.c (gdk_cursor_new): fix up my list of
+       "cursors that are actually useful" in gdk_cursor_new() docs
+
+Thu Dec  6 23:09:21 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtk[hv]paned.c (gtk_[hv]paned_size_allocate): Fix errors
+       in computing the size of the second child.
+
+Thu Dec  6 16:50:17 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkrange.c: Make button 1 clicks on the trough
+       do pages, button 3 steps. (Patch from Hans Breuer
+       #63735)
+
+2001-12-06  Matthias Clasen  <matthiasc@poet.de>
+
+       * gtk/gtklabel.c: Fix docs. (#66383)
+
+       * gtk/gtkbbox.c (gtk_button_box_set_child_secondary): Fix docs. 
+       (#66278, #66280)
+       
+       * gdk/gdkwindow.h (gdk_window_get_deskrelative_origin),
+       gdk/gdkimage.h (gdk_image_get): Deprecate. (#66208)
+
+       * gtk/gtkcolorsel.c (gtk_color_selection_set_update_policy):
+       Don't emit a g_warning() about being deprecated. (#66208)       
+
+       * gtk/gtkaccellabel.c (gtk_accel_label_set_accel_widget): Add docs.
+
+       * gtk/gtkcontainer.c: Doc fixes.
+       
+       * gtk/gtkliststore.c (gtk_list_store_clear): Add docs; misc doc fixes.
+
+       * gtk/gtkstyle.c (gtk_style_attach): Add docs.
+
+2001-12-05  Sven Neumann  <sven@gimp.org>
+
+       * gtk/gtkwidget.c (gtk_widget_reset_shapes): close comment.
+
+       * gtk/queryimmodules.c: g_dir_read_name() returns const.
+
+Tue Dec  4 21:46:13 2001  HideToshi Tajima  <hidetoshi.tajima@sun.com>
+
+       * gtk/gtktreeprivate.h: restore the else case of #ifdef __GNUC__
+       #66225
+       
+2001-12-04  Manish Singh  <yosh@gimp.org>
+
+       * gtk/gtkmain.c
+       * gtk/queryimmodules.c: g_module_symbol takes a gpointer *, not just
+        a gpointer.
+
+       * gtk/gtkwidget.c (gtk_widget_push_composite_child): minor cosmetic
+       correction to docs.
+
+       * demos/gtk-demo/item_factory.c: add GTK_WINDOW() cast
+
+2001-12-04  Havoc Pennington  <hp@redhat.com>
+
+       * gtk/gtktextbtree.c (gtk_text_btree_remove_tag_info): remove
+       g_assert_not_reached() that was bogus, since we demand-create the
+       tag info. reported by Chris Phelps
+
+        Jump through assorted hoops to fix bug from Chris Phelps where 
+       removing tags from the table resulted in btree trying to 
+       access tag->table
+       
+       * gtk/gtktextbuffer.c: set up mechanics of adding/removing 
+       ourselves to the tag table
+
+       * gtk/gtktexttagtable.c (_gtk_text_tag_table_add_buffer) 
+       (_gtk_text_tag_table_remove_buffer): private cruft to 
+       let us notify buffer of disappearing tags
+
+       * gtk/gtktexttag.h: remove BTreeNode typedef from this public
+       header, put it in tagprivate    
+
+       * gtk/gtktextbtree.c (_gtk_text_btree_new): don't connect to
+       tag_removed; it's emitted too late.
+       (_gtk_text_btree_notify_will_remove_tag): rename tag_remove_cb to
+       this
+
+       Padding for ABI-compat expansion
+       
+       * gtk/gtktexttag.h (struct _GtkTextAttributes): pad this
+       (struct _GtkTextAppearance): one pad in here too
+
+       * gtk/gtktextlayout.h (struct _GtkTextLayoutClass): padding here
+
+       * gtk/gtktextview.h (struct _GtkTextViewClass): more padding,
+       since action signals etc. seem pretty likely
+
+       * gtk/gtktextbuffer.h (struct _GtkTextBufferClass): padding
+
+       * gtk/gtktexttag.h (struct _GtkTextTagClass): padding
+
+       * gtk/gtktexttagtable.h (struct _GtkTextTagTableClass): padding
+
+2001-12-04  Matthias Clasen  <matthiasc@poet.de>
+
+        * gdk/gdkcolor.h (gdk_colormap_change): Deprecate. (#65851)
+
+        * gdk/gdktypes.h (GdkKeyInfo): Remove. (#66025)
+
+       * gtk/gtkwindow.c, gtk/gtkwidget.c: Add docs, markup fixes.
+
+Tue Dec  4 18:51:44 2001  Jonathan Blandford  <jrb@redhat.com>
+
+       * gtk/gtktreeviewcolumn.h: remove gtk_tree_view_column_cell_event,
+       #62084.
+
+Tue Dec  4 18:38:35 2001  Jonathan Blandford  <jrb@redhat.com>
+
+       * demos/gtk-demo/main.c: (create_tree): Minor fix.
+
+       * docs/tree-column-sizing.txt: Update
+
+       * gtk/gtkrbtree.[ch]: Massive work to support validation.
+
+       * gtk/gtktreemodel.c: Doc fixes.
+
+       * gtk/gtktreeview.c: Incremental reflow added.
+       * gtk/gtktreeviewcolumn.c: ditto
+       * gtk/gtktreeviewcolumn.h: ditto
+
+2001-12-04  Havoc Pennington  <hp@redhat.com>
+       
+       * gtk/gtktexttag.c (gtk_text_tag_set_property): add a warning for
+       "invisible" property, #65999
+
+2001-12-04  Matt Wilson  <msw@redhat.com>
+
+       * gtk/gtktreestore.c (gtk_tree_store_insert): fixed docs
+
+Tue Dec  4 12:16:31 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtksettings.c (gtk_settings_set_property_value):
+       Simplify, make more efficient and fix memory leak
+       when turning quark into a string. (#66103, HideToshi
+       Tajima)
+
+       * gtk/gtkcolorsel.c: Ref and sink priv->tooltips in
+       init() and unref priv->tooltips in destroy rather
+       than calling gtk_object_destroy() which has no
+       effect on memory management. (#66104, HideToshi
+       Tajima)
+
+       * gtk/gtkcolorsel.c (palette_set_color): Use g_object_set_data_full()
+       so we free the when the object is freed. (Fixes memory
+       leak, #66096, HideToshi Tajima)
+
+       * gdk/gdkevents.c (gdk_synthesize_window_state): Use 
+       a full GdkEvent structure to avoid reads of uninitialized/
+       invalid memory in gdk_event_put() (#65877, patch
+       from Hidetoshi Tajima)
+
+Tue Dec  4 11:06:54 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkmenuitem.c: Revert my last mistaken change - 
+       toggle-size-request doesn't take a requisition.
+
+       * gtk/gtkmenuitem.c (gtk_menu_item_class_init): Fix
+       reference to marshaler that no longer exists.
+
+Mon Dec  3 16:39:17 2001  Owen Taylor  <otaylor@redhat.com>
+
+       Patch from Bill Haneman (with many modifications) to make
+       the focus color work on dark themes and to make the
+       focus line width configurable. (#61079, #63074)
+
+        * gtk/gtkwidget.c: Add style properties, 
+       ::focus-widget, ::focus-line-width, and ::focus-padding.
+
+       * gtk/gtkstyle.[ch]: Make gtk_paint_focus() take a 
+       state argument as well so we can use fg[STATE] to
+       draw instead of always drawing with black. 
+       Cange paint_focus() to respect GtkWidget::focus-width
+       and GtkWidget::focus-line-pattern. Fix continuity
+       problem where the default 1-1 stipple had a blob
+       in one corner and a gap in the other. Change the
+       interpretation of x/y/width/height to be the bounding
+       box of the focus rect instead of the rectangle
+       passed to gdk_draw_rectangle.
+
+       * gtk/gtkcheckbutton.c gtk/gtklistitem.c gtk/gtknotebook.c 
+       gtk/gtkoptionmenu.c gtk/gtkradiobutton.c gtk/gtkspinbutton.c 
+       gtk/gtktextview.c gtk/gtktreeview.c: Handle ::focus-width 
+       and ::focus-line-padding.
+
+       * gtk/gtkentry.c: Handle :;focus-width property; cleanup
+       and remove duplicated code; fix drawing of focus rectangle
+       when interior-focus = FALSE. (#63072, #63073)
+
+       * gtk/gtkrange.c gtk/gtktext.c gtk/gtktreeitem.c
+       gtk/gtktreeviewcolumn.c: Basic fixups to make compile;
+       Range and TreeViewColumn will need more extensive fixing.
+
+       * gtk/gtkcolorsel.c: Honor focus line attributes when
+       drawing the focus on the color swatches. (#63071)
+
+       * gtk/gtkhsv.c: Honor focus line attributes when
+       drawing the focus for the ring and triangle.
+
+       * docs/widget_geometry.txt: Start at documenting how 
+       various widgets are drawn.
+
+       * gtk/gtkbutton.c (_gtk_button_paint): Export 
+       _gtk_button_paint() librarywide, so we don't have 
+       duplicate a bunch of code in gtktogglebutton.c.
+
+       * gtk/gtktogglebutton.c: Use _gtk_button_paint().
+
+Mon Dec  3 21:04:13 2001  Jonathan Blandford  <jrb@redhat.com>
+
+       * gtk/gtkmarshalers.list: remove VOID:BOXED,POINTER and
+       NONE:POINTER.
+
+2001-12-03  Alex Larsson  <alexl@redhat.com>
+
+       * gtk/gtkaccellabel.c:
+       * gtk/gtkarrow.c:
+       * gtk/gtkcolorsel.c:
+       * gtk/gtkcontainer.c:
+       * gtk/gtklabel.c:
+       * gtk/gtktextview.c:
+       * gtk/gtktogglebutton.c:
+       * gtk/gtktreeview.c:
+       * gtk/gtkwindow.c:
+       Return FALSE from expose handlers.
+
+Mon Dec  3 21:15:59 2001  Kristian Rietveld  <kris@gtk.org>
+
+       * gtk/gtktreedatalist.c (_gtk_tree_data_list_value_to_node): if
+       we use pointers, we should free the previous pointer first (if
+       it exists), before we set a new pointer. (#64726)
+
+       * gtk/gtktreeprivate.h: get rid of cursor_drag
+
+       * gtk/gtktreeview.c (gtk_tree_view_unrealize): remove check     
+       for cursor_drag
+       (gtk_tree_view_bin_expose): don't directly return in the while
+       loop
+       (gtk_tree_view_class_init): indentend expanders by default
+       (gtk_tree_view_header_focus): only give the button focus
+       if it's clickable, visible and the column is reorderable
+       (#65539)
+
+       * gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_realize_button):
+       create and free cursor
+
+Mon Dec  3 10:23:07 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkcalendar.c (gtk_calendar_size_request): Fix
+       some bugs with size requisition. (From Bill Haneman)
+
+       * gtk/gtkcalendar.c: Draw headers and selection in 
+       base/text[SELECTED] instead of fg/bg[SELECTED].
+
+       * gtk/gtkcalendar.c: Miscellaneous cleanups to drawing
+       code and formatting.
+
+2001-12-03  Havoc Pennington  <hp@pobox.com>
+
+       * gtk/gtktextview.c (set_window_height): 
+       (set_window_width): Hmm, setter functions normally assign the new
+       value to the object field. Reported by Chris Phelps.
+
+2001-11-30  jacob berkman  <jacob@ximian.com>
+
+       * gtk/gtknotebook.c (gtk_notebook_remove_tab_label): set the
+       signal id to 0 after we disconnect from it
+
+2001-11-30  Matthias Clasen  <matthiasc@poet.de>
+
+       * gdk/gdkdrawable.h (gdk_drawable_ref, gdk_drawable_unref),
+       gdk/gdkcolor.h (gdk_colormap_ref, gdk_colormap_unref),
+       gdk/gdkdnd.h (gdk_drag_context_ref, gdk_drag_context_unref),
+       gdk/gdkgc.h (gdk_gc_ref, gdk_gc_unref):  Deprecate.
+
+       * gdk/gdkvisual.h: Use GDK_DISABLE_DEPRECATED, not 
+       GTK_DISABLE_DEPRECATED.
+
+       * gdk/gdkcolor.c (gdk_colormap_ref, gdk_colormap_unref),
+       gdk/gdkgc.c (gdk_gc_ref, gdk_gc_unref): Document.
+
+Fri Nov 30 16:37:01 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkcombo.c (gtk_combo_popup_list): Sanitize
+       move/resize code, removing various bad, non-functional
+       hacks. (Fixes #65048, reported by Damon Chaplin.)
+
+Fri Nov 30 16:12:21 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gdk/gdkpango.c: Patch from Hidetoshi Tajima to fix 
+       bad match error when target drawable is not the 
+       same depth as the root window. (#65841)
+
+       * HACKING: Update.
+
+2001-11-29  Matthias Clasen  <matthiasc@poet.de>
+
+       * gdk/gdkwindow.c: Typo fix.
+
+Thu Nov 29 21:35:56 2001  Kristian Rietveld  <kristian@planet.nl>
+
+       * gtk/gtkmenu.c (gtk_menu_motion_notify): add checks for
+       empty menu items to behave like insensitive items (#59456)
+
+       * gtk/gtkmenuitem.c (gtk_real_menu_item_activate_item): select
+       next item if the first item in the menu is a tear off item
+       (#59456-2, suggestion by Matthias Clasen)
+
+       * gtk/gtkmenushell.c (gtk_menu_shell_button_press),
+       (gtk_menu_shell_button_release), (gtk_menu_shell_entry_notify),
+       (gtk_menu_shell_leave_notify), (gtk_real_menu_shell_move_current),
+       (gtk_real_menu_shell_activate_current): add check, so empty
+       menu items behave like insensitive items (#59456)
+        
+       * gtk/gtkmenuitem.[ch]: add _gtk_menu_item_is_selectable to make
+       the checks more readable ...
+       
+       * gtk/gtkmenushell.c (gtk_menu_shell_button_press),
+       (gtk_menu_shell_button_release): causes the menu to dropdown if the
+       caption is clicked again (#64977)
+
+2001-11-29  Havoc Pennington  <hp@redhat.com>
+
+       * gtk/gtktextiter.c (_gtk_text_iter_forward_indexable_segment):
+       assertion here that we were at the end iterator was not correct;
+       change code to move us to the end iterator. bug #65731
+
+Wed Nov 28 20:05:44 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkaccellabel.c (gtk_accel_label_refetch): Remove 
+       improper use of g_locale_to_utf8() to convert from
+       latin-1, and do it the easy way by building the string
+       correctly in the first place.
+
+Wed Nov 28 19:34:15 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gdk/x11/gdkproperty-x11.c (gdk_property_change, gdk_property_get): 
+       Convert atoms to and from atoms for properties of type XA_ATOM.
+       (#65555, patch from Hidetoshi Tajima)
+
+Wed Nov 28 18:37:04 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtksocket.[ch] (gtk_socket_add_id): Rename 'id' parameter 
+       to avoid problems with Objective C.
+
+2001-11-28  Matthias Clasen  <matthiasc@poet.de>
+       
+       * gtk/gtkaccelmap.c: Typo fixes. (#65607)
+
+       * gtk/gtkfixed.c (gtk_fixed_set_has_window, gtk_fixed_get_has_window):
+       Fix docs. (#65505)
+
+       * gtk/gtkwindow.c (gtk_window_set_mnemnonic_modifier): Document.
+
+Wed Nov 28 18:19:12 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkmenu.c (gtk_menu_set_tearoff_hints): Move
+       accounting of menu->tearoff_scrollbar width to here
+       and make sure we have the correct requisition.
+
+       * gtk/gtkmenu.c (gtk_menu_position): Fix fixme
+       by using gtk_window_move().
+
+       * gtk/gtkmenu.c (gtk_menu_set_tearoff_state): Force
+       the requisition to be updated by calling
+       gtk_widget_size_request() (#65440)
+
+       * gtk/gtktearoffmenuitem.c (gtk_tearoff_menu_item_activate): 
+       queue resize before calling gtk_menu_set_tearoff_state().
+
+Wed Nov 28 22:20:44 2001  Kristian Rietveld  <kristian@planet.nl>
+
+       * demos/gtk-demo/editable_cells.c: fix typo
+
+       * demos/gtk-demo/list_store.c (add_columns): remove call to
+       gtk_tree_view_column_set_clickable which didn't make sense
+
+2001-11-28  Havoc Pennington  <hp@redhat.com>
+
+       * gtk/gtktextview.c (gtk_text_view_paint): put the warning
+       explaining the validation error in front of the G_BREAKPOINT
+
+       * gtk/gtkrange.c (gtk_range_adjustment_value_changed): call
+       process updates with include_children = FALSE instead of TRUE, so
+       we redraw the range only, not the whole darn window.  Making
+       GtkRange a NO_WINDOW widget had weirdly caused the text widget
+       Trace/breakpoint trap bug to become much easier to trigger.
+
+Wed Nov 28 14:12:03 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gdk/Makefile.am (gdk_public_h_sources): Remove reference
+       to gdkcursors.h.
+
+2001-11-28  Matthias Clasen  <matthiasc@poet.de>
+
+       * gtk/gtkwindow.c (gtk_window_move): Add markup to docs.
+
+       * gdk/gdkcursor.h: Directly include the contents
+       of gdkcursors.h in the GdkCursorType enum.
+
+       * gdk/gdkcursors.h: Deleted.
+
+       * gdk/gdkkeysyms.h: Remove XFree86-specific keysyms, add 
+       header boilerplate.
+
+       * gdk/Makefile.am: Remove the X-derived-headers rule.
+
+Tue Nov 27 20:17:55 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkcheckmenuitem.c (gtk_check_menu_item_activate):
+       Notify on the ::active property _here_, not in
+       gtk_check_menu_item_set_active.
+
 Mon Nov 26 19:11:18 2001  Jonathan Blandford  <jrb@redhat.com>
 
        * gtk/gtkcellrendererpixbuf.c