ChangeLog.pre-2-0 650 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12
Fri Aug 24 16:03:45 2001  Jonathan Blandford  <jrb@redhat.com>

	* gtk/gtktreeview.c (gtk_tree_view_scroll_to_cell): Add
	"use_align" to give people the option to just make a cell visible.

	* gtk/gtktreeview.c (gtk_tree_view_scroll_to_point): fix bug where
	we were scrolling past the end of the tree.

	* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_pack_start):
	rename gtk_tree_view_column_pack_start_cell_renderer to
	gtk_tree_view_column_pack_start.  Same for pack_end, and clear.

13 14 15 16 17 18
Fri Aug 24 12:02:08 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtktextbuffer.c (gtk_text_buffer_new): Remove
	a stray g_object_ref() left over from gtk_object_ref/sink.
	(Pointed out by Josh Pritikin.)

19 20 21 22 23 24 25 26 27
Thu Aug 23 19:33:54 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkcontainer.[ch]: Rename gtk_container_children()
	to gtk_container_get_children. Added deprecated compatibility
	macro. (Suggested by Vitaly Tishkov, #59051)

	* gtk/gtktoolbar.c gtkdialog.c: Fix gtk_container_children()
	calls.

28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
Thu Aug 23 19:10:01 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkmenubar.h (gtk_menu_bar_insert): Deprecate 
	gtk_menu_bar_append/prepend/insert, forgot to do this
	when we deprecated gtk_menu_append/prepend/insert.

	* gtk/gtkmenu.h (gtk_menu_insert): Add casts to deprecated
	compat macros.

	* gtk/gtkmenu.c: Fix problem with static gtk_menu_insert() being
	renamed by compat macro.

	* gtk/gtkfontsel.h: Deprecated gtk_font_selection_get_font(),
	gtk_font_selection_dialog_get_font(). (Suggested by
	Vitaly Tishkov, #59383)

44 45 46 47 48
Thu Aug 23 18:23:31 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtktexttag.c (gtk_text_tag_table_get_size): 
	Rename from gtk_text_tag_table_size(). (#59366)

49 50 51 52 53 54 55
Thu Aug 23 20:01:41 2001  Kristian Rietveld  <kristian@planet.nl>

	* gtk/gtktreemodelsort.[ch], gtk/gtktreesortable.[ch],
	gtk/gtktreestore.[ch], gtk/gtktreeviewcolumn.[ch],
	gtk/gtkliststore.[ch]: use GtkSortType instead of GtkTreeSortOrder.
	(#59173).

56 57 58 59 60 61
Thu Aug 23 16:26:47 2001  Tim Janik  <timj@gtk.org>

	* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_finalize): 
	* gtk/gtktextmark.c (gtk_text_mark_finalize): chain parent class
	handlers, pointed out by Joshua N Pritikin <vishnu@pobox.com>.

62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80
Wed Aug 22 19:15:39 2001  Owen Taylor  <otaylor@redhat.com>

	[ Patch from Sebastian Wilhelmi, 52790 ]

	* gtk/gtkversion.h.in gtk/gtk.h: New file replacing gtkcompat.h

	* gdk/gdkcompat.h gdk/gdk*.h gtk/gtkcompat.h.in gtk/gtk*.h: 
	Move compatibility macros from g[dt]kcompat.h to within 
	#ifndef G[DT]K_DISABLE_DEPRECATED in each file.

	* gdk/gdk-pixbuf-csource.c: Fix up include of gtkcompat.h.

	* demos/Makefile.am demos/gtk-demo/Makefile.am 
	  docs/reference/gdk-pixbuf/Makefile.am modules/input/Makefile.am
	  tests/Makefile.am: Remove references to -G[DT]K_DISABLE_DEPRECATED.

	* demos/{pixbuf-demo.c,testpixbuf-drawable.c,testpixbuf-save.c,
	         testpixbuf.c}: Fix usages of deprecated functions.

81 82 83 84 85
Wed Aug 22 19:03:27 2001  Jonathan Blandford  <jrb@redhat.com>

	* gtk/gtktreeview.c (gtk_tree_view_set_model): clean up selection
	when changing models.

86 87 88 89 90 91
Wed Aug 22 18:25:46 2001  Jonathan Blandford  <jrb@redhat.com>

	* gtk/gtktreeview.c: Fix selection.  I think it's all dandy now.
	We check the current event for modifiers rather than try to trap
	all presses.

92 93 94 95 96
2001-08-22  Anders Carlsson  <andersca@gnu.org>

	* gtk/gtkliststore.h (GTK_LIST_STORE_CLASS): Fix a small typo.
	It's LIST_STORE, not LISTSTORE.

97 98 99 100
Tue Aug 21 12:43:29 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtk.h: Remove commented out gtkpacker reference.

101 102 103 104 105
2001-08-21  Matthias Clasen  <matthiasc@waldgeist.poet.de>

	* configure.in (all_loaders): Add tga loader, 
	patch by Nicola Girardi. (#56067)

106 107 108 109 110
Tue Aug 21 02:57:13 2001  Jonathan Blandford  <jrb@redhat.com>>

	* gtk/gtktreeview.c (gtk_tree_view_button_press): Fix up selection
	a little.  More needs to be done tomorrow.

Jonathan Blandford's avatar
Jonathan Blandford committed
111 112 113 114 115
Tue Aug 21 00:45:55 2001  Jonathan Blandford  <jrb@redhat.com>

	* gtk/gtktreeview.c (gtk_tree_view_destroy): Grr... Get it right.

Mon Aug 20 23:48:18 2001  Jonathan Blandford  <jrb@redhat.com>
Jonathan Blandford's avatar
Jonathan Blandford committed
116 117 118 119 120 121 122

	* gtk/gtktreeview.c (gtk_tree_view_get_cell_area): Fix bug
	reported by Kristian Rietveld <kristian@planet.nl> to handle row
	== NULL.
	(gtk_tree_view_destroy): Fix bug reported by Kristian Rietveld
	<kristian@planet.nl> to change destroy order.

Jonathan Blandford's avatar
Jonathan Blandford committed
123 124 125 126 127
Mon Aug 20 11:39:44 2001  Jonathan Blandford  <jrb@redhat.com>

	* gtk/gtktreeselection.c (gtk_tree_selection_class_init): Use
	correct marshaller.

Jonathan Blandford's avatar
Jonathan Blandford committed
128 129 130 131 132 133 134 135 136 137 138
Sun Aug 19 03:22:59 2001  Jonathan Blandford  <jrb@redhat.com>

	* gtk/gtkliststore.c: Fix up warnings, #58928.

	* gtk/gtktreeselection.h: Change signal prototype, #58647

	* gtk/gtktreeview.c (_gdk_tree_view_find_node): Make more robust,
	#59221.

	* gtk/gtkstyle.c: Actually prelight arrow, #50981
	
Hans Breuer's avatar
Hans Breuer committed
139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161
2001-08-18  Hans Breuer  <hans@breuer.org>

	* gdk/gdk.def : updated externals

	* gdk/win32/gdkselection-win32.c : returning TRUE with gdk_selection_set
	is required to get (at least) visible in entry fields. Some selections
	are really handled now - even on win32 - but copying via middle
	mouse button into a different app needs to wait ... 

	* gdk/win32/gdkdnd-win32.c : implemented inter-app drag&drop
	mostly by stealling code from gdkdnd-fb.c. Thanks to who ever wrote it!

	* gdk/win32/gdkevents-win32.c : some tweaking to get better expose
	handling. I'm not sure if it is better now, but at least not worse

	* gdk/win32/gdkgeometry-win32.c : replaced every call to MoveWindow
	with SetWindowPos () which allows more fine-tuning backing-store wise

	* gdk/win32/gdkwindow-win32.c : allow unraised gdk_window_show ().
	Also changed move/resize to be more like the X version.

	* gtk/gtk.def : updated externals

162 163 164 165 166 167 168
2001-08-19  Sven Neumann  <sven@gimp.org>

	* gtk/gtktooltips.c
	* tests/testtreesort.c
	* tests/treestoretest.c: inserted some casts to get rid of compiler
	warnings.

169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185
Sun Aug 19 01:44:44 2001  Jonathan Blandford  <jrb@redhat.com>>

	* gtk/gtktreeviewcolumn.c
	(gtk_tree_view_column_pack_{start,end}_cell_renderer): sink cell.

	* gtk/gtktreeview.c (gtk_tree_view_insert_column): sink column.
	(_gtk_tree_view_find_node): If *node is NULL,
	*tree should be NULL too.

	* demos/gtk-demo/stock_browser.c (do_stock_browser): don't unref
	column/renderers.
	* tests/testtreecolumns.c: ditto
	* tests/testtreefocus.c: ditto
	* tests/testtreesort.c: ditto
	* tests/testtreeview.c: ditto
	* tests/treestoretest.c: ditto

186 187 188 189 190 191 192 193 194 195
Sat Aug 18 04:34:31 2001  Jonathan Blandford  <jrb@redhat.com>

	* gtk/gtkcellrenderer.c (gtk_cell_renderer_class_init): 2 new
	signals; is_expander/is_expanded.

	* gtk/gtlcellrendererpixbuf.c: Allow other expanded and closed
	pixbufs.

	* gtk/gtktreeview.c: set above properties.

196 197 198 199 200 201 202
Sat Aug 18 23:01:33 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkwidget.h: Really remove set_default_style().

	* docs/Changes-2.0.txt: added a note about
	gtk_widget_push/pop/set_default_style.

203 204 205 206 207 208 209
2001-08-18  Havoc Pennington  <hp@pobox.com>

	* gtk/gtkwindow.c (gtk_window_move_resize): constrain position on
	hints_changed in addition to the other cases.
	(gtk_window_move_resize): include last position from configure
	notify in debug spew

210 211 212 213 214 215 216 217
2001-08-18  James Henstridge  <james@daa.com.au>

	* gtk/gtkaccelgroup.c (gtk_accel_group_object_destroy): use the
	second argument to the weak ref notify, cleaning up some uglyness.
	(gtk_accel_group_attach): remove and add the weak notifier when
	changing the accel groups slist.
	(gtk_accel_group_detach): same here.

218 219 220 221 222
2001-08-17  Darin Adler  <darin@bentspoon.com>

	* gtk/gtktreeview.c: (gtk_tree_view_search_equal_func): Add
	missing parameters to utf8 functions to make it compile.

223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249
Fri Aug 17 19:30:14 2001  Jonathan Blandford  <jrb@redhat.com>

	* gtk/gtktreeprivate.h:
	* gtk/gtktreeview.c: (gtk_tree_view_class_init),
	(gtk_tree_view_init), (gtk_tree_view_set_property),
	(gtk_tree_view_get_property), (gtk_tree_view_destroy),
	(gtk_tree_view_key_press), (gtk_tree_view_leave_notify),
	(gtk_tree_view_focus_out), (gtk_tree_view_set_model),
	(gtk_tree_view_set_destroy_count_func),
	(gtk_tree_view_set_enable_search),
	(gtk_tree_view_get_enable_search),
	(gtk_tree_view_get_search_column),
	(gtk_tree_view_set_search_column),
	(gtk_tree_view_get_search_equal_func),
	(gtk_tree_view_set_search_equal_func),
	(gtk_tree_view_search_dialog_destroy),
	(gtk_tree_view_search_position_func),
	(gtk_tree_view_interactive_search),
	(gtk_tree_view_search_delete_event),
	(gtk_tree_view_search_button_press_event),
	(gtk_tree_view_search_key_press_event),
	(gtk_tree_view_search_move), (gtk_tree_view_search_equal_func),
	(gtk_tree_view_search_iter), (gtk_tree_view_search_init):
	* gtk/gtktreeview.h:
	Add heavily modified patch from Kristian Rietveld to handle
	interactive searching.

Tim Janik's avatar
Tim Janik committed
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
Fri Aug 17 17:30:34 2001  Tim Janik  <timj@gtk.org>

	* gtk/gtktreemodel.c (gtk_tree_path_new_from_string): const correct
	string parameter.

	* gtk/gtkoptionmenu.c (gtk_option_menu_set_menu): connect to
	GtkMenuShell::selection_done, now that we have it, instead of 
	::deactivate so we're not tearing the menu apart and notify
	the user prematurely.

Thu Aug 16 05:22:01 2001  Tim Janik  <timj@gtk.org>

	* gtk/gtkwindow.c (gtk_window_move_resize): if we actually move our
	window, clear window->need_default_position to avoid infinite loops.
	some comment fixups and GTK_RESIZE_IMMEDIATE fixups.

Wed Aug 15 12:36:55 2001  Tim Janik  <timj@gtk.org>

	* gtk/gtktreeview.c (gtk_tree_view_set_model): move all model setup
	code into this place. get rid of GTK_TREE_VIEW_MODEL_SETUP usage.
	(gtk_tree_view_set_property): don't cast possible NULL objects.
	(gtk_tree_view_destroy): reset the model to NULL.

	* gtk/gtktreeselection.c (gtk_tree_selection_finalize): chain
	parent_class handler.

276 277 278 279
2001-08-17  Matthias Clasen  <matthiasc@waldgeist.poet.de>

	* gtk/demos/gtk-demo/*: Remove all uses of deprecated functions.

280 281 282 283 284
2001-08-17  Anders Carlsson  <andersca@gnu.org>

	* gtk/gtkstyle.c (create_expander_affine): Divide with floating
	point numbers so that the result will be floating point.

285 286 287 288 289 290
2001-08-16  Matthias Clasen  <matthiasc@waldgeist.poet.de>

	* tests/testgtk.c (create_handle_box): 
	(create_toolbar): Replace gtk_window_set_policy calls by
	gtk_window_set_resizable.

291 292 293 294 295 296
2001-08-16  Jakub Steiner <jimmac@ximian.com>

	* gtk/stock-icons/dialog_info.png: new style bulb
	* gtk/stock-icons/dialog_error.png: maybe a little drastic ;)
	* gtk/stock-icons/dialog_warning.png: need a hand?
	* gtk/stock-icons/stock_add.png, stock_remove.png: I hope 
Tim Janik's avatar
Tim Janik committed
297
	  the aa border gets chopped off ok
298 299
	* gtk/stock-icons/stock_colorselector.png: using the new hand
	* gtk/stock-icons/stock_dnd_multiple.png: I'm not totally sure what 
Tim Janik's avatar
Tim Janik committed
300
	  this one is for, but the old icon was butt ugly.
301 302 303 304
	* gtk/stock-icons/stock*_insert_image.png: not sure if it belongs here
	* gtk/stock-icons/stock*_insert_object.png: "
	* gtk/stock-icons/stock_index.png: using new hand icon
	* gtk/stock-icons/stock*_new.png: the document template being used 
Tim Janik's avatar
Tim Janik committed
305
	  elsewhere too
306
	* gtk/stock-icons/stock*_print*.png: new print and print preview 
Tim Janik's avatar
Tim Janik committed
307
	  icons (panel/menu)  
308
	* gtk/stock-icons/stock*_save*.png, stock*_revert.png: new save/revert 
Tim Janik's avatar
Tim Janik committed
309
	  icons based on Tuomas' floppy image.
310 311 312 313 314
	* gtk/stock-icons/stock*_search*.png: search and s'n'r icons for panel/menu
	* gtk/stock-icons/stock*_stop.png: replacing the old 'x' button
	* gtk/stock-icons/stock*_trash.png: based on Tuomas' trash icon
	* gtk/stock-icons/stock*_undelete.png: "
	* gtk/stock-icons/stock_preferences.png: I have a version with a 
Tim Janik's avatar
Tim Janik committed
315
	  document base if the sliders are no good.
316 317 318 319 320 321 322 323 324 325
	* gtk/stock-icons/stock_properties.png: properties 
	

	* gtk/stock-icons/stock*_copy.png, stock*_cut.png, stock*_paste.png: Tuomas' 
	  (tigert@ximian.com) clipboard icons
	* gtk/stock-icons/stock_{up,down,left,right}_arrow.png: tigert's new arrows
	* gtk/stock-icons/stock*_{undo,redo}.png: tigert's undo/redo icons.
	* gtk/stock-icons/stock_open.png: shaded open icon by Tuomas. we should make it a
	  little bigger IMHO

Sven Neumann's avatar
Sven Neumann committed
326 327 328 329
2001-08-16  Sven Neumann  <sven@gimp.org>

	* gtk/gtkbox.c (gtk_box_class_init): removed unused widget_class.

330 331 332 333 334
2001-08-15  Padraig O'Briain  <padraig.obriain@sun.com>

	* gtk/gtkcellrenderertext.c:
	Avoid warning when specifying NULL for "attributes" property

335 336 337 338 339
2001-08-15  Matthias Clasen  <matthiasc@waldgeist.poet.de>

	* docs/debugging.txt: Add a warning about --enable-debug=no,
	some editorial changes.

340 341 342 343 344 345
2001-08-13  Matthias Clasen  <matthiasc@waldgeist.poet.de>

	* gtk/docs/debugging.txt, gdk/gdk.c, gdk/gdkinternals.h, 
	gdk/x11/gdkmain-x11.c, gtk/gtkdebug.h, gtk/gtkmain.c: Update 
	debugging info, remove unused debug flags. (#58330)

346 347 348 349 350
Mon Aug 13 13:17:32 2001  Jonathan Blandford  <jrb@redhat.com>

	* gtk/gtktreeselection.c (gtk_tree_selection_select_all): 
	(gtk_tree_selection_select_all): Remove strict checking for rows.

351
2001-08-13  Matthias Clasen  <matthiasc@waldgeist.poet.de>
352
	
353 354 355
	* gtk/gtktooltips.c (gtk_tooltips_set_tip, gtk_tooltips_draw_tips): 
	Don't remove the tooltip window when the tip text changes. (#15891)

Owen Taylor's avatar
Owen Taylor committed
356 357 358 359 360
Sun Aug 12 12:02:09 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/Makefile.am ($(srcdir)/gtkmarshal.c): Remove extra
	$(srcdir).

361 362 363 364 365
Sun Aug 12 10:39:12 2001  Owen Taylor  <otaylor@redhat.com>

	* Makefile.am (EXTRA_DIST): Fix problem with trying to
	dist files from intl/, which is no longer there.

Hans Breuer's avatar
Hans Breuer committed
366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381
2001-08-11  Hans Breuer  <hans@breuer.org>

	* gtk/gtkalignment.c, gtk/gtkarrow.c, gtk/gtkaspectframe.c,
	  gtk/gtkcellrenderer.c, gtk/gtkcellrenderertext.c, 
	  gtk/gtkcombo.c, gtk/gtkcurve.c, gtk/gtkfontsel.c, 
	  gtk/gtklayout.c, gtk/gtkmisc.c, gtk/gtkpacker.c, 
	  gtk/gtkprogress.c, gtk/gtkruler.c,, gtk/gtksettings.c,
	  gtk/gtkspinbutton.c, gtk/gtktexttag.c : coalescing property notifies

	* gtk/gtkclist.c, gtk/gtktipsquery.c, gtk/gtktexttag.c,
	  gtk/gtkwidget.c : added G_SIGNAL_TYPE_STATIC_SCOPE to all
	GDK_TYPE_EVENT signals

	* gtk/gtkalignment.c : removed 'direct allocation bug',
	which Tim discovered while reading the patch

382 383 384 385 386 387
Sat Aug 11 14:32:14 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkwidget.h (gtk_widget_set_default_visual): Add some
	compat macros for push/pop/set_visual that were supposed
	to be added a long time ago, but got dropped. 

388 389 390 391 392
Fri Aug 10 16:55:53 2001  Tim Janik  <timj@gtk.org>

	* gtk/gtkwindow.c (gtk_window_set_policy): coalesce multiple
	property notifies.

Havoc Pennington's avatar
Havoc Pennington committed
393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447
2001-08-07  Havoc Pennington  <hp@pobox.com>

	* gtk/gtkfilesel.c (open_ref_dir): fix a typo.

	* gtk/gtkplug.c (gtk_plug_init): remove setting of auto_shrink;
	some fixage is needed here, but nothing simple. Owen understands
	it. ;-)

        * gtk/gtkwindow.h, gtk/gtkwindow.c: Rework code and API for window
	sizing and positioning.  Also, fix bug in compute_geometry_hints
	(width/height confusion for setting min size). 
	(gtk_window_move): new function
	(gtk_window_resize): new function
	(gtk_window_get_size): new function
	(gtk_window_get_position): new function
	(gtk_window_parse_geometry): new function
	
 	* gtk/gtkwidget.c (gtk_widget_set_size_request): new function
 	(gtk_widget_get_size_request): new function
 	(gtk_widget_get_usize): delete, that was a short-lived function
 	;-)
 	(gtk_widget_set_usize): deprecate
 	(gtk_widget_set_uposition): deprecate, make it a trivial 
	gtk_window_move() wrapper
	(gtk_widget_class_init): remove x/y/width/height properties,
	add width_request height_request
	
        * demos/*: update to avoid deprecated functions
	
	* gtk/gtklayout.c: add x/y child properties

	* gtk/gtkfixed.c: add x/y child properties, and get rid of 
	uses of "gint16"

	* tests/testgtk.c (create_window_sizing): lots of tweaks to window
	sizing test

	* gdk/x11/gdkevents-x11.c (gdk_event_translate): Ensure that
	configure events on toplevel windows are always in root window
	coordinates, following ICCCM spec that all synthetic events 
	are in root window coords already, while real events are 
	in parent window coords. Previously the code assumed that 
	coords of 0,0 were parent window coords, which was 
	really broken.
  
 	* gtk/gtkcontainer.c (gtk_container_get_focus_chain): fix
 	warning
 
 	* gdk/gdkwindow.h (GdkWindowHints): add GDK_HINT_USER_POS 
 	and GDK_HINT_USER_SIZE so we can set USSize and USPosition 
 	hints in gtk_window_parse_geometry()
 
 	* gdk/x11/gdkwindow-x11.c (gdk_window_set_geometry_hints): support
 	new USER_POS USER_SIZE hints 	

448 449 450 451 452 453
2001-08-09  Matthias Clasen  <matthiasc@waldgeist.poet.de>

	* tests/prop-editor.c (properties_from_type): Use 
	g_object_class_list_properties to get the param specs 
	for a given type. (#58609)

454 455 456 457 458
2001-08-09  Matthias Clasen  <matthiasc@waldgeist.poet.de>

	* gtk/gtkstyle.c (gtk_style_real_unrealize): Don't forget to
	free the text_aa parts. (#57549)

459 460 461 462 463
2001-08-09  Matthias Clasen  <matthiasc@waldgeist.poet.de>

	* gdk/gdkgc.c (gdk_gc_set_rgb_bg_color): Set the background color,
	not the foreground color. (#57621)

464 465 466 467 468
2001-08-09  Alexander Larsson <alexl@redhat.com>

	* gdk/win32/gdkfont-win32.c:
	Update to the new pango win32 api.

469 470 471 472 473 474 475 476
2001-08-08  HideToshi Tajima  <tajima@eng.sun.com>

	* gtk/gtkclipboard.c (request_text_received_func): ask apps for
	COMPOUND_TEXT instead of TEXT
	* gdk/x11/gdkselection-x11.c (gdk_utf8_to_compound_text): correctly
	interpret the return value of g_string_to_compound_text()
	(#55152)

477 478 479 480 481 482
2001-08-08  Matthias Clasen  <matthiasc@waldgeist.poet.de>

	* gtk/gtktreestore.c (gtk_tree_store_iter_n_children): Don't
	fail if iter is NULL. (#58347)

2001-08-07  Matthias Clasen  <matthiasc@waldgeist.poet.de>
483 484 485 486

	* gtk/gtktextdisplay.c (render_para, gtk_text_layout_draw): Fix
	some off-by-one issues, fixing selection of line-ends. (#50323)

487 488 489 490 491 492
2001-08-07  Matthias Clasen  <matthiasc@waldgeist.poet.de>

	* gtk/gtkhsv.c (gtk_hsv_map, gtk_hsv_unmap): Reinstate these
	functions in order to make mouse operation work again in the
	color wheel. (#58604)

493 494 495 496 497 498
2001-08-07  James Henstridge  <james@daa.com.au>

	* gtk/gtkaccellabel.c (gtk_accel_label_set_accel_object): refetch
	the accelerator when the accel object is changed.  Fixes bug
	#58628.

499 500 501 502 503 504
2001-08-06  HideToshi Tajima  <tajima@eng.sun.com>

	* modules/input/gtkimcontextxim.c (mb_to_utf8), xim_text_to_utf8):
	Skip g_convert when to_codeset and from_codeset are both 'UTF-8'
	(gnome bugzilla #58202)

505 506 507 508 509 510 511 512 513 514 515 516 517 518 519
2001-08-06  Havoc Pennington  <hp@pobox.com>
 
 	* gdk/x11/gdkimage-x11.c (_gdk_x11_get_image): The whole 
 	GDK_IS_WINDOW() branch of this was a bit screwed up, because 
 	it was expecting a GdkWindow, not a GdkWindowImplX11.
 
 	Also, we were getting the window rect in screen coords 
 	and the screen rect in window coords then intersecting 
 	them; instead, get window rect in window coords.
 
 	Finally, there were codepaths that resulted in a stuck server grab
 	(when the window was fully onscreen, or on gdk_image_new()
 	failure); make the server ungrab thing a bit more
 	robust/consistent.

520 521 522 523 524 525
2001-08-06  Sven Neumann  <sven@gimp.org>

	* gdk/gdkpango.c (gdk_pango_context_destroy): 
	check if info->colormap != NULL before unref'ing it. It might have
	been set to NULL using gdk_pango_context_set_colormap().

526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550
Sun Aug  5 11:24:27 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkcolorsel.c (gtk_color_selection_set_current_alpha): 
	Fix conversion from float to int so that we don't get
	skew in the int => float => int roundtrip. 
	(#58120, reported by Vitaly Tishkov). Also fix problem
	where if no alpha was set, the returned alpha
	from (say) set_current_alpha() was returned as 1, not 65535.

Sun Aug  5 09:48:08 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtklist.c (gtk_list_clear_items): Fix
	problem with selecting a new focus child.

	* gtk/gtklist.c (gtk_list_clear_items): Clear 
	list->undo/list_focus_child after unparenting
	child, since unparenting the child can result
	in list->last_focus_child being set. (#58024)

	* Makefile.am (SUBDIRS): Add target specific pc
	files to DISTCLEANFILES.

	* gtk/Makefile.am: add @GTK_DEBUG_FLAGS@
	(58327, Matthias Clasen)

551 552 553 554 555 556 557
Sat Aug  4 19:28:21 2001  Owen Taylor  <otaylor@redhat.com>

	* tests/testgtk.c: Patch from Hans (with various modifications),
	to add the ability to use testgtk as a rough-and-ready
	benchmark. Try, 'testgtk --bench all:5' (if you want decent
	numbers, run without a window manager)

558 559 560 561 562 563 564 565 566 567
2001-08-04 Alexander Larsson <alexl@redhat.com>

	* gdk/win32/gdkinput.c:
	Add #ifdef HAVE_WINTAB around wintab.h include.

	* gtk/gtk.def:
	Removed marshals that have been moved to glib.
	Commented out plug and socket. They didn't compile for me 
	on win32.

Hans Breuer's avatar
Hans Breuer committed
568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591
2001-08-04  Hans Breuer  <hans@breuer.org>

	* gtk/stocks-icons/makefile.msc : new file
	* gtk/makefile.msc.in : use it

	* gtk/gtkstyle.c : not all platforms do provide M_PI and
	friends, but luckily there is G_PI

	* gtk/gtk.def : updated

	* gdk/win32/gdkwindow.c (gdk_window_new) : don't make all TEMP 
	windows WS_POPUP, but only those without a parent. This fixes the 
	mis-alignment between the selectable (temp, input only) window and 
	the window text of GtkLabel.

	(gdk_window_show) : respect private->state when actually showing
	the window.

	(gdk_window_set_transient_for) : Implementation from Wolfgang 
	Sourdeau <wolfgang@contre.com> ported to 2.0 and added some 
	error handling. Should fix #50586.

	* gdk/win32/gdkevents-win32.c : beautify log output

592 593 594 595 596 597 598 599
2001-08-04  Michael Natterer  <mitch@gimp.org>

	* gtk/gtkitemfactory.c (gtk_item_factory_create_item):
	Need to show the image after adding it to the GtkImageMenuItem.
	This used to work without in testgtk because of the
	gtk_widget_show_all() at the end of the function.
	(Closes #54978).

600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617
Tue Jul 31 22:59:33 2001  Tim Janik  <timj@gtk.org>

	* gtk/gtknotebook.c (gtk_notebook_get_child_property): 
	(gtk_notebook_set_child_property): fix finding of child's page,
	since we have to validly deal with labels and menus here as well.
	(gtk_notebook_get_child_property): fix warning.
	(gtk_notebook_class_init): property tab_pack is of type
	GTK_TYPE_PACK_TYPE (enum) not boolean.
	(gtk_notebook_find_child): don't always warn, we might be looking
	for a label or menu child.
	(gtk_notebook_map): fix mapping of panel.

	* gtk/gtkwidget.c (gtk_widget_set_child_visible): always constrain
	widget's mapped state, regardless of the value being set equals
	old settings, since things like REALIZED(parent) or MAPPED(parent)
	may have changed since the old value was set. make it an error to
	invoke this function on a toplevel widget.

618 619 620 621 622 623 624 625 626
2001-07-31  Darin Adler  <darin@bentspoon.com>

	* gdk/gdkprivate.h:
	* gdk/x11/gdkx.h:
	Put all mentions of GdkFont inside #ifndef GDK_DISABLE_DEPRECATED.

	* demos/gtk-demo/menus.c: (do_menus): Cast to G_OBJECT, not
	GTK_OBJECT.

627 628 629 630 631
Tue Jul 31 15:34:57 2001  Jonathan Blandford  <jrb@redhat.com>

	* gtk/gtktreeview.c (gtk_tree_view_remove_column): Whoops.  Stupid
	scoping error pointed out by matthiasc@poet.de.

632 633 634 635 636 637
2001-07-31  Sven Neumann  <sven@gimp.org>

	* demos/gtk-demo/appwindow.c
	* demos/gtk-demo/item_factory.c
	* tests/testgtk.c: gtk_accel_group_attach() takes a GObject.

638
Mon Jul 30 10:49:16 PDT 2001 Suresh Chandrasekharan <suresh.chandrasekharan@sun.com>
639

640 641 642
	* gtk/gtksignal.h (gtk_signal_handler_pending): corrected the wrong
	argument order for g_signal_has_handler_pending.

643 644 645 646 647
Sun Jul 29 17:14:01 2001  Tim Janik  <timj@gtk.org>

	* gtk/gtkitemfactory.c (gtk_item_factory_parse_rc): use g_file_test()
	instead of long deprecated g_scanner_stat_mode().

648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664
2001-07-29  Hans Breuer  <hans@breuer.org>

	* gdk/makefile.msc : build in the backend dir after
	auto-generating files

	* gdk/win32/gdkfont-win32.c (gdk_font_load) : reimplement
	with code from win32-production-branch.

	*  gdk/win32/gdkwindow-win32.c : set the private->destroyed flag
	before calling DestroyWindow, which indirectly calls 
	gdk_window_destroy_notify ()

	(performance patch merged from win32-production-branch)
	* gdk/win32/gdkdrawable-win32.c (gdk_win32_draw_segments): 
	Use PatBlt() instead of LineTo() when possible (solid single-pixel pen, 
	R2_COPYPEN rop). It is claimed to be much faster.

665 666 667 668 669
Fri Jul 27 11:31:15 2001  Jonathan Blandford  <jrb@redhat.com>

	* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_property):
	add an "attributes" property to the text renderer for ATK.

670 671 672 673 674 675 676 677 678
2001-07-26  Alex Larsson  <alexl@redhat.com>

	* gdk/linux-fb/gdkimage-fb.c (_gdk_fb_get_image):
	Initialize image->bits_per_pixel from the drawable, not from
	the root window.

	* gdk/linux-fb/gdkdrawable-fb2.c (gdk_fb_get_depth):
	Fix cast. argument is an IMPL already.

679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716
2001-07-15  James Henstridge  <james@daa.com.au>

	* gtk/gtkwindow.c (gtk_window_add_accel_group): cast to GObject.
	(gtk_window_remove_accel_group): same here.
	(gtk_window_key_press_event): same here.

	* gtk/gtkwidget.c (gtk_widget_add_accelerator): cast to GObject.
	(gtk_widget_remove_accelerator): same here.
	(gtk_widget_remove_accelerators): same here.

	* gtk/gtkplug.c (gtk_plug_accel_entries_changed): same here.

	* gtk/gtkmenushell.c (gtk_menu_shell_key_press): cast to GObject
	instead of GtkObject.

	* gtk/gtkmenu.c (gtk_menu_key_press): update since GtkAccelGroup
	now takes GObjects.

	* gtk/gtkitemfactory.c (gtk_item_factory_propagate_accelerator):
	pass a GObject to gtk_accel_group_entries_from_object.
	(gtk_item_factory_create_item): s/accel_widget/accel_object/

	* gtk/gtk-boxed.defs: remove GtkAccelGroup boxed def.

	* gtk/gtkaccellabel.c: convert to handle GObject accel objects.

	* gtk/gtkaccellabel.h: fix header to reflect that arbitrary
	GObjects can have accelerators set now.  Add compatibility
	defines.

	* gtk/gtkmarshal.list: add missing marshallers.

	* gtk/gtkaccelgroup.[ch]: convert to a GObject, and allow setting
	accelerators on plain GObjects.  gtk_accel_group_object_destroy
	has been converted into a weak reference, and
	gtk_accel_group_delete_entries is now a destroy notify for that
	piece of data.

717 718 719 720
2001-07-23  Ron Steinke  <rsteinke@w-link.net>

	* gdk/gdkdraw.c: Added a check on the colormap depth to
	gdk_drawable_set_colormap()
721
	* gdk/x11/gdkimage-x11.c: combination of Matthias Clasen's
722 723 724 725 726 727
	patch to fix colorsel and my patch to fix gdk_drawable_get_image()
	for pixmaps without visuals (more specifically, bitmaps)
	* gdk/x11/gdkpixmap-x11.c: Fixed gdk_pixmap_new() so it
	doesn't set a colormap with the wrong depth


728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781
2001-07-22  Anders Carlsson  <andersca@gnome.org>

	* gtk/gtktreeview.c (gtk_tree_view_class_init): Replace the
	expander_height and expander_width properties with a single
	property, expander_size.
	(gtk_tree_view_init): Set the tab_offset to expander_size
	plus some padding.
	(gtk_tree_view_unrealize): Remove the expand/collapse
	timeout if it exists.
	(coords_are_over_arrow): Fix a small bug.
	(gtk_tree_view_motion_draw_column_motion_arrow): Use
	expander_size.
	(gtk_tree_view_draw_focus): Use "treeview" instead of
	"add-mode" as detail when drawing the focus.
	(gtk_tree_view_bin_expose): Use "treeview-drop-indicator"
	instead of "add-mode" as detail when drawing the focus.
	(gtk_tree_view_deleted): If we have a node currently being
	expanded or collapsed, remove the timeout and set the node 
	to NULL.
	(gtk_tree_view_queue_draw_arrow): New function that just
	redraws the arrow of a node.
	(gtk_tree_view_draw_arrow): Use expander_size instead of
	expander_width/expander_height, also pass a different
	expander_style to gtk_paint_expander depending on the 
	state of the node being drawn.
	(expand_collapse_timeout): New function for expanding 
	or collapsing a node depending on the previous state.
	(gtk_tree_view_real_expand_row): Add timeout and set 
	correct state for node being expanded.
	(gtk_tree_view_real_collapse_row): Add timeout and set
	correct state for node being collapsed.

	* gtk/gtktreeprivate.h (struct _GtkTreeViewPrivate): Add
	information about the node currently being expanded or
	collapsed, and also a timeout id.

	* gtk/gtkstyle.h (struct _GtkStyleClass): Replace is_open
	with expander_style for draw_expander.

	* gtk/gtkstyle.c (gtk_draw_expander): Replace is_open with
	expander_style.
	(create_expander_affine): New function for creating an 
	expander affine.
	(apply_affine_on_point): New function for applying an 
	affine to a point.
	(gtk_default_draw_expander): Modified to take expander_style
	instead of is_open, and to draw the rectangle rotated differently
	depending on the expander style.
	(gtk_paint_expander): Replace is_open with expander_style.

	* gtk/gtkrbtree.h: Add expander states to GtkRBNodeColor.

	* gtk/gtkenums.h: Add expander style enum.

782 783 784 785 786
2001-07-21  Jonas Borgstrm  <jonas@codefactory.se>

	* gtk/gtktreemodel.c (gtk_tree_model_foreach): Check the return
	value from gtk_tree_model_get_iter, the model might be empty.

787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811
2001-07-20  Hans Breuer  <hans@breuer.org>

	* gdk/win32/gdkinput-win32.c : gdk_device_get_history moved to
	gdk/gdkinput.c like the other backends

	* gdk/win32/gdkinput-win32.h :
	* gdk/win32/gdkinput.c :
	* gdk/win32/gdkvisual-win32.c :
	* gdk/win32/gdkwin32.h : mechanical adaption to GdkDevice and
	GdkVisual GObjectification. UNTESTED for pen-devices because
	I simply have none.

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

	* gtk/gtkiconfactory.c :
	* gtk/gtkoldeditable.c : GError *error needs to be initialized (= NULL) 
	before passing &error to functions to avoid strange crashes
	
	* gtk/gtkcontainer.c (gtk_container_real_set_focus_child) : is static

	* gtk/gtkwidget.c (gtk_widget_get_child_visible): use g_return_val_if_fail

	* gtk/makefile.msc.in : updated

Owen Taylor's avatar
Owen Taylor committed
812 813 814 815 816
Thu Jul 19 15:35:32 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkscrolledwindow.c (gtk_scrolled_window_set_vadjustment):
	Add property support. (#51858)

817 818 819 820 821 822 823 824 825 826 827 828 829 830
Thu Jul 19 14:56:33 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkaccellabel.c (gtk_accel_label_class_init) 
	* gtk/gtkinputdialog.c (gtk_input_dialog_set_key):
	Use Shift/Ctrl instead of Shft/Ctl. (#53807)

Thu Jul 19 11:41:00 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkcolorsel.c: Add propery support (roughly
	based on patch from Lee Mallabone, #51014)

	* gtk/gtkcolorsel.h: Mark gtk_color_selection_set_update_policy as
	deprecated, since we already g_warning() on it.

831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849
Thu Jul 19 14:24:34 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkentry.c (gtk_entry_set_positions): Fix
	typo that sometimes caused selection not to work properly.

	* gtk/gtkentry.c (gtk_entry_grab_focus): Select text in
	entry when tabbing in. (#57743)
	
	* gtk/gtkentry.c (gtk_entry_motion_notify): If the
	user drags up above or down below the entry, move
	to the end or the beginning of the entry. (Suggestion
	from Jay Cox, #50940)

	* gtk/gtkentry.c (gtk_entry_move_cursor): If we have
	a current selection, then when moving by chars or
	words, move to the end of the selection rather than
	from entry->current_pos. (Suggestion from Jay Cox,
	#50942)
	
850 851 852 853 854 855
Thu Jul 19 12:14:28 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkwindow.c (gtk_window_set_decorated): Actualy
	set window->decorated. (Patch from Hidetoshi Tajima,
	#55846)

856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878
Sat Jul  7 02:50:14 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkwidget.c (gtk_widget_set_parent): Enforce
	the widget/child realization/mapping invariants.

	* gtk/gtkwidget.[ch] gtk/gtkprivate.h: Add functions 
	gtk_widget_[get/set]_child_visible() to control
	whether visible children of a mapped window are
	mapped.

	* docs/widget_system.txt: Updated for changes in
	container contract, and addition of GTK_CHILD_VISIBLE.

	* gtk/gtkcontainer.c: Add generic map()/unmap()
	functions that work for almost all containers.

	* gtk/gtknotebook.c gtk/gtkpacker.c: Use 
	gtk_widget_set_child_visible() where necessary.

	* gtk/*.c: Remove excess map(), unmap(), and 
	realization/mapping invariant enforcing code
	from many containers.

879 880 881
Wed Jul 18 19:51:45 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtktextview.c (gtk_text_view_set_attributes_from_style): 
882
	Get the foreground color from 'text', nor 'fg'. (#57568)
883

884 885 886 887 888 889 890
Wed Jul 18 19:28:46 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/*.c: Patch from Matthias Clasen to remove remove
	all instances of g_return_if_fail (foo != NULL); that are
	immediately before a g_return_if_fail (GTK_IS_FOO (foo));
	since the second check catches the NULL anyways.

891 892 893 894 895 896 897 898 899 900
Wed Jul 18 18:23:05 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkbutton.c gtk/gtkentry.c gtk/gtkmenu.c gtk/gtktextview.c
	gtktreeview.c: Fix idles and timeouts to be properly surrounded by 
	GDK_THREADS_ENTER()/LEAVE() pairs.

	* gtk/gtkdialog.c gtk/gtkclipboard.c: Surround calls
	to g_main_loop_run() with GDK_THREADS_LEAVE()/ENTER()
	pairs. (Problem found by M. Meeks)

901 902 903 904 905 906 907 908 909
2001-07-18  Darin Adler  <darin@bentspoon.com>

	* gtk/gtkiconfactory.c: (gtk_icon_size_register): Reorder code so
	that we don't get a g_warning message every time we register a new
	icon size.

	* gdk/x11/gdkcolor-x11.c: (gdk_colormap_alloc1): Fix warning by
	using pixel variable of the correct type.
	
910 911 912 913 914 915 916 917 918 919
Fri Jul 13 15:33:32 2001  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdkwindow.[ch]: Add a function gdk_window_get_internal_paint_info(),
	so that using X functions on a GdkWindow is possible, if
	a little hairy.

	* gdk/gdkgc.c (gdk_gc_offset): Add a function to offset the clip
	and ts_origin of a GC, so that external parties can offset/restore
	a GC, when using gdk_window_get_internal_paint_info().

920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955
2001-07-17  Darin Adler  <darin@bentspoon.com>

	* .cvsignore: Ignore the sgml directory made by gtkdoc.
	* demos/pixbuf-demo.c: (main): Use gtk_window_set_resizable
	instead of the deprecated gtk_window_set_policy.
	* demos/testpixbuf-scale.c: Add missing <stdlib.h> include.
	* gdk/gdkkeys.c: (gdk_keymap_class_init): Remove empty finalize
	function to get rid of warning and some code too.
	* gdk/x11/gdkfont-x11.c: (gdk_font_charset_for_locale): Add
	missing const.
	* gdk/x11/gdkmain-x11.c: (_gdk_windowing_init_check): Remove
	unused local.
	* gdk/x11/gdkpango-x11.c: (gdk_pango_context_get): Add missing
	const.
	* gdk/x11/gdkselection-x11.c: (gdk_text_property_to_utf8_list),
	(gdk_utf8_to_compound_text): Add missing const.
	* gtk/gtkimage.c: (gtk_image_expose): Remove unused local.
	* gtk/gtkmenubar.c: (gtk_menu_bar_hierarchy_changed): Add missing
	cast and get rid of an unnecessary one.
	* gtk/gtksettings.c: (gtk_settings_notify): Remove unused local.
	* gtk/gtkstatusbar.c: (gtk_statusbar_size_allocate): Remove unused
	local.
	* gtk/gtktreemodelsort.c: (gtk_tree_model_sort_build_level):
	Remove unused local.
	* modules/input/gtkimcontextxim.c: (gtk_im_context_xim_new): Add
	missing const.
	* tests/testsocket.c: (add_child): Add cast so the printf format
	doesn't make us implicitly depend on what integer type
	gtk_socket_get_id returns.
	* tests/testtextbuffer.c: Add missing const.
	* tests/testtreefocus.c: (main): Remove unused local.
	* tests/treestoretest.c: (iter_remove): Remove unused local.
	(uppercase_value): Remove unused function.
	(make_window): Add statement to quiet the compiler's uninitialized
	variable warning.

956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979
Sat Jul 14 12:47:35 2001  Tim Janik  <timj@gtk.org>

	* gtk/gtkrange.c:
	(second_timeout): 
	(initial_timeout): 
	(update_timeout): add GDK_THREADS_ENTER/GDK_THREADS_LEAVE.
	(gtk_range_calc_layout): compute the new layout based on an
	adjustment->value being passed in as argument.
	(gtk_range_button_press): for button2 slider warps, first recalc
	the layout, then adjust the value. also, use update_slider_position()
	for adjusting the value, so we keep pixel quantisation at which we
	usually operate (upon motion or button releases). the reason for this
	is that, we can't change the adjustment upon button2 presses to a non
	quantised value and upon button2 release re-quantise the value since
	that'd alter the value even if we didn't get any motion events (causing
	unexpected scroll area warps upon release and/or slider pixel-jitter).
	(gtk_range_motion_notify): update the slider position from queried
	coordinates, not event coordinates.

Fri Jul 13 09:47:52 2001  Tim Janik  <timj@gtk.org>

	* gtk/gtkstyle.c (gtk_default_draw_focus): fix line style resetting,
	the default gc values are: width=0, CapBut, JoinMiter.

980 981 982 983 984 985
2001-07-13  Anders Carlsson  <andersca@codefactory.se>

	* gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_render): Take
	into account the xpad and ypad when calculating the width and the
	height of the pixbuf cel.

986 987 988 989 990 991 992 993
Thu Jul 12 18:29:40 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkradiomenuitem.[ch] (gtk_radio_menu_item_group): 
	Rename to gtk_radio_menu_item_get_group(), add deprecated
	alias. (#57044)

	* gtk/gtkfilesel.c: Indentation fix.

994 995 996 997 998 999 1000 1001 1002
Thu Jul 12 17:33:00 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkbbox.h gtk/gtkcompat.h: Patch from Mathias 
	Hasselmann to fix warnings in compat macros. 
	(#56773)

	* gtk/gtkmenubar.c (gtk_menu_bar_hierarchy_changed): Fix 
	stupid wrong cast added in last patch.

1003 1004 1005 1006 1007
Thu Jul 12 16:51:34 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkwidget.c: Replace a couple of inappropriate calls to 
	GTK_WIDGET_HAS_FOCUS() with gtk_widget_is_focus(). (#57067)

Owen Taylor's avatar
Owen Taylor committed
1008 1009 1010
Thu Jul 12 14:06:19 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkmenubar.c (gtk_menu_bar_hierarchy_changed): Add
1011
	missing cast.
Owen Taylor's avatar
Owen Taylor committed
1012 1013 1014 1015 1016 1017 1018 1019

	* gtk/gtkcontainer.c (gtk_container_get_focus_chain): Fix
	NULL/FALSE return value confusion.

	* gtk/gtkrange.c (coord_to_value): Fix division-by-zero
	problem when scrollbar completely fills range. (Patch
	from  Matthias Clasen, #57047)

1020 1021 1022 1023 1024 1025
Thu Jul 12 13:53:28 2001  Owen Taylor  <otaylor@redhat.com>

	* gdk/x11/gdkevents-x11.c (gdk_event_translate): Properly
	clean up when handling events for move-resize emulation.
	(Problem traced down by Matthias Clasen, #57271)

1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036
Thu Jul 12 13:43:27 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkclist.c gtk/gtkcolorsel.c gtk/gtkcombo.c
	  gtk/gtkctree.c gtk/gtkcurve.c gtk/gtkentry.c
	  gtk/gtkfontsel.c gtk/gtkhandlebox.c 
	  gtk/gtkimcontextsimple.c gtk/gtkmain.c gtk/gtkmenu.c
	  gtk/gtkmenuitem.c gtk/gtkoptionmenu.c gtk/gtkpixmap.c
	  gtk/gtkselection.c gtk/gtktextdisplay.c gtk/gtktextview.c
	  gtk/gtktooltips.c gtk/gtkwidget.c gtk/gtkwindow.c:
	Formatting fixes from multihead brnach. [ mostly foo(bar) => foo (bar) ]

1037 1038 1039 1040 1041
2001-07-09  Peter Williams  <peterw@ximian.com>

	* gtk/Makefile.am ($(srcdir)/stamp-gtk.defs): Add a cd $(srcdir)
	for when srcdir != builddir

1042 1043 1044 1045 1046 1047 1048 1049 1050 1051
Mon Jul  9 12:50:51 2001  Jonathan Blandford  <jrb@redhat.com>

	* gtk/gtktreemodel.c: remove gtk_tree_model_get_first in favor of
	gtk_tree_model_get_iter_root.

	* gtk/gtkliststore.c: Add a bunch of g_return statements.
	(gtk_list_store_iter_n_children): Fix up.

	* gtk/gtktreestore.c: Add a bunch of g_return statements.

1052 1053 1054 1055 1056 1057 1058 1059 1060
Fri Jul  6 15:38:33 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkwidget.c (gtk_widget_class_init):
	G_SIGNAL_TYPE_STATIC_SCOPE GtkSelectionData to
	restore some workingness.

	* gdk/x11/gdkwindow-x11.c (gdk_window_new): Fix 
	handle of window type for input-only windows.

1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077
Thu Jul  5 21:53:46 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkbbox.[ch] gtk/gtkbox.[ch] gtk/gtk[hv]bbox.c:
	Patch from Gregory Merchan to add 
	gtk_button_box_set_secondary(), which separates
	the child into a separate group from the normal
	buttons. (#56331)

	* gtk/gtkdialog.c: Make help buttons secondary by
	default.

	* gtk/gtkbbox.c: Added a child property "secondary".

	* gtk/testgtk.c: Turn on the help button for the 
	color selector to check that it properly appears
	as secondary.

1078 1079 1080 1081 1082 1083 1084 1085
Mon Jul  2 01:09:37 2001  Owen Taylor  <otaylor@redhat.com>
 
 	* gdk/gdkwindow.[ch] gdk/gdkinternals.h gdk/x11/gdkwindow-x11.c
 	gdk/linux-fb/gdkwindow-fb.c gdk/x11/gdkwindow-x11.c gdk/gdk:
 	Add gdk_set_pointer_hooks() to allow pointer-querying to
 	be hooked by an event record/playback system like GERD.
	(#56914)
 	
1086 1087 1088 1089 1090 1091
Thu Jul  5 08:57:07 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkwidget.c (gtk_widget_reset_rc_style): Pass
	in the right value of initial_emission to
	gtk_widget_set_style_internal (#57091)

Owen Taylor's avatar
Owen Taylor committed
1092 1093 1094 1095 1096 1097 1098 1099 1100
Wed Jul  4 23:17:04 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkdnd.c (gtk_drag_dest_hierarchy_changed):
	Make compile.

	* gtk/gtkwidget.c (gtk_widget_reset_rc_style): Fix problem
	with calling gtk_widget_set_style_internal() with
	the old style, not the new style. (#56989)

1101 1102 1103 1104 1105 1106 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 1155 1156
Wed Jul  4 22:35:40 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtklabel.c gtk/gtkmenubar.c gtk/gtktreeviewcolumn.c
	  gtk/gtkwidget.c:
	Check GTK_WIDGET_TOPLEVEL(gtk_widget_get_toplevel (widget)),
	not GTK_WIDGET_GET_ANCESTOR ... see 
	http://mail.gnome.org/archives/gtk-devel-list/2001-July/msg00072.html.
	Indicate the best practice in the docs for gtk_widget_get_toplevel().

	* gtk/gtkwidget.[ch]: Expose a private _gtk_widget_hierarchy_changed(),
	so GtkPlug can give the correct signals when transforming
	from a child to a toplevel.
	
	* gtk/gtkdnd.c (gtk_drag_dest_hierarchy_changed): Handle
	reparentation correctly.

	* gtk/gtkwidget.c (gtk_widget_propagate_hierarchy_changed):
	Propagate the previous_toplevel argument down properly.

	* gtk/gtklabel.c (gtk_label_finalize): Fix unrefing
	of wrong atr list.

	* gtk/gtkplug.[ch]: Add an "embedded" signal.

	* gtk/gtksocket.[ch]: Add "child_added", "child_removed"
	signals.

	* gtk/gtkplug.[ch] gtk/gtksocket.[ch]: Add 
	functions gtk_plug_get_id(), gtk_socket_get_id(),
	to avoid the user having to worry about realization,
	and gdkx.h.

	* tests/testsocket.c: Extend to try out the new signals
	and gtk_plug/socket_get_id().

	* gtk/gtklabel.c (gtk_label_set_pattern_internal): Fix
	setting of underline attributes.

	* gdk/x11/gdkevents-x11.c (gdk_event_translate): Ignore
	DestroyNotify events from SubstructureNotifyMask

	* gdk/x11/gdkwindow-x11.c (gdk_window_reparent):
	Switch GDK_WINDOW_TYPE (window) as needed.

	* gdk/x11/gdkwindow-x11.c (gdk_window_new): Clean up,
	allow creation of toplevel windows as children of
	foreign windows.

	* gtk/gtkplug.c: Remove hacks involving changing private
	fields of GdkWindow.

	* gtk/gtkplug.[ch] gtk/gtksocket.c: Work to make 
	exactly the same signals and notification
	be emitted for local embedding as for inter-process
	embedding.

1157 1158 1159 1160
2001-07-04  James Henstridge  <james@daa.com.au>

	* gtk/gtkliststore.h: add missing gtk_list_store_newv prototype.

1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208
Mon Jul  2 16:53:25 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/xembed.h gtk/gtkplug.c gtk/gtksocket.c: For
	XEMBED embedding add a _XEMBED_INFO property to the
	client with version number and a "mapped" flags.
	Use the mapped flag instead of the racy MapRequestEvent

        * gtk/gtksocket.c: Clean up the gtk_socket_steal()
	code to reliably set things (when the child is a passive
	embedder participating in the XEMBED protocol) intead
	of just being a hack for embedding non-participating
	programs. Fix various bugs and race conditions.
	
	* gtk/gtksocket.[ch] gtk/gtkplug.[ch]: Make local embedding
	work by simply making the GtkSocket the gtk parent
	of the GtkPlug. Set a flag in this case and make
	the GtkPlug work like a normal container by overriding
	methods such as check_resize and "chaining past" GtkWindow
	to GtkBin.

 	* gtk/gtkentry.c (gtk_entry_real_activate)
	  gtk/gtkmain.c (gtk_propagate_event): 
 	Eliminate use of gtk_widget_get_ancestor (widget, GTK_TYPE_WINDOW).
	
	* gtk/gtkwidget.c (gtk_widget_get_toplevel,
	gtk_widget_get_ancestor):
	Explain	why gtk_widget_get_ancestor (widget, GTK_TYPE_WINDOW)
	might not give the expected result and recommend
	an alternative.

	* tests/testsocket.c tests/testsocket_child.c
	tests/testsocket_common.c tests/Makefile.am: Extended
	to test different type of adding plugs to sockets
	(local,active,passive),	and to test mapping/unmapping
	the plug.

 	* gdk/gdkwindow.c (_gdk_window_destroy_hierarchy): Don't
 	mark the window as destroyed until after we
 	called _gdk_windowing_window_destroy().
	(_gdk_windowing_window_destroy() may use GDK functions
	on the window.)

 	* gdk/x11/gdkinput.c: Remove the check for finalization - 
 	devices can be finalized under some circumnstances.
 
 	* gdk/x11/gdkinput-x11.c (gdk_input_device_new): Fix 
 	small problem with GDK_TYPE_DEVICE.
 
1209 1210 1211 1212 1213
2001-07-02  Havoc Pennington  <hp@pobox.com>

	* gdk/x11/gdkwindow-x11.c (gdk_wmspec_change_state): fix to 
	use constants not atoms.

1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228
2001-07-02  James Henstridge  <james@daa.com.au>

	* gtk/gtktextview.c (gtk_text_view_class_init): same here for
	PANGO_TYPE_TAB_ARRAY.

	* gtk/gtktexttag.c (gtk_text_tag_class_init): same here, but also
	for PANGO_TYPE_TAB_ARRAY.

	* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init):
	s/GTK_TYPE_PANGO_FONT_DESCRIPTION/PANGO_TYPE_FONT_DESCRIPTION/

	* gtk/gtk-boxed.defs: move all the boxed definitions to the top of
	the file.  Remove Pango types from defs -- they are now defined in
	libpango.

Tim Janik's avatar
Tim Janik committed
1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241
Mon Jul  2 06:35:10 2001  Tim Janik  <timj@gtk.org>

	* gdk/gdkkeys.c (gdk_keymap_class_init): s/signal_newc/signal_new/

	* gtk/gtkobject.c (gtk_object_destroy): invoke
	g_object_run_dispose().

	* gtk/gtkwindow.c: 
	* gtk/gtkwidget.c: 
	* gtk/gtkobject.c:
	* gtk/gtklist.c: s/shutdown/dispose/ for the GObject
	method.

1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258
Sat Jun 30 20:44:48 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtktypeutils.c (gtk_type_class): Remove
	change check for GTK_TYPE_OBJECT derivation to
	G_TYPE_OBJECTS - it's Tim-approved to use this 
	for arbitary objects.

	* gtk/gtkwindow.c gtk/gtkcontainer.[ch]: underscore
	prefix gtk_container_dequeue_resize_handler().

	* gtk/gtkwidget.[ch]: Add a previous_toplevel argument
	to the hierarachy_changed signal, since you otherwise
	have to always keep that around.

	* gtk/gtkmenubar.c gtk/gtklabel.c gtk/gtksocket.c: Adapt
	for extra argument to hierarchy_changed.

1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343
Tue Jun 26 19:39:03 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkwidget.c (gtk_widget_set_style): Allow %NULL
	for style to mean "revert to default style"

	* gtk/gtkwidget.[ch] (gtk_widget_set_rc_style,
	  gtk_widget_restore_default_style): Make this functions
	deprecated aliases for gtk_widget_set_style (widget, NULL).

	* gtk/gtkwidget.[ch]: Remove:
	   gtk_widget_set_default_style ()
	   gtk_widget_push_style ()
	   gtk_widget_pop_style ()
	These functions interact are overriden by RC files, and
	thus virtually useless, and complicated.

Fri Jun 22 18:49:48 2001  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkrc.c: Add a GtkRcContext structure to hold 
	most of the previous global variables in gtkrc.c. This is
	in preparation for multi-head, since each screen can
	have different GtkSettings and RC information.

	* gtk/gtkrc.[ch]: 

	* gtk/gtkrc.h (struct _GtkRcStyleClass): Add a
	GtkSettings parameter to GtkRcStyle::parse.

	* gdk/x11/gdkevents-x11.c gtk/gtksettings.c gtk/gtkrc.c: 
	Add two new settings gtk-theme-name, gtk-key-theme-name,
	for RC files that are loaded by name after reading
	the default RC files.
	
	* gtk/gtkrc.c: Allow priorities for styles, as wll as
	bindings.

	* gtk/gtkenums.h gtk/gtkrc.c: Add GTK_PATH_PRIO_THEME,
	and use it by default for RC files loaded via 
	gtk-theme-name, gtk-key-theme-name.

	* gtk/gtkiconfactory.c (gtk_icon_source_set_filename)
        gtk/gtkrc.c (gtk_rc_parse_pixmap_path_string) 
	tests/testgtkrc: Require pathnames to be absolute.

	* gtk/gtkrc.c gtk/gtkiconfactory.c: Look up the full filename for
	the source when parsing, since the operation of looking up a
	pixmap from an RC file depends on the parsing context.

	* gtk/gtkrc.c (gtk_rc_context_reparse_all): Automatically
	reset RC styles on all widgets when files are reparsed.

	* tests/testgtk.c (create_rc_file) 
	  gtk/gtkwindow.c (gtk_window_read_rcfiles): 
	Simplify, now that gtk_rc_reparse_all() resets styles on
	all widgets itself.

	* gtk/gtkmain.c (gtk_get_default_language): Fix broken
	return value.

	* gtk/gtksettings.[ch] (gtk_settings_install_property[_ch]): Remove
	GtkSettings argument.

	* gtk/gtksettings.[ch] (gtk_settings_get_default): Rename from
	gtk_settings_get_global().

	* gtk/gtkwidget.[ch]: Add a function gtk_widget_Get_settings()
	to get the appropriate GtkSettings for a widget. (For now,
	just gets the default GtkSetttings.) 

	* gtk/gtkcolorsel.c gtk/gtkentry.c gtk/gtkmenu.c gtk/gtkmenubar.c
	  gtk/gtktextview.c gtk/gtktoolbar.c: Fixes for GtkSettings
        changes.

	* gtk/gtkrc.[ch]: Add gtk_rc_get_style_by_paths() to allow
	getting a style for a path without actually having a widget.
	(Allows using a style for a subpart of a widget, for
	example.)

	* gtk/gtkrc.[ch]: Add gtk_rc_reparse_all_for_setting() to allow forcing
	the RC files to be reloaded for just one GtkSettings
	(not sure how useful this really is.)

	* gtk/gtkrc.h: Deprecate
	gtk_rc_add_widget_name/widget_class/class_style

1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354
2001-06-30  Alex Larsson  <alexl@redhat.com>

	* gdk/linux-fb/gdkinput-none.c:
	* gdk/linux-fb/gdkinput.c:
	* gdk/linux-fb/gdkinputprivate.h:
	Convert GdkDevice to a GObject.

	* linux-fb/gdkprivate-fb.h:
	* linux-fb/gdkvisual-fb.c:
	Convert GdkVisual to a GObject.

1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372
2001-06-29  Alex Larsson  <alexl@redhat.com>

	* gdk/gdkvisual.h:
	* gdk/gdkcolor.c:
	* gdk/x11/gdkx.h:
	* gdk/x11/gdkvisual-x11.c:
	Convert GdkVisual to a GObject.

	* gdk/gdkinput.h:
	* gdk/gdkevents.c:
	* gdk/x11/gdkinputprivate.h:
	* gdk/x11/gdkinput-gxi.c:
	* gdk/x11/gdkinput-none.c:
	* gdk/x11/gdkinput-x11.c:
	* gdk/x11/gdkinput-xfree.c:
	* gdk/x11/gdkinput.c:
	Convert GdkDevice to a GObject.

1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388
Fri Jun 29 22:13:28 2001  Jonathan Blandford  <jrb@redhat.com>

	* gtk/gtktreestore.c (gtk_tree_store_new): changed new_with_types
	to just plain new, fixing the number of columns, and column types
	at creation time.

	* gtk/gtkliststore.c (gtk_list_store_new): ditto.

	* gtk/gtkcellrenderertext.c
	(gtk_cell_renderer_text_set_fixed_height_from_font): FIX the
	height to a specific font.

	* gtk/gtktreeview.c (gtk_tree_view_is_expander_column): fix brokenness.

	* tests/*c: change to work with new store models.

1389 1390 1391 1392 1393 1394 1395
2001-06-29  Havoc Pennington  <hp@redhat.com>

       * Throughout: fixes to compile with G_DISABLE_COMPAT
	(s/g_signal_connectc/g_signal_connect/,
	s/g_signal_newc/g_signal_new/,
	s/g_signal_disconnect_by_func/g_signal_handlers_disconnect_by_func/)

1396 1397 1398 1399 1400
Fri Jun 29 03:14:16 2001  Jonathan Blandford  <jrb@webwynk.net>

	* gtk/gtktreeselection.c (gtk_tree_selection_selected_foreach):
	add path argument to selection callbacks.

1401 1402 1403 1404 1405 1406
Fri Jun 29 00:13:34 2001  Jonathan Blandford  <jrb@redhat.com>

	* gtk/gtktreemodel.c (gtk_tree_model_foreach): New function to
	walk through a model in a depth first manner, with the option to
	break out.

1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417
Fri Jun  8 18:52:10 2001  Jonathan Blandford  <jrb@redhat.com>

	* gtk/gtktreeview.[hc]: Patch Thomas Broyer from
	<tbroyer@ltgt.net>. Expander arrows are now attached to a specific
	column and follow it when draged, rather than a location in the
	view. "expander_column" property and drawing functions changed
	accordingly.  Fixes bug #55942.

	(gtk_tree_view_{set,get}_expander_column): Now works with a
	GtkTreeViewColumn* instead of int.

Owen Taylor's avatar
Owen Taylor committed
1418 1419 1420 1421
Thu Jun 28 22:53:18 2001  Owen Taylor  <otaylor@redhat.com>

	*  gdk/gdk.c gtk/gtktypeutils.c: Fix args to g_type_init(). 

1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504
2001-06-28  Havoc Pennington  <hp@pobox.com>

	* gdk/x11/gdkimage-x11.c (_gdk_x11_get_image): Clip the retrieved
	image data to the screen, using a server grab to avoid race
	conditions.

	* gtk/gtkitemfactory.c (gtk_item_factory_create_item): remove 
	check for NULL return from gtk_image_new_from_stock(), it never
	returns NULL.
	(gtk_item_factory_create_item): fix bug where we parsed the stock
	ID as an inline pixbuf

	* gtk/gtktext.c (gtk_text_key_press): numeric keypad support

	* gtk/gtkspinbutton.c (gtk_spin_button_key_press): numeric keypad
	support (should be using binding set here)

	* gtk/gtkoptionmenu.c (gtk_option_menu_key_press): numeric keypad
	support (should be using binding set here)

	* gtk/gtkmenushell.c (gtk_menu_shell_class_init): numeric keypad 
	support

	* gtk/gtkmenu.c (gtk_menu_class_init): numeric keypad support

	* gtk/gtkmenubar.c (gtk_menu_bar_class_init): numeric keypad

	* gtk/gtklistitem.c (gtk_list_item_class_init): numeric keypad

	* gtk/gtkimcontextsimple.c
	(gtk_im_context_simple_filter_keypress): keypad

	* gtk/gtkfilesel.c (gtk_file_selection_key_press): keypad 

	* gtk/gtkentry.c (gtk_entry_class_init): numeric keypad fixes

	* gtk/gtkctree.c (gtk_ctree_class_init): numeric keypad support

	* gtk/gtkcolorsel.c (palette_activate): keypad support (of course,
	should be binding-setted)

	* gtk/gtkwindow.c (gtk_window_class_init): numeric keypad fixes

	* gtk/gtkclist.c (gtk_clist_class_init): numeric keypad fixes

	* gtk/gtkcalendar.c: numeric keypad fixes

	* gtk/gtktextview.c (gtk_text_view_class_init): numeric keypad
	support

	* gdk/gdkwindow.c (gdk_window_get_clip_region): fix infinite loop
	screwup

	* gdk/gdkpixbuf-render.c (gdk_pixbuf_render_to_drawable_alpha): 
	clip the render area to the drawable's clip region in advance,
	so we don't get data from the server that we don't need.

	* gdk/gdkpixbuf-render.c (gdk_pixbuf_render_to_drawable_alpha):
	check return value of gdk_pixbuf_get_from_drawable(), fall back 
	to bilevel alpha if we can't get the pixbuf to composite against.

	* gdk/gdkdraw.c (gdk_drawable_get_image): set the image colormap

	* gdk/gdkimage.c (gdk_image_get_colormap): add
	gdk_image_set_colormap, gdk_image_get_colormap

	* gdk/gdkpixbuf-drawable.c (rgbconvert): Change all converters to
	take a region of the image, instead of converting the entire
	image.

	* gtk/gtkwidget.h (struct _GtkWidgetClass): add show_help
	keybinding signal. Add default bindings for it. Add default
	handler for show_help that shows the tooltip for the widget.

	* gtk/gtkdialog.c (gtk_dialog_class_init): add binding set and
	"close" keybinding signal, remove key press handler.

	* gtk/gtktooltips.c (gtk_tooltips_set_colors): Just remove this,
	it's not our usual practice to leave a deprecated function around
	with a runtime warning, plus we don't want it to appear in docs,
	plus if we make them yellow no one will want to change them
	anyhow.

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
Thu Jun 28 23:53:31 2001  Tim Janik  <timj@gtk.org>

	* gtk/gtkwidget.c (gtk_widget_hide): !GTK_OBJECT_DESTROYED() ->
	GTK_WIDGET_REALIZE() for resize queueing.

	* gtk/gtkmain.c (gtk_main_do_event): !GTK_OBJECT_DESTROYED() ->
	GTK_WIDGET_REALIZE() for post event delivery destruction upon
	GDK_DESTROY.
	
	* gtk/gtkwidget.c: added GtkWidget::event-after notification signal, to
	sompensate for former (pre-2.0) connect_after() facility.
	(gtk_widget_send_expose): 
	(gtk_widget_event): assert the widget is realized, since event delivery
	to non-realized widgets is essentially a bug. event handlers should
	be able to unconditionally rely on widget->window (unless they
	emit events on their own which can trigger widget destruction).
	(gtk_widget_event_internal): removed old outdated GTK_OBJECT_DESTROYED()
	logic. event delivery happens as follows:
	a) emission of GtkWidget::event (RUN_LAST handler). returns was_handled.
	b) if !was_handled in (a) and the widget is still realized, emit event-
	   specific signal (RUN_LAST handler). returns was_handled.
	c) emission of GtkWidget::event-after for notification if the widget is
	   still realized (regardless of was_handled from previous stages, no
	   class handler). no return value.
	d) was_handled gets passed on to caller, to determine further
	   propagation. if the widget got unrealized meanwhile, was_handled
	   is returned as TRUE.

	* gdk/gdkevents.[hc]: added gdk_event_get_root_coords() and
	gdk_event_get_coords().

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 1578 1579 1580 1581 1582 1583
Thu Jun 28 17:18:41 2001  Tim Janik  <timj@gtk.org>

	* configure.in (GTK_MICRO_VERSION): up version to 1.3.7, interface
	age 0, binary age 0. depend on glib 1.3.7.

	* gtk/gtkcontainer.c: remove g_signal_handlers_disconnect_by_func() hack.

	* gtk/gtkmenubar.c: same here.
	
	* gtk/gtkcontainer.c (gtk_container_focus_tab): fix param-spec retrival.

	* gtk/gtkcolorsel.c (gtk_color_selection_init): fix connect_data() usage.

	* gtk/gtkentry.c (gtk_entry_focus_in): same here.
	
	* gtk/gtkmenubar.c (add_to_window): likewise.
	
	* gtk/gtktextbtree.c: and here...
	
	* gtk/gtktextview.c (gtk_text_view_ensure_layout): same thing.
	
	* gtk/gtktoolbar.c (gtk_toolbar_init): once more.
	
	* gtk/gtktreemodel.c (connect_ref_callbacks): and another time.
	
	* gtk/gtktreeviewcolumn.c:
	(_gtk_tree_view_column_set_tree_view): yet again.

	* demos/gtk-demo/images.c (progressive_timeout): demonstrate
	signal connections without g_signal_connect_data().
	
	* demos/gtk-demo/stock_browser.c (do_stock_browser): second
	demo of the matter.
	
	* demos/testpixbuf.c (main): running out of equality phrases for the
	ChangeLog, but had to adapt connections here as well.
	
	* demos/testanimation.c (progressive_timeout): and for the fun of it,
	tackled this the same way.
	
	* tests/testtext.c (create_view): ok, it's becoming a pain at this
	point, but had enough enery for one more fix.

	* tests/testtreecolumns.c (main): stand up man, do your work!

	* tests/testtreeview.c (set_columns_type): ok, this is the last file i
	fix, either that's been all of it or CVS gtk is broken yet again.
	
1584 1585 1586 1587 1588 1589 1590 1591 1592 1593
2001-06-29  James Henstridge  <james@daa.com.au>

	The following changes correspond to bug #56812

	* gdk/gdkinput.h, gdk/gdkevents.c (GDK_TYPE_DEVICE): register type
	code for GdkDevice.

	* gdk/gdkcursor.[ch] (GDK_TYPE_CURSOR): register type code for
	GdkCursor.

1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613
2001-06-19  Havoc Pennington  <hp@pobox.com>

	* gdk/x11/gdkwindow-x11.c (gdk_window_show_unraised): new function
	for mapping a window without fooling with stacking order, but
	updating the "withdrawn" flag

	* gdk/x11/gdkevents-x11.c (gdk_event_translate): Do event
	filtering as soon as possible, moving move resize and wmspec_check
	handling after the event filter.  Make default filter apply to all
	events, not just those with no GdkWindow wrapped around the X
	window. Fix a FIXME about how the window could be a pixmap using 
	RTTI; this of course assumes GDK_IS_WINDOW() is optimized. 

	Also, be robust against events not on a known GdkWindow.

	* gdk/x11/gdkmain-x11.c (gdk_x11_grab_server,
	gdk_x11_ungrab_server): export reference-counted server grabs, so
	other people can grab server over a GDK function that also does
	so.

1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629
Wed Jun 27 19:40:31 2001  Jonathan Blandford  <jrb@redhat.com>

	* gtk/gtktreeviewcolumn.c
	(gtk_tree_view_column_pack_start_cell_renderer): New function to
	reflect that you can (hypothetically) pack cell renderers into a
	column.
	(gtk_tree_view_column_pack_end_cell_renderer): ditto.
	(gtk_tree_view_column_cell_is_visible): Move more functionality to
	the column.
	(gtk_tree_view_column_cell_can_focus): Move more functionality to
	the column.

	* gtk/gtktreeview.c: Move to use new column-packing code.
	(gtk_tree_view_real_expand_row): remove	totally braindead code.
	(gtk_tree_view_real_collapse_row): ditto.

Kjartan Maraas's avatar
Kjartan Maraas committed
1630 1631 1632 1633
2001-06-27  Kjartan Maraas  <kmaraas@gnome.org>

	* gtk/gtktreeviewcolumn.c: Fix a typo.
	
1634 1635 1636 1637 1638
2001-06-26  Joel Becker  <jlbec@evilplan.org>

	* gdk-pixbuf/gdk-pixbuf-csource.c: remove '#include "x"' line
	  at the end of the file

Havoc Pennington's avatar
Havoc Pennington committed
1639 1640 1641 1642
2001-06-26  Havoc Pennington  <hp@redhat.com>

	* gtk/gtkwindow.c (gtk_window_set_policy): forgot a notification

Havoc Pennington's avatar
Havoc Pennington committed
1643 1644 1645 1646 1647
2001-06-26  Havoc Pennington  <hp@redhat.com>

	* gtk/gtkwindow.c (gtk_window_class_init): add "resizable"
	property

1648 1649 1650 1651 1652 1653 1654 1655 1656 1657
Tue Jun 26 12:59:28 2001  Jonathan Blandford  <jrb@redhat.com>

	* gtk/gtktreemodelsort.c (gtk_tree_model_sort_set_model): fix
	stupid missing statement

	* gtk/gtktreeview.c (gtk_tree_view_set_destroy_count_func): New
	private function for ATK.  It notifies you of how many _visible_
	children are deleted when a node is deleted.  Should be used by
	atk only.

1658 1659 1660 1661 1662 1663 1664
Tue Jun 26 11:06:34 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkclist.c gtk/gtkentry.c gtk/gtkspinbutton.c:
	Use new pango_context_get_metrics() to fix problems
	with font lists in descriptions. (#56184, reported by
	Jonas Borgström)

1665 1666 1667 1668 1669 1670
Tue Jun 26 10:04:30 2001  Tim Janik  <timj@gtk.org>

	* gtk/gtkiconfactory.c:
	* gtk/gtkitemfactory.c: use gdk_pixbuf_new_from_stream(). fixed up
	item factory so inlined pixbufs actually work.

Havoc Pennington's avatar
Havoc Pennington committed
1671 1672 1673 1674 1675 1676 1677
2001-06-25  Havoc Pennington  <hp@redhat.com>

	* gtk/gtktreeviewcolumn.h, gtk/gtktreeviewcolumn.c:
	s/RESIZEABLE/RESIZABLE/

	* gtk/gtkwindow.c, gtk/gtkwindow.h: s/resizeable/resizable/

1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704
2001-06-25  Alexander Larsson  <alexl@redhat.com>

	* configure.in:
	Added --enable-fbmanager. This is some experimental code
	that lets several GtkFB apps coordinate their access to the
	framebuffer.
	
	* acconfig.h:
	Added ENABLE_FB_MANAGER.

	* gdk/linux-fb/Makefile.am:
	Added gdkfbmanager and gdkfbswitch.

	* gdk/linux-fb/gdkkeyboard-fb.c:
	* gdk/linux-fb/gdkmouse-fb.c:
	* gdk/linux-fb/gdkprivate-fb.h:
	Split device init and open so that
	they can be opened and closed while switched
	away.

	* gdk/linux-fb/gdkmain-fb.c:
	Add the basic manager communication.

	* gdk/linux-fb/gdkrender-fb.c:
	Don't update to the shadow fb if we're
	blocked by the fb manager.

1705 1706 1707 1708 1709
Sun Jun 24 22:15:16 2001  Owen Taylor  <otaylor@redhat.com>

	* docs/Changes-2.0.txt: Add note about child property
	changes.

1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743
Sun Jun 24 21:34:32 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkenums.h gtk/gtkiconfactory.c: Add a special size for
	drag-and-drop GTK_ICON_SIZE_DND (Default to 32x32)

	* gtk/gtkdnd.c (gtk_drag_dest_set_target_list): Fix problem
	with un'reffing wrong list reported by Jeff Franks.

	* gtk/gtkdnd.[ch] (_gtk_drag_{source,}dest_handle_event): _prefix.

	* gtk/gtkdnd.c (gtk_drag_set_icon_default): Use GTK_STOCK_DND
	for the default icon. Remove inline XPM.

	* gtk/gtkstock.h gtk/gtkiconfactory.c:
	Add GTK_STOCK_DND GTK_STOCK_DND_MULTIPLE (Currently, stock_new
	is used for GTK_STOCK_DND, but it is a bit too small.)

	* gtk/stock-icons/stock_dnd_multiple.png
	gtk/stock-icons/Makefile.am: New stock icon moved from gnome-libs.

	* gtk/gtkdnd.c (gtk_drag_source_event_cb): Only return
	TRUE when starting a drag. In other cases, we are
	just observing. (#52995)

	* gtk/gtkdnd.[ch] (gtk_drag_set_icon_{stock,pixbuf}): Add 
	function to set the icon for a drag from a GdkPixbuf
	or stock ID.

	* gtk/gtkdnd.[ch] (gtk_drag_source_set_icon_{stock,pixbuf}): 
	Likewise, for drag sources.

	* gtk/gtkdnd.h: Deprecate gtk_drag_set_default_icon.
	(Now should be done using the stock system.)

1744 1745 1746 1747 1748 1749
Sun Jun 24 12:06:47 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtktextview.[ch] (gtk_text_view_set_text_window_size): 
	Removed - didn't work and not particularly useful anyways
	if it did. 

1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771
Sun Jun 24 11:29:35 2001  Owen Taylor  <otaylor@redhat.com>

	* gdk/x11/gdkimage-x11.c (gdk_image_new): Fix stupid error
	introduced last night that was making things decidedly not work.

	* gtk/*.[ch]: Patch from Kristian Rietveld adding 80 getters
	so that we have getter/setter pairing everywhere it makes
	sense. (#55767)

	* gtk/gtkradiobutton.[ch] gtk/gtktoolbar.c tests/testgtk.:
	Rename gtk_radio_button_group to gtk_radio_button_get_group, add a
	deprecated compat macro. (#55516)

	* gtk/gtklabel.[ch]: Add functions
	gtk_label_set/get_use_underline(), gtk_label_set/get_use_markup(),
	gtk_label_set_label(), which mirror the property API for GtkLabel.
	Make gtk_label_get_attributes() only reflect the attributes
	set by gtk_label_set_attributes.

	* gtk/gtknotebook.c (gtk_notebook_set_current_page) gtk/gtkcompat.h: Rename
	from gtk_notebook_set_page().

Owen Taylor's avatar
Owen Taylor committed
1772 1773 1774 1775 1776 1777 1778
Sat Jun 23 18:02:46 2001  Owen Taylor  <otaylor@redhat.com>

	* configure.in: Fix tests for XShm.h.

	* gdk/x11/gdkimage-x11.c: Cleanup error handling in
	gdk_image_new() by use of goto, properly use g_object_unref().

1779 1780 1781 1782 1783 1784 1785 1786
Sat Jun 23 22:03:20 2001  Tim Janik  <timj@gtk.org>

	* gdk/x11/gdkimage-x11.c (gdk_image_init): disabled g_free (image)
	calls, as GdkImage is an object. these should be g_obejct_unref()
	instead but that won't work because of the g_error() statement
	in gdk_x11_image_destroy(). so for now, i did s/g_free/LEAK_IMAGE/
	to spot these places.

1787 1788 1789 1790 1791 1792 1793 1794 1795
Sat Jun 23 10:27:53 2001  Owen Taylor  <otaylor@redhat.com>

	* modules/input/gtkimcontextxim.c: Fixup some problems with 
	text length handling in error cases.

	* gtk/gtkwidget.c (gtk_widget_size_allocate): Reorder
	a bit to make test actually warn on attempt to allocation
	a negative size. (#56101, Matthias Clasen)

1796 1797 1798 1799 1800 1801 1802
Fri Jun 22 14:06:08 2001  Jonathan Blandford  <jrb@redhat.com>

	* gtk/gtktreeview.c (gtk_tree_view_real_collapse_row): Fix bug
	noticed by Brian Cameron.
	(gtk_tree_view_real_expand_row): Fix bug noticed by Brian
	Cameron.

Hans Breuer's avatar
Hans Breuer committed
1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826
2001-06-22  Hans Breuer  <hans@breuer.org>

	* gdk/gdk.def : updated externals

	* gdk/win32/gdkdrawable-win32.c : corrected some casts
	in GDK_NOTEs

	* gdk/win32/gdkevents-win32.c : use _gdk_windowing_window_get_offsets
	to translate coordinates to the internal > 16 bit system
	Try to handle WM_WINDOWPOSCHANGED to get better performance for
	when moving/resizing

	* gdk/win32/gdkkeys-win32.c : implement gdk_keymap_get_default ()
	and gdk_keymap_get_direction (). The latter is untested for
	the RTL case

	* gtk/gtk.def : updated externals

	* gtk/gtkmain.c : gtk_get_default_language () should reurn the result
	from pango_language_from_string (), not an already freed pointer

	* gtk/stock-icons/stock_menu_sort_ascending.png : PNGs need to be 
	binary (-kb) to be useable on windoze
 
1827 1828 1829 1830 1831 1832 1833 1834 1835
2001-06-21  Alexander Larsson  <alexl@redhat.com>

	* gdk/linux-fb/gdkfont-fb.c (gdk_font_from_description): 
	Update to new PangoLanguage changes.
	
	* gtk/gtkwindow-decorate.c:
	* gtk/gtkwindow.[ch]:
	Added setting argument to gtk_window_set_has_frame ()
	
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
Thu Jun 21 13:42:01 2001  Owen Taylor  <otaylor@redhat.com>

	* gdk/x11/gdkkeys-x11.c (gdk_keymap_get_direction): Handle
	the case without XKB properly.

	* gtk/gtkrc.c (gtk_rc_set_default_files): Remove
	unused gtk_rc_auto_parse variable.

	* gtk/gtkrc.[ch] gtk/gtkstyle.c docs/Changes-2.0.txt:
	Remove gtk_rc_set_image_loader(), gtk_rc_load_image(), no
	longer needed with GdkPixbuf.

	* gtk/gtkrc.c (_gtk_rc_init): Make private.

Fri Jun 15 16:26:12 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkentry.h: Mark deprecated functions with
	GTK_DISABLE_DEPRECATED.

Mon Jun 11 18:15:16 2001  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdk.h: Add missing gdk_rectangle_get_type() prototype.

	* gtk/gtk[hv]scale.c: Include math.h, stdlib.h

	* gdk/gdkpango.h gtk/gtkclist.c gtk/gtkentry.c gtk/gtkmain.[ch]
	  gtk/gtkspinbutton.c gtk/gtkstyle.c gtk/gtktextbuffer.c
	  gtk/gtktextdisplay.c gtk/gtktextiter.[ch]
	  gtk/gtktextlayout.c gtk/gtktexttag.[ch] gtk/gtkwidget.c: Adapt
	  to recent changes in Pango.

	* tests/testgtk.c: Set language tags with gtk_label_set_markup()
	  to test whether the basic engine honors them.

1870 1871 1872 1873 1874
Thu Jun 21 02:13:40 2001  Tim Janik  <timj@gtk.org>

	* gtk/gtkcontainer.[hc]: added gtk_container_child_set_property() and
	gtk_container_child_get_property().

1875 1876 1877 1878 1879
Wed Jun 20 19:19:15 2001  Jonathan Blandford  <jrb@redhat.com>

	* gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): clean up
	(gtk_tree_view_move_cursor_page_up_down): implement.

1880 1881 1882 1883 1884 1885 1886
Wed Jun 20 05:32:05 2001  Tim Janik  <timj@gtk.org>

	* gtk/gtkspinbutton.c: make maximum digits compile time configurable
	via MAX_DIGITS and up to 20. 5 was just ridiculously small.
	don't use automatic fixed size buffer for printf-ing floats, doubles
 	can expand to really _huge_ strings, use g_strdup_printf() instead.

1887 1888 1889 1890 1891 1892 1893
Wed Jun 20 04:28:24 2001  Tim Janik  <timj@gtk.org>

	* gtk/gtkrange.c (gtk_range_class_init): hum, "adjustment" was a
	construct property in 1.2 and still needs to be.

	* gtk/gtkwidget.c: "composite_child" is not a settable property.

1894 1895 1896 1897 1898 1899
Tue Jun 19 19:13:19 2001  Jonathan Blandford  <jrb@redhat.com>

	* gtk/gtkliststore.c (gtk_list_store_clear): 
	* gtk/gtktreestore.c (gtk_tree_store_clear): New functions to
	clear a model.

Tim Janik's avatar
Tim Janik committed
1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933
Mon Jun 18 02:00:49 2001  Tim Janik  <timj@gtk.org>

	* gtk/gtkwidget.c (gtk_widget_get_property): fix PROP_EVENTS.

	* gtk/Makefile.am:
	* gtk/gtk.h: disabled GtkPacker compilation.

	* gtk/gtkarg.[hc], gtk/gtkargcollector.c: got rid of these.

	* gtk/gtknotebook.c:
	* gtk/gtktable.c:
	* gtk/gtkbox.c: ported this over to child properties.

	* gtk/gtksettings.c: fetch class properties via
	g_object_class_list_properties().

	* gtk/gtkcontainer.[hc]: implemented child properties, got rid of the
	child arg interface. use gobjectnotifyqueue.c for child property
	notification.

	* gtk/gtkwidget.[hc]: provide necessary means for container child
	properties, i.e. ::child_notify signal,
	gtk_widget_freeze_child_notify(),
	gtk_widget_child_notify(),
	gtk_widget_thaw_child_notify().

	* tests/testgtk.c: removed inferior property handling code, for
	property editing, a generic module should be used, and GLE
	coincidentally fullfills that purpose.

	* docs/reference/Makefile.am: disabled gtk docs building, gtk-doc
	needs to be adapted to g_object_class_list_properties() before this
	builds again.

1934 1935 1936 1937 1938
Mon Jun 18 20:06:10 2001  Jonathan Blandford  <jrb@redhat.com>

	* gtk/gtktreeview.c (gtk_tree_view_row_expanded): New function to
	test if a node is expanded.

1939 1940 1941 1942 1943 1944
Mon Jun 18 19:41:38 2001  Jonathan Blandford  <jrb@redhat.com>

	* gtk/gtktreeview.c (gtk_tree_view_real_collapse_row): Fix bug
	where collapsing a selected row would result in the cursor/anchor
	getting screwed up.

1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958
Fri Jun 15 18:53:48 2001  Jonathan Blandford  <jrb@redhat.com>

	* gtk/gtktreesortable.c (gtk_tree_sortable_set_sort_func): Rename
	gtk_tree_sortable_sort_column_id_set_func.  It's much shorter now.
	* gtk/gtktreeview.c (gtk_tree_view_sort_iter_changed): WOOO!!!
	Now I can really reorder/sort all Store widgets.  treesorttest
	seems to just work now.
	* gtk/gtklistview.c (gtk_list_store_iter_changed): Whoops.
	testtreesort worked through a big coincidence all this time.
	* gtk/gtkrbtree.c (_gtk_rbtree_reorder): Nasty bug fix in nasty
	code.
	* tests/testtreecolumns.c: Big 'ol warning at the top letting
	people know that this code should never ever ever be copied.

1959 1960 1961 1962 1963 1964
2001-06-15  Jonas Borgstrm  <jonas@codefactory.se>

	* gtk/gtkwindow.h: Fixed a small typo, it should be
	GTK_WINDOW_GROUP_GET_CLASS and not GTK_WINDOW_GET_CLASS
	on line 134.

Havoc Pennington's avatar
Havoc Pennington committed
1965 1966 1967 1968 1969 1970 1971
2001-06-14  Havoc Pennington  <hp@redhat.com>

        Docs fixups, and:
	
	* gtk/gtkcompat.h: remove GTK_DISABLE_COMPAT_H, replace with
	GTK_DISABLE_DEPRECATED

1972 1973 1974 1975 1976 1977 1978 1979 1980
Thu Jun 14 19:21:27 2001  Jonathan Blandford  <jrb@redhat.com>

	* gtk/gtktreestore.c (gtk_tree_store_sort_helper): Whoops.  Forgot
	this a couple months ago.  Now GtkTreeStore sort of sorts.  I'll
	finish it off tonight, though it basically works now when it's a
	list.  Also, I have a sinking feeling neither GtkTreeStore or
	GtkListStore actually resort when adding a new item.  I'll look
	into it.

1981 1982 1983 1984 1985
2001-06-14  Havoc Pennington  <hp@redhat.com>

	* demos/gtk-demo/main.c (load_file): fix bug identified by
	warnings I just added to gtktextbuffer

Havoc Pennington's avatar
Havoc Pennington committed
1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007
2001-06-14  Havoc Pennington  <hp@redhat.com>

	* gtk/gtkwindow.c (window_group_cleanup_grabs): fix other typo

	* gtk/gtkwidget.c (gtk_widget_propagate_state): fix typo

	* gtk/gtktextbtree.c: don't leak node data all over the place.

	* demos/gtk-demo/main.c (main): create fontify tags for the right
	buffer

	* gtk/gtktextbuffer.c, gtk/gtktexttagtable.c: enhance docs
	to mention tags in the same table can't have the same name,
	suggested by Skip Montanaro

2001-06-11  Havoc Pennington  <hp@redhat.com>

	* gtk/gtktexttagtable.c (gtk_text_tag_table_add): improve warning 
	for trying to add two tags with same name to the tag table

	* demos/gtk-demo/main.c (main): fix colors ;-)

2008
`Fri Jun  8 17:56:52 2001  Owen Taylor  <otaylor@redhat.com>
2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021

	* gtk/gtkwindow.[ch] gtk/gtkmain.c: Add a GtkWindowGroup struct
	that allows grouping together multiple windows so that grabs
	within that set of windows only affect those windows.

	* gtk/gtkmain.c gtk/gtkwidget.[ch]: Add a "grab_notify"
	signal for notification when a widget becomes shadowed
	by a grab or is no longer shadowed by a grab.

	* gtk/gtkwidget.c (gtk_widget_propagate_state)
	  gtk/gtkmain.c: (gtk_widget_grab_add): Don't allow
	insenstive widgets to maintain a grab.

2022 2023 2024 2025 2026 2027 2028 2029
2001-06-14  Alexander Larsson  <alexl@redhat.com>

        * docs/README.linux-fb:
	Add some example config files that can be used with the URW fonts.
	
	* gdk/linux-fb/gdkvisual-fb.c (gdk_visual_init): 
	Set up the color ramps for DirectColor mode.

Havoc Pennington's avatar
Havoc Pennington committed
2030 2031 2032 2033
2001-06-11  Havoc Pennington  <hp@redhat.com>

	* Release 1.3.6
	 
2034 2035 2036 2037 2038 2039
2001-06-13  Alexander Larsson  <alla@lysator.liu.se>

	* gdk/linux-fb/gdkwindow-fb.c:
	Unify shaped window code and make it repaint the area that used
	to be part of the shape, but isn't anymore.

Havoc Pennington's avatar
Updates  
Havoc Pennington committed
2040 2041 2042 2043 2044 2045 2046 2047
2001-06-11  Havoc Pennington  <hp@redhat.com>

	* NEWS: Updates

	* configure.in (GTK_MINOR_VERSION): bump version to 1.3.6

	* gtk/Makefile.am: glib_genmarshal already contains top_builddir
	
2048 2049 2050 2051 2052 2053
2001-06-13  Alexander Larsson  <alla@lysator.liu.se>

	* gdk/linux-fb/gdkdnd-fb.c (gdk_drag_status):
	Don't pass on GDK_ACTION_DEFAULT. The Xdnd code
	passes zero instead, so do we.
	
2054 2055 2056 2057 2058 2059 2060
2001-06-13  Alexander Larsson  <alla@lysator.liu.se>

	* gdk/linux-fb/gdkgc-fb.c (gdk_gc_copy):
	Deep copy dash_list too.
	(_gdk_fb_gc_new): Set default cap_style before
	setting values.

Alexander Larsson's avatar
Alexander Larsson committed
2061 2062 2063 2064 2065
2001-06-12  Alexander Larsson  <alla@lysator.liu.se>

	* gdk/linux-fb/gdkkeyboard-fb.c (gdk_keymap_get_default,
	gdk_keymap_get_direction): New functions.

2066 2067 2068 2069 2070 2071 2072 2073
Tue Jun 12 12:41:27 2001  Jonathan Blandford  <jrb@redhat.com>

	* gtk/gtktreemodel.h (GTK_TREE_MODEL_LIST_ONLY): further justify
	gtk_tree_model_get_flags by adding a second flag for atk.

	* gtk/gtktreemodel.c: make cursor behavior interact better with
	mouse presses.

2074 2075 2076 2077 2078 2079
Mon Jun 11 12:43:08 2001  Jonathan Blandford  <jrb@redhat.com>

	* gtk/gtktreeview.c (gtk_tree_view_class_init): changed
	expand_row/collapse_row to be 2 signals each -- test_expand_row
	and row_expanded as well as test_collapse_row and row_collapsed.

2080 2081 2082 2083 2084
2001-06-10  Anders Carlsson  <andersca@codefactory.se>

	* demos/gtk-demo/stock_browser.c (do_stock_browser): Update
	signal name to be changed instead of selection_changed.

2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099
2001-06-08  Havoc Pennington  <hp@redhat.com>

	* gtk/gtkentry.c (gtk_entry_class_init): add read-only
	"scroll_offset" property for notification when the layout offsets
	may have changed
	(gtk_entry_adjust_scroll): add notify for scroll_offset
	(gtk_entry_layout_index_to_text_index): function to compensate for
	preedit string when doing coordinate stuff on the entry's layout
	(gtk_entry_text_index_to_layout_index): inverse function
	(gtk_entry_get_layout_offsets): hook to get current position of
	the layout	
	(gtk_entry_get_layout): hook to get the layout itself.

	* gtk/gtklabel.c (gtk_label_get_layout): new function

2100 2101 2102 2103 2104 2105
Fri Jun  8 19:49:29 2001  Jonathan Blandford  <jrb@redhat.com>

	* gtk/gtktreeview.c (gtk_tree_view_real_select_cursor_row): New
	keybinding.
	(gtk_tree_view_focus): Fix merge conflict.

2106 2107 2108 2109 2110
Fri Jun  8 18:41:30 2001  Jonathan Blandford  <jrb@redhat.com>

	* gtk/gtktreeview.c (gtk_tree_view_set_cursor): new function to
	clean up cursor handling.

Havoc Pennington's avatar
Havoc Pennington committed
2111 2112 2113 2114 2115 2116 2117 2118
2001-06-08  Havoc Pennington  <hp@redhat.com>

	* gtk/gtktextbuffer.c (gtk_text_buffer_get_start_iter): added this
	function

	* gtk/gtktextview.c (gtk_text_view_get_default_attributes): added
	this function

2119 2120 2121 2122 2123 2124
2001-06-08  Alex Larsson  <alexl@redhat.com>

	* gtk/gtkcompat.h.in:
	Added compat macros for all old GTK_TYPE_GDK_xxx types.
	Fixes bug #52892

2125
2001-06-08  Havoc Pennington  <hp@redhat.com>
Havoc Pennington's avatar
Havoc Pennington committed
2126
	
2127 2128 2129
	* gtk/gtkhsv.h (struct _GtkHSVClass): had GtkContainerClass as
	parent still

2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149
2001-06-08  Havoc Pennington  <hp@redhat.com>

	* gtk/gtktextbuffer.c (gtk_text_buffer_remove_all_tags): geez,
	don't call g_list funcs on GSList

	* gtk/gtkwidget.c (gtk_widget_child_focus): replaces
	gtk_container_focus(), since some widgets have focusable locations
	which are not other widgets. These widgets should not have to be 
	containers just to manage the focus. For example, GtkHSV is
	currently a container for no good reason. Also, this cleans
	up the "if (is_container && is_sensitive && is_drawable)
	container_focus ()" mess in widget implementations.

	* gtk/gtkcontainer.c (gtk_container_focus): deprecate this
	function, and have it just call gtk_widget_child_focus().

	* gtk/gtkhsv.c: derive from widget not container
	
	Throughout: fix to reflect GtkContainer::focus change
	
2150 2151 2152 2153 2154 2155 2156 2157
Fri Jun  8 12:38:49 2001  Jonathan Blandford  <jrb@redhat.com>

	* gtk/gtktable.c (gtk_table_resize): warn if row/cols are out of
	range.  Fix bug #55921

	* gtk/gtkliststore.c (gtk_list_store_new_with_types): fix doc bug
	(#55920).

2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185
Fri Jun  8 12:03:07 2001  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdkkeys.[ch]: Add a direction-changed signal,
	and gdk_keymap_get_current_direction().

	* gdk/x11/gdkevents-x11.c gdk/x11/gdkkeys-x11.c
	  gdk/x11/gdkmain-x11.c gdk/x11/gdkprivate-x11.h: Track
	the current locked group, use it to set the keymap
	direction.

	* gtk/gtksettings.c: Add a new gtk-split-cursor setting
	to determine whether we draw a split cursor or use
	a jumping cursor based on the current direction.

	* gtk/gtkentry.c gtk/gtktextview.c gtk/gtktextlayout.[ch]:
	Obey the split cursor setting. 

Fri Jun  8 11:57:50 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkimmulticontext.c (activate_cb): Only activate
	when toggling on, not when toggling off... (#55906)

Wed Jun  6 10:37:07 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkwidget.c (gtk_widget_set_double_buffered): 
	s/gdk_window_begin_paint/gdk_window_begin_paint_region/
	in docs. (#55812, Vitaly Tishkov)

2186 2187