]> Pileus Git - ~andy/gtk/blobdiff - ChangeLog
Add rtl variants of undo, redo, undelete and revert. (#96633)
[~andy/gtk] / ChangeLog
index f0fa0c5089102af16f1165f366737158b8e13feb..713b4749745737467a02c065f1af6e750b09d006 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,487 @@
+2003-06-07  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtkiconfactory.c (get_default_icons): 
+       * gtk/stock-icons/stock_{undo,redo,undelete,revert}_rtl_{16,24}.png:
+       * gtk/stock-icons/Makefile.am: Add rtl variants of undo, redo,
+       undelete and revert.  (#96633)
+       
+Fri Jun  6 16:25:44 2003  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkviewport.c: Many fixes, along with extensive cleanups and 
+       refactoring of code to reduce duplication; fixes include:
+
+       - gtk_viewport_realize(): Position the window correct from adjustment 
+       values. (#110737, Michael Natterer)
+
+       - Remove some division-by-zero checks in places where there is no 
+       longer division. (#110737)
+
+       - gtk_viewport_class_init: Make the hadjustment/vadjustment properties 
+       G_PARAM_CONSTRUCT, so that there will always be adjustments, even 
+       if gtk_viewport_new isn't used (#101135, Thomas Leonard).
+
+       - Switch over to encapsulated lazy-creation for hadjustment/
+       vadjustment; even with the CONSTRUCT property, we need this after
+       destroy.
+
+       - When updating the adjustment, immediate set their values to
+       match the the current range of the viewport, and update the 
+       viewport position to match the value of the new adjustments. 
+       (Part of #1165)
+
+2003-06-06  Tor Lillqvist  <tml@iki.fi>
+
+       * gdk/win32/gdkprivate-win32.h: Fix typo.
+
+       * gdk/win32/gdkgc-win32.c (_gdk_win32_gc_new): Set
+       graphics_exposures and subwindow_mode, too, even if they aren't
+       currently used.
+
+Fri Jun  6 23:38:23 2003  Kristian Rietveld  <kris@gtk.org>
+
+       Merged from stable.
+
+       * gtk/gtktreeview.c (do_expand_collapse),
+       (expand_collapse_timeout), (cancel_arrow_animation): made
+       expand_collapse_timeout a wrapper with locks around     
+       do_expand_collapse, made cancel_arrow_animation use
+       do_expand_collapse. Fixes threadlock. (Fixes #111286, patch from
+       Peter Bloomfield).
+
+Fri Jun  6 11:05:45 2003  Hidetoshi Tajima  <hidetoshi.tajima@sun.com>
+
+       * modules/input/gtkimcontextxim.h (struct _GtkIMContextXIM):
+       * modules/input/gtkimcontextxim.c (preedit_start_callback,
+       preedit_draw_callback, preedit_done_callback): Add a 'finalizing' flag 
+       to keep preedit-[start,changed,end] signals from being called during
+       finalization (#111861).
+
+2003-06-05  Noah Levitt  <nlevitt@columbia.edu>
+
+       * gtk/gtknotebook.c (gtk_notebook_button_press): Ignore button
+       presses that are not on the tab (#114534).
+
+Thu Jun  5 20:35:40 2003  Owen Taylor  <otaylor@redhat.com>
+
+       * demos/Makefile.am: Conditionalize dependencies for
+       gdk-pixbuf-csource on cross-compilation (#112391, J. Ali Harlowe). 
+       Buildtest-inline-pixbufs.h in srcdir. Don't try to build 
+       test-inline-pixbufs.h if we don't have libpng.
+
+       * gtk/stock-icons/Makefile.am (gtkstockpixbufs.h): 
+       Add a dependency on gdk-pixbuf.loaders when not 
+       cross-compiling, remove the dependency on gdk-pixbuf-csource
+       when not cross compiling.
+
+Thu Jun  5 20:12:51 2003  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkwindow.c (gtk_window_get_default_size): Handle
+       gtk_window_get_geometry_info() returning NULL.
+       (#107311, John Finlay)
+
+Thu Jun  5 19:24:33 2003  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtktoolbar.c (gtk_toolbar_expose): Subtract off
+       twice the border width from the width/height, not
+       1x the border width. (#106336, Rodney Dawes)
+
+Thu Jun  5 15:33:38 2003  Owen Taylor  <otaylor@redhat.com>
+       * gtk/gtktextlayout.c (gtk_text_layout_move_iter_to_next_line):
+       If at the end of the buffer, move to the end iter -
+       parallels behavior of move_iter_to_previous_line.
+       (#81960, Padraig O'Briain)
+Thu Jun  5 16:12:54 2003  Owen Taylor  <otaylor@redhat.com>
+
+        #80023, Yao Zhang, TOKUNAGA Hiroyuki
+
+       * gtk/gtktextlayout.c (gtk_text_layout_get_cursor_locations):
+       Account for the preedit cursor offset if the iter passed
+       in is at the same place as the insertion cursor.
+
+       * gtk/gtktextview.c (gtk_text_view_get_cursor_location):
+       Encapsulate getting the insertion cursor location.
+
+       * gtk/gtktextview.c (gtk_text_view_update_im_spot_location):
+       Pass the real y/height to the IM context. Take 
+       text_view->x/yoffset into account.
+
+Thu Jun  5 16:52:54 2003  Owen Taylor  <otaylor@redhat.com>
+
+        * gtk/gtktextview.[ch]: Never scroll on focus in
+       (#81893, Patch from Paolo Maggi)
+
+       * gtk/gtktextview.c (gtk_text_view_scroll_[h]pages): 
+       Scroll to the current cursor location before handling
+       the action, in case the user just tabbed in
+       and the cursor is offscreen.
+
+Thu Jun  5 17:20:40 2003  Owen Taylor  <otaylor@redhat.com>
+        
+        #107883, Gustavo Giráldez
+
+       * gtk/gtktextlayout.c (gtk_text_layout_emit_changed):
+       Split out the case where we know we changed, and 
+       already dealt with our cached line being invalidated
+       from external calls to gtk_text_layout_changed.
+
+       * gtk/gtktextlayout.c (gtk_text_layout_changed):
+       Check if the invalidate yrange intersects our
+       cached line, and clear it if necessary.
+
+2003-06-05  Tor Lillqvist  <tml@iki.fi>
+
+       * gdk/win32/gdkevents-win32.c (gdk_event_translate): Handle global
+       filters.
+
+2003-06-05  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtktextview.c: Fix for #84668, reported by Torbjörn Andersson:
+       (gtk_text_view_grab_notify): 
+       (gtk_text_view_state_changed): Implement these
+       to unobscure cursor when grab shadowed or insensitised.
+       (gtk_text_view_unobscure_mouse_cursor): New function to undo the
+       effect of gtk_text_view_obscure_mouse_cursor(). Code lifted from
+       gtk_text_view_motion_event().
+       (gtk_text_view_motion_event): Use gtk_text_view_obscure_mouse_cursor().
+
+       * gtk/gtktextview.c (select_all): New keybinding signal for
+       (un)selecting the whole buffer. Bound to C-a/C-\.  (see #107889)
+
+       * gtk/gtkcalendar.c (calendar_timer): 
+       (stop_spinning): Replace deprecated gtk_timeout_* functions by
+       their GLib counterparts.  (#114429)
+
+       * gtk/gtktreestore.c (gtk_tree_store_new): 
+       * gtk/gtkliststore.c (gtk_list_store_new): Document restriction on 
+       types.
+
+Wed Jun  4 19:42:17 2003  Owen Taylor  <otaylor@redhat.com>
+
+       * gdk/gdkpango.c (gdk_draw_layout_line_with_colors):
+       When drawing underlines, join up adjacent runs
+       where possible, so we don't get changes in 
+       shaper/font/etc. breaking underlines. (#103662,
+       Kang Jeong-Hee)
+
+Wed Jun  4 19:22:58 2003  Jonathan Blandford  <jrb@redhat.com>
+
+       * gtk/gtktreemodelsort.c (gtk_tree_model_sort_level_find_insert):
+       Slightly modified patch from Owen Taylor <otaylor@redhat.com> to
+       improve the speed of inserting rows into an already sorted list,
+       #109292
+
+Wed Jun  4 19:24:28 2003  Owen Taylor  <otaylor@redhat.com>
+
+       * gdk/x11/gdkgc-x11.c gdk/x11/gdkprivate-x11.h: Keep
+       track of when we have a clip mask set for the GC,
+       and when we unset it, or switch to a clip region,
+       immediately call XSetClipMask (..., None) to avoid
+       Xlib caching stale data. (#111806)
+
+       * gtk/gtktextdisplay.c: Don't set a clip mask
+       when drawing alpha pixmaps; it isn't necessary any more.
+       (#111806)
+
+Wed Jun  4 18:27:44 2003  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkcheckbutton.c (gtk_real_check_button_draw_indicator): 
+       gtk/gtkradiobutton.c (gtk_radio_button_draw_indicator): 
+       Use GTK_WIDGET_IS_SENSITIVE(), not GTK_WIDGET_SENSITIVE
+       (#92548, Tim Evans)
+
+       * gtk/gtkcheckmenuitem.c (gtk_real_check_menu_item_draw_indicator)
+       gtk/gtkradiomenuitem.c (gtk_radio_menu_item_draw_indicator): If
+       Use state_type = STATE_INSENSITIVE for insensitive menu items.
+
+Wed Jun  4 21:25:35 2003  Kristian Rietveld  <kris@gtk.org>
+
+       Merged from stable.
+
+       * gtk/gtktreeview.c (gtk_tree_view_drag_begin): use a silent
+       assert for get_info. (reported by Michael Natterer),
+       (gtk_tree_view_expand_all_emission_helper),
+       (gtk_tree_view_expand_all_helper): emit row_expanded for all
+       expanded rows during an _expand_all operation. (Fixes #111280,
+       reported by Benjamin Bayart).
+
+Tue Jun  3 18:32:30 2003  Owen Taylor  <otaylor@redhat.com>
+
+       * gdk/x11/gdkevents-x11.c (gdk_wm_protocols_filter): Don't
+       respond to pings on a root window; prevents infinite
+       loops if we are selecting for SubstructureNotify on the
+       root window. (#111945, Sergey V. Udaltsov)
+
+Tue Jun  3 17:39:16 2003  Owen Taylor  <otaylor@redhat.com>
+
+       #71597, reported by Morten Welinder
+
+       * gdk/gdkpixbuf-drawable.c (rgb888amsb): Fix and simplify
+       (Patch from Christian Petig)
+
+       * gdk/gdkpixbuf-drawable.c (rgb{555,565}{a,}{msb,lsb}):
+       Major rewrite of 555 and 565 conversion routines:
+
+       - Move all the bit shifting into a small block of macros,
+         eliminating much duplication of complicated arithmetic.
+       - Get rid of 2-pixels at a time code, which was buggy,
+         hard to maintain, caused unaligned accesses, and
+         probably didn't actually perform any better.
+       - Simplify cases where different data types were
+         used for the little and big endian cases, use
+         GUINT16_SWAP_LE_BE() where appropriate.
+               
+Tue Jun  3 15:05:47 2003  Owen Taylor  <otaylor@redhat.com>
+
+       * gdk/x11/gdkdrawable-x11.c (convert_to_format): Remove
+       bad optimization for src_rowstride == dest_stride.
+       (Didn't consider the case where we were copying only
+       partial widths of a wider source buffer)
+       (#113034, reported by Hans Petter Jansson)
+
+2003-06-03  Michael Natterer  <mitch@gimp.org>
+
+       * gdk/x11/gdkinput-x11.c (_gdk_input_common_find_events):
+       reenabled button_release events for xinput devices. (#113948)
+
+2003-06-03  Christian Rose  <menthos@menthos.com>
+
+       * configure.in: Added "li" to ALL_LINGUAS.
+
+Mon Jun  2 18:58:54 2003  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtknotebook.c (gtk_notebook_size_allocate): Don't
+       map the event window if the notebook isn't mapped. (#113980,
+       Richard Reich)
+
+2003-06-02  Sven Neumann  <sven@gimp.org>
+
+       * gtk/gtkprogress.c (gtk_progress_changed): added a missing cast.
+
+       * gdk/gdkrgb.c (gdk_rgb_try_colormap): removed an unused variable.
+
+2003-06-01  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtkalignment.c (gtk_alignment_[gs]et_padding): Add 
+       Since: 2.4 to the docs.
+
+       * gtk/gtkwindow.c (gtk_window_parse_geometry): Add some hints and
+       an example to the docs.  (#98427)
+
+2003-05-30  Murray Cumming  <murrayc@usa.net>
+
+       * gtk/gtkalignment.[h|c]: Added 4-sided padding as properties with
+       gtk_alignment_get_padding() and gtk_aligment_set_padding(). This
+       uses the new private data system - see g_type_class_add_private() in
+       gtk_alignment_class_init() and the use of GTK_ALIGNMENT_GET_PRIVATE().
+
+2003-05-30  Matthias Clasen  <maclas@gmx.de>
+       
+       * gtk/gtknotebook.c: Changed guint to GtkNotebookArrow in the
+       signature of gtk_notebook_draw_arrow() for Solaris builds to go
+       through.  (#114043, Anand Subramanian)
+
+Thu May 29 18:30:35 2003  Hidetoshi Tajima  <hidetoshi.tajima@sun.com>
+
+       * modules/input/imipa.c: 
+       use GETTEXT_PACKAGE to get a translation for "ipa"(#113850).
+
+Thu May 29 18:08:01 2003  Hidetoshi Tajima  <hidetoshi.tajima@sun.com>
+
+       * gtk/gtkimmodule.c (_gtk_im_module_list):
+       use GETTEXT_PACKAGE to get a translation for "Default"(#113850).
+
+Thu May 29 09:34:05 2003  Hidetoshi Tajima  <hidetoshi.tajima@sun.com>
+
+       * gtk/gtkimmodule.c (_gtk_im_module_list): make "Default"
+       label of default input method localizable.
+       * gtk/gtkimmulticontext.c (gtk_im_multicontext_append_menuitems): 
+       use translations of input method context names
+       * modules/input/imam-et.c, modules/input/imcyrillic-translit.c,
+         modules/input/iminuktitut.c, modules/input/imthai-broken.c,
+         modules/input/imti-er.c, modules/input/imti-et.c
+         modules/input/imviqr.c, modules/input/imxim.c
+       use GETTEXT_PACKAGE instead of "gtk+" for domain name.
+       (#113850).
+
+Thu May 29 18:23:01 2003  Kristian Rietveld  <kris@gtk.org>
+
+       Merged from stable.
+
+       * gtk/gtktreeview.c (gtk_tree_view_button_press): put the focus
+       grab separate, the user might clear the tree in the focus-in
+       callback. (Fixes #113086, testcase from Felipe Heidrich).
+
+Thu May 29 18:06:26 2003  Kristian Rietveld  <kris@gtk.org>
+
+       Merged from stable.
+
+       * gtk/gtktreeview.c (gtk_tree_model_set_model): reset a bunch
+       of row reference when we unset the model. Also reset
+       dy and top_row_dy. (Fixes #109289, patch from Owen Taylor).
+
+Thu May 29 17:12:19 2003  Kristian Rietveld  <kris@gtk.org>
+
+       Merged from stable.
+
+       * gtk/gtktreeview.c (gtk_tree_view_set_cursor_on_cell): cancel
+       the current editing, if it exists. (Fixes #108956, reported by
+       Michael Natterer).
+
+Thu May 29 17:06:09 2003  Kristian Rietveld  <kris@gtk.org>
+
+       Merged from stable.
+
+       * gtk/gtktreeview.c (check_selection_helper): new function,
+       (gtk_tree_view_row_deleted): traverse the tree from the
+       deleted node to see whether the selection changed, instead of
+       just checking this node. (Fixes #107400, reported by 'Duncan').
+
+Thu May 29 16:31:34 2003  Kristian Rietveld  <kris@gtk.org>
+
+       Merged from stable.
+
+       * gtk/gtktreeview.c (gtk_tree_view_maybe_begin_dragging_row),
+       (gtk_tree_view_drag_begin): set the DnD icon in _drag_begin
+       instead of _maybe_begin_dragging_row, so the icon can be
+       overridden by apps. (Fixes #104374, patch from Daniel Elstner).
+
+Thu May 29 16:14:04 2003  Kristian Rietveld  <kris@gtk.org>
+
+       Merged from stable.
+
+       * gtk/gtktreeview.c (gtk_tree_view_start_editing): correct
+       cell_area x/width for the expander if needed. (Fixes #101748,
+       reported by Dave Cook and Mariano Suarez-Alvarez).
+
+Thu May 29 16:01:38 2003  Kristian Rietveld  <kris@gtk.org>
+
+       Merged from stable.
+
+       * gtk/gtktreeview.c (gtk_tree_view_real_set_cursor): check
+       if tree/node are still the same after _internal_select_node.
+       (Fixes #92256, reported by edscott).
+
+Thu May 29 15:38:30 2003  Kristian Rietveld  <kris@gtk.org>
+
+       Fixes #75745, reported by Richard Hult. Merged from stable.
+
+       * gtk/gtktreeview.c (gtk_tree_view_bin_expose): set/unset
+       GTK_CELL_RENDERER_FOCUSED flag whether the current node is the
+       cursor or not.
+
+       * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action):
+       if we are rendering a cursor row, and the cell the be
+       processed has focus, then set the GTK_CELL_RENDERER_FOCUSED
+       flag (else we unset it).
+
+2003-05-27  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtkwindow-decorate.c: 
+       * gtk/gtktreeprivate.h: 
+       * gtk/gtkdnd.c: 
+       * gdk/win32/gdkwindow-win32.h: 
+       * gdk/linux-fb/gdkprivate-fb.h: 
+       * gdk/linux-fb/gdkkeyboard-fb.c: Remove dubious bitfields of
+       unspecified signedness.  (#112919, Morten Welinder)
+
+       * gtk/queryimmodules.c (escape_string): 
+       * gtk/gtktextbtree.c (_gtk_text_btree_get_text): 
+       * gtk/gtksettings.c (_gtk_settings_parse_convert): 
+       * gtk/gtkrc.c (gtk_rc_parse_assignment): 
+       * gtk/gtkinputdialog.c (gtk_input_dialog_set_key): 
+       * gdk/x11/gdkdisplay-x11.c (escape_for_xmessage): Replace all 
+       occurances of g_string_new ("") by g_string_new (NULL). (#106975,
+       Morten Welinder) 
+
+2003-05-27  Tor Lillqvist  <tml@iki.fi>
+
+       * gtk-zip.sh.in: Only include the Default and Emacs themes' gtkrc
+       files. Include share/gtk-doc/{gdk-pixbuf,gdk,gtk}.
+
+       * gdk/Makefile.am: libgdk-win32-2.0.la depends on
+       win32/libgdk-win32.la.
+
+       * gtk/gtk.def: Add gtk_tree_view_column_cell_get_position.
+
+Sat May 24 22:19:13 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
+
+       * gtk/gtkscrollbar.c (gtk_scrollbar_class_init): Make the minimum
+       scrollbar slider length 21 instead of 7.
+
+2003-05-23  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtknotebook.c: Add support for up to four scroll
+       arrows. Control their display by new style properties
+       "has_forward_stepper", "has_backward_stepper",
+       "has_secondary_forward_stepper" and
+       has_secondary_backward_stepper". (#110540)
+
+       * gtk/gtknotebook.h (struct _GtkNotebook): Make in_child and
+       click_child three bits wide, add
+       has_{before,after}_{previous,next} fields.
+
+       * gtk/gtkcolorsel.c (gtk_color_selection_init): Update color on
+       focus out of hex_entry.  (#112665)
+       (hex_focus_out): New signal handler for focus out of hex entry.
+
+Wed May 21 19:01:06 2003  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkwidget.c (gtk_widget_realize): 
+       g_return_if_fail() if
+       GTK_WIDGET_ANCHORED (widget) || GTK_IS_INVISIBLE (widget).
+       (#107872, Christian Reis)
+
+2003-05-22  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtkfilesel.c (gtk_file_selection_create_dir): 
+       (gtk_file_selection_rename_file): Some keynav improvements for the
+       "Rename File" and "Create Directory" subdialogs: Enter in entry
+       activates default, default is "Create"/"Rename", Escape cancels
+       dialog.  (#113110)
+       (gtk_file_selection_set_filename): Add a hint about opening 
+       directories.  (#113175)
+
+2003-05-22  Matthias Clasen  <maclas@gmx.de>
+
+       * gdk/x11/gdkdrawable-x11.c (gdk_x11_drawable_update_xft_clip):
+       Use XftDrawSetClipRectangles(), since we're inside HAVE_XFT2
+       anyway.  (#113476)
+
+Wed May 21 15:53:14 2003  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkprogress.c (gtk_progress_set_format_string,
+       gtk_progress_set_show_text): Always queue a resize ... 
+       we rely on the size-allocate to do the update, plus a 
+       different format can actually change our size requisition.
+       (#111052, Vasco Alexandre da Silva Costa)
+
+       * gtk/gtkprogress.c (gtk_progress_changed): Track
+       ::changed as well as ::value_changed, and queue a
+       resize on ::changed when necessary.
+
+       * gtk/gtkprogress.c (gtk_progress_set_adjustment): 
+       Call gtk_progress_changed() here to update or 
+       queue a resize as necessary.
+
+Wed May 21 14:06:13 2003  Hidetoshi Tajima  <hidetoshi.tajima@sun.com>
+
+       * gtk/gtkimcontextsimple.c: added composing rules of
+       Greek accented letters, patch by Vasilis Vasaitis (#107507)
+
+Wed May 21 13:19:05 2003  Hidetoshi Tajima  <hidetoshi.tajima@sun.com>
+
+       * gtk/gtkenums.h (enum GtkIMPreeditStyle, GtkIMStatusStyle): 
+       * modules/input/gtkimcontextxim.c (preedit_style_change, status_style_change):
+       gtk settings for XIMPreeditNone and XIMStatusNone. (#105909)
+
+Wed May 21 12:10:25 2003  Hidetoshi Tajima  <hidetoshi.tajima@sun.com>
+
+       * gtk/gtkimcontextsimple.c: 
+       code that can check the compose table for ascending order,
+       by Vasilis Vasaitis (#104862).
+
 Wed May 21 12:52:01 2003  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/gtkkeyhash.[ch] (_gtk_key_hash_looku): We need 
@@ -17,6 +501,8 @@ Tue May 20 21:58:00 2003  Hidetoshi Tajima  <hidetoshi.tajima@sun.com>
 
 2003-05-21  Matthias Clasen  <maclas@gmx.de>
 
+       * configure.in (all_loaders): Add pcx.
+
        * gtk/gtkcalendar.c: Make calendar controls spin.  (#112540)
 
 Tue May 20 17:27:24 2003  Owen Taylor  <otaylor@redhat.com>