]> Pileus Git - ~andy/gtk/blobdiff - ChangeLog
Fix shadow painting if the scrollbars-within-bevel style property is set
[~andy/gtk] / ChangeLog
index ade86b81640a9f82954c44d4a9e150168a746b36..c07b176f5b6fe6bfdb947af96d82104a7b524d08 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,371 @@
+2007-06-08  Benjamin Berg  <benjamin@sipsolutions.net>
+
+       * gtk/gtkscrolledwindow.c: (gtk_scrolled_window_paint):
+       Fix shadow painting if the scrollbars-within-bevel style property is
+       set and border_width is nozero. (#445054)
+
+2007-06-08  Matthias Clasen  <mclasen@redhat.com>
+
+       Make it possible for theme engines to support symbolic 
+       colors.  (#426192, Andrea Cimitan, patch by Olivier Samyn)
+
+       * gtk/gtk.symbols:
+       * gtk/gtkrc.h:
+       * gtk/gtkrc.c (gtk_rc_parse_color_full): Export this function
+
+       * gtk/gtkrc.c (gtk_rc_parse_engine): Copy color hashes
+       to new style before parsing engine section.
+
+2007-06-08  Michael Natterer  <mitch@imendio.com>
+
+       * gdk/quartz/gdkdrawable-quartz.c: add utility function
+       gdk_quartz_fix_cap_not_last_line() which fixes the coordinates for
+       GDK_CAP_NOT_LAST lines at least for horizontal and vertical lines.
+
+       (gdk_quartz_draw_segments)
+       (gdk_quartz_draw_lines): use it here.
+
+2007-06-07  Michael Natterer  <mitch@imendio.com>
+
+       * gdk/quartz/gdkgc-quartz.c: add gdk_gc_quartz_init() and set
+       some values to the defaults used by X11.
+
+       (gdk_quartz_gc_set_values): really set cap_style when
+       GDK_GC_CAP_STYLE is in the mask, not line_style.
+
+2007-06-07  Michael Natterer  <mitch@imendio.com>
+
+       * gdk/quartz/gdkgc-quartz.c (_gdk_quartz_gc_update_cg_context):
+       use the same code for GDK_XOR as for GDK_INVERT. Xor with an
+       arbitrary color is impossible to implement with quartz.
+
+2007-06-07  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtksettings.c: Fix a typo in the docs.
+
+2007-06-07  Christian Neumair  <cneumair@gnome.org>
+
+       * gtk/gtkstock.[ch]: Add GTK_STOCK_DISCARD, #158008.
+
+2007-06-07  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtktreeview.c: Documentation additions.
+
+       * gtk/gtknotebook.c: Add a doc comment.
+
+2007-06-06  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkfilechooserbutton.c (model_add_special):
+       * gtk/gtkfilechooserdefault.c (shortcuts_append_desktop):
+       * gtk/gtkfilesystemunix.c (get_icon_name_for_directory):
+       * gtk/gtkpathbar.c (_gtk_path_bar_set_file_system):
+       Use g_get_user_special_dir() to obtain the path for the
+       DESKTOP directory.  
+
+2007-06-06  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/Makefile.am: Add the 16x16 version of gtk-select-color.png
+       to the list of stock icons.  (#444786)
+
+2007-06-06  Kristian Rietveld  <kris@imendio.com>
+
+       * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_init),
+       (gtk_cell_renderer_progress_class_init),
+       (gtk_cell_renderer_progress_[gs]et_property),
+       (gtk_cell_renderer_progress_render): add text-[xy]align properties
+       for aligning the text label of the progress bar.  (#334576,
+       suggestion from Steven Sheehy).
+
+2007-06-06  Yevgen Muntyan  <muntyan@tamu.edu>
+
+       * gtk/gtkwidget.c:
+       * gtk/gtkwidget.h: new method, gtk_widget_modify_cursor() (#79585).
+       
+       * gtkrc.c:
+       * gtkrc.h: new functions _gtk_rc_style_set_rc_property() and 
+       _gtk_rc_style_unset_rc_property().
+       
+       * gtk/gtk.symbols: added gtk_widget_modify_cursor.
+       
+       * tests/testtext.c (do_cursor_visible_changed):
+       * tests/testgtk.c (create_styles): test it.
+
+2007-06-06  Richard Hult  <richard@imendio.com>
+
+       * gdk/quartz/gdkevents-quartz.c (find_mouse_window_for_ns_event)
+       (find_window_for_ns_event): Rework how we get the event window:
+       don't get the window from the NSEvent, always use the mouse window
+       instead. Fix mouse window tracking by only using MouseExited for
+       non-gdk windows, and to always use the NSEvent window to get the
+       right gdk window in MouseEntered. Add comments to the code. Fixes bug
+       #350460.
+
+2007-06-06  Richard Hult  <richard@imendio.com>
+
+       * gdk/quartz/gdkevents-quartz.c (get_converted_window_coordinates):
+       Don't do anything if the two windows are the same.
+       (find_window_for_ns_event): Translate coordinates to be relative
+       the grab window when appropriate.
+
+2007-06-06  Emmanuele Bassi  <ebassi@gnome.org>
+
+       * gtk/gtkfilechooserdefault.c:
+       (get_file_info_finished), (shortcuts_insert_path),
+       (shortcuts_add_bookmarks), (shortcuts_add_current_folder): Factor
+       out the search shortcut, the recently used shortcut and the separator
+       from the shortcut selection combo. (#444734)
+
+       (recent_idle_load): Remove the idle source that lazily loads the
+       recently used files, if the GtkRecentManager returns an empty
+       list. (#443913)
+
+2007-06-06  Ross Burton  <ross@openedhand.com>
+
+       * gdk/x11/gdkspawn-x11.c:
+       Set DISPLAY in the child process using g_setenv() instead of
+       constructing a new envp, which lets callers use child setup
+       functions which call putenv (#442617).
+
+2007-06-06  Johan Dahlin  <jdahlin@async.com.br>
+
+       reviewed by: Matthias Clasen <mclasen@redhat.com>
+       
+       * gtk/gtkassistant.c (gtk_assistant_update_buttons_state): 
+       Check if the wizard is empty before trying to access the first page.
+       (#444310, Johan Dahlin)
+
+2007-06-06  Matthias Clasen  <mclasen@redhat.com>
+
+       * configure.in: Bump version
+
+       * === Released 2.11.2 ===
+
+       * NEWS: Updates
+
+2007-06-06  Kristian Rietveld  <kris@imendio.com>
+
+       * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_queue_resize): use
+       GTK_IS_TREE_VIEW_COLUMN() in g_return_if_fail here.
+
+2007-06-06  Kristian Rietveld  <kris@imendio.com>
+
+       * gtk/gtktreeviewcolumn.[ch] (gtk_tree_view_column_get_tree_view): new
+       function.  (#342471, Lorenzo Gil Sanchez).
+
+       * gtk/gtk.symbols: updated.
+
+2007-06-06  Kristian Rietveld  <kris@imendio.com>
+
+       * gtk/gtktooltip.c (gtk_tooltip_paint_window): remove unused
+       call to gtk_widget_size_request().  (Reported by Carlos
+       Garnacho).
+
+2007-06-06  Kristian Rietveld  <kris@imendio.com>
+
+       * gtk/gtktooltip.c (gtk_tooltip_show_tooltip): bail out if
+       last_window is not a GdkWindow anymore. (Fixes #434021, several
+       reporters).
+
+2007-06-06  Matthias Clasen <mclasen@redhat.com>
+
+       * gdk/Makefile.am: Remove leftover reference to medialib_h_sources.
+
+2007-06-06  Brian Cameron  <brian.cameron@sun.com>
+
+       * gdk/Makefile.am: Add gdkmedialib.h to EXTRA_DIST so this header
+         file gets included with the distribution, as needed.  Fixes bug
+         #442888.  Reviewed by Matthias Clasen.
+
+2007-06-06  Richard Hult  <richard@imendio.com>
+
+       * gdk/quartz/gdkevents-quartz.c
+       (_gdk_quartz_events_update_mouse_window): Ignore if the old and new
+       windows are the same.
+
+2007-06-06  Kristian Rietveld  <kris@imendio.com>
+
+       * gtk/gtktreeview.c (gtk_tree_view_unrealize): also remove the
+       auto expand timeout if it exists.
+
+2007-06-06  Richard Hult  <richard@imendio.com>
+
+       * gdk/quartz/gdkevents-quartz.c (synthesize_crossing_events):
+       Update comment to be more clear and print a warning if we try to
+       create a crossing event without knowing what the current mouse
+       window is, to help track down focus bugs.
+
+       * gdk/quartz/gdkevents-quartz.c
+       (_gdk_quartz_events_update_focus_window): Fix indentation.
+
+2007-06-06  Richard Hult  <richard@imendio.com>
+
+       * gdk/quartz/GdkQuartzWindow.c: Don't let temp windows become key
+       window.
+
+2007-06-06  Tor Lillqvist  <tml@novell.com>
+
+       * gdk/x11/gdkwindow-x11.c (gdk_window_set_opacity): Fix
+       embarrassing crash. (#444457, Torsten Schoenfeld)
+
+2007-06-05  Yevgen Muntyan  <muntyan@tamu.edu>
+
+       * demos/gtk-demo/textview.c (insert_text): Drop the phrase
+       saying invisible text doesn't work (#444236).
+
+2007-06-05  Matthias Clasen <mclasen@redhat.com>
+
+       * gdk/x11/gdkevents-x11.c (gdk_event_translate): Check that
+       window_private is not NULL before using it.  (#444351, David Ronis)
+
+2007-06-05  Jakub Steiner <jimmac@ximian.com>
+
+       * gtk/stock-icons/{16,24}/gtk-find*: drop the paper sheet.
+               gtk-find is used for search, rather than find within a document
+               (file dialog).
+
+2007-06-05  Kristian Rietveld  <kris@gtk.org>
+
+       Fix #399071, suggestion from Benoit Dejean.
+
+       * gtk/gtkliststore.[ch] (gtk_list_store_set_vector_internal): new
+       function, factored out code iterating (columns, values) vectors from
+       gtk_list_store_new_with_valuesv to here,
+       (gtk_list_store_set_valuesv): new public function to set list store
+       values using (columns, values) vectors,
+       (gtk_list_store_new_with_valuesv): call new _set_vector_internal
+       instead.
+
+       * gtk/gtktreestore.[ch] (gtk_tree_store_set_vector_internal),
+       (gtk_tree_store_set_valuesv), (gtk_tree_store_new_with_valuesv):
+       likewise.
+
+       * gtk/gtk.symbols: updated.
+
+2007-06-04  Richard Hult  <richard@imendio.com>
+
+       * gdk/quartz/gdkwindow-quartz.c:
+       (show_window_internal): Don't try to make temp windows key
+       windows, fixes problem introduced below.
+
+2007-06-04  Richard Hult  <richard@imendio.com>
+
+       * gdk/quartz/GdkQuartzWindow.c: 
+       * gdk/quartz/gdkwindow-quartz.c: Implement simple versions of
+       gdk_window_set_accept_focus and gdk_window_set_focus_on_map.
+
+2007-06-04  Richard Hult  <richard@imendio.com>
+
+       * gdk/quartz/gdkwindow-quartz.c: (gdk_window_raise),
+       (gdk_window_lower): Implement.
+
+2007-06-04  Richard Hult  <richard@imendio.com>
+
+       * gdk/quartz/gdkwindow-quartz.c:
+       * gdk/quartz/gdkwindow-quartz.h: Implement 
+       gdk_window_set_transient_for.
+
+2007-06-04  Cody Russell  <bratsche@gnome.org>
+
+       * gtk/gtklinkbutton.h
+       * gtk/gtkaboutdialog.h: Change function argument "link"
+       to "link_" to fix warnings for applications compiling
+       with -Wshadow. (#379213)
+
+2007-06-04  Cody Russell  <bratsche@gnome.org>
+
+       * gtk/gtkpathbar.c (gtk_path_bar_scroll_down): Check
+       if down_button is NULL.  This happens when the pathbar button
+       for the current directory is too large to fit in the
+       space, e.g. on Windows for directories named something like
+       "My Documents and Settings".  (#389603)
+
+2007-06-04  Matthias Clasen  <mclasen@redhat.com>
+
+       * configure.in: Bump version
+
+       * === Released 2.11.1 ===
+
+       * gdk/gdkwindow.c (gdk_window_set_composited): Improve docs.
+
+       * NEWS:
+       * README.in: Updates
+
+2007-06-04  Michael Natterer  <mitch@imendio.com>
+
+       Move "move-focus" signals from several widgets to GtkWidget to
+       enable more flexible costomization of keyboard navigation via
+       bindings. Fixes bug #414947.
+
+       * gtk/gtkwidget.c: add "move-focus" binding signal, default to
+       calling the toplevel GtkWindow's "move-focus" vfunc.
+
+       * gtk/gtktextview.[ch]
+       * gtk/gtkwindow.[ch]: remove "move-focus" signals and add compat
+       code that makes sure that both emitting the signal on the widget
+       and overriding the virtual functions keeps working as before.
+
+       * gtk/gtktoolbar.c: remove "move-focus" signal here too and use
+       GtkWidget's signal. This change slightly changes keyboard
+       navigation in toolbars. I'll fix the behavior if somebody can
+       explain me if and how exactly the new behavior is broken.
+
+2007-06-04  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkmarshalers.list:
+       * gtk/gtknotebook.[hc]: Add a create-window signal that allows
+       to override the global create-window-hook on a per-notebook
+       basis. The default handler falls back to the global hook.
+       (#386935, Christian Hammond)
+       
+2007-06-04  Emmanuele Bassi  <ebassi@gnome.org>
+
+       * gtk/gtkradiobutton.[ch]:
+       * gtk/gtk.symbols:
+       * tests/testgtk.c: Revert previous commit; the API is not yet
+       finalized - see bug #166995.
+
+2007-06-04  Emmanuele Bassi  <ebassi@gnome.org>
+
+       * gtk/gtkradiobutton.h:
+       * gtk/gtkradiobutton.c:
+       * gtk/gtk.symbols: Add gtk_radio_button_set_value(),
+       gtk_radio_button_get_current_value() and gtk_radio_button_get_value().
+       Use these functions to set and get an arbitrary integer associated to
+       a GtkRadioButton in a group, like the value associated to a
+       GtkRadioAction.
+
+       * tests/testgtk.c:
+       (create_radio_buttons), (radio_toggled_cb): Exercise the new API.
+
+2007-06-03  Torsten Schoenfeld  <kaffeetisch@gmx.de>
+
+       * gtk/gtkicontheme.c (choose_icon): Initialize unthemed_icon to NULL
+       to avoid accessing uninitialized memory when
+       gtk_icon_theme_choose_icon() is called with an empty names list.
+
+2007-06-03  Richard Hult  <richard@imendio.com>
+
+       * gdk/quartz/gdkevents-quartz.c: (create_crossing_event): Set the key
+       modifier state.
+
+2007-06-03  Richard Hult  <richard@imendio.com>
+
+       * gdk/quartz/gdkevents-quartz.c: Make pointer grab emulation work a bit
+       better:
+       (gdk_display_pointer_is_grabbed): Do what the docs say and don't
+       consider implicit grabs here.
+       (gdk_pointer_grab): Overriding a grab by the same app should always be
+       succesful.
+       (gdk_event_translate): Implicit grabs should not be owner events.
+
+2007-06-03  Matthias Clasen  <mclasen@redhat.com>
+
+       * NEWS: Updates
+
+2007-06-03  Matthias Clasen  <mclasen@redhat.com>
+
+       * docs/tools/widgets.c: Add a volume button
+
 2007-06-03  Matthias Clasen  <mclasen@redhat.com>
 
        * gtk/gtkradiobutton.c: