]> Pileus Git - ~andy/gtk/blobdiff - ChangeLog.pre-2-4
Don't use zip -r on the etc directory, to avoid including editor backup
[~andy/gtk] / ChangeLog.pre-2-4
index 95b37d0b8326b04623628711c2e8569c6ffc7adc..cf317394788296103a729ee00fae036b0182c57e 100644 (file)
@@ -1,5 +1,136 @@
+2003-09-20  Tor Lillqvist  <tml@iki.fi>
+
+       * gtk-zip.sh.in: Don't use zip -r on the etc directory, to avoid
+       including editor backup files. List files we want explicitly.
+
+       * gtk/gtkmain.c (_gtk_get_lc_ctype): New function. On Unix, just
+       calls setlocale (LC_CTYPE, NULL). On Windows, looks for the
+       LC_ALL, LC_CTYPE and LANG environment variables, than calls
+       g_win32_getlocale().
+
+       (gtk_get_default_language): Code snippet moved to above function,
+       call it.
+
+       * gtk/gtkimmulticontext.c (gtk_im_multicontext_get_slave)
+       * gtk/gtkrc.c (gtk_rc_context_parse_file): Call
+       _gtk_get_lc_ctype() instead of setlocale().
+
+Fri Sep 19 18:15:31 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
+
+       * gtk/gtkpaned.c, gtk/gtkhpaned.c: implement RTL flipping
+       (#96632)
+
+Fri Sep 19 13:24:54 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
+
+       * gtk/gtktreeview.c (gtk_tree_view_get_cursor): Improve
+       documentation. (#117306, Steve Chaplin)
+
+2003-09-19  Tor Lillqvist  <tml@iki.fi>
+
+       * gdk/win32/gdkkeys-win32.c (update_keymap): Handle dead keysyms
+       present on the US-International keyboard. For clarity, order
+       keysyms in case statement according to numeric value.
+
+       (gdk_keymap_translate_keyboard_state): Handle Caps Lock
+       correctly. (#120176, Ken Rastatter and Owen Taylor)
+
+2003-09-18  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtkaction.c (gtk_action_finalize): Call g_closure_unref() to
+       unref a closure, not g_object_unref().  (#122637, Marco Pesenti Gritti)
+
+       Install accelerators on actions, not on proxies, support
+       accelerator-only actions:
+       
+       * gtk/gtkmenu.c (get_accel_path): New function to get the accel path
+       and its lock status either via _gtk_widget_get_accel_path() or by 
+       looking at the accel_path stored in the menu item itself and determining
+       its lock status by peeking into the contained accel label. This was
+       already (accidentally) committed a week ago.
+
+       * gtk/gtkaction.h (gtk_action_set_accel_group):
+       (gtk_action_[dis]connect_accelerator): New functions.
+
+       * gtk/gtkaction.c (struct _GtkActionPrivate): Add accel_group,
+       accel_closure and accel_count. We must have a reference to the 
+       accel_group, since we need it in connect_proxy. The count is necessary
+       to ensure that the accelerator isn't removed before the last proxy 
+       requesting it has been unmerged.
+       (connect_proxy): Connect the accelerator to the 
+       action now, only set the accel_path on the menuitem.
+       (remove_proxy): Disconnect the accelerator from the action, not from
+       the menuitem.
+       (gtk_action_set_accel_group): Set the accel group. 
+       (gtk_action_[dis]connect_accelerator): Count the number of times
+       this functions have been called and install/remove the accelerator if
+       the count leaves/reaches zero.
+
+       * gtk/gtkuimanager.h (GtkUIManagerItemType): Add 
+       GTK_UI_MANAGER_ACCELERATOR.
+
+       * gtk/gtkuimanager.c (NodeType): Add NODE_TYPE_ACCELERATOR.
+       (start_element_handler): Create NODE_TYPE_ACCELERATOR nodes from
+       <accelerator> elements.
+       (gtk_ui_manager_add_ui): Create NODE_TYPE_ACCELERATOR nodes when
+       type is GTK_UI_MANAGER_ACCELERATOR.
+       (update_node): Set the accel group on actions before creating their
+       proxies. Don't set the accel group on created menus. For 
+       NODE_TYPE_ACCELERATOR nodes, [dis]connect the actions' accelerator.
+       (print_node): Also emit <accelerator> elements.
+
+       * tests/testmerge.c (dump_accels): Add a "Dump Accels" button. 
+
+       * gtk/gtkuimanager.c (update_node): Robustness improvements.
+
+2003-09-17  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtkuimanager.c (text_handler): Report unexpected character
+       data as error from the GMarkup parser, otherwise things like
+       gtk_ui_manager_add_ui_from_string (ui, "Hi there!", -1, &error) 
+       pass unexpectedly.
+
+Wed Sep 17 02:38:53 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
+
+       * gtk/gtktoolbar.c (gtk_toolbar_class_init): revert accidentally
+       committed redraw_on_allocate change.
+
+Tue Sep 16 10:42:00 2003  Eric Warmenhoven  <eric@warmenhoven.org>
+
+       * gdk/linux-fb/gdkwindow-fb.c: Add gdk_window_set_keep_{above,below}
+       stubs to fix compilation
+
+       * gdk/linux-fb/gdkrender-fb.c: Add gdk_shadow_fb_stop_updates stub for
+       when shadowfb is disabled. Patch from pjm@cctechnol.com (#120847).
+
+       * gdk/linux-fb/gdkmouse-fb.c: Add GDK_MOUSE_DEVICE environment
+       variable. Patch from Marc Welz (#121347).
+
+2003-09-16  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtkaction.h: Apply egtk-format-protos.
+
 2003-09-15  Matthias Clasen  <maclas@gmx.de>
 
+       * gtk/gtkuimanager.c: Doc tweaks.
+
+       Smart separators; see 
+       http://mail.gnome.org/archives/gtk-devel-list/2003-September/msg00133.html:
+       
+       * gtk/gtkuimanager.c (update_smart_separators): New function which 
+       implements "smart" separators by iterating once over the entries of a 
+       menu, hiding and showing separators as necessary.
+       (update_node): Mark separators used as fences of placeholders as
+       hidden. Explicitly added separators are marked as smart. Call 
+       update_smart_separators after updating a menu or toolbar node. 
+       Connect update_smart_separators to "notify::visible" signal on menu
+       and tool items.
+       
+       * tests/merge-[12].ui: Test smart separators.
+
+       Changes to allow setting action state before connecting signal; see
+       the thread starting at 
+       http://mail.gnome.org/archives/gtk-devel-list/2003-September/msg00140.html:
+       
        * gtk/gtkactiongroup.[hc]: (gtk_action_group_add_radio_actions):
        (gtk_action_group_add_radio_actions_full): Add value parameter to allow
        setting the currently selected group member before connecting signals.