]> Pileus Git - ~andy/gtk/blobdiff - ChangeLog.pre-2-4
Fix direction of steppers in inverted scrollbars. (#129084, Olexiy
[~andy/gtk] / ChangeLog.pre-2-4
index c4e57051f3b2b256d452da089ea75e76be95c945..c2f55eb0a75e0b4333efe255be9745762a9c308a 100644 (file)
@@ -1,3 +1,364 @@
+Fri Dec 12 00:05:31 2003  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtkrange.c (gtk_range_scroll): Fix direction of 
+       steppers in inverted scrollbars.  (#129084, Olexiy Avramchenko)
+
+Thu Dec 11 23:50:30 2003  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtknotebook.c (gtk_notebook_pages_allocate): Don't 
+       unnecessarily reserve space for arrows in RTL mode.  (#129075,
+       Semion Chichelnitsky)
+
+Thu Dec 11 00:35:12 2003  Matthias Clasen  <maclas@gmx.de>
+
+       Changes to allow "no input" windows (#64613):
+       
+       * gdk/gdkwindow.h (struct _GdkWindowObject): Add a new boolean
+       field accept_focus.
+       
+       * gdk/gdkwindow.h (gdk_window_set_accept_focus): New function to
+       set it.
+
+       * gtk/gtkwindow.[hc]: Add a boolean property "accept_focus"
+       and gtk_window_get_focus() and gtk_window_set_focus().
+
+       * gdk/win32/gdkwindow-win32.c (gdk_window_new): 
+       * gdk/linux-fb/gdkwindow-fb.c (gdk_window_new): 
+       * gdk/x11/gdkwindow-x11.c (gdk_window_set_new):
+       Initialize the accept_focus field to TRUE.
+
+       * gdk/win32/gdkwindow-win32.c (gdk_window_set_accept_focus): 
+       * gdk/linux-fb/gdkwindow-fb.c (gdk_window_set_accept_focus): 
+       * gdk/x11/gdkwindow-x11.c (gdk_window_set_accept_focus): 
+       Implementations for the various backends. The Win32 and linux-fb
+       implementations set the accept_focus field, but don't use it yet 
+       to actually implement noinput windows. The X implementation updates
+       the WM_HINTS to select the globally active input model (see the
+       ICCCM) if accept_focus is FALSE.
+
+       * gdk/x11/gdkevents-x11.c (gdk_wm_protocols_filter): Ignore the
+       WM_TAKE_FOCUS message if accept_focus is FALSE.
+       
+2003-12-10  Federico Mena Quintero  <federico@ximian.com>
+
+       * gtk/gtkfilechooserdefault.c (struct _GtkFileChooserDefault):
+       Added toolbar items for the filter separator and the filter item.
+       (toolbar_create): Add the filter widgets here.
+       (filter_create): Renamed from create_filter().  Don't store the
+       alignment in the impl structure, just return it.
+       (toolbar_show_filters): New function.
+       (gtk_file_chooser_default_add_filter): Use toolbar_show_filters().
+       (gtk_file_chooser_default_remove_filter): Likewise.
+       (gtk_file_chooser_default_constructor): Don't create the filter
+       widget here.
+       (struct _GtkFileChooserDefault): Added a field for a current
+       folder label.
+       (gtk_file_chooser_default_constructor): Create the folder label.
+       (gtk_file_chooser_default_set_current_folder): Set the current
+       folder label.
+
+       * tests/testfilechooser.c (main): Dramatically improved the
+       usability of the extra widget through careful word choice.
+
+2003-12-10  Mark McLoughlin  <mark@skynet.ie>
+
+       * gdk/gdk.h: include gdkspawn.h.
+
+2003-12-10  Mark McLoughlin  <mark@skynet.ie>
+
+       * gdk/linux-fb/gdkspawn-fb.c,
+         gdk/win32/gdkspawn-win32.c,
+         gdk/x11/gdkspawn-x11.c: (gdk_spawn_command_line_on_screen):
+       s/gdk_spawn/gdk_spawn_on_screen/.
+
+2003-12-10  Mark McLoughlin  <mark@skynet.ie>
+
+       Utility functions for multi-screen applications which need
+       to ensure launched applications appear on a certain screen.
+       See bug #95897.
+       
+       * gdk/gdkspawn.h: header for multi-screen launching
+       support.
+       
+       * gdk/Makefile.am: install gdkspawn.h.
+       
+       * gdk/x11/Makefile.am:
+       * gdk/x11/gdkspawn-x11.c:
+       (gdk_spawn_make_environment_for_screen): private function
+       to create an environment vector with DISPLAY set appropriately
+       for the screen.
+       (gdk_spawn_on_screen): multi-screen version of g_spawn_async().
+       (gdk_spawn_on_screen_with_pipes): version of g_spawn_async_with_pipes().
+       (gdk_spawn_command_line_on_screen): version of g_spawn_command_line_async().
+       
+       * gdk/linux-fb/Makefile.am,
+         gdk/linux-fb/gdkspawn-fb.c: linux-fb impl.
+       
+       * gdk/win32/Makefile.am,
+         gdk/win32/gdkspawn-win32.c: win32 impl.
+
+2003-12-09  Federico Mena Quintero  <federico@ximian.com>
+
+       * gtk/gtkfilechooserdefault.c (shortcuts_append_home): Use "Home"
+       rather than "Username's Home" (#125964).
+       (shortcuts_selection_changed_cb): New callback, check the
+       sensitivity of the Remove Bookmark button at the right time.
+       (shortcuts_row_activated_cb): It is not necessary to check the
+       sensitivity here.
+
+Wed Dec 10 00:06:24 2003  Matthias Clasen  <maclas@gmx.de>
+
+       Improve the GDK API for dealing with group leaders (#119375):
+       
+       * gdk/gdkwindow.h: 
+       * gdk/x11/gdkwindow-x11.c (gdk_window_get_group): New function to 
+       get the group leader of a toplevel window as a GdkWindow.
+
+       * gdk/gdkdisplay.h: 
+       * gdk/x11/gdkdisplay-x11.c (gdk_display_get_default_group): New 
+       function to get the default group leader as a GdkWindow.
+
+       * gdk/x11/gdkdisplay-x11.h (struct _GdkDisplayX11): Add a field for
+       the GdkWindow of the default group leader.
+       
+       * gdk/x11/gdkdisplay-x11.c (gdk_display_open): Construct the GdkWindow
+       for the default group leader.
+
+2003-12-09  Noah Levitt  <nlevitt@columbia.edu>
+
+       * gdk/gdkkeysyms.h:
+       * gdk/gdkkeyuni.c: Add keysyms Ukrainian_ghe_with_upturn,
+       Ukrainian_GHE_WITH_UPTURN. (#128529)
+
+2003-12-08  Jan Arne Petersen  <jpetersen@uni-bonn.de>
+
+       * gtk/gtkfilechooserdefault.c:
+       (gtk_file_chooser_default_get_paths), (entry_activate): Use the
+       behavior of the GtkFileSelection to determine selected paths in
+       single selected, GTK_FILE_CHOOSER_ACTION_SAVE mode.
+
+2003-12-08  Federico Mena Quintero  <federico@ximian.com>
+
+       * gtk/gtkfilechooserdefault.c
+       (gtk_file_chooser_default_get_paths): Don't declare the closure
+       struct twice.
+       (get_paths_foreach): Likewise.
+
+Tue Dec  9 00:12:36 2003  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtkfilesystemwin32.[hc]: s/Unix/Win32/g. 
+
+2003-12-08  Tor Lillqvist  <tml@iki.fi>
+
+       * gdk/win32/gdkdisplay-win32.c: Use <multimon.h> when compiling
+       with MSVC and old headers. (#126933, John Ehresman)
+
+Mon Dec  8 10:54:44 2003  Owen Taylor  <otaylor@redhat.com>
+        
+       * === Released 2.3.1 ===
+
+       * NEWS: Updates for 2.3.1
+
+       * configure.in: Version 2.3.1, interface age 0, binary age 301.
+
+       * gtk/gtkmenuitem.c (gtk_menu_item_can_activate_accel):
+       Rename from gtk_menu_item_real_can_activate_accel() to
+       match GTK+ convention, improve comment.
+
+       * gtk/gtkwidget.c: Document gtk_widget_can_activate_accel(),
+       can ::can-activate-accel signal.
+
+       * gtk/gtkwidget.c (closure_accel_activate): Fix spelling
+       in comment.
+
+       * gtk/gtkmenu.c (gtk_menu_real_can_activate_accel): Clean 
+       up comment.
+       
+       * gtk/gtkcellview{,menuitem}.[ch]: Move GET_PRIVATE() macros
+       into the .c file.
+
+Mon Dec  8 12:09:21 2003  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkicontheme.c (find_builtin_icon): Fix a
+       missing 'else'. (#128816, Jorn Baayen)
+
+2003-12-02  Michael Meeks  <michael@ximian.com>
+
+       Based on a patch by Martin Kretzschmar; #122448
+       
+       * gdk/gdk.h: new gdk_threads_lock, gdk_threads_unlock, point to
+       implementation of GDK_THREADS_ENTER / GDK_THREADS_LEAVE.
+       (GDK_THREADS_ENTER, GDK_THREADS_LEAVE): use gdk_threads_[un]lock
+       function pointers. Deprecate the global gdk_threads_mutex variable.
+       
+       * gdk/gdk.c (gdk_threads_impl_lock, gdk_threads_impl_unlock): new,
+       extracted from GTK_THREADS_ENTER/LEAVE macros.
+       (gdk_threads_init): init gtk_threads_[un]lock if not set.
+       (gdk_threads_set_lock_functions): impl.
+
+       * gdk/gdkglobals.c: add definitions of gdk_threads_[un]lock.
+
+Sun Dec  7 23:45:40 2003  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtkicontheme.c (gtk_icon_theme_has_icon): Don't crash if
+       icon_theme_builtin_icons hasn't been initialized.  (#128726, Diego
+       Gonzalez)
+
+2003-12-07  Tor Lillqvist  <tml@iki.fi>
+
+       * gdk/win32/gdkwindow-win32.c (gdk_window_set_icon): Don't use the
+       return value from SendMessage(WM_SETICON). That is the old
+       icon. Fixes GDI resource leak. (#128559, Tim Evans)
+
+       * gdk/win32/gdkevents-win32.c (gdk_pointer_grab): If we already
+       have a pointer grab active with a grab cursor set, destroy that
+       cursor to avoid a GDI resource leak. (#128410, Tim Evans)
+
+2003-12-05  Paisa Seeluangsawat  <paisa@users.sf.net>
+
+        * configure.in: Added Thai (th) to ALL_LINGUAS.
+
+Sat Dec  6 01:42:04 2003  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtkalignment.c (gtk_alignment_size_allocate): Implement
+       RTL flipping for GtkAlignment.  (#127585)
+
+Sat Dec  6 01:13:09 2003  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtkcombo.c (gtk_combo_get_pos): Fix the position of the 
+       popup window when in RTL mode.  (#127578)
+
+Fri Dec  5 15:30:16 2003  Manish Singh  <yosh@gimp.org>
+
+       * gtk/gtkaccelgroup.c (quick_accel_find): Applied patch from
+       Ross McFarland <rwmcfa1@neces.com>, initialize *count_p to 0
+       before doing anything to prevent garbage returns.
+
+Sat Dec  6 00:23:46 2003  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtkviewport.c: Implement RTL flipping for 
+       GtkViewport: Adjust the "gravity" when resizing
+       This is a bit flickery in RTL mode.  (#107526)
+
+Sat Dec  6 00:22:14 2003  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtkscrolledwindow.c: Implement RTL flipping for 
+       GtkScrolledWindow: the vertical scrollbar shows up on the left
+       side in RTL mode.  (#107526)
+
+Fri Dec  5 01:58:33 2003  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtknotebook.c: Implement RTL flipping for GtkNotebook:
+       tabs displayed at the top/bottom are rearranged, and tabs on
+       the left/right are displayed at the opposite edge.  (#96630)
+
+2003-12-04  Mark McLoughlin  <mark@skynet.ie>
+
+       * gtk/gtklabel.c: (gtk_label_set_attributes_internal): Allow
+       gtk_label_set_attributes() take NULL. See bug #128517.
+
+2003-12-03  Federico Mena Quintero  <federico@ximian.com>
+
+       * gtk/gtkfilechooserentry.c (struct _GtkFileChooserEntry): Removed
+       the in_change flag.
+       (completion_idle_callback): Use a temporary list store and re-set
+       it on the completion rather than modifying the old one.  We are
+       re-reading the folder anyway, and this gets rid of non-atomicity
+       problems.
+
+2003-12-01  Federico Mena Quintero  <federico@ximian.com>
+
+       Decouple impl->current_folder from the selection in the folder
+       tree.  This is so that going to /home/federico/.foo (e.g. from a
+       bookmark) will work even if show_hidden == FALSE.  The folder tree
+       needs to be fixed in this case to show such folders explicitly.
+
+       * gtk/gtkfilechooserdefault.c
+       (gtk_file_chooser_default_set_current_folder): When changing
+       folders, do the entry and list model work here, instead of
+       tree_selection_changed().
+       (struct _GtkFileChooserDefault): Added a changing_folder flag
+       again, dum de dum.
+       (tree_selection_changed): Use _gtk_file_chooser_set_current_folder_path().
+
+Tue Dec  2 01:01:54 2003  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtkiconfactory.h: Remove duplicate declaration of 
+       gtk_icon_source_set_icon_name().  (#Jeff Franks, #128269)
+
+2003-12-01  Federico Mena Quintero  <federico@ximian.com>
+
+       Patch from Hans-Petter Jansson <hpj@ximian.com> to align the
+       bookmarks buttons with the location entry.
+
+       * gtk/gtkfilechooserdefault.c
+       (gtk_file_chooser_default_constructor): Use a GtkSizeGroup for the
+       bookmarks buttons and the location entry.
+
+2003-12-01  Federico Mena Quintero  <federico@ximian.com>
+
+       * gtk/gtkfilechooserdefault.c (create_shortcuts_tree): Set the
+       shortcuts tree as a drag destination.
+       (shortcuts_drag_data_received_cb): New callback.
+       (get_file_info): Also fetch information on whether the file is a folder.
+       (add_bookmark_button_clicked_cb): Use error_could_not_add_bookmark_dialog().
+       (error_could_not_add_bookmark_dialog): New function.
+       (shortcuts_add_bookmark_from_path): New helper function.
+       (add_bookmark_button_clicked_cb): Use shortcuts_add_bookmark_from_path().
+       (shortcuts_row_activated): We no longer need the changing_folder flag.
+       (struct _GtkFileChooserDefault): Likewise.
+
+Sun Nov 30 17:31:32 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
+
+       * gtk/gtktoolbar.c (slide_idle_handler): return TRUE if there are
+       disappearing placeholders that are still visible.
+
+       * gtk/gtktoolbar.c: formatting fixes
+
+       * gtk/gtktoolbar.c (struct _ToolbarContent): new bit:
+       disappearing, for placeholders that are going to disappear.
+
+       * gtk/gtktoolbar.c (get_item_size): return 0 for disappearing placeholders
+
+Sat Nov 29 00:55:28 2003  Jonathan Blandford  <jrb@gnome.org>
+
+       * gtk/gtktreeview.c (gtk_tree_view_new_column_width): 
+       * gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_realize_button):
+       Patch from <chinen@jp.ibm.com> to handle RTL support for column
+       resizers, #127874
+
+Fri Nov 28 00:26:24 2003  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtkfilesystemmodel.c (gtk_file_system_model_finalize): 
+       Don't use freed memory.  (#127698, Taavi Talvik) 
+
+Fri Nov 28 00:09:10 2003  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtkfilechooserentry.c: Remove debug g_print()s. 
+
+Thu Nov 27 22:17:50 2003  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtkuimanager.c: Remove debug define.
+
+Thu Nov 27 16:19:03 2003  Tim Janik  <timj@gtk.org>
+
+       * gtk/gtkmenu.c: allow accel activation depending on sensitivity
+       and the attach widget.
+
+       * gtk/gtkmenuitem.c: allow accel activation depending on visibility,
+       sensitivity and the parent menu.
+
+       * gtk/gtkwidget.[hc]: introduced ::can-activate-accel signal which
+       checks whether accelerators may activate a widget. the default handler
+       demands the widget be sensitive and visible+viewable.
+
+       * gtk/gtkaccelgroup.[hc]: export gtk_accel_group_activate().
+
+Tue Nov 25 00:10:05 2003  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtkuimanager.c (update_node): Don't show accelerators in
+       popup menus.  (#127227)
+
 Mon Nov 24 13:47:39 GMT 2003  Tony Gale <gale@gtk.org>
 
        * docs/faq/gtk-faq.sgml: start 2.x Section 4 updates
@@ -221,7 +582,7 @@ Mon Nov 17 16:25:04 2003  Manish Singh <yosh@gimp.org>
 
 Tue Nov 18 00:12:55 2003  Matthias Clasen  <maclas@gmx.de>
 
-       Fix for #119555, Peter Zelesny:
+       Fix for #119555, Peter Zelezny:
        
        * gdk/gdkdrawable.h: Declare gdk_drawable_copy_to_image.
        * gdk/gdkdraw.c (gdk_drawable_copy_to_image): Make public
@@ -663,7 +1024,7 @@ Wed Oct 29 15:40:26 2003  Owen Taylor  <otaylor@redhat.com>
        as worked previously. (#125759, Richard Hult)
 
        * gtk/gtkmessagedialog.c (gtk_message_dialog_new_with_markup):
-       Use g_markup_vprintf_escaped() to escape argumetns.
+       Use g_markup_vprintf_escaped() to escape arguments.
 
        * gtk/gtkmessagedialog.[ch]: Add gtk_message_dialog_set_markup()
        so there is some way to set literal markup.
@@ -709,10 +1070,6 @@ Tue Oct 28 10:34:24 2003  Owen Taylor  <otaylor@redhat.com>
        the is_active and has_toplevel_focus properties.
        (#122531)
 
-Tue Oct 28 10:18:55 2003  Owen Taylor  <otaylor@redhat.com>
-
-       * gtk/gtkwindow.c (gtk_window_is_active): 
-
 2003-10-28  Mark McLoughlin  <mark@skynet.ie>
 
        * gtk/gtkexpander.c:
@@ -740,7 +1097,7 @@ Tue Oct 28 09:21:29 2003  Owen Taylor  <otaylor@redhat.com>
 2003-10-28  Padraig O'Briain  <padraig.obriain@sun.com>
 
        * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_remove_filter):
-       Changew index to filter_index to fix compilation error.
+       Change index to filter_index to fix compilation error.
 
        * gtk/gtkfilesystem.h: Correct definition of gtk_file_path_get_string.