-2008-16-03 Alberto Ruiz <aruiz@gnome.org>
+2008-04-25 Björn Lindqvist <bjourne@gmail.com>
- * gtl/gtkcombobox.c: (gtk_combo_box_size_allocate) The child is now aware of
- both the combobox and frame (if has-frame is set) thickness and border. (bug #521442)
+ * gtk/gtkentry.c: (gtk_entry_expose) Use existing window size when
+ painting the flat box instead of recalculating it. (#437493,
+ Ricardo Cruz)
+
+2008-04-25 Michael Emmel <mike.emmel@gmail.com>
+
+ Bug 529841 – incorrect position in directfb
+
+ * gdk/directfb/gdkwindow-directfb.c: fix y = abs_x
+
+2008-04-25 Johan Dahlin <jdahlin@async.com.br>
+
+ * gtk/gtkwidget.h: include <atk/atk.h> instead of <atk/atkobject.h>
+
+2008-04-25 Michael Natterer <mitch@imendio.com>
+
+ * gtk/gtkprintcontext.h: include <pango/pango.h> instead of
+ <pango/pango-layout.h>.
+
+ * gtk/gtkiconfactory.c
+ * gtk/gtkimmodule.c
+ * gtk/gtkmain.c
+ * gtk/gtkmodules.c
+ * gtk/queryimmodules.c: remove inclusion of single files from
+ pango, none of them was actually needed.
+
+ * modules/input/gtkimcontextime.c: include <pango/pango.h> instead of
+ <pango/pango-utils.h>.
+
+2008-04-25 Michael Natterer <mitch@imendio.com>
+
+ * gdk/gdkfont.h: include <pango/pango.h> instead of
+ <pango/pango-font.h>.
+
+2008-04-25 Michael Natterer <mitch@imendio.com>
+
+ * gtk/gtkmountoperation.h: include <gdk/gdk.h> instead of
+ <gdk/gdkscreen.h>.
+
+2008-04-21 Michael Natterer <mitch@imendio.com>
+
+ * gtk/gtkselection.c: add tons of g_return_if_fail() instead of
+ crashing when NULL pointers get passed.
+
+2008-04-18 Michael Natterer <mitch@imendio.com>
+
+ * gtk/gtkenums.h: move a few '{' to their own lines so all enums
+ here have the same style.
+
+2008-04-18 Michael Natterer <mitch@imendio.com>
+
+ * gtk/gtkicontheme.h
+ * gtk/gtkrecentmanager.h: include <gdk/gdk.h> instead of
+ <gdk/gdkscreen.h>.
+
+ * gtk/gtkbuilderparser.c
+ * gtk/gtklinkbutton.c
+ * gtk/gtkpreview.c
+ * gtk/gtkrecentchooserdefault.c
+ * gtk/gtkrecentchoosermenu.c
+ * modules/input/gtkimcontextthai.c: remove inclusion of single
+ files from gdk, none of the includes was actually needed.
+
+2008-04-18 Michael Natterer <mitch@imendio.com>
+
+ * gdk/gdk.h: reorder one include so they are all alphabetical.
+
+2008-04-18 Michael Natterer <mitch@imendio.com>
+
+ * modules/printbackends/cups/gtkprintercups.[ch]
+ (gtk_printer_cups_get_ppd_name): change return value and local
+ variable to const gchar* to fix warning about discarding const
+ qualifier.
+
+2008-04-18 Emmanuele Bassi <ebassi@gnome.org>
+
+ * gtk/gtkrecentmanager.c:
+ (gtk_recent_manager_set_filename): Keep the default storage
+ file in $HOME, as we don't have a migration code in place yet.
+
+2008-04-18 Michael Natterer <mitch@imendio.com>
+
+ * gtk/gtkrecentmanager.c (gtk_recent_manager_clamp_to_age):
+ g_strfreev() the uris returned by g_bookmark_file_get_uris().
+
+2008-04-17 Michael Natterer <mitch@imendio.com>
+
+ * gtk/gtkiconfactory.c (get_default_icons): register the
+ GTK_STOCK_PAGE_SETUP icon.
+
+2008-04-17 Michael Natterer <mitch@imendio.com>
+
+ * gtk/gtktooltips.c (gtk_tooltips_destroy): no need to
+ g_return_if_fail(tooltips != NULL);
+
+2008-04-16 Tristan Van Berkom <tvb@gnome.org>
+
+ * gtk/gtkwindow.c: Chain up in buildable_finish()
+
+ * gtk/gtkbuilder.c: _gtk_builder_get_absolute_filename() handle
+ cases where g_path_get_dirname() returns "."
+
+ * docs/reference/gtk/tmpl/gtklabel.sgml,
+ docs/reference/gtk/tmpl/gtkbuilder.sgml: Added documentation
+ for the <attributes> tags on GtkLabel
+
+2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
+
+ * gtk/gtkrecentmanager.c:
+ (gtk_recent_manager_real_changed): Fix last commit, and
+ complete the gtk-recent-files-max-age semantics: if the
+ property is set to 0 then purge the list.
+
+2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
+
+ Bug 488507 – boundless growth of .recently-used.xbel file
+ slows down applications
+
+ * gtk/gtkrecentmanager.c:
+ (gtk_recent_manager_init),
+ (gtk_recent_manager_real_changed),
+ (gtk_recent_manager_set_filename),
+ (gtk_recent_manager_clamp_to_age): Clamp the recently
+ used resources list by the age of its items, using
+ the newly added GtkSettings property.
+
+ * gtk/gtksettings.c (gtk_settings_class_init): Add the
+ gtk-recent-files-max-age property, controlling the
+ maximum age of the items in the recently used resources
+ list.
+
+2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
+
+ * gtk/gtkrecentmanager.c:
+ (gtk_recent_manager_add_item_query_info),
+ (gtk_recent_manager_add_item): Emit the ::changed signal
+ at the end of the asynchronous MIME type query.
+
+2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
+
+ Bug 487375 – gtkrecent apps poll ~/.recently-used.xbel
+ every 5 seconds
+
+ * gtk/gtkrecentmanager.c: Use GFileMonitor to check for
+ changes in the recently used resources storage file, and
+ drop the timeout-based poll.
+
+ * ChangeLog: Fix attribution of the patch of the previous
+ commit.
+
+2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
+
+ Bug 506062 – gtk_recent_manager_add_item does not detect mime
+ type on Windows
+
+ * configure.in: Depend on gio-2.0
+
+ * gtk/gtkrecentmanager.c:
+ (gtk_recent_manager_add_item_query_info_cb),
+ (gtk_recent_manager_add_item): Use GIO to (asynchronously)
+ query the MIME type of the passed URI (based on a patch by
+ Armin Burgmeier)
+
+2008-04-11 Carlos Garnacho <carlos@imendio.com>
+
+ * gtk/gtkassistant.c (gtk_assistant_set_current_page): Add current
+ page to visited page list instead of next current page. (#527466,
+ patch by Marcus Brinkmann)
+
+2008-04-11 Tristan Van Berkom <tvb@gnome.org>
+
+ * gtk/gtklabel.c: Added <attributes> / <attribute>
+ custom tags to parse pango attributes into labels.
+
+ * tests/buildertest.c: Added tests for GtkLabel custom
+ tag parsing.
+
+2008-04-10 Carlos Garnacho <carlos@imendio.com>
+
+ * gtk/gtknotebook.c (hide_drag_window): Do not call
+ gtk_widget_set_parent_window(), using widget->window instead of NULL
+ to unset is the wrong thing, and gtk_widget_unparent() will already
+ take care of this (#467698, patch by Sébastien Granjoux)
+
+2008-04-08 Tor Lillqvist <tml@novell.com>
+
+ * demos/gtk-demo/builder.c (quit_activate, about_activate): Mark
+ these functions with G_MODULE_EXPORT.
+
+2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
+
+ * gtk/gtkfilesystem.c: (gtk_file_info_render_icon),
+ (gtk_file_system_volume_render_icon):
+ Fix fallback icon rendering size
+
+2008-04-08 Michael Natterer <mitch@imendio.com>
+
+ * gtk/gtkmenushell.c (gtk_real_menu_shell_move_current): fix a
+ touchscreen-mode keynav corner case: when navigating to the parent
+ menu, make sure we don't close two menus at the same time in case
+ the deepest open menu has no selectable items.
+
+2008-04-06 Tristan Van Berkom <tvb@gnome.org>
+
+ * gtk/gtkwidget.c: Clarified a g_warning message regarding
+ parsing accelerators from builder files.
+
+2008-04-03 Cody Russell <bratsche@gnome.org>
+
+ * gtk/gtkprintoperation-win32.c: Fix variable declared in the middle
+ of the block. (#526021, reported by Kazuki IWAMOTO)
+
+2008-04-03 Tor Lillqvist <tml@novell.com>
+
+ Bug 330743 - Up/down spinbuttons won't take zeros and exhibit very
+ strange behavior
+
+ * gtk/gtkspinbutton.c (gtk_spin_button_insert_text) [Win32]: Add
+ workaround for a specific kind of screwed up locale setting.
+
+2008-04-02 Matthias Clasen <mclasen@redhat.com>
+
+ * gdk/x11/gdkcolor-x11.c: Don't call XFreeColormap on foreign
+ colormaps. Found by Daniel Berrange.
+
+2008-04-02 Björn Lindqvist <bjourne@gmail.com>
+
+ * tests/autotestfilechooser.c: Cover
+ GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER action in tests for current
+ name. (#346058, Joe Halliwell)
+
+2008-04-02 Federico Mena Quintero <federico@novell.com>
+
+ Fix http://bugzilla.gnome.org/show_bug.cgi?id=492134 - The file
+ chooser incorrectly substitutes and expands a ~ when you type it
+ in the filename entry.
+
+ * gtk/gtkfilesystemunix.c (expand_tilde): Ensure that empty
+ basenames result in a slash-terminated pathname.
+ gtk_file_system_unix_parse() is correct, but it was splitting
+ "/home/username" into path="/home" and file_part="username", which
+ is not what the caller wants when the entry has just "~" or
+ "~username".
+
+2008-04-02 Tor Lillqvist <tml@novell.com>
+
+ * gtk/Makefile.am: Don't bother compiling gtksearchenginebeagle.c
+ and gtksearchenginetracker.c on Windows.
+
+ * gtk/gtksearchengine.c: Don't define HAVE_BEAGLE and HAVE_TRACKER
+ on Windows.
+
+2008-04-01 Cody Russell <bratsche@gnome.org>
+
+ * configure.in: Bump required Cairo to 1.5.2.
+
+ * gtk/gtkprintoperation-win32.c: Add support for using the new
+ cairo_win32_printing_surface for printing. Also fixed to use
+ cairo_surface_show_page(). (#488833 and #521178)
+
+2008-03-31 Cody Russell <bratsche@gnome.org>
+
+ * demos/gtk-demo/printing.c (draw_page): Move down each line in
+ units of text_height rather than in units of data->font_size.
+ (totally awesome catch by Dom Lachowicz)
+
+2008-03-28 Richard Hult <richard@imendio.com>
+
+ * gdk/quartz/gdkevents-quartz.c: (gdk_event_translate),
+ (_gdk_quartz_events_trigger_crossing_events): Defer the generated
+ event to the mainloop and don't generate one at all if the
+ toplevel didn't change. Use the actual window and not the toplevel
+ as event window. These changes make the generated crossing events
+ match the X11 behavior and fixes issues with e.g. tooltips,
+ comboboxes and menus.
+
+ * gdk/quartz/GdkQuartzView.c: Don't update the tracking rect if
+ the view has no window, it will be updated as soon as it's put
+ inside a window.
+
+ * gdk/quartz/gdkwindow-quartz.c:
+ (_gdk_quartz_window_debug_highlight): Make it possible to track
+ multiple windows with debug highlighting.
+ (show_window_internal): Remove workaround for tooltips and popups
+ that is no longer needed with the above changes.
+
+2008-03-26 Federico Mena Quintero <federico@novell.com>
+
+ * gtk/gtkfilechooserentry.c (commit_completion_and_refresh): New
+ helper function; factored out from the functions that commit the
+ current suggested autocompletion and that refresh the entry's paths.
+ (gtk_file_chooser_entry_activate): Use commit_completion_and_refresh().
+ (_gtk_file_chooser_entry_get_file_part): Likewise.
+ (_gtk_file_chooser_entry_get_current_folder): Likewise. This
+ makes the entry have the correct paths when *not* using any form
+ of completion (and makes the file chooser work when clicking the
+ OK button).
+
+2008-03-25 Richard Hult <richard@imendio.com>
+
+ * gdk/quartz/gdkevents-quartz.c:
+ (_gdk_quartz_events_trigger_crossing_events): Bail out early if we
+ can't find a matching window.
+
+ * gdk/quartz/gdkwindow-quartz.c: (show_window_internal): Add a
+ comment, and only trigger an event for non-temp windows, fixes
+ problems for tooltips caused by the workarounds for the
+ problematic tracking rect API.
+
+2008-03-25 Richard Hult <richard@imendio.com>
+
+ * gdk/quartz/gdkwindow-quartz.c:
+ (gdk_window_quartz_process_all_updates): Plug a leak and add a
+ check that we have a toplevel before accessing it.
+
+2008-03-24 Tor Lillqvist <tml@novell.com>
+
+ Bug 524151 - Dragging of 0-byte files results in an empty filename
+ on Windows XP and above
+
+ * gdk/win32/gdkdnd-win32.c (resolve_link): Check for the file
+ being empty first. For some reason ISHellLink and IPersistFile
+ succeeds in interpreting empty files as shortcuts, claiming the
+ target of the shortcut is an empty path.
+
+ Change the function to take the wide character file name that the
+ caller already has anyway, to avoid a superfluous conversion from
+ UTF-8 to UTF-16.
+
+2008-03-23 Björn Lindqvist <bjourne@gmail.com>
+
+ * gdk-pixbuf/gdk-pixbuf-io.c (gdk_pixbuf_new_from_xpm_data): Guard
+ against NULL pointer. (#467051, Gian Mario Tagliaretti)
+
+2008-03-23 Cody Russell <bratsche@gnome.org>
+
+ * gdk/win32/gdkevents-win32.c (show_window_recurse):
+ Check window state for GDK_WINDOW_STATE_ICONIFIED before doing
+ ShowWindow (SW_RESTORE). This fixes a problem where tearing off
+ menus from a maximized window would force the window to restore
+ its size. (#518846)
+
+2008-03-23 Johan Dahlin <johan@gnome.org>
+
+ * gtk/gtk-builder-convert:
+ Properly convert GtkImageMenuItems which use stock labels but don't
+ have any children.
+ (#523932, Brian Pepple)
+
+2008-03-22 Matthew Barnes <mbarnes@redhat.com>
+
+ * gtk/gtkentrycompletion.c (gtk_entry_completion_get_cells):
+ New function implements GtkCellLayoutClass::get_cells. (#523787)
+
+2008-03-22 Tor Lillqvist <tml@novell.com>
+
+ Bug 523782 - Leftover call to GDK_THREADS_LEAVE() in gtktoolbar.c
+
+ * gtk/gtktoolbar.c (slide_idle_handler): Remove obviously wrong
+ GDK_THREADS_LEAVE() call. Approved by mclasen.
+
+2008-03-22 Björn Lindqvist <bjourne@gmail.com>
+
+ * gtk/gtkexpander.c (gtk_expander_get_label):
+ gtk_label_get_label() should be used instead of
+ gtk_label_get_text(). (#353088, Xan Lopez)
+
+2008-03-21 Tor Lillqvist <tml@novell.com>
+
+ Import the GDI+ gdk-pixbuf loaders for Windows by Dominic
+ Lachowicz and Alberto Ruiz into the GTK+ tree, from the
+ gdip-pixbuf-loader module.
+
+ * configure.in: Add switch --disable-gdiplus-loaders that disables
+ building of the GDI+ loaders.
+
+ When including loaders in the gdk-pixbuf library, and building
+ GDI+ loaders, either build in all the GDI+ loaders or none of
+ them. Use just -DINCLUDE_gdiplus in $INCLUDED_LOADER_DEFINE to
+ signal building them in.
+
+ Add Automake conditionals BUILD_GDIPLUS_LOADERS to indicate
+ whether the GDI+ loaders should be built and INCLUDE_GDIPLUS to
+ indicate whether they should be built-in.
+
+ For the rest of the changes, see gdk-pixbuf/ChangeLog.
+
+2008-03-20 Tor Lillqvist <tml@novell.com>
+
+ * gtk/Makefile.am: Revert accidental change that went in as part
+ of the commit on 2008-03-18. Do use grep -o. Unbreaks build on
+ Darwin. On Windows one has to use a newer GNU grep that has -o,
+ for instance the one from gnuwin32, instead of the oldish one in
+ MSYS that doesn't have -o.
+
+2008-03-20 Tor Lillqvist <tml@novell.com>
+
+ * tests/testfilechooserbutton.c (chooser_update_preview_cb): Don't
+ pass NULL for %s to g_message().
+ (main): Drop unnecessary call to gtk_widget_destroy().
+
+2008-03-20 Tor Lillqvist <tml@novell.com>
+
+ Bug 314084 - GTK+ dialogs should not be placed partially offscreen
+
+ * gtk/gtkwindow.c (clamp): New function. Clamps a window position
+ in one dimension, or centered in case it doesn't fit.
+ (clamp_window_to_rectangle): Simplify. Call clamp() for x and y
+ dimensions.
+
+2008-03-18 Tor Lillqvist <tml@novell.com>
+
+ Bug 523225 - modules/input/im*.c: MODULE_ENTRY macros make illegal code
+
+ * modules/input/im*.c: Modify the MODULE_ENTRY macro so the
+ G_MODULE_ENTRY decoration can be put in a more correct place.
+
+2008-03-18 Sven Neumann <sven@gimp.org>
+
+ * gtk/gtkmountoperation.c (gtk_mount_operation_ask_password): set
+ alternative button order on the password dialog.
+
+2008-03-18 Tor Lillqvist <tml@novell.com>
+
+ Bug 99192 - Add --with-include-input-modules
+
+ * configure.in: Add --with-included-immodules switch. Handled in a
+ similar way as the --with-included-loaders switch. For each input
+ method module foo: Collect the list of input modules to be built
+ into libgtk into INCLUDED_IMMODULE_OBJ. Collect a list of
+ -DINCLUDE_IM_foo definitions into INCLUDED_IMMODULE_DEFINE.
+ Define Automake conditionals INCLUDE_IM_FOO.
+
+ * modules/input/Makefile.am: For modules to be included in libgtk,
+ build a static library.
+
+ * modules/input/im*.c: Use MODULE_ENTRY macros much like in
+ gdk-pixbuf to get unique names for the functions called by libgtk
+ in the included case. Use G_MODULE_EXPORT in the non-included case
+ so that we don't unnecessarily export unneeded random global
+ symbols on Windows.
+
+ * gtk/Makefile.am: Build the included modules and link them into libgtk.
+
+ * gtk/gtkimmodule.c: Handle the built-in modules. Remove
+ copy/paste leftover mentions of "themes" in comments.
+
+2008-03-18 Tor Lillqvist <tml@novell.com>
+
+ * tests/Makefile.am: Build testmountoperation only on Unix for now.
+
+2008-03-17 Christian Kellner <gicmo@gnome.org>
+
+ Implement GtkMountOperation, a subclass of GMountOperation
+ to be used with gio wherever there is the need to ask the
+ user for credentials or questions while mounting a volume.
+ This is bug #522245
+
+ * gtk/gtkmountoperation.c:
+ * gtk/gtkmountoperation.h:
+ Implement GtkMountOperation.
+
+ * gtk/gtk.h: Add gtkmountoperation.h
+ * gtk/Makefile.am: Add gtkmountoperation.[hc]
+ * gtk/gtk.symbols: Add symbols of GtkMountOperation.
+ * tests/testmountoperation.c: Test program for it.
+ * tests/Makefile.am: Add testmountoperation.
+
+2008-03-17 Emmanuele Bassi <ebassi@gnome.org>
+
+ * gtk/gtkcontainer.c: Properly document
+ gtk_container_set_focus_child(). (#521739, Andrew Cowie)
+
+2008-03-16 Alberto Ruiz <aruiz@gnome.org>
+
+ * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: more descriptive
+ style names for the ComboBox thickness style
+
+2008-03-16 Alberto Ruiz <aruiz@gnome.org>
+
+ * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc:
+ * modules/engines/ms-windows/msw_style.c (draw_box) (draw_arrow)
+ (combo_box_draw_arrow) (setup_msw_rc_style): draw box does more
+ intelligent separation for the xp theming engine and the classic
+ theme while drawing the GtkComboBox button. combobox_draw_arrow
+ is not used anymore, commented. The style has been updated to fix
+ border/thickness glitches in the combobox according to the fixes
+ commited regarding bug #521442. (bug #461805)
+
+2008-03-16 Alberto Ruiz <aruiz@gnome.org>
+
+ * gtk/gtkcombobox.c: (gtk_combo_box_size_allocate) The child is
+ now aware of both the combobox and frame (if has-frame is set)
+ thickness and border. (bug #521442)
2008-03-15 Andre Klapper <a9016009@gmx.de>
* gdk/gdk.h: added gdktestutils.h to public includes.
- * gdk/gdk.symbols: added gdk_test_simulate_button, gdk_test_simulate_key,
- gdk_test_render_sync.
-
- * gdk/gdktestutils.h: new file, added prototypes for gdk_test_simulate_button,
+ * gdk/gdk.symbols: added gdk_test_simulate_button,
gdk_test_simulate_key, gdk_test_render_sync.
+ * gdk/gdktestutils.h: new file, added prototypes for
+ gdk_test_simulate_button, gdk_test_simulate_key, gdk_test_render_sync.
+
* gdk/x11/Makefile.am: build gdktestutils-x11.c.
* gdk/x11/gdktestutils-x11.c: implemented gdk_test_simulate_button,
to be enabled once Gtk+ depends on a new glib with the GLib testing
framework integrated.
- * gtk/tests/Makefile.am: new subdirectory to include quick Gtk+ tests.
- added exemplary test rules to run tests inside Xvfb. this needs to depend
- on gtester for full fledged testing.
+ * gtk/tests/Makefile.am: new subdirectory to include quick Gtk+
+ tests. added exemplary test rules to run tests inside Xvfb. this
+ needs to depend on gtester for full fledged testing.
- * gtk/Makefile.am: build gtk+/gtk/tests, define -DGTK_ENABLE_BROKEN when
- collecting _get_type functions to catch e.g. gtk_text_get_type().
+ * gtk/Makefile.am: build gtk+/gtk/tests, define
+ -DGTK_ENABLE_BROKEN when collecting _get_type functions to catch
+ e.g. gtk_text_get_type().
* configure.in: create gtk/tests/Makefile.in and gtk/tests/Makefile.
Added Gtk+ testing utilities.
- * gtk/gtktestutils.h, gtk/gtktestutils.c: added unit test utility functions.
- for the most part, the functions herein involve navigating and interacting
- with dialog elements programatically, to automate user interaction tests of
- dialogs and widgets.
+ * gtk/gtktestutils.h, gtk/gtktestutils.c: added unit test utility
+ functions. for the most part, the functions herein involve
+ navigating and interacting with dialog elements programatically,
+ to automate user interaction tests of dialogs and widgets.
* gtk/gtk.h: include gtk/gtktestutils.h as public API.
* gtk/gtk.symbols: added gtk_test_* symbols.
- * gtk/Makefile.am: include gtktestutils.h and gtktestutils.c into the build.
- generate gtktypefuncs.c which contains a list of all _get_type functions in
- Gtk+ and Gdk.
+ * gtk/Makefile.am: include gtktestutils.h and gtktestutils.c into
+ the build. generate gtktypefuncs.c which contains a list of all
+ _get_type functions in Gtk+ and Gdk.
+
2007-11-20 Bastien Nocera <hadess@hadess.net>
* configure.in: add support for conditional icns gdk-pixbuf loader