]> Pileus Git - ~andy/gtk/blobdiff - ChangeLog.pre-2-10
Add visible and visible_set args, don't know where these had gone, I
[~andy/gtk] / ChangeLog.pre-2-10
index 0554b29b631750ef0602fd9fba60394360940c2c..842f540d94c7ae7209b806c003a9f8244c37bcb1 100644 (file)
@@ -1,3 +1,300 @@
+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 
+       to gtk_text_mark_get_visible
+
+       * gtk/gtktextlayout.c (gtk_text_layout_move_iter_to_line_end): fix
+       bug that was generating an invalid iterator
+
+       * gtk/gtktextiter.c (gtk_text_iter_get_offset): move call to
+       ensure_char_offsets() in front of code placing the iter in an
+       invalid state.
+
+       * gtk/gtktextbuffer.c (gtk_text_buffer_paste_primary):
+       make override_location arg const
+       (paste): Replace the selection if we paste into the 
+       current selection
+
+       * gtk/gtkselection.h: Remove "GtkSelectioData"
+       (struct _GtkSelectionData): move the definition here.
+
+       * gtk/gtktextbuffer.c (gtk_text_buffer_update_primary_selection):
+       Export the GTK_TEXT_BUFFER_CONTENTS target for in-process copies
+
+       * gtk/gtktextiter.c (gtk_text_iter_get_tags): New function
+
+       * gtk/gtktextbuffer.c (gtk_text_buffer_insert_range): implement
+       (gtk_text_buffer_insert_range_interactive): implement
+       (gtk_text_buffer_get_tags): Remove, replaced by
+       gtk_text_iter_get_tags()
+
+       * gtk/gtktextiter.c (gtk_text_iter_forward_search): Add a search
+       limit parameter, to avoid infinite linear scan.
+       (gtk_text_iter_backward_search): Add search limit
+       (gtk_text_iter_forward_find_char): Add search limit
+       (gtk_text_iter_backward_find_char): Add search limit
+
+2000-11-07  Alexander Larsson  <alla@lysator.liu.se>
+
+       * gdk/linux-fb/gdkcolor-fb.c, gdk/linux-fb/gdkdnd-fb.c,
+       gdk/linux-fb/gdkgc-fb.c, gdk/linux-fb/gdkimage-fb.c,
+       gdk/linux-fb/gdkpango-fb.c, gdk/linux-fb/gdkpixmap-fb.c,
+       gdk/linux-fb/gdkwindow-fb.c:
+       use g_object_new() instead of g_type_create_instance() which
+       is a private function for fundamental type implementations.
+
+       * gdk/linux-fb/gdkinput-ps2.c:
+       Use MEDIUMRAW instead of RAW keycodes. Remove keyboard state-table
+       instead just store the current modifier state. Add a (somewhat broken)
+       keyboard input parser for XLATE mode too, if we couldn't use MEDIUMRAW.
+       Rename exported function gdk_input_ps2_get_mouseinfo to
+       gdk_input_get_mouseinfo.
+
+       * gdk/linux-fb/gdkmain-fb.c, gdk/linux-fb/gdkprivate-fb.h,
+       gdk/linux-fb/gdkwindow-fb.c:
+       gdk_input_ps2_get_mouseinfo was renamed to gdk_input_get_mouseinfo.
+       
+
+2000-11-02  Havoc Pennington  <hp@redhat.com>
+
+       * gtk/gtkfilesel.h, gtk/gtkfilesel.c: Derive from GtkDialog, and
+       use stock buttons. Should be 100% source compatible, appropriate
+       filesel fields now point to dialog->vbox and dialog->action_area.
+       On the bizarre side, dialog->action_area and filesel->action_area
+       are not the same widget.
+       (gtk_file_selection_init): Put some padding around the selection
+       entry, so it isn't touching the GtkDialog separator.    
+
+       * gtk/gtkfontsel.h, gtk/gtkfontsel.c: Derive from GtkDialog, 
+       use stock buttons, etc. Should also be source compatible.
+       Set the dialog default title in _init not _new().
+       
+       * gtk/gtkcolorseldialog.c (gtk_color_selection_dialog_init): 
+       Use stock buttons; don't put a button box inside the existing
+       dialog button box. Don't bother with push/pop colormap anymore.
+
+       * gtk/gtkdialog.h (GtkResponseType): Add a bunch of more 
+       specific GTK_RESPONSE_* values. This is clearer than ACCEPT/REJECT
+       for message dialog, and necessary for the font selection and color
+       selection with help and apply buttons.
+       
+       * gtk/gtkdialog.c (gtk_dialog_add_button): Return a pointer 
+       to the created button widget. Set GTK_CAN_DEFAULT on the button.
+       (gtk_dialog_init): Default to GTK_BUTTONBOX_END, put less spacing
+       between buttons, put less padding around the action area.
+       (gtk_dialog_run): Exit on unmap rather than on destroy. 
+       This will also exit the loop if the widget is hidden.
+       (gtk_dialog_delete_event_handler): Use GTK_RESPONSE_DELETE_EVENT
+       instead of GTK_RESPONSE_NONE; since we're already adding a bunch
+       of GTK_RESPONSE_* stuff, this seems cleaner, and lets you 
+       special-case delete event.
+
+       * gtk/gtktexttagtable.c, gtk/gtktextview.c: Fix doc comment
+       formatting
+       
+Sun Nov  5 05:32:39 2000  Tim Janik  <timj@gtk.org>
+
+       * gtk/testgtk.c (uposition_stop_configure): provide a toggle
+       button to temporarily disable position recording in the
+       "saved position" test.
+
+Sat Nov  4 05:37:17 2000  Tim Janik  <timj@gtk.org>
+
+       * gtk/gtkthemes.c: added compat code that temporarily implements
+       GtkThemeEnginePlugin as a GObject exporting GTypePlugin. this is
+       going to be revamped by owen's upcoming GtkModule patches, but
+       untill then people want gtk to build, right? ;)
+
+2000-11-04  Havoc Pennington  <hp@pobox.com>
+
+       * gtk/gtkenums.h: remove trailing comma from GtkDeleteType member
+       list
+
+       * docs/Changes-2.0.txt: Add note about
+       gtk_container_get_toplevels()
+
+       * gtk/gtktextview.h: formatting
+       
+       * gtk/gtktextview.c: don't start descriptions with "Returns",
+       confuses gtk-doc
+
+Sat Nov  4 10:12:27 2000  Owen Taylor  <otaylor@redhat.com>
+
+       * autogen.sh: When doing sanity checking on ACLOCAL_FLAGS,
+       look for glib-2.0.m4 not glib.m4. (Ali Abdin)
+
+2000-11-03  Havoc Pennington  <hp@redhat.com>
+
+       * gtk/gtktexttagtable.c: Docs
+       (gtk_text_tag_table_size): return a signed int
+
+       * gtk/gtktexttag.c: s/tkxt/text/g; write documentation
+       (gtk_text_tag_event): make the event_object a GObject
+
+       * gtk/gtktextview.c: Write API docs for all functions.
+
+       * gtk/gtktextview.h: add GTK_TEXT_WINDOW_PRIVATE as return value
+       for gtk_text_view_get_window_type() called on one of the private
+       windows.
+
+       * gtk/gtktextview.c: Instead of accessing text_view->buffer
+       directly, call get_buffer() which demand-creates a default
+       buffer. So gtk_text_view_new() can be used to create a view with a
+       default buffer in it, if you just want an empty text box users can
+       put data in. Useful for GUI builders also.
+
+2000-11-03  Pablo Saratxaga <pablo@mandrakesoft.com>
+
+       * gtk/gtkrc.zh_TW.*: moved gtkrc.zh_TW.Big5 to gtkrc.zh_TW.big5;
+       the charset encodign portion MUST be in lowercase.
+       * gtk/gtkrc.az: added file for Azeri language
+
+2000-11-03  Havoc Pennington  <hp@redhat.com>
+
+        Get widgets working on the btree/buffer side. Display of them 
+       still doesn't work.
+       
+       * gtk/gtktextview.c: start implementing child widget stuff
+
+       * gtk/gtktextiter.c (gtk_text_iter_get_child_anchor): new function
+
+       * gtk/gtktextlayout.c: handle embedded widgets
+
+       * gtk/gtktextdisplay.c: handle embedded widgets
+
+       * gtk/gtktextchild.c: Implement all the child anchor goo
+
+       * gtk/gtktextbuffer.c (gtk_text_buffer_create_child_anchor): New
+       function
+
+       * gtk/gtktextbtree.c: Add child anchor table to the btree struct
+       (insert_pixbuf_or_widget_segment): abstract out common portions of 
+       creating a child anchor or a pixbuf segment.
+       (gtk_text_btree_create_child_anchor): new function
+       (gtk_text_btree_unregister_child_anchor): new function
+
+       * gtk/gtkmarshal.list: added VOID:OBJECT,INT,INT for the
+       allocate_child signal on GtkTextLayout
+
+       * gtk/gtktextiter.c (gtk_text_iter_get_pixbuf): fix bogus return
+       values
+       (gtk_text_iter_get_child_anchor): new function
+
+       * gtk/gtktextbuffer.c (gtk_text_buffer_real_changed): Add a
+       default handler for the changed signal, which calls
+       gtk_text_buffer_set_modified(), instead of just always emitting
+       changed then calling set_modified() manually. I guess this is
+       maybe more flexible. It seems logical.
+
+Fri Nov  3 08:58:38 2000  Tim Janik  <timj@gtk.org>
+
+       * gtk/gtkobject.c: _g_signal_handlers_destroy() is prefixed with '_'
+       now.
+
+       * gtk/gtksignal.c: use g_signal_connect_closure_by_id() now.
+
+Thu Nov  2 14:10:51 2000  Owen Taylor  <otaylor@redhat.com>
+
+       * gdk/x11/gdkdnd-x11.c: Fix a bunch of functions that should have
+       been marked static.
+
 2000-11-02  Havoc Pennington  <hp@redhat.com>
 
        * gtk/testgtk.c (create_labels): had a test backward