ChangeLog.pre-2-10 252 KB
Newer Older
1 2 3 4 5 6 7 8 9
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)

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

12 13 14
	* gtk/gtkprintoperation-win32.c: Fix MSVC build problem. (#339739,
	Kazuki Iwamoto)

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

19 20
2006-06-10  Matthias Clasen <mclasen@redhat.com>

21 22 23 24 25 26 27
	* 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
28 29 30 31
	* 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
32 33 34
	* gtk/gtkprintoperation.h: Remove an extra comma.  (#344528, 
	Elijah Newren)

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

41 42 43 44 45
	* gtk/gtkprintoperation.c:
	* modules/printbackends/pdf/gtkprintbackendpdf.c: Use
	cairo_pdf_surface_set_dpi by cairo_surface_set_fallback_resolution.
	(#344512, Elijah Newren)

46 47 48
	* gdk-2.0-uninstalled.pc.in: Make compiling against uninstalled
	gdk work.  (#344386, Masatake Yamamoto)

49 50 51 52 53 54
	* 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.

55 56 57 58
	* gtk/gtk.symbols:
	* gtk/gtkprintjob.[hc]: Register GtkPrintCapabilities as a
	flags type.  (#344504, Marko Anastasov)

59 60 61 62 63
2006-06-09  Benjamin Berg  <benjamin@sipsolutions.net>

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

64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91
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.

92 93 94 95 96 97 98
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
99
	practice. (#337491, Chris Wilson)
100

101 102
2006-06-08  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
Matthias Clasen committed
103 104 105 106 107
	* 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
108 109
	* gtk/gtkfilechooserdefault.c: Turn off profiling code.

110 111
	* tests/print-editor.c: Update for api changes.

112 113
	* gtk/gtk.h: Include gtkprintoperationpreview.h

114 115 116
	* gtk/gtkprintoperationpreview.c (gtk_print_operation_preview_is_selected): 
	Use g_return_val_if_fail (#344288, Kazuki Iwamoto)

117 118 119 120 121 122 123
	* 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.

124 125 126 127
	* gtk/gtk.symbols: 
	* gtk/gtkprintoperation.h: 
	* gtk/gtkprintoperation.c: Rename pdf_target to export_filename.

128 129 130 131 132 133 134 135
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.

136 137 138 139 140 141 142
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
143 144
	window including decorations. Improve resizing behaviour in the
	presence of aspect hints, to be more in line with typical X window
145 146
	managers.

147 148
2006-06-08  Matthias Clasen  <mclasen@redhat.com>

149 150 151
	* gtk/gtktoolbutton.c (gtk_tool_button_style_set): Give
	GtkToolButton the same treatment.

152 153 154 155
	* 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.  

156 157 158 159 160
2006-06-08  Alexander Larsson  <alexl@redhat.com>

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

161 162 163 164 165 166 167 168 169 170 171 172 173 174
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.

175 176
2006-06-07  Matthias Clasen  <mclasen@redhat.com>

177 178 179 180
	* 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
181 182 183 184 185 186
	* 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
187 188
	* tests/testnotebookdnd.c: Update callers.

189 190 191 192 193
	* gtk/gtknotebook.h:
	* gtk/gtknotebook.c (gtk_notebook_set_window_creation_hook):
	Add a destroy notify for the callback data.  (#344209, 
	Murray Cumming)

194 195 196 197
2006-06-07  Jürg Billeter  <j@bitron.ch>

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

198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214
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

215 216 217 218
2006-06-07  Bastien Nocera  <hadess@hadess.net>

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

Matthias Clasen's avatar
Matthias Clasen committed
219 220 221 222 223 224
2006-06-07  Matthias Clasen  <mclasen@redhat.com>

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

225 226 227
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
228
	rounding of rect members.  Improved docs.  (#337603)
229

Matthias Clasen's avatar
Matthias Clasen committed
230 231 232 233
2006-06-06  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkicontheme.c: Small optimization

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

Matthias Clasen's avatar
Matthias Clasen committed
236 237
	* configure.in: Bump version

Matthias Clasen's avatar
Matthias Clasen committed
238 239 240 241 242 243 244 245 246 247
	* === 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.

248 249
2006-06-04  Matthias Clasen  <mclasen@redhat.com>

250 251 252 253
	* gtk/gtknotebook.c (gtk_notebook_calculate_shown_tabs):
	(gtk_notebook_calc_tabs): Fix borderline cases in tab
	visibility calculation.  (#168105, Carlos Garnacho Parro)

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

257 258 259 260
2006-06-04  Behdad Esfahbod  <behdad@gnome.org>

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

261 262 263 264 265 266
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
267
2006-06-02  Matthias Clasen  <mclasen@redhat.com>
268 269 270 271 272 273
	
	* 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
274 275 276

	* gtk/gtkprintoperation-unix.c: Cleanups

277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302
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.

303 304
2006-06-02  Kristian Rietveld  <kris@imendio.com>

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

309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326
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.

327 328 329 330 331 332 333 334
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
335 336
2006-06-02  Matthias Clasen  <mclasen@redhat.com>

337 338 339
	* gtk/gtkstatusicon.c (gtk_status_icon_get_geometry): Allow
	to return partial information.  (#343625, Christian Persch)

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

343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378
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.

379 380 381 382 383 384
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).

385
2006-06-01  Matthias Clasen  <mclasen@redhat.com>
Matthias Clasen's avatar
Matthias Clasen committed
386 387
	
	* tests/testnotebookdnd.c: Small tweaks to test more things.
388

389 390 391 392 393 394 395
	* 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
396 397 398
	* gtk/gtkprintoperation-private.h: 
	* gtk/gtkprintoperation.c: 
	* gtk/gtkprintoperation-unix.c: Move the 
399 400 401
	PrintPagesData.wait flag to GtkPrintOperationPrivate.is_sync.
	Also use a recursive mainloop instead of manually looping.
	
Matthias Clasen's avatar
Matthias Clasen committed
402 403
	* gtk/gtkprintoperation.c: Add some examples to the docs.

Matthias Clasen's avatar
Matthias Clasen committed
404 405 406
	* gtk/gtkprintbackend.c (gtk_print_backend_class_init): 
	Intern signal names.

407
	* gtk/gtkprintunixdialog.c: 
408 409
	* gtk/gtkprintoperation-unix.c: Use canonical signal names.

410 411
2006-05-31  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
Matthias Clasen committed
412 413 414
	* gtk/gtkpagesetupunixdialog.c: Add docs, cleanup some
	formatting.

415 416 417
	* gtk/gtkprintoperation.c (print_pages_idle): Don't
	treat manual_scale like a percentage, its a factor.

418 419 420
	* gtk/gtktreeview.c (gtk_tree_view_class_init): Document
	signals.  (#302556, Stefan Kost)

421 422 423 424 425 426 427 428 429 430 431 432 433
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.

434 435 436 437 438 439
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)

440 441
2006-05-31  Matthias Clasen  <mclasen@redhat.com>

442 443 444 445 446 447 448 449 450 451 452
	* 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.

453 454 455
	* gtk/gtkpagesetupunixdialog.c: Don't run the custom page
	size dialog.  (#340444, Christian Persch)

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

459 460 461 462
	* gtk/gtkfontbutton.c: 
	* gtk/gtkcolorbutton.c: Clarify the docs of the color-set and
	font-set signals.  (#343438, Olexiy Avramchenko)

463 464
2006-05-30  Matthias Clasen  <mclasen@redhat.com>

465 466 467
	* gtk/gtkmain.c (gtk_grab_notify_foreach): Don't skip internal
	children when emitting grab-notify.  (#343425, Markku Vire)

468 469 470 471
	* gdk/gdkpixmap.c: 
	* gdk/gdkwindow.c: Don't use G_DEFINE_TYPE, since the instance
	struct name does not match the type name.  (#343453, Ed Catmur)

472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494
	* gtk/gtk.symbols: 
	* gtk/gtkbutton.h: 
	* gtk/gtkbutton.c: Add a GtkButton::image-position property
	with getter and setter, to allow constructing buttons with
	the image stacked on top of the label.  (#342930, Johan Dahlin)

2006-05-30  Johan Dahlin  <jdahlin@async.com.br>

   * gtk/gtk.symbols:
   * gtk/gtkbutton.c: (gtk_button_class_init), (gtk_button_init),
   (gtk_button_set_property), (gtk_button_get_property),
   (gtk_button_construct_child), (gtk_button_set_image_spacing),
   (gtk_button_get_image_spacing):
   * gtk/gtkbutton.h:
   * gtk/gtktoolbutton.c: (gtk_tool_button_class_init),
   (gtk_tool_button_construct_contents),
   (gtk_tool_button_set_property), (gtk_tool_button_get_property),
   (_gtk_tool_button_get_button), (gtk_tool_button_set_icon_spacing),
   (gtk_tool_button_get_icon_spacing):
   * gtk/gtktoolbutton.h:
   Add GtkButton:image-spacing and GtkToolButton::icon-spacing.
   (#320431, James Moger)

495 496 497 498 499
2006-05-30  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button): only
	check sort column id if connected to sortable model.

500 501 502 503 504
2006-05-30  Behdad Esfahbod  <behdad@gnome.org>

	* gdk/gdkpango.c (draw_error_underline): Fix offset to center the
	underline in requested rectangle. (Ported from pango fix.)

505 506 507 508 509 510
2006-05-29  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkdialog.h: removed forgotten declaration of
	_gtk_dialog_get_response_for_widget(), the function has been made
	public a long time ago.

511 512 513 514 515 516 517
2006-05-29  Michael Natterer  <mitch@imendio.com>

	* gtk/gtktextview.c (gtk_text_view_target_list_notify): applied
	patch from Chris Wilson which replaces a useless loop with
	built-in access to free'd memory by a simple integer comparison.
	Fixes bug #342894.

518 519 520 521 522 523
2006-05-29  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): select
	the current focus row if nothing is selected and ctrl is not pressed.
	(Fixes #324480, Murray Cumming/Srirama Sharma).

524 525 526 527 528 529 530 531
2006-05-28  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_cell_focus): refactor
	to work correctly in RTL mode.

	* gtk/gtktreeview.c (gtk_tree_view_move_cursor_left_right): make
	cursor movement to left/right work correctly in RTL mode.

532 533 534 535 536 537
2006-05-28  Behdad Esfahbod  <behdad@gnome.org>

	* gdk/gdkrectangle.c (gdk_rectangle_union, gdk_rectangle_intersect):
	Note in docs that @dest can be the same as @src1 or @src2. (#343233,
	Christian Persch)

538 539 540 541 542 543
2006-05-28  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtkstyle.c (gtk_default_draw_flat_box): handle
	cell_even_ruled_sorted and cell_odd_ruled_sorted for the selected
	state.

Kristian Rietveld's avatar
Kristian Rietveld committed
544 545 546 547 548 549 550 551
2006-05-28  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtkenums.h: add GTK_ARROW_NONE.

	* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_column): always
	"show" the arrow if sort_column_id >= 0, only set arrow type if
	this column is the column we are currently sorting on. (#331338).

552 553 554 555 556
2006-05-27  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkrecentchoosermenu.c: Avoid trivial differences
	in translated strings.  (#343088, Clytie Siddall)

557 558 559 560 561 562
2006-05-28  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeview.c (gtk_tree_view_build_tree): emit test_expand_row
	and test return value before expanding a branch. (Fixes #321523,
	reported by Daniel Lindenaar).

563 564 565 566 567 568 569
2006-05-28  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeview.c (gtk_tree_view_insert_column): set the sizing
	type of the new column to FIXED,
	(gtk_tree_view_insert_column_with_attributes): likewise. (#341898,
	Dan Winship).

570 571 572 573 574 575 576
2006-05-27  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_remove_node):
	only unref if elt->ref_count > 0,
	(gtk_tree_model_filter_row_deleted): likewise. (Fixes #340839,
	reported by Yevgen Muntyan).

577 578 579 580 581 582 583 584 585 586 587
2006-05-27  Kristian Rietveld  <kris@gtk.org>

	Small refactoring. (#340428, Paolo Borelli).

	* gtk/gtkliststore.c (gtk_list_store_set_valist_internal),
	(gtk_list_store_insert_with_valuesv): refactor code to determine
	iter compare func into gtk_list_store_get_compare_func().

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

Kristian Rietveld's avatar
Kristian Rietveld committed
588 589 590 591 592
2006-05-27  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeview.c (gtk_tree_view_queue_draw_arrow): really fix
	#333284.

593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612
2006-05-27  Kristian Rietveld  <kris@gtk.org>

	Editable cell window placement and RTL fixes.

	* gtk/gtktreeview.c (gtk_tree_view_button_press),
	(gtk_tree_view_bin_expose), (gtk_tree_view_get_cell_area),
	(gtk_tree_view_create_row_drag_icon): Only add indentation to x
	if !rtl,
	(gtk_tree_view_create_row_drag_icon): Iterate over columns in reverse
	direction if in rtl mode.

	* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action):
	horizontal_separator is not part of the real background area width,
	add 2 * focus_line_width to real_cell_area.x and not
	real_background_area.x, fix up event coordinates check in the
	PACK_END loop, also set depth to zero at the end of the PACK_END
	loop,
	(_gtk_tree_view_get_neighbor_sizes): also add column_spacing for each
	visible cell.

613 614 615 616 617 618 619 620
2006-05-26  Matthias Clasen  <mclasen@redhat.com>

	* gtk/stock-icons/24/gtk-orientation-landscape.png:
	* gtk/stock-icons/24/gtk-orientation-portrait.png:
	* gtk/stock-icons/24/gtk-orientation-reverse-landscape.png:
	* gtk/stock-icons/24/gtk-orientation-reverse-portrait.png:
	Cleaned up icons by Diana Fong.

621 622 623 624 625 626
2006-05-26  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeview.c (gtk_tree_view_queue_draw_arrow): queue a redraw
	for the full width of the row, not just the width we got allocated.
	(Fixes #333284, reported by Benjamin Berg).

627 628 629 630 631 632
2006-05-26  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeview.c (gtk_tree_view_top_row_to_dy): set dy to
	page_size + height in the event dy + page_size is about to become
	bigger than height.

633 634 635 636 637 638 639 640 641
2006-05-25  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtk.symbols:
	* gtk/gtkstatusicon.h:
	* gtk/gtkstatusicon.c (gtk_status_icon_get_geometry):
	New function that can be used to e.g. position 
	notification bubbles wrt to the status icon.  
	(#341450, Christian Persch, Havoc Pennington)

642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697
2006-05-25  Matthias Clasen  <mclasen@redhat.com>

	Make GTK+ work as an untrusted X client. (#136571,
	Ed Catmur)

	* gdk/x11/gdkdisplay-x11.h:
	* gdk/x11/gdkdisplay-x11.c (gdk_display_open): When 
	opening a display, determine if we are untrusted.
	
	* gdk/x11/gdkdisplay-x11.c (gdk_notify_startup_complete): 
	Just bail out when we are untrusted.

	* gdk/x11/gdkwindow-x11.c (gdk_window_new): Work around
	a bug in the Xorg XSECURITY implementation by coercing
	toplevel InputOnly windows to InputOutput.

	* gdk/x11/gdkwindow-x11.c (_gdk_windowing_get_pointer): 
	(_gdk_windowing_window_get_pointer): 
	When untrusted, call XQueryPointer on an auxiliary
	window, not on the root window.
	
	* gdk/x11/gdkwindow-x11.c (_gdk_windowing_window_at_pointer): 
	If untrusted, loop through all GDK-aware toplevels on all
	screens in the hope we hit one containing the pointer; 
	then use that as the basis of the current XQueryPointer 
	child recursion.

	* gdk/x11/gdkmain-x11.c (gdk_pointer_grab): 
	(gdk_keyboard_grab): Ignore failed grabs when untrusted.

	* gdk/x11/gdkdnd-x11.c (gdk_window_cache_new): Only
	cache our own toplevels when untrusted.

	* gdk/x11/gdkdnd-x11.c (motif_send_enter): Don't try
	to do Motif DND as untrusted client.

	* gdk/x11/gdkevents-x11.c (fetch_net_wm_check_window): 
	(gdk_x11_screen_get_window_manager_name): 
	(gdk_x11_screen_supports_net_wm_hint): 
	Bail out early if untrusted.
	
	* gtk/gtkcolorsel.c (grab_color_at_mouse): If getting 
	the color under the pointer by screenshooting the root 
	window fails, it tries to get the color from our own 
	window.

	* gtk/gtkcolorsel.c (get_screen_color): Make the
	dropper_grab_widget a child of the dialog, not a 
	toplevel.

	* gtk/gtkinvisible.c (gtk_invisible_realize): Respect
	a parent window that has been set before realizing.

	* gtk/gtkwidget.c (gtk_widget_get_parent_window): 
	Always return a previously set parent window.
	
698 699
2006-05-24  Matthias Clasen  <mclasen@redhat.com>

700 701 702 703 704
	* gtk/gtkfontbutton.c (gtk_font_button_clicked): 
	* gtk/gtkcolorbutton.c (gtk_color_button_clicked): 
	Fix the handling of modality by copying what
	GtkFileChooserButton does.  (#342754, Yevgen Muntyan)
	
705 706 707 708 709 710 711
	* gtk/gtkprintunixdialog.c (create_main_page): Make
	the range entry insensitive if another range option
	is selected.  (#342783, Caolan McNamara)
	(update_dialog_from_capabilities): Make the collate
	check button insensitive unless multiple copies are
	printed  (#342781, Caolan McNamara)

712 713 714 715
	* gtk/gtkwidget.c: Remove style properties when a widget
	class gets finalized, to make style properties work in
	dynamic types.  (#342513, Christian Persch)

716 717 718 719 720 721
2006-05-24  Henrique Romano  <henrique@async.com.br>

	* gtk/gtkcellview.c: (gtk_cell_view_class_init),
	(gtk_cell_view_get_property), (gtk_cell_view_set_property):
	Add model property for GtkCellView, part of #172535.

Matthias Clasen's avatar
Matthias Clasen committed
722 723 724 725 726 727 728 729 730 731
2006-05-24  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkprintoperation.h: 
	* gtk/gtkprintoperation-private.h: 
	* gtk/gtk.symbols:
	* gtk/gtkprintoperation.c: Add a custom-tab-label property.
	
	* gtk/gtkprintoperation-unix.c (get_print_dialog): Use it
	here.  (#342752, Yevgen Muntyan)

732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756
2006-05-24  Alexander Larsson  <alexl@redhat.com>

	* gtk/gtk.symbols:
	* gtk/gtkprintunixdialog.[ch]:
	Add gtk_print_unix_dialog_set_manual_capabilities that controls
	what widgets to enable in the dialog depending on the apps
	capabilities.
	
	* gtk/gtkprintbackend.[ch]:
	* gtk/gtkprinter-private.h:
	* gtk/gtkprinter.c:
	* gtk/gtkprintjob.h:
	Add printer_get_capabilities to backend.
	Move some fallback calls to the printbackend base class.
	
	* gtk/gtkprintoperation-unix.c:
	Set manual capabilities
	
	* modules/printbackends/cups/gtkprintbackendcups.c:
	Implement get_capabilities
	
	* modules/printbackends/lpr/gtkprintbackendlpr.c:
	* modules/printbackends/pdf/gtkprintbackendpdf.c:
	Move some methods to baseclass.

757 758 759 760 761 762
2006-05-23  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkprintoperation.c (print_pages): Do the begin-print
	emission in the idle, so that the print dialog goes away
	before begin-print.

763 764 765 766 767 768
2006-05-23  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtk.symbols: 
	* gtk/gtkprintoperation.h: 
	* gtk/gtkprintoperation.c: Add a boolean show-progress  
	property, and show a progress dialog if it is set to TRUE.
769

770 771 772 773 774 775 776
	* gtk/gtkprintoperation.c (pdf_end_run): 
	* gtk/gtkprintoperation-win32.c (win32_end_run): 
	* gtk/gtkprintoperation-unix.c (unix_end_run): 
	* gtk/gtkprintoperation-private.h: Add a cancelled
	parameter to end_run, and call it even if the print
	operation was cancelled.

777 778 779 780 781 782
2006-05-23  Alexander Larsson  <alexl@redhat.com>

	* gtk/gtkprinteroptionwidget.c (filesave_changed_cb):
	Allow absolute filenames in filename entry.
	Patch from Yevgen Muntyan (#341679)

783 784 785 786 787 788 789 790 791 792 793 794 795
2006-05-23  Alexander Larsson  <alexl@redhat.com>

	* gtk/gtk.symbols:
	* gtk/gtkprintunixdialog.[ch]:
	Add gtk_print_unix_dialog_add_custom_tab
	
	* gtk/gtkprintoperation-unix.c:
	Implement custom widgets for unix.
	Fix some warnings by including cairo-ps/pdf.h
	
	* gtk/gtkprintoperation-win32.c:
	Mark string for translation.

Matthias Clasen's avatar
Matthias Clasen committed
796 797 798 799 800
2006-05-22  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkprintoperation.c (gtk_print_operation_class_init): 
	Fix docs.

801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824
2006-05-22  Alexander Larsson  <alexl@redhat.com>

	* gtk/gtkmain.c:
	Make sure grab-notify is emitted on toplevels as well as 
	child widgets.

	* gtk/Makefile.am:
	* gtk/gtkwin32embedwidget.[ch]
	Add new widget used for win32 port to embed gtk+
	widgets in windows dialog.

	* gtk/gtkmarshalers.list:
	Add POINTER:VOID

	* gtk/gtkprintoperation-private.h:
	* gtk/gtkprintoperation.[ch]:
	Generic support for custom widgets in print dialog.

	* gtk/gtkprintoperation-win32.c:
	Implement custom widget support for win32.

	* tests/print-editor.c:
	Allow setting of font using custom widgets in the print dialog.

825 826 827 828 829 830 831 832 833 834 835 836 837 838
2006-05-22  Behdad Esfahbod  <behdad@gnome.org>

	Rollback the following changes, to fix it the proper way in Pango:

	* gdk/gdkinternals.h:
	* gdk/gdkscreen.c (gdk_screen_class_init), (gdk_screen_finalize),
	(update_fontmap_resolution), (gdk_screen_set_resolution):  Add new
	function _gdk_screen_get_font_map() and have one fontmap per screen,
	with the correct resolution set on it.

	* gdk/gdkpango.c (gdk_pango_context_get_for_screen): Use
	_gdk_screen_get_font_map() instead of setting resolution on the
	PangoCairoContext.  (#342529)

839 840 841 842 843 844 845
2006-05-22  Emmanuele Bassi  <ebassi@gnome.org>

	* gtk/gtkrecentmanager.h:
	* gtk/gtkrecentmanager.c
	(gtk_recent_info_get_application_info): Don't mask "time" with
	the "time" argument.

846 847
2006-05-22  Matthias Clasen  <mclasen@redhat.com>

848 849 850
	* gdk/gdkcolor.h: gdk_color_parse returns boolean, not int.
	(#342569, Masatake Yamato)

Matthias Clasen's avatar
Matthias Clasen committed
851 852 853
	* gtk/gtkprintunixdialog.c (dialog_set_scale): Don't return
	a value from a void function.

854 855 856 857 858 859 860 861 862 863 864 865
	* gtk/gtkprinter.c (_gtk_printer_prepare_for_print) 
	(_gtk_printer_get_settings_from_options) 
	(_gtk_printer_request_details): Don't return values from void
	functions.

	* gtk/gtkrecentchooserutils.c (delegate_unselect_uri): Don't
	return a value from a void function.

	* gtk/gtkfilesystem.c (gtk_file_system_cancel_operation): Don't
	return a value from a void function.  Also, don't put 
	semicolons behind G_DEFINE_TYPE. (#342543)

866 867 868
	* gtk/gtkwidget.c (gtk_widget_class_init): Add docs
	for new style properties.  (#342535, Mart Raudsepp)

869 870 871 872 873 874 875
	* gdk/x11/gdkscreen-x11.c: Remove _gdk_x11_screen_request_cm_notification

	* gdk/x11/gdkdisplay-x11.c (gdk_display_open): Directly call 
	gdk_display_request_selection_notification. 

	* gdk/x11/gdkdisplay-x11.c: Several cleanups.
	
876 877 878 879 880 881 882 883 884 885 886 887
2006-05-21  Behdad Esfahbod  <behdad@gnome.org>

	* gdk/gdkinternals.h:
	* gdk/gdkscreen.c (gdk_screen_class_init), (gdk_screen_finalize),
	(update_fontmap_resolution), (gdk_screen_set_resolution):  Add new
	function _gdk_screen_get_font_map() and have one fontmap per screen,
	with the correct resolution set on it.

	* gdk/gdkpango.c (gdk_pango_context_get_for_screen): Use
	_gdk_screen_get_font_map() instead of setting resolution on the
	PangoCairoContext.  (#342529)

888 889 890 891 892 893
2006-05-22  Tor Lillqvist  <tml@novell.com>

	* gtk/gtkfilesystemwin32.c: Make it compile again. Doesn't work
	properly yet, though. There is lots of commonality between this
	file and gtkfilesystemunix.c that should really be factored out.

894 895
2006-05-19  Matthias Clasen  <mclasen@redhat.com>

896 897 898
	* gtk/gtkpaned.c (gtk_paned_compute_position): Avoid warnings
	if a child is NULL.  (#342007, Patrick Monnerat)
	
899 900 901 902 903 904 905 906 907 908 909
	* gtk/gtk.symbols: 
	* gtk/gtkprintoperation.h: 
	* gtk/gtkprintoperation.c (gtk_print_operation_cancel): New function
	to cancel a running print operation.

	* gtk/gtkprintoperation-private.h (struct _GtkPrintOperationPrivate): 
	Add a cancelled flag, use g types, use bitfields.

	* gtk/gtkprintoperation.c (print_pages): Clean up after the idle
	in the synchronous case.

910 911 912 913
	* gtk/gtknotebook.c (gtk_notebook_pages_allocate): Fix a 
	boundary case in scrolling where a tab was not shown.  (#168105,
	Hiroyuki Ikezoe, patch by Kouhei Sutou)

914 915 916 917 918 919
2006-05-19  Damon Chaplin  <damon@gnome.org>

	* gtk/gtkfontsel.c (gtk_font_selection_init): use
	atk_relation_add_target() to add the targets, since it sets up weak
	references to avoid crashes. (#305530)

920 921
2006-05-18  Matthias Clasen  <mclasen@redhat.com>

922 923 924 925 926 927 928
	* gtk/gtkprintoperation.h: 
	* gtk/gtkprintoperation.c: Add a GtkPrintOperation:: paginate signal 
	that gets emitted to paginate a document in chunks.

	* gtk/gtkprintoperation-private.h: 
	* gtk/gtkmarshalers.list: Add necessary glue.

929 930 931
	* gtk/gtkcalendar.c (gtk_calendar_drag_motion): Don't produce
	a stuck drag if shift is held.  (#341734, Sebastien Bacher) 

932 933 934
	* gdk/x11/gdkdnd-x11.c (_gdk_drag_get_protocol_for_display): 
	Always set protocol.  (#342003, Tommi Komulainen)

935 936 937 938
	* gtk/gtkimage.c (icon_theme_changed): Only unref the pixbuf
	if the image has the appropriate storage type.  (#342096, Tommi
	Komulainen)

939 940
	* configure.in: Actually require GLib 2.11
	
941 942 943
	* gtk/gtkentry.c (gtk_entry_drag_data_received): Make drops
	end up at the right spot.  (#342072,  Yevgen Muntyan)

944 945 946 947 948 949 950
2006-05-18  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkrange.c: canonicalize the name of the "activate-slider"
	style property and use GTK_PARAM_READABLE instead of
	G_PARAM_READABLE. Moved one "activate_slider" variable to the
	local scope its used in.

Michael David Emmel's avatar
Michael David Emmel committed
951 952 953 954 955 956
2006-06-18  Michael Emmel  <mike.emmel@gmail.com>

	* gdk/directfb/gdkscreen-directfb.c: 
	* added gdk_screen_is_composited to compile
	* Bug 342091

957 958 959 960 961
2006-05-17  Alexander Larsson  <alexl@redhat.com>

	* gtk/gtkprintoperation-win32.c:
	Update to changed APIs.

Matthias Clasen's avatar
Matthias Clasen committed
962 963
2006-05-16  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
Matthias Clasen committed
964 965
	* configure.in: Bump version

Matthias Clasen's avatar
Matthias Clasen committed
966 967
	* === Released 2.9.1 ====

Matthias Clasen's avatar
Matthias Clasen committed
968 969 970 971
	* configure.in: Reset interface age
	
	* NEWS: Updates

972 973 974 975 976 977 978 979
Tue May 16 12:36:25 2006  Søren Sandmann  <sandmann@redhat.com>

	* gtk/gtktoolbar.c (gtk_toolbar_size_allocate): Move getting the
	property out of the loop, and rename the variable 'max_expand'.

	* gtk/gtktoolbar.c (gtk_toolbar_class_init): Fix the decription
	for the max-child-expand property. 

980 981
2006-05-16  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
Matthias Clasen committed
982 983
	* gtk/gtkprinter.c (gtk_printer_class_init): 
	* gtk/gtkprintjob.c (gtk_print_job_class_init): 
Matthias Clasen's avatar
Matthias Clasen committed
984 985 986
	* gtk/gtkprintoperation.c (gtk_print_operation_class_init): 
	Cosmetic cleanups.

987 988 989 990 991 992 993 994 995 996
	* gtk/gtkpagesetupunixdialog.c (populate_dialog): Add labels
	for page orientations, also add the fourth one.  (#339589)

	* gtk/stock-icons/24/gtk-orientation-reverse-portrait.png: New
	icon.
	
	* gtk/Makefile.am: Add it here.
	
	* gtk/gtkstock.[hc]: Add stock items for the page orientations.

997 998 999 1000 1001
2006-05-16  Michael Natterer  <mitch@imendio.com>

	* gtk/gtktoolbar.c: added "max-child-expand" style property which
	limits the space taken by expanding tool items. Fixes bug #340722.

1002 1003 1004 1005 1006
2006-05-16  Kristian Rietveld  <kris@imendio.com>

	* gtk/gtkpathbar.c (gtk_path_bar_dispose): cancel all pending handles
	in the button list. (Fixes #341035, reported by William Jon McCann).

1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017
2006-05-16  Kristian Rietveld  <kris@imendio.com>

	* gtk/gtkfilechooserdefault.c
	(show_and_select_paths_finished_loading): put the newly selected
	row(s) the in the middle of the view,
	(update_current_folder_get_info_cb),
	(gtk_file_chooser_default_update_current_folder): make sure reload
	state is set to RELOAD_HAS_FOLDER while loading the new folder,
	so _map() won't start loading the current working directory. (Fixes
	#341028, reported by Michael Natterer).

1018 1019 1020 1021 1022 1023
2006-05-15  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktreeview.c (gtk_tree_view_button_press): Fix
	an RTL problem with toggles in expander columns. 
	(#341896, Roozbeh Pournader) 

1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036
Mon May 15 15:12:05 2006  Søren Sandmann  <sandmann@redhat.com>

	* gtk/gtklayout.c (gtk_layout_realize),
	* gtk/gtkiconview.c (gtk_icon_view_realize),
	* gtk/gtktreeview.c (gtk_tree_view_realize): Set the background of
	the clip windows to NULL, since they are generally invisible and
	don't have EXPOSURE set, which means they temp-unvlicker code
	doesn't apply to them.

	* gdk/x11/gdkgeometry-x11.c (_gdk_window_move_resize_child): Unset
	the background of the parent window during resizing. Invalidate
	the uncoered area of the parent window. Bug 341332.

1037 1038 1039 1040 1041 1042 1043
2006-05-15  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkevents-quartz.c (_gdk_events_init): Remove obsolete 
	comment.
	(poll_func): Remove assert and add a comment on how to fix properly.
	(gdk_events_pending): Implement.

1044 1045 1046 1047 1048
2006-05-15  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkprintoperation.c: Reverse the order of
	ranges when printing in reverse.  (#341578)

1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072
2006-05-15  Alexander Larsson  <alexl@redhat.com>
	
	* gtk/gtkprintjob.[ch]:
	Added gtk_print_job_set/get_track_print_status

	* gtk/gtkprintoperation-private.h:
	* gtk/gtkprintoperation.[ch]:
	Add gtk_print_operation_set_track_print_status.
	
	* gtk/gtkprintoperation-unix.c:
	Implement track_print_status on unix
	
	* gtk/gtkprintoperation-win32.c:
	Implement track_print_status on win32
	
	* gtk/gtk.symbols:
	Added symbols
	
	* modules/printbackends/cups/gtkprintbackendcups.c:
	Implement track_print_status for cups
	
	* tests/print-editor.c:
	Test track_print_status.

Matthias Clasen's avatar
Matthias Clasen committed
1073 1074 1075 1076 1077
2006-05-15  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkprintoperation.c: Do page rendering in an idle when
	running asynchronous. 

1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090
2006-05-15  Alexander Larsson  <alexl@redhat.com>

	* gtk/gtk.symbols: 
	* gtk/gtkprintbackend.[ch]: (_gtk_print_backend_create):
	Never unload print backends.
	Remove gtk_print_backend_unref_at_idle.

	* modules/printbackends/cups/gtkprintbackendcups.c:
	(cups_dispatch_watch_finalize):
	Don't use the unref_at_idle hack since that caused
	deadlocks. Instead we never unload print backends, which
	is not really a big problem.

1091 1092 1093 1094 1095
2006-05-14  Murray Cumming  <murrayc@murray.com>

	* gtk/gtkframe.c: Restored the / at the start of the comment 
	block, to fix the build.

1096 1097
2006-05-13  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
Matthias Clasen committed
1098
	* gtk/*.c:
Matthias Clasen's avatar
Matthias Clasen committed
1099
	* gdk-pixbuf/*.c:
Matthias Clasen's avatar
Matthias Clasen committed
1100 1101 1102
	* gdk/*.c: Remove erroneous ; after G_DEFINE_TYPE 
	macros.  (#341692, Yevgen Muntyan)

1103 1104 1105
	* gtk/gtktextbtree.c: 
	* gtk/gtktextview.c: Move some asserts to the right 
	place.  (#341661, #341665, Pascal Terjan)
1106

1107 1108
2006-05-12  Matthias Clasen  <mclasen@redhat.com>

1109 1110 1111
	* gtk/gtknotebook.c: Fix some corner cases in the size
	allocation logic for tabs.  (#341577, Carlos Garnacho Parro)

1112 1113 1114
	* gtk/gtkprintunixdialog.c: Some fixes to capitalization of
	labels.  (#341558, Dennis Cranston)

1115 1116 1117
	* gtk/gtknotebook.c: Handle tab_label being NULL better.
	(#341455, William Jon McCann, patch by Carlos Garnacho Parro)

1118 1119 1120
	* gtk/gtkruler.c: Reinstate the ruler metrics strings, since
	they are used by glade, pointed out by Damon Chaplin.

1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135
2006-05-12  Alexander Larsson  <alexl@redhat.com>

	* gtk/gtkwindow.c:
	Better handling of the window group on unsetting transient-for, since
	the transient parent might have changed group.
	
	* gtk/gtkmenu.c:
	Combine the handling of transient for the attach-widget and the
	window group handling by setting transient-to on popup/popdown only.

	See bug #340401
	
	* gtk/gtkprintunixdialog.c:
	Remove part of old fix no longer needed.

1136 1137 1138 1139 1140
2006-05-12  Alexander Larsson  <alexl@redhat.com>

	* gtk/gtkprintoperation.c (gtk_print_operation_set_n_pages):
	Update g_object_notify to new property name.

Alexander Larsson's avatar
Alexander Larsson committed
1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174
2006-05-12  Alexander Larsson  <alexl@redhat.com>

	* gtk/gtkrecentmanager.c:
	Fix build errors.
	
	* gtk/gtk.symbols:
	* demos/gtk-demo/printing.c:
	* gtk/gtkprintoperation-win32.c:
	* gtk/gtkprintoperation.[ch]:
	* gtk/gtkprintsettings.[ch]: 
	* modules/printbackends/cups/gtkprintbackendcups.c:
	* modules/printbackends/lpr/gtkprintbackendlpr.c:
	* modules/printbackends/pdf/gtkprintbackendpdf.c:
	* tests/print-editor.c:
	* tests/testnouiprint.c:
	* tests/testprint.c:
	* tests/testprintfileoperation.c:
	Rename functions from nr_of_pages to n_pages, and num_copies to
	n_copies to match other gtk+ names.
	
	* gtk/gtkmenu.c: (gtk_menu_popdown):
	Only re-set window group on popdown if we set it on popup (i.e.
	if there is a parent menu shell).
	Fixed part of bug #340401

	* gtk/gtkwindow.c:
	Add (contruct) property "transient-for" to GtkWindow. This
	is needed for the fix to bug #340401.
	
	* gtk/gtkprintunixdialog.c:
	Use the transient-for property on construction and populate the dialog
	with widgets after that. This fixes bug #340401.
	More n_pages renames.

1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185
2006-05-11  Emmanuele Bassi  <ebassi@cvs.gnome.org>

	* gtk/gtkrecentmanager.h: Remove the error parameter to the
	gtk_recent_manager_add() and gtk_recent_manager_add_full()
	functions; remove the unneeded error codes from the error
	enumeration.  (#336774).

	* gtk/gtkrecentmanager.c: Make gtk_recent_manager_add() and
	gtk_recent_manager_add_full() complain loudly about wrong or
	missing meta-data, instead of using a GError.  (#336774)

Matthias Clasen's avatar
Matthias Clasen committed
1186 1187 1188 1189 1190 1191
2006-05-11  Matthias Clasen  <mclasen@redhat.com>

	* demos/gtk-demo/Makefile.am (demos): Add it here.

	* demos/gtk-demo/printing.c (do_printing): Add a GtkPrintOperation demo.

1192 1193 1194 1195 1196
2006-05-11  Carlos Garcia Campos  <carlosgc@gnome.org>

	* gtk/gtkfilechooserembed.c: use I_() instead of _() when creating
	response-requested signal. Fixes bug #341416

1197 1198
2006-05-11  Matthias Clasen  <mclasen@redhat.com>

1199 1200 1201 1202 1203 1204 1205 1206
	* gdk/gdkkeysyms.h: Regenerated from Xorg 7.1 keysyms.h, using
	gdkkeysyms-update.pl.

	* gdk/gdkkeysyms-update.pl: Script to sync gdkkeysyms.h
	with Xorg.  (#321896, Simos Xenitellis)

	* gdk/Makefile.am (EXTRA_DIST): Add gdkkeysyms-update.pl

1207 1208
	* gdk/gdkkeysyms.h: Consistently use lowercase in hex numbers.

1209 1210 1211 1212 1213
2006-05-10  Carlos Garnacho  <carlosg@gnome.org>

	* gtk/gtknotebook.c: check that tab_label is not NULL before checking
	that it's notebook's child. Closes #341247.

1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230
Wed May 10 15:57:53 2006  Tim Janik  <timj@imendio.com>

	* applied unified patch for configurable scroll arrow sizes from
	bug #333632 and bug #325282.

	* gtk/gtkwidget.c (gtk_widget_class_init): added ::scroll-arrow-hlength
	and ::scroll-arrow-vlength style properties. fixed upper limit for
	::separator-width and ::separator-height to be MAXINT.

	* gtk/gtkmenu.c: use GtkWidget::scroll-arrow-vlength to determine the
	scroll arrow size, instead of using a hard coded constant.

	* gtk/gtknotebook.c: use GtkWidget::scroll-arrow-vlength and
	GtkWidget::scroll-arrow-hlength to determine scroll arrow sizes.
	added GtkNotebook::arrow-spacing style property to configure the
	spacing between scroll arrows.

1231 1232 1233 1234 1235
2006-05-10  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkpagesetupunixdialog.c: Don't include langinfo.h
	unconditionally.  (#341217)

1236 1237 1238 1239 1240 1241
2006-05-10  John (J5) Palmieri  <johnp@redhat.com>

	* modules/printbackends/cups/gtkprintbackendcups.c:
	make the _CUPS_MAP_ATTR_STR macro not dup the string so we don't
	leak 

1242 1243 1244 1245
2006-05-10  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

	* gtk/paper_names.c: Correct #11 Envelope typo.

1246 1247 1248 1249 1250
2006-05-09  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkevents-win32.c (doesnt_want_scroll): Look at both
	GDK_SCROLL_MASK and GDK_BUTTON_PRESS_MASK. (#139628)

Matthias Clasen's avatar
Matthias Clasen committed
1251 1252
2006-05-09  Matthias Clasen  <mclasen@redhat.com>

1253 1254 1255
	* gtk/gtktextbuffer.c (gtk_text_buffer_class_init): Add a :cursor-position
	property.  (#334412, Yevgen Muntyan)

Matthias Clasen's avatar
Matthias Clasen committed
1256 1257 1258
	* gtk/gtk.symbols:
	* gtk/gtkmessagedialog.[hc]: Add an image property.  (#337306, Alex Graveley)

1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269
2006-05-09  Carlos Garnacho  <carlosg@gnome.org>

	* gtk/gtknotebook.c: create an independent GdkWindow to behave nicely
	during reordering with tab_labels with their own window, also use
	gtk_drag_set_icon_widget() for the DnD icon to avoid drawing garbage
	from offscreen regions. Closes bug #335707.
	(gtk_notebook_tab_space), (gtk_notebook_calculate_shown_tabs),
	(gtk_notebook_calculate_tabs_allocation): new functions, 
	gtk_notebook_pages_allocate() functionality has been splitted into
	these.

Matthias Clasen's avatar
Matthias Clasen committed
1270 1271
2006-05-08  Matthias Clasen  <mclasen@redhat.com>

1272 1273 1274 1275
	* gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_add_shortcut_folder): 
	* gtk/gtktextbufferserialize.c (parse_attr_element): Fix some typos in
	messages.  (#341091, Tino Meinen)

Matthias Clasen's avatar
Matthias Clasen committed
1276 1277 1278 1279 1280 1281
	* gtk/gtkstatusicon.c: Some cleanups.
	
	* gtk/gtkstatusicon.c (gtk_status_icon_get_property): Silently return
	NULL if the storage type of the image does not match.  (#340516, Christian
	Persch)

1282 1283 1284
	* gtk/gtktoolbar.c (_gtk_toolbar_elide_underscores): Elide (_x) in the middle
	of the string, too.  (#323956, Abel Cheung)

Matthias Clasen's avatar
Matthias Clasen committed
1285
	* gtk/gtkuimanager.c (update_node): Fix tooltips. (#340527, Jon-Kare Hellan)
Matthias Clasen's avatar
Matthias Clasen committed
1286

Matthias Clasen's avatar
Matthias Clasen committed
1287 1288
	* configure.in: Require Pango 1.13.0

Matthias Clasen's avatar
Matthias Clasen committed
1289 1290 1291 1292
	* gtk/gtknotebook.c: 
	* gtk/gtkwindow.c: 
	* gtk/gtkrange.c: Fix doc typos.

1293 1294
2006-05-08  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

1295 1296 1297
	* gtk/gtkprintunixdialog.c (gtk_print_unix_dialog_class_init):
	Corrected a duplicate word.

1298 1299 1300
	* gtk/gtkrecentmanager.c (gtk_recent_manager_add_full): Corrected
	a typo.

1301 1302 1303 1304 1305
2006-05-07  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkrange.c (gtk_range_key_press):  Chain up, to
	make bindings work.  Noticed by Al Puzzuoli.
	
1306 1307
2006-05-07  Matthias Clasen  <mclasen@redhat.com>

1308 1309 1310 1311 1312 1313 1314
	* gtk/gtkseparator.c: 
	* gtk/gtkscrollbar.c: 
	* gtk/gtkpaned.c: 
	* gtk/gtkoldeditable.c: 
	* gtk/gtkmisc.c: 
	* gtk/gtkitem.c: 
	* gtk/gtkimcontext.c: 
Matthias Clasen's avatar
Matthias Clasen committed
1315
	* gtk/gtkrange.c:
1316
	* gtk/gtkscale.c: Make types abstract again.
1317

Matthias Clasen's avatar
Matthias Clasen committed
1318 1319 1320 1321 1322
2006-05-06  Matthias Clasen   <mclasen@redhat.com>
	
	* gdk/gdkwindow.c (gdk_window_get_toplevels): Fix a wrong
	reference in the docs.  (#340870, Ed Catmur)

1323 1324 1325 1326 1327 1328 1329 1330
2006-05-05  Christian Persch  <chpe@cvs.gnome.org>

	* modules/printbackends/cups/gtkprintbackendcups.c:
	* modules/printbackends/lpr/gtkprintbackendlpr.c:
	* modules/printbackends/pdf/gtkprintbackendpdf.c: Always register
	  the type with the type module, even if it had been registered
	  before. Fixes bug #340676.

1331 1332 1333 1334 1335 1336 1337 1338 1339
2006-05-05  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkprintunixdialog.c: Use theme colors for 
	the page layout indicator, and do RTL flipping for
	the collate indicator.

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

	* configure.in: Require GLib 1.11.0
Matthias Clasen's avatar
Matthias Clasen committed
1340

Matthias Clasen's avatar
Matthias Clasen committed
1341 1342
	* configure.in: Bump version

Matthias Clasen's avatar
Matthias Clasen committed
1343 1344 1345 1346 1347 1348
	* === Released 2.9.0 ===

	* configure.in: Require cairo 1.1.6

	* gtk/Makefile.am: Tweaks to make distcheck work.

1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364
2006-05-05  Alexander Larsson  <alexl@redhat.com>

	* gtk/gtkprintoperation-unix.c:
	Implement per-page paper sizes.
	
	* gtk/gtkprintoperation.c:
	Implement per-page paper sizes for pdf output.
	Make gtk_print_operation_set_pdf_target() work again
	
	* tests/Makefile.am:
	* tests/testprint.c:
	* tests/testprintfileoperation.[ch]:
	Add more test code for printing support.
	This tests per-page paper sizes & orientation and
	deriving from GtkPrintOperation.

Michael David Emmel's avatar
Michael David Emmel committed
1365 1366 1367 1368 1369
2006-05-04  Michael Emmel  <mike.emmel@gmail.com>

	* gdk/directfb/gdkkeys-directfb.c: DIKI_ALTGR to compile with
	directfb 0.9.25.1

1370 1371 1372 1373 1374
2006-05-04  Michael Natterer  <mitch@imendio.com>

	* gtk/gtk.symbols: remove gtk_printer_set_backend so it compiles
	again.

Alexander Larsson's avatar
Alexander Larsson committed
1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429
2006-05-04  Alexander Larsson  <alexl@redhat.com>

	* gtk/gtk.symbols:
	Added new symbols
	
	* gtk/gtkpagesetupunixdialog.c:
	* gtk/gtkprintunixdialog.c:
	Destroy backends when finalizing dialogs.
	Fix printer leak in selected_printer_changed.
	
	* gtk/gtkprintbackend.[ch]:
	Convert from interface to baseclass.
	Move printer hashtable here so that the baseclass can handle
	the slightly complicated ownership model.
	Add gtk_print_backend_destroy which runs the dispose method,
	causing the ref-cycles between the backend and its printers
	to be broken.
	Add gtk_print_backend_unref_at_idle().
	
	* gtk/gtkprinter.[ch]:
	GtkPrinter objects now ref their backend so that its always
	availible, since its needed for the printer object to work.
	This causes a reference-cycle that is broken using
	gtk_print_backend_destroy.
	Add gtk_printer_compare.
	
	* gtk/gtkprintoperation-private.h:
	* gtk/gtkprintoperation-unix.c:
	* gtk/gtkprintoperation.c:
	Implement !show_dialog for unix.
	Make sure the print data is fully spooled before returning
	from a sync run_dialog.
	
	
	* modules/printbackends/cups/gtkcupsutils.[ch]:
	Add gtk_cups_request_ipp_add_strings
	
	* modules/printbackends/cups/gtkprintbackendcups.c:
	* modules/printbackends/cups/gtkprintercups.c:
	* modules/printbackends/lpr/gtkprintbackendlpr.c:
	* modules/printbackends/pdf/gtkprintbackendpdf.c:
	Convert backends to derive instead of implementing interface.
	Move common code into baseclass.
	CUPS:
	  Remove the printer polling in dispose, not finalize.
	  In the cups watch, remove the backend at idle instead of
	  immediately, since the unref can cause the module to be unloaded.
	  Limit the number of printer attributes requested
	  Get printer uri in initial printer listing so that we can use
	  the printer object immediately.
	
	* tests/Makefile.am:
	* tests/testnouiprint.c:
	Add testcase for !show_dialog.

1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447
2006-05-04  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtk.symbols:
	* gtk/gtkfilesystem.c:
	* gtk/gtkfilesystemunix.c:
	* gtk/gtkprintbackend.h:
	* gtk/gtkrecentchooserdefault.c:
	* gtk/gtkrecentchooserdefault.h:
	* gtk/paper_names_offsets.c: Make symbol list mstch reality.
	
	* gtk/Makefile.am: Fix a typo.
	
	* gdk/x11/Makefile.am (EXTRA_DIST): Add gdksettings.c

2006-05-03  Matthias Clasen  <mclasen@redhat.com>

	* NEWS: Updates

1448 1449 1450 1451 1452
2006-05-04  Murray Cumming <murrayc@murrayc.com>

	* gtk/gtktreemodel.c: (gtk_tree_model_base_init): Changed the 
	language of the signals documentation slightly. Bug #340205.

1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589
2006-05-03  Federico Mena Quintero  <federico@novell.com>

	Merged the federico-filename-entry branch, to fix bug #136541.
	Combined ChangeLogs:

	2006-04-17  Federico Mena Quintero  <federico@novell.com>

	* gtk/gtkfilechooserdefault.c (pending_select_paths_process):
	Oops, we *do* need to check that we are in OPEN mode before
	selecting the first row in the file list.  See
	https://bugzilla.novell.com/show_bug.cgi?id=166906
	(gtk_file_chooser_default_get_paths): If we are in the case for
	the file list, and the list has no selected rows, jump to the case
	for the filename entry.  This is so that

	       1. The user types a filename in the SAVE filename entry
	          ("foo.txt").

	       2. He then double-clicks on a folder ("bar") in the file
		  list.

	will yield the expected "bar/foo.txt" selection.

	2006-03-29  Federico Mena Quintero  <federico@novell.com>

	* gtk/gtkpathbar.c (gtk_path_bar_init): Reduce the inter-button
	spacing to 0.

	* gtk/gtkfilechooserdefault.c (browse_widgets_create): Make the
	location label bold.

	2006-03-29  Federico Mena Quintero  <federico@novell.com>

	* gtk/gtkfilechooserdefault.c (location_mode_set): Just change the
	location_mode field if we are in SAVE/CREATE_FOLDER modes.
	(gtk_file_chooser_default_get_paths): Get the path based on the
	currently focused widget, or the last-focused widget.  This is
	what we should have been doing in the beginning, but it worked out
	fine because we didn't have the possibility of a filename entry in
	OPEN mode.
	(gtk_file_chooser_default_should_respond): Handle the case where
	the last focused widget is the location_entry.

	2006-03-28  Federico Mena Quintero  <federico@novell.com>

	* gtk/gtkfilechoosersettings.[ch]: New files with a simple
	framework for saving/loading settings from the file chooser in
	$XDG_CONFIG_HOME/gtk-2.0/gtkfilechooser.

	* gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_unmap):
	Save the current settings.
	(settings_save): New helper function.  We save the location_mode
	and show_hidden flags.
	(gtk_file_chooser_default_map): Load the settings.
	(settings_load): New helper function.

	* gtk/gtkfilechooserentry.c
	(_gtk_file_chooser_entry_set_file_part): Oops, don't modify
	in_change.  Our handlers are what set the file_part, so they
	*must* be run when we modify the text.

	2006-03-27  Federico Mena Quintero  <federico@novell.com>

	* gtk/gtkfilechooserprivate.h (struct _GtkFileChooserDefault):
	Removed the save_file_name_entry.  We'll make this be the same as
	the location_entry widget.
	(struct _GtkFileChooserDefault): Leave only location_button,
	location_entry_box, location_label, location_entry.  We'll use a
	single toggle button for the location entry, which will appear
	below the path bar.
	(struct _GtkFileChooserDefault): Added a
	processing_pending_selections flag.

	* gtk/gtkfilechooserdefault.c (save_widgets_create): Destroy the
	old location_entry if necessary, and hide the location toggle
	widgets.
	(update_chooser_entry): In multiple selection mode, just clear the
	location_entry.
	(check_save_entry): Allow running in OPEN or SELECT_FOLDER modes
	if we are in LOCATION_MODE_FILENAME_ENTRY.
	(gtk_file_chooser_default_should_respond): Switch to a folder if
	the location_entry contains a folder name in OPEN and SAVE mode,
	not just SAVE mode.  If the entry doesn't contain a folder name,
	but is otherwise well-formed, and we are in OPEN mode, return that
	we should respond with that filename.
	(gtk_file_chooser_default_initial_focus): Focus the location_entry
	if appropriate.
	(browse_widgets_create): Create the location_entry_box and the
	location_label here.
	(update_appearance): Call location_mode_set() when switching back
	to OPEN/SELECT_FOLDER mode.  Hide the location_button when
	switching to SAVE/CREATE_FOLDER mode.
	(pending_select_paths_process): Turn the
	processing_pending_selections flag on and off around changes to
	the current selection.  Don't special-case OPEN mode anymore,
	since the new flag will take care of things in
	update_chooser_entry().
	(update_chooser_entry): Don't do anything if
	processing_pending_selections is TRUE.  This keeps the entry from
	being polluted when changing folders.
	(location_popup_handler): In OPEN/SELECT_FOLDER modes, toggle
	between the path bar and the entry.  In SAVE/CREATE_FOLDER modes, simply focus the
	location_entry.
	(update_from_entry): Removed.
	(location_entry_create): Removed.
	(open_location_cb): Removed.
	(file_list_build_popup_menu): Don't add an "Open _Location" menu item.
	(location_entry_set_initial_text): Don't do anything if
	current_folder is NULL.

	* gtk/gtkfilechooserentry.c
	(_gtk_file_chooser_entry_set_file_part): Turn in_change on and off
	around the call to gtk_entry_set_text().  This makes completion
	not happen when the caller has explicitly set a name.

	2006-03-24  Federico Mena Quintero  <federico@novell.com>

	* gtk/gtkfilechooserprivate.h (struct _GtkFileChooserDefault):
	Added fields location_mode_box, location_pathbar_radio,
	location_filename_radio, location_widget_box, location_label,
	location_entry.  The radio buttons will switch between the pathbar
	and the location entry; the other boxes are for layout purposes.
	(enum LocationMode): New enum.
	(struct _GtkFileChooserDefault): Added a location_mode field.

	* gtk/gtkfilechooserdefault.c (browse_widgets_create): Create the
	location radio buttons to switch between the pathbar and the
	location entry.  Pack the browse_path_bar in the new
	location_widget_box instead of a generic hbox.
	(location_buttons_create): New function.
	(gtk_file_chooser_default_init): Initialize impl->location_mode.
	(location_switch_to_path_bar): New function.
	(location_switch_to_filename_entry): New function.

	* gtk/gtkfilechooserbutton.c (model_add_special): The display_name
	should not be const.

1590 1591
2006-05-03  Matthias Clasen  <mclasen@redhat.com>

1592 1593 1594
	* gtk/gtkprintunixdialog.c: Replace the xpm collate icons
	by cairo drawing that respects themes.

1595 1596 1597
	* gdk/quartz/Makefile.am (libgdk_quartz_la_SOURCES): Add
	missing files.  (#340533, Ludovic Rousseau)

1598 1599 1600
	* gtk/gtkprintunixdialog.c (draw_page_cb): Don't leak the
	cairo context here.  (#340522, Christian Persch)

1601 1602 1603 1604
	* gtk/gtkprintoperation-unix.c (unix_finish_send): Don't
	use gtk_dialog_run for the error dialog, and improve the
	dialog in other ways.  (#340510, Christian Persch)

1605 1606 1607
	* gtk/gtkpagesetupunixdialog.c: Beautify the custom
	paper size dialog.  (#339590, patch by Christian Persch)
	
1608 1609 1610 1611 1612 1613
	* gtk/gtkaccessible.c:
	* gtk/gtkclipboard.c:
	* gtk/gtkfilefilter.c:
	* gtk/gtkimmodule.c:
	* gtk/gtkmenubar.c: More G_DEFINE_TYPE conversion.

1614 1615
	* gtk/gtkwidget.c: Make GtkWidget abstract again.

Matthias Clasen's avatar
Matthias Clasen committed
1616 1617 1618 1619 1620 1621 1622 1623
2006-05-02  Matthias Clasen  <mclasen@redhat.com>

	* gtk/*.c: Use G_DEFINE_TYPE and g_type_register_static_simple()
	where applicable, for ~5000 lines of code reduction. This also
	reduces the size of the data section by ~9k. The overall library
	sizes shrinks a bit less, since the text section gets a bit
	larger.

1624 1625 1626 1627 1628 1629
2006-05-02  Kristian Rietveld  <kris@imendio.com>

	* gtk/gtktreeview.c (gtk_tree_view_row_inserted): set tmpnode to
	the return value of the _gtk_rbtree_insert* functions, since that
	is the node we really want to check for visibilty.

Matthias Clasen's avatar
Matthias Clasen committed
1630 1631 1632 1633 1634
2006-05-02  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkprinter.[hc]: Don't use virtual as a parameter name.
	(#340394, Christian Persch)

1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646
2006-05-02  Christian Persch  <chpe@cvs.gnome.org>

	* gtk/gtkpagesetupunixdialog.c:
	* gtk/gtkprintcontext.c: 
	* gtk/gtkprinter.c:
	* gtk/gtkprinteroptionwidget.c:
	* gtk/gtkprintjob.c:
	* gtk/gtkprintoperation-unix.c:
	* gtk/gtkprintoperation.c:
	* gtk/gtkprintunixdialog.c: Use a priv variable when accessing priv
	  multiple times in the same function. Bug #340288.

1647 1648 1649 1650 1651 1652 1653
2006-05-02  Michael Natterer  <mitch@imendio.com>

	* gtk/gtklabel.c (gtk_label_set_line_wrap): added note about the
	inablity to do height-for-width text layout and suggest to use
	gtk_widget_set_size_request() for getting a label that wraps at
	some specific position.

1654 1655 1656 1657 1658 1659 1660
2006-05-02  Kristian Rietveld  <kris@imendio.com>

	* ChangeLog.gtk-async-file-chooser: added ChangeLog entries from
	the kris-async-branch.

	* Makefile.am: updated EXTRA_DIST

1661 1662 1663 1664 1665 1666
2006-05-02  Alexander Larsson  <alexl@redhat.com>

	* ChangeLog.gtk-printing: 
	* Makefile.am (EXTRA_DIST):
	Add ChangeLog.gtk-printing

Matthias Clasen's avatar
Matthias Clasen committed
1667 1668 1669 1670
2006-05-01  Matthias Clasen  <mclasen@localhost.localdomain>

	* NEWS: Updates

1671 1672
2006-05-02  Kristian Rietveld  <kris@imendio.com>

Matthias Clasen's avatar
Matthias Clasen committed
1673

1674 1675
	* configure.in: Up ABI version to 2.10.0 (by Matthias' request).

1676 1677 1678 1679 1680 1681 1682
2006-05-01  Kristian Rietveld  <kris@imendio.com>

	Merge of the GTK+ asynchronous file chooser branch.  Please see
	the kris-asynch-branch for more detailed ChangeLog entries.

	* configure.in: increase binary version to 2.9.0.

1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699
	* gtk/gtk.symbols:
	* gtk/gtkfilechooser.c:
	* gtk/gtkfilechooserbutton.c:
	* gtk/gtkfilechooserdefault.c:
	* gtk/gtkfilechooserdialog.c:
	* gtk/gtkfilechooserembed.c:
	* gtk/gtkfilechooserembed.h:
	* gtk/gtkfilechooserentry.c:
	* gtk/gtkfilechooserentry.h:
	* gtk/gtkfilechooserprivate.h:
	* gtk/gtkfilesystem.c:
	* gtk/gtkfilesystem.h:
	* gtk/gtkfilesystemmodel.c:
	* gtk/gtkfilesystemmodel.h:
	* gtk/gtkfilesystemunix.c:
	* gtk/gtkpathbar.c:
	* gtk/gtkpathbar.h:
1700 1701
	Merge from kris-async-branch.

Matthias Clasen's avatar
Matthias Clasen committed
1702
2006-05-01  Matthias Clasen  <mclasen@redhat.com>
Matthias Clasen's avatar
Matthias Clasen committed
1703 1704 1705

	* NEWS: Updates

Matthias Clasen's avatar
Matthias Clasen committed
1706
2006-04-30  Matthias Clasen  <mclasen@redhat.com>
1707 1708 1709 1710

	* gtk/gtktreemodel.c (gtk_tree_model_base_init): Document
	GtkTreeModel signals.

1711 1712 1713 1714 1715
2006-04-19  Michael Emmel  <mike.emmel@gmail.com>

	* gdk/directfb/gdkdrawable-directfb.c: removed all subtracting one on
	clipping

1716 1717 1718 1719 1720 1721 1722 1723 1724
2006-04-30  Kristian Rietveld  <kris@imendio.com>

	Fix for #340200, spotted by Torsten Schoenfeld.

	* gtk/gtktreeview.c (gtk_tree_view_get_cell_area): fix up logic
	calculating the level indentation,
	(gtk_tree_view_start_editing): remove code calculating the
	level indentation, since _get_cell_area() takes care of this for us.

Matthias Clasen's avatar
Matthias Clasen committed
1725
2006-04-30  Matthias Clasen  <mclasen@redhat.com>
1726

1727 1728 1729 1730 1731 1732 1733 1734
	Fix problems with setting symbolic colors from rc files.
	(#338345, Benjamin Berg)
	
	* gtk/gtkrc.c (gtk_rc_settings_changed, gtk_rc_font_name_changed) 
	(gtk_rc_color_hash_changed, gtk_rc_reparse_all_for_settings): Don't
	freeze notification for settings changes while parsing; instead
	manually avoid recursion, and update the color hashes.

Matthias Clasen's avatar
Matthias Clasen committed
1735
2006-04-30  Matthias Clasen  <mclasen@redhat.com>
1736 1737 1738 1739

	* gtk/gtksettings.c (gtk_settings_class_init): Change the default
	value of the gtk-color-scheme setting to "".

1740 1741 1742 1743 1744
	* gtk/gtkprinteroption.c: 
	* gtk/gtkprinteroptionwidget.c: 
	* gtk/gtkprintunixdialog.c: Improve the print dialog layout,
	mark some more strings for translation.  (#340139, Christian Persch)

1745 1746 1747 1748
	* gtk/gtkstatusicon.c (gtk_status_icon_class_init): Fix the definition
	of the ::size-changed signal, and improve its documentation.
	(#340112, Christian Persch)

1749 1750 1751 1752 1753 1754
2006-04-29  Behdad Esfahbod  <behdad@gnome.org>

	* gtk/gtkwidget.c (gtk_widget_create_pango_layout)
	(gtk_widget_get/create_pango_context): Change colormap to font map in
	docs. (#340093)

1755 1756
2006-04-29  Matthias Clasen  <mclasen@redhat.com>

1757 1758 1759 1760 1761 1762
	* gtk/gtk.symbols: 
	* gtk/gtkstatusicon.h: 
	* gtk/gtkstatusicon.c (gtk_status_icon_position_menu): Add a menu
	position function for use with popups on status icons.  (#334573, 
	Christian Persch)

1763 1764 1765
	* gtk/gtkwidget.c (gtk_widget_is_composited): Fix a C99ism.  (#340055,
	Kazuki Iwamoto)

1766 1767 1768 1769 1770
2006-04-28  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkcellrenderertext.c (get_size): Use _static variants when
	copying and merging short-lived Pango layouts. (#340033, Morten Welinder)

1771 1772 1773 1774 1775
2006-04-28  Behdad Esfahbod  <behdad@gnome.org>

	* gtk/gtkwidget.c (gtk_widget_create_pango_layout): Fix typo in
	docs. (#340063)

1776 1777 1778 1779 1780 1781
2006-04-28  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktreeview.c (gtk_tree_view_drag_begin): Don't force
	the standard DND icon if the user has a custom DND source.  
	(#339522, Joe Wreschnig)

1782 1783 1784 1785 1786 1787 1788 1789 1790
2006-04-28  Michael Natterer  <mitch@imendio.com>

	* gtk/gtktextbuffer.c (create_clipboard_contents_buffer): keep a
	reference to the source buffer while the clipboard contents buffer
	exists, because it is needed for serializing the contents buffer.
	Makes copying from the contents buffer possible even after the
	resp. text view is destroyed (for example when there is a
	clipboard manager running on app exit) (bug #339195).

1791 1792 1793 1794 1795
2006-04-27  Behdad Esfahbod  <behdad@gnome.org>

	* gdk/gdkpango.c (gdk_pango_renderer_draw_glyphs): Cast to double
	before dividing by PANGO_SCALE. (#334582)

1796 1797
2006-04-27  Matthias Clasen  <mclasen@redhat.com>

1798 1799 1800 1801
	* gtk/gtkentry.c (popup_position_func): Improve positioning
	of the menu when popped up by keynav.  (#334987, Christian
	Persch)

1802 1803 1804 1805
	* gtk/gtkdnd.c (gtk_drag_set_icon_window): Handle the case
	of being called after the drag is cancelled.  (#339224, 
	Benjamin Otte)

1806 1807 1808
	* gdk/x11/gdkscreen-x11.c (_gdk_x11_screen_process_owner_change):
	Use XFixes only if it is available.  (#339839, Marko Anastasov)

1809 1810 1811 1812 1813 1814
2006-04-26  Federico Mena Quintero  <federico@novell.com>

	* gtk/gtkdialog.c (gtk_dialog_close): Don't make this conditional
	on having a GTK_RESPONSE_CANCEL button -> end the idiocy.  Fixes
	bug #101293.

1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827
2006-04-26  Kristian Rietveld  <kris@imendio.com>

	* gtk/gtktreeview.c (node_is_visible): new function,
	(validate_visible_area): when a node is validated, only queue a
	redraw for that node, not for the entire widget (a redraw for the
	entire widget is only needed when the sizes change, and
	_queue_resize() will take care of that),
	(do_validate_rows): do not queue a redraw, redraws are only needed
	for changes in the visible area and validate_visible_area() takes
	care of that,
	(gtk_tree_view_row_inserted): for fixed height mode, only queue
	a resize and redraw if the node is visible, else no redraw is needed.

1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841
2006-04-26  Kristian Rietveld  <kris@imendio.com>

	If this new "row-ending-details" property is turned on, more
	detailed "details" will be passed to the theme engine for drawing
	the background, drop indicator and focus rectangle.  Requirement is
	that the theme engine supports these details. (#333760).

	* gtk/gtktreeview.c (gtk_tree_view_class_init): add row-ending-details
	style property,
	(gtk_tree_view_bin_expose): pass more detailed detail to
	gtk_paint_flat_box() if the property is turned on,
	(gtk_tree_view_bin_expose): likewise for the drop indicator,
	(gtk_tree_view_bin_expose): likewise for the focus rectangle.

1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865
2006-04-26  Kristian Rietveld  <kris@imendio.com>

	New "show-expanders" and "level-indentation" properties, which can
	be used for customizing the tree view.  (For example to do
	grouping as demonstrated in the test application).
	Discussion in #80869.

	* gtk/gtktreeprivate.h: add level_indentation field.

	* gtk/gtktreeview.c (gtk_tree_view_class_init),
	(gtk_tree_view_init), (gtk_tree_view_set_property),
	(gtk_tree_view_get_property): add the properties to the object,
	(gtk_tree_view_button_press), (do_prelight),
	(gtk_tree_view_bin_expose), (validate_row),
	(gtk_tree_view_discover_dirty_iter), (gtk_tree_view_get_cell_area),
	(gtk_tree_view_create_row_drag_icon): take the new properties
	into account,
	(gtk_tree_view_start_editing): fix cell placement code.

	* tests/testgrouping.c: new test application, showing how to
	implement grouping.

	* tests/Makefile.am: updated.

Matthias Clasen's avatar
Matthias Clasen committed
1866 1867
2006-04-25  Matthias Clasen  <mclasen@redhat.com>

1868 1869
	* gdk/gdk.symbols: Add gdk_screen_is_composited

Matthias Clasen's avatar
Matthias Clasen committed
1870 1871 1872 1873
	* gtk/gtkprintjob.c (gtk_print_job_set_source_file): Add docs.

	* gtk/gtkprintoperation.c: Add docs.

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 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961
Tue Apr 25 10:25:28 2006  Søren Sandmann  <sandmann@redhat.com>

	* tests/testgtk.c (create_alpha_window): Create 'composited' label.

	* tests/testgtk.c (on_composited_changed): New function, change
	the label to say whether the screen is composited or not.

	* gtk/gtkwindow.c (gtk_window_on_composited_changed): When
	composited status change, invalidate the window and propagate the signal;.

	* gtk/gtkwindow.c (gtk_window_map): Set the appropriate type hint
	if reset_type_hint is TRUE.

	* gtk/gtkwindow.c (gtk_window_set_type_hint): If hint is one of
	the old hints, store a shadow copy in the public window->type_hint
	bitfield, otherwise set this field to normal. Set the private
	field to the type hint.

	* gtk/gtkwindow.c (gtk_window_init): Initialize priv->type_hint. 

	* gtk/gtkwindow.c (struct _GtkWindowPrivate): New field
	"reset_type_hint" indicating whether the type hint needs to be
	reset. New field type_hint containing a GdkWindowTypeHint.

	* gtk/gtkwidget.c (propagate_composited_changed): New function to
	propagate changes in composited status.
	(gtk_widget_class_init): Add composited_changed signal.
	
	* gtk/gtkwidget.h (struct _GtkWidgetClass): New signal composited-changed.

	* gtk/gtkwidget.c (gtk_widget_is_composited): New function.

	* gtk/gtktooltips.c (gtk_tooltips_draw_tips): Set transient for.

	* gtk/gtktooltips.c (gtk_tooltips_force_window): Set the type hint

	* gtk/gtkmenuitem.c (gtk_menu_item_position_menu): Compute whether
	the item belongs to a menubar. Set the type_hint appropriately
	depending on the outcome.

	* gtk/gtkmenu.c (gtk_menu_position): Set the default type hint here.

	* gtk/gtkmenu.c (gtk_menu_attach_to_widget): connect to hierarchy
	changed on the attach widget.

	* gtk/gtkmenu.c (attach_widget_hierarchy_changed): New function to
	set the transient_for property for menus.

	* gtk/gtkdnd.c (set_icon_stock_pixbuf): Set the appropriate type hint.

	* gtk/gtkcombo.c (gtk_combo_popup_list): Make the popup window
	transient for the toplevel.

	* gtk/gtkcombobox.c (gtk_combo_box_set_popup_widget): Set
	transient-for, for the popup window.

	* gdk/x11/gdkwindow-x11.c (gdk_window_get_type_hint): Support for
	new window types.

	* gdk/x11/gdkwindow-x11.c (gdk_window_set_type_hint): Add support
	for new window types.

	* gdk/x11/gdkscreen-x11.c (_gdk_x11_screen_process_owner_change):
	New function called whenever the compositing manager comes and goes.

	* gdk/x11/gdkscreen-x11.c (gdk_screen_is_composited): New function.

	* gdk/x11/gdkscreen-x11.c
	(_gdk_x11_screen_request_cm_notification, make_cm_atom,
	check_is_composited): New functions

	* gdk/x11/gdkevents-x11.c (gdk_event_translate): Call
	_gdk_x11_screen_process_owner_change when an
	XFixesSelectionNotifyEvent is received.

	* gdk/x11/gdkdisplay-x11.c (gdk_display_open): Call
	_gdk_x11_screen_request_cm_notification() on all screens.

	* gdk/quartz/gdkscreen-quartz.c (gdk_screen_is_composited): Dummy
	implementation. 

	* gdk/gdkscreen.c (gdk_screen_class_init): New signal,
	'composited-changed'.

	* gdk/gdkwindow.h: Add new EWMH window types.

	* gdk/win32/gdkscreen-win32.c (gdk_screen_is_composited) 

Matthias Clasen's avatar
Matthias Clasen committed
1962
2006-04-25  Matthias Clasen  <mclasen@redhat.com>
Matthias Clasen's avatar
Matthias Clasen committed
1963
	
Matthias Clasen's avatar
Matthias Clasen committed
1964 1965 1966
	* modules/printbackends/cups/gtkprintbackendcups.c: 
	Add some more translatable PPD option names.

1967 1968
2006-04-24  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
Matthias Clasen committed
1969 1970 1971
	* po/POTFILES.in:
	* po-properties/POTFILES.in: Updates

1972 1973 1974 1975 1976 1977 1978 1979 1980
	* gtk/paper_names.c: Declare PaperInfo here.

	* gtk/gen-paper-names.c: Add a prefix to gettext msgids.

	* gtk/paper_names_offsets.c: Regenerated.
	
	* gtk/gtkpapersize.c (gtk_paper_size_get_display_name):
	Use g_strip_context() to strip the prefix.

Matthias Clasen's avatar
Matthias Clasen committed
1981
2006-04-24  Matthias Clasen  <mclasen@redhat.com>
Matthias Clasen's avatar
Matthias Clasen committed
1982 1983
	
	* gtk/gtkfontbutton.c: Small doc fixes.
Matthias Clasen's avatar
Matthias Clasen committed
1984

Matthias Clasen's avatar
Matthias Clasen committed
1985 1986 1987
	* gtk/gtkprintunixdialog.h: 
	* gtk/gtkpagesetupunixdialog.h: Fix includes (#338665)

1988 1989
	* gtk/gtkprintsettings.h (GtkPageRange): Declare in a way grokked by gtk-doc.

Matthias Clasen's avatar
Matthias Clasen committed
1990 1991 1992 1993 1994
	* gdk/gdkregion-generic.c: Documentation fixes.

	* gdk/directfb/gdkmain-directfb.c: Make the comment not look like
	a doc comment.

Matthias Clasen's avatar
Matthias Clasen committed
1995 1996 1997 1998
	* gtk/gtkprintunixdialog.c: Add docs.

	* gtk/gtkstatusicon.c (gtk_status_icon_get_visible): Typo fix.

1999 2000 2001 2002 2003
2006-04-24  Alexander Larsson  <alexl@redhat.com>

	* gtk/gtkprinter.c:
	Don't ref the backend since the backend owns the printer.

Alexander Larsson's avatar
Alexander Larsson committed
2004 2005 2006 2007 2008
2006-04-24  Alexander Larsson  <alexl@redhat.com>

	* gtk/gtkpagesetupunixdialog.c (update_combo_sensitivity_from_printers):
	Remove spew.

2009 2010 2011 2012 2013
2006-04-24  Alexander Larsson  <alexl@redhat.com>

	* gtk/gtkprintunixdialog.c (create_page_setup_page):
	Even/Odd Pages -> Even/Odd Sheets

2014 2015
2006-04-24  Matthias Clasen  <mclasen@redhat.com>

2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030
	* gtk/gtk.symbols:
	* gtk/gtkprintoperation.c (gtk_print_operation_run_async): Refactor the
	gtk_print_operation_run() code and add an _async version.

	* gtk/gtkprintoperation-private.h:
	* gtk/gtkprintoperation-unix.c
	(_gtk_print_operation_platform_backend_run_dialog_async)
	(gtk_print_run_page_setup_dialog_async): Variants of the run functions
	which don't call gtk_dialog_run(), but only show the dialog and return,
	and handle the response in a signal handler.

	* gtk/gtkprintoperation-win32.c (gtk_print_run_page_setup_dialog_async) 
	(_gtk_print_operation_platform_backend_run_dialog_async): Implement these 
	by calling the sync versions.

Matthias Clasen's avatar
Matthias Clasen committed
2031 2032
	* gtk/gtkprintoperation-unix.c: Cleanups.

Matthias Clasen's avatar
Matthias Clasen committed
2033 2034 2035
	* gtk/gtkpagesetupunixdialog.c (gtk_page_setup_unix_dialog_get_page_setup):
	Remove redundant code.

2036 2037
	* gtk/Makefile.am: Install gtkprintjob.h as Unix-specific print API.

2038 2039 2040
	* gtk/gtkprintoperation-unix.c (gtk_print_run_page_setup_dialog): 
	Return a copy of the original page setup if the dialog was canceled.

Alexander Larsson's avatar
Alexander Larsson committed
2041 2042 2043 2044 2045 2046 2047 2048
2006-04-24  Alexander Larsson  <alexl@redhat.com>

	* gtk/gtkprintjob.h:
	Declare GtkPrintJob.
	
	* gtk/gtkprintunixdialog.c: (gtk_print_unix_dialog_get_settings):
	Change g_return_if_fail to g_return_val_if_fail.

2049 2050 2051 2052 2053 2054
2006-04-24  Alexander Larsson  <alexl@redhat.com>

	* configure.in:
	Check for cairo-pdf.h.
	Check for cairo-ps.h on non-win32.

2055 2056
2006-04-24  Matthias Clasen  <mclasen@redhat.com>

2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071
	* gtk/gtkclipboard.h: 
	* gtk/gtkprinter.c: 
	* gtk/gtkprintsettings.h: 
	* gtk/gtkprintsettings.c: Match parameter names with the headers.

	* gtk/gtkprintoperation-unix.c (gtk_print_run_page_setup_dialog): 
	Add docs.

	* gtk/gtktextbufferrichtext.c (gtk_text_buffer_deserialize): 
	* gtk/gtkstatusicon.c (gtk_status_icon_get_storage_type): 
	* gtk/gtktreeview.c (gtk_tree_view_set_search_position_func): 
	* gtk/gtktreeview.c (gtk_tree_view_get_headers_clickable): 
	* gtk/gtkcellrendererspin.c (gtk_cell_renderer_spin_new): 
	* gtk/gtkmenu.c (gtk_menu_get_for_attach_widget): Fix the docs.

2072 2073 2074
	* gtk/gtkprinter.h: Don't declare GtkPrintJob here.
	* gtk/gtkprinter-private.h: Instead include gtkprintjob.h.

Matthias Clasen's avatar
Matthias Clasen committed
2075 2076
2006-04-23  Matthias Clasen  <mclasen@redhat.com>

2077 2078 2079 2080 2081 2082 2083 2084
	* gtk/gtkprinter-private.h: 
	* gtk/gtkprintbackend.h: 
	* gtk/gtkprinter.[hc]: 
	* gtk/gtkprintjob.[hc]: Use g types, add documentation, and some
	stylistic fixups.

	* gtk/gtkaboutdialog.c (activate_url): Avoid a compiler warning.

2085 2086 2087 2088 2089
	* gtk/gtkpapersize.[hc]: Use g types, add documentation.

	* gtk/gtkprintunixdialog.c (gtk_print_unix_dialog_get_settings): 
	Use g_return_val_if_fail in non-void functions.

Matthias Clasen's avatar
Matthias Clasen committed
2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102
	* gtk/Makefile.am: Add gtkprintutils.[hc]

	* gtk/gtkprintutils.[hc]: New files, move the unit conversion
	functions here.

	* gtk/gtkpagesetupunixdialog.c: 
	* gtk/gtkprintsettings.c: 
	* gtk/gtkpagesetup.c: 
	* gtk/gtkpapersize.c: Replace all static copies of to_mm/from_mm
	by the copies in gtkprintutils.c.

	* gtk/gtkpagesetup.[hc]: Use g types, add documentation.

Matthias Clasen's avatar
Matthias Clasen committed
2103 2104
	* gtk/gtkprintsettings.c: More documentation

2105 2106 2107 2108 2109
2006-04-22  Tor Lillqvist  <tml@novell.com>

	* gtk/Makefile.am (gtk_private_h_sources): Small workaround for
	weird bug in some versions of Automake at least on Windows.

2110 2111 2112
2006-04-21  Alexander Larsson  <alexl@redhat.com>

        Merge the gtk-printing branch.
2113
	For more detailed ChangeLog entries, see the ChangeLog.gtk-printing.
2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 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
	
	* .cvsignore:
	* Makefile.am:
	* configure.in:
	* docs/tools/widgets.c:
	* gtk+-unix-print-2.0.pc.in:
	* gtk/Makefile.am:
	* gtk/gen-paper-names.c:
	* gtk/gtk.h:
	* gtk/gtk.symbols:
	* gtk/gtkenums.h:
	* gtk/gtkiconfactory.c:
	* gtk/gtkmarshalers.list:
	* gtk/gtkpagesetup.[ch]:
	* gtk/gtkpagesetupunixdialog.[ch]:
	* gtk/gtkpapersize.[ch]:
	* gtk/gtkprint-win32.[ch]:
	* gtk/gtkprintbackend.[ch]:
	* gtk/gtkprintcontext.[ch]:
	* gtk/gtkprinter-private.h:
	* gtk/gtkprinter.[ch]:
	* gtk/gtkprinteroption.[ch]:
	* gtk/gtkprinteroptionset.[ch]:
	* gtk/gtkprinteroptionwidget.[ch]:
	* gtk/gtkprintjob.[ch]:
	* gtk/gtkprintoperation-private.h:
	* gtk/gtkprintoperation-unix.c:
	* gtk/gtkprintoperation-win32.c:
	* gtk/gtkprintoperation.[ch]:
	* gtk/gtkprintsettings.[ch]:
	* gtk/gtkprintunixdialog.[ch]:
	* gtk/paper_names.c:
	* gtk/paper_names_offsets.c:
	Platform independent printing API and implementations
	for unix and windows.

	* gtk/gtkstock.h:
	* gtk/stock-icons/24/gtk-orientation-landscape.png:
	* gtk/stock-icons/24/gtk-orientation-portrait.png:
	* gtk/stock-icons/24/gtk-orientation-reverse-landscape.png:
	Add stock icons for page orientation.
	
	* modules/Makefile.am:
	* modules/printbackends/Makefile.am:
	* modules/printbackends/cups/Makefile.am:
	* modules/printbackends/cups/gtkcupsutils.[ch]:
	* modules/printbackends/cups/gtkprintbackendcups.[ch]:
	* modules/printbackends/cups/gtkprintercups.[ch]:

	Cups printing backend for unix.
	
	* modules/printbackends/lpr/Makefile.am:
	* modules/printbackends/lpr/gtkprintbackendlpr.[ch]:
	lpr printing backend for unix.
	
	* modules/printbackends/pdf/Makefile.am:
	* modules/printbackends/pdf/gtkprintbackendpdf.[ch]:
	print-to-pdf printing backend for unix.
	
	* tests/.cvsignore:
	* tests/Makefile.am:
	* tests/print-editor.c:
	Test application for printing.

	* gdk/gdk.symbols:
	* gdk/win32/gdkevents-win32.c:
	* gdk/win32/gdkwin32.h:
	Add gdk_win32_set_modal_dialog_libgtk_only so that we can pump the
	mainloop while displaying a win32 common dialog.

	* gdk/directfb/Makefile.am:
	Whitespace cleanup.
	
2187 2188 2189 2190 2191
2006-04-20  Paolo Borelli  <pborelli@katamail.com>

	* gtk/gtkcombobox.c: plug small leak (#339132)
	* tests/testcombo.c: ditto

2192
2006-04-19  Michael Emmel  <mike.emmel@gmail.com>
2193 2194

	* gdk/directfb/gdkdrawable-directfb.c: fixed off by one error in
2195
	clip patch from (#330824)
2196

2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209
2006-04-19  Murray Cumming  <murrayc@murrayc.com>

	* gtk/gtkfilechooserbutton.c: _GtkFileChooserButtonPrivate:
	Added has_title flag so we can remember whether a title has 
	been set.
	(gtk_file_chooser_button_constructor): If no title has been
	set then set it to the default title. This means that the 
	default title will be used if the dialog was instantiated with 
	g_object_new(), without using the gtk_file_chooser_button_new() 
	convenience function. This helps language bindings.
	(gtk_file_chooser_button_set_property): Set has_title when 
	setting the title.

2210 2211 2212 2213 2214
2006-04-19  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkkeys-win32.c (handle_special): Map VK_NUMPAD[0-9]
	to GDK_KP_[0-9]. (#337562)

2215 2216
2006-04-18  Matthias Clasen  <mclasen@redhat.com>

2217 2218 2219
	* gtk/gtkrc.c: Allocate pixmap_path dynamically, rather than
	using a fixed array of size 128.

2220 2221 2222
	* gtk/gtkiconcache.c: Apply a patch by Paolo Borelli to factor
	out a strip_suffix() function and save some memory.  (#338307)

2223 2224 2225 2226 2227 2228
2006-04-18  Carlos Garnacho  <carlosg@gnome.org>

	* gtk/gtknotebook.c (gtk_notebook_pages_allocate): removed wrong
	condition check that caused tab labels not to be drawn under certain
	circumstances. Bug #338734.

2229 2230 2231 2232 2233 2234
2006-04-17  Kjartan Maraas  <kmaraas@gnome.org>

	* configure.in: Remove obsolete entry for no_NO
	* po-properties/no.po: And the translation
	* po/no.po: And the translation.

Matthias Clasen's avatar
Matthias Clasen committed
2235 2236 2237 2238 2239
2006-04-17  Matthias Clasen  <mclasen@redhat.com>

	* demos/gtk-demo/colorsel.c (expose_event_callback): Small formatting
	fix.

2240 2241 2242 2243 2244
2006-04-17  Christian Persch  <chpe@cvs.gnome.org>

	* gtk/gtkdnd.c: (gtk_drag_dest_set), (gtk_drag_dest_set_proxy): Fix
	UMR in gtk_drag_dest_motion. Bug #338725.

2245 2246 2247 2248 2249 2250
2006-04-17  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtksettings.c (gtk_settings_class_init): 
	* gtk/gtkentry.c (gtk_entry_class_init): Fix typos
	in property blurbs.  (#338772, Clytie Siddall)

2251 2252 2253 2254 2255 2256 2257 2258
2006-04-16  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkdrawable-quartz.c: (gdk_quartz_draw_drawable): Add check 
	for source being a window.

	* gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_get_pointer):
	Don't assert on window not being the root window.

2259 2260 2261 2262
2006-04-16  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkdrawable-quartz.c: Remove leading cairo/ in include.

2263 2264
2006-04-16  Matthias Clasen <mclasen@redhat.com>

2265 2266 2267 2268 2269 2270
	* gdk/x11/gdkwindow-x11.c (set_initial_hints ): Avoid a
	possible array overrun.  (Coverity)

	* gtk/gtkcalendar.c (gtk_calendar_key_press): Avoid a
	possible array overrun.  (Coverity)

2271 2272 2273
	* gtk/gtktextbuffer.c (_gtk_text_buffer_remove_all_tags):
	Avoid a NULL dereference.  (Coverity)

Matthias Clasen's avatar
Matthias Clasen committed
2274 2275 2276 2277 2278 2279
2006-04-15  Matthias Clasen <mclasen@redhat.com>

	* gtk/gtkrecentmanager.c: Make filename_warning() static,
	and use caseless matching when looking for file:/.  
	(#336772, Morten Welinder)

2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290
2006-04-13  Anders Carlsson  <andersca@imendio.com>

        * gdk/quartz/gdkevents-quartz.c:
        (synthesize_enter_event):
        (synthesize_leave_event):
        (synthesize_crossing_events):
        Take grabs into account.

        (find_window_for_event):
        Only return grabbed window when owner_events is FALSE.

2291 2292 2293 2294 2295
2006-04-13  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktreeview.c (gtk_tree_view_header_focus): Reorganize slightly
	to avoid a possible NULL dereference.  (Coverity)

2296 2297
2006-04-12  Matthias Clasen  <mclasen@redhat.com>

2298 2299 2300
	* gtk/gtktreeview.c (gtk_tree_view_get_arrow_xrange): Don't
	allow passing NULL for x1 or x2, adjust callers.

2301 2302 2303
	* gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_get_neighbor_sizes): 
	Reorganize to avoid a possible NULL pointer dereference.  (Coverity)

2304 2305 2306
        * gtk/gtknotebook.c (gtk_notebook_page_allocate): Reorganize
        to avoid a possible NULL dereference.  (Coverity)

2307 2308 2309
	* gdk/x11/gdkimage-x11.c (gdk_image_new_bitmap): Handle
	closed displays correctly.  (Coverity)

2310 2311 2312 2313
        * contrib/gdk-pixbuf-xlib/Makefile.am:
        * modules/engines/pixbuf/Makefile.am
        * gdk-pixbuf/Makefile.am: Build fixes for Cygwin.  (#338262)

2314 2315 2316
	* gdk/x11/gdkselection-x11.c (make_list): Make this work
	for list == NULL.  (Coverity)

2317 2318 2319
	* gdk/x11/gdkkeys-x11.c (gdk_keymap_get_entries_for_keycode): 
	Rearrange the code a bit.

2320 2321 2322 2323
	* gtk/gtktextlayout.c (gtk_text_layout_validate_yrange): 
	Handle _gtk_text_line_get_data() returning NULL in all
	cases.  (Coverity)

2324 2325 2326
	* gtk/gtkuimanager.c: Make find_menu_position and
	find_toolbar_position void.  (#338100)

2327 2328 2329 2330 2331
2006-04-12  Anders Carlsson  <andersca@imendio.com>

        * gdk/quartz/gdkkeys-quartz.c:
        Handle page up and page down.

2332 2333 2334 2335 2336 2337 2338 2339 2340 2341
2006-04-12  Anders Carlsson  <andersca@imendio.com>

        * gdk/quartz/gdkdrawable-quartz.c:
        (_gdk_quartz_drawable_release_context):
        Don't flush if we're inside a begin_paint/end_paint pair.
        
        * gdk/quartz/gdkwindow-quartz.c:
        (gdk_window_impl_quartz_end_paint):
        Free clip region here.

2342 2343
2006-04-12  Matthias Clasen  <mclasen@redhat.com>

2344 2345 2346
	* gtk/gtkuimanager.c (start_element_handler): Don't pass
	a negative value as string length to get_child_node().  (Coverity)

2347 2348 2349
	* gtk/gtkicontheme.c (insert_theme): Handle dirs == NULL
	gracefully.  (Coverity)

2350 2351 2352
	* gtk/gtknotebook.c (gtk_notebook_remove): Silently do nothing
	if the widget is not a child.  (Coverity)

2353 2354
2006-04-11  Matthias Clasen  <mclasen@redhat.com>

2355 2356 2357
	* gdk/x11/gdkkeys-x11.c (get_xkb): Return early in error
	cases.  (Coverity)

2358 2359 2360 2361 2362 2363 2364
	* gtk/gtktextview.c (selection_motion_event_handler): Remove
	some unused variables.

	* gtk/gtktreeview.c ((gtk_tree_view_search_position_func): Apply
	a patch from David Trowbridge to improve the positioning of the
	search popup.  (#338047)

2365 2366 2367 2368 2369 2370 2371 2372
2006-04-11  Emmanuele Bassi  <ebassi@cvs.gnome.org>

	* gtk/gtkrecentmanager.c (gtk_recent_manager_init)
	(gtk_recent_manager_new): Remove the unneeded setting of the
	storage file inside the constructor. (Murray Cumming)
	(build_recent_items_list): Reset the dirty bit when done rebuilding
	the list from the storage file.

2373 2374
2006-04-11  Matthias Clasen  <mclasen@redhat.com>

2375 2376 2377
	* gtk/gtkscale.c (gtk_scale_get_layout_offsets): Silence
	compiler warnings.

2378 2379 2380
	* gtk/gtkinputdialog.c (gtk_input_dialog_set_mapping_mode): Don't
	dereference info before checking it for NULL.  (Coverity)

2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400
2006-04-11  Anders Carlsson  <andersca@mac.imendio.com>

        * gdk/quartz/GdkQuartzView.c:
        (-[GdkQuartzView drawRect:]):
        * gdk/quartz/gdkdrawable-quartz.c:
        (gdk_quartz_ref_cairo_surface):
        (_gdk_quartz_drawable_get_context):
        (_gdk_quartz_drawable_release_context):
        * gdk/quartz/gdkwindow-quartz.c:
        (gdk_window_impl_quartz_finalize):
        (gdk_window_impl_quartz_class_init):
        (gdk_window_impl_quartz_begin_paint_region):
        (gdk_window_impl_quartz_end_paint):
        (gdk_window_impl_quartz_invalidate_maybe_recurse):
        (gdk_window_impl_quartz_process_updates):
        (gdk_window_impl_quartz_paintable_init):
        (_gdk_window_impl_quartz_get_type):
        * gdk/quartz/gdkwindow-quartz.h:
        Have GdkWindowImplQuartz implement GdkPaintable.

2401 2402 2403 2404 2405 2406 2407 2408
2006-04-10  Michael Natterer  <mitch@imendio.com>

	* gtk/gtktextbufferrichtext.c (gtk_text_buffer_deserialize):
	pasted rich text should not be affected by tags that are active at
	the insertion point. Therefore, remove and remember all active
	tags, and re-apply them left and right of the inserted text after
	pasting. Fixes bug #337653.

2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420
2006-04-11  Anders Carlsson  <andersca@imendio.com>

        * gdk/gdkinternals.h:
        * gdk/gdkwindow.c:
        (_gdk_paintable_get_type):
        (gdk_window_begin_paint_region):
        (gdk_window_end_paint):
        (gdk_window_process_updates):
        (gdk_window_invalidate_maybe_recurse):
        Add new GdkPaintable interface which implementation objects can 
        implement in order to override gdk painting functions.

2421 2422 2423 2424
2006-04-10 Vladimer Sichinava  <vlsichinava@gmail.com>

        * configure.in: Added "ka" (Georgian) to ALL_LINGUAS

Hans Breuer's avatar
Hans Breuer committed
2425 2426 2427 2428
2006-04-07  Hans Breuer  <hans@breuer.org>

	* gtk/makefile.msc.in tests/makefile.msc : updated

2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439
2006-04-06  Tor Lillqvist  <tml@novell.com>

	Correct the appearance of non-square icons and cursors: pad them
	to square so that Windows won't stretch them.

	* gdk/win32/gdkcursor-win32.c (create_alpha_bitmap)
	(create_color_bitmap): Always create square bitmaps, take only
	side length as argument.
	(pixbuf_to_hbitmaps_alpha_winxp, pixbuf_to_hbitmaps_normal):
	Corresponding changes.

2440 2441
2006-04-05  Matthias Clasen  <mclasen@redhat.com>

2442 2443 2444 2445
	* gtk/gtktextview.c (text_window_realize): Lower the window, to
	prevent late-constructed text windows from covering child 
	widgets.  (#336796, Yevgen Muntyan)

2446 2447 2448 2449