ChangeLog 210 KB
Newer Older
Matthias Clasen's avatar
Matthias Clasen committed
1 2
2006-05-07  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
Matthias Clasen committed
3 4 5 6 7 8 9
	* 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
10
	* gtk/gtkrange.c:
Matthias Clasen's avatar
Matthias Clasen committed
11
	* gtk/gtkscale.c: Make types abstract again.
Matthias Clasen's avatar
Matthias Clasen committed
12

Matthias Clasen's avatar
Matthias Clasen committed
13 14 15 16 17
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)

18 19 20 21 22 23 24 25
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.

26 27 28 29 30 31 32 33 34
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
2.9.0  
Matthias Clasen committed
35

Matthias Clasen's avatar
2.9.0  
Matthias Clasen committed
36 37
	* configure.in: Bump version

Matthias Clasen's avatar
2.9.0  
Matthias Clasen committed
38 39 40 41 42 43
	* === Released 2.9.0 ===

	* configure.in: Require cairo 1.1.6

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

44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
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
60 61 62 63 64
2006-05-04  Michael Emmel  <mike.emmel@gmail.com>

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

65 66 67 68 69
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
70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124
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.

125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142
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

143 144 145 146 147
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.

148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284
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.

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

287 288 289
	* gtk/gtkprintunixdialog.c: Replace the xpm collate icons
	by cairo drawing that respects themes.

290 291 292
	* gdk/quartz/Makefile.am (libgdk_quartz_la_SOURCES): Add
	missing files.  (#340533, Ludovic Rousseau)

293 294 295
	* gtk/gtkprintunixdialog.c (draw_page_cb): Don't leak the
	cairo context here.  (#340522, Christian Persch)

296 297 298 299
	* 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)

300 301 302
	* gtk/gtkpagesetupunixdialog.c: Beautify the custom
	paper size dialog.  (#339590, patch by Christian Persch)
	
303 304 305 306 307 308
	* gtk/gtkaccessible.c:
	* gtk/gtkclipboard.c:
	* gtk/gtkfilefilter.c:
	* gtk/gtkimmodule.c:
	* gtk/gtkmenubar.c: More G_DEFINE_TYPE conversion.

309 310
	* gtk/gtkwidget.c: Make GtkWidget abstract again.

Matthias Clasen's avatar
Matthias Clasen committed
311 312 313 314 315 316 317 318
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.

319 320 321 322 323 324
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
325 326 327 328 329
2006-05-02  Matthias Clasen  <mclasen@redhat.com>

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

330 331 332 333 334 335 336 337 338 339 340 341
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.

342 343 344 345 346 347 348
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.

349 350 351 352 353 354 355
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

Alexander Larsson's avatar
Alexander Larsson committed
356 357 358 359 360 361
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
362 363 364 365
2006-05-01  Matthias Clasen  <mclasen@localhost.localdomain>

	* NEWS: Updates

366 367
2006-05-02  Kristian Rietveld  <kris@imendio.com>

Matthias Clasen's avatar
Matthias Clasen committed
368

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

371 372 373 374 375 376 377
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.

378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394
	* 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:
395 396
	Merge from kris-async-branch.

Matthias Clasen's avatar
Matthias Clasen committed
397
2006-05-01  Matthias Clasen  <mclasen@redhat.com>
Matthias Clasen's avatar
Updates  
Matthias Clasen committed
398 399 400

	* NEWS: Updates

Matthias Clasen's avatar
Matthias Clasen committed
401
2006-04-30  Matthias Clasen  <mclasen@redhat.com>
402 403 404 405

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

406 407 408 409 410
2006-04-19  Michael Emmel  <mike.emmel@gmail.com>

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

411 412 413 414 415 416 417 418 419
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
420
2006-04-30  Matthias Clasen  <mclasen@redhat.com>
421

422 423 424 425 426 427 428 429
	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
430
2006-04-30  Matthias Clasen  <mclasen@redhat.com>
431 432 433 434

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

435 436 437 438 439
	* gtk/gtkprinteroption.c: 
	* gtk/gtkprinteroptionwidget.c: 
	* gtk/gtkprintunixdialog.c: Improve the print dialog layout,
	mark some more strings for translation.  (#340139, Christian Persch)

440 441 442 443
	* gtk/gtkstatusicon.c (gtk_status_icon_class_init): Fix the definition
	of the ::size-changed signal, and improve its documentation.
	(#340112, Christian Persch)

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

450 451
2006-04-29  Matthias Clasen  <mclasen@redhat.com>

452 453 454 455 456 457
	* 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)

458 459 460
	* gtk/gtkwidget.c (gtk_widget_is_composited): Fix a C99ism.  (#340055,
	Kazuki Iwamoto)

461 462 463 464 465
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)

Behdad Esfahbod's avatar
Behdad Esfahbod committed
466 467 468 469 470
2006-04-28  Behdad Esfahbod  <behdad@gnome.org>

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

471 472 473 474 475 476
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)

477 478 479 480 481 482 483 484 485
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).

486 487 488 489 490
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)

Matthias Clasen's avatar
Matthias Clasen committed
491 492
2006-04-27  Matthias Clasen  <mclasen@redhat.com>

493 494 495 496
	* gtk/gtkentry.c (popup_position_func): Improve positioning
	of the menu when popped up by keynav.  (#334987, Christian
	Persch)

497 498 499 500
	* gtk/gtkdnd.c (gtk_drag_set_icon_window): Handle the case
	of being called after the drag is cancelled.  (#339224, 
	Benjamin Otte)

Matthias Clasen's avatar
Matthias Clasen committed
501 502 503
	* gdk/x11/gdkscreen-x11.c (_gdk_x11_screen_process_owner_change):
	Use XFixes only if it is available.  (#339839, Marko Anastasov)

504 505 506 507 508 509
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.

510 511 512 513 514 515 516 517 518 519 520 521 522
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.

523 524 525 526 527 528 529 530 531 532 533 534 535 536
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.

537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560
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
561 562
2006-04-25  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
Matthias Clasen committed
563 564
	* gdk/gdk.symbols: Add gdk_screen_is_composited

Matthias Clasen's avatar
Matthias Clasen committed
565 566 567 568
	* gtk/gtkprintjob.c (gtk_print_job_set_source_file): Add docs.

	* gtk/gtkprintoperation.c: Add docs.

Søren Sandmann's avatar
Søren Sandmann committed
569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656
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
657
2006-04-25  Matthias Clasen  <mclasen@redhat.com>
Matthias Clasen's avatar
Matthias Clasen committed
658
	
Matthias Clasen's avatar
Matthias Clasen committed
659 660 661
	* modules/printbackends/cups/gtkprintbackendcups.c: 
	Add some more translatable PPD option names.

662 663
2006-04-24  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
Updates  
Matthias Clasen committed
664 665 666
	* po/POTFILES.in:
	* po-properties/POTFILES.in: Updates

667 668 669 670 671 672 673 674 675
	* 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
676
2006-04-24  Matthias Clasen  <mclasen@redhat.com>
Matthias Clasen's avatar
Matthias Clasen committed
677 678
	
	* gtk/gtkfontbutton.c: Small doc fixes.
Matthias Clasen's avatar
Matthias Clasen committed
679

Matthias Clasen's avatar
Matthias Clasen committed
680 681 682
	* gtk/gtkprintunixdialog.h: 
	* gtk/gtkpagesetupunixdialog.h: Fix includes (#338665)

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

Matthias Clasen's avatar
Matthias Clasen committed
685 686 687 688 689
	* 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
690 691 692 693
	* gtk/gtkprintunixdialog.c: Add docs.

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

694 695 696 697 698
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
699 700 701 702 703
2006-04-24  Alexander Larsson  <alexl@redhat.com>

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

704 705 706 707 708
2006-04-24  Alexander Larsson  <alexl@redhat.com>

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

709 710
2006-04-24  Matthias Clasen  <mclasen@redhat.com>

711 712 713 714 715 716 717 718 719 720 721 722 723 724 725
	* 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
726 727
	* gtk/gtkprintoperation-unix.c: Cleanups.

Matthias Clasen's avatar
Matthias Clasen committed
728 729 730
	* gtk/gtkpagesetupunixdialog.c (gtk_page_setup_unix_dialog_get_page_setup):
	Remove redundant code.

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

733 734 735
	* 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
736 737 738 739 740 741 742 743
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.

744 745 746 747 748 749
2006-04-24  Alexander Larsson  <alexl@redhat.com>

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

750 751
2006-04-24  Matthias Clasen  <mclasen@redhat.com>

752 753 754 755 756 757 758 759 760 761 762 763 764 765 766
	* 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.

767 768 769
	* gtk/gtkprinter.h: Don't declare GtkPrintJob here.
	* gtk/gtkprinter-private.h: Instead include gtkprintjob.h.

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

772 773 774 775 776 777 778 779
	* 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.

780 781 782 783 784
	* 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
785 786 787 788 789 790 791 792 793 794 795 796 797
	* 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
798 799
	* gtk/gtkprintsettings.c: More documentation

800 801 802 803 804
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.

805 806 807
2006-04-21  Alexander Larsson  <alexl@redhat.com>

        Merge the gtk-printing branch.
Alexander Larsson's avatar
Alexander Larsson committed
808
	For more detailed ChangeLog entries, see the ChangeLog.gtk-printing.
809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881
	
	* .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.
	
882 883 884 885 886
2006-04-20  Paolo Borelli  <pborelli@katamail.com>

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

887
2006-04-19  Michael Emmel  <mike.emmel@gmail.com>
888 889

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

892 893 894 895 896 897 898 899 900 901 902 903 904
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.

905 906 907 908 909
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)

910 911
2006-04-18  Matthias Clasen  <mclasen@redhat.com>

912 913 914
	* gtk/gtkrc.c: Allocate pixmap_path dynamically, rather than
	using a fixed array of size 128.

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

918 919 920 921 922 923
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.

924 925 926 927 928 929
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
930 931 932 933 934
2006-04-17  Matthias Clasen  <mclasen@redhat.com>

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

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

940 941 942 943 944 945
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)

946 947 948 949 950 951 952 953
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.

954 955 956 957
2006-04-16  Richard Hult  <richard@imendio.com>

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

Matthias Clasen's avatar
Matthias Clasen committed
958 959
2006-04-16  Matthias Clasen <mclasen@redhat.com>

960 961 962 963 964 965
	* 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)

Matthias Clasen's avatar
Matthias Clasen committed
966 967 968
	* gtk/gtktextbuffer.c (_gtk_text_buffer_remove_all_tags):
	Avoid a NULL dereference.  (Coverity)

Matthias Clasen's avatar
Matthias Clasen committed
969 970 971 972 973 974
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)

Anders Carlsson's avatar
Anders Carlsson committed
975 976 977 978 979 980 981 982 983 984 985
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.

986 987 988 989 990
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)

991 992
2006-04-12  Matthias Clasen  <mclasen@redhat.com>

993 994 995
	* gtk/gtktreeview.c (gtk_tree_view_get_arrow_xrange): Don't
	allow passing NULL for x1 or x2, adjust callers.

996 997 998
	* gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_get_neighbor_sizes): 
	Reorganize to avoid a possible NULL pointer dereference.  (Coverity)

999 1000 1001
        * gtk/gtknotebook.c (gtk_notebook_page_allocate): Reorganize
        to avoid a possible NULL dereference.  (Coverity)

Matthias Clasen's avatar
Matthias Clasen committed
1002 1003 1004
	* gdk/x11/gdkimage-x11.c (gdk_image_new_bitmap): Handle
	closed displays correctly.  (Coverity)

1005 1006 1007 1008
        * contrib/gdk-pixbuf-xlib/Makefile.am:
        * modules/engines/pixbuf/Makefile.am
        * gdk-pixbuf/Makefile.am: Build fixes for Cygwin.  (#338262)

1009 1010 1011
	* gdk/x11/gdkselection-x11.c (make_list): Make this work
	for list == NULL.  (Coverity)

Matthias Clasen's avatar
Matthias Clasen committed
1012 1013 1014
	* gdk/x11/gdkkeys-x11.c (gdk_keymap_get_entries_for_keycode): 
	Rearrange the code a bit.

1015 1016 1017 1018
	* gtk/gtktextlayout.c (gtk_text_layout_validate_yrange): 
	Handle _gtk_text_line_get_data() returning NULL in all
	cases.  (Coverity)

1019 1020 1021
	* gtk/gtkuimanager.c: Make find_menu_position and
	find_toolbar_position void.  (#338100)

1022 1023 1024 1025 1026
2006-04-12  Anders Carlsson  <andersca@imendio.com>

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

1027 1028 1029 1030 1031 1032 1033 1034 1035 1036
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.

1037 1038
2006-04-12  Matthias Clasen  <mclasen@redhat.com>

1039 1040 1041
	* gtk/gtkuimanager.c (start_element_handler): Don't pass
	a negative value as string length to get_child_node().  (Coverity)

Matthias Clasen's avatar
Matthias Clasen committed
1042 1043 1044
	* gtk/gtkicontheme.c (insert_theme): Handle dirs == NULL
	gracefully.  (Coverity)

1045 1046 1047
	* gtk/gtknotebook.c (gtk_notebook_remove): Silently do nothing
	if the widget is not a child.  (Coverity)

1048 1049
2006-04-11  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
Matthias Clasen committed
1050 1051 1052
	* gdk/x11/gdkkeys-x11.c (get_xkb): Return early in error
	cases.  (Coverity)

1053 1054 1055 1056 1057 1058 1059
	* 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)

1060 1061 1062 1063 1064 1065 1066 1067
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.

1068 1069
2006-04-11  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
Matthias Clasen committed
1070 1071 1072
	* gtk/gtkscale.c (gtk_scale_get_layout_offsets): Silence
	compiler warnings.

1073 1074 1075
	* gtk/gtkinputdialog.c (gtk_input_dialog_set_mapping_mode): Don't
	dereference info before checking it for NULL.  (Coverity)

1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095
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.

1096 1097 1098 1099 1100 1101 1102 1103
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.

1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115
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.

1116 1117 1118 1119
2006-04-10 Vladimer Sichinava  <vlsichinava@gmail.com>

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

Hans Breuer's avatar
updated  
Hans Breuer committed
1120 1121 1122 1123
2006-04-07  Hans Breuer  <hans@breuer.org>

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

1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134
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.

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

1137 1138 1139 1140
	* gtk/gtktextview.c (text_window_realize): Lower the window, to
	prevent late-constructed text windows from covering child 
	widgets.  (#336796, Yevgen Muntyan)

1141 1142 1143 1144 1145 1146 1147
	* gtk/gtkmain.c (gtk_grab_add, gtk_grab_remove, gtk_grab_notify) 
	(gtk_grab_notify_foreach): Rework the code which emits ::grab-notify
	signals to ensure that we emit enough signals. Also optimize the
	code to not do unnecessary tree walking.

	* gtk/gtkwidget.c (gtk_widget_class_init): Document ::grab-notify.

1148 1149 1150 1151 1152 1153
2006-04-05  Paolo Borelli  <pborelli@katamail.com>

	* gtk/gtktextiter.c (gtk_text_iter_ends_line): handle the case of \r
	and \n split across lines. Bug #337022.
	* tests/testtextbuffer.c: add unit test.

1154 1155 1156 1157 1158
Tue Apr  4 12:25:36 2006  Søren Sandmann  <sandmann@redhat.com>

	* gdk/x11/gdkimage-x11.c (gdk_image_class_init): Add "_private" to
	make it build.

Matthias Clasen's avatar
Matthias Clasen committed
1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182
2006-04-04  Matthias Clasen  <mclasen@redhat.com>

	* gdk/gdkdisplay.c: 
	* gdk/gdkdisplaymanager.c:
	* gdk/gdkdraw.c:
	* gdk/gdkkeys.c:
	* gdk/gdkpixmap.c:
	* gdk/gdkscreen.c:
	* gdk/gdkwindow.c:
	* gdk/x11/gdkcolor-x11.c:
	* gdk/x11/gdkdisplay-x11.c:
	* gdk/x11/gdkdnd-x11.c:
	* gdk/x11/gdkdrawable-x11.c:
	* gdk/x11/gdkgc-x11.c:
	* gdk/x11/gdkimage-x11.c:
	* gdk/x11/gdkinput.c:
	* gdk/x11/gdkpixmap-x11.c:
	* gdk/x11/gdkscreen-x11.c:
	* gdk/x11/gdkwindow-x11.c: Use G_DEFINE_TYPE.

	* gdk/x11/gdkcolor-x11.c: 
	* gdk/x11/gdkdnd-x11.c:
	* gdk/x11/gdkimage-x11.c: Use instance private data.

1183 1184
2006-04-03  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
Matthias Clasen committed
1185 1186
	* gdk/gdkrgb.c: Get rid of a duplicate copy of the visual names.

Matthias Clasen's avatar
Matthias Clasen committed
1187 1188
	* gtk/gtkmain.c: Make gtk_args const.

Matthias Clasen's avatar
Matthias Clasen committed
1189 1190
	* gtk/gtkicontheme.c (pixbuf_supports_svg): Save one static.

1191 1192 1193 1194 1195 1196 1197
	* gtk/gtkrecentchooser.c (gtk_recent_chooser_error_quark):
	* gtk/gtkrecentmanager.c (gtk_recent_manager_error_quark):
	* gtk/gtkfilechooser.c (gtk_file_chooser_error_quark):
	* gtk/gtkfilesystem.c (gtk_file_system_error_quark):
	* gtk/gtkicontheme.c (gtk_icon_theme_error_quark): No point
	in making the error path fast by caching quarks. 

Matthias Clasen's avatar
Matthias Clasen committed
1198 1199
	* gtk/gtkfilesel.c (no_stat_dirs): Avoid relocation.

Matthias Clasen's avatar
Matthias Clasen committed
1200 1201
	* gdk/gdk.c: Here too.

1202 1203 1204 1205 1206 1207 1208
	* gdk/gdkinternals.h: 
	* gdk/x11/gdkmain-x11.c: 
	* gdk/win32/gdkmain-win32.c: 
	* gdk/directfb/gdkdisplay-directfb.c: 
	* gdk/quartz/gdkmain-quartz.c: Make _gdk_windowing_args const.

	* gdk/win32/gdkpixmap-win32.c: Include gdkscreen.h  (#337032,
1209 1210
	 Kazuki IWAMOTO)

1211 1212 1213
	* gtk/gtkprogressbar.c (gtk_progress_bar_set_text): Mention
	that %NULL is allowed.  (#336937, Christian Neumair)

1214 1215
	* gtk/gtkmain.c: Get rid of an unnecessary static variable.

Matthias Clasen's avatar
Matthias Clasen committed
1216 1217 1218 1219
	* gtk/gtktextlayout.c: Fix a warning.
	
	* gtk/gtktextsegment.h: 
	* gtk/gtktextsegment.c: 
1220 1221
	* gtk/gtktextchild.c:
	* gtk/gtktextbtree.c:
Matthias Clasen's avatar
Matthias Clasen committed
1222 1223 1224 1225 1226 1227 1228
	* gtk/gtktextmark.c: 
	* gtk/gtktexttypes.h: Make the segment class pointers const.

	* gtk/gtktextbufferserialize.c: Make parser struct const.
	
	* gtk/gtkuimanager.c: Make parser struct const.

1229 1230
	* gtk/gtklinkbutton.c: Make the default colors const.

Matthias Clasen's avatar
Matthias Clasen committed
1231 1232
	* gtk/gtkuimanager.c: Avoid relocations. 

1233 1234 1235
	* gtk/gtkxembed.c (_gtk_xembed_message_name): Reduce size of static
	buffer.

Matthias Clasen's avatar
Matthias Clasen committed
1236 1237
	* gtk/gtktext.c (gtk_text_key_press): Avoid relocations.

1238 1239 1240 1241
	* gtk/gtkrc.c (gtk_rc_add_initial_default_files) 
	(gtk_rc_add_default_file): Allocate the gtk_rc_default_files array
	dynamically.

1242 1243
2006-04-02  Matthias Clasen  <mclasen@redhat.com>

1244 1245
	* gtk/gtkrc.c: Avoid relocations for the array of symbol names. 

1246 1247 1248
	* gtk/gtkruler.c: Remove unused strings from the ruler_metrics 
	structs, to avoid relocations.  (#336917, Stephane Chauveau)

1249 1250 1251 1252 1253 1254 1255 1256
2006-04-02  Emmanuele Bassi  <ebassi@cvs.gnome.org>

	* gtk/gtkrecentmanager.c (gtk_recent_manager_set_filename): Build
	the items list after setting the storage file.

	* gtk/gtkrecentmanager.c (display_closed): Use the right string
	for unsetting the default manager object from the screen.	

Behdad Esfahbod's avatar
Behdad Esfahbod committed
1257 1258 1259 1260
2006-04-01  Behdad Esfahbod  <behdad@gnome.org>

	* gtk/gtkfilesel.c (gtk_file_selection_get_filename): Oops. (#336784)

1261 1262 1263 1264 1265
2006-04-01  Behdad Esfahbod  <behdad@gnome.org>

	* gtk/gtkfilesel.c (gtk_file_selection_get_filename): Use a GString
	instead of static buffer to reduce .bss by 8kb. (#336784)

1266 1267 1268 1269 1270
2006-04-01  Dom Lachowicz <cinamod@hotmail.com>

	* modules/engines/ms-windows/msw_style.c (draw_hline): Emulate WinXP's
	drawing of menu separators
	
1271 1272 1273 1274 1275
2006-03-31  Behdad Esfahbod  <behdad@gnome.org>

	* gtk/gtkrecentmanager.c: Convert filenames to UTF-8 before printing
	them out in warning messages. (#336770, Morten Welinder)

1276 1277 1278 1279 1280
2006-03-31  Behdad Esfahbod  <behdad@gnome.org>

	* gtk/gtkrecentmanager.c (gtk_recent_info_last_application): Update
	last_stamp inside the look. (#336771, Morten Welinder)

1281 1282 1283 1284 1285
2006-03-31  Behdad Esfahbod  <behdad@gnome.org>

	* gtk/gtkrecentchoosermenu.c (gtk_recent_chooser_menu_get_property):
	Add missing break. (#336769, Morten Welinder)

1286 1287 1288 1289 1290 1291 1292
2006-03-31  Behdad Esfahbod  <behdad@gnome.org>

	* gtk/gtkfilesystem.c (gtk_file_system_get_bookmark_label):
	* gtk/gtklinkbutton.c (gtk_link_button_new_with_label): Return NULL
	instead of FALSE in g_return_val_if_fail in a pointer-returning
	function. (#336764, Morten Welinder)

1293 1294
2006-04-01  Gora Mohanty  <gmohanty@cvs.gnome.org>

1295
	* configure.in: Added 'or' (Oriya) to ALL_LINGUAS.
1296

1297 1298 1299 1300 1301
2006-03-31  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkrecentmanager.c (gtk_recent_info_get_age): Don't
	assert that the age is positive.  (#336773, Morten Welinder)

1302 1303 1304 1305 1306 1307 1308 1309 1310 1311
2006-03-31  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkicontheme.c (load_icon_data): Don't leak the keyfile 
	parser in the error case. 
	
	* gtk/gtkicontheme.c (load_icon_data, free_unthemed_icon) 
	(icon_data_free, load_themes):
	* gtk/gtkiconcache.c (_gtk_icon_cache_get_icon_data): Use the slice
	allocator for GtkIconData and UnthemedIcon structs.

1312 1313 1314 1315 1316
2006-03-30  Behdad Esfahbod  <behdad@gnome.org>

	* gtk/gtkcalendar.c: Fix translation comments for localizable
	digit formats. (fixes bug #336650)

1317 1318
2006-03-30  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
Matthias Clasen committed
1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332
	* gtk/gtkrecentmanager.h (struct _GtkRecentData): Fix the doc
	comment format.

	* gtk/gtkrecentmanager.c (gtk_recent_manager_has_item) 
	(gtk_recent_manager_purge_items, gtk_recent_manager_lookup_item) 
	(gtk_recent_manager_get_limit, gtk_recent_manager_add_full) 
	(gtk_recent_manager_get_items, gtk_recent_manager_remove_item): 

	* gtk/gtkrecentfilter.c (gtk_recent_filter_add_age): 
	* gtk/gtkrecentchooser.c (gtk_recent_chooser_set_show_numbers) 
	(gtk_recent_chooser_set_sort_func): 
	* gtk/gtknotebook.h (gtk_notebook_set_tab_detachable): Sync
	parameter names between .c and .h files to help gtk-doc.

Matthias Clasen's avatar
Matthias Clasen committed
1333 1334 1335
	* gdk/gdkregion-generic.c (gdk_region_get_clipbox): Reword
	docs to help gtk-doc.

1336 1337 1338
	* docs/tools/widgets.c (get_all_widgets): Add 
	GtkRecentChooserDialog.

1339 1340 1341 1342 1343
	* gtk/gtkdnd.c (gtk_drag_get_icon): Make sure to get an
	icon window when constructing the fallback_icon. This
	fixes a crash when dragging icons between screens in
	nautilus.  (#325751, Hylke van der Schaaf)

1344 1345
2006-03-30  Michael Emmel  <mike.emmel@gmail.com>

1346
	* gdk/directfb/gdkpixmap-directfb.c implement
1347 1348
	    (gdk_pixmap_foreign_new_for_screen)

1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362
2006-03-30  Emmanuele Bassi  <ebassi@cvs.gnome.org>

	Add documentation for the GtkLinkButton (#336592)

	* docs/reference/tmpl/gtklinkbutton.sgml: Add description
	of the GtkLinkButton.

	* docs/reference/gtk/migrating-GtkLinkButton.sgml: Guidelines
	for migrating code from GnomeHRef to the GtkLinkButton.

	* docs/reference/gtk/gtk-docs.sgml:
	* docs/reference/gtk/Makefile.am: Build glue for the porting
	guide.

1363 1364
2006-03-29  Matthias Clasen <mclasen@redhat.com>

1365 1366 1367 1368 1369 1370 1371
	* gdk/gdk.symbols:
	* gdk/gdkpixmap.h:
	* gdk/win32/gdkpixmap-win32.c:
	* gdk/x11/gdkpixmap-x11.c (gdk_pixmap_foreign_new_for_screen):
	New function to allow wrapping a native pixmap without
	a server roundtrip.  (#334954, David Baron) 

1372 1373 1374
	* gtk/gtk.symbols:
	* gtk/gtkrecent*.c: Fix some symbol aliasing glitches.

1375 1376 1377 1378
2006-03-29  Emmanuele Bassi  <ebassi@cvs.gnome.org>

	* gtk/gtkrecentchoosermenu.c: Make gtkalias.h the last included file.

1379 1380 1381 1382
2006-03-29  Emmanuele Bassi  <ebassi@cvs.gnome.org>

	* gtk/gtk.symbols: Fix a typo that broke aliasing rules.

Richard Hult's avatar
Richard Hult committed
1383 1384 1385 1386
2006-03-29  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkproperty-quartz.c: Add missing CLIPBOARD atom.

1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405
2006-03-29  Emmanuele Bassi  <ebassi@cvs.gnome.org>

	* docs/reference/gtk/migrating-GtkRecentChooser.sgml: Add a migration
	guide for porting to the new GtkRecent stuff from the old EggRecent
	code.

	* docs/reference/gtk/tmpl/gtkrecentchooser.sgml:
	* docs/reference/gtk/tmpl/gtkrecentchooserdialog.sgml:
	* docs/reference/gtk/tmpl/gtkrecentchoosermenu.sgml:
	* docs/reference/gtk/tmpl/gtkrecentchooserwidget.sgml:
	* docs/reference/gtk/tmpl/gtkrecentfilter.sgml:
	* docs/reference/gtk/tmpl/gtkrecentmanager.sgml: Add template files
	for the reference guide.

	* docs/reference/gtk/gtk-docs.sgml:
	* docs/reference/gtk/gtk-sections.txt:
	* docs/reference/gtk/Makefile.am: Build glue for add GtkRecent to
	the reference guide.

1406 1407 1408 1409 1410
2006-03-29  Emmanuele Bassi  <ebassi@cvs.gnome.org>

	* tests/Makefile.am:
	* tests/testrecentchooser.c: Add a test suite for GtkRecentChooser.

1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434
2006-03-29  Emmanuele Bassi  <ebassi@cvs.gnome.org>

	Import GtkRecent* from libegg.

	* gtk/gtkrecentmanager.[ch]: Add GtkRecentManager, an object
	for managing a list of recently used resources.

	* gtk/gtkrecentchooser.[ch]:
	* gtk/gtkrecentchooserdefault.[ch]:
	* gtk/gtkrecentchooserdialog.[ch]:
	* gtk/gtkrecentchoosermenu.[ch]:
	* gtk/gtkrecentchooserprivate.h:
	* gtk/gtkrecentchooserutils.[ch]:
	* gtk/gtkrecentchooserwidget.[ch]: Add GtkRecentChooser, a
	GTypeInterface for widgets implementing viewers for recently
	used resources.

	* gtk/gtkrecentfilter.[ch]: GtkRecentFilter, a filter object
	for GtkRecentChooser implementations.

	* gtk/gtk.h:
	* gtk/gtk.symbols:
	* gtk/Makefile.am: Build glue for GtkRecent*.

1435 1436 1437 1438 1439
2006-03-29  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtknotebook.c (gtk_notebook_real_insert_page): Emit
	page-added before switch-page.  (#335691, Christian Persch)

1440 1441 1442 1443 1444 1445
2006-03-29  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkfilechooserdefault.c (queue_edited_idle): Handle
	double queuing, rather than asserting that it does not 
	happen.  (#330617)

1446 1447
2006-03-28  Matthias Clasen  <mclasen@redhat.com>	

Matthias Clasen's avatar
Matthias Clasen committed
1448
	* gtk/gtknotebook.c (gtk_notebook_set_tab_detachable): Fix
Matthias Clasen's avatar
Matthias Clasen committed
1449 1450
	docs syntax, also commit a patch from #335707 to improve
	notebook DND with window widgets.
Matthias Clasen's avatar
Matthias Clasen committed
1451

1452 1453 1454 1455 1456 1457 1458 1459 1460
	* gtk/gtktextview.c (gtk_text_view_start_selection_drag): 
	(selection_motion_event_handler): Fix drag-selection after
	double-click.  (#323862, Benjamin Berg)

	* gtk/gtktextview.c (get_iter_at_pointer): Factor this out
	into a function and use it in move_mark_to_pointer_and_scroll,
	drag_scan_timeout and selection_motion_event_handler.
	(Paolo Borelli)

1461 1462 1463 1464 1465 1466 1467 1468 1469
2006-03-28  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktextview.c (gtk_text_view_do_popup) 
	(gtk_text_view_grab_notify): Move the call to 
	gtk_text_view_end_selection_drag() from gtk_text_view_do_popup
	to gtk_text_view_grab_notify, so that it works not only
	for the text views own popup, but also for other ways in which
	we might become grab-shadowed during a selection drag.
	(#74620, Li Yuan)
1470

Sven Herzberg's avatar
Sven Herzberg committed
1471 1472 1473 1474 1475 1476 1477 1478
2006-03-28  Sven Herzberg  <herzi@gnome-de.org>

        reviewed by: Tim Janik
	
	* gtk/gtkpixmap.c: (gtk_pixmap_set): only check for equal colormaps if
	the new pixmap is not NULL; fixes a warning when gtk_pixmap_set is
	called from gtk_pixmap_finalize (bug 336254)

1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493
2006-03-27  Anders Carlsson  <andersca@imendio.com>

        * gdk/quartz/gdkevents-quartz.c:
        (select_thread_func):
        (got_fd_activity):
        (poll_func):
        (gdk_event_translate):
        Make the poll func work with real file descriptors.
        We do this by creating a thread which calls poll and then
        signals the main thread using a run loop source.
        
        * gtk/gtkclipboard-quartz.c:        
        (-[GtkClipboardOwner pasteboard:provideDataForType:]):
        Remove debugging output

1494 1495 1496 1497 1498
2006-03-27  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkmnemonichash.c (_gtk_mnemonic_hash_activate): Check that 
	the widget is viewable.  (#336200, Bastian Nocera)

1499 1500 1501 1502 1503 1504
2006-03-27  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkmenu.c (gtk_menu_scroll_by): bail out if there is no need
	for scrolling (more obvious than adding additional conditions to
	the scroll offset calculation). Fixes bug #335912.

1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516
2006-03-27  Anders Carlsson  <andersca@imendio.com>

        * gtk/Makefile.am:
        Add -xobjective-c to cflags.
        (#335956, Lllian Angel)
        
        * gtk/gtkdnd-quartz.c:
        (gtk_drag_dest_set_track_motion):
        (gtk_drag_dest_get_track_motion):
        Add stubs for new functions.
        (#335955, Lillian Angel)
        
Richard Hult's avatar
Richard Hult committed
1517 1518 1519 1520
2006-03-27  Richard Hult  <richard@imendio.com>

	* gdk/quartz: Add more stubs.

Michael Natterer's avatar
Michael Natterer committed
1521 1522 1523 1524 1525
2006-03-27  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_property):
	add missing ')'.

Matthias Clasen's avatar
Matthias Clasen committed
1526 1527
2006-03-26  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
Matthias Clasen committed
1528 1529 1530
	* gtk/Makefile.am: Fix a srcdir != builddir build problem.
	(#335915, Yevgen Muntyan)

Matthias Clasen's avatar
Matthias Clasen committed
1531
	* gtk/gtktextbuffer.c (gtk_text_buffer_get_property):
Matthias Clasen's avatar
Matthias Clasen committed
1532 1533
	* gtk/gtksettings.c (gtk_settings_get_property):
	* gtk/gtkuimanager.c (gtk_ui_manager_get_property): Fix leaks.
Matthias Clasen's avatar
Matthias Clasen committed
1534

Matthias Clasen's avatar
Matthias Clasen committed
1535
	* gtk/gtktexttag.c (gtk_text_tag_get_property):
Matthias Clasen's avatar
Matthias Clasen committed
1536 1537 1538
	* gtk/gtkcellrenderertext.c (gtk_cell_render_text_get_property):
	Avoid an unnecessary strdup.  (#336013)

1539 1540 1541 1542 1543 1544
2006-03-24  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktextview.c (gtk_text_view_value_changed): Don't call
	gdk_window_invalidate_rect() on unrealized widgets.  (#335717,
	Nicolas Setton)

1545 1546 1547 1548 1549 1550
Fri Mar 24 14:53:20 2006  Tim Janik  <timj@imendio.com>

	* gtk/gtktreemodel.h: 
	* gtk/gtktextbtree.h: back out G_GNUC_WARN_UNUSED_RESULT on iterator
	functions which turned out to cause too much trouble.

Matthias Clasen's avatar
Matthias Clasen committed
1551 1552 1553 1554
2006-03-23  Matthias Clasen  <mclasen@redhat.com>

	* AUTHORS: small update

1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569
2006-03-23  Matthias Clasen  <mclasen@redhat.com>

	Support subclasses in RC files.  (#142417, Todd Berman, patch
	based on a patch by Benjamin Berg)
	
	* gtk/gtkrc.h: 
	* gtk/gtkrc.c: Support <classname> elements in widget_class paths 
	in rc files which match any classes derived from named class.

	(_gtk_rc_init): Use the new syntax in the default rc string.

	* gtk/gtkbindings.c: Support the new syntax for bindings too.
	
	* tests/testrc.c: Tests for widget_class path matching

1570 1571 1572 1573 1574 1575
2006-03-23  Carlos Garnacho  <carlosg@gnome.org>

	* gtk/gtkdnd.c (gtk_drag_dest_motion): make sure that gdk_drag_event()
	is called when track_motion is TRUE to receive drag_motion and
	drag_leave events properly.

1576 1577 1578 1579 1580
2006-03-22  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtknotebook.c (gtk_notebook_remove): Emit the ::page-removed
	signal after removing the page.  (#335238, Christian Persch)

1581 1582 1583 1584
2006-03-22  Carlos Garnacho  <carlosg@gnome.org>

	* gtk/gtkexpander.c: Make it to expand when hovering during DnD

1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600
2006-03-22  Matthias Clasen  <mclasen@redhat.com>

	Improved DND support for GtkNotebook  (#332991, Carlos Garnacho)
	
	* gtk/gtk.symbols: 
	* gtk/gtkdnd.h: 
	* gtk/gtkdnd.c: Add a track_motion flag on GtkDragDest
	with getter and setter, for cases where the drag destination
	is interested in drag motion events independent of targets.

	* gtk/gtksettings.c (gtk_settings_class_init): Add a setting
	for the timeout used when expanding during DND.

	* gtk/gtknotebook.c: Use the track_motion flag to switch
	notebook tabs when hovering over tabs during DND.
	
1601 1602 1603 1604