]> Pileus Git - ~andy/gtk/blobdiff - ChangeLog
Fix mem leak. Bug #505556.
[~andy/gtk] / ChangeLog
index bb9b29eb7647d761e7cf6ff326c093bbcf0025df..8971374a99c8301f376c53dca021fa9dd8b298f0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,482 @@
+2007-12-22  Christian Persch  <chpe@gnome.org>
+
+       * modules/other/gail/gailitem.c: Fix mem leak. Bug #505556.
+
+2007-12-25  Christian Persch  <chpe@gnome.org>
+
+       * modules/other/gail/gailwindow.c: (gail_window_initialize):
+       Initialise |widget|. Fixes a buglet introduced by the commit from bug
+       #505226.
+
+2007-12-25  Christian Persch  <chpe@gnome.org>
+
+        * modules/other/gail/*.h: Use G_BEGIN_DECLS/G_END_DECLS. Bug #505268.
+       
+2007-12-25  Christian Persch  <chpe@gnome.org>
+
+       * modules/other/gail/*.[ch]: Remove relocations from the atk
+       factories. Remove unused gail_foo_new() functions. Fix object
+       instantiation to be derivation safe by moving initialisation code
+       from the removed gail_foo_new() functions to the
+       AtkObjectClass::initialize implementation. Bug #505226.
+
+2007-12-24  Matthias Clasen  <mclasen@redhat.com>
+
+       * modules/other/gail/gailentry.c:
+       * modules/other/gail/gailimage.c:
+       * modules/other/gail/gailtextview.c: Remove non-multihead-safe
+       uses of clipboards and settings.  (#504722, Christian Persch)
+
+2007-12-24  Matthias Clasen  <mclasen@redhat.com>
+
+       * gdk/gdkapplaunchcontext.c: Remove unneeded includes. (#505411,
+        Kazuki IWAMOTO)
+
+2007-12-24  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkcombobox.c: When popping up a menu from a treeview cell,
+       use the time and button information from the event.  (#504901,
+       Peter Bloomfield)
+
+2007-12-23  Cody Russell  <bratsche@gnome.org>
+
+       * gdk/win32/gdkevents-win32.c (show_window_recurse): Check that
+       the window is mapped before setting SW_RESTORE or SW_MINIMIZE.
+       Fixes a regression caused by #164537 patch where transient
+       windows that are hidden get shown (incorrectly) when their
+       parents are minimized. (#504984)
+       
+2007-12-22  Christian Persch  <chpe@gnome.org>
+
+       * modules/other/gail/gailcell.c:
+       * modules/other/gail/gailcontainercell.c:
+       * modules/other/gail/gailexpander.c:
+       * modules/other/gail/gailtextcell.c:
+       * modules/other/gail/gailtextview.c:
+       * modules/other/gail/gailwindow.c: Fix compile warnings. Bug #504701.
+
+2007-12-22  Christian Persch  <chpe@gnome.org>
+
+       * modules/other/gail/*.c: Include config.h. Bug #504720.
+
+2007-12-22  Christian Persch  <chpe@gnome.org>
+
+       * modules/other/gail/*.c: Use G_DEFINE_TYPE[_WITH_CODE] instead of
+       handwritten get_type functions. Bug #504661.
+
+2007-12-23  Xan Lopez  <xan@gnome.org>
+
+       * gtk/gtktreeview.c (gtk_tree_view_build_tree): pass correct argument
+       to g_signal_emit for TEST_EXPAND_ROW (GtkTreeIter* vs. GtkTreeIter**).
+
+       Patch by Sadrul Habib Chowdhury (#504804)
+
+2007-12-22  Christian Persch  <chpe@gnome.org>
+
+       * modules/other/gail/Makefile.am: Link to gdk and gtk libs. Bug
+       #504645, patch by Li Yuan.
+
+2007-12-22  Christian Persch  <chpe@gnome.org>
+
+       * gdk/x11/gdkscreen-x11.c: (init_randr12): Plug mem leaks. Bug #504886.
+
+2007-12-22  Christian Persch  <chpe@gnome.org>
+        
+        * modules/other/gail/gail.c:
+        * modules/other/gail/gailbutton.c:
+        * modules/other/gail/gailcell.c:
+        * modules/other/gail/gailcombo.c:
+        * modules/other/gail/gailcombo.h:
+        * modules/other/gail/gailcombobox.c:
+        * modules/other/gail/gailentry.c:
+        * modules/other/gail/gailexpander.c:
+        * modules/other/gail/gailmenuitem.c:
+        * modules/other/gail/gailnotebook.c:
+        * modules/other/gail/gailnotebookpage.c:
+        * modules/other/gail/gailnotebookpage.h:
+        * modules/other/gail/gailoptionmenu.c:
+        * modules/other/gail/gailrange.c:
+        * modules/other/gail/gailtextview.c:
+        * modules/other/gail/gailtreeview.c:
+        * modules/other/gail/gailtreeview.h:
+        * modules/other/gail/gailwindow.c: Use gdk_threads_add_idle.
+        Bug #504571.
+
+2007-12-22  Matthias Clasen  <mclasen@redhat.com>
+
+       * modules/other/gail/gailclist.c: Chain up the finalizer (#504570,
+       Christian Persch)
+
+2007-12-21  Richard Hult  <richard@imendio.com>
+
+       * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_destroy):
+       Plug leak of destroyed subviews, fixes bug #504753.
+
+2007-12-20  Johan Dahlin  <johan@gnome.org>
+
+       * tests/Makefile.am (TEST_PROGS): 
+       * tests/defaultvaluetest.c: Add a test for default values,
+       based on program by Christan Perch
+
+2007-12-20  Johan Dahlin  <johan@gnome.org>
+
+       * gtk/gtk-builder-convert (GtkBuilderConverter._remove_window): 
+       Refactor to avoid some duplication.
+       Convert toplevel GtkMenu's top popups and not menubars in the ui manager.
+       Fixes #504749, Yuri Pimenov
+
+2007-12-20  Kristian Rietveld  <kris@imendio.com>
+
+       * configure.in: RYuri Pimenovemove leftovers from old XRandR check.  Makes
+       the build work again on systems without xrandr 1.2.
+
+2007-12-20  Christian Persch  <chpe@gnome.org>
+
+       * configure.in:
+       * modules/other/gail/libgail-util/Makefile.am:
+       Keep the same libtool version as the standalone libgail-util had.
+        Bug #504643.
+
+2007-12-20 15:30:09  Tim Janik  <timj@imendio.com>
+
+       * Makefile.decl: generate HTML reports for test-report perf-report full-report.
+
+2007-12-20  Alexander Larsson  <alexl@redhat.com>
+        
+       * gdk/x11/gdkapplaunchcontext-x11.c:
+       Update for gio API changes
+
+2007-12-20  Richard Hult  <richard@imendio.com>
+
+       * gdk/quartz/GdkQuartzWindow.c:
+       * gdk/quartz/GdkQuartzWindow.h: Make manual resizing smoother by
+       processing events after changing the size.
+
+2007-12-20  Richard Hult  <richard@imendio.com>
+
+       * modules/other/gail/gailwindow.c: (gail_window_get_mdi_zorder):
+       Add stub for quartz to fix build.
+
+2007-12-20  Christian Persch  <chpe@gnome.org>
+
+       * modules/other/gail/Makefile.am:
+       * modules/other/gail/gailimage.c: (gail_image_class_init),
+       (gail_image_init), (elide_underscores), (gail_image_get_name),
+       (atk_image_interface_init), (gail_image_finalize):
+       * modules/other/gail/gailimage.h:
+       R modules/other/gail/gailintl.h:
+       * po/POTFILES.skip: Use the stock item's label as the name of the
+       accessible in gailimage.c. Bug #504246.
+
+2007-12-19  Mathias Hasselmann  <mathias@openismus.com>
+
+       Avoid some compiler warnings and remove obsolete code. (#339540)
+
+       * gtk/gtkcalendar.c: Change week and year variable in
+       calendar_paint_week_numbers from gint to guint. Remove obsolete "#if
+       0" block from calendar_paint_day: The feature in question is handled
+       few lines above. Cast data returned by gtk_selection_data_get_text()
+       to (gchar*) in gtk_calendar_drag_data_received.
+
+2007-12-19 17:05:31  Tim Janik  <timj@imendio.com>
+
+       * modules/other/Makefile.am: include Makefile.decl to unbreak test rules.
+
+2007-12-19  Johan Dahlin  <johan@gnome.org>
+
+       * tests/buildertest.c (test_object_properties): 
+       Add another call to gtk_builder_add_string after using
+       delayed properties, as reported in #504393 but already
+       fixed in #495769.
+
+2007-12-18  Christian Persch  <chpe@gnome.org>
+
+       * configure.in:
+       * docs/reference/Makefile.am:
+       * docs/reference/libgail-util/*:
+       * gail-uninstalled.pc.in:
+       * gail.pc.in:
+       * modules/Makefile.am:
+       * modules/other/Makefile.am:
+       * modules/other/gail/*:
+       * modules/other/gail/libgail-util/*:
+       * po/POTFILES.skip: Integrate gail into gtk+. Bug #169488.
+
+2007-12-17  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtksettings.c: Add a gtk-im-module GTK setting
+       * gdk/win32/gdkproperty-win32.c: 
+       * gdk/x11/gdksettings.c: ...and back it by a Gtk/IMModule X setting.
+
+       * gtk/gtkimmodule.[hc]: 
+       * gtk/gtkimmulticontext.[hc]: When determining the default context,
+       look at the gtk-im-module setting, and listen for changes to the
+       setting.  (#502446, Akira Tagoh)
+
+2007-12-17  Kristian Rietveld  <kris@imendio.com>
+
+       * gtk/gtktooltip.c (gtk_tooltip_finalize),
+       (gtk_tooltip_set_last_window): use a weak pointer to set last_window
+       to NULL as soon as it's destroyed.  (#496546, patch from
+       Benjamin Berg).
+
+2007-12-17  Kristian Rietveld  <kris@imendio.com>
+
+       * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
+       always determine what arrow to show if show_sort_indicator is true.
+       (#352738, Chris Vine).
+
+2007-12-16  Mathias Hasselmann  <mathias@openismus.com>
+
+       Prevent assertion failure in gtk_paned_find_neighbours. (#503824,
+       Sébastien Granjoux)
+
+       * gtk/gtkpaned.c: Call gtk_container_forall instead of
+       gtk_container_foreach in get_child_panes.
+
+2007-12-15  Xan Lopez  <xan.lopez@nokia.com>
+
+       * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_reorder):
+
+       Plug leak: When reordering the info in the list the old node is
+       removed but not freed. (#503569)
+
+2007-12-15  Sebastian Dröge  <slomo@circular-chaos.org>
+
+       * gdk/directfb/gdkcursor-directfb.c: (gdk_cursor_new_for_display):
+       Use u32 instead of __u32 and u8 instead of __u8 as the other types
+       are deprecated since DirectFB 1.0.0. If compiling with an older
+       version define the new type name to the old types. Fixes bug #503190.
+
+2007-12-14  Ray Strode  <rstrode@redhat.com>
+
+       * gtk/gtkwidget.c: Suggest g_signal_connect (..., "realize", ...)
+       instead of g_signal_connect_after (..., "realize", ...) as an
+       alternative to gtk_widget_realize () (bug 503537).
+
+2007-12-14  Michael Natterer  <mitch@imendio.com>
+
+       * gdk/gdkinternals.h
+       * gdk/gdkapplaunchcontext.h: #include <gio/gio.h> instead of
+       individual files.
+
+       * gdk/gdkapplaunchcontext.c
+       * gdk/x11/gdkapplaunchcontext-x11.c: remove all gio includes, the
+       header already includes everything now.
+
+2007-12-14  Mathias Hasselmann  <mathias@openismus.com>
+
+       Correct "Since:" tags for GtkPageSetup and GtkPrintSettings as
+       next stable release shall be 2.16, not 2.14 - even if disagree.
+
+       * gtk/gtkpagesetup.c, gtk/gtkprintsettings.c: s/2.14/2.16/
+
+2007-12-14  Mathias Hasselmann  <mathias@openismus.com>
+
+       Change GtkToolItem to retrieve its properties from GtkToolShell
+       interface, instead of relying on being child of a GtkToolbar.
+       (#5034079)
+
+       * gtk/gtk.symbols, docs/reference/gtk/gtk-docs.sgml,
+       docs/reference/gtk/gtk-sections.txt: Add GtkToolShell symbols.
+       * docs/reference/gtk/tmpl/gtktoolitem.sgml: Move section docs inline.
+       * gtk/gtktoolbar.c: Implement GtkToolShellIface.
+       * gtk/gtktoolbar.h: Remove _gtk_toolbar_rebuild_menu.
+       * gtk/gtktoolitem.c: Use GtkToolShell, instead of GtkToolbar.
+       Take section docs from template file and update them for GtkToolShell.
+       * gtk/Makefile.am: Add gtk/gtktoolshell.c and gtk/gtktoolshell.h.
+       * gtk/gtktoolshell.c, gtk/gtktoolshell.h: New GtkToolShellIface.
+
+2007-12-14  Mathias Hasselmann  <mathias@openismus.com>
+
+       Extract loading of GtkPageSetup and GtkPrintSettings from their
+       *_new_*() functions and move that code into separate
+       *_load_*() functions (#475565).
+
+       * gtk/gtk.symbols, gtk/gtkpagesetup.c, gtk/gtkpagesetup.h:
+       Extract gtk_page_setup_load_file, gtk_page_setup_load_key_file,
+       gtk_print_settings_load_file and gtk_print_settings_load_key_file.
+       Change the matching *_new_*() functions to use those functions.
+
+2007-12-14  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtk.symbols:
+       * gtk/gtktooltip.[hc]: Add gtk_tooltip_set_icon_from_icon_name().
+
+2007-12-14  Kristian Rietveld  <kris@imendio.com>
+
+       * gtk/tests/liststore.c:
+       * gtk/tests/treestore.c: added tests for insertion functions.
+
+Thu Dec 13 13:14:50 2007  Søren Sandmann  <sandmann@redhat.com>
+
+       * Add RandR 1.2 support
+
+       - New monitors_changed signal - New API to get width/height of
+         monitors, and the name of the plug
+
+2007-12-13  Kristian Rietveld  <kris@imendio.com>
+
+       * gtk/tests/liststore.c:
+       * gtk/tests/treestore.c: test the move and swap functions on a
+       store with only one node.
+
+2007-12-13  Kristian Rietveld  <kris@imendio.com>
+
+       * gtk/gtktestutils.c (gtk_test_init): add a call to
+       g_test_bug_base().
+
+       * gtk/tests/treeview-scrolling.c: add g_test_bug() calls to
+       appriopriate tests.
+
+2007-12-13  Kristian Rietveld  <kris@imendio.com>
+
+       * gtk/tests/liststore.c:
+       * gtk/tests/treestore.c: start composing tests for the list and tree
+       store.
+
+       * gtk/tests/treeview-scrolling.c: added automated tests for
+       GtkTreeView's scrolling "subsystem".
+
+       * gtk/tests/Makefile.am: updated; added new test programs.
+
+2007-12-13  Mathias Hasselmann  <mathias@openismus.com>
+
+       Make the code compile again after the GdkAppLaunchContext changes.
+
+       * configure.in: Add gio-2.0 to GDK_PACKAGES.
+       * gdk/gdkinternals.h: Include <gio/gappinfo.h>.
+
+2007-12-12  Matthias Clasen  <mclasen@redhat.com>
+
+       * gdk/gdkapplaunchcontext.c: Add docs
+
+2007-12-12  Matthias Clasen  <mclasen@redhat.com>
+
+       * gdk/gdkapplaunchcontext.[hc]: Implement GAppLaunchContext 
+       in gdk, providing startup notification.  (#503203)
+
+       * gdk/x11/gdkapplaunchcontext-x11.c: 
+       * gdk/win32/gdkapplaunchcontext-win32.c:
+       * gdk/quartz/gdkapplaunchcontext-quartz.c: 
+       * gdk/directfb/gdkapplaunchcontext-directfb.c: Backend-specific
+       parts. All but X11 are just empty stubs for now.
+
+       * gdk/gdk.symbols:
+       * gdk/gdkinternals.h:
+       * gdk/Makefile.am:
+       * gdk/x11/Makefile.am: 
+       * gdk/win32/Makefile.am: 
+       * gdk/quartz/Makefile.am: 
+       * gdk/directfb/Makefile.am: Necessary glue.
+
+2007-12-12  Mathias Hasselmann  <mathias@openismus.com>
+
+       * gtk/gtkdnd.c: Another attempt to improve gtk_drag_dest_set docs.
+
+2007-12-11  Attilio Fiandrotti  <attilio.fiandrotti@gmail.com>
+
+       * gdk/directfb/gdktestutils-directfb.c:
+       * gdk/directfb/Makefile.am: Applied a patch by Claudio Ciccani
+       which adds testing functions to the DirectFB backend.
+
+2007-12-11  Attilio Fiandrotti  <attilio.fiandrotti@gmail.com>
+
+       * gdk/directfb/gdkdrawable-directfb.c: Applied a patch by Claudio
+       Ciccani which fixes the mixing of gdk and cairo rendering.
+
+2007-12-11  Mathias Hasselmann  <mathias@openismus.com>
+
+       * gtk/gtkdnd.c, gtk/gtkwidget.c: Mention impact of GtkDestDefaults
+       on "drag-motion" handlers. Clearify documentation for
+       gtk_drag_dest_set.
+
+2007-12-11 15:44:01  Tim Janik  <timj@imendio.com>
+
+        * buildertest.c: made unnecessarily exported symbols static.
+        switched g_return_if_fail() statements in tests to assertions.
+        special cased currently failing Widget/accesibility test to
+        run only for g_test_thorough(), so it doesn't break make check.
+        some coding style fixes.
+
+        * Makefile.am: added buildertest to TEST_PROGS.
+
+2007-12-11  Stefan Kost  <ensonic@users.sf.net>
+
+       * docs/tutorial/gtk-tut.sgml:
+         Use gtk_widget_get_parent_window() instead of widget->parent->window.
+
+2007-12-10  Richard Hult  <richard@imendio.com>
+
+       * gdk/quartz/Makefile.am:
+       * gdk/quartz/gdkquartz.h:
+       * gdk/quartz/gdkwindow-quartz.c: Install backend specific
+       header (bug #405915). Also add a getter for the toplevel nswindow.
+
+2007-12-10  Richard Hult  <richard@imendio.com>
+
+       * gdk/quartz/gdkdrawable-quartz.c:
+       (gdk_quartz_drawable_get_context),
+       (gdk_quartz_drawable_release_context):
+       * gdk/quartz/gdkeventloop-quartz.c: (gdk_event_prepare),
+       (gdk_event_check), (gdk_event_dispatch), (poll_func):
+       * gdk/quartz/gdkwindow-quartz.h: Replace the autorelease pools
+       used for each drawing context and in prepare, dispatch and poll
+       with one that exists across each main loop iteration. Fixes leaks
+       on leopard and protects against future leaks introduce when the
+       underlying system changes again (bug #492977).
+
+2007-12-10  Richard Hult  <richard@imendio.com>
+
+       * gdk/quartz/gdkwindow-quartz.c: (move_resize_window_internal):
+       Fix the check for no changes to position and size.
+
+2007-12-10  Richard Hult  <richard@imendio.com>
+
+       * gdk/quartz/GdkQuartzView.c: Ignore drawRect calls with zero
+       sized areas at (0, 0), patch from Paul Davis.
+
+2007-12-10  Richard Hult  <richard@imendio.com>
+
+       * gdk/quartz/gdkprivate-quartz.h: 
+       * gdk/quartz/gdkeventloop-quartz.c:
+       (_gdk_quartz_event_loop_get_pending),
+       (_gdk_quartz_event_loop_check_pending),
+       (_gdk_quartz_event_loop_release_event), (gdk_event_prepare),
+       (gdk_event_check), (gdk_event_dispatch):
+       * gdk/quartz/gdkevents-quartz.c: (gdk_events_pending)
+       (_gdk_events_queue): Fix a bug where we could end up trying to
+       handle the same event more than once. Based on patch from Paul
+       Davis.
+
+2007-12-10  Tor Lillqvist  <tml@novell.com>
+
+       * gtk-zip.sh.in: Include bin/gtk-builder-convert in the dev
+       package. (#502850)
+
+2007-12-10  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtknotebook.c (gtk_notebook_real_remove): Another fix
+       to avoid further fallout from the fix for bug 388321.
+
+2007-12-09 09:56:06  Attilio Fiandrotti  <attilio.fiandrotti@gmail.com>
+
+       * gdk/directfb/gdkgc-directfb.c:
+       * gdk/directfb/gdkdrawable-directfb.c:
+       * gdk/directfb/gdkdirectfb.h:
+       * gdk/directfb/gdkwindow-directfb.c:
+       * gdk/directfb/gdkprivate-directfb.h: Committed several patches
+       (window_flip_group, no_background_pixmap_fix, opt_temp_region2,
+       blit_after_cairo_fix, rect_clip_fix, fast_blend, opt_temp_region_etc,
+       opt_clip_region_and_fill_rects, no_state_resets) by Denis Oliver Knopp
+       which are expected to improve the performance of the DirectFB backend.
+       Experimental pieces of code (GDK_DIRECTFB_NO_EXPERIMENTS) are disabled.
+
+2007-12-07  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkcontainer.c: Correct the documentation of child
+       property getter arguments.  (#501992, David Brigada)
+
 2007-12-07  Matthias Clasen  <mclasen@redhat.com>
 
        * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't