ChangeLog.pre-2-16 129 KB
Newer Older
1 2 3 4 5 6
=== ChangeLog discontinued ===

	With the move to git, GTK+ is switching from a ChangeLog file
	to relying on commit messages to provide change history. Please
	see README.commits for guidance on the expected message format.

7 8 9 10 11 12 13 14 15
2009-03-29  Christian Persch  <chpe@gnome.org>

	Bug 577224 – crash when setting new icon after setting icon in
	gtkstatusicon

	* gtk/gtkstatusicon.c: (gtk_status_icon_reset_image_data),
	(gtk_status_icon_set_from_gicon): Retain a reference when setting
	from a GIcon, and use g_object_unref on GIcon, not g_free.

16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
2009-03-27  Behdad Esfahbod  <behdad@gnome.org>

	Bug 437533 – Implement draw_shape PangoRenderer method

	* gdk/gdkpango.c (gdk_pango_renderer_draw_shape),
	(gdk_pango_renderer_class_init): Implement draw_shape

	* demos/gtk-demo/rotated_text.c (fancy_shape_renderer),
	(create_fancy_attr_list_for_layout), (rotated_text_expose_event),
	(do_rotated_text):
	1) Port to pangocairo
	2) Also show a rotated label
	3) Install a custom shape renderer on both.  The second one goes
	through gdkpango and hence tests the patch above.  It's working.

31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
2009-03-26  Stef Walter  <stef@memberwebs.com>

	* gtk/gtkfilechooserentry.c
	(char_after_cursor_is_directory_separator)
	(gtk_file_chooser_entry_do_insert_text)
	(gtk_file_chooser_entry_focus)
	(commit_completion_and_refresh)
	(refresh_current_folder_and_file_part) (autocomplete):
	* gtk/gtkspinbutton.c (gtk_spin_button_insert_text):
	* modules/other/gail/gailentry.c (gail_entry_real_initialize)
	(text_setup) (gail_entry_get_run_attributes)
	(gail_entry_get_character_extents) 
	(gail_entry_get_offset_at_point): Use gtk_entry_xxx functions
	rather than using GtkEntry structure directly. 
	See bug #576801

47 48 49 50
2009-03-25  Christian Dywan  <christian@twotoasts.de>

	* gtk/gtkselection.c: Typo correction, s/hilding/holding

51 52 53 54 55 56
2009-03-25  Sven Neumann  <sven@gimp.org>

	* gdk/directfb/gdkwindow-directfb.c
	(gdk_window_directfb_process_all_updates): compile fix for build
	with DIRECT_ENABLE_DEBUG.

57 58 59 60 61 62 63 64
2009-03-24  Matthias Clasen  <mclasen@redhat.com>

	Bug 576306 – gdkscreen.c: get_nearest_monitor too simple, gives wrong
	result, mispositioning tooltips

	* gdk/gdkscreen.c (get_nearest_monitor): Make this function work.
	Problem reported by Dave Gilbert.

65 66 67 68 69 70 71
2009-03-23  Hiroyuki Ikezoe  <poincare@ikezoe.net>

	Bug 576254 - <object> requires attribute "id"

	* docs/reference/gtk/tmpl/gtkdialog.sgml: Add id attribute to 
	GtkBuilder UI sample.

72 73 74 75 76 77 78 79 80
2009-03-21  Cody Russell  <bratsche@gnome.org>

	Bug 538840 – [Win32] GTK menu theming could be improved

	* modules/engines/ms-windows/xp_theme.c
	* modules/engines/ms-windows/msw_style.c: Use newer
	menu styling API.  This makes gtk+ look much better on
	Windows Vista.

81 82 83 84 85 86 87 88
2009-03-19  Claudio Saavedra  <csaavedra@igalia.com>

	Bug 574283 – unused assignment and dead code in
	gtk_widget_set_tooltip_window()

	* gtk/gtkwidget.c: (gtk_widget_set_tooltip_window): Remove
	an unused assignment and clean up, improving checks.

89 90 91 92 93 94
2009-03-18  Michael Natterer  <mitch@gimp.org>

	* gtk/gtkscalebutton.c: add static function
	gtk_scale_button_set_orientation_private() and use it instead of
	the public but deprecated gtk_scale_button_set_orientation().

95 96 97 98 99 100 101 102 103
2009-03-17  Tor Lillqvist  <tml@novell.com>

	Bug 575700 - Crash when moving a GtkWindow

	* gdk/win32/gdkevents-win32.c (gdk_event_translate): Fix
	embarrassing crasher bug introduced on 2009-03-11. A variable was
	assigned a value only inside a GDK_NOTE but still used outside
	that.

104 105 106 107 108
2009-03-17  Tor Lillqvist  <tml@novell.com>

	* gtk/gtkprintoperation-win32.c: Newer mingw-w64 uses an
	underscore-prefixed identification macro.

Matthias Clasen's avatar
Matthias Clasen committed
109 110 111 112
2009-03-13  Matthias Clasen  <mclasen@redhat.com>

	* README.in: Late release notes for 2.16

Matthias Clasen's avatar
Matthias Clasen committed
113 114 115 116
2009-03-13  Matthias Clasen  <mclasen@redhat.com>

	* configure.in: Bump version

Matthias Clasen's avatar
Matthias Clasen committed
117 118 119 120
2009-03-13  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.16.0 ===

Matthias Clasen's avatar
Matthias Clasen committed
121 122
2009-03-13  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
Matthias Clasen committed
123 124
	* NEWS: Updates

Matthias Clasen's avatar
Matthias Clasen committed
125 126
	* configure.in: Bump version to 2.16.0

127 128 129 130 131 132 133
2009-03-11  Matthias Clasen  <mclasen@redhat.com>

	Bug 572455 – GtkEntry window layed out wrong if the widget has focus

	* gtk/gtkentry.c: Fix problems with window positioning. Reported
	by Benjamin Berg.

134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149
2009-03-11  Tor Lillqvist  <tml@iki.fi>

	Bug 573067 - Intra-app dnd of text behavior on Windows is wrong

	* gdk/win32/gdkdnd-win32.c (local_send_motion) (gdk_drag_motion):
	The default action should be move, not copy. Tweak how the
	GdkDragAction fields in GdkDragContexts are changed. Seems to help
	the problem.

	Add more debugging printout for --gdk-debug=dnd to many functions.

	* gdk/win32/gdkmain-win32.c
	* gdk/win32/gdkprivate-win32.h: (_gdk_win32_drag_protocol_to_string)
	(_gdk_win32_drag_action_to_string): New functions for use in
	debugging printouts.
	
150 151 152 153 154 155
2009-03-11  Tor Lillqvist  <tml@iki.fi>

	* gdk/win32/gdkdnd-win32.c: Use G_DEFINE_TYPE. Some debugging
	printout changes. Hacking on the OLE2_DND code, which still
	doesn't work, though, and is not normally compiled.

156 157 158 159 160 161 162 163 164
2009-03-11  Tor Lillqvist  <tml@iki.fi>

	Bug 570896 - gdkevents-win32.c(2947) : error C4053: one void
	operand for '?:'

	* gdk/win32/gdkevents-win32.c (gdk_event_translate): Fix
	compilation error with MSVC. While at it add clarifying comments
	and fix a typo in the debugging output.

165 166 167 168 169 170 171 172 173
2009-03-11  Tor Lillqvist  <tml@iki.fi>

	Bug 574794 - Can not resize shaped windows on Windows

	* gdk/win32/gdkevents-win32.c (gdk_event_translate): On handling
	WM_WINDOWPOSCHANGED, don't do anything if the position and size
	hasn't changed. I am not exactly sure I understand why this helps
	this particular bug.

174 175 176 177 178 179 180 181 182
2009-03-10  Matthias Clasen  <mclasen@redhat.com>

	Bug 574561 – gtk_style_get "shadows" g_object_get

	* gtk/gtk.symbols:
	* gtk/gtkstyle.[hc]: Rename gtk_style_get_property to
	gtk_style_get_style_property to avoid problems for language
	bindings. Pointed out by Torsten Schoenfeld.

183 184 185 186 187 188 189 190
2009-03-10  Matthias Clasen  <mclasen@redhat.com>

	Bug 574622 – GtkEntry: Should we wrap icon-press and icon-release
	signals?

	* gtk/gtkentry.c: ::icon-press and ::icon-release are not
	action signals. Pointed out by Murray Cumming

191 192 193 194 195 196
2009-03-04  Michael Hasselmann <michaelh@openismus.com>

	* gtk/gtkcomboboxentry.c (gtk_combo_box_entry_contents_changed):
	Fixed regression reported in bug #574059. (search button not available in 
	some cases.) The old implementation relied on bug #572478.

197 198 199 200 201 202 203 204 205 206
2009-03-10  Alexander Larsson  <alexl@redhat.com>

        * gtk/gtkmountoperation.c:
        (gtk_mount_operation_ask_password):
	Clear all optionally created widget pointer in priv. Initially
	priv is cleared so thats ok, but on a second call we may have
	leftovers from previous calls which is problematic if for instance
	we asked for the user the first time and not the second, then we
	will access the old priv->username_entry.

207 208 209 210 211 212 213
2009-03-06  Michael Natterer  <mitch@gimp.org>

	* gtk/gtkscalebutton.c (gtk_scale_button_set_property): don't call
	gtk_orientable_set_orientation() because that calls g_object_set()
	again -> infinite recursion. Call gtk_scale_button_set_orientation()
	instead.

Matthias Clasen's avatar
Matthias Clasen committed
214 215 216 217
2009-03-02  Matthias Clasen  <mclasen@redhat.com>

	* configure.in: Bump version

Matthias Clasen's avatar
Matthias Clasen committed
218 219 220 221
2009-03-02  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.15.5 ===

Matthias Clasen's avatar
Matthias Clasen committed
222 223 224 225
2009-03-02  Matthias Clasen  <mclasen@redhat.com>

	* NEWS: Updates

226 227 228 229 230 231 232 233 234 235
2009-03-02  Matthias Clasen  <mclasen@redhat.com>

	Bug 546285 – Allow GtkEntry to draw progress

	* gtk/gtkentry.c: Improve the drawing of progress in entries,
	using fg/bg[SELECTED]. Add a progress-border style property.
	Draw progress behind icons too.
	* gtk/gtkrc.c: Add defaults for fg/bg[SELECTED] in entries.
	Patch by Benjamin Berg.

236 237 238 239 240 241 242 243 244 245 246
2009-03-02  Matthias Clasen  <mclasen@redhat.com>

	Bug 573688 – Don't steal update region in gtk_text_view_paint()

	* gtk/gtktextview.c (gtk_text_view_paint): If additional areas got
	invalidated, don't try to add them to the paint region: in an expose
	handler, we cannot paint outside the area that was passed in, since
	drawing will be clipped. So stealing the update region from the
	window causes lost draws.
	Patch by Owen Taylor

247 248 249 250 251 252 253 254
2009-03-02  Alexander Larsson  <alexl@redhat.com>

	Bug 573087 – gdkwindow.c: {x,y}_offset used uninitialized

	* gdk/gdkwindow.c (gdk_window_clear_backing_rect_redirect):
	Don't use uninitialized vars.
	Fix offsets for redirected pixmap, draw to pixmap not window.

255 256 257 258 259 260 261 262 263
2009-03-02  Theppitak Karoonboonyanan  <thep@linux.thai.net>

	Bug 457086 - numpad does not work when the Thai-Lao input method is
	used

	* modules/input/gtkimcontextthai.c (is_context_lost_key): Do not count
	character-generating keypads as context-lost keys. (patch recommitted
	after approval)

264 265 266 267
2009-03-01  Matthias Clasen  <mclasen@redhat.com>

	* gdk/gdkkeysyms.h: Fix the sorting of GDK_KP_Equal.

268 269 270 271 272 273 274 275
2009-03-01  Matthias Clasen  <mclasen@redhat.com>

	Bug 552619 – File Chooser no longer automatically enters newly created
	directories

	* gtk/gtkfilechooserdefault.c (edited_idle_cb): Switch to the newly
	created folder on success.

276 277 278 279 280 281 282 283
2009-03-01  Matthias Clasen  <mclasen@redhat.com>

	Bug 573515 – po-properties/ special Makefile.in.in handling causes
	failure to build

	* configure.in: Generate po-properties/POTFILES at configure time.
	Patch by Loïc Minier

284 285 286 287 288 289 290
2009-03-01  Matthias Clasen  <mclasen@redhat.com>

	* demos/gtk-demo/appwindow.c: Set the program-name property
	of the about dialog.

	* docs/tools/widgets.c: Add GtkAboutDialog

291 292 293 294 295 296 297
2009-02-28  Matthias Clasen  <mclasen@redhat.com>

	Bug 572273 – No replacement documented for gtk_action_connect_proxy()

	* gtk/gtkaction.c: Make gtk-doc pick up deprecation notes.
	Insisted on by Andre Klapper.

Matthias Clasen's avatar
Matthias Clasen committed
298 299 300 301 302 303 304
2009-02-28  Matthias Clasen  <mclasen@redhat.com>

	Bug 573287 – Warning on startup

	* gtk/gtkstatusicon.c (gtk_status_icon_finalize): Disconnect
	all tray icon signals. Noticed by Bastien Nocera

305 306 307 308 309 310 311 312
2009-02-28  Matthias Clasen  <mclasen@redhat.com>

	Bug 573211 – Setting screen for popup windows

	* gtk/gtkentrycompletion.c:
	* gtk/gtknotebook.c: Keep popups on the right screen.
	Pointed out by Morten Welinder

313 314 315 316 317 318 319
2009-02-28  Matthias Clasen  <mclasen@redhat.com>

	Bug 573113 – Can't build tests due to testfilechooserbutton.c...

	* tests/testfilechooserbutton.c: Don't use deprecated API.
	Reported by Tobias Mueller

320 321 322 323 324 325 326 327 328 329 330
2009-02-28  Matthias Clasen  <mclasen@redhat.com>

	Bug 573069 – Gdk-CRITICAL warnings with Gtk 2.14 when dragging
	GtkNotebook tabs

	* gtk/gtkwidget.c (_gtk_widget_synthesize_crossing): Be a little
	more careful when navigating up the parent chain.

	* gdk/gdkwindow.c (_gdk_window_destroy_hierarchy): Reset the
	pointer window thats stored on the screen when it is destroyed.

331 332 333 334 335 336 337
2009-02-27  Matthias Clasen  <mclasen@redhat.com>

	Bug 572996 – crash in Home Folder: Trying to open the sidebar

	* gtk/gtkpaned.c (get_child_panes): Handle widget being NULL.
	Pointed out by Wouter Bolsterlee.

338 339 340 341 342 343 344 345
2009-02-27  Matthias Clasen  <mclasen@redhat.com>

	Bug 572972 – GtkRecentChooserDefault: memory leak in
	copy_activated_cb()

	* gtk/gtkrecentchooserdefault.c (copy_activated_cb): Don't leak
	a GtkRecentInfo. Found by Tommi Rantala

346 347 348 349 350 351 352 353 354
2009-02-27  Matthias Clasen  <mclasen@redhat.com>

	Bug 572968 – GtkIconView: image_description setter function strdups
	wrong string

	* gtk/gtkiconview.c
	(gtk_icon_view_item_accessible_image_set_image_description): Copy
	the right string. Pointed out by Tommi Rantala

355 356
2009-02-27  David Zeuthen  <davidz@redhat.com>

357
	Bug 573416 – GtkMountOperation fixes for ask_password()
358 359 360 361 362

	* gtk/gtkmountoperation.c (gtk_mount_operation_ask_password):
	Split the message from GMountOperation into primary/secondary like
	we also do in gtk_mount_operation_ask_question()

363 364 365 366 367 368 369 370
2009-02-27  Michael Natterer  <mitch@imendio.com>

	Bug 573383 – Setting a textview's buffer to NULL doesn't do a
	complete job

	* gtk/gtktextview.c (gtk_text_view_set_buffer): always set
	text_view->layout's buffer, also if it's NULL.

371 372 373 374 375 376 377 378
2009-02-25  Tristan Van Berkom <tvb@gnome.org>

	Bug 572904 – GtkRadioAction broken in trunk

	* gtk/gtkradioaction.c: When setting non active state always
	notify the action's active state (this prevents toggle type proxies
	used with radio actions from deactivating when pressed a second time).

379 380 381 382 383 384 385 386 387
2009-02-25  Xan Lopez  <xan@gnome.org>

        Bug 495320 - GtkRange does not use gdk_event_request_motions

        * gtk/gtkrange.c:
        (gtk_range_motion_notify): Use gdk_event_request_motions to
        request more motion events, as suggested in the docs for widgets
        using motion hints.

388 389 390 391 392 393 394 395 396
2009-02-24  Matthias Clasen <mclasen@redhat.com>

	* gdk/x11/gdkevents-x11.c:
	* gdk/x11/gdkscreen-x11.[hc]: Another attempt at getting Xrandr
	screen size changes right. Actually handle XRRScreenChangeNotify
	events, and ignore root ConfigureNotify events if we are using
	Xrandr. Only emit size-changed signals if the screen size changed,
	and only emit monitor-changed signals if the monitors changed.

397 398 399 400 401 402 403
2009-02-23  Matthias Clasen <mclasen@redhat.com>

	Bug 565199 – Ellipsize text in Places list

	* gtk/gtkfilechooserdefault.c (shortcuts_list_create): Never scroll
	the places horizontally. Instead, ellipsize the text.

404 405 406 407 408 409
2009-02-19  Michael Hasselmann <michaelh@openismus.com>

	* gtk/gtkcombobox.c (gtk_combo_box_set_active_internal):
	Added a check to not emit a "changed" signal when an already invalid
	selection was set to invalid.

410 411 412 413 414 415 416
2009-02-22  Matthias Clasen <mclasen@redhat.com>

	* gtk/gtk.symbols:
	* gtk/gtkactivatable.[hc]: Rename gtk_activatable_reset to
	gtk_activatable_sync_action_properties, since the previous name
	was deemed too generic. Update all implementations.

417 418 419 420 421 422 423 424 425 426 427
2009-02-19  Ray Strode  <rstrode@redhat.com>

	* gdk/x11/gdkscreen-x11.c
	(monitor_compare_function), (init_randr13):
	After using randr to get a list of monitors,
	sort the list such that the biggest output
	of "cloned" outputs comes first in the list.
	This helps apps that don't generally handle
	overlapping outputs to work better in randr
	clone mode.

428 429 430 431 432 433 434 435 436
2009-02-19  Sven Neumann  <sven@gimp.org>

	* gdk/directfb/gdkwindow-directfb.c
	(gdk_directfb_window_move_resize): looks like being called with
	negative width and height should be interpreted as a move. Fixes
	scrolling and makes popups work to some extent.

	(_gdk_directfb_move_resize_child): formatting.

437 438 439 440 441 442 443
2009-02-19  Sven Neumann  <sven@gimp.org>

	* gdk/directfb/gdkdisplay-directfb.c (gdk_display_open): move the
	call to _gdk_windowing_window_init() up a little. Fixes a crash
	when running on pseudo-color visuals. Thanks to Masse Nicolas for
	pointing this out.

444 445 446 447 448 449 450
2009-02-19  Sven Neumann  <sven@gimp.org>

	* gdk/directfb/gdkwindow-directfb.c
	(gdk_window_foreign_new_for_display, gdk_directfb_window_new):
	initialize private->impl. Thanks to Masse Nicolas for pointing
	this out.

451 452 453 454 455 456 457 458
2009-02-19  Matthias Clasen  <mclasen@redhat.com>

	Bug 572387 – gdm crashes after gtk 2.15.4 upgrade

	* gdk/x11/gdkscreen-x11.c (init_xrandr13): If X is broken and returns
	no monitors, fall back to other multihead init methods, so that we
	at least get one monitor set up.

459 460 461 462 463
2009-02-19  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkmountoperation.c: sort functions so their order is more
	"standard", some cosmetic cleanup (not changing any code).

464 465 466 467 468
2009-02-19  Michael Natterer  <mitch@imendio.com>

	* tests/testgtk.c: add some orientation flipping code to the
	"flipping" test.

469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487
2009-02-19  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkscalebutton.c: make the orientation flipping much simpler
	by using the GtkOrientable features of the involved widgets:

	(gtk_scale_button_init): create the frame, box and scale here,
	they never need to be recreated because they implement GtkOrientable.

	(gtk_scale_button_constructor): remove their construction here.

	(gtk_scale_button_set_orientation): don't destroy and re-create
	anything. Instead, simply set the orientation of the above created
	widgets and fiddle a bit with the "plus" and "minus" buttons'
	packing and the scale's "inverted" state.

	Remove separate internal GtkScaleButtonHScale and
	GtkScaleButtonVScale subclasses and simply have a
	GtkScaleButtonScale directly inherited from GtkScale.

488 489 490 491 492
2009-02-19  Theppitak Karoonboonyanan  <thep@linux.thai.net>

	* modules/input/gtkimcontextthai.c (is_context_lost_key): Revert the
	unapproved patch for bug 457086.

Matthias Clasen's avatar
Matthias Clasen committed
493 494 495 496 497
2009-02-18  Matthias Clasen  <mclasen@redhat.com>

	* gdk/x11/gdkscreen-x11.c (init_randr13): Ignore disconnected outputs,
	and fill in name and physical dimensions.

498 499 500 501 502 503 504 505 506
2009-02-18  Sven Neumann  <sven@gimp.org>

	Bug 533456 – Memory leak when window is destroyed

	* gdk/directfb/gdkdirectfb.h
	* gdk/directfb/gdkprivate-directfb.h
	* gdk/directfb/gdkcursor-directfb.c
	* gdk/directfb/gdkevents-directfb.c
	* gdk/directfb/gdkwindow-directfb.c: removed all #ifdef checks for
507 508 509
	DIRECTFB_MAJOR_VERSION >= 1 and compile that code unconditionally.
	as we depend on DirectFB >= 1.0.0 now.  Fixes a potential build
	issue that would lead to a memory leak as described in bug #533456.
510

511 512 513 514 515 516 517
2009-02-18  Sven Neumann  <sven@gimp.org>

	Bug 513422 – Unknown meaning of translatable messages

	* gdk/directfb/gdkdisplay-directfb.c: removed broken and commented
	code and the translatable messages that belonged to it.

518 519 520 521 522 523 524 525
2009-02-18  Sven Neumann  <sven@gimp.org>

	Bug 560671 – the client_message API doesn't work in DirectFB

	* gdk/directfb/gdkevents-directfb.c: applied a slightly cleaned up
	patch from Steve Lhomme that adds this functionality using
	DirectFB's DFBUserEvent.

526 527 528 529 530 531 532 533
2009-02-18  Sven Neumann  <sven@gimp.org>

	Bug 543710 – Dead keys do not work anymore with DirectFB

	* gdk/directfb/gdkkeys-directfb.c (gdk_directfb_translate_key):
	applied patch from Josselin Mouette that removes special handling
	of dead keys as that is done by DirectFB for a long time already.

534 535 536 537 538
2009-02-18  Sven Neumann  <sven@gimp.org>

	* configure.in: depend on DirectFB >= 1.0.0. There's no point in
	using an earlier development version.

539 540 541 542 543 544 545 546 547 548
2009-02-18  Sven Neumann  <sven@gimp.org>

	Bug 554407 – directfb backend does not implement GdkWindowImpl

	* gdk/directfb/gdkgeometry-directfb.c
	* gdk/directfb/gdkprivate-directfb.h
	* gdk/directfb/gdkwindow-directfb.c: fix the build of the DirectFB
	backend and resurrect basic functionality. Based on a patch from
	the Ubuntu bug-tracker and work by Masse Nicolas.

549 550 551 552 553 554 555 556
2009-02-18  Theppitak Karoonboonyanan  <thep@linux.thai.net>

	Bug 457086 - numpad does not work when the Thai-Lao input method is
	used

	* modules/input/gtkimcontextthai.c (is_context_lost_key): Do not count
	character-generating keypads as context-lost keys.

Matthias Clasen's avatar
Matthias Clasen committed
557 558 559 560
2009-02-17  Matthias Clasen  <mclasen@redhat.com>

	* configure.in: Bump version

Matthias Clasen's avatar
Matthias Clasen committed
561 562 563 564 565 566
2009-02-17  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.15.4 ===

	* gdk/tests/Makefile.am: Disable check-gdk-cairo for now.

567 568 569 570 571
2009-02-17  Andre Klapper  <a9016009@gmx.de>

	* demos/gtk-demo/main.c:
	Fix deprecated glib call.

Matthias Clasen's avatar
Matthias Clasen committed
572 573 574 575 576
2009-02-17  Matthias Clasen  <mclasen@redhat.com>

	* NEWS: Updates

2009-02-16  Matthias Clasen  <mclasen@redhat.com>
577 578 579 580 581 582

	Bug 572040 – GtkAssistant does not expose page titles

	* gtk/gtkassistant.c (gtk_assistant_accessible_ref_child): Set
	the object name to the page title. Proposed by Eitan Isaacson

Matthias Clasen's avatar
Matthias Clasen committed
583
2009-02-16  Matthias Clasen  <mclasen@redhat.com>
584 585 586 587 588 589

	Bug 572041 – Focus should change when advancing forward in GtkAssistant

	* gtk/gtkassistant.c (set_current_page): Set focus when the current
	page changes. Pointed out by Eitan Isaacson

Matthias Clasen's avatar
Matthias Clasen committed
590
2009-02-16  Matthias Clasen  <mclasen@redhat.com>
591 592 593 594 595

	* configure.in: Require GLib 2.19.7 for GMountOperation::aborted.

	* gtk/gtkmountoperation.c: Implement GMountOperation::aborted.

596 597 598 599 600 601
2009-02-16  Sven Neumann  <sven@gimp.org>

	* gdk/gdk.symbols
	* gdk/directfb/gdkkeys-directfb.c: implement
	gdk_keymap_get_caps_lock_state(). No "state-changed" signal yet.

602 603 604 605 606 607 608 609 610 611
2009-02-16  Tor Lillqvist  <tml@novell.com>

	Bug 571873 - Compile error with gdk/win32/gdkselection-win32.c

	* gdk/win32/gdkselection-win32.c (gdk_selection_convert): Cast
	gpointer to char * before pointer arithmetic to avoid compilation
	error with MSVC.

	(_gdk_selection_property_delete): Remove unused variable.

Matthias Clasen's avatar
Matthias Clasen committed
612 613 614 615 616
2009-02-13  Matthias Clasen  <mclasen@redhat.com>

	* gdk/x11/gdkdisplay-x11.c (gdk_display_open): Don't forget to
	register randr events. Found by Søren Sandmann

Matthias Clasen's avatar
Matthias Clasen committed
617 618 619 620 621 622 623 624 625 626
2009-02-13  Matthias Clasen  <mclasen@redhat.com>

	* configure.in: Check for Xrandr 1.3

	* gdk/x11/gdkdisplay-x11.[ch]: Rename have_randr12 to have_randr13
	and set if if we have randr 1.3

	* gdk/x11/gdkscreen-x11.c: Go back to using randr for monitor
	information, if we have XRRGetScreenResourcesCurrent.
:
627 628 629 630 631 632 633 634
2009-02-12  Cody Russell  <bratsche@gnome.org>

	Bug 571576 – gdk_pixbuf_save_to_stream() broken

	* gdk-pixbuf/gdk-pixbuf-io.c: Fix gdk_pixbuf_save_to_stream() so that
	it does not always return FALSE (even when it succeeds), and also so
	that it does not set error to NULL when something goes wrong.

635 636 637 638 639 640 641
2009-02-12  Marek Kasik  <mkasik@redhat.com>

	Bug 568571 – Asian am/pm format on cups print backend's time parsing

	* modules/printbackends/cups/gtkprintbackendcups.c: Add Asian am/pm
	format into formats recognized by CUPS backend

642 643 644 645 646 647 648 649 650
2009-02-11  Matthias Clasen  <mclasen@redhat.com>

	Bug 570824 – [a11y] TreeView is not keyboard (re)focusable after 
	selecting a cell in a non-sortable column

	* gtk/gtktreeview.c (gtk_tree_view_header_focus): Don't grab
	focus to a header button if it is not focusable. Problem reported
	by Joanmarie Diggs

651 652 653 654 655 656 657 658
2009-02-11  Matthias Clasen  <mclasen@redhat.com>

	Bug 508545 – No way to identify terminal classes from documentation

	* gtk/gtkvolumebutton.[hc]: Move the _GtkVolumeButton definition
	into the header to make it possible to derive from GtkVoumeButton.
	Reported by Chris Lord.

659 660 661 662 663 664 665 666 667
2009-02-11  Matthias Clasen  <mclasen@redhat.com>

	Bug 571196 – gtk_binding_entry_add_signall deprecated without 
	alternative
	* gtk/gtk.symbols:
	* gtk/gtkbindings.[hc]: Undeprecate gtk_binding_entry_add_signall
	since its replacement is a varargs function. Complaint by
	Torsten Schoenfeld.

668 669 670 671 672 673 674 675 676
2009-02-11  Matthias Clasen  <mclasen@redhat.com>

	Bug 571249 – Icons are not drawn properly when initial widget 
	state is insensitive

	* gtk/gtkentry.c (gtk_entry_ensure_pixbuf): Render icons
	in normal state, regardless of the entrys state. Reported by
	Enrico Tröger.

677 678 679 680 681 682
2009-02-11  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkfilechooserbutton.c: Don't emit the file-set signal
	if the file chooser dialog is canceled. But emit it if a file
	is received via DND.

683 684 685 686 687 688 689
2009-02-11  Matthias Clasen  <mclasen@redhat.com>

	Bug 353196 – Add a file-set signal to GtkFileChooserButton

	* gtk/gtkfilechooserbutton.c: Remove GTK_SIGNAL_ACTION
	from the file-set signal, that wasn't supposed to have it.

690 691 692 693 694 695 696
2009-02-10  Takao Fujiwara  <takao.fujiwara@sun.com>

	Bug 571015 – libprintbackend-cups has unlocalized strings

	* modules/printbackends/cups/gtkprintbackendcups.c:
	Added a translator comment with the request of translators.

697 698 699 700 701
2009-02-09  Richard Hughes  <richard@hughsie.com>

	* docs/reference/gtk/migrating-GtkEntry-icons.sgml:
	Fix the enumerated name in the migration document.

702 703 704 705 706
2009-02-09  Cody Russell  <bratsche@gnome.org>

	* gdk/win32/gdkwin32.h: Add potentially missing #defines for
	XBUTTON1, etc.  Fixes the build that was broken in r21746.

707 708 709 710 711 712 713 714 715
2009-02-09  Takao Fujiwara  <takao.fujiwara@sun.com>

	Bug 571015 – libprintbackend-cups has unlocalized strings

	Reviewed by Matthias Clasen  <mclasen@redhat.com>

	* modules/printbackends/cups/gtkprintbackendcups.c (handle_option):
	Add translatable strings from ppd files.

716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733
2009-02-06  Matthias Clasen  <mclasen@redhat.com>

	Make the new GtkAction code work with PolicyKit-gnome's use of actions.

	* gtk/gtkaction.c (gtk_action_[un]block_activate_from): Block
	the action.

	* gtk/gtkcheckmenuitem.c (gtk_check_menu_item_activatable_reset):
	* gtk/gtktogglebutton. (gtk_toggle_button_activatable_reset):
	* gtk/gtktoggletoolbutton.c (gtk_toggle_tool_button_activatable_reset):
	Work with non-toggle actions without complaining.

	* gtk/gtktoolbutton.c (gtk_tool_button_activatable_update): Updating
	the icon-name should not remove the label.

	* gtk/gtkimagemenuitem.c (activatable_update_icon_name): Also
	update the image when the icon name is set to NULL.

Matthew Barnes's avatar
Matthew Barnes committed
734 735 736 737
2009-02-06  Matthew Barnes  <mbarnes@redhat.com>

	* gtk/gtklabel.c (gtk_label_set_label): Accept a NULL string.

738 739 740 741 742 743 744 745
2009-02-03  Matthias Clasen  <mclasen@redhat.com>

	Bug 538439 – tooltip may appear in upper left corner instead of 
	over widget

	* gtk/gtktooltip.c (gtk_tooltip_trigger_query): Set the root 
	coordinates in the event correctly. Patch by Kristian Rietveld.

Matthias Clasen's avatar
Matthias Clasen committed
746 747 748 749
2009-02-02  Matthias Clasen  <mclasen@redhat.com>

	* configure.in: Bump version

Matthias Clasen's avatar
Matthias Clasen committed
750 751 752 753 754 755
2009-02-02  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.15.3 ===

	* NEWS: Updates

756 757 758 759 760 761
2009-02-01  Behdad Esfahbod  <behdad@gnome.org>

	* gtk/gtksettings.c (gtk_settings_class_init): Change the
	"gtk-fontconfig-timestamp" property from int to uint.  Doesn't affect
	anything in practice, except that  it overflows years later...

762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783
2009-02-01  Behdad Esfahbod  <behdad@gnome.org>

	Bug 569635 – fontchooser should reload list of families/styles on
	theme change

	* gtk/gtkfontsel.c (gtk_font_selection_class_init),
	(gtk_font_selection_init), (gtk_font_selection_finalize),
	(gtk_font_selection_ref_family), (gtk_font_selection_ref_face),
	(gtk_font_selection_reload_fonts),
	(gtk_font_selection_screen_changed),
	(gtk_font_selection_style_set),
	(gtk_font_selection_scroll_to_selection),
	(gtk_font_selection_scroll_on_map),
	(gtk_font_selection_select_font),
	(gtk_font_selection_show_available_fonts),
	(gtk_font_selection_show_available_styles),
	(gtk_font_selection_select_style),
	(gtk_font_selection_select_font_desc),
	(gtk_font_selection_set_font_name):
	Reload Pango families and faces in style_set.  Installing/uninstalling
	fonts shows up immediately in an open font chooser now.

784 785 786 787 788 789 790 791 792 793 794 795
2009-01-31  Matthias Clasen  <mclasen@redhat.com>

	Bug 162726 – Multiple Latin layouts in XKB break keyboard shortcuts

	* gtk/gtkkeyhash.c (_gtk_key_hash_lookup): Change the handling of
	fuzzy matches: As long there are any exact matches, only exact 
	matches are returned. If there are no exact matches, fuzzy matches 
	will be returned, as long as they are not shadowing a possible exact
	match. This means that fuzzy matches won't be considered if their
	keyval is present in the current group. Problem reported by
	many people, patch by Simos Xenitellis.

Matthias Clasen's avatar
Matthias Clasen committed
796 797 798 799
2009-01-31  Matthias Clasen  <mclasen@redhat.com>

	* NEWS: Updates

800 801 802 803 804
2009-01-30  Fridrich Strba  <fridrich.strba@bluewin.ch>

	* configure.in: Allow linking in static jasper gdk-pixbuf loader.
	(reviewed by Tor Lillqvist)

805 806 807 808 809 810
2009-01-30  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktextview.c (preedit_changed_handler): Be more careful
	with the beeps, since preedit-changed is occasionally emitted 
	without actual input. Pointed out by Tor Lillqvist.

811 812 813 814 815 816 817
2009-01-30  Matthias Clasen  <mclasen@redhat.com>

	Bug 569918 – 64bit portability issue in gtkrecentchooser.c

	* gtk/gtkrecentchooser.c (gtk_recent_chooser_set_use_action_appearance):
	Avoid a compiler warning. Patch by Magnus Boman.

818 819 820 821 822 823 824 825
2009-01-30  Matthias Clasen  <mclasen@redhat.com>

	Bug 359288 – Toolbar items are not shown after hiding

	* gtk/gtktoolbar.c (slide_idle_handler): Make sure we queue
	at least one resize. This fixes a problem with toolitems remaining
	invisible when they shouldn't that was reported by Christian Weiske.

Matthias Clasen's avatar
Matthias Clasen committed
826 827 828 829 830
2009-01-30  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkrecentchoosermenu.c (gtk_recent_chooser_menu_create_item):
	Always show images.

831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927
2009-01-29  Tor Lillqvist  <tml@novell.com>

	Bug 559408 - Transparency lost when images are copied between GTK+
	and the clipboard on Windows

	The code in gdkselection-win32.c is simplified quite a lot. When
	an image is stored on the clipboard from GTK+, only the "PNG" and
	CF_DIB formats are advertised. PNG is our preferred format because
	it can losslessly represent any image that gdk-pixbuf can handle,
	even with alpha, unambiguously. CF_DIB is also advertised because
	of its ubiquitous support in Windows software.

	Delayed rendering is used as before, so for other data than text
	nothing is actually stored on the clipboard until some app asks
	for it.

	It's pointless to advertise images formats like "image/png" or
	"image/x-MS-bmp" that no other Windows application is going to
	look for anyway. Likewise it's pointless to store text under
	formats like "text/plain" or "UTF8_STRING". Just store
	CF_UNICODETEXT. CF_TEXT will be available as a synthesized format
	anyways.

	Office 2007 offers and asks for images in PNG format using the
	registered clipboard format name "PNG", so we do likewise. If the
	"PNG" format is available that is preferred when copying to GTK+
	from the clipboard.

	Unfortunately Word 2007 still uses CF_DIB without handling
	alpha. But PowerPoint 2007 uses PNG if available and handles alpha
	correctly. Both Word and Powerpoint offer PNG with alpha nicely.

	Firefox and IE7 offer images that contain alpha as 32-bit version
	3 BI_RGB DIBs with the undocumented "extra" bytes actually being
	alpha. Also, alpha is premultiplied into the RGB bytes, presumably
	because that is how AlphaBlend() wants such DIBs. That is also
	taken care of. At least for Firefox it easy to be sure that a
	CF_DIB on the clipboard is from Firefox.

	Also some general stylistic cleanup, comment improvements, and
	improvements of debugging printout especially in the clipboard
	handling. Those are not detailled below.

	* gdk/win32/gdkprivate-win32.h
	* gdk/win32/gdkglobals-win32.c
	* gdk/win32/gdkgmain-win32.c: Move some globals that were used
	only in gdkselection-win32.c to be local to that file.

	* gdk/win32/gdkproperty-win32.c (gdk_property_change): Don't
	bother checking if text to be placed on the clipboard consists of
	only ASCII.

	* gdk/win32/gdkselection-win32.c: Add static variables for a list
	of GdkPixbuf-supported formats, well-known registered clipboard
	formats for images, and for GdkAtoms for well-known image and text
	formats.

	(_gdk_win32_selection_init): Initialize above static variables.

	(selection_property_store) (gdk_selection_property_get)
	(_gdk_selection_property_delete): Don't use a FIFO of GdkSelProps
	for a window after all, it breaks testtext. See bug #163844.

	(gdk_selection_convert): When converting to the TARGETS format,
	i.e. when the caller wants to know what clipboard formats are
	available, if PNG is available we report just that and skip
	CF_DIB, JPEG and GIF even if advertised.

	If CF_UNICODETEXT is available, report only UTF8_STRING.

	When converting to the UTF8_STRING format, i.e. when the caller
	wants text from the clipboard, try just CF_UNICODETEXT. There is
	no point in trying CF_TEXT as Windows will synthesize
	CF_UNICODETEXT from CF_TEXT anyway, if some app has stored just
	CF_TEXT.

	When converting to the image/bmp format, i.e. when the caller
	wants an CF_DIB image from the clipboard, we check if the DIB is a
	version 3 32-bit BI_RGB one that is likely to actually contain
	alpha in the "extra" bytes. Such a DIB is likely to have
	premultiplied alpha even, at least in the case of Firefox 3 and
	IE7. We then edit the DIB in-place into a version 5 one in
	BI_BITFIELDS format and undo the alpha premultiplication.

	In any case, prepend a BMP file header before letting go of the
	data which will be fed to the gdk-pixbuf bmp loader by upper
	levels.

	(gdk_win32_selection_add_targets): If some kind of pixmap image
	format is being added, actually advertise just PNG and
	CF_DIB. Note that alpha won't be stored on the clipboard through
	CF_DIB. This is because gdk-pixbuf's bmp loader doesn't save
	alpha. Furthermore, few if any non-GTK+ Windows apps seem to
	understand a version 5 DIB with proper alpha anyway.

	(_gdk_win32_selection_convert_to_dib): Simplified muchly.

928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948
2009-01-29  Tor Lillqvist  <tml@novell.com>

	Bug 145058 - Inputting "^^" requires four keystrokes on Win32,
	differs from platform default behaviour

	* gtk/gtkimcontextsimple.c
	(check_win32_special_case_after_compact_match): New
	function. Called from check_compact_table() after a table-based
	match has committed a character. In case there was two identical
	dead accents in the input, another copy of the spacing accent that
	was already committed is committed. This fixes #145058.

	(check_win32_special_cases): New function. Called first from
	gtk_im_context_simple_filter_keypress(). This fixes another
	problem: a dead accent followed by a space should commit the
	corresponding spacing accent. The compose tables from X commit
	another character in two cases and we want to override that on
	Windows.

	Add GTK_NOTE (MISC) debugging output to this code.

949 950 951 952 953 954 955
2009-01-29  Claudio Saavedra  <csaavedra@igalia.com>

	Bug 569435 – make maintainer-clean removes non-generated sources

	* gdk/Makefile.am: Do not remove gdkprivate.h and gdkwindowimpl.h
	during make maintainer-clean, as these files are not generated.

956 957 958 959
2009-01-28  Philip Withnall  <philip@tecnocode.co.uk>

	* gtk/gtktreeview.c: Small documentation fix.

960 961 962 963 964
2009-01-27  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkentry.c: Use the get_text_area_size vfunc to make
	alignment and icons in spin buttons work correctly.

Matthias Clasen's avatar
Matthias Clasen committed
965 966
2009-01-27  Matthias Clasen  <mclasen@redhat.com>
	
Matthias Clasen's avatar
Matthias Clasen committed
967 968 969
	Bug 569336 – change in gtkbutton klass is causing crash when 
	activating menu item

Matthias Clasen's avatar
Matthias Clasen committed
970 971 972
	* gtk/gtktogglebutton.c: Don't chain the clicked handler
	up unconditionally.

Matthias Clasen's avatar
Matthias Clasen committed
973 974 975 976
2009-01-27  Matthias Clasen  <mclasen@redhat.com>

	* configure.in: Bump version

Matthias Clasen's avatar
Matthias Clasen committed
977 978 979 980 981 982
2009-01-27  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.15.2 ===

	* NEWS: Updates

983 984 985 986 987 988 989 990 991
2009-01-26  Matthias Clasen  <mclasen@redhat.com>

	Bug 322932 – Always show icons on panel menus

	* gtk/gtk.symbols:
	* gtk/gtkimagemenuitem.[hc]: Add a property to override the
	show-menu-images setting for individual menuitems. Patch by
	William Jon McCann.

992 993 994 995 996 997
2009-01-26  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkbutton.c: Activate the action in a regular clicked
	handler instead of the default handler, to make it work with
	derived classes which don't chain up their clicked handler.

998 999
2009-01-26  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
Matthias Clasen committed
1000 1001 1002
	Bug 569104 – Toggle menu entries showed as check menu entries 
	in nautilus

1003 1004 1005 1006 1007 1008 1009 1010 1011
	* gtk/gtkactivatable.c (gtk_activatable_do_set_related_action):
	Block the previous action when calling reset() to prevent
	accidental activation of the previous action.

	* gtk/gtkaction.c (gtk_action_activate): Don't compare booleans.

	* gtk/gtktoggleaction.c (gtk_toggle_action_set_active): Remove
	extraneous braces.

1012 1013 1014 1015 1016 1017 1018
2009-01-26  Bastien Nocera  <hadess@hadess.net>

	Bug 569240 - Crasher when using markers

	* gtk/gtkrange.c (gtk_range_destroy): Avoid crashes when destroying
	a GtkRange with markers

1019 1020 1021 1022 1023 1024 1025 1026 1027
2009-01-26  Richard Hult  <richard@imendio.com>

	Bug 566628 – gdk_display_close always asserts on win32 and quartz

	* gdk/quartz/gdkdisplay-quartz.c
	(_gdk_windowing_set_default_display): Copy fix for bug #566628
	from the win32 backend: Allow also a NULL parameter in the
	g_assert().

1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038
2009-01-25  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktoolitem.[hc]: Export the function to create a proxy
	menuitem from the action for use in subclasses.

	* gtk/gtktoolbutton.c:
	* gtk/gtktoggletoolbutton.c: Use it here.

	* gtk/gtkrecentchoosermenu.c: Avoid temporary empty state that
	can lead to a recent action proxy menu being erroneously hidden.

1039 1040 1041 1042
2009-01-25  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkradioaction.c: Set draw-as-radio to TRUE.

1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054
2009-01-24  Matthias Clasen  <mclasen@redhat.com>

	Revert changes for bug 567124. Instead of trying to avoid
	setting up the im context before the widget is realized, just
	reset it when the client window is set.

	* gtk/gtkimmulticontext.c: Reset the slave when a client window
	is set.

	* gtk/gtkimmodule.c
	* gtk/gtktextview.c: Revert changes for bug 567124.

1055 1056 1057 1058 1059
2009-01-25  Claudio Saavedra  <csaavedra@igalia.com>

	* gtk/gtktreeview.c: Use gtk-doc syntax to refer to properties in
	the docstrings.

1060 1061 1062 1063 1064
2009-01-25  Claudio Saavedra  <csaavedra@igalia.com>

	* gtk/gtkiconview.c: More docstrings improvements
	regarding reorderable property.

1065 1066 1067 1068 1069 1070 1071 1072
2009-01-24  Claudio Saavedra  <csaavedra@igalia.com>

	Bug 559420 – gtk_icon_view_enable_model_drag_[source|dest] docs
	wrt. reorderable property

	* gtk/gtkiconview.c: Improve docstrings regarding reorderable
        property. Based on a patch by Björn Lindqvist.

1073 1074 1075 1076 1077 1078
2009-01-24  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktoolbutton.c (gtk_tool_button_activatable_reset):
	Fall back from stock ids to icon names like the old code 
	did. Patch by Tristan van Berkom.

1079 1080 1081 1082 1083 1084
2009-01-24  Matthias Clasen  <mclasen@redhat.com>

	* tests/testactions.c: Add a testcase for toolitems using
	icon names.

2009-01-24  Matthias Clasen  <mclasen@redhat.com>
1085 1086 1087 1088

	* gdk/x11/gdkcursor-x11.c (_gdk_x11_cursor_update_theme):
	Don't update blank cursors.

1089 1090 1091 1092 1093
2009-01-24  Claudio Saavedra  <csaavedra@igalia.com>

	* gtk/gtktreeview.c: (gtk_tree_view_class_init): Slightly
	improve ::search-column property description.

Matthias Clasen's avatar
Matthias Clasen committed
1094 1095 1096 1097
2009-01-23  Matthias Clasen  <mclasen@redhat.com>

	* configure.in: Bump version

Matthias Clasen's avatar
Matthias Clasen committed
1098 1099 1100 1101
2009-01-23  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.15.1 ===

Matthias Clasen's avatar
Matthias Clasen committed
1102 1103 1104 1105 1106
2009-01-23  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkactivatable.c: Make the section docs produce some valid
	xml.

Matthias Clasen's avatar
Matthias Clasen committed
1107 1108 1109 1110
2009-01-23  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkactivatable.c: Fix the section docs so gtk-doc finds them.

Matthias Clasen's avatar
Matthias Clasen committed
1111 1112 1113 1114 1115
2009-01-23  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkrecentchooser.c:
	* gtk/gtkuimanager.c: Fix issues found by pltcheck

Matthias Clasen's avatar
Matthias Clasen committed
1116 1117 1118 1119
2009-01-23  Matthias Clasen  <mclasen@redhat.com>

	* NEWS: Updates

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 1157 1158 1159 1160 1161 1162 1163
2009-01-23  Matthias Clasen  <mclasen@redhat.com>

	Bug 560228 – Add "action-controller" property to GtkWidgetClass

	Rework the way actions and proxies interact, to make the
	interaction less ad hoc, more extensible, and better suited
	for support in GUI builders like glade. 

	To be used as a proxy, a widget must now implement the 
	GtkActivatable interface, and GtkActivatable implementations 
	are responsible for syncing their appearance with the action 
	and for activating the action.

	All the widgets that are commonly used as proxies implement
	GtkActivatable now.

	Patch by Tristan van Berkom.

	* gtk/gtkactivatable.[hc]: The GtkActivatable interface.

	* gtk/gtkbutton.c:
	* gtk/gtktogglebutton.c:
	* gtk/gtktoolitem.c:
	* gtk/gtktoolbutton.c:
	* gtk/gtktoggletoolbutton.c:
	* gtk/gtkmenuitem.c:
	* gtk/gtkcheckmenuitem.c:
	* gtk/gtkimagemenuitem.c:
	* gtk/gtkradiomenuitem.c:
	* gtk/gtkrecentchooserprivate.h:
	* gtk/gtkrecentchooser.c:
	* gtk/gtkrecentchooserdefault.c:
	* gtk/gtkrecentchoosermenu.c: Implement GtkActivatable.
	* gtk/gtkaction.[hc]: Move appearance synchronization to
	GtkActivatable implementations.

	* gtk/gtkradioaction.c:
	* gtk/gtkrecentaction.c:
	* gtk/gtktoggleaction.c:
	* gtk/gtkactiongroup.c: Adapt.

	* gtk/gtk.h: Include gtkactivatable.h
	* gtk/gtk.symbols: Add new functions

1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176
2009-01-23  Matthias Clasen  <mclasen@redhat.com>

	Bug 567124 – proposal to delay doing something related to 
	immodule until widgets realized

	Delay setting up immodules until the widget is realized.
	Patch by Akira Tagoh
	
	* gtk/gtktextview.c: Don't set up im stuff if the widget
	is not realized.

	* gtk/gtkimmodule.c: Assert that we have a window.
 
1177 1178 1179 1180 1181 1182 1183 1184
2009-01-23  Matthias Clasen  <mclasen@redhat.com>

	Skip Desktop if it equals the home folder
	Patch by Christian Dywan

	* gtk/gtkfilechooserdefault.c (shortcuts_append_desktop): Skip
	Desktop if it equals the home folder.

1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201
2009-01-23  Matthias Clasen  <mclasen@redhat.com>

	Bug 536965 – GtkPlug: crash on theme change

	Keep GtkPlug in sync with the global list of toplevels.
	Patch by Federico Mena Quintero

	* gtk/gtkwindow.h:
	* gtk/gtkwindow.c (_gtk_window_set_is_toplevel): New internal
	function used when a GtkPlug parents/unparents itself by an
	in-process GtkSocket.  This keeps the plug's GTK_TOPLEVEL flag in
	sync with the global toplevel_list.

	* gtk/gtkplug.c (gtk_plug_set_is_child): Call
	_gtk_window_set_is_toplevel() to keep the toplevel list updated,
	instead of just setting/unsetting the GTK_TOPLEVEL flag.

Matthias Clasen's avatar
Matthias Clasen committed
1202 1203 1204 1205 1206 1207
2009-01-23  Matthias Clasen  <mclasen@redhat.com>

	Bug 568744 – Spellfixes in GtkTreeView's documentation

	* gtk/gtktreeview.c: Fix typos in the docs.

1208 1209 1210 1211 1212 1213 1214
2009-01-23  Matthias Clasen  <mclasen@redhat.com>

	Bug 567761 – Spellfixes in GTK+ documentation

	* gdk/x11/gdkselection-x11.c:
	* gtk/gtktestutils.c: Fix typos in the docs.

Matthias Clasen's avatar
Matthias Clasen committed
1215 1216 1217 1218 1219 1220 1221
2009-01-23  Matthias Clasen  <mclasen@redhat.com>

	Bug 567021 – gtkimage accessors docs

	* gtk/gtkimage.c: Improve docs by mentioning allowed NULL values.
	Patch by Christian Persch

1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234
2009-01-23  Matthias Clasen  <mclasen@redhat.com>

	Bug 566535 – gtk_widget_get_snapshot does not work if double buffered 
	is disabled

	* gtk/gtkwidget.c (gtk_widget_get_snapshot): Use a different approach
	to snapshotting that is in line with what is done in the client-side
	windows branch, and that works for widgets regardless if they are
	double-buffered or not. Patch by Alex Larsson.

	* gdk/gdkwindow.c (_gdk_window_calculate_full_clip_region): Clip
	to the parent.

1235 1236 1237 1238 1239 1240 1241
2009-01-22  Federico Mena Quintero  <federico@novell.com>

	* gtk/gtkfilechooserentry.c (autocomplete): Relax the assertion;
	just do nothing if the folder is not loaded or if the cursor position
	is not at the end of the text.  A very slow-to-load folder can get
	us into the latter state if the user starts typing first.

1242 1243 1244 1245 1246
2008-01-22  Matthias Clasen  <mnclasen@redhat.com>

	* gtk/gtkaction.c: Revert the last change, since it breaks
	epiphany.

1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261
2009-01-22  Federico Mena Quintero  <federico@novell.com>

	Fix the computation of "complete but unique" in
	GtkFileChooserEntry.  Fix the case where "/" was not appended to a
	unique directory name during explicit Tab completion.

	* gtk/gtkfilechooserentry.c (maybe_append_separator_to_file):
	Return whether anything was appended as well as the new string
	itself.
	(find_common_prefix): Oops, only turn on
	is_complete_not_unique_ret if we had a unique match!
	(append_common_prefix): If we appended a directory separator, we
	*did* expand the common prefix, so we are not in the "nothing
	inserted" case.

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
2009-01-22  Federico Mena Quintero  <federico@novell.com>

	Return an error code when refreshing the entry from the user's
	input.  We use this in the completion code to know when completion
	can't happen due to (for example) having a non-local URI in a file
	chooser that is local_only=TRUE.

	Also, we start maintaining an invariant that
	chooser_entry->current_folder_file != NULL implies that:

		* what the user entered is valid

		* we are loading that folder (chooser_entry->load_folder_cancellable != NULL) 

		* or we are done loading that folder, or we have a handle
		to it at least (chooser_entry->current_folder != NULL)

	The invariant also says that all of the above are NULL (and
	chooser_entry->current_folder_file == NULL) implies that the user
	typed something invalid.  This makes
	_gtk_file_chooser_entry_get_current_folder() not able to return
	an invalid folder.

	* gtk/gtkfilechooserentry.c (RefreshStatus): New enum.
	(refresh_current_folder_and_file_part): Return a RefreshStatus.
	We filter out incomplete hostnames here (typing
	"sftp://incompl[tab]" will error out), as well as completely
	unparsable input.
1290 1291 1292
	(start_explicit_completion): Process the result from refresh...().
	Here we present the actual feedback about only being able to
	display local folders for local_only=TRUE.
1293 1294 1295
	(commit_completion_and_refresh): Don't do anything with the result
	of refresh...(), since this function doesn't get called during
	completion-related interaction.
1296 1297 1298 1299
	(start_autocompletion): Process the result from refresh...().  We
	only do completion in the REFRESH_OK case.  For the error cases,
	we don't do anything, as this is autocompletion and must not
	result in non-asked-for errors popping up.
1300 1301 1302 1303 1304 1305 1306 1307
	(discard_loading_and_current_folder_file): Factor out function to
	cancel the cancellable and discard the current_folder_file,
	i.e. to reset the invariant to the "nothing valid is loaded" case.
	(gtk_file_chooser_entry_dispose): Use
	discard_loading_and_current_folder_file().
	(reload_current_folder): Likewise.
	(refresh_current_folder_and_file_part): Likewise, and ensure that
	the error cases result in the invariant being held.
1308 1309 1310 1311 1312 1313 1314 1315 1316
	(start_loading_current_folder): Check if the folder to be loaded
	is non-native for the local_only=TRUE case; if so, return an error
	as we are configured to load only local folders.
	(reload_current_folder): Pass on errors from
	start_loading_current_folder().  Tighten the preconditions, as we
	are sure that we can only receive non-NULL folder-files to load.
	(refresh_current_folder_and_file_part): Pass on errors from
	reload_current_folder().  At the very end, assert the invariant
	described above.
1317
	
1318 1319 1320 1321 1322 1323 1324
2009-01-22  Matthew Barnes  <mbarnes@redhat.com>

	Bug 568334 – Constructor properties for GtkAction

	* gtk/gtkaction.c (gtk_action_class_init): Make all properties
	G_PARAM_CONSTRUCT except "action-group".

1325 1326 1327 1328 1329
2009-01-22  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkicontheme.c (gtk_icon_theme_has_icon): g_return_if_fail()
	on icon_name != NULL so we get a warning instead of a crash here.

Matthias Clasen's avatar
Matthias Clasen committed
1330 1331 1332 1333
2009-01-21  Matthias Clasen <mclasen@redhat.com>

	* NEWS: Updates

1334 1335 1336 1337
2009-01-21  Matthias Clasen <mclasen@redhat.com>

	* gtk/gtkentry.c: Don't show windows that may not exist

1338 1339 1340 1341
2009-01-21  Matthias Clasen <mclasen@redhat.com>

	* gtk/gtklabel.c: Implement select-by-words for selectable labels.

1342 1343 1344 1345 1346 1347 1348 1349
2009-01-21  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkcursor-win32.c: Rename static local functions and
	variables to not have any unnecessary _ or _gdk_win32 prefix.

	* gdk/win32/gdkcursor-win32.c (hcursor_from_type): Implement
	creating a GDK_BLANK_CURSOR.

1350 1351 1352 1353 1354
2009-01-21  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkentry.c: Change the Caps Lock warning to the more
	neutral "Caps Lock is on". Requested by Wouter Bolsterlee

1355 1356 1357 1358 1359 1360 1361 1362 1363 1364
2009-01-21  Matthias Clasen  <mclasen@redhat.com>

	Bug 568552 – gtk_combo + gtk entry in invisible mode takes 100% cpu

	* gtk/gtkentry.c: Fix an expose loop caused by raising windows out
	of an expose handler. Also, don't show the 'Caps Lock' warning for
	activated input methods, since that makes it permanently shown
	for some locales. It should not be that necessary, now that we
	do show preedit text even in password entries. Pointed out by
	Frederic Crozat.
1365 1366 1367 1368 1369 1370 1371 1372 1373
	(start_loading_current_folder): Check if the folder to be loaded
	is non-native for the local_only=TRUE case; if so, return an error
	as we are configured to load only local folders.
	(reload_current_folder): Pass on errors from
	start_loading_current_folder().  Tighten the preconditions, as we
	are sure that we can only receive non-NULL folder-files to load.
	(refresh_current_folder_and_file_part): Pass on errors from
	reload_current_folder().  At the very end, assert the invariant
	described above.
1374 1375 1376
	(start_explicit_completion): Add comments for translators, to
	explain the purpose of the various feedback messages used during
	completion.
1377

1378 1379 1380 1381 1382 1383 1384
2009-01-21  Federico Mena Quintero  <federico@novell.com>

	* gtk/gtkfilechooserdefault.c (save_widgets_create): Set
	local_only on the location entry when we create it...
	(set_local_only): ... and set it here only if the location entry
	exists.

1385
2009-01-21  Marek Kasik  <mkasik@redhat.com>
1386

1387 1388 1389 1390 1391 1392
	Bug 561801 - "scheduled printing" doesn't function as expected

	* gtk/gtkprintunixdialog: Add tooltip.
	* modules/printbackends/cups/gtkprintbackendcups.c: Add conversion
	  from local time to utc time for scheduled printing.

1393
2009-01-20  Federico Mena Quintero  <federico@novell.com>
1394 1395 1396 1397 1398 1399 1400 1401 1402

	http://bugzilla.gnome.org/show_bug.cgi?id=545980 -
	GtkFileChooserEntry should handle URIs

	* gtk/gtkfilesystem.c (_gtk_file_system_parse): Detect URI schemes
	and parse the full URI.
	(has_uri_scheme): New function, stolen from the old
	gtkfilesystemgnomevfs.c.

1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415
	Patch by Carlos Garnacho <carlos@imendio.com>:

	* gtk/gtkfilechooserentry.c (discard_current_folder): New
	function, factored out for when we need to get rid of the
	current_folder.
	(gtk_file_chooser_entry_dispose): Use discard_current_folder().
	(finished_loading_cb): Fix prototype.
	(load_directory_get_folder_callback): Discard the completion
	store, as well as clearing the completion feedback, if we find an
	error while loading the folder.  Also, use
	discard_current_folder().
	(reload_current_folder): Use discard_current_folder().

1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434
	Patch by Carlos Garnacho <carlos@imendio.com> - add a local_only
	property to GtkFileChooserEntry:

	* gtk/gtkfilechooserentry.c (struct _GtkFileChooserEntry): Add a
	local_only field.
	(_gtk_file_chooser_entry_init): Default to local_only being true.
	(start_explicit_completion): Don't allow completion of non-native
	files if local_only is turned on.
	(start_loading_current_folder): Don't start loading non-native
	folders if local_only is turned on.
	(_gtk_file_chooser_entry_set_local_only): New function.
	(_gtk_file_chooser_entry_get_local_only): New function.

	* gtk/gtkfilechooserentry.h (_gtk_file_chooser_entry_set_local_only,
	_gtk_file_chooser_entry_get_local_only): New prototypes.

	* gtk/gtkfilechooserdefault.c (set_local_only): Set the local_only
	property on the entry.

1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454
	Fix completion so it doesn't pop up for every character in a URI
	hostname:

	* gtk/gtkfilechooser.h (GtkFileChooserError): Add a
	GTK_FILE_CHOOSER_ERROR_INCOMPLETE_HOSTNAME.

	* gtk/gtkfilesystem.c (_gtk_file_system_parse): Return an
	"incomplete hostname" error if the user has not typed a full
	hostname yet in an URI.

	* gtk/gtkfilechooserentry.c (append_common_prefix): If we get an
	incomplete hostname, just don't pop up an error, since that is a
	transient state and the user doesn't need to be notified about it.
	(refresh_current_folder_and_file_part): Don't revert to showing
	the base folder if we have an incomplete hostname.
	(reload_current_folder): Handle the passed folder being NULL, even
	if we must force a reload.  Also, reload the folder if we didn't
	have a cancellable for it (i.e. we hadn't started to load it
	before).

1455 1456 1457 1458 1459 1460
2009-01-20  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtk.symbols:
	* gtk/gtkaction.[hc]: Add setters and getters for GtkAction
	properties, in preparation for bug 560228.

1461 1462 1463 1464 1465 1466 1467 1468
2009-01-21  Christian Dywan  <christian@twotoasts.de>

	Bug 567413 – GtkComboBoxEntry doesn't emit "changed" signal
        on entry editing

	* gtk/gtkcombobox.c (gtk_combo_box_set_active): Return only if index
        is set. Patch by Carl-Anton Ingmarsson.

1469 1470 1471 1472
2009-01-20  Torsten Schoenfeld  <kaffeetisch@gmx.de>

	* gtk/gtkstyle.c: Add a "Since: 2.16" tag to gtk_style_get.

1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488
2009-01-20  Matthias Clasen  <mclasen@redhat.com>

	Bug 565656 – Add marks to scales

	* gtk/gtkrange.[hc]: Add internal api to define 'stop values'
	that have a little resistance when dragging the slider over it.

	* gtk/gtk.symbols:
	* gtk/gtkscale.[hc] (gtk_scale_add_mark): New function to add
	a 'mark' to a scale, which will draws a tick, plus optionally
	some text, and makes the value a stop value.
	(gtk_scale_clear_values): Removes all marks.

	* tests/testscale.c: Test for marks on scales
	* tests/Makefile.am: Integrate it

1489 1490 1491 1492 1493 1494 1495
2009-01-19  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkentry.c:
	* gtk/gtkfilechooserentry.c:
	* gtk/gtktextview.c: Replace several implementation of
	blank cursor setting by GDK_BLANK_CURSOR.

1496 1497 1498 1499 1500
2009-01-19  Matthias Clasen  <mclasen@redhat.com>

	* gdk/gdkcursor.c:
	* gdk/gdkwindow.c: Update docs on how to create blank cursors.

1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513
2009-01-19  Matthias Clasen  <mclasen@redhat.com>

	Cache cursors to avoid libXcursor theme lookup overhead.
	Patch by David Alan Gilbert.

	* gdk/gdkcursor.h: Add a GDK_BLANK_CURSOR cursor type.

	* gdk/x11/gdkcursor-x11.c: Cache font cursors and named cursors.

	* gdk/x11/gdkprivate-x11.h:
	* gdk/x11/gdkcdisplay-x11.c: Remove cached cursors when a 
	display if finalized.

1514 1515 1516 1517 1518 1519 1520 1521 1522
2009-01-18  Matthias Clasen  <mclasen@redhat.com>

	Bug 568263 – gtk can't recognize the wrong X Selection TARGETS' 
	type "TARGETS" by java applications

	* gtk/gtkselection.c (gtk_selection_data_get_targets): Accept
	a type of TARGETS instead of ATOM, too. Based on a patch by 
	Peng Wu. 

1523 1524 1525 1526 1527 1528 1529 1530 1531
2009-01-18  Matthias Clasen  <mclasen@redhat.com>

	Bug 568233 – Wrong statement about GtkEntry's "activate" signal

	* gtk/gtkentry.c:
	* gtk/gtklabel.c:
	* gtk/gtktextview.c: Correct some copy-and-paste mistakes in
	keybinding signal docs. Pointed out by Pascal Terjan.

1532 1533 1534 1535 1536
2009-01-18  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtk.symbols:
	* gtk/gtkentry.[hc]: Add properties and getters for icon tooltips.

1537 1538 1539 1540 1541 1542 1543 1544
2009-01-18  Matthias Clasen  <mclasen@redhat.com>

	Bug 563280 – stock items & translation context

	* gtk/gtkstock.c: Solve the msgctxt problem a bit more
	elegantly, and add some hints about this to the docs of
	gtk_stock_set_translate_func. Proposed by Christian Persch

1545 1546 1547 1548 1549 1550 1551 1552
2009-01-18  Matthias Clasen  <mclasen@redhat.com>

	Bug 568196 – Please change context of Forward stock label

	* gtk/gtkstock.c: Reinstate separate translation contexts for
	navigation and media labels (these were lost in the transition
	to msgctxt. Pointed out by Gabor Kelemen.

1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575
2009-01-18  Matthias Clasen  <mclasen@redhat.com>

	Bug 567887 – gtk_entry_get_storage_type() should be 
	gtk_entry_get_icon_storage_type()

	* gtk/gtk.symbols:
	* gtk/gtkentry.[hc]: Use the last chance to get the api right,
	and rename things for consistency, requested by Murray Cumming. 
	In detail,
	gtk_entry_get_stock -> gtk_entry_get_icon_stock
	gtk_entry_get_pixbuf -> gtk_entry_get_icon_pixbuf
	gtk_entry_get_gicon -> gtk_entry_get_icon_gicon
	gtk_entry_get_storage_type -> gtk_entry_get_icon_storage_type
	::prelight -> ::icon-prelight
	::pixbuf-primary -> ::primary-icon-pixbuf
	::stock-primary -> ::primary-icon-stock
	::icon-name-primary -> ::primary-icon-name
	::gicon-primary-> ::primary-icon-gicon
	::storage-type-primary -> ::primary-icon-storage-type
	::activatable->primary -> ::primary-icon-activatable
	::sensitive-primary -> ::primary-icon-sensitive
	(and similar for secondary properties)

1576 1577 1578 1579 1580 1581 1582 1583
2009-01-18  Matthias Clasen  <mclasen@redhat.com>

	Bug 567655 – gtk_status_icon_set_tooltip_text and 
	gtk_status_icon_set_tooltip_markup should use gchar*

	* gtk/gtkstatusicon.h: Use "const gchar*" in new tooltip api.
	Pointed out by Torsten Schoenfeld.

1584 1585 1586 1587 1588 1589 1590 1591 1592
2009-01-18  Matthias Clasen  <mclasen@redhat.com>

	* demos/gtk-demo/search_entry.c: End the search if the window
	is closed.

	* demos/gtk-demo/search_entry.c:
	* demos/gtk-demo/entry_completion.c: Group the entry examples
	under "Entry".

1593 1594 1595 1596 1597 1598 1599
2009-01-18  Christian Dywan  <christian@twotoasts.de>

	Remove a redundant include from gtktoolbar.c

	* gtk/gtktoolbar.c: Remove second inclusion of gtktoolbar.h.
        Patch by Enrico Tröger.

1600 1601 1602 1603 1604 1605 1606 1607 1608 1609
2009-01-16  Cody Russell  <bratsche@gnome.org>

	Bug 567944 – [Win32] Sorted treeview columns can be unreadable

	* modules/engines/ms-windows/msw_style.c: Draw selected treeview
	cells according to treeview focus, but ignore whether it is in
	a sorted column or not.  Otherwise the intersection of a selected
	row and a sorted column looks very strange if the treeview does
	not have focus.

1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629
2009-01-16  Daniel Elstner  <danielk@openismus.com>

	* modules/input/gtkimcontextmultipress.[ch]: Remove the namespace
	prefix from functions defined locally only.  Clean up the code and
	change indentation to match the GTK+ coding style.
	(_GtkImContextMultipress::key_sequences): Replace array of pointers
	by GHashTable.  Adapt the implementation accordingly.
	(passthrough_enabled_for_window): Remove.  The passthrough hack is
	no longer necessary thanks to the recently introduced "im-module"
	property of GtkEntry and GtkTextView.
	(load_config): Rework to implement an improved configuration file
	format.  Just fetch all keys of the group instead of expecting the
	keys to be named a certain way.  This also allows interpreting the
	config key itself as the GDK key name to bind the character sequence
	to, thereby making it independent of the sequence itself.

	* modules/input/im-multipress.conf: New example configuration using
	the new syntax.  The example sequences are now bound to the numeric
	keypad and imitate the behavior of a standard mobile phone.

1630 1631 1632 1633 1634 1635 1636 1637 1638
2009-01-15  Murray Cumming  <murrayc@murrayc.com>

	* gtk/gtkimcontext.c: documentation description: Mention the various 
	properties and the environment variable, with links to their 
 	documentation.
	* gtk/gtksettings.c:
	* gtk/gtktextview.c: Make the im-module property documentation more 
	expansive.

1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650
2009-01-15  Diego Escalante Urrelo  <diegoe@gnome.org>

	Bug 562701 – GtkEntryCompletion popup sizes its rows wrong
	when they span for more than one line.

	Don't assume actions and results have equal height, this causes
	negative size requisitions when results are more than one
	line tall.

	* gtk/gtkentrycompletion.c: change the formula used to calculate
	the size of the completion popup.

1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668
2009-01-14  Federico Mena Quintero  <federico@novell.com>

	Remember the file chooser's geometry across invocations.

	* gtk/gtkfilechoosersettings.h (struct _GtkFileChooserSettings):
	New fields geometry_x, geometry_y, geometry_width, geometry_height.
	(_gtk_file_chooser_settings_get_geometry): New prototype.
	(_gtk_file_chooser_settings_set_geometry): New prototype.

	* gtk/gtkfilechoosersettings.c (GEOMETRY_X_KEY, GEOMETRY_Y_KEY,
	GEOMETRY_WIDTH_KEY, GEOMETRY_HEIGTH_KEY): New key names.
	(ensure_settings_read): Read the geometry keys.
	(_gtk_file_chooser_settings_save): Save the geometry keys.
	(_gtk_file_chooser_settings_init): Initialize the geometry keys to
	"don't have this value".
	(_gtk_file_chooser_settings_get_geometry): New public function.
	(_gtk_file_chooser_settings_set_geometry): New public function.

1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680
	* gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_map):
	Don't change the default size in ::map() so we don't flicker...
	(gtk_file_chooser_default_realize): ... so do it in ::realize()
	instead, when the window is not yet visible.  This avoids a
	dialog-that-resizes when you first pop up the file chooser.
	(emit_default_size_changed): Just emit the signal; don't check for
	the widget's state so we can be emitted during the initial
	::realize() when we are not mapped yet.
	(update_preview_widget_visibility): Only emit default_size_changed
	if the widget is not mapped, to avoid resizing the dialog while it
	is visible.

1681 1682 1683 1684 1685 1686 1687 1688
	* gtk/gtkfilechooserdialog.c
	(file_chooser_widget_default_size_changed): Simply resize the
	dialog to the default size without any fancy clamping.  Also,
	leave in place ifdef-ed out code to restore the file chooser's
	position in addition to its size.  The code to restore the
	position doesn't quite work yet, but we'll leave it in as a
	reference.

1689 1690 1691 1692 1693 1694
	* gtk/gtkfilechooserdefault.c (save_dialog_geometry): New function.
	(settings_save): Save the dialog's geometry.
	(gtk_file_chooser_default_get_default_size): Load the geometry
	from the settings.  If it was already saved, return that instead
	of computing an ad-hoc size.

1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708
2009-01-13  Matthias Clasen  <mclasen@redhat.com>

	Bug 450716 – New API to change global IM

	Requested by Daniel Elstner.

	* gtk/gtk.symbols:
	* gtk/gtkimmulticontext.[hc] (gtk_im_multicontext_set_context_id):
	New function to set the context id on a GtkIMMulticontext.

	* gtk/gtkentry.c:
	* gtk/gtktextview.c: Add a ::im-module property that can be
	set to override the global setting for the im module to be used.

1709 1710 1711 1712 1713 1714 1715 1716 1717 1718
2009-01-13  Christian Dywan  <christian@imendio.com>

	Bug 566532 – GtkScaleButton implementation of GtkOrientable

	* gtk/gtk.symbols:
	* gtk/gtkscalebutton.c (gtk_scale_button_class_init),
	(gtk_scale_button_set_property):
	* gtk/gtkscalebutton.h: Deprecate gtk_scale_button_get_orientation
        in favour of implementing GtkOrientable. Patch by Bruce Cowan.

1719 1720 1721 1722 1723 1724 1725 1726
2009-01-13  Tor Lillqvist  <tml@iki.fi>

	Bug 164002 - query scripts don't work uninstalled on windows

	* gtk/gtkmain.c (_gtk_get_libdir): If the gtk DLL is in a ".libs"
	folder, assume we are running uninstalled, and use the
	configure-time GTK_LIBDIR.

Matthias Clasen's avatar
Matthias Clasen committed
1727 1728 1729 1730
2009-01-12  Matthias Clasen  <mclasen@redhat.com>

	* NEWS: Refer to tray icon spec, instead of a random email.

1731 1732 1733 1734 1735 1736 1737
2009-01-12  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkwindow.c (gtk_window_set_icon_name): Don't cause lots
	of X traffic when the icon name doesn't actually change. Some
	apps like to reset their window icon frequently, without actually
	changing the icon name...

1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749
2009-01-12  Paolo Borelli  <pborelli@katamail.com>

	Bug 492794 – Pasting external text at end of view yields wrong
	scrolling to mark

	* gtk/gtktextbuffer.[ch]:
	* gtk/gtktextview.c:
	Add a "paste-done" signal and use it to propelry scroll the
	view at the end of the pasted text in the case of an async
	paste. Patch by Ignacio Casal Quintero based on a patch by
	Yevgen Muntyan.

1750 1751 1752 1753 1754 1755 1756 1757 1758 1759
2009-01-12  Tor Lillqvist  <tml@iki.fi>

	* gdk/gdk.c (gdk_arg_debug_cb) (gdk_arg_no_debug_cb): A
	GOptionArgFunc should return gboolean and take also a GError
	pointer parameter, so make these two functions do that. Return
	FALSE (and set the GError) if the parsing of the debug string
	failed completely. Note that g_parse_debug_string() doesn't really
	have any way to return parsing status, and accepts partially
	incorrect strings, though.

1760 1761 1762 1763 1764 1765 1766 1767 1768 1769
2009-01-12  Claudio Saavedra  <csaavedra@igalia.com>

	Bug 567468 – no check for trailing != NULL in
	gtk_text_layout_get_iter_at_position()

	* gtk/gtktextlayout.c: (gtk_text_layout_get_iter_at_position):
	Check for trailing to be non-NULL.
	* gtk/gtktextview.c: (gtk_text_view_get_iter_at_position): document
	that trailing may be NULL.

1770 1771 1772 1773 1774 1775 1776 1777 1778
2009-01-11  Tor Lillqvist  <tml@iki.fi>

	Bug 523554 - Copy from GIMP to Word broken

	* gdk/win32/gdkselection-win32.c
	(_gdk_win32_selection_convert_to_dib): The DIB stored in the
	Windows Clipboard was for some unknown reason truncated by one
	byte. Don't do that.

1779 1780 1781 1782 1783 1784 1785 1786 1787 1788
2009-01-11  Matthias Clasen  <mclasen@redhat.com>

	Bug 567024 – gtktoolbutton doesn't create right proxy menu item 
	image with GIcon

	* gtk/gtktoolbutton.c: Properly create a menu proxy from a GIcon.
	Patch by Christian Persch

	* tests/testtoolbar.c: Add an example with a GIcon

1789 1790 1791 1792 1793 1794 1795
2009-01-09  Christian Dywan  <christian@imendio.com>

	Fail in gdk_window_new if _gdk_window_new failed

	* gdk/gdkwindow.c (gdk_window_new): Add g_return_val_if_fail
        in case _gdk_window_new is NULL. Approved by Tim Janik

1796 1797 1798 1799 1800 1801 1802 1803
2009-01-08  Matthias Clasen  <mclasen@redhat.com>

	Bug 566733 – Add GIcon to GtkAction, GtkToolButton

	* gtk/gtkaction.c: Add a ::gicon property to GtkAction and set the 
	icon from it if specified. The stock icon is preferred if a stock id 
	is given. Based on a patch by A. Walton

1804 1805 1806 1807 1808 1809 1810
2009-01-04  Matthias Clasen  <mclasen@redhat.com>

	* gtk/stock-icons/{16,24}/gtk-caps-lock-warning.png: New icons
	* gtk/gtkstock.h: Add GTK_STOCK_CAPS_LOCK_WARNING.
	* gtk/gtkiconfactory.c (get_default_icons): Register the stock icon.
	* gtk/gtkentry.c (show_capslock_feedback): Use the new stock icon.

1811 1812 1813 1814 1815 1816 1817 1818 1819
2009-01-05  Tor Lillqvist  <tml@novell.com>

	Bug 566628 - gdk_display_close always asserts on win32

	* gdk/win32/gdkdisplay-win32.c
	(_gdk_windowing_set_default_display): Allow also a NULL parameter
	in the g_assert(). Still don't actually do anything in this
	function, though.

Matthias Clasen's avatar
Matthias Clasen committed
1820 1821 1822 1823 1824 1825 1826 1827
2009-01-04  Matthias Clasen  <mclasen@redhat.com>

	Bug 566568 – gtk_tree_model_get_value docs typo

	* gtk/gtktreemodel.c (gtk_tree_model_get_value): Fix a typo
	in the docs, pointed out by Christian Persch.

2009-01-04  Matthias Clasen  <mclasen@redhat.com>
1828 1829 1830 1831 1832 1833 1834 1835

	Bug 566391 – gtk_about_dialog_set_url_hook should activate 
	pre-existing website links

	* gtk/gtkaboutdialog.c: Make setting website, website-label and
	url hook work independent of their order. Reported by Steven
	Sheehy.

1836 1837 1838 1839 1840 1841 1842 1843
2009-01-03  Matthias Clasen  <mclasen@redhat.com>

	* gdk/x11/gdkscreen-x11.h:
	* gdk/x11/gdkevents-x11.c (fetch_net_wm_check_window): Recheck
	_NET_SUPPORTING_WM_CHECK every now and then to avoid getting
	stuck on the id of a former wmcheck window that got reused by
	another client (see RH bug 471927)

Matthias Clasen's avatar
Matthias Clasen committed
1844 1845 1846 1847 1848 1849 1850
2009-01-03  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktreesortable.c: Improve the docs

	* gtk/gtktreemodelsort.c: Don't assert when using the "unsorted"
	sort column id.

1851 1852 1853 1854 1855 1856 1857
2009-01-02  Matthias Clasen  <mclasen@redhat.com>

	Bug 565998 – configure script doesn't check for cairo-xlib.pc

	* configure.in: Check for cairo-xlib when looking for
	gdk dependencies. Requested by Alberto Ruiz

Matthias Clasen's avatar
Matthias Clasen committed
1858 1859 1860 1861 1862 1863 1864
2009-01-02  Matthias Clasen  <mclasen@redhat.com>

	Bug 566334 – compile failure for gtk+ on Mac OS X

	* gtk/gtkstatusicon.c: Fix the build on OS X. 
	Reported by Bart Cortooms.

Matthias Clasen's avatar
Matthias Clasen committed
1865 1866
2009-01-02  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
Matthias Clasen committed
1867 1868
	Bug 566083 – Icon pixmap hardcoded during DnD

Matthias Clasen's avatar
Matthias Clasen committed
1869 1870
	* gtk/gtkwidget.c:
	* gtk/gtkentry.c: Add docs about using ::drag-begin for setting
Matthias Clasen's avatar
Matthias Clasen committed
1871
	a custom drag icon. Reported by Xan Lopez
Matthias Clasen's avatar
Matthias Clasen committed
1872

Matthias Clasen's avatar
Matthias Clasen committed
1873 1874
2009-01-01  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
Matthias Clasen committed
1875 1876
	* configure.in: Bump version

Matthias Clasen's avatar
Matthias Clasen committed
1877 1878
	* === Released 2.15.0 ===

Matthias Clasen's avatar
Matthias Clasen committed
1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889
2009-01-01  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkentry.c (gtk_entry_set_icon_sensitive): Fix default
	value

	* gtk/tests/builder.c: Clean up asserts, make domain
	test work with current GtkBuilder behaviour.

	* Makefile.decl: Start Xvfb with -ac -noreset to try
	and get the gui tests working.

Matthias Clasen's avatar
Matthias Clasen committed
1890 1891 1892 1893 1894 1895
2009-01-01  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtk.symbols: Add a few forgotten symbols
	* gtk/gtkprintoperation.c:
	* gtk/gtktrayicon-x11.c: Make some functions static

Matthias Clasen's avatar
Matthias Clasen committed
1896 1897 1898 1899
2008-12-31  Matthias Clasen  <mclasen@redhat.com>

	* NEWS: Updates

Matthias Clasen's avatar
Matthias Clasen committed
1900 1901 1902 1903 1904
2008-12-31  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtk.symbols:
	* gtk/gtkruler.[hc]: Some more

1905 1906 1907 1908 1909 1910 1911 1912
2008-12-31  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtk.symbols:
	* gtk/gtkpaned.[hc]:
	* gtk/gtkscale.[hc]:
	* gtk/gtkscrollbar.[hc]: 
	* gtk/gtkseparator.[hc]: Keep these all abstract for now.

1913 1914 1915 1916 1917 1918 1919 1920 1921
2008-12-30  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkentry.c: Rename the icon signals to ::icon-press and
	::icon-release to avoid clashes with the existing SexyIconEntry
	signals. Also annotate the GdkEvent parameters as static-scope.

	* tests/testentryicons.c: Adapt
	* demos/gtk-demo/search-entry.c: Adapt
	
1922 1923 1924 1925 1926 1927 1928
2008-12-30  Matthias Clasen  <mclasen@redhat.com>

	Bug 565846 – "va_end(args);" should be added into gtk_tree_store_new

	* gtk/gtktreestore.c (gtk_tree_store_new): Add a missing
	va_end() call. Pointed out by Jiwon Lee.

1929 1930 1931 1932 1933 1934 1935
2008-12-30  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkentry.c: Code cleanups; get rid of get_text_area_size,
	replace get_icon_allocation by get_icon_allocations, don't
	pass allocation to place_windows; other stylistic changes to 
	the icon-related code.

1936 1937 1938 1939
2008-12-30  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkentry.c: Avoid size allocation loops.

1940 1941 1942 1943 1944
2008-12-30  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkentry.c: Fix errors in property definitions and
	get_property implementation.

1945 1946 1947 1948
2008-12-30  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkentry.c: Redo the Caps Lock warning using an icon.

1949 1950 1951 1952 1953 1954 1955
2008-12-30  Matthias Clasen  <mclasen@redhat.com>

	Bug 558694 – Paned window splitter keynav broken

	* gtk/gtkpaned.c (get_child_panes): Don't add unrealized
	widgets.

Matthias Clasen's avatar
Matthias Clasen committed
1956 1957
2008-12-30  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
Matthias Clasen committed
1958
	* gtk/gtkstyle.c:
Matthias Clasen's avatar
Matthias Clasen committed
1959
	* gtk/gtkmenutooltbutton.c:
Matthias Clasen's avatar
Matthias Clasen committed
1960 1961
	* gtk/gtkprintoperationpreview.c: Doc additions

Matthias Clasen's avatar
Matthias Clasen committed
1962 1963
2008-12-29  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
Matthias Clasen committed
1964
	* gtk/gtkiconview.c:
Matthias Clasen's avatar
Matthias Clasen committed
1965
	* gtk/gtklabel.c:
Matthias Clasen's avatar
Matthias Clasen committed
1966 1967 1968 1969 1970
	* gtk/gtkentry.c:
	* gtk/gtktextview.c:
	* gtk/gtkeditable.c: 
	* gtk/gtktextbuffer.c: Doc additions.

1971 1972 1973 1974
2008-12-29  Tor Lillqvist  <tml@novell.com>

	* gtk/gtk.symbols: Add missing symbols from gtkentry.c.

Matthias Clasen's avatar
Matthias Clasen committed
1975 1976
2008-12-28  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
Matthias Clasen committed
1977
	* gtk/gtkwindow.c: 
Matthias Clasen's avatar
Matthias Clasen committed
1978 1979
	* gtk/gtkstyle.c: Doc additions

1980 1981 1982 1983
2008-12-28  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtk[hv]scrollbar.c: Document gtk_[hv]scrollbar_new.

Matthias Clasen's avatar
Matthias Clasen committed
1984 1985 1986 1987
2008-12-28  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkwidget.c: Document gtk_mnemonic_activate.

Matthias Clasen's avatar
Matthias Clasen committed
1988 1989 1990 1991
2008-12-28  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktextlayout.c: Un-doc-commentize non-public api

Matthias Clasen's avatar
Matthias Clasen committed
1992 1993 1994 1995
2008-12-28  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkprogress.h: Fix a typo

Matthias Clasen's avatar
Matthias Clasen committed
1996 1997
2008-12-28  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
Matthias Clasen committed
1998
	* gtk/gtkhsv.c:
Matthias Clasen's avatar
Matthias Clasen committed
1999 2000
	* gtk/gtkentry.c: Doc fixes

2001 2002 2003 2004 2005 2006
2008-12-28  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkwidget.c:
	* gtk/gtktextutil.c: Un-doc-commentize non-exported functions
	to make gtk-doc happy.

Matthias Clasen's avatar
Matthias Clasen committed
2007 2008
2008-12-28  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
Matthias Clasen committed
2009
	* gtk/gtkscale.c:
Matthias Clasen's avatar
Matthias Clasen committed
2010 2011
	* gtk/gtkimagemenuitem.c: Doc fixes

Matthias Clasen's avatar
Matthias Clasen committed
2012 2013 2014 2015 2016 2017
2008-12-28  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkeditable.h: Match parameter names to make gtk-doc happy.

2008-12-28  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
Matthias Clasen committed
2018
	* tk/gtkfontsel.c: Merge docs inline.
Matthias Clasen's avatar
Matthias Clasen committed
2019

Matthias Clasen's avatar
Matthias Clasen committed
2020 2021
2008-12-28  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
Matthias Clasen committed
2022
	* gtk/gtkprintsettings.c:
Matthias Clasen's avatar
Matthias Clasen committed
2023
	* gtk/gtkbindings.c:
Matthias Clasen's avatar
Matthias Clasen committed
2024 2025
	* gtk/gtkstyle.c: Doc fixes

Matthias Clasen's avatar
Matthias Clasen committed
2026 2027
2008-12-28  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
Matthias Clasen committed
2028
	* gtk/gtkscrolledwindow.c: 
Matthias Clasen's avatar
Matthias Clasen committed
2029 2030
	* gtk/gtkscale.c: Merge docs inline.

2031 2032 2033 2034 2035 2036 2037 2038 2039
2008-12-28  Ryan Lortie  <desrt@desrt.ca>

	small fix for "Paned Window Widgets" example

	* docs/tutorial/gtk-tut.sgml: use gtk_container_add rather than
	add_with_viewport for putting a GtkTreeView into a ScrolledWindow

	Spotted by Benjamin Herrenschmidt

Matthias Clasen's avatar
Matthias Clasen committed
2040 2041
2008-12-28  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
Matthias Clasen committed
2042 2043 2044 2045
	* gtk/gtkimmodule.c:
	* gtk/gtkseparatortoolitem.c: Doc fixes

	* gtk/gtkfontsel.c:
Matthias Clasen's avatar
Matthias Clasen committed
2046 2047
	* gtk/gtkeditable.c: Merge docs inline.

Matthias Clasen's avatar
Matthias Clasen committed
2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058
2008-12-28  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkhsv.c:
	* gtk/gtkwidget.c: 
	* gtk/gtkaccelgroup.c: Documentation fixes

	* gtk/gtkstatusicon.c:
	* gtk/gtkentry.c:
	* gtk/gtkeditable.[hc]: Make parameter names match to make gtk-doc
	happy.

Matthias Clasen's avatar
Matthias Clasen committed
2059 2060 2061 2062
2008-12-27  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkentry.c: Expand the docs some more.

2063 2064 2065 2066 2067 2068 2069
2008-12-26  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkentry.c: Don't emit ::icon-pressed on nonactivatable
	icons. Fix up docs to match actual api.

	* tests/testentryicons.c: Reshuffle tests a bit. Add a DND test.

2070 2071 2072 2073 2074 2075 2076 2077
2008-12-26  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkentry.c: Fix interaction between icons and widget sensitivity.
	Also fix a few typos.

	* tests/testentryicons.c: Add property editors.
	* tests/Makefile.am: Glue

2078 2079 2080 2081 2082
2008-12-26  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkentry.c: Allow builtin icons when loading themed icons,
	and don't leak a GtkIconInfo.

2083 2084 2085 2086 2087 2088
2008-12-26  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkentry.c: Emit ::icon-pressed regardless which button was
	pressed. Also make it explicit in the signal signature that the
	position parameter is a GtkEntryIconPosition.

2089 2090 2091 2092 2093
2008-12-26  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkentry.c: Emit property notification for the text-length
	property.

2094 2095 2096 2097 2098
2008-12-26  Matthias Clasen  <mclasen@redhat.com>

	* demos/gtk-demo/search_entry.c: Add a demo for new entry features.
	* demos/gtk-demo/Makefile.am: Glue

2099 2100 2101 2102 2103 2104 2105 2106 2107
2008-12-25  Matthias Clasen  <mclasen@redhat.com>

	* gdk/gdkapplaunchcontext.c:
	* gdk/gdkkeys.c:
	* gdk/x11/gdkdnd-x11.c:
	* gdk/x11/gdkkeyx-x11.c:
	* gdk/x11/gdktestutils-x11.c: Typo fixes and other small
	doc improvements.

2108 2109 2110 2111 2112
2008-12-23  Li Yuan  <li.yuan@sun.com>

	* gtk/gtkiconview.c: (gtk_icon_view_accessible_model_row_changed):
	Bug #549251. No need to set name if there is no a11y item object.

2113 2114 2115 2116 2117 2118 2119 2120
2008-12-21  Yair Hershkovitz  <yairhr@gmail.com>

	Bug 565203: RTL locales: icons are misplaced when horizontal 
	            gtkiconview is contained in a gtkscrolledwindow.

	* gtk/gtkiconview.c (gtk_icon_view_layout_single_row):
	Fix horizontal icon positions when in RTL locale.

Matthias Clasen's avatar
Matthias Clasen committed
2121 2122 2123 2124
2008-12-19  Matthias Clasen  <mclasen@redhat.com>

	* NEWS: Update

Matthias Clasen's avatar
Matthias Clasen committed
2125 2126 2127 2128 2129 2130 2131
2008-12-19  Matthias Clasen  <mclasen@redhat.com>

	Bug 564881 – gtkstatusicon.c: 'event' bug again

	* gtk/gtkstatusicon.c (button_callback): Fix the build.
	Patch by Christian Dywan.

2132 2133 2134 2135 2136 2137 2138 2139 2140 2141
2008-12-19  Cody Russell  <bratsche@gnome.org>

	Bug 85292 – add an icon to gtkentry

	* gtk/gtkmarshalers.list: Add VOID:INT,BOXED
	* tests/testentryicons.c: Initial icon entry test
	* tests/Makefile.am: Add testentryicons
	* gtk/gtkentry.[ch]: Add API for setting primary/secondary icons
	and other features related to them.
	
2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164
2008-12-19  Marek Kasik  <mkasik@redhat.com>

	Bug 339318 - Allow page rendering to (optionally) happen in a thread

	* gtk/gtk.symbols: API change
	* doc/reference/gtk/gtk-sections.txt: API change
	* gtk/gtkprintoperation-private.h
	* gtk/gtkprintoperation.h
	* gtk/gtkprintoperation.c: Adds 2 new functions
	   gtk_print_operation_set_defer_drawing()
	     - Sets up the GtkPrintOperation to wait for calling of
	       gtk_print_operation_draw_page_finish() from application. It can
	       be used for drawing page in another thread.
	       This function must be called in the callback of "draw-page"
	       signal.
	   gtk_print_operation_draw_page_finish()
	     - Signalize that drawing of particular page is complete.
	       It is called after completion of page drawing (e.g. drawing
	       in another thread).
	       If gtk_print_operation_set_defer_drawing() was called before,
	       then this function has to be called by application. In another
	       case it is called by the library itself.

2165 2166 2167 2168
2008-12-15  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkprintunixdialog.c: Don't export emit_ok_response

2169 2170 2171 2172 2173 2174
2008-12-15  Tomas Bzatek  <tbzatek@redhat.com>

	* gtk/gtkfilechooserdefault.c: (list_row_activated):
	* gtk/gtkfilesystem.c: (_gtk_file_info_consider_as_directory):
	Mask G_FILE_TYPE_SHORTCUT as a directory (#561494)

2175 2176 2177 2178 2179 2180
2008-12-13  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
	Mount the enclosing volume if the folder we're switching to is not
	mounted. Patch by Tomas Bzatek, based on work by Carlos Garnacho

2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198
2008-12-13  Matthias Clasen  <mclasen@redhat.com>

	Bug 561494 – FileChooser network browsing and authentication support

	* gtk/gtkfilesystem.[hc] (_gtk_file_info_consider_as_directory): 
	Privately export this method. It classifies directories and mountables
	the same.

	* gtk/gtkfilesystem.c (enclosing_volume_mount_cb): Silently drop
	G_IO_ERROR_ALREADY_MOUNTED error for gvfs backends without visible
	mounts.

	* gtk/gtkfilesystemmodel.c:
	* gtk/gtkfilechooserbutton.c:
	* gtk/gtkfilechooserentry.c: 
	* gtk/gtkfilechooserdefault.c: Use the new function instead of 
	direct checks for G_FILE_TYPE_DIRECTORY throughout.

2199 2200 2201 2202 2203 2204 2205 2206
2008-12-13  Matthias Clasen  <mclasen@redhat.com>
	
	Bug 562579 – Remove error dialog when directory does not exist

	* gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
	Don't show an error dialog when changing to a non-existing folder,
	since this is ususally just an annoyance. 

2207 2208 2209 2210 2211 2212 2213
2008-12-13  Matthias Clasen  <mclasen@redhat.com>

	Bug 556233 – local-only causes G_IS_FILE warning

	* gtk/gktfilechooserdefault.c (set_local_only): Avoid a warning
	in tests. Patch by Christian Dywan

2214 2215 2216 2217 2218 2219 2220 2221 2222
2008-12-13  Matthias Clasen  <mclasen@redhat.com>

	Bug 563158 – CellRendererProgress pulsing and progressing rows can 
	not be used together

	* gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_set_pulse):
	Don't try to keep state in a cell renderer between two paint
	calls. It doesn't work. Patch by Kristian Mueller

2223 2224 2225 2226 2227 2228 2229
2008-12-13  Matthias Clasen  <mclasen@redhat.com>

	Bug 555560 – gtk_combo_box_set_active fails with no model
	
	* gtk/gtkcombobox.c: Allow out-of-order setting of model and active.
	Patch by Christian Dywan

2230 2231 2232 2233 2234 2235 2236
2008-12-13  Matthias Clasen  <mclasen@redhat.com>

	Bug 558306 – Cannot build gdk (gtk+ 2.14.4) on Solaris 8

	* gdk/x11/gdktestutils-x11.c (gdk_test_simulate_button):
	Remove a C99ism. Pointed out by Eric Lamarque

2237 2238 2239 2240 2241 2242 2243
2008-12-13  Matthias Clasen  <mclasen@redhat.com>

	Bug 549251 – GTK icon view accessible issue.

	* gtk/gtkiconview.c (gtk_icon_view_accessible_model_row_changed):
	Handle separate append/set for rows.  Patch by Li Yuan

2244 2245 2246 2247 2248 2249 2250
2008-12-13  Matthias Clasen  <mclasen@redhat.com>

	Bug 556839 – Crash when opening a link

	* gtk/gtkstatusicon.c (gtk_status_icon_finalize): Destroy the
	image too. Patch by Carlos Garcia Campos

2251 2252 2253 2254 2255 2256 2257
2008-12-13  Matthias Clasen  <mclasen@redhat.com>

	Bug 563751 – xatom cache is prefilled too late

	* gdk/x11/gdkdisplay-x11.c (gdk_display_open): Initialize the
	XAtom cache earlier. Patch by Christian Persch

2258 2259 2260 2261 2262 2263 2264 2265
2008-12-13  Matthias Clasen  <mclasen@redhat.com>

	Bug 564212 – gtk_icon_view_accessible_model_rows_reordered explain 
	new_order in the wrong way

	* gtk/gtkiconview.c (gtk_icon_view_accessible_model_rows_reordered):
	Use the new order correctly.  Patch by Li Yuan

Matthias Clasen's avatar
Matthias Clasen committed
2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278
2008-12-13  Matthias Clasen  <mclasen@redhat.com>

	Bug 563835 – Typo in gtk_widget_has_screen() docs

	* gdk/directfb/gdkwindow-directfb.c:
	* gdk/gdkwindow.c:
	* gdk/x11/gdkwindow-x11.c:
	* gtk/gtkmenushell.c:
	* gtk/gtkwidget.c:
	* gtk/tests/builder.c:
	* tests/testdnd.c: s/heirarchy/hierarchy/ in docs and comments.
	Pointed out by Wouter Bolsterlee

2279 2280 2281 2282 2283 2284 2285
2008-12-12  Matthias Clasen  <mclasen@redhat.com>

	Bug 564066 – Crash in gtk_rc_parse_default_files

	* gtk/gtkrc.c (gtk_rc_parse_default_files): Handle being called
	early. Bug report by Andrés G. Aragoneses

2286 2287 2288 2289 2290
2008-12-12  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkmountoperation.c: Set an empty title on password dialogs.
	Pointed out by Máirín Duffy.

2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302
2008-12-11  Sven Herzberg  <sven@imendio.com>

	Document the "set-scroll-adjustments" signal

	Reviewed by Kristian Rietveld.

	* gtk/gtkiconview.c,
	* gtk/gtklayout.c,
	* gtk/gtktextview.c,
	* gtk/gtktreeview.c,
	* gtk/gtkviewport.c: added proper documentation for the signal

2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319
2008-12-11  Daniel Elstner  <danielk@openismus.com>

	Bug 563994 – Input method module interface not documented

	* gtk/gtkimcontext.h: Add public/private markers.
	* gtk/gtkimcontext.c: Add section documentation which explains how
	to add a new input method module to GTK+.  Document the signals and
	virtual functions of GtkIMContextClass.
	* gtk/gtkimmodule.c: Document struct GtkIMContextInfo.
	* docs/reference/gtk/gtk-sections.txt: Add GtkIMContextClass and
	GtkIMContextInfo to section GtkIMContext.
	* docs/reference/gtk/Makefile.am (IGNORE_HFILES): Remove
	gtkimmodule.h from the list in order to pick up GtkIMContextInfo.
	* docs/reference/gtk/tmpl/gtkimcontext.sgml: Remove file from
	repository since all the hand-edited content has been migrated to
	source file comments.

2320 2321 2322 2323 2324 2325 2326
2008-12-10  Matthias Clasen  <mclasen@redhat.com>

        Bug 563991 – gtk_file_chooser_button_new_with_backend is deprecated
        -- but what should be used instead?

        * gtk/gtkfilechooserbutton.c: Enhanced deprecation annotation.

2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340
2008-12-10  Daniel Elstner  <danielk@openismus.com>

	Maintenance of Multipress input method by Openismus GmbH:

	* modules/input/gtkimcontextmultipress.[ch]: Clean up the code
	a bit to follow the GTK+ coding style more closely.  Fix the code
	to emit "preedit-start" and "preedit-end", too, rather than only
	"preedit-changed".
	(GTK_IM_CONTEXT_MULTIPRESS*): Rename incorrectly spelled macros
	gtk_im_context_multipress*. Shouldn't break API or ABI as it's
	only used internally.
	* modules/input/immultipress.c: More cleanup,
	* modules/input/README.multipress: ditto.

2341 2342 2343 2344
2008-12-09  Michael Natterer  <mitch@imendio.com>

	* gdk/gdk.symbols: add missing #ifndef GDK_DISABLE_DEPRECATED.

2345 2346 2347 2348 2349 2350 2351 2352
2008-12-09  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkcontainer.c (struct PackingPropertiesData): add missing
	semicolon.

	* gtk/gtkcontainer.c (attributes_text_element): "value" is a
	gchar*, not const gchar*.

2353 2354
2008-12-07  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
Matthias Clasen committed
2355 2356
	Bug 546378 – GtkAssistant page title is not translatable

2357 2358 2359 2360
	* gtk/gtkbuilderparser.c: Make gtk_builder_get_translation_domain()
	useful for subparsers.

	* gtk/gtkcontainer.c: Make the child property parser support
Matthias Clasen's avatar
Matthias Clasen committed
2361
	translatable child properties. Patch by Antti Kaijanmäki
2362
 
2363 2364 2365 2366 2367 2368 2369
2008-12-07  Matthias Clasen  <mclasen@redhat.com>

	Bug 554274 – Add default hook for GtkLinkButton

	* gtk/gtklinkbutton.c: Call gtk_show_uri() if no uri hook has
	been set. Patch by Emmanuele Bassi

2370 2371 2372
2008-12-07  Matthias Clasen  <mclasen@redhat.com>

	Bug 559325 – documentation for gdk_display_get_window_at_pointer() 
2373
:	is wrong
2374 2375 2376 2377

	* gdk/gdkdisplay.c (gdk_display_get_window_at_pointer): Correct
	the documentation. Patch by Paul Davis

2378 2379 2380 2381 2382 2383 2384
2008-12-07  Matthias Clasen  <mclasen@redhat.com>

	Bug 563285 – test print backend does not compile

	* modules/printbackends/test/gtkprintbackendtest.c: Clean up
	includes. 

2385 2386 2387 2388 2389 2390
2008-12-07  Behdad Esfahbod  <behdad@gnome.org>

	Bug 563547 – Update gdkx11 atom precache table

	* gdk/x11/gdkdisplay-x11.c: Add more atoms to precache.

2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402
2008-12-05  Michael Natterer  <mitch@imendio.com>

	Bug 546285 – Allow GtkEntry to draw progress

	* gtk/gtkentry.[ch]: add new API similar to GtkProgressBar which
	allows to set the entry's progress_fraction, its progress_pulse_step
	and to let the entry's progress pulse.

	* gtk/gtk.symbols: updated.

	* tests/testgtk.c: add progress demo code to the "Entry" window.

2403 2404 2405 2406 2407
2008-12-04  Johan Dahlin  <jdahlin@async.com.br>

	* gtk/gtkstatusicon.c:
	Add missing space in gtk-doc deprecated syntax

2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420
2008-12-03  Simos Xenitellis  <simos@gnome.org>

	Bug 557420 – Some compose sequences don't work anymore (or only in
	a specific order)

	* gtk/gtkimcontextsimple.c: Update of table size, keysym boundary,
	to match the gtkimcontextsimpleseqs.h table.
	* gtk/gtkimcontextsimpleseqs.h: Update with older gtk+ compose
	sequences that went missing due to table update with upstream.
	* gtk/compose-parse.py: Updated to include gtk-compose-lookaside.txt
	* gtk/gtk-compose-lookaside.txt: Older gtk+ compose sequences that
	are not found in the X.Org Compose file.

2421 2422 2423 2424 2425 2426 2427
2008-12-03  Sven Herzberg  <sven@imendio.com>

	Bug 562998 – GtkFontButton documentation improvements

	* gtk/gtkfontbutton.c: mention the way the font string should be used.
	Patch by Sven Herzberg and Nelson Benitez

2428 2429 2430 2431 2432 2433 2434
2008-12-03  Marek Kasik  <mkasik@redhat.com>

	Bug 559914 – eog doesn't apply paper setup.

	* gtk/gtkpapersize.c: Call the gtk_paper_size_new_from_ppd() with width
	and height in points.

2435 2436 2437 2438 2439 2440 2441 2442 2443 2444
2008-12-02  Carlos Garcia Campos  <carlosgc@gnome.org>

	Bug 562878 – password save incorrectly set in gtkmountoperation

	* gtk/gtkmountoperation.c (remember_button_toggled),
	(gtk_mount_operation_ask_password): Remember the password save
	flags only when the radio button becomes active. Set also the
	default state of the radio buttons depending on the current value
	of password save flags. 
	
2445 2446 2447 2448 2449 2450 2451 2452
2008-12-01  Matthias Clasen <mclasen@redhat.com>

	Bug 555334 – connected server feature

	* gtk/gtkfilesystem.c (get_volumes_list): Filter out shadow mounts.
	Patch by David Zeuthen.

2008-12-01  Matthias Clasen <mclasen@redhat.com>
2453 2454 2455 2456

	* gtk/gtkentry.c: Revert an accidental change that sneaked
	in with the last commit.

2457 2458 2459 2460 2461 2462
2008-12-01  Paul Bolle  <pebolle@tiscali.nl>

	Bug 562817 – GtkDialog: typo

	* gtk/gtkdialog.c: Fix typo

2463 2464 2465 2466 2467 2468 2469 2470 2471
2008-11-29  Matthias Clasen  <mclasen@redhat.com>

	Bug 554453 – "typeahead find" widget of GtkTreeView appears on 
	wrong monitor in a multi-head environment

	* gtk/gtktreeview.c (gtk_tree_view_ensure_interactive_directory):
	Make sure the typeahead window follows screen changes of the
	treeview. Noticed by Rainer Stransky

2472 2473 2474 2475 2476 2477 2478 2479
2008-11-30  Christian Dywan  <christian@imendio.com>

	Bug 559622 – GdkDevice test segfaults

	* gdk/x11/gdkdisplay-x11.c (gdk_display_x11_dispose):
	* gdk/x11/gdkinput.c (gdk_device_class_init), (gdk_device_dispose):
	Free and reset device in dispose. Patch by Michael Natterer and myself.

2480 2481 2482 2483 2484 2485 2486 2487
2008-11-30  Christian Dywan  <christian@imendio.com>

	Bug 554076 – eventually release g_new-ed supported_atoms

	* gdk/x11/gdkevents-x11.c (cleanup_atoms),
	(gdk_x11_screen_supports_net_wm_hint): Set cleanup callback.
        Patch by Caolan McNamara.

2488 2489 2490 2491 2492 2493 2494
2008-11-30  Christian Dywan  <christian@imendio.com>

	Bug 539263 – Deprecate gdk_window_get_toplevels

	* gdk/gdkwindow.c:
	* gdk/gdkwindow.h: Deprecate gdk_window_get_toplevels

2495 2496 2497 2498 2499 2500 2501
2008-11-29  Federico Mena Quintero  <federico@novell.com>

	* gtk/gtktreeview.c (gtk_tree_view_bin_expose): If tree lines are
	enabled, flip them around for the right-to-left case.  Fixes
	https://bugzilla.novell.com/show_bug.cgi?id=447004.  Patch by
	Ricardo Cruz <rpmcruz@alunos.dcc.fc.up.pt>

Christian Persch's avatar
Christian Persch committed
2502 2503 2504 2505
2008-11-29  Christian Persch  <chpe@gnome.org>

	* gtk/gtkselection.c: Typo fix.

2506 2507
2008-11-29  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
Matthias Clasen committed
2508
	* gtk/gtkselection.c:
2509
	* gtk/gtkentry.c:
2510
	* gtk/gtkdnd.c:
2511
	* gtk/gtkcolorsel.c:
2512 2513
	* gtk/gtkbindings.c: Improve deprecation annotations.

2514 2515 2516 2517 2518 2519 2520
2008-11-26  Christian Dywan  <christian@imendio.com>

	Bug 561504 – testgtk should load rc file from sub folder

	* tests/testgtk.c (main):
        Make testgtk look in subfolder and warn if not found

2521 2522 2523 2524 2525 2526 2527
2008-11-25  Johan Dahlin  <jdahlin@async.com.br>

	Bug 559947 – Unchecked dependency on python>=2.4

	* gtk/gtk-builder-convert:
	Avoid using sorted() which is only present in python 2.

2528 2529 2530 2531 2532
2008-11-24  Tristan Van Berkom <tvb@gnome.org>

	* gtk/gtkalignment.c: Bug 561539 - Fix warnings when size allocations
	fall short of border width and padding.

2533