ChangeLog.pre-2-12 298 KB
Newer Older
1 2 3 4 5
2007-11-19  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktreestore.c: Fix the GtkBuildable implementation
	to allow setting column types.  (#496795, James Stephenson)

6 7 8 9 10
2007-11-19  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkmain.[hc]: Make gtk_check_version() return const.
	(#496734, Nicolas Joseph)

11 12 13 14 15
2007-11-19  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkaboutdialog.c: Correct docs for program-name property.
	(#496689, Thomas Wood)

16 17 18 19 20 21 22
2007-11-17  Paolo Borelli  <pborelli@katamail.com>

	* gtk/gtktextbuffer.c:
	* gtk/gtktextlayout.c:
	* gtk/gtktextview.c:
	Use gtk_text_buffer_get_insert instead of get_mark. Fixes Bug 497164.

23 24 25 26 27 28 29 30 31
2007-11-15  Yevgen Muntyan  <muntyan@tamu.edu>

	* gtk/gtktextbtree.h:
	* gtk/gtktextbtree.c: new functions _gtk_text_btree_get_insert()
	and _gtk_text_btree_get_selection_bound() (#497102).
	* gtk/gtktextbuffer.c (gtk_text_buffer_get_insert),
	(gtk_text_buffer_get_selection_bound): use them here instead of
	hash table lookup.

32 33 34 35 36 37 38
2007-11-15  Yevgen Muntyan  <muntyan@tamu.edu>

	* gtk/gtktextbtree.c (_gtk_text_btree_get_tags): sort returned
	tags array by tags priority (#497102).
	* gtk/gtktextiter.c (gtk_text_iter_get_tags), (gtk_text_iter_get_attributes):
	* gtk/gtktextlayout.c (get_tags_array_at_iter): and do not sort it here.

39 40 41 42 43 44 45 46 47
2007-11-15  Yevgen Muntyan  <muntyan@tamu.edu>

	* gtk/gtktextlayout.c: (gtk_text_layout_get_line_display),
	(get_style): do not call _gtk_text_btree_get_iter_at_line() and
	_gtk_text_btree_get_tags() for every segment, instead call them
	once and then collect the tags while iterating over the segments.
	(get_tags_array_at_iter), (tags_array_toggle_tag): new functions
	for tags array handling.

48 49 50 51 52
2007-11-14  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkmenu.c (gtk_menu_popup): remove recently added
	gdk_flush() again, it's not needed after all.

53 54 55 56 57 58
2007-11-14  Michael Natterer  <mitch@imendio.com>

	* tests/testbbox.c
	* tests/testframe.c: use g_object_ref/unref instead of deprecated
	functions.

59 60 61 62 63
2007-11-14  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkstyle.c (gtk_default_draw_focus): cast pointers to fix
	warnings about signdness.

Sven Herzberg's avatar
Sven Herzberg committed
64 65 66 67 68 69 70
2007-11-12  Sven Herzberg  <herzi@imendio.com>

	Reviewed by Richard:

	* gdk/quartz/gdkquartz.h: include <gdk/gdkprivate.h> with angle
	brackets and not with quotation marks

71 72 73 74 75 76 77
2007-11-12  Alexander Larsson  <alexl@redhat.com>

        * gdk/x11/gdkselection-x11.c:
	Avoid loading the ISO8859-1 iconv module.
	We're already doing all the required work anyway.
	This saves 4kb private dirty memory per gtk+ process

78 79 80 81 82 83 84 85 86 87 88
2007-11-11  Yevgen Muntyan  <muntyan@tamu.edu>

	* gtk/gtktextview.c: Moved gtk_text_view_update_im_spot_location()
	calls into an idle, fixes #494776.
	GtkTextViewPrivate:im_spot_idle, do_update_im_spot_location(),
	queue_update_im_spot_location(), flush_update_im_spot_location(): new
	field and functions to queue the call;
	(changed_handler): call queue_update_im_spot_location() instead of
	gtk_text_view_update_im_spot_location();
	(gtk_text_view_key_press_event): flush the idle here.

89 90 91 92 93
2007-11-10  Ryan Lortie  <desrt@desrt.ca>

	* gtk/gtkbuilder.c: Convert delayed_properties hashtable to linked
	list.  Fixes #495769.

94 95
2007-11-10  Matthias Clasen  <mclasen@redhat.com>

96 97
	* tests/buildertest.c: Parse a file given on the cmdline.

98 99 100
	* gtk/gtkbuilderparser.c (_gtk_builder_parser_parse_buffer):
	Leak less in error paths.

101 102 103 104 105
2007-11-10  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkbuilder.c (gtk_builder_add_from_file): Don't
	leak buffer if an error occurs.  

106
2007-11-09  Matthias Clasen  <mclasen@redhat.com>
107
	
108 109 110
	* gtk/gtkbuilderparser.c: More robustness improvements
	for the parser.

111 112
	* gtk/gtkbuilderparser.c (parse_signal): Handle misplaced
	signal elements without asserting.
113 114 115 116

	* gtk/gtkbuilderparser.c (parse_property): Handle misplaced
	property elements without asserting.

117 118 119 120 121 122
2007-11-09  Kristian Rietveld  <kris@imendio.com>

	* gdk/gdkwindow.c (gdk_window_process_all_updates): guard for
	windows with GDK_WINDOW_DESTROYED set.  (Fixes #482531, reported
	by Sebastien Bacher).

Matthias Clasen's avatar
Matthias Clasen committed
123 124 125 126 127
2007-11-09  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkmain.c:
	* gtk/gtkstatusicon.c: Trivial coding style fixes.

128 129 130 131 132 133
2007-11-08  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkbuilder.c: don't leak 'filename' field memory when loading
	more than one file into the same GtkBuilder instance. Noticed by
	Ryan Lortie.

134 135 136 137
2007-11-08  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkbuildable.h: include <glib.h> instead of <glib/gmarkup.h>

138 139 140 141 142 143 144 145 146 147 148
2007-11-07  Ryan Lortie  <desrt@desrt.ca>

	* gtk/gtkbuilderprivate.h: Add GString 'text' to the property info
	structure.  Used to accumulate property text across multiple 'text'
	calls.

	* gtk/gtkbuilderparser.c: Instead of translating/copying text on each
	'text' call while in <property> accumulate the text until the end and
	do it all in one go.  This fixes handling of <!-- --> inside
	properties as well as <property/> cases.

149 150 151 152 153 154
2007-11-06  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkmenu.c (gtk_menu_popup): call gdk_flush() after showing
	the menu so we can definitely grab on it. Grab failure found by
	Xan Lopez.

Michael Natterer's avatar
Michael Natterer committed
155 156 157 158
2007-11-06  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkwidget.c (gtk_widget_keynav_failed): fixed docs.

159 160 161 162 163 164
2007-11-04  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkkeys-quartz.c: (maybe_update_keymap): Make shift
	tab work with unicode layouts (e.g. all Leopard layouts), fixes
	bug #493404.

165 166 167 168 169 170
2007-11-03  Richard Hult  <richard@imendio.com>

	* gtk/gtkclipboard-quartz.c: (clipboard_owner_destroyed),
	(gtk_clipboard_set_contents), (clipboard_unset): Fix bug #486369,
	by passing the selection info along when pasting.

171 172 173 174 175 176 177
2007-11-03  Richard Hult  <richard@imendio.com>

	* gdk/quartz/GdkQuartzWindow.c:
	* gdk/quartz/GdkQuartzWindow.h: Make the grab breaking on window
	move work on Leopard (as well as Tiger) by ignoring which mouse
	button is pressed.

178 179 180 181 182 183
2007-11-03  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkwindow-quartz.c: (move_resize_window_internal):
	Calculate the frame rect correctly when resizing toplevels, fixes
	bug #492209.

184 185 186 187 188 189 190 191 192 193
2007-11-01  Richard Hult  <richard@imendio.com>

	* gdk/quartz/GdkQuartzWindow.c:
	* gdk/quartz/GdkQuartzWindow.h:
	* gdk/quartz/gdkdnd-quartz.c:
	* gdk/quartz/gdkquartz.h:
	* gtk/gtkdnd-quartz.c: Redo the fix for bug #492117, by adding a
	getter for the private drag context info so we don't need to
	expose so much in the public quartz header file.

Richard Hult's avatar
Richard Hult committed
194 195 196 197
2007-11-01  Richard Hult  <richard@imendio.com>

	* gdk/quartz/GdkQuartzWindow.h: Fix build, bug #492117.

198 199 200 201 202 203 204
2007-10-31  Richard Hult  <richard@imendio.com>

	* gdk/quartz/GdkQuartzWindow.c:
	* gdk/quartz/GdkQuartzWindow.h:
	* gdk/quartz/gdkwindow-quartz.c: (gdk_window_begin_resize_drag),
	(gdk_window_begin_move_drag): Implement manual resize and move.

205 206 207 208 209 210
2007-10-31  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkwindow-quartz.c:
	(gdk_window_impl_quartz_process_updates): Setup autorelease pool,
	plugs occasional leak on leopard.

211 212 213 214 215
2007-10-31  Richard Hult  <richard@imendio.com>

	* gdk/quartz/GdkQuartzView.c: Fix build warning (trackingRect should be
	0, not nil).

216 217 218 219 220
2007-10-30  Emmanuele Bassi  <ebassi@gnome.org>

	* gtk/gtkbuilder.c (gtk_builder_finalize): Chain up to the
	parent's finalize virtual function.

221 222 223 224 225 226 227 228
2007-10-28  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtktextbuffer.c (gtk_text_buffer_delete_interactive): Allow
	the ::delete-range handler to delete text after the text it was
	explicitly asked to delete without confusing us as to whether
	we're currently on an editable or not-editable segment.
	(#491207)

229 230 231 232 233 234
2007-10-26  Cody Russell  <cody@jhu.edu>

	* modules/engines/ms-windows/Theme/gtk-2.0/gtkrc:
	Disable beeps when backspacing in textviews by default on
	Win32 systems. (#490624, Daniel Atallah)

235 236 237 238 239 240
2007-10-26  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtktextbtree.c (_gtk_text_btree_char_is_invisible):
	Pay attention to tags that turn invisibility off as well
	as tags that turn invsibility on. (#488051, Mathias Hasselmann)	

241 242 243 244 245
2007-10-24  Johan Dahlin  <jdahlin@async.com.br>

	* gtk/gtkbuilder.c: Improve gtk_builder_get_type_from_name()
	documentation. (#461222, Murray Cumming)

Richard Hult's avatar
Richard Hult committed
246 247 248 249 250
2007-10-24  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkwindow-quartz.c: (update_toplevel_order): Use an
	autorelease pool.

251 252 253 254 255 256 257 258
2007-10-24  Johan Dahlin  <jdahlin@async.com.br>

	* gtk/gtk-builder-convert 
	(GtkBuilderConverter._convert_dialog_response): 
	Give up instead of raising an error if we can't find
	the parent dialog when converting response ids.
	(#479463, Priyank)

259 260 261 262 263 264 265 266 267 268 269
2007-10-24  Johan Dahlin  <jdahlin@async.com.br>

	* gtk/gtkbuilder.c: (_gtk_builder_construct),
	(_gtk_builder_add_signals):
	* gtk/gtkbuilderparser.c: (end_element):
	* gtk/gtkbuilderprivate.h:
	* tests/buildertest.c: (test_connect_signals):

	Parse signals after <child> tags and add tests.
	(#468793, Benjamin Otte)

270 271 272 273 274
2007-10-24  Johan Dahlin  <jdahlin@async.com.br>

	* gtk/gtkbuilderparser.c (end_element): Allow empty property nodes
	so we can set empty strings. (#486420, Xavier Claessens)

275 276 277 278 279 280 281 282
2007-10-23  Richard Hult  <richard@imendio.com>

	* gtk/gtkquartz.c:
	(_gtk_quartz_get_selection_data_from_pasteboard): Handle
	NSFilenamesPboardType in addition to NSURLPboardType to support
	dnd with multiple files from Finder, based on patch from Paul
	Davis (bug #467490).

283 284 285 286 287 288 289 290 291 292 293 294 295
2007-10-23  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkwindow-quartz.c:
	(gdk_window_raise, gdk_window_lower, gdk_window_new,
	_gdk_windowing_window_destroy): Maintain a list for the stacking
	order of windows. Implement lower and raise for child windows. The
	list for toplevels is created on demand, and cleared when a window
	gets or resigns main status and when new windows are created.
	(find_child_window_helper): Use the sorted list to go through
	windows from top to bottom. Take any titlebar in consideration for
	toplevels, to stop events from sometimes punching through (bugs
	#473813 and #489370).

296 297 298 299 300
2007-10-22  Johan Dahlin  <jdahlin@async.com.br>

	* gtk/gtkbuilder.c: Use gtk_ascii_tolower/toupper instead of the C 
	library variants. (#488918, Sertaç Ö. Yıldız)

301 302 303 304 305 306
2007-10-19  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkevents-win32.c (gdk_event_translate): Add a block
	around the WM_ACTIVATE case to avoid declaring variables in the
	middle of a block. (#488017)

307 308 309 310 311
2007-10-18  Cody Russell  <cody@jhu.edu>

	* modules/engines/ms-windows/msw_style.c: Draw focus rect for
	buttons with relief set to GTK_RELIEF_NONE. (#487954)

312 313 314 315 316 317 318 319 320 321
2007-10-17  Cody Russell  <cody@jhu.edu>

	* gdk/win32/gdkevents-win32.c
	* gdk/win32/gdkwindow-win32.[ch]: Force non-modal transient dialogs
	to iconify with their parents on Win32.  Maintain a list of transient
	children, and whenever a window is hidden or restored we now do the
	same thing to all connected transient windows above and below the
	current window in the chain.  See comment under WM_ACTIVATE for the
	reasons why.  (#164537, #371036, #405178)

322 323 324 325 326
2007-10-17  Owen Taylor  <otaylor@redhat.com>

	* gtk/Makefile.am (libgtk_win32_2_0_la_LDFLAGS): Move -Wl,-luuid
	to LDFLAGS to make libtool happy.

327 328 329 330 331
2007-10-17  Tor Lillqvist  <tml@novell.com>

	* gtk/Makefile.am (libgtk_win32_2_0_la_LIBADD): Use -Wl,-luuid
	instead of -luuid to work around libtool lossage.

Matthias Clasen's avatar
Matthias Clasen committed
332 333 334 335
2007-10-17  Matthias Clasen <mclasen@redhat.com>

	* configure.in: Bump version

Matthias Clasen's avatar
Matthias Clasen committed
336 337
2007-10-16  Matthias Clasen <mclasen@redhat.com>

Matthias Clasen's avatar
Matthias Clasen committed
338 339
	* === Released 2.12.1 ===

Matthias Clasen's avatar
Matthias Clasen committed
340 341
	* NEWS: Updates

Matthias Clasen's avatar
Matthias Clasen committed
342 343 344
	* gtk/gtkvolumebutton.c (gtk_volume_button_new): Update 
	the docs.  (#477280, Christian Persch)

345 346 347 348 349
2007-10-16  Matthias Clasen <mclasen@redhat.com>

	* gtk/gtkentrycompletion.c: Update the docs for the 
	::text-column property.  (#352643, Josselin Mouette)

350 351 352 353 354
2007-10-16  Matthias Clasen <mclasen@redhat.com>

	* gtk/gtkdnd.c (gtk_drag_drop_finished): Avoid a critical
	warning.  (#456676, Campbell Barton)

355 356 357 358 359
2007-10-16  Matthias Clasen <mclasen@redhat.com>

	* gkt/gtkiconsize.c: Be more careful when handling 
	(GtkIconSize)-1.  (#456137, Harry Lu, Chris Wang, et al)

360 361 362 363 364
2007-10-16  Matthias Clasen <mclasen@redhat.com>

	* gtk/gtktextiter.c (gtk_text_iter_forward_line): Improve 
	the docs.  (#486155, Owen Taylor)

365 366 367 368 369 370 371
2007-10-16  Matthias Clasen <mclasen@redhat.com>

	* tests/testxinerama.c: Change testcase to not update
	screen information on configure-event, since it hides
	information for all available screens but add a button 
	to query current monitor instead (#485437, Frederic Crozat)

372 373 374 375 376
2007-10-16  Matthias Clasen <mclasen@redhat.com>

	* gtk/gtkprinteroptionwidget.c (update_widgets): Actually use
	the utf-8 version of the filename.  (#485301, Takao Fujiwara)

Matthias Clasen's avatar
Matthias Clasen committed
377 378 379 380
2007-10-16  Matthias Clasen <mclasen@redhat.com>

	* NEWS: Updates

381 382 383 384 385
2007-10-15  Loïc Minier  <lool@dooz.org>

	* gtk/gtkmain.c: (gtk_init): Fix "cannot open display" error message
	when display is set by the DISPLAY env var. (#486636, Mike Hommey)

386 387 388 389 390 391
2007-10-13  Johan Dahlin  <jdahlin@async.com.br>

	* gtk/gtk-builder-convert 
	(GtkBuilderConverter._add_action_from_menuitem): signal_name instead
	of signal. (#486360, Xavier Claessens)

Johan Dahlin's avatar
Johan Dahlin committed
392
2007-10-12  Matthias Clasen  <mclasen@redhat.com> 
393 394 395 396

	* gtk/updateiconcache.c: Avoid double-free problems by not
	freeing data that may be cached elsewhere.

397 398 399 400 401 402 403 404 405
2007-10-10  Emmanuele Bassi  <ebassi@gnome.org>

	* gtk/gtkrecentmanager.c (gtk_recent_info_get_icon): Document
	that you need to unref the returned GdkPixbuf. (#484132,
	Christian Persch)

	(build_recent_info): Use g_slist_prepend() when building
	the applications list.

406 407 408 409 410 411 412
2007-10-10  Emmanuele Bassi  <ebassi@gnome.org>

	* gtk/gtkfilechooserdefault.c (list_mtime_data_func): Convert
	the format to the current locale before passing it to
	strtime(). Fixes corrupt dates with non-UTF8 encodings on
	OpenSolaris. (#465380, Takao Fujiwara)

413 414 415 416 417
2007-10-10  Emmanuele Bassi  <ebassi@gnome.org>

	* gtk/gtkfilechooserdefault.c (list_mtime_data_func): Fix the
	time_t typecasting on OpenSolaris. (#465380, Takao Fujiwara)

Matthias Clasen's avatar
Matthias Clasen committed
418 419 420 421
2007-10-09  Matthias Clasen  <mclasen@redhat.com>

	* configure.in: Make the previous change work

422 423 424 425 426 427
2007-10-09  Kristian Rietveld  <kris@imendio.com>

	* gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down): make
	sure the new cursor node is visible when we are done. (Fixes #472965,
	Carlos Garnacho).

428 429 430 431 432 433 434
2007-10-09  Kristian Rietveld  <kris@imendio.com>

	* gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): we should
	only "don't move the cursor, but just select the current node" if the
	cursor node is actually selectable.  (Fixes #483730, reported by
	Geoff Bache).

435 436 437 438 439
2007-10-08  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkwindow-quartz.c: (gdk_window_focus): Implement,
	patch from Paul Davis.

440 441 442 443 444 445
2007-10-08  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkwindow-quartz.c: (move_resize_window_internal):
	Ignore if there are no changes, fixes bug #467269. Patch from
	Jonathan Dempsey.

446 447 448 449 450 451
2007-10-08  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkwindow-quartz.c: (move_resize_window_internal):
	Patch from Paul Davis to implement this in terms of scrollRect,
	fixes bug #478377.

452 453 454 455 456 457 458
2007-10-08  Cody Russell  <bratsche@gnome.org>
	* modules/engines/ms-windows/msw_style.c:
	(draw_tab): Fix memory leak, and fix two instances where
	a GtkRequisition and a GtkBorder were being freed with
	g_free() rather than gtk_requisition_free() and
	gtk_border_free(). (#484730, Daniel Atallah)
	
459 460 461 462 463 464
2007-10-08  Cody Russell  <bratsche@gnome.org>
	* docs/reference/gdk/tmpl/event_structs.sgml:
	Fix a typo in GdkEventGrabBroken where it said
	"@grab_window id NULL" and should say
	"@grab_window is NULL". (#484650, Chris Lord)
	
465 466 467 468 469 470 471 472
2007-10-08  Kristian Rietveld  <kris@imendio.com>

	* gtk/gtkfilesystemmodel.c (got_root_folder_cb),
	(get_children_get_folder_cb): don't "corrupt" all iterators by
	reversing the list after adding the items.  Reversing the list isn't
	needed anyway as the order of the items in the model does not matter.
	(Fixes #327243, comment 10).

473 474 475 476 477 478 479 480 481 482
2007-10-08  Kristian Rietveld  <kris@imendio.com>

	Fix #482841, patch by Karl Tomlinson.

	* gtk/gtktooltip.c (gtk_tooltip_display_closed): use g_object_set_data
	instead of g_object_set ...
	(_gtk_tooltip_toggle_keyboard_mode),
	(_gtk_tooltip_handle_event): connect to GdkDisplay::closed after
	creating tooltip.

Matthias Clasen's avatar
Matthias Clasen committed
483 484 485 486
2007-10-07  Matthias Clasen  <mclasen@redhat.com>

	* configure.in: Don't hardcode use of echo -n.  (#484008)

487 488 489 490 491
2007-10-07  Matthias Clasen  <mclasen@redhat.com>

	* modules/input/gtkimcontextxim.c: Clean up issues around
	with life cycle handling.  (#483223, Karl Tomlinson)

492 493 494 495 496 497 498 499 500
2007-10-05  Murray Cumming  <murrayc@murrayc.com>

	* gtk/gtkprintoperation.c: (print_pages_idle):
	Revert the change on 2007-04-29 ("Also check
	the default handler when deciding whether to emit the
	paginate signal.  (#345345, Yevgen Muntyan)").
	This stopped printing from working in gtkmm, and is apparently 
	not appropriate anyway. Bug #482089.

501 502 503 504 505
2007-10-05  Hiroyuki Ikezoe  <poincare@ikezoe.net>

	* gtk/gtkdnd.c: Use g_object_ref() instead of gtk_widget_ref().
	(#483563)

506 507 508 509 510 511 512 513 514 515 516 517 518 519 520
2007-10-04  Emmanuele Bassi  <ebassi@gnome.org>

	* gtk/gtkrecentaction.c:
	(gtk_recent_action_set_sort_func), (set_current_filter): Iterate
	on the proxies we hold when we change the sorting function and
	the filter.

	(gtk_recent_action_connect_proxy),
	(gtk_recent_action_create_menu): Set the GtkRecentChooser:filter
	property when we create/connect a proxy chooser. Thanks to
	Jonh Wendell for pointing this bug out on gtk-list.

	(gtk_recent_chooser_set_property): Bail out without iterating
	over the proxies when there's no need to.

521 522 523 524 525 526 527
2007-10-04  Matthias Clasen  <mclasen@redhat.com>

	* tests/testvolumebutton.c: Add a second volume button.

	* gtk/gtkscalebutton.c: Doh, don't release grabs we don't hold.
	(#478371, reported by Bill Nottingham)

528 529 530 531 532 533
2007-10-04  Loïc Minier  <lool@dooz.org>

	* gtk/gtkfilechooserdefault.c: (list_mtime_data_func): Fix warnings
	and display of modified date / time in filechooser for some locales as
	it was missing a locale to UTF-8 conversion. Fixes #482504.

534 535 536 537 538
2007-10-03  Xan Lopez  <xan@gnome.org>

	* gtk/gtknotebook.c: remove duplicated declaration of
	gtk_notebook_create_window. Patch by Hiroyuki Ikezoe (#482837)

539 540 541 542 543 544 545 546 547 548 549
2007-10-02  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkwindow-quartz.c: (gdk_window_move),
	(gdk_window_resize): Don't do anything while in fullscreen mode.
	(gdk_window_set_decorations): Update the size of the window after
	showing/hiding the title bar so the size of the content area
	doesn't change.
	(gdk_window_get_decorations): NSBorderlessWindowMask is 0, so
	don't try to check it as a bit being set.
	(gdk_window_fullscreen), (gdk_window_unfullscreen): Implement.

550 551 552 553 554 555 556 557 558 559 560 561 562 563 564
2007-10-02  Federico Mena Quintero  <federico@novell.com>

	Fix http://bugzilla.gnome.org/show_bug.cgi?id=455284 - In the file
	chooser, Ctrl-L should switch to the location entry.  If we are
	already on the location entry, turn it off.  Based on a patch by
	Jaap A. Haitsma <jaap@haitsma.org> and an idea by Wouter
	Bolsterlee.

	* gtk/gtkfilechooserdefault.c (location_button_toggled_cb): Call
	location_mode_set() directly instead of using toggle_location_mode().
	(toggle_location_mode): Removed.
	(location_toggle_popup_handler): If the file entry is not visible,
	show it.  If it is visible, turn it off only if it is focused.
	Otherwise, switch to the entry.

565 566 567 568 569 570
2007-10-01  Kristian Rietveld  <kris@imendio.com>

	* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
	fix up if-condition to only set the true arrow type if
	show_sort_indicator is TRUE.  (#448343, reported by Emil Nowak).

Emmanuele Bassi's avatar
Emmanuele Bassi committed
571 572 573 574 575 576 577 578 579 580 581 582 583
2007-09-25  Emmanuele Bassi  <ebassi@gnome.org>

	Fixes for bug #480123.

	* gtk/gtksearchenginesimple.c:
	(gtk_search_engine_simple_dispose), (search_thread_done_idle): Cancel
	the file tree walking thread when disposing the search engine
	implementation.

	* gtk/gtkfilechooserdefault.c (search_stop_searching): Forcibly
	stop the search engine implementation when stopping the search,
	instead of just unreffing the object.

584 585 586 587 588 589
2007-09-24  Kristian Rietveld  <kris@imendio.com>

	* gtk/gtktooltips.c (gtk_tooltips_set_tip): add extra NULL check
	for tooltipsdata to avoid code fiddling with active_tips_data
	from crashing.  (Fixes #460194, Peter Wright, Matthijs De Smedt).

Matthias Clasen's avatar
Matthias Clasen committed
590 591 592 593
2007-09-24  Matthias Clasen <mclasen@redhat.com>

	* modules/printbackends/file/gtkprintbackendfile.c: Correct a comment.

594 595 596 597 598
2007-09-24  Tor Lillqvist  <tml@novell.com>

	* gtk/gtkprintoperation-win32.c (pageDlgProc): Set the
	GtkWin32EmbedWidget we create here as modal. Fixes #389358.

599 600 601 602 603 604 605
2007-09-21  Manish Singh  <yosh@gimp.org>

	* gtk/gtkstyle.c (option_menu_get_props)
	* gtk/gtkoptionmenu.c (gtk_option_menu_get_props): use
	gtk_requisition_free() instead of g_free() for freeing
	requisitions.

606 607 608 609 610
2007-09-21  Matthias Clasen <mclasen@redhat.com>

	* gtk/gtkprintoperation.c (print_pages_idle): Some more
	fixed to prevent segfaults with missing or nonsensical ranges.

611 612 613 614 615
2007-09-21  Jean Brefort  <jean.brefort@normalesup.org>

	* gtk/gtkprintoperation.c: (print_pages_idle): abort printing 
	when the range is NULL. (#478803)

616 617 618 619 620 621 622
2007-09-21  Michael Natterer  <mitch@imendio.com>

	* gtk/gtktextview.c (gtk_text_view_move_cursor_internal)
	(gtk_text_view_move_viewport): merged patch from maemo-gtk which
	handles failed keynav correctly also when the cursor is invisible.
	(Tommi Komulainen)

Matthias Clasen's avatar
Matthias Clasen committed
623 624 625 626
2007-09-21  Matthias Clasen <mclasen@redhat.com>

	* gtk/gtktoolbar.c: Remove trailing commas from enumerations.

627 628 629 630 631 632 633
2007-09-20  Cody Russell  <bratsche@gnome.org>

	* modules/engines/ms-windows/msw_style.c: Override draw_layout
	method in GtkStyle in order to adjust by 2 pixels any labels
	that are in GtkNotebook tabs using XP theme, so that they appear
	correctly centered. (#478637)

634 635 636 637 638 639
2007-09-18  Emmanuele Bassi  <ebassi@gnome.org>

	* gtk/gtksearchenginetracker.c: Search libtrackerclient.so.0
	as libtracker changed the shared library name. (#478173,
	Michael Kuhn)

640 641 642 643 644 645 646 647 648 649 650 651
2007-09-17  Hans Breuer  <hans@breuer.org>

	* gtk/makefile.msc.in : updated msvc build
	* gtk/gtkbuilderparser.c : fixed gccism - stack allocated variable 
	size array
	
	* gtk/gtkselection.c(547) : error C4033: 'gtk_target_list_find' 
	must return a value

	* test/makefile.msc : added some more tests
	* tests/autotestfilesystem.c : HAVE_UNISTD_H, _rmdir

652 653 654 655
2007-09-17  Amitakhya Phukan  <amitakhya@svn.gnome.org>

	* configure.in: Added as to ALL_LINGUAS.

656 657 658 659 660 661
2007-09-15  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkselection.c (gtk_target_list_find): don't simply crash if
	any of the pointer args are NULL. Instead, g_return_if_fail() on
	"list != NULL" and allow to pass NULL as return location for "info".

662 663 664 665 666 667
2007-09-14  Emmanuele Bassi  <ebassi@gnome.org>

	* gtk/gtkrecentaction.c:
	* gtk/gtkrecentchoosermenu.c: Remove the warning for the
	"select-multiple" property getter. (#476686, Christian Persch)

668 669 670 671 672 673 674
2007-09-14  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkmenubar.c (remove_from_window): no need to get the list
	of menubars twice.

	Some minor stylistic and indentation fixes.

675 676 677
2007-09-13  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkiconcache.c: Turn off icon cache validation unless
Matthias Clasen's avatar
Matthias Clasen committed
678
	icon theme debugging is turned on.  (#476342, Federico Mena Quintero)
679

Matthias Clasen's avatar
Matthias Clasen committed
680
2007-09-13  Matthias Clasen  <mclasen@redhat.com>
Matthias Clasen's avatar
Matthias Clasen committed
681 682
	
	* configure.in: Bump version to 2.12.1
Matthias Clasen's avatar
Matthias Clasen committed
683 684 685

	* === Released 2.12.0 ===

686 687 688 689 690 691
2007-09-14  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeview.c (gtk_tree_view_get_property): the tooltip-column
	property getter needs to set an integer, not a boolean. (#476689,
	spotted and patch by Christian Persch).

692 693 694 695 696 697
2007-09-14  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtkcellrendereraccel.c (gtk_cell_renderer_accel_get_property):
	implement getter for keycode property.  (#476665, patch by
	Christian Persch).

Matthias Clasen's avatar
Matthias Clasen committed
698 699
2007-09-13  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
Matthias Clasen committed
700 701 702
	* gtk/gtkscalebutton.c: Use the right value type when setting
	the value.  (#476688, Christian Persch)

Matthias Clasen's avatar
Matthias Clasen committed
703 704
	* configure.in: Bump version to 2.12.0

Matthias Clasen's avatar
Matthias Clasen committed
705 706
	* NEWS: Updates

707 708 709 710 711 712 713
2007-09-13  Kristian Rietveld  <kris@imendio.com>

	* gtk/gtktreeview.c (gtk_tree_view_set_toooltip_cell): if cell
	is set, always pass in path to gtk_tree_view_get_cell_area() whether
	it is NULL or set.  Added explanatory comment and added this
	side case to the API documentation.

714 715 716 717 718 719 720 721 722 723 724 725 726 727
2007-09-12  Emmanuele Bassi  <ebassi@gnome.org>

	* gtk/gtkfilechooserdefault.c (render_recent_icon): Use the
	"document-open-recent" icon for the the Recently Used shortcut
	in the file chooser. (#306445)

	* gtk/Makefile.am:
	* gtk/stock-icons/16/document-open-recent.png:
	* gtk/stock-icons/16/document-open-recent.svg:
	* gtk/stock-icons/24/document-open-recent.png:
	* gtk/stock-icons/24/document-open-recent.svg: Add the
	"document-open-recent" icon to the builtin theme we provide
	as a fallback.

Kristian Rietveld's avatar
Kristian Rietveld committed
728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745
2007-09-12  Kristian Rietveld  <kris@imendio.com>

	Fixes #426246.

	* gdk/gdk.symbols:
	* gdk/gdkwindow.[ch]
	(gdk_window_freeze_toplevel_updates_libgtk_only),
	(gdk_window_thaw_toplevel_updates_libgtk_only): new functions
	to freeze a toplevel window and all its descendants.  To be made
	public in 2.14,
	(gdk_window_schedule_update): return if toplevel is frozen,
	(gdk_window_process_all_updates): defer processing updates if toplevel
	is frozen.

	* gtk/gtkwindow.c (gtk_window_configure_event): directly size
	allocate for override redirect windows, freeze toplevel and
	descendants otherwise and wait until resizing is done.

746 747 748 749 750 751 752 753 754
2007-09-11  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkfilechooserbutton.c: remove useless member "has_title"
	from the private struct and simply set the default title in
	constructor() whenever we create a dialog or the supplied one has
	no title. Also accept RESPONSE_ACCEPT *and* RESPONSE_OK as
	affirmative responses and document that accordingly. Fixes bug
	#436576. Fixed all compiler warnings in the file.

755 756 757 758 759 760 761
2007-09-11  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkmenu.c (gtk_menu_button_release): Make sure
	menu_shell->button gets reset to 0 when we bail out early here
	instead of chaining up, so it is in a consistent state for the
	next press/release in GtkMenuShell. Fixes bug #449371.

762 763 764 765
2007-09-10  Kjartan Maraas  <kmaraas@gnome.org>

	* gtk/gtkentry.c: Fix some typos. Closes bug #475400.

766 767 768 769 770
2007-09-10  Behdad Esfahbod  <behdad@gnome.org>

	* gdk/x11/gdkgeometry-x11.c (gdk_window_queue),
	(_gdk_window_process_expose): Fix serial number comparison regression
	introduced recently. (#474897)
Matthias Clasen's avatar
Matthias Clasen committed
771

Matthias Clasen's avatar
Matthias Clasen committed
772 773 774
2007-09-10  Matthias Clasen  <mclasen@redhat.com>

	* NEWS: Updates
775

776 777 778 779 780
2007-09-10  Richard Hult  <richard@imendio.com>

	* gtk/gtksearchenginesimple.h: Build fix, correct a typo in the
	G_BEGIN_DECLS fix below.

Matthias Clasen's avatar
Matthias Clasen committed
781 782 783 784 785
2007-09-10  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtksearchenginesimple.h: Replace a duplicate G_END_DECLS by
	G_BEGIN_DECLS.  (#475439, Nigel Tao)

786 787 788 789 790 791
2007-09-10  Kristian Rietveld  <kris@imendio.com>

	* gtk/gtkmenutoolbutton.c (gtk_menu_tool_button_construct_contents):
	when creating a new box, be sure to transfer a possible tooltip from
	the old to the new box. (Fixes #458283, reported by Christian Persch).

792 793 794 795 796 797
2007-09-10  Kristian Rietveld  <kris@imendio.com>

	* gtk/gtktreeview.c (gtk_tree_view_key_press): only start
	typeahead search if tree_view has focus (and not one of the column
	buttons).

798 799 800 801 802
2007-09-09  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkdnd.c (gtk_drag_source_info_destroy): Remove
	update_idle here. Might fix #383003.

803 804 805 806 807 808
2007-09-09  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkiconview.c (gtk_icon_view_item_hit_test): Add a 
	bounding box test that will avoid getting the individual cell
	boxes if they haven't been calculated yet.  (#404541)

809 810 811 812 813 814 815 816 817 818 819
2007-09-09  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkaction.c:
	* gtk/gtkradioaction.c:
	* gtk/gtkrecentaction.c:
	* gtk/gtktoggleaction.c: Update the documentation to mark
	the optional constructors parameters. The GtkAction::name
	property is required, instead, as it is used by GtkUIManager
	to find the action object from the XML. (#450032, Murray Cumming,
	patch by Emmanuele Bassi)

820 821 822 823 824 825 826
2007-09-09  Matthias Clasen  <mclasen@redhat.com>

	* modules/printbackends/lpr/gtkprintbackendlpr.c:
	* modules/printbackends/cups/gtkcupsutils.c:
	* modules/printbackends/cups/gtkprintbackendcups.c: Include
	config.h first.  (#467719)

827 828 829 830 831 832 833
2007-09-09  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtklinkbutton.c:
	* gtk/gtkrecentfilter.c:
	* gtk/gtkprinteroptionwidget.c: Remove trailing commas from
	enumerations, since some compilers don't like them.  (#467717)

834 835 836 837 838 839 840
2007-09-09  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_rows_reordered):
	* gtk/gtktreemodelsort.c (gtk_tree_model_sort_rows_reordered): Don't
	assume that a path of depth 0 has no indices.  (#467324, Szilard
	Pfeiffer)

841 842 843 844 845
2007-09-09 18:22:28  Tim Janik  <timj@gtk.org>

	* gdk/x11/gdkgeometry-x11.c (_gdk_window_process_expose): fix invalid
	list node accesses, spotted by Benjamin Berg, bug #475158.

Kristian Rietveld's avatar
Kristian Rietveld committed
846 847 848 849 850 851 852 853 854 855
2007-09-09  Kristian Rietveld  <kris@gtk.org>

	Reverted r16699:

	2006-10-30  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeview.c (gtk_tree_view_class_init): change left/right
	keybindings to collapse/expand rows instead of moving the focus
	cursor. (#105895, Brian Bober and others).

856 857
2007-09-09  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
Matthias Clasen committed
858 859
	* NEWS: Updates

860 861
	* README.in: Add a note about bug 463773.

862 863 864 865 866 867
2007-09-08  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkstyle.c (draw_insertion_cursor): Revert the clamping
	of cursor coordinates, since it causes really ugly drawing
	artifacts with horizontal scrolling.  (#471215, Yevgen Muntyan)

868 869 870 871 872 873 874
2007-09-08  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkentrycompletion.c:
	* gtk/gtkentry.c: Apply a number of patches by Xan Lopez 
	to improve the interaction between actions and inline
	selection.  (#471132)

875 876 877 878
2007-09-07  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktoolbar.c: Use g_slice for ToolbarContent.  
	(#474696, Christian Persch)
879

880 881 882 883 884 885
2007-09-07  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkprintunixdialog.c: Add an internal child name for
	the notebook, so that GtkBuilder can be used to add custom tabs.
	(#472951, Christian Persch)

886 887 888 889 890 891
2007-09-07  Matthias Clasen  <mclasen@redhat.com>

	* gtk/updateiconcache.c (get_image_meta_data_size): Don't
	use image->attach_points where image->n_attach_points was meant.
	Pointed out by Albert Chin.

892 893 894 895 896
2007-09-07  Wouter Bolsterlee  <wbolster@svn.gnome.org>

	* modules/printbackends/cups/gtkcupsutils.c:
	(_post_send): Fix typo that broke the build.

897 898 899 900 901 902 903
2007-09-07  Matthias Clasen  <mclasen@redhat.com>

	* configure.in: Check for the cups function httpGetAuthString().

	* modules/printbackends/cups/gtkcupsutils.c: Use httpGetAuthString()
	if available.  (#467414, Claudio Saavedra)

904 905 906 907 908 909
2007-09-07  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtkcombobox.c (gtk_combo_box_cell_layout_init),
	(gtk_combo_box_cell_layout_get_cells): implement missing get_cells
	method.  (Spotted by Paolo Borelli).

Matthias Clasen's avatar
Matthias Clasen committed
910 911 912 913
2007-09-06  Matthias Clasen  <mclasen@redhat.com>

	* configure.in: Check for cups.h.  (#459732, Guillaume Cottenceau)

914 915 916 917 918 919 920 921 922 923 924
2007-09-06  Matthias Clasen  <mclasen@redhat.com>

	* gdk/gdkrectangle.c (gdk_rectangle_intersect): Allow
	dest to be NULL.  (#464528, Xan Lopez)

2007-09-06  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkmisc.c (gtk_misc_set_alignment, gtk_misc_set_padding): 
	Actually emit change notification here.  (#474282, Thomas Rydzynski)

2007-09-06  Matthias Clasen  <mclasen@redhat.com>
925 926 927 928 929

	* gtk/gtkfilechooserdefault.c (shortcuts_drop_uris): Initialize
	error to NULL before calling g_set_error(). Should fix #473954, 
	reported by Sebastien Bacher.

930 931 932 933 934 935 936 937 938
2007-09-06 13:37:28  Tim Janik  <timj@imendio.com>

	* gtk/gtkrange.c (gtk_range_adjustment_value_changed): removed code
	that forced range repaints upon every motion event, because these tend
	to stall other repaints on busy CPUs.
	added a timer to still force repaints every once in a while (roughly
	5Hz atm) to avoid leaving the user without feedback on the range.
	fixes bug #460534.

939 940 941 942
2007-09-06  Michael Natterer  <mitch@imendio.com>

	* demos/gtk-demo/panes.c: s/gtk_widget_[un]ref/g_object_[un]ref/g

943 944 945 946 947 948
2007-09-06  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkwindow-quartz.c (_gdk_windowing_window_destroy):
	Patch from William Pitcock: Ungrab windows if necessary when they
	are destroyed, fixes bug #473441.

949 950 951 952 953
Wed Sep  5 14:15:17 2007  Tim Janik  <timj@imendio.com>

	* gtk/gtknotebook.c (gtk_notebook_class_init): fix wrong default value
	in ::tab-expand param spec constructor.

954 955 956 957 958 959
2007-09-04  Fernando Herrera  <fherrera@onirica.com>

	* gtk/gtkbuilder.c: (gtk_builder_finalize),
	(gtk_builder_add_from_file): copy filename to builder->priv instead of
	holding a reference to it. Bug #472643

960 961 962 963
2007-09-04  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkmodules.c: added missing \n to g_print() in GTK_NOTE().

964 965 966 967 968 969
2007-09-04  Johan Dahlin  <jdahlin@async.com.br>

	* gtk/gtk-builder-convert (GtkBuilderConverter._parse): Do not remove 
	empty properties, since we do not know the default GParamSpec values.
	#472981 (Carlos Garnacho)

970 971 972 973 974 975
	* gtk/gtk-builder-convert (GtkBuilder._packing_prop_to_child_attr):
	Do not iterate recursively over all child nodes.
	(GtkBuilderConverter._default_widget_converter): Use a more efficient
	way of iterating over all property nodes
	#472974 (Carlos Garnacho)

976 977 978 979 980 981
2007-09-03  Emmanuele Bassi  <ebassi@gnome.org>

	* gtk/gtkrecentmanager.c
	(gtk_recent_manager_poll_timeout): Remove the stat() time barrier,
	as it seems to cause bug #463907 (thanks to Sebastien Bacher).

982 983 984 985 986
2007-08-31  Richard Hult  <richard@imendio.com>

	* configure.in: Revert the previous change as it broke the build
	(missing po file in po-properties).

987 988 989 990
2007-08-31  Pramod Raghavendra <pramodleo@yahoo.co.uk>

	* configure.in: Added kn to ALL_LINGUAS

991 992 993 994 995 996
2007-08-30  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations,
	gdk_window_get_decorations): Implement those. Based on patch from
	Stefan Gehn, bug #459459.

997 998 999 1000 1001 1002
2007-08-30  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_keep_above,
	gdk_window_set_keep_below): Patch from Stefan Gehn to implement
	those, bug #459667.

1003 1004 1005 1006 1007 1008
2007-08-30  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkimage-quartz.c: (_gdk_quartz_image_copy_to_image):
	Patch from Stefan Gehn to implement copying from a pixmap, bug
	#348493.

1009 1010 1011 1012 1013 1014
2007-08-29  Kristian Rietveld  <kris@imendio.com>

	* gtk/gtksettings.c: lower the default timeout values for
	gtk-tooltip-timeout and gtk-tooltip-browse-timeout. (#451202,
	Richard Hult).

1015 1016 1017 1018 1019 1020 1021
Thu Aug 23 15:32:09 2007  Tim Janik  <timj@imendio.com>

	* gdk/x11/gdkgeometry-x11.c (_gdk_window_process_expose): fix
	X serial handling to cope with wraparounds and maintain referential
	integrity when removing list nodes. based on a patch by Hui Wang,
	fixes #461648.

1022 1023 1024 1025 1026
2007-08-27  Stefan Kost  <ensonic@users.sf.net>

	* gtk/gtkwindow.c: Update menu accelerators, when adding/removing
	AccelGroups dynamically. (#469374)

1027 1028 1029 1030 1031 1032 1033
2007-08-27  Cody Russell  <bratsche@gnome.org>

	* modules/engines/ms-windows/msw_style.c: Correct draw_box()
	function to check detail for "notebook".  This fixes a problem
	where notebooks without visible headers were not styling
	correctly. (#470033, Daniel Atallah and Cody Russell)

1034
2007-08-23  Cody Russell  <bratsche@gnome.org>
1035

1036 1037 1038 1039
	* gtk/gtkwindow.c (gtk_window_group_remove_window: Use the
	correct type check on `window'.  We now check GTK_IS_WINDOW
	rather than GTK_IS_WIDGET. (#461483, Josselin Mouette)

1040 1041 1042 1043 1044
2007-08-23  Cody Russell  <bratsche@gnome.org>

	* Makefile.am: Fix make dist failure by changing 
	README.cvs-commits to README.commits. (#469395, Frederic Peters)

1045 1046 1047 1048 1049
2007-08-23  Cody Russell  <bratsche@gnome.org>

	* HACKING: Change references to README.cvs-commits so they say
	README.commits.

1050 1051 1052 1053 1054
2007-08-23  Jan Arne Petersen  <jpetersen@jpetersen.org>

	* gtk/gtkbuilderparser.c: (text): Duplicate the string returned by
	d[n]gettext before it is potentially freed. (#461945)

1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069
2007-08-23  Emmanuele Bassi  <ebassi@gnome.org>

	* gtkfilechooserdefault.c:
	(search_hit_get_info_cb), (recent_item_get_info_cb): Check if
	we are still holding the model before updating it; removes a
	set of critical warnings when switching to the browse mode from
	a loading search or recent files list.

	(recent_clear_model), (recent_sort_model),
	(recent_idle_cleanup): When in recent files mode, set the
	model for the files list view when we have completed the loading
	of the recently used files list. This makes switching between
	modes fast again and reduces the amount of redraws needed
	to display the list. (#469214)

1070 1071 1072 1073 1074
2007-08-22  Emmanuele Bassi  <ebassi@gnome.org>

	* configure.in: Remove oc (Occitane) from LINGUAS and unbreak
	the build.

1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094
2007-08-22  Kristian Rietveld  <kris@imendio.com>

	Do not allow the cursor to go to a separator row.  Fixes #441219,
	modified patch by Carlos Garnacho.

	* gtk/gtktreeview.c (row_is_separator): new inline function
	for calling the row-separator-func, made all of gtktreeview.c use
	this function instead of calling the func themselves,
	(gtk_tree_view_button_press): treat a click on a separator like
	a click on empty space,
	(gtk_tree_view_update_rubber_band_selection_rage): skip
	non-selectable rows,
	(search_first_focusable_path),
	(gtk_tree_view_focus_to_cursor),
	(gtk_tree_view_move_cursor_up_down),
	(gtk_tree_view_move_cursor_page_up_down),
	(gtk_tree_view_move_cursor_start_end): skip separators,
	(gtk_tree_view_real_set_cursor): do not allow setting the cursor
	on a separator.

1095 1096 1097 1098 1099
2007-08-22  Tristan Van Berkom  <tvb@gnome.org>

	* gtk/gtkframe.c: Corrected the published default value of
	GtkFrame::label-xalign (bug 460272).

1100 1101 1102 1103 1104 1105
2007-08-21  Kristian Rietveld  <kris@imendio.com>

	* gtk/gtktooltip.c (gtk_tooltip_init),
	(gtk_tooltip_window_style_set): update alignment padding after
	theme changes. (Fixes #467003, patch by Benjamin Berg).

1106 1107 1108 1109 1110 1111
2007-08-21  Kristian Rietveld  <kris@imendio.com>

	* gtk/gtktooltip.c (_gtk_tooltip_handle_event): always set
	hide_tooltip to TRUE if we are handling a leave notify event. (Fixes
	#468245, reported by Dennis Jacobfeuerborn).

1112 1113 1114 1115 1116
2007-08-21  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkpaned.c (gtk_paned_class_init): applied patch from Mikael
	Hallendal which documents GtkPaned's keybinding signals (#467117).

1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132
2007-08-21  Kristian Rietveld  <kris@imendio.com>

	Fix #457642, reported by Christian Persch.

	* gtk/gtktooltip.c: added debugging output which can be compiled
	in with a #define, annotated all coordinate translations in the
	source code,
	(find_widget_under_pointer): remove the "no-window correction";
	always convert the coordinates from window relative to allocation
	relative; after recursing through a container, translate the
	coordinates from container allocation relative to child widget
	allocation relative;
	(find_topmost_widget_from_event): now we get allocation relative
	coordinates here we do not have to distinguish no-window and window
	widgets.

1133 1134 1135 1136 1137
2007-08-18  Cody Russell  <bratsche@gnome.org>

	* gtk/gtkimcontextsimple.c: Fixed incorrect compose mapping
	for capital U with macron. (#468055, Aaron Crane)

1138 1139 1140 1141
2007-08-17  Cody Russell  <bratsche@gnome.org>

	* Renamed README.cvs-commits to README.commits

1142 1143 1144 1145 1146 1147
2007-08-17  Cody Russell  <bratsche@gnome.org>

	* HACKING
	* README.cvs-commits: Updated documentation about SVN, and
	updated dependency information.  (#447883, Yesudeep Mangalapilly)

1148 1149 1150 1151
Fri Aug 17 11:36:29 2007  Tim Janik  <timj@imendio.com>

	* gtk/gtkmenu.c (gtk_menu_popup): Clarified activate_time docs.

1152 1153 1154 1155 1156
2007-08-16  Cody Russell  <bratsche@gnome.org>

	* gdk/win32/cursor.bdf: Committing changes to the source
	bdf font file that I forgot to commit yesterday for #458088.

1157 1158 1159 1160 1161 1162 1163 1164 1165
2007-08-15  Cody Russell  <bratsche@gnome.org>

	* gdk/win32/xcursors.h: Modified the sb_h_double_arrow and
	sb_v_double_arrow mouse cursors to match the ones that Windows
	uses for split container controls.  This allows our paned
	widgets to be more easily identified as paned widgets on
	Windows, since we don't have any prelighting on the draggable
	pane part.  (#458088)

1166 1167 1168 1169 1170
2007-08-15  Cody Russell  <bratsche@gnome.org>

	* gtk/gtkcontainer.c: Another documentation fix that I forgot to
	commit yesterday.  (#459340, Guillaume Cottenceau)

1171 1172 1173 1174 1175 1176 1177 1178
2007-08-14  Cody Russell  <bratsche@gnome.org>

	* gtk/gtkwidget.c
	* gtk/gtkscrolledwindow.c
	* gtk/gtklabel.c: Correct documentation that refers to the
	deprecated gtk_widget_set_usize() API.  Refer instead to
	gtk_widget_set_size_request().  (#459340, Guillaume Cottenceau)

1179 1180 1181 1182 1183 1184
2007-08-14  Kristian Rietveld  <kris@imendio.com>

	* gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): make
	sure we fail keynav if the only item in the list is already selected.
	(Fixes #465039, reported by Fernando Herrera).

1185 1186 1187 1188 1189 1190
2007-08-09  Sven Neumann  <sven@gimp.org>

	* modules/printbackends/file/gtkprintbackendfile.c: change the
	file extension when the file format is changed in the Print dialog
	(#356630).

1191 1192 1193 1194 1195 1196
2007-08-09  Stefan Kost  <ensonic@users.sf.net>

	* docs/reference/gtk/tmpl/gtkruler.sgml:
	* gtk/gtkruler.c:
	Move documentation of gtk_ruler_set_range() to source and fix nonsense.

1197 1198 1199 1200 1201
2007-08-08  Mikael Hallendal  <micke@imendio.com>

	* gtk/gtkcombobox.c (gtk_combo_box_class_init): 
	Document the new signals popup, popdown and move-active.

Matthias Clasen's avatar
Matthias Clasen committed
1202 1203 1204 1205
2007-08-07  Matthias Clasen  <mclasen@redhat.com>
	
	* MAINTAINERS: Follow new format regulations.

1206 1207
2007-08-07  Johan Dahlin  <jdahlin@async.com.br>

1208 1209 1210 1211 1212 1213
	* gtk/gtkbuilderparser.c (text): 
	* gtk/gtkcelllayout.c (attributes_text_element): 
	* gtk/gtkliststore.c (list_store_text): 
	Do not assume that text is null-terminated as pointed out by
	Christopher Fergeau
	
1214 1215 1216 1217
	* gtk/gtkbuilderparser.c (text): Use g_strdup on the translated
	string instead of g_strndup() + the length of the untranslated
	string. (#461945, Claude Paroz)

1218 1219 1220 1221 1222 1223 1224
2007-08-07  Kristian Rietveld  <kris@imendio.com>

	* gtk/gtktooltips.c (gtk_tooltips_init),
	(gtk_tooltips_destroy), (gtk_tooltips_force_window): create a dummy
	tip_window and tip_label, so old applications with code accessing
	those fields won't crash.

1225 1226 1227 1228 1229
2007-08-07  Kristian Rietveld  <kris@imendio.com>

	* gtk/gtktooltip.c (_gtk_tooltip_handle_event): Disable tooltips
	in touchscreen mode.

1230 1231 1232 1233 1234
2007-07-31  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkwindow-quartz.c: (gdk_window_get_geometry):
	Implement, fixes bug #405868. Based on patch from metz81@web.de.

1235 1236 1237 1238 1239 1240
2007-07-31  Xan Lopez  <xan@gnome.org>

	* gtk/gtkentry.c (gtk_entry_completion_key_press): reset the
	completion prefix on Enter too, plug potential leak.
	Follow-up to #458298

1241 1242 1243 1244 1245 1246
2007-07-31  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktooltip.c (gtk_tooltip_init): Make the label
	wrap, for compatibility with the old tooltips code. This
	fixes absurdly long tooltips in the color selector.

1247 1248 1249 1250 1251
2007-07-30  Kristian Rietveld  <kris@imendio.com>

	* gtk/gtktreeview.c (gtk_tree_view_set_tooltip_cell): Fix
	documentation. (#461225, Murray Cumming).

1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262
2007-07-29  Emmanuele Bassi  <ebassi@gnome.org>

	* gtk/gtkrecentchooser.c: Add documentation for properties
	and fix the deprecation marker for the show-numbers
	accessor functions (Murray Cumming).

	* gtk/gtkrecentchooser.h: Add deprecation guards around
	gtk_recent_chooser_set_show_numbers() and
	gtk_recent_chooser_get_show_numbers(), as promised during
	last development cycle.

1263 1264 1265 1266 1267 1268
2007-07-27  Attilio Fiandrotti  <attilio.fiandrotti@gmail.com>

        * gdk/directfb/gdkcursor-directfb.c: Attempts to load
          stock X cursors no longer results in annoying error
          messages under DirectFB

1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288
2007-07-27  Michael Natterer  <mitch@imendio.com>

	Fix check/radio indicator drawing mess (bug #452225):

	* gtk/gtkstyle.c (gtk_default_draw_check): really decrease the
	indicator size by one to ensure odd size (don't say -= -1).

	* gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_render):
	removed -1 adjustment from calls to gtk_paint_option(). Theme
	engines now get the actually configured size passed, not one pixel
	less.

	* gtk/gtkcellrenderertoggle.c
	* gtk/gtkcheckmenuitem.c: changed default indicator size from 12
	to 13 so all widgets which draw check/option indicators have the
	same default size now (and render the same size after above
	changes).

	* README.in: mention above changes in the release notes.

1289 1290 1291 1292 1293
2007-07-27  Wouter Bolsterlee  <wbolster@svn.gnome.org>

	* Makefile.am: Include ChangeLog.pre-2-10 in tarballs as
	well (seems to be forgotten).

1294 1295 1296 1297 1298 1299 1300
2007-07-25  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktooltip.c (_gtk_tooltip_handle_event): Call
	gtk_tooltip_hide_tooltip() even if the tooltip is not
	visible yet. This fixes annoying dangling tooltips
	on systray icons.  

Matthias Clasen's avatar
Matthias Clasen committed
1301 1302 1303 1304
2007-07-24  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkiconcachevalidator.c: Silence the validator.

1305 1306
2007-07-24  Matthias Clasen  <mclasen@redhat.com>

1307 1308 1309 1310 1311 1312 1313 1314 1315
	* gtk/gtkmenutoolbutton.c: Remove obsolete set-tooltip 
	handler.  (#458280, Christian Persch)

2007-07-24  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkcolorsel.c:
	* gtk/gtkfilechooserdefault.c:
	* gtk/gtkpagesetupunixdialog.c:
	* gtk/gtkprintunixdialog.c: Port to use new tooltips API.  
1316 1317
	(#451397, Jan Arne Petersen)

Tor Lillqvist's avatar
Tor Lillqvist committed
1318 1319 1320 1321
2007-07-24  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkkeys-win32.c (update_keymap): Cosmetic changes.

1322 1323 1324 1325 1326 1327
2007-07-24  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkmenubar.c (window_key_press_handler):
	* gtk/gtkmenu.c (gtk_menu_key_press): Restructure the code
	to make sense, and don't leak an empty accel.  (#459515, Owen Taylor)

1328 1329
2007-07-23  Matthias Clasen  <mclasen@redhat.com>

1330 1331 1332 1333
	* gtk/gtktooltip.c (gtk_tooltip_set_custom): Protect against
	recursion via gtk_container_remove().  (#459561, Christian Persch)
	(gtk_tooltip_window_hide): Simplify.

1334 1335
	* tests/testtooltips.c: Add code to test gtk_tooltip_set_custom()

1336 1337 1338 1339 1340
2007-07-23  Christian Persch  <chpe@gnome.org>

	* tests/testtooltips.c: (query_tooltip_tree_view_cb): Remove obsolete
	code. Bug #459566.

1341 1342 1343 1344 1345 1346 1347
2007-07-23  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktreeview.c:
	* gtk/gtkiconview.c:
	* gtk/gtkscalebutton.c: Fix some doc formatting errors.
	(#459313, Gian Mario Tagliaretti)

1348 1349 1350 1351 1352 1353 1354 1355
2007-07-23  Matthias Clasen  <mclasen@redhat.com>

	* configure.in: Dectect if cups allows access to the http_t
	authstring field.  

	* modules/printbackends/cups/gtkcupsutils.c: Rely on the
	HAVE_HTTP_AUTHSTRING define done by configure.

1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369
2007-07-23  Emmanuele Bassi  <ebassi@gnome.org>

	* gtk/gtkrecentchooserdefault.c: Port the GtkRecentChooser default
	implementation widget to the new tooltips API, and make it look
	like the GtkFileChooser widget in recent files mode (move the
	full path from the widget to a tooltip on the row) to improve
	consistency.

	* gtk/gtkrecentchoosermenu.c: Port the GtkRecentChooserMenu widget
	to the new tooltips API.

	* tests/testrecentchooser.c:
	* tests/testrecentchoosermenu.c: Exercise the tooltips code paths.

1370 1371 1372 1373 1374 1375
2007-07-22  Ross Burton  <ross@openedhand.com>

	* gtk/gtkscrolledwindow.c:
	Correctly redraw when gtk-scrolled-window-placement is changed
	after the widget is realised (#458102)

Matthias Clasen's avatar
Matthias Clasen committed
1376 1377 1378 1379
2007-07-22  Matthias Clasen  <mclasen@redhat.com>

	* gdk/x11/gdkkeys-x11.c: Some documentation fixes.

1380 1381 1382 1383 1384
2007-07-21  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktooltips.[hc]: Rename the tips_data_list field
	back.  (#447214)

1385 1386 1387 1388 1389 1390
2007-07-21  Matthias Clasen  <mclasen@redhat.com>

	* configure.in: Bump version

	* === Released 2.11.6 ===

1391 1392 1393 1394 1395 1396
2007-07-20  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktooltip.c (gtk_tooltip_position): Don't pop up
	under the cursor.  This fixes tooltip-induced flickering 
	in the tasklist in a bottom panel.

1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420
2007-07-20  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkpathbar.c (make_directory_button): Don't leak
	a label.  (#455901, Christian Persch, Vincent Geddes)

2007-07-20  Matthias Clasen  <mclasen@redhat.com>

	Apply a patch by Emmanuele Bassi to limit the number
	of shown recent files.  (#439715)

	* gtk/gtksettings.c: Add a setting for the number
	of recent files to display by default.

	* gtk/gtkrecentchooserdefault.c: 
	* gtk/gtkfilechooserdefault.c: Respect the limit.

	* gtk/gtkrecentmanager.c: Remove the poll timeout in 
	dispose, and do not stat more often than every 5 seconds.

	* gtk/gtkrecentchooserutils.c:
	* gtk/gtkrecentchoosermenu.c: Cleanups

	* tests/testrecentchoosermenu.c: Test limits.

1421 1422 1423 1424 1425 1426
2007-07-20  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkfilechooserdefault.c: Apply a patch by Emmanuele
	Bassi to add tooltips to the file lists in recent files and
	search modes.

1427 1428 1429 1430 1431 1432 1433 1434 1435
2007-07-20  Ryan Lortie  <desrt@desrt.ca>

	* gtk/gtkwidget.c (gtk_widget_is_composited): add note that the
	semantics of this call, when mixed with the new
	gdk_window_set_composited(), will change in the future.

	* gdk/x11/gdkevents-x11.c (gdk_event_translate): only grab Damage
	events that belong to us.

1436 1437 1438 1439 1440 1441 1442 1443 1444
2007-07-19  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkentry.c (gtk_entry_completion_key_press): Handle
	keypresses better when there is no completion.  (#458298,
	Christian Persch, patch by Xan Lopez)

	* gtk/gtkentrycompletion.c
	(gtk_entry_completion_insert_completion_text): Small cleanup.

1445 1446 1447 1448 1449
2007-07-19  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtksettings.c (apply_queued_setting): Merge color
	scheme before sending notification.  

Matthias Clasen's avatar
Matthias Clasen committed
1450 1451 1452 1453 1454 1455
2007-07-19  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktreeview.c (gtk_tree_view_set_tooltip_column):
	Only connect/disconnect signals when necessary, emit
	change notification.

1456 1457 1458 1459 1460 1461 1462 1463
2007-07-19  Kristian Rietveld  <kris@imendio.com>

	* gtk/gtktooltip.c (find_topmost_widget_coords_from_event): handle
	no-window and regular widgets seperately.

	* gtk/gtktreeview.c (gkt_tree_view_set_tooltip_cell): rect.x should
	be zero.

1464 1465 1466 1467 1468 1469 1470 1471
2007-07-19  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtk.symbols:
	* gtk/gtkiconview.h:
	* gtk/gtkiconview.c (gtk_icon_view_get_tooltip_context):
	(gtk_icon_view_[sg]et_tooltip_column: Add more convenience
	API parallel to the treeview convenience API.

1472 1473 1474 1475 1476
2007-07-19  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktextview.c (gtk_text_view_compat_move_focus): 
	Initialized GValues before unsetting them.  (#457720)

1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489
2007-07-19  Kristian Rietveld  <kris@imendio.com>

	* gtk/gtk.symbols:
	* gtk/gtktreeprivate.h:
	* gtk/gtktreeview.[ch] (gtk_tree_view_get_tooltip_context),
	(gtk_tree_view_[sg]et_tooltip_column): add more convenience API.

	* tests/testtooltip.c (query_tooltip_tree_view_cb): use
	gtk_tree_view_get_tooltip_context().

	* demos/gtk-demo/demo.ui: add a tooltip column to the list store,
	set tooltip-column on the tree view.

1490 1491 1492 1493 1494
2007-07-18  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkcursor-quartz.c (gdk_cursor_new_for_display): Ref
	the cursor in the cached case.

1495 1496 1497 1498 1499 1500
2007-07-18  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktreeview.c: Correct some mistakes in the 
	documentation of the test-expand/collapse-row signals.  
	(#457774, Olivier Andrieu)

Matthias Clasen's avatar
Matthias Clasen committed
1501 1502 1503 1504
2007-07-18  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkicontheme.c: Small cleanups

1505 1506 1507 1508 1509
2007-07-17  Kristian Rietveld  <kris@imendio.com>

	* gtk/gtktooltip.c (find_widget_under_pointer): only do the
	coordinate check if tmp is not NULL.

1510 1511 1512 1513 1514 1515
2007-07-16  Kristian Rietveld  <kris@imendio.com>

	* gtk/gtktooltip.c (find_topmost_widget_coords_from_event): check
	if the pointer is really over the returned widget, since the
	coordinate check may not always be hit in find_widget_under_pointer().

1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529
2007-07-16  Matthias Clasen <mclasen@redhat.com>

	Fix some issues with some combinations of inline-selection
	and inline-completion.  (#457384, Christian Persch)

	* gtk/gtkentry.c (gtk_entry_completion_key_press): Don't store
	the completion_prefix here, and be careful when using 
	completion_prefix, because it may be NULL.
	* gtk/gtkentrycompletion.c (gtk_entry_completion_finalize):
	Free completion_prefix here.
	* gtk/gtkentrycompletion.c (gtk_entry_completion_real_insert_prefix):
	(gtk_entry_completion_insert_completion_text): Store the
	completion_prefix here.

1530 1531 1532 1533 1534
2007-07-16  Matthias Clasen <mclasen@redhat.com>

	* gtk/gtkfilechooserbutton.c (model_add_special_get_info_cb):
	Plug a memleak. (#455721, Christian Persch)

1535 1536 1537 1538 1539
2007-07-16  Matthias Clasen <mclasen@redhat.com>

	* gtk/gtkscalebutton.c: Apply a patch by Guillaume Cottenceau
	to improve the signal docs.  (#456258)

1540 1541 1542 1543 1544
2007-07-16  Matthias Clasen <mclasen@redhat.com>

	* gtk/gtkwidget.c: Apply a patch by Xan Lopez to document
	a lot of GtkWidget signals.  (#172424)

1545 1546 1547 1548 1549 1550 1551 1552
2007-07-16  Matthias Clasen <mclasen@redhat.com>

	* gtk/gtk.symbols:
	* gtk/gtkiconview.h:
	* gtk/gtkiconview.c (gtk_icon_view_set_tooltip_item):
	(gtk_icon_view_set_tooltip_cell): Convenience functions to
	position tooltips on icon view items or cells.

Richard Hult's avatar
Richard Hult committed
1553 1554 1555 1556 1557
2007-07-14  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkevents-quartz.c:
	(_gdk_quartz_events_update_cursor): Plug leak.

1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569
2007-07-13  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkprivate-quartz.h:
	* gdk/quartz/gdkevents-quartz.c: (gdk_window_is_ancestor): Move
	from here...
	* gdk/quartz/gdkwindow-quartz.c: (_gdk_quartz_window_is_ancestor):
	...to here.
	(_gdk_windowing_window_destroy): Update the mouse window if the
	destroyed window is an ancestor of the current one, not only if
	they are the same.
	(gdk_window_hide): Update the mouse window here too.

Richard Hult's avatar
Richard Hult committed
1570 1571 1572 1573 1574
2007-07-13  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkcolor-quartz.c: (gdk_colors_alloc),
	(gdk_colors_free): Add stubs.

1575 1576 1577 1578 1579 1580 1581 1582 1583
2007-07-13  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkrecentmanager.c (get_uri_shortname_for_display): Avoid
	gratitious use of g_strdup_printf().

	* gtk/gtkrecentchooserdefault.c:
	* gtk/gtkrecentchoosermenu.c: Mark some strings for 
	translation.  (#439480, Murray Cumming)

1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603
2007-07-13  Kristian Rietveld  <kris@imendio.com>

	#408327, improve tooltip positioning.

	* gtk/gtk.symbols: updated.

	* gtk/gtktooltip.[ch] (gtk_tooltip_position): factor out
	positioning code in here,
	(gtk_tooltip_set_tip_area): new function to set the tooltip
	area,
	(gtk_tooltip_reset), (_gtk_tooltip_handle_event): hide tooltip
	once the pointer leaves the tip area.

	* gtk/gtktreeview.[ch] (gtk_tree_view_set_tooltip_row),
	(gtk_tree_view_set_tooltip_cell): convenience functions to set
	tip area for row/column/cell.

	* tests/testtooltips.c (query_tooltip_tree_view_cb): use
	gtk_tree_view_set_tooltip_row.

1604 1605 1606 1607 1608 1609 1610 1611
2007-07-12  Cody Russell  <bratsche@gnome.org>

	* gdk/win32/gdkevents-win32.c
	* gdk/win32/gdkwindow-win32.[ch]: Fix transient windows on Win32
	so that when a transient child window is closed (particularly when
	there are 3 or more levels of transient windows), the correct window
	receives focus rather than a seemingly random window. (#112404)

1612 1613 1614 1615 1616 1617 1618
2007-07-12  Attilio Fiandrotti  <attilio.fiandrotti@gmail.com>

	* gdk/directfb/gdkevents-directfb.c:
	* gdk/directfb/gdkwindow-directfb.c:
	* gdk/directfb/gdkprivate-directfb.h: Fixed memory leak at window closing,
	patch provided by Simon Lanzmich

1619 1620 1621 1622
Thu Jul 12 18:03:02 2007  Tim Janik  <timj@gtk.org>

	* gdk/gdk.c (gdk_threads_add_idle_full): clarified documentation example.

Matthias Clasen's avatar
Matthias Clasen committed
1623
2007-07-12  Matthias Clasen  <mclasen@redhat.com>
Matthias Clasen's avatar
Matthias Clasen committed
1624

Matthias Clasen's avatar
Matthias Clasen committed
1625
	* gtk/gtktextivew.c: 
Matthias Clasen's avatar
Matthias Clasen committed
1626 1627 1628 1629 1630 1631 1632 1633 1634
	* gtk/gtkclipboard.c: Add documentation.

2007-07-11  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkcelleditable.c:
	* gtk/gtkcellrenderer.c:
	* gtk/gtkcellrenderercombo.c:
	* gtk/gtkcellrenderertext.c: Add more documentation.

1635 1636 1637 1638 1639
2007-07-11  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktreeview.c:
	* gtk/gtktoolitem.[hc]: Make parameter naming consistent.

Matthias Clasen's avatar
Matthias Clasen committed
1640 1641 1642 1643 1644 1645
2007-07-11  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkrange.c:
	* gtk/gtkbindings.c: 
	* gtk/gtkscalebutton.c: Small doc fixes.

Matthias Clasen's avatar
Matthias Clasen committed
1646 1647 1648 1649 1650 1651
2007-07-11  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkplug.c:
	* gtk/gtksocket.c: Move docs inline, and add some missing
	docs.  

1652 1653 1654 1655 1656 1657
2007-07-11  Kristian Rietveld  <kris@imendio.com>

	* gtk/gtktreeview.c (gtk_tree_view_*_to_*_coords): x should be
	changed when converting widget <=> bin_window coordinates, not
	when bin_window <=> tree_window.

1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670
2007-07-11  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtk.symbols:
	* gtk/gtkiconview.[hc]
	(gtk_icon_view_convert_widget_to_bin_window_coords): New
	function to convert widget coords to what is expected by
	the at_pos functions.  (#455984)

2007-07-11  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkwiget.c: Don't include gtktooltips.h, it is
	not needed anymore.

1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681
2007-07-11  Christian Persch  <chpe@gnome.org>

	* gtk/gtkaction.c: (gtk_action_buildable_set_name),
	(gtk_action_finalize), (gtk_action_set_property),
	(gtk_action_get_property):
	* gtk/gtkactiongroup.c: (gtk_action_group_init),
	(gtk_action_group_add_action),
	(gtk_action_group_add_action_with_accel),
	(gtk_action_group_remove_action): Intern the action's name. Saves two
	string duplicates of it per action; bug #455645.

1682 1683 1684 1685 1686 1687 1688 1689
2007-07-10  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkwindow-quartz.c: (gdk_window_new),
	(show_window_internal), (gdk_window_show), (gdk_window_hide): Add
	hack to workaround the broken tracking rect implementation in
	quartz, that doesn't seem to produce events if the window shows up
	under the mouse.

1690 1691 1692 1693 1694 1695 1696 1697
2007-07-10  Kristian Rietveld  <kris@imendio.com>

	* gtk/gtk.symbols:
	* gtk/gtkwidget.[ch] (gtk_widget_{get,set}_has_tooltip): add
	getter/setter pair, slight addition to has-tooltip property
	documentation,
	(gtk_widget_real_set_has_tooltip): renamed internal function.

1698 1699 1700 1701 1702 1703 1704 1705
2007-07-10  Christian Persch  <chpe@gnome.org>

	* gtk/gtkaction.c: (gtk_action_sync_tooltip),
	(gtk_action_set_tooltip):
	* gtk/gtkuimanager.c: (update_node): Remove work-around for the old
	tooltips code, and just set the action tooltip immediately on the
	proxy widget. Bug #455482.

1706 1707 1708 1709 1710 1711 1712
2007-07-10  Kristian Rietveld  <kris@imendio.com>

	* gtk/gtktooltip.c (find_widget_under_pointer),
	(child_location_foreach): use gtk_container_forall, instead of
	gtk_container_foreach().  Makes tooltips on notebook tabs work. (Fixes
	bug reported by Christian Persch).

1713 1714 1715 1716 1717
2007-07-10  Kristian Rietveld  <kris@imendio.com>

	* gtk/gtktooltip.c (child_location_foreach): ignore invisible
	(!drawable) widgets.  (Fixes bug reported by Paolo Borelli).

Matthias Clasen's avatar
Matthias Clasen committed
1718 1719 1720 1721
2007-07-10  Matthias Clasen  <mclasen@redhat.com>

	* README.in: Make sure all deprecations are mentioned.

Matthias Clasen's avatar
Matthias Clasen committed
1722 1723 1724 1725
2007-07-10  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkrecentmanager.c: Fix some doc formatting

Matthias Clasen's avatar
Matthias Clasen committed
1726 1727 1728 1729
2007-07-10  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtk-builder-convert: Fix a typo

Matthias Clasen's avatar
Matthias Clasen committed
1730 1731 1732 1733
2007-07-10  Matthias Clasen  <mclasen@redhat.com>

	* NEWS: Updates

1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744
2007-07-09  Matthias Clasen  <mclasen@redhat.com>

	* gtklabel.[ch]: Use a bit of the GtkLabel structure to
	remember that a pattern has been set.
	(gtk_label_set_pattern_internal): Don't do anything if 
	a specific pattern has been set.
	(gtk_label_set_pattern): set the new bit to TRUE when 
	setting a pattern, and recalculate everything if the 
	pattern is unset. Fix gtk_label_set_pattern() not working 
	anymore.  (#452861, Vincent Untz)

1745 1746 1747 1748 1749
2007-07-09  Claude Paroz  <claude@2xlibre.net>

	* configure.in: Changed uz to uz@cyrillic and uz@Latn to uz.
	See bug #451164.

1750 1751 1752 1753 1754
2007-07-09  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkvolumebutton.c: Remove deprecated tooltips,
	use new tooltips API.  (#449311, Jan Arne Petersen)

1755 1756 1757 1758 1759
2007-07-09  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkselection.c (normalize_to_crlf): Don't ignore
	the passed-in len parameter.  (#430049, Yevgen Muntyan)

1760 1761 1762 1763 1764
2007-07-09  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkframe.c (gtk_frame_size_allocate): Improve the
	handling of broken situations.  (#427899, Francesco Montorsi)

1765 1766 1767 1768 1769 1770
2007-07-09  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkviewport.c (gtk_viewport_size_request): Changed size 
	requisition so the viewport does not add the border thickness 
	if it has GTK_SHADOW_NONE selected.  (#361781, Miguel Gomez)

1771 1772 1773 1774 1775
2007-07-09  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktooltip.c (gtk_tooltip_trigger_tooltip_query): 
	Fix a typo in the docs.  (#453930, Guillaume Cottenceau)

1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809
2007-07-09  Kristian Rietveld  <kris@imendio.com>

	Replace non-deprecated API using old tooltips API, deprecate
	old tooltips API for real. (#451575).

	* gtk/gtk.symbols: updated.

	* gtk/gtkwidget.c (gtk_widget_real_show_help): don't call
	_gtk_tooltips_toggle_keyboard_mode() anymore.

	* gtk/gtkmenutoolbutton.[ch] (gtk_menu_tool_button_set_arrow_tooltip):
	deprecated,
	(gtk_menu_tool_button_set_arrow_tooltip_{text,markup}): replacements.

	* gtk/gtktoolitem.[ch] (gtk_tool_item_real_set_tooltip): use
	new API,
	(gtk_tool_item_set_tooltip): deprecated,
	(gtk_tool_item_set_tooltip_{text,markup): replacements.
	(GtkToolItemClass:set_tooltip): deprecated.

	* gtk/gtktooltips.[ch]: strip out all unused parts, made
	gtk_tooltips_set_tip() call gtk_widget_set_tooltip_text(),
	deprecate all of gtk_tooltips_*.

	* gtk/gtktoolbar.[ch] (gtk_toolbar_get_tooltips): always return
	TRUE,
	(GtkToolbar:tooltips): deprecated, renamed.

	* gtk/gtkaction.c (gtk_action_sync_tooltip): use new API to
	set the tooltip text.

	* tests/autotestfilechooser.c: #undef GTK_DISABLE_DEPRECATED for now,
	will be removed GtkFileChooserDefault has been converted.

1810 1811 1812 1813 1814 1815
2007-07-09  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktreeview.c
	(gtk_tree_view_convert_bin_window_to_widget_coords:
	Fix a typo in the docs.  (#453673, Guillaume Cottenceau)

1816 1817 1818 1819 1820
2007-07-09  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkcombobox.c (gtk_combo_box_model_row_deleted): Emit 
	::changed when removing the active row.  (#452056, Paul Pogonyshev)

1821 1822 1823 1824 1825
2007-07-09  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtksearchenginesimple.c: Address some thread-safety
	issues.  (#452598)

1826 1827 1828 1829 1830
2007-07-09  Matthias Clasen  <mclasen@redhat.com>

	* modules/printbackends/*/Makefile.am: Fix build problems
	on Cygwin.  (#448604)

1831 1832 1833 1834 1835
2007-07-09  Jaap Haitsma  <jaap@haitsma.org>

	* gtk/gtkstatusicon.c: Remove usage of deprecated GtkTooltips API. Use
	gtk_widget_set_tooltip_text instead

1836 1837 1838 1839 1840
2007-07-09  Johan Dahlin  <jdahlin@async.com.br>

	* gtk/gtktooltip.c:
	* gtk/gtktooltip.h: Make the GTK_TOOLTIP and GTK_IS_TOOLTIP macros public.

1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855
2007-07-09  Johan Dahlin,,,  <jdahlin@lozenge>

	* demos/gtk-demo/demo.ui:
	* gtk/gtk-builder-convert:
	* gtk/gtkactiongroup.c: (gtk_action_group_buildable_init),
	(gtk_action_group_buildable_add_child),
	(accelerator_start_element),
	(gtk_action_group_buildable_custom_tag_start),
	(gtk_action_group_buildable_custom_tag_end):
	* gtk/gtkuimanager.c: (child_hierarchy_changed_cb),
	(gtk_ui_manager_buildable_construct_child):
	* tests/buildertest.c: (test_uimanager_simple):

	Add actiongroup/action accelerator support for builder. #454654

1856 1857 1858 1859 1860
2007-07-08  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkbuilderparser.c (pgettext): Support old-style
	message contexts, too. 

1861 1862 1863 1864 1865
2007-07-08  Johan Dahlin  <jdahlin@async.com.br>

	* gtk/gtk-builder-convert: Improve the way properties
	are copied over from a menuitem to an action.
	
1866 1867
2007-07-08  Johan Dahlin  <jdahlin@async.com.br>

1868 1869 1870 1871 1872
	* gtk/gtk-builder-convert (GtkBuilderConverter._convert_menuitem): Convert
	GtkMenus which are not part of a GtkMenuBar. Also move over activate signals
	when converting a GtkMenuItem subclass to an action. 
	(#454830, Bastien Nocera)

1873 1874 1875
	* gtk/gtkbuilderparser.c (parse_signal): Parse last_modification_time
	attribute in <signal> tag

1876 1877 1878 1879 1880 1881
2007-07-07  Matthias Clasen <mclasen@redhat.com>

	* gtk/gtkbuilderprivate.h:
	* gtk/gtkbuilderparser.c: Support context and comments
	for properties.

1882 1883 1884 1885
2007-07-07  Matthias Clasen <mclasen@redhat.com>

	* gtk/gtkwidget.c: Fix some typos, and a memory management bug.  

1886 1887 1888 1889 1890 1891 1892 1893 1894
2007-07-08  Johan Dahlin  <jdahlin@async.com.br>

	* gtk/gtkwidget.c (gtk_widget_buildable_custom_tag_start): 
	Parse <accessibility> but don't do anything yet.
	* gtk/gtk-builder-convert (GtkBuilderConverter._parse): 
	Do not strip atk/accessibility tags
	* tests/buildertest.c (test_widget): 
	Test this
	
1895 1896
Sun Jul  8 01:33:45 2007  Tim Janik  <timj@gtk.org>

1897
	* gdk/gdkwindow.c: docu fixup by Bjoern Lindqvist, #454703.
1898

1899 1900 1901 1902 1903 1904 1905 1906 1907
2007-07-07  Richard Hult  <richard@imendio.com>

	* gdk/quartz/GdkQuartzWindow.c ([GdkQuartzWindow -windowDidResignMain:]) 
	([GdkQuartzWindow -windowDidBecomeMain:]): 
	* gdk/quartz/gdkwindow-quartz.c (_gdk_quartz_window_did_resign_main)
	(_gdk_quartz_window_did_become_main, gdk_window_hide)
	(_gdk_windowing_window_destroy): Keep a stack of main windows and
	select the most recent one when hiding/closing the current one.

1908 1909 1910 1911
2007-07-07  Johan Dahlin  <jdahlin@async.com.br>

	* gtk/gtk-builder-convert (GtkBuilderConverter._convert_textview_text): 
	Convert GtkTextView::text properties
1912 1913 1914 1915 1916 1917
	(GtkBuilderConverter): Refactor; Optimize widget lookups by not
	traversing the whole tree.
	Use a common api to create sizegroups, actiongroups and uimanagers
	to avoid name conflicts.
	Output newly created objects sorted by id before the old roots under
	<interface>
1918 1919
	(GtkBuilderConverter._parse): Remove unsupported atkrelation and atkproperty
	tags
1920 1921
	(GtkBuilderConverter._convert_menuitem): Add support for CheckMenuItems
	and do not set name and action on separators
1922 1923
	(GtkBuilderConverter._add_action_from_menuitem): Only set stock_id
	on the action if the menuitem had a stock or label property set
1924

1925 1926 1927 1928 1929 1930 1931
2007-07-06  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkprivate-quartz.h:
	* gdk/quartz/gdkwindow-quartz.c: