]> Pileus Git - ~andy/gtk/blobdiff - ChangeLog.pre-2-8
Fix prelighting. (#157392, Vincent Noel, patch by Christian Persch)
[~andy/gtk] / ChangeLog.pre-2-8
index 2a0c90431ba86ec48c0c6ba68ab99e237d2f5bf9..b97f3831af0f89e7ea583c3505446656f0f3905d 100644 (file)
@@ -1,3 +1,481 @@
+2005-03-01  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkmenutoolbutton.c (button_state_changed_cb): 
+       Fix prelighting.  (#157392, Vincent Noel, patch by
+       Christian Persch)
+
+       * gtk/gtkicontheme.c (theme_lookup_icon): Make 
+       icon data caching work again.  (#168851, Alexander Larsson)
+
+       * gdk-pixbuf/gdk-pixbuf.c:
+       * gdk-pixbuf/gdk-pixbuf-features.h.in:
+       Revert the previous change, since it breaks
+       bin compat.
+
+2005-03-01  Matthias Clasen  <mclasen@redhat.com>
+
+       * gdk/gdkkeyuni.c
+       * gdk/gdkpixbuf-drawable.c
+       * gdk/gdkrgb.c
+       * gdk/x11/gdkdnd-x11.c
+       * gdk/x11/gdkevents-x11.c
+       * gdk/x11/gdkproperty-x11.c
+       * gdk/x11/gdkvisual-x11.c
+       * gdk-pixbuf/gdk-pixbuf.c
+       * gdk-pixbuf/gdk-pixbuf-features.h.in
+       * gtk/gtkaction.c
+       * gtk/gtkbindings.c
+       * gtk/gtkcolorbutton.c
+       * gtk/gtkcombo.c
+       * gtk/gtkcontainer.c
+       * gtk/gtkfilechooserdefault.c
+       * gtk/gtkfilesel.c
+       * gtk/gtkgamma.c
+       * gtk/gtkiconview.c
+       * gtk/gtkinputdialog.c
+       * gtk/gtkitemfactory.c
+       * gtk/gtkmenu.c
+       * gtk/gtktextview.c
+       * gtk/gtktooltips.c
+       * gtk/gtktreedatalist.c
+       * gtk/gtkuimanager.c
+       * gtk/tree_minus.xpm
+       * gtk/tree_plus.xpm
+       * gtk/xdgmime/xdgmime.c
+       * gtk/xdgmime/xdgmime.h: 
+       Move constant data to .rodata.
+
+2005-02-27  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkaction.c (connect_proxy): Improve the handling
+       of buttons as action proxys.  (#165534, Milosz Derezynski)
+
+       * gtk/gtklabel.c (gtk_label_size_request): Fix a typo.
+       (#168646, Vincent Untz)
+
+       * gtk/gtkfilechooserdefault.c (save_folder_combo_create): 
+       Unset "focus-on-click" for the save folder combo.  (#168688,
+       Sven Neumann)
+
+2005-02-25  Matthias Clasen  <mclasen@redhat.com>
+
+       * demos/testpixbuf.c (main): Remove a C++ comment.  (#168531, 
+       Paul Cornett)
+
+       * gtk/gtkcombobox.c (gtk_combo_box_menu_fill_level): Don't leak a 
+       path here.  (#168443, Morten Welinder)
+
+2005-02-24  Robert Ögren  <gtk@roboros.com>
+
+       Implement better handling of Wintab tablet context overlap on
+       Win32. (#167298)
+
+       * gdk/win32/gdkinput-win32.c (_gdk_input_set_tablet_active): New
+       function that brings any tablet contexts to the top of the overlap
+       order.
+       * gdk/win32/gdkinput-win32.h: Declare _gdk_input_set_tablet_active ()
+       * gdk/win32/gdkevents-win32.c (gdk_event_translate):
+       Call _gdk_input_set_tablet_active when a window is activated (on
+       WM_ACTIVATE)
+
+2005-02-24  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_select_path): 
+       Don't leak parent_path.  (#168435, Morten Welinder)
+
+Thu Feb 24 14:20:16 2005  Søren Sandmann  <sandmann@redhat.com>
+
+       * gtk/gtkstyle.c: Add
+
+       g_return_if_fail (style->depth == gdk_drawable_get_depth(window));
+
+       all over the place.
+
+2005-02-24  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkcombobox.c: Consistently use gtk_tree_row_reference_valid().
+       (gtk_combo_box_model_row_deleted): Update the displayed row in 
+       the cell_view.  (#167842, Gustavo Carneiro)
+
+2005-02-24  Matthias Clasen  <mclasen@redhat.com>
+
+       Fix #167259, reported by  Christian Persch:
+       
+       * gtk/gtkwidget.c (gtk_widget_unparent): Unmap the reparented 
+       widget, even if we avoid the unrealizing. 
+       (gtk_widget_reparent_subwindows): Make reparenting work for
+       !NO_WINDOW widgets which have other windows which are siblings
+       of widget->window (as e.g. GtkSpinButton).
+
+2005-02-24  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_changed): 
+       Don't emit a warning if a parent node is filtered out. (#164726,
+       Olivier Sessink)
+
+2005-02-23  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtklabel.c (gtk_label_style_set): Revert the last 
+       change, since gtk_widget_set_style_internal() already
+       queues a resize.
+
+2005-02-23  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtklabel.c (gtk_label_style_set): Queue a resize, since
+       fonts may have changed.  (#164128, Phil Blundell)
+
+       * gtk/gtkaboutdialog.c (gtk_about_dialog_init) 
+       (gtk_about_dialog_new): Move initialization code from _new to 
+       _init.  (#168249, Murray Cumming) 
+
+Wed Feb 23 17:34:01 2005  Jonathan Blandford  <jrb@redhat.com>
+
+       * gtk/gtktreeview.c (gtk_tree_view_node_queue_redraw): Patch from
+       jorn@nl.linux.org (Jorn Baayen) to notice changes to fixed-height
+       widgets.
+
+2005-02-23  Tor Lillqvist  <tml@novell.com>
+
+       * gdk/win32/gdkkeys-win32.c (update_keymap): Workaround for bug in
+       MapVirtualKey(VK_DIVIDE, 0) in some Windows versions. (#142998)
+
+Tue Feb 22 13:49:09 2005  Manish Singh  <yosh@gimp.org>
+
+       * gtk/updateiconcache.c: #include <config.h>
+
+2005-02-22  Federico Mena Quintero  <federico@ximian.com>
+
+       Merged from gtk-2-6:
+
+       Fix #164940, patch by Ben Maurer and Tommi Komulainen.
+
+       * gdk/gdkrgb.c (gdk_rgb_convert_565_d): Constify the "dmp" variable.
+       (gdk_rgb_convert_565_d): Likewise.
+       (DM_565): Made a static const precomputed array to avoid
+       allocating it at runtime.
+       (gdk_rgb_preprocess_dm_565): #ifdef out.
+
+2005-02-20  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkwindow.c: 
+       * gtk/gtkclipboard.c: Fix links to freedesktop.org specs
+       in the documentation.
+
+       * gdk/x11/gdkdrawable-x11.c (_gdk_x11_have_render_with_trapezoids): 
+       Set have_render_with_trapezoids to GDK_YES when we have 
+       a new enough Render extension.  (#167965,Billy Biggs) 
+
+       * gtk/gtkwindow.c (gtk_window_present): Use the timestamp of
+       the last user interaction when focusing the window.  (#166379, 
+       Elijah Newren)
+
+Thu Feb 17 14:58:16 2005  Manish Singh  <yosh@gimp.org>
+
+       * gtk/gtkuimanager.c (start_element_handler): make sure expand
+       is initialized, cast to GTK_SEPARATOR_TOOL_ITEM.
+
+Thu Feb 17 14:52:57 2005  Manish Singh  <yosh@gimp.org>
+
+       * gtk/gtkcombobox.c: Pass gtk_widget_get_toplevel() a GTK_WIDGET.
+
+2005-02-16  Matthias Clasen  <mclasen@redhat.com>
+
+       * docs/iconcache.txt: Add some information about the
+       icon cache format (since I can't locate it at freedesktop.org)
+
+       Fixes for #143829, Tommi Komulainen, Christian Persch:
+       
+       * gtk/gtktreeview.c (gtk_tree_view_destroy): Remove the
+       typeselect_flush_timeout when destroying the widgets
+       it is operating on.  
+       (gtk_tree_view_ensure_interactive_directory): Add the 
+       popup to the window group of the toplevel it belongs to.
+
+       * gtk/gtkcombobox.c (gtk_combo_box_set_popup_widget) 
+       (gtk_combo_box_popup): Do the same here. 
+
+2005-02-14  Matthias Clasen  <mclasen@redhat.com>
+
+       * configure.in: Kill --enable-ansi  (#164394)
+
+2005-02-11  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkpathbar.c (gtk_path_bar_finalize): Stop scrolling 
+       when the pathbar goes away.  (#167094, Rodney Dawes)
+       (change_icon_theme): Use GTK_ICON_SIZE_MENU here as 
+       well  (Vincent Noel)
+
+2005-02-11  Matthias Clasen  <mclasen@redhat.com>
+
+       Support vertical menubars  (#166632): 
+       
+       * gtk/gtkenums.h (GtkPackDirection): New enumeration for pack 
+       directions, with values for left-to-right, right-to-left, 
+       top-to-bottom and bottom-to-top.
+
+       * gtk/gtk.symbols: 
+       * gtk/gtkmenubar.h: 
+       * gtk/gtkmenubar.c: Add two properties, pack-direction and
+       child-pack-direction, which specify how children and 
+       grandchildren of a menubar are packed, with getters and setters. 
+
+       * gtk/gtkmenubar.c (gtk_menu_bar_set_property): 
+       (gtk_menu_bar_get_property): Implement set_property and get_property.
+
+       * gtk/gtkmenubar.c (gtk_menu_bar_size_request): 
+       (gtk_menu_bar_size_allocate): Take pack direction into account.
+
+       * gtk/gtkmenubar.c (gtk_menu_bar_move_current): Implement 
+       move_current here move all the menubar-specific direction 
+       tweaking from the generic menushell implementation here.
+
+       * gtk/gtkmenu.c (gtk_menu_move_current): Move  menu-specific 
+       direction tweaking from the generic menushell implementation here.
+
+       * gtk/gtkmenuitem.c (gtk_menu_item_size_request): 
+       (gtk_menu_bar_size_allocate): Take pack direction into account.
+
+       * gtk/gtkimagemenuitem.c (gtk_image_menu_item_size_request) 
+       (gtk_image_menu_item_size_allocate): 
+       (gtk_image_menu_item_toggle_size_request): Take child pack 
+       direction into account and pack the image vertically if
+       necessary.
+
+       * gtk/gtkmenushell.c (gtk_menu_shell_real_select_item):
+       Set the submenu direction to left-right for menuitems in 
+       vertical menubars.
+       (gtk_real_menu_shell_move_current): Simplify by moving
+       direction tweaking to menu- and menubar-specific 
+       implementations. Take pack direction into account when
+       doing fallbacks.
+
+       * tests/testmenubars.c: Test menubars in various packing
+       direction combinations.
+
+       * tests/Makefile.am (noinst_PROGRAMS): Add testmenubars.
+
+2005-02-11  Matthias Clasen  <mclasen@redhat.com>
+
+       Complete the fix for #165770, Vincent Noel:
+       
+       * gtk/gtkfilechooserbutton.c (FALLBACK_ICON_SIZE): Make the
+       fallback size be 16, to be equal to the default for
+       GTK_ICON_SIZE_MENU (in gtkiconfactory.c:init_icon_sizes()).
+       (gtk_file_chooser_button_init):
+       (change_icon_theme): Use GTK_ICON_SIZE_MENU instead of
+       GTK_ICON_SIZE_SMALL_TOOLBAR. 
+
+2005-02-09  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkmenushell.c (gtk_real_menu_shell_move_current): Fix RTL
+       keynav for going from menubar to menu.
+
+2005-02-08  Christian Rose  <menthos@menthos.com>
+
+       * configure.in: Added "xh" to ALL_LINGUAS.
+
+2005-02-08  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkuimanager.c (start_element_handler): Accept 
+       the "expand" attribute and set a flag in the node if it
+       is set to "true".
+       (update_node): If the expand flag is set, make separator
+       toolitems non-drawn and expanding.  (#166489, Christian Persch)
+
+2005-02-05  Hans Breuer  <hans@breuer.org>
+
+       * gdk/makefile.msc gdk/win32/makefile.msc gtk/makefile.msc.in :
+       build with Cairo dependency. The patch to acually use Cairo
+       on win32 will be on gtk-devel-list soon.
+       * tests/makefile.msc : add testcairo building
+
+       * gtk/stock-icons/makefile.msc : split command line into two to
+       work with the shells default
+
+Fri Feb  4 14:16:31 2005  Manish Singh  <yosh@gimp.org>
+
+       * gtk/gtkaccelgroup.c (substitute_underscores): remove unused
+       function.
+
+       * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_render):
+       Add some extra parens for bitop order of operations disambiguiation.
+
+       * gtk/gtkstock.c: Fix const confusion, make our own copy of the 
+       domain when setting a translate function.
+
+       * tests/testcombo.c: removed unused variable.
+
+2005-02-04  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkstock.c (gtk_stock_lookup): Handle item->translation_domain
+       being NULL.  (#166179, Diego Gonzalez)
+
+2005-02-04  Owen Taylor  <otaylor@redhat.com>
+
+       * configure.in: Revert gtk_binary_version to 2.4.0. Fix
+       up comment to talk only about backwards compat, not
+       forward/backwards compat. (#166293, reported by Vincent Noel)
+
+2005-02-04  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkpaned.c (gtk_paned_compute_position): Work better
+       when there is not enough space. This avoids a nasty size
+       allocation loop in the file chooser.  (#154007, reported 
+       by Milosz Derezynski, patch by Robert Ögren)
+
+2005-02-04  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkentry.c (gtk_entry_create_layout): Avoid spurious
+       selection of RTL direction if the widget does not have 
+       focus.  (#164125, Frederic Crozat)
+
+Thu Feb  3 19:15:55 2005  Manish Singh  <yosh@gimp.org>
+
+       * gdk/x11/gdkdrawable-x11.c: #include cairo-xlib.h
+
+2005-02-03  Owen Taylor  <otaylor@redhat.com>
+
+       * gdk/gdkdrawable.[ch] gdkpixmap.c gdkwindow.c: Add
+       gdk_drawable_set_cairo_target().
+
+       * tests/testtreeflow.c (enum): Use grand not rand as a variable
+       name because one of the cairo headers is pulling in stdlib.h.
+
+       * tests/testcairo.c tests/Makefile.am: Add a simple cairo based
+       example.
+
+       * configure.in: Bump release to 2.7.0, gtk_binary_version to 2.7.0.
+
+       * Require libpangocairo for all backends.
+
+2005-02-03  Tor Lillqvist  <tml@novell.com>
+
+       * modules/input/gtkimcontextime.c (get_pango_attr_list): Use the
+       wide character version of ImmGetCompositionString() here,
+       too. (#165278, Takuro Ashie)
+
+2005-02-03  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkmenu.c (gtk_menu_handle_scrolling): Don't do
+       one roundtrip per motion event.  (#166173, pointed out
+       by Chris Lee, patch by Søren Sandmann)
+
+       * gtk/gtk.symbols: 
+       * gtk/gtkstock.h: 
+       * gtk/gtkstock.c (gtk_stock_set_translate_func): 
+       New function which allows to change the function used for
+       translation stock labels, on a per-domain basis. Use this
+       functionality to switch the GTK+ stock items to use Q_()
+       prefixed msgids.  (#166179, Funda Wang)
+       
+       * gdk/gdkkeynames.c: Make the gdk_key array const (#166075,
+       Tommi Komulainen)
+
+2005-02-02  Federico Mena Quintero  <federico@ximian.com>
+
+       Merged from gtk-2-6:
+
+       * gtk/gtkfilechooserdefault.c (pending_select_paths_process):
+       Don't select the first row if the chooser is not mapped.  This
+       happens when it's acting on behalf of GtkFileChooserButton.  Also,
+       don't select the first row if we are in SAVE or CREATE_FOLDER
+       modes --- I had missed that (see the ChangeLog entry from
+       2005-01-18).  Fixes #165264.
+
+2005-02-02  Tor Lillqvist  <tml@novell.com>
+
+       Implement lazy extended input initialization on Win32, by Robert
+       Ögren. Fixes #163163, possibly #162334. Lazy initialization would
+       be a good idea in any case even if it didn't fix any visible
+       problems, though.
+
+       The Wacom tablet driver seems to get confused if Wintab is
+       initialized but no window is shown before the process exits. This
+       is the case for some GIMP plug-ins, for instance. 
+
+       * gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check): Made
+       non-static (and renamed).
+       (_gdk_input_init): Don't call _gdk_input_wintab_init_check().
+
+       * gdk/win32/gdkinput-win32.h: Declare _gdk_input_wintab_init_check().
+
+       * gdk/win32/gdkinput.c (gdk_devices_list,
+       gdk_display_list_devices, gdk_input_set_extension_events): Call
+       _gdk_input_wintab_init_check() here instead.
+
+2005-02-02  Ivan, Wong Yat Cheung  <email@ivanwong.info>
+
+       * gdk/win32/gdkselection.c: Use a FIFO list for storing GdkSelProp
+       of a single window so that gtk_clipboard_request_contents() can be
+       called inside a GtkClipboardReceivedFunc(). (#163844)
+
+2005-02-01  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkicontheme.c (gtk_icon_theme_init): Look for icons
+       in XDG_DATA_DIRS/pixmaps.  (#165950, Thomas Zajic)
+
+       * gtk/gtkwindow.c (gtk_window_set_icon_name): Set info->icon_list
+       to NULL after freeing it.  (#165800, Damon Chaplin)
+
+2005-02-01  Michael Natterer  <mitch@gimp.org>
+
+       * configure.in: depend on stable pango-1.8, not unstable 1.7
+
+2005-02-01  Federico Mena Quintero  <federico@ximian.com>
+
+       Merged from gtk-2-6:
+
+       * gtk/gtkfilechooserdefault.c
+       (browse_files_model_finished_loading_cb): Don't
+       g_assert_not_reached() if we are in any other state.  Another code
+       path may have triggered a folder reload.  Fixes #165556.
+
+2005-02-01  Federico Mena Quintero  <federico@ximian.com>
+
+       Merged from gtk-2-6:
+
+       Fix #165770:
+
+       * gtk/gtkfilechooserdefault.c (FALLBACK_ICON_SIZE): Make the
+       fallback size be 16, to be equal to the default for
+       GTK_ICON_SIZE_MENU (in gtkiconfactory.c:init_icon_sizes()).
+       (change_icon_theme): Use GTK_ICON_SIZE_MENU instead of
+       GTK_ICON_SIZE_SMALL_TOOLBAR.
+
+2005-02-01  Matthias Clasen  <mclasen@redhat.com>
+
+       * */*.c: Fix many instances of "the the" in docs and
+       comments.  (#165815, Masao Mutoh)
+
+       * gtk/updateiconcache.c (main): Add a --quiet option.
+
+2005-02-01  Tor Lillqvist  <tml@novell.com>
+
+       * gdk/win32/gdkkeys-win32.c (handle_special, set_shift_vks,
+       reset_after_dead, handle_dead): New functions, code blocks
+       refactored out of update_keymap(). No functionality change.
+
+       (update_keymap): Use ToUnicodeEx() when available (on NT-based
+       Windows) instead of ToAsciiEx(). Makes keyboard input work in
+       Unicode-only input locales that don't have any ANSI codepage, for
+       instance Hindi and Bengali. Use _gdk_input_codepage only on
+       Win9x. (#165723)
+
+       * gdk/win32/gdkevents-win32.c (gdk_event_translate): On
+       WM_INPUTLANGCHANGE, use GetLocaleInfo() instead of
+       TranslateCharsetInfo() to get the input locale's corresponding
+       codepage, if any.
+
+2005-01-31  Matthias Clasen  <mclasen@redhat.com>
+
+       * modules/input/gtkimcontextxim.c: Use NULL, not 0 to terminate 
+       NULL-terminated va lists.  (#165683)
+
+2005-01-29  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkseparatortoolitem.c (gtk_separator_tool_item_set_draw): 
+       Typo fix.  (#165581, Masao Mutoh)
+
 Thu Jan 27 14:25:45 2005  Manish Singh  <yosh@gimp.org>
 
        * README.cvs-commits: update ancient IRC info.
@@ -13,6 +491,9 @@ Thu Jan 27 14:25:45 2005  Manish Singh  <yosh@gimp.org>
 
 2005-01-27  Matthias Clasen  <mclasen@redhat.com>
 
+       * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_render): 
+       Make wrapping work in RTL mode.  
+
        * gtk/gtkaboutdialog.c: Some visual tweaks to the about dialog,
        obey HIG spacing a bit more, add a hand cursor when over the
        link button.  (#163979, Jorn Baayen)