]> Pileus Git - ~andy/gtk/blobdiff - ChangeLog.pre-2-2
New function to help handle keeping things in sync.
[~andy/gtk] / ChangeLog.pre-2-2
index 9547e7dae9bfd1d05dea360dec60c6bfb46555e5..1ae3eac50b2a65374f2704834079bdf5b60c6d6a 100644 (file)
@@ -1,3 +1,152 @@
+Fri Nov 10 19:06:41 2000  Jonathan Blandford  <jrb@redhat.com>
+
+       * gtk/gtktreemodelsort.c (gtk_tree_model_sort_insert_value): New
+       function to help handle keeping things in sync.
+
+Fri Nov 10 12:10:34 2000  Jonathan Blandford  <jrb@redhat.com>
+
+       * gtk/gtkliststore.c (gtk_model_simple_class_init): use the new
+       BOXED marshallers.
+
+       * gtk/gtkliststore.c (gtk_list_store_get_column_type): Add this.
+       (gtk_list_store_class_init): use the new BOXED marshallers.
+
+       * gtk/gtktreestore.c (gtk_tree_store_new_with_types): change
+       new_with_values to new_with_types.
+       (gtk_tree_store_get_column_type): add this.
+       (gtk_tree_store_class_init): use the new BOXED marshallers.
+
+       * gtk/gtkmarshal.list: Added a number of BOXED marshallers to
+       mirror some POINTER marshallers.
+
+Thu Nov  9 11:23:22 2000  Jonathan Blandford  <jrb@redhat.com>
+
+       * gtk/gtktreemodel.h (struct _GtkTreeIter): added more fields to
+       allow more interesting iterators.  Also, made the lifecycle of
+       iterators more explicit.
+
+       * gtk/gtktreemodelsort.[ch]: New model for sorting.
+
+       * gtk/gtk-boxed.defs (GtkTreeIter, GtkTreePath): Added two boxed
+       types.
+
+2000-11-09  Alexander Larsson  <alexl@redhat.com>
+
+       * demos/testgtk/menus.c:
+       Changes to make the new testgtk compile after
+       gtk_menu_append was removed.
+
+       * gdk/linux-fb/gdkdrawable-fb2.c
+       (gdk_fb_get_depth, gdk_fb_get_visual,
+       gdk_drawable_impl_fb_class_init): Implement
+       these drawable functions. Now GtkImages work again.
+
+       * gdk/linux-fb/gdkimage-fb.c (_gdk_fb_get_image): Change prototype.
+
+       * gdk/linux-fb/gdkprivate-fb.h (_gdk_fb_get_image): Change prototype.
+       
+       * gdk/linux-fb/gdkmain-fb.c (fb_modes_parse_mode,
+       gdk_fb_setup_mode_from_name, gdk_fb_set_mode, gdk_fb_display_new);
+       Parse /etc/fb.modes, use the environment variables GDK_DISPLAY_MODE,
+       GDK_DISPLAY_DEPTH, GDK_DISPLAY_WIDTH, GDK_DISPLAY_HEIGHT.
+
+2000-11-08  Havoc Pennington  <hp@pobox.com>
+
+       * gtk/gtktexttag.c (gtk_text_tag_class_init): Add visible and
+       visible_set args, don't know where these had gone, I thought they
+       used to be there
+
+       * gtk/testtext.c: Add a menu item to apply invisibility tag;
+       now we can test the feature and see that it's totally broken.
+
+2000-11-08  Havoc Pennington  <hp@pobox.com>
+
+        Make DND copy pixbufs and tags when source and target share a 
+       tag table.
+       
+       * gtk/gtktextview.c (gtk_text_view_drag_data_get): provide the
+       in-process GTK_TEXT_BUFFER_CONTENTS target
+       (gtk_text_view_drag_data_received): Paste from
+       GTK_TEXT_BUFFER_CONTENTS if we receive it.
+
+2000-11-08  Alexander Larsson  <alexl@redhat.com>
+
+       * docs/Changes-2.0.txt: Add note about GtkMenuPositionFunc
+       API changes.
+
+       * gtk/gtkmenu.c: Add support for scrolling menus.
+       Remove gtk_menu_append/prepend/insert, these have been moved to
+       gtkcompat.h as #defines.
+
+       * gtk/gtkcompat.h.in:
+       Add compatibility #defines for gtk_menu_append/prepend/insert
+
+       * gtk/gtkmenu.h: Add data needed for scrolling menus.
+       GtkMenuPositionFunc gets an extra argument push_in.
+       gtk_menu_append/prepend/insert removed.
+       
+       * gtk/gtkmenuitem.c (gtk_menu_item_position_menu): Change menu
+       positioning behaviour to fit to scrolling menus.
+
+       * gtk/gtkmenuitem.c (gtk_menu_item_forall): Don't recurse
+       into menuitem->submeny. That is wrong, and broke torn
+       off submenus of torn off menus, since they were unrealized
+       when the first menu was unrealized.
+
+       * gtk/gtkmenushell.[ch]: Virtualize gtk_menu_shell_insert() and
+       gtk_menu_shell_select_item() since these need to be overridden in
+       GtkMenu.
+
+       * gtk/gtkoptionmenu.c (gtk_opttion_menu_position): Change menu
+       positioning behaviour to fit to scrolling menus.
+       (gtk_option_menu_key_press, gtk_option_menu_button_press): Select
+       the current item so that it is prelighted when the menu pops up.
+       This is a workaround to the fact that the menu doesn't get the
+       initial enter event (due to grabs).
+
+       * gtk/gtkfilesel.c, gtk/gtkinputdialog.c, gtk/testgtk.c:
+       s/gtk_menu_append/gtk_menu_shell_append/
+
+       * gtk/gtknotebook.c:
+       s/gtk_menu_insert/gtk_menu_shell_insert/
+
+       * gtk/testgtk.c (create_menu, create_menus):
+       Create the first menu with 50 items so that menu scrolling
+       can be tested.
+       
+       
+       Patch from Jonathan Blandford  <jrb@redhat.com>
+
+       * gtk/gtkmenuitem.[ch] (gtk_menu_item_toggle_size_request): new
+       system to handle size requests.  First, we ask what the size of
+       the toggle is.  Then, when allocating the size, we allocate the
+       toggle_size first.  This way we can have multiple menu-item
+       classes w/o needing a seperate class for each.
+
+       * gtk/gtkmenu.c (gtk_menu_size_request): Actually use the new system.
+       * gtk/gtkmenu.c (gtk_menu_size_allocate): Use the new system.
+
+       * gtk/gtkcheckmenuitem.c
+       (gtk_check_menu_item_toggle_size_request): New function to handle
+       the toggle size-request.
+
+2000-11-07  Havoc Pennington  <hp@redhat.com>
+
+       * gtk/gtktextlayout.c (gtk_text_layout_get_iter_location):
+       Half-ass somewhat fix this function, so that scrolling to the
+       insertion point works. Pango hacking is in the future to really
+       fix it.
+
+       * gtk/gtktextview.c (gtk_text_view_drag_data_get): Don't calculate
+       length of data, no longer used.
+
+       * gtk/gtktextbuffer.c (gtk_text_buffer_finalize): move destroy
+       method contents in here, get rid of destroy method
+       (gtk_text_buffer_insert_range): Fix some g_return_if_fail checks
+       that were backward. Remove debug spew.
+       (cut_or_copy): Make the clipboard work with insert_range to
+       preserve tags and pixbufs, not just the primary selection.
+
 2000-11-07  Havoc Pennington  <hp@redhat.com>
 
        * gtk/gtktextmark.c (gtk_text_mark_is_visible): rename