ChangeLog 252 KB
Newer Older
1 2 3 4 5
2007-07-21  Matthias Clasen  <mclasen@redhat.com>

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

6 7 8 9 10 11
2007-07-21  Matthias Clasen  <mclasen@redhat.com>

	* configure.in: Bump version

	* === Released 2.11.6 ===

12 13 14 15 16 17
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.

18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
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.

42 43 44 45 46 47
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.

48 49 50 51 52 53 54 55 56
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.

57 58 59 60 61 62 63 64 65
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.

66 67 68 69 70
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
71 72 73 74 75 76
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.

77 78 79 80 81 82 83 84
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.

85 86 87 88 89 90 91 92
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.

93 94 95 96 97
2007-07-19  Matthias Clasen  <mclasen@redhat.com>

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

98 99 100 101 102 103 104 105 106 107 108 109 110
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.

111 112 113 114 115
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.

116 117 118 119 120 121
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
122 123 124 125
2007-07-18  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkicontheme.c: Small cleanups

126 127 128 129 130
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.

131 132 133 134 135 136
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().

137 138 139 140 141 142 143 144 145 146 147 148 149 150
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.

151 152 153 154 155
2007-07-16  Matthias Clasen <mclasen@redhat.com>

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

156 157 158 159 160
2007-07-16  Matthias Clasen <mclasen@redhat.com>

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

161 162 163 164 165
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)

166 167 168 169 170 171 172 173
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
174 175 176 177 178
2007-07-14  Richard Hult  <richard@imendio.com>

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

179 180 181 182 183 184 185 186 187 188 189 190
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
191 192 193 194 195
2007-07-13  Richard Hult  <richard@imendio.com>

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

196 197 198 199 200 201 202 203 204
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)

205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224
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.

225 226 227 228 229 230 231 232
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)

233 234 235 236 237 238 239
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

240 241 242 243
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
244
2007-07-12  Matthias Clasen  <mclasen@redhat.com>
Matthias Clasen's avatar
Matthias Clasen committed
245

Matthias Clasen's avatar
Matthias Clasen committed
246
	* gtk/gtktextivew.c: 
Matthias Clasen's avatar
Matthias Clasen committed
247 248 249 250 251 252 253 254 255
	* 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.

256 257 258 259 260
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
261 262 263 264 265 266
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
267 268 269 270 271 272
2007-07-11  Matthias Clasen  <mclasen@redhat.com>

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

273 274 275 276 277 278
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.

279 280 281 282 283 284 285 286 287 288 289 290 291
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.

292 293 294 295 296 297 298 299 300 301 302
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.

303 304 305 306 307 308 309 310
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.

311 312 313 314 315 316 317 318
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.

319 320 321 322 323 324 325 326
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.

327 328 329 330 331 332 333
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).

334 335 336 337 338
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
339 340 341 342
2007-07-10  Matthias Clasen  <mclasen@redhat.com>

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

Matthias Clasen's avatar
Matthias Clasen committed
343 344 345 346
2007-07-10  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkrecentmanager.c: Fix some doc formatting

Matthias Clasen's avatar
Matthias Clasen committed
347 348 349 350
2007-07-10  Matthias Clasen  <mclasen@redhat.com>

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

Matthias Clasen's avatar
Matthias Clasen committed
351 352 353 354
2007-07-10  Matthias Clasen  <mclasen@redhat.com>

	* NEWS: Updates

355 356 357 358 359 360 361 362 363 364 365
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)

366 367 368 369 370
2007-07-09  Claude Paroz  <claude@2xlibre.net>

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

371 372 373 374 375
2007-07-09  Matthias Clasen  <mclasen@redhat.com>

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

376 377 378 379 380
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)

381 382 383 384 385
2007-07-09  Matthias Clasen  <mclasen@redhat.com>

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

386 387 388 389 390 391
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)

392 393 394 395 396
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)

397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430
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.

431 432 433 434 435 436
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)

437 438 439 440 441
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)

442 443 444 445 446
2007-07-09  Matthias Clasen  <mclasen@redhat.com>

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

447 448 449 450 451
2007-07-09  Matthias Clasen  <mclasen@redhat.com>

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

452 453 454 455 456
2007-07-09  Jaap Haitsma  <jaap@haitsma.org>

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

457 458 459 460 461
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.

462 463 464 465 466 467 468 469 470 471 472 473 474 475 476
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

477 478 479 480 481
2007-07-08  Matthias Clasen  <mclasen@redhat.com>

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

482 483 484 485 486
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.
	
487 488
2007-07-08  Johan Dahlin  <jdahlin@async.com.br>

489 490 491 492 493
	* 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)

494 495 496
	* gtk/gtkbuilderparser.c (parse_signal): Parse last_modification_time
	attribute in <signal> tag

497 498 499 500 501 502
2007-07-07  Matthias Clasen <mclasen@redhat.com>

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

503 504 505 506
2007-07-07  Matthias Clasen <mclasen@redhat.com>

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

507 508 509 510 511 512 513 514 515
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
	
516 517 518 519
Sun Jul  8 01:33:45 2007  Tim Janik  <timj@gtk.org>

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

520 521 522 523 524 525 526 527 528
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.

529 530 531 532
2007-07-07  Johan Dahlin  <jdahlin@async.com.br>

	* gtk/gtk-builder-convert (GtkBuilderConverter._convert_textview_text): 
	Convert GtkTextView::text properties
533 534 535 536 537 538
	(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>
539 540
	(GtkBuilderConverter._parse): Remove unsupported atkrelation and atkproperty
	tags
541 542
	(GtkBuilderConverter._convert_menuitem): Add support for CheckMenuItems
	and do not set name and action on separators
543 544
	(GtkBuilderConverter._add_action_from_menuitem): Only set stock_id
	on the action if the menuitem had a stock or label property set
545

546 547 548 549 550 551 552
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
553 554 555 556 557
2007-07-06  Richard Hult  <richard@imendio.com>

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

558 559 560 561 562
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
563 564 565 566 567
2007-07-05  Matthias Clasen  <mclasen@redhat.com>

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

568 569 570 571 572
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.

573 574 575 576 577 578 579 580
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.

581 582 583 584 585 586 587
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)

588 589
2007-07-04  Johan Dahlin  <jdahlin@async.com.br>

590 591 592 593
	* 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.

594 595 596 597
	* gtk/gtk-builder-convert:
	Add support for converting GtkComboBox items, also make sure
	that we support more than one GtkAdjustment in a file

598 599 600 601 602 603
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
604 605 606 607 608
2007-07-03  Matthias Clasen  <mclasen@redhat.com>

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

609 610 611 612 613
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.

614 615 616 617 618 619 620
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.

621 622 623 624 625 626
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)

627 628 629 630 631 632 633
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.

634 635 636 637 638
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
639 640
	layouts can be switched to on the fly using some extra-GTK+
	mechanism? If so we need to actually check that.
641

642 643 644 645 646
2007-07-03  Tristan Van Berkom  <tvb@gnome.org>

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

647 648
2007-07-03  Johan Dahlin  <jdahlin@async.com.br>

649 650 651
	* gtk/gtk-builder-convert (GtkBuilderConverter._strip_root): Add a
	--root option. Filter empty properties. Convert GtkAdjustments.

652 653 654 655
	* 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
656 657
2007-07-02  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
Matthias Clasen committed
658 659
	* configure.in: Bump version

Matthias Clasen's avatar
Matthias Clasen committed
660 661 662 663 664 665 666 667 668
	* === Released 2.11.5 ===

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

	* gtk/Makefile.am: File list fixes

	* NEWS: Updates

669 670 671 672 673 674 675
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
676 677 678 679
2007-07-02  Matthias Clasen  <mclasen@redhat.com>

	* NEWS: Updates

680 681 682 683 684
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.

685 686 687 688 689 690
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

691 692 693 694 695 696 697 698 699 700 701 702 703 704
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.

705 706 707 708 709 710
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).

711 712 713 714 715 716 717
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.

718 719 720 721 722 723 724
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.

725 726 727 728 729 730 731 732 733 734 735 736
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

737 738 739 740 741
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.

742 743 744 745
2007-06-30  Richard Hult  <richard@imendio.com>

	* gdk/quartz/GdkQuartzView.c: Improve the tracking rect updating:
	- No need to override setFrame.
746 747
	- Use our own size instead of the bounds from the view as it's not
	always updated before the tracking rect.
748 749 750 751 752
	- 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
753 754 755 756 757
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.

758 759
2007-06-30  Johan Dahlin  <jdahlin@async.com.br>

760 761 762 763 764 765
	* 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

766 767 768 769 770 771 772
	* 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
773 774 775 776 777
2007-06-30  Matthias Clasen  <mclasen@redhat.com>

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

778 779 780 781 782 783 784
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
785
	make this information available.  (#353805, Behnam Esfahbod)
786

787 788 789 790 791
2007-06-29  Matthias Clasen  <mclasen@redhat.com>

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

792 793 794 795 796 797 798 799
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

800 801 802 803 804 805 806 807 808 809 810 811
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.

812 813 814 815 816
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.

817 818 819 820 821 822
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).

823 824 825 826 827
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).

828 829 830 831 832 833 834
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

835 836 837 838 839 840
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
841
	Bug #451866.
842

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

851 852
2007-06-27  Johan Dahlin  <jdahlin@async.com.br>

853 854 855 856
	* gtk/gtkbuilderparser.c (parse_property): Use
	the attribute name in the error message instead of
	the value.
	
857 858 859
	* demos/gtk-demo/demo.ui: Set name of Help menu
	to HelpMenu

860 861 862 863
	* gtk/gtkbuilder.c (apply_delayed_properties): 
	Print out the name of the right object in the warning
	(#451314, Philip Withnall)

864 865
	* gtk/gtk-builder-convert (GtkBuilderConverter._parse): Remove
	glade-interface doctype if found.
866 867
	(GtkBuilderConverter._convert): 
	Make sure that we can convert Gazpacho files too.
868

869 870 871 872 873 874 875
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)

876 877
2007-06-27  Johan Dahlin  <jdahlin@async.com.br>

878 879 880
	* tests/buildertest.c: (test_value_from_string): 
	Check the code and domain of GErrors instead of the string values
	
881 882 883 884 885 886 887 888 889 890 891 892
	* 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)

893 894 895 896 897 898 899 900 901
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)

902 903 904 905 906 907 908 909 910
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.

911 912 913 914 915
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
916 917
Wed Jun 27 11:57:41 2007  Tim Janik  <timj@imendio.com>

918 919
	* gtk/gtkstatusicon.c (gtk_status_icon_position_menu): fixed
	push_in description.
Tim Janik's avatar
Tim Janik committed
920

921 922 923 924
2007-06-27  Johan Dahlin  <jdahlin@async.com.br>

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

925 926
2007-06-26  Johan Dahlin  <jdahlin@async.com.br>

927 928 929
	* tests/buildertest.c (test_object_properties): 
	Add a test to check object properties

930 931 932 933 934
	* 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)
935 936
	(test_object_properties): Add a test

937 938 939 940 941
	* 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)

942 943 944 945 946 947 948 949
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.

950 951 952 953 954 955 956 957
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.

958 959 960 961 962 963 964 965
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().

966 967 968 969 970 971
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)

972 973 974 975 976
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

977 978 979 980 981 982
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).

983 984 985 986 987 988
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).

989 990 991 992 993 994 995 996 997 998 999 1000
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.

1001 1002 1003 1004 1005 1006
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

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

1012 1013 1014 1015 1016 1017 1018
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.

1019 1020 1021 1022 1023 1024 1025 1026 1027
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)

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

1036 1037 1038 1039
2007-06-24  Kristian Rietveld  <kris@gtk.org>

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

1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050
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.

1051 1052 1053 1054 1055 1056 1057 1058 1059 1060
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.

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

1069 1070 1071 1072 1073
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
1074 1075 1076 1077
2007-06-21  Matthias Clasen  <mclasen@redhat.com>

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

1078 1079 1080 1081 1082
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
1083 1084 1085 1086 1087
2007-06-19  Johan Dahlin  <jdahlin@async.com.br>

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

1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098
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.

1099 1100 1101 1102 1103
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
1104 1105
2007-06-19  Matthias Clasen <mclasen@redhat.com>

Matthias Clasen's avatar
Matthias Clasen committed
1106 1107
	* configure.in: Bump version

Matthias Clasen's avatar
Matthias Clasen committed
1108 1109
	* === Released 2.11.4 ===

Matthias Clasen's avatar
Matthias Clasen committed
1110 1111
	* NEWS: Updates

Sven Neumann's avatar
Sven Neumann committed
1112 1113 1114 1115
2007-06-19  Sven Neumann  <sven@gimp.org>

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

1116 1117 1118 1119 1120 1121 1122 1123
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.

1124 1125 1126 1127 1128
2007-06-19  Johan Dahlin  <jdahlin@async.com.br>

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

1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140
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
1141 1142 1143
	* configure.in: Bump up the required GLib version, in order
	to use g_timeout_add_seconds_full().

1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168
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.

1169 1170 1171 1172 1173
2007-06-18  Matthias Clasen <mclasen@redhat.com>

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

1174 1175 1176 1177 1178 1179 1180
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)

1181 1182 1183 1184 1185 1186 1187
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
1188 1189 1190 1191
2007-06-17  Matthias Clasen <mclasen@redhat.com>

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

1192 1193 1194 1195 1196
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.

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

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

Xan Lopez's avatar
Xan Lopez committed
1214 1215 1216 1217 1218 1219 1220 1221 1222 1223
2006-09-22  Dennis Cranston  <dennis_cranston@yahoo.com>

	* gtk/gtkfilechooserbutton.c: (change_icon_theme),
	(model_add_bookmarks), (model_update_current_folder):
	* gtk/gtkfilechooserdefault.c: (shortcuts_reload_icons),
	(shortcuts_insert_path):  Use the remote folder icon when
	appropriate.

	Follow up to #354887

1224 1225 1226 1227 1228
2007-06-17  Christian Persch  <chpe@gnome.org>

	* gtk/Makefile.am: Pass the print settings to the preview programme.
	Bug #403717, patch by Carlos Garcia Campos.

1229 1230 1231
2007-06-17  Xan Lopez  <xan@gnome.org>

	* gdk/x11/gdkgeometry-x11.c: replace GDK_WINDOW calls by cast to
Xan Lopez's avatar
Xan Lopez committed
1232
	GdkWindow. Patch by Tilman Sauerbeck from #63820.
1233

1234 1235
2007-06-17  Daniel Elstner  <danielk@openismus.com>
	
1236 1237 1238 1239 1240 1241
	* modules/input/gtkimcontextmultipress.c (vfunc_filter_keypress):
	Change input method behavior to act on key presses instead of
	key releases, matching normal text input behavior.  This change
	alleviates the need to take special action for control keys not
	handled by the input module itself.

1242 1243 1244 1245 1246
2007-06-17  Behdad Esfahbod  <behdad@gnome.org>

	* gtk/gtkfontsel.c: List font sizes 6 and 7pt too. (#440450,
	Sebastien Bacher, Alex "weej" Jones)

1247 1248 1249 1250 1251
2007-06-16  Yevgen Muntyan  <muntyan@tamu.edu>

	* gtk/gtktextdisplay.c (render_para): fixed couple of drawing
	problems with block cursor (#448321).

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

	* gdk/quartz/gdkevents-quartz.c: (gdk_event_translate): Ignore
	events and break any grabs while the window is being dragged.

1257 1258 1259 1260 1261 1262
2007-06-16  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_transient_for):
	Defer setting the parent until the window is shown, otherwise it
	gets unconditionally shown here.

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

	* gtk/gtkbuilderparser.c (text): Swap argument order to dgettext
	(#448299, Jan Arne Petersen)

1268 1269 1270 1271 1272 1273 1274 1275
2007-06-16  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkevents-quartz.c (find_mouse_window_for_ns_event):
	Move the checks for no window or a non-GDK window from here...
	(gdk_event_translate): ...to here. Reorder the code so that we
	detect the cases where we need to break grabs before bailing
	out.

1276 1277 1278 1279 1280
2007-06-16  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkevents-quartz.c (gdk_event_translate) 
	(break_all_grabs): Break out into a separate function.

1281 1282 1283 1284 1285
2007-06-16  Richard Hult  <richard@imendio.com>

	* gdk/quartz/GdkQuartzWindow.c: (isInMove): Implement, to be used
	to detect if the window is currently being moved with the mouse.

1286 1287 1288 1289 1290 1291 1292
2007-06-16  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkwindow-quartz.c (gdk_window_set_transient_for):
	Don't set parent/child relationship for tooltip windows since that
	moves the parent window to the front, due to the tooltip having a
	high window level.

1293 1294 1295 1296 1297 1298 1299
2007-06-16  Christian Persch  <chpe@gnome.org>

	* gtk/gtkbuilder.c: (gtk_builder_real_get_type_from_name),
	(gtk_builder_get_type_from_name):
	* gtk/gtkbuilder.h: Don't use "typename" C++ keyword as parameter
	name. Bug #448193.

Matthias Clasen's avatar
Matthias Clasen committed
1300
2007-06-15  Matthias Clasen  <mclasen@redhat.com>
Matthias Clasen's avatar
Matthias Clasen committed
1301 1302
	
	* configure.in: Bump version
Matthias Clasen's avatar
Matthias Clasen committed
1303 1304 1305

	* === Released 2.11.3 ===

1306 1307 1308 1309
2007-06-15  Johan Dahlin  <jdahlin@async.com.br>

	* gtk/gtkuimanager.c: Base class should be GObject, not GtkObject.

1310
2007-06-15  Matthias Clasen  <mclasen@redhat.com>
Matthias Clasen's avatar
Matthias Clasen committed
1311

Matthias Clasen's avatar
Matthias Clasen committed
1312 1313 1314
	* gtk/gtkbuildable.c:
	* gtk/gtkbuilder.c: Documentation fixes

Matthias Clasen's avatar
Matthias Clasen committed
1315
	* gtk/gtktreeview.c: Fix up cross-references in docs.
1316 1317 1318 1319 1320 1321 1322
	
	* gtk/Makefile.am: Don't install gtkbuilderprivate.h

	* gtk/gtk.h: Include gtkbuilder.h

	* NEWS: Updates

1323 1324 1325 1326 1327 1328 1329
2007-06-15  Johan Dahlin  <jdahlin@async.com.br>

	* gtk/gtkbuilder.c (gtk_builder_add_from_file): 
	(gtk_builder_value_from_string_type): 
	Use gsize instead of unsigned and gulong instead of long,
	fixes complation on OSX, fixes #447987

1330 1331 1332 1333 1334
2007-06-15  Matthias Clasen  <mclasen@redhat.com>
	
	* gtk/gtkmenushell.[ch]: add move_selected signal to allow 
	overriding the default internal behaviour.  (#446833, Ryan Lortie)

1335 1336 1337 1338
2007-06-15  Mathias Hasselmann  <mathias.hasselmann@gmx.de>

	* gtk/gtkwidget.c: Forgot to free the unescaped tooltip text.

1339 1340 1341 1342 1343
2007-06-15  Mathias Hasselmann  <mathias.hasselmann@gmx.de>

	* gtk/gtkwidget.c: Improving handling of tooltip-text property.
	* tests/testtooltips.c: Also check result of tooltip getters.

1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355
2007-06-15  Mathias Hasselmann  <mathias.hasselmann@gmx.de>

	* docs/reference/gtk/gtk-sections.txt, gtk/gtk.symbols,
	gtk/gtkwidget.c, gtk/gtkwidget.h, tests/testtooltips.c: Introduce
	convenience property "GtkWidget:tooltip-text" taking care of escaping
	it for unwanted markup entities. Add functions to set tooltip text:
	gtk_widget_set_tooltip_text(), gtk_widget_set_tooltip_markup(),
	gtk_widget_get_tooltip_text(), gtk_widget_get_tooltip_markup().

	* gtk/gtktooltip.c, gtk/gtktooltip.h: Add gtk_tooltip_set_text()
	to set the tooltip text without using markup.

1356 1357
        Patches from Emmanuele Bassi (#447643).

1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506
2007-06-15  Johan Dahlin  <jdahlin@async.com.br>

	reviewed by: Matthias Clasen

	* demos/gtk-demo/Makefile.am:
	* demos/gtk-demo/builder.c: (quit_activate), (about_activate),
	(do_builder):
	* demos/gtk-demo/demo.ui:
	* docs/reference/gtk/gtk-docs.sgml:
	* docs/reference/gtk/gtk-sections.txt:
	* docs/reference/gtk/gtk.types:
	* docs/reference/gtk/tmpl/gtkbuildable.sgml:
	* docs/reference/gtk/tmpl/gtkbuilder.sgml:
	* gtk/Makefile.am:
	* gtk/gtk.h:
	* gtk/gtk.symbols:
	* gtk/gtkaction.c: (gtk_action_buildable_init),
	(gtk_action_buildable_set_name), (gtk_action_buildable_get_name):
	* gtk/gtkactiongroup.c: (gtk_action_group_get_type),
	(gtk_action_group_buildable_init),
	(gtk_action_group_buildable_add),
	(gtk_action_group_buildable_set_name),
	(gtk_action_group_buildable_get_name):
	* gtk/gtkbuildable.c: (gtk_buildable_get_type),
	(gtk_buildable_set_name), (gtk_buildable_get_name),
	(gtk_buildable_add), (gtk_buildable_set_property),
	(gtk_buildable_parser_finished), (gtk_buildable_construct_child),
	(gtk_buildable_custom_tag_start), (gtk_buildable_custom_tag_end),
	(gtk_buildable_custom_finished),
	(gtk_buildable_get_internal_child):
	* gtk/gtkbuildable.h:
	* gtk/gtkbuilder.c: (gtk_builder_class_init), (gtk_builder_init),
	(gtk_builder_finalize), (gtk_builder_set_property),
	(gtk_builder_get_property), (_gtk_builder_resolve_type_lazily),
	(gtk_builder_real_get_type_from_name),
	(gtk_builder_get_parameters), (gtk_builder_get_internal_child),
	(_gtk_builder_construct), (_gtk_builder_add),
	(apply_delayed_properties), (_gtk_builder_finish),
	(gtk_builder_new), (gtk_builder_add_from_file),
	(gtk_builder_add_from_string), (gtk_builder_get_object),
	(object_add_to_list), (gtk_builder_get_objects),
	(gtk_builder_set_translation_domain),
	(gtk_builder_get_translation_domain),
	(gtk_builder_connect_signals_default),
	(gtk_builder_connect_signals), (gtk_builder_connect_signals_full),
	(gtk_builder_value_from_string),
	(gtk_builder_value_from_string_type),
	(_gtk_builder_enum_from_string), (_gtk_builder_flags_from_string),
	(gtk_builder_get_type_from_name), (gtk_builder_error_quark):
	* gtk/gtkbuilder.h:
	* gtk/gtkbuilderparser.c: (state_push), (state_peek), (state_pop),
	(error_missing_attribute), (error_invalid_attribute),
	(error_invalid_tag), (builder_construct), (parse_object),
	(free_object_info), (_get_type_by_symbol), (parse_child),
	(free_child_info), (parse_property), (free_property_info),
	(parse_signal), (_free_signal_info), (parse_interface),
	(create_subparser), (free_subparser), (subparser_start),
	(subparser_end), (parse_custom), (start_element), (end_element),
	(text), (_gtk_builder_parser_parse_buffer):
	* gtk/gtkbuilderprivate.h:
	* gtk/gtkcelllayout.c: (attributes_start_element),
	(attributes_text_element),
	(_gtk_cell_layout_buildable_custom_tag_start),
	(_gtk_cell_layout_buildable_custom_tag_end),
	(_gtk_cell_layout_buildable_add):
	* gtk/gtkcelllayout.h:
	* gtk/gtkcellview.c: (gtk_cell_view_buildable_init),
	(gtk_cell_view_buildable_custom_tag_start),
	(gtk_cell_view_buildable_custom_tag_end):
	* gtk/gtkcolorseldialog.c:
	(gtk_color_selection_dialog_buildable_interface_init),
	(gtk_color_selection_dialog_buildable_get_internal_child):
	* gtk/gtkcombobox.c: (gtk_combo_box_buildable_init),
	(gtk_combo_box_buildable_custom_tag_start),
	(gtk_combo_box_buildable_custom_tag_end):
	* gtk/gtkcomboboxentry.c:
	(gtk_combo_box_entry_buildable_interface_init),
	(gtk_combo_box_entry_buildable_get_internal_child):
	* gtk/gtkcontainer.c: (gtk_container_get_type),
	(gtk_container_buildable_init), (gtk_container_buildable_add),
	(gtk_container_buildable_set_child_property),
	(attributes_start_element), (attributes_text_element),
	(gtk_container_buildable_custom_tag_start),
	(gtk_container_buildable_custom_tag_end):
	* gtk/gtkdebug.h:
	* gtk/gtkdialog.c: (gtk_dialog_buildable_interface_init),
	(gtk_dialog_buildable_get_internal_child),
	(attributes_start_element), (attributes_text_element),
	(gtk_dialog_buildable_custom_tag_start),
	(gtk_dialog_buildable_custom_finished):
	* gtk/gtkentrycompletion.c: (gtk_entry_completion_buildable_init):
	* gtk/gtkexpander.c: (gtk_expander_buildable_add),
	(gtk_expander_buildable_init):
	* gtk/gtkfontsel.c:
	(gtk_font_selection_dialog_buildable_interface_init),
	(gtk_font_selection_dialog_buildable_get_internal_child):
	* gtk/gtkframe.c: (gtk_frame_buildable_init),
	(gtk_frame_buildable_add):
	* gtk/gtkiconview.c: (gtk_icon_view_buildable_init),
	(gtk_icon_view_buildable_custom_tag_start),
	(gtk_icon_view_buildable_custom_tag_end):
	* gtk/gtkliststore.c: (gtk_list_store_buildable_init),
	(list_store_start_element), (list_store_end_element),
	(list_store_text), (gtk_list_store_buildable_custom_tag_start),
	(gtk_list_store_buildable_custom_tag_end):
	* gtk/gtkmain.c:
	* gtk/gtknotebook.c: (gtk_notebook_buildable_init),
	(gtk_notebook_buildable_add):
	* gtk/gtksizegroup.c: (gtk_size_group_buildable_init),
	(size_group_start_element),
	(gtk_size_group_buildable_custom_tag_start),
	(gtk_size_group_buildable_custom_finished):
	* gtk/gtktreestore.c: (gtk_tree_store_buildable_init),
	(tree_model_start_element),
	(gtk_tree_store_buildable_custom_tag_start),
	(gtk_tree_store_buildable_custom_finished):
	* gtk/gtktreeview.c: (gtk_tree_view_buildable_init),
	(gtk_tree_view_buildable_add):
	* gtk/gtktreeviewcolumn.c: (gtk_tree_view_column_buildable_init):
	* gtk/gtkuimanager.c: (gtk_ui_manager_buildable_init),
	(gtk_ui_manager_buildable_add),
	(gtk_ui_manager_buildable_construct_child),
	(gtk_ui_manager_buildable_custom_tag_start),
	(gtk_ui_manager_buildable_custom_tag_end):
	* gtk/gtkwidget.c: (gtk_widget_get_type),
	(gtk_widget_buildable_interface_init),
	(gtk_widget_buildable_set_name), (gtk_widget_buildable_get_name),
	(gtk_widget_buildable_set_property),
	(gtk_widget_buildable_parser_finshed), (accel_group_start_element),
	(gtk_widget_buildable_custom_tag_start),
	(gtk_widget_buildable_custom_finshed):
	* gtk/gtkwindow.c: (gtk_window_buildable_interface_init),
	(gtk_window_buildable_set_property),
	(gtk_window_buildable_parser_finished):
	* tests/Makefile.am:
	* tests/buildertest.c: (builder_new_from_string), (test_parser),
	(signal_normal), (signal_after), (signal_object),
	(signal_object_after), (signal_first), (signal_second),
	(signal_extra), (signal_extra2), (test_connect_signals),
	(test_uimanager_simple), (test_domain), (test_translation),
	(test_sizegroup), (test_list_store), (test_tree_store),
	(test_types), (test_spin_button), (test_notebook),
	(test_construct_only_property), (test_children),
	(test_child_properties), (test_treeview_column), (test_icon_view),
	(test_combo_box), (test_combo_box_entry), (test_cell_view),
	(test_dialog), (test_accelerators), (test_widget), (main):

	Add GtkBuilder, fixes #172535
	
1507 1508 1509 1510 1511 1512 1513 1514
2007-06-15  Hans Breuer <hans@breuer.org>

	* gtk/makefile.msc.in tests/makefile.msc : updated
	* gdk/win32/gdkwindow-win32.c : explicit usage of RegisterClassExW
	to match the WNDCLASSEXW. 
	True dynamic linking of SetLayeredWindowAttributes
	* tests/testprint.c tests/testnouiprint.c : use G_PI

1515 1516 1517 1518 1519
2007-06-14  Johan Dahlin  <jdahlin@async.com.br>

	* gtk/gtk.symbols: Add missing symbol 
	gtk_text_layout_set_overwrite_mode

1520 1521 1522 1523 1524
2007-06-14  Behdad Esfahbod  <behdad@gnome.org>

	* gtk/gtknotebook.c (gtk_notebook_get_group_id): Fix compiler
	warning. (#447586, Kazuki IWAMOTO)

1525 1526 1527 1528 1529 1530 1531 1532
2007-06-14  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkwindow-win32.c (RegisterGdkClass): Use
	g_win32_get_windows_version() instead of _winver so that this
	compiles on Cygwin, too. Not that I know if it makes sense to
	build GTK+ with the Win32 backend for Cygwin, but some people want
	to.

Matthias Clasen's avatar
Matthias Clasen committed
1533 1534
2007-06-13  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
Matthias Clasen committed
1535 1536
	* NEWS: Updates

Matthias Clasen's avatar
Matthias Clasen committed
1537 1538 1539
	* NEWS, README.in: Move the combobox note to the README,
	where it seems more appropriate.

Matthias Clasen's avatar
Matthias Clasen committed
1540 1541 1542 1543 1544
2007-06-13  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkwidget.c (gtk_widget_modify_cursor): Improve docs.
	(#447396, Masatake YAMATO)

1545 1546 1547 1548 1549 1550
2007-06-14  Carlos Garnacho  <carlos@imendio.com>

	* gtk/gtkcombobox.c: removed unused and hardly visible GtkFrame from
	the menu widget hierarchy when ::appears-as-list is TRUE. (#435471)
	* NEWS: add a note about repercussions of this change to RC files.

1551 1552 1553 1554 1555
2007-06-13  Behdad Esfahbod  <behdad@gnome.org>

	* gdk/directfb/gdkgc-directfb.c: #undef GDK_DISABLE_DEPRECATED to
	get prototype for gdk_font_ref(). (#447163, Dann Frazier, Loïc Minier)

1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567
2007-06-13  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkmenuitem.[ch]: add "submenu" property. Fix
	gtk_menu_item_set_submenu() to accept NULL submenus and deprecate
	gtk_menu_item_remove_submenu() because we have a properly working
	setter now (bug #447065).

	* gtk/gtk.symbols: deprecate gtk_menu_item_remove_submenu().

	* gtk/gtkcombobox.c: use gtk_menu_item_set_submenu() instead of
	gtk_menu_item_remove_submenu().

1568 1569 1570 1571 1572
2007-06-13  Cody Russell  <bratsche@gnome.org>

	* gtk/gtkwidget.c: Fix inconsistency in GTK_WIDGET_SAVED_STATE
	(#435840, Xan Lopez)

1573 1574 1575 1576 1577 1578 1579 1580 1581
2007-06-13  Kristian Rietveld  <kris@imendio.com>

	* gtk/gtk.symbols
	* gtk/gtkfilesystem.[ch]: rename _gtk_file_system_create to
	gtk_file_system_create to make it public and bring trunk back
	in sync with gtk-2-10.

	* gtk/gtkfilechooserdefault.c (set_file_system_backend): updated.

1582 1583 1584 1585 1586 1587
2007-06-13  Michael Natterer  <mitch@imendio.com>

	* gtk/gtklabel.c (gtk_label_set_label): added calls to
	g_object_freeze/thaw_notify() so gtk_label_get_text() doesn't
	return the old text when called from a "notify::label" callback.

1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610
2007-06-13  Kristian Rietveld  <kris@imendio.com>

	Audit of GtkTreeView coordinate system usage. (#142494).

	* gtk/gtktreeview.[ch]: general documentation updates,
	(gtk_tree_view_scroll_to_cell), (gtk_tree_view_get_dest_row_at_pos):
	update coordinate translations,
	(gtk_tree_view_tree_to_widget_coords),
	(gtk_tree_view_widget_to_tree_coords): Deprecated,
	(gtk_tree_view_convert_.*_coords): 6 new functions for doing
	transformations between coordinate systems.

	* gtk/gtk.symbols: updated.

	* tests/testtooltips.c (query_tooltip_tree_view_cb): fix testcase
	with new gtk_tree_view_convert_widget_to_bin_window_coords().

	* docs/reference/gtk/Makefile.am
	* docs/reference/gtk/images/tree-view-coordinates.png: add new image.

	* docs/reference/gtk/tmpl/gtktreeview.sgml: eloborate on the
	different coordinate systems.

1611 1612 1613 1614 1615 1616 1617 1618 1619 1620
2007-06-13  Kristian Rietveld  <kris@imendio.com>

	* gtk/gtkcellrendererprogress.c
	(gtk_cell_renderer_progress_class_init),
	(gtk_cell_renderer_progress_init),
	(gtk_cell_renderer_progress_[gs]et_property),
	(gtk_cell_renderer_progress_render): Add orientation property and some
	slight refactoring here and there.  (Fixes #344836, reported by
	Benjamin Montgomery).

1621 1622 1623 1624 1625 1626
2007-06-12  Matthias Clasen  <mclasen@redhat.com>

	* gdk/Makefile.am: Remove linux-fb from DIST_SUBDIRS

	* configure.in: Remove linux-fb parts.

1627 1628 1629 1630 1631 1632 1633
2007-06-12  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkiconview.c (update_text_cell): use PANGO_BREAK_WORD_CHAR
	instead of PANGO_BREAK_WORD so the text cell doesn't overflow the
	wrap-width if there is no whitespace found to break at.
	Fixes bug #446107.

1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647
2007-06-12  Kristian Rietveld  <kris@imendio.com>

	Fix #410815, reported by Lucas Rocha.

	* gtk/gtkiconview.c (gtk_icon_view_layout): determine a suitable
	wrap-width with the first icon, if it exists,
	(adjust_wrap_width): try to use icon_view->priv->item_width
	if available,
	(gtk_icon_view_set_cell_data): don't call adjust_wrap_width here,
	which caused changes in wrap-width during the layouting process and
	resulted in layouting artefacts,
	(update_text_cell): don't set the wrap-width property, this should
	be handled by adjust_wrap_width.

1648 1649 1650 1651 1652
2007-06-12  Behdad Esfahbod  <behdad@gnome.org>

	* gdk/gdkwindow.c (gdk_window_get_pointer): Improve docs.
	(#446138, Björn Lindqvist)

1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675
2007-06-12  Yevgen Muntyan  <muntyan@tamu.edu>

	* gtk/gtkentry.c (gtk_entry_expose), (gtk_entry_toggle_overwrite),
	(gtk_entry_draw_cursor):
	* gtk/gtkstyle.c (_gtk_widget_get_cursor_gc),
	(_gtk_widget_get_cursor_color):
	* gtk/gtkstyle.h:
	* gtk/gtktextdisplay.c (gtk_text_renderer_prepare_run),
	(gtk_text_renderer_draw_shape), (text_renderer_set_state),
	(render_para):
	* gtk/gtktextlayout.c (gtk_text_layout_set_overwrite_mode),
	(gtk_text_layout_invalidate_cache), (get_block_cursor),
	(add_cursor), (gtk_text_layout_get_line_display),
	(_gtk_text_layout_get_block_cursor):
	* gtk/gtktextlayout.h:
	* gtk/gtktextutil.c (layout_get_char_width),
	(_gtk_text_util_get_block_cursor_location):
	* gtk/gtktextutil.h:
	* gtk/gtktextview.c (gtk_text_view_set_editable),
	(gtk_text_view_toggle_overwrite), (gtk_text_view_set_overwrite),
	(gtk_text_view_ensure_layout), (text_window_invalidate_cursors):
	Implement block-cursor for overwrite mode.  (#80378)

Matthias Clasen's avatar
Matthias Clasen committed
1676 1677 1678 1679 1680
2007-06-11  Matthias Clasen  <mclasen@redhat.com>

	* configure.in: Bump GLib requirement to 2.13.3 (#446616, Behdad
	Esfahbod)

1681 1682 1683 1684 1685 1686
2007-06-11  Matthias Clasen  <mclasen@redhat.com>

	* modules/printbackends/cups/gtkprintbackendfile.c:
	* modules/printbackends/cups/gtkprintbackendcups.c: Fix some
	locking issues.  (#420249, Christian Persch)

1687 1688 1689 1690 1691
2007-06-11  Matthias Clasen  <mclasen@redhat.com>

	* configure.in: When debugging is turned on, use error-checking
	mutexes.

1692 1693 1694 1695 1696
2007-06-11  Emmanuele Bassi  <ebassi@gnome.org>

	* gtk/gtknotebook.h: Fix declaration of the create_window()
	vfunc inside GtkNotebookClass. (#446513, Kazuki Iwamoto)

1697 1698 1699 1700
2007-06-11  Matthias Clasen  <mclasen@redhat.com>
	
	* tests/testiconview.c: Use icons of varying size.
	
1701 1702 1703 1704 1705 1706 1707
2007-06-10  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkrc.c (gtk_rc_parse_style): Accept class names starting
	with lowercase letters for style property assignments, since 
	GType accepts these too, and gtkmm uses such class names.  (#343012,
	Murray Cumming, Johannes Schmid)

1708 1709 1710
2007-06-10  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkentry.c (gtk_entry_finalize): Don't leak cursor_hadjustment.
1711 1712
	Store cursor_hadjustment as object data rather than in the private
	struct.
1713

1714 1715 1716 1717 1718
2007-06-10  Matthias Clasen  <mclasen@redhat.com>

	* gdk/x11/gdkspawn-x11.c (set_environment): Handle child_setup
	being NULL.  (#445691, Christopher Taylor)

1719 1720 1721 1722 1723 1724
2007-06-10  Emmanuele Bassi  <ebassi@gnome.org>

	* gtk/gtksearchenginesimple.c: Unconditionally define _GNU_SOURCE
	and XOPEN_SOURCE, in order to make the simple search engine backend
	build on really ancient GNU libc. (#444097)

1725 1726 1727 1728
2007-06-10  Michael Natterer  <mitch@imendio.com>

	* gdk/quartz/gdkdrawable-quartz.c (gdk_quartz_draw_arc): fix
	angles by flipping the coordinate system back to its original y
1729
	direction. The implementation is still broken for ellipses, will
1730 1731
	have to simulate them using bezier curves.

1732 1733 1734 1735 1736 1737
2007-06-10  Cody Russell  <bratsche@gnome.org>

	* gdk/win32/gdkevents-win32.c (gdk_pointer_grab):
	Don't revert the mouse cursor to the built-in one when
	the user holds the mouse button down. (#445284, Tor Lillqvist)

1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751
2007-06-10  Emmanuele Bassi  <ebassi@gnome.org>

	* gtk/gtkscalebutton.[ch]: Fix some coding style bits.

	(gtk_scale_button_dispose), (gtk_scale_button_class_init),
	(gtk_scale_button_init): Use the GObject private data API instead
	of allocating the private structure ourselves.

	(gtk_scale_button_dispose), (gtk_scale_button_finalize): Free
	the icons string vector inside ::finalize and not in ::dispose.

	(gtk_scale_button_update_icon): Use g_strv_length() instead
	of an empty for loop.

Matthias Clasen's avatar
Matthias Clasen committed
1752 1753
2007-06-09  Matthias Clasen  <mclasen@redhat.com>

1754 1755 1756 1757
	* gtk/gtkwidget.c:
	* gtk/gtkscrolledwindow.c: Update docs
	* gtk/gtkwidget.h: Deprecate gtk_widget_{ref,unref}

Matthias Clasen's avatar
Matthias Clasen committed
1758 1759 1760 1761 1762
	* gtk/gtkbox.c: Move docs inline.

	* gtk/gtkrange.c:
	* gtk/gtkscale.c: Doc formatting improvements.

1763 1764 1765 1766 1767 1768
2007-06-09  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkscalebutton.c: Add an icons property, make 
	gtk_scale_button_new() a convenience function.  (#445855,
	Murray Cumming)

Matthias Clasen's avatar
Matthias Clasen committed
1769 1770 1771 1772 1773 1774
2007-06-09  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkhscale.c (gtk_hscale_new):
	* gtk/gtkvscale.c (gtk_vscale_new): Cosmetic change to make
	it more obvious that this is a convenience function.

1775 1776 1777 1778 1779
2007-06-09  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkcalendar.c (gtk_calendar_init): Handle return values
	from nl_langinfo() more correctly. 

1780 1781 1782 1783 1784
2007-06-09  Carlos Garnacho  <carlos@imendio.com>

	* gtk/gtkrc.c (gtk_rc_parse_engine): initialize rc_priv in the else
	branch too. (#445539)

1785 1786 1787 1788 1789 1790
2007-06-08  Benjamin Berg  <benjamin@sipsolutions.net>

	* gtk/gtkscrolledwindow.c: (gtk_scrolled_window_paint):
	Fix shadow painting if the scrollbars-within-bevel style property is
	set and border_width is nozero. (#445054)

1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802
2007-06-08  Matthias Clasen  <mclasen@redhat.com>

	Make it possible for theme engines to support symbolic 
	colors.  (#426192, Andrea Cimitan, patch by Olivier Samyn)

	* gtk/gtk.symbols:
	* gtk/gtkrc.h:
	* gtk/gtkrc.c (gtk_rc_parse_color_full): Export this function

	* gtk/gtkrc.c (gtk_rc_parse_engine): Copy color hashes
	to new style before parsing engine section.

1803 1804 1805 1806 1807 1808 1809 1810 1811
2007-06-08  Michael Natterer  <mitch@imendio.com>

	* gdk/quartz/gdkdrawable-quartz.c: add utility function
	gdk_quartz_fix_cap_not_last_line() which fixes the coordinates for
	GDK_CAP_NOT_LAST lines at least for horizontal and vertical lines.

	(gdk_quartz_draw_segments)
	(gdk_quartz_draw_lines): use it here.

1812 1813 1814 1815 1816 1817 1818 1819
2007-06-07  Michael Natterer  <mitch@imendio.com>

	* gdk/quartz/gdkgc-quartz.c: add gdk_gc_quartz_init() and set
	some values to the defaults used by X11.

	(gdk_quartz_gc_set_values): really set cap_style when
	GDK_GC_CAP_STYLE is in the mask, not line_style.

1820 1821 1822 1823 1824 1825
2007-06-07  Michael Natterer  <mitch@imendio.com>

	* gdk/quartz/gdkgc-quartz.c (_gdk_quartz_gc_update_cg_context):
	use the same code for GDK_XOR as for GDK_INVERT. Xor with an
	arbitrary color is impossible to implement with quartz.

Matthias Clasen's avatar
Matthias Clasen committed
1826 1827 1828 1829
2007-06-07  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtksettings.c: Fix a typo in the docs.

1830 1831 1832 1833
2007-06-07  Christian Neumair  <cneumair@gnome.org>

	* gtk/gtkstock.[ch]: Add GTK_STOCK_DISCARD, #158008.

Matthias Clasen's avatar
Matthias Clasen committed
1834 1835
2007-06-07  Matthias Clasen  <mclasen@redhat.com>

1836 1837
	* gtk/gtktreeview.c: Documentation additions.

Matthias Clasen's avatar
Matthias Clasen committed
1838 1839
	* gtk/gtknotebook.c: Add a doc comment.

1840 1841 1842 1843 1844 1845 1846 1847 1848
2007-06-06  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkfilechooserbutton.c (model_add_special):
	* gtk/gtkfilechooserdefault.c (shortcuts_append_desktop):
	* gtk/gtkfilesystemunix.c (get_icon_name_for_directory):
	* gtk/gtkpathbar.c (_gtk_path_bar_set_file_system):
	Use g_get_user_special_dir() to obtain the path for the
	DESKTOP directory.  

1849 1850 1851 1852 1853
2007-06-06  Matthias Clasen  <mclasen@redhat.com>

	* gtk/Makefile.am: Add the 16x16 version of gtk-select-color.png
	to the list of stock icons.  (#444786)

1854 1855 1856 1857 1858 1859 1860 1861 1862
2007-06-06  Kristian Rietveld  <kris@imendio.com>

	* gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_init),
	(gtk_cell_renderer_progress_class_init),
	(gtk_cell_renderer_progress_[gs]et_property),
	(gtk_cell_renderer_progress_render): add text-[xy]align properties
	for aligning the text label of the progress bar.  (#334576,
	suggestion from Steven Sheehy).

1863 1864 1865
2007-06-06  Yevgen Muntyan  <muntyan@tamu.edu>

	* gtk/gtkwidget.c:
1866
	* gtk/gtkwidget.h: new method, gtk_widget_modify_cursor() (#79585).
1867 1868 1869 1870 1871 1872 1873 1874 1875 1876
	
	* gtkrc.c:
	* gtkrc.h: new functions _gtk_rc_style_set_rc_property() and 
	_gtk_rc_style_unset_rc_property().
	
	* gtk/gtk.symbols: added gtk_widget_modify_cursor.
	
	* tests/testtext.c (do_cursor_visible_changed):
	* tests/testgtk.c (create_styles): test it.

1877 1878 1879 1880 1881 1882 1883 1884 1885 1886
2007-06-06  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkevents-quartz.c (find_mouse_window_for_ns_event)
	(find_window_for_ns_event): Rework how we get the event window:
	don't get the window from the NSEvent, always use the mouse window
	instead. Fix mouse window tracking by only using MouseExited for
	non-gdk windows, and to always use the NSEvent window to get the
	right gdk window in MouseEntered. Add comments to the code. Fixes bug
	#350460.

1887 1888 1889 1890 1891 1892 1893
2007-06-06  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkevents-quartz.c (get_converted_window_coordinates):
	Don't do anything if the two windows are the same.
	(find_window_for_ns_event): Translate coordinates to be relative
	the grab window when appropriate.

1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905
2007-06-06  Emmanuele Bassi  <ebassi@gnome.org>

	* gtk/gtkfilechooserdefault.c:
	(get_file_info_finished), (shortcuts_insert_path),
	(shortcuts_add_bookmarks), (shortcuts_add_current_folder): Factor
	out the search shortcut, the recently used shortcut and the separator
	from the shortcut selection combo. (#444734)

	(recent_idle_load): Remove the idle source that lazily loads the
	recently used files, if the GtkRecentManager returns an empty
	list. (#443913)

1906 1907 1908 1909 1910 1911 1912
2007-06-06  Ross Burton  <ross@openedhand.com>

	* gdk/x11/gdkspawn-x11.c:
	Set DISPLAY in the child process using g_setenv() instead of
	constructing a new envp, which lets callers use child setup
	functions which call putenv (#442617).

1913 1914 1915 1916 1917 1918 1919 1920
2007-06-06  Johan Dahlin  <jdahlin@async.com.br>

	reviewed by: Matthias Clasen <mclasen@redhat.com>
	
	* gtk/gtkassistant.c (gtk_assistant_update_buttons_state): 
	Check if the wizard is empty before trying to access the first page.
	(#444310, Johan Dahlin)

Matthias Clasen's avatar
Matthias Clasen committed
1921 1922
2007-06-06  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
Matthias Clasen committed
1923 1924
	* configure.in: Bump version

Matthias Clasen's avatar
Matthias Clasen committed
1925 1926
	* === Released 2.11.2 ===

Matthias Clasen's avatar
Matthias Clasen committed
1927 1928
	* NEWS: Updates

1929 1930 1931 1932 1933
2007-06-06  Kristian Rietveld  <kris@imendio.com>

	* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_queue_resize): use
	GTK_IS_TREE_VIEW_COLUMN() in g_return_if_fail here.

1934 1935 1936 1937 1938 1939 1940
2007-06-06  Kristian Rietveld  <kris@imendio.com>

	* gtk/gtktreeviewcolumn.[ch] (gtk_tree_view_column_get_tree_view): new
	function.  (#342471, Lorenzo Gil Sanchez).

	* gtk/gtk.symbols: updated.

1941 1942 1943 1944 1945 1946
2007-06-06  Kristian Rietveld  <kris@imendio.com>

	* gtk/gtktooltip.c (gtk_tooltip_paint_window): remove unused
	call to gtk_widget_size_request().  (Reported by Carlos
	Garnacho).

1947 1948 1949 1950 1951 1952
2007-06-06  Kristian Rietveld  <kris@imendio.com>

	* gtk/gtktooltip.c (gtk_tooltip_show_tooltip): bail out if
	last_window is not a GdkWindow anymore. (Fixes #434021, several
	reporters).

Matthias Clasen's avatar
Matthias Clasen committed
1953 1954 1955 1956
2007-06-06  Matthias Clasen <mclasen@redhat.com>

	* gdk/Makefile.am: Remove leftover reference to medialib_h_sources.

1957 1958 1959 1960 1961 1962
2007-06-06  Brian Cameron  <brian.cameron@sun.com>

	* gdk/Makefile.am: Add gdkmedialib.h to EXTRA_DIST so this header
	  file gets included with the distribution, as needed.  Fixes bug
	  #442888.  Reviewed by Matthias Clasen.

1963 1964 1965 1966 1967 1968
2007-06-06  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkevents-quartz.c
	(_gdk_quartz_events_update_mouse_window): Ignore if the old and new
	windows are the same.

1969 1970 1971 1972 1973
2007-06-06  Kristian Rietveld  <kris@imendio.com>

	* gtk/gtktreeview.c (gtk_tree_view_unrealize): also remove the
	auto expand timeout if it exists.

1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984
2007-06-06  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkevents-quartz.c (synthesize_crossing_events):
	Update comment to be more clear and print a warning if we try to
	create a crossing event without knowing what the current mouse
	window is, to help track down focus bugs.

	* gdk/quartz/gdkevents-quartz.c
	(_gdk_quartz_events_update_focus_window): Fix indentation.

2007-06-06  Richard Hult  <richard@imendio.com>
1985 1986 1987 1988

	* gdk/quartz/GdkQuartzWindow.c: Don't let temp windows become key
	window.

1989 1990 1991 1992 1993
2007-06-06  Tor Lillqvist  <tml@novell.com>

	* gdk/x11/gdkwindow-x11.c (gdk_window_set_opacity): Fix
	embarrassing crash. (#444457, Torsten Schoenfeld)

1994 1995 1996 1997 1998
2007-06-05  Yevgen Muntyan  <muntyan@tamu.edu>

	* demos/gtk-demo/textview.c (insert_text): Drop the phrase
	saying invisible text doesn't work (#444236).

1999 2000 2001 2002 2003
2007-06-05  Matthias Clasen <mclasen@redhat.com>

	* gdk/x11/gdkevents-x11.c (gdk_event_translate): Check that
	window_private is not NULL before using it.  (#444351, David Ronis)

2004 2005 2006 2007 2008 2009
2007-06-05  Jakub Steiner <jimmac@ximian.com>

	* gtk/stock-icons/{16,24}/gtk-find*: drop the paper sheet.
		gtk-find is used for search, rather than find within a document
		(file dialog).

2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027
2007-06-05  Kristian Rietveld  <kris@gtk.org>

	Fix #399071, suggestion from Benoit Dejean.

	* gtk/gtkliststore.[ch] (gtk_list_store_set_vector_internal): new
	function, factored out code iterating (columns, values) vectors from
	gtk_list_store_new_with_valuesv to here,
	(gtk_list_store_set_valuesv): new public function to set list store
	values using (columns, values) vectors,
	(gtk_list_store_new_with_valuesv): call new _set_vector_internal
	instead.

	* gtk/gtktreestore.[ch] (gtk_tree_store_set_vector_internal),
	(gtk_tree_store_set_valuesv), (gtk_tree_store_new_with_valuesv):
	likewise.

	* gtk/gtk.symbols: updated.

2028 2029
2007-06-04  Richard Hult  <richard@imendio.com>

2030 2031 2032 2033 2034 2035 2036 2037 2038
	* gdk/quartz/gdkwindow-quartz.c:
	(show_window_internal): Don't try to make temp windows key
	windows, fixes problem introduced below.

2007-06-04  Richard Hult  <richard@imendio.com>

	* gdk/quartz/GdkQuartzWindow.c: 
	* gdk/quartz/gdkwindow-quartz.c: Implement simple versions of
	gdk_window_set_accept_focus and gdk_window_set_focus_on_map.
2039

Richard Hult's avatar
Richard Hult committed
2040 2041 2042
2007-06-04  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkwindow-quartz.c: (gdk_window_raise),
Richard Hult's avatar
Richard Hult committed
2043
	(gdk_window_lower): Implement.
Richard Hult's avatar
Richard Hult committed
2044

2045 2046 2047 2048 2049 2050
2007-06-04  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkwindow-quartz.c:
	* gdk/quartz/gdkwindow-quartz.h: Implement 
	gdk_window_set_transient_for.

2051 2052 2053 2054 2055 2056 2057
2007-06-04  Cody Russell  <bratsche@gnome.org>

	* gtk/gtklinkbutton.h
	* gtk/gtkaboutdialog.h: Change function argument "link"
	to "link_" to fix warnings for applications compiling
	with -Wshadow. (#379213)

2058 2059 2060 2061 2062 2063
2007-06-04  Cody Russell  <bratsche@gnome.org>

	* gtk/gtkpathbar.c (gtk_path_bar_scroll_down): Check
	if down_button is NULL.  This happens when the pathbar button
	for the current directory is too large to fit in the
	space, e.g. on Windows for directories named something like
2064
	"My Documents and Settings".  (#389603)
2065

Matthias Clasen's avatar
Matthias Clasen committed
2066 2067
2007-06-04  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
Matthias Clasen committed
2068 2069
	* configure.in: Bump version

Matthias Clasen's avatar
Matthias Clasen committed
2070 2071 2072
	* === Released 2.11.1 ===

	* gdk/gdkwindow.c (gdk_window_set_composited): Improve docs.
Matthias Clasen's avatar
Matthias Clasen committed
2073 2074 2075 2076

	* NEWS:
	* README.in: Updates

2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095
2007-06-04  Michael Natterer  <mitch@imendio.com>

	Move "move-focus" signals from several widgets to GtkWidget to
	enable more flexible costomization of keyboard navigation via
	bindings. Fixes bug #414947.

	* gtk/gtkwidget.c: add "move-focus" binding signal, default to
	calling the toplevel GtkWindow's "move-focus" vfunc.

	* gtk/gtktextview.[ch]
	* gtk/gtkwindow.[ch]: remove "move-focus" signals and add compat
	code that makes sure that both emitting the signal on the widget
	and overriding the virtual functions keeps working as before.

	* gtk/gtktoolbar.c: remove "move-focus" signal here too and use
	GtkWidget's signal. This change slightly changes keyboard
	navigation in toolbars. I'll fix the behavior if somebody can
	explain me if and how exactly the new behavior is broken.

2096 2097 2098 2099 2100 2101 2102 2103
2007-06-04  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkmarshalers.list:
	* gtk/gtknotebook.[hc]: Add a create-window signal that allows
	to override the global create-window-hook on a per-notebook
	basis. The default handler falls back to the global hook.
	(#386935, Christian Hammond)
	
2104 2105 2106 2107 2108 2109 2110
2007-06-04  Emmanuele Bassi  <ebassi@gnome.org>

	* gtk/gtkradiobutton.[ch]:
	* gtk/gtk.symbols:
	* tests/testgtk.c: Revert previous commit; the API is not yet
	finalized - see bug #166995.

2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123
2007-06-04  Emmanuele Bassi  <ebassi@gnome.org>

	* gtk/gtkradiobutton.h:
	* gtk/gtkradiobutton.c:
	* gtk/gtk.symbols: Add gtk_radio_button_set_value(),
	gtk_radio_button_get_current_value() and gtk_radio_button_get_value().
	Use these functions to set and get an arbitrary integer associated to
	a GtkRadioButton in a group, like the value associated to a
	GtkRadioAction.

	* tests/testgtk.c:
	(create_radio_buttons), (radio_toggled_cb): Exercise the new API.

2124 2125 2126 2127 2128 2129
2007-06-03  Torsten Schoenfeld  <kaffeetisch@gmx.de>

	* gtk/gtkicontheme.c (choose_icon): Initialize unthemed_icon to NULL
	to avoid accessing uninitialized memory when
	gtk_icon_theme_choose_icon() is called with an empty names list.

2130 2131 2132 2133 2134
2007-06-03  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkevents-quartz.c: (create_crossing_event): Set the key
	modifier state.

2135 2136 2137 2138 2139 2140 2141 2142 2143 2144
2007-06-03  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkevents-quartz.c: Make pointer grab emulation work a bit
	better:
	(gdk_display_pointer_is_grabbed): Do what the docs say and don't
	consider implicit grabs here.
	(gdk_pointer_grab): Overriding a grab by the same app should always be
	succesful.
	(gdk_event_translate): Implicit grabs should not be owner events.

Matthias Clasen's avatar
Matthias Clasen committed
2145 2146 2147 2148
2007-06-03  Matthias Clasen  <mclasen@redhat.com>

	* NEWS: Updates

2149 2150 2151 2152
2007-06-03  Matthias Clasen  <mclasen@redhat.com>

	* docs/tools/widgets.c: Add a volume button

Matthias Clasen's avatar
Matthias Clasen committed
2153 2154 2155 2156 2157
2007-06-03  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkradiobutton.c:
	* gtk/gtkradiomenuitem.c: Fix doc typos.  

2158 2159 2160 2161
2007-06-03  Matthias Clasen  <mclasen@redhat.com>

	* configure.in: Allow to disable Xinerama.  (#348065, Diego Pettenò)

Xan Lopez's avatar
Xan Lopez committed
2162 2163 2164 2165 2166
2007-06-03  Xan Lopez  <xan@gnome.org>

	* gtk/gtknotebook.c: remove index parameter in gtk_notebook_switch_page
	and remove g_return_if checks in private functions. (#443247)

2167 2168 2169 2170 2171 2172 2173
2007-06-01  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkevents-quartz.c:
	(get_converted_window_coordinates), (create_crossing_event): Fix the
	coordinates in crossing events so they are relative to the right
	window.

2174 2175 2176 2177 2178 2179 2180 2181 2182 2183
2007-06-01  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkevents-quartz.[ch]: Make function naming
	consistent for the various functions that retrieve data from an
	event.

	* gdk/quartz/gdkprivate-quartz.h: 
	* gdk/quartz/gdkwindow-quartz.[ch]: Remove the now unused
	_gdk_quartz_window_find_child_by_point() function.

2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208
2007-06-01  Matthias Clasen  <mclasen@redhat.com>

	Add support for composited child windows.  (#412882, Ryan Lortie)

	* gdk/gdk.symbols:
	* gdk/gdkdisplay.h:
	* gdk/gdkinternals.h:
	* gdk/gdkwindow.[hc]: Add gdk_display_supports_composite() and
	gdk_window_set_composited().

	* gdk/x11/gdkevents-x11.c:
	* gdk/x11/gdkdisplay-x11.[hc]:
	* gdk/x11/gdkwindow-x11.[hc]: X11 implementation.

	* gdk/win32/gdkdisplay-win32.c:
	* gdk/win32/gdkwindow-win32.c: Dummy win32 implementration.

	* gdk/quartz/gdkdisplay-quartz.c:
	* gdk/quartz/gdkwindow-quartz.c: Dummy Quartz implementation.

	* gdk/directfb/gdkdisplay-directfb.c:
	* gdk/directfb/gdkwindow-directfb.c: Dummy DirectFB implementation.

	* tests/testgtk.c: Add a "composited window" test.

2209 2210 2211 2212 2213 2214
2007-06-01  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkmenuitem.c (gtk_menu_item_position_menu): don't switch
	submenu opening direction for overlapping reasons if there is even
	less space on the other side (bug #441863, Tommi Komulainen).

2215 2216 2217 2218 2219
2007-06-01  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkfilechooserdialog.c (response_cb): change fix for #347883
	to not obfuscate the code.

2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237
2007-06-01  Yevgen Muntyan  <muntyan@tamu.edu>

	Avoid recreating pangolayouts in GtkTextView on cursor movement
	(#435405, Behdad Esfahbod).

	* gtk/gtktextlayout.c:
	* gtk/gtktextlayout.h: new GtkTextLayout method invalidate_cursors(),
	and functions gtk_text_layout_invalidate_cursors() and
	gtk_text_layout_cursors_changed(), to use when invalidation is due
	to moved marks or changed selection.

	* gtk/gtktextbtree.c:
	* gtk/gtktextbtree.h: use what's appropriate when invalidating layout.

	* gtk/gtk.symbols: add new functions.

	* README.in: added a note about changed GtkTextLayout API.

Alp Toker's avatar
Alp Toker committed
2238 2239 2240 2241
2007-06-01  Alp Toker  <alp.toker@collabora.co.uk>

	* gdk/gdkcairo.c (gdk_cairo_set_source_pixmap): Fix doc typos.

2242 2243 2244 2245 2246 2247
2007-05-31  Yevgen Muntyan  <muntyan@tamu.edu>

	* gtk/gtkstyle.c (get_insertion_cursor_gc): use text colors from
	widget style to draw cursor instead of hardcoded black and grey
	(#79585, comment #30).

2248 2249 2250 2251 2252 2253
2007-06-01  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtkcellrenderertext.c (get_size): transform the ink_rect using
	pango_extents_to_pixels to avoid rounding errors.  (Fixes #430218,
	Shlomi Israel).

2254 2255 2256 2257 2258
2007-05-31  Mathias Hasselmann  <mathias.hasselmann@gmx.de>

	* tests/autotestfilechooser.c: Reactivate the other file-chooser
	tests. Forgot that before commiting revision 17994.

2259 2260 2261 2262 2263 2264
2007-05-31  Mathias Hasselmann  <mathias.hasselmann@gmx.de>

	* gtk/gtkfilechooserdialog.c, tests/autotestfilechooser.c: Reset
	the internal response_requested flag, once the response triggered by
	file_chooser_widget_response_requested has been processed (#347883).

2265 2266 2267 2268 2269
2007-05-30  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkselection-quartz.c (gdk_free_text_list): Add this
	function, bug #438440.

2270 2271 2272 2273 2274 2275
2007-05-30  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkevents-win32.c (gdk_pointer_grab): Subtract the
	multi-monitor offset from x and y before setting up the rectangle
	for ClipCursor(). Fixes #442326.

2276 2277 2278 2279 2280
2007-05-30  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkiconview.c (gtk_icon_view_layout): Queue a resize
	if the size changed.  (#418047, Alex Graveley)

2281 2282 2283 2284 2285
2007-05-30  Simos Xenitellis  <simos@gnome.org>

	* gdk/gdkkeysyms-update.pl: Updated script to new upstream 
	location of keysymdef.h (#442183)

2286 2287 2288 2289 2290
2007-05-30  Emmanuele Bassi  <ebassi@gnome.org>

	* gtk/gtkfilechooserdefault.c (update_chooser_entry): Return
	after setting the file chooser entry with the current selection.

2291 2292 2293 2294 2295
2007-05-30  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkiconcachevalidator.c: Correct the handling
	of display names.  (#441767, Marcin Bachry)

Xan Lopez's avatar
Xan Lopez committed
2296 2297 2298
2007-05-30  Xan Lopez  <xan@gnome.org>

	* gtk/gtknotebook.c (gtk_notebook_set_current_page): Small cleanup.
Xan Lopez's avatar
Xan Lopez committed
2299
	Fixes #442172.
Xan Lopez's avatar
Xan Lopez committed
2300

2301 2302 2303 2304
2007-05-28  Cody Russell  <bratsche@gnome.org>

	* gdk/win32/xcursors.h: Fix initialization of last item. (#440511)

2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317
2007-05-28  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkevents-quartz.c (get_child_coordinates_from_ancestor)
	(get_ancestor_coordinates_from_child): Break out code that was
	repeated into separate functions and call them instead.
	(find_window_for_mouse_nsevent): Break out this from
	find_window_for_nsevent to make the code clearer.
	(find_window_for_nsevent): Use the above and fix the returned
	coordinates in the process so that they are always relative the
	found window, both for the normal case and during grabs. Still
	needs fixing for the case where we get nsevents for a window other
	than than grab window during grabs.

2318 2319 2320 2321 2322 2323
2007-05-28  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Fix typo,
 	we need both press and release in the mask to trigger implicit
	grabs.

2324 2325 2326 2327 2328 2329 2330
2007-05-28  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkevents-quartz.c (pointer_ungrab_internal): Reset
	all the grab state, to help debugging.
	(gdk_event_translate): Use pointer_ungrab_internal instead of
	duplicating the code here.

2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341
2007-05-28  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkprivate-quartz.h:
	* gdk/quartz/gdkwindow-quartz.c (find_child_window_helper)
	(_gdk_quartz_window_find_child): Refactored version of
	_gdk_quartz_window_find_child_by_point, that doesn't return any
	coordinates as the users of this function already have the
	coordinates and need to translate them differently.
	(_gdk_windowing_window_get_pointer): Fixup coordinate translation.
	(_gdk_windowing_window_at_pointer): Likewise.

2342 2343 2344 2345 2346 2347
2007-05-28  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkevents-quartz.c
	(find_window_interested_in_event_mask): Don't traverse beyond the
	toplevel of the passed in window.

2348 2349 2350 2351 2352
2007-05-28  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_init): Set
	a size for the root window.

2353 2354 2355 2356 2357
2007-05-28  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkwindow-quartz.c: Add comments about what various
	coordinates are relative to.

2358 2359 2360 2361 2362
2007-05-28  Carlos Garnacho  <carlos@imendio.com>

	* gtk/gtkwidget.c (gtk_widget_propagate_hierarchy_changed_recurse):
	Add back variable declaration removed in r17958.

2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374
2007-05-28  Carlos Garcia Campos  <carlosgc@gnome.org>

	* gtk/gtkprinter.[ch]: Add new capability
	GTK_PRINT_CAPABILITY_NUMBER_UP.
	* docs/reference/gtk/tmpl/gtkprintunixdialog.sgml: 
	* gtk/gtkprintunixdialog.c: (update_dialog_from_capabilities):
	* modules/printbackends/file/gtkprintbackendfile.c:
	(file_printer_get_options), (file_printer_get_settings_from_options):
	* modules/printbackends/cups/gtkprintbackendcups.c:
	(cups_printer_get_capabilities): Add a new print capability to specify
	whether print dialog will offer printing multiple pages per sheet. (#398414)
	
2375 2376 2377 2378 2379
2007-05-28  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktoolbar.h: Actually undeprecate 
	gtk_toolbar_[un]set_icon_size.  (#314172. Yevgen Muntyan)

Matthias Clasen's avatar
Matthias Clasen committed
2380 2381
2007-05-28  Matthias Clasen  <mclasen@redhat.com>

2382 2383
	* gtk/gtkwidget.c: Document some more signals

Matthias Clasen's avatar
Matthias Clasen committed
2384 2385
	* gtk/gtktextview.c: Improve docs

2386 2387 2388 2389 2390 2391
2007-05-27  Tor Lillqvist  <tml@novell.com>

	* configure.in (GDK_EXTRA_LISB): Drop bogus -user32 switch. Was
	supposed to be -luser32, but he "l" was missing. But nobody has
	noticed, so presumably unnecessary.

Matthias Clasen's avatar
Matthias Clasen committed
2392 2393 2394 2395
2007-05-26  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkprintoperationpreview.c: Improve docs

Matthias Clasen's avatar
Matthias Clasen committed
2396 2397 2398 2399
2007-05-26  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkentry.c: Move docs inline.

2400 2401 2402 2403 2404
2007-05-26  Matthias Clasen  <mclasen@redhat.com>

	* gdk/directfb/gdkkeys-directfb.c: Remove duplicate doc comments
	that cause problems when building the docs.

Matthias Clasen's avatar
Matthias Clasen committed
2405 2406
2007-05-26  Matthias Clasen  <mclasen@redhat.com>
	
Matthias Clasen's avatar
Matthias Clasen committed
2407
	* gdk/x11/gdkdisplay-x11.c: Update docs
Matthias Clasen's avatar