ChangeLog 59.4 KB
Newer Older
1 2 3 4 5 6 7 8 9
2008-01-31  Cody Russell  <bratsche@gnome.org>

	* gdk/win32/gdkevents-win32.c:
	Refactored some of the window hiding/showing code from
	WM_ACTIVATE to WM_SIZE and WM_SYSCOMMAND.  Having this
	under WM_ACTIVATE was causing the application to go into
	a weird state when the user right-clicked on the taskbar
	entry of a window that was minimized.  (#505928)
	
10 11 12 13 14 15 16
2008-01-31  Cody Russell  <bratsche@gnome.org>

	* gtk/gtkpaned.c (gtk_paned_set_position):
	Change queue_resize() to queue_draw(), and add a check for
	child2 != NULL in case someone calls this before there is
	a child packed in there.  (#144269 again)

17 18 19 20 21
2008-01-31  Sven Neumann  <sven@gimp.org>

	* gdk/directfb/gdkimage-directfb.c (_gdk_directfb_copy_to_image):
	applied patch from Denis Oliver Kropp <dok@directfb.org>.

22 23 24 25 26 27 28 29
2008-01-31  Sven Neumann  <sven@gimp.org>

	* gdk/directfb/gdkdisplay-directfb.c
	* gdk/directfb/gdkdrawable-directfb.c
	* gdk/directfb/gdkprivate-directfb.h
	* gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
	Oliver Kropp <dok@directfb.org>. Fixes remaining warnings.

30 31 32 33 34 35 36 37
2008-01-31  Richard Hult  <richard@imendio.com>

	* gdk/quartz/GdkQuartzView.c: Another attempt at fixing focus
	issues with undecorated windows. Revert the change done on
	2008-01-25 and fix it by using the view's bounds instead. The
	bounds will always be up to date when setting up the tracking
	rect, so this should be more robust.

38 39 40 41 42 43 44 45
2008-01-30  Sven Neumann  <sven@gimp.org>

	* gdk/directfb/gdkdrawable-directfb.c
	* gdk/directfb/gdkwindow-directfb.c
	* gdk/directfb/gdkprivate-directfb.h: applied patch from Denis
	Oliver Kropp <dok@directfb.org>. Adds debug messages using
	DirectFB's debugging system

46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61
2008-01-30  Sven Neumann  <sven@gimp.org>

	* gdk/directfb/gdkdirectfb.h
	* gdk/directfb/gdkdisplay-directfb.c
	* gdk/directfb/gdkdrawable-directfb.c
	* gdk/directfb/gdkim-directfb.c
	* gdk/directfb/gdkimage-directfb.c
	* gdk/directfb/gdkinput-directfb.c
	* gdk/directfb/gdkmain-directfb.c
	* gdk/directfb/gdkpixmap-directfb.c
	* gdk/directfb/gdktestutils-directfb.c
	* gdk/directfb/gdkvisual-directfb.c
	* gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
	Oliver Kropp <dok@directfb.org>. Fixes various warnings, some
	errors and has some cleanups.

62 63 64 65 66 67 68 69 70 71 72 73 74 75
2008-01-30  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkbuilderparser.c (parse_custom): use the right type for
	"subparser_data" and remove the (gpointer*) cast. Fixes bogus
	aliasing warning.

	* gtk/updateiconcache.c (add_string): cast const gchar* to
	gpointer when inserting in a GHashTable.

	* tests/testcalendar.c (calendar_detail_cb): remove const from
	return value since it's a newly allocated string.

	(calendar_update_details): free the detail.

Johan Dahlin's avatar
Johan Dahlin committed
76
2008-01-29  Johan Dahlin  <johan@gnome.org>
77 78 79 80 81 82 83

	* demos/gtk-demo/builder.c: (quit_activate), (about_activate),
	(do_builder):
	* demos/gtk-demo/demo.ui:
	Move the about dialog to the glade file, add accessible tags
	examples to the markup file.

84 85 86 87 88
2008-01-28  Paolo Borelli  <pborelli@katamail.com>

	* gtk/gtkprintunixdialog.c (draw_page_cb): do not leak the pango
	layout, fixes #512375.

89 90 91 92 93
2008-01-28  Michael Natterer  <mitch@imendio.com>

	* gtk/gtktextchild.c
	* gtk/gtktextview.c: meant to use G_STRFUNC, not G_STRLOC...

94 95 96 97 98 99
2008-01-28  Michael Natterer  <mitch@imendio.com>

	* demos/gtk-demo/builder.c (about_activate): use
	gtk_about_dialog_set_program_name() instead of the deprecated
	set_name().

100 101 102 103 104 105
2008-01-28  Michael Natterer  <mitch@imendio.com>

	* gtk/gtktextchild.c
	* gtk/gtktextview.c: use G_STRLOC instead of G_GNUC_FUNCTION (which
	is deprecated now).

106 107 108 109 110 111
2008-01-26  Johan Dahlin  <johan@gnome.org>

	* tests/Makefile.am:
	* tests/textbuffertest.c:
	Rename textbuffer test and port it to the new test framework
	
112 113
2008-01-25  Johan Dahlin  <johan@gnome.org>

114 115 116
	* gtk/gtktestutils.c (gtk_test_init): Restore accidentally removed
	unsetting of GTK_MODULES.

117 118 119 120 121
	* gtk/gtk-builder-convert
	(GtkBuilderConverter._convert_adjustment): Handle the case where
	there is no child text node.
	(GtkBuilderConverter): Allow xml comments in most places.

122 123 124 125 126 127 128 129 130 131
2008-01-25  Johan Dahlin  <johan@gnome.org>

	* gtk/gtk-builder-convert
	(GtkBuilderConverter._convert_combobox_items): Remove the items
	even if there are no items set.
	(GtkBuilderConverter._add_action_from_menuitem): Convert toggled
	signals and tooltips for all menu items subclasses and 
	GtkImageMenuItem:label. 
	Makes it possible to fully convert and run Jokosher.glade.

132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148
2008-01-25  Johan Dahlin  <johan@gnome.org>

	* gtk/gtkwidget.c: (gtk_widget_buildable_interface_init),
	(gtk_widget_buildable_get_internal_child), (free_action),
	(free_relation), (gtk_widget_buildable_parser_finished),
	(accessibility_start_element),
	(gtk_widget_buildable_custom_tag_start),
	(gtk_widget_buildable_custom_finished):
	Implement accessible support, fixes #454653.

	* gtk/gtk-builder-convert:
	Add support for migrating old glade files
	
	* tests/buildertest.c: (test_widget), (test_file):
	Add accessible tests and imprve the test_file function to display
	toplevels and run dialogs.

149 150 151 152 153
2008-01-25  Richard Hult  <richard@imendio.com>

	* gdk/quartz/GdkQuartzView.c: Don't recreate a tracking rect if it
	didn't change, fixes focus event issues for undecorated windows.

154 155 156 157 158
2008-01-25  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkwindow-quartz.c: Fix compile warnings (add missing
	const and remove unused variables).

159 160 161 162 163 164 165 166 167 168 169 170
2008-01-25  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkbutton.h
	* gtk/gtkcellrenderer.h
	* gtk/gtkimcontext.h
	* gtk/gtkstyle.h
	* gtk/gtktoolbar.h
	* gtk/gtktooltip.h
	* gtk/gtktreeprivate.h
	* gtk/gtktreeviewcolumn.h
	* gtk/gtkwidget.h: add const to constant structs which are passed
	into GTK+. Also add some forgotten const for const strings.
Michael Natterer's avatar
Michael Natterer committed
171
	Fixes bug #511554.
172 173 174 175 176 177 178 179 180 181 182

	* gtk/gtkbutton.c
	* gtk/gtkcellrenderer.c
	* gtk/gtkimcontext.c
	* gtk/gtkstyle.c
	* gtk/gtktoolbar.c
	* gtk/gtktooltip.c
	* gtk/gtktreeview.c
	* gtk/gtktreeviewcolumn.c
	* gtk/gtkwidget.c: changed accordingly.

Sven Herzberg's avatar
Sven Herzberg committed
183 184 185 186 187 188 189
2008-01-25  Sven Herzberg  <sven@imendio.com>

	Reviewed by Johan Dahlin.

	* gtk/gtkuimanager.c (gtk_ui_manager_remove_ui): emit a warning if
	this is called with something that's not a GtkUIManager

190 191 192 193 194
2008-01-24  Johan Dahlin  <johan@gnome.org>

	* gtk/gtkdialog.c (gtk_dialog_buildable_get_internal_child): 
	Chain up to parent, so widgets can have internal children.

195 196 197 198 199 200 201
2008-01-22  Mathias Hasselmann  <mathias@openismus.com>

	Add gdk_app_launch_context_get_type() to gdk.symbols (#511308, Kazuki
	IWAMOTO).

	* gdk/gdk.symbols: Add gdk_app_launch_context_get_type().

202 203 204 205 206 207 208
2008-01-22  Mathias Hasselmann  <mathias@openismus.com>

	Use pango_layout_set_height() for calendar details (#506049).

	* configure.in: Require 1.19.3 for pango_layout_set_height().
	* gtk/gtkcalendar.c: Use pango_layout_set_height() for details.

209 210 211 212 213 214 215 216 217 218
2008-01-18  Johan Dahlin  <johan@gnome.org>

	* gtk/gtk-builder-convert (get_property_node): New method
	(GtkBuilderConverter._create_object): Conditionally take a node as
	a property value, so don't lose translate/context attributes if they
	are set. 
	(GtkBuilderConverter._add_action_from_menuitem): Send in Node as
	property values instead of strings.
	(#509153, Erik van Pienbroek)

219 220 221 222 223 224 225 226
2008-01-16  Mathias Hasselmann  <mathias@openismus.com>

	Change GtkCalendarDetailFunc to return newly allocated string. (#339540)

	* gtk/gtkcalendar.c: Release the memory returned by the detail_func.
	* gtk/gtkcalendar.h: Remove G_CONST_RETURN from GtkCalendarDetailFunc.
	* tests/testcalendar.c: Duplicate calendar details before returning.

227 228 229 230 231 232
2008-01-16  Christian Persch  <chpe@gnome.org>

	* gtk/gtkwidget.c: Store the event mask and extension event mode
	directly in the gobject data pointer, instead of in an allocated
	gint. Bug #506604.

233 234 235 236 237
2008-01-16  Michael Natterer  <mitch@imendio.com>

	* configure.in (GDK_PIXBUF_PACKAGES): add "gio-2.0" because
	gdk-pixbuf now uses gio functions.

238 239 240 241 242
2008-01-16  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkcombobox.c (gtk_combo_box_set_model): Emit
	the notify::model signal.  (#509819, David Zeuthen)

243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270
2008-01-15  Michael Natterer  <mitch@imendio.com>

	* gdk/gdkdisplay.h
	* gdk/gdkdrawable.h
	* gdk/gdkevents.h
	* gdk/gdkpango.h
	* gdk/gdkregion.h
	* gdk/gdkrgb.h
	* gdk/gdkwindow.h: made more struct pointer and array parameters
	const. GDK should now be constified as far as possible without
	breaking source compatibility. Includes some minor cleanup like
	indentation and s/nfoo/n_foo/ (bug #508544).

	* gdk/gdkdisplay.c
	* gdk/gdkdraw.c
	* gdk/gdkevents.c
	* gdk/gdkpango.c
	* gdk/gdkregion-generic.c
	* gdk/gdkrgb.c
	* gdk/directfb/gdkdisplay-directfb.c
	* gdk/directfb/gdkwindow-directfb.c
	* gdk/quartz/gdkdisplay-quartz.c
	* gdk/quartz/gdkwindow-quartz.c
	* gdk/win32/gdkdisplay-win32.c
	* gdk/win32/gdkwindow-win32.c
	* gdk/x11/gdkdisplay-x11.c
	* gdk/x11/gdkwindow-x11.c: changed accordingly.

271 272 273 274 275 276 277 278
2008-01-14  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkrc.c (_gtk_rc_style_unset_rc_property): add cast to fix
	const warning.

	(gtk_rc_parse_any): change variables to const and introduce
	another local variable to fix const warnings.

279 280 281 282 283 284
2008-01-14  Michael Natterer  <mitch@imendio.com>

	* gdk/gdkscreen.c (gdk_screen_get_property): cast the return value
	of gdk_screen_get_font_options() to gpointer to get rid of const
	warning.

285 286 287 288 289
2008-01-14  Michael Natterer  <mitch@imendio.com>

	* tests/testdnd.c (source_drag_data_get): fix another call to
	gtk_selection_data_set().

Michael Natterer's avatar
Michael Natterer committed
290 291 292 293 294
2008-01-14  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkoldeditable.c (gtk_old_editable_selection_received): fix
	signedness warning.

Michael Natterer's avatar
Michael Natterer committed
295 296 297 298 299
2008-01-14  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkiconcache.c (find_image_offset): remove unused variable.

2008-01-14  Michael Natterer  <mitch@imendio.com>
300 301 302 303

	* gtk/gtkfilesystemmodel.c (drag_source_drag_data_get): cast
	"uris" to guchar* when passing it to gtk_selection_data_set().

304 305 306 307 308 309 310 311 312
2008-01-14  Michael Natterer  <mitch@imendio.com>

	* gdk/gdk.h
	* gdk/gdkcairo.h
	* gdk/gdkcolor.h
	* gdk/gdkgc.h
	* gdk/gdkinternals.h
	* gdk/gdkregion.h
	* gdk/gdkwindow.h: made GdkRectangle*, GdkRegion* and GdkColor*
313
	parameters const (bug #508544).
314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343

	* gdk/gdkcairo.c
	* gdk/gdkgc.c
	* gdk/gdkwindow.c
	* gdk/gdkrectangle.c
	* gdk/gdkpolyreg-generic.c
	* gdk/gdkregion-generic.c
	* gdk/directfb/gdkcolor-directfb.c
	* gdk/directfb/gdkgc-directfb.c
	* gdk/directfb/gdkgeometry-directfb.c
	* gdk/directfb/gdkwindow-directfb.c
	* gdk/quartz/gdkcolor-quartz.c
	* gdk/quartz/gdkgc-quartz.c
	* gdk/quartz/gdkgeometry-quartz.c
	* gdk/quartz/gdkwindow-quartz.c
	* gdk/win32/gdkcolor-win32.c
	* gdk/win32/gdkgc-win32.c
	* gdk/win32/gdkgeometry-win32.c
	* gdk/win32/gdkprivate-win32.h
	* gdk/win32/gdkwindow-win32.c
	* gdk/x11/gdkcolor-x11.c
	* gdk/x11/gdkgc-x11.c
	* gdk/x11/gdkgeometry-x11.c
	* gdk/x11/gdkmain-x11.c
	* gdk/x11/gdkprivate-x11.h
	* gdk/x11/gdkwindow-x11.c: changed accordingly.

	* gdk/gdkpolyreg-generic.c: uncruftify to have proper function
	headers.

344 345 346 347 348 349 350
2008-01-14  Mathias Hasselmann  <mathias@openismus.com>

	Explain name choice for gtk_tool_item_toolbar_reconfigured.

	* gtk/gtktoolitem.c: Add comment expaining name choice for
	gtk_tool_item_toolbar_reconfigured.

351 352 353 354 355 356 357 358 359 360
2008-01-14  Mathias Hasselmann  <mathias@openismus.com>

	Make _gtk_tool_item_toolbar_reconfigured public to allow GtkToolShell
	implementations to notify its children, when some aspect of their
	configuration changed (#509042).

	* gtk/gtk.symbols: Add gtk_tool_item_toolbar_reconfigured.
	* gtk/gtktoolbar.c, gtk/gtktoolitem.c, gtk/gtktoolitem.h:
	Rename _gtk_tool_item_toolbar_reconfigured.

361 362 363 364 365 366
2008-01-12  Mathias Hasselmann  <mathias@openismus.com>

	Include <gtk/gtktoolshell.h> from gtk.h.

	* gtk/gtk.h: Add gtktoolshell.h

367 368 369 370 371 372 373
2008-01-12  Mathias Hasselmann  <mathias@openismus.com>

	Print angle brackets arround e-mail addresses in the about dialog
	(#409520, Mariano Suárez-Alvarez).

	* gtk/gtkaboutdialog.c: Keep e-mail brackets in add_credits_page().

374 375 376 377 378 379 380 381 382
2008-01-11 13:28:02  Tim Janik  <timj@imendio.com>

	* gtk/gtktestutils.c (gtk_test_create_widget): removed old testutils
	special casing so test widgets are always queues for destruction
	during teardown.

	* gtk/tests/testing.c: removed bits left-over from testing without
	gtestutils.h.

383 384 385 386 387 388
2008-01-10  Tor Lillqvist  <tml@novell.com>

	* modules/other/gail/libgail-util/Makefile.am
	* modules/other/gail/tests/Makefile.am: Link with gtktargetlib and
	gdktargetlib.
	
389 390 391 392 393
2008-01-10  Tor Lillqvist  <tml@novell.com>

	* tests/Makefile.am: Build defaultvaluetest only on Unix as it
	uses gtkprintunixdialog API.

394 395 396 397 398 399 400 401 402 403 404
2008-01-10  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkdisplay-win32.c
	* gdk/win32/gdkglobals-win32.c
	* gdk/win32/gdkprivate-win32.h
	* gdk/win32/gdkscreen-win32.c
	* gdk/win32/gdkwindow-win32.c: Implement
	gdk_screen_get_monitor_width_mm(), gdk_screen_get_monitor_height_mm()
	and gdk_screen_get_monitor_plug_name(). Thanks to Kazuki
	Iwamoto. (#505753)

405 406 407 408 409
2008-01-10  Cody Russell  <bratsche@gnome.org>

	* gdk/win32/gdkwindow-win32.c: (gdk_window_set_transient_for),
	Properly ref/unref windows and parents.  (#506769)

410 411 412 413 414 415 416 417 418 419
2008-01-10  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
	(gdk_window_hide), (move_resize_window_internal): Move the
	tracking rect workaround from here...

	* gdk/quartz/GdkQuartzWindow.c:
	* gdk/quartz/GdkQuartzWindow.h: ...to here, and ignore window
	movements during showing/hiding operations. Fixes bug #508516.

420 421 422 423 424 425 426 427
2008-01-10  Michael Natterer  <mitch@imendio.com>

	* gdk/directfb/gdkscreen-directfb.c
	(gdk_screen_get_monitor_width_mm)
	(gdk_screen_get_monitor_height_mm)
	(gdk_screen_get_monitor_plug_name): add these functions to make
	it build again.

428 429 430 431 432 433 434
2008-01-10  Emmanuele Bassi  <ebassi@gnome.org>

	* gtk/gtkrecentchoosermenu.c:
	(idle_populate_func), (idle_populate_clean_up): Fix possible
	recursion by resetting the idle source id. (#507605, William
	Pitcock)

435 436 437 438 439 440
2008-01-10  Kristian Rietveld  <kris@imendio.com>

	* gtk/gtktreeview.c (gtk_tree_view_motion_draw_column_motion_arrow),
	(_gtk_tree_view_column_start_drag): fully initialize GdkWindowAttr to
	avoid valgrind warnings.  (#507751, patch from Christian Persch).

441 442 443 444 445
2008-01-10  Kristian Rietveld  <kris@imendio.com>

	* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_get_path): Fix
	a leak of the path (#504611, patch from Sadrul Habib Chowdhury).

446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464
2008-01-10  Kristian Rietveld  <kris@imendio.com>

	Fix #477175, reported by Juri Pakaste.

	* gtk/gtktreeprivate.h:
	* gtk/gtktreeview.c (gtk_tree_view_top_row_to_dy): do not set
	tree_view->priv->dy here directly, just calculate the new value
	and set it on the adjustment,
	(gtk_tree_view_adjustment_changed): add guards to not call
	gtk_tree_view_dy_to_top_row() if we are currently in
	gtk_tree_view_top_row_to_dy(),
	(gtk_tree_view_put): fix coordinate annotation: these are bin_window
	coordinates, not tree coordinates,
	(gtk_tree_view_real_start_editing): add cast.

	* gtk/tests/treeview-scrolling.c: add an assertion for checking the
	position of the editable in the "create new row and start editing"
	tests.

Michael Natterer's avatar
Michael Natterer committed
465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480
2008-01-09  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkcolorsel.c (make_label_spinbutton): remove unused
	variable.

	* gtk/gtkcombobox.c (gtk_combo_box_detacher)
	* gtk/gtkicontheme.c (theme_list_contexts)
	(gtk_icon_theme_lookup_icon)
	* gtk/gtkimcontextsimple.c (beep_window)
	* gtk/gtklinkbutton.c (set_link_color)
	* gtk/gtkuimanager.c (child_hierarchy_changed_cb): add casts to
	fix warnings.

	* gtk/gtkpathbar.c (_gtk_path_bar_set_file_system): remove unused
	variable and add const to another to fix a warning.

481 482 483 484 485
2008-01-07  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkassistant.c (remove_page): Be more robust when removing 
	the current page.  (#499951, Andreas Sandberg)

486 487 488 489 490
2008-01-06  Johan Dahlin  <johan@gnome.org>

	* gtk/gtkspinbutton.c: Declare value in the example code for
	GtkSpinButton::output, as pointed out by Anders Carlsson.

491 492 493 494 495
2008-01-06  Christian Persch  <chpe@gnome.org>

	* gtk/gtkpagesetupunixdialog.c: Make the labels left-aligned,
	and remove an obsolete event box. Bug #506760.

Johan Dahlin's avatar
Johan Dahlin committed
496 497
2008-01-06  Johan Dahlin  <johan@gnome.org>

498 499 500
	* tests/buildertest.c (test_domain): 
	Update, GtkBuilder::translation-domain is no longer set
	
501 502 503 504 505 506 507 508
	* gtk/gtkbuilderparser.c (parse_interface): 
	Allow domains to be overridden in <interface>'s if a translation-domain
	is set in the builder.
	(_gtk_builder_parser_parse_buffer): Do not modify the translation-domain
	of the builder, make the domain set in the <interface> apply only to strings
	in that interface.
	(#496831, Ryan Lortie)

509 510 511
	* gtk/gtkbuilder.c: Avoid adding unnecessary trailing newlines 
	to g_warning calls.

Johan Dahlin's avatar
Johan Dahlin committed
512 513 514
	* gtk/gtktreestore.c (tree_model_end_element): 
	Remove an unused variable

515 516 517 518 519
2008-01-06  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkspinbutton.c: Document the ::output signal and
	add an example.  (#507566, example by Owen Taylor)

520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542
2008-01-06  Johan Dahlin  <johan@gnome.org>

	* gtk/gtkcellrenderercombo.c:
	(gtk_cell_renderer_combo_get_property),
	(gtk_cell_renderer_combo_set_property):
	* gtk/gtkcombobox.c: (gtk_combo_box_set_property):
	* gtk/gtkcomboboxentry.c: (gtk_combo_box_entry_set_property):
	* gtk/gtknotebook.c: (gtk_notebook_set_property):
	* gtk/gtkspinbutton.c: (gtk_spin_button_set_property):
	* gtk/gtktextbuffer.c: (gtk_text_buffer_set_property),
	(gtk_text_buffer_get_property):
	* gtk/gtktextview.c: (gtk_text_view_set_property):
	* gtk/gtktogglebutton.c: (gtk_toggle_button_set_property):
	* gtk/gtktoolbutton.c: (gtk_tool_button_set_property),
	(gtk_tool_button_get_property):
	* gtk/gtktoolitem.c: (gtk_tool_item_set_property),
	(gtk_tool_item_get_property):
	* gtk/gtktreeview.c: (gtk_tree_view_set_property):
	* gtk/gtkwidget.c: (gtk_widget_set_property):
	* gtk/gtkwindow.c: (gtk_window_set_property):
	Use G_OBJECT_WARN_INVALID_PROPERTY_ID consistently.
	Fixes #507585

543 544 545 546 547 548
2008-01-06  Johan Dahlin  <johan@gnome.org>

	* gtk/gtk-builder-convert (GtkBuilderConverter._strip_root): 
	Make sure that --root works for toplevel widgets.
	(#491847, Phil Lello)

549 550 551 552 553
2008-01-05  Johan Dahlin  <johan@gnome.org>

	* modules/other/gail/tests/Makefile.am: Include Makefile.decl,
	to make sure that make test-report works properly

554 555 556 557 558
2008-01-05  Christian Persch  <chpe@gnome.org>

        * tests/defaultvaluetest.c: Fix mem leak, and don't pass
        GType as integer through gpointer. Bug #507395.

559 560 561 562 563 564 565 566 567
2008-01-04  Mathias Hasselmann  <mathias@openismus.com>

	Avoid some compiler warnings (#507000).

	* gtk/gtkbuilder.c, gtk/gtkbuilderprivate.h: Use proper sign
	for value argument of _gtk_builder_flags_from_string.
	* gtk/gtkwidget.c: Don't alias the child pointer passed
	to gdk_window_get_user_data.

568 569 570 571 572
2008-01-04  Michael Natterer  <mitch@imendio.com>

	* gdk/x11/gdkinput-x11.c (_gdk_device_get_history): don't forget
	to set the time in the returned GdkTimeCoords.

573 574 575 576 577 578 579 580 581 582
2008-01-03  Emmanuele Bassi  <ebassi@gnome.org>

	* gtk/gtkfilechooserdefault.c (recent_sort_mru): Use the
	correct comparison function (kudos to Christian Persch and
	Claudio Saavedra for spotting this)

	* gtk/gtkrecentchooserutils.c:
	(sort_recent_items_mru),
	(sort_recent_items_lru): Ditto as above.

Johan Dahlin's avatar
Johan Dahlin committed
583 584 585 586
2008-01-03  Johan Dahlin  <johan@gnome.org>

	* tests/defaultvaluetest.c: Make it pass again.

587 588 589 590 591 592 593 594
2008-01-02  Johan Dahlin  <johan@gnome.org>

	* tests/defaultvaluetest.c (test_type): Ignore a few more tests to 
	make it pass on Ubuntu.
	(main): Use gtk_test_list_all_types () instead of providing our
	own list.
	And it no longer passes.

595 596 597 598 599 600 601 602 603 604
2007-12-30  Johannes Schmid <jhs@gnome.org>

	* gtk/gtknotebook.c: (gtk_notebook_stop_reorder):
	Also reorder menu when reordering tabs by drag & drop
	(Bug #506474)
	
	* tests/testnotebookdnd.c: (create_notebook_with_notebooks):
	Add a menu to one of the notebooks to have a test-case for
	the change mentioned above.

Philip Van Hoof's avatar
Philip Van Hoof committed
605 606 607 608
2007-12-31  Philip Van Hoof  <pvanhoof@gnome.org>

        * gtk/gtktreemodel.c: Using GSlice for GtkTreePath

609 610 611 612 613
2007-12-31  Christian Persch  <chpe@gnome.org>

	* gtk/gtkprintunixdialog.c: (gtk_print_unix_dialog_get_property):
	Plug a mem leak. Bug #506107.

614 615 616 617 618
2007-12-28  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkiconfactory.c (render_fallback_image): Adjust to
	icon cache api change.  (#506135, Kazuki Iwamoto)

619 620 621 622 623 624 625 626 627 628 629 630
2007-12-28  Mathias Hasselmann  <mathias@openismus.com>

	Consider "wide-separators" and "separator-height" style properties:
	The separator is drawn using gtk_paint_box instead of cairo, when
	"wide-separators" is set. Also do not highlight details for previous
	or next month, if their day matches the selected day. (#339540)

	* gtk/gtkcalendar.c: Consider "wide-separators" and "separator-height"
	in gtk_calendar_size_request and calendar_paint_day
	* gtk/gtkstyle.c: Modify gtk_default_draw_box to use special colors
	for selected detail separators in GtkCalendar.

631 632 633 634 635 636 637
2007-12-28  Mathias Hasselmann  <mathias@openismus.com>

	Remove max_detail_height field from GtkCalendarPrivate. (#339540)

	* gtk/gtkcalendar.c: Drop max_detail_height field, and use
	a local variable instead in gtk_calendar_size_request.

Matthias Clasen's avatar
Matthias Clasen committed
638 639 640 641 642
2007-12-28  Matthias Clasen  <mclasen@redhat.com>

	* tests/defaultvaluetest.c: Add enough exclusions to make the
	test succeed.

643 644 645 646 647 648
2007-12-28  Christian Persch  <chpe@gnome.org>

	* modules/other/gail/Makefile.am:
	* modules/other/gail/tests/*:
	* configure.in: Merge tests from standalone gail. Bug #504568.

Matthias Clasen's avatar
Matthias Clasen committed
649 650 651 652 653
2007-12-28  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkclipboard.c: Make the finalizer work when display is
	not set.

654 655 656 657 658 659
2007-12-28  Mathias Hasselmann  <mathias@openismus.com>

	Draw bottom shadow of GtkCalender headings. (#506113)

	* gtk/gtkcalendar.c: Set proper initial height for priv->header_win.

Matthias Clasen's avatar
Matthias Clasen committed
660 661 662 663 664
2007-12-28  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkcalendar.c: Document the initial values of year/month/day
	properties.

665 666 667 668 669
2007-12-28  Christian Persch  <chpe@gnome.org>

	* gtk/gtkfontsel.c: (gtk_font_selection_get_property): Plug
	a mem leak. Bug #506096.

670 671
2007-12-28  Matthias Clasen  <mclasen@redhat.com>

672 673
	* gtk/gtktable.c:
	* gtk/gtktreeview.c:
674 675
	* gtk/gtkprintoperation.c:
	* gtk/gtkprogressbar.c:
676 677 678
	* gtk/gtkmessagedialog.c:
	* gtk/gtknotebook.c:
	* gtk/gtkprinter.c:
679 680 681 682 683
	* gtk/gtkfilesel.c:
	* gtk/gtklabel.c:
	* gtk/gtklinkbutton.c:
	* gtk/gtkmenu.c: More default property value corrections.

Matthias Clasen's avatar
Matthias Clasen committed
684 685 686 687 688
2007-12-28  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkitemfactory.c (gtk_item_factory_finalize): Don't unref
	accel_group unless it is set.

Matthias Clasen's avatar
Matthias Clasen committed
689 690 691 692
2007-12-28  Matthias Clasen  <mclasen@redhat.com>

	* gdk/x11/gdkwindow-x11.c (get_default_title): Don't return NULL.

693 694
2007-12-28  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
Matthias Clasen committed
695 696 697
	* gtk/gtkhandlebox.c: Fix the default values of shadow and 
	shadow-type properties.

Matthias Clasen's avatar
Matthias Clasen committed
698 699 700 701 702
	* gtk/gtkfontsel.c: Fix the default values of several properties.

	* gtk/gtkfilesel.c: Fix the default value of the show-fileops
	property.

703 704
	* gtk/gtkcurve.c: Fix the default value of the curve-type property.

705 706 707
	* gtk/gtkcombo.c: Fix the default value of the enable-arrows-always
	property.

708 709 710 711 712 713 714
2007-12-28  Johan Dahlin  <johan@gnome.org>

	* gtk/gtkdialog.c (gtk_dialog_buildable_custom_finished)
	(gtk_dialog_buildable_custom_tag_start): Chain up. 
	This makes it possible to have accelerators tags on GtkDialog 
	subclasses.

715 716 717
2007-12-28  Mathias Hasselmann  <mathias@openismus.com>

	Add GTK_CALENDAR_SHOW_DETAILS display flag, which chooses if details
718
	are shown within the widget, or just as tooltip. (#339540)
719 720 721 722 723 724

	* gtk/gtkcalendar.c, gtk/gtkcalendar.h: Add "show-details" property
	aka. GTK_CALENDAR_SHOW_DETAILS, and use it.
	* tests/testcalendar.c: Test GTK_CALENDAR_SHOW_DETAILS. Reduce padding
	in flags vbox.

725 726 727 728 729 730 731
2007-12-28  Mathias Hasselmann  <mathias@openismus.com>

	Try more decent appearance of calendar details separator. (#339540)

	* gtk/gtkcalendar.c: Use different colors for drawing the separator,
	and make it short by one pixel on each side.

732 733 734 735 736 737
2007-12-28  Mathias Hasselmann  <mathias@openismus.com>

	Apply trivial code-style changes from attachement 101101. (#339540)

	* tests/testcalendar.c: Some updates to current GTK+ code-style.

738 739 740 741 742 743
2007-12-28  Mathias Hasselmann  <mathias@openismus.com>

	Restructure testcalendar for testing calendar details. (#339540)

	* tests/testcalendar.c: Push code arround for testing calendar details.

744 745 746 747 748 749 750 751
2007-12-28  Mathias Hasselmann  <mathias@openismus.com>

	Implement GtkTooltip API for calendar details. (#339540)

	* gtk/gtkcalendar.c: Add gtk_calendar_query_tooltip and chain it up.
	Remember detail overflows in calendar_paint_day to show the tooltip
	only when neccessary.

752 753 754 755 756 757 758 759 760
2007-12-28  Mathias Hasselmann  <mathias@openismus.com>

	Without setting "detail-width-chars" and "detail-height-rows"
	properties not only the widget has to be redrawn on certain
	conditions, but also its size must be recalculated. (#339540)

	* gtk/gtkcalendar.c: Add calendar_queue_refresh and call
	that function instead of gtk_widget_queue_draw.

761 762 763 764 765 766 767 768
2007-12-28  Mathias Hasselmann  <mathias@openismus.com>

	Consider details for size-request and expose-event. (#339540)

	* gtk/gtkcalendar.c: Add gtk_calendar_get_detail and
	is_color_attribute functions. Change gtk_calendar_size_request
	and calendar_paint_day to consider and show calender details.

769 770 771 772 773
2007-12-28  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkcombobox.c: Introduce local priv variables to 
	reduce ->->

774 775
2007-12-27  Matthias Clasen  <mclasen@redhat.com>

776 777 778
	* gtk/gtkcombobox.c: Correct the default value for the 
	tearoff-title property.

779 780 781
	* gtk/gtkcellrenderertext.c: Fix the default value for the
	wrap-mode and font-scale properties.

782 783 784
	* gtk/gtkaspectratio.c: Fix the default value for the ratio
	property.

785 786 787 788 789
2007-12-27  Matthias Clasen  <mclasen@redhat.com>

	* gkt/gtksignal.h: Fix 0<>NULL confusion in gtk_signal_connect...
	defines.  (#505708,  MINAMI Hirokazu)

790 791 792 793
2007-12-27  Christian Persch  <chpe@gnome.org>
	
	* Makefile.am: Install gail.pc. Bug #505859.

794 795 796 797 798 799 800 801
2007-12-27  Mathias Hasselmann  <mathias@openismus.com>

	Add infrastructure for GtkCalendar details. (#339540)

	* gtk/gtkcalendar.c, gtk/gtkcalendar.h, gtk/gtk.symbols:
	Add "detail-width-chars" and "detail-height-rows" properties,
	and gtk_calendar_set_detail_func function.

802 803 804 805 806 807 808 809
2007-12-27  Xan Lopez  <xan@gnome.org>

	* gtk/gtk.symbols: 
	* gtk/gtkstyle.c (gtk_border_new, gtk_border_copy): 

	Add gtk_border_new to avoid memory allocator confusions when using
	GtkBorders. Also, make gtk_border_copy use g_slice_dup. (#454042)

810 811 812 813 814
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
815 816 817 818 819 820
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)

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

Christian Persch's avatar
Christian Persch committed
823 824 825 826
	* modules/other/gail/gailitem.c: Fix mem leak. Bug #505556.

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

827 828 829 830
	* 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
831
2007-12-25  Christian Persch  <chpe@gnome.org>
832 833 834

        * modules/other/gail/*.h: Use G_BEGIN_DECLS/G_END_DECLS. Bug #505268.
	
Christian Persch's avatar
Christian Persch committed
835
2007-12-25  Christian Persch  <chpe@gnome.org>
836 837 838 839 840 841 842

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

843 844 845 846 847 848 849
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)

850 851 852 853 854
2007-12-24  Matthias Clasen  <mclasen@redhat.com>

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

855 856 857 858 859 860
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)

861 862 863 864 865 866 867 868
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)
	
869 870 871 872 873 874 875 876 877
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.

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

880 881 882 883 884
	* 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
885 886
	handwritten get_type functions. Bug #504661.

887 888 889 890 891 892 893
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)

894 895 896 897 898
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.

899 900 901 902
2007-12-22  Christian Persch  <chpe@gnome.org>

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

903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924
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
925 926 927 928 929
2007-12-22  Matthias Clasen  <mclasen@redhat.com>

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

930 931 932 933 934
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.

935 936 937 938 939 940
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

941 942 943 944 945 946 947
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

948 949
2007-12-20  Kristian Rietveld  <kris@imendio.com>

950
	* configure.in: RYuri Pimenovemove leftovers from old XRandR check.  Makes
951 952
	the build work again on systems without xrandr 1.2.

953 954 955 956 957 958 959
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.

960 961 962 963
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
964
2007-12-20  Alexander Larsson  <alexl@redhat.com>
965 966
        
	* gdk/x11/gdkapplaunchcontext-x11.c:
Alexander Larsson's avatar
Alexander Larsson committed
967 968
	Update for gio API changes

969 970 971 972 973 974
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.

975 976 977
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
978
	Add stub for quartz to fix build.
979

980 981 982 983 984 985 986 987 988 989 990
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.

991
2007-12-19  Mathias Hasselmann  <mathias@openismus.com>
992 993 994 995 996 997 998 999 1000

	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.

1001 1002 1003 1004
2007-12-19 17:05:31  Tim Janik  <timj@imendio.com>

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

1005 1006 1007 1008 1009 1010 1011
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.

1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024
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.

1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035
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)

1036 1037 1038 1039 1040 1041 1042
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).

1043 1044 1045 1046 1047 1048
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).

1049 1050 1051 1052 1053 1054 1055 1056
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.

1057 1058 1059 1060 1061 1062 1063
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)

1064 1065 1066 1067 1068 1069 1070
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.

1071 1072 1073 1074 1075 1076
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).

1077 1078 1079 1080 1081 1082 1083 1084 1085 1086
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.

1087 1088 1089 1090 1091 1092 1093
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/

1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109
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.

1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120
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
1121 1122 1123 1124 1125
2007-12-14  Matthias Clasen  <mclasen@redhat.com>

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

1126 1127 1128 1129 1130
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
1131 1132 1133 1134 1135 1136 1137
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

1138 1139 1140 1141 1142 1143
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.

1144 1145 1146 1147 1148 1149 1150 1151
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.

1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162
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.

1163 1164 1165 1166 1167 1168 1169
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
1170 1171 1172 1173
2007-12-12  Matthias Clasen  <mclasen@redhat.com>

	* gdk/gdkapplaunchcontext.c: Add docs

1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192
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.

1193 1194 1195 1196
2007-12-12  Mathias Hasselmann  <mathias@openismus.com>

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

1197 1198 1199 1200 1201 1202
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.

1203 1204 1205 1206 1207
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.

1208 1209 1210 1211 1212 1213
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.

1214 1215 1216 1217 1218 1219 1220 1221 1222 1223
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.

1224 1225 1226 1227 1228
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.

1229 1230 1231 1232 1233 1234 1235
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.

1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248
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).

1249 1250 1251 1252 1253
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.

1254 1255 1256 1257 1258
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.

1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271
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.

1272 1273 1274 1275 1276
2007-12-10  Tor Lillqvist  <tml@novell.com>

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

1277 1278 1279 1280 1281
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.

1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294
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.

1295 1296 1297 1298 1299
2007-12-07  Matthias Clasen  <mclasen@redhat.com>

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

1300 1301 1302 1303 1304
2007-12-07  Matthias Clasen  <mclasen@redhat.com>

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

1305 1306 1307 1308
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
1309
	Print and Page Setup dialogs (#502202).
1310

1311 1312 1313 1314 1315 1316
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.

1317 1318 1319 1320 1321 1322 1323
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

1324 1325 1326 1327 1328
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.

1329 1330 1331 1332 1333
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.

1334 1335 1336 1337 1338 1339
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.

1340 1341 1342 1343 1344 1345
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.

1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356
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.

1357 1358 1359 1360 1361
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.

1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375
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.

1376 1377 1378 1379 1380
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.

1381 1382 1383 1384 1385
2007-12-04  Matthias Clasen  <mclasen@redhat.com>

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

1386 1387 1388 1389 1390 1391
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).

1392 1393 1394 1395 1396 1397 1398
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.

1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412
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.

1413 1414 1415 1416 1417 1418
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.

1419 1420 1421 1422 1423 1424 1425 1426 1427 1428
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
1429 1430 1431 1432
2007-11-30  Matthias Clasen  <mclasen@redhat.com>

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

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

Matthias Clasen's avatar
Matthias Clasen committed
1435 1436 1437
	* gtk/gtkmenuitem.c (gtk_menu_item_paint): Remove leftover
	debug spew.

Matthias Clasen's avatar
Matthias Clasen committed
1438 1439 1440 1441
2007-11-29  Matthias Clasen  <mclasen@redhat.com>

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

1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460
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.

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

1464 1465 1466 1467 1468 1469
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.

1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481
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().

1482 1483 1484 1485 1486
2007-11-27  Matthias Clasen <mclasen@redhat.com>

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

1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499
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.

1500 1501 1502 1503 1504
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
1505 1506 1507 1508
2007-11-26  Ryan Lortie  <desrt@desrt.ca>

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

1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523
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.

1524 1525 1526 1527 1528 1529 1530 1531 1532
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.

1533 1534 1535 1536 1537
2007-11-26  Matthias Clasen  <mclasen@redhat.com>

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

1538 1539 1540 1541 1542
2007-11-26  Matthias Clasen  <mclasen@redhat.com>

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

1543 1544 1545 1546 1547 1548 1549
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)

1550 1551 1552 1553 1554
2007-11-26  Matthias Clasen  <mclasen@redhat.com>

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

1555 1556 1557 1558 1559
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
1560 1561 1562 1563
2007-11-26  Matthias Clasen  <mclasen@redhat.com>

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

1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578
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

1579 1580 1581 1582 1583 1584
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)

1585 1586 1587 1588 1589
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)

1590 1591 1592 1593 1594 1595
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)

1596 1597 1598 1599 1600 1601
2007-11-26  Tor Lillqvist  <tml@novell.com>

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

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

1602 1603 1604 1605
2007-11-26  Tor Lillqvist  <tml@novell.com>

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

1606 1607 1608 1609 1610
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
1611 1612 1613 1614 1615 1616
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
1617 1618 1619 1620 1621
2007-11-25  Matthias Clasen  <mclasen@redhat.com>

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

1622 1623 1624 1625 1626 1627
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)

1628 1629 1630 1631 1632 1633 1634 1635
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.
1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665

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

1666 1667 1668 1669 1670
2007-11-22  Matthias Clasen  <mclasen@redhat.com>

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

1671 1672 1673 1674
2007-11-22  Matthias Clasen  <mclasen@redhat.com>

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

1675 1676 1677 1678 1679
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.

1680 1681 1682 1683 1684
2007-11-21  Behdad Esfahbod  <behdad@gnome.org>

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

1685 1686 1687 1688 1689
2007-11-21  Ross Burton  <ross@openedhand.com>

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

1690 1691 1692 1693 1694 1695
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)

1696 1697 1698 1699 1700 1701 1702
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)

1703 1704 1705 1706 1707
2007-11-21  Matthias Clasen  <mclasen@redhat.com>

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

1708 1709 1710 1711 1712
2007-11-20  Matthias Clasen  <mclasen@redhat.com>

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

1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772
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.
1773 1774 1775 1776 1777
2007-11-20  Bastien Nocera  <hadess@hadess.net>

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

1778 1779 1780 1781 1782 1783 1784 1785
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 ===