]> Pileus Git - ~andy/gtk/blobdiff - ChangeLog.pre-2-10
[ Merges of fixes from gtk-1-2, mostly ]
[~andy/gtk] / ChangeLog.pre-2-10
index d0e503736565a5f9eae2f9f7a6b6bbcb005040b7..a37e7e993b13d271dfafebd790a04cf6c9dc1b8e 100644 (file)
@@ -1,3 +1,238 @@
+Fri Feb  2 12:26:50 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkrc.c (gtk_rc_add_initial_default_files): Get rid of
+       a bunch of g_strdup_printf("%s%s") in favor of g_strconcat().
+
+       * gtk/gtkrc.c Makefile.am: Use $(libdir), not $(exe_prefix),
+       since some people set $(libdir) separately. (#1290, David Kaelbling)
+
+Thu Feb  1 18:25:46 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkfilesel.c: If PATH_MAX and MAXPATHLEN are not
+       defined, define MAXPATHLEN to 2048. (The Hurd doesn't have
+       MAXPATHLEN, but the code here depends on a fixed value.)
+       (#4524)
+
+Wed Jan 31 22:01:04 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkhandlebox.c (gtk_handle_box_button_changed): Handle the case
+       where child == NULL and handle_position == RIGHT or BOTTOM. (#8041g)
+
+Wed Jan 31 21:20:39 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkctree.c (real_tree_move): If the node being moved isn't
+       viewable there is no way that moving the node will cause the 
+       focus row to become not viewable, so omit check on the visibility
+       of new_sibling, which is irrelevant. (Fixes #8002, David Helder)
+
+Wed Jan 31 20:38:17 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkentry.c (gtk_entry_commit_cb): Delete the current
+       selection before inserting new text.
+
+Wed Jan 31 18:49:33 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkoptionmenu.c (gtk_option_menu_item_state_changed_cb):
+       Make the sensitivity of the reparented child track that of
+       the original parent menu item. (#34218, David Hodson)
+
+       * gtk/gtkoptionmenu.c (gtk_option_menu_item_destroy_cb): Handle
+       the case where the current item is destroyed properly.
+
+       * gtk/gtkoptionmenu.c: Some additional code cleanups and fix
+       some edge cases with child-less menuitems.
+       
+Wed Jan 31 17:16:13 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkcombo.c (gtk_combo_window_key_press): Make Return
+       key pop down window. (#12074, Jon K Hellan)
+
+Wed Jan 31 16:21:42 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtklist.c (gtk_list_signal_item_toggle): Don't allow
+       toggling of rows off in BROWSE or EXTENDED mode. (#12072, Jon K Hellan) 
+       The solution here isn't perfect - you get an extraneous
+       emission of "toggle", which could conceivably confuse an app,
+       but better than the current situation. LXR search seems to
+       indicate that no apps in GNOME CVS connect to "toggle".
+
+Wed Jan 31 15:46:13 2001  Owen Taylor  <otaylor@redhat.com>
+
+        * gtk/Makefile.am (libgtkinclude_HEADERS): Move gtkcompat.h from
+        gtk_public_h_sources to directly here to avoid warning when
+        building srcdir != builddir. (#9656)
+
+Tue Jan 30 19:49:02 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkrange.c: Patch from Kipp Hickman to make the event
+       handlers in gtkrange.c return the proper values (TRUE == handled)
+       (#10316).
+
+       This is just the tip of the iceberg, but gtkrange.c is the
+       most common place where the propagation is problematical,
+       and also a place where it is almost certainly safe to change
+       this in the stable branch.
+
+       (You don't want right click popups on a range control or anything...)
+
+Tue Jan 30 18:57:59 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtktext.c (clear_focus_area): We need to clear the focus
+       area on focus out, even if a background pixmap isn't set.
+       (#13941)
+       
+Tue Jan 30 18:24:10 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtknotebook.c (gtk_notebook_set_shape): Fix from Sean Cunningham
+       to deal with setting the shape properly when scrolling arrows are
+       turned on, but not visible because there is sufficient space.
+       (#13432)
+
+Tue Jan 30 16:39:25 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkitemfactory.c (gtk_item_factory_delete_item): For menu
+       items with submenus, destroy the item along with the submenu.
+       (#7841, Brian Masney(?)) Also, handle paths of the form '<foo>/abcd...' 
+       properly.
+
+       * gtk/testgtk.c (menu_items): Add a dummy branch that we delete
+       later.
+
+Tue Jan 30 15:51:25 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkwindow.c (gtk_window_real_set_focus): Fix a problem where
+       the focus widget sometimes wasn't drawn with the default if there
+       was no default widget.
+
+       * gtk/gtkstyle.c (gtk_style_real_unrealize): free colors,
+       unreference pixmaps. 
+
+       * gtk/gtkstyle.c (gtk_style_realize): Reference colormap
+       for some extra safety.
+
+Mon Jan 29 19:00:01 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtk{ctree.c,clist.c} (set_cell_contents): Handle setting
+       the text of a cell to the old pointer value better, by
+       copying the new text before freeing the old text. Some code
+       cleanup. (#8079, Karl Nelson)
+
+Mon Jan 29 16:50:19 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtklabel.[ch] gtk/gtkframe.[ch]: Make gtk_label_get_text()
+       gtk_frame_get_label() non strdup'ing, and G_CONST_RETURN.
+
+Mon Jan 29 15:22:51 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkmenu.c (gtk_menu_remove): When removing an
+       item from a menu, check to see if it matches 
+       menu->old_active_menu_item, and if so, unref and clear
+       old_active_menu_item (Patch from Pavel Cisler)
+
+       * gtk/gtkmenushell.c (gtk_menu_shell_remove): Unset 
+       menu_shell->active_menu_item, if it is the child being
+       removed. (Patch based on that of Gene Ragan, #50337)
+
+2001-01-31  Alexander Larsson  <alla@lysator.liu.se>
+
+       * gdk/linux-fb/gdkselection-fb.c: 
+       * gdk/linux-fb/gdkcolor-fb.c: 
+       * gdk/linux-fb/gdkdrawable-fb2.c: 
+       * gdk/linux-fb/gdkfont-fb.c: 
+       * gdk/linux-fb/gdkim-fb.c: 
+       * gdk/linux-fb/gdkinput.c: 
+       * gdk/linux-fb/gdkkeyboard-fb.c: 
+       * gdk/linux-fb/gdkmain-fb.c: 
+       * gdk/linux-fb/gdkrender-fb.c: 
+       A bunch of whitespace cleanup.
+       
+2001-01-30  Havoc Pennington  <hp@pobox.com>
+
+       * gtk/gtktreeitem.h, gtk/gtktree.h, gtk/gtktext.h: bracket in 
+       #ifdef GTK_ENABLE_BROKEN.
+
+       * gtk/gtktreeitem.c, gtk/gtktree.c, gtk/gtktext.c: #define
+       GTK_ENABLE_BROKEN just before including the broken headers.
+       
+       * gtk/gtktypeutils.c: #define GTK_ENABLE_BROKEN, so we can get the
+       deprecated types registered.
+
+       * gtk/testgtk.c, gtk/testselection.c: #define GTK_ENABLE_BROKEN,
+       we have to test the broken stuff.
+
+        * docs/Changes-2.0.txt: explain GTK_ENABLE_BROKEN
+       
+2001-01-30  Havoc Pennington  <hp@redhat.com>
+
+       * gtk/gtkliststore.c (gtk_list_store_insert_before): fix bug in
+       here where prev pointer was set to the wrong thing
+
+       * gtk/gtktreemodel.c (gtk_tree_path_is_ancestor): new function
+       (gtk_tree_path_is_descendant): new function
+
+       * gtk/gtkliststore.c (gtk_list_store_iter_n_children): return
+       cached length
+       (gtk_list_store_get_iter): don't modify iter if we can't get the
+       path.
+
+       * gtk/gtkliststore.h (struct _GtkListStore): cache the length
+       
+       * gtk/gtktreednd.h: add virtual function row_drop_possible() to
+       GtkTreeDragDest
+
+       * gtk/gtktreestore.c (copy_node_data): fix varargs type error that
+       was causing segfault
+
+       * gtk/gtktreedatalist.c (_gtk_tree_data_list_node_copy): set next
+       pointer to NULL
+
+       * gtk/gtktreestore.c (gtk_tree_store_append): fix memleak
+
+       * gtk/gtkliststore.c (gtk_list_store_iter_next): don't modify iter
+       on returning FALSE
+       (gtk_list_store_iter_children): ditto
+       (gtk_list_store_iter_nth_child): ditto
+       (gtk_list_store_iter_nth_child): ditto
+       (gtk_list_store_iter_parent): ditto
+
+       * gtk/gtktreestore.c (gtk_tree_store_get_path): g_return_if_fail
+       on iter->user_data != NULL instead of silently accepting it.
+       (gtk_tree_store_iter_next): ditto. Also, don't modify iter unless
+       we are returning TRUE.
+       (gtk_tree_store_iter_children): ditto
+       (gtk_tree_store_iter_nth_child): ditto
+       (gtk_tree_store_iter_parent): ditto
+       (gtk_tree_store_insert): remove handling of parent->user_data ==
+       NULL, replace with parent == NULL       
+
+       * gtk/gtktreemodel.c (inserted_callback): put some fixes in here,
+       and a comment explaining things
+
+       * gtk/gtktreestore.c: add GtkTreeDragSource/GtkTreeDragDest
+       interface support to GtkTreeStore.
+
+       * gtk/gtktreemodel.c (gtk_tree_path_prev): didn't properly return
+       FALSE if no prev, fix
+
+       * gtk/gtktreeview.c (set_source_row): use a row reference
+       (set_dest_row): use a row reference
+
+Sat Jan 27 15:52:02 2001  Jonathan Blandford  <jrb@redhat.com>
+
+       * gtk/gtktreeselection.c (gtk_tree_selection_unselect_iter): Fix
+       stupid typo pointed out by Kristian Rietveld <kristian@planet.nl>.
+       (gtk_tree_selection_select_iter): The same as above.
+
+2001-01-26  Havoc Pennington  <hp@redhat.com>
+
+       * gtk/gtktreemodel.c, gtk/gtktreemodel.h: add GtkTreeRowReference
+       which holds a handle to a specific row (particular set of values
+       in the model, i.e. pointer-identity row).
+
+       * gtk/gtktreeview.c, gtk/gtktreeprivate.h, gtk/gtktreeselection.c:
+       use GtkTreeRowReference for anchor, cursor, and drag_dest_row.
+       Still need to use it for the src/dest row saved on the drag context.
+
 2001-01-26  Havoc Pennington  <hp@redhat.com>
 
        * gtk/gtktextlayout.c (convert_color): adapt to handle PangoColor
        * gtk/gtkstyle.c (gtk_default_draw_layout): handle sensitivity
        using new GDK features
        
-2001-01-24    <alexl@redhat.com>
+2001-01-24  Alexander Larsson  <alexl@redhat.com>
 
        * gtk/gtkimage.c:
        Splitted gtk_image_clear into gtk_image_clear() and
        * gtk/testgtk.c (create_clist):
        Don't leak custom style.
 
-2001-01-23    <alexl@redhat.com>
+2001-01-23  Alexander Larsson  <alexl@redhat.com>
 
        * gtk/gtkcolorsel.c (grab_color_at_mouse):
        Don't leak image. Simplify using gdk_colormap_query_color().
        * linux-fb/gdkcolor-fb.c:
        Implemented gdk_colormap_query_color.
 
-2001-01-23    <alexl@redhat.com>
+2001-01-23  Alexander Larsson  <alexl@redhat.com>
 
         * linux-fb/gdkcursor-fb.c:
        Don't leak built-in cursors.
        
        * gtk/gtktextlayout.c (set_para_values): Handle char-wise wrapping
 
-2001-01-22    <alexl@redhat.com>
+2001-01-22  Alexander Larsson  <alexl@redhat.com>
 
        * gdk/gdkwindow.c (gdk_window_invalidate_region):
        Don't leak visible_region. Use visible_region instead of region.
        (gdk_fb_window_send_crossing_events): Watch out for destroyed
        windows.
 
-2001-01-22    <alexl@redhat.com>
+2001-01-22  Alexander Larsson  <alexl@redhat.com>
 
        * gtk/gtkwindow-decorate.c (gtk_decorated_window_realize):
        Don't leak the PangoFontDescriptor.
@@ -1285,7 +1520,6 @@ Tue Jan  2 16:23:05 2001  Owen Taylor  <otaylor@redhat.com>
        Attach the style to the window so that the style it is not
        leaked when unrealizing the window.
 
->>>>>>> 1.1626
 2000-12-18  Havoc Pennington  <hp@redhat.com>
 
        * gtk/gtktextview.c (gtk_text_view_delete_from_cursor): do
@@ -1780,7 +2014,6 @@ Mon Dec 11 10:02:26 2000  Owen Taylor  <otaylor@redhat.com>
        * gtk/gtkcolorsel.h (GTK_COLOR_SELECTION_GET_CLASS): fix typo,
        reported by Jeff Franks
 
->>>>>>> 1.1623
 2000-12-08  Alexander Larsson  <alla@lysator.liu.se>
 
        * gdk/linux-fb/gdkmouse-fb.c (gdk_fb_mouse_ms_open):