ChangeLog 255 KB
Newer Older
1 2 3 4 5 6
Mon Dec 29 01:36:22 2003  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkaccelmap.[hc]: (gtk_accel_map_lock_path, 
	gtk_accel_map_unlock_path): Add a way to lock individual accelerator
	paths.  (#73207, reported by Havoc Pennington)

7 8 9 10 11 12
Sat Dec 27 23:17:56 2003  Soeren Sandmann  <sandmann@daimi.au.dk>

	* gtk/gtktoolbar.c (slide_idle_handler): use CHILD_VISIBLE
	instead of VISIBLE to determine whether we should stop
	sliding. (#130018, reported by Christian Persch).

13 14 15 16 17
Fri Dec 26 23:24:35 2003  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkactiongroup.c (gtk_action_group_add_radio_actions_full): 
	Don't use first_action without initializing it if n_entries is 0.

18 19 20 21 22 23
Thu Dec 25 00:26:34 2003  Matthias Clasen  <maclas@gmx.de>

	* gdk/x11/gdkcursor-x11.c (gdk_display_get_default_cursor_size):
	Add the missing _get_ to the name of the non-Xcursor version of
	this function.  (noticed by Torsten Schoenfeld)

24 25 26 27 28
Tue Dec 23 22:34:50 2003  Manish Singh  <yosh@gimp.org>

	* gtk/gtkicontheme.h: fix GTK_TYPE_ICON_INFO macro, reported by
	muppet.

29 30 31 32 33 34
Wed Dec 24 01:12:53 2003  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkclipboard.[hc]: Add GtkClipboardTargetReceivedFunc,
	gtk_clipboard_request_targets() and 
	gtk_clipboard_wait_for_targets().  (#101774, Dom Lachowicz)

35 36 37 38 39 40 41 42 43 44 45
Mon Dec 22 00:40:39 2003  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkcalendar.c (gtk_calendar_paint_arrow): Use 
	gtk_paint_arrow instead of draw_arrow_left/draw_arrow_right.
	* gtk/gtkcalendar.c (draw_arrow_left):
	(draw_arrow_right): Removed. 
	* gtk/gtkcalendar.c (gtk_calendar_realize_arrows): 
	* gtk/gtkcalendar.c (gtk_calendar_state_changed): Set the
	arrow_state to GTK_STATE_INSENSITIVE if the calendar is 
	insensitive.  (#97376)

46 47 48 49 50 51 52 53 54 55 56
Sun Dec 21 23:17:01 2003  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkuimanager.c (update_node): 
	(update_smart_separators): 
	(_gtk_menu_is_empty): 
	(find_menu_position): 
	* gtk/gtktreeview.c (gtk_tree_view_search_dialog_destroy): 
	* gtk/gtkcombobox.c (gtk_combo_box_relayout_item): 
	(gtk_combo_box_relayout): Fix memory leaks caused by the
	failure to free the result of gtk_container_get_children().

57 58 59 60 61 62 63 64 65
Sun Dec 21 17:34:22 2003  Soeren Sandmann  <sandmann@daimi.au.dk>

	* gdk/x11/gdkwindow-x11.c (gdk_window_reparent): Set the right
	properties when the window becomes a toplevel. When a window that
	was previously a toplevel becomes a toplevel again, restore its
	window type. Also make sure the focus window is removed from the
	XID hash when it is destroyed. (#117579, reported by Morten
	Welinder, patch reviewed by Owen Taylor).

66 67 68 69 70 71 72 73 74 75 76 77
Sun Dec 21 01:54:40 2003  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkmenushell.h: 
	* gtk/gtkmenushell.c (gtk_menu_shell_cancel): New function 
	to emit the "cancel" signal on a menu shell.

	* gtk/gtkmenu.c (gtk_menu_key_press): 
	* gtk/gtkoptionmenu.c (gtk_option_menu_remove_menu): 
	* gtk/gtkmenubar.c (_gtk_menu_bar_cycle_focus): Use the 
	new function instead of directly emitting the 
	signal.  (#81803, Owen Taylor)

78 79 80
Sun Dec 21 00:39:50 2003  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init): 
81
	Fix the "language_set" blurb.  
82
	
83 84 85 86 87
Sat Dec 20 22:06:03 2003  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeview.c (gtk_tree_view_size_allocate): do not invalidate
	all of treeview when resizing (#110074, patch from Soeren Sandmann).

Kristian Rietveld's avatar
Kristian Rietveld committed
88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105
Fri Dec 19 23:36:00 2003  Kristian Rietveld  <kris@gtk.org>

	Fixes #108458.

	* gtk/gtkcelllayout.[ch]: added a reorder method.

	* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_init),
	(gtk_tree_view_column_cell_layout_reorder): implement reorder.

	* gtk/gtkcellview.c (gtk_cell_view_cell_layout_init),
	(gtk_cell_view_cell_layout_reorder): ditto.

	* gtk/gtkcombobox.c (gtk_combo_box_cell_layout_init),
	(gtk_combo_box_cell_layout_reorder): ditto.

	* gtk/gtkentrycompletion.c (gtk_entry_completion_cell_layout_init),
	(gtk_entry_completion_reorder): ditto.

106 107 108 109 110
Fri Dec 19 22:18:19 2003  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeview.c (gtk_tree_view_search_equal_func): use strstr
	instead of strcmp (#117127, suggestion from Soeren Sandmann).

111 112 113 114 115 116 117 118
Fri Dec 19 21:52:46 2003  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtkmenu.c (gtk_menu_do_insert): move item insertion logic
	here from gtk_menu_real_insert(),
	(gtk_menu_real_insert): just call gtk_menu_do_insert(),
	(gtk_menu_reorder_child): run _do_insert after inserting the child
	(unbreaks _reorder_child, reported by Tim Janik).

119 120 121 122 123 124
2003-12-19  Federico Mena Quintero  <federico@ximian.com>

	* gtk/gtkfilechooserdefault.c (list_mtime_data_func): Use
	g_date_strftime() for UTF-8 correctness; use Julian dates to
	simplify the function.

125 126 127 128 129 130
Fri Dec 19 01:47:34 2003  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkscrolledwindow.c (gtk_scrolled_window_size_request): 
	Test extra_width, not extra_height, when determining whether to
	set extra_width.  (#129647, Jan Arne Petersen)

131 132 133 134 135 136 137 138 139 140 141 142 143 144
Fri Dec 19 01:35:34 2003  Matthias Clasen  <maclas@gmx.de>

	Fix the behaviour of insensitive actions, which was broken
	when gtk_action_activate() was changed to pay attention to 
	sensitivity  (#129557, Christian Persch)
	
	* gtk/gtkaction.h: 
	* gtk/gtkaction.c (_gtk_action_emit_activate): New auxiliary
	function to emit an activate signal without regard to sensitivity.

	* gtk/gtkradioaction.c: 
	* gtk/gtktoggleaction.c: Always use _gtk_action_emit_activate()
	instead of gtk_action_activate().

145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160
Thu Dec 18 19:13:12 2003  Kristian Rietveld  <kris@gtk.org>

	Fixes #110249, reworked patch from Joshua N Pritikin.

	* gtk/gtktreemodelsort.c (gtk_tree_model_sort_get_type),
	(gtk_tree_model_sort_tree_drag_source_init),
	(gtk_tree_model_sort_row_draggable),
	(gtk_tree_model_sort_drag_data_get),
	(gtk_tree_model_sort_drag_data_delete): implement GtkTreeDragSource.

	* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_get_type),
	(gtk_tree_model_filter_tree_drag_source_init),
	(gtk_tree_model_filter_row_draggable),
	(gtk_tree_model_filter_drag_data_get),
	(gtk_tree_model_filter_drag_data_delete): ditto.

161 162 163 164 165 166
Thu Dec 18 18:01:01 2003  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeview.c (gtk_tree_view_class_init): add key bindings
	for "*" and "/" (expand/collapse all). (#110195, reported by
	Calum Benson).

167 168 169 170 171 172
Thu Dec 18 17:52:56 2003  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_set_property):
	clear the extra_attrs list if we set "text" after "markup".
	(Fixes #121933, Federico Mena Quintero).

173 174 175 176
2003-12-18  Alexander Larsson  <alexl@redhat.com>

	* gtk/gtkicontheme.c (gtk_icon_info_get_embedded_rect):
	Fix typo that used the wrong x/y values for the x1, y1 point
Matthias Clasen's avatar
Matthias Clasen committed
177
	(#129605)
178

179 180 181 182 183 184 185 186 187
Thu Dec 18 01:41:50 2003  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init),
	(gtk_cell_renderer_text_finalize),
	(gtk_cell_renderer_text_get_property),
	(gtk_cell_renderer_text_set_property), (get_layout): added language
	and language_set properties like GtkTextTag has. (#103800, reported
	by Owen Taylor).

188 189 190 191 192 193
Thu Dec 18 01:37:59 2003  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkwidget.c (gtk_widget_activate): Correct misleading docs.
	* gtk/gtkbutton.c (gtk_button_class_init): Add docs for the 
	"activate" signal.  (#129358, Ka-Hing Cheung)

194 195 196 197 198 199 200 201 202
Thu Dec 18 01:21:59 2003  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeview.c (gtk_tree_view_class_init): Jonathan got
	the logical flag backwards in the expand_collapse_cursor_row
	bindings, fixing.
	(gtk_tree_view_real_expand_collapse_cursor_row): invert expand
	flag when !logical and in RTL. (Fixes #107527, reported by
	Noah Levitt).

203 204 205 206 207 208
Thu Dec 18 01:10:16 2003  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeview.c (gtk_tree_view_button_press): only start
	editing when activated by the left mouse button. (#106869,
	patch from Evan Martin).

209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239
Thu Dec 18 00:57:18 2003  Kristian Rietveld  <kris@gtk.org>

	Migrating all cell renderers to use the new instance private data
	construction.

	* gtk/gtktreeprivate.h: remove GtkCellRendererInfo, as it is no
	longer being used.

	* gtk/gtkcellrenderer.c (gtk_cell_renderer_init),
	(gtk_cell_renderer_class_init), (gtk_cell_renderer_get_property),
	(set_cell_bg_color), (gtk_cell_renderer_render): remove old
	GtkCellRendererInfo handling, migrate to instance private data.

	* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_editing_done),
	(gtk_cell_renderer_text_start_editing): moved focus_out_id
	from GtkCellRendererInfo to text renderer private data.

	* gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_init),
	(gtk_cell_renderer_pixbuf_class_init),
	(gtk_cell_renderer_pixbuf_finalize),
	(gtk_cell_renderer_pixbuf_get_property),
	(gtk_cell_renderer_pixbuf_set_property),
	(gtk_cell_renderer_pixbuf_create_stock_pixbuf),
	(gtk_cell_renderer_pixbuf_get_size), (gtk_cell_renderer_pixbuf_render):
	migrate to instance private data.

	* gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_class_init),
	(gtk_cell_renderer_toggle_get_property),
	(gtk_cell_renderer_toggle_set_property),
	(gtk_cell_renderer_toggle_render): migrate to instance private data.

240 241 242 243 244 245 246 247
Thu Dec 18 00:24:32 2003  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init),
	(gtk_cell_renderer_text_get_property),
	(gtk_cell_renderer_text_set_property), (get_layout): add a
	single-paragraph-mode property, use private instance data.
	(Fixes #114943, reported by Morten Welinder).

248 249 250 251 252 253
Thu Dec 18 00:07:01 2003  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreemodel.h (gtk_tree_path_new_root),
	(gtk_tree_model_get_iter_root): now deprecated (#106953, reported
	by Matthias Clasen).

254 255 256 257 258 259 260
Wed Dec 17 23:50:56 2003  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_set_property):
	if we set a new stock_id and there was a previous stock_id, unref
	the pixbuf (since it was used to renderer the previous stock_id
	and stock_id might have been set to NULL now). (Fixes #122966).

261 262 263 264 265 266 267 268
2003-12-17  Marco Pesenti Gritti  <marco@gnome.org>

	* gtk/gtktreemodelsort.c: (gtk_tree_model_sort_get_iter):

	Check that index is not bigger than level array length
	also when depth is 1. Now get_iter_first correctly return
	FALSE when the model is empty (#129411).

269 270 271 272 273 274 275
Wed Dec 17 23:31:19 2003  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeview.c (gtk_tree_view_search_equal_func): only
	try to strcmp or strlen if we managed to normalize and casefold
	the string correctly. Fixes crashes with non-UTF8 strings.
	(#121617, Patch from Tim-Philipp Müller).

276 277 278 279 280 281 282 283 284
Wed Dec 17 23:20:23 2003  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkexpander.c (gtk_expander_animation_timeout): Add missing
	GDK_THREADS_ENTER()/GDK_THREADS_LEAVE().
	* gtk/gtkcalendar.c, gtk/gtkclist.c, gtk/gtkexpander.c, 
	gtk/gtklist.c, gtk/gtknotebook.c, gtk/gtkselection.c, 
	gtk/gtkspinbutton.c: Cast second argument to g_timeout_add() to
	GSourceFunc instead of GtkFunction.  (#129525, Olexiy Avramchenko) 

285 286 287 288 289
Wed Dec 17 23:16:45 2003  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeview.c (gtk_tree_view_button_press): fix compile warning.
	(#122727, patch from Kjartan Maraas).

290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308
Wed Dec 17 21:23:01 2003  Kristian Rietveld  <kris@gtk.org>

	Yay! Fixed height mode! Hooray! (Part 2 of #80868).

	* gtk/gtktreeview.c (gtk_tree_view_class_init),
	(gtk_tree_view_init), (gtk_tree_view_set_property),
	(gtk_tree_view_get_property), (gtk_tree_view_set_model): add a
	fixed_height_mode property,
	(intialize_fixed_height_mode), (do_validate_rows),
	(column_sizing_notify), (gtk_tree_view_set_fixed_height_mode),
	(gtk_tree_view_style_set), (gtk_tree_view_row_changed),
	(gtk_tree_view_row_inserted), (gtk_tree_view_remove_column),
	(gtk_tree_view_insert_column): implement fixed height mode,
	(gtk_tree_view_append_column), (gtk_tree_view_insert_column),
	(gtk_tree_view_insert_column_with_attributes),
	(gtk_tree_view_insert_column_with_data_func): update docs.

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

309 310 311 312 313 314 315 316 317
2003-12-07  Murray Cumming  <murrayc@usa.net>
 
 	* gtk/gtktreemodel.c:
 	(row_inserted_marshal, row_deleted_marshal, rows_reorderered_marshal)
 	Actually call the default signal handlers instead of calling the
 	marshallers themselves in an endless loop. These default signal handler
 	callbacks are not actually set so this is only noticed by gtkmm at
 	the moment. Bug 123923.

318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382
2003-12-16  Federico Mena Quintero  <federico@ximian.com>

	* gtk/gtkfilesystem.h (struct _GtkFileSystemIface): Added a
	"volumes-changed" signal.  Added the following methods:
		list_volumes
		volume_free
		volume_get_base_path
		volume_get_is_mounted
		volume_mount
		volume_get_display_name
		volume_render_icon

	* gtk/gtkfilesystem.c (gtk_file_system_base_init): Create the
	"volumes-changed" signal.
	(gtk_file_system_list_volumes): New function.
	(gtk_file_system_volume_free): New function.
	(gtk_file_system_volume_get_base_path): New function.
	(gtk_file_system_volume_get_is_mounted): New function.
	(gtk_file_system_volume_mount): New function.
	(gtk_file_system_volume_get_display_name): New function.
	(gtk_file_system_volume_render_icon): New function.

	* gtk/gtkfilesystemunix.c (gtk_file_system_unix_volume_free): Implement.
	(gtk_file_system_unix_volume_get_base_path): Implement.
	(gtk_file_system_unix_volume_get_is_mounted): Implement.
	(gtk_file_system_unix_volume_mount): Implement.
	(gtk_file_system_unix_volume_get_display_name): Implement.
	(gtk_file_system_unix_volume_render_icon): Implement.

	* gtk/gtkfilechooserdefault.c (struct _GtkFileChooserDefault):
	Added a field for the "volumes-changed" signal connection.
	(gtk_file_chooser_default_set_property): Connect to
	"volumes-changed" on the file system.
	(gtk_file_chooser_default_finalize): Disconnect from
	"volumes-changed".

	* gtk/gtkfilechooserdefault.c (shortcuts_remove_rows): New helper
	function.
	(shortcuts_get_index): New helper function.
	(shortcuts_insert_path): Can now insert volumes as well as paths.
	(shortcuts_append_paths): Don't take is_file_system_root.
	(shortcuts_add_volumes): New function.
	(shortcuts_append_file_system_roots): Removed.
	(create_shortcuts_model): Use shortcuts_add_volumes().
	(remove_bookmark_button_clicked_cb): Check that the index is
	within range.
	(bookmarks_check_add_sensitivity): Take volumes into account.
	(shortcuts_get_selected_index): New helper function.
	(remove_bookmark_button_clicked_cb): Use
	shortcuts_get_selected_index().
	(bookmarks_check_remove_sensitivity): Likewise.
	(shortcuts_select_func): Likewise.
	(shortcuts_row_activated_cb): Handle volumes as well as normal
	paths.
	(shortcuts_activate_volume): New function.
	(struct _GtkFileChooserDefault): Removed the bookmarks_set and
	bookmarks_iter fields.
	(shortcuts_append_bookmarks): Use shortcuts_remove_rows().
	(bookmarks_changed_cb): Use shortcuts_add_bookmarks().
	(remove_bookmark_rows): Removed.
	(shortcuts_add_bookmarks): New function; moved most of the code
	over from shortcuts_append_bookmarks().
	(shortcuts_append_bookmarks): Add the separator node here, and
	then call shortcuts_add_bookmarks().

383 384 385 386 387
Tue Dec 16 15:01:10 2003  Manish Singh  <yosh@gimp.org>

	* gtk/gtkfilechooserwidget.c: fix preprocessor conditional confusion.
	(G_OS_UNIX/G_OS_WIN32 stuff)

388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408
Tue Dec 16 01:46:46 2003  Matthias Clasen  <maclas@gmx.de>

	Do not interpret distant clicks as double-clicks  (#116541,
	Bernhard Walle):
	
	* gdk/gdkdisplay.h (struct GdkDisplay): Add new fields
	double_click_distance, button_x and button_y.
	* gdk/gdkdisplay.c (gdk_display_init): Initialize the new fields.

	* gdk/gdkdisplay.h: 
	* gdk/gdkevents.c (gdk_display_set_double_click_distance): 
	New function to set the double click distance on a display.

	* gdk/gdkevents.c: Take double click distance into account
	when generating single, double or triple clicks.

	* gtk/gtksettings.c: Add new setting "gtk-double-click-distance".

	* gdk/x11/gdkevents-x11.c: Add the XSetting 
	"Net/DoubleClickDistance" and map it to "gtk-double-click-distance".

409 410 411 412
2003-12-15  Federico Mena Quintero  <federico@ximian.com>

	* gtk/gtkdialog.c: Sigh, revert the change.

413 414 415 416 417 418
2003-12-15  Federico Mena Quintero  <federico@ximian.com>

	* gtk/gtkdialog.c (dialog_has_cancel): Removed.
	(gtk_dialog_close): Don't call dialog_has_cancel().  At least
	allows sane behavior for #101293.

419 420 421 422 423 424
Mon Dec 15 00:56:54 2003  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkbutton.[hc]: Add new properties, xalign and yalign, with
	getter and setter gtk_button_[sg]et_alignment(), to set the
	alignment of the child.  (#70961, Jody Goldberg)

425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451
2003-12-14  Hans Breuer  <hans@breuer.org>

	* gtk/gtkprivate.h gtk/gtkmain.c : handle GTK_DATADIR
	similar as the other filesystem placement 'constants' (dynamic
	resolving on win32)

	* gtk/gtkfilechooserwidget.c : handle file system to win32
	renaming here as will
	* gtk/gtkfilesystemwin32.c : implement render_icon

	* gtk/gtk.def gdk/gdk.def : updated externals

	* gdk/win32/gdkdisplay-win32.c : make it compile without
	<multimon.h> - i.e. even older sdk

	* gdk/win32/gdkevents-win32.c : match resize_timer_proc
	with TIMERPROC prototype

	* gdk/win32/gdkwindow-win32.c : older msvc does not know
	BITMAPV5HEADER (from win xp) either

	* gtk/gtkimmodule.c : make it compile even if GTK_LOCALEDIR is
	not defined

	* tests/testfilechooser.c : recent GLib crashes on 
	g_print ("%s", NULL) so avoid this

452 453 454 455 456 457 458
2003-12-14  Tor Lillqvist  <tml@iki.fi>

	* gdk/win32/gdkselection-win32.c: Calls to OpenClipboard() must be
	followed by calls to CloseClipboard(). Add a missing call to
	CloseClipboard(). Found by Adam Wright, fixes #104944. Use
	API_CALL macro in more places.

Tor Lillqvist's avatar
Tor Lillqvist committed
459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525
2003-12-14  Tor Lillqvist  <tml@iki.fi>

	Merge from stable:

	* gdk/gdkdisplaymanager.c: Mark default_display static.

	* gdk/win32/gdkdnd-win32.c: Mark current_dest_drag static.

	* gdk/win32/gdkkeys-win32.c: Disable some overly verbose debugging
	output.

	* gdk/win32/gdkevents-win32.c: Clean up the debugging output from
	--gdk-debug=events. In general, output just one line of debugging
	output for each Windows message, plus one line for each GDK event
	generated. Indent all lines according to window procedure nesting
	level.

	(inner_window_procedure): Rename from real_window_procedure.

	(find_real_window_for_grabbed_mouse_event): Don't get misled when
	the point is in the non-client (decoration) area of the window
	returned by WindowFromPoint(). Return the root window in that
	case.

	(build_pointer_event_state): Test also MK_XBUTTON1 and
	MK_XBUTTON2 (buttons 4 and 5).

	(synthesize_enter_event): Track the mouse leaving the window in
	the event being generated, not the one mentioned in the Windows
	message.

	(propagate): Test for NULL parent earlier. Improves event
	generation from a grabbed pointer. Part of fix for #107320.

	(handle_stuff_while_moving_or_resizing): New function, to
	dispatch the main loop (once).

	(resize_timer_proc): New function, set to be called by an inerval
	timer during resizes/moves. Calls handle_stuff_while_moving_or_resizing().

	(gdk_event_translate): Drop unused return_exposes parameter.

	Handle WM_XBUTTONDOWN and UP messages (buttons 4 and 5).

	On WM_SYSKEYUP, generate a key release event also for just the Alt
	key.

	On WM_MOUSELEAVE, generate a leave event of type
	GDK_NOTIFY_ANCESTOR (and not UNKNOWN) if the mouse left a
	top-level window, and left the app completely.

	On WM_ENTERSIZEMOVE, set a flag, and start an interval timer that
	calls resize_timer_proc() at regular intervals. On
	WM_EXITSIZEMOVE, kill the timer.

	On WM_WINDOWPOSCHANGED, generate a configure event if necessary,
	and dispatch the main loop (by calling
	handle_stuff_while_moving_or_resizing()). Fixes #99540, idea by
	Herman Bloggs.

	* gdk/win32/gdkmain-win32.c (_gdk_win32_message_to_string): Handle
	also wintab messages.

	* gdk/win32/gdkwindow-win32.c (gdk_window_set_skip_taskbar_hint):
	Instead of using WS_EX_TOOLWINDOW, implement by setting/unsetting
	the window's owner. Fixes #118093, reported by Maxime Romano.

526 527 528 529 530 531 532 533
Tue Dec  8 09:41:00 2003  Tim Evans  <t.evans@aranz.com>

	* gdk/win32/gdkwindow-win32.[ch]: Implement
	gdk_window_set_icon_list() for Win32, with support for big and
	small icons and support for alpha-channel icons under Windows
	XP. Replaces the previous implementation of gdk_window_set_icon().
	(#128762)
	
534 535 536 537 538 539 540 541 542 543
Sun Dec 14 01:28:23 2003  Matthias Clasen  <maclas@gmx.de>

	* gdk/x11/gdkprivate-x11.h: 
	* gdk/x11/gdkx.h: 
	* gdk/x11/gdkevents-x11.c (gdk_x11_register_standard_event_type): 
	Rename from _gdk_x11_register_event_type(), added API docs.
	* gdk/x11/gdkinput-x11.c (_gdk_input_common_init): 
	* gdk/x11/gdkimage-x11.c (_gdk_windowing_image_init): Adjust
	all callers.  (#121471, Bill Haneman)

544 545 546 547 548
Sat Dec 13 23:37:50 2003  Matthias Clasen  <maclas@gmx.de>

	* gdk/gdkdraw.c (gdk_draw_pixbuf): Document that the clip mask
	of gc is ignored.  (#101983, Sebastian Rittau)

549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565
Sat Dec 13 16:13:27 2003  Kristian Rietveld  <kris@gtk.org>

	A trick for a faster treeview, step 1. Patch to short circuit
	_build_tree(), inspired by Jonathan (#80868).

	* gtk/gtktreeview.c (gtk_tree_view_init): don't put _IS_LIST in
	flags by default,
	(gtk_tree_view_build_tree): don't even try to recurse when the
	model says that it is a list, remove flag unsetter,
	(gtk_tree_view_set_model): change flag setting logic.

	* gtk/gtktreemodelsort.c (gtk_tree_model_sort_get_flags):
	propagate whether or not the child model has _IS_LIST set.

	* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_get_flags):
	ditto.

566 567 568 569 570 571 572
Sat Dec 13 02:33:17 2003  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkrange.c (gtk_range_scroll): Undo the last change, 
	since it broke logical keynav. 
	* gtk/gtkrange.c (range_get_scroll_for_grab): Fix stepper
	direction in inverted scrollbars here instead.

573 574 575 576 577 578 579 580
Sat Dec 13 00:39:24 2003  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkviewport.c (viewport_set_hadjustment_values): Implement
	"gravity" for RTL mode in a better way: Keep the distance from 
	the upper end of the page to the upper bound constant. This also 
	fixes problems with the initial position of the viewport in RTL 
	mode.  (#129063)
	
581 582 583 584 585 586 587 588 589 590 591 592 593
Fri Dec 12 21:00:12 2003  Kristian Rietveld  <kris@gtk.org>

	Combo box flipping support.

	* gtk/gtkcombobox.c (gtk_combo_box_menu_position),
	(gtk_combo_box_size_allocate): support RTL flipping (#126518,
	patch from Matthias Clasen),
	(gtk_combo_box_popup): fix popup window alignment if there's a
	cell view frame visible (#126518, patch from Semion Chichelnitsky).

	* gtk/gtkcellview.c (gtk_cell_view_expose): support RTL flipping
	(#128348, patch from Semion Chichelnitsky).

594 595 596 597 598 599 600 601 602 603 604 605 606
Fri Dec 12 01:13:34 2003  Matthias Clasen  <maclas@gmx.de>

	* examples/gtkdial/gtkdial.c:
	* examples/menu/menu.c:
	* examples/scribble-xinput/scribble-xinput.c:
	* examples/progressbar/progressbar.c:
	* docs/tutorial/gtk-tut.sgml: Remove deprecated functions
	in examples. (#129074, Olexiy Avramchenko)
	* examples/calendar/Makefile:
	* examples/rangewidgets/Makefile:
	* examples/menu/Makefile: Allow deprecated functions in
	examples which use deprecated widgets.

Matthias Clasen's avatar
Matthias Clasen committed
607 608 609 610 611
Fri Dec 12 00:43:16 2003  Matthias Clasen  <maclas@gmx.de>

	* gdk/gdk.c (gdk_threads_set_lock_functions): 
	* gdk/x11/gdkspawn-x11.c: Add "Since: 2.4" to doc comments.

612 613 614 615 616
Fri Dec 12 00:05:31 2003  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkrange.c (gtk_range_scroll): Fix direction of 
	steppers in inverted scrollbars.  (#129084, Olexiy Avramchenko)

617 618 619 620 621 622
Thu Dec 11 23:50:30 2003  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtknotebook.c (gtk_notebook_pages_allocate): Don't 
	unnecessarily reserve space for arrows in RTL mode.  (#129075,
	Semion Chichelnitsky)

623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652
Thu Dec 11 00:35:12 2003  Matthias Clasen  <maclas@gmx.de>

	Changes to allow "no input" windows (#64613):
	
	* gdk/gdkwindow.h (struct _GdkWindowObject): Add a new boolean
	field accept_focus.
	
	* gdk/gdkwindow.h (gdk_window_set_accept_focus): New function to
	set it.

	* gtk/gtkwindow.[hc]: Add a boolean property "accept_focus"
	and gtk_window_get_focus() and gtk_window_set_focus().

	* gdk/win32/gdkwindow-win32.c (gdk_window_new): 
	* gdk/linux-fb/gdkwindow-fb.c (gdk_window_new): 
	* gdk/x11/gdkwindow-x11.c (gdk_window_set_new):
	Initialize the accept_focus field to TRUE.

	* gdk/win32/gdkwindow-win32.c (gdk_window_set_accept_focus): 
	* gdk/linux-fb/gdkwindow-fb.c (gdk_window_set_accept_focus): 
	* gdk/x11/gdkwindow-x11.c (gdk_window_set_accept_focus): 
	Implementations for the various backends. The Win32 and linux-fb
	implementations set the accept_focus field, but don't use it yet 
	to actually implement noinput windows. The X implementation updates
	the WM_HINTS to select the globally active input model (see the
	ICCCM) if accept_focus is FALSE.

	* gdk/x11/gdkevents-x11.c (gdk_wm_protocols_filter): Ignore the
	WM_TAKE_FOCUS message if accept_focus is FALSE.
	
653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673
2003-12-10  Federico Mena Quintero  <federico@ximian.com>

	* gtk/gtkfilechooserdefault.c (struct _GtkFileChooserDefault):
	Added toolbar items for the filter separator and the filter item.
	(toolbar_create): Add the filter widgets here.
	(filter_create): Renamed from create_filter().  Don't store the
	alignment in the impl structure, just return it.
	(toolbar_show_filters): New function.
	(gtk_file_chooser_default_add_filter): Use toolbar_show_filters().
	(gtk_file_chooser_default_remove_filter): Likewise.
	(gtk_file_chooser_default_constructor): Don't create the filter
	widget here.
	(struct _GtkFileChooserDefault): Added a field for a current
	folder label.
	(gtk_file_chooser_default_constructor): Create the folder label.
	(gtk_file_chooser_default_set_current_folder): Set the current
	folder label.

	* tests/testfilechooser.c (main): Dramatically improved the
	usability of the extra widget through careful word choice.

Mark McLoughlin's avatar
Mark McLoughlin committed
674 675 676 677
2003-12-10  Mark McLoughlin  <mark@skynet.ie>

	* gdk/gdk.h: include gdkspawn.h.

678 679 680 681 682 683 684
2003-12-10  Mark McLoughlin  <mark@skynet.ie>

	* gdk/linux-fb/gdkspawn-fb.c,
	  gdk/win32/gdkspawn-win32.c,
	  gdk/x11/gdkspawn-x11.c: (gdk_spawn_command_line_on_screen):
	s/gdk_spawn/gdk_spawn_on_screen/.

685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710
2003-12-10  Mark McLoughlin  <mark@skynet.ie>

	Utility functions for multi-screen applications which need
	to ensure launched applications appear on a certain screen.
	See bug #95897.
	
	* gdk/gdkspawn.h: header for multi-screen launching
	support.
	
	* gdk/Makefile.am: install gdkspawn.h.
	
	* gdk/x11/Makefile.am:
	* gdk/x11/gdkspawn-x11.c:
	(gdk_spawn_make_environment_for_screen): private function
	to create an environment vector with DISPLAY set appropriately
	for the screen.
	(gdk_spawn_on_screen): multi-screen version of g_spawn_async().
	(gdk_spawn_on_screen_with_pipes): version of g_spawn_async_with_pipes().
	(gdk_spawn_command_line_on_screen): version of g_spawn_command_line_async().
	
	* gdk/linux-fb/Makefile.am,
	  gdk/linux-fb/gdkspawn-fb.c: linux-fb impl.
	
	* gdk/win32/Makefile.am,
	  gdk/win32/gdkspawn-win32.c: win32 impl.

711 712 713 714 715 716 717 718 719
2003-12-09  Federico Mena Quintero  <federico@ximian.com>

	* gtk/gtkfilechooserdefault.c (shortcuts_append_home): Use "Home"
	rather than "Username's Home" (#125964).
	(shortcuts_selection_changed_cb): New callback, check the
	sensitivity of the Remove Bookmark button at the right time.
	(shortcuts_row_activated_cb): It is not necessary to check the
	sensitivity here.

720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737
Wed Dec 10 00:06:24 2003  Matthias Clasen  <maclas@gmx.de>

	Improve the GDK API for dealing with group leaders (#119375):
	
	* gdk/gdkwindow.h: 
	* gdk/x11/gdkwindow-x11.c (gdk_window_get_group): New function to 
	get the group leader of a toplevel window as a GdkWindow.

	* gdk/gdkdisplay.h: 
	* gdk/x11/gdkdisplay-x11.c (gdk_display_get_default_group): New 
	function to get the default group leader as a GdkWindow.

	* gdk/x11/gdkdisplay-x11.h (struct _GdkDisplayX11): Add a field for
	the GdkWindow of the default group leader.
	
	* gdk/x11/gdkdisplay-x11.c (gdk_display_open): Construct the GdkWindow
	for the default group leader.

738 739 740 741 742 743
2003-12-09  Noah Levitt  <nlevitt@columbia.edu>

	* gdk/gdkkeysyms.h:
	* gdk/gdkkeyuni.c: Add keysyms Ukrainian_ghe_with_upturn,
	Ukrainian_GHE_WITH_UPTURN. (#128529)

744 745 746 747 748 749 750 751 752 753 754 755 756 757
2003-12-08  Jan Arne Petersen  <jpetersen@uni-bonn.de>

	* gtk/gtkfilechooserdefault.c:
	(gtk_file_chooser_default_get_paths), (entry_activate): Use the
	behavior of the GtkFileSelection to determine selected paths in
	single selected, GTK_FILE_CHOOSER_ACTION_SAVE mode.

2003-12-08  Federico Mena Quintero  <federico@ximian.com>

	* gtk/gtkfilechooserdefault.c
	(gtk_file_chooser_default_get_paths): Don't declare the closure
	struct twice.
	(get_paths_foreach): Likewise.

Matthias Clasen's avatar
Matthias Clasen committed
758 759 760 761
Tue Dec  9 00:12:36 2003  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkfilesystemwin32.[hc]: s/Unix/Win32/g. 

762 763 764 765 766
2003-12-08  Tor Lillqvist  <tml@iki.fi>

	* gdk/win32/gdkdisplay-win32.c: Use <multimon.h> when compiling
	with MSVC and old headers. (#126933, John Ehresman)

Owen Taylor's avatar
Owen Taylor committed
767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795
Mon Dec  8 10:54:44 2003  Owen Taylor  <otaylor@redhat.com>
	 
	* === Released 2.3.1 ===

	* NEWS: Updates for 2.3.1

	* configure.in: Version 2.3.1, interface age 0, binary age 301.

	* gtk/gtkmenuitem.c (gtk_menu_item_can_activate_accel):
	Rename from gtk_menu_item_real_can_activate_accel() to
	match GTK+ convention, improve comment.

	* gtk/gtkwidget.c: Document gtk_widget_can_activate_accel(),
	can ::can-activate-accel signal.

	* gtk/gtkwidget.c (closure_accel_activate): Fix spelling
	in comment.

	* gtk/gtkmenu.c (gtk_menu_real_can_activate_accel): Clean 
	up comment.
	
	* gtk/gtkcellview{,menuitem}.[ch]: Move GET_PRIVATE() macros
	into the .c file.

Mon Dec  8 12:09:21 2003  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkicontheme.c (find_builtin_icon): Fix a
	missing 'else'. (#128816, Jorn Baayen)

796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811
2003-12-02  Michael Meeks  <michael@ximian.com>

	Based on a patch by Martin Kretzschmar; #122448
	
	* gdk/gdk.h: new gdk_threads_lock, gdk_threads_unlock, point to
	implementation of GDK_THREADS_ENTER / GDK_THREADS_LEAVE.
	(GDK_THREADS_ENTER, GDK_THREADS_LEAVE): use gdk_threads_[un]lock
	function pointers. Deprecate the global gdk_threads_mutex variable.
	
	* gdk/gdk.c (gdk_threads_impl_lock, gdk_threads_impl_unlock): new,
	extracted from GTK_THREADS_ENTER/LEAVE macros.
	(gdk_threads_init): init gtk_threads_[un]lock if not set.
	(gdk_threads_set_lock_functions): impl.

	* gdk/gdkglobals.c: add definitions of gdk_threads_[un]lock.

812 813 814 815 816 817
Sun Dec  7 23:45:40 2003  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkicontheme.c (gtk_icon_theme_has_icon): Don't crash if
	icon_theme_builtin_icons hasn't been initialized.  (#128726, Diego
	Gonzalez)

818 819
2003-12-07  Tor Lillqvist  <tml@iki.fi>

820 821 822 823
	* gdk/win32/gdkwindow-win32.c (gdk_window_set_icon): Don't use the
	return value from SendMessage(WM_SETICON). That is the old
	icon. Fixes GDI resource leak. (#128559, Tim Evans)

824 825 826 827
	* gdk/win32/gdkevents-win32.c (gdk_pointer_grab): If we already
	have a pointer grab active with a grab cursor set, destroy that
	cursor to avoid a GDI resource leak. (#128410, Tim Evans)

828 829 830 831
2003-12-05  Paisa Seeluangsawat  <paisa@users.sf.net>

        * configure.in: Added Thai (th) to ALL_LINGUAS.

832 833 834 835 836
Sat Dec  6 01:42:04 2003  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkalignment.c (gtk_alignment_size_allocate): Implement
	RTL flipping for GtkAlignment.  (#127585)

837 838 839 840 841
Sat Dec  6 01:13:09 2003  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkcombo.c (gtk_combo_get_pos): Fix the position of the 
	popup window when in RTL mode.  (#127578)

842 843 844 845 846 847
Fri Dec  5 15:30:16 2003  Manish Singh  <yosh@gimp.org>

	* gtk/gtkaccelgroup.c (quick_accel_find): Applied patch from
	Ross McFarland <rwmcfa1@neces.com>, initialize *count_p to 0
	before doing anything to prevent garbage returns.

848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865
Sat Dec  6 00:23:46 2003  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkviewport.c: Implement RTL flipping for 
	GtkViewport: Adjust the "gravity" when resizing
	This is a bit flickery in RTL mode.  (#107526)

Sat Dec  6 00:22:14 2003  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkscrolledwindow.c: Implement RTL flipping for 
	GtkScrolledWindow: the vertical scrollbar shows up on the left
	side in RTL mode.  (#107526)

Fri Dec  5 01:58:33 2003  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtknotebook.c: Implement RTL flipping for GtkNotebook:
	tabs displayed at the top/bottom are rearranged, and tabs on
	the left/right are displayed at the opposite edge.  (#96630)

866 867 868 869 870
2003-12-04  Mark McLoughlin  <mark@skynet.ie>

	* gtk/gtklabel.c: (gtk_label_set_attributes_internal): Allow
	gtk_label_set_attributes() take NULL. See bug #128517.

871 872 873 874 875 876 877 878 879
2003-12-03  Federico Mena Quintero  <federico@ximian.com>

	* gtk/gtkfilechooserentry.c (struct _GtkFileChooserEntry): Removed
	the in_change flag.
	(completion_idle_callback): Use a temporary list store and re-set
	it on the completion rather than modifying the old one.  We are
	re-reading the folder anyway, and this gets rid of non-atomicity
	problems.

880 881 882 883 884 885 886 887 888 889 890 891 892 893 894
2003-12-01  Federico Mena Quintero  <federico@ximian.com>

	Decouple impl->current_folder from the selection in the folder
	tree.  This is so that going to /home/federico/.foo (e.g. from a
	bookmark) will work even if show_hidden == FALSE.  The folder tree
	needs to be fixed in this case to show such folders explicitly.

	* gtk/gtkfilechooserdefault.c
	(gtk_file_chooser_default_set_current_folder): When changing
	folders, do the entry and list model work here, instead of
	tree_selection_changed().
	(struct _GtkFileChooserDefault): Added a changing_folder flag
	again, dum de dum.
	(tree_selection_changed): Use _gtk_file_chooser_set_current_folder_path().

895 896 897 898 899
Tue Dec  2 01:01:54 2003  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkiconfactory.h: Remove duplicate declaration of 
	gtk_icon_source_set_icon_name().  (#Jeff Franks, #128269)

900 901 902 903 904 905 906 907 908
2003-12-01  Federico Mena Quintero  <federico@ximian.com>

	Patch from Hans-Petter Jansson <hpj@ximian.com> to align the
	bookmarks buttons with the location entry.

	* gtk/gtkfilechooserdefault.c
	(gtk_file_chooser_default_constructor): Use a GtkSizeGroup for the
	bookmarks buttons and the location entry.

909 910 911 912 913 914 915 916 917 918 919 920 921
2003-12-01  Federico Mena Quintero  <federico@ximian.com>

	* gtk/gtkfilechooserdefault.c (create_shortcuts_tree): Set the
	shortcuts tree as a drag destination.
	(shortcuts_drag_data_received_cb): New callback.
	(get_file_info): Also fetch information on whether the file is a folder.
	(add_bookmark_button_clicked_cb): Use error_could_not_add_bookmark_dialog().
	(error_could_not_add_bookmark_dialog): New function.
	(shortcuts_add_bookmark_from_path): New helper function.
	(add_bookmark_button_clicked_cb): Use shortcuts_add_bookmark_from_path().
	(shortcuts_row_activated): We no longer need the changing_folder flag.
	(struct _GtkFileChooserDefault): Likewise.

922 923 924 925 926 927 928 929 930 931 932 933
Sun Nov 30 17:31:32 2003  Soeren Sandmann  <sandmann@daimi.au.dk>

	* gtk/gtktoolbar.c (slide_idle_handler): return TRUE if there are
	disappearing placeholders that are still visible.

	* gtk/gtktoolbar.c: formatting fixes

	* gtk/gtktoolbar.c (struct _ToolbarContent): new bit:
	disappearing, for placeholders that are going to disappear.

	* gtk/gtktoolbar.c (get_item_size): return 0 for disappearing placeholders

934 935 936 937 938 939 940
Sat Nov 29 00:55:28 2003  Jonathan Blandford  <jrb@gnome.org>

	* gtk/gtktreeview.c (gtk_tree_view_new_column_width): 
	* gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_realize_button):
	Patch from <chinen@jp.ibm.com> to handle RTL support for column
	resizers, #127874

941 942 943 944 945
Fri Nov 28 00:26:24 2003  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkfilesystemmodel.c (gtk_file_system_model_finalize): 
	Don't use freed memory.  (#127698, Taavi Talvik) 

946 947 948 949
Fri Nov 28 00:09:10 2003  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkfilechooserentry.c: Remove debug g_print()s. 

Matthias Clasen's avatar
Matthias Clasen committed
950 951 952 953
Thu Nov 27 22:17:50 2003  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkuimanager.c: Remove debug define.

954 955 956 957 958 959 960 961 962 963 964 965 966 967
Thu Nov 27 16:19:03 2003  Tim Janik  <timj@gtk.org>

	* gtk/gtkmenu.c: allow accel activation depending on sensitivity
	and the attach widget.

	* gtk/gtkmenuitem.c: allow accel activation depending on visibility,
	sensitivity and the parent menu.

	* gtk/gtkwidget.[hc]: introduced ::can-activate-accel signal which
	checks whether accelerators may activate a widget. the default handler
	demands the widget be sensitive and visible+viewable.

	* gtk/gtkaccelgroup.[hc]: export gtk_accel_group_activate().

968 969 970 971 972
Tue Nov 25 00:10:05 2003  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkuimanager.c (update_node): Don't show accelerators in
	popup menus.  (#127227)

973 974 975 976
Mon Nov 24 13:47:39 GMT 2003  Tony Gale <gale@gtk.org>

	* docs/faq/gtk-faq.sgml: start 2.x Section 4 updates

977 978 979 980 981 982 983
Mon Nov 24 04:05:15 2003  Soeren Sandmann  <sandmann@daimi.au.dk>

	* gtk/gtkradiotoolbutton.[ch]
	(gtk_radio_tool_button_new_from_widget): Make this function take a
	GtkRadioToolButton instead of a GtkWidget. (#127729, Murray
	Cumming)

984 985 986 987
Mon Nov 24 02:34:00 2003  Soeren Sandmann  <sandmann@daimi.au.dk>

	* gtk/gtktoolbar.c: remove variables in_dnd and leaving_dnd

988 989 990 991 992
Mon Nov 24 02:19:33 2003  Soeren Sandmann  <sandmann@daimi.au.dk>

	* gtk/gtktoolbar.c: remove variable
	n_overflowed_menu_items_when_dnd_started

993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020
Mon Nov 24 01:47:10 2003  Soeren Sandmann  <sandmann@daimi.au.dk>

	Rework sliding algorithm.
	- No more weird jumping when items are dragged off and added to
	the toolbar,
	- More natural item movement

	* gtk/gtktoolbar.c (gtk_toolbar_size_allocate): Many changes. This
	function is now responsible for calculating intermediate positions
	during item sliding. It is also responsible for starting sliding
	if items disappear.  Also turn off expanding when there is an
	overflow menu.
	(gtk_toolbar_begin_sliding, stop_sliding): New functions.
	(slide_idle_handler): New function. All the sliding is now done by
	gtk_toolbar_size_allocate(), so the idle handler now just checks
	if there is more sliding to be done.
	(compute_intermediate_allocation, position): new functions
	calculating intermediate steps in the slide animations. The new
	animation algorithm uses a constant speed instead of a constant
	must-be-finished-within time.
	(struct _ToolbarContent): use 
	GtkAllocation goal_allocation; and 
	GtkAllocation start_allocation; instead of 
	gint start/goal_width;

	* gtk/gtktoolitem.c (gtk_tool_item_set_tooltip): fix typo in
	documentation

1021 1022 1023 1024 1025
Sun Nov 23 22:26:25 2003  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtktooltips.c (gtk_tooltips_draw_tips): Make tooltip 
	positioning Xinerama-aware.  (#127332)

1026 1027 1028 1029 1030
Fri Nov 21 01:57:21 2003  Matthias Clasen  <maclas@gmx.de>

	* gdk/x11/gdkscreen-x11.c (init_xinerama_support): Make monitor
	boundaries visible in fake Xinerama mode.

1031 1032 1033 1034 1035
Thu Nov 20 15:41:56 2003  Manish Singh  <yosh@gimp.org>

	* gtk/gtkmenu.c (gtk_menu_set_tearoff_state): cast to GTK_WIDGET()
	for the gtk_widget_hide() call.

1036 1037 1038 1039 1040
Thu Nov 20 14:51:41 2003  Jonathan Blandford  <jrb@redhat.com>

	* gtk/gtktreedatalist.c (gtk_tree_data_list_compare_func): Patch
	from David Hampton to fix sorting on booleans.

1041 1042 1043 1044 1045 1046
Thu Nov 20 15:48:03 2003  Soeren Sandmann  <sandmann@daimi.au.dk>

	* gtk/gtksocket.c (gtk_socket_focus): Use gtk_widget_is_focus()
	instead of GTK_WIDGET_HAS_FOCUS. (#122327, Owen Taylor. Reported
	by Frederic Crozat).

1047 1048 1049 1050
Thu Nov 20 13:10:29 GMT 2003  Tony Gale <gale@gtk.org>

	* docs/faq/gtk-faq.sgml: Update Section 3 to 2.x

1051 1052 1053 1054 1055 1056 1057
2003-11-19  Federico Mena Quintero  <federico@ximian.com>

	Fixes to problems reported by Iain Holmes:

	* gtk/gtkfilechooserdefault.c (shortcuts_append_desktop): Do not
	throw up an error dialog if the desktop doesn't exist.
	(error_message): Handle the case where there is no real toplevel
1058

1059 1060 1061 1062
	yet.
	(list_model_filter_func): Always let folders pass through (patch
	by Dave Malcolm).

1063 1064 1065 1066 1067 1068
Wed Nov 19 23:19:23 2003  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtkcombobox.[ch] (gtk_combo_box_scroll_event): move function
	to a somewhat more logical place,
	(gtk_combo_box_remove_text): New function (#125262, Owen Taylor).

1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081
Wed Nov 19 22:15:01 2003  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtkentry.c (gtk_entry_completion_timeout): always resize
	the popup when it is visible, popdown when there are less chars
	than the minimum key length in the entry,
	(gtk_entry_completion_changed): popdown when the entry is empty.

	* gtk/gtkentrycompletion.c (gtk_entry_completion_init): set the
	size request of the vscrollbar to (-1, 0), to get a nicely sized
	completion treeview (Fixes #126573, reported by Piers Cornwell),
	(_gtk_entry_completion_resize_popup): show/hide the action_view
	based on items.

1082 1083 1084 1085 1086
2003-11-19  Federico Mena Quintero  <federico@ximian.com>

	* gtk/gtkfilechooserdialog.c (gtk_file_chooser_dialog_init): Turn
	off the dialog's separator (thanks to Iain Holmes).

1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098
Wed Nov 19 18:15:00 2003  Soeren Sandmann  <sandmann@daimi.au.dk>

	* gtk/gtkmenu.c (DEFAULT_POPUP_DELAY): set to 200 instead of 225
	* gtk/gtkmenuitem.c (get_minimum_width): Impose a minimum width
	on items that have a submenu. (#120104).

Wed Nov 19 18:11:08 2003  Soeren Sandmann  <sandmann@daimi.au.dk>

	* gtk/gtktoolbar.c (struct _ToolbarContent): Add a new
	"ItemState" field indicating the overflowed-ness etc. of the item.
	(gtk_toolbar_size_allocate): update the field here.

1099 1100 1101 1102 1103 1104 1105 1106 1107 1108
2003-11-19  Federico Mena Quintero  <federico@ximian.com>

	* gtk/gtkfilechooserdefault.c (create_filter): Don't add padding
	to the alignment.  Use the HIG-specified spacing between the
	filter label and the combo.
	(create_filename_entry): Use HIG-specified spacing between the
	location label and the entry.
	(gtk_file_chooser_default_constructor): Don't use vertical padding
	around the filename entry.

1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126
2003-11-19  Federico Mena Quintero  <federico@ximian.com>

	* gtk/gtkfilesystem.h (struct _GtkFileSystemIface): Added a
	render_icon virtual method.

	* gtk/gtkfilesystem.c (gtk_file_system_render_icon): New function.

	* gtk/gtkfilesystemunix.c (gtk_file_system_unix_render_icon):
	Implement as a stub for now.

	* gtk/gtkfilechooserdefault.c (shortcuts_insert_path): Use
	gtk_file_system_render_icon().
	(list_icon_data_func): Likewise.
	(toolbar_create): Set the toolbar style to icons only.

	* gtk/gtkfilechooser.c (gtk_file_chooser_add_shortcut_folder_uri):
	Fix doc comments.

1127 1128 1129 1130 1131
Wed Nov 19 02:18:37 2003  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkmenu.c (gtk_menu_set_tearoff_state): Call 
	gtk_widget_hide(menu) when reattaching the menu.  (#126057) 

1132 1133 1134 1135 1136 1137
Wed Nov 19 00:06:04 2003  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtkentrycompletion.c (gtk_entry_completion_selection_changed):
	only unselect all items if the treeview has focus. (Fixes bug
	reported by Marco Pesenti Gritti).

1138 1139 1140 1141 1142
Tue Nov 18 22:26:30 2003  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtkentry.c (gtk_entry_completion_key_press): the total
	number of actions is "matches + actions - 1". (Fixes #126572).

1143 1144 1145 1146 1147
Tue Nov 18 21:05:05 2003  Christian Persch  <chp@cvs.gnome.org>

	* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_inserted): fix
	mem leaks (#119435).

1148 1149 1150 1151 1152 1153
Tue Nov 18 20:51:38 2003  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_deleted): don't
	try to fetch the child back, since we do know that it is already
	gone by now (#126493, Marco Pesenti Gritti).

1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184
Tue Nov 18 19:47:59 2003  Kristian Rietveld  <kris@gtk.org>

	Fixes based on comments from Owen Taylor, #125264.

	* gtk/gtkcellview.[ch] (gtk_cell_view_finalize): remove unused
	variable,
	(gtk_cell_view_set_value), (gtk_cell_view_set_displayed_model): queue
	a resize,
	(gtk_cell_view_get_size_of_row): new function,
	(gtk_cell_view_set_value), (gtk_cell_view_set_valuesv),
	(gtk_cell_view_set_values), (gtk_cell_view_set_model),
	(gtk_cell_view_set_displayed_row), (gtk_cell_view_get_displayed_row):
	s/cellview/cell_view/ in the function definitions, so they match
	with the header file.

	* gtk/gtkcombobox.c (gtk_combo_box_remeasure): remove the resize
	flag again (:, and use gtk_cell_view_get_size_of_row instead of
	the measurer, remove _set_size_request call,
	(gtk_combo_box_calc_requested_width): use gtk_cell_view_get_size_of_row
	instead of the measurer,
	(gtk_combo_box_style_set): queue a resize,
	(gtk_combo_box_size_request): update of _remeasure call,
	(gtk_combo_box_init), (gtk_combo_box_cell_layout_pack_start),
	(gtk_combo_box_cell_layout_pack_end),
	(gtk_combo_box_cell_layout_clear),
	(gtk_combo_box_set_model): get rid of the measurer,
	(gtk_combo_box_cell_layout_add_attribute),
	(gtk_combo_box_cell_layout_set_cell_data_func),
	(gtk_combo_box_cell_layout_clear_attributes): ditto and queue a
	resize instead of calling _remeasure.

1185 1186 1187 1188 1189 1190 1191 1192 1193
Mon Nov 17 16:25:04 2003  Manish Singh <yosh@gimp.org>

	* gdk-pixbuf/Makefile.am
	* modules/input/Makefile.am: Use install-data-hook for
	gdk-pixbuf.loaders and gtk.immodules install generation targets.
	Fixes #112806.

	* gtk/gtkexpander.h: Apply missing declarations from #124449.

1194 1195
Tue Nov 18 00:12:55 2003  Matthias Clasen  <maclas@gmx.de>

Owen Taylor's avatar
Owen Taylor committed
1196
	Fix for #119555, Peter Zelezny:
1197 1198 1199 1200 1201 1202 1203
	
	* gdk/gdkdrawable.h: Declare gdk_drawable_copy_to_image.
	* gdk/gdkdraw.c (gdk_drawable_copy_to_image): Make public
	by removing the _ prefix. 
	* gdk/gdkdraw.c, gdk/gdkpixbuf-drawable.c, gdk/gdkpixmap.c, 
	gdk/gdkwindow.c: Adjust all callers.

1204 1205 1206 1207 1208
Mon Nov 17 23:36:02 2003  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkaction.c (gtk_action_activate): Only activate if 
	the action is sensitive.  (#127187, Christian Persch)

1209 1210 1211 1212
Mon Nov 17 23:23:49 2003  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkcombobox.c: Add mouse wheel support.  (#126517)

1213
Mon Nov 17 22:56:09 2003  Kristian Rietveld  <kris@gtk.org>
1214

1215 1216 1217 1218 1219 1220 1221 1222 1223
	* gtk/gtkentryprivate.h: add _gtk_entry_completion_resize_popup.

	* gtk/gtkentry.c (gtk_entry_completion_timeout): popup when not
	mapped, else resize_popup.

	* gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup),
	(_gtk_entry_completion_popup): moved all popup resizing code to
	_gtk_entry_completion_resize_popup, and show the window when there
	are more than zero items in the completion list again (sigh).
1224

1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237
2003-11-17  Mark McLoughlin  <mark@skynet.ie>

	Patch from Jaiserca <jaiserca@inf.upv.es> to add a
	"use_markup" property. See bug #124449.

	* gtk/gtkexpander.c:
	(gtk_expander_class_init),
	(gtk_expander_init), (gtk_expander_set_property),
	(gtk_expander_get_property), (gtk_expander_set_label),
	(gtk_expander_set_use_markup),	(gtk_expander_get_use_markup):
	Add a "use_markup" property and use it when creating the
	child label.

1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248
Mon Nov 17 12:58:32 2003  Kristian Rietveld  <kris@gtk.org>

	Temporary size requisition fix. Will fix it for real tonight.

	* gtk/gtkcombobox.c (gtk_combo_box_remeasure): add a resize flag,
	(gtk_combo_box_size_request): use gtk_combo_box_remeasure to determine
	a good width for the child,
	(gtk_combo_box_cell_layout_add_attribute),
	(gtk_combo_box_set_cell_data_func),
	(gtk_combo_box_cell_layout_clear_attributes): update.

1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272
Mon Nov 17 00:11:21 2003  Kristian Rietveld  <kris@gtk.org>

	Fixes #124373, Murray Cumming.

	* gtk/gtkcombobox.[ch] (gtk_combo_box_class_init): the model property
	is no longer construct only,
	(gtk_combo_box_unset_model), (gtk_combo_box_set_model_internal),
	(gtk_combo_box_menu_fill): new functions,
	(gtk_combo_box_menu_setup), (gtk_combo_box_menu_destroy),
	(gtk_combo_box_menu_row_*), (gtk_combo_box_list_setup),
	(gtk_combo_box_list_destroy): updated,
	(gtk_combo_box_new), (gtk_combo_box_new_with_model): new/changed
	functions,
	(gtk_combo_box_set_model): is now public, updated,
	(gtk_combo_box_get_model): small update.

	* gtk/gtkcomboboxentry.[ch] (gtk_combo_box_entry_class_init): the
	text_column property is no longer construct only,
	(gtk_combo_box_entry_set_text_column): now public,
	(gtk_combo_box_entry_new), (gtk_combo_box_entry_new_with_model):
	new/changed functions.

	* tests/testcombo.c: updated.

1273 1274 1275 1276 1277 1278 1279 1280
Sun Nov 16 22:50:58 2003  Matthias Clasen  <maclas@gmx.de>

	Reinstate fixes for (#124212, Marco Pesenti Gritti):
	
	* gtk/gtkuimanager.c (update_smart_separators): Don't spit 
	warnings for popups.
	(_gtk_menu_is_empty): Return FALSE for non-menus.

1281 1282 1283 1284 1285 1286
Sun Nov 16 21:48:40 2003  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtkcellview.c (gtk_cell_view_finalize): just call
	gtk_cell_view_cell_layout_clear instead of trying to free the
	structure ourselves here. (#125726, Morten Welinder).

1287 1288 1289 1290 1291 1292
Sun Nov 16 00:35:29 2003  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkfilechooser.[hc]: 
	* gtk/gtkentrycompletion.h: Fix parameter name mismatches which
	confuse gtk-doc.

1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318
2003-11-15  Hans Breuer  <hans@breuer.org>

	* gdk/makefile.msc gdk/gdk.def 
            gtk/gtk.def gtk/makefile.msc.in : updated
	* tests/makefile.msc : added all the new tests

	* gtk/gtkfilefilter.c(finalize) : initialize filter
	from object not from itself

	* gtk/gtkfilesystemwin32.[hc] : copied from gtkfilesystemunix.[hc]
	modified as less as posible to have aworking implementation
	on win32. There maybe the desire to merge the unchanged pats into
	a common base class.
	Also implemented a simple glib based bookmark handling, which
	is currently missing in gtkfilesystemunix.[hc] but can be copied
	over there.
	* gtk/gtkfilechooserwidget.c : conditional include gtkfilesystemwin32.h

	* gdk/win32/gdkwindow-win32.c : implement 
	gdk_window_set_keep_above() and gdk_window_set_keep_below()

	* tests/testmerge.c : don't include unistd.h unconditionally,
	#define STDOUT_FILENO if it isn't defined

	* tests/testfilechooser.c : make it compile on win32

1319 1320 1321 1322 1323
2003-11-15  Tor Lillqvist  <tml@iki.fi>

	* gdk/win32/gdkwindow-win32.c (gdk_window_focus): If the window is
	maximized, use SW_SHOWMAXIMIZED. (#126986, John Ehresman)

1324 1325 1326 1327
Thu Nov 13 12:55:29 GMT 2003  Tony Gale <gale@gtk.org>

	* docs/faq/gtk-faq.sgml: Update the rest of Section 2

1328 1329 1330 1331 1332 1333
Thu Nov 13 01:46:32 2003  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkicontheme.c (gtk_icon_theme_init): Use 
	GTK_DATADIR/{icons,pixmaps} instead of 
	GTK_DATA_PREFIX/{icons,pixmaps}.  (#123365, Marco Pesenti Gritti)

1334 1335
Wed Nov 12 21:40:10 2003  Matthias Clasen  <maclas@gmx.de>

1336
	Changes to improve menu positioning on Xinerama (#108328, #126150):
1337
	
1338 1339 1340
	* gtk/gtkmenuitem.c (gtk_menu_item_position_menu): Use the event 
	window of the menuitem to determine the monitor. This fixes some

1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354
	* gtk/gtkmenu.c (struct _GtkMenuPrivate): Add a menu_num field
	to store the monitor on which the menu is to be positioned.

	* gtk/gtkmenu.[hc] (gtk_menu_position): Store the monitor number
	in the GtkMenuPrivate struct and fetch the monitor geometry after
	calling the position_func, in case it has been changed.

	* gtk/gtkmenu.c (gtk_menu_set_monitor): New function 
	to be used in GtkMenuPositionFunc implementations for setting
	the monitor_num field in GtkMenuPrivate.

	* gtk/gtkmenuitem.c (gtk_menu_item_position_menu): Call 
	gtk_menu_set_monitor.

1355 1356 1357
Wed Nov 12 21:00:10 2003  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkinputdialog.c (gtk_input_dialog_init): Clarify the
1358
	label for the empty list. String change.  (#95446, Tomas Ögren)
1359

1360 1361 1362 1363 1364
Wed Nov 12 20:57:50 2003  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkicontheme.h (enum GtkIconLookupFlags): Correct
	the definition of the values.  (#123361, Marco Pesenti Gritti)

1365 1366 1367 1368 1369
Wed Nov 12 20:54:02 2003  Matthias Clasen  <maclas@gmx.de>

	* gdk/gdkkeyuni.c: Map KP_Separator to ','.
	(#122941, Egmont Koblinger)

1370 1371 1372 1373 1374
2003-11-12  Padraig O'Briain  <padraig.obriain@sun.com>

	*gtk/gtkcolorsel.c (gtk_color_selection_init): Add tooltip for
	opacity entry widget. Change tooltip for opacity widgets. (#126426)

1375 1376 1377 1378 1379
2003-11-12  Padraig O'Briain  <padraig.obriain@sun.com>

	* gtk/gtkmenu.c (gtk_menu_popup): Do not let pointer position
	affect window menu position when popped from keyboard. (#102660)

1380 1381 1382 1383 1384 1385 1386
Wed Nov 12 01:29:32 2003  Soeren Sandmann  <sandmann@daimi.au.dk>

	* gtk/gtktoolbar.c (gtk_toolbar_internal_insert_element): When we
	are using the old API, make all items "is_important". That way
	BOTH_HORIZ will continue to show both icon and label in old API
	mode.

1387 1388 1389 1390 1391
Mon Nov 10 00:40:41 2003  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkeventbox.c (gtk_event_box_set_above_child): 
	Remember the new value in all cases.  (#126276, Damon Chaplin)

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
Sat Nov  8 23:06:02 2003  Matthias Clasen  <maclas@gmx.de>

	* demos/gtk-demo/main.c (row_activated_cb): Call the do_
	functions with the toplevel as argument.

	* demos/gtk-demo/geninclude.pl.in: Change the signature
	of GDoDemoFunc to take a widget argument

	* demos/gtk-demo/ui_manager.c (do_ui_manager): 
	* demos/gtk-demo/tree_store.c (do_tree_store): 
	* demos/gtk-demo/textview.c (do_textview): 
	* demos/gtk-demo/stock_browser.c (do_stock_browser): 
	* demos/gtk-demo/sizegroup.c (do_sizegroup): 
	* demos/gtk-demo/pixbufs.c (do_pixbufs): 
	* demos/gtk-demo/panes.c (do_panes): 
	* demos/gtk-demo/menus.c (do_menus): 
	* demos/gtk-demo/list_store.c (do_list_store): 
	* demos/gtk-demo/images.c (do_images): 
	* demos/gtk-demo/hypertext.c (do_hypertext): 
	* demos/gtk-demo/editable_cells.c (do_editable_cells): 
	* demos/gtk-demo/drawingarea.c (do_drawingarea): 
	* demos/gtk-demo/dialog.c (do_dialog): 
	* demos/gtk-demo/colorsel.c (do_colorsel): 
	* demos/gtk-demo/changedisplay.c (do_changedisplay): 
	* demos/gtk-demo/button_box.c (do_button_box): 
	* demos/gtk-demo/appwindow.c (do_appwindow): Take a widget
	as argument, and make new windows or dialogs appear on the
	same screen.  (#80388)

1421 1422 1423 1424 1425 1426
Sat Nov  8 21:59:30 2003  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkeventbox.c (gtk_event_box_class_init): Let 
	visible-window default to TRUE, as documented and 
	implemented. (#126270 Damon Chaplin)

Matthias Clasen's avatar
Matthias Clasen committed
1427 1428 1429 1430 1431 1432 1433 1434
Sat Nov  8 01:50:17 2003  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkicontheme.c: 
	* gtk/gtkfilechooserwidget.c (gtk_file_chooser_widget_new): 
	* gtk/gtkfilechooserdialog.c (gtk_file_chooser_dialog_new): 
	* gtk/gtkfilechooser.c (gtk_file_chooser_[un]select_all): Mark as
	2.4 additions.

1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445
2003-11-07  Federico Mena Quintero  <federico@ximian.com>

	Changing GtkFileChooserEntry to use GtkEntryCompletion.

	* gtk/gtkfilechooserentry.c (gtk_file_chooser_entry_init): Create
	a GtkListStore for the completion list.  Create a
	GtkEntryCompletion and attach it to the chooser entry.
	(gtk_file_chooser_entry_finalize): Unref the completion store.
	(completion_match_func): New callback for the GtkEntryCompletion.
	(completion_idle_callback): Fill the completion store with filenames.

1446 1447 1448 1449 1450 1451 1452 1453 1454
Fri Nov  7 22:55:49 2003  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkwindow.c (gtk_window_set_role): 
	* gtk/gtkwindow.c (gtk_window_set_title): 
	* gtk/gtkwidget.c (gtk_widget_set_name): 
	* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_title): 
	* gtk/gtkbutton.c (gtk_button_set_label): Make string setters
	safe for self-assignment.  (#122745, Soeren Sandmann)

1455 1456 1457 1458 1459
Thu Nov  6 20:41:40 2003  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkstyle.c (gtk_style_attach): Fix doc comment.
	(#126369, Olexiy Avramchenko)

1460 1461 1462 1463 1464 1465
Thu Nov  6 00:21:41 2003  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkcolorbutton.c (gtk_color_button_init): 
	* gtk/gtkfontbutton.c (gtk_font_button_init): Improve the 
	consistency of titles.  (#126193, Damon Chaplin)

1466 1467 1468 1469 1470 1471 1472
Wed Nov  5 22:49:36 2003  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkmenu.c (gtk_menu_set_tearoff_state): Set torn off 
	menus to be transient for the toplevel they were torn off from.
	(gtk_menu_get_toplevel): Auxiliary function to find the
	toplevel of a menu.  (#54775, Jon-Kare Hellan)

1473 1474 1475 1476 1477
Wed Nov  5 21:07:58 2003  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkpaned.c (gtk_paned_class_init): Add readonly properties
	min-position and max-position.  (#58431, Padraig O'Briain)

1478 1479 1480 1481 1482 1483 1484 1485
Wed Nov  5 21:02:26 2003  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkcolorsel.c (update_color): 
	(make_label_spinbutton): 
	(adjustment_changed): Change the ranges for Saturation and
	Value to be 0-100 instead of 0-255, since these axes of HSV
	are usually expressed in percent.  (#121519, Gregory Merchan)

GMT 2003  Tony Gale's avatar
GMT 2003 Tony Gale committed
1486 1487 1488 1489
Wed Nov  5 08:51:48 GMT 2003  Tony Gale <gale@gtk.org>

	* docs/faq/gtk-faq.sgml: More 2.x updates

1490 1491 1492 1493 1494
Tue Nov  4 15:00:33 GMT 2003  Tony Gale <gale@gtk.org>

	* docs/faq/gtk-faq.sgml: More 2.x updates, fix
	pkg-config command error, update copyright.

1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508
2003-11-03  Federico Mena Quintero  <federico@ximian.com>

	* gtk/gtkfilechooserdefault.c (error_dialog): Take in a path as
	well.  Use a helper function.
	(shortcuts_append_home): Display an error box if necessary.
	(shortcuts_append_desktop): Likewise.
	(add_bookmark_button_clicked_cb): Likewise.
	(gtk_file_chooser_default_select_path): Likewise.
	(entry_activate): Likewise.
	(shortcuts_append_paths): New helper function.
	(shortcuts_append_file_system_roots): Use
	shortcuts_append_paths().
	(shortcuts_append_bookmarks): Likewise.

1509 1510 1511 1512 1513 1514
Mon Nov  3 23:12:41 2003  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkuimanager.c (_gtk_menu_is_empty): Return TRUE if 
	menu is NULL.
	(update_smart_separators): Remove some unneeded ifs.

1515 1516 1517 1518 1519
Mon Nov  3 22:45:58 2003  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkwindow-decorate.h: Add G_BEGIN_DECLS/G_END_DECLS to make 
	these usable in C++. Forgot this file in my Oct 11 commit.

1520 1521 1522 1523 1524 1525 1526 1527 1528 1529
2003-11-03  Federico Mena Quintero  <federico@ximian.com>

	* gtk/gtkfilechooserdefault.c (create_shortcuts_tree): Add a stock
	icon to the "Add bookmark" button.

	* gtk/gtkfilesystemunix.c: Mark missing strings for translation.
	* gtk/gtkfilesystemmodel.c: Likewise.
	* gtk/gtkfilechooser.c: Likewise.
	* gtk/gtkfilechooserdefault.c: Likewise.

1530 1531 1532 1533 1534 1535 1536 1537
Mon Nov  3 20:56:28 2003  Matthias Clasen  <maclas@gmx.de>

	* gdk/gdk.c: 
	* gdk/gdkinternals.h: 
	* gdk/x11/gdkscreen-x11.c (init_xinerama_support): Introduce a
	GDK_DEBUG_XINERAMA debug flag, and make it trigger a fake 2x2
	Xinerama mode when no actual Xinerama setup is found. 

1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550
2003-11-03  Federico Mena Quintero  <federico@ximian.com>

	* gtk/gtkfilechooserdefault.c (shortcuts_select_folder): Removed.
	(create_shortcuts_tree): Don't call the above.
	(bookmarks_changed_cb): Likewise.
	(tree_selection_changed): Unselect everything from the shortcuts
	list.  This is the behavior that Mac OS has.
	(toolbar_add_item): Return the item.
	(toolbar_create): Store the up_button in the impl structure.
	(toolbar_check_sensitivity): New function to set the sensitivity
	of the "Up" button in the toolbar.
	(tree_selection_changed): Call toolbar_check_sensitivity().

1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564
2003-11-02  Federico Mena Quintero  <federico@ximian.com>

	* gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_init): Do
	not set a border width for the toplevel container.
	(toolbar_create): New function; create a simple toolbar for the
	file chooser.
	(gtk_file_chooser_default_constructor): Use a spacing of 12 for
	the table, as per the HIG.
	(gtk_file_chooser_default_init): Likewise, for the default
	implementation's vbox.

	* gtk/gtkfilesystem.c (gtk_file_system_get_parent): Added docs to
	note that NULL is a valid return value for the parent path.

1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592
Sat Nov  1 14:59:27 2003  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkfilechooserdefault.c (shortcuts_row_activated): 
	Change on activation, not selection change (temporary
	workaround for #125955, needed for keynav, likely
	the right UI anyways.)

	* gtk/gtkfilechooserdefault.c (shortcuts_select_func): 
	Don't allow the separator node to be selected.

	* gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_constructor):
	Set the focus chain so that the entry gets focused first.
	(Not really right after initial focusing, maybe we
	should just have a gtk_file_chooser_focus_entry() that
	we call from gtk_file_chooser_dialog on creation.)

Sat Nov  1 12:41:04 2003  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkwindow.c (gtk_window_unfullscreen): Fix a
	residual call to gtk_window_get_private().

Sat Nov  1 09:10:13 2003  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkwindow.[ch]: Move above_initially, below_initially
	into GtkWindowPrivate structure, fixing ABI breakage
	on Win32. (Hans Breuer). Switch GtkWindowPrivate over
	to instance-private-data.

1593 1594 1595 1596 1597 1598 1599
Fri Oct 31 02:43:34 2003  Soeren Sandmann  <sandmann@daimi.au.dk>

	* gtk/gtktoolbar.c (get_item_requisition): delete this function
	(toolbar_item_is_homogeneous): cache max_homogeneous_pixels
	instead of re-calculating for each item.
	(gtk_toolbar_size_allocate): Update comments

1600 1601 1602 1603 1604
Thu Oct 30 22:04:31 2003  Soeren Sandmann  <sandmann@daimi.au.dk>

	* gtk/gtktoolbar.c (gtk_toolbar_forall): Only include
	placeholders when include_internals is TRUE.

1605 1606 1607 1608 1609 1610 1611
Thu Oct 30 17:57:53 2003  Soeren Sandmann  <sandmann@daimi.au.dk>

	* gtk/gtktoolbar.c (logical_to_physical): Make it work even when
	item 0 is a placeholder. (#125826)
	* tests/testtoolbar.c: add an assertion that 
	gtk_toolbar_get_nth_item (0) != NULL

1612 1613 1614
Thu Oct 30 17:40:26 2003  Soeren Sandmann  <sandmann@daimi.au.dk>

	* gtk/gtktoolbar.c (logical_to_physical): Make it work for
1615
	logical == 0.(#125826)
1616

1617 1618 1619 1620 1621 1622 1623
Thu Oct 30 16:20:58 2003  Soeren Sandmann  <sandmann@daimi.au.dk>

	* gtk/gtktoolbar.c (logical_to_physical): Make sure we actually
	return the index of a real item.
	(get_nth_item) assert that the returned items is not a
	placeholder.  (#125826, Marco Pesenti Gritti).
	
1624 1625 1626 1627 1628 1629
2003-10-29  Federico Mena Quintero  <federico@ximian.com>

	* gtk/gtkcellrendererseptext.c
	(gtk_cell_renderer_sep_text_render): Only paint a separator if the
	text is NULL, rather than also doing it if it is an empty string.

1630 1631 1632 1633 1634 1635 1636 1637
Wed Oct 29 15:40:26 2003  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkmessagedialog.c (gtk_message_dialog_new/
	gtk_message_dialog_new_with_format): Allow NULL
	for message_format, as described in the docs and
	as worked previously. (#125759, Richard Hult)

	* gtk/gtkmessagedialog.c (gtk_message_dialog_new_with_markup):
Owen Taylor's avatar
Owen Taylor committed
1638
	Use g_markup_vprintf_escaped() to escape arguments.
1639 1640 1641 1642

	* gtk/gtkmessagedialog.[ch]: Add gtk_message_dialog_set_markup()
	so there is some way to set literal markup.

1643 1644 1645 1646 1647 1648 1649
Wed Oct 29 15:01:32 2003  Owen Taylor  <otaylor@redhat.com>
 
 	* gdk/x11/gdkimage-x11.c (_gdk_x11_copy_to_image): Move
 	the call to gdk_error_trap_pop() to the right place,
 	fixing a problem where we'd pop() too many times 
 	when bailing out. (#123302, Thomas Leonard)
	
1650 1651 1652 1653 1654
Wed Oct 29 12:50:02 2003  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkfilechooserutils.c (delegate_set_current_folder): 
	Fix infinite recursion. (#125679, Christian Persch)

1655 1656 1657 1658 1659
Wed Oct 29 13:29:15 GMT 2003  Tony Gale <gale@gtk.org>

	* docs/faq/gtk-faq.sgml: further 2.x updates:
	mirrors,compiling,g_main_context_iteration

1660 1661 1662 1663 1664 1665 1666 1667
Wed Oct 29 02:54:35 2003  Soeren Sandmann  <sandmann@daimi.au.dk>

	* gtk/gtktoolbar.[ch] (gtk_toolbar_set_drop_highlight_item): Add this
	function; remove gtk_toolbar_highlight_drop_location() and
	gtk_toolbar_unhighlight_drop_location().

	Also fix bug where the number of overflowed items were miscounted.

1668 1669 1670 1671 1672
Tue Oct 28 12:20:16 2003  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkwindow.c (gtk_window_has_toplevel_focus): Remove
	some accidentally committed duplicate code.

1673
Tue Oct 28 17:06:17 GMT 2003  Tony Gale <gale@gtk.org>
1674

1675 1676
        * docs/faq/gtk-faq.sgml: Update info on compiling GTK+

1677 1678 1679 1680 1681 1682 1683
Tue Oct 28 10:34:24 2003  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkwindow.[ch] (gtk_window_is_active, 
	gtk_has_toplevel_focus): Add getters corresponding to
	the is_active and has_toplevel_focus properties.
	(#122531)

1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695
2003-10-28  Mark McLoughlin  <mark@skynet.ie>

	* gtk/gtkexpander.c:
	(gtk_expander_class_init): hook up the destroy handler.
	(gtk_expander_destroy), (gtk_expander_unrealize):
	remove the expand/collapse timeout on destroy instead
	of unrealize to avoid leaving the expander in a inconsistent
	state when unrealizing during animation.
	(gtk_expander_start_animation): remove realized check.
	(gtk_expander_set_expanded): if the widget isn't realized,
	expand immediately.

1696 1697 1698 1699 1700 1701
Tue Oct 28 09:44:16 2003  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkxembed.c (_gtk_xembed_send_focus_message): Silently
	do nothing when recipient is NULL, as described in the
	doc comment. (#123107, Thomas Leonard)

1702 1703 1704 1705 1706 1707
Tue Oct 28 09:21:29 2003  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkmain.c (gtk_check_version): Move docs inline,
	rewrite docs, mention memory management for the return
	value. (Partly addresses #125549, Michael Natterer)

1708 1709 1710
2003-10-28  Padraig O'Briain  <padraig.obriain@sun.com>

	* gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_remove_filter):
Owen Taylor's avatar
Owen Taylor committed
1711
	Change index to filter_index to fix compilation error.
1712 1713 1714

	* gtk/gtkfilesystem.h: Correct definition of gtk_file_path_get_string.

1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726
Mon Oct 27 15:47:58 2003  Manish Singh  <yosh@gimp.org>

	* gdk/x11/gdkscreen-x11.c: #include <X11/extensions/Xrandr.h> if
	we have RandR support, for XRRUpdateConfiguration declaration.

	* gtk/gtkfilefilter.c: #include "gtkprivate.h" for _gtk_fnmatch
	declaration.

	* gtk/gtkuimanager.c (gtk_ui_manager_add_ui_from_file): Make
	length a gsize variable, since that's what g_file_get_contents()
	expects.

1727 1728 1729 1730
Mon Oct 27 12:18:49 2003  Owen Taylor  <otaylor@redhat.com>

	* NEWS: Fix attribution for above/below EWMH work.

1731 1732 1733 1734 1735
Sat Oct 25 23:30:13 2003  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkactiongroup.c (gtk_action_group_class_init): Add "name" 
	as a construct-only property.  (#125475, Murray Cumming)

1736 1737
Thu Oct 23 21:55:10 2003  Soeren Sandmann  <sandmann@daimi.au.dk>

1738 1739
	Fix bug 116297 and 125472
	
1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761
	* gtk/gtktoolbar.c (gtk_toolbar_highlight_drop_location): Make
	this function take an index and a GtkToolItem.

	* tests/testtoolbar.c (main): Make "Show Arrow" default to
	true. Make one of the separators !draw and expand.
	Update for new highlight_drop_location() API.

	* gtk/gtktoolitem.[ch]: Remove "pack_end" property

	* gtk/gtktoolbar.h: Formatting fixes.

	* gtk/gtktoolbar.c: Remove "pack_end" child property. Allow
	separator tool items to expand.
	(logical_to_physical, physical_to_logical): Fix off-by-one errors
	(Fix #125472, Marco Pesenti Gritti)

	* gtk/gtkseparatortoolitem.[ch]: Add new "draw" property.
	(gtk_separator_tool_item_expose) only draw if "draw" is TRUE. Also
	return FALSE, not TRUE.
	(gtk_separator_too_item_{set|get}_property,
	(gtk_separator_tool_item_{set|get}_draw): new functions

Owen Taylor's avatar
Owen Taylor committed
1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773
Fri Oct 24 16:54:04 2003  Owen Taylor  <otaylor@redhat.com>

	* === Released 2.3.0 ===

	* configure.in: Remove a stray comma.

	* README.in: Fix a few notes about Xft 1 and pango-1.0.

	* NEWS: Finish updates for 2.3.0.

	* po/Makefile.in.in: Update to latest GLib version.

1774 1775 1776 1777 1778 1779 1780 1781
Fri Oct 24 20:31:35 2003  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtkcellview.[ch], gtk/gtkcellviewmenuitem.[ch],
	gtk/gtkcombobox.[ch], gtk/gtkcomboboxentry.[ch],
	gtk/gtktreemodelfilter.[ch]: Fix licensing (I managed to put it
	under GPL licensing instead of LGPL...). (Fixes #125381, Soeren
	Sandmann).

1782 1783 1784 1785
Fri Oct 24 20:22:40 2003  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreemodelfilter.h: add padding to the class structure.

1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796
2003-10-23  Federico Mena Quintero  <federico@ximian.com>

	* gtk/gtkfilechooser.c (gtk_file_chooser_get_preview_uri): Fixed docs.
	(gtk_file_chooser_remove_filter): Likewise.
	(gtk_file_chooser_select_all): Added docs.
	(gtk_file_chooser_unselect_all): Likewise.

	* gtk/gtkfilechooserdialog.c (gtk_file_chooser_dialog_new): Added docs.

	* gtk/gtkfilechooserwidget.c (gtk_file_chooser_widget_new): Added docs.

1797 1798 1799 1800 1801
Thu Oct 23 23:22:15 2003  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkfilefilter.c: 
	* gtk/gtkfilechooser.c: Add "Since: 2.4" to all API doc comments.

1802 1803 1804 1805
Thu Oct 23 22:33:47 2003  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkfilefilter.c (gtk_file_filter_new): Fix doc markup.

Matthias Clasen's avatar
Matthias Clasen committed
1806 1807 1808 1809
Thu Oct 23 21:49:05 2003  Matthias Clasen  <maclas@gmx.de>

	* NEWS: Remove a few duplicates, group the menu changes.

1810 1811 1812 1813 1814
Thu Oct 23 21:12:50 2003  Kristian Rietveld  <kris@gtk.org>

	* NEWS: Updates for 2.3.0; changed header to match the style we used
	for 2.1.0.

1815 1816 1817 1818 1819
Thu Oct 23 20:47:44 2003  Matthias Clasen  <maclas@gmx.de>

	* gdk/x11/gdkwindow-x11.c (gdk_window_set_group): Actually
	assign the new leader.  (#125168, Mariano Suarez-Alvarez)

Kristian Rietveld's avatar
Kristian Rietveld committed
1820 1821 1822 1823 1824 1825
Thu Oct 23 20:21:16 2003  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtkcelllayout.c, gtk/gtkcellview.c gtk/gtkcellviewmenuitem.c,
	gtk/gtkcombobox.c, gtk/gtkcomboboxentry.c, gtk/gtkentrycompletion.c,
	gtk/gtktreemodelfilter.c, gtk/gtkcellrenderertoggle.c: Fix includes.

1826 1827 1828 1829
Thu Oct 23 15:13:56 2003  Soeren Sandmann  <sandmann@daimi.au.dk>

	* NEWS: Partial update for 2.3.0.

1830 1831 1832 1833 1834
Thu Oct 23 01:09:04 2003  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkfilechooserdefault.c: Convert GtkOptionMenu to
	GtkComboBox.

1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855
Wed Oct 22 23:20:04 2003  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkfilechooser.[ch] gtk/gtkfilefilter.[ch] 
	gtk/gtkfilechooserwidget.[ch] gtk/gtkfilechooserdialog.[ch]:
	gtk/gtkfilechooserutils.c gtk/gtkfilechooserprivate.[ch]:
	Basic framework for the new file selector widget.

	* gtk/gtkfilechooserdefault.[ch] gtk/gtkcellrenderersep.[ch] 
	gtk/gtkfilechooserentry.[ch] gtk/gtkfilesystemmodel.[ch]:
	Initial implementation of the GtkFileChooser user interface.

	* gtk/gtkfilesystemunix.[ch]: GtkFileSystem implementation
	for Unix files.

	* configure.in gtk/Makefile.am gtk/xdgmime: Build code
	for freedesktop.org MIME system on Unix.

	* tests/testfilechooser.c: Test program for GtkFileChooser

	* tests/prop-editor.c: Add support for properties on interfaces.

Owen Taylor's avatar
Owen Taylor committed
1856 1857 1858 1859 1860 1861 1862 1863
Tue Oct 21 16:12:51 2003  Owen Taylor  <otaylor@redhat.com>

	* demos/gtk-demo/menus.c (do_menus): Fix some unused
	variables.

	* gtk/gtkmain.c (_gtk_get_lc_ctype): Fix an unused
	variable warning.

Matthias Clasen's avatar
Matthias Clasen committed
1864 1865 1866 1867
Thu Oct 23 00:04:50 2003  Matthias Clasen  <maclas@gmx.de>

	* NEWS: Partial update for 2.3.0.

1868 1869 1870 1871 1872 1873
Tue Oct 21 22:07:12 2003  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeview.c (gtk_tree_view_real_move_cursor): set
	ctrl_pressed and shift_pressed according to the current event
	state (if there is one). (Fixes #125063, reported by Sebastien Bacher).

1874 1875 1876 1877 1878 1879 1880
Mon Oct 20 23:24:27 2003  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtkentry.c (gtk_entry_key_press): remove the completion
	timeout when the user pressed on Enter/ESC. Fixes the bug where the
	completion popup popped up after the user pressed on Enter (which is
	just weird). Reported by the Epiphany people (all of them).

1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906
Mon Oct 20 20:27:22 2003  Soeren Sandmann  <sandmann@daimi.au.dk>

	Add support for OS X like sliding of toolbar items during drag and
	drop, (#110919, Dave Bordoley)

	Make dnd highlighting the responsibility of the
	application. (Fixes #116298, Owen Taylor)

	* gtk/gtktoolbar.h: Add prototypes for new API.
	
	* gtk/gtktoolbar.c
	(physical_to_logical, logical_to_physical): new functions
	converting between "position including placeholders" and "position
	excluding placeholders".
	(gtk_toolbar_class_init): remove drag_leave and drag_motion
	handlers
	(struct _ToolbarContent): new struct containing information
	related to toolbar items.
	(gtk_toolbar_highlight_drop_location): new public function
	(gtk_toolbar_unhighlight_drop_location): new public function
	
	* tests/testtoolbar.c
	(toolbar_drag_motion, toolbar_drag_leave): new functions
	(main): connect to dnd signals.  Make the "New" item expand to
	make drag and drop more exciting.

1907 1908 1909 1910 1911
Wed Oct 15 22:39:23 2003  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtkcomboboxentry.c (gtk_combo_box_entry_init): it's
	_set_active, not _set_active_item.

1912 1913 1914 1915 1916 1917
Wed Oct 15 22:31:09 2003  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtkcombobox.h: add padding to the class structure.
	* gtk/gtkcomboboxentry.h: ditto.
	* gtk/gtkentrycompletion.h: ditto.

1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928
Wed Oct 15 22:04:59 2003  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtkcombobox.c (gtk_combo_box_get_active),
	(gtk_combo_box_set_active): mention in the docs that -1 is a valid
	value and what it means.

	* gtk/gtkcomboboxentry.c (gtk_combo_box_entry_init): set the active
	item to -1 (default),
	(gtk_combo_box_entry_active_changed): do nothing when the index is
	< 0.

1929 1930 1931 1932 1933 1934 1935 1936
Tue Oct 14 16:10:21 2003  Jonathan Blandford  <jrb@redhat.com>

	* gtk/gtkcombobox.c (gtk_combo_box_set_active_iter): New function
	to set the active row by iter.

	* gtk/gtkcombobox.c (gtk_combo_box_get_active_iter): New function
	to get the active row by iter.

1937 1938 1939 1940 1941 1942 1943
2003-10-13  Federico Mena Quintero  <federico@ximian.com>

	* gtk/gtktreeview.c (gtk_tree_view_real_collapse_row): Don't do
	operations on windows if the tree view is not mapped.
	(gtk_tree_view_button_press): Compare equal types of pointers, not
	GtkWidget* vs. GtkTreeView*.

1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959
Mon Oct 13 21:01:43 2003  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtkentrycompletion.c (gtk_entry_completion_popup): remove
	the reset of first_sel_changed, as after the first popup the treeview
	will always have a row selected and will thus not focus_to_cursor.

	* gtk/gtkentry.c (keyval_is_cursor_move): new function to determine
	whether the keyval should move the completion selection cursor (used
	to avoid ending up with extreme cluttered code), also added
	all KP_ equivalents of the keys here,
	(gtk_entry_completion_key_press): Keynav tweaks based on comments
	from Dave Bordoley and Marco Pesenti Gritti; add the -1 state
	as possible current selection, implement Home/End keys, modified
	the down key to stop cycling. Maybe page up/down should be implemented
	at some later time.

1960 1961 1962 1963 1964
Mon Oct 13 20:58:07 2003  Matthias Clasen  <maclas@gmx.de>

	* gdk/x11/gdkwindow-x11.c (gdk_window_set_icon): Make it work 
	as documented when pixmap or mask is NULL.  (#124081) 

1965 1966
Mon Oct 13 20:21:38 2003  Kristian Rietveld  <kris@gtk.org>

Kristian Rietveld's avatar
Kristian Rietveld committed
1967
	* gtk/gtkentry.c (gtk_entry_set_text): I overlooked a return when
1968 1969 1970
	I was adding the signal block/unblock code. Oops. (Noticed by
	Marco Pesenti Gritti).

1971 1972 1973 1974 1975
Mon Oct 13 20:21:55 2003  Kristian Rietveld  <kris@gtk.org>

	* demos/testpixbuf-scale.c: enable GTK_DISABLE_DEPRECATED again,
	(set_interp_type), (main): port over from option menu to GtkComboBox.

1976 1977 1978 1979 1980
Mon Oct 13 19:41:55 2003  Kristian Rietveld  <kris@gtk.org>

	* tests/testmenus.c: Still uses option menus, so turn off
	GTK_DISABLE_DEPRECATED.

1981 1982 1983 1984 1985 1986 1987 1988
Sun Oct 12 01:10:29 2003  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkalignment.[hc]: 
	* gtk/gtkcombobox.[hc]: 
	* gtk/gtkcomboboxentry.[hc]: 
	* gtk/gtktreemodelfilter.[hc]: Move GET_PRIVATE macros
	from header to implementation.

1989 1990 1991 1992 1993 1994 1995
Sun Oct 12 00:18:02 2003  Matthias Clasen  <maclas@gmx.de>

	* tests/testtreeview.c: 
	* demos/testpixbuf-scale.c: 
	* tests/prop-editor.c: These files still use option menus,
	so turn off GTK_DISABLE_DEPRECATED to fix the build. 

1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007
Sat Oct 11 23:14:36 2003  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkactiongroup.h: 
	* gtk/gtkaction.h: 
	* gtk/gtkradioaction.h: 
	* gtk/gtkradiotoolbutton.h: 
	* gtk/gtkseparatortoolitem.h: 
	* gtk/gtktoggleaction.h: 
	* gtk/gtktoolitem.h: 
	* gtk/gtkuimanager.h: Add G_BEGIN_DECLS/G_END_DECLS to make 
	these usable in C++.  (#124351, Murray Cumming)

2008 2009 2010 2011 2012
Sat Oct 11 19:09:05 2003  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtkentry.c (gtk_entry_set_text): Check if completion is
	non-NULL before accessing it. Oops.

2013 2014 2015 2016 2017 2018 2019 2020
Sat Oct 11 15:47:03 2003  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtkentrycompletion.[ch] (gtk_entry_completion_insert_action),
	(gtk_entry_completion_insert_action_text),
	(gtk_entry_completion_insert_action_markup): the gchar* parameters
	should be const (pointed out by both Marco Pesenti Gritti and
	Murray Cumming (#124356).

2021 2022 2023 2024 2025 2026 2027
Sat Oct 11 15:37:19 2003  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtkcombobox.c (gtk_combo_box_size_allocate): for the custom
	child list mode, allocate the height allocation->height to the
	button instead of the height requested by the button. (Tiny
	size allocation screwup noticed by Macro Pesenti Gritti).

2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049
Sat Oct 11 15:23:27 2003  Kristian Rietveld  <kris@gtk.org>

	Fixes based on comments from Marco Pesenti Gritti.

	* gtk/gtkentry.c (gtk_entry_set_text): block the completion changed
	signal handler, avoids the completion popup to popup when text is
	set programmatically in most cases (we actually have to handle this
	in the _editable functions as well, but that will break popping up
	when the user actually typed something :),
	(gtk_entry_completion_key_press): when handling enter, bail out
	when nothing has been selected,
	(gtk_entry_completion_changed): don't popdown when the entry content
	changed.

	* gtk/gtkentrycompletion.c (gtk_entry_completion_init),
	(gtk_entry_completion_selected_changed): unselect_all on the
	first selected changed signal. Avoids having a default row selected,
	(_gtk_entry_completion_popup): don't select the first row by default.

	* gtk/gtkentryprivate.h (struct _GtkEntryCompletionPrivate): add a
	first_sel_changed field.

2050 2051 2052 2053 2054
Fri Oct 10 23:02:58 2003  Matthias Clasen  <maclas@gmx.de>

	* demos/gtk-demo/menus.c: Replace GtkItemFactory by GtkUIManager 
	in the intro (again).

2055 2056 2057 2058 2059 2060 2061 2062
Fri Oct 10 22:50:05 2003  Matthias Clasen  <maclas@gmx.de>

	Fixes for (#124212, Marco Pesenti Gritti):
	
	* gtk/gtkuimanager.c (update_smart_separators): Don't spit 
	warnings for popups.
	(_gtk_menu_is_empty): Return FALSE for non-menus.

Kristian Rietveld's avatar
Kristian Rietveld committed
2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084
Fri Oct 10 19:10:12 2003  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtkcombo.h: Deprecate.
	* gtk/gtkoptionmenu.h: Ditto.

	* gtk/gtkcombobox.c (gtk_combo_box_size_request),
	(gtk_combo_box_size_allocate): Rework, things behave better now. Still
	needs some work on requesting enough size when taking the items in
	the list into account.

	* gtk/gtkfilesel.c: put gtkoptionmenu.h include inside "enable
	deprecated" guards.
	* gtk/gtkinputdialog.c: ditto.
	* gtk/gtkitemfactory.c: ditto.
	* gtk/gtkoptionmenu.c: ditto.

	* demos/gtk-demo/menus.c: remove the option menu.
	* demos/gtk-demo/sizegroup.c: replace the option menus with
	GtkComboBox.
	* demos/gtk-demo/textview.c: ditto.
	(A general GtkComboBox demo will be added later on).

2085 2086 2087 2088 2089 2090 2091
Wed Oct  8 00:06:17 2003  Matthias Clasen  <maclas@gmx.de>

	* demos/gtk-demo/ui_manager.c (activate_radio_action): New
	callback to propertly report radio actions.

	* demos/gtk-demo/ui_manager.c (do_ui_manager): Use it here.

2092 2093 2094 2095 2096 2097
Tue Oct  7 23:23:05 2003  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkplug.c (xembed_set_info): Put the supported protocol
	version in in the right field of the _XEMBED_INFO property.  
	(#123885, Denis Mikhalkin)

2098 2099 2100 2101 2102 2103 2104 2105
Mon Oct  6 14:18:47 2003  Jonathan Blandford  <jrb@redhat.com>

	* gtk/gtkexpander.c (gtk_expander_animation_timeout): only show
	the child if we have one.

	(gtk_expander_button_release): use
	gtk_widget_activate instead.

2106 2107 2108 2109 2110
Mon Oct  6 21:05:46 2003  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtktable.c (gtk_table_class_init): Start the blurb for 
	"right_attach" with a capital.  (#123945, Christian Rose)

2111 2112 2113 2114 2115
Sun Oct  5 23:59:03 2003  Matthias Clasen  <maclas@gmx.de>

	* tests/testsocket.c (child_read_watch): Remove an
        extraneous unref.  (#122336, Frederic Crozat)

2116 2117
Sun Oct  5 22:38:22 2003  Matthias Clasen  <maclas@gmx.de>

2118 2119