ChangeLog.pre-2-4 892 KB
Newer Older
Darin Adler's avatar
Darin Adler committed
1 2 3 4 5
2002-02-08  Darin Adler  <darin@bentspoon.com>

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

6 7 8 9 10
Fri Feb  8 14:30:14 2002  Owen Taylor  <otaylor@redhat.com>

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

11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
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.

34 35 36 37 38 39
2002-02-08  Sven Neumann  <sven@gimp.org>

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

40 41 42 43 44 45
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.

46 47 48 49 50
2002-02-08  Laszlo Peter  <laca@ireland.sun.com>

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

51 52 53 54 55 56 57 58
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.

59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80
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.

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

93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110
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

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

117 118 119 120 121 122 123 124 125 126 127
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.
	
128 129 130 131 132 133 134 135 136 137 138
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
139 140 141 142 143
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
144 145 146 147 148 149 150 151 152 153 154 155 156 157
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

158 159 160 161 162 163 164
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

165 166 167 168 169 170 171
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

172 173 174 175 176
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 :)

177 178 179 180 181 182 183 184 185 186 187
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)

188 189 190 191 192 193
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)

194 195 196 197
2002-02-05  Matthias Clasen  <matthiasc@poet.de>

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

198 199 200 201
2002-02-05  Federico Mena Quintero  <federico@ximian.com>

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

202 203 204 205 206 207
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.

208 209 210 211 212
2002-02-04 Padraig O'Briain <padraig.obriain@sun.com>

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

213 214 215 216 217 218 219
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)

220 221 222 223 224
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)

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

232 233 234 235 236
2002-02-03  Anders Carlsson  <expander-master@gtk.org>

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

237 238 239 240 241 242 243 244 245 246 247 248 249
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.

250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269
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.

270 271 272 273 274
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.

275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299
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.

300 301 302 303 304 305 306 307 308 309
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.)

310 311 312 313 314
2002-02-02  Peter Williams  <peterw@ximian.com>

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

315 316 317 318
Sat Feb  2 19:00:39 2002  Kristian Rietveld  <kris@gtk.org>

	* gtk/Makefile.am: remove TESTGTK_RCFILE define

319 320 321 322 323 324 325 326 327 328 329
Sat Feb  2 11:37:21 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkmenu.c (gtk_menu_popup): Remove the 
	"select first item if popped up from keypress" hack --
	was causing more problems than it was worth 
	(#53191, #68483)

	* gtk/gtktextview.c (popup_targets_received): 
	 gtk/gtkentry.c (popup_targets_received): If activated
	from keyboard, select first item of popup menu.

330 331 332 333 334 335 336 337 338
Sat Feb  2 18:07:51 2002  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeview.c (gtk_tree_view_size_allocate): set upper member
	of vadjustment correct, so the vscrollbars of lists smaller than
	1 page are somewhat saner (#66905)

	* gtk/gtkliststore.c (gtk_list_store_remove_silently): do not
	increment the stamp, liststore is a model with persisting iters

339 340 341 342 343 344
Fri Feb  1 23:54:00 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkrc.[ch] (gtk_rc_parse_engine):	Support 
	engine "" {} to mean override to the default 
	engine. (#70205)

345 346 347 348 349 350 351 352 353 354 355
Fri Feb  1 23:25:33 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtktooltips.c (gtk_tooltips_init): Parse the
	RC string here when the first object is created
	rather than in the class_init to not break doc 
	building. (#70341, Havoc Pennington.)

	* gtk/gtkrc.c (parse_include_file): Use the directories
	for the currently parsed files as the starting point
	to look for include files. (#59975)

356 357 358 359 360
Fri Feb  1 20:21:56 2002  Manish Singh  <yosh@gimp.org>

	* gtk/gtkinputdialog.c: use gtk_label_new_with_mnemonic for labels
	that actually have mnemonics

Owen Taylor's avatar
Owen Taylor committed
361 362 363 364 365 366 367 368 369
Fri Feb  1 19:57:59 2002  Owen Taylor  <otaylor@redhat.com>

	* configure.in: Fix use of ! in shell.

	* gtk/gtktooltips.c (gtk_tooltips_class_init) gtkrc.default: 
	Move the setting of default tooltips colors to gtktooltips.c
	from gtkrc.default. (Use default priority so themes will
	override.) (#58542)

370 371 372 373 374 375 376 377 378
Fri Feb  1 17:48:51 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkrc.c (gtk_rc_get_style): Fix ordering of
	priorities so that priorities take precendence over
	the ordering by type. (#70205)

	* test/testgtkrc tests/testgtk.c (create_rc_file): Add 
	some labels to test priorities in testgtkrc.

379 380 381 382 383 384
Fri Feb  1 00:37:49 2002  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down): use
	y coordinate relative to the tree and not the treeview window
	(fixes the PgDn/PgUp brokenness)

385 386 387 388 389 390
Fri Feb  1 23:40:31 2002  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeview.c (gtk_tree_view_button_press): adjust
	cell_area and background_area for possible treeview scroll
	(fixes #70283, #70065)

391 392 393
Fri Feb  1 22:20:13 2002  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeview.c (gtk_tree_view_size_allocate): use
394
	height - page_size not height - allocation->height (fixes #66269)
395

396 397 398 399 400
Fri Feb  1 15:22:23 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkimage.c (gtk_image_class_init): Fix typo
	in property description. (Christian Rose.)

401 402 403 404 405 406 407
Fri Feb  1 14:50:36 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkrc.c (gtk_rc_parse_string): Handle reparsing
	any strings if the theme changes. (#69465)

	* tests/testgtk.c: Add a test for gtk_rc_parse_string().

408 409 410 411 412
Fri Feb  1 20:50:29 2002  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeview.c (gtk_tree_view_dy_to_top_row): set tree to
	NULL if tree_view->priv->tree is NULL (#70152, patch by John Harper).

413 414 415 416 417 418
Fri Feb  1 12:51:20 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtknotebook.c (focus_child_in): Catch the
	cur_page == NULL (no children) case. (#70287,
	Paolo Maggi.)

419 420 421 422 423
Fri Feb  1 12:12:12 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkfilesel.c (attempt_file_completion): 
	s/directory/folder/ in all labels and messages.

424 425 426 427 428 429 430
Fri Feb  1 08:57:38 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkmain.c (gtk_exit_func): Remove this useless
	atexit handler. (existance pointed out by Stefan Kost)

	* gtk/gtkmain.c (gtk_init_check): Warning fixes.

431 432 433 434 435
Thu Jan 31 18:46:10 2002  Jonathan Blandford  <jrb@redhat.com>

	* gtk/gtktreemodel.c (gtk_tree_row_reference_free): unref the
	model after the last use, not before.

436 437 438 439 440 441 442 443
Thu Jan 31 14:50:16 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkrc.default gtk/Makefile.am: Install a Default
	RC file that sets the tooltips color to yellow. (#58542)

	* gtk/gtksettings.c (gtk_settings_class_init): make 
	the default theme "Default", not NULL.

Owen Taylor's avatar
Owen Taylor committed
444 445 446 447 448 449 450 451 452 453 454
Thu Jan 31 11:33:52 2002  Owen Taylor  <otaylor@redhat.com>

	* gdk/x11/gdkproperty-x11.c (insert_atom_pair): Fix 
	another missing static.

	* gtk/gtkimmodule.c (n_loaded_contexts): And another.

	* gdk/x11/Makefile.am gdk/x11/gxid_lib.c: Don't
	build gxid sources at all except in the vanishingly
	rare case of --with-xinput=xfree.

Mark McLoughlin's avatar
Mark McLoughlin committed
455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473
2002-01-31  Mark McLoughlin  <mark@skynet.ie>

	* gdk/gdkimage.c: (scratch_image_info_for_depth): make static.

	* gdk/x11/gdkimage-x11.c: (get_full_image): ditto.

	* gdk/x11/gxid_lib.[ch]: (_gxid_claim_device), (_gxid_release_device):
	renamed from gxid_(claim|release)_device.

	* gdk/x11/gdkinput-gxi.c: (_gdk_input_enable_window),
	(_gdk_input_disable_window): upd for gxid change.

	* gtk/gtkimage.c: (animation_timeout): make static.

	* gtk/gtkstyle.c: (draw_thin_shadow), (draw_spin_entry_shadow): make
	static.

	* gtk/gtktextutil.c: (bidi_menu_entries): make static.

474 475 476 477 478 479 480 481 482
Thu Jan 31 10:21:05 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkplug.c (gtk_plug_focus): Handle the case where
	bin->child is NULL. (#70153, Padraig O'Briain)

	* gtk/gtktextutil.c (_gtk_text_util_append_special_char_menuitems): 
	Actually call gettext() on the labels; previously they
	were marked with N_() but we never called gettext().

483 484 485 486 487 488 489
Wed Jan 30 20:15:49 2002  Jonathan Blandford  <jrb@redhat.com>

	* gtk/gtktreestore.c (gtk_tree_store_set_valist): save last minute
	changes before committing.

	* gtk/gtkliststore.c (gtk_list_store_set_valist): ditto

490 491 492 493 494 495 496 497 498 499
Wed Jan 30 18:46:14 2002  Jonathan Blandford  <jrb@redhat.com>

	* gtk/gtkliststore.c (gtk_list_store_set_valist): only emit the
	signal if an interesting column changes.

	* gtk/gtktreestore.c: ditto.

	* gtk/gtktreeview.c (gtk_tree_view_set_cursor): change behavior so
	that it no longer grabs 

Manish Singh's avatar
Manish Singh committed
500 501 502 503 504 505 506 507
2002-01-30  Manish Singh  <yosh@gimp.org>

	* gtk/gtkhandlebox.c (gtk_handle_box_destroy): remove unused
	variable.

	* gtk/gtkwindow.c (gtk_window_get_icon): function returns a value,
	so return NULL with g_return_val_if_fail instead of g_return_if_fail.

508 509 510
2002-01-30  Matthias Clasen  <matthiasc@poet.de>

	* gtk/*.c: Remove excess g_return_if_fail calls from static
511
	and virtual functions.  (#57615)
512
	
Anders Carlsson's avatar
Anders Carlsson committed
513 514 515 516
2002-01-30  Anders Carlsson  <andersca@gnu.org>

	* gtk/gtkstyle.c (gtk_default_render_icon): Allow a -1 icon size.

517 518 519 520 521
Wed Jan 30 20:29:01 2002  Tim Janik  <timj@gtk.org>

	* gtk/gtkscale.c (gtk_scale_set_digits): fix revrted bug fix.
	(use a define for max digits).

522 523 524 525 526 527 528 529 530 531 532 533
Wed Jan 30 13:55:59 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkwindow.c (gtk_window_show): Try to make
	sure that we have some focused widget on map. (#50339)

	* gtk/gtkdialog.c (gtk_dialog_map): Handling picking
	a focus widget here differently so that if a
	response button gets picked, it's the default one.

	* tests/testgtk.c (make_message_dialog): Set the 
	default response for the dialogs.

Owen Taylor's avatar
1.3.13  
Owen Taylor committed
534 535
Tue Jan 29 22:52:36 2002  Owen Taylor  <otaylor@redhat.com>

536
	* Released 1.3.13
Owen Taylor's avatar
1.3.13  
Owen Taylor committed
537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552

	* configure.in: Micro version 13, interface, binary
	age 0. Require GLIB-1.3.13, Pango 0.24.

	* docs/Makefile.am (EXTRA_DIST): Add widget_geometry.txt,
	sizing-test.txt, tree-column-sizing.txt

	* docs/Makefile.am (EXTRA_DIST): Don't distribute
	Changes-1.2.txt, Changes-2.0.txt, README.linux-fb,
	since they are no longer canonical.

	* gtk/gtk.def: Convert spaces to tabs in front of
	gtk_widget_set_accel_path in case it matters.

	* NEWS: Updated for 1.3.13.

553 554 555 556 557 558 559
Tue Jan 29 22:31:07 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkwidget.[ch] gtkmenuitem.c gtkitemfactory.c: Export 
	gtk_widget_set_accel_path().

	* gtk/gtk.def: Add gtk_widget_set_accel_path.

560 561 562 563 564 565 566 567 568 569 570 571 572
Tue Jan 29 21:50:28 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkaccelmap.[ch] gtk/gtkbindings.[ch] gtk/gtkwidget.[ch]:
	Consistently use GdkModifierType. (#66950, Mark Patton)

	* gtk/gtkimagemenuitem.c (gtk_image_menu_item_new_from_stock):
	For consistency with gtk_button_new_from_stock(), fall back
	to gtk_image_menu_item_new_with_mnemnonic(). (#65944,
	Havoc Pennington)
	
	* gtk/gtkitemfactory.[ch] (gtk_item_factory_path_from_widget): 
	Make G_CONST_RETURN. (#68527, Matt Wilson)

573 574 575 576 577 578
Tue Jan 29 20:56:13 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtk[vh]scale.c (gtk_[vh]scale_new_with_range): Document
	that the end points are included in the range. (#69783,
	Jeffrey Baker)

579 580 581 582 583 584 585 586
Tue Jan 29 20:38:04 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkscale.[ch]: Revert the last changes to make the
	number of digits only effect drawing, instead, don't
	round unless we are in the 'draw_value' mode -- this
	is the behavior of GTK+-1.2, and keeps the behavior that
	if the user sees a displayed value, it is the correct value.

587 588 589 590 591 592 593 594 595 596 597 598 599 600
Tue Jan 29 19:51:05 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkenums.h: Deprecate GtkPreviewType,
	GtkSignalRunType, GtkSideType, GtkSubmenuPlacement, GtkSubmenuDirection
	(#68183, Matthias Clasen)

	* gtk/gtkmenuitem.h: Remove _gtk_menu_item_set_placement() from
	the public header to avoid having to use GtkSubmenuPlacement.

	* gtk/{gtkmenuitem.c,gtkmenubar.c,gtkmenushell.c}: #define
	GTK_MENU_INTERNALS to preserve access to GtkSubmenu*.

	* gdk/gdki18n.h: Deprecate contents. (Darin Adler.)

601 602 603 604 605 606
Tue Jan 29 19:32:47 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtktextview.c (gtk_text_view_get/set_property): 
	Fix wrong usage of g_value_set/get_object for PROP_TABS
	and memory leak in getter for PROP_TABS. (Jeff Franks)

607 608 609 610 611 612 613 614 615 616 617 618 619
Tue Jan 29 19:04:41 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkstyle.c (gtk_style_render_icon): Document that
	a size of (GtkIconSize)-1 means don't scale.

	* gtk/gtkstyle.c (gtk_default_render_icon): Obey the
	-1 convention.

	* gtk/gtkimage.c (gtk_image_expose): Pass in -1 to
	gtk_style_render_icon() to make sure that we catch it
	obviously if the style's render function tries to
	scale.

620 621 622 623 624 625 626 627 628 629 630 631 632
Tue Jan 29 18:50:59 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkimage.c (gtk_image_expose): Optimize exposes of
	partial insensitive images.

2002-01-24  Havoc Pennington  <hp@redhat.com>

	* gtk/gtkimage.c (gtk_image_expose): create insensitive version of
	the image regardless of storage type, #63305

	* demos/gtk-demo/images.c: add toggle button to demonstrate that
	GtkImage makes its contents insensitive

633 634 635 636 637 638 639 640 641 642
Tue Jan 29 17:40:02 2002  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdkpixbuf-render.c (gdk_pixbuf_render_to_drawable):
	Call _gdk_draw_pixbuf(), thus enabling using this function
	for pixbufs with alpha. (#68801)

	* gdk/gdkdraw.c (gdk_drawable_real_draw_pixbuf): Move
	implementation of gdk_pixbuf_render_to_drawable()
	to here.

643 644 645 646 647 648 649 650
Tue Jan 29 17:16:17 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtklayout.c: Patch from Jacob Berkman to fix problem
	when the height/width of a layout was set before the
	adjustments were added. (#66294)

	* gtk/gtktreeview.c: Warning cleanups.

651 652 653 654 655 656 657 658
Tue Jan 29 16:35:04 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkhandlebox.c (gtk_handle_box_motion): Small
	fix to size of torn off window (#60271, Detlef Reichl)

	* gtk/Makefile.am: Don't install gtkhsv.h. (Pointed out
	by Ross Burton)

659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680
Tue Jan 29 18:50:46 2002  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down): free
	cursor_path after usage
	(gtk_tree_view_real_start_interactive_search): use new g_signal
	and g_object calls
	(gtk_tree_view_search_dialog_destroy): use g_object calls and free
	selected_iter if set
	(gtk_tree_view_search_position_func): rework so it will never ever
	appear offscreen (#68492)
	(gtk_tree_view_search_move): use new g_object calls
	(gtk_tree_view_search_init): free selected_iter if set, use new
	g_object calls
	(gtk_tree_view_leave_notify): don't destroy interactive search
	dialog

Tue Jan 29 23:07:03 2002  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeview.c (gtk_tree_view_real_start_interactive_search):
	send focus in event
	(gtk_tree_view_search_dialog_destroy): send focus out event (#66466)

681 682 683 684 685
2002-01-29  Anders Carlsson  <andersca@gnu.org>

	* gtk/gtkfontsel.c (gtk_font_selection_select_size): Show correct
	size in the size entry.

686 687 688 689 690 691 692 693 694 695 696
Tue Jan 29 16:11:55 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkfontsel.c (gtk_font_selection_show_available_sizes): Use
	gtk_tree_view_set_cursor() instead of gtk_tree_selection_select_iter().

	* gtk/gtkfontsel.c (gtk_font_selection_init): Add mnemonic to
	preview field. (#52433, patch from Anders Carlsson)
	
	* gtk/gtkfontsel.c (gtk_font_selection_dialog_init): Remove the 
	dialog separator. (#69558, Alex Larsson, patch from Anders Carlsson)

697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714
Tue Jan 29 15:24:59 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkfontsel.[ch]: Switch over to GtkTreeView from
	GtkCList. Remove the entries above the font/face lists 
	since they were a little confusing. (Not sure about this 
	change, so the code is still there the entries are
	just hidden.) (#68890)

	* gtk/gtkfilesel.c: Switch over to GtkTreeView from
	GtkCList. Add mnemonics for fileops. Allow Control/Shift
	Tab to focus out.

	* gtk/gtkfilesel.c: Make fileop dialogs transient-for
	the fileselector. (#69336, patch from Melvin Hadasht)

	* gtk/gtkgamma.c (button_clicked_callback): Fix handling
	of gamma dialog a bit. (#69336, Matthias Clasen.)

715 716 717 718 719 720
Tue Jan 29 14:56:28 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtksocket.c (toplevel_focus_out_handler): Return boolean
	(and FALSE from focus_in / focus_out handlers. (#69528,
	Padraig O'Briain)

721 722 723
Tue Jan 29 14:47:54 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkmain.c (gtk_init_check): Remove the scary startup
724
	warning. (#69480)
725

726 727 728 729 730 731 732 733 734 735 736 737 738
Tue Jan 29 14:24:49 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkwindow.c (gtk_window_class_init): Add <Control>Tab
	bindings for "move-focus" so that Control-Tab to escape from
	something that eats Tab just works if not otherwise overriden.

	* gtk/gtkspinbutton.c (gtk_spin_button_new_with_range) 
	* gtk/gtkvscale.c (gtk_vscale_new_with_range)
	* gtk/gtkhscale.c (gtk_hscale_new_with_range): Use a page_size
	of zero for the adjustment, since at times we think that the range
	is lower to upper - page_size. A page size equally to the 
	step_increment is, in any case, not meaningful.

739 740 741 742 743 744 745 746
2002-01-29  Tor Lillqvist  <tml@iki.fi>

	* README.win32: Add comment about gtk-1-3-win32-production branch
 	currently being ahead in functionality and code cleanliness (in
 	gdk/win32). Just in case somebody looks at the code in gdk/win32
 	here and starts fixing it, when it is going to change soonish
 	anyway.

747 748 749 750 751
2002-01-29  Sven Neumann  <sven@gimp.org>

	* gtk/gtkrc.c: don't install an empty icon_set if none of the image
	files could be found in the pixmap_path (bug #69398).
	
752 753 754 755 756
2002-01-29  Sven Neumann  <sven@gimp.org>

	* gdk/x11/gdkimage-x11.c (_gdk_x11_copy_to_image): fixed a segfault
	that showed up when using the color picker.

757 758 759 760 761 762 763
Tue Jan 29 11:51:14 2002  Tim Janik  <timj@gtk.org>

	* gtk/gtkscale.[hc]: fix default value for ::digits property,
	leave as 1 as per havoc's request.
	don't apply the draw_digits value to range->round_digits,
	so we don't perform gross quantization by default.

764 765 766 767 768 769 770 771 772 773
2002-01-25  Havoc Pennington  <hp@redhat.com>

	* gtk/gtktextbtree.c (_gtk_text_btree_delete): fix assertion
	failure by creating the line data, but not validating it at this
	stage. Also, remove old code related to the "bogus newline" mess
	that removed all tags from the last char in the buffer if you
	tried to delete it.
	(_gtk_text_line_data_new): put this here and prepend underscore,
	remove from gtktextlayout.c

774 775 776 777 778 779
Mon Jan 28 19:57:39 2002  Owen Taylor  <otaylor@redhat.com>

	* modules/input/imhangul.c modules/input/imhangul-defs.h
	po/POTFILES.in. Add port of Emacs korean-hangul input
	method from Yusuke Tabata (#67665)

780 781
Mon Jan 28 18:25:10 2002  Owen Taylor  <otaylor@redhat.com>

Owen Taylor's avatar
Owen Taylor committed
782 783
	* gtk/gtkentry.c (gtk_entry_draw_frame): Paint shadow
	before focus to give theme engines a bit morea
784 785
	flexibility. (#69857)

Jonathan Blandford's avatar
Jonathan Blandford committed
786 787 788 789 790
Mon Jan 28 16:23:20 2002  Jonathan Blandford  <jrb@redhat.com>

	* gtk/gtktreeview.c (gtk_tree_view_dy_to_top_row): no longer
	g_assert.

791 792 793 794 795 796
2002-01-28  Jon Trowbridge  <trow@gnu.org>

	* gtk/gtktreeview.c (gtk_tree_view_set_model): When setting the
	GtkTreeView's model, set prelight_node, prelight_tree,
	button_pressed_node and button_pressed_tree to NULL. (#69603)

797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820
2002-01-28 Bill Haneman <bill.haneman@sun.com>

	* gtk/gtkstyle.c:
	Make sure that the default expanders are drawn with
	an outline thickness appropriate to the size of the
	expanders (RINT expander_size/7).
	Added static gtk_style_draw_polygon_with_gc(), to
	reduce code duplication.

	* gtk/gtktreeview.c: (gtk_tree_view_bin_expose):
	Use focus_line_thickness when drawing focus lines.

	* gtk/gtktreeviewcolumn.c:(gtk_tree_view_column_cell_get_size):
	Adjust requested width to include focus line thickness.
	(gtk_tree_view_column_cell_render_or_focus):
	Calculate a focus line rectangle which gets larger as the focus
	line thickness increases, to avoid overwriting cell content.
	Render left-aligned content at x+focus_line_width.
	(gtk_tree_view_column_cell_draw_focus):
	Don't draw a focus line around an editable text cell, since the
	text caret already indicates keyboard focus.
	Pass a GtkStateType appropriate to the focussed cell's state
	to gtk_paint_focus.

821 822 823 824 825
Mon Jan 28 14:44:40 2002  Jonathan Blandford  <jrb@redhat.com>

	* gtk/gtktreeview.c (gtk_tree_view_real_select_cursor_row): Only
	activate/edit the row if shift is not pressed, #69248

Anders Carlsson's avatar
Anders Carlsson committed
826 827 828 829
2002-01-28  Anders Carlsson  <andersca@gnu.org>

	* gtk/gtkcurve.c (gtk_curve_set_vector): Fix build.

830 831 832 833 834 835 836 837 838 839
2002-01-28  Matthias Clasen  <matthiasc@poet.de>

	* gtk/{gtkalignment.c,gtkaspectframe.c,gtkbutton.c,
        gtkcellrenderer.c,gtkcellrendererpixbuf.c,gtkcombo.c,
        gtkcontainer.c,gtkcurve.c,gtkframe.c,gtklabel.c,
        gtkmessagedialog.c,gtknotebook.c,gtkspinbutton.c,gtktable.c,
        gtktext.c,gtktextview.c,gtktreeview.c,gtktreeviewcolumn.c,
        gtkviewport.c,gtkwidget.c}: General property notification 
	cleanup. (#69066)

840 841 842 843 844
2002-01-28  Anders Carlsson  <andersca@gnu.org>

	* gtk/gtkaccelgroup.c (gtk_accel_groups_activate): & with the
	default mod mask so accels work when numlock is on.

845
Sun Jan 27 23:23:23 2002  Kristian Rietveld  <kris@gtk.org>
846 847 848 849

	* gtk/gtkrbtree.[ch]: add _gtk_rbtree_mark_invalid (my previous
	commit already needed this ...)

850
Sun Jan 27 22:13:02 2002  Kristian Rietveld  <kris@gtk.org>
Kristian Rietveld's avatar
Kristian Rietveld committed
851 852 853 854 855 856 857 858 859 860 861

	Fix for bug #69586

	* gtk/gtktreeprivate.h: get rid of tab_offset, introduce
	expander_size

	* gtk/gtktreeview.c: get rid of ->priv->tab_offset, introduce
	expander_size caching (from style), fix CELL_HEIGHT macro,
	use MAX ("RBNODE_HEIGHT", expander_size) (differs per case) for
	row height calculation, added style_set callback

Anders Carlsson's avatar
Anders Carlsson committed
862 863
2002-01-27  Anders Carlsson  <andersca@gnu.org>

Anders Carlsson's avatar
Anders Carlsson committed
864 865 866
	* gtk/gtklabel.c (gtk_label_create_window): Set the cursor to
	GDK_XTERM.

Anders Carlsson's avatar
Anders Carlsson committed
867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882
	* gtk/gtktextview.h (struct _GtkTextView): add mouse_cursor_obscured.

	* gtk/gtkentry.h (struct _GtkEntry): Add mouse_cursor_obscured.

	* gtk/gtktextview.c (set_invisible_cursor): New function.
	(gtk_text_view_obscure_mouse_cursor): Likewise.
	(gtk_text_view_key_press_event): Call obscure_cursor if text 
	has been inserted.
	(gtk_text_view_motion_event): Restore the mouse cursor.

	* gtk/gtkentry.c (gtk_entry_realize): Add GDK_POINTER_MOTION_MASK.
	(set_invisible_cursor): New function.
	(gtk_entry_obscure_mouse_cursor): Likewise.
	(gtk_entry_key_press): call obscure_cursor if text has been inserted.
	(gtk_entry_motion_notify): Restore the mouse cursor.

Sven Neumann's avatar
Sven Neumann committed
883 884 885 886
2002-01-27  Sven Neumann  <sven@gimp.org>

	* gtk/gtkstyle.c (sanitize_size): removed unused return value.

887 888 889 890 891
Sat Jan 26 19:27:23 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtksocket.c (gtk_socket_grab_notify): Don't
	send MODALITY_ON/OFF if socket->same_app (More fixes for #69735)

892 893 894 895 896 897 898 899 900
Sat Jan 26 19:04:37 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkmain.c (check_is_grabbed): Return FALSE not true
	in the grab_widget == NULL case. (Bug reported by 
	Padraig O'Briain, #69735)

	* gtk/gtkplug.c (handle_modality_on): Realize the modality
	window so gtk_widget_event() doesn't complain :-((((.

901 902 903 904 905 906 907 908 909 910 911
2002-01-25  Federico Mena Quintero  <federico@ximian.com>

	Merge from gdk-pixbuf stable.

	* gdk/gdkpixbuf-drawable.c (rgb565msb): Fixed the endianness
	conversion --- swap the individual 16 bit values instead of taking
	everying as a 32 bit value.
	(rgb565lsb): Likewise.
	(rgb555lsb): Likewise.
	(rgb555msb): Likewise.

912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927
2002-01-25  Alex Larsson  <alexl@redhat.com>

	* gdk/linux-fb/gdkdrawable-fb2.c (gdk_drawable_impl_fb_class_init):
	Implement copy_to_image instead of get_image
	
	* gdk/linux-fb/gdkimage-fb.c:
	Implement _gdk_image_new_for_depth, _gdk_windowing_get_bits_for_depth and
	_gdk_fb_copy_to_image.
	Based in part on patch from Mathieu Lacage <mathieu_lacage@realmagic.fr>

	* gdk/linux-fb/gdkmain-fb.c:
	Make ENABLE_FB_MANAGER region larger.

	* gdk/linux-fb/gdkprivate-fb.h:
	Change _gdk_fb_get_image to _gdk_fb_copy_to_image.

928 929 930 931 932
2002-01-25  Sven Neumann  <sven@gimp.org>

	* gtk/gtkwindow.c (gtk_window_get_size): changed the comment so
	that gtk-doc doesn't get confused.

933 934 935 936 937 938 939 940 941 942 943 944 945
Fri Jan 25 14:03:36 2002  Tim Janik  <timj@gtk.org>

	* gtk/gtkspinbutton.c (gtk_spin_button_draw_arrow): assert
	that the passed in arrow is always _UP or _DOWN, this catches
	false invocations which lead to drawing artefacts.
	(start_spinning): likewise, i.e. sanity check the passed in arrow.
	(gtk_spin_button_button_release): fix arrow redrawing.
	(gtk_spin_button_button_press): must set click_child for
	button3 even if we don't take spinning action right away.

	* gtk/gtkspinbutton.h (struct _GtkSpinButton): document
	valid values for click_child.

946 947 948 949 950 951 952
Thu Jan 24 23:03:24 2002  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeview.c (gtk_tree_view_get_path_at_pos): update docs,
	return current FALSE if x is smaller than the current visible area,
	not than the requested area, don't correct y coordinate,
	TREE_WINDOW_Y_TO_RBTREE_Y will do that. Fixes #67477.

953 954 955 956 957 958 959
Thu Jan 24 15:41:08 2002  Jonathan Blandford  <jrb@redhat.com>

	* gtk/gtktreeview.c
	 (gtk_tree_view_motion_draw_column_motion_arrow): fix column
	 reordering fully.
	 (gtk_tree_view_size_allocate): fix evil bug.

960 961 962 963 964 965
Thu Jan 24 11:53:19 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtktreeview.c (gtk_tree_view_destroy): Don't clear
	the model until we clean up all the other objects
	that might refer to the object.

Mark McLoughlin's avatar
Mark McLoughlin committed
966 967 968 969
2002-01-24  Mark McLoughlin  <mark@skynet.ie>

	* gtk/gtkaccessible.h: include gtk/gtkwidget.h

970 971 972 973 974 975
Wed Jan 23 20:28:59 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtknotebook.c (gtk_notebook_draw_arrow): 
	Use insensitive state for insensitive arrows, not
	just an "etched state". (#67172, Adrian Custer)

976 977 978 979 980
2002-01-23  Manish Singh  <yosh@gimp.org>

	* gtk/gtkentry.c (gtk_entry_set_text): use a variable that's actually
	been declared.

981 982 983 984 985 986
2002-01-23  Damon Chaplin  <damon@ximian.com>

	* configure.in (gtk_doc_min_version): set minimum gtk-doc version to
	0.9, since we need to use the new --type-init-func argument for
	gtkdoc-scangobj.

987 988
2002-01-23  Matthias Clasen  <matthiasc@poet.de>

989 990 991
	* gtk/gtkentry.c, gtk/gtkwidget.c: Remove excessive
	g_return_if_fail() calls. (#57615)

992 993 994
	* gtk/gtkitemfactory.c (gtk_item_factory_delete_entries): Make
	it work for paths with underline accelerators. (#69247)

995 996 997 998 999
Wed Jan 23 15:12:16 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkspinbutton.c (gtk_spin_button_state_changed): 
	Stop spinning if widget becomes insensitive. (#56248)

1000 1001
Wed Jan 23 14:44:12 2002  Owen Taylor  <otaylor@redhat.com>

1002
	* gtk/gtkspinbutton.c (EPSILON): Decrease value since
1003 1004
	we now use doubles.

1005 1006 1007 1008 1009
Tue Jan 22 16:58:37 2002  Jonathan Blandford  <jrb@redhat.com>

	* gtk/gtktreeview.c (gtk_tree_view_size_allocate): Fix sizing bug
	I introduced accidentally, #69358

1010 1011 1012 1013 1014
2002-01-22 Padraig O'Briain <padraig.obriain@sun.com>

	* gtk/gtktreestore.c (gtk_tree_store_iter_children):
	Update last change to prevent core dump

1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025
Mon Jan 21 01:21:54 2002  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreestore.c: add some more stamp checks (pointed out
	by Anders Carlsson)

	* gtk/gtktreemodelsort.c (gtk_tree_model_sort_insert_value): don't
	assume _row_changed will insert sort (because _row_changed doesn't
	need to follow this signal), so apply insert sort here
	(gtk_tree_model_sort_level_find_insert): header doesn't need to be
	set here, so use a return instead of g_return_val_if_fail.

1026 1027 1028 1029 1030
Mon Jan 21 18:28:17 2002  Jonathan Blandford  <jrb@redhat.com>

	* gtk/gtktreeview.c (gtk_tree_view_adjustment_changed): Update
	top_row.  Remove extraneous print statements.

1031 1032 1033 1034 1035 1036 1037 1038 1039
2002-01-21  Matthias Clasen  <matthiasc@poet.de>

	* gtk/gtkitemfactory.c (gtk_item_factory_popup, 
	gtk_item_factory_popup_with_data): Document allowed values
	for ifactory.

	* gtk/gtkitemfactory.c (gtk_item_factory_delete_entry): Make 
	it work for paths with underline accelerators.

Jonathan Blandford's avatar
Jonathan Blandford committed
1040 1041 1042 1043 1044
Fri Jan 18 16:31:21 2002  Jonathan Blandford  <jrb@redhat.com>

	* gtk/gtktreeview.c (gtk_tree_view_size_allocate): only resize the
	window.

1045 1046 1047 1048 1049 1050 1051
Mon Jan 21 11:56:31 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkentry.c (gtk_entry_real_activate): Trap the 
	case where there is no default widget and the entry
	is the focus widget, since this also causes infinite
	recursion. (#69158)

1052 1053 1054 1055 1056 1057
Mon Jan 21 11:46:39 2002  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdk.c (gdk_init_check): Set the fallback program class here,
	rather than lazilygdk_get_program_class(), since we don't want
	-name to override it. (#69123, Ryan Lovett)

1058 1059 1060 1061 1062 1063 1064 1065 1066 1067
Mon Jan 21 10:29:45 2002  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdk.c: Fix wrong types for command line arguments 
	(#69124, Ryan Lovett)

	* gdk/gdk.c (gdk_arg_context_parse): Fix bug in parsing
	parsing '--arg VALUE'.

	* gdk/gdk.c: Remove unused variable gdk_error_trap_free_list.

1068 1069 1070 1071 1072
2002-01-21  Havoc Pennington  <hp@pobox.com>

	* gdk/gdkwindow.c (gdk_window_add_filter): mention that window 
	arg can be NULL

1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085
Sat Jan 19 20:49:41 2002  Kristian Rietveld  <kris@gtk.org>

	* demos/gtk-demo/editable_cells.c: fix a load of open line ends
	(cell_edited): modified patch from German Poo Caaman~o
	to fix up old_text declaration and free the memory
	(do_editable_cells): unref the model after creating the treeview

	* demos/gtk-demo/list_store.c: fix a load of open line ends,
	(add_columns): set the sort column id, so we can sort

	* demos/gtk-demo/tree_store.c: fix a load of open line ends,
	(do_tree_store): unref the model after creating the treeview

1086 1087 1088 1089 1090 1091 1092 1093
2002-01-19  Havoc Pennington  <hp@pobox.com>

	* gtk/gtkwindow.c: link to new X11 section in a lot of places when
	mentioning the window manager.

	* gtk/gtkwidget.c (gtk_widget_hide_on_delete): don't mention
	window manager since we're portable.

1094 1095 1096 1097 1098 1099 1100 1101
Sat Jan 19 08:47:41 2002  Jeff Garzik  <jgarzik@mandrakesoft.com>

	* gdk/linux-fb/gdkproperty-fb.c (gdk_atom_name):
	Wrap case values in GPOINTER_TO_UINT().  Fixes build with gcc 3.x.

	* gtk/gtkmain.c:  Include sys/types.h if G_OS_UNIX.
	Fixes build with gcc 3.x and -ansi.

1102 1103 1104 1105 1106 1107
Fri Jan 18 23:01:37 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkrc.c (gtk_rc_parse_style): Fix problems when
	an engine declaration occurs in a reopened style, and
	g_free() of objects when errors occur.

1108 1109 1110 1111 1112 1113 1114 1115
2002-01-18  Matthias Clasen  <matthiasc@poet.de>

	* gtk/gtkitemfactory.c (gtk_item_factory_get_widget_by_action):
	Clarify documentation. (#69026)

	* gtk/gtkprogressbar.c (gtk_progress_bar_size_request): Fix 
	missing initialization of adjustment. (#69025)

1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126
2002-01-17  Raja R Harinath  <harinath@cs.umn.edu>

	Simplify Makefiles. 
	<URL: http://bugzilla.gnome.org/show_bug.cgi?id=68969>
	* gdk/Makefile.am: Remove use of automake conditionals to pick
	library to build.
	* gtk/Makefile.am: Likewise.
	
	* gdk/Makefile.am (LDFLAGS): Use $(libdir), not @prefix@/lib.
	* gtk/Makefile.am (LDFLAGS): Likewise.

1127 1128 1129 1130 1131 1132 1133 1134 1135 1136
Thu Jan 17 20:13:14 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtknotebook.c (gtk_notebook_redraw_tabs): Fix
	missing allocation.x/y offsets. (#68962, Jacob
	Berkman)

	* gtk/gtknotebook.c (gtk_notebook_size_allocate):
	Queue a redraw on the entire widget if we hide
	the last page or show the first. (Also #68962)
	
1137 1138 1139 1140 1141 1142 1143 1144 1145 1146
2002-01-17  Havoc Pennington  <hp@redhat.com>

	* gtk/gtktextview.c (gtk_text_view_move_cursor_internal): change
	GTK_MOVEMENT_PARAGRAPHS to go to start/end of paragraph before it
	starts to go up/down paragraphs. This makes Ctrl+Up/Ctrl+Down work
	as in the keynav spec, though it makes the interpretation of
	GTK_MOVEMENT_PARAGRAPHS different from the interpretation of some
	of the other GTK_MOVEMENT_ thingies, maybe, as if that enum makes
	any sense anyhow.

1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159
Thu Jan 17 16:34:55 2002  Jonathan Blandford  <jrb@redhat.com>

	* gtk/gtktreeview.c (gtk_tree_view_real_select_cursor_row): For
	some reason, I was activating a row while just selecting it.
	Reported by andersca.
	(gtk_tree_view_size_request): add a
	validate_rows_handler to give us a rough width of the widget.

	* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
	Queue a resize here just in case.  It's needed in over half the
	cases, and I don't want to do a diff to figure out exactly when
	it's needed.

1160 1161
2002-01-17  Matthias Clasen  <matthiasc@poet.de>

Matthias Clasen's avatar
Matthias Clasen committed
1162 1163
	* gtk/gtkinputdialog.c,
	gtk/gtkcolorsel.c, gtk/gtkfilesel.c, gtk/gtkfontsel.c:
1164 1165 1166 1167 1168
	Mark children as composite. (#66360)

	* gtk/gtkwidget.c (gtk_widget_push_composite_child): Explain
	composite children some more. (#66360)

1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181
2002-01-17  Havoc Pennington  <hp@redhat.com>

	* gtk/gtktextlayout.c (_gtk_text_layout_get_line_xrange): new
	function (which I then decided not to use but I think it's needed
	to fix #68963

	* gtk/gtktextview.c: add page_horizontally action signal and
	implement Ctrl+PgUp, Ctrl+PgDown based on patch from Padraig, 
	hackily modified to avoid adding GTK_MOVEMENT_ API. Part of 
	#53934

	* gtk/gtkmarshalers.list: add NONE:INT,BOOL

1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197
Thu Jan 17 17:02:38 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkwidget.c (gtk_widget_real_unrealize): Call
	gtk_selection_remove_all() here, not in destroy/
	finalize. (#66636, Sergey Vlasov)

	* gtk/gtkselection.c (gtk_selection_request): Fix
	reentrancy problem with multiple conversions.

	* gtk/gtkselection.c (gtk_selection_remove_all): 
	Don't remove incrs, we don't need the widget for
	maintain the incr.

	* gtk/gtkselection.c (struct _GtkIncrInfo): Remove
	the widget field from here, we don't need it.

1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219
Thu Jan 17 13:08:34 2002  Owen Taylor  <otaylor@redhat.com>

	* gdk/x11/gdkmain-x11.c (gdk_error_trap_push): Move
	here, and save/restore the X error handler to allow
	people using GTK+ to set the X error handler to something
	custom without disturbing the operation of GDK.

	* gdk/linux-fb/gdkmain-fb.c (gdk_error_trap_push) 
	* gdk/win32/gdkmain-win32.c (gdk_error_trap_pop): Add
	dummy implementations.

	* gdk/x11/gdkmain-x11.c gdk/x11/gdkevents-x11.c 
	gdk/x11/gdkdnd-x11.c: Use gdk_error_trap_push()/pop()
	for all error trapping.

	* gdk/x11/gdkdnd-x11.c: Remove '#if 0' code.

	* gdk/x11/gdkdnd-x11.c (gdk_window_cache_new): Fix
	problem where we would add the results anyways,
	and then add it again if no error occurred, and problem
	where we could leave _gdk_error_warnings() unset.

1220 1221 1222 1223 1224 1225 1226 1227 1228
Wed Jan 16 20:28:38 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkfilesel.c: Fix "deleting" filename by adding
	another boolean parameter to file_selection_populate() -
	whether to clear the entry. Also, never fill in the
	entry when the user clicks on something in the 
	directory list. (#6791, Reported by Jos Dehaes and many,
	many, many others.)

1229 1230 1231 1232 1233 1234 1235
2002-01-16  Havoc Pennington  <hp@redhat.com>

	* gtk/gtktextview.c (gtk_text_view_scroll_pages): update
	cursor_y_pos with clamped delta rather than theoretical delta
	(#68788). Also, if we can't page up/down further then jump 
	to top/bottom of the document.

1236 1237 1238 1239 1240 1241
Wed Jan 16 19:33:41 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkfilesel.c (gtk_file_selection_map): Refresh
	the dialog on map. (#52877, inspired by request from
	Murray Cumming)

1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263
Wed Jan 16 19:23:04 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkbindings.c (gtk_binding_entry_activate): 
	Support "optional" bindings. If a binding signal
	has a boolean return value, and returns FALSE it
	is as if it didn't exist all.

	* gtk/gtkbindings.c (binding_compose_params): Switch
	over to GValue.

	* gtk/gtknotebook.[ch]: Make the select_page() and
	change_current_page() signals only take effect when
	the focus is on the tab area so that key presses
	in children pass up to the toplevel correctly.

Wed Jan 16 12:16:37 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkoptionmenu.c (gtk_option_menu_size_request): Fix 
	calculation error in the (shouldn't happen) case where
	option_menu->height < child_requisition.height. (Patch
	from Jacob Berkman, #66969)

Matthias Clasen's avatar
Matthias Clasen committed
1264 1265 1266 1267 1268 1269 1270
2002-01-15  Matthias Clasen  <matthiasc@poet.de>

	* gtk/gtkenums.h (GtkMatchType): Deprecate. (#68183)

	* gtk/gtkscale.h (gtk_scale_value_width): Remove useless 
 	compatibility macro. (#67730) 

1271 1272 1273 1274 1275
Wed Jan 16 10:54:38 2002  Owen Taylor  <otaylor@redhat.com>

	* configure.in: Fix typo in --help output.
	(Arnaud Charlet).

Owen Taylor's avatar
Owen Taylor committed
1276 1277 1278 1279 1280 1281 1282 1283 1284
Wed Jan 16 10:18:42 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/stock-icons/Makefile.am (EXTRA_DIST): Add 
	gtkstockpixbufs.h.

	* configure.in: Make TIFF, JPEG, PNG loaders mandatory
	unless you configure with --without-libtiff, etc.
	(#54045, Brian Cameron)

1285 1286 1287 1288 1289
2002-01-16  Padraig O'Briain <padraig.obriain@sun.com>

	* gtk/gtkmenushell.c (gtk_real_menu_shell_move_current):
	Avoid unexpected warning message when navigating menu (#68517)

1290 1291 1292 1293 1294
2002-01-15  Jody Goldberg <jody@gnome.org>

	* gtk/gtklayout.c (gtk_layout_realize) : It is possible that a
	GtkLayout may have been scrolled _before_ it was realized.

1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309
Tue Jan 15 18:10:24 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkspinbutton.c (gtk_spin_button_grab_notify): Stop
	the timer on destroy, or when we are notified that we are
	shadowed by a modal dialog.

	* gtk/gtkspinbutton.c: Remove explicit gtk_grab_add()/remove() -
	not needed any more.

	* gtk/gtkmain.c (gtk_grab_notify): Fix problem where notifications
	weren't sent out for the default grab group.

	* gtk/gtkmain.c (gtk_grab_notify): Fix notification of widgets that
	were getting events because they were part of the previous grab.

1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326
Tue Jan 15 12:23:33 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtknotebook.c (gtk_notebook_mnemonic_activate_switch_page): 
	focus the activated tab, not the page. (#53612)

	* gtk/gtknotebook.c (gtk_notebook_set_focus_child): Track
	the last focus descendant of the page.

	* gtk/gtknotebook.c (gtk_notebook_real_switch_page): If the focus
	was on the previous page, move it to the last focused widget /
	first element on the new page, if possible, or if not, to the 
	notebook itself. (#68224, reported by Jonathan Blandford)

	* gtk/gtknotebook.c (focus_tabs_in): Don't focus tabs
	tabs aren't visible. (#65462, Damon Chaplin, fixed based 
	on patch from Anders Carlsson)

1327 1328 1329 1330 1331
2002-01-15            Vitaly Tishkov       <tvv@sparc.spb.su>

        * gtk/gtkstyle.c
	a misprint in documentation for gtk_style_render_icon () is fixed

1332 1333 1334 1335 1336
Mon Jan 14 23:21:47 2002  Tim Janik  <timj@gtk.org>

	* gtk/gtkmenuitem.c (gtk_menu_item_map): map event_window after
	mapping child, so we don't loose events.

1337 1338 1339 1340 1341 1342
2002-01-15  Sven Neumann  <sven@gimp.org>

	* gtk/gtkaccellabel.h
	* gtk/gtkitemfactory.c: fixed documentation by syncing the parameter
	names used in headers and code.

jacob berkman's avatar
jacob berkman committed
1343 1344 1345 1346
2002-01-14  jacob berkman  <jacob@ximian.com>

	* gtk/gtkrc.c (gtk_rc_get_im_module_path): close a comment block

1347 1348 1349 1350 1351 1352
Tue Jan 15 01:13:51 2002  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreemodelsort.c: fix a load of open line ends,
	(gtk_tree_model_sort_set_model): only free root level if it's
	!NULL

Matthias Clasen's avatar
Matthias Clasen committed
1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365
2002-01-14  Matthias Clasen  <matthiasc@poet.de>

	* gtk/gtkoldeditable.c, gtk/gtkrc.c, 
	gtk/gtkstyle.c: Documentation additions.

	* gtk/gtkmenu.c (gtk_menu_set_accel_path),
	gtk/gtkmenuitem.c (gtk_menu_item_set_accel_path), 
	gtk/gtkwidget.c (gtk_widget_add_accelerator): Typo and markup fixes.

	* gtk/gtkitemfactory.c (gtk_item_factory_add_foreign): Document.

	* gtk/gtkaccelmap.c (gtk_accel_map_add_filter): Explain intended use.

1366 1367 1368 1369 1370
Mon Jan 14 17:14:13 2002  Owen Taylor  <otaylor@redhat.com>

	* gdk/x11/gdkselection-x11.c (sanitize_utf8): Don't
	mangle sequences of consecutive \n or \r.

Jonathan Blandford's avatar
Jonathan Blandford committed
1371 1372 1373 1374 1375 1376 1377 1378
Mon Jan 14 17:42:28 2002  Jonathan Blandford  <jrb@redhat.com>

	* gtk/gtktreeview.c (gtk_tree_view_stop_editing): allow cancel to
	happen.

	* gtk/gtktreeview.c (install_presize_handler): only install the
	handler if we're realized, #68056

1379 1380 1381 1382 1383
Mon Jan 14 16:35:58 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkwindow.c (gtk_window_move_resize): Unset 
	initial_pos_set after the first configure request.

1384 1385 1386 1387 1388 1389
2002-01-13  Jody Goldberg <jody@gnome.org>

        * gtk/gtktexttag.c (get_color_arg) : set_boxed will copy the color
	  and will use a mem_chunk to do it.  Avoid an unnecessary copy, a
	  leak, and confusion.

1390 1391 1392 1393 1394 1395 1396
Sun Jan 13 23:23:22 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkwindow.c (gtk_window_compute_hints): Fix problem where
	widget->requisition was being used instead of
	gtk_widget_get_child_requisition (), causing geometry widgets
	with usizes to misbehave.

1397 1398 1399 1400
2002-01-14  Sven Neumann  <sven@gimp.org>

	* gtk/gtkrc.c: g_getenv() returns a const string.

1401 1402 1403 1404 1405
2002-01-14  Hasbullah Bin Pit  <sebol@ikhlas.com>

        * configure.in: Added ms at ALL_LINGUAS.
	* po/ms.po: Added Malay Translation.

Matthias Clasen's avatar
Matthias Clasen committed
1406 1407 1408 1409
2002-01-14  Matthias Clasen  <matthiasc@poet.de>

	* gtk/gtkitemfactory.c: Documentation.

Sven Neumann's avatar
Sven Neumann committed
1410 1411 1412 1413
2002-01-13  Sven Neumann  <sven@gimp.org>

	* gdk/gdkwindow.c: documentation cleanups.

1414 1415 1416 1417 1418 1419 1420 1421 1422
Sun Jan 13 01:15:45 2002  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreemodelsort.c: various cleanups,
	(get_child_iter_from_elt): removed,
	(gtk_tree_model_sort_elt_get_path): rewritten to be a lot cleaner
	and especially faster,
	(gtk_tree_model_convert_iter_to_child_iter): use
	gtk_tree_model_sort_elt_get_path

1423 1424 1425 1426 1427 1428
Sat Jan 12 16:57:31 2002  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeview.c (gtk_tree_view_real_start_interactive_search):
	revert Owen's change (using a strdupped string as object data), so
	the interactive search works again

Havoc Pennington's avatar
Havoc Pennington committed
1429 1430 1431 1432 1433
2002-01-11  Havoc Pennington  <hp@pobox.com>

	* gtk/gtklabel.c: put in more links to Pango markup format docs
	(gtk_label_set_justify): mention gtk_misc_set_alignment

1434 1435 1436 1437 1438 1439 1440 1441
2002-01-12  Tor Lillqvist  <tml@iki.fi>

	Fixes contributed by Archaeopteryx Software: This is a first small
	part of their changes. Will commit more later.
	
	* gdk/win32/*.c: Add some more checks for failed GDI calls. If a
	call fails, don't use bogus values.

1442
	 gdk/win32/gdkcursor-win32.c (_gdk_win32_data_to_wcursor): Plug
1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460
	memory leak: g_free() the AND and XOR bitmaps after use.
	(_gdk_cursor_destroy): If we are destroying the current Windows
	cursor, set the Windows cursor to none first.

	* gdk/win32/gdkgc-win32.c (predraw_set_foreground): Delete the old
	brush that was in the DC, like the win32-procution branch does. I
	guess this plugs a resource leak? With the HDC cache, the old
	brush might be something we created ourselves, and not a stock
	brush. And it doesn't do any harm to call DeleteObject on stock
	brushes.

	* gdk/win32/gdkwindow-win32.c (gdk_window_impl_win32_finalize): If
	the window has a cursor which is the current Windows cursor,
	before destroying it set the current Windows cursor to none.
	(gdk_window_set_cursor): Also here, if destroying the current
	Windows cursor, set the current Windows cursor to none first.
	(gdk_window_get_pointer): Revamp logic.
	
1461 1462 1463 1464 1465
2002-01-10  jacob berkman  <jacob@ximian.com>

	* gtk/gtkwidget.c (gtk_widget_add_events): actually iterate
	through the list rather than infinitely loop

1466 1467 1468 1469 1470
2002-01-08  Matthias Clasen  <matthiasc@poet.de>

	* gtk/gtkwidget.c (gtk_widget_set_style_recurse): Rename to
	reset_rc_styles_recurse(). (#68084)

1471 1472 1473 1474 1475 1476 1477 1478
2002-01-10            Vitaly Tishkov       <tvv@sparc.spb.su>
        * gtk/gtkimage.c
	* gtk/gtkimcontext.c
	* gtk/gtktreemodel.c
	* gtk/gtktreemodelsort.c
	* gtk/gtkwindow.c
	fix docs	

1479 1480 1481 1482 1483
Wed Jan  9 20:56:42 2002  Jonathan Blandford  <jrb@redhat.com>

	* gdk/x11/gdkkeys-x11.c (get_xkb): get the types as well as the
	symbols because we need them in MyEnhancedXkbTranslateKeyCode.

1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 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
2002-01-10  Tor Lillqvist  <tml@iki.fi>

	Apply the same fixes and improvements as to the
	gtk-1-3-win32-production branch: Bug fixes and cleanup of
	selection and DND functionality. Still doesn't work as well as the
	win32-production branch, though, but getting closer.

	After this, need to add Archaeopteryx Software's OLE2 DND support.

	* gdk/win32/gdkselection-win32.c (gdk_selection_owner_set,
	gdk_selection_send_notify, generate_selection_notify): Don't use
	SendMessage() to generate events for the same app, instead use
	gdk_event_put().

	* gdk/win32/gdkprivate-win32.h
	* gdk/win32/gdkglobals-win32.c
	* gdk/win32/gdkmain-win32.c
	* gdk/win32/gdkevents-win32.c: Thus, remove declaration, definition,
	initialisation and handling of gdk_selection_notify_msg,
	gdk_selection_request_msg and gdk_selection_clear_msg. 

	* gdk/win32/gdkselection-win32.c (gdk_text_property_to_text_list,
	gdk_free_text_list, gdk_string_to_compound_text,
	gdk_free_compound_text): Implement trivially, witrh a text_list
	always having a single element, and a compound text always
	consisting of just a single (UTF-8!) string. Let's see how well
	this works.

	* gdk/win32/gdkselection-win32.c (gdk_selection_convert): Fix
	non-ASCII paste from the clipboard: Try getting the same formats
	from the Windows clipboard that gdk_property_change() puts there:
	CF_UNICODETEXT, UTF8_STRING or CF_TEXT+CF_LOCALE.

	* gdk/win32/gdkproperty-win32.c (gdk_property_change): When
	storing text on the clipboard, handle non-ASCII text
	correctly. The logic is as follows:

	If we have only ASCII characters, use CF_TEXT.

	Else, if we are on NT, use CF_UNICODETEXT.

	Else (we are on Win9x), if all the characters are present in the
	code page of some installed locale, use CF_TEXT and also set
	CF_LOCALE to that locale.

	Else (still on Win9x) store as RTF. We use a very simple RTF
	string, just the text, no fonts or other crap, with the non-ASCII
	characters as Unicode \uN keywords. Additionally, also store the
	UTF-8 string as such, under the format "UTF8_STRING", so that GDK
	can also paste from the Clipboard what it has copied there. (Thus
	no need to implement any RTF parser.)
	
	(find_common_locale): New function, implements the search for a
	locale for case 3 above.

	* gdk/win32/gdkglobals-win32.c: New global variables
	compound_text, text_uri_list, utf8_string, cf_rtf and
	cf_utf8_string.

	* gdk/win32/gdkim-win32.c (_gdk_ucs2_to_utf8): New function,
	converts from a wchar_t string to UTF-8.
	(_gdk_utf8_to_ucs2): Rename from _gdk_win32_nmbstowchar_ts.
	(_gdk_utf8_to_wcs): Rename from gdk_nmbstowchar_ts.

	* gdk/win32/gdkevents-win32.c (build_keypress_event): Use
	_gdk_ucs2_to_utf8().

	* gdk/win32/gdkselection-win32.c: Remove some unnecessary logging.

	* gdk/win32/gdkdnd-win32.c: Plug memory leaks, the
	gdk_drag_context_ref() was called unnecessarily in a couple of
	places, meaning drag contexts were never freed. The same memory
	leaks seem to be present in gdk/linux-fb/gdkselection-fb.c, BTW.

	(gdk_drop_reply): For WIN32_DROPFILES drops, free the temporarily
	stored file list.

	* gdk/win32/gdkselection-win32.c: Clarify the use of the
	sel_prop_table. Now it is used only for storing the GDK_SELECTION
	"properties".

	The file names dropped with WM_DROPFILES -style DND is stored
	temporarily (between the drop and the target picking them up) in a
	separate place.

	Have a separate hash table to map selection atoms to owner
	windows. This used to be quite mixed up.

	(_gdk_dropfiles_store): New function, to store the dropped file
	list for the drop target to possibly fetch, and clear it
	afterwards, from gdk_drop_reply().

	(gdk_selection_owner_get): Much simplified now.

1578 1579 1580 1581 1582
2002-01-09  jacob berkman  <jacob@ximian.com>

	* gtk/gtklayout.c (gtk_layout_style_set): set the background of
	our bin window also (fixes #58957)

1583 1584 1585 1586 1587 1588 1589
Wed Jan  9 19:10:07 2002  Jonathan Blandford  <jrb@redhat.com>

	* gtk/gtktreeselection.c
	(_gtk_tree_selection_internal_select_node): Now we test we can
	unselect nodes before selecting new ones.
	(gtk_tree_selection_real_select_node): be careful comparing booleans.

1590 1591 1592 1593 1594 1595 1596
Wed Jan  9 21:31:44 2002  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtkliststore.c (gtk_list_store_sort): pass NULL to
	gtk_tree_model_rows_reordered and not an iter with user_data
	set to NULL (which is an invalid liststore iter, so
	iter_n_children failed, etc)

1597 1598 1599 1600
2002-01-09  Sven Neumann  <sven@gimp.org>

	* tests/prop-editor.c: declared internal functions static.
	
1601 1602 1603 1604 1605 1606 1607 1608 1609 1610
Wed Jan  9 11:13:12 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkmenuitem.c (_gtk_menu_item_refresh_accel_path): 
	Fix problem with menus without accel groups, such as the
	menus for option menus.

	* gtk/gtkpaned.c (gtk_paned_expose): Only conditionalize
	drawing of handle on whether both children are visible,
	not the drawing of the other child!. (#68325, Diego Gonzalez)

1611 1612 1613 1614 1615 1616
Wed Jan  9 10:20:16 2002  Owen Taylor  <otaylor@redhat.com>

	* gdk/x11/gdkdrawable-x11.c gdk/x11/gdkgc-c11.c: Check for
	RENDER before trying to use it... XRenderFindFormat() prints
	warnings if called when extension isn't present.

1617 1618 1619 1620 1621
Wed Jan  9 15:20:40 2002  Tim Janik  <timj@gtk.org>

	* gtk/gtkmenuitem.c (gtk_menu_item_parent_set): update the accel
	path upon parent changes.

1622 1623 1624 1625 1626 1627
Wed Jan  9 13:20:14 2002  Tim Janik  <timj@gtk.org>

	* gtk/gtkviewport.c (gtk_viewport_size_allocate): small but important
	fix to force vadjustments at size_alocate time from Xavier Ordoquy
	<mcarkan@users.sourceforge.net>.

1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639
Wed Jan  9 11:23:39 2002  Tim Janik  <timj@gtk.org>

	* gtk/gtklayout.c (gtk_layout_get_property): 
	* gtk/gtkspinbutton.c (gtk_spin_button_get_property): 
	* gtk/gtktreeview.c (gtk_tree_view_get_property): 
	* gtk/gtkwidget.c (gtk_widget_get_property): 
	* gtk/gtkfontsel.c (gtk_font_selection_get_property): 
	* gtk/gtkrange.c (gtk_range_get_property):
	* gtk/gtkviewport.c (gtk_viewport_get_property):
	* gtk/gtkprogressbar.c (gtk_progress_bar_get_property): don't cast a
	possible NULL pointer.

1640 1641 1642 1643 1644 1645 1646 1647
2002-01-08  Mike Kestner  <mkestner@speakeasy.net>

	* gtk/gtkcelleditable.h : Use G_TYPE_INSTANCE_GET_INTERFACE.
	* gtk/gtktreednd.h : ditto.
	* gtk/gtktreemodel.h : ditto.
	* gtk/gtktreesortable.h : ditto.
	* gtk/gtkwidget.h : Don't reference incomplete _GdkRectangle type.

1648 1649 1650 1651 1652 1653 1654
2002-01-08  Matthias Clasen  <matthiasc@poet.de>

	* gtk/gtkplug.c, gtk/gtksocket.c: Speak of window IDs rather 
	than XIDs in the docs.

	* gtk/gtkclipboard.c (gtk_clipboard_clear): Fix docs.

1655 1656 1657 1658 1659
Tue Jan  8 18:39:23 2002  Jonathan Blandford  <jrb@redhat.com>

	* gtk/gtktreedatalist.c (gtk_tree_data_list_compare_func): wow!
	Am I a moron or what 0 < 1 is not equivalent to strcmp ("a", "b")

1660 1661 1662 1663 1664 1665 1666 1667 1668
Tue Jan  8 18:04:01 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtktoolbar.c (gtk_toolbar_set_icon_size):
	Handle TOGGLE/RADIOBUTTON as well. (#68201,
	Damon Chaplin.)

	* gtk/gtktoolbar.c (get_first_child): Fix stupid 
	bug, just introduced.

1669 1670 1671 1672 1673 1674 1675 1676 1677
Tue Jan  8 15:53:28 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkdnd.c (gtk_drag_find_widget): Fix coordinate
	translations, once and for all.

	* gtk/gtktextbuffer.c (paste_from_buffer): Free
	the ClipboardRequest structure. (#66198, HideToshi
	Tajima)

jacob berkman's avatar
jacob berkman committed
1678 1679 1680 1681 1682
2002-01-08  jacob berkman  <jacob@ximian.com>

	* gtk/gtklayout.c (gtk_layout_move_internal): queue a resize on
	the child rather than the layout. see bug #68263

1683 1684 1685 1686
Tue Jan  8 14:51:19 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkpaned.c (gtk_paned_expose): Don't draw
	the handle if we aren't showing both children.
1687
	(#68135, Diego Gonzalez)
1688

1689 1690 1691 1692 1693
Tue Jan  8 14:45:43 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkwidget.c (gtk_widget_add_events): Fix
	leak of result of gtk_container_get_children().

1694 1695 1696
Tue Jan  8 14:42:19 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtktoolbar.c: Fix leaks of results of
1697
	gtk_container_get_children(). (#68199, Damon Chaplin)
1698

1699 1700 1701 1702 1703 1704 1705
Tue Jan  8 14:19:43 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkcheckbutton.c (gtk_check_button_size_allocate): 
	Fix problem where child->requisition was accessed
	directly instead of calling get_child_requisition()
	(#68199, Damon Chaplin)

1706 1707 1708 1709
2001-01-08  James Henstridge  <james@daa.com.au>

	* gtk/gtkstyle.c: add trailing */ on doc comment.

1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720
Mon Jan  7 22:19:32 2002  Owen Taylor  <otaylor@redhat.com>

	* gdk/x11/gdkdrawable-x11.c (draw_with_pixmaps): Fix a
	problem where were the offset into the image was passed
	into convert_to_format() wrong.

	* gdk/x11/gdkdrawable-x11.c (gdk_x11_draw_pixbuf): Call
	gdk_x11_drawable_update_picture_clip () before using
	the picture; allow update_picture_clip() to take a NULL gc
	to mean no clipping.

Matthias Clasen's avatar
Matthias Clasen committed
1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747
2002-01-07  Matthias Clasen  <matthiasc@poet.de>

	* gtk/gtksocket.c (gtk_socket_get_id): Doc typo fix. (#68172)

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

	* gtk/gtktreemodel.c (gtk_tree_model_rows_reordered): Document.

	* gtk/gtkwindow.c (gtk_window_remove_accel_group): Fix docs.

	* gtk/gtkrc.c (gtk_rc_get_style_by_paths),
	gtk/gtkwidget.c (gtk_widget_get_toplevel, 
	gtk_widget_push_composite_child), gtk/gtkdialog.c 
	(gtk_dialog_new_with_buttons, gtk_dialog_run): Keep gtk-doc
	from messing up the indentation of inline examples.	

	* gtk/gtkmain.c, gtk/gtkrc.c: Consistently call g_getenv() 
	instead of getenv().

	* gtk/gtktreemodel.c, gtk/gtkaccelgroup.c, gtk/gtkclipboard.c,
	gtk/gtkdnd.c, gtk/gtkiconfactory.c, gtk/gtkrc.c,
	gtk/gtkstyle.c, gtk/gtkselection.c: Doc fixes.

	* gtk/gtkaccelmap.c (gtk_accel_map_add_filter,
	gtk_accel_map_foreach_unfiltered, gtk_accel_map_load_scanner):
	Document.

1748 1749 1750 1751 1752 1753
2002-01-07  Anders Carlsson  <andersca@gnu.org>

	* gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_render): Remove
	unused pixels and rowstride variables.
	(gtk_cell_renderer_pixbuf_get_size): Check for non-NULL width.

1754 1755 1756 1757 1758 1759 1760 1761 1762 1763
Mon Jan  7 08:48:23 2002  Tim Janik  <timj@gtk.org>

	* gtk/gtkdnd.c (gtk_drag_find_widget): don't forget to offset
	the pointer by x/y_offset into the new window when we found
	the drag destination.

	* gtk/gtkaccelmap.c (internal_change_entry): fix return code
	for simulation when the entry already contains the required
	accel key and mod.

1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774
2002-01-06  Matthias Clasen  <matthiasc@poet.de>
 
	* docs/debugging.txt: Replace GTK_NO_CHECK_CASTS by 
	G_DISABLE_CAST_CHECKS.

	* gtk/gtkaccelgroup.c (gtk_accel_group_from_accel_closure,
	gtk_accel_group_query, gtk_accel_group_find,
	gtk_accel_groups_from_object): Document.

	* gtk/gtkaccellabel.c (gtk_accel_label_set_accel_closure): Document.

1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802
2002-01-04  Hans Breuer  <hans@breuer.org>

	* gdk/gdkdraw.c gdk/gdkpixbuf-drawable.c : 
	need to cast image->mem away from void* to avoid 
	'error C2036: 'void *' : unknown size'. Doing pointer 
	arithmetics on void pointers is a GCCism afaik.

	* gdk/gdkpixbuf-render.c : #include "gdkinternals.h" for
	_gdk_draw_pixbuf ()

	* gdk/makefile.msc gdk/win32/makefile.msc 
        gdk/gtk/makefile.msc.in : use -FI msvc_recommended_pragmas.h

	* gdk/win32/gdkdrawable-win32.c : use _gkd_win32_copy_to_image
	and take care of image->visual possibly NULL.

	* gdk/win32/gdkimage-win32.c : implement _gdk_image_new_for_depth(),
	_gdk_win32_copy_to_image() and _gdk_windowing_bits_for_depth().
	Again take care of image->visual possibly NULL.

	* gdk/win32/gdkprivate-win32.h : declare _gdk_win32_copy_to_image()

	* gdk/win32/gdkevents-win32.c : use gdk_drawable_get_colormap
	instead of private field access

	* gdk/win32/gdkpixmap-win32.c (gdk_pixmap_new) : adapt
	colormap setting to the gdk-X behaviour

Matthias Clasen's avatar
Matthias Clasen committed
1803 1804 1805 1806
2001-01-04  Matthias Clasen  <matthiasc@poet.de>

 	* gtk/gtkwidget.c: Documentation additions.

Matthias Clasen's avatar
Matthias Clasen committed
1807 1808 1809 1810 1811 1812
2001-01-04  Matthias Clasen  <matthiasc@poet.de>

	* gtk/gtkobject.c (gtk_object_dispose): Fix a comment.

	* gtk/gtkwidget.c (gtk_widget_set_sensitive): tiny docs change

Havoc Pennington's avatar
Havoc Pennington committed
1813 1814 1815 1816
2002-01-04  Havoc Pennington  <hp@pobox.com>

	* gtk/gtkwidget.c (gtk_widget_set_sensitive): tiny docs change
	
1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829
Fri Jan  4 13:05:15 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkdnd.c (gtk_drag_find_widget): At least
	don't infinite loop if the widget and window heirarchies
	don't correspond.

	* gtk/gtkdnd.c (gtk_drag_find_widget): Handle changes
	in heirarchy in ::drag_motion, ::drag_drop callbacks
	by referencing child widget lists. (Patch from Tim)

	* gtk/gtkdnd.c (gtk_drag_find_widget): Fix a problem
	with widgets where window.x != widget->allocation.x

1830 1831 1832 1833 1834 1835
Fri Jan  4 01:36:48 2002  Owen Taylor  <otaylor@redhat.com>

	* gdk/x11/gdkdrawable-x11.c (convert_to_format): Optimize
	a little bit. (More for consistency than because it
	makes much of a difference.)

1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 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
Thu Jan  3 22:18:15 2002  Owen Taylor  <otaylor@redhat.com>

	* gdk/x11/gdkdrawable-x11.c gdk/x11/gdkprivate-x11.h
	(_gdk_x11_have_render): Private function to tell if we have RENDER
	extension.

	* gdk/x11/gdkgc-x11.c (_gdk_x11_gc_get_fg_picture): Return
	None if we don't have RENDER extension.

	* gdk/x11/gdkpango-x11.c (gdk_pango_context_get): Don't
	use Xft unless we have render extension.

	* gdk/x11/gdkdrawable-x11.c (gdk_x11_drawable_get_picture):
	Handle missing render extension.

	* gdk/gdkdraw.c gdk/gdkdrawable.h gdk/gdkpixmap.c gdk/gdkwindow.c
	gdk/gdkinternals.h: Add a private copy_to_image() virtual function
	to the GdkDrawable vtable that extends get_image() to allow
	copying onto existing images.  Make the default implementation of
	get_image() use this so that backends don't have to implement
	both. Add private wrapper _gdk_drawable_copy_to_image().

	* gdk/x11/gdkimage-x11.c gdk/x11/gdkprivate-x11.c
	gdk/x11/gdkdrawable-x11.c (_gdk_x11_copy_to_image): Implement
	copy_to_image() semantics, speed up by using ShmPixmaps and
	XCopyArea when possible, XFlush() after ungrabbing the server,
	generally redo the logic once again.

	* gdk/gdkinternals.h gdk/x11/gdkimage-x11.c
	_gdk_windowing_bits_per_depth(): Function to convert from depth to
	bits-per-pixel. (We assume only one bpp per depth - X requires
	this.)

	* gdk/gdkinternals.h gdk/gdkrgb.c gdk/gdkimage.c: Move the GdkRGB
	scratch image code into a generic _gdk_image_get_scratch() chunk
	of code that we can use other places we need scratch images.

	* gdk/gdkimage.c gdk/x11/gdkimage.c gdk/gdkinternals.h:
	Add _gdk_image_new_for_depth() as the backend 
	to _gdk_image_new() to allowing creating images with
	a depth and no visual.

	* gdk/gdkpixbuf-drawable.c: Fix so that getting 
	parts of images not at 0,0 actually works.

	* gdk/gdkdrawable.h gdk/gdkinternals.h gdk/gdkdraw.c
	gdk/gdkwindow.c gdk/gdkpixmap.c gdk/gdkpixbuf-render.c: 
	 - Add a new GdkDrawableClass vfunc _draw_pixbuf, and 
	  _gdk_draw_pixbuf() [ will be made public later ], to allow 
	  backends to accelerate drawing pixbufs. 
	 - Move the implementation of gdk_pixbuf_render_to_drawable_alpha()
	   to be the default implementation. 
	 - Update docs for gdk_pixbuf_render_to_drawable_alpha(). 
	 - Optimize the default implementation by using 
	   _gdk_image_copy_to_pixmap() and scratch shared images, and
	   special casing the compositing.

	* gdk/x11/gdkdrawable-x11.c: Accelerate _gdk_draw_pixbuf()
	with alpha using the RENDER extension.

        * gdk/gdkpixbuf-drawable.c (gdk_pixbuf_get_from_drawable):
	Optimize by _gdk_image_copy_to_pixmap() and scratch images.

	* tests/testrgb.c: Add test for speed of alpha composition,
	reduce the number of iterations since alpha composition
	can be a bit slow.

	* gdk/x11/gdkimage-x11.c gdk/gdkprivate-x11.h (_gdk_x11_image_get_shm_pixmap): 
	Private function to get a ShmPixmap for an image, if possible.

1906 1907 1908 1909
2002-01-04  Anders Carlsson  <andersca@gnu.org>

	* tests/testtreesort.c: Add my cool list of integers.

1910 1911 1912 1913 1914
Thu Dec 27 18:12:55 2001  Owen Taylor  <otaylor@redhat.com>

	* gdk/x11/gdkproperty-x11.c (gdk_property_get): Fix
	problem where retrieved atoms weren't properly returned.

1915 1916
2002-01-03  Anders Carlsson  <andersca@gnu.org>

1917 1918 1919 1920
	* gtk/gtktextview.c (gtk_text_view_key_press_event): When
	tab is pressed and the text view isn't editable, 
	move the focus instead.

Anders Carlsson's avatar
Anders Carlsson committed
1921 1922 1923 1924 1925 1926 1927 1928 1929 1930
	* gtk/gtkstyle.c (gtk_default_draw_focus): Free dash list if
	necessary.

	* gtk/gtkhsv.c (gtk_hsv_get_focus_gc): Free dash list.

	* gtk/gtkcolorsel.c (get_focus_gc): Free dash list.

	* gtk/gtkdnd.c (set_icon_stock_pixbuf): Don't unref the mask
	if it's NULL.

1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942
	* gtk/gtktreeview.c: Rename gtk_tree_view_queue_draw_node to
	_gtk_tree_view_queue_draw_node.
	(gtk_tree_view_row_has_child_toggled): Only redraw one node.

	* gtk/gtktreesortable.c (gtk_tree_sortable_set_sort_func): 
	sort_column_id can be 0.

	* gtk/gtktreeselection.c (gtk_tree_selection_real_select_node):
	Only redraw one the node being selected.

	* gtk/gtktreeprivate.h: Add _gtk_tree_view_queue_draw_node.
	
1943 1944 1945 1946 1947 1948
Wed Jan  2 23:09:06 2002  Tim Janik  <timj@gtk.org>

	* gtk/gtkcontainer.c (_gtk_container_queue_resize): don't ignore
	realized but visible && !mapped resize containers (which is
	possible with unset CHILD_VISIBLE now).

1949 1950 1951 1952 1953
2002-01-02  jacob berkman  <jacob@ximian.com>

	* gtk/Makefile.am (LDFLAGS): automake still doesn't support
	libsomething_la_LDFLAGS, so fix the build again

1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968
2002-01-01  Havoc Pennington  <hp@pobox.com>

	* gtk/gtktextview.c (gtk_text_view_expose_event): propagate
	exposes to no window children not in the buffer window.
	(gtk_text_view_class_init): add move_focus bindings for Ctrl-Tab
	- is this the right way to do it?
	(gtk_text_view_focus): add focus method, just chains up for now, 
	I'm not sure why the GtkContainer implementation doesn't work

	* gtk/gtktextbtree.c (_gtk_text_btree_insert_child_anchor): fill
	in the text line for the child anchor segment

	* tests/testtext.c (do_add_focus_children): add another test
	example (to put focusable buttons into the widget)

1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988
2002-01-01  Havoc Pennington  <hp@pobox.com>

	* docs/README.linux-fb: note that this file is obsolete

	* docs/Changes-2.0.txt, docs/Changes-1.2.txt: Add notes to these
	files that they should not be edited and look in the reference 
	manual instead. Probably these files should just be replaced by 
	the note, and their main contents deleted.

	* gtk/gtktextview.c: docs

	* gtk/gtktextmark.c: docs

	* gtk/gtktextchild.c: docs

	* gtk/gtktextbuffer.c: docs stuff

	* gtk/gtkclipboard.c (gtk_clipboard_get): fool with docs to maybe
	give people more leads in sorting out PRIMARY vs. CLIPBOARD

1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008
2002-01-01  Tor Lillqvist  <tml@iki.fi>

	* demos/Makefile.am (test-inline-pixbufs.h): Append EXEEXT to
	../gdk-pixbuf/gdk-pixbuf-csource.

2001-12-31  Tor Lillqvist  <tml@iki.fi>

	* gdk/win32/gdkgc-win32.c (predraw_set_foreground): Improved error
	handling.
	(gdk_win32_hdc_get,gdk_win32_hdc_release): Silence gcc -Wall.

	* gdk/win32/gdkimage-win32.c (_gdk_win32_get_image): Silence gcc
	-Wall.  Use GDK_IS_PIXMAP_IMPL_WIN32 instead of GDK_IS_PIXMAP in
	one more place.

	* gdk/win32/gdkinput-win32.c (_gdk_input_other_event): Silence gcc
	-Wall.

	* gtk/Makefile.am (libgtk_win32_1_3_la_LDFLAGS): Add -lwsock32.

2009 2010 2011 2012 2013
2002-01-01  Havoc Pennington  <hp@pobox.com>

	* gtk/gtktextview.c (gtk_text_view_get_default_attributes): doc 
	fix
	
2014 2015 2016 2017 2018 2019 2020 2021
2002-01-01  Havoc Pennington  <hp@pobox.com>

	* gtk/gtktextview.c (changed_handler): Replace call to
	gtk_widget_size_request() that expected to actually compute the
	request with a direct use of widget_class->size_request, so we get
	our size request right; fixes remaining part of #63065 reported by
	Matthias Clasen