ChangeLog.pre-2-4 837 KB
Newer Older
1 2 3 4
2002-01-09  Sven Neumann  <sven@gimp.org>

	* tests/prop-editor.c: declared internal functions static.
	
5 6 7 8 9 10 11 12 13 14
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)

15 16 17 18 19 20
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.

21 22 23 24 25
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.

26 27 28 29 30 31
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>.

32 33 34 35 36 37 38 39 40 41 42 43
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.

44 45 46 47 48 49 50 51
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.

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

59 60 61 62 63
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")

64 65 66 67 68 69 70 71 72
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.

73 74 75 76 77 78 79 80 81
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
82 83 84 85 86
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

87 88 89 90
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.
91
	(#68135, Diego Gonzalez)
92

93 94 95 96 97
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().

98 99 100
Tue Jan  8 14:42:19 2002  Owen Taylor  <otaylor@redhat.com>

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

103 104 105 106 107 108 109
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)

110 111 112 113
2001-01-08  James Henstridge  <james@daa.com.au>

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

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

152 153 154 155 156 157
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.

158 159 160 161 162 163 164 165 166 167
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.

168 169 170 171 172 173 174 175 176 177 178
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.

179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206
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
207 208 209 210
2001-01-04  Matthias Clasen  <matthiasc@poet.de>

 	* gtk/gtkwidget.c: Documentation additions.

Matthias Clasen's avatar
Matthias Clasen committed
211 212 213 214 215 216
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
217 218 219 220
2002-01-04  Havoc Pennington  <hp@pobox.com>

	* gtk/gtkwidget.c (gtk_widget_set_sensitive): tiny docs change
	
221 222 223 224 225 226 227 228 229 230 231 232 233
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

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

240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 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 300 301 302 303 304 305 306 307 308 309
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.

310 311 312 313
2002-01-04  Anders Carlsson  <andersca@gnu.org>

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

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

319 320
2002-01-03  Anders Carlsson  <andersca@gnu.org>

321 322 323 324
	* 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
325 326 327 328 329 330 331 332 333 334
	* 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.

335 336 337 338 339 340 341 342 343 344 345 346
	* 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.
	
347 348 349 350 351 352
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).

353 354 355 356 357
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

358 359 360 361 362 363 364 365 366 367 368 369 370 371 372
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)

373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392
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

393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412
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.

413 414 415 416 417
2002-01-01  Havoc Pennington  <hp@pobox.com>

	* gtk/gtktextview.c (gtk_text_view_get_default_attributes): doc 
	fix
	
418 419 420 421 422 423 424 425
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

426 427 428 429 430 431 432
2001-12-31  Havoc Pennington  <hp@pobox.com>

	* tests/testtext.c (do_insert_and_scroll): remove backward_char
	since we no longer have bogus newline
	(dialog_response_callback): remove another backward_char horkage, 
	reported by Matthias Clasen #63065

433 434 435 436 437 438 439 440 441 442
2001-12-31  Havoc Pennington  <hp@pobox.com>

	* gtk/gtktextbtree.c (gtk_text_btree_node_view_check_consistency):
	fix an incorrect assertion that the "valid" flag is always correct
	in a node and add explanatory comment. This keeps me from 
	reproducing #59101, but I'm remembering that 59101 was actually 
	about incorrect pixel totals, so I'm not sure 59101 is actually 
	fixed. May just have stopped happening due to some change in 
	how C-k works.

443 444 445 446 447 448 449
2001-12-31  Havoc Pennington  <hp@pobox.com>

	* gtk/gtktextview.c (gtk_text_view_start_selection_drag): extend
	selection if shift is down, bug #50939
	(gtk_text_view_button_press_event): add double/triple click
	selection to the current selection if shift is down

450 451 452 453 454 455
2001-12-31  Havoc Pennington  <hp@pobox.com>

	* gtk/gtktextiter.c (gtk_text_iter_get_visible_line_index): fix 
	to use ensure_byte_offsets not ensure_char_offsets, patch 
	from Padraig O'Briain bug #67356
	
456 457 458 459 460
2001-12-30  Havoc Pennington  <hp@pobox.com>

	* gtk/gtkdialog.h (GtkDialogFlags): fix GtkDialogFlags to have 
	the right values, reported by Jeff Franks

Matthias Clasen's avatar
Matthias Clasen committed
461 462 463 464
2001-12-30  Matthias Clasen  <matthiasc@poet.de>

	* gtk/gtkwindow.c, gtk/gtkimcontextsimple.c: Minor documentation tweaks.

Matthias Clasen's avatar
Matthias Clasen committed
465 466 467 468 469
2001-12-28  Matthias Clasen  <matthiasc@poet.de>

	* gdk/x11/gdkproperty-x11.c, gdk/x11/gdkselection-x11.c: 
	Minor documentation tweaks.

470 471 472 473 474 475
2001-12-28  Tor Lillqvist  <tml@iki.fi>

	* gdk/win32/gdkfont-win32.c: Use G_N_ELEMENTS().
	(unicode_classify): Don't return -1 on encountering an
	unclassified character, but play it safe and return U_BASIC_LATIN.

476 477 478 479 480 481 482 483
Thu Dec 27 16:05:30 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkarrow.c gtk/gtkimage.c gtkpixmap.c: Make interpretation
	of misc->xpad/ypad consistent with GtkLabel. Do 
	directional flipping when interpreting misc->xalign/yalign.
	Fix off-by-one error for negative x,y. (#67472, reported
	by Mathieu Lacage)

484 485 486 487 488 489 490 491 492 493
Thu Dec 27 15:45:41 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkwidget.c (gtk_widget_set_style_internal):
	Remove optimization that was causing problems because
	we called gtk_widget_size_request() before we called
	gtk_widget_queue_resize() so RESIZE_NEEDED was not
	set. Optimization shouldn't mattter now that we
	are smart about needlessly size requesting or allocating
	widgets. (#67598, reported by Jacob Berkman)

494 495 496 497 498 499 500
Thu Dec 27 15:38:20 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkmenu.c (gtk_menu_stop_navigating_submenu_cb):
	Call gdk_window_get_pointer() on menu->bin_window not
	menu->window, so we get the correct window for the
	menu item. (#65213, Guillermo S. Romero)

501 502 503 504 505 506 507 508
Thu Dec 27 15:13:44 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkmenu.c (gtk_menu_set_title): Allow unsetting
	the title by setting to NULL. Move docs inline. 
	Update the title if the tearoff window already
	exists. Code cleanup. (Fixes #65190, reported by
	Vitaly Tishkov.)

509 510 511 512 513 514 515
Thu Dec 27 14:04:22 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtksocket.c (gtk_socket_key_press_event): 
	gtk/gtkplug.c (gtk_plug_key_press_event): Don't do
	special handling of key presses unless we are doing 
	iter-app embedding. (Fixes #67590, Anders Carlsson)

516 517 518 519 520 521 522 523
Thu Dec 27 16:37:04 2001  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_deleted),
	(gtk_tree_model_sort_sort_level),
	(gtk_tree_model_sort_insert_value): fix a few places where
	I was confused between modelsort iters and other iters. This was
	really going to happen someday ;)

524 525 526 527 528 529
Wed Dec 26 23:41:41 2001  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeview.c (gtk_tree_view_rows_reordered): ensure
	we are unprelighted before reordering

	* gtk/gtktreemodel.c (gtk_tree_row_ref_reordered_callback): we
530 531
	need to break out of the for loop, not return (this fixed
	the 'selection freeze' bug).
532 533 534 535 536

	* gtk/gtktreemodelsort.c: more fixage and cleanups. It seems to
	be pretty stable now, though it still needs some more code
	cleanups.

537 538 539 540 541 542 543 544 545
Wed Dec 26 12:32:31 2001  Owen Taylor  <otaylor@redhat.com>

	* docs/Changes-2.0.txt: Document the fact that
	gtk_paned_set_handle_size() has been removed.

	* gtk/gtkpaned.h Remove gtk_paned_handle_size() compat macro, 
	since it pointed to gtk_paned_set_handle_size(), which
	was removed. (#66760, Matt Wilson)

546 547 548 549 550 551
Wed Dec 26 12:28:24 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkdnd.c (gtk_drag_highlight): Connect 
	gtk_drag_hightlight_expose _after_, so it works with
	widgets that paint there entire background. (#66735)

552 553 554 555 556 557
Wed Dec 26 12:17:06 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkplug.c (gtk_plug_size_allocate): Assign the
	allocation to widget->allocation. (Fixes #67290,
	Chris Phelps.)

558 559 560 561 562 563 564 565 566 567 568 569
Wed Dec 26 11:49:01 2001  Owen Taylor  <otaylor@redhat.com>

	(#67542, reported by Anders Carlsson)
	
	* gtk/gtkstyle.c (gtk_style_real_init_from_rc): Merge
	rc_style->font_desc with defaul style instead of replacing
	it.

	* gtk/gtkrc.c (gtk_rc_style_real_merge): Allow partial
	font descriptions in RC styles by calling
	pango_font_description_merge(). 

570 571 572 573 574
2001-12-24  James Henstridge  <james@daa.com.au>

	* gtk/gtkdialog.h (doc comment): s/<!>/<!-- -->/ to make the doc
	valid with both SGML and XML.

Owen Taylor's avatar
Owen Taylor committed
575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605
Sat Dec 22 12:38:03 2001  Owen Taylor  <otaylor@redhat.com>

	* configure.in: 1.3.12, interface, binary age 0.

	* configure.in: Require new versions of Glib, Pango, ATK.

	* NEWS: Updated.

	* configure.in: Make explicit what libtool we are executing.
	(Tomas Ogren)

	* gdk/gdkcolor.c gdk/gdkgc.c gdk/gdkwindow.c: Doc fixes.

	* gtk/gtkwidget.c (gtk_widget_[class]path) gtkrc.h : Fix 
	parameter names for docs.

Sat Dec 22 22:35:29 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkwindow.c (gtk_window_realize) 
	  gtk/gtkplug.c (gtk_plug_realize): Include GDK_KEY_RELEASE_MASK.

	* gtk/gtkentry.c (gtk_entry_key_release)
	  gtk/gtktextview.c (gtk_text_view_key_release_event): Pass
	key release events to the input method.

	* gtk/gtkimcontextsimple.c (gtk_im_context_simple_filter_keypress): 
	Handle release of Control/Shift to end hex sequence.

	* modules/input/gtkimcontextxim.c (gtk_im_context_xim_filter_keypress): 
	Handle key releases as well as presses.

606 607
2001-12-21  Matthias Clasen  <matthiasc@poet.de>

Matthias Clasen's avatar
Matthias Clasen committed
608 609
	* gtk/gtktoolbar.c (gtk_toolbar_insert_element): Trivial doc adjustment.

610 611 612 613 614 615 616 617 618 619 620 621 622
	* gtk/gtklabel.c (gtk_label_new_with_mnemonic),
	gtk/gtkbutton.c (gtk_button_new_with_mnemonic): More precise
	documentation about underscores and mnemonics. (#66380)

	* gtk/gtktextiter.c (gtk_text_iter_backward_word_starts): Fix
	cyclic reference in docs.

	* gtk/gtklabel.c (gtk_label_set_justify): Correct documentation
	of default value. (#65402)

	* gtk/gtkmain.c (gtk_set_locale, gtk_disable_set_locale): 
	Markup fixes.

Anders Carlsson's avatar
Anders Carlsson committed
623 624 625 626 627
2001-12-20  Anders Carlsson  <andersca@gnu.org>

	* gtk/gtktreeview.c (gtk_tree_view_realize): Don't call
	map here.

628 629 630 631 632
Tue Dec 18 16:15:55 2001  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdkgc.h: Explicitely deprecate gdk_gc_set_font()
	(reported by Jeff Franks.)

633 634 635 636 637 638
Tue Dec 18 16:07:28 2001  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdkkeys.h (struct _GdkKeymapClass): Fix 
	prototype for direction_changed. (Reported by
	Jeff Franks.)

639 640 641 642 643
2001-12-18  Padraig O'Briain <padraig.obriain@sun.com>

	* gtk/gtktreeview.c (gtk_tree_view_get_expander_column):
	Fix typo (list->data becomes list->next)

644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659
2001-12-06  Havoc Pennington  <hp@redhat.com>

        Add Unicode control char menu, based on patch from Dov.
	Bug #63495
	
	* gtk/gtkentry.c (gtk_entry_commit_cb): share code via
	gtk_entry_enter_text
	(gtk_entry_enter_text): function to do "typing in text"
	(popup_targets_received): add the Unicode menu items

	* gtk/gtktextview.c (popup_targets_received): add missing mnemonic
	on Input Methods item, and add the unicode menu items.

	* gtk/gtktextutil.h, gtk/gtktextutil.c: private utilities to be
	used in GtkEntry and GtkTextView - may become public later.	

Kjartan Maraas's avatar
Kjartan Maraas committed
660 661 662 663 664
2001-12-16  Kjartan Maraas  <kmaraas@gnome.org>

	* gtk/gtkprogressbar.c: Fix a typo.
	* gtk/gtkpaned.c: Fix a typo.
	
Darin Adler's avatar
Darin Adler committed
665 666 667 668 669 670 671 672 673 674 675 676 677
2001-12-15  Darin Adler  <darin@bentspoon.com>

	Fix some warnings.

	* gdk/x11/gdkproperty-x11.c: (gdk_property_get): Fix wrong type in
	g_new -- bug if sizeof (GtkAtom) != sizeof (GtkAtom *).
	* gdk/x11/gdkwindow-x11.c: (create_moveresize_window): FALSE -> NULL
	* gtk/gtkaccellabel.c: (gtk_accel_label_refetch): Remove unused local.
	* gtk/gtklistitem.c: (gtk_list_item_expose): Remove unused local.
	* gtk/gtktextiter.c: (_gtk_text_iter_backward_indexable_segment):
	Restructure loop to get rid of uninitialized variable warning. Also
	gives a tiny efficiency gain.

678 679 680 681 682
2001-12-15  Murray Cumming  <murrayc@usa.net>

	* Fixed first arg type of GtkScale's "format_value" signal's
	function pointer.

683 684 685 686 687 688
2001-12-14            Vitaly Tishkov       tvv@sparc.spb.su
        docs/reference/gtk/tmpl/gtkcelleditable.sgml
                gtkcelleditable -> GtkCellEditable
        docs/reference/gtk/tmpl/gtktreesortable.sgml
                gtktreesortable -> GtkTreeSortable

689 690 691 692 693 694 695
2001-12-13  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* demos/testpixbuf-drawable.c, demos/testpixbuf-save.c,
	demos/testpixbuf-scale.c, demos/testpixbuf.c: Call g_object_ref
	and g_object_unref instead of gdk_pixbuf_ref and gdk_pixbuf_unref
	resp.

Kristian Rietveld's avatar
Kristian Rietveld committed
696 697 698 699 700
Thu Dec 13 22:02:41 2001  Kristian Rietveld   <kris@gtk.org>

	* gtk/gtktreeview.c (validate_visible_area): free path
	at the end

Matthias Clasen's avatar
Matthias Clasen committed
701 702 703 704
2001-12-13  Matthias Clasen  <matthiasc@poet.de>

	* gtk/gtkdialog.c, gtk/gtkrc.c, gtk/gtkwidget.c: Markup fixes.

705 706 707 708 709
Thu Dec 13 20:37:27 2001  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeview.c (gtk_tree_view_button_press): do not try
	to find the clicked node in the tree when tree == NULL

710 711 712 713 714
2001-12-13  Anders Carlsson  <andersca@gnu.org>

	* gtk/gtktreeview.c (gtk_tree_view_button_press): Compare 
	event->state with the default mod mask. 

jacob berkman's avatar
jacob berkman committed
715 716 717 718
2001-12-12  jacob berkman  <jacob@ximian.com>

	* gtk/gtk*.h (GTK_IS_*_CLASS): s/obj/klass/ where appropriate

719 720 721 722 723 724 725
Wed Dec 12 17:22:45 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkimmulticontext.c (gtk_im_multicontext_set_slave):
	Reset the existing slave before removing it to give
	it a chance to commit and emit "preedit_changed" 
	in case there was still a preedit string.

726 727 728 729 730 731 732 733 734 735
2001-12-12  Matthias Clasen  <matthiasc@poet.de>
	
	* gtk/gtktextlayout.c: Typo fixes
	* gtk/gtkwindow.c (gtk_window_set_position): Typo fix. (#66746)

	* gtk/gtkwidget.c (gtk_widget_send_expose, gtk_widget_get_toplevel, 
	gtk_widget_get_default_direction): Doc fixes. (#66727, #66737, #66744)

	* gtk/gtkstyle.h (GTK_STYLE_NUM_STYLECOLORS): Remove. (#66467)

736 737 738 739 740
Wed Dec 12 16:43:10 2001  Jonathan Blandford  <jrb@redhat.com>

	* gtk/gtktreeview.c (gtk_tree_view_unrealize): Remove
	validate_rows_timer in unrealize.  Reported by Matthew Wilson.

741 742 743 744 745 746 747 748 749 750 751
Wed Dec 12 16:18:26 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkmenu.c (gtk_menu_realize): Remove support for
	"prepainting" the menu before realizing other than
	via gtk_style_set_background() - this was broken when
	we added menu scroll support.

	* gtk/gtkmenu.c (gtk_menu_paint): Pay attention to the
	window in the expose event -- fixes problem with border
	flashing during scrolling.

752 753 754 755 756 757
Wed Dec 12 15:11:49 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtksettings.c (gtk_settings_get_property): Support
	using names/nicks for the gdk_settings values for enum valued
	types. (#57678, reported by Anders Carlsson)

758 759 760 761 762 763 764 765
Wed Dec 12 15:01:33 2001  Jonathan Blandford  <jrb@redhat.com>

	* gtk/gtknotebook.c (gtk_notebook_set_tab_label): keep in sync
	with insert_page_menu.  Code duplication is bad.

	* gtk/gtklabel.c (gtk_label_mnemonic_activate): Whoops -- got the
	wrong fix yesterday.

Owen Taylor's avatar
Owen Taylor committed
766 767 768 769 770
Wed Dec 12 14:27:30 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkmenubar.c (window_key_press_handler): Fix check for
	modifiers.

771 772 773 774 775
2001-12-12  James Henstridge  <james@daa.com.au>

	* gtk/gtkmenu.c (gtk_menu_key_press): check GTK_MENU_ITEM
	(menu_item)->accel_path first when looking up the accel path.

776 777 778 779 780
Tue Dec 11 19:18:21 2001  Owen Taylor  <otaylor@redhat.com>

	* tests/testgtk.c (layout_expose_handler): Only draw
	for events on the bin window.

781 782 783 784 785
Tue Dec 11 18:55:16 2001  Jonathan Blandford  <jrb@redhat.com>

	* gtk/gtklabel.c (gtk_label_mnemonic_activate): Small fix to let
	mnemonics work with notebooks.

786 787 788 789 790 791
Tue Dec 11 15:25:06 2001  Jonathan Blandford  <jrb@redhat.com>

	* gtk/gtktreeview.c (gtk_tree_view_size_allocate): Change
	bin_window to be located at y=TREE_VIEW_HEADER_HEIGHT(tree_view).
	Makes some flicker while scrolling go away.

792 793 794 795 796 797
2001-12-11  Michael Natterer  <mitch@gimp.org>

	* demos/testpixbuf-save.c: added new keyboard shortcut 'a' which
	adds alpha to the pixbuf; re-load the saved pixbuf and
	pixel-by-pixel compare it with the original one.

798
Tue Dec 11 15:39:08 2001  Soeren Sandmann  <sandmann@daimi.au.dk>
799

800 801 802
	* ChangeLog: Fix wrong ChangeLog entry
	* gtk/gtkstyle.c (gtk_default_draw_shadow_gap): Fix drawing of top
	right corner
803

804 805 806 807 808 809 810 811 812 813 814
2001-12-10  jacob berkman  <jacob@ximian.com>

	* gdk/x11/gdkinput-xfree.c (_gdk_input_grab_pointer): 
	* gdk/x11/gdkmain-x11.c (gdk_pointer_grab): 
	(gdk_keyboard_grab): do not grab things if the nograb debug flag
	is set

	* gdk/gdkinternals.h: 
	* gdk/gdk.c: add nograbs debug flag to disable grabs of the
	keyboard / mouse

815 816 817 818 819
Mon Dec 10 19:42:29 2001  Jonathan Blandford  <jrb@redhat.com>

	* gtk/gtktreeview.c (validate_rows_handler): stupid bug where I
	didn't reset the timer.

Matthias Clasen's avatar
Matthias Clasen committed
820 821 822 823 824 825 826 827
2001-12-10  Matthias Clasen  <matthiasc@poet.de>

	* gtk/gtkcontainer.c (gtk_container_child_type): Close comment.

2001-12-09  Matthias Clasen  <matthiasc@poet.de>

	* gtk/gtkviewport.c: Add docs.

828 829 830 831 832
Mon Dec 10 16:21:38 2001  Jonathan Blandford  <jrb@redhat.com>

	* gtk/gtkrbtree.c (_fixup_parity): New function to fixup parity.
	RBTree corruption bug--

833 834 835 836 837 838
2001-12-10  Anders Carlsson  <andersca@gnu.org>

	* gtk/gtktreeview.c (gtk_tree_view_remove_widget): Return
	if edited_column is NULL, also grab focus before removing
	the cell_editable.

839 840 841 842 843 844 845
Sun Dec 09 15:06:51 2001  George Lebl <jirka@5z.com>

	* gtk/gtkrange.c (gtk_range_calc_layout): check for 0 value on the
	  denominator in the horizontal case just like we do in the vertical
	  case (why I didn't notice that there were two cases the first time
	  around is beyond me:).  Also fix indentation in the vertical case.

Anders Carlsson's avatar
Anders Carlsson committed
846 847 848 849 850 851 852 853 854 855
2001-12-09  Anders Carlsson  <andersca@gnu.org>

	* gdk/x11/gdkevents-x11.c: Update xsettings name.

	* gtk/gtkdnd.c (gtk_drag_check_threshold): Use the
	gtk-dnd-drag-threshold GtkSetting.

	* gtk/gtksettings.c (gtk_settings_class_init): Add 
	setting for dnd drag threshold.

Matthias Clasen's avatar
Matthias Clasen committed
856 857 858 859
2001-12-09  Matthias Clasen  <matthiasc@poet.de>

	* gtk/gtkcontainer.c: Add docs.

Matthias Clasen's avatar
Matthias Clasen committed
860 861 862 863 864 865 866 867 868 869 870 871 872
2001-12-08  Matthias Clasen  <matthiasc@poet.de>

	* gtk/gtkwidget.c: Doc markup fix. 

	* gtk/gtktreeviewcolumn.c: Markup fixes. (#66447)

	* gtk/gtktreestore.c: Typo fixes. (#66445)

	* gtk/gtkaccelgroup.c: Misc doc markup. (#66425) 

	* gtk/gtkclipboard.c (gtk_clipboard_get_owner): Fix reference
	to gtk_clipboard_set_with_owner(). (#66424)
 
873 874 875 876 877 878
Sat Dec  8 16:12:10 2001  Christopher Blizzard  <blizzard@redhat.com>

	* gdk/gdk.c (gdk_init_check): Fallback to setting the prgname to
	"<unknown>" if someone doesn't pass in a valid argc.  (Patch from
	Fabrice Bellet <fabrice@gnu.org>, #54127).

879 880 881 882 883 884
Sat Dec  8 10:04:54 2001  Jonathan Blandford  <jrb@redhat.com>

	* gtk/gtkrbtree.c (_gtk_rbtree_debug_spew): Add debug spew to lots
	of places, so that people with crashy trees can just run their
	program with GTK_DEBUG=TREE.

885 886 887 888 889
Sat Dec  8 20:57:24 2001  Kristian Rietveld  <kristian@planet.nl>

	* gtk/gtkliststore.c (gtk_list_store_remove): nuke the stamp++,
	per jrb's request

890 891 892 893 894
2001-12-08  Anders Carlsson  <andersca@gnu.org>

	* tests/testgtk.c (layout_expose_handler): Don't return TRUE
	since then the default GtkLayout expose handler won't be called.

895
Fri Dec  7 23:42:50 2001  Jonathan Blandford  <jrb@redhat.com>
Jonathan Blandford's avatar
Jonathan Blandford committed
896 897 898 899 900 901 902 903

	* gtk/gtktreeview.c (validate_rows_handler): remove
	g_return_if_fail.

	* gtk/gtktreeview.c (validate_visible_area): Patch from Manish
	Singh <yosh@gimp.org> to fix bug when rendering Tree with an
	empty model.

Jonathan Blandford's avatar
Jonathan Blandford committed
904 905 906 907 908 909 910 911 912 913 914 915
Fri Dec  7 20:06:14 2001  Jonathan Blandford  <jrb@redhat.com>

	* gtk/gtktreeview.c (validate_visible_area): get logic right,
	#66249

	* gtk/gtkrbtree.c (_gtk_rbtree_remove_node): fix bug where
	removing a node ended up with a corrupt tree.  Really really nasty
	bug.
	(_gtk_rbtree_debug_spew): new debug helper function
	(_fixup_validation): new inline function to clean up code
	readability a lot. 

Owen Taylor's avatar
Owen Taylor committed
916 917 918 919 920
Fri Dec  7 19:34:51 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtktoolbar.c (gtk_toolbar_insert_element):
	Close comment.

Matthias Clasen's avatar
Matthias Clasen committed
921 922 923 924 925 926 927 928
2001-12-07  Matthias Clasen  <matthiasc@poet.de>

	* gtk/gtkstyle.h: Typo fixes.

	* gtk/gtkstyle.c, gtk/gtktoolbar.c: Add docs.

	* gtk/gtkrc.c (gtk_rc_find_pixmap_in_path): Fix docs.

929 930 931 932 933 934
Fri Dec  7 16:05:22 2001  Owen Taylor  <otaylor@redhat.com>

	* modules/input/gtkimcontextxim.c: Display the XIM
	status callbacks with a popup window. (Patch from
	HideToshi Tajima, #50628, somewhat modified.)

935 936 937 938 939 940
Fri Dec  7 12:07:15 2001  Tim Janik  <timj@gtk.org>

	* gtk/Makefile.am: each source generation rule needs to use its own
	temporary file, to avoid clashes for parallel builds. fixed rules
	for gtkmarshalers.h and gtkmarshalers.c to use their own temp files.

941 942 943 944 945
2001-12-07  Havoc Pennington  <hp@pobox.com>

	* gdk/x11/gdkcursor-x11.c (gdk_cursor_new): fix up my list of
	"cursors that are actually useful" in gdk_cursor_new() docs

946 947 948 949 950
Thu Dec  6 23:09:21 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtk[hv]paned.c (gtk_[hv]paned_size_allocate): Fix errors
	in computing the size of the second child.

951 952 953 954 955 956
Thu Dec  6 16:50:17 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkrange.c: Make button 1 clicks on the trough
	do pages, button 3 steps. (Patch from Hans Breuer
	#63735)

Matthias Clasen's avatar
Matthias Clasen committed
957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977
2001-12-06  Matthias Clasen  <matthiasc@poet.de>

	* gtk/gtklabel.c: Fix docs. (#66383)

	* gtk/gtkbbox.c (gtk_button_box_set_child_secondary): Fix docs. 
     	(#66278, #66280)
	
	* gdk/gdkwindow.h (gdk_window_get_deskrelative_origin),
	gdk/gdkimage.h (gdk_image_get): Deprecate. (#66208)

	* gtk/gtkcolorsel.c (gtk_color_selection_set_update_policy):
	Don't emit a g_warning() about being deprecated. (#66208)	

	* gtk/gtkaccellabel.c (gtk_accel_label_set_accel_widget): Add docs.

	* gtk/gtkcontainer.c: Doc fixes.
	
	* gtk/gtkliststore.c (gtk_list_store_clear): Add docs; misc doc fixes.

	* gtk/gtkstyle.c (gtk_style_attach): Add docs.

978 979 980 981 982 983
2001-12-05  Sven Neumann  <sven@gimp.org>

	* gtk/gtkwidget.c (gtk_widget_reset_shapes): close comment.

	* gtk/queryimmodules.c: g_dir_read_name() returns const.

984 985 986 987 988
Tue Dec  4 21:46:13 2001  HideToshi Tajima  <hidetoshi.tajima@sun.com>

	* gtk/gtktreeprivate.h: restore the else case of #ifdef __GNUC__
	#66225
	
989 990 991 992 993 994 995 996 997 998 999
2001-12-04  Manish Singh  <yosh@gimp.org>

	* gtk/gtkmain.c
	* gtk/queryimmodules.c: g_module_symbol takes a gpointer *, not just
        a gpointer.

	* gtk/gtkwidget.c (gtk_widget_push_composite_child): minor cosmetic
	correction to docs.

	* demos/gtk-demo/item_factory.c: add GTK_WINDOW() cast

1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040
2001-12-04  Havoc Pennington  <hp@redhat.com>

	* gtk/gtktextbtree.c (gtk_text_btree_remove_tag_info): remove
	g_assert_not_reached() that was bogus, since we demand-create the
	tag info. reported by Chris Phelps

        Jump through assorted hoops to fix bug from Chris Phelps where 
	removing tags from the table resulted in btree trying to 
	access tag->table
	
	* gtk/gtktextbuffer.c: set up mechanics of adding/removing 
	ourselves to the tag table

	* gtk/gtktexttagtable.c (_gtk_text_tag_table_add_buffer) 
	(_gtk_text_tag_table_remove_buffer): private cruft to 
	let us notify buffer of disappearing tags

	* gtk/gtktexttag.h: remove BTreeNode typedef from this public
	header, put it in tagprivate	

	* gtk/gtktextbtree.c (_gtk_text_btree_new): don't connect to
	tag_removed; it's emitted too late.
	(_gtk_text_btree_notify_will_remove_tag): rename tag_remove_cb to
	this

	Padding for ABI-compat expansion
	
	* gtk/gtktexttag.h (struct _GtkTextAttributes): pad this
	(struct _GtkTextAppearance): one pad in here too

	* gtk/gtktextlayout.h (struct _GtkTextLayoutClass): padding here

	* gtk/gtktextview.h (struct _GtkTextViewClass): more padding,
	since action signals etc. seem pretty likely

	* gtk/gtktextbuffer.h (struct _GtkTextBufferClass): padding

	* gtk/gtktexttag.h (struct _GtkTextTagClass): padding

	* gtk/gtktexttagtable.h (struct _GtkTextTagTableClass): padding

Matthias Clasen's avatar
Matthias Clasen committed
1041 1042 1043 1044 1045 1046 1047 1048
2001-12-04  Matthias Clasen  <matthiasc@poet.de>

        * gdk/gdkcolor.h (gdk_colormap_change): Deprecate. (#65851)

        * gdk/gdktypes.h (GdkKeyInfo): Remove. (#66025)

	* gtk/gtkwindow.c, gtk/gtkwidget.c: Add docs, markup fixes.

1049 1050 1051 1052 1053
Tue Dec  4 18:51:44 2001  Jonathan Blandford  <jrb@redhat.com>

	* gtk/gtktreeviewcolumn.h: remove gtk_tree_view_column_cell_event,
	#62084.

Jonathan Blandford's avatar
Jonathan Blandford committed
1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067
Tue Dec  4 18:38:35 2001  Jonathan Blandford  <jrb@redhat.com>

	* demos/gtk-demo/main.c: (create_tree): Minor fix.

	* docs/tree-column-sizing.txt: Update

	* gtk/gtkrbtree.[ch]: Massive work to support validation.

	* gtk/gtktreemodel.c: Doc fixes.

	* gtk/gtktreeview.c: Incremental reflow added.
	* gtk/gtktreeviewcolumn.c: ditto
	* gtk/gtktreeviewcolumn.h: ditto

1068
2001-12-04  Havoc Pennington  <hp@redhat.com>
1069
	
1070 1071 1072
	* gtk/gtktexttag.c (gtk_text_tag_set_property): add a warning for
	"invisible" property, #65999

Matt Wilson's avatar
Matt Wilson committed
1073 1074 1075 1076
2001-12-04  Matt Wilson  <msw@redhat.com>

	* gtk/gtktreestore.c (gtk_tree_store_insert): fixed docs

1077 1078 1079 1080 1081 1082
Tue Dec  4 12:16:31 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtksettings.c (gtk_settings_set_property_value):
	Simplify, make more efficient and fix memory leak
	when turning quark into a string. (#66103, HideToshi
	Tajima)
1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098

	* gtk/gtkcolorsel.c: Ref and sink priv->tooltips in
	init() and unref priv->tooltips in destroy rather
	than calling gtk_object_destroy() which has no
	effect on memory management. (#66104, HideToshi
	Tajima)

	* gtk/gtkcolorsel.c (palette_set_color): Use g_object_set_data_full()
	so we free the when the object is freed. (Fixes memory
	leak, #66096, HideToshi Tajima)

	* gdk/gdkevents.c (gdk_synthesize_window_state): Use 
	a full GdkEvent structure to avoid reads of uninitialized/
	invalid memory in gdk_event_put() (#65877, patch
	from Hidetoshi Tajima)

1099 1100 1101 1102 1103 1104 1105 1106
Tue Dec  4 11:06:54 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkmenuitem.c: Revert my last mistaken change - 
	toggle-size-request doesn't take a requisition.

	* gtk/gtkmenuitem.c (gtk_menu_item_class_init): Fix
	reference to marshaler that no longer exists.

1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154
Mon Dec  3 16:39:17 2001  Owen Taylor  <otaylor@redhat.com>

	Patch from Bill Haneman (with many modifications) to make
	the focus color work on dark themes and to make the
	focus line width configurable. (#61079, #63074)

        * gtk/gtkwidget.c: Add style properties, 
	::focus-widget, ::focus-line-width, and ::focus-padding.

	* gtk/gtkstyle.[ch]: Make gtk_paint_focus() take a 
	state argument as well so we can use fg[STATE] to
	draw instead of always drawing with black. 
	Cange paint_focus() to respect GtkWidget::focus-width
	and GtkWidget::focus-line-pattern. Fix continuity
	problem where the default 1-1 stipple had a blob
	in one corner and a gap in the other. Change the
	interpretation of x/y/width/height to be the bounding
	box of the focus rect instead of the rectangle
	passed to gdk_draw_rectangle.

	* gtk/gtkcheckbutton.c gtk/gtklistitem.c gtk/gtknotebook.c 
	gtk/gtkoptionmenu.c gtk/gtkradiobutton.c gtk/gtkspinbutton.c 
	gtk/gtktextview.c gtk/gtktreeview.c: Handle ::focus-width 
	and ::focus-line-padding.

	* gtk/gtkentry.c: Handle :;focus-width property; cleanup
	and remove duplicated code; fix drawing of focus rectangle
	when interior-focus = FALSE. (#63072, #63073)

	* gtk/gtkrange.c gtk/gtktext.c gtk/gtktreeitem.c
	gtk/gtktreeviewcolumn.c: Basic fixups to make compile;
	Range and TreeViewColumn will need more extensive fixing.

	* gtk/gtkcolorsel.c: Honor focus line attributes when
	drawing the focus on the color swatches. (#63071)

	* gtk/gtkhsv.c: Honor focus line attributes when
	drawing the focus for the ring and triangle.

	* docs/widget_geometry.txt: Start at documenting how 
	various widgets are drawn.

	* gtk/gtkbutton.c (_gtk_button_paint): Export 
	_gtk_button_paint() librarywide, so we don't have 
	duplicate a bunch of code in gtktogglebutton.c.

	* gtk/gtktogglebutton.c: Use _gtk_button_paint().

1155 1156 1157 1158 1159
Mon Dec  3 21:04:13 2001  Jonathan Blandford  <jrb@redhat.com>

	* gtk/gtkmarshalers.list: remove VOID:BOXED,POINTER and
	NONE:POINTER.

1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172
2001-12-03  Alex Larsson  <alexl@redhat.com>

	* gtk/gtkaccellabel.c:
	* gtk/gtkarrow.c:
	* gtk/gtkcolorsel.c:
	* gtk/gtkcontainer.c:
	* gtk/gtklabel.c:
	* gtk/gtktextview.c:
	* gtk/gtktogglebutton.c:
	* gtk/gtktreeview.c:
	* gtk/gtkwindow.c:
	Return FALSE from expose handlers.

1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192
Mon Dec  3 21:15:59 2001  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreedatalist.c (_gtk_tree_data_list_value_to_node): if
	we use pointers, we should free the previous pointer first (if
	it exists), before we set a new pointer. (#64726)

	* gtk/gtktreeprivate.h: get rid of cursor_drag

	* gtk/gtktreeview.c (gtk_tree_view_unrealize): remove check	
	for cursor_drag
	(gtk_tree_view_bin_expose): don't directly return in the while
	loop
	(gtk_tree_view_class_init): indentend expanders by default
	(gtk_tree_view_header_focus): only give the button focus
	if it's clickable, visible and the column is reorderable
	(#65539)

	* gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_realize_button):
	create and free cursor

1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203
Mon Dec  3 10:23:07 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkcalendar.c (gtk_calendar_size_request): Fix
	some bugs with size requisition. (From Bill Haneman)

	* gtk/gtkcalendar.c: Draw headers and selection in 
	base/text[SELECTED] instead of fg/bg[SELECTED].

	* gtk/gtkcalendar.c: Miscellaneous cleanups to drawing
	code and formatting.

1204 1205 1206 1207 1208 1209
2001-12-03  Havoc Pennington  <hp@pobox.com>

	* gtk/gtktextview.c (set_window_height): 
	(set_window_width): Hmm, setter functions normally assign the new
	value to the object field. Reported by Chris Phelps.

1210 1211 1212 1213 1214
2001-11-30  jacob berkman  <jacob@ximian.com>

	* gtk/gtknotebook.c (gtk_notebook_remove_tab_label): set the
	signal id to 0 after we disconnect from it

Matthias Clasen's avatar
Matthias Clasen committed
1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227
2001-11-30  Matthias Clasen  <matthiasc@poet.de>

	* gdk/gdkdrawable.h (gdk_drawable_ref, gdk_drawable_unref),
	gdk/gdkcolor.h (gdk_colormap_ref, gdk_colormap_unref),
	gdk/gdkdnd.h (gdk_drag_context_ref, gdk_drag_context_unref),
	gdk/gdkgc.h (gdk_gc_ref, gdk_gc_unref):	 Deprecate.

	* gdk/gdkvisual.h: Use GDK_DISABLE_DEPRECATED, not 
	GTK_DISABLE_DEPRECATED.

	* gdk/gdkcolor.c (gdk_colormap_ref, gdk_colormap_unref),
	gdk/gdkgc.c (gdk_gc_ref, gdk_gc_unref): Document.

1228 1229 1230 1231 1232 1233
Fri Nov 30 16:37:01 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkcombo.c (gtk_combo_popup_list): Sanitize
	move/resize code, removing various bad, non-functional
	hacks. (Fixes #65048, reported by Damon Chaplin.)

1234 1235 1236 1237 1238 1239 1240 1241
Fri Nov 30 16:12:21 2001  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdkpango.c: Patch from Hidetoshi Tajima to fix 
	bad match error when target drawable is not the 
	same depth as the root window. (#65841)

	* HACKING: Update.

Matthias Clasen's avatar
Matthias Clasen committed
1242 1243 1244 1245
2001-11-29  Matthias Clasen  <matthiasc@poet.de>

	* gdk/gdkwindow.c: Typo fix.

1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267
Thu Nov 29 21:35:56 2001  Kristian Rietveld  <kristian@planet.nl>

	* gtk/gtkmenu.c (gtk_menu_motion_notify): add checks for
	empty menu items to behave like insensitive items (#59456)

	* gtk/gtkmenuitem.c (gtk_real_menu_item_activate_item): select
	next item if the first item in the menu is a tear off item
	(#59456-2, suggestion by Matthias Clasen)

	* gtk/gtkmenushell.c (gtk_menu_shell_button_press),
	(gtk_menu_shell_button_release), (gtk_menu_shell_entry_notify),
	(gtk_menu_shell_leave_notify), (gtk_real_menu_shell_move_current),
	(gtk_real_menu_shell_activate_current): add check, so empty
	menu items behave like insensitive items (#59456)
        
	* gtk/gtkmenuitem.[ch]: add _gtk_menu_item_is_selectable to make
	the checks more readable ...
	
	* gtk/gtkmenushell.c (gtk_menu_shell_button_press),
	(gtk_menu_shell_button_release): causes the menu to dropdown if the
	caption is clicked again (#64977)

1268 1269 1270 1271 1272 1273
2001-11-29  Havoc Pennington  <hp@redhat.com>

	* gtk/gtktextiter.c (_gtk_text_iter_forward_indexable_segment):
	assertion here that we were at the end iterator was not correct;
	change code to move us to the end iterator. bug #65731

1274 1275 1276 1277 1278 1279 1280
Wed Nov 28 20:05:44 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkaccellabel.c (gtk_accel_label_refetch): Remove 
	improper use of g_locale_to_utf8() to convert from
	latin-1, and do it the easy way by building the string
	correctly in the first place.

1281 1282 1283 1284 1285 1286
Wed Nov 28 19:34:15 2001  Owen Taylor  <otaylor@redhat.com>

	* gdk/x11/gdkproperty-x11.c (gdk_property_change, gdk_property_get): 
	Convert atoms to and from atoms for properties of type XA_ATOM.
	(#65555, patch from Hidetoshi Tajima)

1287 1288 1289 1290 1291
Wed Nov 28 18:37:04 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtksocket.[ch] (gtk_socket_add_id): Rename 'id' parameter 
	to avoid problems with Objective C.

Matthias Clasen's avatar
Matthias Clasen committed
1292 1293 1294 1295 1296 1297 1298 1299 1300
2001-11-28  Matthias Clasen  <matthiasc@poet.de>
	
	* gtk/gtkaccelmap.c: Typo fixes. (#65607)

	* gtk/gtkfixed.c (gtk_fixed_set_has_window, gtk_fixed_get_has_window):
	Fix docs. (#65505)

	* gtk/gtkwindow.c (gtk_window_set_mnemnonic_modifier): Document.

1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316
Wed Nov 28 18:19:12 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkmenu.c (gtk_menu_set_tearoff_hints): Move
	accounting of menu->tearoff_scrollbar width to here
	and make sure we have the correct requisition.

	* gtk/gtkmenu.c (gtk_menu_position): Fix fixme
	by using gtk_window_move().

	* gtk/gtkmenu.c (gtk_menu_set_tearoff_state): Force
	the requisition to be updated by calling
	gtk_widget_size_request() (#65440)

	* gtk/gtktearoffmenuitem.c (gtk_tearoff_menu_item_activate): 
	queue resize before calling gtk_menu_set_tearoff_state().

Kristian Rietveld's avatar
Kristian Rietveld committed
1317 1318 1319 1320 1321 1322 1323
Wed Nov 28 22:20:44 2001  Kristian Rietveld  <kristian@planet.nl>

	* demos/gtk-demo/editable_cells.c: fix typo

	* demos/gtk-demo/list_store.c (add_columns): remove call to
	gtk_tree_view_column_set_clickable which didn't make sense

1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334
2001-11-28  Havoc Pennington  <hp@redhat.com>

	* gtk/gtktextview.c (gtk_text_view_paint): put the warning
	explaining the validation error in front of the G_BREAKPOINT

	* gtk/gtkrange.c (gtk_range_adjustment_value_changed): call
	process updates with include_children = FALSE instead of TRUE, so
	we redraw the range only, not the whole darn window.  Making
	GtkRange a NO_WINDOW widget had weirdly caused the text widget
	Trace/breakpoint trap bug to become much easier to trigger.

1335 1336 1337 1338 1339
Wed Nov 28 14:12:03 2001  Owen Taylor  <otaylor@redhat.com>

	* gdk/Makefile.am (gdk_public_h_sources): Remove reference
	to gdkcursors.h.

Matthias Clasen's avatar
Matthias Clasen committed
1340 1341
2001-11-28  Matthias Clasen  <matthiasc@poet.de>

Matthias Clasen's avatar
Matthias Clasen committed
1342 1343
	* gtk/gtkwindow.c (gtk_window_move): Add markup to docs.

Matthias Clasen's avatar
Matthias Clasen committed
1344 1345 1346 1347 1348 1349 1350 1351 1352 1353
	* gdk/gdkcursor.h: Directly include the contents
	of gdkcursors.h in the GdkCursorType enum.

	* gdk/gdkcursors.h: Deleted.

	* gdk/gdkkeysyms.h: Remove XFree86-specific keysyms, add 
	header boilerplate.

	* gdk/Makefile.am: Remove the X-derived-headers rule.

1354 1355 1356 1357 1358 1359
Tue Nov 27 20:17:55 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkcheckmenuitem.c (gtk_check_menu_item_activate):
	Notify on the ::active property _here_, not in
	gtk_check_menu_item_set_active.

1360 1361 1362 1363 1364 1365
Mon Nov 26 19:11:18 2001  Jonathan Blandford  <jrb@redhat.com>

	* gtk/gtkcellrendererpixbuf.c
	(gtk_cell_renderer_pixbuf_class_init): add 2 properties
	(PIXBUF_EXPANDER_OPEN and PIXBUF_EXPANDER_CLOSED)

1366 1367 1368 1369 1370 1371 1372 1373
Sun Nov 25 21:19:02 2001  Owen Taylor  <otaylor@redhat.com>

	* gdk/x11/gdkgeometry-x11.c: Add long, but horribly sketchy
	comment about what is going on in this file.

	* gdk/x11/gdkgeometry-x11.c (gdk_window_compute_position): Fix 
	x/y problem.

1374 1375 1376 1377 1378 1379 1380 1381 1382 1383
Sun Nov 25 18:59:19 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkoptionmenu.c (gtk_option_menu_calc_size): 
	Calculate size based on the _child_ of the menu item,
	not the menuitem. (#65005, Damon Chaplin)

	* gtk/gtklistitem.c (gtk_list_item_new_with_label): Add
	some extra vertical padding to the label widget ... restores
	GTK+-1.2 spacing. (#65085, Damon Chaplin.)

1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396
2001-11-26  Tor Lillqvist  <tml@iki.fi>

	* demos/pixbuf-demo.c
	* demos/gtk-demo/pixbufs.c: M_PI -> G_PI.

	* demos/gtk-demo/main.c (read_line): No flockfile() or
	getc_unlocked() on Win32.

2001-11-25  Tor Lillqvist  <tml@iki.fi>

	* configure.in
	* acconfig.h: As we now use GDir, no need to check for dirent.h.

1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411
Sun Nov 25 23:18:39 2001  Kristian Rietveld  <kristian@planet.nl>

	* gtk/gtktexttag.c (gtk_text_tag_set_property): free font_desc
	when finished (#65266)

Sun Nov 25 23:16:29 2001  Kristian Rietveld  <kristian@planet.nl>

	* gdk/x11/gdkwindow-x11.c (gdk_window_set_icon_list): free
	data after we set the property. (#65264)

Sun Nov 25 23:14:06 2001  Kristian Rietveld  <kristian@planet.nl>

	* gtk/gtkbutton.c: add destroy method so label_text gets freed
	if it has been allocated (#65268)

1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423
Sat Nov 24 13:39:51 2001  Manish Singh  <yosh@gimp.org>

	* gdk/linux-fb/gdkdrawable-fb2.c
	* gdk/linux-fb/gdkpango-fb.c: update to latest Pango API

	* gdk/linux-fb/gdkwindow-fb.c: implement gdk_window_show_unraised

	* gdk/linux-fb/gdkfont-fb.c (gdk_font_load): plug memleak on
	set_family
	
	* gdk/linux-fb/gdkfbswitch.c: minor cleanups

1424 1425 1426 1427 1428
Sat Nov 24 22:05:27 2001  Kristian Rietveld  <kristian@planet.nl>

	* gtk/gtkmenushell.c (gtk_menu_shell_button_release): don't
	deactivate menu when menu_item isn't sensitive (#61389)

1429 1430 1431 1432 1433
Sat Nov 24 15:35:26 2001  Kristian Rietveld  <kristian@planet.nl>

	* gtk/gtktreemodel.c (gtk_tree_model_foreach): free path before
	we return (in case of a failure here)

1434 1435 1436 1437 1438 1439 1440 1441
Fri Nov 23 19:22:50 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtknotebook.c: Handle events in windows other
	than widget->event_window properly. (#65079, reported
	by Damon Chaplin)

	* gdk/gdkevents.c (gdk_event_get_coords): Fix x/y bug.

1442 1443 1444
Fri Nov 23 18:57:46 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkmessagedialog.c (gtk_message_dialog_init): Align
1445
	the image at the top. (#65020, request from Seth Nickell)
1446

1447 1448 1449 1450 1451 1452
Fri Nov 23 18:49:53 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/{gtkclist,gtkctree.c} (draw_row): Remove some strange
	arithmetic that was resulting in rows being drawn too low.
	(#65001, reported by Damon Chaplin)

1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463
Fri Nov 23 18:36:42 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkrange.c (gtk_range_button_press): Offset 
	invalidated range correctly.

	* gtk/gtkclist.c (hadjustment_value_changed): Fix scrolling 
	of title window. (#65001, reported by Damon Chaplin)

	* gtk/gtkcombo.c (gtk_combo_button_event_after): Replace
	horrible hack with use of ::event_after.

1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485
Thu Nov 22 15:01:03 2001  Owen Taylor  <otaylor@redhat.com>

	* Version 1.3.11

	* configure.in (ATK_REQUIRED_VERSION): Require
	GLib-1.3.11, Pango-0.22, ATK-0.7.

	* tests/prop-editor.c (property_widget): Restore
	to working as well as it did before.

	* gtk/gtklistitem.h: Mark deprecated since it is
	an integral part of GtkList.

 	* demos/gtk-demo/demo-common.h: New header file,
	for a common functions not important to the meat
	of the demos.
	
	* demos/gtk-demo/main.c (demo_ifind_file): Add a utility
	function to search for a file used by the demo.

	* demos/*.c: Use demo_find_file.

1486 1487 1488 1489 1490 1491 1492 1493
2001-11-23  Matthias Clasen  <matthiasc@poet.de>

	* gtk/gtktextbuffer.c (gtk_text_buffer_create_tag),
	gtk/gtkruler.c (gtk_ruler_get_metric): Actually commit typo 
	fixes already mentioned in ChangeLog entry on 2001-11-14.

	* docs/reference/gtk/tmpl/drawing.sgml: Minor markup fixes.

Hans Breuer's avatar
Hans Breuer committed
1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510
2001-11-23  Hans Breuer  <hans@breuer.org>

	* gdk/win32/gdkfont-win32.c (gdk_font_from_description) : 
	reflect Pango API change

	* gtk/gtk.def : updated externals

	* gtk/gtkfixed.c (gtk_fixed_get_has_window) : use 
	g_return_val_if_fail() to avoid 'function must return a value'

	* gtk/gtkrc.c : added spaces to fix small coding style issues
	* gtk/gtkwidget.c : ... and linebreaks. Also a static for
	'static correctness'

	* gtk/makefile.msc.in : temporary(?) disable gtk<plug|socket>
	because they only can be build on win32 after applying my patch

1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523
Wed Nov 21 22:55:37 2001  Tim Janik  <timj@gtk.org>

	* gtk/gtkbutton.c (gtk_button_map): raise event window afte
	children, in order for the input pnly window to stay *above*
	children.

Wed Nov 21 22:44:27 2001  Tim Janik  <timj@gtk.org>

	* tests/testtreeview.c: make hackery worse ;) by checking fundamental
	type walks againts G_TYPE_FUNDAMENTAL_MAX.
	
	* tests/prop-editor.c: disable type hackery.

Owen Taylor's avatar
Owen Taylor committed
1524 1525 1526 1527 1528
Wed Nov 21 17:41:39 2001  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdkimage.c (gdk_image_get): Fix problem with
	lost parameter.

1529 1530 1531 1532 1533 1534
Wed Nov 21 17:01:25 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkcellrenderer.h gtk/gtktreemodel.h 
	gtk/gtktreeprivate.h gtk/gtktreesortable.h: Remove
	trailing commas in enum declarations.

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
Wed Nov 21 15:21:26 2001  Owen Taylor  <otaylor@redhat.com>

	* configure.in (GTK_MICRO_VERSION): Version 1.3.11, 
	interface, binary age 0.

	* NEWS: Updates

	* gtk/gtktreemodel.c gtk/gtkrc.c gtk/gtkentry.c: SGML
	fixes in docs.

	* gtk/gtkmain.h: Remove unused and misnamespaced
	get_gtk_win32_directory() prototype.

	* gdk/gdkimage.c (gdk_image_get): Fix parameter names
	to match header.

	* gdk/gdkwindow.h: Fix parameters to gdk_window_shape_combine_mask(),
	gdk_window_set_transient_for(), gdk_window_set_geometry_hints(),
	to match docs.

	* gdk/gdkevents.c (gdk_event_get_coords)
	  gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_get_active)
	  gtk/gtkdnd.c (gtk_drag_set_icon_stock):
	Fix parameter names in docs.
	
	* docs/faq/Makefile.am (FAQ_FILES): Add missing files.
	(#64961, Akira Tagoh)

1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585
Wed Nov 21 11:41:29 2001  Owen Taylor  <otaylor@redhat.com>

	* tests/testgtk.c (create_tooltips): Ref-sink the tooltips object.

	* gtk/gtktoolbar.c (gtk_toolbar_init): Ref-sink the tooltips object.

	* gtk/gtkfilesel.c (open_new_dir): Fix some constness warnings.

	* gtk/gtkaccelgroup.c: Rename gtk_accel_groups_from_acceleratable()
	back to gtk_accel_groups_from_object(), change @acceleratable
	parameter to gtk_accel_groups_activate() accordingly.

	* gtk/gtkaccelmap.c (gtk_accel_map_lookup_entry): Remove
	left-over comment about quark return.

	* gtk/gtkaccelmap.h: Fix spelling of gtk_accel_map_foreach_unfiltered().

 	* gtk/gtk-boxed.defs (GtkIconSource): added as a boxed type.
        (Patch from Matt Wilson)

	* gtk/gtkobject.c (gtk_object_finalize): Warn if a floating
	object is finalized.

1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636
Tue Nov 20 21:25:08 2001  Tim Janik  <timj@gtk.org>

	* applied patch from owen to get rid of accel map notifiers.
	changed things to fix reentrancy and API as discussed on gtk-devel.

	* gtk/gtkaccelgroup.[hc]:
	(gtk_accel_group_finalize): unregister this accel group from all
	accel map paths.
	(accel_closure_invalidate): handle invalidation of closures by
	disconnecting their accelerators.
	(quick_accel_add): move closure connection and changed notification
	into this function to reduce code duplication. don't emit change
	notification on closurers without accelerators.
	(quick_accel_remove): rewrite, do the exact opposite of quick_accel_add
	for a GtkAccelGroupEntry.
	(gtk_accel_group_connect): get rid of the accel_path_quark argument.
	(gtk_accel_group_connect_by_path): new function to add accelerators
	with an accel path.
	(gtk_accel_group_disconnect_closure): new function, disconnect a
	closure from of an accel group.
	(gtk_accel_group_disconnect): loop over all closure for a accel_ley,
	accel_mods pair and remove them.
	(_gtk_accel_group_reconnect): new function that basically does
	gtk_accel_group_disconnect_closure() and
	gtk_accel_group_connect_by_path() once an accel path changed.
	(gtk_accel_groups_disconnect_closure): remove this, there's
	gtk_accel_group_disconnect_closure().
	
	* gtk/gtkaccelmap.[hc]: keep list of accel groups per entry now,
	nuke notifiers.
	(_gtk_accel_path_is_valid): make this non-static for
	gtkwidget.c and gtkaccelgroup.c assertions.
	(gtk_accel_map_add_notifer): removed this function.
	(gtk_accel_map_remove_notifer): same.
	(_gtk_accel_map_add_group):
	(_gtk_accel_map_remove_group): (un-)register accel groups, with
	accel paths for correct propagation.
	(gtk_accel_map_add_entry): return void.
	(gtk_accel_map_lookup): return gboolean instead of GQuark.
	
	* gtk/gtkitemfactory.c (gtk_item_factory_add_foreign): always
	set accel_path on widgets.
	
	* gtk/gtkwidget.[hc]:
	(accel_path_changed): got rid of this, changes are handled by
	accel maps internally now.
	(_gtk_widget_set_accel_path): get things to work without notifiers.
	(gtk_widget_list_accel_closures): list accel closures of a widget.
	
	* gtk/gtkwindow.[hc]: rename ::accels_changed, to ::keys_changed.

Matthias Clasen's avatar
Matthias Clasen committed
1637 1638 1639 1640
2001-11-20  Matthias Clasen  <matthiasc@poet.de>

	* gtk/gtkcontainer.c (gtk_container_propagate_expose): Typo fix.

1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655
Tue Nov 20 23:01:01 2001  Kristian Rietveld  <kristian@planet.nl>

	* gtk/gtktreemodel.c (gtk_tree_row_reference_unref_path):
	replace gboolean free_last in the function parameters with
	gint depth. Changes to reflect new situation.

	* gtk/gtktreemodel.c (gtk_tree_row_reference_unref_path_helper):
	replace gboolean free_last, with gint depth, add gint current_depth.
	Changes to reflect new situation.

	* gtk/gtktreemodel.c (gtk_tree_row_ref_deleted_callback): changes
	to reflect new situation

	* gtk/gtktreemodel.c (gtk_tree_row_reference_free): ditto

1656 1657 1658 1659 1660 1661 1662 1663
Tue Nov 20 12:37:10 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtknotebook.c (gtk_notebook_paint): Fix problem
	where notebook gap was double shifted by allocation.x/y

	* gtk/gtknotebook.c (gtk_notebook_unmap): Chain up
	to unmap children.

1664 1665 1666 1667 1668 1669 1670 1671 1672 1673
Tue Nov 20 14:49:59 2001  Tim Janik  <timj@gtk.org>

	* gtk/gtkvpaned.c (gtk_vpaned_size_allocate): fix
	allocation to be relative to paned->allocation, now
	that this is a NO_WINDOW widget.
	* gtk/gtkhpaned.c (gtk_hpaned_size_allocate): same here.

	* gtk/gtkaccellabel.c (gtk_accel_label_class_init): ::closure
	needs to be a boxed property.

1674 1675 1676 1677 1678 1679 1680
Mon Nov 19 17:34:40 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkradiobutton.c (gtk_radio_button_draw_indicator):
	Use the widget's state when drawing the indicator, as
	in GtkCheckButton. This gives us color changes for
	un-prelighted checkbuttons. (#63308, Matt Wilson)

1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703
Mon Nov 19 17:11:23 2001  Owen Taylor  <otaylor@redhat.com>

	(Fixes related to #64428, Michael Meeks)

	* gtk/gtkplug.c (gtk_plug_set_is_child): Unmap the
	widget, so it gets mapped again properly when we
	add to a parent.

	* gtk/gtkplug.c (_gtk_plug_add_to_socket): Set
	plug->socket_window. 

	* gtk/gtkplug.c (_gtk_plug_remove_from_socket): Set
	socket_window to NULL, not FALSE.

	* gtk/gtkplug.c (_gtk_plug_add_to_socket): Set
	socket->same_app to TRUE. (#64612)

Mon Nov 19 15:50:41 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkfixed.[ch] docs/Changes-2.0.txt: Add 
	gtk_fixed_set/get_has_window() to remove criticism
	about GTK_WIDGET_SET_FLAGS() hacks.

1704 1705 1706 1707 1708 1709
2001-11-19  Michael Natterer  <mitch@gimp.org>

	* gtk/gtknotebook.c: show notebook->event_window with
	gdk_window_show_unraised(), so it doesn't catch the events which
	should go to the tab widgets first.

1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723
Mon Nov 19 15:30:51 2001  Jonathan Blandford  <jrb@redhat.com>

	* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_class_init): Add a
	"resizable" property, to get rid of the
	GTK_TREE_VIEW_COLUMN_RESIZABLE sizing flag.
	(gtk_tree_view_column_set_resizable): New function to set resizable.
	(gtk_tree_view_column_set_resizable): getter.

	* tests/testtreecolumns.c (add_clicked): modify for above change.

	* Makefile.am (install-data-hook): remove old .pc files before
	installing the new one.  We used to symlink this, and it will
	break old installs.

1724 1725 1726 1727 1728
2001-11-19  Havoc Pennington  <hp@pobox.com>

	* tests/testtext.c (fill_example_buffer): put in a test for
	negative indentation values

1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740
Mon Nov 19 14:08:18 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtklabel.c (gtk_label_init): Change default for
	justify to GTK_JUSTIFY_LEFT. Assuming that multiline
	labels are most often wrapped labels, this gives better
	compatibility with GTK+-1.2, where justification was
	ignored for wrapped labesl and is a more sensible
	default in any case. (#64489)

	* gtk/gtklabel.c (gtk_label_class_init): Fix default
	for wrap property to FALSE.

jacob berkman's avatar
jacob berkman committed
1741 1742 1743 1744
2001-11-19  jacob berkman  <jacob@ximian.com>

	* gtk/Makefile.am (gtk_extra_sources): add gtkmarshal.list

1745 1746 1747 1748 1749 1750
Mon Nov 19 13:56:45 2001  Owen Taylor  <otaylor@redhat.com>

	* gdk/x11/gdkwindow-x11.c (gdk_window_focus): Use 
	RevertToParent, not RevertToNone. (#64613, 
	Matthias Clasen)

1751 1752 1753 1754 1755 1756 1757 1758
Mon Nov 19 12:28:02 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkframe.c (gtk_frame_class_init): label_xalign
	and label_yalign need to be float properties to
	correspond to GTK+-1.2, to gtk_frame_set_label_align,
	and to the types of the xalign and yalign properties of GtkMisc.
	(#63484, Vitaly Tishkov)

1759 1760 1761 1762 1763
Mon Nov 19 12:24:30 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtksocket.h (struct _GtkSocketClass): Fix return
	of plug_added vfunc. (#64408, Jeff Franks)

1764 1765 1766 1767 1768 1769
Mon Nov 19 12:07:20 2001  Owen Taylor  <otaylor@redhat.com>

	* configure.in (deps): Undef HAVE_STDLIB_H before
	checking for jpeg, because jconfig.h has this
	in it too (%#$@!). Fix from Matthias Clasen, #64500.

1770 1771 1772 1773 1774 1775
Mon Nov 19 11:30:03 2001  Owen Taylor  <otaylor@redhat.com>

	* gdk/x11/gdkproperty-x11.c (get_atom_name): Fix a 
	memory leak when retrieving atom names. (Michael Meeks,
	#64508)

Alexander Larsson's avatar
Alexander Larsson committed
1776 1777 1778 1779 1780
2001-11-18  Alex Larsson  <alexl@redhat.com>

	* gdk/x11/gdkfont-x11.c (gdk_font_from_description):
	Update to new Pango API.
	
1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793
Sun Nov 18 19:47:29 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkobject.h docs/Changes-2.0.txt: Rename the
	GTK_DESTROYED flag to GTK_IN_DESTRUCTION, remove the
	GTK_OBJECT_DESTROYED() check macro.

	* gtk/gtkbindings.c (gtk_bindings_activate): Remove
	instances of GTK_OBJECT_DESTROYED() that weren't
	needed any more.

	* gtk/gtkdialog.c: Exchange use of GTK_OBJECT_DESTROYED
	for a connection to ::destroy.

1794 1795 1796 1797 1798 1799
Sun Nov 18 18:18:11 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkfixed.c: Make a NO_WINDOW widget, as it should
	have been since the beginning, but as special hack,
	allow clearing the NO_WINDOW flag to get a window widget.

1800 1801 1802 1803 1804
Sun Nov 18 22:01:36  Kristian Rietveld  <kristian@planet.nl>

	* gtk/gtktreestore.c: return TRUE when value changed, so
	row_changed is being emitted

1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822
2001-11-18  Hans Breuer  <hans@breuer.org>

	* gtk/gdkaccelmap.c : make it compile with msvc: !HAVE_UNISTD_H;
	no label without op, even if it's a no-op.

	* gtk/gtk.def :
	* gtk/makefile.msc.in : reflect marshaler split, some clean-up	

	* config.h.win32.in : remove definition of HAVE_DIRENT_H
	* gtk/gtkfilesel.c : due to GDir (new in glib) DIR isn't
	required anymore, replace it.
	* gtk/queryimmodules.c : DIR -> GDir replacement, also
	getcwd() -> g_get_current_dir()

	* gdk/win32/gdkgeometry-win32.c : adapt to refactored gdkgeometry-x11.c
	Even 'noisy laugh' scolling appears to work, though I still can't
	claim to have fully understood what it is supposed to do ...

1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835
Sat Nov 17 21:07:46 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkenums.h: Include glib-object.h instead of
	gobject/gsignal.h

	* gdk/{gdkinternals.h,gdkwindow.c,gdkwindow.[ch],
	  x11,{fb,win32,x11/gdkwindow-*.c}: Add a dummy GdkScreen
	argument to the window_at_pointer() field of
	GdkPointerHooks. (Patch from Erwann Chenede)

	* gdk/gdkdrawable.h (struct _GdkDrawableClass ): Up
	to 6 pointers.

Matt Wilson's avatar
Matt Wilson committed
1836 1837 1838 1839
2001-11-17  Matt Wilson  <msw@redhat.com>

	* gtk/gtkenums.h: must include glib-object.h only

1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854
Sat Nov 17 19:26:20 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkwindow.c (gtk_window_key_press_event): Reprioritize
	key bindings in order of visibility - mnemonics, then 
	accelerators, then send key to the focus widget, then
	bindings on the GtkWindow.

	* gtk/gtklayout.h docs/Changes-2.0.txt tests/testgtk.c: 
	Removed the xoffset, yoffset fields of GtkLayout which were
	identically zero for compat with 1.2, but were no longer 
	compatible with	all uses of these fields in 1.2.

	* gtk/gtkwindow.c (gtk_window_set_default): Remove 
	unused variable.

1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870
Sat Nov 17 19:08:13 2001  Owen Taylor  <otaylor@redhat.com>

	* tests/testtreeview.c (gtk_tree_model_types_get_type): 
	We no longer need to create the signals here ... they
	come from the interface.

	* gtk/maketypes.awk: Use GType, not GtkType in output.

	* gtk/gtktypeutils.h: Mark virtually all of this
	file deprecated.

	* gtk/gtkcontainer.h: Deprecate gtk_container_foreach_full;
	the only use of this function is the GtkArg using
	GtkCallbackMarshal, since destroy notification is
	silly here.

1871 1872 1873 1874 1875 1876 1877 1878
Sat Nov 17 18:26:45 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/Makefile.am gtk/gtkmarshal.list gtk/gtkmarshalers.list
	gtk/*.c gtk/gtksignal.h: Make gtkmarshal.list/gtkmarshal.h
	only for compatibility with GTK+-1.2; and deprecate it; 
	put all marshalers we actually use into gtkmarshalers.list 
	and use the _gtk_marshal_ prefix for these marshalers.

1879 1880 1881 1882 1883 1884
2001-11-17  Murray Cumming  <murrayc@usa.net>

	* gtk/gtktexttagtable.c (gtk_text_tag_table_class_init):
	The first parameters of the signals are now registered as
	GTK_TYPE_TEXT_TAG instead of G_TYPE_OBJECT.
	
1885 1886 1887 1888 1889 1890 1891
2001-11-17  Tor Lillqvist  <tml@iki.fi>

	* gtk-zip.sh.in: Build separate runtime and developer
	packages.

	* gtk/gtk.def: Reflect recent accelerator-related changes.

1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911
Fri Nov 16 19:44:35 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkwindow.c (gtk_window_set_default): Move 
	notification of "has_default" to here, so it
	is safe to call gtk_window_set_default() instead
	of gtk_widget_grab_default().

	* gtk/gtkwindow.c (gtk_window_set_focus): Make it call
	gtk_widget_grab_focus(), which then calls 
	_gtk_widget_internal_set_focus(). This makes 
	gtk_window_set_focus() a safe way of both setting
	and unsetting the focus widget.

	* gtk/gtkwidget.c (gtk_widget_propagate_state): Use
	gtk_widget_get_toplevel(), instead of gtk_widget_ancestor
	to find the toplevel.

	* gtk/gtkwindow.h: Move gtk_window_set_focus/default
	from the "internal functions" section.

1912 1913 1914 1915 1916 1917 1918 1919 1920
2001-11-16  jacob berkman  <jacob@ximian.com>

	* tests/testgtk.c (create_radio_buttons): add some no-indicator
	radio buttons

	* gtk/gtkradiobutton.c (gtk_radio_button_init): since we are
	initially active, also initially be depressed
	(gtk_radio_button_clicked): also update our depressed state

1921 1922 1923 1924 1925 1926 1927 1928 1929 1930
Thu Nov 15 12:54:36 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkwindow.c (gtk_window_key_press_event): Propagate
	key press events not just to focus/window but also to
	intermediate widgets.

	* gtk/gtknotebook.c: Handle Ctrl-PageUp/Ctrl-PageDown
	to switch pages. (Needs some work on handling focus
	when switching pages.)

1931 1932 1933 1934 1935 1936 1937 1938
Fri Nov 16 14:06:31 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtknotebook.c: Fix child allocations to be relative to 
	widget position and some drawing bugs.

	* gtk/gtkmenuitem.c (gtk_menu_item_paint): Fix problem
	with reading uninitialized variable.

1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950
Fri Nov 16 00:16:40 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/{gtkmenuitem.[ch],gtkcheckmenuitem.c,gtkimagemenuitem.c,
	gtkradiomenuitem.c,gtktearoffmenuitem.c}: Make Menu items
	NO_WINDOW widgets.

	* gtk/gtk{h,v,}paned.[ch]: Make NO_WINDOW widgets, some
	cleanup.

	* gtk/gtkstyle.c (gtk_default_draw_handle): Don't assume
	we are drawing in a window when drawing the paned handle.

1951 1952 1953 1954 1955
2001-11-16  Sven Neumann  <sven@gimp.org>

	* demos/gtk-demo/appwindow.c
	* demos/gtk-demo/menus.c: reduce compiler warnings

1956 1957 1958 1959 1960 1961
Thu Nov 15 19:47:09 2001  Owen Taylor  <otaylor@redhat.com>

	* demos/gtk-demo/main.c (button_press_event_cb): Remove 
	unused callback to make things compile with 
	gtk_tree_view_path_at_pos_change().

1962 1963 1964 1965
Thu Nov 15 18:44:33 2001  Jonathan Blandford  <jrb@redhat.com>

	* gtk/gtktreedatalist.c (_gtk_tree_data_list_free): maybe fix #64160

1966 1967 1968 1969
2001-11-15  Matthias Clasen  <matthiasc@poet.de>

	* gtk/gtkwindow.c (gtk_window_new): Move '.' out of quote. (#64407)
 
1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980
Thu Nov 15 16:24:55 2001  Jonathan Blandford  <jrb@redhat.com>

	* gtk/gtktreeview.c (gtk_tree_view_get_bin_window): New function
	to get a GdkWindow to compare event->window to.

	* gtk/gtktreeview.c (gtk_tree_view_move_cursor_left_right): emit
	the signal for lateral motion too, #64361

	* gtk/gtktreeview.c (gtk_tree_view_get_path_at_pos): remove window
	arg as it is useless, #64137

1981 1982 1983 1984
Thu Nov 15 16:07:42 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtknotebook.c: Some small drawing fixes for scroll arrows.

1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021
Thu Nov 15 14:19:34 2001  Owen Taylor  <otaylor@redhat.com>
 
 	* gdk/gdkwindow.c (gdk_window_invalidate_maybe_recurse): Cal
 	gdk_window_invalidate_maybe_recurse() for recursion.
 	(Soeren Sandmann)

 	* gtk/gtkviewport.c: Make !redraw_on_allocate. (Soeren Sandmann)
 
	* gtk/gtkcontainer.c (gtk_container_expose): Call
	gtk_container_forall() not _foreach() to propagate,
	since we need to propagate exposes to internal children
	as well.

	* gtk/gtkwidget.c (gtk_widget_set_events, gtk_widget_add_events): 
	Remove the restriction of only being able to call these
	on window widgets, since we have lots of NO_WINDOW widgets
	with windows now; for add events, recurse over the children
	of widget->window to find one owned by the widget.

	* gtk/gtkbutton.[ch]: Make a NO_WINDOW widget, using an input-only
	window to catch events.

	* gtk/gtktogglebutton.[ch]: Remove the code for switching
	between NO_WINDOW and WINDOW widgets based on the mode.

	* gtk/gtkcheckbutton.c gtk/gtkoptionmenu.c gtk/gtkclist.c
	gtk/gtktreeview.c: Adopt to NO_WINDOW change for GtkButton.

	* gtk/gtkrange.[ch]: Make into a NO_WINDOW widget.

	* gtk/gtkhscale.c, gtk/gtkvscale.c: Adopt to NO_WINDOW
	change for range.

	* gtk/gtknotebook.[ch]: Make into a NO_WINDOW widget.
 
	* docs/Changes-2.0.txt: Add a note about the NO_WINDOW changes.

2022 2023 2024 2025 2026 2027 2028 2029
Thu Nov 15 11:59:35 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkmessagedialog.c: Patch from Murray Cumming to add
	"message_type" and "buttons" CONSTRUCT properties. (#64069)

	* tests/testsocket.c: Expand tests to add a "local passive
	child" (Test case for #64428)

2030 2031 2032 2033 2034
2001-11-14  jacob berkman  <jacob@ximian.com>

	* gtk/gtkgamma.c (button_clicked_callback): create the label with
	a mnemonic

2035 2036 2037 2038
2001-11-15  Sven Neumann  <sven@gimp.org>

	* tests/testgtk.c: make it compile without warnings.

2039 2040 2041 2042 2043 2044
2001-11-14  Alex Larsson  <alexl@redhat.com>

	* gtk/gtklabel.c:
	Don't recalculate the layout on each gkt_label_ensure_layout () for
	wrapped labels.

2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055