]> Pileus Git - ~andy/gtk/blobdiff - ChangeLog
Make the volume button use range 0.0 to 1.0 by default, and fix tooltips
[~andy/gtk] / ChangeLog
index 68558e207ab699d7c6cb876cdbf07102f6387ac3..cda24b906f74f59f073d1f47066723a608674fb3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,468 @@
+2007-06-28  Christian Persch  <chpe@gnome.org>
+
+       * gtk/gtkvolumebutton.c: (gtk_volume_button_class_init),
+       (gtk_volume_button_init), (gtk_volume_button_dispose),
+       (gtk_volume_button_update_tooltip): Make the volume button use range
+       0.0 to 1.0 by default, and fix tooltips code to cope with different ranges.
+       Bug #354181.
+
+2007-06-28  Yevgen Muntyan  <muntyan@tamu.edu>
+
+       * gtk/gtktextutil.c (_gtk_text_util_get_block_cursor_location):
+       do right thing in one-character lines and at paragraph end (#448313).
+
+       * configure.in: require pango-1.17.3 to get fixed pango_layout_index_to_line_x()
+       (pango #448342).
+
+2007-06-27  Johan Dahlin  <jdahlin@async.com.br>
+
+       * gtk/gtkbuilderparser.c (parse_property): Use
+       the attribute name in the error message instead of
+       the value.
+       
+       * demos/gtk-demo/demo.ui: Set name of Help menu
+       to HelpMenu
+
+       * gtk/gtkbuilder.c (apply_delayed_properties): 
+       Print out the name of the right object in the warning
+       (#451314, Philip Withnall)
+
+       * gtk/gtk-builder-convert (GtkBuilderConverter._parse): Remove
+       glade-interface doctype if found.
+       (GtkBuilderConverter._convert): 
+       Make sure that we can convert Gazpacho files too.
+
+2007-06-27  Cody Russell  <bratsche@gnome.org>
+
+       * modules/engines/ms-windows/msw_style.c (draw_themed_tab_button):
+       Fixed, very hackishly, a one pixel error that occurs using the
+       XP theme engine only on the left-most tab, if it is active, when
+       the notebook is bottom-oriented. (#392283)
+
+2007-06-27  Johan Dahlin  <jdahlin@async.com.br>
+
+       * tests/buildertest.c: (test_value_from_string): 
+       Check the code and domain of GErrors instead of the string values
+       
+       * gtk/gtkbuilder.c: (gtk_builder_get_parameters),
+       (gtk_builder_value_from_string),
+       (gtk_builder_value_from_string_type):
+       * gtk/gtkbuilder.h:
+       * gtk/gtkcontainer.c: (gtk_container_buildable_set_child_property),
+       (attributes_text_element):
+       * gtk/gtkliststore.c: (list_store_text):
+       * tests/buildertest.c: (test_value_from_string):
+
+       Add GtkBuilder and GError arguments to gtk_builder_value_from_string
+       and gtk_builder_value_from_string_type. (#451428)
+
+2007-06-27  Xan Lopez  <xan@gnome.org>
+
+       * gtk/gtkvbbox.c (gtk_vbutton_box_size_allocate):
+       * gtk/gtkhbbox.c (gtk_hbutton_box_size_allocate):
+
+       Do not add border_width to the first button initial
+       coordinate, since it's already taken into account in
+       the allocation value. (#451484)
+
+2007-06-27  Michael Natterer  <mitch@imendio.com>
+
+       Merged from maemo-gtk:
+
+       * gtk/gtkmenu.c (gtk_menu_handle_scrolling): when updating the
+       scroll arrows' state, make sure we don't overwrite the insensitive
+       state that might have been set by the first scroll step hitting
+       the top/bottom border of the menu.
+
+Wed Jun 27 13:27:21 2007  Tim Janik  <timj@gtk.org>
+
+       * gtk/gtkradiobutton.[hc]: applied patch to improve variable names, 
+       by Olivier Delhomme, #451527.
+
+Wed Jun 27 11:57:41 2007  Tim Janik  <timj@imendio.com>
+
+       * gtk/gtkstatusicon.c (gtk_status_icon_position_menu): fixed
+       push_in description.
+
+2007-06-27  Johan Dahlin  <jdahlin@async.com.br>
+
+       * gtk/gtkbuilderparser.c: Plug leaks in error code paths
+
+2007-06-26  Johan Dahlin  <jdahlin@async.com.br>
+
+       * tests/buildertest.c (test_object_properties): 
+       Add a test to check object properties
+
+       * gtk/gtkbuilder.h (enum): 
+       * gtk/gtkbuilderparser.c (end_element): 
+       * tests/buildertest.c (test_parser): 
+       Set an error if we encounter properties without values set
+       (#451303, Philip Withnall)
+       (test_object_properties): Add a test
+
+       * demos/gtk-demo/builder.c (do_builder): Connect the
+       destroy signal in the example instead of the ui file.
+       Also set the screen and title of the window.
+       (#451345, Thomas Rydzynski)
+
+2007-06-26  Richard Hult  <richard@imendio.com>
+
+       * gtk/gtkbuilder.c: (gtk_builder_value_from_string_type): Fix a
+       bunch of small bugs when parsing property values
+       (boolean/int/uint/long/ulong/float/double). Bug #451353.
+
+       * tests/buildertest.c: Add tests for the above.
+
+2007-06-26  Emmanuele Bassi  <ebassi@gnome.org>
+
+       * gtk/gtkfilechooserdefault.c (list_mtime_data_func): Fix
+       a typo in the previous commit.
+
+       (shortcuts_append_desktop): Remove unused variable and
+       hush the compiler warning.
+
+2007-06-26  Emmanuele Bassi  <ebassi@gnome.org>
+
+       * gtk/gtkfilechooserdefault.c (list_mtime_data_func): Show
+       the time of last change in the file chooser, for files
+       modified today or yesterday. (#324543)
+
+       * configure.in: Check for localtime_r().
+
+2007-06-26  Cody Russell  <bratsche@gnome.org>
+
+       * modules/engines/ms-windows/xp_theme.[ch]
+       * modules/engines/ms-windows/msw_style.c: Add support for 
+       drawing checkboxes with inconsistent states. (Tor, #164809)
+
+2007-06-26  Johan Dahlin  <jdahlin@async.com.br>
+
+       * gtk/gtk-builder-convert (GtkBuilderConverter.to_xml): Encode 
+       the output in utf-8 as suggested by Bogdan Nicula
+
+2007-06-22  Mathias Hasselmann  <mathias.hasselmann@gmx.de>
+       * configure.in, tests/Makefile.am, tests/autotestkeywords.cc,
+       tests/dummy-headers/*: Extend the C++ keyword test
+       to include internal GDK headers (#449016).
+
+2007-06-26  Mathias Hasselmann  <mathias.hasselmann@gmx.de>
+
+       * ChangeLog, configure.in, tests/Makefile.am, 
+       tests/autotestkeywords.cc: Create test for finding
+       C++ keywords in public header files (#449016).
+
+2007-06-26  Kristian Rietveld  <kris@imendio.com>
+
+       * gtk/gtktooltips.h: remove the deprecation macros for now to fix
+       the build and give us a chance to fix widgets which use GtkTooltips
+       in their API.
+
+2007-06-26  Kristian Rietveld  <kris@imendio.com>
+
+       * gtk/gtk.symbols:
+       * gtk/gtktooltips.[ch]:
+       * docs/reference/gtk/tmpl/gtktooltips.sgml: deprecate GtkTooltips.
+
+2007-06-25  Johan Dahlin  <jdahlin@async.com.br>
+
+       * gtk/gtk-builder-convert: Add a script to convert libglade files
+       to something gtkbuilder can parse.
+       Fixes #447995
+
+2007-06-25  Richard Hult  <richard@imendio.com>
+
+       * gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Don't steal
+       menu events while the keyboard is grabbed.
+
+2007-06-25  Richard Hult  <richard@imendio.com>
+
+       * gdk/quartz/Makefile.am:
+       * gdk/quartz/xcursors.h:
+       * gdk/quartz/gdkcursor-quartz.c: Fallback to X cursors for the
+       ones that OS X doesn't provide. Fixes bug #327912.
+
+2007-06-25  Emmanuele Bassi  <ebassi@gnome.org>
+
+       * gtk/gtkrecentmanager.c:
+       (build_recent_info): building a GtkRecentInfo can never fail.
+
+       (gtk_recent_manager_get_items): Clamp the list while building
+       it so we don't need to traverse it more than once. (#446532,
+       Philip Withnall)
+
+2007-06-25  Tor Lillqvist  <tml@novell.com>
+
+       * gdk/win32/gdkevents-win32.c (gdk_pointer_grab): Revert my
+       attempted overly simple fix for #445284, as it causes a
+       regression. (For instance, in GIMP the tool cursor gets used also
+       for the right-click menu in image windows.) A more complex fix is
+       needed to more completely emulate X11 behaviour.
+
+2007-06-24  Kristian Rietveld  <kris@gtk.org>
+
+       * Makefile.am: fix little mistake in my last commit ...
+
+2007-06-24  Kristian Rietveld  <kris@gtk.org>
+
+       * gtk/gtksearchenginequartz.[ch]: Add a search engine which queries
+       the Spotlight database on MacOS X (only available in 10.4 and
+       higher).
+
+       * gtk/gtksearchengine.c (_gtk_search_engine_new): try creating
+       quartz search engine if we are on OS X.
+
+       * Makefile.am: added use_quartz_sources section with new file.
+
+2007-06-22  Emmanuele Bassi  <ebassi@gnome.org>
+
+       * gtk/gtksearchenginebeagle.c:
+       * gtk/gtksearchenginesimple.c:
+       * gtk/gtksearchenginetracker.c: Remove the MIME type calls and
+       queries from the search engine implementations, since we use our
+       own GtkFileSystem to filter out basing on MIME types and we cannot
+       query MIME types anyway. The GtkQuery private object still has
+       MIME type, as well as location, support for future expansion.
+
+Fri Jun 22 12:13:39 2007  Tim Janik  <timj@imendio.com>
+
+       * gtk/gtkframe.c (gtk_frame_paint): applied patch from Xan Lopez
+       to eliminate gap in painted frame for yaling=0.0 or yalign=1.0.
+
+       * tests/testframe.c: added test application from Xan Lopez to
+       test xalign/yalign interactions with xthickness/ythickness.
+
+Fri Jun 22 00:34:34 2007  Tim Janik  <timj@gtk.org>
+
+       * gdk/x11/gdkdisplay-x11.c (gdk_x11_display_get_xdisplay): applied
+       patch from Mark Tiefenbruck to add missing return_if_fail, #449862.
+
+2007-06-21  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtktoolbar.c: Remove debug spew.  (#449492, Christian Persch)
+
+2007-06-21  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkmain.c (gtk_main_do_event): Remove faulty and irrelevant
+       enter-leave compression code.  (#449167, patch by Tim Janik)
+
+2007-06-19  Johan Dahlin  <jdahlin@async.com.br>
+
+       * gdk/quartz/GdkQuartzView.c ([GdkQuartzView -updateTrackingRect]): Fix a typo
+       in a comment
+
+2007-06-20  Richard Hult  <richard@imendio.com>
+
+       * gdk/quartz/gdkwindow-quartz.c (gdk_window_new): 
+       * gdk/quartz/GdkQuartzWindow.c (windowDidResize): Don't create or
+       update the tracking rect in the window, move it to the view where
+       it belongs.
+
+       * gdk/quartz/GdkQuartzView.c (updateTrackingRect)
+       (viewDidMoveToWindow, viewWillMoveToWindow)
+       (setFrame, setBounds): Create and update the tracking rect here.
+
+2007-06-19  Mathias Hasselmann  <mathias.hasselmann@gmx.de>
+
+       * gdk/gdkinternals.h: Restore G_BEGIN_DECLS at the
+       top of this file to make C++ compilers happy.
+
+2007-06-19  Matthias Clasen <mclasen@redhat.com>
+
+       * configure.in: Bump version
+
+       * === Released 2.11.4 ===
+
+       * NEWS: Updates
+
+2007-06-19  Sven Neumann  <sven@gimp.org>
+
+       * gtk/gtkicontheme.c (gtk_icon_info_copy): use g_slice_dup().
+
+2007-06-19  Sven Neumann  <sven@gimp.org>
+
+       * gtk/gtktooltips.[ch]: mark the GtkTooltips struct as private.
+       Keep the tooltips in a hash table instead of a linked list.
+       Improves performance when using large amounts of tooltips (#447214).
+
+       * README.in: document the GtkTooltips changes.
+
+2007-06-19  Johan Dahlin  <jdahlin@async.com.br>
+
+       * gtk/*: Rename buildable methods to not clash with widget 
+       methods. (#448928, Torsten Schoenfeld)
+
+2007-06-19  Emmanuele Bassi  <ebassi@gnome.org>
+
+       * gtk/gtkrecentmanager.c: Use g_timeout_add_seconds_full() for
+       the timed poll of the storage file, since we are using multiple
+       seconds intervals and we don't actually care about millisecond
+       precision.
+
+       (threads_dispatch), (threads_free), (gtk_recent_manager_init),
+       (gtk_recent_manager_set_filename): Roll our own version of
+       gdk_threads_add_timeout() using g_timeout_add_seconds_full()
+       while holding the GDK main lock.
+
+       * configure.in: Bump up the required GLib version, in order
+       to use g_timeout_add_seconds_full().
+
+2007-06-19  Emmanuele Bassi  <ebassi@gnome.org>
+
+       * gtk/gtkrecentmanager.c: Use a static variable to hold the
+       singleton and remove the code that binds a recent manager to
+       a GdkScreen.
+
+       (gtk_recent_manager_set_screen): Make it a NOOP.
+       (gtk_recent_manager_get_for_screen): Proxy for
+       gtk_recent_manager_get_default().
+
+       * gtk/gtk.symbols:
+       * gtk/gtkrecentmanager.h: Deprecate gtk_recent_manager_set_screen()
+       and gtk_recent_manager_get_for_screen().
+
+       * gtk/gtkmain.c: Force a synchronisation of the GtkRecentManager
+       singleton (if any) when reaching main loop depth of 0.
+
+       * gtk/gtkrecentchooserdefault.c:
+       (gtk_recent_chooser_default_dispose): Disconnect the changed
+       signal only if we have a manager and we are connected to it.
+
+       (set_recent_manager): Ditto.
+
+       * README.in: Document the deprecations.
+
+2007-06-18  Matthias Clasen <mclasen@redhat.com>
+
+       * gtk/gtkcellrendererspin.c: Fix some issues with refcounting
+       of the adjustment.  (#448544, Carlos Garnacho)
+
+2007-06-18  Gustavo J. A. M. Carneiro  <gjc@gnome.org>
+
+       reviewed by: Matthias Clasen
+
+       * gtk/gtkaccelgroup.c (gtk_accel_group_finalize): Remove closure
+       invalidate notifiers. (#448484)
+
+2007-06-17  Matthias Clasen <mclasen@redhat.com>
+
+       * README.in: Updates
+
+       * gtk/gtkmenushell.c: Make GtkMenuShell as an abstract type.
+       It was already documented as such.  (#412357, Vincent Geddes)
+
+2007-06-17  Matthias Clasen <mclasen@redhat.com>
+
+       * gtk/gtkcontainer.c: Fix a doc typo.
+
+2007-06-17  Richard Hult  <richard@imendio.com>
+
+       * gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Forward
+       Mac OS menu shortcut events to the right menu.
+
+2007-06-17  Richard Hult  <richard@imendio.com>
+
+       * gdk/quartz/gdkevents-quartz.c (gdk_event_translate)
+       (synthesize_crossing_events_for_ns_event)
+       (find_window_for_ns_event): More refactoring of the event
+       handling: Extract synthesizing of crossing events from
+       find_window_for_ns_event so that it doesn't have any side effects,
+       and call the new function from gdk_event_translate instead.
+
+2007-06-16  Richard Hult  <richard@imendio.com>
+
+       * gdk/quartz/gdkevents-quartz.c: (find_window_for_ns_event),
+       (gdk_event_translate): Remove pointless logging for unhandled events.
+       Activate the application on non-left clicks, since that is only done
+       for left clicks and we depend on it to get events routed properly for
+       context menus and other popup windows.
+
+2006-09-22  Dennis Cranston  <dennis_cranston@yahoo.com>
+
+       * gtk/gtkfilechooserbutton.c: (change_icon_theme),
+       (model_add_bookmarks), (model_update_current_folder):
+       * gtk/gtkfilechooserdefault.c: (shortcuts_reload_icons),
+       (shortcuts_insert_path):  Use the remote folder icon when
+       appropriate.
+
+       Follow up to #354887
+
+2007-06-17  Christian Persch  <chpe@gnome.org>
+
+       * gtk/Makefile.am: Pass the print settings to the preview programme.
+       Bug #403717, patch by Carlos Garcia Campos.
+
+2007-06-17  Xan Lopez  <xan@gnome.org>
+
+       * gdk/x11/gdkgeometry-x11.c: replace GDK_WINDOW calls by cast to
+       GdkWindow. Patch by Tilman Sauerbeck from #63820.
+
+2007-06-17  Daniel Elstner  <danielk@openismus.com>
+       
+       * modules/input/gtkimcontextmultipress.c (vfunc_filter_keypress):
+       Change input method behavior to act on key presses instead of
+       key releases, matching normal text input behavior.  This change
+       alleviates the need to take special action for control keys not
+       handled by the input module itself.
+
+2007-06-17  Behdad Esfahbod  <behdad@gnome.org>
+
+       * gtk/gtkfontsel.c: List font sizes 6 and 7pt too. (#440450,
+       Sebastien Bacher, Alex "weej" Jones)
+
+2007-06-16  Yevgen Muntyan  <muntyan@tamu.edu>
+
+       * gtk/gtktextdisplay.c (render_para): fixed couple of drawing
+       problems with block cursor (#448321).
+
+2007-06-16  Richard Hult  <richard@imendio.com>
+
+       * gdk/quartz/gdkevents-quartz.c: (gdk_event_translate): Ignore
+       events and break any grabs while the window is being dragged.
+
+2007-06-16  Richard Hult  <richard@imendio.com>
+
+       * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_transient_for):
+       Defer setting the parent until the window is shown, otherwise it
+       gets unconditionally shown here.
+
+2007-06-16  Johan Dahlin  <jdahlin@async.com.br>
+
+       * gtk/gtkbuilderparser.c (text): Swap argument order to dgettext
+       (#448299, Jan Arne Petersen)
+
+2007-06-16  Richard Hult  <richard@imendio.com>
+
+       * gdk/quartz/gdkevents-quartz.c (find_mouse_window_for_ns_event):
+       Move the checks for no window or a non-GDK window from here...
+       (gdk_event_translate): ...to here. Reorder the code so that we
+       detect the cases where we need to break grabs before bailing
+       out.
+
+2007-06-16  Richard Hult  <richard@imendio.com>
+
+       * gdk/quartz/gdkevents-quartz.c (gdk_event_translate) 
+       (break_all_grabs): Break out into a separate function.
+
+2007-06-16  Richard Hult  <richard@imendio.com>
+
+       * gdk/quartz/GdkQuartzWindow.c: (isInMove): Implement, to be used
+       to detect if the window is currently being moved with the mouse.
+
+2007-06-16  Richard Hult  <richard@imendio.com>
+
+       * gdk/quartz/gdkwindow-quartz.c (gdk_window_set_transient_for):
+       Don't set parent/child relationship for tooltip windows since that
+       moves the parent window to the front, due to the tooltip having a
+       high window level.
+
+2007-06-16  Christian Persch  <chpe@gnome.org>
+
+       * gtk/gtkbuilder.c: (gtk_builder_real_get_type_from_name),
+       (gtk_builder_get_type_from_name):
+       * gtk/gtkbuilder.h: Don't use "typename" C++ keyword as parameter
+       name. Bug #448193.
+
 2007-06-15  Matthias Clasen  <mclasen@redhat.com>
        
        * configure.in: Bump version