ChangeLog.pre-2-10 315 KB
Newer Older
Matthias Clasen's avatar
Matthias Clasen committed
1 2 3 4
2006-08-22  Matthias Clasen  <mclasen@redhat.com> 

	* Branch for 2.10

5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
2006-08-23  Tor Lillqvist  <tml@novell.com>

	* gtk/gtkfilesystemwin32.c: Remove dead code. Reduce spurious
	differences between this file and gtkfilesystemunix.c so that it
	is easier to compare them and check if differences are
	intentional. I will later factor out the common functions and code
	snippets from these two files.

2006-08-23  Tor Lillqvist  <tml@novell.com>

	Fix several problems with the file chooser on Windows, for
	instance prevent duplicated directory entries from appearing.

	* gtk/gtkfilesystem.c (gtk_file_paths_sort): Use
	_gtk_file_system_win32_path_compare() on Windows for casefolded
	sorting.

	* gtk/gtkfilesystemwin32.c (casefolded_hash, casefolded_equal):
	case-independent hash and equality functions. Scan the UTF-8
	strings gunichar by gunichar, and ignore special casing rules, to
	more closely match NTFS behaviour.
	(gtk_file_system_win32_init): Use casefolded_hash() and
	casefolded_equal() for the folder hash table.
	(remove_trailing_slash): Don't remove the slash of a drive or
	share root.
	(get_mime_type_for_file): Take also a WIN32_FILE_ATTRIBUTE_DATA as
	argument, and use that to recognize directories. Don't call
	g_file_test() to check for executables, just look at the file name
	extension directly.
	(gtk_file_system_win32_make_path): Check illegal chars in file
	name, like in gtkfilesystemunix.c.
	(create_file_info): Drop unused basename parameter. Call
	g_filename_display_name() directly for roots, as
	g_filename_display_basename() mishandles those.
	(gtk_file_folder_win32_get_info): Skip sanity check for now, as it
	fails for server share roots. Construct basename only in the if
	branch that uses it.
	(fill_in_names): Use casefolded_hash() and casefolded_equal() for
	the folder's stat_info hash table, too.
	(_gtk_file_system_win32_path_compare): Scan the strings gunichar
	by gunichar and ignore special casing here, too, instead of using
	g_utf8_casefold(). Match slash and backslash.

48 49 50 51
2006-08-23  Tor Lillqvist  <tml@novell.com>

	* gdk/x11/gdkwindow-x11.c (gdk_window_shape_combine_mask)
	(gdk_window_input_shape_combine_mask)
52
	(gdk_window_shape_combine_region)
53 54 55
	(gdk_window_input_shape_combine_region): Add Win32 detail to doc
	comments.

56 57 58 59
2006-08-22  Paolo Borelli  <pborelli@katamail.com>

	* gtk/gtktextview.c: do not scroll on copy. Bug #329604.

60 61 62 63 64 65 66 67
2006-08-18  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkrecentchooser.c (gtk_recent_chooser_get_uris): Behave as
	documented and always return a NULL-terminated array.

	* gtk/gtkrecentmanager.c (gtk_recent_manager_real_changed): Make sure
	to reset write_in_progress.  

Matthias Clasen's avatar
Matthias Clasen committed
68 69
2006-08-17  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
Matthias Clasen committed
70 71
	* configure.in: Bump version

Matthias Clasen's avatar
Matthias Clasen committed
72 73
	* === Released 2.10.2 ===

Matthias Clasen's avatar
Matthias Clasen committed
74 75 76
	* gtk/gtkrecentchoosermenu.c (gtk_recent_chooser_menu_list_filters):
	Initialize menu.  (#351857, Chris Wilson)

77 78 79 80 81
	* gtk/gtkprinteroptionwidget.c (update_widgets): 
	* modules/printbackends/file/gtkprintbackendfile.c 
	(output_file_from_settings): Handle filename encoding
	consistently.  (#351812, Christian Persch)

Matthias Clasen's avatar
Matthias Clasen committed
82 83
	* NEWS: Updates

84 85 86 87 88 89 90 91 92 93 94 95 96 97
2006-08-17  Federico Mena Quintero  <federico@novell.com>

	* gtk/gtkfilechooserdefault.c
	(_gtk_file_chooser_default_class_init): Enable "/" and "~" as
	bindings to activate the location entry again.  Fixes bug #340856.
	(tree_view_keybinding_cb): Likewise.
	(trap_activate_cb): Likewise.
	(location_popup_handler): Handle the "path" argument again; set it
	as the text on the location entry.
	(location_set_user_text): New helper function.
	(load_setup_timer): Fix comment.

	* tests/autotestfilechooser.c (main): Oops, enable all the tests again.

98 99 100 101 102 103 104
2006-08-17  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkmodules.c (find_module): Revert the local binding
	change to avoid a11y regressions in current OpenOffice.org
	releases. The G_MODULE_BIND_LOCAL will be reintroduced 
	in 2.12.

105 106
2006-08-17  Matthias Clasen  <mclasen@redhat.com>

107 108 109 110
	* gtk/gtktrayicon-x11.c: Fix the ClientMessages we are
	sending to the notification area to be more in sync with
	the systray spec.  (#350860, Wincent Untz)

111 112 113
	* gtk/gtkprintoperation.c (print_pages, preview_ready): Queue
	printing idles at a low priority.  (#348289, Yevgen Muntyan)

114 115 116
	* gtk/gtkstatusicon.c (gtk_status_icon_get_geometry): Add some
	caveats to the documentation.  (#348971)

Tim Janik's avatar
Tim Janik committed
117 118 119 120
Thu Aug 17 16:19:35 2006  Tim Janik  <timj@imendio.com>

	* docs/tutorial/gtk-tut.sgml: fixed buglet from #351759.

121 122 123 124 125
2006-08-17  Tor Lillqvist  <tml@novell.com>

	* gtk/Makefile.am (libgtk_win32_2_0_la_LIBADD): Link with -luuid
	for IID_IUnknown that gtkprintoperation-win32.o needs.

126 127
2006-08-17  Matthias Clasen  <mclasen@redhat.com>

128 129 130 131 132
	* modules/printbackends/file/gtkprintbackendfile.c: Improve
	the handling of the default output filename, to ensure
	that we default to output.ps when only PostScript output
	is possible.  (#348236, Don Scorgie)

133 134 135 136
	* gtk/gtkprintunixdialog.c (gtk_print_unix_dialog_set_manual_capabilities): 
	Re-select the current printer to update per-printer ui. 
	(#348245, Don Scorgie)

137 138 139 140
	* gtk/gtkfilechooserbutton.c (set_info_get_info_cb) 
	(model_add_special_get_info_cb): Handle the case where the
	filechooser button is destroyed quickly.

141 142 143 144 145 146 147
2006-08-17  Paolo Borelli  <pborelli@katamail.com>

	* gtk/gtktextbuffer.c: make sure the has-selection property is
	updated when the delection is deleted. Bug #329752
	* tests/testtext.c: add a copy menu item and show how to
	update its sensitivity tracking the has-selection property.

148 149
2006-08-17  Michael Emmel  <mike.emmel@gmail.com>

150
	* configure.in:
151 152
	Changed  to use cairo-directfb.pc bug #351519

153 154 155 156 157 158 159
2006-08-17  Kristian Rietveld  <kris@gtk.org>

	* demos/gtk-demo/main.c (window_closed_cb), (row_activated_cb),
	(create_tree): move the ITALIC_COLUMN over to a STYLE_COLUMN
	which sets the style attribute.  Makes drawing the active demos
	in italic work again.

Matthias Clasen's avatar
Matthias Clasen committed
160 161
2006-08-16  Matthias Clasen  <mclasen@redhat.com>

162 163 164
	* gtk/gtktreemodel.c (gtk_tree_model_base_init): Add some
	docs to the row-deleted signal.  (#349128, Benedikt Meurer)

165 166 167
	* gtk/gtkiconview.c: Update background upon style-set and
	state-changed.  (#348634, Thomas Rydzynski)

168 169 170 171
	* gtk/gtkentry.c (paste_received): Popup completion if paste
	is at the end (patch was already in 2.8.x).  (#165714, 
	Christian Persch)

Matthias Clasen's avatar
Matthias Clasen committed
172 173 174
	* gtk/gtknotebook.c (gtk_notebook_set_current_page): Explain
	some quirks of this function.  (#351112)

175 176 177 178 179 180
2006-08-16  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action):
	take the cell spacing into account when calculating the available
	extra space. (#350938, patch from Peter Johanson).

181 182 183 184 185 186 187
2006-08-16  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_fetch_child):
	update the refs from children to parents for all nodes, since
	they may all have been moved by the insert operation. (#346800,
	patch from Jonathan Matthew).

Matthias Clasen's avatar
Matthias Clasen committed
188 189 190 191 192 193
2006-08-15  Matthias Clasen <mclasen@redhat.com>

	* gtk/gtkrecentfilter.c (gtk_recent_filter_filter):
	* gtk/gtkrecentmanager.c (gtk_recent_manager_lookup_item):
	Add Since tags.  (#351581, Brian Cameron)

194 195 196 197 198
2006-08-15  Michael Emmel  <mike.emmel@gmail.com>

	* configure.in  
	Added cairo flag patch to fix directfb build from bug #351519

199 200 201 202 203 204 205 206 207 208 209 210 211
2006-08-15  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkevents-quartz.c: (get_event_mask_from_ns_event): 
	Add GDK button mask for NS dragging events.
	(create_scroll_event): Remove obsolete comment.
	(_gdk_quartz_get_current_event_mask), (gdk_event_translate): Keep
	track of the latest event mask here...

	* gdk/quartz/gdkwindow-quartz.c: 
	(_gdk_windowing_window_get_pointer): And use it here. Patch from
	Kristian Rietveld.
	(gdk_window_quartz_update_idle): Rename to make things clearer.

212 213
2006-08-15  Matthias Clasen  <mclasen@redhat.com>

214 215 216 217
	* gtk/gtkprintoperationpreview.c: 
	* gtk/gtkprintoperation.c (gtk_print_operation_class_init): Add
	more docs.

218 219 220
	* gtk/gtkaboutdialog.c (gtk_about_dialog_init): Set CAN_DEFAULT
	on all buttons.  (#168737, fix proposed by Benjamin Berg)

221 222 223 224 225 226 227
	* gtk/gtkentryprivate.h: 
	* gtk/gtkentry.c (_gtk_entry_effective_inner_border): Export 
	privately. Adjust all callers.

	* gtk/gtkspinbutton.c (gtk_spin_button_size_request): Use it
	here to get the actual inner border.  (#349429, Benjamin Berg)

228 229 230 231 232 233 234
	* gtk/gtkfilechooserentry.c (struct _GtkFileChooserEntry): Don't
	store GSource pointers, but ids.
	(gtk_file_chooser_entry_dispose): Remove idles.
	(idle_add, idle_add): Factor this out.
	(gtk_file_chooser_entry_maybe_update_directory): 
	(add_completion_idle): And use it here. (#350039, Chris Wilson)

235 236 237 238
	* gtk/gtkicontheme.c (do_theme_change): Run the reset_styles
	idle at a priority higher than size negotiation.  (#350517,
	Søren Sandmann)
	
239 240 241 242 243
	* gtk/gtkfilesystem.c (gtk_file_info_render_icon) 
	(gtk_file_system_volume_render_icon): Do better fallbacks
	if the icon theme does not have icons.  (#345666,
	Kazuki Iwamoto)

244 245 246
	* gtk/gtkruler.c (gtk_ruler_unrealize): Don't leak
	no_gr_exp_gc.  (#350050, Chris Wilson)

247 248 249 250 251 252
	* gdk/x11/gdkdrawable-x11.c (get_shm_pixmap_for_image): Don't
	leak ShmPixmapInfo.  (#349858, Chris Wilson)

	* gtk/Makefile.am (GTK_PRINT_PREVIEW_COMMAND): Call evince
	with the --preview option.  (#350139, Carlos Garcia Campos)

253 254 255
	* modules/printbackends/cups/gtkprintbackendcups.c (create_pickone_option): 
	Simplify, make it build against cups 1.1.  (#350329)	

256 257 258
	* gtk/gtkliststore.c (gtk_list_store_insert_with_values): 
	Fix a typo in the docs.  (#349501, Carlos GUSLiBu)

259 260 261 262 263 264
	* gtk/gtkcolorsel.c (palette_paint): Remove a leftover
	debug statement. (#350072, Iago Rubio)

	* gtk/gtktextbufferserialize.c (check_id_or_name): Fix
	warning text.  (#349277)

265 266 267 268
	* gtk/gtknotebook.c (gtk_notebook_enter_notify): Remove.
	(gtk_notebook_motion_notify): Instead, update the arrow
	state here.  (#349570, Benjamin Otte)

269 270 271 272
	* gdk/x11/gdkwindow-x11.c (gdk_window_get_geometry_hints):
	Use XAllocSizeHints to allocate the XSizeHints struct.
	(#249285, David Baron)

273 274 275 276 277 278
	* gdk/x11/gdkdnd-x11.c (gdk_window_register_dnd):
	* gdk/x11/gdkwindow-x11.c (gdk_window_set_decorations):
	(gdk_window_set_functions): Zero out some stack-allocated
	X structures, to avoid valgrind warnings about uninitialized
	memory.  (#349382, David Baron)

279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296
2006-08-14  Emmanuele Bassi  <ebassi@gnome.org>

	* gtk/gtkrecentchooser.c:
	(gtk_recent_chooser_add_filter),
	(gtk_recent_chooser_remove_filter),
	(gtk_recent_chooser_set_filter): Add a check on the
	filter argument, instead of blindly passing it to
	underlying implementation.

	* gtk/gtkrecentchoosermenu.c:
	(gtk_recent_chooser_menu_add_filter),
	(gtk_recent_chooser_menu_remove_filter),
	(gtk_recent_chooser_menu_list_filters): Implement
	these GtkRecentChooser methods, by setting and
	returning the only GtkRecentFilter object supported
	by a GtkRecentChooserMenu. (#347856, reported by Rod
	Butcher)

297 298
2006-08-14  Matthias Clasen  <mclasen@redhat.com>

299 300 301 302
	* gtk/gtkcombobox.c (gtk_combo_box_remove): Null the
	cell_view pointer if the internal cell view is removed. 
	(#348828, Rolando Espinoza La Fuente)

303 304 305
	* gtk/gtkentry.c (gtk_entry_drag_data_received): Don't leak
	in the non-editable case.  (#350258, Colin Leroy)

306 307 308 309 310 311 312 313 314
2006-08-10  Michael Emmel  <mike.emmel@gmail.com>

	* gdk/directfb/gdkdrawable-directfb.c
	Remove gdk_directfb_update_region and calls 
	* gdk/directfb/gdkwindow-directfb.c
	Code cleanup 
	* gdk/directfb/gdkgeometry-directfb.c
	Fix scroll call to use region

315 316 317 318 319 320 321 322 323 324 325 326
2006-08-10  Emmanuele Bassi  <ebassi@gnome.org>

	* gtk/gtkrecentchoosermenu.c:
	(gtk_recent_chooser_menu_finalize): Remove the idle
	source in ::finalize...
	
	(idle_populate_func),
	(idle_populate_clean_up): ...and reset the idle source
	id at the end of the idle loop while we hold the GDK mutex
	lock. (#350605, reported by Wouter Bolsterlee, patch by
	Chris Wilson)

327 328 329 330 331 332 333 334 335 336 337 338 339
2006-08-10  Michael Natterer  <mitch@imendio.com>

	* gdk/quartz/gdkwindow-quartz.c
	(gdk_window_maximize)
	(gdk_window_unmaximize)
	(gdk_window_iconify)
	(gdk_window_deiconify): don't try to set the state of unmapped
	windows, call gdk_synthesize_window_state() instead. Also added
	autorelease pools back, seems they are needed after all.

	* gdk/quartz/gdkwindow-quartz.c (show_window_internal): maximize
	and iconify windows here if the state says so.

340 341 342 343 344
2006-08-09  Michael Natterer  <mitch@imendio.com>

	* gdk/quartz/gdkwindow-quartz.c (gdk_window_set_geometry_hints):
	implement MIN_SIZE, MAX_SIZE and RESIZE_INC.

345 346 347 348
2006-08-08  Richard Hult  <richard@imendio.com>

	* gtk/gtkdnd-quartz.c: Implement get/set_track_motion.
	
349 350 351 352 353
2006-08-08  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkevents-quartz.c: (poll_func): Whitespace cleanup.	 
	(synthesize_crossing_events): Add comments and prevent a crash.

Michael Natterer's avatar
Michael Natterer committed
354 355 356 357 358 359 360 361 362
2006-08-08  Michael Natterer  <mitch@imendio.com>

	* gdk/quartz/gdkwindow-quartz.c
	(gdk_window_maximize)
	(gdk_window_unmaximize): implement.

	(gdk_window_iconify)
	(gdk_window_deiconify): remove unneeded autorelease pools.

363 364 365 366 367 368 369 370 371 372 373 374 375 376 377
2006-08-08  Richard Hult  <richard@imendio.com>

	* gdk/quartz/GdkQuartzView.c: Just expose the minimal region 
	instead of the whole rect.

	* gdk/quartz/gdkwindow-quartz.c:
	(gdk_window_quartz_process_all_updates), (gdk_window_update_idle),
	(gdk_window_impl_quartz_invalidate_maybe_recurse),
	(gdk_window_impl_quartz_process_updates),
	(_gdk_windowing_window_destroy): Rework the expose handling so that
	it works like the X11 backend, using an idle with the right
	priority instead of relying on quartz to do it.
	(gdk_window_set_type_hint): Use tornoff instead of submenu as the
	documentation (and Mitch) suggests.

378 379 380 381 382 383 384 385 386 387 388 389 390 391
2006-08-08  Michael Natterer  <mitch@imendio.com>

	* gdk/quartz/gdkdrawable-quartz.c: some whitespace and indentation
	cleanup.

	(gdk_quartz_draw_rectangle)
	(gdk_quartz_draw_arc)
	(gdk_quartz_draw_polygon)
	(gdk_quartz_draw_points): for pixel-prefect drawing, stroked
	coordinates need to go through pixel centers, while filled ones
	need to go along pixel boundaries. Moved +0.5 adjusting to the
	if(!filled) branches and added/removed some adjustments where they
	were wrong.

392 393 394 395 396 397
2006-08-07  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkdrawable-quartz.c (gdk_quartz_draw_points): Don't
	get and release the context for each point, just once, speeds up
	drawing many points a lot.

398 399 400 401 402 403 404 405
2006-08-07  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkdnd-quartz.c (gtk_drag_dest_unset): need to disconnect
	from signals connected in gtk_drag_dest_set() here.

	* gtk/gtkdnd-quartz.c (gtk_drag_dest_set): call gtk_drag_dest_unset()
	instead of disconnecting the old signal connections here.

406 407 408 409 410 411 412 413 414 415 416 417 418 419
2006-08-07  Emmanuele Bassi  <ebassi@gnome.org>

	* gtk/gtkrecentchooserdefault.c:
	(_gtk_recent_chooser_default_init): Show non existing
	resources by default.
	(recent_meta_data_func): Do not mark non existing
	resources as insensitive.

	* gtk/gtkrecentchoosermenu.c:
	(gtk_recent_chooser_menu_init): Show non existing
	resources by default.
	(gtk_recent_chooser_menu_create_item): Do not mark
	non existing resources as insensitive.

420 421
2006-08-06  Matthias Clasen  <mclasen@redhat.com>

422 423 424
	* gdk/x11/gdkkeys-x11.c (gdk_keymap_x11_finalize): Free
	all XKB data. (#349997, Chris Wilson)

425 426 427 428
	* gtk/gtkstyle.c (option_menu_get_props): Only get the
	indicator-size and indicator-spacing style properties
	for GtkOptionMenu.  (#349859, Benjamin Otte)

429 430 431 432 433 434
	* gtk/gtktreeview.c (gtk_tree_view_set_grid_lines) 
	(gtk_tree_view_set_enable_tree_lines): Be more careful
	when creating gcs, also emit change notification.
	(gtk_tree_view_unrealize): Free the gcs here.  (#349834,
	Chris Wilson)

435 436 437 438 439 440
	* gtk/gtkcalendar.c (calendar_start_spinning, calendar_timer): 
	Use G_PRIORITY_DEFAULT_IDLE for the month/year-change timer,
	so that the caller will have a chance to redraw/resize itself
	between every change.  (#348824, Federico Mena Quintero, patch
	by Michael Meeks)
	
441 442 443
	* gtk/gtkfontbutton.c (gtk_font_button_update_font_info): 
	Add a missing initialization.  (#348787, Leonardo Boshell)
	
444 445 446
	* configure.in: Use $PKG_CONFIG consistently.  (#348740,
	Jeremy Lainé)
	
447 448 449
	* gtk/gtknotebook.c (gtk_notebook_drag_motion): Don't allow
	dragging a notebook tab to one of its children.  (#348626,
	Benjamin Otte)
450 451
	(gtk_notebook_drag_motion): Don't accept drops on 
	arrows.  (#348706, Benjamin Otte)
452 453 454

	* tests/testnotebookdnd.c: Test more corner cases.

455 456
2006-08-05  Matthias Clasen  <mclasen@redhat.com>

457 458 459
	* docs/tutorial/gtk-tut.sgml: Remove outdated lists of
	authors and maintainers.  (#348538, Owen Taylor)

460 461 462 463 464 465 466 467 468
	* gtk/gtkentry.c:
	* gtk/gtkentryprivate.h: Export gtk_entry_reset_im_context
	privately.
	
	* gtk/gtkentrycompletion.c (gtk_entry_completion_action_button_press): 
	* gtk/gtkentry.c (gtk_entry_completion_key_press): Reset the
	entry's im context here.  (#348478, Nguyen Thai Ngoc Duy, Christian
	Persch) 

469 470 471 472
	* gtk/gtktextview.c (gtk_text_view_style_set): Create new
	PangoContexts and set them on the layout, to catch changes in
	font options.  (#348278, Behdad Esfahbod)

473 474 475
	* gtk/gtkstyle.c (gtk_default_draw_flat_box): Add a 
	missing initialization.  (#349863, Benjamin Berg)

476 477 478 479
	* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_reorder): 
	Protect against tree_view being NULL.  (#348652, Patrick K. O'Brian,
	Chris Wilson)

480 481 482 483 484 485 486 487 488 489 490 491 492 493
2006-08-03  Emmanuele Bassi  <ebassi@gnome.org>

	* gtk/gtkrecentchoosermenu.c:
	(set_recent_managet), (gtk_recent_chooser_menu_populate),
	(idle_populate_func), (idle_populate_clean_up),
	(manager_changed_cb): Lazily populate the menu when creating
	it and after the manager emits the "changed" signal; this
	fixes the initial bad placing of the GtkRecentChooserMenu
	widget when its set as the menu of a GtkMenuToolButton.

	(gtk_recent_chooser_menu_map),
	(gtk_recent_chooser_menu_class_init): Remove the ::map method
	override, since it's not needed anymore.

494 495 496 497 498 499 500
2006-08-03  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkrc.c (gtk_rc_parse_assignment): reset scanner config to
	default values while checking if an expression(foobar) follows,
	because if no expression follows the scanner's "next token" must
	be usable for the caller of this function (fixes bug #349552).

501 502 503 504 505
2006-08-03  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkstyle.c: removed the "widget &&" part from
	"widget && GTK_IS_FOO (widget)" checks.

506 507 508 509 510
2006-07-13  Michael Emmel  <mike.emmel@gmail.com>

	* gdk/directfb/gdkwindow-directfb.c
	Remove unused call to GetPosition 

511 512 513 514 515 516 517
2006-07-31  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkdrawable-quartz.c: (gdk_quartz_draw_drawable):
	* gdk/quartz/gdkwindow-quartz.c:
	(gdk_window_impl_quartz_begin_paint_region): Patch from Erik van
	Pienbroek to implement drawing bg_pixmaps (#348145).

518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542
2006-07-29  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkcolor-quartz.c (gdk_colormap_alloc_colors): Always
	set success to TRUE.
	(gdk_color_change): Implement.

	* gdk/quartz/GdkQuartzWindow.c
	([GdkQuartzWindow -canBecomeKeyWindow]): Add comment.

	* gdk/quartz/gdkevents-quartz.c (gdk_screen_get_setting): Make the
	default font a bit smaller until we have made this get the system
	setting.

	* gdk/quartz/gdkwindow-quartz.c (gdk_window_set_type_hint): Enable
	shadows for the right window types.

	* gdk/quartz/gdkprivate-quartz.h:
	* gdk/quartz/gdkgc-quartz.c:
	* gdk/quartz/gdkdrawable-quartz.c:
	* gdk/quartz/gdkcolor-quartz.c: Expose the CGContext functions,
	update callers.

	* gdk/quartz/gdkmain-quartz.c: (_gdk_windowing_init): No need to
	get the current process ID, use the right constant instead.

543 544 545 546 547 548
2006-07-28  Emmanuele Bassi  <ebassi@gnome.org>

	* gtk/gtkrecentmanager.c (gtk_recent_manager_init): Add the
	timeout for polling the file; change the default polling
	delta to 2000 msec.

549 550 551 552 553 554 555
2006-07-27  Michael Natterer  <mitch@imendio.com>

	* gdk/x11/gdkwindow-x11.c (gdk_window_get_type_hint): cast the
	return value of XGetWindowProperty() correctly so we don't return
	garbage type hints. Pointed out by Tommi Komulainen, patch taken
	from https://maemo.org/bugzilla/show_bug.cgi?id=724

Matthias Clasen's avatar
Matthias Clasen committed
556 557 558 559 560 561
2006-07-27  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtksettings.c (gtk_settings_finalize): Move the
	_gtk_rc_context_destroy call to the right spot.  (#348096,
	Chris Wilson)

562 563 564 565 566
2006-07-24  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkevents-quartz.c (gdk_screen_get_setting): Implement
	getting the double click threshold.

Richard Hult's avatar
Richard Hult committed
567
2006-07-24  Richard Hult  <richard@imendio.com>
Richard Hult's avatar
Richard Hult committed
568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586

	* gdk/quartz/gdkwindow-quartz.c (gdk_window_set_type_hint): Set the
	window level depending on the type hint.

	* gdk/quartz/gdkevents-quartz.c (gdk_keyboard_grab,
	pointer_ungrab_internal): Only break the grab if the new window is
	a different one.
	(gdk_event_translate): Catch the case where the entire app loses 
	focus and break any grabs. Only do implicit grabs when the event
	mask has both press and release.

	* gdk/quartz/gdkkeys-quartz.c (translate_keysym):
	* gdk/quartz/gdkselection-quartz.c:

        * gdk/quartz/GdkQuartzWindow.c
	([GdkQuartzWindow -windowDidResignKey:]): Use this to update the
	focus window instead of resignMain, fixes the case where other apps
	uses focus follows mouse (like the terminal can).

Matthias Clasen's avatar
Matthias Clasen committed
587
2006-07-23  Matthias Clasen  <mclasen@redhat.com>
Matthias Clasen's avatar
Matthias Clasen committed
588 589

	* configure.in: Bump version
Matthias Clasen's avatar
Matthias Clasen committed
590 591 592 593 594 595 596
	
	* === Released 2.10.1 ===

	*  NEWS: Updates

	* gtk/gtkstyle.c (gtk_default_draw_box_gap): Draw
	gaps on the left/right properly.  (#348134, Benjamin Otte)
Matthias Clasen's avatar
Matthias Clasen committed
597 598 599 600

	* gtk/gtkprintsettings.c (gtk_print_settings_get_page_ranges):
	Fix a memory leak.  (#348424, Carlos Garcia Campos)

601 602 603 604 605 606 607 608 609 610
2006-07-21  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkrc.h:
	* gtk/gtkrc.c (_gtk_rc_context_destroy): New function to
	destroy an rc context.

	* gtk/gtksettings.c (gtk_settings_finalize): Destroy the rc context.
	(gtk_settings_get_for_screen): Unref the settings when the screen
	goes away. (#348096, Chris Wilson)

Richard Hult's avatar
Richard Hult committed
611 612 613 614 615 616 617 618 619
2006-07-21  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkgc-quartz.c: (gdk_quartz_gc_get_values),
	(gdk_quartz_gc_set_values), (_gdk_windowing_gc_copy),
	(gdk_gc_get_screen): Implement.

	* gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_back_pixmap):
	Implement.

620 621 622 623 624
2006-07-21  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkimcontextsimple.c (gtk_im_context_simple_get_preedit_string): 
	0-terminate outbuf in all cases.  (#348227, Nguyen Thái Ngoc Duy)

625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641
2006-07-21  Michael Natterer  <mitch@imendio.com>

	Enable symbolic colors and color expressions in style
	properties. Fixes bug #346751.

	* gtk/gtkrc.c (rc_parse_token_or_compound): add GtkRcStyle
	parameter and replace symbolic colors by color constants.

	(gtk_rc_parse_assignment): likewise. Also support parsing of
	expressions of the form identifier(compound).

	(gtk_rc_parse_style): pass the GtkRcStyle to
	gtk_rc_parse_assignment().

	(gtk_rc_parse_statement): pass NULL since we don't have a
	GtkRcStyle here.

642 643 644 645 646
2006-07-21  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkentrycompletion.c (gtk_entry_completion_finalize):
	remove accidential 2nd parameter to g_object_unref().

647 648
2006-07-21  Matthias Clasen  <mclasen@redhat.com>

649 650 651
	* gtk/gtkentrycompletion.c (gtk_entry_completion_finalize):
	Don't leak the action_view.  (#348120, Chris Wilson)

652 653 654
	* gtk/gtknotebook.c (gtk_notebook_paint): Improve drawing
	of tabs while reordering.  (#348115, Benjamin Otte)

Matthias Clasen's avatar
Matthias Clasen committed
655 656 657
	* gtk/gtkiconview.c (gtk_icon_view_destroy): Don't
	leak the adjustments.  (#348094, Chris Wilson)

658 659 660 661
	* gtk/gtknotebook.c (gtk_notebook_stop_reorder): Unset
	the during_reorder flag.  (#348049, Sven Herzberg, patch
	by Benjamin Otte)

Matthias Clasen's avatar
Matthias Clasen committed
662 663
2006-07-20  Matthias Clasen  <mclasen@redhat.com>

664 665 666
	* gtk/gtkmenu.c (gtk_menu_destroy): Just remove the scroll
	timeout here, don't access settings.  (#348095, Chris Wilson)

667 668 669
	* gtk/gtktextlayout.c (gtk_text_layout_set_contexts): Fix
	messed up refcounting.  (#348090, Chris Wilson)

Matthias Clasen's avatar
Matthias Clasen committed
670 671 672 673 674 675 676 677
	* gtk/gtkicontheme.h: 
	* gtk/gtkicontheme.c (_gtk_icon_theme_ensure_builtin_cache): 
	Export this privately.

	* gtk/gtkiconfactory.c (render_fallback_image): And call it
	here to initialize the builtin cache before using it.  (#348063,
	Diego Pettenò)

678 679 680 681 682 683 684 685
2006-07-19  Federico Mena Quintero  <federico@novell.com>

	* tests/autotestfilechooser.c (test_black_box): Argh, initialize
	"passed"!
	(set_filename_timeout_cb): Renamed from timeout_cb().
	(test_confirm_overwrite): New function, test confirmation before
	overwriting a file in SAVE mode.

686 687 688 689 690
2006-07-20  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkrecentchoosermenu.c (gtk_recent_chooser_menu_finalize):
	fix typo to make it compile again.

691 692 693 694 695 696
2006-07-20  Emmanuele Bassi  <ebassi@gnome.org>

	* gtk/gtkrecentchoosermenu.c:
	(gtk_recent_chooser_menu_finalize): Correctly chain up the
	finalization vfunc. (#348089, Chris Wilson)

697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719
2006-07-20  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkevents-quartz.c: (generate_grab_broken_event):
	Append the event to the queue instead of using gdk_event_put.
	(_gdk_quartz_get_mouse_window, find_current_keyboard_window):
	Handle grabs.
	(get_event_mask_from_ns_event, create_focus_event)
	(convert_window_coordinates_to_root, find_window_for_event)
	(gdk_event_translate): Improve readability (style changes).
	(gdk_flush, gdk_display_sync, gdk_display_flush)
	(gdk_event_send_client_message_for_display),
	(gdk_screen_broadcast_client_message): Remove FIXMEs.	
	(gdk_screen_get_setting): Reindent.
	Also move find_child_window_by_point to gdkwindow-quartz.c.
	
	* gdk/quartz/gdkwindow-quartz.c:
	(find_child_window_by_point_helper),
	(_gdk_quartz_find_child_window_by_point): Move here from 
	gdkevents-quartz.c
	(_gdk_windowing_window_get_pointer): Handle destroyed windows and
	imlement the return value.
	(_gdk_windowing_window_at_pointer): Implement.

Richard Hult's avatar
Richard Hult committed
720 721 722 723 724 725 726
2006-07-19  Richard Hult  <richard@imendio.com>

	* gtk/gtkdnd-quartz.c (register_types): Reindent.
	
	* gtk/gtkclipboard-quartz.c (gtk_clipboard_set_contents): Add
	autorelease pool.

727 728 729 730 731 732 733 734
2006-07-19  Richard Hult  <richard@imendio.com>

	* gdk/quartz/GdkQuartzWindow.c
	([GdkQuartzWindow -windowDidResignMain:]):
	* gdk/quartz/gdkevents-quartz.c (_gdk_quartz_update_focus_window):
	Listen to windowDidResignMain notifications and properly update the
	focus window when windows are unfocused.

735 736 737 738 739 740 741 742
2006-07-19  Kristian Rietveld  <kris@imendio.com>

	* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_init),
	(gtk_cell_renderer_text_[gs]et_property), (get_layout): add
	align_set field to keep track whether the align property was
	set by the user, if not we will use the alignment by looking
	at the direction of the widget. (#157439)

743 744
2006-07-19  Matthias Clasen  <mclasen@redhat.com>

745 746 747 748
	* modules/printbackends/file/gtkprintbackendfile.c 
	(file_printer_get_settings_from_options): Check if option
	is NULL before using it.  (#348014, Christian Persch)

749 750 751
	* gdk/x11/gdkx.h (gdk_font_lookup_for_display): When looking
	up a font XID, add the XID_FONT_BIT.  (#348001)

752 753 754 755 756 757
2006-07-19  Richard Hult  <richard@imendio.com>

	* gdk/quartz/GdkQuartzView.c ([GdkQuartzView -drawRect:]):
	* gdk/quartz/gdkpixmap-quartz.c (gdk_pixmap_new): Remove unused
	variables to fix compiler warnings.

758 759 760 761 762 763 764 765 766 767
2006-07-19  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkwindow-quartz.c (gdk_window_impl_quartz_init)
	(gdk_window_set_type_hint, gdk_window_get_type_hint):
	* gdk/quartz/GdkQuartzWindow.c
	([GdkQuartzWindow -canBecomeMainWindow])
	([GdkQuartzWindow -canBecomeKeyWindow]): Implement type hints and
	use them to determine which windows should be allowed to become
	main and key windows.

768 769 770 771 772 773
2006-07-19  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkwindow-quartz.c:
	(_gdk_windowing_window_get_pointer): Get the position correctly
	for the root window. Fixes bug #347976, patch by Dave Vasilevsky.

Matthias Clasen's avatar
Matthias Clasen committed
774 775
2006-07-18  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
Matthias Clasen committed
776 777
	* NEWS: Updates

Matthias Clasen's avatar
Matthias Clasen committed
778 779 780 781 782 783
	* gtk/gtkdnd.c: Make the ipc widgets GtkWindows instead
	of GtkInvisibles, and put them in the same window group
	as the drag source, to avoid interactions between DND
	and window groups.  (#347277, Michael Wu, analysis by
	Owen Taylor)

784 785 786 787 788 789 790
2006-07-18  John (J5) Palmieri  <johnp@redhat.com>

	* modules/printbackends/cups/gtkprintbackendcups.c:
	Make bits from my last commit are conditionally compiled
	only if cups 1.2 is available. 

2006-07-18  John (J5) Palmieri  <johnp@redhat.com>
791 792 793 794 795 796 797 798 799 800 801

	* gtk/gtkprinteroption.h:
	* gtk/gtkprinteroptionwidget.c:
	* modules/printbackends/cups/gtkprintbackendcups.c:
	add GTK_PRINTER_OPTION_TYPE_PICKONE_PASSWORD,
	GTK_PRINTER_OPTION_TYPE_PICKONE_PASSCODE,
	GTK_PRINTER_OPTION_TYPE_PICKONE_REAL,
	GTK_PRINTER_OPTION_TYPE_PICKONE_INT,
	and GTK_PRINTER_OPTION_TYPE_PICKONE_STRING options to support a subset
	of the new CUPS 1.2 custom options spec

802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849
2006-07-18  Federico Mena Quintero  <federico@novell.com>

	Fix https://bugzilla.novell.com/show_bug.cgi?id=184875 - make the
	location entry in Save mode preserve the stuff from
	set_filename(); it was overwriting it with $cwd.

	This is the same fix for
	http://bugzilla.gnome.org/show_bug.cgi?id=347066

	* tests/autotestfilechooser.c: (test_black_box): Added black-box
	test for set_filename() and set_current_name().

	* gtk/gtkfilechooser.c (gtk_file_chooser_get_type): Cast to
	GClassInitFunc in the call to g_type_register_static_simple(), to
	avoid a compiler warning.

	* gtk/gtkfilechooserprivate.h (struct _GtkFileChooserDefault):
	Added a browse_files_last_selected_name field.  We'll copy the
	logic from gtkfilesel.c to see when to clear the location entry.
	(struct _GtkFileChooserDefault): Removed the
	processing_pending_selections field.

	* gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_finalize):
	Free impl->browse_files_last_selected_name.
	(pending_select_paths_process): Don't use
	impl->processing_pending_selections.
	(update_chooser_entry): Keep track of the name that was last
	selected in the file list.  We use this to know when to clear the
	location entry.  The logic is similar to that of
	gtkfilesel.c:gtk_file_selection_file_changed().  This also lets us
	get rid of the processing_pending_selections flag.
	(update_chooser_entry): Clear the entry if we didn't have a
	selection before.
	(location_switch_to_filename_entry): Do not set $cwd as the
	contents of the location entry here...
	(location_popup_handler): ... but do it here instead, only as the
	result of the user asking to turn on the location entry.
	(gtk_file_chooser_default_get_paths): If the location entry is
	empty, do the fallback of seeing if it is sensible to say that
	$cwd is the selected path.
	(gtk_file_chooser_default_update_current_folder): Don't set the
	text of the location entry; this is no longer needed with the
	fixes above.
	(shortcuts_activate_iter): Clear the location entry when
	activating a shortcut if we are not in SAVE mode.  This keeps the
	contents of the location entry consistent even when switching
	folders via the shortcuts.

850 851 852 853 854 855 856 857
2006-07-18  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkrange.c: remember the sensitivity of the steppers in
	GtkRangeLayout, update it in gtk_range_calc_layout() and check for
	changes in layout_changed(), so adjustment changes that leave the
	slider position unchanged are still able to update the steppers'
	sensitivity. Fixes bug #347902.

Kristian Rietveld's avatar
Kristian Rietveld committed
858 859 860 861 862
2006-07-18  Kristian Rietveld  <kris@imendio.com>

	* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_start_editing):
	oooops.

863 864 865 866 867 868 869 870 871 872 873 874
2006-07-18  Kristian Rietveld  <kris@imendio.com>

	Fix for #335012, reported by Matteo Nastasi.

	* gtk/gtktreeview.c (gtk_tree_view_real_start_editing): if the
	requested space of the editable is smaller than the cell area,
	put it up above the middle of the cell area.

	* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_start_editing):
	configure the inner border to cover the cell area if the 
	entry requisition is smaller than the cell_area.

875 876 877 878 879 880 881 882 883 884
2006-07-18  Kristian Rietveld  <kris@imendio.com>

	Another fix for #164884.

	* gtk/gtktreeprivate.h: add in_grab field.

	* gtk/gtktreeview.c (gtk_tree_view_button_press): only save press
	to possibly begin a drag when there's no grab pending,
	(gtk_tree_view_grab_notify): toggle in_grab field.

885 886 887 888 889 890 891
2006-07-18  Kristian Rietveld  <kris@imendio.com>

	* gtk/gtktreeview.c (gtk_tree_view_realize): use MAX
	priv->width, alloc.width when allocating the bin_window,
	(gtk_tree_view_bin_expose): don't overrun bin_window when drawing
	the flat box.

892 893 894 895 896 897
2006-07-17  Richard Hult  <richard@imendio.com>

	* gtk/gtkdnd-quartz.c: (gtk_drag_begin_internal): Set an empty
	NSImage if there is none, covers the cases where applications try
	to set a pixmap which is not supported by the quartz backend.

898 899 900 901 902 903 904 905
2006-07-17  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkevents-quartz.c: (create_key_event):
	* gdk/quartz/gdkkeys-quartz.c: (_gdk_quartz_key_event_type),
	(_gdk_quartz_key_is_modifier):
	* gdk/quartz/gdkprivate-quartz.h: Fill in string, length and
	is_modifier for key events. Map some more keys into gdk keyvals.

906 907 908 909 910
2006-07-17  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtknotebook.c (gtk_notebook_stop_reorder): Don't undo
	reordering if we haven't been reordering.  (#346836, Ed Catmur)

911 912 913 914 915
2006-07-17  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkkeys-quartz.c: Add escape to the list of special
	keys, to get the escape key working.

Richard Hult's avatar
Richard Hult committed
916 917 918 919 920
2006-07-17  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkdisplay-quartz.c (gdk_display_open): Initialize
	GdkInput.
	
921 922 923 924 925 926
2006-07-17  Kristian Rietveld  <kris@imendio.com>

	* gtk/gtktreeview.c (gtk_tree_view_build_tree): check if the iter
	still has children after running the test-expand-row func,
	(gtk_tree_view_real_expand_row): ditto. (#302127, Billy Biggs).

927 928 929 930 931 932
2006-07-17  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkcalendar.c (calendar_timer): use 5 * gtk-timeout-repeat,
	just as many other widgets. Makes the calendar arrow buttons
	usable for quick month/year skipping (#142582).

933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953
2006-07-17  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkwindow-quartz.c:
	(_gdk_windowing_window_destroy_foreign): Fix comment.
	(gdk_window_set_title): Surround by release pool macros.
	(gdk_window_get_type_hint): Fix return value.
	(gdk_window_get_frame_extents): Implement.
	(gdk_window_iconify): Use the release pool macros.
	(gdk_window_deiconify): Likewise. 
	(_gdk_windowing_get_pointer): Implement.
	(gdk_window_get_deskrelative_origin, gdk_window_get_root_origin): 
	Implement.

	* gdk/quartz/gdkevents-quartz.c (create_crossing_event) 
	(create_scroll_event, convert_window_coordinates_to_root): 
	Set coordinates and root coordinates for crossing and scroll 
	events.

	* gdk/quartz/gdkcursor-quartz.c (gdk_cursor_new_for_display): 
	Map some more cursors.

Matthias Clasen's avatar
Matthias Clasen committed
954 955
2006-07-17  Matthias Clasen  <mclasen@redhat.com>

956 957 958
	* gdk/gdkwindow.c (gdk_window_get_pointer): Add some more
	detail to the docs.  (#311399, Nikos Kouremenos)

Matthias Clasen's avatar
Matthias Clasen committed
959 960 961 962
	* gtk/gtkentrycompletion.c (gtk_entry_completion_set_match_func): 
	* gtk/gtkcomboboxentry.c (gtk_combo_box_entry_set_text_column): 
	Fix typos in the docs.

963 964
2006-07-16  Matthias Clasen  <mclasen@redhat.com>

965 966 967
	* gtk/gtkassistant.c: Some small documentation
	fixups.  (#347711, Guillaume Cottenceau)

968 969 970
	* gtk/gtkfilechooserdefault.c (browse_widgets_create): Mark
	the text of the location label as translatable.  

971 972 973
	* gtk/gtkprintjob.c (gtk_print_job_send): Fix a typo in 
	the docs.  (#347211, Kouhei Sutou)   

974 975 976
	* configure.in: Make the test for the sync extension
	more robust.  (#347315, Tommi Komulainen)

977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993
2006-07-13  Michael Emmel  <mike.emmel@gmail.com>

	* gdk/directfb/gdkdrawable-directfb.c
	Remove +1 in fill and draw rect this may be wrong.
	Commented out update calls left for reference the should not be needed.
	Comment out subsurface for cairo remove when proved its not needed
	* gdk/directfb/gdkkeys-directfb.c
	Allow multiple calls and return if initalized
	* gdk/directfb/gdkmain-directfb.c
	Make sure string is malloced since its freed by apps
	* gdk/directfb/gdkprivate-directfb.c
	Added back pointer to window for paintable impl
	* gdk/directfb/gdkvisual-directfb.c
	Fix for Bug 346733 make sure visual list is populated
	* gdk/directfb/gdkwindow-directfb.c
	Finally removed uneeded pixmap buffering now implements GdkPainter

994 995 996 997 998 999 1000 1001
2006-07-11  Emmanuele Bassi  <ebassi@gnome.org>

	* gtk/gtkrecentchooser.c (gtk_recent_chooser_set_show_numbers),
	(gtk_recent_chooser_get_show_numbers): Check if the chooser
	implementation supports the "show-number" property and use a
	meaningful warning in case it doesn't; tell developers not to
	use these functions.

1002 1003
2006-07-10  Matthias Clasen  <mclasen@redhat.com>

1004 1005 1006 1007 1008 1009 1010 1011
	* gtk/gtkaction.c:
	* gtk/gtkiconview.c:
	* gtk/gtkprintbackend.c:
	* gtk/gtkprintoperation-unix.c:
	* gtk/gtkscrolledwindow.c:
	* gtk/gtktoolbar.c: Fix some typos with inline property
	docs.  (#347065, John Finlay)

1012 1013 1014
	* gtk/gtkfilechooserbutton.c: Fix some memory handling
	issues.  (#347043, Chris Wilson)

1015 1016 1017 1018 1019 1020 1021
2006-07-10  Emmanuele Bassi  <ebassi@gnome.org>

	* gtk/gtkrecentchooserdefault.c (scan_for_uri_cb): Do not
	leak the URI returned by the model; select the row when
	calling gtk_recent_chooser_set_current_uri(). (patch by
	Torsten Schoenfeld)

Matthias Clasen's avatar
Matthias Clasen committed
1022 1023
2006-07-10  Matthias Clasen  <mclasen@redhat.com>

1024 1025 1026
	* gtk/gtkpapersize.c (gtk_paper_size_is_equal): Fix a 
	typo in the docs.  (#347041, Kouhei Sutou)

1027 1028 1029
	* gtk/gtkprintcontext.c (gtk_print_context_get_height): Fix
	a typo in the docs.  (#347032, Kouhei Sutou)

1030 1031 1032 1033
	* gtk/gtkassistant.c (gtk_assistant_focus): Don't assume
	that priv->current_page is non-NULL.  (#347048, Guillaume 
	Cottenceau)

1034 1035
	* gtk/gtk.symbols: Add some missing deprecation guards.

Matthias Clasen's avatar
Matthias Clasen committed
1036 1037
	* gdk/directfb/gdkwindow-directfb.c: Don't confuse gtk-doc.

1038 1039 1040 1041 1042 1043
2006-07-10  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkpixmap-quartz.c: (gdk_bitmap_create_from_data): 
	Account for alignment when reading xbm data. (#346721, patch
	by Dave Vasilevsky)

1044 1045 1046 1047 1048 1049 1050 1051 1052 1053
2006-07-09  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkgeometry-quartz.c:
	* gdk/quartz/gdkmain-quartz.c:
	* gdk/quartz/gdkpixmap-quartz.c:
	* gdk/quartz/gdkwindow-quartz.c:
	* gtk/gtkclipboard-quartz.c: Implement some more stubs for pygtk, 
	bug #346713.

2006-07-09  Richard Hult  <richard@imendio.com>
1054 1055 1056 1057 1058 1059

	* gdk/quartz/gdkwindow-quartz.c (gdk_window_new): Release the pool
	in all cases.
	(move_resize_window_internal): Surround by alloc/release pool.
	Patch from Brian Tarricone, fixes bug #347018.

Matthias Clasen's avatar
Matthias Clasen committed
1060 1061 1062 1063 1064
2006-07-08  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkfilechooserbutton.c (update_label_and_image): Don't
	leak an empty list.  (#346970, Chris Wilson)

1065 1066 1067 1068 1069 1070 1071 1072
2006-07-08  Behdad Esfahbod  <behdad@gnome.org>

	* gdk/gdkpango.c (layout_iter_get_line_clip_region),
	(gdk_pango_layout_line_get_clip_region),
	(gdk_pango_layout_get_clip_region): Fix quadratic implementation of
	gdk_pango_layout_get_clip_region into a linear one. (#337910, patch
	by Priit Laes)

1073 1074 1075 1076 1077 1078 1079 1080 1081 1082
2006-07-07  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkevents-quartz.c: Generate a grab broken event when
	appropriate. Fixes bug #346603, patch from Dave Vasilevsky.
	
	* gdk/quartz/gdkevents-quartz.c:
	* gdk/quartz/gdkkeys-quartz.c:
	* gdk/quartz/gdkprivate-quartz.c: Another patch from Dave Vasilevsky,
	fixes bug #346605. Makes modifier key events being sent properly.

1083 1084 1085 1086 1087 1088
2006-07-07  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkrc.c
	* gtk/gtksettings.c: fix canonicalization of property names which
	was broken after recent constant string cleanup.

Matthias Clasen's avatar
Matthias Clasen committed
1089 1090 1091 1092
2006-07-07  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkicontheme.c: Small memory savings.

1093 1094 1095 1096 1097 1098
2006-07-06  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkfilechooserbutton.c: Get the display name
	for the home directory.  (#346498, Dennis Cranston,
	patch by Andreas Köhler)

1099 1100 1101 1102
2006-07-06  Behdad Esfahbod  <behdad@gnome.org>

	* configure.in: Drop required Pango version down to 1.12.0. (#346597)

1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114
2006-07-06  John (J5) Palmieri  <johnp@redhat.com>

	* modules/printbackends/cups/gtkprintbackendcups.c: 
	(cups_request_printer_list_cb): Get the name of the first printer
	in a class to use when requesting a PPD
	(cups_request_ppd_cb, cups_request_ppd): Fix the parameters of
	the "details-acquired" signal emittion
	(cups_request_ppd): get the ppd name from the cups printer

	* modules/printbackends/cups/gtkprintercups.c (gtk_printer_cups_get_ppd_name):
	New method for getting the name of the ppd we should request

1115 1116 1117 1118 1119 1120 1121
2006-07-06  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkrc.c: added a bunch of utility functions to copy
	icon_factories and color_hashes between GtkRcStyles and make sure
	that newly created, duplicated and merged styles have access to
	all icon_factories and color_hashes they need. Fixes bug #346668.

1122 1123 1124 1125 1126
2006-07-06  Matthias Clasen  <mclasen@redhat.com>

	* gtk/*.c: Improve the -/_ consistency in signal and
	property names, reducing the amount of near-duplicate strings.

1127 1128
2006-07-05  Matthias Clasen  <mclasen@redhat.com>

1129 1130 1131
	* gtk/gtktreeview.c (gtk_tree_view_set_enable_tree_lines): Don't
	leak dash_list.  (#346639, Christian Persch)

1132 1133 1134 1135
	* gtk/gtkwindow.c (gtk_window_unmap, gtk_window_set_keep_above) 
	(gtk_window_set_keep_below): Fix some assignments involving
	booleans.  (#346467, Christian Persch)

1136 1137 1138 1139
2006-07-03  Matthias Clasen <mclasen@redhat.com>

	* gtk/gtkgamma.c: Use serialized pixbufs instead of xpms.
	
1140 1141 1142 1143
2006-07-03  Runa Bhattacharjee <runabh@gmail.com>

	* configure.in: Added Bengali India (bn_IN) to ALL_LINGUAS.

1144 1145 1146 1147 1148 1149
2006-06-26  Michael Emmel  <mike.emmel@gmail.com>
	
	* gdk/directfb/gdkdirectfb.h: changed ifdef to compile with api introduced
	in directfb 0.9.25 
	* gdk/directfb/gdkwindow-directfb.c: changed ifdef to 0.9.25 

Matthias Clasen's avatar
Matthias Clasen committed
1150 1151 1152 1153
2006-07-03  Matthias Clasen  <mclasen@redhat.com>

	* configure.in: Bump version

Matthias Clasen's avatar
Matthias Clasen committed
1154
2006-07-02  Matthias Clasen  <mclasen@redhat.com>
1155
	
Matthias Clasen's avatar
Matthias Clasen committed
1156 1157
	* === Released 2.10.0 ===

1158 1159 1160 1161
	* gtk/gtkmenubar.c (window_key_press_handler): Treat
	"" like NULL when parsing the menu-bar-accel setting.	
	* gtk/gtkmenu.c (gtk_menu_key_press): Here too.  
	(#346420, Yevgen Muntyan)
Matthias Clasen's avatar
Matthias Clasen committed
1162 1163 1164

	* configure.in: Require cairo 1.2 and GLib 2.12,
	set version to 2.10
1165

Matthias Clasen's avatar
Matthias Clasen committed
1166 1167
2006-06-30  Matthias Clasen  <mclasen@redhat.com>
	
1168 1169 1170 1171
	* gtk/gtknotebook.c (gtk_notebook_tab_space): Remove
	redundant assignments to page, which may cause NULL
	dereferences.  (#346334, Dave Vasilevsky)

Matthias Clasen's avatar
Matthias Clasen committed
1172 1173 1174
	* demos/gtk-demo/editable_cells.c: Portability fix.
	(#346375, Thomas Klausner)

Matthias Clasen's avatar
Matthias Clasen committed
1175 1176
	* NEWS, README.in, INSTALL.in: Updates

1177 1178 1179
	* gtk/gtktreemodelsort.c (gtk_tree_model_sort_finalize):
	Don't leak default_sort_data.  (#346341, Christian Weiske)

Matthias Clasen's avatar
Matthias Clasen committed
1180 1181 1182
	* gtk/Makefile.am: Make sure all win32-specific printing
	sources are distributed.  (#346312, Erik van Pienbroek)
	
1183 1184 1185
	* gtk/gtkprinter.c (gtk_enumerate_printers): Always call the
	destroy notify.  (#346027, Christian Persch)

Matthias Clasen's avatar
Matthias Clasen committed
1186 1187 1188 1189 1190 1191
	* gtk/gtkprintsettings.c (gtk_print_settings_get_page_ranges):
	Documentation updates.

	* gtk/gtkprintunixdialog.c (gtk_print_unix_dialog_set_settings):
	Don't leak the ranges.  (#346237, Carolyn MacLeod)

1192 1193 1194 1195 1196 1197 1198 1199
	* gtk/gtkprintjob.[hc]: Add a PREVIEW capability to hide
	the preview button.  (#346113, Christian Persch)

	* gtk/gtkprintunixdialog.c (update_dialog_from_capabilities):
	Hide the preview button depending on the capability.

	* gtk/gtkprintoperation-unix.c: Set the PREVIEW capability.

1200 1201 1202 1203 1204
2006-06-29  Bill Skaggs  <weskaggs@primate.ucdavis.edu>

	* gtk/gtkprogress.h: revert last change by Matthias -- it broke the
	build of gtkprogressbar.

1205 1206 1207 1208 1209 1210 1211
2006-06-29  Matthias Clasen  <mclasen@redhat.com>

	* gdk/x11/gdkevents-x11.c (gdk_event_translate): Update the 
	size of the drawable for the root window when the screen size 
	changes.  (#346102, Sven Herzberg)

2006-06-29  Matthias Clasen  <mclasen@redhat.com>
Matthias Clasen's avatar
Matthias Clasen committed
1212

Matthias Clasen's avatar
Matthias Clasen committed
1213 1214
	* NEWS: Updates

Matthias Clasen's avatar
Matthias Clasen committed
1215 1216 1217
	* gtk/gtkprintoperation.c: Clarify docs for the allow-async
	property.  (#346108, Christian Persch)

1218 1219
2006-06-28  Matthias Clasen  <mclasen@redhat.com>

1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238
	* gtk/gtkprinter.c: 
	* gtk/gtkprintunixdialog.c: 
	* gtk/gtkprintoperationpreview.c: 
	* gtk/gtkprintcontext.c (gtk_print_context_set_cairo_context): 
	* gtk/gtklabel.c (gtk_label_set_line_wrap_mode): 
	* gtk/gtkentry.c (gtk_entry_new): 	
	* gtk/gtkprintoperation.c (gtk_print_operation_set_custom_tab_label): 
	* gtk/gtkclipboard.c (gtk_clipboard_wait_for_rich_text): Documentation
	additions and fixes.

	* gtk/gtkaspectframe.h:
	* gtk/gtkaboutdialog.c:
	* gtk/gtkcalendar.c:
	* gtk/gtkinputdialog.c: 
	* gtk/gtk.symbols: Remove unnecessary includes.
	
	* gtk/gtkprogress.[hc]: 
	* gtk/gtkitemfactory.[hc]: Don't unnecessarily use GTK_COMPILATION,
	remove unnecessary includes.
Matthias Clasen's avatar
Matthias Clasen committed
1239

1240 1241 1242
	* gdk/x11/gdkdisplay-x11.c (gdk_display_open): Only select the
	XKB event details we actually care about.  (#346079, Ryan Lortie)

1243 1244 1245 1246 1247 1248
2006-06-27  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeview.c (gtk_tree_view_set_model): cancel the
	expand collapse timeout when unsetting the model (Fixes #327164,
	reported by Daichi Kawahata).

1249 1250 1251 1252 1253
2006-06-26  Michael Emmel  <mike.emmel@gmail.com>
	
	* gdk/directfb/gdkdirectfb.h: added ifdef to compile with directfb 0.9.24 
	* gdk/directfb/gdkwindow-directfb.c: ifdef depend on directfb cvs 

1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265
2006-06-26  Kristian Rietveld  <kris@gtk.org>

	Make the insert and set functions somewhat more convenient.
	(#343841, David Necas).

	* gtk/gtkliststore.c (gtk_list_store_insert_with_values): allow
	a NULL iter,
	(gtk_list_store_insert_with_valuesv): likewise.

	* gtk/gtktreestore.c (gtk_tree_store_insert_with_values): ditto,
	(gtk_tree_store_insert_with_valuesv): likewise.

1266 1267 1268 1269 1270
2006-06-26  Michael Natterer  <mitch@imendio.com>

	* gtk/gtktextview.c (gtk_text_view_size_allocate): revert "keep
	cursor visible when size changes" since it breaks things (#344874).

1271 1272 1273 1274 1275
2006-06-26  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkcombobox.c (gtk_cell_view_menu_item_new): Avoid
	a refcounting leak in the python bindings.  (#344876, Phil Dumont)

1276 1277 1278 1279 1280 1281
2006-06-25  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkprinter.c (gtk_enumerate_printers): Make
	this work when the enumeration is stopped early.  (#344074,
	Felipe Heidrich)

1282 1283 1284 1285 1286
2006-06-24  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkcombobox.c: Update the height as well
	when changing fonts.  (#321393, Billy Biggs)
`
1287 1288 1289 1290
2006-06-23  Christian Rose  <menthos@menthos.com>

	* configure.in: Added "ur" to ALL_LINGUAS.

1291 1292 1293 1294 1295 1296 1297 1298
2006-06-22  Matthias Clasen  <mclasen@redhat.com>

	Fix #345663, reported by Kazuki Iwamoto
	
	* gtk/gtkaction.c: Include gtkiconfactory.h

	* gtk/gtkactiongroup.c: Include gtkicontheme.h

1299 1300 1301 1302 1303
2006-06-22  Michael Natterer  <mitch@imendio.com>

	* gtk/gtktextview.c (gtk_text_view_size_allocate): keep the cursor
	visible when the size changes. Fixes bug #344874.

1304 1305
2006-06-22  Matthias Clasen  <mclasen@redhat.com>

1306 1307 1308 1309
	* gtk/gtkpintjob.h: Add a note about updating the registration.
	* gtk/gtkprintjob.c (gtk_print_capabilites_get_type): Add missing
	capabilitites. 

1310 1311 1312 1313
	* modules/printbackends/cups/gtkprintbackendcups.c: Remove
	an unused variable and make it compile with Cups 1.1.  (#345644,
	Joseph Sacco)

Matthias Clasen's avatar
Matthias Clasen committed
1314
2006-06-21  Matthias Clasen  <mclasen@redhat.com>
Matthias Clasen's avatar
Matthias Clasen committed
1315 1316

	* configure.in: Bump version
Matthias Clasen's avatar
Matthias Clasen committed
1317 1318
	
	* === Released 2.9.4 ===
Matthias Clasen's avatar
Matthias Clasen committed
1319

1320 1321 1322 1323
	* modules/printbackends/file/gtkprintbackendfile.c: 
	Apply a patch by Christian Persch to support PostScript and PDF
	output.

Matthias Clasen's avatar
Matthias Clasen committed
1324 1325 1326
	* gtk/gtkprinteroptionwidget.c (radio_changed_cb): Don't free
	the value.

1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363
2006-06-21  Matthias Clasen  <mclasen@redhat.com>

	Apply a patch by John Palmieri to use buffered io using
	GIOChannels, clean up error handling and support Cups 1.2
	api in the printing code.

	* acconfig.h:
	* configure.in: Detect Cups 1.2

	* gtk/gtkdebug.h:
	* gtk/gtkmain.c: Add a printing debug key.

	* gtk/gtkprintbackend.[hc]: Remove the GError parameter from
	gtk_print_backend_print_stream, and take a  GIOChannel instead
	of an fd.

	* gtk/gtkprinter-private.h:
	* gtk/gtkprinter.c: Replace the fd parameter of 
	_gtk_printer_create_cairo_surface by a GIOChannel.

	* gtk/gtkprintjob.[hc]: Remove the GError parameter from
	gtk_print_job_send and make it return void.

	* gtk/gtkprintoperation-unix.c:
	* gtk/gtkprintjob.c: Adjust callers, add some debugging support.

	* modules/printbackends/Makefile.am: Fix DIST_SUBDIRS.

	* modules/printbackends/cups/Makefile.am:
	* modules/printbackends/lpr/Makefile.am: Add debug CFLAGS.
	
	* modules/printbackends/cups/gtkcupsutils.[hc]: 
	* modules/printbackends/cups/gtkprintbackendcups.c:
	* modules/printbackends/file/gtkprintbackendfile.c:
	* modules/printbackends/lpr/gtkprintbackendfile.c: Adapt to
	the GIOChannel and GError changes, add debug output
	
1364 1365
2006-06-21  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
Matthias Clasen committed
1366 1367 1368
	* gtk/gtkprinter.c (gtk_enumerate_printers): Remove an 
	unused variable.

Matthias Clasen's avatar
Matthias Clasen committed
1369 1370
	* NEWS: Updates

1371 1372 1373
	* gtk/gtktreeview.c (gtk_tree_view_class_init): Fix the registration
	of the grid-lines property  (#345456, Murray Cumming) 
	
1374 1375 1376 1377 1378 1379 1380 1381 1382 1383
2006-06-21  Kristian Rietveld  <kris@imendio.com>

	Allocate space for the grid lines when they are enabled.

	* gtk/gtktreeview.c (gtk_tree_view_bin_expose): make sure the cell
	area does not overlap with the grid lines, also draw the line for
	"the next cell" in the last loop iteration, make sure the cursor falls
	in between the grid lines,
	(validate_row): request extra space for the grid lines.

Matthias Clasen's avatar
Matthias Clasen committed
1384 1385
2006-06-21  Matthias Clasen  <mclasen@redhat.com>

1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398
	* gtk/gtkprintbackend.h: 
	* gtk/gtkprintbackend.c (gtk_print_backend_print_stream): Add an
	GError parameter.

	* modules/printbackends/file/gtkprintbackendfile.c 
	(gtk_print_backend_file_print_stream): 
	* modules/printbackends/lpr/gtkprintbackendlpr.c 
	(gtk_print_backend_lpr_print_stream): 
	* modules/printbackends/cups/gtkprintbackendcups.c 
	(gtk_print_backend_cups_print_stream): 
	* gtk/gtkprintjob.c (gtk_print_job_send): Update all callers and
	implementations.

Matthias Clasen's avatar
Matthias Clasen committed
1399 1400 1401 1402
	* modules/printbackends/cups/gtkprintbackendcups.c: Remove the
	GError parameter from cups_request_execute(), and various other
	cleanups.

1403 1404 1405 1406 1407
2006-06-20  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkprintjob.c (gtk_print_job_class_init): Make 
	track-print-status a property.

1408 1409 1410 1411 1412
2006-06-20  Murray Cumming  <murrayc@murrayc.com>

	* gtk/gtkprintoperation.c: (gtk_print_operation_class_init): 
	Correctly register the done signal - it sends an enum, not an int.

1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433
2006-06-20  Christian Persch  <chpe@cvs.gnome.org>
	
	* configure.in
	* gtk/Makefile.am
	* modules/printbackends/Makefile.am
	A modules/printbackends/file/.cvsignore
	A modules/printbackends/file/Makefile.am
	A modules/printbackends/file/gtkprintbackendfile.c
	A modules/printbackends/file/gtkprintbackendfile.h
	R modules/printbackends/pdf/*:
	Rename "pdf" backend to "file" backend. Step 2 from bug #339592.

2006-06-20  Christian Persch  <chpe@cvs.gnome.org>

	* gtk/gtkprinteroptionwidget.c: (filesave_changed_cb),
	(alternative_set), (construct_widgets): Convert input to filename
	encoding and construct an URI from that.
	* gtk/gtkprintsettings.h: Add OUTPUT_FILE_FORMAT and OUTPUT_URI keys.
	* modules/printbackends/pdf/gtkprintbackendpdf.c: Use those defines.
	Step 1 from bug #339592.

1434 1435
2006-06-20  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
Matthias Clasen committed
1436 1437
	* gtk/gtkprintjob.c (gtk_print_job_set_source_file): Add to docs.

1438 1439 1440 1441 1442 1443 1444 1445 1446 1447
	Fix handling of stock items without icons in action-based
	ui.  (#342458, Callum McKenzie)
	
	* gtk/gtkactiongroup.c (gtk_action_group_add_actions_full): Set
	the stock id even if there is no icon for it.

	* gtk/gtkaction.c (connect_proxy): 
	* gtk/gtktoolbutton.c (gtk_tool_button_construct_contents): Only
	construct a stock icon if the stock item has an icon.

1448 1449
2006-06-20  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
Matthias Clasen committed
1450 1451 1452
	* gtk/gtktreeview.c (gtk_tree_view_set_column_drag_info): Better 
	fix.

1453 1454 1455 1456
	* gtk/gtk.symbols: 
	* gtk/gtkprintsettings.h: 
	* gtk/gtkprintsettings.c: Remove unused print-to-file setting.

1457 1458 1459 1460 1461 1462 1463
2006-06-20  Carlos Garnacho  <carlosg@gnome.org>

	* gtk/gtknotebook.c (gtk_notebook_stop_reorder): unset the pressed
	button here.
	(gtk_notebook_grab_notify): stop reorder when the widget becomes
	shadowed. Fixes bug #335873

1464 1465 1466 1467 1468
2006-06-18  Christian Persch  <chpe@cvs.gnome.org>

	* gtk/gtkdialog.c: (gtk_dialog_class_init): Set default action area
	spacing to HIG-compliant 6px. Bug #345106, follow-up from bug #163850.

1469 1470
2006-06-20  Matthias Clasen  <mclasen@redhat.com>

1471 1472 1473
	* gtk/gtkiconview.c (gtk_icon_view_enable_model_drag_dest): 
	Small doc fix.  (#345176, Claudio Saavedra)

1474 1475 1476
	* gdk/x11/gdkwindow-x11.c (gdk_window_set_functions): Update
	the docs. (#345194, Yevgen Muntyan)

1477 1478
2006-06-19  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
Matthias Clasen committed
1479 1480
	* gtk/gtktreeview.c (gtk_tree_view_set_grid_lines): Don't leak
	dash_list.
1481 1482 1483
	(gtk_tree_view_set_column_drag_info): Don't crash if the 
	column_drop_func says always no.  (#344850, Christian Weiske)
	
1484 1485 1486 1487 1488 1489 1490 1491 1492
	Make transparent tray icons work.  (#320034, based on a 
	patch by Dan Winship)
	
	* gtk/gtktrayicon-x11.c (gtk_tray_icon_init): Make trayicons
	app-paintable and non-double buffered. 

	* gtk/gtkrc.c (_gtk_rc_init): Give tray icons a parent-relative
	background in the default style.

1493 1494
2006-06-19  Matthias Clasen  <mclasen@redhat.com>

1495 1496 1497
	* gtk/updateiconcache.c: Marks strings for translation.  (#314278,
	Claudio Saavedra)

1498 1499 1500
	* gtk/gtkentrycompletion.c (gtk_entry_completion_compute_prefix): Don't
	call g_str_has_prefix on a NULL strung.  (#344897, Tommi Komulainen)

1501 1502 1503
	* gtk/gtkfilechooserdefault.c: 
	Avoid a near-duplicate string and add some
	translator comments.  (#345320, #345321, Hendrik Richter)
1504

1505 1506 1507 1508 1509 1510 1511 1512
2006-06-19  Federico Mena Quintero  <federico@novell.com>

	* gtk/gtkfilechooser.c (gtk_file_chooser_get_current_folder)
	(gtk_file_chooser_get_current_folder_uri): Clarify the use of
	these functions, to avoid the case where a chooser is in
	SELECT_FOLDER mode and people mistakenly use _get_current_folder()
	to get the selection:  they should use _get_filename() instead.

1513 1514 1515 1516 1517 1518 1519
2006-06-19  Alexander Larsson  <alexl@redhat.com>

	* gtk/gtk.symbols:
	* gtk/gtklabel.[ch]:
	Add gtk_label_set_line_wrap_mode, gtk_label_get_line_wrap_mode, and
	a wrap-mode property that lets you set the PangoWrapMode.

1520 1521
2006-06-19  Matthias Clasen  <mclasen@redhat.com>

1522 1523 1524 1525 1526 1527
	* gtk/gtk.symbols: Add new functions

	* gtk/gtkprinter.h: 
	* gtk/gtkprinter.c (gtk_enumerate_printers): New function
	to list all printers (#344074, Felipe Heidrich)

1528
	* gtk/gtkprinter-private.h: 
1529 1530
	* gtk/gtkprinter.c (_gtk_printer_get_options) 

1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543
	* gtk/gtkprintbackend.h: Add a capabilities argument to the 
	printer_get_options method and to the _gtk_printer_get_options
	function
	
	* modules/printbackends/lpr/gtkprintbackendlpr.c 
	(lpr_printer_get_options): 
	* modules/printbackends/pdf/gtkprintbackendpdf.c 
	(pdf_printer_get_options): 
	* modules/printbackends/cups/gtkprintbackendcups.c 
	(cups_printer_get_options): 
	* gtk/gtkprintunixdialog.c (selected_printer_changed): Adjust
	callers and implementations.

1544 1545 1546
	* gtk/gtkprintjob.h: Add a GENERATE_PS capability. 
	* gtk/gtkprintunixdialog.c (is_printer_active): And use it here.

Matthias Clasen's avatar
Matthias Clasen committed
1547 1548
2006-06-18  Matthias Clasen  <mclasen@redhat.com>

1549 1550 1551 1552 1553
	* tests/testnouiprint.c (main): Don't open a display connection.

	* gtk/gtkprintbackend.c (gtk_print_backend_load_modules): Make
	this work without a display connection.  (339702, Alexander Larsson)

Matthias Clasen's avatar
Matthias Clasen committed
1554 1555 1556
	* gtk/gtkwindow.c (gtk_window_move): Small doc addition. 
	(#345275, Behdad Esfahbod)

1557 1558
2006-06-17  Matthias Clasen  <mclasen@redhat.com>

1559 1560 1561 1562
	* modules/printbackends/pdf/gtkprintbackendpdf.c:
	* modules/printbackends/lpr/gtkprintbackendlpr.c: Fix a typo:
	s/Extention/Extension/. 
	
Matthias Clasen's avatar
~  
Matthias Clasen committed
1563 1564 1565 1566 1567
	* gtk/gtkprintunixdialog.c: Clean up the handling of 
	printer-specific options. There is just one extension point on the
	main tab now, and all options in the GtkPrintDialogExtension
	group are put there. 

1568 1569 1570 1571 1572 1573 1574 1575
	* gtk/gtkprinteroption.h: 
	* gtk/gtkprinteroption.c: Add GTK_PRINTER_OPTION_TYPE_ALTERNATIVE
	which is semantically the same as PICKONE, but is intended to 
	show all options all the time.
	
	* gtk/gtkprinteroptionwidget.c: Implement ALTERNATIVE as radio
	group.

1576 1577
2006-06-16  Matthias Clasen  <mclasen@redhat.com>

1578 1579 1580 1581
	* modules/printbackends/cups/gtkprintbackendcups.c:
	* modules/printbackends/lpr/gtkprintbackendlpr.c: Use a stock icon
	for printers.

1582 1583 1584
	* gtk/gtkprintunixdialog.c (add_option_to_table): Don't grow
	additional columns.

1585 1586 1587 1588 1589 1590 1591 1592 1593 1594
	* gtk/gtkprintbackend.h: Add a GtkPrintSettings parameter to the
	printer_create_cairo_surface method.
	
	* modules/printbackends/pdf/gtkprintbackendpdf.c: 
	* modules/printbackends/cups/gtkprintbackendcups.c: 
	* modules/printbackends/lpr/gtkprintbackendlpr.c: 
	* gtk/gtkprinter.c (_gtk_printer_create_cairo_surface): 
	* gtk/gtkprinter-private.h: 
	* gtk/gtkprintjob.c (gtk_print_job_get_surface): Adapt all users.

1595 1596 1597
	* gtk/gtkentrycompletion.c (gtk_entry_completion_finalize): Don't
	leak match data.  (#345107,  Christian Weiske)

1598 1599 1600
	* gtk/gtkprintunixdialog.c (populate_dialog): Move the conflict
	label out of the button box.  (#339456, Christian Persch)

1601 1602 1603
	* gtk/gtksizegroup.c (compute_dimension): Ignore unmapped widgets
	when ignore_hidden is TRUE.  (#344707, Christian Persch)

Matthias Clasen's avatar
Matthias Clasen committed
1604 1605
	* configure.in: Require cvs glib.

1606
	* gtk/gtkprintoperation-unix.c: 
Matthias Clasen's avatar
Matthias Clasen committed
1607 1608 1609 1610 1611 1612
	(_gtk_print_operation_platform_backend_create_preview_surface): 
	Don't use a temporary directory for preview files, since it
	is not clear who cleans it up. Instead, use g_mkstemp() directly
	to create a temp pdf file, and make the preview app responsible
	for cleaning it up.

1613 1614 1615 1616 1617
	* gtk/gtkprintbackend.c: Move the registration of the 
	gtk-print-preview-command setting from gtkprintbackend.c to 
	gtkprintoperation-unix.c, to make sure it is registered before
	the first use. Also, document the two settings.

1618 1619
	* tests/print-editor.c: Add a "Preview" menu item.

1620 1621 1622 1623 1624
	* gtk/gtkprintoperation-unix.c (handle_print_response): When starting
	a preview from the print dialog, set the action to PREVIEW.

	* gtk/gtkprintoperation.c: Cosmetic changes.

1625 1626 1627 1628 1629
2006-06-16 Matthias Clasens  <mclasen@redhat.com>

	* gtk/gtkprintoperation-unix.c: Mark the preview filename
	as translatable (#345093, Christian Persch)

1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645
Fri Jun 16 11:49:53 2006  Tim Janik  <timj@imendio.com>

	* fixed #337882 by applying patches from Tommi Komulainen:

	* gtk/gtkprogressbar.c:
	(gtk_progress_bar_paint_activity):
	(gtk_progress_bar_get_activity): Move activity bar offset and size
	calculations to separate function.
	(gtk_progress_bar_paint_text): Allow caller to specify offset for the
	prelight part in addition to width.
	(gtk_progress_bar_paint): Paint the text also in activity mode, #337882.

	* gtk/gtkprogressbar.c: (gtk_progress_bar_paint_text): Paint the
	prelighted text on top of the normal rather than side by side, to
	simplify painting text in activity mode.

Matthias Clasen's avatar
Matthias Clasen committed
1646 1647 1648 1649 1650
2006-06-16  Matthias Clasen  <mclasen@redhat.com>

	* modules/printbackends/cups/gtkprintbackendcups.c: Include
	gtkprinter-private.h  (#345038, Christian Persch)
 
1651 1652
2006-06-15  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
Matthias Clasen committed
1653
	* modules/printbackends/pdf/gtkprintbackendpdf.c: Use the
1654 1655
	stock floppy icon.

1656 1657 1658
	* gtk/gtkprintoperation-unix.c: Set the GENERATE_PDF capability
	when creating a print dialog.  (noted by Yevgen Muntyan)

1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675
2006-06-15  Carlos Garnacho  <carlosg@gnome.org>

	* gtk/gtknotebook.c (gtk_notebook_motion_notify): use
	gdk_window_get_pointer() to get pointer coordinates, but limit its
	calls to a maximum of 45 times per second for not being too
	CPU/network abusive. stop drag operation if (event->state &
	GDK_BUTTON1_MASK) is FALSE to prevent tabs from "adhering" to the
	pointer. Fixes bug #341571
	(gtk_notebook_calculate_tabs_allocation), (gtk_notebook_button_press):
	get rid of the "tab jumps to pointer" sensation when beginning a drag
	by using the pointer offset in the tab when the drag begins as an
	anchor.
	(gtk_notebook_redraw_tabs_union): remove, it wasn't worth the little
	performance gain and could draw artifacts under some circumstances.
	(gtk_notebook_drag_end): do not reparent the detached tab label until
	the animation has ended.

1676 1677 1678 1679
2006-06-15  Bastien Nocera  <hadess@hadess.net>

	* configure.in: Update the Cairo requirements (#345008)

Matthias Clasen's avatar
Matthias Clasen committed
1680 1681 1682 1683 1684 1685
2006-06-15  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkprintoperationpreview.c 
	(gtk_print_operation_preview_base_init): Fix errors in the
	signal definitions.  (#344891, Marko Anastasov)

1686
2006-06-14  Michael Emmel  <mike.emmel@gmail.com>
Matthias Clasen's avatar
Matthias Clasen committed
1687
	
1688 1689 1690 1691 1692 1693 1694 1695 1696
	* configure.in: updated mininum  dfb to 0.9.24
	* gdk/directfb/gdkdirectfb.h: added more directfb wrapper functions
	* gdk/directfb/gdkdrawable-directfb.c: wrapper functions and patch from 
	 Claudio Ciccani <klan@users.sf.net> to use a subsurface for cairo
    * gdk/directfb/gdkvisual-directfb.c: changed initalization sequence
    * gdk/directfb/gdkwindow-directfb.c: corrected reparent for toplevels
    * gdk/directfb/gdkdisplay-directfb.c: changed initilization sequence
	to a more rational order

1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707
2006-06-14  Federico Mena Quintero  <federico@novell.com>

	* perf/gtkwidgetprofiler.c (gtk_widget_profiler_profile_expose):
	New function; it lets us time the expose sequence of a widget.
	(create_widget): New helper function.
	(map_widget): New helper function.
	(profile_boot): Use create_widget() instead of doing it by hand.
	(profile_map_expose): Use map_widget() instead of doing it by hand.

	* perf/main.c (main): Call gtk_widget_profiler_profile_expose() as well.

Matthias Clasen's avatar
Matthias Clasen committed
1708 1709
2006-06-14  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
Matthias Clasen committed
1710 1711 1712
	* gtk/gtkpagesetupunixdialog.c: Use GKeyFile for the custom
	filename storage.  (#344867, Christian Persch)

Matthias Clasen's avatar
Matthias Clasen committed
1713 1714 1715
	* gtk/gtkselection.c: Call init_atoms before using atoms
	in several functions.  (#344743, John Finlay)

Matthias Clasen's avatar
Matthias Clasen committed
1716 1717 1718
	* gtk/gtktreeview.c (gtk_tree_view_set_search_position+_func):
	Allow NULL to reset to default.  (#344838, John Finlay)

Matthias Clasen's avatar
Matthias Clasen committed
1719 1720 1721
	* gtk/gtkprintjob.h: Collect booleans into a bitfield
	(#344765, Christian Persch)

Matthias Clasen's avatar
Matthias Clasen committed
1722 1723 1724 1725
2006-06-13  Matthias Clasen  <mclasen@redhat.com>

	* configure.in: Bump version

Matthias Clasen's avatar
Matthias Clasen committed
1726 1727 1728 1729 1730 1731 1732 1733 1734 1735
2006-06-12  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.9.3 ===

	* NEWS: Updates
	
	* gtk/gtk.symbols: Add gtk_tree_view_grid_lines_get_type.

	* configure.in: Set interface age to 0

1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755
2006-06-12  Kristian Rietveld  <kris@imendio.com>

	Introduce grid and tree lines in GtkTreeView. (#106406,
	Martyn Russell).

	* gtk/gtktreeprivate.h: add new fields to GtkTreePrivate.

	* gtk/gtkenums.h: add GtkTreeViewGridLines.

	* gtk/gtktreeview.[ch] (gtk_tree_view_set_grid_lines),
	(gtk_tree_view_get_grid_lines),
	(gtk_tree_view_set_enable_tree_lines),
	(gtk_tree_view_get_enable_tree_lines): new API,
	(gtk_tree_view_class_init): new properties,
	(gtk_tree_view_init), (gtk_tree_view_{get,set}_property),
	(gtk_tree_view_realize), (gtk_tree_view_draw_grid_lines),
	(gtk_tree_view_bin_expose): implement.

	* gtk/gtk.symbols: update.

1756 1757
2006-06-12  Matthias Clasen  <mclasen@redhat.com>

1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768
	* gtk/gtkprintunixdialog.c (is_printer_active): Use 
	gtk_printer_accepts_ps here.

	* modules/printbackends/pdf/gtkprintbackendpdf.c (gtk_print_backend_pdf_init):
	Mark the virtual "Print to PDF" printer as not accepting PS.

	* gtk/gtk.symbols:
	* gtk/gtkprinter.h: 
	* gtk/gtkprinter.c: Add two new properties accepts-pdf and
	accepts-ps (with getters) to allow learning supported formats.

1769 1770 1771 1772 1773 1774
	* gtk/gtkprintjob.h: Add a GTK_PRINT_CAPABILITY_GENERATE_PDF
	capability.
	
	* gtk/gtkprintunixdialog.c: Use it here to hide "Print to PDF" 
	from the printer list.  (#339592, Christian Persch)
	
1775 1776 1777
	* gtk/gtkfilechooserdefault.c: Add support for pasting
	filenames into the filechooser.  (#153212, Bastian Nocera)

1778 1779 1780 1781 1782 1783 1784 1785
2006-06-12  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreemodelfilter.[ch]
	(gtk_tree_model_filter_convert_child_iter_to_iter),
	(gtk_tree_model_filter_convert_child_path_to_path): report status
	in return value instead of spewing assertions.  (#335729, Yevgen
	Muntyan).

Matthias Clasen's avatar
Matthias Clasen committed
1786 1787
2006-06-12  Matthias Clasen  <mclasen@redhat.com>

1788 1789 1790
	* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_finalize): 
	Clean up user data.  (#344624, Christian Weiske)

Matthias Clasen's avatar
Matthias Clasen committed
1791 1792
	* NEWS: Updates

Matthias Clasen's avatar
Matthias Clasen committed
1793 1794 1795 1796 1797
	* gtk/gtkprintjob.c:
	* gtk/gtkprintbackend.c: 
	* gtk/gtkpagesetupunixdialog.c: 
	* gtk/gtkprintunixdialog.c: Cosmetic cleanups.

Matthias Clasen's avatar
Matthias Clasen committed
1798 1799
2006-06-11  Matthias Clasen  <mclasen@redhat.com>

1800 1801
	* gtk/gtkassistant.c: Add an accessible implementation in
	order to make the buttons visible to a11y tools.  (pointed out
Matthias Clasen's avatar
Matthias Clasen committed
1802
	by David Malcolm, #343945)
1803

Matthias Clasen's avatar
Matthias Clasen committed
1804 1805 1806
	* gtk/gtkprintoperation-win32.c: Store scale as a percentage.
	(#344560, Christian Persch)

Matthias Clasen's avatar
Matthias Clasen committed
1807 1808 1809 1810
	* gtk/gtkprogressbar.h: Add a dirty flag to GtkProgressBar.n/ 
	* gtk/gtkprogressbar.c: Defer updating of the offscreen
	pixmap until expose.  (#344543, Chris Wilson)

1811 1812 1813 1814 1815 1816 1817 1818 1819
2006-06-11  Emmanuele Bassi  <ebassi@gnome.org>

	* gtk/gtkrecentchooserdefault.c
	(get_is_recent_filtered):
	* gtk/gtkrecentchoosermenu.c
	(get_is_recent_filtered):
	Do not leak the groups string vector. (#344607,
	John Finlay)

1820 1821
2006-06-11  Tor Lillqvist  <tml@novell.com>

1822 1823 1824
	* gtk/gtkprintoperation-win32.c: Fix MSVC build problem. (#339739,
	Kazuki Iwamoto)

1825 1826 1827 1828
	* gdk/win32/gdkproperty-win32.c (gdk_property_change): Convert \n
	to \r\n also when storing CF_UNICODETEXT (UTF-16) in the
	Clipboard. (#344496)

1829 1830
2006-06-10  Matthias Clasen <mclasen@redhat.com>

1831 1832 1833 1834 1835 1836 1837
	* gtk/gtkrecentchooserwidget.c 
	(gtk_recent_chooser_widget_new_for_manager):
	* gtk/gtkrecentchoosermenu.c
	(gtk_recent_chooser_menu_new_for_manager): 
	Allow NULL to mean the default manager.  (#344530, 
	John Finlay)

Matthias Clasen's avatar
Matthias Clasen committed
1838 1839 1840 1841
	* gtk/gtkprintoperation-unix.c (page_setup_data_free):
	Check if rdata->page_setup is set before unreffing it. 
	(#344518, Christian Persch)

Matthias Clasen's avatar
Matthias Clasen committed
1842 1843 1844
	* gtk/gtkprintoperation.h: Remove an extra comma.  (#344528, 
	Elijah Newren)

1845 1846 1847 1848 1849 1850
	* modules/printbackends/gtkprintbackendpdf.c 
	(gtk_print_backend_pdf_print_stream): Use the passed in 
	destroy notify.  (#344513, Christian Persch)

	* configure.in: Require cairo 1.1.7

1851 1852 1853 1854 1855
	* gtk/gtkprintoperation.c:
	* modules/printbackends/pdf/gtkprintbackendpdf.c: Use
	cairo_pdf_surface_set_dpi by cairo_surface_set_fallback_resolution.
	(#344512, Elijah Newren)

1856 1857 1858
	* gdk-2.0-uninstalled.pc.in: Make compiling against uninstalled
	gdk work.  (#344386, Masatake Yamamoto)

1859 1860 1861 1862 1863 1864
	* gtk/gtkprintoperation.c: Register create_custom_widget as 
	an object-returning signal.  (#344505, Marko Anastasov, patch
	by Christian Persch)

	* gtk/gtkmarshalers.list: Add the right marshaller.

1865 1866 1867 1868
	* gtk/gtk.symbols:
	* gtk/gtkprintjob.[hc]: Register GtkPrintCapabilities as a
	flags type.  (#344504, Marko Anastasov)

1869 1870 1871 1872 1873
2006-06-09  Benjamin Berg  <benjamin@sipsolutions.net>

	* gtk/gtkmenuitem.c: (get_offsets): Take GtkMenu::horizontal-padding
	into account when placing submenus (#344290)

1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901
2006-06-09  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkrange.c: added new style properties "trough-side-details"
	and "draw-trough-under-steppers" and fixed the "stepper-spacing"
	style property. Fixes bugs #342339 and #342249.

	"draw-trough-under-steppers", when set to FALSE, starts trough
	drawing next to the steppers instead of drawing the trough "below"
	(around) the steppers. If "stepper-spacing" is set to any value
	larger than zero, "draw-trough-under-steppers" is set to FALSE
	automatically to avoid rendering an area that looks clickable but
	isn't.

	(gtk_range_calc_layout): honor draw-trough-under-steppers.
	Don't reserve stepper-spacing on sides of the range that don't
	have steppers.

	(gtk_range_expose): changed drawing accordingly. Implement
	"trough-side-details" which enables drawing of the upper and lower
	parts of the trough with different details. This is useful for
	theme engines which want to draw these parts differently.

	(coord_to_value): correctly take all rendering options into
	account. stepper-spacing > 0 caused jumping and otherwise
	strangely behaving ranges before.

	(other functions): changed accordingly.

1902 1903 1904 1905 1906 1907 1908
2006-06-09  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkdrawable-win32.c (_gdk_win32_drawable_release_dc):
	Call ReleaseDC() on DCs acquired with GetDC() (for windows), and
	DeleteDC() on DCs acquired with CreateCompatibleDC() (for
	bitmaps). According to MSDN, this is the correct thing to do, even
	if always using DeleteDC() seems to have worked fine in
Tor Lillqvist's avatar
Tor Lillqvist committed
1909
	practice. (#337491, Chris Wilson)
1910

1911 1912
2006-06-08  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
Matthias Clasen committed
1913 1914 1915 1916 1917
	* tests/testprint.c: Update for api changes.

	* gtk/gtkprintoperation.c: Fix some copy-and-paste errors,
	and rename the pdf-target property to export-filename.

Matthias Clasen's avatar
Matthias Clasen committed
1918 1919
	* gtk/gtkfilechooserdefault.c: Turn off profiling code.

1920 1921
	* tests/print-editor.c: Update for api changes.

1922 1923
	* gtk/gtk.h: Include gtkprintoperationpreview.h

1924 1925 1926
	* gtk/gtkprintoperationpreview.c (gtk_print_operation_preview_is_selected): 
	Use g_return_val_if_fail (#344288, Kazuki Iwamoto)

1927 1928 1929 1930 1931 1932 1933
	* gtk/gtkprintbackend.h: Don't include gtkprinter-private.h here.

	* gtk/gtkprintunixdialog.c: 
	* gtk/gtkprintoperation-unix.c: 
	* gtk/gtkprintjob.c: 
	* gtk/gtkprintbackend.c: Instead include it here.

1934 1935 1936 1937
	* gtk/gtk.symbols: 
	* gtk/gtkprintoperation.h: 
	* gtk/gtkprintoperation.c: Rename pdf_target to export_filename.

1938 1939 1940 1941 1942 1943 1944 1945
2006-06-08  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkprintoperation.h (GtkPrintOperationResult): Get
	rid of GTK_PRINT_OPERATION_RESULT_PREVIEW.
	
	* gtk/gtkprintoperation-unix.c: 
	* gtk/gtkprintoperation.c: Update all users.

1946 1947 1948 1949 1950 1951 1952
2006-06-08  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkevents-win32.c (gdk_event_translate):
	[WM_WINDOWPOSCHANGED] Replace identical code as in
	handle_configure_event() with call to that function.
	[WM_SIZING] Fix implementation of aspect ratio hints. (#344244)
	The hints are for the geometry of the client area, not of the
Tor Lillqvist's avatar
Tor Lillqvist committed
1953 1954
	window including decorations. Improve resizing behaviour in the
	presence of aspect hints, to be more in line with typical X window
1955 1956
	managers.

1957 1958
2006-06-08  Matthias Clasen  <mclasen@redhat.com>

1959 1960 1961
	* gtk/gtktoolbutton.c (gtk_tool_button_style_set): Give
	GtkToolButton the same treatment.

1962 1963 1964 1965
	* gtk/gtkbutton.c (gtk_button_style_set): Don't call
	construct_child here, since some apps make assumptions 
	about the lifecycle of the constructed label.  

1966 1967 1968 1969 1970
2006-06-08  Alexander Larsson  <alexl@redhat.com>

	* gtk/gtkprintoperation-unix.c (finish_print):
	Fix up unix fallout from previous change.

1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984
2006-06-08  Alexander Larsson  <alexl@redhat.com>

	* gtk/gtkprintoperation-win32.c:
	Update windows to build with new APIs and first cut
	at preview work.
	
	* gtk/gtkprintoperation-private.h:
	* gtk/gtkprintoperation-unix.c:
	* gtk/gtkprintoperation.c
	Various updates needed when making the preview work on win32.

	* tests/print-editor.c:
	Print, don't preview.

1985 1986
2006-06-07  Matthias Clasen  <mclasen@redhat.com>

1987 1988 1989 1990
	* gtk/gtkentry.c (popup_targets_received): Make Delete
	menuitem insensitive if entry is not editable.  (#344232, 
	Milosz Derezynski)

Matthias Clasen's avatar
Matthias Clasen committed
1991 1992 1993 1994 1995 1996
	* gtk/gtkprintoperation.c: Add some docs. 

	* gtk/gtk.symbols: Add gtk_print_operation_set_allow_async.

	* gtk/gtkprintoperation.h: Remove gtk_print_operation_run_async.

Matthias Clasen's avatar
Matthias Clasen committed
1997 1998
	* tests/testnotebookdnd.c: Update callers.

1999 2000 2001 2002 2003
	* gtk/gtknotebook.h:
	* gtk/gtknotebook.c (gtk_notebook_set_window_creation_hook):
	Add a destroy notify for the callback data.  (#344209, 
	Murray Cumming)

2004 2005 2006 2007
2006-06-07  Jürg Billeter  <j@bitron.ch>

	* gtk/Makefile.am: Fix building gtkbuiltincache.h without system GTK+.

2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024
2006-06-07  Alexander Larsson  <alexl@redhat.com>

	* gtk/gtk.symbols:
	* gtk/gtkprintoperation-private.h:
	* gtk/gtkprintoperation-unix.c:
	* gtk/gtkprintoperation.[ch]:
	Clean up APIs:
	Make async a setting instead of separate calls.
	Combine settings like show_dialog, show_preview and pdf_target into
	an action enum that you pass to gtk_print_dialog_run().
	
	* tests/print-editor.c:
	* tests/testnouiprint.c:
	* tests/testprint.c:
	* demos/gtk-demo/printing.c:
	Update to new APIs

2025 2026 2027 2028
2006-06-07  Bastien Nocera  <hadess@hadess.net>

	* configure.in: Update the ATK requirements (#344148)

Matthias Clasen's avatar
Matthias Clasen committed
2029 2030 2031 2032 2033 2034
2006-06-07  Matthias Clasen  <mclasen@redhat.com>

	* modules/printbackends/cups/gtkprintercups.c 
	(gtk_printer_cups_finalize):  Fix a C99ism.
	(#344123, Jens Ganseuer)

2035 2036 2037
2006-06-06  Behdad Esfahbod  <behdad@gnome.org>

	* gdk/gdkpango.c (gdk_pango_layout_line_get_clip_region): Correct
Behdad Esfahbod's avatar
Behdad Esfahbod committed
2038
	rounding of rect members.  Improved docs.  (#337603)
2039

Matthias Clasen's avatar
Matthias Clasen committed
2040 2041 2042 2043
2006-06-06  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkicontheme.c: Small optimization

Matthias Clasen's avatar
Matthias Clasen committed
2044 2045
2006-06-05  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
Matthias Clasen committed
2046 2047
	* configure.in: Bump version

Matthias Clasen's avatar
Matthias Clasen committed
2048 2049 2050 2051 2052 2053 2054 2055 2056 2057
	* === Released 2.9.2 ===

	* configure.in: Set interface age to 0.

	* NEWS: Updates

	* gtk/gtkprintoperationpreview.c: Include gtkalias.h

	* gtk/gtk.symbols: Add some forgotten new functions.

2058 2059
2006-06-04  Matthias Clasen  <mclasen@redhat.com>

2060 2061 2062 2063
	* gtk/gtknotebook.c (gtk_notebook_calculate_shown_tabs):
	(gtk_notebook_calc_tabs): Fix borderline cases in tab
	visibility calculation.  (#168105, Carlos Garnacho Parro)

2064
	* gdk/x11/gdkfont-x11.c (_gdk_font_destroy): Remove the right
Matthias Clasen's avatar
Matthias Clasen committed
2065
	XID from the xid table.  (#341327, Sampo Savolainen, Tim Janik)
2066

2067 2068 2069 2070
2006-06-04  Behdad Esfahbod  <behdad@gnome.org>

	* gtk/gtkprintoperationpreview.h: Add missing G_END_DECLS (#343838)

2071 2072 2073 2074 2075 2076
2006-06-03  Richard Hult  <richard@imendio.com>                                 

	* gdk/quartz/Makefile.am:                                               
	* gdk/quartz/gdkspawn-quartz.c: Add spawn functions, copied from the
	win32 backend.

Matthias Clasen's avatar
Matthias Clasen committed
2077
2006-06-02  Matthias Clasen  <mclasen@redhat.com>
2078 2079 2080 2081 2082 2083
	
	* gtk/gtkprintoperation-private.h:
	* gtk/gtkprintoperation.h:
	* gtk/gtkprintoperation.c: Add a show-preview property. 

	* gtk/gtkprintoperation-unix.c: Implement it here.
Matthias Clasen's avatar
Matthias Clasen committed
2084 2085 2086

	* gtk/gtkprintoperation-unix.c: Cleanups

2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112
2006-06-02  Kristian Rietveld  <kris@imendio.com>

	Rubber banding for GtkTreeView, #80127.  Uses same method as
	GtkIconView.

	* gtk/gtktreeview.c (gtk_tree_view_class_init),
	(gtk_tree_view_init), (gtk_tree_view_get_property),
	(gtk_tree_view_set_property), (gtk_tree_view_set_rubber_banding),
	(gtk_tree_view_get_rubber_banding): add property,
	(gtk_tree_view_button_press): start rubber banding if enabled and
	press is on a non-selected node,
	(gtk_tree_view_button_release): stop rubber banding,
	(gtk_tree_view_motion_bin_window), (scrool_row_timeout): enable/update
	the rubber band,
	(gtk_tree_view_bin_expose): draw rubber band if active,
	(gtk_tree_view_stop_rubberband),
	(gtk_tree_view_update_rubber_band_selection_range),
	(gtk_tree_view_update_rubber_band_selection),
	(gtk_tree_view_update_rubber_band),
	(gtk_tree_view_paint_rubber_band): new functions.

	* gtk/gtktreeview.h: add new set/get function for rubber banding
	property.

	* gtk/gtktreeprivate.h: add a bunch of new private fields.

2113 2114
2006-06-02  Kristian Rietveld  <kris@imendio.com>

Matthias Clasen's avatar
Matthias Clasen committed
2115
	* gtk/gtktreeview.c (gtk_tree_view_leave_notify): revert fix of
2116 2117 2118
	#164884 because it's not a problem in gtk+ but in applications and
	it breaks starting drags from the edge of a row.

2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136
2006-06-02  Kristian Rietveld  <kris@imendio.com>

	Separate sensitive/selectable properties.

	* gtk/gtktreeselection.c (tree_column_is_sensitive): remove,
	(_gtk_tree_selection_row_is_selectable): remove checks to see if at
	least one column is sensitive,
	(gtk_tree_selection_real_select_node): remove code which enables
	insensitive rows to always be unselected.

	* gtk/gtktreeview.c (gtk_tree_view_row_changed): remove code
	that unselects a node if it just became insensitive.

	* gtk/gtkcombobox.c (gtkcombo_box_list_select_func): new function,
	based on the at least one column sensitive check from
	_gtk_tree_selection_row_is_selectable(),
	(gtk_combo_box_list_setup): set selection function on tree selection.

2137 2138 2139 2140 2141 2142 2143 2144
2006-06-02  Kristian Rietveld  <kris@imendio.com>

	* gtk/gtktreemodelfilter.c
	(gtk_tree_model_filter_convert_child_path_to_path): need to use
	gtk_tree_model_filter_get_iter_full() since the path returned
	by gtk_real_tree_model_filter_convert_child_path_to_path() includes
	invisible nodes.

Matthias Clasen's avatar
Matthias Clasen committed
2145 2146
2006-06-02  Matthias Clasen  <mclasen@redhat.com>

2147 2148 2149
	* gtk/gtkstatusicon.c (gtk_status_icon_get_geometry): Allow
	to return partial information.  (#343625, Christian Persch)

Matthias Clasen's avatar
Matthias Clasen committed
2150 2151 2152
	* gtk/gtkwindow.c (gtk_window_key_release_event): Chain up
	to key_release, not to key_press.  (#343677, Tommi Komulainen)

2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188
2006-06-02  Alexander Larsson  <alexl@redhat.com>

	* gtk/Makefile.am:
	Add gtkprintoperationpreview.[ch]
	Set default preview command. Hardcoded for now.
	
	* gtk/gtkmarshalers.list:
	Add BOOLEAN:OBJECT,OBJECT,OBJECT
	
	* gtk/gtkprintbackend.c:
	Add preview command property.
	
	* gtk/gtkprintcontext.[ch]:
	Make less dependent on PrintOperation for output settings
	Externally set cairo_t and dpi. Resettable.
	Create fontmap without metrics hinting (so that print preview
	text layout doesn't depend on zoom level).
	
	* gtk/gtkprintoperation-private.h:
	* gtk/gtkprintoperation-unix.c: 
	* gtk/gtkprintoperation.[ch]:
	Initial work on print preview API and default implementation
	using an external preview app.
	
	* gtk/gtkprintoperation-win32.c:
	Some needed updates. Not done, needs more work.
	
	* gtk/gtkprintoperationpreview.[ch]:
	New interface used in print preview api.
	
	* gtk/gtkprintunixdialog.c:
	Add print preview dialog.
	
	* tests/print-editor.c:
	Test using an custom print preview widget.

2189 2190 2191 2192 2193 2194
2006-06-02  Emmanuele Bassi  <ebassi@gnome.org>

	* gtk/gtkrecentmanager.c
	(gtk_recent_info_get_application_info): Fix a typo (spotted by
	Paolo Borelli and coverity).

2195
2006-06-01  Matthias Clasen  <mclasen@redhat.com>
Matthias Clasen's avatar
Matthias Clasen committed
2196 2197
	
	* tests/testnotebookdnd.c: Small tweaks to test more things.
2198

2199 2200 2201 2202 2203 2204 2205
	* gtk/gtktoolbutton.c (gtk_tool_button_class_init): Add
	an icon-spacing style property for the same purpose.

	* gtk/gtkbutton.c (gtk_button_class_init):  Add an image-spacing
	style property that allows to adjust the spacing between image
	and label in button.  (#320431, James Moger)

Matthias Clasen's avatar
Matthias Clasen committed
2206 2207 2208
	* gtk/gtkprintoperation-private.h: 
	* gtk/gtkprintoperation.c: 
	* gtk/gtkprintoperation-unix.c: Move the 
2209 2210 2211
	PrintPagesData.wait flag to GtkPrintOperationPrivate.is_sync.
	Also use a recursive mainloop instead of manually looping.
	
Matthias Clasen's avatar
Matthias Clasen committed
2212 2213
	* gtk/gtkprintoperation.c: Add some examples to the docs.

Matthias Clasen's avatar
Matthias Clasen committed
2214 2215 2216
	* gtk/gtkprintbackend.c (gtk_print_backend_class_init): 
	Intern signal names.

2217
	* gtk/gtkprintunixdialog.c: 
2218 2219
	* gtk/gtkprintoperation-unix.c: Use canonical signal names.

2220 2221
2006-05-31  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
Matthias Clasen committed
2222 2223 2224
	* gtk/gtkpagesetupunixdialog.c: Add docs, cleanup some
	formatting.

2225 2226 2227
	* gtk/gtkprintoperation.c (print_pages_idle): Don't
	treat manual_scale like a percentage, its a factor.

2228 2229 2230
	* gtk/gtktreeview.c (gtk_tree_view_class_init): Document
	signals.  (#302556, Stefan Kost)

2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243
2006-05-31  Alexander Larsson  <alexl@redhat.com>

	* gtk/gtk.symbols:
	* demos/gtk-demo/printing.c:
	* tests/print-editor.c:
	* tests/testnouiprint.c:
	* tests/testprint.c:
	* tests/testprintfileoperation.c:
	Further updates from the GtkPrintContext functions rename.
	
	* modules/printbackends/cups/gtkcupsutils.c:
	Always set requesting-user-name when doing cups requests.

2244 2245 2246 2247 2248 2249
2006-05-31  Alexander Larsson  <alexl@redhat.com>

	* gtk/gtkpagesetupunixdialog.c:
	Remove request_details_tag with g_signal_handler_disconnect,
	not g_source_remove. (#343475)

2250 2251
2006-05-31  Matthias Clasen  <mclasen@redhat.com>

2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262
	* gtk/gtkprintcontext.h: 
	* gtk/gtkprintcontext.c: 
	* gtk/gtkprintoperation.c: 
	* gtk/gtkprintoperation-unix.c: Change some function names to be 
	longer and better. 
	gtk_print_context_get_cairo -> gtk_print_context_get_cairo_context
	gtk_print_context_get_fontmap -> gtk_print_context_get_pango_fontmap
	gtk_print_context_create_context -> gtk_print_context_create_pango_context
	gtk_print_context_create_layout -> gtk_print_context_create_pango_layout
	Update all callers.

2263 2264 2265
	* gtk/gtkpagesetupunixdialog.c: Don't run the custom page
	size dialog.  (#340444, Christian Persch)

2266 2267 2268
	* demos/gtk-demo/main.c (main): Display comments in friendly
	DodgerBlue instead of scary red.  (#343444, Carol Spears)