]> Pileus Git - ~andy/gtk/blobdiff - ChangeLog.pre-2-0
Correctly keep the same text on the top of the screen, considering that
[~andy/gtk] / ChangeLog.pre-2-0
index 5a8453797ca8ea947efcea22c2a2c9b7d2db21f8..fd67c8733b56e217a7bba57d8ef5acf3457973b9 100644 (file)
@@ -1,3 +1,204 @@
+2001-10-23  Havoc Pennington  <hp@redhat.com>
+
+       * gtk/gtktextview.c (changed_handler): Correctly keep the same
+       text on the top of the screen, considering that the changed region
+       may have overlapped the first paragraph. Should fix msw's "text
+       widget scrolled to wrong place on map" bug, and probably some
+       other scrolling cases as well.
+       (gtk_text_view_set_scroll_adjustments): start adjustments at 0.0, 
+       instead of some random value
+
+       * gtk/gtktextview.c (gtk_text_view_class_init): actually override
+       grab_focus, so #59708 is really fixed
+
+2001-10-24  Anders Carlsson  <andersca@gnu.org>
+
+       * gtk/gtkentry.c: (append_action_signal): Use an image menu item here
+       (popup_targets_received): Call append_action_signal with stock items
+       
+       * gtk/gtklabel.c: (append_action_signal): Use an image menu item here
+       (gtk_label_do_popup): Call append_action_signal with stock items
+       
+       * gtk/gtktextview.c: (append_action_signal): Use an image menu item here
+       (popup_targets_received): Call append_action_signal with stock items
+
+2001-10-23  Havoc Pennington  <hp@redhat.com>
+
+       * gtk/gtktextview.c (changed_handler): queue a resize here; will
+       temporarily slow down the widget a lot, until we figure out how to
+       optimize to avoid full redraw everytime we queue a resize.
+
+2001-10-23  Havoc Pennington  <hp@redhat.com>
+
+       * gtk/gtktextiter.c (test_log_attrs): handle case where offset ==
+       0 and char_len == 0, bug #61729
+
+2001-10-23  Havoc Pennington  <hp@redhat.com>
+
+       * gtk/gtktextiter.c (gtk_text_iter_forward_cursor_positions): fix
+       return value, #61714 (Vitaly Tishkov)
+       (gtk_text_iter_backward_sentence_starts): ditto
+       (gtk_text_iter_backward_word_starts): ditto
+       (gtk_text_iter_forward_word_ends): ditto
+       (gtk_text_iter_forward_sentence_ends): ditto
+       (gtk_text_iter_backward_cursor_positions): ditto
+
+2001-10-23  Havoc Pennington  <hp@redhat.com>
+
+       * gtk/gtktextlayout.c (gtk_text_layout_get_iter_at_pixel): Apply
+       fix from Dov Grobgeld, #61858
+
+2001-10-23  Havoc Pennington  <hp@redhat.com>
+
+       * gtk/gtktextview.c (gtk_text_view_update_im_spot_location): 
+       Update IM spot location at appropriate times, #50626
+        (Hidetoshi Tajima)
+
+2001-10-23  Havoc Pennington  <hp@redhat.com>
+
+       * gtk/gtktextview.c (gtk_text_view_grab_focus): scroll to cursor
+       on grab focus, unless it's caused by button click, #59708
+
+Tue Oct 23 11:53:00 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/Makefile.am (INCLUDES): Remove G_DISABLE_CONST_RETURNS.
+
+       * gtk/gtkfontsel.[ch]: Make gtk_font_selection_get_font()
+       G_CONST_RETURN. (Murray Cumming)        
+
+       * gtk/gtkfontsel.c (gtk_font_selection_dialog_get_preview_text):
+       Make G_CONST_RETURN.
+
+       * gtk/gtkfilesel.c (open_user_dir): Fix bug with freeing
+       results of g_get_home_dir().
+
+       * gtk/gtkfilesel.c: Make filesel->fileop_file a duplicated 
+       copy. Storing the return from gtk_entry_get_text() is evil.
+
+       * gtk/gtkcombo.c gtk/gtkcellrenderertext.c gtk/gtkbindings.c 
+       gtk/gtkfilesel.c gtk/gtkfontsel.c gtk/gtkimmodule.c 
+       gtk/gtkobject.c gtk/gtkoldeditable.c gtk/gtktreedatalist.c
+       gtk/gtksignal.c: Add const.
+
+       * gdk/x11/gdkkeys-x11.c (get_direction): Add missing const.
+
+       * gtk/gtktreeview.c: Namespace object data keys to be safe, even 
+       if we are setting them on private widgets.
+
+       * gtk/gtktreeview.c (gtk_tree_view_real_start_interactive_search): 
+       Duplicate entry->text before setting it as object data.
+
+2001-10-22  Havoc Pennington  <hp@redhat.com>
+
+       * gtk/gtktextbuffer.c (gtk_text_buffer_place_cursor): don't back
+       up a char from the end iterator, fixes #61859 ("can't put cursor
+       at the end of the buffer")
+
+       * gtk/gtktextiter.c (gtk_text_iter_forward_to_line_end): fix this
+       to work with delimiters other than newline.
+
+       * tests/testtextbuffer.c: add some tests for get_chars_in_line,
+       get_bytes_in_line
+
+       * gtk/gtktextiter.c (gtk_text_iter_get_chars_in_line): fix for the
+       last line, since the newline is no longer counted.
+       (gtk_text_iter_get_bytes_in_line): ditto
+
+2001-10-22  Havoc Pennington  <hp@redhat.com>
+
+       * gtk/gtktextbtree.c (_gtk_text_btree_insert): add assertion that 
+       #58290 would trigger if it reappeared, I think
+
+2001-10-22  Havoc Pennington  <hp@redhat.com>
+
+       * gtk/gtktextiter.c (_gtk_text_iter_forward_indexable_segment):
+       add temporary code to dump btree contents on assertion failure
+       described in #62656
+       
+       * gtk/gtktextbtree.c (ensure_end_iter_segment): add some
+       assertions that we're getting the right end iter segment
+
+       * gtk/gtktextiter.c (_gtk_text_iter_forward_indexable_segment):
+       verify that we aren't on the end iterator after moving 
+       forward one segment - fixes return value in an obscure case. 
+       Also, some trivial code cleanup/rearranging.
+       
+2001-10-22  Havoc Pennington  <hp@redhat.com>
+
+       * gtk/gtktextlayout.h: add a #error unless you define
+       GTK_TEXT_USE_INTERNAL_UNSUPPORTED_API, so people don't use this accidentally
+
+        * gtk/gtktext*.c: #define GTK_TEXT_USE_INTERNAL_UNSUPPORTED_API as appropriate.
+       
+2001-10-22  Havoc Pennington  <hp@redhat.com>
+
+       * gtk/gtktextview.c (gtk_text_view_get_border_window_size): fix 
+       #62365
+
+2001-10-22  Havoc Pennington  <hp@redhat.com>
+
+       * gtk/gtktextview.c (gtk_text_view_get_window_type): fix 
+       #62436
+
+2001-10-22  Havoc Pennington  <hp@redhat.com>
+
+       * gtk/gtktextview.c (gtk_text_view_set_border_window_size): Fix 
+       #62366
+
+Mon Oct 22 11:47:47 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtklabel.c: Add cursor-position, selection-bound 
+       properties. (#62148, reported by Padraig O'Briain)
+
+       * gtk/gtkentry.c (gtk_entry_class_init): Rename text_position
+       to cursor_position. (1.3.x addition, text_position is an awful
+       name.) Make cursor_position read-only to avoid sticky questions
+       of interaction with selection_bound. (#62636, reported by
+       Padraig O'Briain)
+
+Mon Oct 22 16:25:12 2001  Owen Taylor  <otaylor@redhat.com>
+
+       Fixing popup menus to have "Paste" sensitized correctly. Original
+       patches from Damian Ivereigh, much mangled.
+
+       * gtk/gtkselection.c: Add functions gtk_selection_data_get_targets(),
+       gtk_selection_data_targets_include_text(). (#60854)
+
+       * gtk/gtkclipboard.c: Add a simple do-it-all non-async "check if
+       the clipboard has text" function gtk_clipboard_wait_is_text_available.
+       (#60854)
+
+       * gtk/gtkentry.c: Only enable the paste item if the clipboard
+       contains text. (#60973)
+
+       * gtk/gtktextview.c: Only enable the paste item if the clipboard
+       contains text. (#60975)
+
+2001-10-22  Havoc Pennington  <hp@redhat.com>
+
+       * gtk/gtktextview.c (gtk_text_view_class_init): rip out
+       "height_lines" and "width_columns" properties, it doesn't make
+       sense to set the size request on a text view really. #62103
+
+Mon Oct 22 15:17:05 2001  Jonathan Blandford  <jrb@redhat.com>
+
+       * gtk/gtktreestore.c (gtk_tree_store_iter_depth): Realized
+       g_node_depth is broken, and that it's not worth being consistent
+       with it.
+
+2001-10-22  Havoc Pennington  <hp@redhat.com>
+
+       * gtk/gtktextiter.c (gtk_text_iter_set_line): Clarify behavior in
+       docs, #61777
+       (gtk_text_iter_forward_search) (gtk_text_iter_backward_search):
+       change the two boolean args to a flags field, so we can extend 
+       to add case insensitive, regexp searches later. #61852
+
+Mon Oct 22 15:07:17 2001  Jonathan Blandford  <jrb@redhat.com>
+
+       * gtk/gtktreestore.c (gtk_tree_store_iter_depth): update docs to
+       reflect reality, #62810
+
 Mon Oct 22 14:08:26 2001  Jonathan Blandford  <jrb@redhat.com>
 
        * demos/gtk-demo/appwindow.c: Remove handle_box from App demo.
@@ -422,7 +623,6 @@ Fri Oct  5 19:06:07 2001  Kristian Rietveld  <kristian@planet.nl>
        it instead of "search-dialog" (when getting/setting the search dialog
        widget).
 
->>>>>>> 1.2409
 2001-10-05  Jakub Steiner <jimmac@ximian.com>
 
        * gtk/stock-icons/stock_broken_image.png: broken images icon
@@ -4472,7 +4672,7 @@ Mon Jun  4 12:50:11 2001  Owen Taylor  <otaylor@redhat.com>
 2001-06-04  Havoc Pennington  <hp@pobox.com>
 
        * gdk/x11/gdkevents-x11.c (gdk_event_translate): Ignore 
-       releases for buttons 6, 7
+r      eleases for buttons 6, 7
 
 2001-06-04  Havoc Pennington  <hp@redhat.com>