ChangeLog 276 KB
Newer Older
1 2 3 4 5
2007-09-13  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkiconcache.c: Turn off icon cache validation unless
	icon theme debugging is turned on.

Matthias Clasen's avatar
Matthias Clasen committed
6
2007-09-13  Matthias Clasen  <mclasen@redhat.com>
Matthias Clasen's avatar
Matthias Clasen committed
7 8
	
	* configure.in: Bump version to 2.12.1
Matthias Clasen's avatar
Matthias Clasen committed
9 10 11

	* === Released 2.12.0 ===

12 13 14 15 16 17
2007-09-14  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeview.c (gtk_tree_view_get_property): the tooltip-column
	property getter needs to set an integer, not a boolean. (#476689,
	spotted and patch by Christian Persch).

18 19 20 21 22 23
2007-09-14  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtkcellrendereraccel.c (gtk_cell_renderer_accel_get_property):
	implement getter for keycode property.  (#476665, patch by
	Christian Persch).

Matthias Clasen's avatar
Matthias Clasen committed
24 25
2007-09-13  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
Matthias Clasen committed
26 27 28
	* gtk/gtkscalebutton.c: Use the right value type when setting
	the value.  (#476688, Christian Persch)

Matthias Clasen's avatar
Matthias Clasen committed
29 30
	* configure.in: Bump version to 2.12.0

Matthias Clasen's avatar
Matthias Clasen committed
31 32
	* NEWS: Updates

33 34 35 36 37 38 39
2007-09-13  Kristian Rietveld  <kris@imendio.com>

	* gtk/gtktreeview.c (gtk_tree_view_set_toooltip_cell): if cell
	is set, always pass in path to gtk_tree_view_get_cell_area() whether
	it is NULL or set.  Added explanatory comment and added this
	side case to the API documentation.

40 41 42 43 44 45 46 47 48 49 50 51 52 53
2007-09-12  Emmanuele Bassi  <ebassi@gnome.org>

	* gtk/gtkfilechooserdefault.c (render_recent_icon): Use the
	"document-open-recent" icon for the the Recently Used shortcut
	in the file chooser. (#306445)

	* gtk/Makefile.am:
	* gtk/stock-icons/16/document-open-recent.png:
	* gtk/stock-icons/16/document-open-recent.svg:
	* gtk/stock-icons/24/document-open-recent.png:
	* gtk/stock-icons/24/document-open-recent.svg: Add the
	"document-open-recent" icon to the builtin theme we provide
	as a fallback.

Kristian Rietveld's avatar
Kristian Rietveld committed
54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71
2007-09-12  Kristian Rietveld  <kris@imendio.com>

	Fixes #426246.

	* gdk/gdk.symbols:
	* gdk/gdkwindow.[ch]
	(gdk_window_freeze_toplevel_updates_libgtk_only),
	(gdk_window_thaw_toplevel_updates_libgtk_only): new functions
	to freeze a toplevel window and all its descendants.  To be made
	public in 2.14,
	(gdk_window_schedule_update): return if toplevel is frozen,
	(gdk_window_process_all_updates): defer processing updates if toplevel
	is frozen.

	* gtk/gtkwindow.c (gtk_window_configure_event): directly size
	allocate for override redirect windows, freeze toplevel and
	descendants otherwise and wait until resizing is done.

72 73 74 75 76 77 78 79 80
2007-09-11  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkfilechooserbutton.c: remove useless member "has_title"
	from the private struct and simply set the default title in
	constructor() whenever we create a dialog or the supplied one has
	no title. Also accept RESPONSE_ACCEPT *and* RESPONSE_OK as
	affirmative responses and document that accordingly. Fixes bug
	#436576. Fixed all compiler warnings in the file.

81 82 83 84 85 86 87
2007-09-11  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkmenu.c (gtk_menu_button_release): Make sure
	menu_shell->button gets reset to 0 when we bail out early here
	instead of chaining up, so it is in a consistent state for the
	next press/release in GtkMenuShell. Fixes bug #449371.

88 89 90 91
2007-09-10  Kjartan Maraas  <kmaraas@gnome.org>

	* gtk/gtkentry.c: Fix some typos. Closes bug #475400.

92 93 94 95 96
2007-09-10  Behdad Esfahbod  <behdad@gnome.org>

	* gdk/x11/gdkgeometry-x11.c (gdk_window_queue),
	(_gdk_window_process_expose): Fix serial number comparison regression
	introduced recently. (#474897)
Matthias Clasen's avatar
Matthias Clasen committed
97

Matthias Clasen's avatar
Matthias Clasen committed
98 99 100
2007-09-10  Matthias Clasen  <mclasen@redhat.com>

	* NEWS: Updates
101

102 103 104 105 106
2007-09-10  Richard Hult  <richard@imendio.com>

	* gtk/gtksearchenginesimple.h: Build fix, correct a typo in the
	G_BEGIN_DECLS fix below.

Matthias Clasen's avatar
Matthias Clasen committed
107 108 109 110 111
2007-09-10  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtksearchenginesimple.h: Replace a duplicate G_END_DECLS by
	G_BEGIN_DECLS.  (#475439, Nigel Tao)

112 113 114 115 116 117
2007-09-10  Kristian Rietveld  <kris@imendio.com>

	* gtk/gtkmenutoolbutton.c (gtk_menu_tool_button_construct_contents):
	when creating a new box, be sure to transfer a possible tooltip from
	the old to the new box. (Fixes #458283, reported by Christian Persch).

118 119 120 121 122 123
2007-09-10  Kristian Rietveld  <kris@imendio.com>

	* gtk/gtktreeview.c (gtk_tree_view_key_press): only start
	typeahead search if tree_view has focus (and not one of the column
	buttons).

124 125 126 127 128
2007-09-09  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkdnd.c (gtk_drag_source_info_destroy): Remove
	update_idle here. Might fix #383003.

129 130 131 132 133 134
2007-09-09  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkiconview.c (gtk_icon_view_item_hit_test): Add a 
	bounding box test that will avoid getting the individual cell
	boxes if they haven't been calculated yet.  (#404541)

135 136 137 138 139 140 141 142 143 144 145
2007-09-09  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkaction.c:
	* gtk/gtkradioaction.c:
	* gtk/gtkrecentaction.c:
	* gtk/gtktoggleaction.c: Update the documentation to mark
	the optional constructors parameters. The GtkAction::name
	property is required, instead, as it is used by GtkUIManager
	to find the action object from the XML. (#450032, Murray Cumming,
	patch by Emmanuele Bassi)

146 147 148 149 150 151 152
2007-09-09  Matthias Clasen  <mclasen@redhat.com>

	* modules/printbackends/lpr/gtkprintbackendlpr.c:
	* modules/printbackends/cups/gtkcupsutils.c:
	* modules/printbackends/cups/gtkprintbackendcups.c: Include
	config.h first.  (#467719)

153 154 155 156 157 158 159
2007-09-09  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtklinkbutton.c:
	* gtk/gtkrecentfilter.c:
	* gtk/gtkprinteroptionwidget.c: Remove trailing commas from
	enumerations, since some compilers don't like them.  (#467717)

160 161 162 163 164 165 166
2007-09-09  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_rows_reordered):
	* gtk/gtktreemodelsort.c (gtk_tree_model_sort_rows_reordered): Don't
	assume that a path of depth 0 has no indices.  (#467324, Szilard
	Pfeiffer)

167 168 169 170 171
2007-09-09 18:22:28  Tim Janik  <timj@gtk.org>

	* gdk/x11/gdkgeometry-x11.c (_gdk_window_process_expose): fix invalid
	list node accesses, spotted by Benjamin Berg, bug #475158.

Kristian Rietveld's avatar
Kristian Rietveld committed
172 173 174 175 176 177 178 179 180 181
2007-09-09  Kristian Rietveld  <kris@gtk.org>

	Reverted r16699:

	2006-10-30  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeview.c (gtk_tree_view_class_init): change left/right
	keybindings to collapse/expand rows instead of moving the focus
	cursor. (#105895, Brian Bober and others).

182 183
2007-09-09  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
Matthias Clasen committed
184 185
	* NEWS: Updates

186 187
	* README.in: Add a note about bug 463773.

188 189 190 191 192 193
2007-09-08  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkstyle.c (draw_insertion_cursor): Revert the clamping
	of cursor coordinates, since it causes really ugly drawing
	artifacts with horizontal scrolling.  (#471215, Yevgen Muntyan)

194 195 196 197 198 199 200
2007-09-08  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkentrycompletion.c:
	* gtk/gtkentry.c: Apply a number of patches by Xan Lopez 
	to improve the interaction between actions and inline
	selection.  (#471132)

201 202 203 204
2007-09-07  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktoolbar.c: Use g_slice for ToolbarContent.  
	(#474696, Christian Persch)
205

206 207 208 209 210 211
2007-09-07  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkprintunixdialog.c: Add an internal child name for
	the notebook, so that GtkBuilder can be used to add custom tabs.
	(#472951, Christian Persch)

212 213 214 215 216 217
2007-09-07  Matthias Clasen  <mclasen@redhat.com>

	* gtk/updateiconcache.c (get_image_meta_data_size): Don't
	use image->attach_points where image->n_attach_points was meant.
	Pointed out by Albert Chin.

218 219 220 221 222
2007-09-07  Wouter Bolsterlee  <wbolster@svn.gnome.org>

	* modules/printbackends/cups/gtkcupsutils.c:
	(_post_send): Fix typo that broke the build.

223 224 225 226 227 228 229
2007-09-07  Matthias Clasen  <mclasen@redhat.com>

	* configure.in: Check for the cups function httpGetAuthString().

	* modules/printbackends/cups/gtkcupsutils.c: Use httpGetAuthString()
	if available.  (#467414, Claudio Saavedra)

230 231 232 233 234 235
2007-09-07  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtkcombobox.c (gtk_combo_box_cell_layout_init),
	(gtk_combo_box_cell_layout_get_cells): implement missing get_cells
	method.  (Spotted by Paolo Borelli).

Matthias Clasen's avatar
Matthias Clasen committed
236 237 238 239
2007-09-06  Matthias Clasen  <mclasen@redhat.com>

	* configure.in: Check for cups.h.  (#459732, Guillaume Cottenceau)

240 241 242 243 244 245 246 247 248 249 250
2007-09-06  Matthias Clasen  <mclasen@redhat.com>

	* gdk/gdkrectangle.c (gdk_rectangle_intersect): Allow
	dest to be NULL.  (#464528, Xan Lopez)

2007-09-06  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkmisc.c (gtk_misc_set_alignment, gtk_misc_set_padding): 
	Actually emit change notification here.  (#474282, Thomas Rydzynski)

2007-09-06  Matthias Clasen  <mclasen@redhat.com>
251 252 253 254 255

	* gtk/gtkfilechooserdefault.c (shortcuts_drop_uris): Initialize
	error to NULL before calling g_set_error(). Should fix #473954, 
	reported by Sebastien Bacher.

256 257 258 259 260 261 262 263 264
2007-09-06 13:37:28  Tim Janik  <timj@imendio.com>

	* gtk/gtkrange.c (gtk_range_adjustment_value_changed): removed code
	that forced range repaints upon every motion event, because these tend
	to stall other repaints on busy CPUs.
	added a timer to still force repaints every once in a while (roughly
	5Hz atm) to avoid leaving the user without feedback on the range.
	fixes bug #460534.

265 266 267 268
2007-09-06  Michael Natterer  <mitch@imendio.com>

	* demos/gtk-demo/panes.c: s/gtk_widget_[un]ref/g_object_[un]ref/g

269 270 271 272 273 274
2007-09-06  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkwindow-quartz.c (_gdk_windowing_window_destroy):
	Patch from William Pitcock: Ungrab windows if necessary when they
	are destroyed, fixes bug #473441.

275 276 277 278 279
Wed Sep  5 14:15:17 2007  Tim Janik  <timj@imendio.com>

	* gtk/gtknotebook.c (gtk_notebook_class_init): fix wrong default value
	in ::tab-expand param spec constructor.

280 281 282 283 284 285
2007-09-04  Fernando Herrera  <fherrera@onirica.com>

	* gtk/gtkbuilder.c: (gtk_builder_finalize),
	(gtk_builder_add_from_file): copy filename to builder->priv instead of
	holding a reference to it. Bug #472643

286 287 288 289
2007-09-04  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkmodules.c: added missing \n to g_print() in GTK_NOTE().

290 291 292 293 294 295
2007-09-04  Johan Dahlin  <jdahlin@async.com.br>

	* gtk/gtk-builder-convert (GtkBuilderConverter._parse): Do not remove 
	empty properties, since we do not know the default GParamSpec values.
	#472981 (Carlos Garnacho)

296 297 298 299 300 301
	* gtk/gtk-builder-convert (GtkBuilder._packing_prop_to_child_attr):
	Do not iterate recursively over all child nodes.
	(GtkBuilderConverter._default_widget_converter): Use a more efficient
	way of iterating over all property nodes
	#472974 (Carlos Garnacho)

302 303 304 305 306 307
2007-09-03  Emmanuele Bassi  <ebassi@gnome.org>

	* gtk/gtkrecentmanager.c
	(gtk_recent_manager_poll_timeout): Remove the stat() time barrier,
	as it seems to cause bug #463907 (thanks to Sebastien Bacher).

308 309 310 311 312
2007-08-31  Richard Hult  <richard@imendio.com>

	* configure.in: Revert the previous change as it broke the build
	(missing po file in po-properties).

313 314 315 316
2007-08-31  Pramod Raghavendra <pramodleo@yahoo.co.uk>

	* configure.in: Added kn to ALL_LINGUAS

317 318 319 320 321 322
2007-08-30  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations,
	gdk_window_get_decorations): Implement those. Based on patch from
	Stefan Gehn, bug #459459.

323 324 325 326 327 328
2007-08-30  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_keep_above,
	gdk_window_set_keep_below): Patch from Stefan Gehn to implement
	those, bug #459667.

329 330 331 332 333 334
2007-08-30  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkimage-quartz.c: (_gdk_quartz_image_copy_to_image):
	Patch from Stefan Gehn to implement copying from a pixmap, bug
	#348493.

335 336 337 338 339 340
2007-08-29  Kristian Rietveld  <kris@imendio.com>

	* gtk/gtksettings.c: lower the default timeout values for
	gtk-tooltip-timeout and gtk-tooltip-browse-timeout. (#451202,
	Richard Hult).

341 342 343 344 345 346 347
Thu Aug 23 15:32:09 2007  Tim Janik  <timj@imendio.com>

	* gdk/x11/gdkgeometry-x11.c (_gdk_window_process_expose): fix
	X serial handling to cope with wraparounds and maintain referential
	integrity when removing list nodes. based on a patch by Hui Wang,
	fixes #461648.

348 349 350 351 352
2007-08-27  Stefan Kost  <ensonic@users.sf.net>

	* gtk/gtkwindow.c: Update menu accelerators, when adding/removing
	AccelGroups dynamically. (#469374)

353 354 355 356 357 358 359
2007-08-27  Cody Russell  <bratsche@gnome.org>

	* modules/engines/ms-windows/msw_style.c: Correct draw_box()
	function to check detail for "notebook".  This fixes a problem
	where notebooks without visible headers were not styling
	correctly. (#470033, Daniel Atallah and Cody Russell)

360
2007-08-23  Cody Russell  <bratsche@gnome.org>
361

362 363 364 365
	* gtk/gtkwindow.c (gtk_window_group_remove_window: Use the
	correct type check on `window'.  We now check GTK_IS_WINDOW
	rather than GTK_IS_WIDGET. (#461483, Josselin Mouette)

366 367 368 369 370
2007-08-23  Cody Russell  <bratsche@gnome.org>

	* Makefile.am: Fix make dist failure by changing 
	README.cvs-commits to README.commits. (#469395, Frederic Peters)

371 372 373 374 375
2007-08-23  Cody Russell  <bratsche@gnome.org>

	* HACKING: Change references to README.cvs-commits so they say
	README.commits.

376 377 378 379 380
2007-08-23  Jan Arne Petersen  <jpetersen@jpetersen.org>

	* gtk/gtkbuilderparser.c: (text): Duplicate the string returned by
	d[n]gettext before it is potentially freed. (#461945)

381 382 383 384 385 386 387 388 389 390 391 392 393 394 395
2007-08-23  Emmanuele Bassi  <ebassi@gnome.org>

	* gtkfilechooserdefault.c:
	(search_hit_get_info_cb), (recent_item_get_info_cb): Check if
	we are still holding the model before updating it; removes a
	set of critical warnings when switching to the browse mode from
	a loading search or recent files list.

	(recent_clear_model), (recent_sort_model),
	(recent_idle_cleanup): When in recent files mode, set the
	model for the files list view when we have completed the loading
	of the recently used files list. This makes switching between
	modes fast again and reduces the amount of redraws needed
	to display the list. (#469214)

396 397 398 399 400
2007-08-22  Emmanuele Bassi  <ebassi@gnome.org>

	* configure.in: Remove oc (Occitane) from LINGUAS and unbreak
	the build.

401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420
2007-08-22  Kristian Rietveld  <kris@imendio.com>

	Do not allow the cursor to go to a separator row.  Fixes #441219,
	modified patch by Carlos Garnacho.

	* gtk/gtktreeview.c (row_is_separator): new inline function
	for calling the row-separator-func, made all of gtktreeview.c use
	this function instead of calling the func themselves,
	(gtk_tree_view_button_press): treat a click on a separator like
	a click on empty space,
	(gtk_tree_view_update_rubber_band_selection_rage): skip
	non-selectable rows,
	(search_first_focusable_path),
	(gtk_tree_view_focus_to_cursor),
	(gtk_tree_view_move_cursor_up_down),
	(gtk_tree_view_move_cursor_page_up_down),
	(gtk_tree_view_move_cursor_start_end): skip separators,
	(gtk_tree_view_real_set_cursor): do not allow setting the cursor
	on a separator.

421 422 423 424 425
2007-08-22  Tristan Van Berkom  <tvb@gnome.org>

	* gtk/gtkframe.c: Corrected the published default value of
	GtkFrame::label-xalign (bug 460272).

426 427 428 429 430 431
2007-08-21  Kristian Rietveld  <kris@imendio.com>

	* gtk/gtktooltip.c (gtk_tooltip_init),
	(gtk_tooltip_window_style_set): update alignment padding after
	theme changes. (Fixes #467003, patch by Benjamin Berg).

432 433 434 435 436 437
2007-08-21  Kristian Rietveld  <kris@imendio.com>

	* gtk/gtktooltip.c (_gtk_tooltip_handle_event): always set
	hide_tooltip to TRUE if we are handling a leave notify event. (Fixes
	#468245, reported by Dennis Jacobfeuerborn).

438 439 440 441 442
2007-08-21  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkpaned.c (gtk_paned_class_init): applied patch from Mikael
	Hallendal which documents GtkPaned's keybinding signals (#467117).

443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458
2007-08-21  Kristian Rietveld  <kris@imendio.com>

	Fix #457642, reported by Christian Persch.

	* gtk/gtktooltip.c: added debugging output which can be compiled
	in with a #define, annotated all coordinate translations in the
	source code,
	(find_widget_under_pointer): remove the "no-window correction";
	always convert the coordinates from window relative to allocation
	relative; after recursing through a container, translate the
	coordinates from container allocation relative to child widget
	allocation relative;
	(find_topmost_widget_from_event): now we get allocation relative
	coordinates here we do not have to distinguish no-window and window
	widgets.

459 460 461 462 463
2007-08-18  Cody Russell  <bratsche@gnome.org>

	* gtk/gtkimcontextsimple.c: Fixed incorrect compose mapping
	for capital U with macron. (#468055, Aaron Crane)

464 465 466 467
2007-08-17  Cody Russell  <bratsche@gnome.org>

	* Renamed README.cvs-commits to README.commits

468 469 470 471 472 473
2007-08-17  Cody Russell  <bratsche@gnome.org>

	* HACKING
	* README.cvs-commits: Updated documentation about SVN, and
	updated dependency information.  (#447883, Yesudeep Mangalapilly)

474 475 476 477
Fri Aug 17 11:36:29 2007  Tim Janik  <timj@imendio.com>

	* gtk/gtkmenu.c (gtk_menu_popup): Clarified activate_time docs.

478 479 480 481 482
2007-08-16  Cody Russell  <bratsche@gnome.org>

	* gdk/win32/cursor.bdf: Committing changes to the source
	bdf font file that I forgot to commit yesterday for #458088.

483 484 485 486 487 488 489 490 491
2007-08-15  Cody Russell  <bratsche@gnome.org>

	* gdk/win32/xcursors.h: Modified the sb_h_double_arrow and
	sb_v_double_arrow mouse cursors to match the ones that Windows
	uses for split container controls.  This allows our paned
	widgets to be more easily identified as paned widgets on
	Windows, since we don't have any prelighting on the draggable
	pane part.  (#458088)

492 493 494 495 496
2007-08-15  Cody Russell  <bratsche@gnome.org>

	* gtk/gtkcontainer.c: Another documentation fix that I forgot to
	commit yesterday.  (#459340, Guillaume Cottenceau)

497 498 499 500 501 502 503 504
2007-08-14  Cody Russell  <bratsche@gnome.org>

	* gtk/gtkwidget.c
	* gtk/gtkscrolledwindow.c
	* gtk/gtklabel.c: Correct documentation that refers to the
	deprecated gtk_widget_set_usize() API.  Refer instead to
	gtk_widget_set_size_request().  (#459340, Guillaume Cottenceau)

505 506 507 508 509 510
2007-08-14  Kristian Rietveld  <kris@imendio.com>

	* gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): make
	sure we fail keynav if the only item in the list is already selected.
	(Fixes #465039, reported by Fernando Herrera).

511 512 513 514 515 516
2007-08-09  Sven Neumann  <sven@gimp.org>

	* modules/printbackends/file/gtkprintbackendfile.c: change the
	file extension when the file format is changed in the Print dialog
	(#356630).

517 518 519 520 521 522
2007-08-09  Stefan Kost  <ensonic@users.sf.net>

	* docs/reference/gtk/tmpl/gtkruler.sgml:
	* gtk/gtkruler.c:
	Move documentation of gtk_ruler_set_range() to source and fix nonsense.

523 524 525 526 527
2007-08-08  Mikael Hallendal  <micke@imendio.com>

	* gtk/gtkcombobox.c (gtk_combo_box_class_init): 
	Document the new signals popup, popdown and move-active.

Matthias Clasen's avatar
Matthias Clasen committed
528 529 530 531
2007-08-07  Matthias Clasen  <mclasen@redhat.com>
	
	* MAINTAINERS: Follow new format regulations.

532 533
2007-08-07  Johan Dahlin  <jdahlin@async.com.br>

534 535 536 537 538 539
	* gtk/gtkbuilderparser.c (text): 
	* gtk/gtkcelllayout.c (attributes_text_element): 
	* gtk/gtkliststore.c (list_store_text): 
	Do not assume that text is null-terminated as pointed out by
	Christopher Fergeau
	
540 541 542 543
	* gtk/gtkbuilderparser.c (text): Use g_strdup on the translated
	string instead of g_strndup() + the length of the untranslated
	string. (#461945, Claude Paroz)

544 545 546 547 548 549 550
2007-08-07  Kristian Rietveld  <kris@imendio.com>

	* gtk/gtktooltips.c (gtk_tooltips_init),
	(gtk_tooltips_destroy), (gtk_tooltips_force_window): create a dummy
	tip_window and tip_label, so old applications with code accessing
	those fields won't crash.

551 552 553 554 555
2007-08-07  Kristian Rietveld  <kris@imendio.com>

	* gtk/gtktooltip.c (_gtk_tooltip_handle_event): Disable tooltips
	in touchscreen mode.

556 557 558 559 560
2007-07-31  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkwindow-quartz.c: (gdk_window_get_geometry):
	Implement, fixes bug #405868. Based on patch from metz81@web.de.

561 562 563 564 565 566
2007-07-31  Xan Lopez  <xan@gnome.org>

	* gtk/gtkentry.c (gtk_entry_completion_key_press): reset the
	completion prefix on Enter too, plug potential leak.
	Follow-up to #458298

567 568 569 570 571 572
2007-07-31  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktooltip.c (gtk_tooltip_init): Make the label
	wrap, for compatibility with the old tooltips code. This
	fixes absurdly long tooltips in the color selector.

573 574 575 576 577
2007-07-30  Kristian Rietveld  <kris@imendio.com>

	* gtk/gtktreeview.c (gtk_tree_view_set_tooltip_cell): Fix
	documentation. (#461225, Murray Cumming).

578 579 580 581 582 583 584 585 586 587 588
2007-07-29  Emmanuele Bassi  <ebassi@gnome.org>

	* gtk/gtkrecentchooser.c: Add documentation for properties
	and fix the deprecation marker for the show-numbers
	accessor functions (Murray Cumming).

	* gtk/gtkrecentchooser.h: Add deprecation guards around
	gtk_recent_chooser_set_show_numbers() and
	gtk_recent_chooser_get_show_numbers(), as promised during
	last development cycle.

589 590 591 592 593 594
2007-07-27  Attilio Fiandrotti  <attilio.fiandrotti@gmail.com>

        * gdk/directfb/gdkcursor-directfb.c: Attempts to load
          stock X cursors no longer results in annoying error
          messages under DirectFB

595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614
2007-07-27  Michael Natterer  <mitch@imendio.com>

	Fix check/radio indicator drawing mess (bug #452225):

	* gtk/gtkstyle.c (gtk_default_draw_check): really decrease the
	indicator size by one to ensure odd size (don't say -= -1).

	* gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_render):
	removed -1 adjustment from calls to gtk_paint_option(). Theme
	engines now get the actually configured size passed, not one pixel
	less.

	* gtk/gtkcellrenderertoggle.c
	* gtk/gtkcheckmenuitem.c: changed default indicator size from 12
	to 13 so all widgets which draw check/option indicators have the
	same default size now (and render the same size after above
	changes).

	* README.in: mention above changes in the release notes.

615 616 617 618 619
2007-07-27  Wouter Bolsterlee  <wbolster@svn.gnome.org>

	* Makefile.am: Include ChangeLog.pre-2-10 in tarballs as
	well (seems to be forgotten).

620 621 622 623 624 625 626
2007-07-25  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktooltip.c (_gtk_tooltip_handle_event): Call
	gtk_tooltip_hide_tooltip() even if the tooltip is not
	visible yet. This fixes annoying dangling tooltips
	on systray icons.  

Matthias Clasen's avatar
Matthias Clasen committed
627 628 629 630
2007-07-24  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkiconcachevalidator.c: Silence the validator.

631 632
2007-07-24  Matthias Clasen  <mclasen@redhat.com>

633 634 635 636 637 638 639 640 641
	* gtk/gtkmenutoolbutton.c: Remove obsolete set-tooltip 
	handler.  (#458280, Christian Persch)

2007-07-24  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkcolorsel.c:
	* gtk/gtkfilechooserdefault.c:
	* gtk/gtkpagesetupunixdialog.c:
	* gtk/gtkprintunixdialog.c: Port to use new tooltips API.  
642 643
	(#451397, Jan Arne Petersen)

Tor Lillqvist's avatar
Tor Lillqvist committed
644 645 646 647
2007-07-24  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkkeys-win32.c (update_keymap): Cosmetic changes.

648 649 650 651 652 653
2007-07-24  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkmenubar.c (window_key_press_handler):
	* gtk/gtkmenu.c (gtk_menu_key_press): Restructure the code
	to make sense, and don't leak an empty accel.  (#459515, Owen Taylor)

654 655
2007-07-23  Matthias Clasen  <mclasen@redhat.com>

656 657 658 659
	* gtk/gtktooltip.c (gtk_tooltip_set_custom): Protect against
	recursion via gtk_container_remove().  (#459561, Christian Persch)
	(gtk_tooltip_window_hide): Simplify.

660 661
	* tests/testtooltips.c: Add code to test gtk_tooltip_set_custom()

662 663 664 665 666
2007-07-23  Christian Persch  <chpe@gnome.org>

	* tests/testtooltips.c: (query_tooltip_tree_view_cb): Remove obsolete
	code. Bug #459566.

667 668 669 670 671 672 673
2007-07-23  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktreeview.c:
	* gtk/gtkiconview.c:
	* gtk/gtkscalebutton.c: Fix some doc formatting errors.
	(#459313, Gian Mario Tagliaretti)

674 675 676 677 678 679 680 681
2007-07-23  Matthias Clasen  <mclasen@redhat.com>

	* configure.in: Dectect if cups allows access to the http_t
	authstring field.  

	* modules/printbackends/cups/gtkcupsutils.c: Rely on the
	HAVE_HTTP_AUTHSTRING define done by configure.

682 683 684 685 686 687 688 689 690 691 692 693 694 695
2007-07-23  Emmanuele Bassi  <ebassi@gnome.org>

	* gtk/gtkrecentchooserdefault.c: Port the GtkRecentChooser default
	implementation widget to the new tooltips API, and make it look
	like the GtkFileChooser widget in recent files mode (move the
	full path from the widget to a tooltip on the row) to improve
	consistency.

	* gtk/gtkrecentchoosermenu.c: Port the GtkRecentChooserMenu widget
	to the new tooltips API.

	* tests/testrecentchooser.c:
	* tests/testrecentchoosermenu.c: Exercise the tooltips code paths.

696 697 698 699 700 701
2007-07-22  Ross Burton  <ross@openedhand.com>

	* gtk/gtkscrolledwindow.c:
	Correctly redraw when gtk-scrolled-window-placement is changed
	after the widget is realised (#458102)

Matthias Clasen's avatar
Matthias Clasen committed
702 703 704 705
2007-07-22  Matthias Clasen  <mclasen@redhat.com>

	* gdk/x11/gdkkeys-x11.c: Some documentation fixes.

706 707 708 709 710
2007-07-21  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktooltips.[hc]: Rename the tips_data_list field
	back.  (#447214)

711 712 713 714 715 716
2007-07-21  Matthias Clasen  <mclasen@redhat.com>

	* configure.in: Bump version

	* === Released 2.11.6 ===

717 718 719 720 721 722
2007-07-20  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktooltip.c (gtk_tooltip_position): Don't pop up
	under the cursor.  This fixes tooltip-induced flickering 
	in the tasklist in a bottom panel.

723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746
2007-07-20  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkpathbar.c (make_directory_button): Don't leak
	a label.  (#455901, Christian Persch, Vincent Geddes)

2007-07-20  Matthias Clasen  <mclasen@redhat.com>

	Apply a patch by Emmanuele Bassi to limit the number
	of shown recent files.  (#439715)

	* gtk/gtksettings.c: Add a setting for the number
	of recent files to display by default.

	* gtk/gtkrecentchooserdefault.c: 
	* gtk/gtkfilechooserdefault.c: Respect the limit.

	* gtk/gtkrecentmanager.c: Remove the poll timeout in 
	dispose, and do not stat more often than every 5 seconds.

	* gtk/gtkrecentchooserutils.c:
	* gtk/gtkrecentchoosermenu.c: Cleanups

	* tests/testrecentchoosermenu.c: Test limits.

747 748 749 750 751 752
2007-07-20  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkfilechooserdefault.c: Apply a patch by Emmanuele
	Bassi to add tooltips to the file lists in recent files and
	search modes.

753 754 755 756 757 758 759 760 761
2007-07-20  Ryan Lortie  <desrt@desrt.ca>

	* gtk/gtkwidget.c (gtk_widget_is_composited): add note that the
	semantics of this call, when mixed with the new
	gdk_window_set_composited(), will change in the future.

	* gdk/x11/gdkevents-x11.c (gdk_event_translate): only grab Damage
	events that belong to us.

762 763 764 765 766 767 768 769 770
2007-07-19  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkentry.c (gtk_entry_completion_key_press): Handle
	keypresses better when there is no completion.  (#458298,
	Christian Persch, patch by Xan Lopez)

	* gtk/gtkentrycompletion.c
	(gtk_entry_completion_insert_completion_text): Small cleanup.

771 772 773 774 775
2007-07-19  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtksettings.c (apply_queued_setting): Merge color
	scheme before sending notification.  

Matthias Clasen's avatar
Matthias Clasen committed
776 777 778 779 780 781
2007-07-19  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktreeview.c (gtk_tree_view_set_tooltip_column):
	Only connect/disconnect signals when necessary, emit
	change notification.

782 783 784 785 786 787 788 789
2007-07-19  Kristian Rietveld  <kris@imendio.com>

	* gtk/gtktooltip.c (find_topmost_widget_coords_from_event): handle
	no-window and regular widgets seperately.

	* gtk/gtktreeview.c (gkt_tree_view_set_tooltip_cell): rect.x should
	be zero.

790 791 792 793 794 795 796 797
2007-07-19  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtk.symbols:
	* gtk/gtkiconview.h:
	* gtk/gtkiconview.c (gtk_icon_view_get_tooltip_context):
	(gtk_icon_view_[sg]et_tooltip_column: Add more convenience
	API parallel to the treeview convenience API.

798 799 800 801 802
2007-07-19  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktextview.c (gtk_text_view_compat_move_focus): 
	Initialized GValues before unsetting them.  (#457720)

803 804 805 806 807 808 809 810 811 812 813 814 815
2007-07-19  Kristian Rietveld  <kris@imendio.com>

	* gtk/gtk.symbols:
	* gtk/gtktreeprivate.h:
	* gtk/gtktreeview.[ch] (gtk_tree_view_get_tooltip_context),
	(gtk_tree_view_[sg]et_tooltip_column): add more convenience API.

	* tests/testtooltip.c (query_tooltip_tree_view_cb): use
	gtk_tree_view_get_tooltip_context().

	* demos/gtk-demo/demo.ui: add a tooltip column to the list store,
	set tooltip-column on the tree view.

816 817 818 819 820
2007-07-18  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkcursor-quartz.c (gdk_cursor_new_for_display): Ref
	the cursor in the cached case.

821 822 823 824 825 826
2007-07-18  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktreeview.c: Correct some mistakes in the 
	documentation of the test-expand/collapse-row signals.  
	(#457774, Olivier Andrieu)

Matthias Clasen's avatar
Matthias Clasen committed
827 828 829 830
2007-07-18  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkicontheme.c: Small cleanups

831 832 833 834 835
2007-07-17  Kristian Rietveld  <kris@imendio.com>

	* gtk/gtktooltip.c (find_widget_under_pointer): only do the
	coordinate check if tmp is not NULL.

836 837 838 839 840 841
2007-07-16  Kristian Rietveld  <kris@imendio.com>

	* gtk/gtktooltip.c (find_topmost_widget_coords_from_event): check
	if the pointer is really over the returned widget, since the
	coordinate check may not always be hit in find_widget_under_pointer().

842 843 844 845 846 847 848 849 850 851 852 853 854 855
2007-07-16  Matthias Clasen <mclasen@redhat.com>

	Fix some issues with some combinations of inline-selection
	and inline-completion.  (#457384, Christian Persch)

	* gtk/gtkentry.c (gtk_entry_completion_key_press): Don't store
	the completion_prefix here, and be careful when using 
	completion_prefix, because it may be NULL.
	* gtk/gtkentrycompletion.c (gtk_entry_completion_finalize):
	Free completion_prefix here.
	* gtk/gtkentrycompletion.c (gtk_entry_completion_real_insert_prefix):
	(gtk_entry_completion_insert_completion_text): Store the
	completion_prefix here.

856 857 858 859 860
2007-07-16  Matthias Clasen <mclasen@redhat.com>

	* gtk/gtkfilechooserbutton.c (model_add_special_get_info_cb):
	Plug a memleak. (#455721, Christian Persch)

861 862 863 864 865
2007-07-16  Matthias Clasen <mclasen@redhat.com>

	* gtk/gtkscalebutton.c: Apply a patch by Guillaume Cottenceau
	to improve the signal docs.  (#456258)

866 867 868 869 870
2007-07-16  Matthias Clasen <mclasen@redhat.com>

	* gtk/gtkwidget.c: Apply a patch by Xan Lopez to document
	a lot of GtkWidget signals.  (#172424)

871 872 873 874 875 876 877 878
2007-07-16  Matthias Clasen <mclasen@redhat.com>

	* gtk/gtk.symbols:
	* gtk/gtkiconview.h:
	* gtk/gtkiconview.c (gtk_icon_view_set_tooltip_item):
	(gtk_icon_view_set_tooltip_cell): Convenience functions to
	position tooltips on icon view items or cells.

Richard Hult's avatar
Richard Hult committed
879 880 881 882 883
2007-07-14  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkevents-quartz.c:
	(_gdk_quartz_events_update_cursor): Plug leak.

884 885 886 887 888 889 890 891 892 893 894 895
2007-07-13  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkprivate-quartz.h:
	* gdk/quartz/gdkevents-quartz.c: (gdk_window_is_ancestor): Move
	from here...
	* gdk/quartz/gdkwindow-quartz.c: (_gdk_quartz_window_is_ancestor):
	...to here.
	(_gdk_windowing_window_destroy): Update the mouse window if the
	destroyed window is an ancestor of the current one, not only if
	they are the same.
	(gdk_window_hide): Update the mouse window here too.

Richard Hult's avatar
Richard Hult committed
896 897 898 899 900
2007-07-13  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkcolor-quartz.c: (gdk_colors_alloc),
	(gdk_colors_free): Add stubs.

901 902 903 904 905 906 907 908 909
2007-07-13  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkrecentmanager.c (get_uri_shortname_for_display): Avoid
	gratitious use of g_strdup_printf().

	* gtk/gtkrecentchooserdefault.c:
	* gtk/gtkrecentchoosermenu.c: Mark some strings for 
	translation.  (#439480, Murray Cumming)

910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929
2007-07-13  Kristian Rietveld  <kris@imendio.com>

	#408327, improve tooltip positioning.

	* gtk/gtk.symbols: updated.

	* gtk/gtktooltip.[ch] (gtk_tooltip_position): factor out
	positioning code in here,
	(gtk_tooltip_set_tip_area): new function to set the tooltip
	area,
	(gtk_tooltip_reset), (_gtk_tooltip_handle_event): hide tooltip
	once the pointer leaves the tip area.

	* gtk/gtktreeview.[ch] (gtk_tree_view_set_tooltip_row),
	(gtk_tree_view_set_tooltip_cell): convenience functions to set
	tip area for row/column/cell.

	* tests/testtooltips.c (query_tooltip_tree_view_cb): use
	gtk_tree_view_set_tooltip_row.

930 931 932 933 934 935 936 937
2007-07-12  Cody Russell  <bratsche@gnome.org>

	* gdk/win32/gdkevents-win32.c
	* gdk/win32/gdkwindow-win32.[ch]: Fix transient windows on Win32
	so that when a transient child window is closed (particularly when
	there are 3 or more levels of transient windows), the correct window
	receives focus rather than a seemingly random window. (#112404)

938 939 940 941 942 943 944
2007-07-12  Attilio Fiandrotti  <attilio.fiandrotti@gmail.com>

	* gdk/directfb/gdkevents-directfb.c:
	* gdk/directfb/gdkwindow-directfb.c:
	* gdk/directfb/gdkprivate-directfb.h: Fixed memory leak at window closing,
	patch provided by Simon Lanzmich

945 946 947 948
Thu Jul 12 18:03:02 2007  Tim Janik  <timj@gtk.org>

	* gdk/gdk.c (gdk_threads_add_idle_full): clarified documentation example.

Matthias Clasen's avatar
Matthias Clasen committed
949
2007-07-12  Matthias Clasen  <mclasen@redhat.com>
Matthias Clasen's avatar
Matthias Clasen committed
950

Matthias Clasen's avatar
Matthias Clasen committed
951
	* gtk/gtktextivew.c: 
Matthias Clasen's avatar
Matthias Clasen committed
952 953 954 955 956 957 958 959 960
	* gtk/gtkclipboard.c: Add documentation.

2007-07-11  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkcelleditable.c:
	* gtk/gtkcellrenderer.c:
	* gtk/gtkcellrenderercombo.c:
	* gtk/gtkcellrenderertext.c: Add more documentation.

961 962 963 964 965
2007-07-11  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktreeview.c:
	* gtk/gtktoolitem.[hc]: Make parameter naming consistent.

Matthias Clasen's avatar
Matthias Clasen committed
966 967 968 969 970 971
2007-07-11  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkrange.c:
	* gtk/gtkbindings.c: 
	* gtk/gtkscalebutton.c: Small doc fixes.

Matthias Clasen's avatar
Matthias Clasen committed
972 973 974 975 976 977
2007-07-11  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkplug.c:
	* gtk/gtksocket.c: Move docs inline, and add some missing
	docs.  

978 979 980 981 982 983
2007-07-11  Kristian Rietveld  <kris@imendio.com>

	* gtk/gtktreeview.c (gtk_tree_view_*_to_*_coords): x should be
	changed when converting widget <=> bin_window coordinates, not
	when bin_window <=> tree_window.

984 985 986 987 988 989 990 991 992 993 994 995 996
2007-07-11  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtk.symbols:
	* gtk/gtkiconview.[hc]
	(gtk_icon_view_convert_widget_to_bin_window_coords): New
	function to convert widget coords to what is expected by
	the at_pos functions.  (#455984)

2007-07-11  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkwiget.c: Don't include gtktooltips.h, it is
	not needed anymore.

997 998 999 1000 1001 1002 1003 1004 1005 1006 1007
2007-07-11  Christian Persch  <chpe@gnome.org>

	* gtk/gtkaction.c: (gtk_action_buildable_set_name),
	(gtk_action_finalize), (gtk_action_set_property),
	(gtk_action_get_property):
	* gtk/gtkactiongroup.c: (gtk_action_group_init),
	(gtk_action_group_add_action),
	(gtk_action_group_add_action_with_accel),
	(gtk_action_group_remove_action): Intern the action's name. Saves two
	string duplicates of it per action; bug #455645.

1008 1009 1010 1011 1012 1013 1014 1015
2007-07-10  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkwindow-quartz.c: (gdk_window_new),
	(show_window_internal), (gdk_window_show), (gdk_window_hide): Add
	hack to workaround the broken tracking rect implementation in
	quartz, that doesn't seem to produce events if the window shows up
	under the mouse.

1016 1017 1018 1019 1020 1021 1022 1023
2007-07-10  Kristian Rietveld  <kris@imendio.com>

	* gtk/gtk.symbols:
	* gtk/gtkwidget.[ch] (gtk_widget_{get,set}_has_tooltip): add
	getter/setter pair, slight addition to has-tooltip property
	documentation,
	(gtk_widget_real_set_has_tooltip): renamed internal function.

1024 1025 1026 1027 1028 1029 1030 1031
2007-07-10  Christian Persch  <chpe@gnome.org>

	* gtk/gtkaction.c: (gtk_action_sync_tooltip),
	(gtk_action_set_tooltip):
	* gtk/gtkuimanager.c: (update_node): Remove work-around for the old
	tooltips code, and just set the action tooltip immediately on the
	proxy widget. Bug #455482.

1032 1033 1034 1035 1036 1037 1038
2007-07-10  Kristian Rietveld  <kris@imendio.com>

	* gtk/gtktooltip.c (find_widget_under_pointer),
	(child_location_foreach): use gtk_container_forall, instead of
	gtk_container_foreach().  Makes tooltips on notebook tabs work. (Fixes
	bug reported by Christian Persch).

1039 1040 1041 1042 1043
2007-07-10  Kristian Rietveld  <kris@imendio.com>

	* gtk/gtktooltip.c (child_location_foreach): ignore invisible
	(!drawable) widgets.  (Fixes bug reported by Paolo Borelli).

Matthias Clasen's avatar
Matthias Clasen committed
1044 1045 1046 1047
2007-07-10  Matthias Clasen  <mclasen@redhat.com>

	* README.in: Make sure all deprecations are mentioned.

Matthias Clasen's avatar
Matthias Clasen committed
1048 1049 1050 1051
2007-07-10  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkrecentmanager.c: Fix some doc formatting

Matthias Clasen's avatar
Matthias Clasen committed
1052 1053 1054 1055
2007-07-10  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtk-builder-convert: Fix a typo

Matthias Clasen's avatar
Matthias Clasen committed
1056 1057 1058 1059
2007-07-10  Matthias Clasen  <mclasen@redhat.com>

	* NEWS: Updates

1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070
2007-07-09  Matthias Clasen  <mclasen@redhat.com>

	* gtklabel.[ch]: Use a bit of the GtkLabel structure to
	remember that a pattern has been set.
	(gtk_label_set_pattern_internal): Don't do anything if 
	a specific pattern has been set.
	(gtk_label_set_pattern): set the new bit to TRUE when 
	setting a pattern, and recalculate everything if the 
	pattern is unset. Fix gtk_label_set_pattern() not working 
	anymore.  (#452861, Vincent Untz)

1071 1072 1073 1074 1075
2007-07-09  Claude Paroz  <claude@2xlibre.net>

	* configure.in: Changed uz to uz@cyrillic and uz@Latn to uz.
	See bug #451164.

1076 1077 1078 1079 1080
2007-07-09  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkvolumebutton.c: Remove deprecated tooltips,
	use new tooltips API.  (#449311, Jan Arne Petersen)

1081 1082 1083 1084 1085
2007-07-09  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkselection.c (normalize_to_crlf): Don't ignore
	the passed-in len parameter.  (#430049, Yevgen Muntyan)

1086 1087 1088 1089 1090
2007-07-09  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkframe.c (gtk_frame_size_allocate): Improve the
	handling of broken situations.  (#427899, Francesco Montorsi)

1091 1092 1093 1094 1095 1096
2007-07-09  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkviewport.c (gtk_viewport_size_request): Changed size 
	requisition so the viewport does not add the border thickness 
	if it has GTK_SHADOW_NONE selected.  (#361781, Miguel Gomez)

1097 1098 1099 1100 1101
2007-07-09  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktooltip.c (gtk_tooltip_trigger_tooltip_query): 
	Fix a typo in the docs.  (#453930, Guillaume Cottenceau)

1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135
2007-07-09  Kristian Rietveld  <kris@imendio.com>

	Replace non-deprecated API using old tooltips API, deprecate
	old tooltips API for real. (#451575).

	* gtk/gtk.symbols: updated.

	* gtk/gtkwidget.c (gtk_widget_real_show_help): don't call
	_gtk_tooltips_toggle_keyboard_mode() anymore.

	* gtk/gtkmenutoolbutton.[ch] (gtk_menu_tool_button_set_arrow_tooltip):
	deprecated,
	(gtk_menu_tool_button_set_arrow_tooltip_{text,markup}): replacements.

	* gtk/gtktoolitem.[ch] (gtk_tool_item_real_set_tooltip): use
	new API,
	(gtk_tool_item_set_tooltip): deprecated,
	(gtk_tool_item_set_tooltip_{text,markup): replacements.
	(GtkToolItemClass:set_tooltip): deprecated.

	* gtk/gtktooltips.[ch]: strip out all unused parts, made
	gtk_tooltips_set_tip() call gtk_widget_set_tooltip_text(),
	deprecate all of gtk_tooltips_*.

	* gtk/gtktoolbar.[ch] (gtk_toolbar_get_tooltips): always return
	TRUE,
	(GtkToolbar:tooltips): deprecated, renamed.

	* gtk/gtkaction.c (gtk_action_sync_tooltip): use new API to
	set the tooltip text.

	* tests/autotestfilechooser.c: #undef GTK_DISABLE_DEPRECATED for now,
	will be removed GtkFileChooserDefault has been converted.

1136 1137 1138 1139 1140 1141
2007-07-09  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktreeview.c
	(gtk_tree_view_convert_bin_window_to_widget_coords:
	Fix a typo in the docs.  (#453673, Guillaume Cottenceau)

1142 1143 1144 1145 1146
2007-07-09  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkcombobox.c (gtk_combo_box_model_row_deleted): Emit 
	::changed when removing the active row.  (#452056, Paul Pogonyshev)

1147 1148 1149 1150 1151
2007-07-09  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtksearchenginesimple.c: Address some thread-safety
	issues.  (#452598)

1152 1153 1154 1155 1156
2007-07-09  Matthias Clasen  <mclasen@redhat.com>

	* modules/printbackends/*/Makefile.am: Fix build problems
	on Cygwin.  (#448604)

1157 1158 1159 1160 1161
2007-07-09  Jaap Haitsma  <jaap@haitsma.org>

	* gtk/gtkstatusicon.c: Remove usage of deprecated GtkTooltips API. Use
	gtk_widget_set_tooltip_text instead

1162 1163 1164 1165 1166
2007-07-09  Johan Dahlin  <jdahlin@async.com.br>

	* gtk/gtktooltip.c:
	* gtk/gtktooltip.h: Make the GTK_TOOLTIP and GTK_IS_TOOLTIP macros public.

1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181
2007-07-09  Johan Dahlin,,,  <jdahlin@lozenge>

	* demos/gtk-demo/demo.ui:
	* gtk/gtk-builder-convert:
	* gtk/gtkactiongroup.c: (gtk_action_group_buildable_init),
	(gtk_action_group_buildable_add_child),
	(accelerator_start_element),
	(gtk_action_group_buildable_custom_tag_start),
	(gtk_action_group_buildable_custom_tag_end):
	* gtk/gtkuimanager.c: (child_hierarchy_changed_cb),
	(gtk_ui_manager_buildable_construct_child):
	* tests/buildertest.c: (test_uimanager_simple):

	Add actiongroup/action accelerator support for builder. #454654

1182 1183 1184 1185 1186
2007-07-08  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkbuilderparser.c (pgettext): Support old-style
	message contexts, too. 

1187 1188 1189 1190 1191
2007-07-08  Johan Dahlin  <jdahlin@async.com.br>

	* gtk/gtk-builder-convert: Improve the way properties
	are copied over from a menuitem to an action.
	
1192 1193
2007-07-08  Johan Dahlin  <jdahlin@async.com.br>

1194 1195 1196 1197 1198
	* gtk/gtk-builder-convert (GtkBuilderConverter._convert_menuitem): Convert
	GtkMenus which are not part of a GtkMenuBar. Also move over activate signals
	when converting a GtkMenuItem subclass to an action. 
	(#454830, Bastien Nocera)

1199 1200 1201
	* gtk/gtkbuilderparser.c (parse_signal): Parse last_modification_time
	attribute in <signal> tag

1202 1203 1204 1205 1206 1207
2007-07-07  Matthias Clasen <mclasen@redhat.com>

	* gtk/gtkbuilderprivate.h:
	* gtk/gtkbuilderparser.c: Support context and comments
	for properties.

1208 1209 1210 1211
2007-07-07  Matthias Clasen <mclasen@redhat.com>

	* gtk/gtkwidget.c: Fix some typos, and a memory management bug.  

1212 1213 1214 1215 1216 1217 1218 1219 1220
2007-07-08  Johan Dahlin  <jdahlin@async.com.br>

	* gtk/gtkwidget.c (gtk_widget_buildable_custom_tag_start): 
	Parse <accessibility> but don't do anything yet.
	* gtk/gtk-builder-convert (GtkBuilderConverter._parse): 
	Do not strip atk/accessibility tags
	* tests/buildertest.c (test_widget): 
	Test this
	
1221 1222
Sun Jul  8 01:33:45 2007  Tim Janik  <timj@gtk.org>

1223
	* gdk/gdkwindow.c: docu fixup by Bjoern Lindqvist, #454703.
1224

1225 1226 1227 1228 1229 1230 1231 1232 1233
2007-07-07  Richard Hult  <richard@imendio.com>

	* gdk/quartz/GdkQuartzWindow.c ([GdkQuartzWindow -windowDidResignMain:]) 
	([GdkQuartzWindow -windowDidBecomeMain:]): 
	* gdk/quartz/gdkwindow-quartz.c (_gdk_quartz_window_did_resign_main)
	(_gdk_quartz_window_did_become_main, gdk_window_hide)
	(_gdk_windowing_window_destroy): Keep a stack of main windows and
	select the most recent one when hiding/closing the current one.

1234 1235 1236 1237
2007-07-07  Johan Dahlin  <jdahlin@async.com.br>

	* gtk/gtk-builder-convert (GtkBuilderConverter._convert_textview_text): 
	Convert GtkTextView::text properties
1238 1239 1240 1241 1242 1243
	(GtkBuilderConverter): Refactor; Optimize widget lookups by not
	traversing the whole tree.
	Use a common api to create sizegroups, actiongroups and uimanagers
	to avoid name conflicts.
	Output newly created objects sorted by id before the old roots under
	<interface>
1244 1245
	(GtkBuilderConverter._parse): Remove unsupported atkrelation and atkproperty
	tags
1246 1247
	(GtkBuilderConverter._convert_menuitem): Add support for CheckMenuItems
	and do not set name and action on separators
1248 1249
	(GtkBuilderConverter._add_action_from_menuitem): Only set stock_id
	on the action if the menuitem had a stock or label property set
1250

1251 1252 1253 1254 1255 1256 1257
2007-07-06  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkprivate-quartz.h:
	* gdk/quartz/gdkwindow-quartz.c:
	* gdk/quartz/GdkQuartzWindow.c: Fix (de)miniaturizing transient
	windows, by (un)setting the parent before and after miniaturizing.

Richard Hult's avatar
Richard Hult committed
1258 1259 1260 1261 1262
2007-07-06  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkkeys-quartz.c (gdk_keymap_have_bidi_layouts): Add
	stub.

1263 1264 1265 1266 1267
2007-07-06  Johan Dahlin  <jdahlin@async.com.br>

	* gtk/gtkbuilder.c (gtk_builder_get_type_from_name): Add a missing
	semi-colon in the doc string, spotted by Johannes Sasonko

Matthias Clasen's avatar
Matthias Clasen committed
1268 1269 1270 1271 1272
2007-07-05  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkbuilder.c: Support pixbuf properties by specifying
	a filename as the property value.  (#447966)

1273 1274 1275 1276 1277
Wed Jul  4 12:20:23 2007  Tim Janik  <timj@imendio.com>

	* gdk/gdkevents.c (gdk_event_request_motions): added usage example
	to gdk_event_request_motions() docs.

1278 1279 1280 1281 1282 1283 1284 1285
2007-07-04  Tor Lillqvist  <tml@novell.com>

	* gtk/gtkstatusicon.c: On Win32 call
	gtk_status_icon_button_press() in an idle callback and not
	directly from the window procedure to avoid "g_main_loop_run():
	called recursively from within a source's check() or prepare()
	member, iteration not possible" warnings.

1286 1287 1288 1289 1290 1291 1292
2007-07-04  Chris Wilson  <chris@chris-wilson.co.uk>

	* gtk/gtkrecentchoosermenu.c (idle_populate_func),
	(idle_populate_clean_up), (gtk_recent_chooser_menu_populate):
	Remove a surplus GDK_THREADS_LEAVE() and avoid a potential use after
	free in the source destroy notify. (#453033)

1293 1294
2007-07-04  Johan Dahlin  <jdahlin@async.com.br>

1295 1296 1297 1298
	* gtk/gtkcelllayout.c (_gtk_cell_layout_buildable_add_child): 
	pack children from the start instead of the end, this should
	probably be made configurable at some point.

1299 1300 1301 1302
	* gtk/gtk-builder-convert:
	Add support for converting GtkComboBox items, also make sure
	that we support more than one GtkAdjustment in a file

1303 1304 1305 1306 1307 1308
2007-07-03  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkevents-quartz.c: Keep track of button state and
	include it in key events. Needed for gimp's selection tools and
	fixes bug #453411.

Matthias Clasen's avatar
Matthias Clasen committed
1309 1310 1311 1312 1313
2007-07-03  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkbuilder.c: Fix some typos in docs.  (#452278,
	Adam Schreiber)

1314 1315 1316 1317 1318
2007-07-03  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkevents-quartz.c (create_key_event): Include
	modifier state in key release events. Fixes bug #453413.

1319 1320 1321 1322 1323 1324 1325
2007-07-03  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkcelllayout.c (attributes_text_element): Report
	errors about integer parsing back up.  (#452988)

	* tests/buildertest.c: Add an extra check.

1326 1327 1328 1329 1330 1331
2007-07-03  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkbutton.c (gtk_button_construct_child): Don't leave
	priv->image dangling when use-stock is set to FALSE.  (#437281,
	Jochen Baier)

1332 1333 1334 1335 1336 1337 1338
2007-07-03  Tor Lillqvist  <tml@novell.com>

	* configure.in: Handle GDK_PIXBUF_EXTRA_LIBS like GDK_EXTRA_LIBS,
	i.e. clear it if enable_explicit_deps isn't on. If we build with
	--with-included-loaders and --enable-explicit-deps=no we don't
	want -ltiff -ljpeg etc in the gdk-pixbuf-2.0.pc file.

1339 1340 1341 1342 1343
2007-07-03  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkkeys-win32.c (gdk_keymap_have_bidi_layouts):
	Implement. Just return FALSE for now. What should this function
	actually do? Does keyboards layouts being "in use" mean that such
Tor Lillqvist's avatar
Tor Lillqvist committed
1344 1345
	layouts can be switched to on the fly using some extra-GTK+
	mechanism? If so we need to actually check that.
1346

1347 1348 1349 1350 1351
2007-07-03  Tristan Van Berkom  <tvb@gnome.org>

	* gtk/gtkwidget.c: Fixed assertions from setting "tooltip-text" to NULL
	(bug 452425)

1352 1353
2007-07-03  Johan Dahlin  <jdahlin@async.com.br>

1354 1355 1356
	* gtk/gtk-builder-convert (GtkBuilderConverter._strip_root): Add a
	--root option. Filter empty properties. Convert GtkAdjustments.

1357 1358 1359 1360
	* gtk/gtkdialog.c (gtk_dialog_buildable_custom_finished): Mimic the behavior
	of gtk_dialog_add_action_widget closer, to make clicking on the buttons
	actually work.

Matthias Clasen's avatar
Matthias Clasen committed
1361 1362
2007-07-02  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
Matthias Clasen committed
1363 1364
	* configure.in: Bump version

Matthias Clasen's avatar
Matthias Clasen committed
1365 1366 1367 1368 1369 1370 1371 1372 1373
	* === Released 2.11.5 ===

	* tests/autotestkeywords.cc: Make platform includes
	conditional.

	* gtk/Makefile.am: File list fixes

	* NEWS: Updates

1374 1375 1376 1377 1378 1379 1380
2007-07-02  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtk.symbols:
	* gtk/gtktreeview.[ch] (gtk_tree_view_is_rubber_banding_active): new
	function to check whether a rubber banding operation is currently
	active.  (#393579, Christian Neumair).

Matthias Clasen's avatar
Matthias Clasen committed
1381 1382 1383 1384
2007-07-02  Matthias Clasen  <mclasen@redhat.com>

	* NEWS: Updates

1385 1386 1387 1388 1389
2007-07-02  Jan Arne Petersen  <jpetersen@jpetersen.org>

	* gtk/gtkscalebutton.c: (gtk_scale_button_update_icon): Add
	parentheses to fix the operator order in the icon selection.

1390 1391 1392 1393 1394 1395
2007-07-01  Johan Dahlin  <jdahlin@async.com.br>

	* gtk/gtk-builder-convert (GtkBuilderConverter): 
	Convert to getopt, improved documentation, change
	the script to require two arguments

1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409
2007-06-30  Richard Hult  <richard@imendio.com>

	Continue the event handling cleanup:

	* gdk/quartz/gdkevents-quartz.c: (synthesize_crossing_events):
	Don't do anything if the old and new windows are the same,
	simplifies the callers.
	(find_mouse_window_for_ns_event): Always return a window (root
	instead of NULL). Remove unneccessary check for the current mouse
	window being NULL, that was a workaround for a now fixed
	bug. Convert to root coordinates if we don't find a window.
	(synthesize_crossing_events_for_ns_event): Simplify and add
	comment.

1410 1411 1412 1413 1414 1415
2007-06-30  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkevents-quartz.c:
	(synthesize_crossing_events_for_ns_event): Simplify (get the
	origin directly from the window).

1416 1417 1418 1419 1420 1421 1422
2007-06-30  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkevents-quartz.c: (create_crossing_event),
	(synthesize_crossing_events), (find_mouse_window_for_ns_event),
	(synthesize_crossing_events_for_ns_event): No need to special case
	the root window now that it has the right size.

1423 1424 1425 1426 1427 1428 1429
2007-06-30  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkwindow-quartz.c:
	* gdk/quartz/gdkevents-quartz.c: Improve comments in those
	files. Add a debugging helper to print out information about a
	window.

1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441
2007-06-30  Johan Dahlin  <jdahlin@async.com.br>

	* gtk/gtkbuilder.c:
	* gtk/gtkbuilder.h:
	* gtk/gtkbuilderparser.c:
	* gtk/gtkbuilderprivate.h:
	* gtk/gtkwidget.c: 
	* tests/buildertest.c:

	Improve error handling for enum/flags, rename the converter functions
	to be consistent. Add tests. Fixes #452465

1442 1443 1444 1445 1446
2007-06-30  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkwindow-quartz.c: (gdk_window_get_origin): Make
	this work properly for the root window.

1447 1448 1449 1450
2007-06-30  Richard Hult  <richard@imendio.com>

	* gdk/quartz/GdkQuartzView.c: Improve the tracking rect updating:
	- No need to override setFrame.
1451 1452
	- Use our own size instead of the bounds from the view as it's not
	always updated before the tracking rect.
1453 1454 1455 1456 1457
	- Only reset the tracking rect if the new window is nil).
	
	* gdk/quartz/GdkQuartzWindow.c: Update the bounds of the content
	view when the window size changes.

Matthias Clasen's avatar
Matthias Clasen committed
1458 1459 1460 1461 1462
2007-06-30  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkbuilderparser.c (_gtk_builder_parse_boolean): 
	Use g_ascii_strdown() instead of a rolling our own.

1463 1464
2007-06-30  Johan Dahlin  <jdahlin@async.com.br>

1465 1466 1467 1468 1469 1470
	* gtk/gtkbuilderparser.c: (_get_type_by_symbol), (parse_object),
	(parse_child):
	* tests/buildertest.c: (test_types):
	Move type-func to <object> instead of <child>, add a test to
	make sure that it works as desired, #452463

1471 1472 1473 1474 1475 1476 1477
	* gtk/gtkbuilder.c: (gtk_builder_value_from_string_type):
	* gtk/gtkbuilderparser.c: (_gtk_builder_parse_boolean),
	(parse_property), (parse_signal):
	* gtk/gtkbuilderprivate.h:
	* tests/buildertest.c: (test_value_from_string):
	Make boolean string parsing consistent, #452464

Matthias Clasen's avatar
Matthias Clasen committed
1478 1479 1480 1481 1482
2007-06-30  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkbuilder.c:
	* gtk/gtkbuildable.c: Documentation updates.

1483 1484 1485 1486 1487 1488 1489
2007-06-29  Matthias Clasen  <mclasen@redhat.com>

	* gdk/gdk.symbols:
	* gdk/gdkkeys.h:
	* gdk/x11/gdkkeys-x11.c (gdk_keymap_have_bidi_layouts): New
	function to determine if keyboard layouts for both LTR and LTR 
	languages are in use. Refactor the direction caching code to
Matthias Clasen's avatar
Matthias Clasen committed
1490
	make this information available.  (#353805, Behnam Esfahbod)
1491

1492 1493 1494 1495 1496
2007-06-29  Matthias Clasen  <mclasen@redhat.com>

	* modules/printbackend/cups/gtkcupsutils.c (_post_check):
	(_get_check): Enable SSL support.  (#451070, Vince Busam)

1497 1498 1499 1500 1501 1502 1503 1504
2007-06-29  Johan Dahlin  <jdahlin@async.com.br>

	* gtk/gtkbuilder.c: (gtk_builder_finalize),
	(gtk_builder_get_parameters), (_gtk_builder_construct):
	* tests/buildertest.c:

	Improve reference counting, #447967

1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516
2007-06-29  Ryan Lortie  <desrt@desrt.ca>

	* tests/testgtk.c (create_composited_window): Connect the "destroy"
	signal so that the 'window' pointer is set back to NULL (like for the
	other examples).

	* gdk/x11/gdkwindow-x11.c (gdk_window_impl_x11_finalize): Don't
	destroy the Damage here.  By finalize() XDestroyWindow has already
	been called (and took the Damage with it).

	Bug #452046.

1517 1518 1519 1520 1521
2007-06-29  Emmanuele Bassi  <ebassi@gnome.org>

	* gtk/gtkrecentchooserdefault.c (recent_meta_data_func): Escape
	markup entities in the name and URI before displaying them.

1522 1523 1524 1525 1526 1527
2007-06-29  Emmanuele Bassi  <ebassi@gnome.org>

	* gtk/gtkrecentmanager.c (get_icon_for_mime_type): Do not
	cache the icon pixbufs but rely on the GtkIconTheme not to
	hit the disk cache too much (should tentatively fix #426987).

1528 1529 1530 1531 1532
2007-06-28  Mathias Hasselmann  <mathias.hasselmann@gmx.de>

	* modules/engines/ms-windows/msw_style.c: Draw no bevel
	when "GtkToolbar::shadow-type" is "none" (#450469).

1533 1534 1535 1536 1537 1538 1539
2007-06-28  Johan Dahlin  <jdahlin@async.com.br>

	* gtk/gtk-builder-convert (_indent): Prettify the output by
	running it through xmllint --format if xmllint is available 
	which also requires the subprocess module only available 
	in python 2.4 or later

1540 1541 1542 1543 1544 1545
2007-06-28  Christian Persch  <chpe@gnome.org>

	* gtk/gtkvolumebutton.c: (gtk_volume_button_class_init),
	(gtk_volume_button_init), (gtk_volume_button_dispose),
	(gtk_volume_button_update_tooltip): Make the volume button use range
	0.0 to 1.0 by default, and fix tooltips code to cope with different ranges.
Christian Persch's avatar
Christian Persch committed
1546
	Bug #451866.
1547

1548 1549 1550 1551 1552 1553 1554 1555
2007-06-28  Yevgen Muntyan  <muntyan@tamu.edu>

	* gtk/gtktextutil.c (_gtk_text_util_get_block_cursor_location):
	do right thing in one-character lines and at paragraph end (#448313).

	* configure.in: require pango-1.17.3 to get fixed pango_layout_index_to_line_x()
	(pango #448342).

1556 1557
2007-06-27  Johan Dahlin  <jdahlin@async.com.br>

1558 1559 1560 1561
	* gtk/gtkbuilderparser.c (parse_property): Use
	the attribute name in the error message instead of
	the value.
	
1562 1563 1564
	* demos/gtk-demo/demo.ui: Set name of Help menu
	to HelpMenu

1565 1566 1567 1568
	* gtk/gtkbuilder.c (apply_delayed_properties): 
	Print out the name of the right object in the warning
	(#451314, Philip Withnall)

1569 1570
	* gtk/gtk-builder-convert (GtkBuilderConverter._parse): Remove
	glade-interface doctype if found.
1571 1572
	(GtkBuilderConverter._convert): 
	Make sure that we can convert Gazpacho files too.
1573

1574 1575 1576 1577 1578 1579 1580
2007-06-27  Cody Russell  <bratsche@gnome.org>

	* modules/engines/ms-windows/msw_style.c (draw_themed_tab_button):
	Fixed, very hackishly, a one pixel error that occurs using the
	XP theme engine only on the left-most tab, if it is active, when
	the notebook is bottom-oriented. (#392283)

1581 1582
2007-06-27  Johan Dahlin  <jdahlin@async.com.br>

1583 1584 1585
	* tests/buildertest.c: (test_value_from_string): 
	Check the code and domain of GErrors instead of the string values
	
1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597
	* gtk/gtkbuilder.c: (gtk_builder_get_parameters),
	(gtk_builder_value_from_string),
	(gtk_builder_value_from_string_type):
	* gtk/gtkbuilder.h:
	* gtk/gtkcontainer.c: (gtk_container_buildable_set_child_property),
	(attributes_text_element):
	* gtk/gtkliststore.c: (list_store_text):
	* tests/buildertest.c: (test_value_from_string):

	Add GtkBuilder and GError arguments to gtk_builder_value_from_string
	and gtk_builder_value_from_string_type. (#451428)

1598 1599 1600 1601 1602 1603 1604 1605 1606
2007-06-27  Xan Lopez  <xan@gnome.org>

	* gtk/gtkvbbox.c (gtk_vbutton_box_size_allocate):
	* gtk/gtkhbbox.c (gtk_hbutton_box_size_allocate):

	Do not add border_width to the first button initial
	coordinate, since it's already taken into account in
	the allocation value. (#451484)

1607 1608 1609 1610 1611 1612 1613 1614 1615
2007-06-27  Michael Natterer  <mitch@imendio.com>

	Merged from maemo-gtk:

	* gtk/gtkmenu.c (gtk_menu_handle_scrolling): when updating the
	scroll arrows' state, make sure we don't overwrite the insensitive
	state that might have been set by the first scroll step hitting
	the top/bottom border of the menu.

1616 1617 1618 1619 1620
Wed Jun 27 13:27:21 2007  Tim Janik  <timj@gtk.org>

	* gtk/gtkradiobutton.[hc]: applied patch to improve variable names, 
	by Olivier Delhomme, #451527.

Tim Janik's avatar
Tim Janik committed
1621 1622
Wed Jun 27 11:57:41 2007  Tim Janik  <timj@imendio.com>

1623 1624
	* gtk/gtkstatusicon.c (gtk_status_icon_position_menu): fixed
	push_in description.
Tim Janik's avatar
Tim Janik committed
1625

1626 1627 1628 1629
2007-06-27  Johan Dahlin  <jdahlin@async.com.br>

	* gtk/gtkbuilderparser.c: Plug leaks in error code paths

1630 1631
2007-06-26  Johan Dahlin  <jdahlin@async.com.br>

1632 1633 1634
	* tests/buildertest.c (test_object_properties): 
	Add a test to check object properties

1635 1636 1637 1638 1639
	* gtk/gtkbuilder.h (enum): 
	* gtk/gtkbuilderparser.c (end_element): 
	* tests/buildertest.c (test_parser): 
	Set an error if we encounter properties without values set
	(#451303, Philip Withnall)
1640 1641
	(test_object_properties): Add a test

1642 1643 1644 1645 1646
	* demos/gtk-demo/builder.c (do_builder): Connect the
	destroy signal in the example instead of the ui file.
	Also set the screen and title of the window.
	(#451345, Thomas Rydzynski)

1647 1648 1649 1650 1651 1652 1653 1654
2007-06-26  Richard Hult  <richard@imendio.com>

	* gtk/gtkbuilder.c: (gtk_builder_value_from_string_type): Fix a
	bunch of small bugs when parsing property values
	(boolean/int/uint/long/ulong/float/double). Bug #451353.

	* tests/buildertest.c: Add tests for the above.

1655 1656 1657 1658 1659 1660 1661 1662
2007-06-26  Emmanuele Bassi  <ebassi@gnome.org>

	* gtk/gtkfilechooserdefault.c (list_mtime_data_func): Fix
	a typo in the previous commit.

	(shortcuts_append_desktop): Remove unused variable and
	hush the compiler warning.

1663 1664 1665 1666 1667 1668 1669 1670
2007-06-26  Emmanuele Bassi  <ebassi@gnome.org>

	* gtk/gtkfilechooserdefault.c (list_mtime_data_func): Show
	the time of last change in the file chooser, for files
	modified today or yesterday. (#324543)

	* configure.in: Check for localtime_r().

1671 1672 1673 1674 1675 1676
2007-06-26  Cody Russell  <bratsche@gnome.org>

	* modules/engines/ms-windows/xp_theme.[ch]
	* modules/engines/ms-windows/msw_style.c: Add support for 
	drawing checkboxes with inconsistent states. (Tor, #164809)

1677 1678 1679 1680 1681
2007-06-26  Johan Dahlin  <jdahlin@async.com.br>

	* gtk/gtk-builder-convert (GtkBuilderConverter.to_xml): Encode 
	the output in utf-8 as suggested by Bogdan Nicula

1682 1683 1684 1685 1686 1687
2007-06-22  Mathias Hasselmann  <mathias.hasselmann@gmx.de>
 
	* configure.in, tests/Makefile.am, tests/autotestkeywords.cc,
	tests/dummy-headers/*: Extend the C++ keyword test
	to include internal GDK headers (#449016).

1688 1689 1690 1691 1692 1693
2007-06-26  Mathias Hasselmann  <mathias.hasselmann@gmx.de>

	* ChangeLog, configure.in, tests/Makefile.am, 
	tests/autotestkeywords.cc: Create test for finding
	C++ keywords in public header files (#449016).

1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705
2007-06-26  Kristian Rietveld  <kris@imendio.com>

	* gtk/gtktooltips.h: remove the deprecation macros for now to fix
	the build and give us a chance to fix widgets which use GtkTooltips
	in their API.

2007-06-26  Kristian Rietveld  <kris@imendio.com>

	* gtk/gtk.symbols:
	* gtk/gtktooltips.[ch]:
	* docs/reference/gtk/tmpl/gtktooltips.sgml: deprecate GtkTooltips.

1706 1707 1708 1709 1710 1711
2007-06-25  Johan Dahlin  <jdahlin@async.com.br>

	* gtk/gtk-builder-convert: Add a script to convert libglade files
	to something gtkbuilder can parse.
	Fixes #447995

1712 1713 1714 1715 1716
2007-06-25  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Don't steal
	menu events while the keyboard is grabbed.

1717 1718 1719 1720 1721 1722 1723
2007-06-25  Richard Hult  <richard@imendio.com>

	* gdk/quartz/Makefile.am:
	* gdk/quartz/xcursors.h:
	* gdk/quartz/gdkcursor-quartz.c: Fallback to X cursors for the
	ones that OS X doesn't provide. Fixes bug #327912.

1724 1725 1726 1727 1728 1729 1730 1731 1732
2007-06-25  Emmanuele Bassi  <ebassi@gnome.org>

	* gtk/gtkrecentmanager.c:
	(build_recent_info): building a GtkRecentInfo can never fail.

	(gtk_recent_manager_get_items): Clamp the list while building
	it so we don't need to traverse it more than once. (#446532,
	Philip Withnall)

1733 1734 1735 1736 1737 1738 1739 1740
2007-06-25  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkevents-win32.c (gdk_pointer_grab): Revert my
	attempted overly simple fix for #445284, as it causes a
	regression. (For instance, in GIMP the tool cursor gets used also
	for the right-click menu in image windows.) A more complex fix is
	needed to more completely emulate X11 behaviour.

1741 1742 1743 1744
2007-06-24  Kristian Rietveld  <kris@gtk.org>

	* Makefile.am: fix little mistake in my last commit ...

1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755
2007-06-24  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtksearchenginequartz.[ch]: Add a search engine which queries
	the Spotlight database on MacOS X (only available in 10.4 and
	higher).

	* gtk/gtksearchengine.c (_gtk_search_engine_new): try creating
	quartz search engine if we are on OS X.

	* Makefile.am: added use_quartz_sources section with new file.

1756 1757 1758 1759 1760 1761 1762 1763 1764 1765
2007-06-22  Emmanuele Bassi  <ebassi@gnome.org>

	* gtk/gtksearchenginebeagle.c:
	* gtk/gtksearchenginesimple.c:
	* gtk/gtksearchenginetracker.c: Remove the MIME type calls and
	queries from the search engine implementations, since we use our
	own GtkFileSystem to filter out basing on MIME types and we cannot
	query MIME types anyway. The GtkQuery private object still has
	MIME type, as well as location, support for future expansion.

1766 1767 1768 1769 1770 1771 1772 1773
Fri Jun 22 12:13:39 2007  Tim Janik  <timj@imendio.com>

	* gtk/gtkframe.c (gtk_frame_paint): applied patch from Xan Lopez
	to eliminate gap in painted frame for yaling=0.0 or yalign=1.0.

	* tests/testframe.c: added test application from Xan Lopez to
	test xalign/yalign interactions with xthickness/ythickness.

1774 1775 1776 1777 1778
Fri Jun 22 00:34:34 2007  Tim Janik  <timj@gtk.org>

	* gdk/x11/gdkdisplay-x11.c (gdk_x11_display_get_xdisplay): applied
	patch from Mark Tiefenbruck to add missing return_if_fail, #449862.

Matthias Clasen's avatar
Matthias Clasen committed
1779 1780 1781 1782
2007-06-21  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktoolbar.c: Remove debug spew.  (#449492, Christian Persch)

1783 1784 1785 1786 1787
2007-06-21  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkmain.c (gtk_main_do_event): Remove faulty and irrelevant
	enter-leave compression code.  (#449167, patch by Tim Janik)

Johan Dahlin's avatar
Johan Dahlin committed
1788 1789 1790 1791 1792
2007-06-19  Johan Dahlin  <jdahlin@async.com.br>

	* gdk/quartz/GdkQuartzView.c ([GdkQuartzView -updateTrackingRect]): Fix a typo
	in a comment

1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803
2007-06-20  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkwindow-quartz.c (gdk_window_new): 
	* gdk/quartz/GdkQuartzWindow.c (windowDidResize): Don't create or
	update the tracking rect in the window, move it to the view where
	it belongs.

	* gdk/quartz/GdkQuartzView.c (updateTrackingRect)
	(viewDidMoveToWindow, viewWillMoveToWindow)
	(setFrame, setBounds): Create and update the tracking rect here.

1804 1805 1806 1807 1808
2007-06-19  Mathias Hasselmann  <mathias.hasselmann@gmx.de>

	* gdk/gdkinternals.h: Restore G_BEGIN_DECLS at the
	top of this file to make C++ compilers happy.

Matthias Clasen's avatar
Matthias Clasen committed
1809 1810
2007-06-19  Matthias Clasen <mclasen@redhat.com>

Matthias Clasen's avatar
Matthias Clasen committed
1811 1812
	* configure.in: Bump version

Matthias Clasen's avatar
Matthias Clasen committed
1813 1814
	* === Released 2.11.4 ===

Matthias Clasen's avatar
Matthias Clasen committed
1815 1816
	* NEWS: Updates

Sven Neumann's avatar
Sven Neumann committed
1817 1818 1819 1820
2007-06-19  Sven Neumann  <sven@gimp.org>

	* gtk/gtkicontheme.c (gtk_icon_info_copy): use g_slice_dup().

1821 1822 1823 1824 1825 1826 1827 1828
2007-06-19  Sven Neumann  <sven@gimp.org>

	* gtk/gtktooltips.[ch]: mark the GtkTooltips struct as private.
	Keep the tooltips in a hash table instead of a linked list.
	Improves performance when using large amounts of tooltips (#447214).

	* README.in: document the GtkTooltips changes.

1829 1830 1831 1832 1833
2007-06-19  Johan Dahlin  <jdahlin@async.com.br>

	* gtk/*: Rename buildable methods to not clash with widget 
	methods. (#448928, Torsten Schoenfeld)

1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845
2007-06-19  Emmanuele Bassi  <ebassi@gnome.org>

	* gtk/gtkrecentmanager.c: Use g_timeout_add_seconds_full() for
	the timed poll of the storage file, since we are using multiple
	seconds intervals and we don't actually care about millisecond
	precision.

	(threads_dispatch), (threads_free), (gtk_recent_manager_init),
	(gtk_recent_manager_set_filename): Roll our own version of
	gdk_threads_add_timeout() using g_timeout_add_seconds_full()
	while holding the GDK main lock.

Emmanuele Bassi's avatar
Emmanuele Bassi committed
1846 1847 1848
	* configure.in: Bump up the required GLib version, in order
	to use g_timeout_add_seconds_full().

1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873
2007-06-19  Emmanuele Bassi  <ebassi@gnome.org>

	* gtk/gtkrecentmanager.c: Use a static variable to hold the
	singleton and remove the code that binds a recent manager to
	a GdkScreen.

	(gtk_recent_manager_set_screen): Make it a NOOP.
	(gtk_recent_manager_get_for_screen): Proxy for
	gtk_recent_manager_get_default().

	* gtk/gtk.symbols:
	* gtk/gtkrecentmanager.h: Deprecate gtk_recent_manager_set_screen()
	and gtk_recent_manager_get_for_screen().

	* gtk/gtkmain.c: Force a synchronisation of the GtkRecentManager
	singleton (if any) when reaching main loop depth of 0.

	* gtk/gtkrecentchooserdefault.c:
	(gtk_recent_chooser_default_dispose): Disconnect the changed
	signal only if we have a manager and we are connected to it.

	(set_recent_manager): Ditto.

	* README.in: Document the deprecations.

1874 1875 1876 1877 1878
2007-06-18  Matthias Clasen <mclasen@redhat.com>

	* gtk/gtkcellrendererspin.c: Fix some issues with refcounting
	of the adjustment.  (#448544, Carlos Garnacho)

1879 1880 1881 1882 1883 1884 1885
2007-06-18  Gustavo J. A. M. Carneiro  <gjc@gnome.org>

	reviewed by: Matthias Clasen

	* gtk/gtkaccelgroup.c (gtk_accel_group_finalize): Remove closure
	invalidate notifiers. (#448484)

1886 1887 1888 1889 1890 1891 1892
2007-06-17  Matthias Clasen <mclasen@redhat.com>

	* README.in: Updates

	* gtk/gtkmenushell.c: Make GtkMenuShell as an abstract type.
	It was already documented as such.  (#412357, Vincent Geddes)

Matthias Clasen's avatar
Matthias Clasen committed
1893 1894 1895 1896
2007-06-17  Matthias Clasen <mclasen@redhat.com>

	* gtk/gtkcontainer.c: Fix a doc typo.

1897 1898 1899 1900 1901
2007-06-17  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Forward
	Mac OS menu shortcut events to the right menu.

1902 1903 1904 1905 1906 1907 1908 1909 1910
2007-06-17  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkevents-quartz.c (gdk_event_translate)
	(synthesize_crossing_events_for_ns_event)
	(find_window_for_ns_event): More refactoring of the event
	handling: Extract synthesizing of crossing events from
	find_window_for_ns_event so that it doesn't have any side effects,
	and call the new function from gdk_event_translate instead.

1911 1912 1913 1914 1915 1916 1917 1918
2007-06-16  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkevents-quartz.c: (find_window_for_ns_event),
	(gdk_event_translate): Remove pointless logging for unhandled events.
	Activate the application on non-left clicks, since that is only done
	for left clicks and we depend on it to get events routed properly for
	context menus and other popup windows.