ChangeLog 33.7 KB
Newer Older
1 2 3 4 5
2007-12-27  Christian Persch  <chpe@gnome.org>

	* gdk/x11/gdkscreen-x11.c: (init_randr12): Fir the patch from 
	bug #504886 not to read unitialised memory.

Xan Lopez's avatar
Xan Lopez committed
6 7 8 9 10 11
2007-12-26  Xan Lopez  <xan@gnome.org>

	* gtk/gtkstatusbar.c (has_extra_children): take into account the
	modification of the internal frame contents to decide if we have
	extra children. (#415677)

12 13
2007-12-22  Christian Persch  <chpe@gnome.org>

Christian Persch's avatar
Christian Persch committed
14 15 16 17
	* modules/other/gail/gailitem.c: Fix mem leak. Bug #505556.

2007-12-25  Christian Persch  <chpe@gnome.org>

18 19 20 21
	* modules/other/gail/gailwindow.c: (gail_window_initialize):
	Initialise |widget|. Fixes a buglet introduced by the commit from bug
	#505226.

Christian Persch's avatar
Christian Persch committed
22
2007-12-25  Christian Persch  <chpe@gnome.org>
23 24 25

        * modules/other/gail/*.h: Use G_BEGIN_DECLS/G_END_DECLS. Bug #505268.
	
Christian Persch's avatar
Christian Persch committed
26
2007-12-25  Christian Persch  <chpe@gnome.org>
27 28 29 30 31 32 33

	* 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.

34 35 36 37 38 39 40
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)

41 42 43 44 45
2007-12-24  Matthias Clasen  <mclasen@redhat.com>

	* gdk/gdkapplaunchcontext.c: Remove unneeded includes. (#505411,
	 Kazuki IWAMOTO)

46 47 48 49 50 51
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)

52 53 54 55 56 57 58 59
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)
	
60 61 62 63 64 65 66 67 68
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.

69 70
2007-12-22  Christian Persch  <chpe@gnome.org>

71 72 73 74 75
	* 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
76 77
	handwritten get_type functions. Bug #504661.

78 79 80 81 82 83 84
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)

85 86 87 88 89
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.

90 91 92 93
2007-12-22  Christian Persch  <chpe@gnome.org>

	* gdk/x11/gdkscreen-x11.c: (init_randr12): Plug mem leaks. Bug #504886.

94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115
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.

Matthias Clasen's avatar
Matthias Clasen committed
116 117 118 119 120
2007-12-22  Matthias Clasen  <mclasen@redhat.com>

	* modules/other/gail/gailclist.c: Chain up the finalizer (#504570,
	Christian Persch)

121 122 123 124 125
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.

126 127 128 129 130 131
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

132 133 134 135 136 137 138
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

139 140
2007-12-20  Kristian Rietveld  <kris@imendio.com>

141
	* configure.in: RYuri Pimenovemove leftovers from old XRandR check.  Makes
142 143
	the build work again on systems without xrandr 1.2.

144 145 146 147 148 149 150
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.

151 152 153 154
2007-12-20 15:30:09  Tim Janik  <timj@imendio.com>

	* Makefile.decl: generate HTML reports for test-report perf-report full-report.

Alexander Larsson's avatar
Alexander Larsson committed
155
2007-12-20  Alexander Larsson  <alexl@redhat.com>
156 157
        
	* gdk/x11/gdkapplaunchcontext-x11.c:
Alexander Larsson's avatar
Alexander Larsson committed
158 159
	Update for gio API changes

160 161 162 163 164 165
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.

166 167 168
2007-12-20  Richard Hult  <richard@imendio.com>

	* modules/other/gail/gailwindow.c: (gail_window_get_mdi_zorder):
Richard Hult's avatar
Richard Hult committed
169
	Add stub for quartz to fix build.
170

171 172 173 174 175 176 177 178 179 180 181
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.

182
2007-12-19  Mathias Hasselmann  <mathias@openismus.com>
183 184 185 186 187 188 189 190 191

	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.

192 193 194 195
2007-12-19 17:05:31  Tim Janik  <timj@imendio.com>

	* modules/other/Makefile.am: include Makefile.decl to unbreak test rules.

196 197 198 199 200 201 202
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.

203 204 205 206 207 208 209 210 211 212 213 214 215
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.

216 217 218 219 220 221 222 223 224 225 226
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)

227 228 229 230 231 232 233
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).

234 235 236 237 238 239
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).

240 241 242 243 244 245 246 247
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.

248 249 250 251 252 253 254
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)

255 256 257 258 259 260 261
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.

262 263 264 265 266 267
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).

268 269 270 271 272 273 274 275 276 277
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.

278 279 280 281 282 283 284
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/

285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300
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.

301 302 303 304 305 306 307 308 309 310 311
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.

Matthias Clasen's avatar
Matthias Clasen committed
312 313 314 315 316
2007-12-14  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtk.symbols:
	* gtk/gtktooltip.[hc]: Add gtk_tooltip_set_icon_from_icon_name().

317 318 319 320 321
2007-12-14  Kristian Rietveld  <kris@imendio.com>

	* gtk/tests/liststore.c:
	* gtk/tests/treestore.c: added tests for insertion functions.

Søren Sandmann's avatar
Søren Sandmann committed
322 323 324 325 326 327 328
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

329 330 331 332 333 334
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.

335 336 337 338 339 340 341 342
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.

343 344 345 346 347 348 349 350 351 352 353
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.

354 355 356 357 358 359 360
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>.

Matthias Clasen's avatar
Matthias Clasen committed
361 362 363 364
2007-12-12  Matthias Clasen  <mclasen@redhat.com>

	* gdk/gdkapplaunchcontext.c: Add docs

365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383
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.

384 385 386 387
2007-12-12  Mathias Hasselmann  <mathias@openismus.com>

	* gtk/gtkdnd.c: Another attempt to improve gtk_drag_dest_set docs.

388 389 390 391 392 393
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.

394 395 396 397 398
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.

399 400 401 402 403 404
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.

405 406 407 408 409 410 411 412 413 414
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.

415 416 417 418 419
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.

420 421 422 423 424 425 426
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.

427 428 429 430 431 432 433 434 435 436 437 438 439
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).

440 441 442 443 444
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.

445 446 447 448 449
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.

450 451 452 453 454 455 456 457 458 459 460 461 462
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.

463 464 465 466 467
2007-12-10  Tor Lillqvist  <tml@novell.com>

	* gtk-zip.sh.in: Include bin/gtk-builder-convert in the dev
	package. (#502850)

468 469 470 471 472
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.

473 474 475 476 477 478 479 480 481 482 483 484 485
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.

486 487 488 489 490
2007-12-07  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkcontainer.c: Correct the documentation of child
	property getter arguments.  (#501992, David Brigada)

491 492 493 494 495
2007-12-07  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
	leak pixbufs.  (#502250, Yevgen Muntyan)

496 497 498 499
2007-12-07  Yevgen Muntyan  <muntyan@tamu.edu>

	* gtk/gtkprintunixdialog.c:
	* gtk/gtkpagesetupunixdialog.c: added alternative button order in
Yevgen Muntyan's avatar
Yevgen Muntyan committed
500
	Print and Page Setup dialogs (#502202).
501

502 503 504 505 506 507
2007-12-07 13:16:33  Tim Janik  <timj@imendio.com>

	* Makefile.decl: skip tests if gdktarget!=x11, since GUI tests need
	Xvfb. only start Xvfb if TEST_PROGS is not empty. moved "set -e" out
	of XVFB_START, since it's the GTESTER invokation that needs this.

508 509 510 511 512 513 514
2007-12-06  Tommi Komulainen  <tommi.komulainen@iki.fi>

	* gdk-pixbuf/gdk-pixbuf.symbols:
	* gdk/gdk.symbols:
	* gdk/gtk.symbols: Remove trailing whitespace that can trigger false
	positives in abicheck.sh

515 516 517 518 519
2007-12-06 18:45:06  Attilio Fiandrotti  <attilio.fiandrotti@gmail.com>

	* gdk/directfb/gdkevents-directfb.c: Committed a patch by DOK to fix
	GDK events generations in the DirectFB backend.

520 521 522 523 524
2007-12-06 13:55:06  Tim Janik  <timj@imendio.com>

	* Makefile.decl: replaced seq(1) invokation for X11 ids with a hardcoded
	set of likely unused display ids, because MacOS has no seq(1) command.

525 526 527 528 529 530
2007-12-06  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkevents-quartz.c:
	(synthesize_crossing_events_for_ns_event): Fix warning when
	switching spaces in leopard.

531 532 533 534 535 536
2007-12-06 13:38:36  Tim Janik  <timj@imendio.com>

	* tests/floatingtest.c: ported to new testing framework.

	* tests/Makefile.am: run floatingtest as testing framework test.

537 538 539 540 541 542 543 544 545 546 547
2007-12-06 10:44:52  Tim Janik  <timj@imendio.com>

	* tests/autotestfilechooser.c: majorly speed up execution by reducing
	timeouts and converting main loop sleeps to pending/iterate loops with
	very low priority async handlers. eliminate output for non-verbose
	tests. assert successfull subtests in all test functions. use testing
	framework in main().

	* tests/Makefile.am: add autotestfilechooser to TEST_PROGS, so it's
	executed inside Xvfb upon make check.

548 549 550 551 552
2007-12-06 08:23:38  Tim Janik  <timj@imendio.com>

	* tests/objecttests.c: use string comparisons for string property
	values and get rid of referencing symbols in array initialization.

553 554 555 556 557 558 559 560 561 562 563 564 565 566
2007-12-05 18:59:59  Tim Janik  <timj@imendio.com>

	* gtk+/Makefile.decl: run tests in current dir after setting up the
	logging directory, so their results get properly merged into the
	resulting test log.

	* gtk+/gtk/gtktestutils.[hc]: added gtk_test_list_all_types() for
	tests to loop over registered Gdk/Gtk+ types.

	* gtk+/tests/objecttests.c: new test program, implements automated
	property tests. several properties are blacklisted because they
	seem to trigger Gdk/Gtk+ bugs. ./objecttests -m thorough --verbose
	can be used to test blacklisted properties and see which proprty failed.

567 568 569 570 571
2007-12-04  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_init):
	Fully initialize the root window, fixes bug #501583.

572 573 574 575 576
2007-12-04  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtknotebook.c: Modify the tab-label-destroy fix to not
	crash epiphany.

577 578 579 580 581 582
2007-12-03  Richard Hult  <richard@imendio.com>

	* gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
	Don't crash when dragging from a source that doesn't support uri
	lists (bug #499868, Paul Davis).

583 584 585 586 587 588 589
2007-12-03  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkwindow-quartz.c:
	(gdk_window_impl_quartz_begin_paint_region): Don't crash when a
	parent relative bg pixmap is set, and no parent has a bg
	pixmap. Fixes bug #500804.

590 591 592 593 594 595 596 597 598 599 600 601 602 603
2007-12-03  Matthias Clasen  <mclasen@redhat.com>

	Two optimizations for icon cache lookups.

	* gtk/gtkiconcache.[hc]:
	* gtk/gtkicontheme.c: Remember the directory index for
	subdirectories, instead of running over the directory list
	again and again.

	* gtk/gtkiconcache.c (find_image_offset): Remember the last 
	chain and try it first; this helps with the the usage patterns
	in gtkicontheme.c, where the same icon is queried for a lot
	of subdirectories.

604 605 606 607 608 609
2007-12-03 15:18:17  Tim Janik  <timj@imendio.com>

	* gtk/Makefile.am (gtktypefuncs.c): use 'grep -o' to extract _get_type
	functions from header files. this should be portable across linux and
	Mac OS, unlike the previpous sed expression.

610 611 612 613 614 615 616 617 618 619
2007-12-1  Cody Russell  <bratsche@gnome.org>

	* gtk/gtkpaned.c: (gtk_paned_set_position) [Win32]:
	On Windows, queue a redraw of child2 whenever we set
	the pane handle position.  This is unfortunately kind
	of hacky, but solves the visual artifacts that were
	occuring on at least certain types of child widgets
	(e.g., text views and tree views) that are inside
	horizontal or vertical panes. (#144269)

Matthias Clasen's avatar
Matthias Clasen committed
620 621 622 623
2007-11-30  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkrc.c: Fix doc typos.  (#500672, David Lambert)

Matthias Clasen's avatar
Matthias Clasen committed
624
2007-11-29  Matthias Clasen  <mclasen@redhat.com>
625

Matthias Clasen's avatar
Matthias Clasen committed
626 627 628
	* gtk/gtkmenuitem.c (gtk_menu_item_paint): Remove leftover
	debug spew.

Matthias Clasen's avatar
Matthias Clasen committed
629 630 631 632
2007-11-29  Matthias Clasen  <mclasen@redhat.com>

	* gtk/Makefile.am: Fix ordering of subdirs.

633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651
2007-11-28  Tor Lillqvist  <tml@novell.com>

	A proper build of GNU libintl is supposed to export the variable
	_nl_msg_cat_cntr. configure looks for that variable in order to
	recognize GNU gettext. If it sees that it is indeed GNU gettext
	that is used, it decides to install message catalogs in
	share/locale, otherwise in lib/locale. Until now on Windows I have
	built GTK+ against a build of GNU gettext that did not export
	_nl_msg_cat_cntr. But this will change, so we can't assume message
	catalogs are always in lib/locale.

	* gtk/gtkmain.c: (_gtk_get_localedir) [Win32]: Rework to handle
	GTK_LOCALEDIR being either in "lib" or "share". Move the function
	before the inclusion of gtkprivate.h so that it sees the original
	GTK_LOCALEDIR.

	* gtk-zip.sh.in: Check whether the message catalogs are in
	share/locale or lib/locale.

652 653 654
	* config.h.win32.in: Tack on "/share/locale" to GTK_LOCALEDIR so
	that the code in _gtk_get_localedir() will find the slashes.

655 656 657 658 659 660
2007-11-28  Tor Lillqvist  <tml@novell.com>

	* gtk/Makefile.am: Improve portability. The -o option is present
	only in newish GNU egreps. Use one more sed in the pipeline
	instead.

661 662 663 664 665 666 667 668 669 670 671 672
2007-11-28  Tor Lillqvist  <tml@novell.com>

	Fix #375893, patch by Ben Hague:

	* gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Wrapper
	around GetLogicalDrives() that takes also the viewable drive
	restrictions in the Registry (which are usually the result of an
	Active Directory Group Policy) into account.

	(check_volumes, gtk_file_system_win32_list_volumes) Call
	get_viewable_logical_drives() instead of GetLogicalDrives().

673 674 675 676 677
2007-11-27  Matthias Clasen <mclasen@redhat.com>

	* gtk/gtkwindow.c (gtk_window_move_resize): Zero some
	variables to silence valgrind.  (#495124, Morten Welinder)

678 679 680 681 682 683 684 685 686 687 688 689 690
2006-11-26  Ryan Lortie  <desrt@desrt.ca>

	* docs/reference/gtk/tmpl/gtkbuildable.sgml: add clarification stating
	that the construct_child function is responsible for returning a
	reference.
	* gtkbuilder.c (_gtk_builder_construct): remove g_object_ref() for
	objects from constructors
	* gtkuimanager.c (gtk_ui_manager_buildable_construct_child): add
	g_object_ref() to this construction function (it's the only
	implementer in GTK)

	Fixes #496645.

691 692 693 694 695
2006-11-26  Ryan Lortie  <desrt@desrt.ca>

	* gtkbuilder.c: remove concept of root objects and just refcount
	all objects in the builder.  Fixes #496651.

Allison Karlitskaya's avatar
Allison Karlitskaya committed
696 697 698 699
2007-11-26  Ryan Lortie  <desrt@desrt.ca>

	* tests/buildertest.c (test_window): fix invalid free

700 701 702 703 704 705 706 707 708 709 710 711 712 713 714
2007-11-26  Josselin Mouette <joss@malsain.org>

	reviewed by: Federico Mena Quintero

	* gtk/gtkfilechooserdefault.c: (shortcuts_append_paths),
	(shortcuts_add_bookmarks), (shortcuts_selection_changed_cb),
	(shortcuts_list_create), (gtk_file_chooser_default_should_respond):
	Make the shortcuts activate with a single click. (#148828)
        Fix a few things affected by the change:
	  - Set selection mode to GTK_SELECTION_SINGLE to allow a case 
	    where no shortcut is selected.
	  - Don't activate a shortcut in the response callback.
	  - Filter out duplicate entries in volumes and bookmarks to 
	    avoid the selection to change when reordering them with DnD.

715 716 717 718 719 720 721 722 723
2007-11-26  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkmain.c:
	* gtk/gtknotebook.c:
	* gtk/gtkplugprivate.h:
	* gtk/gtksocket.c:
	* gtk/gtksocketprivate.h:
	* gtk/gtktable.c: Fix up some doc comments to shut up gtk-doc.

724 725 726 727 728
2007-11-26  Matthias Clasen  <mclasen@redhat.com>

	* configure.in: Use $CUPS_CONFIG instead of hardcoded cups-config.
	(#495574, Richard Hult)

729 730 731 732 733
2007-11-26  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkprintunixdialog.c: Change some labels to be clearer.
	String change !   (#376361, Sven Neumann)

734 735 736 737 738 739 740
2007-11-26  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtknotebook.c (gtk_notebook_update_labels): Short-circuit on
	destroy.
	(gtk_notebook_destroy): Destroy tab_label widgets. (#388321, Morten
	Welinder)

741 742 743 744 745
2007-11-26  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkassistant.c: Improve alternative button
	ordering.  (#476827, Yevgen Muntyan, patch by Carlos Garnacho)

746 747 748 749 750
2007-11-26  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkcalendar.c: Fix a theming problem with colors
	in GtkCalendar.  (#499703, Michael Hofmann)

Matthias Clasen's avatar
Matthias Clasen committed
751 752 753 754
2007-11-26  Matthias Clasen  <mclasen@redhat.com>

	* configure.in: Bump glib requirement to 2.15.0 (for g_test_init)

755 756 757 758 759 760 761 762 763 764 765 766 767 768 769
2007-11-26  Matthias Clasen  <mclasen@redhat.com>

	Use templates for glib-mkenums calls instead of 
	complicated commandlines in Makefiles.  (#429910)

	* gdk-pixbuf/Makefile.am:
	* gdk/Makefile.am: 
	* gtk/Makefile.am: 
	* perf/Makefile.am: Use templates for glib-mkenums

	* gdk-pixbuf/gdk-pixbuf-enum-types.[ch].template:
	* gdk/gdkenumtypes.[ch].template: 
	* gtk/gtktypebuiltings.[ch].template: 
	* perf/typebuiltins.[ch].template: The templates

770 771 772 773 774 775
2007-11-26  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkfilechooserbutton.c:
	* gtk/gtktoolbar.c: Don't use guint8 for bitfields, since
	some compilers choke on that.  (#467722)

776 777 778 779 780
2007-11-26  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Add a note
	about hook setup.  (#425004, Emmanuele Bassi)

781 782 783 784 785 786
2007-11-26  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkwindow-win32.c (gdk_window_fullscreen): Use the
	monitor the window currently is on, not always the primary
	monitor. (#463865, Tim Evans)

787 788 789 790 791 792
2007-11-26  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdktestutils-win32.c: New file, dummy implementations.

	* gdk/win32/Makefile.am: Add it.

793 794 795 796
2007-11-26  Tor Lillqvist  <tml@novell.com>

	* configure.in: Don't add jasper to all_loaders if no libjasper.

797 798 799 800 801
2007-11-25  Bastien Nocera  <hadess@hadess.net>

	* configure.in: Add detection for libjasper, used by the
	gdk-pixbuf JPEG2000 loader

Matthias Clasen's avatar
Matthias Clasen committed
802 803 804 805 806 807
2007-11-25  Matthias Clasen  <mclasen@redhat.com>

	* configure.in: Require gtk-doc 1.8

	* */*.c: Use gtk-doc abbreviations for examples in docs.

Matthias Clasen's avatar
Matthias Clasen committed
808 809 810 811 812
2007-11-25  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktreeview.c (gtk_tree_view_set_show_expanders): Fix a
	typo.  (#498922)

813 814 815 816 817 818
2007-11-25  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkdialog.c: Move signal and property documentation inline,
	fix a problem with the ::response signal docs.  (#499133, Josselin
	Mouette)

819 820 821 822 823 824 825 826
2007-11-22 15:48:26  Tim Janik  <timj@imendio.com>

        * Makefile.decl: initialize automake variables EXTRA_DIST and
	TEST_PROGS for unconditional appending via += in other makefiles.
	define recursive test targets: test, test-report, perf-report,
	full-report, as described here:
      http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
	the test targets will execute Gtk+ test programs within an Xvfb session.
827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856

        * gtk/gtktestutils.c: call g_test_init() from gtk_test_init().

        * gtk/tests/testing.c: use g_test_add_func() to register tests and use
	g_test_run() to run the tests to integrate with the testing framework.

        * gtk/tests/Makefile.am: removed exemplary testing rules.

        * Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
        * gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
        * tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
        * docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
        * docs/reference/Makefile.am, docs/tools/Makefile.am:
        * docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
        * gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
        * demos/gtk-demo/Makefile.am, demos/Makefile.am:
        * modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
        * modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
        * modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
        * modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
        * modules/engines/ms-windows/Theme/Makefile.am:
        * modules/engines/ms-windows/Makefile.am:
        * modules/engines/Makefile.am,  modules/engines/pixbuf/Makefile.am:
        * modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
        * contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
        * gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
        * gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
        * gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
	include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.

857 858 859 860 861
2007-11-22  Matthias Clasen  <mclasen@redhat.com>

	* modules/printbackends/cups/gtkcupsutils.c: Fix a casting problem.
	(#485662, patch by Herbert Valerio Riedel)

862 863 864 865
2007-11-22  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktextiter.c: Fix an aliasing problem.  (#347585, Ed Catmur)

866 867 868 869 870
2007-11-21  Richard Hult  <richard@imendio.com>

	* gdk/quartz/Makefile.am: * gdk/quartz/gdktestutils-quartz.c: Add
	stubs for the testing functions to fix the build.

871 872 873 874 875
2007-11-21  Behdad Esfahbod  <behdad@gnome.org>

	* tests/testrichtext.c (setup_buffer): Fix C89 compilation issue.
	(#467711, The Written Word)

876 877 878 879 880
2007-11-21  Ross Burton  <ross@openedhand.com>

	* gdk/x11/gdksettings.c:
	Add xsetting for gtk-scrolled-window-placement (#458103).

881 882 883 884 885 886
2007-11-21  Behdad Esfahbod  <behdad@gnome.org>

	* gtk/gtkmenuitem.c (gtk_menu_item_class_init),
	(gtk_menu_item_paint): Make GtkMenuItem's arrow size themeable.
	(#469239, Michael Natterer)

887 888 889 890 891 892 893
2007-11-21  Behdad Esfahbod  <behdad@gnome.org>

	* gdk/x11/gdksettings.c (gdk_settings_names, gdk_settings_map): Add
	Gtk/EnableAccels and Gtk/EnableMnemonics xsettings for
	gtk-enable-accels and gtk-enable-mnemonics GtkSettings respectively.
	(#436536, Tommi Komulainen)

894 895 896 897 898
2007-11-21  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktoolbar.c: Fix the default value of the toolbar-style
	property.  (#489782, Jan Janech)

899 900 901 902 903
2007-11-20  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkimage.c (animation_timeout): Avoid drawing one too many
	frames.  (#107398, Owen Taylor, Miguel Gomez)

904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963
Tue Nov 20 15:19:42 2007 +0100 Tim Janik

	Moved Gdk test functions from Gtk+ to Gdk test utils.

	* gdk/Makefile.am: added gdktestutils.h to public includes.

	* 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_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,
	gdk_test_simulate_key, gdk_test_render_sync.

	* gtk/gtktestutils.c:
	* gtk/gtktestutils.h:
	* gtk/gtk.symbols: removed gtk_test_simulate_button
	gtk_test_simulate_key, gtk_test_xserver_render_sync.

	* gtk/tests/testing.c: call gdk_test_render_sync.

Thu Nov 15 13:11:39 2007 +0100 Tim Janik

	Added unit tests for Gtk+ testing utilities.

	* gtk/tests/testing.c: added a sample test program that tests Gtk+ test
	utility functions. some g_test_* related portions are disabled and need
	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/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.

Thu Nov 15 11:55:34 2007 +0100 Tim Janik

	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/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.
964 965 966 967 968
2007-11-20  Bastien Nocera  <hadess@hadess.net>

	* configure.in: add support for conditional icns gdk-pixbuf loader
	(Closes: #395738)

969 970 971 972 973 974 975 976
2007-11-19 10:31:26  Tim Janik  <timj@imendio.com>

	* configure.in: updated version number to 2.15.0 for development.

2007-11-19 10:27:39  Tim Janik  <timj@imendio.com>

	=== Branch for 2.12 ===