ChangeLog.pre-2-0 975 KB
Newer Older
1 2 3 4
Fri Mar  8 14:45:00 2002  Owen Taylor  <otaylor@redhat.com>

	* ======== Released GTK+-2.0 ========

5 6 7 8 9 10
Fri Mar  8 20:41:51 2002  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreestore.c (gtk_tree_store_drag_data_received): handle
	gtk-tree-model-drop-append like the ListStore, includes some
	tweaks to work right with trees

Owen Taylor's avatar
Owen Taylor committed
11 12 13 14 15 16 17 18 19
Fri Mar  8 14:22:43 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkfilesel.c (gtk_file_selection_init): Some packing
	tweaks.

	* configure.in: Include GLIB_LIBS when checking
	for bind_textdomain_codeset, to catch the case where
	it is in -lintl.

20 21 22 23 24 25 26 27 28 29 30 31
Thu Mar  7 16:46:58 2002  Jonathan Blandford  <jrb@redhat.com>

	* gtk/gtktreeview.c (validate_visible_area): get rid of really
	bad focus loop.
	(gtk_tree_view_clamp_node_visible): only clamp the node when
	realized.  Need to replace this with scroll_to_cell sometime.
	(gtk_tree_view_header_focus): clickable or reorderable columns are
	focusable, #73656

	* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_get_widget): fix
	docs to reflect behaviour change, #73682

32 33 34 35 36 37 38 39 40 41 42 43
Fri Mar  8 11:12:32 2002  Owen Taylor  <otaylor@redhat.com>

	* NEWS: Fix version numbers. (Johan Dahlin.)

	* INSTALL.in: Update, just refer to gtk-building.html
	rather than duplicating information.

	* README.in: Add release specific notes.

	* Makefile.am (EXTRA_DIST): Remove TODO and TODO.xml
	from the distribution.

Owen Taylor's avatar
Owen Taylor committed
44 45 46 47 48 49
Thu Mar  7 23:29:35 2002  Owen Taylor  <otaylor@redhat.com>

	* NEWS: Final updates for 2.0.0

	* README.in: Updates.

50 51 52 53
2002-03-08  Tor Lillqvist  <tml@iki.fi>

	* gdk/Makefile.am (LDFLAGS): Add missing .la suffix for	libgdk_pixbuf.

54 55 56 57 58 59
Thu Mar  7 21:32:01 2002  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreestore.c (gtk_tree_store_sort_iter_changed): increase
	value of new_location by one if cmp_a > 0 and we hit the end of
	the list.

60 61 62 63 64 65 66
Thu Mar  7 10:31:57 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtknotebook.c (gtk_notebook_timer): Fix problem where
	there were two copies of the "do an arrow step" code, 
	one correct for rotated notebooks, one not. (#73855,
	Thomas Leonard.)

Jonathan Blandford's avatar
Jonathan Blandford committed
67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101
Wed Mar  6 23:20:51 2002  Jonathan Blandford  <jrb@redhat.com>
and			  Kristian Rietveld  <kris@gtk.org>

	Finishing touch for 2.0.0 release, fixes #70782, #72729, the
	'stealth' bug and other last-minute minor issues.

	* gtk/gtktreeview.c (gtk_tree_view_bin_expose): set dnd dest line
	drawing right. We can't draw the line at the position of the next
	row, because that one still has to be drawn. So draw everthing at
	a -1 offset.
	(validate_visible_area): add check for invalid descendants and
	NULL scroll_to_path path, get scrolling right.  Also, fix the
	area_above value.  Pretty amazing I got it wrong.
	(get_logical_dest_row): add gtk-tree-model-drop-append magic, so
	dragging a row to the end of the model works right.
	(gtk_tree_view_get_dest_row_at_pos): minor floating point fix
	(gtk_tree_view_start_editing): add call to validate_row
	(gtk_tree_view_tree_to_widget_coords): Never subtract
	HEADER_HEIGHT from y values anymore!!!
	(gtk_tree_view_widget_coords_to_tree): ditto.
	(gtk_tree_view_scroll_to_point): allow -1 as values for the
	scroll_to coords
	(gtk_tree_view_move_cursor_page_up_down): Don't need scroll_to_y
	as clamp_node_visible will make it work.

	* gtk/gtktreestore.c (gtk_tree_store_drag_data_received): also check
	path depth, as we can't get iters from empty paths

	* gtk/gtkliststore.c (gtk_list_store_drag_data_received): handle
	gtk-tree-model-drop-append

	* gtk/gtktreednd.c (gtk_tree_set_row_drag_data): free path_str

	* tests/testtreeflow.c (main): select path where we are scrolling to

102 103 104 105 106 107 108 109
2002-03-06  Darin Adler  <darin@bentspoon.com>

	* gtk/gtktreemodelsort.c: (gtk_tree_model_sort_insert_value):
	Update offsets before finding where to insert the new value.

	* gtk/gtktreeview.c: (validate_visible_area): Make sure we redraw when
	we scroll, instead of just updating the scroll position variables.

110 111 112 113 114 115
2002-03-06  Manish Singh  <yosh@gimp.org>

	* gdk/Makefile.am
	* gtk/Makefile.am: rework so that only things that really need to be
	done post install are in the hook

116 117 118 119 120 121 122
2002-03-06  Anders Carlsson  <andersca@gnu.org>

	* gtk/gtkiconfactory.c (get_default_icons): Register 16x16 version
	of properties stock icon.

	* gtk/stock-icons/Makefile.am: Add stock_properties_16.png

123 124 125 126 127 128
Wed Mar  6 00:38:29 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkentry.c (gtk_entry_real_insert_text): Fix various problems
	when truncating the inserted text to fit into the GtkEntry
	size limit of 65kb. (#73119)

129 130 131 132 133 134 135
Wed Mar  6 00:20:59 2002  Jonathan Blandford  <jrb@redhat.com>

	* gtk/gtktreeviewcolumn.c
	(gtk_tree_view_column_cell_process_action): move event handling to
	the process_action function so we can have the event go to
	individual cells.

Owen Taylor's avatar
Owen Taylor committed
136 137 138 139 140 141 142 143 144
Tue Mar  5 22:16:58 2002  Owen Taylor  <otaylor@redhat.com>

	* GTK+-2.0.0 rc1

	* docs/tutorial,faq/Makefile.am: Deal with the html directory
	already being there.

	* docs/faq/Makefile.am (EXTRA_DIST): Add gtk-faq.sgml to EXTRA_DIST.

145 146 147 148 149 150 151
2002-03-05  Manish Singh  <yosh@gimp.org>

	* gdk/Makefile.am
	* gtk/Makefile.am: use install-foo-hook instead of install-foo-local,
        since foo-local is run before the their respective builtin targets
	in automake 1.5

jacob berkman's avatar
jacob berkman committed
152 153 154 155
2002-03-05  jacob berkman  <jacob@ximian.com>

	* configure.in: change an == to =

156 157 158 159 160 161
2002-03-06  Tor Lillqvist  <tml@iki.fi>

	* gdk-pixbuf/gdk_pixbuf.rc.in
	* gdk/win32/rc/gdk.rc.in
	* gtk/gtk-win32.rc.in: Use GTK_API_VERSION.

162 163 164 165 166
2002-03-05  Manish Singh  <yosh@gimp.org>

	* configure.in: Fix up the freetype checking logic. Suppress
	suprious "no" with --disable-modules.

167
2002-03-06  Tor Lillqvist  <tml@iki.fi>
168

169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198
	* gdk/win32/gdkevents-win32.c (gdk_pointer_grab,
	gdk_pointer_ungrab): Bypass calls to the grab/ungrab functions in
	gdkinput-win32.c, as they don't effectively do anything anyway.
	(build_key_event_state): Set MOD2 bit if key is in AltGr group.
	(gdk_event_translate): Call _gdk_windowing_window_get_offsets()
	each time the offsets are used, on the window they refer to,
	instead of once in the beginning. The window in question might
	change due to event propagation.
	(gdk_event_translate): Set key event group to 0 for non-AltGr
	keys. Do set the SHIFT bit in the key event state also for
	ISO_Left_Tab. Now backtabbing finally works again.

	* gdk/win32/gdkunput-win32.c: Minor debugging output change.

	* gdk/win32/gdkkeys-win32.c (update_keymap): Set VK_TAB mapping to
	Gdk_Tab and GDK_ISO_Left_Tab, like on X11.
	(gdk_keymap_translate_keyboard_state): Add similar code as in the
	non-XKB case on X11 to generate a more correct
	consumed_modifiers. Add debugging output.
	(gdk_keyval_name): Use the U+xxxx format for UCS characters
	encoded as keyvals. Never return NULL, but hex number
	representation if keyval not in table.

	* gdk/win32/gdkwindow-win32.c (gdk_window_focus): Call
	SetFocus(). Doesn't seem to have any harmful effect, and probably
	is close to what this function is supposed to do. But it didn't
	fix GtkCombo as I had hoped.
	(gdk_window_set_type_hint): Don't intern the _NET_WM_* atoms that
	weren't used and wouldn't have any meaning on Win32 anyway.

199 200 201 202 203 204 205
Tue Mar  5 19:19:19 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkwindow.c (gtk_window_set_focus): When setting
	the focus to NULL, clear the existing focus chain so
	that when we focus into the window again, we start
	at the beginning. (Pointed out by Tim Janik.)

206 207 208 209
2002-03-06  James Henstridge  <james@daa.com.au>

	* configure.in: libpango is now called libpango-1.0

210 211 212 213 214
Tue Mar  5 18:17:31 2002  Jonathan Blandford  <jrb@redhat.com>

	* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_fixed_width):
	remove sizing == AUTOSIZE check.  Update docs.

215 216 217 218 219 220 221 222
Tue Mar  5 17:43:43 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkfontsel.c (gtk_font_selection_init): Don't
	create ->font_entry, ->font_style_entry at all rather
	than just not showing them to avoid the problem of
	them popping up if gtk_widget_show_all() is done
	on the dialog. (#72913, Charles Kerr.)

223 224 225 226 227
Tue Mar  5 18:06:49 2002  Jonathan Blandford  <jrb@redhat.com>

	* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_resizable):
	doc fix proposed by tvv@sparc.spb.su (Vitaly Tishkov), #73567.

Matthias Clasen's avatar
Matthias Clasen committed
228 229 230 231 232 233 234 235 236 237 238
2002-03-05  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtktreemodel.c (gtk_tree_row_reference_deleted): Fix docs.

	* gtk/gtkwindow.c (gtk_window_remove_mnemonic): 
	(gtk_window_add_mnemonic): 
	(gtk_window_mnemonic_activate): Add docs.

	* gtk/gtktreeview.c (gtk_tree_view_get_search_equal_func): Fix
	typo in docs.

239 240 241 242 243
Tue Mar  5 17:02:59 2002  Owen Taylor  <otaylor@redhat.com>

	* docs/tutorial/gtk-tut.sgml: s/menu_new/menu_item_new/.
	(#69199, Akira Tagoh.)

244 245 246 247 248
Tue Mar  5 16:53:05 2002  Owen Taylor  <otaylor@redhat.com>

	* docs/faq/Makefile.am: Build the docbook version, not
	the old linuxdoc version.

Owen Taylor's avatar
Owen Taylor committed
249 250 251 252 253 254 255 256 257 258 259 260 261 262
Tue Mar  5 15:47:54 2002  Owen Taylor  <otaylor@redhat.com>

	* configure.in test/makefile.msc **.pc.in **/*.am:
	Update version to 2.0.0

	* gtk/Makefile.am (MAINTAINERCLEANFILES): Add stamp
	files.

	* configure.in (GDK_PIXBUF_VERSION): Require GLib 2.0.0,
	Pango, Atk, 1.0.0.

	* m4macros/gtk-2.0.m4: Default to 2.0.0 as the minimum
	version.

263 264 265 266 267 268
2002-03-05  Havoc Pennington  <hp@redhat.com>

	* gtk/gtktextview.c (gtk_text_view_size_allocate): don't assign
	yoffset here, just let it get updated in response to the
	value_changed. Fixes #72479

269 270 271 272 273 274 275 276 277 278 279
Tue Mar  5 10:29:09 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtktreeview.c (do_presize_handler)
	gtk/gtktreeview.c (do_validate_rows): Don't use this 
	same functions as idle callbacks and directly, to avoid
	threading deadlocks. (#72392, Scott Guilbeaux)

	* gtk/gtktable.c (gtk_table_size_request_init): Fix 
	row/column confusion from recent patch. (#73505,
	Vitaly Tishkov.)

280 281 282 283 284 285 286 287 288
2002-03-04  Matthias Clasen  <maclas@gmx.de>

	* docs/tutorial/gtk-tut.sgml: Make color selection and selection 
	examples work.

	* tests/testselection.c (selection_toggled, selection_clear):
	Use selection_widget as selection owner - otherwise clearing the
	selection doesn't work.

289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307
Mon Mar  4 12:43:48 2002  Owen Taylor  <otaylor@redhat.com>

        Fixes for non XKB operation. (#73103)

	* gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state):
	Fix problem where GDK_Tab was converted to GDK_ISO_Left_Tab
	always, not just if Shift was pressed.
	
	* gdk/x11/gdkkeys-x11.c gdk/x11/gdkprivate-x11.c 
	gdk/x11/gdkevents-x11.c: Move determination of group
	to _gdk_x11_get_group_for_state(), fix to handle non-XKB.

	* gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state): Only
	add in SHIFT_MASK | LOCK_MASK to consumed_modifiers if the shifted
	and unshifted keysyms are different. Only add in group_switch_mask
	if the group-switched and non-group-switched keysyms are diferent.

	* gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state): 
	When calling XKeycodeToKeysym, use group * keysyms_per_keycode / 2
308
	not group * keysyms_per_keycode. (Tor Lillqvist)
309 310 311 312 313 314

	* gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state):
	Remove the hack to fudge the return value for GDK_Tab + Shift
	since that didn't work -- it didn't affect the reverse mapping.
	Instead fudge the non-XKB keymap instead.

315 316 317 318 319
Mon Mar  4 11:02:18 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkfilesel.c (gtk_file_selection_get_selections): Fix
	memory leak. (#73370, Paolo Maggi).

320 321 322 323 324 325
Mon Mar  4 10:35:28 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtknotebook.c (gtk_notebook_set_current_page): Fix docs
	in terms of what out of range @page_num does. (#73371,
	Vitaly Tishkov.)

Havoc Pennington's avatar
Havoc Pennington committed
326 327 328 329
2002-03-02  Havoc Pennington  <hp@pobox.com>

	* demos/gtk-demo/editable_cells.c (cell_edited): const fix

330 331 332 333 334 335 336 337 338 339 340
Sun Mar  3 18:47:13 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkwindow.c (gtk_window_parse_geometry): Fix
	to properly take the default window into account by
	setting a flag and in gtk_window_compute_configure_request_size ()
	multiplying by the increments and adding in the base
	size. (#72393)

	* tests/testgtk.c (create_gridded_geometry): Add a
	test for gridded geometry and for gtk_window_parse_geometry().

341 342 343 344
2002-03-04  Hans Breuer  <hans@breuer.org>

	* gtk/makefile.msc.in : don't build gtk.defs anymore

345 346 347 348 349
2002-03-04  Tor Lillqvist  <tml@iki.fi>

	* gtk/gtkrc.h: Remove obsolete Win32-only declaration of
	gtk_win32_get_installation_directory().

350 351 352 353 354 355 356 357 358 359 360
Sun Mar  3 17:03:30 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkmenushell.c gtk/gtkmenubar.[ch]: Back out
	changes to propagate keys to parent menu shells, since
	that broke stuff; rather implement ::cycle-focus as
	a key binding on GtkMenuShell rather than on GtkMenuBar.

	* gtk/gtkmenushell.c (gtk_menu_shell_class_init): Add
	add bindings for ::cycle-focus. (In gtkmenubar.c, were 
	mistakently bound to ::move-focus.)

361 362
2002-03-03  Tor Lillqvist  <tml@iki.fi>

Tor Lillqvist's avatar
Tor Lillqvist committed
363 364
	* README.win32: Minor edits.

365 366 367
	* config.h.win32.in: Update to match a recent configure-generated
	config.h

368 369 370 371 372 373 374
Sun Mar  3 15:16:07 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtktable.c: When increasing the row or column
	requisitions to make them sufficient for spanning widgets,
	favor rows or columns with expandable children in them.
	(#1261, Jonathan Blandford.)

375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394
Sun Mar  3 14:26:33 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkstyle.[ch] (_gtk_get_insertion_cursor_gc):
	Centralize lookup and caching of cursor GC's here.

	* gtk/gtkentry.[ch] gtk/gtktextview.[ch] gtk/gtktextdisplay.c
	gtk/gtklabel.c: Move to using _gtk_get_insertion_cursor_gc().

	* gtk/gtkentry.c (gtk_entry_expose): Draw cursors
	under the text, not over the text.

	* gtk/gtkwidget.c (gtk_widget_class_init): add
	a secondary-cursor-color property.

	* gtk/gtkwidget.c (gtk_widget_class_init): Decrease
	the default aspect ratio to 1/25 (0.04).
	
	* tests/testgtkrc (bell_duration): Comment out
	cursor color setting.
	
395 396 397 398 399 400
Sun Mar  3 20:48:12 2002  Soeren Sandmann  <sandmann@daimi.au.dk>

	* gtk/gtkmenu.c (gtk_menu_set_submenu_navigation_region): change
	offset of cursor corner of navigation region from (-2, 2) to 
	(-2, 0).

jacob berkman's avatar
jacob berkman committed
401 402 403 404
2002-03-03  jacob berkman  <jacob@ximian.com>

	* Makefile.am (EXTRA_DIST): add sanitize-la.sh

Anders Carlsson's avatar
Anders Carlsson committed
405 406 407 408 409
2002-03-03  Anders Carlsson  <andersca@gnu.org>

	* gdk/x11/gdkwindow-x11.c (gdk_window_move_resize): Fix tyop
	in docs.

410 411 412 413 414 415 416
Sat Mar  2 03:49:31 2002  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeview.c (gtk_tree_view_button_press): move edit
	ifs above _set_cursor code, don't collapse/expand row on double
	click, only activate (#63269)
	(validate_visible_area): add two missing lines (#73161, #73162)

417 418 419 420 421 422
Sun Mar  3 12:13:56 2002  Owen Taylor  <otaylor@redhat.com>

	* configure.in: Fix typo where pangoxft was being
	required instead of pangox. (Reported by Miles
	Lane)

423 424 425 426 427 428
Sun Mar  3 11:12:16 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtktextlayout.c (add_cursor): When in split cursor
	mode, always add the cursor as both strong and weak
	so that it is drawn with the correct non-split color.

Owen Taylor's avatar
Owen Taylor committed
429 430 431 432 433
Sun Mar  3 11:05:13 2002  Owen Taylor  <otaylor@redhat.com>

	* modules/input/Makefile.am (moduledir): Fix
	install location.

434 435 436 437 438 439 440 441 442
Sun Mar  3 10:28:32 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/Makefile.am: add missing dependency of objects on
	gtkmarshalers.h.

	* gtk/Makefile.am gtk/gtk-boxed.defs: Remove completely
	out of date and unused gtk-boxed.defs and the accompanying
	Makefile rule to generate the complete gtk.defs.

443 444 445 446 447 448 449 450 451
2002-03-03  Hans Breuer  <hans@breuer.org>

	* gtk/gtkmain.c : make rewrite_event_for_window() static
	* gtk/gtkrc.c : gtk_rc_clear_realized_style() static

	* gtk/makefile.msc.in : adapt to makeenums build changes

	* gtk.def : sorted alphabetical again

452 453 454 455
2002-03-03  Sven Neumann  <sven@gimp.org>

	* m4macros/gtk-2.0.m4: lowercase configure --help output.

456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477
Sun Mar  3 06:39:19 2002  Tim Janik  <timj@gtk.org>

	* gtk/gtkfilesel.c: added compile time switch to put the tree views
	into a hpaned for owen to play with.

	* gtk/gtktreedatalist.c (_gtk_tree_data_list_header_free): 
	* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_cell_data_func),
	(gtk_tree_view_column_finalize): 
	* gtk/gtktreestore.c (gtk_tree_store_set_default_sort_func),
	(gtk_tree_store_set_sort_func), (gtk_tree_store_finalize): 
	* gtk/gtktreeselection.c (gtk_tree_selection_finalize): 
	* gtk/gtktreemodelsort.c (gtk_tree_model_sort_reset_default_sort_func),
	(gtk_tree_model_sort_set_default_sort_func),
	(gtk_tree_model_sort_set_sort_func):
	* gtk/gtkliststore.c (gtk_list_store_set_default_sort_func),
	(gtk_list_store_set_default_sort_func),
	(gtk_list_store_set_sort_func), (gtk_list_store_finalize): 
	add reentrancy protection around destroy() function invocation.

	* gtk/gtktreeselection.c (gtk_tree_selection_set_select_function): fix
	destroy function invocation (which was missing).

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
Sat Mar  2 23:08:23 2002  Owen Taylor  <otaylor@redhat.com>

	Fixes for uninstalled operation with module suffixes
	other than .so and in general for platforms like AIX where
	the module suffix isn't predictable. (#72185, problems
	reported by Miroslaw Dobrzanski-Neumann)

	* modules/input/Makefile.am (gtk.immodules): Query .la
	files rather than shared objects in .libs when creating the
	uninstalled gtk.immodules file.

	* gtk/gtkmain.c (_gtk_find_module): Look for .la files
	after looking for the normal soname extension to handle
	cases where the soname extension isn't predictable,
	like AIX.

	* gtk/gtkthemes.c (gtk_theme_engine_load): Don't
	call g_module_build_path... leave that to 
	gtk_rc_find_module_in_path.

	* demos/gtk-demo/main.c (main) demos/pixbuf-init.c (pixbuf_init):
	tests/testgtk.c (test_init): tests/testtext.c (test_init)
	tests/testdnd.c (test_init): Point gdk-pixbuf to .la
	files rather than poking in .libs for .so files.

	* gtk/stock-icons/Makefile.am (gtkstockpixbufs.h): Remove
	.libs from GDK_PIXBUF_MODULEDIR.

506 507 508 509 510 511
Sat Mar  2 20:58:30 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkwidget.c (gtk_widget_reparent): Handle NO_WINDOW
	widgets with windows that are children of widget->window.
	(#50279)

512 513 514
	* tests/testgtk.c: Add eventboxes to the example so that
	we are reparenting between different GdkWindows.

515 516 517 518 519 520
Sat Mar  2 20:39:38 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkimagemenuitem.c (gtk_image_menu_item_new_from_stock): 
	Add a note to the docs about how to use this in the 
	context of changeable accelerators. (#72382, Mark Patton)

Owen Taylor's avatar
Owen Taylor committed
521 522
Sat Mar  2 19:48:10 2002  Owen Taylor  <otaylor@redhat.com>

523
	* configure.in: Fix missing -lX11 into x_libs with pangoxft.
Owen Taylor's avatar
Owen Taylor committed
524

525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545
Fri Mar  1 00:46:49 2002  Owen Taylor  <otaylor@redhat.com>

	* configure.in: Add a --enable-explicit-deps option to control
	whether dependency libraries are written into .la files and .pc
	files.  Default is auto: if static libraries are off and shlib
	dependencies are found, don't write deps.

	* gdk/Makefile.am gtk/Makefile.am sanitize-la.sh: Shell script
	used to strip dependencies out of .la files.

	* Makefile.am: Add a slightly modified distcheck rule that passes
	--enable-gtk-doc to the configure inside.
	(So that 'make dist' succeeds inside.)

	* configure.in: If pango was compiled with
	--disable-explicit-deps, then repeat the checks for X and
	freetype ourselves so we don't depend on linking to libraries
	that pango doesn't reveal in the link line. Add some more paranoia
	for whether what we detect ourselves matches what Pango backends
	we found.
	
546 547
2002-03-03  Tor Lillqvist  <tml@iki.fi>

548 549
	* configure.in: Output gdk-pixbuf/gdk_pixbuf.rc.

550 551 552 553 554 555 556 557 558 559 560 561 562 563
	* gdk/gdk.def
	* gdk/win32/gdkevents-win32.c: Add and (trivially) implement
	gdk_pointer_grab_info_libgtk_only() and
	gdk_keyboard_grab_info_libgtk_only().

2002-03-02  Tor Lillqvist  <tml@iki.fi>

	* gdk/win32/gdkevents-win32.c (build_keypress_event): Reorder
	code, keyval should get a value in all cases now.
	(build_keyrelease_event): Set GDK_CONTROL_MASK here, too, if it
	was a control character produced with Alt+keypad digits.
	(gdk_event_translate): Minor cleanups to keyboard input
	handling. Still need more major work.
	
564 565 566 567 568 569
Sat Mar  2 16:12:03 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkradiobutton.c (gtk_radio_button_focus): Don't
	do special focus handling if draw_indicator is not set.
	(#64723, Damon Chaplin.)

570 571 572 573 574 575 576 577 578 579
Sat Mar  2 15:48:04 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkentry.c (gtk_entry_new_with_max_length,
	gtk_entry_set_max_length): Clamp @max parameter passed in to 
	[0, MAX_SIZE], improve docs. Fix default and range 
	for ::max-length property, range for ::ncursor_position,
	::selection_bound properties. (#55916, Vitaly Tishkov)

	* gtk/gtkmain.c (rewrite_event_for_grabs): Fix typo

580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601
Fri Mar  1 18:39:44 2002  Owen Taylor  <otaylor@redhat.com>

	* gdk/x11/{gdkevents-x11.c,gdkmain-x11.c,gdkprivate-x11.h,
	gdkwindow-x11.c}: Robustify tracking of pointer grab window.

	* gdk/x11/gdkmain-x11.c: Keep track of current keyboard
	grab window.

	* gdk/x11/gdkmain-x11.c (gdk_pointer_grab_info_libgtk_only,
	gdk_keyboard_grab_info_libgtk_only): Private libgtk => libgtk
	API for finding out current grab information.
	
	* gtk/gtkmain.c (rewrite_event_for_grabs): Rewrite events
	so that the effective behavior of owner_events = TRUE is changed
	to "deliver events to same window group normally" instead
	of "deliver events to same application normally. #69934

	* gtk/gtkrange.c: Use an explicit gtk_grab_add() so that
	it works within the GtkList combo, where there is a 
	owner_events = FALSE gdk_pointer_grab() already in effect.
	(#65006, reported by Damon Chaplin)

602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619
Sat Mar  2 14:32:50 2002  Owen Taylor  <otaylor@redhat.com>

        * configure.in: Default to --disable-gtk-doc (avoid Jade
	breakage) and --disable-static (static linking causes
	problems with Xft changes.)

	* autogen.sh: Add --enable-gtk-doc by default.

	* Makefile.am: Add a 'mydistcheck' rule that passes
	--enable-gtk-doc to the configure since that is needed
	for 'make dist'.

	* docs/tutorial/Makefile.am (dist-hook): Don't distribute
	the PDF file. (Rule doesn't work on my system, plus it's
	big.)

	* gtk/Makefile.am: 'make dist' fixes.

620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639
Sat Mar  2 13:26:58 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/Makefile.am: Switch style of stamp file usage.

	* gtk/Makefile.am gtk/typeutils.[ch]: Switch all the exported
	enumeration/fags TYPE variables over to macros for get_type() functions,
	for lazy definition and to get rid of expensive relocations.

	* gtk/gtkiconfactory.[ch] gtk/gtkselection.[ch] gtk/gtkstyle.[ch]
	gtk/gtktextiter.[ch] gtk/gtktexttag.[ch] gtk/gtktreemodel.[ch]
	gtk/gtktypeutils.[ch] gtk/gtkwidget.[ch]: Switch boxed type
	definitions over manually coded get_type() functions.

	* gtk/gtk.def: Updates for above

	* gtk/{genmarshal.pl,makeenums.awk,makeenums.h,maketypes.awk}:
	Remove from CVS, no longer used.

	* configure.in: Remove checks for awk.
	
Tim Janik's avatar
Tim Janik committed
640 641 642 643
Sat Mar  2 04:44:10 2002  Tim Janik  <timj@gtk.org>

	* gtk/gtkaccelgroup.c (gtk_accel_group_connect_by_path): fix typo.

644 645 646 647 648 649 650 651 652 653
Fri Mar  1 23:59:35 2002  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_get_size): set
	first_cell to FALSE after first iteration

	* gtk/gtktreeview.c (validate_visible_area): reduce usage of
	GTK_RBNODE_GET_HEIGHT, check for node != NULL,
	(gtk_tree_view_top_row_to_dy): remove call to gtk_adjustment_changed
	(gtk_tree_view_search_iter): select iter after scrolling

654 655 656 657 658
2002-03-02  Tor Lillqvist  <tml@iki.fi>

	* gtk/gtkitemfactory.c: Remove unneeded Win32 stuff inside #ifdef
	G_OS_WIN32. (Leftover from when gtkitemfactory.c handled files.)

659 660 661 662 663 664 665 666 667 668 669 670 671
2002-03-01  Tor Lillqvist  <tml@iki.fi>

	* gdk/gdkkeys.c (gdk_keyval_convert_case)
	* gdk/x11/gdkkeys-x11.c (gdk_keyval_convert_case): If the keyval
	to be converted is one of those that consist of a Unicode
	character plus our special flag bit, use the
	g_unichar_to{lower,upper} functions (Bug#73112).

	* gdk/gdkkeys.c (gdk_keyval_convert_case): Drop the #ifdefs for
	the GDK keysym symbols. As we include gdkkeysyms.h, we know they
	are there. And if GDK keysyms some day are added/removed, this
	function needs changes, too, anyway.

672 673 674 675 676
Fri Mar  1 17:00:28 2002  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdkpolyreg-generic.c: Fix some reported (but not significant)
	UMR's from purify. (#73160, Morten Welinder)

677 678 679 680 681 682 683 684
Fri Mar  1 16:48:19 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkscrolledwindow.c: Initialize the scrollbar spacing
	variable in the class to -1, and then take that to mean
	"default" (3) rather than putting 3 in the class directly.
	This gives us some wiggle room to make it a per-instance
	rather than a per-class property later.

685 686 687 688 689
2002-03-01  jacob berkman  <jacob@ximian.com>

	* Makefile.am (install-data-hook): 
	(dist-hook): replace uses of test -e with more portable test -f

690 691 692 693 694 695 696 697 698 699 700
Fri Mar  1 14:49:35 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtktextview.c (gtk_text_view_commit_text): Don't delete
	forward across line boundaries when in overwrite mode.
	(#73145, reported by Ettore Perazzoli)

Fri Mar  1 14:47:39 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtktextview.c (gtk_text_view_commit_text): Don't
	join up lines.

701 702 703 704 705 706 707 708
Fri Mar  1 10:31:14 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtknotebook.c (gtk_notebook_reorder_child):
	Fix signed-unsigned error that was accidentally causing
	negative values to append, do it intentionally. Fix docs 
	to say that negative values append. (Alexey A. Malyshev,
	#73108) 

709 710 711 712 713
2002-03-01 Alexey Malyshev <maa@sparc.spb.su>
	
        * gtk+/gtk/gtkitemfactory.c
	fixed a little type in docs for gtk_notebook_set_show_border()
	
714 715 716 717 718
Fri Mar  1 09:05:19 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkitemfactory.c (gtk_item_factory_delete_entries):
	Really make it work for paths with underline accelerators. (#69247)

719 720 721 722 723
2002-02-28  Havoc Pennington  <hp@pobox.com>

	* gtk/gtktextview.c (gtk_text_view_finalize): free the tab array
	for custom tabs, reported by Paolo Maggi #72980
	
724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744
Thu Feb 28 19:55:01 2002  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdkkeys.c: include gdkkeysysms.h if
	compiling gdk_keyval_convert_case.

	* gtk/gtkmenubar.c (gtk_menu_bar_cycle_focus): Implement
	<Control>Tab <Control><Shift>Tab to cycle between
	all menu bars in a toplevel once one is up.

	* tests/testgtk.c: Add a second menubar, this
	example is already full of crack anyways.

	* gtk/gtkmenushell.c (gtk_menu_shell_key_press): Padd
	unhandled events up to the parent menu shell.

	* gtk/gtkmenuitem.c (gtk_menu_item_select_timeout): Only
	pop up the menu if the parent menu shell is still active.

	* gtk/gtkcontainer.[ch] (_gtk_container_focus_sort): Add a
	old_focus argument, export privately.

Darin Adler's avatar
Darin Adler committed
745 746 747 748
2002-02-28  Darin Adler  <darin@bentspoon.com>

	* gtk/gtkfilesel.c: (open_new_dir): Add missing NULL check.

749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773
2002-03-01  Tor Lillqvist  <tml@iki.fi>

	* gdk/win32/gdkwindow-win32.h (struct _GdkWindowImplWin32): Remove
	the event_mask, it is now in GdkWindowObject.

	* gdk/win32/gdkwindow-win32.c: Change accordingly. Set the
	GDK_STRUCTURE_MASK in gdk_window_set_events(), as it is always set
	in gdk_window_new(), too. (Bug#72921)

	* gdk/win32/gdkevents-win32.c: Change accordingly here, too.
	(vk_from_char): New function, calculates the virtual keycode
	corresponding to the char in a WM_CHAR message.
	(build_keypress_event, build_keyrelease_event): Use it.
	(build_keypress_event): Call ImmReleaseContext() after using the
	input context. This might plug a memory or resource leak.
	(build_key_event_state): Remove #if 0 code.
	(gdk_event_translate): Actually, it would be preferrable to always
	handle just the WM_KEYDOWN and WM_KEYUP messages, not WM_CHAR at
	all, and thus drop the contorted logic with ignore_wm_char etc.

	* gdk/win32/gdkkeys-win32.c: (gdk_keymap_get_entries_for_keyval):
	Debugging output.
	(gdk_keymap_translate_keyboard_state): Return correct value. (But
	_gtk_key_hash_lookup() doesn't check the return value...)

774 775 776 777 778 779
Thu Feb 28 14:49:08 2002  Owen Taylor  <otaylor@redhat.com>

	* gdk/x11/gdkwindow-x11.c (gdk_window_foreign_new): Initialize
	private->event_mask from attributes we retrieved for
	the window.

780 781 782 783 784 785 786 787
2002-02-22  Havoc Pennington  <hp@redhat.com>

	* gtk/gtktextbuffer.c (save_range): change gravity of start/end
	marks so that text added at either end of the range doesn't end up
	inside the range.
	(gtk_text_buffer_real_insert_range): fix to handle pasting a range
	into itself.

788 789 790 791
2002-02-28  Sven Neumann  <sven@gimp.org>

	* configure.in: beautified configure --help output.

792 793 794 795 796 797 798 799 800
2002-02-28  Tor Lillqvist  <tml@iki.fi>

	* gdk/win32/Makefile.am: Move bdfcursor.c from
	libgdk_win32_la_SOURCES to EXTRA_DIST.

	* gdk/win32/gdkgc-win32.c (gdk_win32_colormap_color_pack): In the
	bitmap case, use just the LSB of the pixel value. Does this match
	X11 semantics? Or should it be pixel!=0?

801 802 803 804 805 806 807 808 809 810 811 812 813 814 815
Wed Feb 27 19:16:50 2002  Owen Taylor  <otaylor@redhat.com>

	* gdk/x11/gdkwindow-x11.c (gdk_window_new): 
	* gdk/x11/gdkwindow-x11.c (gdk_window_get_events): 
	* gdk/x11/gdkwindow-x11.c (gdk_window_set_events): 
	* gdk/win32/gdkwindow-win32.c (gdk_window_set_events): 
	* gdk/win32/gdkwindow-win32.c (gdk_window_new): 
	* gdk/gdkwindow.h (struct _GdkWindowObject): 
	* gdk/linux-fb/gdkwindow-fb.c (gdk_window_set_events):
	Save the window's event mask in window->event_mask.

	* gdk/gdkwindow.c (gdk_window_process_updates_internal): Only
	generate expose events if GDK_EXPOSE_MASK is included
	window->event_mask. (#54506)

816 817 818 819 820
Wed Feb 27 18:50:29 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkwidget.c (gtk_widget_event): Allow focus-change
	events to be sent to unrealized widgets; they aren't
	really normal events in that they have anything to
821
	do with widget->window. (#72914, Andreas J. Guelzow)
822

823 824 825 826 827 828
Wed Feb 27 18:39:25 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/stock-icons/Makefile.am: Split big VARIABLES variable
	that was causing overlong lines into 6 variables with 20
	in each one.

829 830 831
Wed Feb 27 18:01:03 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkaccellabel.c (gtk_accelerator_name) po/POTFILES.in: 
832
	Mark Ctrl, Shift, Alt for translation.
833 834 835 836 837
	(#60590)

	* gtk/gtkfontsel.c: Mark PREVIEW_TEXT for translation.
	(Vlad Harchev, #53223)

838 839 840 841 842 843
Wed Feb 27 17:32:09 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkrange.c (gtk_range_get_props): if CAN_FOCUS
	reserve focus_line_width + focus_line_pad extra
	space and draw the focus in that space. #72027.

Soeren Sandmann's avatar
Soeren Sandmann committed
844 845 846 847
Wed Feb 27 23:02:55 2002  Soeren Sandmann  <sandmann@daimi.au.dk>

	* gtk/gtkhandlebox.c (gtk_handle_box_realize): minor code cleanup

848 849 850 851 852 853 854 855 856
Wed Feb 27 14:58:12 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkmenubar.c (gtk_menu_bar_size_request/allocate): 
	Don't reserve space for border when the shadow type
	for the menubar is "none". (#61843)

	* gtk/gtkmenubar.c (gtk_menu_bar_size_allocate): Fix
	offset for right-justified menu items.

857 858 859 860 861 862
Wed Feb 27 14:45:21 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtktoolbar.c (gtk_toolbar_size_allocate): Go
	back to old style of drawing children over the bevel.
	(#58615)

863 864 865 866 867
Wed Feb 27 14:08:26 2002  Owen Taylor  <otaylor@redhat.com>

	* modules/input/imxim.c: Add ko and zh to the locales
	where this is the default.

868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889
Wed Feb 27 12:34:21 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkiconfactory.c: Register all stock icons
	"unscaled" so that we don't have icons only available
	at some sizes. (#68896)

Wed Feb 27 11:59:05 2002  Owen Taylor  <otaylor@redhat.com>

	Some ASCII vs. locale fixes from Darin Adler (#55837)

	* gtk/gtkcombo.c (gtk_combo_find): Implement real
	case-insensitive comparison using g_utf8_casefold().

	* gtk/gtkaccellabel.c (gtk_accel_label_refetch): Fix
	assignment of gunichar to char by replacing g_unichar_totitle
	with g_ascii_toupper ... the contents would only be ascii
	here anyways.

	* gdk/x11/gdkim-x11.c (_gdk_x11_initialize_locale) 
	* gtk/gtkfontsel.c (gtk_font_selection_show_available_fonts): 
	Replace a calls to g_strcasecmp() with g_ascii_strcasecmp().

Hans Breuer's avatar
Hans Breuer committed
890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908
2002-02-27  Hans Breuer  <hans@breuer.org>

	* demos/gtk-demo/makefile.msc.in : new file

	* gdk-pixbuf/gtk-pixbuf.rc.in : new file to include
	  version resource
	* gdk-pixbuf/makefile.msc : create and use gdk-pixbuf.res

	* gdk/win32/gdkkeys-win32.c : handle undefined LANG_URDU,
	(gdk_keyval_name) : fix endless looping

	* gtk/gtkfilesel.c : translate_win32_path() static
	* gtk/queryimmodules : print_escaped(), query_module() static

	* gtk/makefile.msc.in : added gtkkeyhash, build gtk-win32.res

	* gtk/stock-icons/makefile.msc : regenerated from directory
	listing (almost all filenames changed)

909 910 911 912 913
Wed Feb 27 10:34:46 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkrange.c (gtk_range_set_range): After computing
	the clamped value, actually set it. (#62639, Sergey Kuzminov)

914 915 916 917 918 919 920
Tue Feb 26 22:22:37 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkbox.c (gtk_box_reorder_child): Clean up
	the code so < 0 == end wasn't just a side effect,
	remove most of the manual linked list manipulation
	code in favor of g_list_* functions.

921 922 923 924 925 926
Tue Feb 26 21:44:01 2002  Owen Taylor  <otaylor@redhat.com>

	* config.status config.guess: Remove these files
	from CVS so we more-or-less current versions from
	automake --add-missing. (Reported by Finlay Dobbie,
	#60342)
927 928 929 930 931 932

	* gdk/gdkkeyuni.c: Shouldn't map KP_Enter to '\n',
	or KP_Tab to \t' since we don't map the corresponding
	main keyboard characters in that way. (#61561,
	Padraig O'Briain)

933 934 935 936 937 938
Tue Feb 26 19:45:29 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkcombo.c (gtk_combo_set_popdown_strings):
	Call gtk_combo_set_popdown_strings() in case
	the combo is up currently. (#63535, Skip Montaro)

939 940 941 942 943 944 945 946
Tue Feb 26 19:38:14 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkscrolledwindow.c (gtk_scrolled_window_class_init):
	Switch control-home/end and home/end with
	the idea that scrolled windows more typically contain
	vertical sets of controls and to correspond to the bindings
	in GtkTreeView.

947 948 949 950 951 952 953
Tue Feb 26 19:32:42 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtk[hv]vscale.c (gtk_[hv]scale_expose): Chain
	up before drawing the scale values so that the number
	is drawn in the right place instead of one step 
	back. (#61743, patch from Satyajit Kanungo)

954 955 956 957 958 959 960
Tue Feb 26 19:16:28 2002  Owen Taylor  <otaylor@redhat.com>

	* gdk/win32/gdkkeys-win32.c (gdk_keyval_name): 
	* gdk/x11/gdkkeys-x11.c (gdk_keyval_name): 
	Make sure Page_Up, Page_Down get those names, not Prior,
	Next.

961 962 963 964 965 966 967 968
Tue Feb 26 18:58:49 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkaccelgroup.c (gtk_accelerator_set_default_mod_mask):
	OR in the three default modifiers to any value passed
	in by the caller, so that the caller won't break the
	the default bindings. (#70142, Jody Goldberg, though he
	wasn't in favor of this particular way of solving it.)

969 970 971 972 973 974 975
Tue Feb 26 18:47:44 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkwindow.c (gtk_window_add_mnemonic): Append
	mnemonics rather than prepending them so that the 
	order is typically forward rather than typically
	backward. (Partial fix for #52395)

976 977 978 979 980 981
Wed Feb 27 00:45:39 2002  Soeren Sandmann  <sandmann@daimi.au.dk>

	* gtk/gtkarrow.c, gtk/gtkmenuitem.c, gtk/gtkrange.c
	gtk/gtkspinbutton.c gtk/gtkstyle.c: Draw arrows better (without
	extra baseline)

982 983 984 985 986 987
Tue Feb 26 18:38:17 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkaccellabel.c (gtk_accel_label_refetch): 
	Display any "g_unicode_isgraph()" char literally,
	not just latin1. (#65679)

988 989 990
Tue Feb 26 18:01:10 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkwidget.c (gtk_widget_grab_focus): Don't
991 992
	focus insensitive widgets. (#68203)
	
993 994 995 996 997 998 999 1000 1001 1002 1003 1004
	* gtk/gtkentry.c (gtk_entry_state_changed): Clear any
	current selection if we become insensitive. (#68203)

	* gtk/gtkentry.c (gtk_entry_grab_focus): Don't
	select the text if the entry isn't editable. (#67203)

	* gtk/gtkentry.c: Activate keybindings when not editable,
	but supress keybindings that change the text. (#65848, #68203)

	* gtk/gtkentry.c (gtk_entry_set_property): Reset the
	IM context for the entry when it is made not editable.

1005 1006 1007 1008 1009 1010 1011
Tue Feb 26 17:04:44 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkcolorsel.c (update_color): Emit ::color_changed
	every time we notify current_color. (Brute force 
	fix for #72470, Matthias Clasen). Some fixes to improve
	reentrancy.

1012 1013 1014 1015 1016 1017 1018
Tue Feb 26 15:04:33 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkentry.c (gtk_entry_enter_text): use
	the cursor position _after_ deleting the text
	as the position to insert at. (#72717, Jan Mynarik)

2002-02-26 Vitaly Tishkov <tvv@sparc.spb.su>
1019 1020 1021 1022 1023

        * gtk/gtktreemodel.c
	misprints in documentation for gtk_tree_row_reference_inserted() 
        and gtk_tree_path_new () are fixed

1024 1025 1026 1027 1028 1029 1030 1031
Tue Feb 26 19:47:16 2002  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeview.c (validate_visible_area): take into account
	that a path from a rowref can be NULL. (#72623 and #72650)

	* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_render_or_focus):
	let focus_rectangle be the same as cell_area for empty cells (#69900)

Owen Taylor's avatar
Owen Taylor committed
1032 1033 1034 1035 1036
Tue Feb 26 11:51:56 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkkeyhash.c (_gtk_key_hash_remove_entry): Fix
	double free.

1037 1038 1039 1040 1041 1042
Tue Feb 26 10:38:14 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkkeyhash.c (_gtk_key_hash_lookup_keyval): Handle
	a keyval of 0, by returning an empty list. (#72617,
	Kevin Breit)

1043 1044 1045 1046 1047 1048
2002-02-26  Richard Hult  <rhult@codefactory.se>

	* gtk/gtktreeview.c (gtk_tree_view_expand_all): Fix
	#72586. Silently accept empty tree.
	(gtk_tree_view_collapse_all): Likewise.

1049 1050 1051 1052
2002-02-26  Tor Lillqvist  <tml@iki.fi>

	* gtk/gtk.def: A couple of name changes.

1053 1054 1055
Mon Feb 25 22:10:47 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkscrolledwindow.c (gtk_scrolled_window_class_init): Fix
1056
	double set of bindings for page-up/down. (#72605, Tor Lillqvist)
1057 1058 1059 1060 1061

	* gtk/gtkmenu.c (gtk_menu_key_press): Remove consumed modiifers
	when setting up accelerator to make accelerators look prettier.
	(#65416, Guillermo S. Romero)

1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100
2002-02-26  Tor Lillqvist  <tml@iki.fi>

	* gdk/win32/gdkkeys-win32.c: Implement the functions that until
	now just were non-functional stubs. For "hardware keycodes", we
	use Windows virtual keycodes. Not scancodes, although that at
	first might seem more low-level and a better match to X11
	keycodes. 

	The Windows API is really mixed up and confused with respect to
	scancodes and virtual keycodes. (Surprised?) Some scancodes are
	generated by two keys on the keyboard (!), and although the
	keyboard messages do have a flag to indicate which key the user
	pressed, other API that take a scan code as input don't let you
	specify which actual key you mean.

	(update_keymap): Function to build a X11-like representation of
	the keyboard. Each key has four keysyms: two levels (nonshifted
	and shifted) and two groups (normal and with AltGr).

	(gdk_keymap_get_direction): Use the codepage corresponding to the
	thread's input locale, not the system codepage.

	* gdk/win32/gdkglobals.h
	* gdk/win32/gdkmain-win32.c
	* gdk/win32/gdkprivate-win32.h
	* gdk/win32/gdkwindow-win32.h
	* gdk/win32/gdkwindow-win32.c: Remove the input_locale and
	charset_info fields from GdkWindowImplWin32. Input locale is
	per-thread in Windows, and as GDK on Windows really only works
	when the GDI interaction all happens in just one thread anyway,
	this state can be global. Use globals _gdk_input_locale and
	_gdk_input_codepage instead. Set these based on the thread's input
	locale (keyboard layout, or which IME is active).

	* gdk/win32/gdkevents-win32.c: Set the group and hardware_keycode
	fields in GDK key events. On input locale change messages, set
	the global state variables, and inform update_keymap() that it
	has to rebuild the keymap.
	
1101 1102 1103 1104 1105
2002-02-25  Matthias Clasen  <maclas@gmx.de>

	* docs/tutorial/gtk-tut.sgml: Fix typos in pkg-config 
	invokations.  (#72476) 

1106 1107 1108 1109 1110 1111
Mon Feb 25 18:59:27 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtktooltips.c (start_keyboard_mode): Set the keyboard-mode
	flag before popping up the tooltip so that pop it up
	in the right place. (#71917, Narayani Pattipati)

1112 1113 1114 1115 1116 1117 1118 1119 1120 1121
Mon Feb 25 22:11:34 2002  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_visible): call
	_gtk_tree_view_column_cell_set_dirty when visible, so this column
	gets some space allocated. (#70996)

	* gtk/gtkliststore.c (gtk_list_store_get_path): add simple
	optimization for the tail case
	(gtk_list_store_real_set_value): remove unneeded _get_path calls

1122 1123 1124 1125 1126
Mon Feb 25 12:47:25 2002  Owen Taylor  <otaylor@redhat.com>

	* gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state): 
	Fix precendence problem. (Sven Neumann)

1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140
Sun Feb 24 23:23:28 2002  Owen Taylor  <otaylor@redhat.com>

	* tests/testselection.c (main): Convert over to using
	an GtkInvisible - selections don't work properly
	with now NO_WINDOW GtkToggleButton. (Example really
	should be using GtkClipboard.)

	* gdk/x11/gdkselection-x11.c (gdk_selection_property_get):
	Fix  problems if sizeof(GdkAtom) != sizeof(Atom). (Unlikely)

	* gdk/x11/gdkproperty-x11.c (gdk_property_get): Set 
	actual_length when converting atoms as well.
	(Gregory Merchan, #72074)

1141 1142 1143 1144 1145 1146 1147
2002-02-24  Havoc Pennington  <hp@pobox.com>
	
	* gtk/gtktextview.c (gtk_text_view_value_changed): add dx/dy to
	child allocation, don't subtract them. Also, copy code from CList
	to recursively adjust the child allocation, instead of just 
	adjusting immediate children. #69115

1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160
2002-02-24  Havoc Pennington  <hp@pobox.com>

	* gtk/gtkstyle.c (_gtk_draw_insertion_cursor): change to pass in
	the cursor direction always, not just when we need an arrow, so we
	can flip the cursor around its axis for RTL. Resolves #72372

	* gtk/gtkentry.c (gtk_entry_draw_cursor): update for
	draw_insertion_cursor change
	
	* gtk/gtklabel.c (gtk_label_draw_cursor): ditto

	* gtk/gtktextdisplay.c (gtk_text_layout_draw): ditto
	
1161 1162 1163 1164 1165 1166
2002-02-24  Alexander Larsson  <alla@lysator.liu.se>

	* gdk/x11/gdkwindow-x11.c (gdk_window_set_background):
	Always NULL out bg_pixmap, even when it used to be None
	or parent relative.

1167 1168 1169 1170 1171 1172 1173 1174 1175
2002-02-24  Havoc Pennington  <hp@pobox.com>

	* gtk/gtktextbuffer.c (parent_class): parent_class variable was
	GtkObjectClass instead of GObjectClass

	* gtk/gtktextview.c (widget_to_buffer): fix this the way 
	buffer_to_widget was fixed, to avoid duplicating 
	the code that computes text_window->allocation.x/y

1176 1177 1178 1179 1180
Sun Feb 24 21:18:20 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtksocket.c (gtk_socket_end_embedding): Fix
	off-by-one error. (Pointed out by Anders Carlsson)

Matthias Clasen's avatar
Matthias Clasen committed
1181 1182 1183 1184 1185 1186 1187 1188
2002-02-25  Matthias Clasen  <maclas@gmx.de>

	* docs/tutorial/gtk-tut.sgml, docs/tutorial/images/*, examples/*: More
	 GTK+ 2.0 updates.

	* docs/tutorial/Makefile.am: build and dist the new tutorial, not
	the old Linuxdoc one.

1189 1190 1191 1192 1193 1194 1195 1196 1197
Mon Feb 25 01:14:26 2002  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktextlayout.c (find_display_line_above): free iter before
	going to done

	* gtk/gtktreeview.c (validate_visible_area): free above_path,
	(set_destination_row): free path before returning,
	(gtk_tree_view_set_drag_dest_row): free current_dest

1198 1199 1200 1201 1202 1203 1204 1205 1206
Sun Feb 24 14:15:45 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtktextview.c (widget_to_buffer): Take border
	width into account.

	* gtk/gtklabel.c (get_label_wrap_width): Don't use GdkFont
	to compute wrap width ... GdkFont will pull in X11 core
	fonts.

Owen Taylor's avatar
Owen Taylor committed
1207 1208 1209 1210 1211 1212 1213 1214 1215 1216
Sun Feb 24 00:06:58 2002  Owen Taylor  <otaylor@redhat.com>

	* Released 1.3.15.

	* configure.in: Version 1.3.15, binary, interface age 0.

	* NEWS: Updates

	* configure.in: Update version requirements.

1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230
Sat Feb 23 22:37:23 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkstyle.c (gtk_style_init): Sanity check default
	font family name and size.

	* gtk/gtkwindow.c (gtk_window_set_default_size): Remove
	incorrect comment about the geometry widget.

	* gtk/gtkwindow.c (gtk_window_move_resize): Unset the
	gtk_window_resize)() information once we've set the size
	once, to avoid it coming back next time we queue a resize.
	(#72359)

	* gtk/gtkwindow.c (gtk_window_move_resize): Remove
Owen Taylor's avatar
Owen Taylor committed
1231
	sething of ->need_default_position from here, Havoc
1232 1233 1234
	says that it should correspond more or less exactly
	to GTK_WIDGET_MAPPED (window).

1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254
Sat Feb 23 23:00:48 2002  Jonathan Blandford  <jrb@redhat.com>

	* gtk/gtktreemodel.h: add () to function macros as per owen's
	request.

	* gtk/gtkfontsel.c: (gtk_font_selection_select_best_style),
	(gtk_font_selection_show_available_sizes),
	(gtk_font_selection_set_font_name):
	* gtk/gtktreemodel.c: (gtk_tree_model_get_iter_first),
	(gtk_tree_model_foreach):
	* gtk/gtktreemodelsort.c: (gtk_tree_model_sort_sort_level),
	(gtk_tree_model_sort_build_level):
	* gtk/gtktreeselection.c: (gtk_tree_selection_selected_foreach):
	* gtk/gtktreeview.c: (validate_visible_area),
	(gtk_tree_view_focus_to_cursor), (gtk_tree_view_set_model),
	(gtk_tree_view_map_expanded_rows), (gtk_tree_view_search_move),
	(gtk_tree_view_search_init):
	* tests/testtreeview.c: (run_automated_tests): change iter_root
	to iter_first

1255 1256 1257 1258 1259 1260
Sat Feb 23 22:10:52 2002  Jonathan Blandford  <jrb@redhat.com>

	* gtk/gtktreemodel.c (gtk_tree_path_new_first): change new_root to
	new_first to avoid confusion.
	(gtk_tree_model_get_iter_first): ditto.

1261 1262 1263 1264 1265 1266 1267
Sat Feb 23 20:59:05 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkstyle.c gtk/gtkrc.[ch]: gtk/gtksettings.c gtk/gtkstyle.c:
	Patch from Richard Hestilow to add a gtk-font-name GtkSetting.

	* gdk/x11/gdkevents-x11.c: Add Gtk/FontName XSETTING.

1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278
2002-02-24  Tor Lillqvist  <tml@iki.fi>

	* gtk/gtkfilesel.c: Move inclusion of <windows.h> before inclusion
	of <winsock.h>, to actually get STRICT prototypes for Win32
	API. Include glib.h early to get G_OS_WIN32 and G_WITH_CYGWIN.
	Don't declare static functions that aren't defined if !HAVE_PWD_H
	or if G_OS_WIN32.
	(win32_gtk_add_drives_to_dir_list): Remove #if 0 code, reindent.
	(gtk_file_selection_get_selections): Don't crash if nothing has
	been selected.

1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289
Sat Feb 23 20:33:29 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkplug.[ch] gtk/gtksocket.[ch] gtk/xembed.h: Implement 
	accelerator propagation using a custom XEMBED_GTK_KEY_GRAB
	XEMBED_GTK_KEY_UNGRAB pair of messages.

	* gtk/gtkwindow.[ch]: private export _gtk_window_keys_foreach().

	* gtk/gtkplug.c (gtk_plug_set_is_child): Clear focus and default
	widgets.

1290 1291 1292 1293 1294 1295 1296 1297
2002-02-23  Havoc Pennington  <hp@redhat.com>

	* gtk/gtktextbuffer.c (save_range): change gravity of start/end
	marks so that text added at either end of the range doesn't end up
	inside the range.
	(gtk_text_buffer_real_insert_range): fix to handle pasting a range
	into itself. #71412
	
1298 1299 1300 1301 1302
Sat Feb 23 19:05:34 2002  Jonathan Blandford  <jrb@redhat.com>

	* gtk/gtktreeview.c (validate_visible_area): Didn't refind node
	when it was NULL.  Bug found by Tor Lillqvist.

1303 1304 1305 1306 1307 1308
2002-02-24  Tor Lillqvist  <tml@iki.fi>

	* gdk/win32/gdkevents-win32.c (build_keypress_event,
	build_keyrelease_event, gdk_event_translate): Set also group in
	the key press/release events, always to zero for now.

1309 1310 1311 1312 1313 1314 1315 1316
2002-02-24  Anders Carlsson  <andersca@gnu.org>

	* gtk/stock-icons/stock_dialog_error_48.png: 
	* gtk/stock-icons/stock_sort_ascending_16.png:
	* gtk/stock-icons/stock_undelete_24.png: 
	* gtk/stock-icons/stock_sort_descending_16.png: 
	Alpha-pad icons so they get the correct size.
	
1317 1318 1319 1320 1321
Sat Feb 23 16:52:38 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkentry.c: Patch from Matthias Clasen to remove some
	excessive ::changed signals for GtkEntry. (#53130)

1322 1323 1324 1325
2002-02-23  Tor Lillqvist  <tml@iki.fi>

	* gtk-zip.sh.in: Include the gtkrc files for themes.

1326 1327 1328 1329 1330 1331 1332 1333
2002-02-23  Anders Carlsson  <andersca@gnu.org>

	* gtk/gtkiconfactory.c (get_default_icons): Register 16x16 
	versions of most icons.

	* gtk/stock-icons: Add 16x16 versions
	of most icons.

1334 1335 1336 1337 1338 1339 1340 1341
Wed Feb 20 16:44:05 2002  Jonathan Blandford  <jrb@redhat.com>

	* gtk/gtktreeview.c (gtk_tree_view_scroll_to_cell): delay
	scrolling until we try to draw the window.

	* gtk/gtktreeview.c (validate_visible_area): Implement
	scroll_to_cell.

1342 1343 1344 1345 1346 1347
2002-02-23  Tor Lillqvist  <tml@iki.fi>

	* gtk/gtk.def: Add missing gtk_file_selection_get_select_multiple.
	Remove gtk_tree_view_column_cell_* entry points that were made
	private.

1348 1349 1350 1351 1352
Sat Feb 23 15:43:46 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtktogglebutton.c: Make button draw depressed whenever
	the user clicks / activates it, whether it's off/on/inconsistent.

1353 1354 1355 1356 1357 1358
Sat Feb 23 11:54:12 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/*.h gdk/*.h: Massive padding addition to class structures.

	* gtk/gtktextmark.h: Fix a FIXME about G_CONST_RETURN.

1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369
Fri Feb 22 20:28:18 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkrange.c: Applied patch from Thomas Leonard to make
	stepper click to scroll take effect immediately, rather than after
	a delay (#67649).

	* gtk/gtkrange.c: Remove right-click == step in trough since it
	isn't a useful binding and it's a large area to hit accidentally.
	(Leave it on the steppers since its more useful there and less
	likely to do accidentally.)

Pablo Saratxaga's avatar
Pablo Saratxaga committed
1370 1371 1372 1373
2002-02-23  Pablo Saratxaga  <pablo@mandrakesoft.com>

	* configure.in (ALL_LINGUAS): Add "cy" to the language list.

1374 1375 1376 1377 1378 1379 1380 1381 1382 1383
2002-02-23  Jody Goldberg <jody@gnome.org>

	* gtk/gtkaccelgroup.c (gtk_accel_group_connect) : lower case the
	  key_val.
	(gtk_accel_group_connect_by_path) : ditto.
	(gtk_accel_group_disconnect_key) : ditto.

	* gtk/gtkwidget.c (gtk_widget_real_key_release_event) : simplify.
	(gtk_widget_real_key_press_event) : ditto.

1384 1385 1386 1387 1388 1389
Sat Feb 23 00:28:47 2002  Jonathan Blandford  <jrb@redhat.com>

	* gtk/gtktreeviecolumn.c: Documented undocumented functions.

	* gtk/gtktreemodel.c: Documented undocumented functions.

1390 1391 1392 1393 1394
Sat Feb 23 03:10:20 2002  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeview.c (gtk_tree_view_key_press): honor min_width and
	max_width while resizing columns (pointed out by Jorn Baayen)

1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408
Fri Feb 22 19:17:46 2002  Owen Taylor  <otaylor@redhat.com>

	Patch from Matthias Clasen (#54488)

	* gtk/gtkwindow.c: Set/unset HAS_FOCUS flags here,
	and do ::has-focus notifications.

	* gtk/gtkclist.c gtk/gtkentry.c gtk/gtksocket.c
	gtk/gtktext.c gtk/gtktextview.c gtk/gtkwidget.c:
	Remove unecessary focus_in/out handles and unecessary
	flag setting.

	* gtk/gtkwidget.c: Adda missing notification on ::parent.

1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428
Fri Feb 22 18:36:45 2002  Owen Taylor  <otaylor@redhat.com>

	Fixes for AIX compilation from Miroslaw Dobrzanski-Neumann,
	#72182.

	* demos/gtk-demo/main.c gtk/gtktreeview.c gtk/gtktoolbar.c
	gtk/gtkpaned.c gtk/gtkobject.c gtk/gtkcontainer.c 
	gtk/gtkcolorsel.c gtk/gtkcellrender.c gdk/x11/xsettings-client.h:
	Squash trailing commas on enumerations.

	* gdk/gdktypes.h: Drop GDK_RELEASE_MASK to 1 << 30 instead
	of 1 << 31 to work around AIX compiler problem. (C standard
	seems to imply that compiler is required to use an unsigned
	type for the enum value in this case.)

	* gdk/gdkpixbuf-drawable.c: Fix lvalue casts.

	* gtk/gtkwindow.h: Fix use of enum types for bitfields ... 
	compilers may choose to use a signed type for bitfields.

1429 1430 1431
Sat Feb 23 00:34:01 2002  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeview.c (validate_rows_handler): leave threads before
1432
	returning (#72045)
1433

Anders Carlsson's avatar
Anders Carlsson committed
1434 1435 1436 1437 1438 1439 1440 1441 1442 1443
2002-02-22  Anders Carlsson  <andersca@gnu.org>

	* gtk/stock-icons/*: Rename icons.
	
	* gtk/stock-icons/Makefile.am: Update for new icon names.

	* gtk/gtkiconfactory.c (init_icon_sizes): Set the 
	GTK_ICON_SIZE_BUTTON size to be 20x20.
	(get_default_icons): Change stock names.

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
Fri Feb 22 22:39:59 2002  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeprivate.h: add last_single_clicked and
	last_single_clicked_2 rowrefs and add disable_popdown to the
	bitfield

	* gtk/gtktreeview.c (gtk_tree_view_destroy): add destroy stuff
	for two new rowrefs
	(gtk_tree_view_button_press): add some 'advanced' button handling,	
	so double click is being handled right (double click madness was
	discovered by Anders Carlsson)

	* gtk/gtktreeview.c (gtk_tree_view_set_property): add missing
	break
	(gtk_tree_view_class_init): default value of headers_visible
	should be TRUE (both pointed out by Damon Chaplin, #71986)

	* gtk/gtktreeview.c (gtk_tree_view_real_start_interactive_search):
	connect to populate_popup,
	(gtk_tree_view_search_disable_popdown): new function,
	(gtk_tree_view_real_search_enable_popdown): ditto,
	(gtk_tree_view_search_enable_popdown): ditto,
	(gtk_tree_view_search_dialog_destroy): check for
	gtk-tree-view-popdown-disabled (#71868)

	* gtk/gtktreeview.c (gtk_tree_view_set_reorderable): move
	->priv->reorderable assignment to bottom. (#72122)

1472 1473 1474 1475 1476 1477
2002-02-22  Havoc Pennington  <hp@redhat.com>

	* gtk/gtkstyle.c (_gtk_draw_insertion_cursor): subtract 1 from
	line endpoint, to avoid cursor dirt in the text widget.
	zero-width lines appear to draw the endpoint always. #67999

1478 1479 1480 1481 1482 1483
2002-02-22  Havoc Pennington  <hp@redhat.com>

	* gtk/gtktextview.c (buffer_to_widget): implement more cleanly by
	using text_window->allocation.x/y instead of recomputing it. 
	Fixes a bug caused by leaving out the border width here.

1484 1485 1486 1487 1488 1489 1490
2002-02-22  Havoc Pennington  <hp@redhat.com>

	* gtk/gtktextview.c (changed_handler): call
	gtk_size_group_queue_resize to avoid invalidating the widget every
	time its requisition changes. Instead we use the btree invalid
	lines to know what to redraw. Fixes #71429

1491 1492 1493 1494 1495 1496
Fri Feb 22 14:08:38 2002  Soeren Sandmann  <sandmann@daimi.au.dk>

	* gtk/gtkradiobutton.c, gtk/gtkcheckbutton.c, gtkbutton.h,
	gtktogglebutton.c: feedback when check and radio buttons are
	depressed.	

1497 1498 1499 1500 1501 1502 1503 1504 1505 1506
2002-02-22  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtktreeview.c (gtk_tree_view_set_reorderable):
	s/columns/rows/ in docs.  (#70199)

	* gtk/gtktreestore.c (gtk_tree_store_insert): s/before/after/ in 
	docs. (#71852, #68405)

	* gtk/gtkcalendar.c (gtk_calendar_select_day): Correct a comment.

1507 1508 1509 1510 1511 1512 1513
Thu Feb 21 23:02:29 2002  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeview.[ch]: add keynav handling for unselect all,
	focus column header, change focus with arrow keys in column headers,
	column reordering, column resizing, small try to fix page up/down
	(this fixes #70889, and fixes a great deal of #53580)

1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531
Thu Feb 21 16:51:17 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkaccelgroup.c (gtk_accelerator_valid): Add
	GDK_ISO_Next_Group/Prev_Group/Level3_Shift/
	First_Group/Last_Group to list of invalid accelerators.
	(A lot more that should be added, but probably would
	want a range mechanism. These are the ones found in
	the standard XFree86 config files.)

	* gtk/gtkbindings.c (gtk_bindings_activate): Fix problem
	that broke bindings for menus.

	* gtk/gtkwindow.[ch]: Export _gtk_window_activate_key()
	privately.

	* gtk/gtkmenushell.c (gtk_menu_shell_key_press): Use
	_gtk_window_activate_key(), gtk_bindings_activate_event().

1532 1533 1534 1535 1536
Thu Feb 21 12:24:22 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkctree.c (gtk_ctree_class_init): Remove some workarounds
	for +/= and shift key handling.

1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578
Wed Feb 20 14:26:47 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkkeyhash.[ch]: Implement "fuzzy" key binding lookups;
	allow matches on key and level but not group. Also, implement 
	ignoring "consumed modifiers correctly."

	* gtk/gtkaccelgroup.c gtk/gtkbindings.c: Convert to using
	GtkKeyHash.
	
	* gtk/gtkdebug.h gtk/gtkmain.c: Support GTK_DEBUG=keybindings

	* gdk/x11/gdkevents-x11.c (gdk_event_translate): Fill in
	the group for key release events as well as key press events.

	* gdk/gdkkeys.h gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state): 
	Rename unused_modifiers to consumed_modifiers, make the docs and
	non-Xkb implementation match the Xkb implementation.

	* gdk/linux-fb/gdkkeyboard-fb.c gdk/win32/gdkkeys-win32.c: Propagate
	doc and parameter name changes.

	* gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state):
	XkbTranslateKeyCode doesn't handle LockMask, we need to handle
	it ourselves.

	* gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state): Force
	<Shift>Tab to give GDK_ISO_Left_Tab, since we need consistency
	to allow dealing with ISO_Left_Tab.
	
	* gtk/gtkwindow.c gtk/gtktextview.c gtk/gtkscrolledwindow.c
	gtk/gtkpaned.c gtk/gtkcombo.c  gtk/gtknotebook.c:
	Remove inappropriate uses of GDK_ISO_Left_Tab. (GDK_ISO_Left_Tab
	or <Shift>Tab both are equivalent as a binding specifier.)

	* gtk/gtkbutton.c (gtk_button_class_init): Make ::activate
	GTK_RUN_ACTION, so you can bind an accelerator to it.

	* gtk/gtklabel.c (gtk_label_set_uline_text_internal): Call 
	gdk_unicode_to_keyval on the mnemonic character.

	* tests/testgtk.c: Add a test for the new fuzzy key binding matching.

1579 1580 1581 1582 1583
2002-02-21  jacob berkman  <jacob@ximian.com>

	* gtk/theme-bits/Makefile.am (EXTRA_DIST): inconsitent files are
	.pngs too

1584 1585 1586 1587 1588 1589 1590 1591
Wed Feb 20 21:52:13 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkselection.c (gtk_selection_request): Set the property
	as type ATOM_PAIR, not ATOM. (#72074, Gregory Merchan.)

	* gdk/x11/gdk{property,selecton}-x11.c: Auto-convert properties
	of type ATOM_PAIR as well as properties of type ATOM.

1592 1593 1594 1595 1596 1597 1598 1599 1600
2002-02-21  Matthias Clasen  <maclas@gmx.de>

	* docs/tutorial/images/*.png: screenshots of examples.
	
	* docs/tutorial/gtk-tut.sgml: remove deprecated widgets, add
	screenshots, fix chapters 1-4 for GTK+ 2.0. 

	* demos/gtk-demo/Makefile.am (INCLUDES): add -DGDK_PIXBUF_DISABLE_DEPRECATED.

1601 1602 1603 1604 1605 1606 1607 1608
Thu Feb 21 00:31:41 2002  Soeren Sandmann  <sandmann@daimi.au.dk>

	* gtk/gtkspinbutton.c: Many cleanups and fixes. Draw exclusively
	in expose handler. Feedback when buttons are depressed.

	* gtk/gtkstyle.c: update for changes in gtkspinbutton.c. Fix
	spinbuttons for RTL langauges.

1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621
Wed Feb 20 23:00:08 2002  Soeren Sandmann  <sandmann@daimi.au.dk>

	* gtk/gtkstyle.c: new radio buttons. handle inconsistent state for
	check- and radiobuttons.

	* gtk/theme-bits/check-13-inconsistent.png,
	gtk/theme-bits/radio-13-inconsistent.png: new files

	* gtk/theme-bits/radio-13.png: new radio buttons

	* gtk/theme-bits/Makefile.am (EXTRA_DIST): add new
	-inconsistent.png files

1622 1623 1624 1625 1626
Wed Feb 20 16:19:49 2002  Owen Taylor  <otaylor@redhat.com>

	* gdk/x11/gdkevents-x11.c: Add a XSETTING mapping for
	gtk-can-change-accels. (#70218, Thomas Leonard.)

1627 1628 1629 1630 1631 1632 1633
2002-02-20  Sven Neumann  <sven@gimp.org>

	* gtk/gtkcolorsel.c (gtk_color_selection_finalize): check
	handler_id before disconnecting the signal handler since it might
	have never been connected if the GtkColorSelection is destroyed
	before it was realized.

1634 1635 1636 1637 1638 1639 1640 1641 1642
2002-02-20  Matthias Clasen  <maclas@gmx.de>

	* docs/tutorial/gtk-tut.sgml: Fold back Svens g_signal fixes from
	the examples.  

	* docs/tutorial/gtk-tut.sgml, examples/progressbar/progressbar.c,
	examples/progressbar/Makefile: Make the progressbar example 
	deprecation-clean.

1643 1644
Tue Feb 19 22:10:59 2002  Kristian Rietveld  <kris@gtk.org>

Kristian Rietveld's avatar
Kristian Rietveld committed
1645
	* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_mnemonic_activate): new
1646 1647 1648 1649 1650 1651 1652
	function
	(gtk_tree_view_column_create_button): use g_signal_* instead of
	gtk_signal_*, hook up _mnemonic_activate callback
	(gtk_tree_view_column_update_button): use
	gtk_label_set_text_width_mnemonic instead of gtk_label_set_text
	(#69095)

Kristian Rietveld's avatar
Kristian Rietveld committed
1653
	* gtk/gtktreeview.c (gtk_tree_view_class_init): remove key bindings
1654
	for C-f and C-b, let treeview search use C-f (instead of C-s)
1655
	(#61866)
1656

Kristian Rietveld's avatar
Kristian Rietveld committed
1657
	* gtk/gtkrc.key.emacs: add some GtkTreeView bindings
1658

1659 1660 1661 1662 1663
Tue Feb 19 20:56:32 2002  Soeren Sandmann  <sandmann@daimi.au.dk>

	* gtk/theme-bits/decompose-bits.c (do_part): fix bug (skipping all
	black pixels).

1664 1665 1666 1667 1668
2002-02-19  Sven Neumann  <sven@gimp.org>

	* examples/*/*.c: finish conversion to g_signal_* functions by
	using G_OBJECT and G_CALLBACK and other assorted changes.

1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687
Tue Feb 19 17:36:31 2002  Kristian Rietveld  <kris@gtk.org>

	* gtktreeprivate.h, gtktreeviewcolumn.[ch], gtktreeview.c: change
	gtk_tree_view_column_cell_render,
	gtk_tree_view_column_cell_focus,
	gtk_tree_view_column_cell_draw_focus and
	gtk_tree_view_column_cell_set_dirty to be private functions.

	* gtktreeviewcolumn.[ch]: add install_handler argument to
	_cell_set_dirty to control if _mark_rows_col_dirty (which calls
	install_presize_handler) gets called, set widths correctly so
	autosizing works (#71870)

	* gtktreeview.c (gtk_tree_view_column_autosize): new function,
	(gtk_tree_view_button_press): make double click on column
	separator resize the row (#71870)
	(gtk_tree_view_get_dest_row_at_pos): change DnD threshold to 33%
	(#71869, suggestion by Anders Carlsson)

1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702
Mon Feb 18 23:16:16 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkmain.[ch]: Add routines _gtk_find_module(),
	_gtk_get_module_path() to look up a module of an arbitrary type in
	a standard fashion. (#68474)

	* gtk/gtkrc.c: Make module_path keyword warn and do
	nothing. Remove the im_module_path keyword.

	* gtk/gtkrc.c (gtk_rc_get_im_module_path): Fix
	to return the standard path instead of one determined
	from im_module_path and GTK_IM_MODULE_PATH.
	
	* gtk+-2.0.pc.in: Add gtk_host to go along with gtk_binary_version.

1703 1704 1705 1706 1707
2002-02-19  Matthias Clasen  <maclas@gmx.de>

	* docs/tutorial/gtk-tut.sgml, docs/examples/*: Trivial formatting
	fixes to all examples, simple functional fixes to rangewidgets example.

1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725
Mon Feb 18 18:27:45 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkfontsel.c (gtk_font_selection_set_font_name): Select
	the right item in the family list. (Reported by Mark Patton,
	Patch from Satajyit Kanungo, #64240)

	* gtk/gtkfontsel.c (gtk_font_selection_set_font_name): Update
	the size and face entry lists as well, fix memory leak.
	(Also #64240)

	* gtk/gtkfontsel.c (gtk_font_selection_show_available_sizes): 
	Allow fractional sizes, unselect the selected row if none
	matches.

	* gtk/gtkscrolledwindow.c (gtk_scrolled_window_focus): Fix
	a bug where the scrolled window would always get focus
	when focusing out of the child.

1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741
2002-02-18  Hans Breuer  <hans@breuer.org>

	* gdk/win32/gdkevents-win32.c : process WM_PAINT messages
	for bg_pixmap == GDK_NO_BG, fixes The GIMP's canvas
	rendering glitches on win32

	* gdk/win32/gdkinput-win32.c : use g_object_new to create
	GdkDevice instead of g_new
 
	* gtk/gtkpaned.c : make LAST_SIGNAL the last in enum. 
	This avoids to smash totally unrelated static data and
	resulting random crashes. (as reported on gtk-devel-list, 
	2002-02-10 : testgtk crashes)

	* gtk/gtk.def : add new file selection entry points

1742 1743 1744 1745 1746
Mon Feb 18 17:34:43 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkentry.c gtk/gtktextview.c: Remove support for
	the poorly defined text/plain type for now. (#55117)

1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761
Mon Feb 18 16:44:00 2002  Owen Taylor  <otaylor@redhat.com>

	* docs/widget_system.txt: Add some docs for GTK_NEED_REQUEST
	GTK_NEED_ALLOCATION.

	* gtk/gtkmenu.c (gtk_menu_popup): Scroll the menu
	to the right place before showing the menu to
	avoid spurious enter events.

	* gtk/gtkmenu.c (gtk_menu_realize): Only scroll
	if there is an active menu item.

	* gtk/gtkwidget.c (gtk_widget_init): Set RESIZE_NEEDED
	ALLOC_NEEDED initially.

1762 1763 1764 1765
2002-02-18  Matthias Clasen  <maclas@gmx.de>

	* NEWS: fix version number.

1766 1767 1768 1769 1770 1771
2002-02-18  Manish Singh  <yosh@gimp.org>

	* Makefile.am: don't comment out the lines to dist the packer
	example, just simply remove it. (the continuation line confused
	make even though it was in the comment, barf)

1772 1773 1774 1775
Mon Feb 18 14:40:22 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkcombo.c (gtk_combo_popdown_list): Fix problems
	with stuck grab (#60132, reported by Nicolas Setton) and
1776 1777
	stuck prelighting. Combine duplicated code in three
	places for popping down the list.
1778

1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792
Mon Feb 18 14:17:59 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkclist.c (adjust_adjustments) 
	* gtk/gtklayout.c (gtk_layout_size_allocate)
	* gtk/gtktextview.c (gtk_text_view_size_allocate) 
	* gtk/gtktreeview.c (gtk_tree_view_size_allocate) 
	* gtk/gtkviewport.c (gtk_viewport_size_allocate):
	Standardize on a page increment of page minus 1 line
	rather than half a page (#51027, Eric Fischer)

	* gtk/gtkviewport.c (gtk_viewport_size_allocate): 
	Change step increment to be 0.1 * page_size height rather than
	a fixed 10 pixels.

1793 1794 1795 1796 1797
Mon Feb 18 12:31:52 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkimcontextsimple.c (gtk_im_context_simple_filter_keypress): 
	Don't commit unless we got at least one hex digit. (#70619)

Owen Taylor's avatar
Owen Taylor committed
1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815
Sun Feb 17 21:30:49 2002  Owen Taylor  <otaylor@redhat.com>

	* Released 1.3.14

	* configure.in: Version 1.3.14, interface, binary age 0.

	* gdk/gdkregion-generic.c (miSubtractO): Fix out-of-bounds
	read. (#71619, reported by Morten Welinder)

	* gtk/gtkmenu.c (gtk_menu_class_init): Fix setting default.

	* gtk/gtkfilesel.c (gtk_file_selection_class_init): Add
	a select_multiple property to go along with thenew 
	get/set_select_multiple.

	* gdk/gdkwindow.c: Patch from Soeren Sandmann to improve
	update debugging code. (#71703)

1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834
2002-02-17  Tor Lillqvist  <tml@iki.fi>

	* gdk/win32/gdkcolor-win32.c (free_colors): Don't set the
	PC_EXPLICIT flag for unused palette entries, that might have
	undesired side effects. Just set them to black. Black is always
	present in a palette, so having superfluous black entries won't
	cause any extra allocations from the system palette either when
	realized.

	* gdk/win32/gdkevents-win32.c
	(gdk_event_translate:WM_QUERYNEWPALETTE): Don't do anything if the
	system visual is static color, i.e. the user has told GDK to use
	just the 16 static colors. In that case no need to redraw
	anything, as the colors are static and by definition always
	correctly mapped in the system palette.
	(WM_PALETTECHANGED): Ditto, no need to call UpdateColors() either.
	
	* gtk/gtk.def: Add new gtkfilesel entry points.

1835 1836 1837 1838 1839
2002-02-17  Matthias Clasen  <maclas@gmx.de>

	* docs/tutorial/gtk-tut.sgml, examples/paned/paned.c, 
	examples/paned/Makefile: Make the paned example deprecation-clean.

1840 1841 1842 1843 1844
2002-02-17  jacob berkman  <jacob@ximian.com>

	* Makefile.am: remove the packer example files as they don't exist
	in CVS.

1845 1846 1847 1848
2002-02-16  Manish Singh  <yosh@gimp.org>

	* tests/testgtk.c: hm, check buttons look better for below.

1849 1850 1851 1852 1853 1854 1855
2002-02-16  Manish Singh  <yosh@gimp.org>

	* tests/testgtk.c: redid the filesel test. Added a way to set select
	multiple as a toggle button, and made show/hide fileops toggle
	buttons as well. get_selections() is called on OK and all the
	filenames selected are printed.

1856 1857
2002-02-17  Tor Lillqvist  <tml@iki.fi>

1858 1859 1860
	* README.win32: Remove comment about the gtk-1-3-win32-production
	branch having more functionality.

1861 1862 1863 1864 1865 1866 1867 1868 1869
	* gdk/win32/*.c: Massive changes. Too many to list here, but I'll
	try a summary:

	1) Unify GdkPixmap and GdkImage implementation: For each
	GdkPixmap, allocate a GdkImage, and vice versa.
	GdkPixmapImplWin32Data has a pointer to the GdkImage.
	GdkImage::windowing_data is a pointer to the GdkPixmap.

	This simplifies many pixmap and image related functions a lot, and
1870
	reduces duplicated code. For instance, there is only one
1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918
	place in gdk/win32 where CreateDIBSection() is called, in the
	function _gdk_win32_new_pixmap(). Converting a bitmap (GdkPixmap)
	to a Windows region is almost trivial, with the bitmap bits being
	readily accessible in the associated GdkImage.

	All blitting between GdkPixmaps, GdkWindows and GdkImages goes
	through handled the _gdk_win32_blit() function, which calls
	different functions to handle the cases of blitting from pixmaps,
	inside windows (scrolling), or from windows, which all require
	somewhat different handling.

	2) Support 256-color mode. This has long been very broken, now it
	works more or less OK. Keep the logical palette for each colormap
	as small as possible while allocating and freeing colors. Select
	and realize the logical palette associated with a GdkColormap into
	a DC before drawing or blitting.

	When the display is in 256-color mode, make it possible for the
	user to override the size of the palette(s) used with either the
	GDK_WIN32_MAX_COLORS environment variable, or a -max-colors
	command line option. It is possible to reduce the palette size all
	the way down to using just the 16 static colors (which causes the
	system visual to be of type GDK_VISUAL_STATIC_COLOR. This could
	possibly be useful if one desperately wants to avoid color
	flashing. (Note that in order for this to work properly, an as of
	yet not commited fix to gdkrgb.c is needed.)

	Handle the palette messages. On WM_PALETTECHANGED, call
	UpdateColors() for the given window hierarchy. Do this only if a
	window in some other top-level window hierarchy caused the palette
	change (realized a palette). Do this max five times in a row (an
	arbitrarily chosen limit), though, otherwise redraw by generating
	expose events. On WM_QUERYNEWPALETTE, cause a redraw of the whole
	window hierarchy by generating GDK_EXPOSE events.

	3) Code cleanup in general. For instance, remove the "emulated"
	X11 structs ColormapStruct, Visual and XStandardColormap. Use the
	new GDK_DEBUG_* flags for debugging output in the relevant source
	files. Remove the unused colormap hash table in gdkcolor-win32.c

	4) Plug some resource leaks.

2002-02-14  Tor Lillqvist  <tml@iki.fi>

	* gdk/win32/gdkdnd-win32.c (gdk_dropfiles_filter): Use
	g_filename_to_uri() to actually create legal URIs in the
	text/uri-list data.

1919 1920 1921 1922
2002-02-16  Manish Singh  <yosh@gimp.org>

	* gtk/gtkfilesel.[ch]: Added multiple selection API

1923 1924 1925 1926
2002-02-16  Manish Singh  <yosh@gimp.org>

	* gdk/linux-fb/miarc.c: use fabs() on a double instead of abs()

1927
2002-02-17  Matthias Clasen  <maclas@gmx.de>
1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938

	More work on #71430.

	* examples/*/Makefile (CFLAGS): add deprecation guards.
	
	* docs/tutorial/gtk-tut.sgml, examples/*/*.c: make most examples
	deprecation-clean; the major offenders right now are the examples
	that make heavy use of completely deprecated or broken widgets:
	list, tree, text, pixmap, paned and progressbar. These will have
	to be redone from scratch.

1939 1940 1941 1942 1943 1944 1945 1946 1947
Sun Feb 17 00:13:06 2002  Kristian Rietveld  <kris@gtk.org>

	This commit lands the 'dy patch'.

	* gtk/gtktreeview.c (validate_rows_handler): update top_row or dy,
	(gtk_tree_view_top_row_to_dy): new function,
	(gtk_tree_view_row_changed): update top_row or dy,
	(gtk_tree_view_rows_reordered): update top_row

1948
2002-02-16  Matthias Clasen  <maclas@gmx.de>
1949 1950 1951

	* demos/Makefile.am (INCLUDES): add -DGDK_PIXBUF_DISABLE_DEPRECATED.

1952
2002-02-16  Matthias Clasen  <maclas@gmx.de>
1953 1954 1955 1956 1957 1958 1959

	* examples/extract.awk: rearrange rules to not emit the example 
	start and end markers.

	* docs/tutorial/gtk-tut.sgml: turn the start and end markers into
	SGML comments, so they don't clutter the formatted tutorial.

1960 1961 1962 1963 1964 1965
2002-02-16  Havoc Pennington  <hp@pobox.com>

	* gtk/gtkwindow.c (gtk_window_parse_geometry): take
	GDK_HINT_RESIZE_INC into account, and handle negative coordinates
	correctly. (Can't email Owen - hope this is OK.)

1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982
Fri Feb 15 20:09:45 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkscrolledwindow.[ch] gtk/gtkmarshallers.list:
	Add key bindings on GtkScrolledWindow for arrow keys,
	PageUp/PageDown Home/End to scroll the window. 
	Bind Control-[Shift]-Tab to focus out of the scrolled
	window entirely. Allow the scrolled window to be
	focused if no child can be focused. (#63480)

	* gtk/gtkwidget.c (gtk_widget_hide): Remove the REALIZED()
	check - if we have visible but not mapped widgets 
	(inside a unshown notebook tab, for instance), we need
	to track their size. (#65087, reported by Damon Chaplin.)

	* gtk/gtkcolorsel.c (palette_change_color): Shut up
	a warning.

Tor Lillqvist's avatar
Tor Lillqvist committed
1983 1984 1985 1986 1987 1988 1989
2002-02-16  Tor Lillqvist  <tml@iki.fi>

	* gdk/win32/rc/Makefile.am (gdk-win32res.lo): Depend on gtk.ico.

	* gdk/win32/rc/gtk.ico: Use the real GTK logo. Thanks to Jernej
	Simoncic for providing the nice multi-resolution .ico file.

1990 1991
2002-02-15 Alexey Malyshev <maa@sparc.spb.su>
	
1992 1993 1994
        * gtk/tmpl/gtkimage.sgml
	removed wrong sentence from gtk_image_new() docs

1995 1996 1997 1998 1999 2000 2001
Fri Feb 15 19:38:00 2002  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreestore.c (gtk_tree_store_clear_traverse): new function
	(gtk_tree_store_clear): traverse the tree, so we emit row_deleted
	for every node. This way we don't have confused row refs crashing the
	application. (#70631)

2002 2003 2004 2005 2006 2007
2002-02-14  Richard Hult  <rhult@codefactory.se>

	* gtk/gtkpaned.c (gtk_paned_enter): Only queue a draw on the
	handle, not the whole widget. #71530.
	(gtk_paned_leave): Likewise.

2008 2009 2010 2011 2012 2013 2014 2015
2002-02-14  Jody Goldberg <jody@gnome.org>

	* gtk/gtkrange.c (gtk_range_class_init) : add new signal
	  'adjust_bounds' to potentialy change the bounds before assigning the
	  new value and camping it to the existing bounds.
	(gtk_range_internal_set_value) : used here. #68800.
	* gtk/gtkmarshalers.list : add VOID:DOUBLE

2016 2017 2018 2019 2020
Thu Feb 14 21:08:49 2002  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdkglobals.c: Remove GDKVAR from C file, see
	if anyone complains. (#71317, Morten Welinder.)

2021
2002-02-14  Matthias Clasen  <maclas@gmx.de>
2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034

	The following changes are the beginning of the work on #71430.
	
	* examples/extract.sh, examples/extract.awk: Make extraction work.
	
	* examples/Makefile (SUBDIRS): Remove packer.

	* examples/packer/pack.c, examples/packer/Makefile: Removed.

	* docs/tutorial/gtk-tut.sgml: Fix the included examples far
	enough to make them compile and (mostly) work, remove the packer
	example.

2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046
Thu Feb 14 16:46:48 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkentry.c gtk/gtktextdisplay.c gtk/gtklabel.c
	gtk/gtkstyle.[ch] gtk/gtkwidget.c: Patch from Bill
	Haneman and Padraig O'Briain to add cursor_aspect_ratio
	style property to GtkWidget to allow theming the aspect
	ratio of the cursor.

	* gtk/gtkentry.c gtk/gtktextview.c gtk/gtklabel.c
	gtk/gtkwidget.c tests/testgtkrc: Move cursor-color style property
	to GtkWidget.

2047 2048 2049 2050 2051 2052
Thu Feb 14 11:13:22 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkimmulticontext.c (gtk_im_multicontext_get_surrounding): 
	Fix bug where we called get_surrounding on the context,.
	not the slave.

2053 2054 2055 2056 2057 2058 2059 2060 2061
Thu Feb 14 00:10:09 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtktooltips.c (gtk_tooltips_event_handler): Only
	pop the tooltip down on a select set of events, not
	on any unknown event. (#71157, Jody Goldberg)

	* gtk/gtktooltips.c (gtk_tooltips_event_handler):
	Fix some warnings.

2062 2063 2064 2065 2066 2067 2068 2069
Thu Feb 14 00:02:21 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkcalendar.c (gtk_calendar_size_request): A bunch of
	small allocation/drawing fixes.

	* gtk/gtkcalendar.c: Replace DAY_XPAD, DAY_YPAD with
	GtkWidget::focus-padding

2070 2071 2072 2073 2074 2075 2076
Wed Feb 13 23:01:20 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkcalendar.c: Patch from Bill Haneman to draw
	to focus using gtk_paint_focus() with the focus width
	GtkWidget::focus-width. (#63075)

	* gtk/gtkcalendar.c (gtk_calendar_size_request): Initialize
2077 2078
	label_char_ascent/descent to 0. (#56925, reported by
	(Jean-Noel Guiheneuf)
2079

2080 2081 2082 2083 2084 2085
2002-02-13  Havoc Pennington  <hp@redhat.com>

	* gtk/gtktextview.c (gtk_text_view_flush_scroll): validate a
	larger area, proportional to widget size, to fix
	#71427 reported by Dennis Bjorklund

2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098
2002-02-13  Havoc Pennington  <hp@redhat.com>

	* gtk/gtktextview.c (gtk_text_view_paint): just go ahead and flush 
	all the first validate stuff if it hasn't been done, presumably
	someone called process_updates at a weird time.

	* tests/testtext.c (do_apply_colors): terminate on >= end, not >
	end, avoids infinite loop when end is at the end of the buffer.

	* gtk/gtktextbtree.c (_gtk_text_btree_delete): when creating a
	line data, we were adding it to the wrong line ("line" instead of
	"start_line")

2099 2100 2101 2102 2103 2104 2105 2106 2107 2108
2002-02-13  Joe Shaw  <joe@ximian.com>

	* gtk/gtktreeitem.c (gtk_tree_item_expose): Don't chain up to the
	container's expose event.  Instead call
	gtk_tree_item_expose_child() on each child.  Avoids a failed
	g_assert() in gtk_container_propagate_expose().
	(gtk_tree_item_expose_child): Added.  Synthesize an expose event
	for our children.  Basically gtk_container_propagate_expose()
	minus the g_assert().  (#71396)

2109 2110 2111 2112 2113 2114 2115
2002-02-13  Tor Lillqvist  <tml@iki.fi>

	* gdk/gdkinternals.h: Add some more GdkDebugFlags, for more
	fine-grained debugging output (mainly used in the Win32 backend).

	* gdk/gdk.c: Corresponding additions to the gdk_debug_keys table.

2116 2117 2118 2119 2120 2121 2122 2123
Wed Feb 13 15:42:42 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtktooltips.[ch] gtkwidget.c: Implement Control-F1
	as toggle-tooltips-mode.

	* gtk/gtktooltips.c: Remove parsing of tooltips style
	string from here ... now in gtkrc.c.

2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135
Wed Feb 13 12:41:44 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkmain.c (gtk_init_check): g_warning() if setting
	the local fails, like gdk_set_locale() did.

	* gdk/x11/gdkselection-x11.c (gdk_text_property_to_utf8_list): 
	Don't free local_list if local_count == 0. (#71241, reported
	by Kevin Vandersloot.)

	* gdk/x11/gdkselection-x11.c (gdk_text_property_to_text_list): 
	Clean up list == NULL handling and failure.

2136 2137 2138 2139 2140
Wed Feb 13 11:27:31 2002  Owen Taylor  <otaylor@redhat.com>

	* tests/testtreeview.c (typesystem_recurse): Cast GType
	to long and use %ld to fix warning. (#71318, Morten Welinder)

2141 2142 2143 2144
Wed Feb 13 13:26:39 2002  Tim Janik  <timj@gtk.org>

	* gtk/gtkmenu.c: fix figuring accel path and changing behaviour.

2145 2146 2147 2148 2149 2150 2151
Wed Feb 13 06:42:37 2002  Tim Janik  <timj@gtk.org>

	* gtk/gtktable.c (gtk_table_size_allocate_pass1): partly revert
	my recent expanding change to not expand the table if all children
	have not epxand behaviour. this fixes palette views which often
	use homogeneous non-expanding tables.

2152 2153 2154 2155 2156 2157 2158 2159 2160 2161
Tue Feb 12 14:27:41 2002  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_deleted): emit
	row_deleted before we start unreffing the nodes ourselves
	(gtk_tree_model_sort_increment_stamp): always increment the stamp,
	and not only if the stamp equals 0 (pointed out by Darin Adler)

	* gtk/gtktreemodel.c (gtk_tree_row_ref_deleted_callback): we want
	to continue the while loop and not the nested for loop.

2162 2163 2164 2165 2166 2167 2168
Tue Feb 12 02:19:49 2002  Tim Janik  <timj@gtk.org>

	* gtk/gtktable.c (gtk_table_size_allocate_pass1): always spread out
	the extra space allocated for the homogeneous case, as we don't
	properly deal with readjusting table allocation within it. (for  this
	purpose, a GtkAlignment can be used as table parent).

2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181
2002-02-11  Darin Adler  <darin@bentspoon.com>

	* gtk/gtktreemodelsort.c: (gtk_tree_model_sort_row_changed):
	Consider reordering the row even when there's no sort column, if
	there's a default sort function.
	(gtk_tree_model_sort_rows_reordered): Use symbolic constants.
	(gtk_tree_model_sort_level_find_insert): Add code to handle the
	case where there is no sort column, but a default sort function.
	(gtk_tree_model_sort_insert_value): Add code to handle the case
	where there is no sort column an no default sort function.
	(gtk_tree_model_sort_set_model): Use symbolic constant.
	(gtk_tree_model_sort_reset_default_sort_func): Use symbolic constant.

2182 2183 2184 2185 2186
2002-02-11  Sven Neumann  <sven@gimp.org>

	* gtk/gtkfilesel.c: converted the "Delete File" dialog to
	GtkMessageDialog. Marked missing strings for translation.

2187 2188 2189
Mon Feb 11 22:03:15 2002  Soeren Sandmann  <sandmann@daimi.au.dk>

	* gtk/gtkpaned.[ch]: Opaque resizing + prelighting for paned widget.
Søren Sandmann Pedersen's avatar
Søren Sandmann Pedersen committed
2190
	* gtk/gtkvpaned.c, gtk/gtkhpaned.c: move reszing logic to gtkpaned.c
2191

2192 2193 2194 2195 2196 2197 2198 2199 2200
Mon Feb 11 21:42:17 2002  Kristian Rietveld  <kris@gtk.org>

	Implements DnD scrolling and fixes #71139

	* gtk/gtktreeview.c (gtk_tree_view_vertical_autoscroll): new function,
	(scroll_row_timeout): new function,
	(gtk_tree_view_drag_motion): create scroll_timeout, so
	scroll_row_timeout gets called

2201 2202 2203 2204 2205 2206
Mon Feb 11 17:54:46 2002  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeview.c (gtk_tree_view_size_allocate): set upper
	member of hadjustment correct, so the hscrollbars of lists smaller
	than 1 page (in width) are somewhat saner

2207 2208 2209 2210 2211
2002-02-11  jacob berkman  <jacob@ximian.com>

	* gdk/gdkwindow.h (gdk_get_default_root_window): fix signature to
	match implementation

2212 2213 2214 2215 2216 2217
Mon Feb 11 16:48:34 2002  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtkliststore.c (gtk_list_store_set_valist): set value of
	func to NULL during initialization (we don't use func in the
	!SORTED case, so we just silent the compiler here) (#71029)

2218 2219 2220 2221 2222
Mon Feb 11 16:40:44 2002  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeview.c (gtk_tree_view_set_model): install presize
	handler, so the validate_rows_handler will always be run (#70997)

2223 2224 2225 2226 2227
Sun Feb 10 22:20:46 2002  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtkliststore.c (gtk_list_store_sort_iter_changed): increase
	value of new_location by one if cmp_a > 0 and we hit the end of
	the list and pass NULL instead of a 'NULL-iter' with
Kristian Rietveld's avatar
Kristian Rietveld committed
2228
	_rows_reordered (#71060)
2229

2230 2231 2232 2233 2234 2235
Sun Feb 10 12:32:44 2002  Owen Taylor  <otaylor@redhat.com>

	* modules/input/Makefile.am modules/input/{imam-et.c, imti-er.c,
	imti-et.c} po/POTFILES.in: Add three Ethiopic input methods from
	Daniel Yacob.

2236 2237 2238
2002-02-10  Anders Carlsson  <andersca@gnu.org>

	* gtk/gtkcalendar.c (gtk_calendar_class_init): Set finalize handler;
2239 2240 2241
	(gtk_calendar_finalize): Rename gtk_calendar_destroy to 
	gtk_calendar_finalize since ::destroy can be called multiple times, 
	resulting in double-freeing memory.
2242

2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267
2002-02-10  Hans Breuer  <hans@breuer.org>

	* gdk/win32/gdkgeometry-win32.c : don't reduce the scroll
	rect size by the scroll amount

	* gdk/win32/gdkwindow-win32.c
	* gdk/win32/gdkselection-win32.c : added some casts to
	make it compile with msvc's strict type checking

	* gtk/fnmatch.c : #include <ctype.h> again for tolower
	prototype. The fnmatch() code assumes to be in the crt 
	locale though it is feeded by utf8 strings from gtkfilesel.c

	* gtk/gtkfilesel.c : let ->cmpl_text be a strdup managed by
	_CompletionDir instead of referencing already freed memory

	* gtk/gtktooltips.c (gtk_tooltips_init) : fix typo to
	gtk_rc_parse_string (theDefaultTooltipColor) once as it
	was intended

	* tests/makefile.msc : added more tests

	* tests/testgtk.c (create_list) : don't try to load gtkenums.h
	from the current directory use ../gtk/gtkenums.h instead

2268 2269
2002-02-10  Kjartan Maraas  <kmaraas@gnome.org>

2270
	* gtk/gtksizegroup.c: Fix a double "The" typo in a string.
2271
	
2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288
2002-02-09  Matthias Clasen  <matthias@local>

	* gtk/gtknotebook.c (gtk_notebook_set_focus_child): Avoid segfault
	for selectable tab labels (even without a segfault, they make the
	notebook almost unusable, though).  (#69985)

2002-02-08  Matthias Clasen  <matthias@local>

	* gtk/gtkmenuitem.c (gtk_menu_item_set_accel_path): Silently do 
	nothing if the parent is not a menu.  (#66492)

2002-02-06  Matthias Clasen  <matthiasc@poet.de>

	* gtk/gtkitemfactory.c (gtk_item_factory_from_widget,
	gtk_item_factory_path_from_widget): Try fetching the return value 
	from menu_item->submenu as a fallback.  (#69020)
	
2289 2290 2291 2292 2293 2294
Sat Feb  9 22:57:43 2002  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreemodelsort.c (gtk_tree_model_sort_build_level): convert
	the iter to a child iter again, after doing _iter_children. It's
	possible that _iter_children added some rows and updated the stamp.

2295 2296 2297 2298 2299
2002-02-09  Daniel Elstner  <daniel.elstner@gmx.net>

	* gtk/gtktextchild.c: Use == rather than = in sanity
	checks.  Ouch!

2300 2301 2302 2303 2304 2305 2306
2002-02-09  Daniel Elstner  <daniel.elstner@gmx.net>

	* gtk/gtktextchild.c (CHECK_IN_BUFFER_RETURN): Add missing
	curled braces so that it doesn't always return.  Also indent
	both CHECK_IN_BUFFER* macros properly, and make use of
	G_STMT_START/G_STMT_END.

2307 2308 2309 2310 2311
Sat Feb  9 13:27:14 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkbindings.h: Add prototype for
	_gtk_binding_reset_parsed().

Owen Taylor's avatar
Owen Taylor committed
2312 2313 2314 2315 2316 2317
Sat Feb  9 13:19:20 2002  Owen Taylor  <otaylor@redhat.com>

	* configure.in gtk/Makefile.am gtk/theme-bits/*: Add
	tools and images used for creating the check/radio
	button images in the default theme.

2318 2319 2320 2321 2322 2323 2324 2325 2326
Sat Feb  9 13:58:41 2002  Soeren Sandmann  <sandmann@daimi.au.dk>

	* gtk/gtkpaned.[ch]: Keyboard navigation for GtkPaned
	F6: cycle between panes.
	F8: focus handle (#53584)
	
	* tests/testgtk.c: Add test cases for GtkPaned keyboard 
	navigation.
	
2327 2328 2329 2330 2331 2332 2333 2334 2335
Sat Feb  9 00:16:31 2002  Owen Taylor  <otaylor@redhat.com>

	* gdk/x11/gdkimage-x11.c (_gdk_x11_copy_to_image): 
	XCopyArea with subwindow_mode = IncludeInferiors.
	(#70999)

	* demos/testpixbuf-save.c (configure_cb): Fix a minor
	memory management problem.

2336 2337 2338 2339 2340 2341 2342 2343
Fri Feb  8 20:24:58 2002  Owen Taylor  <otaylor@redhat.com>
	
	* gtk/gtkbindings.c (binding_compose_params): Fix problem
	with string-valued parameters (#70012, Johan Dahlin.)

	* gtk/gtkentry.c (gtk_entry_delete_whitespace): Fix 
	white space deletion.

2344 2345 2346 2347 2348 2349
Fri Feb  8 21:25:56 2002  Jonathan Blandford  <jrb@redhat.com>

	* gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_deleted): fix
	evil ref bug where the wrong row and a deleted row was unreffed.
	Found by Darin Adler <darin@bentspoon.com>

2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371
Fri Feb  8 18:46:13 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkbindings.[ch] (_gtk_binding_reset_parsed): Add
	a function to delete all bindings add by
	gtk_binding_parse_binding() when rereading RC files.

	* gtk/gtkrc.c (gtk_rc_reparse_all_for_settings): Reset
	binding set content as well as RC content.

	* gtk/gtkbindings.c (binding_compose_params): Fix 
	various GValue handling problems.

	* gtk/gtkentry.c (gtk_entry_class_init): Remove bindings 
	for C-b, C-f, M-b, M-f, C-a, C-e, C-w, C-y, M-space, C-u,
	C-k, M-\, M-d, C-d.

	* gtk/gtktextview.c (gtk_text_view_class_init): Remove
	same bindings as GtkEntry, plus C-n, C-p, C-space

        * gtk/gtkrc.key.default gtk/gtkrc.key.emacs gtk/Makefile.am:
	Add Emacs and Default key themes.
	
2372 2373 2374 2375 2376
2002-02-08  Darin Adler  <darin@bentspoon.com>

	* gtk/gtktreeview.c: (gtk_tree_view_map_expanded_rows_helper):
	Remove a tiny bit more dead code.

Darin Adler's avatar
Darin Adler committed
2377 2378 2379 2380 2381
2002-02-08  Darin Adler  <darin@bentspoon.com>

	* gtk/gtktreeview.c: (gtk_tree_view_map_expanded_rows_helper):
	Fix stale pointer bug.

2382 2383 2384
Fri Feb  8 14:30:14 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkclist.c (title_focus_in): Return FALSE if
2385
	not showing the titles. (#70959, Thomas Leonard)
2386

2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409
2002-02-08  Darin Adler  <darin@bentspoon.com>

	* demos/gtk-demo/main.c: (load_file): isspace -> g_ascii_isspace
	* gdk/x11/gdkim-x11.c: Remove gdki8n.h include.
	* gdk/x11/gdkkeys-x11.c: Remove <ctype.h> include.
	* gdk/x11/gdkmain-x11.c: Remove <ctype.h> include.
	* gtk/fnmatch.c: Remove <ctype.h> include.
	* gtk/gtkaccelgroup.c: Remove <ctype.h> include.
	* gtk/gtkaccellabel.c: (gtk_accel_label_refetch): toupper ->
	g_unichar_toupper, toupper -> g_unichar_totile
	* gtk/gtkbindings.c: Remove <ctype.h> include.
	* gtk/gtkfontsel.c: Remove <ctype.h> include.
	* gtk/gtkiconfactory.c: Remove <ctype.h> include.
	* gtk/gtkinputdialog.c: Remove <ctype.h> include.
	* gtk/gtklabel.c: Remove <ctype.h> include.
	* gtk/gtkmain.c: Remove <ctype.h> include.
	* gtk/gtkmenu.c: Remove <ctype.h> include.
	* gtk/gtkoldeditable.c: Remove <ctype.h> include.
	* gtk/gtkrc.c: Remove <ctype.h> include.
	* gtk/gtktextbtree.c: Remove <ctype.h> include.
	* gtk/gtktextiter.c: Remove <ctype.h> include.
	* gtk/gtktextsegment.c: Remove <ctype.h> include.

2410 2411 2412 2413 2414 2415
2002-02-08  Sven Neumann  <sven@gimp.org>

	* gtk/gtkfilesel.c
	* gtk/gtkgamma.c
	* gtk/gtkinputdialog.c: use stock labels for dialog action buttons.

2416 2417 2418 2419 2420 2421
2002-02-08  Darin Adler  <darin@bentspoon.com>

	* gtk/gtktreemodelsort.c: (gtk_tree_model_sort_ref_node),
	(gtk_tree_model_sort_unref_node): Pass the ref_node and
	unref_node calls through to the child model.

2422 2423 2424 2425 2426
2002-02-08  Laszlo Peter  <laca@ireland.sun.com>

	* gtk/gtktextchild.c: s/__FUNCTION__/G_GNUC_FUNCTION/
	* gtk/gtktextview.c: ditto

2427 2428 2429 2430 2431 2432 2433 2434
2002-02-07  Havoc Pennington  <hp@pobox.com>

	* gtk/gtkspinbutton.h (struct _GtkSpinButtonClass): add
	change_value virtual function, to fix build

	* gtk/gtkpixmap.c (gtk_pixmap_class_init): parent_class was 
	from GtkWidget not GtkMisc. Not that it ever mattered.

2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456
Thu Feb  7 19:52:00 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtknotebook.[ch]: Add ::move-focus-out signal
	to handle Control[-Shift]-Tab and Control-arrow
	bindings and implement bindings as per #53612.

	* gtk/gtktextview.c (gtk_text_view_move_focus): Fix 
	fetching the toplevel for plug-socket.

	* gtk/gtknotebook.c (gtk_notebook_class_init): Remove
	bindings for Return/Enter to select the page.

	* gtk/gtknotebook.c (gtk_notebook_change_current_page):
	Beep at ends.

	* gtk/gtknotebook.c (focus_tabs_move): Don't wrap around
	and beep at ends.

	* gtk/gtknotebook.c (gtk_notebook_focus): When focusing into
	the page with the arrow keys, focus the first widget,
	not the directionally closest widget.

2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468
Thu Feb  7 19:00:10 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkspinbutton.c (gtk_spin_button_key_release): Convert
	to using  binding set for doing key bindings. (#62622,
	Requested by Skip Montaro)

	* gtk/gtkwindow.c (gtk_window_class_init): Add control-arrow
	bindings as overrides along with control-tab bindings.

	* gtk/gtknotebook.c (gtk_notebook_class_init): Fix return
	type for ::focus_tab signal.

2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486
Thu Feb  7 19:39:27 2002  Kristian Rietveld  <kris@gtk.org>

	Fixes #70782 and some drag dest rectangle/line issues

	* gtk/gtktreeview.c (gtk_tree_view_set_model): set
	GTK_TREE_VIEW_IS_LIST flag (we can switch from a TreeStore to a
	ListStore for example)
	(gtk_tree_view_get_path_at_pos): revert previous change, we
	shouldn't correct for the header, because we are taking bin_window
	coordinates here
	(gtk_tree_view_set_drag_dest_row): queue old drag_dest row and
	upper/lower neighbors for draw, so the drag dest rectangle/line will
	be cleared correctly
	(gtk_tree_view_get_dest_row_at_pos): correct for treeview header
	here, as drag_y is relative to the widget and _get_path_at_pos wants
	coords relative to bin_window, draw black outline rectangle after
	drawing the cells

2487 2488 2489 2490 2491 2492
Thu Feb  7 10:53:12 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkentry.c (gtk_entry_draw_text): Use layout text
	(which may be affected by invisible char) to compute
	selection bounds, not entry text. (#70733, Alex Larsson)

2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503
2002-02-07 Padraig O'Briain <padraig.obriain@sun.com>

	* gtk/gtkwidget.[ch]:
	Change show_help signal to return gboolean instead of void. This
	allows the keypress which invokes the signal to be propagated to the
	focus widgets ancestors if not handled by the focus widget.
	
	* gtk/gtktoolips.[ch]
	Change _gtk_tooltips_show_tip () to return a gboolean indicating
	whether widget has tooltip to display.
	
2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514
2002-02-07 Padraig O'Briain <padraig.obriain@sun.com>

	* gtk/gtkwidget.[ch]:
	Change popup_menu signal to return gboolean instead of void. This
	allows the keypress which invokes the signal to be propagated to the
	focus widgets ancestors if not handled by the focus widget.

	* gtk/gtkcolorsel.c gtk/gtkentry.c gtk/gtktextview.c:
	Change signature of popup_menu signal handler to return gboolean
	instead of void and return TRUE in the signal handler

Anders Carlsson's avatar
Anders Carlsson committed
2515 2516 2517 2518 2519
2002-02-07  Anders Carlsson  <andersca@gnu.org>

	* gdk/x11/xsettings-common.c (xsettings_setting_free): Free 
	the setting name.

Kristian Rietveld's avatar
Kristian Rietveld committed
2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533
Wed Feb  6 23:28:39 2002  Kristian Rietveld  <kris@gtk.org>

	Fixes #70708

	* gtk/gtktreeview.c (gtk_tree_view_get_path_at_pos): we're dealing
	with widget coordinates here, so take the header height into
	account while converting
	(gtk_tree_view_widget_to_tree_coords): take header height into
	account
	(gtk_tree_view_tree_to_widget_coords): ditto
	(gtk_tree_view_get_dest_row_at_pos): we were passing coords
	relative to the tree with _get_path_at_pos, while that function
	wants coords relative to the widget

2534 2535 2536 2537 2538 2539 2540
2002-02-06  Havoc Pennington  <hp@redhat.com>

	* gtk/gtktextview.c (gtk_text_view_scroll_hpages): remove unused variable
	(gtk_text_view_get_window): add warning about how you
	can't get the private window. #70683, and avoid default: in the
	switch so we get "enum value unhandled" warnings

2541 2542 2543 2544 2545 2546 2547
2002-02-06  Havoc Pennington  <hp@redhat.com>

	* gtk/gtktextchild.c: Add warnings if you try to use a child
	anchor that isn't inside a buffer. Really kind of lame; 
	we should separate the anchor from the buffer. But not worth 
	fixing for now. #70601

2548 2549 2550 2551 2552
Wed Feb  6 18:25:24 2002  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreemodelsort.c: rip out all the debugging ifdefs, as
	modelsort seems to be stable (and nobody complained :)

2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563
Tue Feb  5 19:13:42 2002  Owen Taylor  <otaylor@redhat.com>

	* gdk/x11/gdkgeometry-x11.c (gdk_window_queue): Keep
	the length of the anti-expose queue finite, by if
	it gets too long, first doing a XSync() and checking
	the event queue, and if that doesn't work, simply
	discarding all anti-expose items in the queue.

	* gdk/x11/gdkdnd-x11.c (gdk_window_cache_filter): Fix ordering
	on ConfigureNotify (#56349, Thomas Leonard)

2564 2565 2566 2567 2568 2569
2002-02-05  Havoc Pennington  <hp@redhat.com>

	* gtk/gtkimage.c (gtk_image_expose): offset area being gotten from
	pixmap by the align/padding offsets, so we don't get warnings
	in gdk_pixbuf_get_from_drawable (and so it works, of course)

2570 2571 2572 2573
2002-02-05  Matthias Clasen  <matthiasc@poet.de>

	* gtk/gtkrc.c (gtk_rc_parse_file): Remove a (now) misleading comment.

2574 2575 2576 2577
2002-02-05  Federico Mena Quintero  <federico@ximian.com>

	* gdk/gdkwindow.h: Do not #include <gdk/gdkwindow.h>.

2578 2579 2580 2581 2582 2583
Tue Feb  5 22:54:16 2002  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtkliststore.c (gtk_list_store_insert_after): let's set the
	path, which we're going to pass with the emission of row_inserted, to
	the iter we inserted and not its sibling.

2584 2585 2586 2587 2588
2002-02-04 Padraig O'Briain <padraig.obriain@sun.com>

	* gtk/gtkmenu.c (gtk_menu_popup):
	Fix leak of GdkEvent (#70519)

2589 2590 2591 2592 2593 2594 2595
Mon Feb  4 10:40:28 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkstyle.c (gtk_default_draw_resize_grip):
	Fix from Matthias Clasen to clear background appropriately
	for theme by calling gtk_style_apply_default_background().
	(#70449)

2596 2597 2598 2599 2600
Mon Feb  4 10:06:49 2002  Owen Taylor  <otaylor@redhat.com>

	* gdk/x11/gdkevents-x11.c: gtk-double-click-time,
	not gtk-double-click-timeout. (#70501)

2601 2602 2603 2604 2605 2606 2607
2002-02-04  Havoc Pennington  <hp@pobox.com>

	* gtk/gtksignal.c (gtk_signal_connect_while_alive): 
	(gtk_signal_connect_object_while_alive): rename 
	"signal" arg to "name" to avoid compiler warnings
	about shadowing signal(). #70453

2608 2609 2610 2611 2612
2002-02-03  Anders Carlsson  <expander-master@gtk.org>

	* gtk/gtkstyle.c (gtk_default_draw_expander): Add 
	flipping support to the expanders.

2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625
Sat Feb  2 21:54:01 2002  Owen Taylor  <otaylor@redhat.com>

	RC file lookup improvements (#68234, suggestions
	from Matthias Clasen.)

	* gtk/gtkrc.c (gtk_rc_parse_file): Look for the 
	locale suffix variants (gtkrc.en_US, gtkrc.en) for
	all RC files we parse, not just the default RC
	files.

	* gtk/gtkrc.c (gtk_rc_parse_default_files): Remove
	support for charset specific RC files.

2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645
Sat Feb  2 20:16:04 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkmenushell.c (_gtk_menu_shell_select_first): 
	Non-exported _gtk_menu_select_first() function that
	selects the first item of the menu in a standard
	way. (Skipping tearoffs.)

	* gtk/gtkmenushell.c gtk/gtkentry.c gtk/gtktextview.c
	gtkmenuitem.c: Use _gtk_menu_shell_select_first().

	* gtk/gtkmenuitem.c (gtk_real_menu_item_select): Remember
	if we are starting the timeout from a keypress so
	we can set menushell->ignore_enter properly.

	* gtk/gtknotebook.c (focus_child_in): Return something
	meaningful if there are no children.

	* gtk/gtkmenu.c (gtk_menu_key_press): Fix precendence
	problem.

2646 2647 2648 2649 2650
Sat Feb  2 19:15:42 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkmenu.c (gtk_menu_popup): Fix some bugs in
	the determination of xgrab_shell.

2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675
Sat Feb  2 17:43:00 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkentry.c (gtk_entry_grab_focus): Add a GtkSetting
	(gtk-entry-select-on-focus) controlling whether the
	contents of an entry are selected on focus in.

	* gtk/gtkmenu.c (gtk_menu_key_press): Add a GtkSetting
	(gtk-can-change-accels) controlling whether accelerators can be
	changed on the fly or not. (#51902)

	* gtk/gtkmenu.c (gtk_menu_key_press): Allow unmodified
	accelerators, now that accelerator changing can be turned
	off for those who won't expect it. (#61285)

	* gtk/gtkaccelgroup.c (gtk_accelerator_valid): Allow 
	Backspace/Delete/KP_Delete as valid accelerators.

	* gtk/gtkmenu.c (gtk_menu_key_press): Allow setting of
	Delete/Backspace as accelerators by making them toggle
	the menu item between empty and the pressed key.
	(#58605)

	* tests/testgtkrc: Remove the objectionably short cursor blink
	time setting.

2676 2677 2678 2679 2680 2681 2682 2683 2684 2685
Sat Feb  2 16:43:31 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkmenu.c (gtk_menu_popup): To get around the fact
	that we may have a owner_events = FALSE grab in effect
	when we pop up a window, make a temporary grab on a
	different window, then grab on the real window. Fixes
	a problem where if a context menu popped up under the 
	cursor, the first item would be stuck unselected.
	(#59812, reported by Arnaud Charlet.)

2686 2687 2688 2689 2690
2002-02-02  Peter Williams  <peterw@ximian.com>

	* gtk/Makefile.am (install-data-local): Install gtkrc.default
	from $(srcdir) for when $(builddir) is different.