Blame ChangeLog.pre-2-8

Packit 98cdb6
2005-08-13  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* configure.in: Bump version
Packit 98cdb6
Packit 98cdb6
	* === Released 2.8.0 ===
Packit 98cdb6
Packit 98cdb6
	* NEWS: Updates
Packit 98cdb6
Packit 98cdb6
	* configure.in: Require cairo 0.9.2
Packit 98cdb6
Packit 98cdb6
2005-08-12  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkcheckmenuitem.c (gtk_real_check_menu_item_draw_indicator): 
Packit 98cdb6
	Remove a line without effect.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkicontheme.c: When changing the icon theme, defer
Packit 98cdb6
	the resetting of rc styles to an idle, so that it does
Packit 98cdb6
	not happen e.g during expose handling (which is problematic,
Packit 98cdb6
	since some widgets, like the toolbar, are changing the
Packit 98cdb6
	hierarchy in response to style changes).  (#300539, reported
Packit 98cdb6
	by many people, analyzed by Owen Taylor)
Packit 98cdb6
Packit 98cdb6
2005-08-12  Owen Taylor  <otaylor@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gdk/linux-fb/gdkwindow-fb.c (gdk_window_set_back_pixmap)
Packit 98cdb6
	* gdk/win32/gdkwindow-win32.c (gdk_window_set_back_pixmap) 
Packit 98cdb6
	* gdk/x11/gdkwindow-x11.c (gdk_window_set_back_pixmap): Warn if
Packit 98cdb6
	gdk_drawable_get_colormap (pixmap) is NULL and return.
Packit 98cdb6
Packit 98cdb6
2005-08-12  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* configure.in: Bump version to 2.8.0
Packit 98cdb6
Packit 98cdb6
2005-08-11  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkfilechooserdefault.c: Work around some problems
Packit 98cdb6
	with the gnome-vfs backends which could lead to crashes
Packit 98cdb6
	in the bookmark handling.  (#310270, Diego Gonzalez, patch
Packit 98cdb6
	by Michael Meeks)
Packit 98cdb6
Packit 98cdb6
2005-08-11  Kristian Rietveld  <kris@gtk.org>
Packit 98cdb6
Packit 98cdb6
	Fix for #312924, by John Finlay.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkliststore.c (gtk_list_store_increment_stamp),
Packit 98cdb6
	(gtk_list_store_clear): increment stamp on store clearance.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtktreestore.c (gtk_tree_store_increment_stamp),
Packit 98cdb6
	(gtk_tree_store_clear): ditto.
Packit 98cdb6
Packit 98cdb6
2005-08-11  Kristian Rietveld  <kris@gtk.org>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtktreeview.c (gtk_tree_view_size_allocate_columns): queue
Packit 98cdb6
	a draw for the entire widget if any column changes width. (Fixes
Packit 98cdb6
	#311026, reported by Frederic Crozat).
Packit 98cdb6
Packit 98cdb6
2005-08-10  J. Ali Harlow  <ali@juiblex.co.uk>
Packit 98cdb6
Packit 98cdb6
	* configure.in: Revert to linking against pangowin32 under win32
Packit 98cdb6
	platform (Owen Taylor).
Packit 98cdb6
Packit 98cdb6
2005-08-10  J. Ali Harlow  <ali@juiblex.co.uk>
Packit 98cdb6
Packit 98cdb6
	* gdk/win32/gdkfont-win32.c (gdk_font_from_description_for_display): Make
Packit 98cdb6
	the last change compile.
Packit 98cdb6
Packit 98cdb6
2005-08-10  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_deleted) 
Packit 98cdb6
	(gtk_tree_model_filter_remove_node): Remove ambiguities pointed
Packit 98cdb6
	out by gcc.
Packit 98cdb6
Packit 98cdb6
2005-08-10  James Henstridge  <james@jamesh.id.au>
Packit 98cdb6
Packit 98cdb6
	* configure.in: fix definition of GDK_DEP_CFLAGS so that it
Packit 98cdb6
	doesn't cause build failures if $X_PACKAGES is not empty.
Packit 98cdb6
Packit 98cdb6
2005-08-09  Owen Taylor  <otaylor@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gdk/gdkwindow.c (gdk_window_ref_cairo_surface): Remove superfluous
Packit 98cdb6
	call to gdk_window_get_offsets (). (#313051, Bertram Felgenhauer)
Packit 98cdb6
Packit 98cdb6
2005-08-09  Owen Taylor  <otaylor@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* configure.in: Strip out all Xft, FreeType, and pangoxft checking.
Packit 98cdb6
	Rewrite X checks to use pkg-config as much as possible.
Packit 98cdb6
Packit 98cdb6
	* gdk/win32/gdkfont-win32.c (gdk_font_from_description_for_display): Make
Packit 98cdb6
	this return Arial always to avoid using PangoWin32FontMap. (X11 backend
Packit 98cdb6
	has always been returned "fixed" for a long time)
Packit 98cdb6
Packit 98cdb6
	* gdk/linux-fb/gdkdrawable-fb2.c: Remove draw_glyphs() implementations,
Packit 98cdb6
	fall through to the default implementation in terms of Cairo.
Packit 98cdb6
Packit 98cdb6
	* gdk/linux-fb/gdkdrawable-fb2.c (gdk_fb_draw_text): Use gdk_draw_glyphs()
Packit 98cdb6
	on the wrapper rather than gdk_fb_draw_glyphs().
Packit 98cdb6
Packit 98cdb6
2005-08-09  Mark McLoughlin  <mark@skynet.ie>
Packit 98cdb6
Packit 98cdb6
	Fixes "notification area leaks space" (bug #312687)
Packit 98cdb6
Packit 98cdb6
	* gtk/gtksocket-x11.c: (_gtk_socket_windowing_filter_func):
Packit 98cdb6
	  gtk/gtkplug.c: (_gtk_plug_add_to_socket): don't pass a 
Packit 98cdb6
	detail to g_signal_emit_by_name()
Packit 98cdb6
Packit 98cdb6
2005-08-09  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* NEWS: Updates
Packit 98cdb6
Packit 98cdb6
2005-08-09  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtksizegroup.c (get_size_groups, set_size_groups): Use
Packit 98cdb6
	g_quark_from_static_string here. 
Packit 98cdb6
Packit 98cdb6
2005-08-08  Christian Persch  <chpe@cvs.gnome.org>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkmenutoolbutton.c: (gtk_menu_tool_button_state_changed),
Packit 98cdb6
	(gtk_menu_tool_button_class_init), (popup_menu_under_arrow),
Packit 98cdb6
	(gtk_menu_tool_button_init):
Packit 98cdb6
Packit 98cdb6
	Deactivate the menu when the button becomes insensitive, and remove
Packit 98cdb6
	dead code. Fixes bug #312920.
Packit 98cdb6
Packit 98cdb6
2005-08-08  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gdk/gdk.symbols: Make the last change compile.
Packit 98cdb6
Packit 98cdb6
2005-08-08  Christian Persch  <chpe@cvs.gnome.org>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkmenutoolbutton.c:
Packit 98cdb6
	(gtk_menu_tool_button_construct_contents),
Packit 98cdb6
	(button_state_changed_cb), (menu_position_func),
Packit 98cdb6
	(arrow_button_toggled_cb):
Packit 98cdb6
Packit 98cdb6
	Use ->priv instead of GTK_MENU_TOOL_BUTTON_GET_PRIVATE.
Packit 98cdb6
	Surviving part of bug #310589.
Packit 98cdb6
Packit 98cdb6
2005-08-07  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gdk/gdk.symbols: Add the gdk_display variable.
Packit 98cdb6
Packit 98cdb6
	* gdk/abicheck.sh:
Packit 98cdb6
	* gtk/abicheck.sh: Also check exported variables.
Packit 98cdb6
Packit 98cdb6
Fri Aug  5 16:54:19 2005  Søren Sandmann  <sandmann@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkmenutoolbutton.c
Packit 98cdb6
	(gtk_menu_tool_button_construct_contents): Set the relief of the
Packit 98cdb6
	arrow button to the value returned by
Packit 98cdb6
	gtk_tool_item_get_relief_style(). Patch from Benjamin Berg.
Packit 98cdb6
	Bug 312695.
Packit 98cdb6
Packit 98cdb6
2005-08-04  Sunil Mohan Adapa  <sunil@atc.tcs.co.in>
Packit 98cdb6
Packit 98cdb6
	* configure.in: Re-added "te" to ALL_LINGUAS after
Packit 98cdb6
	correcting the problem.
Packit 98cdb6
Packit 98cdb6
2005-08-04  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* configure.in: Require cairo 0.6
Packit 98cdb6
Packit 98cdb6
2005-08-04  Christian Persch  <chpe@cvs.gnome.org>
Packit 98cdb6
Packit 98cdb6
	* configure.in: Remove "te" since it breaks the build.
Packit 98cdb6
Packit 98cdb6
2005-08-04  Sunil Mohan Adapa  <sunil@atc.tcs.co.in>
Packit 98cdb6
Packit 98cdb6
	* configure.in: Added "te" to ALL_LINGUAS.
Packit 98cdb6
Packit 98cdb6
2005-08-04  Tor Lillqvist  <tml@novell.com>
Packit 98cdb6
Packit 98cdb6
	* gtk-zip.sh.in: Reflect the change of the default theme's name to
Packit 98cdb6
	"Raleigh". Include the MS-Windows theme's gtkrc file. Include the
Packit 98cdb6
	theme engine DLLs.
Packit 98cdb6
Packit 98cdb6
2005-08-02  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* configure.in: Bump version
Packit 98cdb6
Packit 98cdb6
	* === Released 2.7.5 ===
Packit 98cdb6
Packit 98cdb6
	* configure.in: Bump version
Packit 98cdb6
Packit 98cdb6
	* NEWS: Updates
Packit 98cdb6
Packit 98cdb6
2005-08-01  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkfixed.c (gtk_fixed_put): Fix a typo, spotted by
Packit 98cdb6
	David Odin.
Packit 98cdb6
Packit 98cdb6
	* gtk/Makefile.am (install-data-local): 
Packit 98cdb6
	* gtk/gtksettings.c (gtk_settings_class_init): Rename the 
Packit 98cdb6
	default theme to "Raleigh".  (#312254, Thomas Wood)
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkdnd.c (set_icon_stock_pixbuf): Create the icon window
Packit 98cdb6
	with the correct dimensions.  (#312256, Mike Morrison)
Packit 98cdb6
Packit 98cdb6
	* gtk/gtktextbuffer.h: 
Packit 98cdb6
	* gtk/gtk.symbols: Remove G_GNUC_NULL_TERMINATED here
Packit 98cdb6
	as well.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkuimanager.c (update_node): Update tooltips when 
Packit 98cdb6
	reconnecting toolitems.  (#312173, Alex Graveley)
Packit 98cdb6
Packit 98cdb6
	* gdk/x11/gdkxftdefaults.c: Define the hint styles to make
Packit 98cdb6
	building against fc < 2.2.92 work.  (#311839, Damien Carbery)
Packit 98cdb6
Packit 98cdb6
	* gdk/x11/gdkevents-x11.c (gdk_check_wm_desktop_changed): Make
Packit 98cdb6
	tracking the on_all_desktops state work better.
Packit 98cdb6
Packit 98cdb6
	* gdk/x11/gdkwindow-x11.c (gdk_x11_window_move_to_current_desktop): 
Packit 98cdb6
	Don't do anything if the window is on all desktops.  (#311803,
Packit 98cdb6
	Elijah Newren)
Packit 98cdb6
Packit 98cdb6
2005-08-01  Dom Lachowicz <cinamod@hotmail.com>
Packit 98cdb6
Packit 98cdb6
	* modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: Part of #168326
Packit 98cdb6
Packit 98cdb6
2005-08-01  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkclipboard.c (gtk_clipboard_set_image) 
Packit 98cdb6
	(gtk_clipboard_set_text): Don't leak atom names.  (#311933,
Packit 98cdb6
	Peter Zelezny)
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkmain.c (do_post_parse_initialization): Call
Packit 98cdb6
	gettext_initialization() here as well.  (#311612, Dan Winship)
Packit 98cdb6
Packit 98cdb6
2005-08-01  Tor Lillqvist  <tml@novell.com>
Packit 98cdb6
Packit 98cdb6
	* gdk/win32/gdkwindow-win32.c (gdk_window_set_urgency_hint):
Packit 98cdb6
	Implement using FlashWindowEx(). (#309423)
Packit 98cdb6
Packit 98cdb6
2005-07-30  Hans Breuer  <hans@breuer.org>
Packit 98cdb6
Packit 98cdb6
	* gtk/makefile.msc.in tests/makefile.msc : updated
Packit 98cdb6
Packit 98cdb6
2005-07-30  Johan Dahlin  <jdahlin@async.com.br>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkctree.c (gtk_ctree_class_init): Do not use | 
Packit 98cdb6
	G_PARAM_STATIC_NAME in the type field, makes subclassing possible.
Packit 98cdb6
Packit 98cdb6
2005-07-29  Claudio Saavedra  <csaavedra@alumnos.utalca.cl>
Packit 98cdb6
Packit 98cdb6
	* docs/reference/gtk/migrating-GtkAction.sgml: Declaring the 
Packit 98cdb6
	GtkActionEntry arrays static const. Fixes #301612.
Packit 98cdb6
Packit 98cdb6
2005-07-29  J. Ali Harlow  <ali@juiblex.co.uk>
Packit 98cdb6
Packit 98cdb6
	* gtk/Makefile.am: Include gtkwin32embed.h in EXTRA_DIST
Packit 98cdb6
	unconditionally. Fixes #311972.
Packit 98cdb6
Packit 98cdb6
2005-07-28  Federico Mena Quintero  <federico@ximian.com>
Packit 98cdb6
Packit 98cdb6
	* perf/README: Update for the new API of the profiler.
Packit 98cdb6
Packit 98cdb6
	* perf/gtkwidgetprofiler.[ch]: New files with a widget profiler
Packit 98cdb6
	object.  This is the old content of timers.[ch] turned into a nice
Packit 98cdb6
	object, with signals for creation and reporting.  The profiler
Packit 98cdb6
	needs to maintain some state when reusing the widget, so it's
Packit 98cdb6
	useful to turn it into a real object.
Packit 98cdb6
Packit 98cdb6
	Break down timing show_all into GTK_WIDGET_PROFILER_REPORT_MAP and
Packit 98cdb6
	GTK_WIDGET_PROFILER_REPORT_EXPOSE.
Packit 98cdb6
Packit 98cdb6
	* perf/main.c: Refactor to use GtkWidgetProfiler.
Packit 98cdb6
Packit 98cdb6
	* perf/appwindow.c (content_area_new): Make this just create a
Packit 98cdb6
	notebook, instead of a complex arrangement of panes.
Packit 98cdb6
Packit 98cdb6
	* perf/widgets.h: New header file for all the "create a widget"
Packit 98cdb6
	utility functions.
Packit 98cdb6
Packit 98cdb6
	* perf/treeview.c: New file.  Moved the tree view part from
Packit 98cdb6
	appwindow.c over to here; GtkTreeView really needs its own tests.
Packit 98cdb6
	(tree_view_new): Set the shadow type to IN.
Packit 98cdb6
Packit 98cdb6
	* perf/textview.c: Likewise moved over from appwindow.c, but for
Packit 98cdb6
	GtkTextView.
Packit 98cdb6
	(text_view_new): Set the shadow type to IN.
Packit 98cdb6
Packit 98cdb6
	* perf/Makefile.am (testperf_SOURCES): Add the new source files;
Packit 98cdb6
	remove appwindow.h and timers.[ch].
Packit 98cdb6
Packit 98cdb6
	* perf/timers.[ch]: Removed.
Packit 98cdb6
Packit 98cdb6
	* perf/appwindow.h: Removed.
Packit 98cdb6
Packit 98cdb6
2005-07-29  Tor Lillqvist  <tml@novell.com>
Packit 98cdb6
Packit 98cdb6
	* gdk/win32/gdkevents-win32.c: Remove ifdeffed out code relating
Packit 98cdb6
	to the gdk-ping message. Use the global _gdk_display instead of
Packit 98cdb6
	calling gdk_display_get_default() or gdk_drawable_get_display()
Packit 98cdb6
	which would return _gdk_display anyway.
Packit 98cdb6
	(append_event, apply_filters, gdk_event_translate): Drop any
Packit 98cdb6
	GdkDisplay parameter as we only have one display anyway. Use
Packit 98cdb6
	_gdk_display where needed.
Packit 98cdb6
	(gdk_event_apply_filters): Delete, move the code into its only
Packit 98cdb6
	caller, apply_filters().
Packit 98cdb6
	(generate_button_event): Factor out code from two places in
Packit 98cdb6
	gdk_event_translate().
Packit 98cdb6
	(gdk_event_translate): Call generate_button_event() in place of
Packit 98cdb6
	inline code.
Packit 98cdb6
Packit 98cdb6
	* gdk/win32/gdkevents-win32.c (generate_grab_broken_event): New
Packit 98cdb6
	static function to generate and append the GDK_GRAB_BROKEN events.
Packit 98cdb6
	(gdk_pointer_grab, gdk_keyboard_grab): Generate grab broken events
Packit 98cdb6
	when overriding a grab inside the application, like in the X11
Packit 98cdb6
	backend. Final bits of the fix for #107320, hopefully.
Packit 98cdb6
	(print_event): Handle also GDK_SETTING, GDK_OWNER_CHANGE and
Packit 98cdb6
	GDK_GRAB_BROKEN events.
Packit 98cdb6
	(gdk_event_translate): Call generate_grab_broken_event() in place
Packit 98cdb6
	of inline code.
Packit 98cdb6
	
Packit 98cdb6
	* gdk/win32/gdkdrawable-win32.c (blit_inside_drawable): Rename
Packit 98cdb6
	from blit_inside_window(), as it now does blitting inside a
Packit 98cdb6
	bitmap, too. No code change, still just call BitBlt().
Packit 98cdb6
	(_gdk_win32_blit): Check for source equalling destination
Packit 98cdb6
	first. (#169508, #131977) 
Packit 98cdb6
	Do away with the superfluous local draw_impl variable, the
Packit 98cdb6
	parameter to this function is already a GdkDrawableImplWin32*, no
Packit 98cdb6
	need to copy and cast it.
Packit 98cdb6
Packit 98cdb6
2005-07-28  Robert Ögren  <gtk@roboros.com>
Packit 98cdb6
Packit 98cdb6
	Avoid spurious core pointer events when the tablet pen is lifted.
Packit 98cdb6
	(#167000)
Packit 98cdb6
Packit 98cdb6
	* gdk/win32/gdkinput-win32.c (set_ignore_core): New static function,
Packit 98cdb6
	handles delayed unsetting of _gdk_input_ignore_core.
Packit 98cdb6
	(_gdk_input_other_event): Call set_ignore_core instead of setting
Packit 98cdb6
	_gdk_input_ignore_core directly.
Packit 98cdb6
Packit 98cdb6
2005-07-28  Dom Lachowicz <cinamod@hotmail.com>
Packit 98cdb6
Packit 98cdb6
	* modules/engines/ms-windows/*: Re-sync with gtk-wimp CVS. Notable
Packit 98cdb6
	changes include: menu/toolbars have a gradient applied to them; better
Packit 98cdb6
	handling of menu/toolbar shadows, tracking theme settings;
Packit 98cdb6
	sliders/scales now use XP theming; status bar grippies drawn properly;
Packit 98cdb6
	convincing toolbar grippies are drawn for the Win2k theme; notebook
Packit 98cdb6
	tabs now have that orange stripe across their top; a host of scrollbar
Packit 98cdb6
	bugs are fixed
Packit 98cdb6
	
Packit 98cdb6
2005-07-27  Tor Lillqvist  <tml@novell.com>
Packit 98cdb6
Packit 98cdb6
	* gdk/win32/gdkmain-win32.c (_gdk_win32_psstyle_to_string): Handle
Packit 98cdb6
	PS_ALTERNATE, too.
Packit 98cdb6
Packit 98cdb6
	* gdk/win32/gdkmain-win32.c (gdk_screen_get_height_mm): Fix for
Packit 98cdb6
	multi-monitor cases. (#311677, Tim Evans)
Packit 98cdb6
Packit 98cdb6
2005-07-26  Owen Taylor  <otaylor@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtknotebook.c (gtk_notebook_page_allocate): Fix to be
Packit 98cdb6
	monotonic in the original size (#308145, Morten Welinder)
Packit 98cdb6
Packit 98cdb6
2005-07-26  Elijah Newren  <newren@gmail.com>
Packit 98cdb6
Packit 98cdb6
	Revert part of patch from #166379; don't have gtk_window_present()
Packit 98cdb6
	change a window's desktop, but rather leave it up to the WM.
Packit 98cdb6
	(#311653)
Packit 98cdb6
	
Packit 98cdb6
	* gtk/gtkwindow.c (gtk_window_present_with_time): Don't change a
Packit 98cdb6
	window's workspace
Packit 98cdb6
Packit 98cdb6
2005-07-26  Tor Lillqvist  <tml@novell.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkplug-win32.c: Declare GetAncestor() and define GA_PARENT
Packit 98cdb6
	if missing (MSVC6). (#311633)
Packit 98cdb6
Packit 98cdb6
2005-07-26  Federico Mena Quintero  <federico@ximian.com>
Packit 98cdb6
Packit 98cdb6
	* perf/: New directory with the start of a framework for testing
Packit 98cdb6
	performance in GTK+.
Packit 98cdb6
Packit 98cdb6
	* Makefile.am (SRC_SUBDIRS): Added the perf directory.
Packit 98cdb6
Packit 98cdb6
	* configure.in (AC_OUTPUT): Generate perf/Makefile.
Packit 98cdb6
Packit 98cdb6
2005-07-26  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkfilechooserdefault.c: Fix up includes on Win32.  
Packit 98cdb6
	(#311630, Kazuki Iwamoto)
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkimcontextsimple.c: Add ISO_Level3_Shift to 
Packit 98cdb6
	the list of keysyms to ignore for composition, since
Packit 98cdb6
	AltGr keys produce it in some keyboard layouts.  (#307283)
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkwidget.h: 
Packit 98cdb6
	* gtk/gtk.symbols: Remove G_GNUC_NULL_TERMINATED from
Packit 98cdb6
	gtk_widget_new as well, pointed out by Kjartan Maraas.
Packit 98cdb6
Packit 98cdb6
2005-07-25  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkhsv.c (paint_triangle): Pad out the full width, in 
Packit 98cdb6
	an attempt to work around bug #311225. 
Packit 98cdb6
Packit 98cdb6
	* gtk/gtktreemodelsort.c: Trivial doc fixes.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtktreesortable.c: Talk about comparison functions, not
Packit 98cdb6
	sort functions in some places.  (#311398, Fabrice Bauzac)
Packit 98cdb6
Packit 98cdb6
	* gtk/gtk.symbols: 
Packit 98cdb6
	* gtk/gtkobject.[hc]: 
Packit 98cdb6
	* gtk/gtkfilechooserdialog.[hc] 
Packit 98cdb6
	* gtk/gtkdialog.[hc]: Remove the G_GNUC_NULL_TERMINATED marker
Packit 98cdb6
	from a number of varargs functions where we allow to omit the
Packit 98cdb6
	varargs completely.  (#311465, Callum McKenzie)
Packit 98cdb6
Packit 98cdb6
2005-07-22  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* === Released 2.7.4 === 
Packit 98cdb6
Packit 98cdb6
	* NEWS: Updates
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkmessagedialog.c (gtk_message_dialog_format_secondary_markup): 
Packit 98cdb6
	Point out escaping oversight.  (#311260, Owen Taylor)
Packit 98cdb6
Packit 98cdb6
2005-07-21  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkcombobox.c (gtk_combo_box_list_destroy): Cleanup
Packit 98cdb6
	a possible resize idle.  (#311141, Robert Ögren)
Packit 98cdb6
Packit 98cdb6
	* gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_changed): 
Packit 98cdb6
	(gtk_tree_model_sort_sort_level): Ref the level while using it,
Packit 98cdb6
	otherwise it may get nuked by gtk_tree_model_sort_increment_stamp.
Packit 98cdb6
	(gtk_tree_model_sort_row_deleted): Don't leak the root level 
Packit 98cdb6
	here.  (#300089, James Bramford, Markku Vire)
Packit 98cdb6
Packit 98cdb6
2005-07-21  Federico Mena Quintero  <federico@ximian.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkfilechooser.c (gtk_file_chooser_set_filename): Clarify
Packit 98cdb6
	the usage of this function.
Packit 98cdb6
	(gtk_file_chooser_set_uri): Likewise.
Packit 98cdb6
	(gtk_file_chooser_set_current_name): Likewise.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkfilechooserdefault.c (set_file_system_backend):
Packit 98cdb6
	Instrument this function for profiling as well.
Packit 98cdb6
	(gtk_file_chooser_default_init): Likewise; just to have a marker
Packit 98cdb6
	of where instance initialization begins.
Packit 98cdb6
Packit 98cdb6
2005-07-21  Owen Taylor  <otaylor@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkwidget.c (update_pango_context): Fix a couple of leaks.
Packit 98cdb6
Packit 98cdb6
2005-07-21  Christian Rose  <menthos@menthos.com>
Packit 98cdb6
Packit 98cdb6
	* configure.in: Added "hy" to ALL_LINGUAS.
Packit 98cdb6
Packit 98cdb6
2005-07-21  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* NEWS: Updates
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkstatusbar.c (gtk_statusbar_size_allocate): Be
Packit 98cdb6
	a bit more careful to not shrink the label to a negative
Packit 98cdb6
	width.  (#311175, Thomas Vander Stichele)
Packit 98cdb6
Packit 98cdb6
	* gtk/gtk.symbols: mark gtk_socket_steal as deprecated.
Packit 98cdb6
Packit 98cdb6
	* configure.in: Bump the cairo requirement.
Packit 98cdb6
Packit 98cdb6
2005-07-19  Owen Taylor  <otaylor@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtksettings.c gtk/gtkwidget.c: Change machinery for
Packit 98cdb6
	following font rendering xsettings to set cairo font
Packit 98cdb6
	options on PangoContext
Packit 98cdb6
Packit 98cdb6
	* gdk/x11/gdkxftdefaults.c gdk/x11/gdkevents-x11.c gdkscreen-x11.h
Packit 98cdb6
	gdkprivate-x11.h: Get default values for rendering options
Packit 98cdb6
	(such as antialiasing, dpi) from the Xft resources for the
Packit 98cdb6
	display, borrowing a bit of code from Xft.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtksettings.c (gtk_settings_class_init): Fix docs for
Packit 98cdb6
	values of gtk-xft-hintstyle.
Packit 98cdb6
Packit 98cdb6
2005-07-21  Tor Lillqvist  <tml@novell.com>
Packit 98cdb6
Packit 98cdb6
	Make GtkPlug/Socket cross-platform: Add Win32 implementation,
Packit 98cdb6
	splice out X11 implementation to separate files. (#58541)
Packit 98cdb6
	    
Packit 98cdb6
	* gtk/gtk.symbols: Make GtkPlug/Socket API available with all
Packit 98cdb6
	backends.
Packit 98cdb6
Packit 98cdb6
	* gtk/Makefile.am: Changes to build GtkPlug/Socket with all
Packit 98cdb6
	backends.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtksocket.c
Packit 98cdb6
	* gtk/gtkplug.c: Splice out backend-dependend parts to separate
Packit 98cdb6
	files, see below.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtksocketprivate.h
Packit 98cdb6
	* gtk/gtkplugprivate.h: New files. Declare the backend-specific
Packit 98cdb6
	functions, and the private backend-independent functions they call
Packit 98cdb6
	back to.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtksocket-stub.c
Packit 98cdb6
	* gtk/gtkplug-stub.c
Packit 98cdb6
	* gtk/gtksocket-x11.c
Packit 98cdb6
	* gtk/gtkplug-x11.c
Packit 98cdb6
	* gtk/gtksocket-win32.c
Packit 98cdb6
	* gtk/gtkplug-win32.c
Packit 98cdb6
	* gtk/gtkwin32embed.h
Packit 98cdb6
	* gtk/gtkwin32embed.c: New files, containing the backend-specific
Packit 98cdb6
	parts of GtkPlug/Socket.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkxembed.h
Packit 98cdb6
	* gtk/gtkxembed.c (_gtk_xembed_message_name): New function, used
Packit 98cdb6
	in error messages and debugging output.
Packit 98cdb6
	
Packit 98cdb6
	* gtk/gtkwindow.c (gtk_window_show): No need for ifdef, can now
Packit 98cdb6
	use GTK_IS_PLUG() with all backends.
Packit 98cdb6
Packit 98cdb6
	* tests/testsocket_common.c: Make it work on Win32, too.
Packit 98cdb6
Packit 98cdb6
2005-07-21  Tor Lillqvist  <tml@novell.com>
Packit 98cdb6
Packit 98cdb6
	* gdk/win32/gdkwindow-win32.c (gdk_window_set_title): Use
Packit 98cdb6
	wide-char API when available. (#311079, Peter Zelezny)
Packit 98cdb6
Packit 98cdb6
2005-07-21  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkwidget.c (gtk_widget_modify_bg, gtk_widget_modify_base): 
Packit 98cdb6
	Add hints on how to handle "no window" widgets.  (#136347)
Packit 98cdb6
Packit 98cdb6
2005-07-20  Keith Packard  <keithp@keithp.com>
Packit 98cdb6
Packit 98cdb6
	* gdk/x11/gdkdrawable-x11.c: (gdk_x11_ref_cairo_surface):
Packit 98cdb6
Packit 98cdb6
	Follow change in cairo API to add Screen* to
Packit 98cdb6
	cairo_xlib_create_surface_for_bitmap
Packit 98cdb6
Packit 98cdb6
2005-07-20  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkicontheme.c (load_svg_at_size): Explicitly use the 
Packit 98cdb6
	svg loader, if available. This should help with the fact that
Packit 98cdb6
	svg is not reliably sniffable with the current gdk-pixbuf sniffing
Packit 98cdb6
	code. 
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkstyle.c (gtk_default_draw_expander): Make sure expanded
Packit 98cdb6
	expanders are not fuzzy.  (#310172, reported by Alexander Larsson,
Packit 98cdb6
	patch by Owen Taylor)
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkdnd.c (gtk_drag_begin_internal): Don't fail if we
Packit 98cdb6
	can't get a keyboard grab.  (#168351)
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_[sg]et_property):
Packit 98cdb6
	Add GTK_FILE_CHOOSER_PROP_DO_OVERWRITE_CONFIRMATION. 
Packit 98cdb6
Packit 98cdb6
2005-07-19  Federico Mena Quintero  <federico@ximian.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkfilechooserdefault.c: Added a few utility functions for
Packit 98cdb6
	profiling; instrument the code, make it conditional.
Packit 98cdb6
Packit 98cdb6
2005-07-19  Kristian Rietveld  <kris@gtk.org>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkentry.c (gtk_entry_move_forward_word): don't iterate
Packit 98cdb6
	past the end of the string, so pango_layout_get_cursor_pos() won't
Packit 98cdb6
	complain. (#309211, Tommi Komulainen).
Packit 98cdb6
Packit 98cdb6
2005-07-19  Tor Lillqvist  <tml@novell.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkmain.c (check_sizeof_GtkWindow, check_sizeof_GtkBox):
Packit 98cdb6
	Don't bother mentioning the -fnative-struct (used by GCC 2) switch
Packit 98cdb6
	in the error message any longer.
Packit 98cdb6
Packit 98cdb6
2005-07-18  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gdk/gdkpixbuf-render.c: Small formatting fixes in doc comments. 
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkcombobox.c (gtk_combo_box_model_row_deleted) 
Packit 98cdb6
	(gtk_combo_box_model_row_inserted): Remove useless calls
Packit 98cdb6
	to gtk_tree_row_reference_inserted/deleted, since we
Packit 98cdb6
	don't use manual row references here. 
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkmain.c (gtk_parse_args, gtk_init_with_args): Call
Packit 98cdb6
	gettext_initialization before checking gtk_initialized, otherwise
Packit 98cdb6
	there are scenarios where it is not called at all. For an
Packit 98cdb6
	example, see tests/testfilechooserbutton.c.  (#310323, 
Packit 98cdb6
	Arkady L. Shane)
Packit 98cdb6
Packit 98cdb6
2005-07-18  Tor Lillqvist  <tml@novell.com>
Packit 98cdb6
Packit 98cdb6
	* gdk/win32/gdkgc-win32.c (gdk_win32_hdc_get): Be sure to remove
Packit 98cdb6
	any possible leftover clipping region in the DC if we don't want
Packit 98cdb6
	any clipping. Thanks to Robert Ögren. (#309823)
Packit 98cdb6
Packit 98cdb6
	* configure.in (GDK_EXTRA_LIBS): [Win32] Bypass libtool, use
Packit 98cdb6
	-Wl,-luuid. This avoids a libtool warning as libuuid is static.
Packit 98cdb6
Packit 98cdb6
2005-07-18  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkcombobox.c (gtk_combo_box_set_focus_on_click): Propagate
Packit 98cdb6
	the focus-on-click value to the button.  (#310543, Christian Persch)
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkwidget.c (gtk_widget_set_double_buffered): Add a note
Packit 98cdb6
	about the need to handle expose events. We really need a chapter
Packit 98cdb6
	on the GTK+ drawing model that we can refer to here... (#310765,
Packit 98cdb6
	Steve Chaplin)
Packit 98cdb6
Packit 98cdb6
2005-07-16  Tor Lillqvist  <tml@novell.com>
Packit 98cdb6
Packit 98cdb6
	* configure.in (GDK_EXTRA_LIBS): [Win32] Put -luuid back, it is
Packit 98cdb6
	needed in case one builds without the ie55 stuff. (#310582)
Packit 98cdb6
Packit 98cdb6
2005-07-15  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
	
Packit 98cdb6
	* configure.in: Bump version
Packit 98cdb6
Packit 98cdb6
	* === Released 2.7.3 ===
Packit 98cdb6
	
Packit 98cdb6
	* gdk/gdkdraw.c (gdk_draw_drawable): Add better docs.  
Packit 98cdb6
	(#310192, Owen Taylor)
Packit 98cdb6
Packit 98cdb6
2005-07-15  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* NEWS: Updates
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkentry.c (gtk_entry_move_forward_word): 
Packit 98cdb6
	(gtk_entry_move_backward_word): Don't treat whitespace as
Packit 98cdb6
	words for keynav, pointed out by Owen Taylor.
Packit 98cdb6
Packit 98cdb6
2005-07-15  Federico Mena Quintero  <federico@ximian.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkfilechooserdefault.c
Packit 98cdb6
	(should_respond_after_confirm_overwrite): Take the parent folder
Packit 98cdb6
	path instead of the display name, to avoid doing duplicated work
Packit 98cdb6
	in gtk_file_chooser_default_should_respond().
Packit 98cdb6
Packit 98cdb6
2005-07-15  Federico Mena Quintero  <federico@ximian.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkfilechooserdefault.c
Packit 98cdb6
	(confirm_dialog_should_accept_filename): Take the display name of
Packit 98cdb6
	the folder as well so that we can present a better message.  Use a
Packit 98cdb6
	stock cancel button, "_Replace", and GTK_STOCK_SAVE_AS.
Packit 98cdb6
	(gtk_file_chooser_default_should_respond): Pass the file part and
Packit 98cdb6
	folder display name directly to the function above.  Oops, only do
Packit 98cdb6
	the confirmation dialog if the file exists.
Packit 98cdb6
Packit 98cdb6
2005-07-15  Federico Mena Quintero  <federico@ximian.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkfilechooserdefault.c
Packit 98cdb6
	(confirm_dialog_should_accept_filename): Use header capitalization
Packit 98cdb6
	for the buttons, per the HIG.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtk.symbols: Add the new functions.
Packit 98cdb6
Packit 98cdb6
	* tests/testfilechooser.c (confirm_overwrite_cb): Add a test for
Packit 98cdb6
	the confirm-overwrite signal.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkfilechooser.c (gtk_file_chooser_class_init): Remove the
Packit 98cdb6
	stub documentation for the "confirm-overwrite" signal.
Packit 98cdb6
	(gtk_file_chooser_set_do_overwrite_confirmation): Add "Since: 2.8"
Packit 98cdb6
	to the docs.
Packit 98cdb6
	(gtk_file_chooser_get_do_overwrite_confirmation): Likewise.
Packit 98cdb6
Packit 98cdb6
2005-07-14  Federico Mena Quintero  <federico@ximian.com>
Packit 98cdb6
Packit 98cdb6
	Add overwrite confirmation for SAVE mode.  Fixes bug #152850:
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkfilechooser.h: Add prototypes for
Packit 98cdb6
	gtk_file_chooser_set/get_do_overwrite_confirmation().
Packit 98cdb6
	(GtkFileChooserConfirmation): New enum for the result of the
Packit 98cdb6
	"confirm-overwrite" signal.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkmarshalers.list: Add ENUM:VOID.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkfilechooser.c (gtk_file_chooser_class_init): Add a
Packit 98cdb6
	"do-overwrite-confirmation" boolean property.
Packit 98cdb6
	(gtk_file_chooser_set_do_overwrite_confirmation): Implement.
Packit 98cdb6
	(gtk_file_chooser_get_do_overwrite_confirmation): Implement.
Packit 98cdb6
	(confirm_overwrite_accumulator): New accumulator for the signal.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkfilechooserutils.h (GtkFileChooserProp): Add
Packit 98cdb6
	GTK_FILE_CHOOSER_PROP_DO_OVERWRITE_CONFIRMATION.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkfilechooserutils.c
Packit 98cdb6
	(_gtk_file_chooser_install_properties): Override the
Packit 98cdb6
	do-overwrite-confirmation property.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkfilechooserprivate.h (struct _GtkFileChooserIface): Add a
Packit 98cdb6
	confirm_overwrite signal to the vtable.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkfilechooserdefault.c
Packit 98cdb6
	(gtk_file_chooser_default_set_property): Handle the new property.
Packit 98cdb6
	(gtk_file_chooser_default_get_property): Likewise.
Packit 98cdb6
	(get_selected_file_info_from_file_list): New helper function; code
Packit 98cdb6
	taken from list_selection_changed().
Packit 98cdb6
	(list_selection_changed): Use get_selected_file_info_from_file_list().
Packit 98cdb6
	(should_respond_after_confirm_overwrite): New function.
Packit 98cdb6
	(gtk_file_chooser_default_should_respond): Confirm when necessary.
Packit 98cdb6
Packit 98cdb6
2005-07-14  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtk.symbols: Add new exported symbols.
Packit 98cdb6
Packit 98cdb6
2005-07-14  Tor Lillqvist  <tml@novell.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkfilesystemwin32.c (filename_get_info): Implement getting
Packit 98cdb6
	the MIME type of a file. Look it up in the Registry. Bug reported
Packit 98cdb6
	by Hans Oesterholt.
Packit 98cdb6
Packit 98cdb6
2005-07-14  Tor Lillqvist  <tml@novell.com>
Packit 98cdb6
Packit 98cdb6
	* configure.in (GDK_EXTRA_LIBS): Don't need -luuid on Win32. It
Packit 98cdb6
	was some leftover, and in fact occasionally caused issues with
Packit 98cdb6
	libtool as it made its way into the libgdk-win32-2.0.la file and
Packit 98cdb6
	that way into the .la files of all libraries that depend on
Packit 98cdb6
	GDK. (This happened only when building from CVS and not using a
Packit 98cdb6
	full "make install" which would run the sanitize-la.sh script.)
Packit 98cdb6
Packit 98cdb6
2005-07-14  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gdk/x11/gdkevents-x11.c (set_screen_from_root): Don't assert if 
Packit 98cdb6
	the xrootwin is invalid.  (#309997, Barbie LeVille)
Packit 98cdb6
	(gdk_event_translate): Ignore events with an invalid root field.
Packit 98cdb6
Packit 98cdb6
	* configure.in: Set interface age to 0.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkimmodule.h: Move G_BEGIN_DECLS to the right spot, noticed
Packit 98cdb6
	by Akira Tagoh.
Packit 98cdb6
Packit 98cdb6
2005-07-14  Kristian Rietveld  <kris@gtk.org>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtktreeviewcolumn.[ch] (gtk_tree_view_column_queue_resize): new
Packit 98cdb6
	function (fixes #169961, reported by Morten Welinder).
Packit 98cdb6
Packit 98cdb6
2005-07-14  Kristian Rietveld  <kris@gtk.org>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtktreeview.[ch] (gtk_tree_view_get_visible_range): new
Packit 98cdb6
	function. (fixes #105252, suggestion from Mikael Hallendal).
Packit 98cdb6
Packit 98cdb6
2005-07-13  Manish Singh  <yosh@gimp.org>
Packit 98cdb6
Packit 98cdb6
	* demos/gtk-demo/iconview_edit.c: remove unused variable.
Packit 98cdb6
Packit 98cdb6
2005-07-13  Kristian Rietveld  <kris@gtk.org>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtktreemodel.[ch] (gtk_tree_row_reference_get_model): new
Packit 98cdb6
	function. (#160879, Stefan Kost).
Packit 98cdb6
Packit 98cdb6
2005-07-13  Kristian Rietveld  <kris@gtk.org>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtktreeview.c (gtk_tree_view_bin_expose): paint a flat box
Packit 98cdb6
	on the area the treeview got allocated extra vertically (fixes
Packit 98cdb6
	#142063, reported by Brian Bober).
Packit 98cdb6
Packit 98cdb6
	* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action):
Packit 98cdb6
	make this function calculate real_cell_area and real_background_area
Packit 98cdb6
	correctly. (fixes #309249, reported by Bernd Demian).
Packit 98cdb6
Packit 98cdb6
2005-07-13  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkcalendar.c (calendar_realize_arrows): Fix an 
Packit 98cdb6
	unintentional case of width-for-height... (#310133, Luis Villa)
Packit 98cdb6
Packit 98cdb6
2005-07-13  Kristian Rietveld  <kris@gtk.org>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtktreeview.c (gtk_tree_view_new_column_width): let's take
Packit 98cdb6
	the MIN of width and max_width here, not width and max_width != -1.
Packit 98cdb6
	(fixes #144480, reported by Mikael Magnusson).
Packit 98cdb6
Packit 98cdb6
2005-07-13  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkicontheme.c (load_themes): Don't keep the caches
Packit 98cdb6
	for unthemed directories in a separate list, instead append
Packit 98cdb6
	them at the end of the dir_mtimes list, so that we can check
Packit 98cdb6
	them for staleness like the other caches.  (#310221, Mark 
Packit 98cdb6
	McLoughlin)
Packit 98cdb6
Packit 98cdb6
	* configure.in: Check that we have a new enough Cairo.
Packit 98cdb6
Packit 98cdb6
2005-07-13  Robert Ögren  <gtk@roboros.com>
Packit 98cdb6
Packit 98cdb6
	Fix handling of Aiptek and Aiptek-like graphical tablets such as Trust
Packit 98cdb6
	on Windows. (#167004, thanks to	"pnohant" for testing)
Packit 98cdb6
Packit 98cdb6
	Code cleanup: Remove the unused and unmaintained code for using a
Packit 98cdb6
	non-system tablet context (USE_SYSCONTEXT ifdef:s), suggested
Packit 98cdb6
	by Tor Lillqvist.
Packit 98cdb6
Packit 98cdb6
	* gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check): Handle
Packit 98cdb6
	tablet drivers that don't support WTI_DDCTXS/WTI_DSCTXS gracefully.
Packit 98cdb6
	Sligthly reorganize and simplify the code to support this.
Packit 98cdb6
	(_gdk_input_wintab_init_check, _gdk_input_other_event): Remove
Packit 98cdb6
	USE_SYSCONTEXT ifdef:s and the code for the case it was not defined.
Packit 98cdb6
	(gdk_input_window_find_within): Removed.
Packit 98cdb6
Packit 98cdb6
2005-07-13  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gdk/win32/bdfcursor.c: Add Copyright/License information.
Packit 98cdb6
	
Packit 98cdb6
2005-07-13  Kristian Rietveld  <kris@gtk.org>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtktreeview.c (validate_row): when !separator, don't add
Packit 98cdb6
	the focus_line_width to width/height (happens in
Packit 98cdb6
	_column_cell_get_size), but do add the vertical-separator to height,
Packit 98cdb6
	we weren't taking this into account before.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup):
Packit 98cdb6
	take vertical-separator into account. (#309137, Ross Burton).
Packit 98cdb6
Packit 98cdb6
2005-07-13  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* tests/treestoretest.c: 
Packit 98cdb6
	* tests/testxinerama.c: 
Packit 98cdb6
	* tests/testtreeview.c: 
Packit 98cdb6
	* tests/testtreefocus.c: 
Packit 98cdb6
	* tests/testtreeflow.c:
Packit 98cdb6
	* tests/testtreeedit.c: 
Packit 98cdb6
	* tests/testtreecolumns.c: 
Packit 98cdb6
	* tests/testtext.c: 
Packit 98cdb6
	* tests/testtextbuffer.c: 
Packit 98cdb6
	* tests/testspinbutton.c: 
Packit 98cdb6
	* tests/testsocket_common.c: 
Packit 98cdb6
	* tests/testsocket_child.c: 
Packit 98cdb6
	* tests/testsocket.c: 
Packit 98cdb6
	* tests/testmultiscreen.c: 
Packit 98cdb6
	* tests/testmultidisplay.c: 
Packit 98cdb6
	* tests/testmerge.c: 
Packit 98cdb6
	* tests/testmenus.c: 
Packit 98cdb6
	* tests/testmenubars.c: 
Packit 98cdb6
	* tests/testicontheme.c: 
Packit 98cdb6
	* tests/testfilechooser.c: 
Packit 98cdb6
	* tests/testentrycompletion.c: 
Packit 98cdb6
	* tests/testdnd.c: 
Packit 98cdb6
	* tests/testcombochange.c: 
Packit 98cdb6
	* tests/testactions.c: 
Packit 98cdb6
	* tests/testcombo.c: 
Packit 98cdb6
	* tests/simple.c: 
Packit 98cdb6
	* gtk/gtktextutil.c: 
Packit 98cdb6
	* gtk/gtktexttypes.h: 
Packit 98cdb6
	* gtk/gtktexttypes.c: 
Packit 98cdb6
	* gtk/gtktexttagprivate.h: 
Packit 98cdb6
	* gtk/gtktextsegment.h: 
Packit 98cdb6
	* gtk/gtktextiterprivate.h: 
Packit 98cdb6
	* gtk/gtktextchildprivate.h: 
Packit 98cdb6
	* gtk/gtktextbtree.h: Add Copyright/License information.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkicontheme.c (gtk_icon_theme_get_default) 
Packit 98cdb6
	(gtk_icon_theme_get_for_screen): Add a warning about
Packit 98cdb6
	unreffing icon themes.  (#310163, Rodney Dawes)
Packit 98cdb6
Packit 98cdb6
2005-07-13  Kristian Rietveld  <kris@gtk.org>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtktreeselection.c (gtk_tree_selection_selected_foreach): quit
Packit 98cdb6
	maintaining the iter on every iteration, only get the iter when
Packit 98cdb6
	we are about to call the foreach_func. Gives us a 10x speedup,
Packit 98cdb6
	since maintaining iters is a lot more expensive than maintaining
Packit 98cdb6
	paths. We lose a bit of sanity checking though. Thanks go to
Packit 98cdb6
	Billy Biggs for pointing this out.
Packit 98cdb6
Packit 98cdb6
2005-07-12  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* tests/testcairo.c (draw): Fix the same confusion here, too.
Packit 98cdb6
Packit 98cdb6
	* gdk/gdkgc.c (make_stipple_tile_surface): Fix 
Packit 98cdb6
	cairo_content_t <-> cairo_format_t confusion.  (#310086,
Packit 98cdb6
	Carlos Garnacho Parro)
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkfilesystemunix.c 
Packit 98cdb6
	(gtk_file_system_unix_volume_get_display_name): Follow
Packit 98cdb6
	the Nautilus change and rename "Filesystem" to "File System",
Packit 98cdb6
	string change.  (#310047, Vincent Noel)
Packit 98cdb6
	
Packit 98cdb6
2005-07-12  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* demos/gtk-demo/iconview.c: Rename this demo.
Packit 98cdb6
Packit 98cdb6
	* demos/gtk-demo/iconview_edit.c: Add a demo for icon view
Packit 98cdb6
	editing and drag-and-drop.
Packit 98cdb6
Packit 98cdb6
	* demos/gtk-demo/geninclude.pl.in: Accept dashes in demo titles.
Packit 98cdb6
Packit 98cdb6
2005-07-12  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/theme-bits/decompose-bits.c: 
Packit 98cdb6
	* gtk/gtkfilechooserembed.c: 
Packit 98cdb6
	* gtk/gtktextmarkprivate.h: 
Packit 98cdb6
	* gtk/gtktexttagtable.h: 
Packit 98cdb6
	* gtk/gtktexttagtable.c: 
Packit 98cdb6
	* gtk/gtkrc.key.emacs: Add Copyright/License information.
Packit 98cdb6
Packit 98cdb6
	* gdk/linux-fb/gdkrender-fb.c: 
Packit 98cdb6
	* gdk/linux-fb/gdkpango-fb.c: 
Packit 98cdb6
	* gdk/linux-fb/gdkdrawable-fb2.c: 
Packit 98cdb6
	* gdk/linux-fb/gdkgc-fb.c: 
Packit 98cdb6
	* gdk/linux-fb/gdkfbswitch.c: Add Copyright/License information.
Packit 98cdb6
Packit 98cdb6
	* gdk/gdkwindow.h: 
Packit 98cdb6
	* gdk/gdkvisual.h: 
Packit 98cdb6
	* gdk/gdkselection.h: 
Packit 98cdb6
	* gdk/gdkselection.c: 
Packit 98cdb6
	* gdk/gdkregion.h: 
Packit 98cdb6
	* gdk/gdkproperty.h: 
Packit 98cdb6
	* gdk/gdkpixmap.h: 
Packit 98cdb6
	* gdk/gdkpixbuf.h: 
Packit 98cdb6
	* gdk/gdkkeyuni.c: 
Packit 98cdb6
	* gdk/gdkintl.h: 
Packit 98cdb6
	* gdk/gdkinput.h: 
Packit 98cdb6
	* gdk/gdkimage.h: 
Packit 98cdb6
	* gdk/gdkgc.h: 
Packit 98cdb6
	* gdk/gdkfont.h: 
Packit 98cdb6
	* gdk/gdkevents.h: 
Packit 98cdb6
	* gdk/gdkdnd.h: 
Packit 98cdb6
	* gdk/gdkcursor.h: 
Packit 98cdb6
	* gdk/gdkcolor.h: Add Copyright/License information.
Packit 98cdb6
Packit 98cdb6
2005-07-11  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* modules/input/imm-extra.h: Add Copyright/License information.
Packit 98cdb6
Packit 98cdb6
2005-07-11  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtktexttag.c (gtk_text_tag_class_init) 
Packit 98cdb6
	(gtk_text_tag_set_property): Remove the runtime warning about 
Packit 98cdb6
	the invisible property, add a warning about possible remaining
Packit 98cdb6
	problems to the documentation of the property.  (#66194)
Packit 98cdb6
Packit 98cdb6
	* gtk/gtktextview.c (gtk_text_view_move_cursor_internal): Don't
Packit 98cdb6
	ever go unconditionally to the buffer ends; that doesn't work
Packit 98cdb6
	if the initial or final portion of the buffer are invisible.
Packit 98cdb6
Packit 98cdb6
2005-07-11  Kristian Rietveld  <kris@gtk.org>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtktreeview.c (gtk_tree_view_class_init): add binding entry
Packit 98cdb6
	for ctrl + backspace (move focus to parent without affecting
Packit 98cdb6
	selection),
Packit 98cdb6
	(gtk_tree_view_real_select_cursor_parent): implement ctrl+backspace
Packit 98cdb6
	and simplify the function a bit. (#309296, Kathy Fernandes).
Packit 98cdb6
Packit 98cdb6
2005-07-11  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	Make gtk_window_present() move the window to the current
Packit 98cdb6
	desktop, instead of letting the WM change the current
Packit 98cdb6
	desktop to where the window is.  (#166379, Elijah Newren)
Packit 98cdb6
	
Packit 98cdb6
	* gdk/gdk.symbols: 
Packit 98cdb6
	* gdk/x11/gdkx.h: 
Packit 98cdb6
	* gdk/x11/gdkwindow-x11.c (gdk_x11_window_move_to_current_desktop): 
Packit 98cdb6
	New function to move a window to the current desktop.
Packit 98cdb6
	
Packit 98cdb6
	* gtk/gtkwindow.c (gtk_window_present_with_time): Move the
Packit 98cdb6
	window to the current desktop before giving it focus.  
Packit 98cdb6
Packit 98cdb6
2005-07-11  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	When dragging text, use a drag icon showing the (ellipsized)
Packit 98cdb6
	text that is being dragged: (#161132, Kevin Duffus, patch
Packit 98cdb6
	by Carlos Garnacho Parro)
Packit 98cdb6
	
Packit 98cdb6
	* gtk/gtktextutil.h: 
Packit 98cdb6
	* gtk/gtktextutil.c (_gtk_text_util_create_drag_icon): Add
Packit 98cdb6
	a function to create a pixmap for use when dragging text.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtktextview.c (gtk_text_view_start_selection_dnd): 
Packit 98cdb6
	* gtk/gtklabel.c (gtk_label_motion): 
Packit 98cdb6
	* gtk/gtkentry.c (gtk_entry_motion_notify): Use a drag icon
Packit 98cdb6
	showing the text being dragged.  
Packit 98cdb6
Packit 98cdb6
2005-07-11  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkentry.c (gtk_entry_move_forward_word) 
Packit 98cdb6
	(gtk_entry_move_backward_word): Match the text view change
Packit 98cdb6
	to allow selecting whitespace with double-click.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtktextview.c (extend_selection): Make double-clicking
Packit 98cdb6
	between words select whitespace.  (#309860, Mike Miller, patch
Packit 98cdb6
	by Paolo Borelli)
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkiconview.c: Documentation improvements.  (#309946, 
Packit 98cdb6
	Torsten Schoenfeld)
Packit 98cdb6
Packit 98cdb6
2005-07-10  Kristian Rietveld  <kris@gtk.org>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down): remove
Packit 98cdb6
	unneeded check for negative window_y.
Packit 98cdb6
Packit 98cdb6
2005-07-10  Kristian Rietveld  <kris@gtk.org>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtktreeview.c (gtk_tree_view_search_key_press_event): also move
Packit 98cdb6
	to the next match when ctrl+g is pressed. (#156657, Matt T. Proud).
Packit 98cdb6
Packit 98cdb6
2005-07-10  Kristian Rietveld  <kris@gtk.org>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down): rework
Packit 98cdb6
	function to make page up/down behave the same as in GtkTextView.
Packit 98cdb6
	(Fixes #101220, Owen Taylor).
Packit 98cdb6
Packit 98cdb6
2005-07-09  Kristian Rietveld  <kris@gtk.org>
Packit 98cdb6
Packit 98cdb6
	Fix #305737, patch from Tomislav Jonjic. This makes the
Packit 98cdb6
	gtk_tree_store_insert* family of functions emit row_has_child_toggled
Packit 98cdb6
	when needed (they didn't do that before).
Packit 98cdb6
Packit 98cdb6
	* gtk/gtktreestore.c (gtk_tree_store_insert): emit
Packit 98cdb6
	row_has_child_toggled when needed,
Packit 98cdb6
	(gtk_tree_store_insert_before): fix a possible memleak,
Packit 98cdb6
	emit row_has_child_toggled when needed,
Packit 98cdb6
	(gtk_tree_store_insert_after): ditto.
Packit 98cdb6
Packit 98cdb6
2005-07-09  Kristian Rietveld  <kris@gtk.org>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtktreeview.c (gtk_tree_view_real_expand_row): when
Packit 98cdb6
	open_all is TRUE, traverse the newly built tree to emit
Packit 98cdb6
	row_expanded for the subitems. (rev 1.444, patch in #172319
Packit 98cdb6
	broke this). Fixes #305582, reported by Billy Biggs.
Packit 98cdb6
Packit 98cdb6
2005-07-09  Tor Lillqvist  <tml@novell.com>
Packit 98cdb6
Packit 98cdb6
	* configure.in: Look for windres on Win32. Drop build/* from
Packit 98cdb6
	AC_CONFIG_FILES.
Packit 98cdb6
Packit 98cdb6
	* Makefile.am: Drop build from SUBDIRS. 
Packit 98cdb6
Packit 98cdb6
	* gdk/win32/rc/Makefile.am
Packit 98cdb6
	* gdk/Makefile.am
Packit 98cdb6
	* gtk/Makefile.am: Don't use the scripts in build/win32 to compile
Packit 98cdb6
	the rc files into resource object files. (This means we lose the
Packit 98cdb6
	build number increment magic, but I doubt it was that useful
Packit 98cdb6
	anyway.) Instead use windres directly. To pass a normal .o file
Packit 98cdb6
	produced by windres through libtool, which would want a .lo file,
Packit 98cdb6
	pass it directly to the linker using a -Wl option.
Packit 98cdb6
Packit 98cdb6
	* gdk/win32/rc/gdk.rc.in
Packit 98cdb6
	* gtk/gtk-win32.rc.in: Replace BUILDNUMBER with 0.
Packit 98cdb6
Packit 98cdb6
2005-07-08  Kristian Rietveld  <kris@gtk.org>
Packit 98cdb6
Packit 98cdb6
	Fixes #165034, reported by Jorn Baayen.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkrbtree.[ch] (_gtk_rbtree_set_fixed_height): add a
Packit 98cdb6
	mark_valid parameter (so we can mark all nodes as valid when we
Packit 98cdb6
	are setting them to the fixed height).
Packit 98cdb6
Packit 98cdb6
	* gtk/gtktreeview.c (initialized_fixed_height_mode): mark all
Packit 98cdb6
	nodes as valid when setting the fixed height,
Packit 98cdb6
	(do_validate_rows): update call to _set_fixed_height,
Packit 98cdb6
	(gtk_tree_view_row_inserted): mark node as valid when fixed
Packit 98cdb6
	height mode is enabled and a height has been set,
Packit 98cdb6
	(gtk_tree_view_build_tree): if fixed height mode is enabled,
Packit 98cdb6
	mark new nodes as valid in addition to setting the height.
Packit 98cdb6
Packit 98cdb6
2005-07-08  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* configure.in: Bump version
Packit 98cdb6
	
Packit 98cdb6
	* === Released 2.7.2 ===
Packit 98cdb6
Packit 98cdb6
	* NEWS: Updates
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkcelllayout.c (gtk_cell_layout_pack_start): 
Packit 98cdb6
	(gtk_cell_layout_pack_end): Add a note about reusing cell
Packit 98cdb6
	renderers.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkdnd.c (gtk_drag_update_cursor): Pass a GdkDragAction to
Packit 98cdb6
	gtk_drag_get_cursor.  (#309784, Sebastien Bacher)
Packit 98cdb6
Packit 98cdb6
2005-07-08  Tor Lillqvist  <tml@novell.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkfilesel.c: Use g_get_host_name().
Packit 98cdb6
Packit 98cdb6
2005-07-07  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* configure.in: Add -DHPPEX -DSHMLINK to CFLAGS for HP-UX.  
Packit 98cdb6
	(#162979, Paul Cornett)
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkhscale.c (gtk_hscale_new_with_range): 
Packit 98cdb6
	(gtk_vscale_new_with_range): Add some additional docs on 
Packit 98cdb6
	precision here too.  (#309238, Steve Chaplin)
Packit 98cdb6
Packit 98cdb6
	* gdk/x11/gdkmain-x11.c (generate_grab_broken_event): Don't
Packit 98cdb6
	generate events on destroyed windows.
Packit 98cdb6
Packit 98cdb6
	Implement Drag-and-Drop to the file list.  (#145121, Sven Neumann)
Packit 98cdb6
	
Packit 98cdb6
	* gtk/gtkfilechooserdefault.c (file_list_drag_data_received_cb) 
Packit 98cdb6
	(file_list_drag_drop_cb, file_list_drag_motion_cb): New functions
Packit 98cdb6
	to handle drag-and-drop on the file list.
Packit 98cdb6
	(create_file_list): Set up drag-and-drop handlers on the file list.
Packit 98cdb6
Packit 98cdb6
2005-07-07  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	Fix #157787, reported by Jonathan Blandford: 
Packit 98cdb6
	
Packit 98cdb6
	* gtk/gtkfilechooserdefault.c 
Packit 98cdb6
	(gtk_file_chooser_default_set_current_folder): Don't leave a 
Packit 98cdb6
	"trail" behind when set_current_folder is called explicitly.
Packit 98cdb6
	(gtk_file_chooser_default_update_current_folder): New function
Packit 98cdb6
	that is called to update the current folder in response to
Packit 98cdb6
	user actions.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkpathbar.c (_gtk_path_bar_set_path): Add a boolean
Packit 98cdb6
	keep_trail argument, and don't leave a "trail" behind unless
Packit 98cdb6
	it is set.
Packit 98cdb6
Packit 98cdb6
2005-07-06  Manish Singh  <yosh@gimp.org>
Packit 98cdb6
Packit 98cdb6
	* demos/gtk-demo/menus.c: change_orientation() should return void,
Packit 98cdb6
	remove unused variable in do_menus().
Packit 98cdb6
Packit 98cdb6
2005-07-06  Tor Lillqvist  <tml@novell.com>
Packit 98cdb6
Packit 98cdb6
	* gdk/win32/gdkcursor-win32.c
Packit 98cdb6
	(gdk_win32_icon_to_pixbuf_libgtk_only): Don't create the GdkPixbuf
Packit 98cdb6
	until we know that we have something to put in it.
Packit 98cdb6
Packit 98cdb6
2005-07-05  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkspinbutton.c (gtk_spin_button_new_with_range): Add some
Packit 98cdb6
	additional docs on precision.  (#309238, Steve Chaplin)
Packit 98cdb6
Packit 98cdb6
	* modules/input/imime.c: Fix includes.  (#309462, Kazuki IWAMOTO)
Packit 98cdb6
Packit 98cdb6
2005-07-05  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* doc/tools/widgets.c: Actually generate a file-button
Packit 98cdb6
	image.
Packit 98cdb6
Packit 98cdb6
2005-07-06  Tor Lillqvist  <tml@novell.com>
Packit 98cdb6
Packit 98cdb6
	* gdk/win32/gdkcursor-win32.c: Add comment about the current named
Packit 98cdb6
	cursor implementation, and what it maybe really should do.
Packit 98cdb6
	(gdk_win32_icon_to_pixbuf_libgtk_only): New function, code moved
Packit 98cdb6
	here from gtk/gtkfilesystemwin32.c:extract_icon().
Packit 98cdb6
	(gdk_cursor_get_image): Use
Packit 98cdb6
	gdk_win32_icon_to_pixbuf_libgtk_only().
Packit 98cdb6
Packit 98cdb6
	* gdk/gdk.symbols
Packit 98cdb6
	* gdk/win32/gdkwin32.h: Declare gdk_win32_icon_to_pixbuf_libgtk_only().
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkfilesystemwin32.c (extract_icon): Use
Packit 98cdb6
	gdk_win32_icon_to_pixbuf_libgtk_only().
Packit 98cdb6
Packit 98cdb6
2005-07-05  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkmenu.c (gtk_menu_grab_notify): Take window
Packit 98cdb6
	groups into account.  (#309473, Diego Gonzalez)
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkwindow.[hc]: Add a non-exported function to
Packit 98cdb6
	get the grab widget of a window group.
Packit 98cdb6
Packit 98cdb6
2005-07-05  Kristian Rietveld  <kris@gtk.org>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtktreeview.c (gtk_tree_view_bin_expose): in the
Packit 98cdb6
	'main' expose loop, add back the calls to _set_cell_data
Packit 98cdb6
	removed earlier. (#309221, Matthias Clasen).
Packit 98cdb6
Packit 98cdb6
2005-07-05  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* demos/gtk-demo/menus.c: Demonstrate vertical menubars.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtk.symbols:
Packit 98cdb6
	* gtk/gtkaboutdialog.[hc]: Add a wrap-license property
Packit 98cdb6
	with getter and setter.  (#165012, Christian Rose,
Packit 98cdb6
	based on a patch by Christian Persch)
Packit 98cdb6
Packit 98cdb6
2005-07-05  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gdk/Makefile.am: Distribute the keyname-table.h header 
Packit 98cdb6
	and the files that are used to construct it.  (#309421,
Packit 98cdb6
	J. Ali Harlow)
Packit 98cdb6
Packit 98cdb6
2005-07-04  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkmenubar.c (gtk_menu_bar_set_pack_direction) 
Packit 98cdb6
	(gtk_menu_bar_set_child_pack_direction): Queue a resize
Packit 98cdb6
	on the contained menuitems as well.  
Packit 98cdb6
Packit 98cdb6
	* demos/gtk-demo/appwindow.c: Break some overlong lines. 
Packit 98cdb6
Packit 98cdb6
2005-07-03  Hans Breuer  <hans@breuer.org>
Packit 98cdb6
Packit 98cdb6
	* **/makefile.msc[.in] : updated
Packit 98cdb6
	* gtk/gtkiconcache.c : <io.h> for open()
Packit 98cdb6
	* gtk/gtkstyle.c : use G_PI instead of M_PI
Packit 98cdb6
Packit 98cdb6
	* gdk/win32/gdkcursor-win32.c : implement gdk_cursor_new_from_name()
Packit 98cdb6
	by mapping the lower case win32 api name to the respective cursor.
Packit 98cdb6
	E.g. pass "wait" to get the IDC_WAIT cursor. Also allows to load
Packit 98cdb6
	cursors from named resources in the executable.
Packit 98cdb6
	(gdk_cursor_get_image) : just return NULL for now.
Packit 98cdb6
Packit 98cdb6
	* gdk/win32/gdkgeometry-win32.c : implement gdk_window_move_region()
Packit 98cdb6
	by delegation to ScollWindowEx(), untested.
Packit 98cdb6
Packit 98cdb6
	* gdk/win32/gdkwindow-win32.c : stub for gdk_window_set_urgency_hint()
Packit 98cdb6
Packit 98cdb6
2005-07-03  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkimagemenuitem.c: Hmm, when committing my vertical
Packit 98cdb6
	menubar patch, I forgot the GtkImageMenuItem changes. And I
Packit 98cdb6
	managed to do 2 releases without noticing that...
Packit 98cdb6
Packit 98cdb6
	* gtk/gtksettings.c (gtk_settings_class_init): Correct the 
Packit 98cdb6
	blurb for the icon-sizes setting. String change.  
Packit 98cdb6
	(#309355, Benjamin Berg)
Packit 98cdb6
Packit 98cdb6
2005-07-01  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* configure.in: Bump version.
Packit 98cdb6
Packit 98cdb6
	* === Released 2.7.1 ===
Packit 98cdb6
	
Packit 98cdb6
	* NEWS: Updates
Packit 98cdb6
Packit 98cdb6
2005-07-01  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkfilesel.c (cmpl_init_state): Prevent an infinite
Packit 98cdb6
	loop when G_FILENAME_ENCODING is invalid.  (#309280, Padraig Brady)
Packit 98cdb6
Packit 98cdb6
Thu Jun 30 14:17:24 2005  Manish Singh  <yosh@gimp.org>
Packit 98cdb6
Packit 98cdb6
	* gdk/x11/gdkprivate-x11.h: declare _gdk_xgrab_check_button_event.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkbutton.c: fix signature of gtk_button_grab_broken.
Packit 98cdb6
Packit 98cdb6
2005-06-30  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gdk/x11/gdkvisual-x11.c (gdk_visual_decompose_mask): Avoid
Packit 98cdb6
	infinite loop if a mask is zero.  (#309222, David Saxton)
Packit 98cdb6
Packit 98cdb6
	* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_fetch_child): 
Packit 98cdb6
	Clarify the code, gcc 4 complains about predecrement in MAX().
Packit 98cdb6
Packit 98cdb6
	* modules/input/gtkimcontextxim.c (gtk_im_context_xim_finalize): Don't
Packit 98cdb6
	prematurely unregister callbacks. 
Packit 98cdb6
Packit 98cdb6
	* NEWS: Updates
Packit 98cdb6
Packit 98cdb6
2005-06-29  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkbutton.c (gtk_button_grab_broken): Handle broken
Packit 98cdb6
	grabs.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkrange.c (gtk_range_grab_broken): Handle broken 
Packit 98cdb6
	grabs.
Packit 98cdb6
Packit 98cdb6
	* gdk/gdkevents.h: Add a boolean to specify wether the broken
Packit 98cdb6
	grab was implicit.
Packit 98cdb6
Packit 98cdb6
	* gdk/x11/gdkdisplay-x11.c (gdk_display_pointer_is_grabbed): 
Packit 98cdb6
	As the documentation states, don't return TRUE for
Packit 98cdb6
	implicit grabs.
Packit 98cdb6
Packit 98cdb6
	* gdk/x11/gdkdisplay-x11.h (struct _GdkDisplayX11): Add
Packit 98cdb6
	a boolean field to store wether a pointer grab is implicit.
Packit 98cdb6
Packit 98cdb6
	* gdk/x11/gdkmain-x11.c (_gdk_xgrab_check_button_event): 
Packit 98cdb6
	Track implicit grabs.
Packit 98cdb6
Packit 98cdb6
	* gdk/x11/gdkevents-x11.c (gdk_event_translate): Call
Packit 98cdb6
	_gdk_xgrab_check_button_event for button events.
Packit 98cdb6
Packit 98cdb6
2005-06-28  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkiconview.c (gtk_icon_view_calculate_item_size2): 
Packit 98cdb6
	Make sure that cell boxes are always completely inside
Packit 98cdb6
	the item area. 
Packit 98cdb6
Packit 98cdb6
2005-06-27  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* demos/gtk-demo/main.c (create_tree): Make the list of
Packit 98cdb6
	demos scrollable.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtktextlayout.c (gtk_text_layout_move_iter_to_line_end): 
Packit 98cdb6
	Fix positioning at the end of the line for lines ending
Packit 98cdb6
	in invisible characters.
Packit 98cdb6
	(gtk_text_layout_get_line_display): Set display->layout 
Packit 98cdb6
	to a PangoLayout, even for totally invisible lines. 
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkmenushell.c (gtk_menu_shell_grab_broken): Ignore
Packit 98cdb6
	GrabBroken events which are caused by overgrabbing inside
Packit 98cdb6
	the application; menus rely on these for their operation.
Packit 98cdb6
	
Packit 98cdb6
	* gdk/gdkevents.h (struct _GdkEventGrabBroken): Add a 
Packit 98cdb6
	grab_window field.
Packit 98cdb6
Packit 98cdb6
	* gdk/win32/gdkevents-win32.c (gdk_event_translate): Set
Packit 98cdb6
	grab_window to NULL when generating GrabBroken events for
Packit 98cdb6
	WM_KILLFOCUS messages.
Packit 98cdb6
Packit 98cdb6
	* gdk/x11/gdkmain-x11.c (_gdk_xgrab_check_unmap) 
Packit 98cdb6
	(_gdk_xgrab_check_destroy): Set grab_window to NULL when
Packit 98cdb6
	generating GrabBroken events when the grab window becomes
Packit 98cdb6
	unviewable or is destroyed.
Packit 98cdb6
Packit 98cdb6
	* gdk/x11/gdkmain-x11.c (gdk_pointer_grab, gdk_keyboard_grab): 
Packit 98cdb6
	Generate GrabBroken events when overriding a grab inside
Packit 98cdb6
	the application. In this case, set grab_window to the new
Packit 98cdb6
	grab_window.
Packit 98cdb6
	
Packit 98cdb6
2005-06-27  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkbutton.c (gtk_real_button_activate): Continue
Packit 98cdb6
	to activate even if we can't grab the keyboard.
Packit 98cdb6
	(gtk_button_finish_activate): Only ungrab when we have
Packit 98cdb6
	a keyboard grab.  (#172998, William Jon McCann)
Packit 98cdb6
Packit 98cdb6
2005-06-27  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* modules/input/gtkimcontextxim.c (gtk_im_context_xim_finalize): 
Packit 98cdb6
	Avoid a segfault. (#309054)
Packit 98cdb6
Packit 98cdb6
2005-06-27  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gdk/x11/gdkdisplay-x11.h (struct _GdkDisplayX11): Add
Packit 98cdb6
	fields for grab timestamps.
Packit 98cdb6
Packit 98cdb6
	* gdk/x11/gdkmain-x11.c (gdk_pointer_grab, gdk_keyboard_grab): 
Packit 98cdb6
	Store grab timestamps when grabbing.
Packit 98cdb6
	
Packit 98cdb6
	* gdk/x11/gdkdisplay-x11.c (gdk_display_keyboard_ungrab) 
Packit 98cdb6
	(gdk_display_pointer_ungrab): Don't unset the grab_window
Packit 98cdb6
	if the timestamps indicate that the ungrab will fails.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkmenu.c (gtk_menu_grab_notify): Cancel menus when 
Packit 98cdb6
	they are grab-shadowed by something thats not a 
Packit 98cdb6
	submenu.  (#145416, Euan MacGregor)
Packit 98cdb6
Packit 98cdb6
2005-06-27  Owen Taylor  <otaylor@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtk[hv]ruler.c (gtk_[hv]ruler_draw_ticks): 
Packit 98cdb6
	Fix indentation.
Packit 98cdb6
Packit 98cdb6
2005-06-27  Kjartan Maraas  <kmaraas@gnome.org>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkhruler.c: (gtk_hruler_draw_ticks): Fix leaks
Packit 98cdb6
	* gtk/gtkvruler.c: (gtk_vruler_draw_ticks): Same
Packit 98cdb6
	Closes bug #308953.
Packit 98cdb6
Packit 98cdb6
2005-06-27  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkiconcache.c (_gtk_icon_cache_new_for_path): Use
Packit 98cdb6
	GMappedFile.
Packit 98cdb6
Packit 98cdb6
	* configure.in: Require GLib 2.7.1
Packit 98cdb6
Packit 98cdb6
2005-06-26  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* modules/input/gtkimcontextxim.c (gtk_im_context_xim_finalize): 
Packit 98cdb6
	Unregister XIM callbacks here.  (#309054)
Packit 98cdb6
Packit 98cdb6
	* modules/input/gtkimcontextxim.h: Small cleanup.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkmenu.c (gtk_menu_paint): Pay attention to the
Packit 98cdb6
	scroll offset when drawing the box.  (#308834, Tom von 
Packit 98cdb6
	Schwerdtner)
Packit 98cdb6
Packit 98cdb6
2005-06-26  Tor Lillqvist  <tml@novell.com>
Packit 98cdb6
Packit 98cdb6
	* gdk/Makefile.am
Packit 98cdb6
	* gtk/Makefile.am: Current GNU tools do understand the PRIVATE
Packit 98cdb6
	keyword, so no need to remove those entries from the import
Packit 98cdb6
	library. libtool installs the .dll.a import library itself, so no
Packit 98cdb6
	need to do it here. Install the .def file.
Packit 98cdb6
Packit 98cdb6
Sun Jun 26 00:04:36 2005  Manish Singh  <yosh@gimp.org>
Packit 98cdb6
Packit 98cdb6
	* gdk/gdkevents.c (gdk_event_get_time, gdk_event_get_state): add
Packit 98cdb6
	GDK_GRAB_BROKEN to the switch cases.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkmenushell.c (gtk_menu_shell_grab_broken): remove unused
Packit 98cdb6
	variables.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkpaned.c (gtk_paned_grab_broken): return TRUE.
Packit 98cdb6
Packit 98cdb6
2005-06-26  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtktreeview.c (gtk_tree_view_grab_broken): Stop column
Packit 98cdb6
	header drag operations if the grab is broken.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkhsv.c (gtk_hsv_grab_broken): Stop the drag if
Packit 98cdb6
	the grab is broken.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkcombobox.c (gtk_combo_box_popdown): Don't do 
Packit 98cdb6
	explicitly ungrab pointer and keyboard. We're unmapping
Packit 98cdb6
	the grab window anyway. 
Packit 98cdb6
	(gtk_combo_box_popup): Handle grab failures.
Packit 98cdb6
Packit 98cdb6
2005-06-25  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gdk/x11/gdkmain-x11.c (gdk_keyboard_grab, gdk_pointer_grab):
Packit 98cdb6
	Don't emit grab-broken for overgrabbing, until we figure
Packit 98cdb6
	out how to do that without breaking the menu code.
Packit 98cdb6
Packit 98cdb6
2005-06-25  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	Add a GrabBroken event to GDK, and a grab-broken-event
Packit 98cdb6
	signal to GtkWidget.  (#107320, Simon Cooke, initial patch 
Packit 98cdb6
	by John Ehresman)
Packit 98cdb6
Packit 98cdb6
	* gdk/gdkevents.h: Add a GDK_GRAB_BROKEN event type,
Packit 98cdb6
	define a GdkEventGrabBroken event struct.
Packit 98cdb6
Packit 98cdb6
	* gdk/win32/gdkevents-win32.c (gdk_event_translate): 
Packit 98cdb6
	Generate GrabBroken events in response to WM_KILLFOCUS.
Packit 98cdb6
Packit 98cdb6
	* gdk/x11/gdkmain-x11.c: Generate GrabBroken events
Packit 98cdb6
	when a grab is broken by the window becoming unviewable,
Packit 98cdb6
	or by another grab from the same client.
Packit 98cdb6
	
Packit 98cdb6
	* gtk/gtkwidget.h (GtkWidgetClass): Add grab_broken_event.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkwidget.c (gtk_widget_event_internal): Translate
Packit 98cdb6
	GrabBroken events into grab_broken_event signals.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkmain.c (gtk_main_do_event): Propagate GrabBroken
Packit 98cdb6
	events.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkmenushell.c (gtk_menu_shell_grab_broken): Deactivate
Packit 98cdb6
	the menu when the grab is broken.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkcolorsel.c (gtk_color_selection_grab_broken): Stop 
Packit 98cdb6
	the color picker if the grab is broken.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkpaned.c (gtk_paned_grab_broken): Stop the drag if
Packit 98cdb6
	the grab is broken.
Packit 98cdb6
Packit 98cdb6
2005-06-25  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	Add some new stock items.  (#166480, Kristof Vansant)
Packit 98cdb6
	
Packit 98cdb6
	* gtk/stock-icons/stock_fullscreen_16.png: 
Packit 98cdb6
	* gtk/stock-icons/stock_fullscreen_24.png: 
Packit 98cdb6
	* gtk/stock-icons/stock_leave_fullscreen_16.png: 
Packit 98cdb6
	* gtk/stock-icons/stock_leave_fullscreen_24.png: 
Packit 98cdb6
	* gtk/stock-icons/stock_info_16.png: 
Packit 98cdb6
	* gtk/stock-icons/stock_info_24.png: New icons.
Packit 98cdb6
Packit 98cdb6
	* gtk/stock-icons/Makefile.am: Add new icons.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkstock.h: Define names for the new icons.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkstock.c (builtin_items): Register new stock items.
Packit 98cdb6
	
Packit 98cdb6
	* gtk/gtkiconfactory.c (get_default_icons): Register new 
Packit 98cdb6
	stock icons.
Packit 98cdb6
Packit 98cdb6
2005-06-24  Owen Taylor  <otaylor@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gdk/gdkrgb.c (gdk_rgb_select_conv): Fix up selection of
Packit 98cdb6
	conversion functions for MSB machines: convert_0888[_br]
Packit 98cdb6
	now work on bytes so are endian independent. 
Packit 98cdb6
	(Reported by David Zeuthen)
Packit 98cdb6
Packit 98cdb6
2005-06-24  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtktextview.c (gtk_text_view_scroll_hpages): Don't
Packit 98cdb6
	jump to the next line if we are at the end of the line.  
Packit 98cdb6
	(gtk_text_view_move_cursor_internal): Make movement by
Packit 98cdb6
	paragraphs up/down symmetric.  (#307055, Behnam Esfahbod)
Packit 98cdb6
Packit 98cdb6
2005-06-23  Tor Lillqvist  <tml@novell.com>
Packit 98cdb6
Packit 98cdb6
	Improve and simplify line segment rendering on Win32, especially
Packit 98cdb6
	the implementation of GDK_CAP_NOT_LAST, and dashed lines. Fixes
Packit 98cdb6
	bugs #306396 and #308413.
Packit 98cdb6
Packit 98cdb6
	* gdk/win32/gdkprivate-win32.h (GdkGCWin32): Save the GdkGC's
Packit 98cdb6
	line_style, cap_style and join_style as such in the
Packit 98cdb6
	GdkGCWin32. Don't need to keep the pen_double_dash flag, we can
Packit 98cdb6
	check the line_style.
Packit 98cdb6
Packit 98cdb6
	* gdk/win32/gdkgc-win32.c (fixup_pen): New internal function. Sets
Packit 98cdb6
	up the GDI pen type, style, end cap and join attributes to use
Packit 98cdb6
	based on the pen width, GDK line style, end cap style, and join
Packit 98cdb6
	style.
Packit 98cdb6
Packit 98cdb6
	For a narrow (zero-width) GDK pen with the GDK_CAP_NOT_LAST end
Packit 98cdb6
	cap style, which typically are used for XOR drawing where it is
Packit 98cdb6
	essential that the last pixel is not drawn, use a GDI cosmetic
Packit 98cdb6
	pen. Only for a cosmetic pen does GDI not draw the last pixel. I
Packit 98cdb6
	deduced this by experimetation, the documentation is rather vague.
Packit 98cdb6
Packit 98cdb6
	For other GDK pens use a geometric GDI pen. If the width is 0 or 1
Packit 98cdb6
	and the GDK end cap style is GDK_CAP_BUTT, and the line style is
Packit 98cdb6
	GDK_LINE_SOLID, use PS_ENDCAP_ROUND. This ensures that also
Packit 98cdb6
	single-pixel length lines are drawn. (For sngle-pixel width lines
Packit 98cdb6
	roundness as such is of course irrelevant.) For dashed lines, use
Packit 98cdb6
	PS_ENDCAP_FLAT.
Packit 98cdb6
Packit 98cdb6
	For wide lines use PS_ENDCAP_FLAT, _ROUND or _SQUARE,
Packit 98cdb6
	respectively, for GDK_CAP_BUTT, GDK_CAP_ROUND and GDK_CAP_PROJECTING.
Packit 98cdb6
Packit 98cdb6
	For one pixel on-off dashed lines, use PS_ALTERNATE, it seems to
Packit 98cdb6
	work better than PS_USERSTYLE. For other dashed lines, use
Packit 98cdb6
	PS_USERSTYLE and the dashes as set by the user (or the default
Packit 98cdb6
	four-pixel on-off style).
Packit 98cdb6
Packit 98cdb6
	(gdk_win32_gc_values_to_win32values, gdk_win32_gc_set_dashes):
Packit 98cdb6
	Call fixup_pen() to do the pen settings after modifying some of
Packit 98cdb6
	the GDK GC attributes that affect pens.
Packit 98cdb6
Packit 98cdb6
	* gdk/win32/gdkdrawable-win32.c (render_line_horizontal,
Packit 98cdb6
	render_line_vertical, draw_segments): Check GdkGCWin32::line_style
Packit 98cdb6
	instead of the the removed pen_double_dash member. Don't use
Packit 98cdb6
	PATCOPY unconditionally in the PatBlt() call, use a raster op
Packit 98cdb6
	code that depends on the GC function in use.
Packit 98cdb6
Packit 98cdb6
	(draw_rectangle, draw_segments, draw_lines): Be more careful in
Packit 98cdb6
	deciding when to do the manual dash rendering.
Packit 98cdb6
Packit 98cdb6
	(draw_segments): Don't do any manual "last point" drawing at
Packit 98cdb6
	all. The above changes takes care of narrow line segments being
Packit 98cdb6
	drawn correctly in most cases, at least on NT-based Windows.
Packit 98cdb6
Packit 98cdb6
2005-06-23  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkfilesystemunix.c (gtk_file_system_unix_get_folder): 
Packit 98cdb6
	Fix an error in the cache timeout logic.  (#166601, Morten
Packit 98cdb6
	Welinder)
Packit 98cdb6
Packit 98cdb6
	* gtk/gtktreeview.c (gtk_tree_view_key_press): Change the
Packit 98cdb6
	keynav for header reordering and resizing to Alt-arrows and
Packit 98cdb6
	Shift-Alt-arrows, following a proposal by the keynav 
Packit 98cdb6
	authority. (#308666, Calum Benson)
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkiconcache.c (_gtk_icon_cache_new_for_path): Remove
Packit 98cdb6
	a leftover debugging envvar.  
Packit 98cdb6
Packit 98cdb6
2005-06-23  Owen Taylor  <otaylor@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gdk/gdkcairo.c (gdk_cairo_set_source_pixbuf): Fix the
Packit 98cdb6
	big endian case for 3-channel source. (Reported by
Packit 98cdb6
	David Zeuthen)
Packit 98cdb6
Packit 98cdb6
2005-06-23  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkbutton.c (gtk_button_construct_child): Don't
Packit 98cdb6
	trigger warnings if there are extra references to the
Packit 98cdb6
	hbox.  (#308677, Dan Winship)
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkfilesystemunix.c (bookmark_list_write): Use
Packit 98cdb6
	g_file_set_contents().  (#308722, Morten Welinder)
Packit 98cdb6
Packit 98cdb6
2005-06-22  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gdk/x11/gdkdnd-x11.c (xdnd_finished_filter): Set the
Packit 98cdb6
	time field in the event.  (#308573, Morten Welinder)
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkfilesystemunix.c: Remove gratitious differences
Packit 98cdb6
	between the stable branch and HEAD, which sneaked in with
Packit 98cdb6
	the bookmark renaming.  
Packit 98cdb6
Packit 98cdb6
2005-06-22  Kjartan Maraas  <kmaraas@gnome.org>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkhsv.c: (gtk_hsv_expose): Don't leak the cairo context
Packit 98cdb6
	Closes bug #308581.
Packit 98cdb6
Packit 98cdb6
2005-06-21  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkarrow.c:
Packit 98cdb6
	* gtk/gtkimage.c:
Packit 98cdb6
	* gtk/gtklabel.c:
Packit 98cdb6
	* gtk/gtkpixmap.c: Modify all of the GtkMisc widgets to round down
Packit 98cdb6
	on centering calculations to match the behaviour of other parts
Packit 98cdb6
	of GTK+. (#307419, Ryan Lortie)
Packit 98cdb6
Packit 98cdb6
2005-06-21  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkdnd.c (gtk_drag_source_set): Connect to 
Packit 98cdb6
	button-release-event as well, to handle touchscreen 
Packit 98cdb6
	scenarios better.  (#171490, Markku Vire)
Packit 98cdb6
Packit 98cdb6
	* gtk/*.h: Trivial cleanups. (#169647, #303455, 
Packit 98cdb6
	Fabricio Barros Cabral, Benoit Carpentier)
Packit 98cdb6
Packit 98cdb6
	* gdk/gdk.symbols: 
Packit 98cdb6
	* gdk/gdkwindow.h: 
Packit 98cdb6
	* gdk/x11/gdkgeometry-x11.c (gdk_window_move_region): New
Packit 98cdb6
	function which can be used to implement scrolling in 
Packit 98cdb6
	non-window widgets.  (#135165, Søren Sandmann)
Packit 98cdb6
Packit 98cdb6
2005-06-20  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkiconcache.c: Handle MAP_FAILED.  (#308449, Georg
Packit 98cdb6
	Schwarz)
Packit 98cdb6
Packit 98cdb6
2005-06-20  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* configure.in: Bump version number.
Packit 98cdb6
Packit 98cdb6
	* === Released 2.7.0 ===
Packit 98cdb6
Packit 98cdb6
2005-06-20  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtk.symbols:
Packit 98cdb6
	* gtk/gtkwindow.h:
Packit 98cdb6
	* gtk/gtkwindow.c (gtk_window_present_with_time): Variant of
Packit 98cdb6
	gtk_window_present which takes a timestamp.  (#166379, Elijah Newren)
Packit 98cdb6
Packit 98cdb6
2005-06-19  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
	
Packit 98cdb6
	* gtk/gtk.symbols: Add a forgotten symbol
Packit 98cdb6
Packit 98cdb6
	* NEWS: Updates
Packit 98cdb6
Packit 98cdb6
2005-06-19  Kristian Rietveld  <kris@gtk.org>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtktreeview.c (gtk_tree_view_clamp_node_visible): added a
Packit 98cdb6
	check which avoids processing updates on bin_window and scrolling
Packit 98cdb6
	if the node is already visible. (#170600, Billy Biggs).
Packit 98cdb6
Packit 98cdb6
2005-06-19  Kristian Rietveld  <kris@gtk.org>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtktreeview.c (validate_visible_area): only keep the
Packit 98cdb6
	row at the same position if the full row is visible. (#304623,
Packit 98cdb6
	Jorn Baayen).
Packit 98cdb6
Packit 98cdb6
2005-06-19  Kristian Rietveld  <kris@gtk.org>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtktreeview.c (gtk_tree_view_size_allocate): set dy to zero
Packit 98cdb6
	if treeview's height is smaller than the current page_size (just
Packit 98cdb6
	like we do elsewhere).
Packit 98cdb6
Packit 98cdb6
2005-06-19  Kristian Rietveld  <kris@gtk.org>
Packit 98cdb6
Packit 98cdb6
	Make mousewheel scrolling possible in typeahead mode, suggestion
Packit 98cdb6
	from Reinout van Schouwen (#307898).
Packit 98cdb6
Packit 98cdb6
	* gtk/gtktreeview.c (gtk_tree_view_ensure_interactive_directory):
Packit 98cdb6
	connect treeview search window to scroll_event signal,
Packit 98cdb6
	(gtk_tree_view_search_scroll_event): implement.
Packit 98cdb6
Packit 98cdb6
2005-06-19  Kristian Rietveld  <kris@gtk.org>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtktreeview.c (gtk_tree_view_search_button_press_event): pass
Packit 98cdb6
	the event on to treeview, so it has a change of selecting a row, etc.
Packit 98cdb6
	(#169677, Kirk Bridger).
Packit 98cdb6
Packit 98cdb6
2005-06-19  Kristian Rietveld  <kris@gtk.org>
Packit 98cdb6
Packit 98cdb6
	This commit includes a fix for #169463, Stefan Kost.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_get_size):
Packit 98cdb6
	when cell_area is set, return cell_area width/height as width/height,
Packit 98cdb6
	so the focus rectangle will be drawn correctly.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtktreeview.c (gtk_tree_view_bin_expose): drop unneeded get
Packit 98cdb6
	of focus-line-width property,
Packit 98cdb6
	(validate_row): take focus_line_width into account.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action):
Packit 98cdb6
	also take focus_line_width into account when calculating the cell_area
Packit 98cdb6
	y and height (before, we only took it into account when calculating
Packit 98cdb6
	x and width).
Packit 98cdb6
Packit 98cdb6
2005-06-19  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtk.symbols:
Packit 98cdb6
	* gtk/gtksizegroup.[hc]: Add an ignore-hidden property
Packit 98cdb6
	with getter and setter.  (#171612, Christian Neumair)
Packit 98cdb6
Packit 98cdb6
2005-06-18  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkuimanager.c (gtk_ui_manager_add_ui): Make this 
Packit 98cdb6
	work for inserting before/after an existing menuitem or
Packit 98cdb6
	toolitem.  (#155946, Christian Persch)
Packit 98cdb6
Packit 98cdb6
	* tests/testmerge.c (delayed_toggle_dynamic): Test the 
Packit 98cdb6
	"insert after" functionality of gtk_ui_manager_add_ui.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkuimanager.c: Allow to construct menu tool buttons.
Packit 98cdb6
	(#300678, Sven Neumann)
Packit 98cdb6
	
Packit 98cdb6
	* demos/gtk-demo/appwindow.c: Demonstrate menu tool buttons
Packit 98cdb6
	constructed with GtkUIManager.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtk.symbols: 
Packit 98cdb6
	* gtk/gtkimage.h: 
Packit 98cdb6
	* gtk/gtkimage.c (gtk_image_clear): Make this function
Packit 98cdb6
	public.  (#64792, Havoc Pennington)
Packit 98cdb6
Packit 98cdb6
2005-06-18  Kristian Rietveld  <kris@gtk.org>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtktreeview.c (gtk_tree_view_bin_expose): undo merging
Packit 98cdb6
	of the separate loop setting cell data with cell drawing loop
Packit 98cdb6
	(introduced in revision 1.280), since this breaks focus handling
Packit 98cdb6
	wrt special cells.
Packit 98cdb6
Packit 98cdb6
Sat Jun 18 04:22:51 2005  Manish Singh  <yosh@gimp.org>
Packit 98cdb6
Packit 98cdb6
	* gdk/gdkcursor.h: remove GDK_CURSOR and GDK_IS_CURSOR, instance
Packit 98cdb6
	checks don't work on boxed types.
Packit 98cdb6
Packit 98cdb6
	* gdk/x11/gdkcursor-x11.c: 
Packit 98cdb6
	* gdk/gdkcursor.c: make return_if_fail checks != NULL instead of
Packit 98cdb6
	GDK_IS_CURSOR.
Packit 98cdb6
	
Packit 98cdb6
Sat Jun 18 04:21:58 2005  Manish Singh  <yosh@gimp.org>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtktreeview.c (do_presize_handler): remove unused variable
Packit 98cdb6
	height_old.
Packit 98cdb6
Packit 98cdb6
2005-06-18  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkcellrenderertoggle.c:
Packit 98cdb6
	* gtk/gtktextview.c:
Packit 98cdb6
	* gtk/gtktreeview.c: Typo fixes in comments.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkpaned.c (gtk_paned_add): Barf if more than
Packit 98cdb6
	2 children are added.  (#308111, Morten Welinder)
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkcalendar.c (gtk_calendar_init): _NL_FIRST_WEEKDAY is
Packit 98cdb6
	1-based.  (#163842, Pierre Ossman)
Packit 98cdb6
Packit 98cdb6
2005-06-17  Kristian Rietveld  <kris@gtk.org>
Packit 98cdb6
Packit 98cdb6
	Fix #160281, testcase from Peter Bloomfield.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtktreeview.c (do_presize_handler): always size request
Packit 98cdb6
	and update adjustments in fixed height mode,
Packit 98cdb6
	(gtk_tree_view_build_tree): if a fixed height is set, set this
Packit 98cdb6
	height on newly added nodes.
Packit 98cdb6
Packit 98cdb6
2005-06-17  Tor Lillqvist  <tml@novell.com>
Packit 98cdb6
Packit 98cdb6
	* gdk/win32/gdkdnd-win32.c (gdk_dropfiles_filter): Set the actions
Packit 98cdb6
	and suggested_action fields in the GdkDragContext to
Packit 98cdb6
	GDK_ACTION_COPY. Otherwise apps that check the suggested_action
Packit 98cdb6
	field, like eog, won't accept dropped files.
Packit 98cdb6
Packit 98cdb6
2005-06-17  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	Support the ICCCM urgency hint.  (#61858, Havoc Pennington)
Packit 98cdb6
	
Packit 98cdb6
	* gtk/gtk.symbols: 
Packit 98cdb6
	* gtk/gtkwindow.[hc]: Add a GtkWindow::urgency-hint property
Packit 98cdb6
	with getter and setter.
Packit 98cdb6
Packit 98cdb6
	* gdk/gdk.symbols: 
Packit 98cdb6
	* gdk/gdkwindow.h: 
Packit 98cdb6
	* gdk/x11/gdkwindow-x11.c (gdk_window_set_urgency_hint): 
Packit 98cdb6
	Add a setter for the urgency hint.
Packit 98cdb6
Packit 98cdb6
	* gdk/x11/gdkwindow-x11.h (struct _GdkToplevelX11): Store
Packit 98cdb6
	urgency hint here.
Packit 98cdb6
Packit 98cdb6
	* gdk/x11/gdkwindow-x11.c (update_wm_hints): Set the urgency
Packit 98cdb6
	hint in the WM_HINTS property when appropriate.
Packit 98cdb6
Packit 98cdb6
2005-06-17  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gdk/gdkcursor.h: Define GDK_IS_CURSOR() and GDK_CURSOR().
Packit 98cdb6
Packit 98cdb6
	* gdk/x11/gdkcursor-x11.c: 
Packit 98cdb6
	* gdk/gdkcursor.c: Improve some return_if_fail checks,
Packit 98cdb6
	and add the missing non-Xcursor fallback for 
Packit 98cdb6
	_gdk_x11_cursor_update_theme(), noticed by Jeroen 
Packit 98cdb6
	Zwartepoorte.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkbutton.c (gtk_button_class_init): Document
Packit 98cdb6
	several button signals as not useful.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkentrycompletion.c (gtk_entry_completion_complete): 
Packit 98cdb6
	Resize the popup if necessary.  (#308076, Vincent Noel)
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkwindow.c (gtk_window_real_set_focus): Queue a
Packit 98cdb6
	draw on the old and new focus widgets, if their defaultness
Packit 98cdb6
	changes.  (#305607, Billy Biggs)
Packit 98cdb6
Packit 98cdb6
2005-06-17  Kristian Rietveld  <kris@gtk.org>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtktreeview.c (validate_visible_area): make sure the row
Packit 98cdb6
	above 'above_path' is always in a validated state, so it does
Packit 98cdb6
	not mess up scrolling. (#303319, testcase from Billy Biggs).
Packit 98cdb6
Packit 98cdb6
2005-06-17  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gdk/x11/gdkprivate-x11.h: 
Packit 98cdb6
	* gdk/x11/gdkcursor-x11.c: Handle cursor theme changes
Packit 98cdb6
	for cached cursors which are not associated with a window
Packit 98cdb6
	at the time of the theme change, by storing a serial
Packit 98cdb6
	number in each cursor, and updating the theme_serial 
Packit 98cdb6
	counter whenever the cursor theme changes.
Packit 98cdb6
	
Packit 98cdb6
	* gdk/x11/gdkcursor-x11.c (_gdk_x11_cursor_update_theme): 
Packit 98cdb6
	Private function to update a cursor to the current
Packit 98cdb6
	cursor theme if necessary.
Packit 98cdb6
Packit 98cdb6
	* gdk/x11/gdkmain-x11.c (gdk_pointer_grab): 
Packit 98cdb6
	* gdk/x11/gdkwindow-x11.c (gdk_window_set_cursor): Call
Packit 98cdb6
	_gdk_x11_cursor_update_theme() here.
Packit 98cdb6
Packit 98cdb6
2005-06-17  Owen Taylor  <otaylor@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gdk/gdkcairo.c (gdk_cairo_set_source_pixbuf): Fix
Packit 98cdb6
	#if G_BYTE_ORDER == GDK_LSB_FIRST.
Packit 98cdb6
Packit 98cdb6
2005-06-17  Kristian Rietveld  <kris@gtk.org>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtktreeview.c (validate_visible_area): don't try to update
Packit 98cdb6
	the top_row rowref ourselves here, but just have _dy_to_top_row()
Packit 98cdb6
	do it,
Packit 98cdb6
	(gtk_tree_view_scroll_to_cell): handle scrolling via
Packit 98cdb6
	validate_visible_area() if the treeview is not visible or needs
Packit 98cdb6
	reallocation. (#165246, Nickolay V. Shmyrev).
Packit 98cdb6
Packit 98cdb6
2005-06-17  Kristian Rietveld  <kris@gtk.org>
Packit 98cdb6
Packit 98cdb6
	Fixes #307914 (Alexander Larsson), fixing some breakage caused
Packit 98cdb6
	by my previous commit.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtktreeview.c (validate_visible_area): force dy to be zero
Packit 98cdb6
	when it fits on a single page,
Packit 98cdb6
	(scroll_sync_handler): same here.
Packit 98cdb6
Packit 98cdb6
Thu Jun 16 15:33:42 2005  Manish Singh  <yosh@gimp.org>
Packit 98cdb6
Packit 98cdb6
	* gdk/x11/gdkcursor-x11.c (update_cursor): remove unused variable.
Packit 98cdb6
Packit 98cdb6
	* gdk/x11/gdkwindow-x11.c (_gdk_x11_window_get_cursor): use
Packit 98cdb6
	g_return_val_if_fail.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkdnd.c (gtk_drag_get_cursor): initialize hot_x and hot_y
Packit 98cdb6
	for all cases.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkfilechooserdefault.c (button_new): gtk_button_set_image
Packit 98cdb6
	takes a GtkWidget, not a GtkImage.
Packit 98cdb6
Packit 98cdb6
2005-06-16  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkfilechooserdefault.c (button_new): Simplify
Packit 98cdb6
	the code and respect the show-button-images setting.
Packit 98cdb6
	(#307941, Vincent Noel)
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkdnd.c: Update the RGBA cursor if an
Packit 98cdb6
	icon is set after the cursor has been constructed.
Packit 98cdb6
	Also handle repeated setting of icons correctly.
Packit 98cdb6
Packit 98cdb6
2005-06-16  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkbutton.c (gtk_button_set_image): Add some more
Packit 98cdb6
	docs.  (#307818, Christian Persch)
Packit 98cdb6
Packit 98cdb6
2005-06-15  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gdk/gdkwindow.c (gdk_window_process_updates_internal):
Packit 98cdb6
	Initialize all fields of the expose event.  (#151693,
Packit 98cdb6
	Jim Evins)
Packit 98cdb6
Packit 98cdb6
2005-06-15  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gdk/x11/gdkcursor-x11.c (gdk_cursor_get_image): Get
Packit 98cdb6
	red and blue in place.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkwindow.c (gtk_window_parse_geometry): Fox doc
Packit 98cdb6
	formatting, pointed out by Kjartan Maraas.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtksettings.c: Add two new settings, 
Packit 98cdb6
	gtk-cursor-theme-name and gtk-cursor-theme-size to
Packit 98cdb6
	control the cursor theme.
Packit 98cdb6
Packit 98cdb6
	* gdk/x11/gdkevents-x11.c: Add two new X settings,
Packit 98cdb6
	Gtk/CursorThemeName and Gtk/CursorThemeSize, and map
Packit 98cdb6
	these to the gtk settings.
Packit 98cdb6
Packit 98cdb6
	* tests/testgtk.c (create_cursors): Add a cursor theme
Packit 98cdb6
	testcase.
Packit 98cdb6
Packit 98cdb6
	* gdk/x11/gdkwindow-x11.[hc]: Keep a reference to the 
Packit 98cdb6
	GdkCursor and add a private getter for it, so that we can 
Packit 98cdb6
	update the cursor when the cursor theme changes.
Packit 98cdb6
	
Packit 98cdb6
	* gdk/gdk.symbols: 
Packit 98cdb6
	* gdk/x11/gdkx.h: 
Packit 98cdb6
	* gdk/x11/gdkcursor-x11.c (gdk_x11_display_set_cursor_theme): 
Packit 98cdb6
	New function to change the cursor theme.
Packit 98cdb6
Packit 98cdb6
	* gdk/x11/gdkwindow-x11.c: Remove a lot of pointless
Packit 98cdb6
	g_return_if_fail() non-NULL checks.
Packit 98cdb6
Packit 98cdb6
2005-06-15  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gdk/abicheck.sh: Use uniq to filter out duplicates.
Packit 98cdb6
	* gdk/gdk.symbols: Fix a define.
Packit 98cdb6
Packit 98cdb6
2005-06-14  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkwindow.c (gtk_window_parse_geometry):
Packit 98cdb6
	Fix up the example.  (#307699, Michal Suchanek)
Packit 98cdb6
Packit 98cdb6
2005-06-14  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkcalendar.c: Update num_marked_dates as we
Packit 98cdb6
	used to do.  (#307689, Thorsten Schoenfeld)
Packit 98cdb6
 
Packit 98cdb6
2005-06-14  Federico Mena Quintero  <federico@ximian.com>
Packit 98cdb6
Packit 98cdb6
	Merged from gtk-2-6:
Packit 98cdb6
Packit 98cdb6
	Fix #302087:
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkfilechooserdefault.c (list_selection_changed): Emit
Packit 98cdb6
	"selection-changed" and do the normal housekeeping even if we are
Packit 98cdb6
	in SAVE mode and there is nothing selected.  We didn't emit that
Packit 98cdb6
	signal if we were in SAVE mode and unselect_all() got called.
Packit 98cdb6
	(gtk_file_chooser_default_unselect_all): Call
Packit 98cdb6
	pending_select_paths_free() so that we cancel any asynchronous
Packit 98cdb6
	selections.
Packit 98cdb6
	(gtk_file_chooser_default_set_current_name): Likewise.
Packit 98cdb6
Packit 98cdb6
2005-06-14  Federico Mena Quintero  <federico@ximian.com>
Packit 98cdb6
Packit 98cdb6
	Merged from gtk-2-6:
Packit 98cdb6
Packit 98cdb6
	Fixes #307640:
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkfilechooserdefault.c
Packit 98cdb6
	(gtk_file_chooser_default_should_respond): Oops, I broke SAVE
Packit 98cdb6
	mode.  If the parent path is a folder, only create a subfolder if
Packit 98cdb6
	we are in CREATE_FOLDER mode; if we are in SAVE mode, just return
Packit 98cdb6
	and respond.  Also, pick up the case where the user types
Packit 98cdb6
	"dirname/" instead of "dirname".
Packit 98cdb6
	(check_save_entry): Make the return type void.  Add some return
Packit 98cdb6
	parameters so that we can do more thorough checking.
Packit 98cdb6
	(gtk_file_chooser_default_get_paths): If the file part is empty
Packit 98cdb6
	and we are in SAVE mode, return an empty selection.
Packit 98cdb6
Packit 98cdb6
2005-06-15  Kristian Rietveld  <kris@gtk.org>
Packit 98cdb6
Packit 98cdb6
	Patch for #163214 (reported by Tommi Komulainen) and fixes some
Packit 98cdb6
	other scrolling/validation related bugs along the why.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtktreeview.c (gtk_tree_view_size_request): run
Packit 98cdb6
	do_validate_rows once and don't queue a size request there,
Packit 98cdb6
	(gtk_tree_view_size_allocate): don't update vadj value without
Packit 98cdb6
	reason, sync top_row/dy after the window sizes and adjustments
Packit 98cdb6
	are in sync again,
Packit 98cdb6
	(validate_visible_area): always update dy when scrolling,
Packit 98cdb6
	manually set top_row here after changing the vadj (don't depend
Packit 98cdb6
	on _adjustment_changed and top_row/dy sync to do this), since we
Packit 98cdb6
	now always set top_row here correctly, we can always free
Packit 98cdb6
	scroll_to_path at the end which avoids infinite expose loops,
Packit 98cdb6
	(do_validate_rows): add queue_resize boolean, remove top_row/dy
Packit 98cdb6
	sync here, we cannot do it safely at this place since the
Packit 98cdb6
	window sizes and adjustments are out of sync,
Packit 98cdb6
	(validate_rows), (validate_rows_handler): update call to
Packit 98cdb6
	do_validate_rows().
Packit 98cdb6
Packit 98cdb6
2005-06-14  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gdk/x11/gdkcursor-x11.c (gdk_cursor_new_from_name): Add a 
Packit 98cdb6
	stub for the no-Xcursor case. (noticed by Luis Villa)
Packit 98cdb6
Packit 98cdb6
	Use named cursors for the DND cursors, the names are "dnd-none",
Packit 98cdb6
	"dnd-copy", "dnd-link", "dnd-move" and "dnd-ask". Also use an RGBA 
Packit 98cdb6
	cursor instead of cursor+window when possible. This saves 
Packit 98cdb6
	roundtrips during the drag operation, and makes translucent icons 
Packit 98cdb6
	possible.
Packit 98cdb6
	
Packit 98cdb6
	* gtk/gtkdndcursors.h: New file, containing inlined pixbufs
Packit 98cdb6
	for the default dnd cursors.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkdnd.c (struct _GtkDragSourceInfo): Store the cursors
Packit 98cdb6
	used during the drag here, also store the icon pixbuf here. 
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkdnd.c (drag_cursors): Store the cursor names here. Also
Packit 98cdb6
	switch the default cursors from xbm to inlined pixbufs. 
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkdnd.c (gtk_drag_get_cursor): This function now takes the
Packit 98cdb6
	GtkDragSourceInfo as well, since it has to composite the 
Packit 98cdb6
	drag-specific cursors. The cursors combined from the image of
Packit 98cdb6
	the themed cursor and the icon_pixbuf stored in the info.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkdnd.c (gtk_drag_begin_internal): Don't set the default
Packit 98cdb6
	icon if there is an icon_pixbuf, which will be composited into
Packit 98cdb6
	the cursor later.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkdnd.c (set_icon_stock_pixbuf): If appropriate, store
Packit 98cdb6
	the pixbuf in the info struct for later compositing into the
Packit 98cdb6
	cursor instead of creating an icon window.
Packit 98cdb6
	
Packit 98cdb6
	* gtk/gtkdnd.c (gtk_drag_drop_finished): If we used an
Packit 98cdb6
	RGBA cursor for the drag, and need to display the cancel
Packit 98cdb6
	animation, construct the icon window here.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkdnd.c (gtk_drag_source_info_destroy): Unref the 
Packit 98cdb6
	drag-specific cursors and the icon_pixbuf when done with
Packit 98cdb6
	the drag.
Packit 98cdb6
Packit 98cdb6
2005-06-14  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkcolorsel.c (make_picker_cursor): Use a named cursor
Packit 98cdb6
	with the name "color-picker", when available.
Packit 98cdb6
Packit 98cdb6
	* gdk/gdk.symbols: 
Packit 98cdb6
	* gdk/gdkcursor.h: 
Packit 98cdb6
	* gdk/x11/gdkcursor-x11.c (gdk_cursor_get_image) 
Packit 98cdb6
	(gdk_cursor_new_from_name): New functions to construct named
Packit 98cdb6
	cursors and to get the image used for a cursor.  
Packit 98cdb6
Packit 98cdb6
2005-06-13  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkpathbar.[hc]: Rework the way in which rerooting of the
Packit 98cdb6
	path bar is done, implementing the following principles:
Packit 98cdb6
	(#137289, patch by Benjamin Otte)
Packit 98cdb6
	
Packit 98cdb6
	1. Re-root only if $HOME is an ancestor of the current path.
Packit 98cdb6
Packit 98cdb6
	2. When re-rooting, make sure the Left arrow appears in the path 
Packit 98cdb6
	bar, so that you can navigate up from $HOME to /.  In that case, 
Packit 98cdb6
	make sure the Right arrow doesn't appear if the sub-hierarchy from 
Packit 98cdb6
	$HOME to the cwd fits in the window.
Packit 98cdb6
Packit 98cdb6
	3. Make sure that hitting Alt-Up takes you always one folder up, 
Packit 98cdb6
	even when the path bar is re-rooted.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkaccellabel.c (_gtk_accel_label_class_get_accelerator_label): 
Packit 98cdb6
	Try harder not to modify readonly strings. (#307541, Torsten Schoenfeld)
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkfilechooserbutton.c (model_update_current_folder): 
Packit 98cdb6
	Free the data of the row before overwriting it.  (#307490,
Packit 98cdb6
	Kjartan Maraas)
Packit 98cdb6
Packit 98cdb6
2005-06-13  Kjartan Maraas  <kmaraas@gnome.org>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkcalendar.c: (calendar_paint_arrow): Don't
Packit 98cdb6
	leak the cairo context. Closes bug #307426.
Packit 98cdb6
Packit 98cdb6
2005-06-13  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	Make invisible text work a bit better (#66194, patch by
Packit 98cdb6
	Jeroen Zwartepoorte)
Packit 98cdb6
	
Packit 98cdb6
	* gtk/gtk.symbols:
Packit 98cdb6
	* gtk/gtktextiter.[hc]: Add function to move by
Packit 98cdb6
	visible lines.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtktextview.c (gtk_text_view_move_cursor_internal): 
Packit 98cdb6
	Skip invisible text when moving by paragraphs.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtktextlayout.c (gtk_text_layout_move_iter_visually): 
Packit 98cdb6
	Skip invisible lines here too.
Packit 98cdb6
Packit 98cdb6
2005-06-12  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkselection.c (gtk_target_list_add_image_targets): 
Packit 98cdb6
	Don't leak the format names.  (#307190, Morten Welinder)
Packit 98cdb6
Packit 98cdb6
2005-06-12  Kjartan Maraas  <kmaraas@gnome.org>
Packit 98cdb6
Packit 98cdb6
	* gdk/x11/gdkasync.c: (send_event_handler): Plug
Packit 98cdb6
	a leak. Closes bug #307281.
Packit 98cdb6
Packit 98cdb6
2005-06-12  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkcalendar.c (calendar_paint_header): 
Packit 98cdb6
	(gtk_calendar_size_request): Allow localization of the
Packit 98cdb6
	format in which the year is displayed.  (#135451, Paisa 
Packit 98cdb6
	Seeluangsawat)
Packit 98cdb6
Packit 98cdb6
	* gdk/*.h: Cleanup.  (#169648, Fabricio Barros Cabral)
Packit 98cdb6
Packit 98cdb6
	* gdk/gdkcairo.c: Small doc additions.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtktreeview.c (gtk_tree_view_maybe_begin_dragging_row): 
Packit 98cdb6
	Check start_button_mask before starting a drag.  (#149058, 
Packit 98cdb6
	Andreas Volz)
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkfilesystemunix.c: Support .hidden files.  (#129170,
Packit 98cdb6
	Sayamindu Dasgupta, patch by Jan Arne Petersen)
Packit 98cdb6
Packit 98cdb6
2005-06-11  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* NEWS: Updates.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkwidget.c (gtk_widget_set_app_paintable): More docs
Packit 98cdb6
	provided by Owen Taylor.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtk.symbols: 
Packit 98cdb6
	* gtk/gtkiconview.h: 
Packit 98cdb6
	* gtk/gtkiconview.c (gtk_icon_view_get_visible_range): 
Packit 98cdb6
	Add a function to determine what parts of the model are
Packit 98cdb6
	visible.  (#306726, Jonathan Blandford)
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkfilesystemunix.c (create_file_info): Treat backup
Packit 98cdb6
	files the same way as hidden files, to be closer to what
Packit 98cdb6
	Nautilus does.  (#136196, Sean Middleditch)
Packit 98cdb6
Packit 98cdb6
2005-06-10  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkaccellabel.c (_gtk_accel_label_class_get_accelerator_label): 
Packit 98cdb6
	Don't modify strings returned from gettext().
Packit 98cdb6
Packit 98cdb6
Fri Jun 10 19:06:03 2005  Manish Singh  <yosh@gimp.org>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtktextdisplay.c (render_para): don't use deprecated
Packit 98cdb6
	gdk_gc_unref function.
Packit 98cdb6
Packit 98cdb6
2005-06-10  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	Allow setting paragraph background.  (#81045, Gustavo
Packit 98cdb6
	Carneiro, patch by Jeroen Zwartepoorte)
Packit 98cdb6
	
Packit 98cdb6
	* gtk/gtktextlayout.c (set_para_values): Propagate 
Packit 98cdb6
	pg_bg_color to the display struct.
Packit 98cdb6
	(gtk_text_layout_free_line_display): Free it here.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtktextdisplay.c (render_para): If pg_bg_color
Packit 98cdb6
	is set, draw a rectangle in that color behind
Packit 98cdb6
	the paragraph.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtktexttag.c (gtk_text_tag_class_init): Add 
Packit 98cdb6
	paragraph-background, paragraph-background-gdk and
Packit 98cdb6
	paragraph-background-set properties.
Packit 98cdb6
	(set_pg_bg_color): A setter for paragraph-background.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtktextlayout.h (struct _GtkTextLineDisplay): Add
Packit 98cdb6
	pg_bg_color.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtktexttag.h (struct _GtkTextAttributes): Add
Packit 98cdb6
	pg_bg_color.
Packit 98cdb6
	(struct _GtkTextTag): Add pg_bg_color_set.
Packit 98cdb6
Packit 98cdb6
2005-06-10  Kjartan Maraas  <kmaraas@gnome.org>
Packit 98cdb6
Packit 98cdb6
	* gdk/gdkcairo.c: (gdk_cairo_set_source_pixbuf): Destroy the
Packit 98cdb6
	cairo surface when done with it. Plugs a fairly large leak in
Packit 98cdb6
	some cases.
Packit 98cdb6
	==6014== 1999824 (115640 direct, 1884184 indirect) bytes in
Packit 98cdb6
	826 blocks are definitely lost in loss record 25239 of 25250
Packit 98cdb6
	Like this from nautilus.
Packit 98cdb6
Packit 98cdb6
2005-06-10  Michael Natterer  <mitch@imendio.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtk.symbols
Packit 98cdb6
	* gtk/gtkaction.[ch] (gtk_action_get_accel_closure): new function
Packit 98cdb6
	to get an action's accel_closure (Fixes #141750 and #148106).
Packit 98cdb6
Packit 98cdb6
2005-06-10  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gdk/gen-keyname-table.pl: Generate N_() calls for
Packit 98cdb6
	translatable key names.
Packit 98cdb6
Packit 98cdb6
	* gdk/keynames.txt: Mark some key names as translatable.
Packit 98cdb6
	
Packit 98cdb6
	* gdk/keyname-table.h: Regenerated.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkaccellabel.c (gtk_accel_label_class_init): Add
Packit 98cdb6
	some context to the msg ids for keyboard modifiers and
Packit 98cdb6
	key names.
Packit 98cdb6
	(_gtk_accel_label_class_get_accelerator_label): Try to
Packit 98cdb6
	translate key names.  (#300224, Christian Rose)
Packit 98cdb6
Packit 98cdb6
2005-06-10  Federico Mena Quintero  <federico@ximian.com>
Packit 98cdb6
Packit 98cdb6
	Merged from gtk-2-6:
Packit 98cdb6
Packit 98cdb6
	Fixes #162358:
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkfilechooserdefault.c (update_chooser_entry): Don't return
Packit 98cdb6
	immediately if we are in CREATE_FOLDER mode, so that we can fill
Packit 98cdb6
	the entry with the newly-selected folder.
Packit 98cdb6
	(gtk_file_chooser_default_set_property): Warn against turning on
Packit 98cdb6
	multiple selection for CREATE_FOLDER mode, or about setting that
Packit 98cdb6
	action while multiple selection is on.
Packit 98cdb6
	(update_chooser_entry): Change the entry's contents as well if we
Packit 98cdb6
	are in CREATE_FOLDER mode.  If nothing is selected, clear the
Packit 98cdb6
	chooser entry.
Packit 98cdb6
	(trap_activate_cb): Don't trap enter/space if modifiers are
Packit 98cdb6
	pressed.  This lets one use Ctrl-space to toggle rows in multiple
Packit 98cdb6
	selection mode.
Packit 98cdb6
	(gtk_file_chooser_default_should_respond): Clean up the if-chain
Packit 98cdb6
	mess of special cases by using an array to determine what to do.
Packit 98cdb6
	Also, for the save-entry case in CREATE_FOLDER mode, actually fix
Packit 98cdb6
	the bug where the file chooser would switch to an existing folder
Packit 98cdb6
	rather than confirming with it, and create the folder ourselves.
Packit 98cdb6
	(error_creating_folder_over_existing_file_dialog): New function.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkfilechooserentry.c (check_completion_callback): Only
Packit 98cdb6
	insert the common prefix if we are in an "open" mode.  Use a
Packit 98cdb6
	helper function.
Packit 98cdb6
	(append_common_prefix): New helper function; code moved over from
Packit 98cdb6
	check_completion_callback().
Packit 98cdb6
	(find_common_prefix): New helper function.
Packit 98cdb6
	(gtk_file_chooser_entry_focus): Append the common prefix if the
Packit 98cdb6
	user requests it explicitly.
Packit 98cdb6
Packit 98cdb6
2005-06-10  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_expand): 
Packit 98cdb6
	* gtk/gtktoolbar.c (gtk_toolbar_get_show_arrow): 
Packit 98cdb6
	* gtk/gtktextview.c (gtk_text_view_get_iter_at_position): 
Packit 98cdb6
	* gtk/gtkstock.c (gtk_stock_set_translate_func): 
Packit 98cdb6
	* gtk/gtkspinbutton.c (gtk_spin_button_get_adjustment): 
Packit 98cdb6
	* gtk/gtkscrolledwindow.h: 
Packit 98cdb6
	* gtk/gtkmenushell.c (gtk_menu_shell_get_take_focus): 
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkiconview.c (gtk_icon_view_set_margin): 
Packit 98cdb6
	* gtk/gtkicontheme.c (gtk_icon_info_load_icon): 
Packit 98cdb6
	* gtk/gtkcalendar.c (gtk_calendar_thaw): Doc fixes.
Packit 98cdb6
Packit 98cdb6
2005-06-09  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gdk/x11/gdkwindow-x11.c: Small markup fixes.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkwidget.c (gtk_widget_set_app_paintable): Add docs.
Packit 98cdb6
	(#306212, Steve Chaplin, docs provided by Billy Biggs)
Packit 98cdb6
Packit 98cdb6
	* gtk/gtktextbtree.c (_gtk_text_btree_char_is_invisible): Small 
Packit 98cdb6
	cleanup.  (#305539, Paolo Borelli)
Packit 98cdb6
Packit 98cdb6
2005-06-09  Rodrigo Moya <rodrigo@novell.com>
Packit 98cdb6
Packit 98cdb6
	* configure.in: added cairo to list of $GTK_PACKAGES.
Packit 98cdb6
Packit 98cdb6
2005-06-09  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gdk/x11/gdkdnd-x11.c (motif_drop_start, xdnd_drop_filter): Update
Packit 98cdb6
	the user time on the window when a drop happens.  (#169364, Alexander
Packit 98cdb6
	Hunziker, patch by Elijah Newren)
Packit 98cdb6
Packit 98cdb6
	* gdk/x11/gdkwindow-x11.c: Small markup fixes.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtk.symbols: 
Packit 98cdb6
	* gtk/gtkiconview.h: 
Packit 98cdb6
	* gtk/gtkiconview.c (gtk_icon_view_scroll_to_path): New function
Packit 98cdb6
	to scroll to a path.  (#306838, Jonathan Blandford)
Packit 98cdb6
Packit 98cdb6
2005-06-08  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkiconview.c (gtk_icon_view_set_cursor): Scroll to the
Packit 98cdb6
	item.  (#306839, Jonathan Blandford)
Packit 98cdb6
Packit 98cdb6
	* gtk/gtktreemodel.c (gtk_tree_path_new_from_string): Check for
Packit 98cdb6
	negative before appending the index, to avoid double error
Packit 98cdb6
	message.  (#306393, Morten Welinder)
Packit 98cdb6
Packit 98cdb6
	* gtk/gtktreeview.c (gtk_tree_view_real_start_interactive_search): 
Packit 98cdb6
	Don't crash if search_window is NULL.  (#304914, Victor Osadci,
Packit 98cdb6
	testcase by Olaf Vitters)
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkimage.c: Make the file property readable.  
Packit 98cdb6
	(#170674, Lorenzo Gil Sanchez)
Packit 98cdb6
Packit 98cdb6
	
Packit 98cdb6
2005-06-08  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkfilesystem.c (gtk_file_info_get_display_key): Use
Packit 98cdb6
	g_utf8_collate_key_for_filename().
Packit 98cdb6
Packit 98cdb6
2005-06-07  Kjartan Maraas  <kmaraas@gnome.org>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkfilechooserbutton.c: (update_label_and_image):
Packit 98cdb6
	Merge leak fix from stable. Bug 306754.
Packit 98cdb6
Packit 98cdb6
2005-06-05  Tor Lillqvist  <tml@novell.com>
Packit 98cdb6
Packit 98cdb6
	* gdk/win32/gdkscreen-win32.c
Packit 98cdb6
	(_gdk_windowing_substitute_screen_number): Return NULL unless
Packit 98cdb6
	screen number is zero. We have only one screen on Win32.
Packit 98cdb6
	(gdk_screen_make_display_name): Call gdk_display_get_name() and
Packit 98cdb6
	return that.
Packit 98cdb6
	
Packit 98cdb6
	* modules/engines/Makefile.am
Packit 98cdb6
	* modules/input/Makefile.am: Decide whether to build the
Packit 98cdb6
	ms-windows theme engine based on the GDK backend, not based on
Packit 98cdb6
	platform. (I.e., if building for Cygwin with the X11 backend, we
Packit 98cdb6
	shouldn't build the ms-windows engine, but if building for Cygwin
Packit 98cdb6
	but with the Win32 backend, we should.) Ditto for the IME
Packit 98cdb6
	(Windows) input module. (#305832)
Packit 98cdb6
Packit 98cdb6
2005-06-04  Tor Lillqvist  <tml@novell.com>
Packit 98cdb6
Packit 98cdb6
	* gdk/win32/gdkcursor-win32.c
Packit 98cdb6
	* gdk/win32/gdkwindow-win32.c
Packit 98cdb6
	* gdk/win32/gdkprivate-win32.h: Support full-colour cursors.
Packit 98cdb6
	Support cursors with alpha on XP. Use code in common with the
Packit 98cdb6
	support for alpha icons that already was present. (#306101, Tim
Packit 98cdb6
	Evans)
Packit 98cdb6
Packit 98cdb6
	* modules/engines/ms-windows/msw_style.c: Render insensitive icons
Packit 98cdb6
	in a way that more closely matches Windows. (#305986, Tim Evans).
Packit 98cdb6
Packit 98cdb6
	* modules/engines/ms-windows/Makefile.am (LDADDS): Link with
Packit 98cdb6
	gdk-pixbuf.
Packit 98cdb6
Packit 98cdb6
2005-06-03  Dom Lachowicz <cinamod@hotmail.com>
Packit 98cdb6
Packit 98cdb6
	* modules/engines/ms-windows/msw_style.c: Re-sync with gtk-wimp
Packit 98cdb6
	* modules/engines/ms-windows/xp_theme.c: Ditto
Packit 98cdb6
	* modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: Ditto
Packit 98cdb6
Packit 98cdb6
Thu May 26 16:43:27 2005 Manish Singh  <yosh@gimp.org>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkentrycompletion.h: Add declarations for
Packit 98cdb6
	gtk_entry_completion_{get,set}_popup_single_match.
Packit 98cdb6
Packit 98cdb6
2005-05-26  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtk.symbols: 
Packit 98cdb6
	* gtk/gtkentrycompletion.c: Add a property to suppress the
Packit 98cdb6
	popup for single matches.  (#154711)
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkentry.c (gtk_entry_completion_timeout): Respect it here.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkfilechooserentry.c (_gtk_file_chooser_entry_set_action): 
Packit 98cdb6
	Use it here.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtktextbtree.c (_gtk_text_btree_tag): Queue the 
Packit 98cdb6
	redisplay after modifying the tag in the btree, otherwise 
Packit 98cdb6
	we end up showing the old tags until the next redraw comes 
Packit 98cdb6
	around.   (#143537, Gary Kramlich, Peter Wainwright)
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkcombobox.c (gtk_combo_box_list_auto_scroll): Make 
Packit 98cdb6
	autoscrolling work at the bottom of the screen.
Packit 98cdb6
Packit 98cdb6
2005-05-26  Maciej Katafiasz  <email@mathrick.org>
Packit 98cdb6
Packit 98cdb6
	* docs/reference/gtk/tmpl/gtkentry.sgml:
Packit 98cdb6
	Point to GtkTextView instead of GtkText. Fixes bug #305535
Packit 98cdb6
Packit 98cdb6
2005-05-26  Sven Neumann  <sven@gimp.org>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkselection.c (gtk_selection_data_set_pixbuf): use a less
Packit 98cdb6
	aggressive PNG compression level (bug #305340).
Packit 98cdb6
Packit 98cdb6
2005-05-26  Tor Lillqvist  <tml@novell.com>
Packit 98cdb6
Packit 98cdb6
	* gdk/win32/gdkdrawable-win32.c (_gdk_win32_blit): If blitting
Packit 98cdb6
	from the root window, take the multi-monitor offset into
Packit 98cdb6
	account. (#305511)
Packit 98cdb6
Packit 98cdb6
2005-05-25  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* demos/gtk-demo/appwindow.c (do_appwindow): Set the window
Packit 98cdb6
	icon by name.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkfilesystem.c (gtk_file_folder_is_finished_loading): 
Packit 98cdb6
	Remove another C99ism.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtktreeview.c (gtk_tree_view_bin_expose): Draw the 
Packit 98cdb6
	background of rows insensitive when the treeview is insensitive.
Packit 98cdb6
	(pointed out by Billy Biggs)
Packit 98cdb6
Packit 98cdb6
	* demos/gtk-demo/clipboard.c: Demonstrate image copy-and-paste
Packit 98cdb6
	and DND, and clipboard persistency.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkselection.c (gtk_target_list_add_image_targets): 
Packit 98cdb6
	Make sure png comes first, otherwise dnd may use bmp by
Packit 98cdb6
	default, loosing transparency.
Packit 98cdb6
Packit 98cdb6
2005-05-25  Michael Natterer  <mitch@imendio.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtktextview.c (blink_cb): block the text_layout's "changed"
Packit 98cdb6
	handler when changing cursor visibility because it would expose
Packit 98cdb6
	the whole paragraph where the cursor is. Instead, expose the
Packit 98cdb6
	cursors' areas manually. (#173047).
Packit 98cdb6
Packit 98cdb6
	(text_window_invalidate_cursors): new function which exposes the
Packit 98cdb6
	cursors.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkstyle.c (draw_insertion_cursor): added comment that the
Packit 98cdb6
	same cursor size calculation is in text_window_invalidate_cursors().
Packit 98cdb6
Packit 98cdb6
2005-05-25  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* demos/gtk-demo/editable_cells.c (create_items_model): Also
Packit 98cdb6
	demonstrate GtkCellRendererProgress.
Packit 98cdb6
Packit 98cdb6
	* demos/gtk-demo/Makefile.am (demos): 
Packit 98cdb6
	* demos/gtk-demo/combobox.c: Add a demo showing combo box 
Packit 98cdb6
	variations.
Packit 98cdb6
Packit 98cdb6
	* demos/gtk-demo/Makefile.am (demos): 
Packit 98cdb6
	* demos/gtk-demo/pickers.c: Add a demo showing all picker widgets.
Packit 98cdb6
Packit 98cdb6
2005-05-24  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* demos/gtk-demo/iconview.c (do_iconview): Fix a typo.
Packit 98cdb6
Packit 98cdb6
2005-05-24  Tor Lillqvist  <tml@novell.com>
Packit 98cdb6
Packit 98cdb6
	* gdk/win32/gdkproperty-win32.c (gdk_screen_get_setting): Handle
Packit 98cdb6
	gtk-alternative-button-order (setting it to TRUE).
Packit 98cdb6
Packit 98cdb6
2005-05-23  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtktreeview.c (gtk_tree_view_search_init): Remove
Packit 98cdb6
	an unused variable.  (#305130, Jaap A. Haitsma)
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkfilechooserdefault.c (filter_create): Don't grab
Packit 98cdb6
	the focus away from the file list when operating the filter
Packit 98cdb6
	combo with the pointer.  (#304844, Sven Neumann)
Packit 98cdb6
Packit 98cdb6
2005-05-23  Tor Lillqvist  <tml@novell.com>
Packit 98cdb6
Packit 98cdb6
	* gdk/win32/gdkkeys-win32.c (handle_special): Map VK_APPS to
Packit 98cdb6
	GDK_Menu. (#172383, Ivan Wong)
Packit 98cdb6
Packit 98cdb6
	* gdk/win32/gdkkeys-win32.c (handle_dead): If the keysym isn't one
Packit 98cdb6
	of the special cases this function takes care of, use it as
Packit 98cdb6
	such. This takes care of for instance the Bengali Virama, see bug
Packit 98cdb6
	#165723.
Packit 98cdb6
Packit 98cdb6
2005-05-20  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkimcontextsimple.c (check_table): Avoid a possible
Packit 98cdb6
	buffer overrun.  (#142444, Leonard Michlmayr)
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkfilesystem.c: Remove C99-isms (#304879, 
Packit 98cdb6
	Kazuki IWAMOTO)
Packit 98cdb6
Packit 98cdb6
2005-05-18  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkfilechooser.c (gtk_file_chooser_remove_shortcut_folder_uri): 
Packit 98cdb6
	Use the correct function to conver the uri to a path.  (#304565,
Packit 98cdb6
	Ismael Juma)
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkfilechooserbutton.c (dialog_response_cb): Handle the
Packit 98cdb6
	Cancel button properly.  (#304234, Sven Neumann)
Packit 98cdb6
Packit 98cdb6
2005-05-18  Anders Carlsson  <andersca@imendio.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtktextview.c: (gtk_text_view_flush_scroll),
Packit 98cdb6
	(gtk_text_view_update_adjustments), (gtk_text_view_value_changed):
Packit 98cdb6
	* gtk/gtktextview.h:
Packit 98cdb6
	If the horizontal adjustment changes because of a change in the
Packit 98cdb6
	layout width, then do a complete redraw. This is because there
Packit 98cdb6
	might be right-aligned or centered text that needs to be redrawn.
Packit 98cdb6
Packit 98cdb6
2005-05-18  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
	
Packit 98cdb6
	* gtk/gtkwidget.c (gtk_widget_add_events): Try harder to set
Packit 98cdb6
	the event masks of descendent windows.  (#169821, Tommi Komulainen)
Packit 98cdb6
Packit 98cdb6
	* gtk/gtktreeview.c (gtk_tree_view_get_drop_column) 
Packit 98cdb6
	(gtk_tree_view_set_column_drag_info): Fix some errors in the
Packit 98cdb6
	handling of drop columns.  (#143355, John Finlay)
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_init): 
Packit 98cdb6
	Remove the no longer needed workaround.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkwidget.c (widget_add_child_draw_rectangle): Only collect
Packit 98cdb6
	allocations of mapped children.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_init): 
Packit 98cdb6
	Add a bug reference.
Packit 98cdb6
Packit 98cdb6
2005-05-18  Tor Lillqvist  <tml@novell.com>
Packit 98cdb6
Packit 98cdb6
	* gdk/win32/gdkevents-win32.c
Packit 98cdb6
	* gdk/win32/gdkkeys-win32.c
Packit 98cdb6
	* gdk/win32/gdkprivate-win32.h: Check the KF_EXTENDED bit in
Packit 98cdb6
	lParam of WM_KEY* messages to distinguish between left and right
Packit 98cdb6
	Control and Alt keys. Unfortunately, the right Shift key doesnt
Packit 98cdb6
	set KF_EXTENDED, so to distinguish between left and right Shift
Packit 98cdb6
	keys, check the scan code. (#304584)
Packit 98cdb6
Packit 98cdb6
2005-05-18  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gdk/x11/gdkproperty-x11.c (gdk_property_get): Warn if
Packit 98cdb6
	length overflows.  (#161520, Ian Wienand)
Packit 98cdb6
Packit 98cdb6
	* gtk/gtktoolbutton.c (gtk_tool_button_set_icon_name): Fix
Packit 98cdb6
	parameter names to make gtk-doc happy.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkscale.c (gtk_scale_class_init): Fix the default
Packit 98cdb6
	values of draw-value and value-pos to be the values we
Packit 98cdb6
	actually use in _init. (#304547, Mikael Hallendal)
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkcellrendererpixbuf.c: Support named icons in
Packit 98cdb6
	cells by adding a icon-name property. (#165777, Anders
Packit 98cdb6
	Carlsson)
Packit 98cdb6
Packit 98cdb6
	* gtk/gtk.symbols:
Packit 98cdb6
	* gtk/gtktoolbutton.h: 
Packit 98cdb6
	* gtk/gtktoolbutton.c (gtk_tool_button_set_icon_name) 
Packit 98cdb6
	(gtk_tool_button_get_icon_name): Support named icons in 
Packit 98cdb6
	tool buttons by adding a icon-name property. (#116577, 
Packit 98cdb6
	Christian Neumair)
Packit 98cdb6
Packit 98cdb6
	* gtk/gtk.symbols: 
Packit 98cdb6
	* gtk/gtkdnd.h: 
Packit 98cdb6
	* gtk/gtkdnd.c (gtk_drag_source_set_icon_name) 
Packit 98cdb6
	(gtk_drag_set_icon_name): New functions to support themed 
Packit 98cdb6
	drag icons.  (#116577, Christian Neumair)
Packit 98cdb6
Packit 98cdb6
2005-05-17  Owen Taylor  <otaylor@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gdk/x11/gdkdrawable-x11.c (gdk_x11_ref_cairo_surface): 
Packit 98cdb6
	Update to changed cairo interface.
Packit 98cdb6
Packit 98cdb6
	* gdk/x11/gdkdrawable-x11.[ch]:
Packit 98cdb6
	Add _gdk_x11_drawable_update_size()
Packit 98cdb6
	
Packit 98cdb6
	* gdk/x11/gdkwindow-x11.c (gdk_window_resize) 
Packit 98cdb6
	(gdk_window_move_resize)
Packit 98cdb6
	* gdk/x11/gdkevents-x11.c (gdk_event_translate): 
Packit 98cdb6
	Call _gdk_x11_drawable_update_size().
Packit 98cdb6
Packit 98cdb6
2005-05-17  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtktextview.c (cursor_blinks): Don't blink the cursor
Packit 98cdb6
	if the text view is not editable.  
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkcombobox.c (gtk_combo_box_list_button_released): Keep
Packit 98cdb6
	the popup posted if the button is released over the cellview.
Packit 98cdb6
	This matches the behaviour of other combo box implementations.  
Packit 98cdb6
	(#171378)
Packit 98cdb6
	
Packit 98cdb6
	* gdk/gdkwindow.c (gdk_window_set_bg_pattern): Adjust offsets
Packit 98cdb6
	when recursing.  (#153682, Felipe Heidrich)
Packit 98cdb6
Packit 98cdb6
2005-05-16  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkscale.c (gtk_scale_class_init): Don't bind GDK_Page_Up 
Packit 98cdb6
	and GDK_Page_Down twice.  (#168333, Hazael Maldonado Torres)
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkentry.c (cursor_blinks): Don't blink the cursor if 
Packit 98cdb6
	the entry is not editable.  (#304171, Nikos Kouremenos)
Packit 98cdb6
	
Packit 98cdb6
	* gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_constructor): 
Packit 98cdb6
	Make sure the action of the button and the dialog are in sync,
Packit 98cdb6
	when the dialog is provided by the app.  (#303987, David A Knight)
Packit 98cdb6
Packit 98cdb6
	* gdk/gdkpango.c (gdk_pango_renderer_get_default): Fix a typo
Packit 98cdb6
	in the docs.  (#303940, Masao Mutoh)
Packit 98cdb6
Packit 98cdb6
	* configure.in (GTK_DOC_CHECK): Check for gtk-doc 1.4.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtktoggleaction.c (connect_proxy): Be more careful when
Packit 98cdb6
	casting.  (#304089, Philip Langdale)
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkstatusbar.c (gtk_statusbar_size_allocate): Only shrink
Packit 98cdb6
	the label if we need to.  (#169390, Felix Riemann)
Packit 98cdb6
Packit 98cdb6
Sat May 14 00:07:46 2005  Manish Singh  <yosh@gimp.org>
Packit 98cdb6
Packit 98cdb6
	* gdk/gdkdraw.c
Packit 98cdb6
	* gdk/gdkpango.c: #include gdkcairo.h for gdk_cairo_create()
Packit 98cdb6
	declaration.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkiconview.c (gtk_icon_view_create_drag_icon): actually
Packit 98cdb6
	call gdk_cairo_set_source_color() with a color.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkimage.c (gtk_image_expose): remove unused stock_id variable.
Packit 98cdb6
Packit 98cdb6
	* tests/testiconview.c (main): cast args of drag functions to the
Packit 98cdb6
	appropriate type.
Packit 98cdb6
Packit 98cdb6
2005-05-13  Owen Taylor  <otaylor@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gdk/x11/gdkdrawable-x11.c: Update for cairo-xlib API change.
Packit 98cdb6
Packit 98cdb6
	* gdk/x11/gdkpixmap-x11.[ch] gdk/gdk.symbols: Export 
Packit 98cdb6
	gdk_pixmap_impl_x11_get_type(), needed in gdkdrawable-x11.c.
Packit 98cdb6
	
Packit 98cdb6
2005-05-11  Owen Taylor  <otaylor@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* tests/testgtk.c (on_alpha_window_expose): Fix to use
Packit 98cdb6
	gdk_cairo_create(). (create_alpha_window): Hook up "response"
Packit 98cdb6
	to close the window.
Packit 98cdb6
Packit 98cdb6
2005-05-11  Owen Taylor  <otaylor@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkcolorbutton.c: Use a GtkAlignment rather than a GtkDrawingArea
Packit 98cdb6
	to draw the swatch in to avoid having an extraneous window.
Packit 98cdb6
	
Packit 98cdb6
	* gtk/gtkcolorsel.c (color_sample_draw_sample): Actually se tthe
Packit 98cdb6
	color when !has_opacity.
Packit 98cdb6
Packit 98cdb6
2005-05-10  Owen Taylor  <otaylor@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gdk/gdkcairo.[ch] gdk/gdkcolor.[ch] gdk/Makefile.am: Add source
Packit 98cdb6
	files for Cairo convenience functionality.
Packit 98cdb6
Packit 98cdb6
	* gdk/gdkcairo.h (gdk_cairo_rectangle, gdk_cairo_region): Add a
Packit 98cdb6
	convenience functions to add GdkRectangle, GdkRegion to a cairo path.
Packit 98cdb6
Packit 98cdb6
	* gdk/gdkwindow.c gdk/gdkgc.c gtk/gtkcolorsel.c gtk/gtkiconview.c 
Packit 98cdb6
	gtk/gtkstyle.c: Use gdk_cairo_rectangle/region().
Packit 98cdb6
Packit 98cdb6
	* gdk/gdkcairo.[ch] gdk/gdkdrawable.h gdk/gdkdraw.c: Rename
Packit 98cdb6
	gdk_drawable_create_cairo_context() to gdk_cairo_create().
Packit 98cdb6
Packit 98cdb6
	* gdk/gdkcairo.c gdk/gdkpixbuf.h gdk/gdkpixbuf-render.c:
Packit 98cdb6
	Rename gdk_pixbuf_set_as_cairo_source() to 
Packit 98cdb6
	gdk_cairo_set_source_pixbuf().
Packit 98cdb6
Packit 98cdb6
	* gdk/gdkdraw.c gdk/gdkpango.c gtk/gtkcolorsel.c gtk/gtkhruler.c
Packit 98cdb6
	gtk/gtkhsv.c gtk/gtkiconview.c gtk/gtkstyle.c gtk/gtkvruler.c:
Packit 98cdb6
	Adjust for renames.
Packit 98cdb6
Packit 98cdb6
	* gdk/gdk.symbols: Update.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkwidget.c (gtk_widget_queue_shallow_draw): Fix 
Packit 98cdb6
	coordinate system problem that was causing the wrong portions
Packit 98cdb6
	to be invalidated.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkcellrenderer.c (gtk_cell_renderer_render)
Packit 98cdb6
	gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_render)
Packit 98cdb6
	gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_render)
Packit 98cdb6
	gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_render)
Packit 98cdb6
	gtk/gtkcellview.c (gtk_cell_view_expose)
Packit 98cdb6
	gtk/gtkdnd.c (gtk_drag_highlight_expose)
Packit 98cdb6
	gtk/gtkentry.c (gtk_entry_draw_text) 
Packit 98cdb6
	gtk/gtktextview.c (text_window_invalidate_rect): Some cairoization.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkcalendar.[ch]: Beat into something roughly resembling
Packit 98cdb6
	GTK+ style ... use instance-private data and standard names for
Packit 98cdb6
	private structure, etc. Move function docs inline.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkcalendar.[ch]: Switch to drawing everything in
Packit 98cdb6
	expose. Switch drawing to Cairo.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkcalendar.c (gtk_calendar_freeze): Deprecate
Packit 98cdb6
	gtk_calendar_freeze/thaw
Packit 98cdb6
Packit 98cdb6
2005-05-10  Tor Lillqvist  <tml@novell.com>
Packit 98cdb6
Packit 98cdb6
	* gdk/win32/gdkproperty-win32.c (gdk_screen_get_setting): Check
Packit 98cdb6
	that GDK_IS_SCREEN(screen) (like the X11 backend does), not screen
Packit 98cdb6
	== gdk_screen_get_default(), as that might return NULL when this
Packit 98cdb6
	function is called.
Packit 98cdb6
Packit 98cdb6
2005-05-09  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkalignment.c (gtk_alignment_size_allocate): Flip the
Packit 98cdb6
	padding in RTL mode.  (#303572, Maciej Katafiasz)
Packit 98cdb6
Packit 98cdb6
2005-05-09  Owen Taylor  <otaylor@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gdk/gdkrgb.c (gdk_rgb_convert_0888_br, gdk_rgb_convert_8880_br): 
Packit 98cdb6
	Fill in unused bits so they can be used for the depth-32 target case.
Packit 98cdb6
	Rewrite so that that gives a marginal speedup rather than a
Packit 98cdb6
	marginal slowdown. (on x86)
Packit 98cdb6
Packit 98cdb6
	* gdk/gdkscreen.h gdk/x11/gdkscreen-x11.[ch] gdk/x11/gdkvisual-x11.c:
Packit 98cdb6
	Add gdk_screen_get_rgba_colormap/visual to get a visual for
Packit 98cdb6
	windows with an alpha channel, if one exists.
Packit 98cdb6
Packit 98cdb6
	* gdk/win32/gdkscreen-win32.c gdk/linux-fb/gdkscreen-fb.c:
Packit 98cdb6
	Stub out gdk_screen_get_rgba_colormap/visual.
Packit 98cdb6
Packit 98cdb6
	* gdk/x11/gdkcolor-x11.c (gdk_colormap_alloc_colors): computation of
Packit 98cdb6
	"unused" wasn't right for depth == 32, since it depended on
Packit 98cdb6
	shifting by 32.
Packit 98cdb6
Packit 98cdb6
	* gdk/gdkrgb.c: Fill in alpha bits with 1s. (Based on patch from
Packit 98cdb6
	Keith Packard,
Packit 98cdb6
	http://mail.gnome.org/archives/gtk-devel-list/2004-June/msg00080.html)
Packit 98cdb6
Packit 98cdb6
	* gdk/x11/gdkdrawable-x11.c (gdk_x11_drawable_get_picture):
Packit 98cdb6
	Implement again, without using Xft.
Packit 98cdb6
Packit 98cdb6
	* tests/testgtk.c: Add a test for windows with an alpha channel.
Packit 98cdb6
Packit 98cdb6
2005-05-09  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* autogen.sh: Revert accidental commit.
Packit 98cdb6
Packit 98cdb6
2005-05-08  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gdk/gdkcolor.c (gdk_cairo_set_source_color): 
Packit 98cdb6
	* gdk/gdkimage.h: 
Packit 98cdb6
	* gdk/gdkdraw.c: 
Packit 98cdb6
	* gdk/gdkcolor.h: 
Packit 98cdb6
	* gdk/gdkcursor.h: 
Packit 98cdb6
	* gdk/x11/gdkcolor-x11.c: Small documentation additions.
Packit 98cdb6
Packit 98cdb6
2005-05-07  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkscrolledwindow.h: 
Packit 98cdb6
	* gtk/gtkscrolledwindow.c (gtk_scrolled_window_get_hscrollbar): 
Packit 98cdb6
	(gtk_scrolled_window_get_cscrollbar): Change the return 
Packit 98cdb6
	type to GtkWidget*, proposed by Owen Taylor. 
Packit 98cdb6
Packit 98cdb6
	* gdk/x11/gdkscreen-x11.c (gdk_screen_get_width_mm) 
Packit 98cdb6
	(gdk_screen_get_height_mm): Fix typos in the docs.  (#303389,
Packit 98cdb6
	Masao Mutoh)
Packit 98cdb6
Packit 98cdb6
2005-05-07  Matthias Clasen <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkiconview.c: Fix a copy-and-paste accident, spotted
Packit 98cdb6
	by Owen Taylor.
Packit 98cdb6
Packit 98cdb6
2005-05-07  Owen Taylor  <otaylor@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gdk/gdkgc.c (gc_get_foreground): Get the foreground color, not
Packit 98cdb6
	the background color.
Packit 98cdb6
Packit 98cdb6
2005-05-07  Owen Taylor  <otaylor@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gdk/gdkpixbuf-render.c gdk/gdkpixbuf.h (gdk_pixbuf_set_as_cairo_source): 
Packit 98cdb6
	Change prototype to match cairo_set_source_surface().
Packit 98cdb6
Packit 98cdb6
	* gdk/gdkdraw.c gdk/gdkgc.c gdk/gdkpixbuf-render.c gdk/gdkwindow.c
Packit 98cdb6
	gtk/gtkhsv.c tests/testcairo.c.
Packit 98cdb6
Packit 98cdb6
2005-05-06  Federico Mena Quintero  <federico@ximian.com>
Packit 98cdb6
Packit 98cdb6
	Merged from gtk-2-6:
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkfilesystemunix.c (fill_in_mime_type): Don't fill the mime
Packit 98cdb6
	types if this is an AFS directory.
Packit 98cdb6
	(fill_in_names): If we are in an AFS directory, set the MIME type
Packit 98cdb6
	blindly to "x-directory/normal".
Packit 98cdb6
Packit 98cdb6
2005-05-06  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtknotebook.c (gtk_notebook_insert_page_menu): Always
Packit 98cdb6
	initialize child-visible to FALSE, otherwise we may end up
Packit 98cdb6
	with the wrong page visible initially.  (#302283, Patrik Fimml)
Packit 98cdb6
Packit 98cdb6
	* gtk/gtktreeview.c (gtk_tree_view_draw_arrow): Make expanders
Packit 98cdb6
	appear insensitive in insensitive treeviews. 
Packit 98cdb6
Packit 98cdb6
2005-05-05  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtktoolbar.c: Fix a typo in the docs.  (#303024, 
Packit 98cdb6
	Morten Welinder)
Packit 98cdb6
Packit 98cdb6
2005-05-06  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtk.symbols:
Packit 98cdb6
	* gtk/gtkiconview.[hc]: Add DND support similar to the DND
Packit 98cdb6
	support in the tree view.  (#150270)
Packit 98cdb6
Packit 98cdb6
2005-05-05  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtktreednd.h: 
Packit 98cdb6
	* gtk/gtkwidget.h: Small cleanups.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtktreeview.c (gtk_tree_view_get_dest_row_at_pos): Fix
Packit 98cdb6
	a typo.
Packit 98cdb6
Packit 98cdb6
2005-05-04  Owen Taylor  <otaylor@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gdk/x11/gdkevents-x11.c gdk/x11/gdkwindow-x11.h: Fix a bug
Packit 98cdb6
	in focus tracking when we move between has_pointer_focus and 
Packit 98cdb6
	has_focus_window directly. (#109246, Billy Biggs, Niko Tyni 
Packit 98cdb6
	and others)
Packit 98cdb6
Packit 98cdb6
	* gdk/x11/gdkevents-x11.c: Also fix some confusion that could
Packit 98cdb6
	happen in the case of no window manager + keyboard grabs, by
Packit 98cdb6
	moving to a more consistent model of when we pay attention to
Packit 98cdb6
	mode=NotifyGrab/NotifyUngrab events.
Packit 98cdb6
	
Packit 98cdb6
	* docs/focus_tracking.txt: Extensive writeup about how to track
Packit 98cdb6
	focus under X11.
Packit 98cdb6
Packit 98cdb6
Wed May  4 13:21:41 2005  Søren Sandmann  <sandmann@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* tests/testcairo.c (draw): Replace cairo_show_surface() uses with
Packit 98cdb6
	cairo_set_source_surface()/cairo_paint();
Packit 98cdb6
Packit 98cdb6
2005-05-04  Tor Lillqvist  <tml@novell.com>
Packit 98cdb6
Packit 98cdb6
	* gdk/win32/gdkdrawable-win32.c (generic_draw, blit_from_pixmap)
Packit 98cdb6
	* gdk/win32/gdkgc-win32.c (gdk_win32_gc_values_to_win32values,
Packit 98cdb6
	_gdk_win32_gc_new, _gdk_windowing_gc_set_clip_region,
Packit 98cdb6
	gdk_win32_hdc_get): Minor fixes to make Win32 backend compile
Packit 98cdb6
	again.
Packit 98cdb6
Packit 98cdb6
2005-05-03  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkfilesystem.c: 
Packit 98cdb6
	* gtk/gtkcelleditable.c: 
Packit 98cdb6
	* gtk/gtktreemodel.c: Avoid getting the interface struct
Packit 98cdb6
	twice in the same function.  (#300513, Billy Biggs)
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkscrolledwindow.h:
Packit 98cdb6
	* gtk/gtkscrolledwindow.c (gtk_scrolled_window_get_vscrollbar): 
Packit 98cdb6
	* gtk/gtk.symbols: Add getters for the scrollbars.  (#167181,
Packit 98cdb6
	Billy Biggs)	
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkdialog.h: 
Packit 98cdb6
	* gtk/gtkdialog.c (gtk_dialog_get_response_for_widget): 
Packit 98cdb6
	Make this function public.  (#170748, Morten Welinder)
Packit 98cdb6
Packit 98cdb6
2005-05-02  Federico Mena Quintero  <federico@ximian.com>
Packit 98cdb6
Packit 98cdb6
	Merged from gtk-2-6:
Packit 98cdb6
Packit 98cdb6
	Fixes #301068:
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkfilesystemunix.c (struct _GtkFileSystemUnix): Add fields
Packit 98cdb6
	to store struct stat for /afs and /net, and boolean fields to say
Packit 98cdb6
	whether these are valid.
Packit 98cdb6
	(struct _GtkFileFolderUnix): Added a boolean is_network_dir field.
Packit 98cdb6
	(gtk_file_system_unix_get_folder): Fill in the is_network_dir
Packit 98cdb6
	field of the folder structure.
Packit 98cdb6
	(fill_in_names): If the folder is a network directory, create a
Packit 98cdb6
	fake struct stat for its entries.
Packit 98cdb6
	(fill_in_stats): Don't stat() the children of network directories.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkfilechooserdefault.c (list_mtime_data_func): If the mtime
Packit 98cdb6
	is 0, use "Unknown" for the cell's displayed text.
Packit 98cdb6
Packit 98cdb6
2005-04-28  Owen Taylor  <otaylor@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkwidget.c: Add a draw-border style property to allow
Packit 98cdb6
	themes to draw outside the widget's allocation.
Packit 98cdb6
Packit 98cdb6
	* gdk/gdkwindow.c gtk/gtkstyle.c: Remove some save/restore pairs
Packit 98cdb6
	that were working around the clip-leakage bug in Cairo.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkstyle.c: Use cairo_fill_preserve() rathe than
Packit 98cdb6
	save/fill/restore.
Packit 98cdb6
Packit 98cdb6
	* gdk/gdkgc.c gdk/gdkinternals.h: Add _gdk_gc_update_context()
Packit 98cdb6
	That updates a Cairo context to match a GC.
Packit 98cdb6
Packit 98cdb6
	* gdk/gdkdraw.c: Use _gdk_gc_update_context() to add support
Packit 98cdb6
	for tiles/stipples/clipping to gdk_draw_glyphs(), 
Packit 98cdb6
	gdk_draw_trapezoids().
Packit 98cdb6
Packit 98cdb6
	* gdk/gdkpango.c: Use _gdk_gc_update_context() instead of internal
Packit 98cdb6
	implementation of stipples. Use one cairo_t across the entire
Packit 98cdb6
	drawing operation. Replace cairo_matrix_create() with 
Packit 98cdb6
	stack-allocated matrices.
Packit 98cdb6
Packit 98cdb6
	* gdk/gdkgc.c gdk/gdkinternals.h gdk/x11/gdkgc-x11.c 
Packit 98cdb6
	gdk/win32/gdkgc-win32.c: Save various aspects of the 
Packit 98cdb6
	GC state (fill, tile, stipple, foreground, background, clip region)
Packit 98cdb6
	in instance-private-data for future use. Add getters.
Packit 98cdb6
	Get rid of _gdk_windowing_gc_get_foreground() function implemented 
Packit 98cdb6
	by the backends.
Packit 98cdb6
Packit 98cdb6
	* gdk/gdkgc.c gdk/gdkinternals.h gdk/x11/gdkgc-x11.c
Packit 98cdb6
	gdk/win32/gdkgc-win32.c gdk/linux-fb/gdkgc-fb.c: Add
Packit 98cdb6
	_gdk_gc_init() to do initial setup of the GC from values;
Packit 98cdb6
	fixes some problems from drawable redirection.
Packit 98cdb6
Packit 98cdb6
	* gdk/gdkgc.c gdk/gdkinternals.h gdk/x11/gdkgc-x11.c
Packit 98cdb6
	gdk/win32/gdkgc-win32.c gdk/linux-fb/gdkgc-fb.c: Move 
Packit 98cdb6
	gdk_gc_copy() and gdk_gc_set_clip_{region,rectangle}() into 
Packit 98cdb6
	the generic code, add _gdk_windowing_gc_copy(), 
Packit 98cdb6
	_gdk_windowing_gc_set_clip_region() to do backend specific
Packit 98cdb6
	stuff.
Packit 98cdb6
Packit 98cdb6
	* gdk/x11/{gdkprivate-x11.h,gdkgc-x11.c.c,gdkdrawable-x11.c}
Packit 98cdb6
	gdk/win32/{gdkprivate-win32.h,gdkgc-x11.c.c,gdkdrawable-x11.c}
Packit 98cdb6
	gdk/linux-fb/{gdkprivate-fb.h,gdkgc-fb.c.c,gdkdrawable-fb.c}:
Packit 98cdb6
	Don't duplicate state that now is stored by the generic code.
Packit 98cdb6
Packit 98cdb6
	* gdk/gdk.symbols Update
Packit 98cdb6
Packit 98cdb6
2005-05-02  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* tests/testiconview.c: Test cell renderers.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtk.symbols: Add new functions.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkiconview.[hc]: Implement GtkCellLayout and use
Packit 98cdb6
	cell renderers for drawing and editing. (#148144, #160242)
Packit 98cdb6
Packit 98cdb6
2005-05-02  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkcellrenderertext.c (get_size): Return a sufficient
Packit 98cdb6
	width for cases where pango_layout_get_pixel_extents() returns
Packit 98cdb6
	a rectangle with nonzero x. 
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkselection.c: Small doc fixes.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkmenushell.c (gtk_menu_shell_set_take_focus): 
Packit 98cdb6
	(gtk_menu_shell_get_take_focus): Fix up the docs a bit.
Packit 98cdb6
Packit 98cdb6
2005-05-02  Michael Natterer  <mitch@imendio.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkmain.c (do_post_parse_initialization): return silently if
Packit 98cdb6
	"gtk_initialized" is TRUE. Re-enables calling GTK's init functions
Packit 98cdb6
	multiple times when using gtk_get_option_group(), just as one can
Packit 98cdb6
	call gtk_init() multiple times without doing any harm.
Packit 98cdb6
Packit 98cdb6
2005-05-01  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtktextview.c (gtk_text_view_expose_event): Propagate
Packit 98cdb6
	the event to unanchored children in the text window.  
Packit 98cdb6
	(#302494, Stephen Kennedy)
Packit 98cdb6
Packit 98cdb6
2005-04-30  Tor Lillqvist  <tml@novell.com>
Packit 98cdb6
Packit 98cdb6
	* gdk/win32/gdkdnd-win32.c (gdk_dropfiles_filter): Take
Packit 98cdb6
	multi-monitor offset into account. (#302525)
Packit 98cdb6
Packit 98cdb6
2005-04-29  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkradioaction.c: Make the docs build.  (#302230,
Packit 98cdb6
	Ali Akcaagac)
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkiconview.c (gtk_icon_view_map): Get rid of this
Packit 98cdb6
	function, instead show the bin_window when it is created.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkradiobutton.c (gtk_radio_button_focus): Don't 
Packit 98cdb6
	grab focus to unrealized widgets.  (#302240, Philip Langdale)
Packit 98cdb6
Packit 98cdb6
	* gtk/gtktreeview.c (gtk_tree_view_state_changed): Set
Packit 98cdb6
	background upon state changes.  (#301651, Billy Biggs)
Packit 98cdb6
	(gtk_tree_view_get_path_at_pos): Take RTL into account
Packit 98cdb6
	when iterating over the columns.  (#302163)
Packit 98cdb6
	
Packit 98cdb6
	* configure.in: Check for nm.
Packit 98cdb6
Packit 98cdb6
	* gtk/Makefile.am: Use $(NM), not nm directly. (#301299, 
Packit 98cdb6
	Nguyen Thai Ngoc Duy)
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkiconview.c (gtk_icon_view_move_cursor_start_end): Use
Packit 98cdb6
	the internal unselect_all function, since we need the unselection
Packit 98cdb6
	to happen even in browse mode.  (#300995, Mathias Hasselmann)
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkuimanager.c (update_node): Use g_object_notify() instead
Packit 98cdb6
	of triggering a ::notify by re-setting the property.  (#300982,
Packit 98cdb6
	Sven Neumann)
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkaction.c (connect_proxy): Use gtk_action_sync_tooltip().
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkiconview.c (gtk_icon_view_scroll_to_item): Also
Packit 98cdb6
	scroll horizontally when necessary, and keep the northwest
Packit 98cdb6
	corner of the item visible.  (#300913, Mathias Hasselmann)
Packit 98cdb6
Packit 98cdb6
	* tests/testiconview.c: Add some more tests.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkiconview.c (gtk_icon_view_select_path): Don't crash
Packit 98cdb6
	if the path does not point to a row in the model.  (#300909,
Packit 98cdb6
	Mathias Hasselmann)
Packit 98cdb6
	(gtk_icon_view_rows_reordered): Re-layout here.  (#301009, 
Packit 98cdb6
	Mathias Hasselmann)
Packit 98cdb6
Packit 98cdb6
	* tests/testtext.c: Add some more attribute tests.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtktexttag.c (gtk_text_tag_class_init): Correct the documentation
Packit 98cdb6
	of the rise property. String change, but it is more important to
Packit 98cdb6
	be correct than to be translated.  (#301740)
Packit 98cdb6
Packit 98cdb6
2005-04-25  Tor Lillqvist  <tml@novell.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkfilesystemwin32.c
Packit 98cdb6
	(gtk_file_system_win32_volume_get_display_name): Get volume name
Packit 98cdb6
	also on Win9x. (#301798, Daniel Atallah)
Packit 98cdb6
	(canonicalize_filename): Add explicit braces to silence compiler
Packit 98cdb6
	warning.
Packit 98cdb6
Packit 98cdb6
2005-04-22  Tor Lillqvist  <tml@novell.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkmain.c: Initailize gettext before use. Calling
Packit 98cdb6
	bindtextdomain() and bind_textdomain_codeset() in
Packit 98cdb6
	do_post_parse_initialization() is too late. Put the calls in a new
Packit 98cdb6
	function gettext_initialization(), and call that from
Packit 98cdb6
	gtk_init_with_args() and gtk_parse_args(). Fixes #170948 for
Packit 98cdb6
	GTK+'s part, but the same problem occurs also at least in
Packit 98cdb6
	atk. Thanks to Robert Ögren, Daniel Atallah and Kevin Stange.
Packit 98cdb6
Packit 98cdb6
2005-04-19  Ivan, Wong Yat Cheung  <email@ivanwong.info>
Packit 98cdb6
Packit 98cdb6
	* gdk/win32/gdkfont-win32.c (gdk_font_load_internal): Match
Packit 98cdb6
	character height instead of cell height. Fix #301228.
Packit 98cdb6
Packit 98cdb6
2005-04-18  Federico Mena Quintero  <federico@ximian.com>
Packit 98cdb6
Packit 98cdb6
	Merged from gtk-2-6:
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkfilechooserdefault.c (remove_selected_bookmarks): Remove
Packit 98cdb6
	obsolete assertion that the selected row can't be a volume; this
Packit 98cdb6
	is handled by the "removable" column now.  Fixes #301017.
Packit 98cdb6
Packit 98cdb6
2005-04-18  Owen Taylor  <otaylor@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkstyle.c gtk/gtkcolorsel.c gtk/gtkhsv.c gtk/gtkiconview.c
Packit 98cdb6
	* gdk/gdkcolor.c gdk/gdkwindow.c gdk/gdkpixbuf-render.c
Packit 98cdb6
	gdk/gdkpango.c tests/testcairo.c: Update to new Cairo API for
Packit 98cdb6
	setting color and opacity. (#301066, Vincent Noel)
Packit 98cdb6
 
Packit 98cdb6
2005-04-15  Federico Mena Quintero  <federico@ximian.com>
Packit 98cdb6
Packit 98cdb6
	Merged from gtk-2-6:
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkfilechooserdefault.c (pending_select_paths_process):
Packit 98cdb6
	Patch from Christian Neumair <chris@gnome-de.org>; only select the
Packit 98cdb6
	first row if we are in OPEN mode.  The only other case we were
Packit 98cdb6
	letting pass through was SELECT_FOLDER, but selecting the first
Packit 98cdb6
	row when changing folders confuses people when folders are
Packit 98cdb6
	actually being selected.  Fixes #171885.
Packit 98cdb6
Packit 98cdb6
2005-04-13  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkimage.c (gtk_image_calc_size, gtk_image_expose): 
Packit 98cdb6
	Revert the fix for #169870, adjust the documentation instead. 
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkactiongroup.c (gtk_action_group_add_action_with_accel): 
Packit 98cdb6
	Revert the fix for #170727.	
Packit 98cdb6
Packit 98cdb6
2005-04-11  Ivan, Wong Yat Cheung  <email@ivanwong.info>
Packit 98cdb6
Packit 98cdb6
	Fix #300218:
Packit 98cdb6
Packit 98cdb6
	* gdk/win32/gdkselection-win32.c (gdk_selection_convert): Fix
Packit 98cdb6
	C99ism.
Packit 98cdb6
Packit 98cdb6
	* gtk/updateiconcache.c: Guard inclusion of unistd.h and
Packit 98cdb6
	utime.h.
Packit 98cdb6
Packit 98cdb6
2005-04-09  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gdk/x11/gdkinput-xfree.c:
Packit 98cdb6
	* gdk/x11/gdkinput-none.c:
Packit 98cdb6
	* gdk/gtk.symbols: Some more fixes necessary to 
Packit 98cdb6
	make building with gcc 4 work.
Packit 98cdb6
Packit 98cdb6
	Add 16x16 versions of the zoom icons and of 
Packit 98cdb6
	GTK_STOCK_INDEX. Some of the images were taken from 
Packit 98cdb6
	the hicolor icon theme, and were originally created 
Packit 98cdb6
	by Jakub Steiner and Tuomas Kuosmanen. 	(#167515, 
Packit 98cdb6
	Vincent Noel)
Packit 98cdb6
	
Packit 98cdb6
	* gtk/stock-icons/stock_index_16.png:
Packit 98cdb6
	* gtk/stock-icons/stock_zoom_1_16.png:
Packit 98cdb6
	* gtk/stock-icons/stock_zoom_fit_16.png:
Packit 98cdb6
	* gtk/stock-icons/stock_zoom_in_16.png:
Packit 98cdb6
	* gtk/stock-icons/stock_zoom_out_16.png: New images.
Packit 98cdb6
	
Packit 98cdb6
	* gtk/stock-icons/Makefile.am: Add the new images. 
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkimage.c (gtk_image_calc_size, gtk_image_expose): 
Packit 98cdb6
	Don't display too many broken images.  (#169870, Roman
Packit 98cdb6
	Kagan, patch by Ivan Wong)
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkwidget.c (gtk_widget_unparent): Remove debugging
Packit 98cdb6
	output.  (#300013, Tommi Komulainen)
Packit 98cdb6
Packit 98cdb6
2005-04-08  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkimage.c (gtk_image_expose, gtk_image_calc_size): 
Packit 98cdb6
	If a stock_id is unknown, display the missing image. (#169870,
Packit 98cdb6
	Steven Walter)
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkiconcache.c (icon_name_hash): Use the same function 
Packit 98cdb6
	as in updateiconcache.c.  (spotted by Morten Welinder)
Packit 98cdb6
Packit 98cdb6
2005-04-08  Carl Worth  <cworth@cworth.org>
Packit 98cdb6
Packit 98cdb6
	* gdk/gdkpango.c: (emboss_context): Simplify matrix manipulation
Packit 98cdb6
	now that cairo exposes the cairo_matrix_t structure.
Packit 98cdb6
	
Packit 98cdb6
	* gdk/gdkpixbuf-render.c: (gdk_pixbuf_set_as_cairo_source): Track
Packit 98cdb6
	cairo API change in signedness of data argument.
Packit 98cdb6
Packit 98cdb6
2005-04-08  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkcombobox.c (gtk_combo_box_popdown): Make this
Packit 98cdb6
	work when called from gtk_combo_box_destroy().  (#172999,
Packit 98cdb6
	Christian Persch)
Packit 98cdb6
Packit 98cdb6
2005-04-08  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	Fix double-click to autosize treeview columns. This was
Packit 98cdb6
	probably broken since 2.2 ! (#169675)
Packit 98cdb6
	
Packit 98cdb6
	* gtk/gtktreeview.c (gtk_tree_view_button_press): Leave the
Packit 98cdb6
	"user-resized" state of the column on a double-click to
Packit 98cdb6
	autosize.
Packit 98cdb6
	(gtk_tree_view_button_press, gtk_tree_view_motion_resize_column): 
Packit 98cdb6
	Enter the "user-resized" state of the column only if a drag
Packit 98cdb6
	actually changes the column width, not on any click.
Packit 98cdb6
Packit 98cdb6
2005-04-07  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkmenu.c (gtk_menu_paint): Allow setting background
Packit 98cdb6
	images on menus.  (#169532, Benjamin Otte)
Packit 98cdb6
	
Packit 98cdb6
	* gtk/updateiconcache.c (write_card16, write_card32): Avoid
Packit 98cdb6
	unaligned access.  (#172947)
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkfilechooserdefault.c (file_list_build_popup_menu): 
Packit 98cdb6
	Consistently use the term "Bookmarks" in the UI.  (#166906,
Packit 98cdb6
	Sebastian Bacher)
Packit 98cdb6
Packit 98cdb6
	Some fixes from Morten Welinder (#172947):
Packit 98cdb6
	
Packit 98cdb6
	* gtk/updateiconcache.c (icon_name_hash): Make this compiler- 
Packit 98cdb6
	and platform-independent.
Packit 98cdb6
	(is_cache_up_to_date): Don't compare mtimes is a stat call failed.
Packit 98cdb6
	(build_cache): Error out if a stat fails.  
Packit 98cdb6
Packit 98cdb6
2005-04-07  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtktreeview.c (gtk_tree_view_set_expander_column): Add 
Packit 98cdb6
	a hint about hiding expanders.
Packit 98cdb6
Packit 98cdb6
	* gtk/updateiconcache.c (is_cache_up_to_date): Return 
Packit 98cdb6
	TRUE if the cache is newer than the directory.  (#172852,
Packit 98cdb6
	Jacob Kroon)
Packit 98cdb6
Packit 98cdb6
	* configure.in: Replace an explicit pkg-config by 
Packit 98cdb6
	$PKG_CONFIG.  (#168074, Hans-Wolfgang Loidl)
Packit 98cdb6
	
Packit 98cdb6
	* gdk/gdkpango.c (gdk_pango_layout_line_get_clip_region): 
Packit 98cdb6
	Ignore regions which fall completely outside the line.  
Packit 98cdb6
	(#165862, Felipe Heidrich)
Packit 98cdb6
Packit 98cdb6
2005-04-06  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtktreeview.c (gtk_tree_view_set_search_column): Document
Packit 98cdb6
	-1 as possible value.  
Packit 98cdb6
	(gtk_tree_view_enable_model_drag_source) 
Packit 98cdb6
	(gtk_tree_view_enable_model_drag_dest): Pass the target list 
Packit 98cdb6
	to the underlying dnd implementation, otherwise we miss the 
Packit 98cdb6
	target info in the drag-data-received signal.  (#164085, Jorn
Packit 98cdb6
	Baayen)
Packit 98cdb6
Packit 98cdb6
2005-04-06  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtktreeview.c (gtk_tree_view_motion_resize_column) 
Packit 98cdb6
	(gtk_tree_view_bin_expose): Avoid a few unnecessary calls
Packit 98cdb6
	to gdk_window_get_pointer(). (#168015, Billy Biggs)
Packit 98cdb6
Packit 98cdb6
	* po/.cvsignore, po-properties/.cvsignore: Remove
Packit 98cdb6
	Makefile.in.in.  (#171092, Stepan Kasal)
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkrc.c (gtk_rc_parse_style): Don't modify 
Packit 98cdb6
	scanner->value, copy it first.  (#165693, Tommi Komulainen)
Packit 98cdb6
Packit 98cdb6
2005-04-05  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkcomboboxentry.c (gtk_combo_box_entry_grab_focus): 
Packit 98cdb6
	* gtk/gtkcombobox.c (gtk_combo_box_grab_focus): Implement
Packit 98cdb6
	grab_focus for GtkComboBox and GtkComboBoxEntry.  (#171912,
Packit 98cdb6
	Gustavo Carneiro)
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkicontheme.c: Store icon caches along with the
Packit 98cdb6
	mtimes of the toplevel directories. The previous
Packit 98cdb6
	mechanism of a hashtable-per-theme caused duplicate icon
Packit 98cdb6
	caches for the same toplevel directory to be created.  
Packit 98cdb6
	(#170030)
Packit 98cdb6
Packit 98cdb6
2005-04-05  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtktreemodelsort.c (gtk_tree_model_sort_build_level): 
Packit 98cdb6
	Fix a typo in a warning.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkaboutdialog.c (gtk_about_dialog_init): Protect
Packit 98cdb6
	the license and credits buttons from being affected by 
Packit 98cdb6
	gtk_widget_show_all().  (#172724)
Packit 98cdb6
Packit 98cdb6
2005-04-05  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkmenushell.c (gtk_menu_shell_activate_item): Keep a 
Packit 98cdb6
	reference to the item.  (#167920, Hazael Maldonado Torres)
Packit 98cdb6
Packit 98cdb6
	* gtk/gtktreeview.c (gtk_tree_view_set_search_column): Add some
Packit 98cdb6
	more docs on interactive search.
Packit 98cdb6
Packit 98cdb6
2005-04-05  Tor Lillqvist  <tml@novell.com>
Packit 98cdb6
Packit 98cdb6
	* gdk/win32/gdkvisual-win32.c (_gdk_visual_init): Handle 16 colour
Packit 98cdb6
	display mode. For some reason, in this mode GetDeviceCaps(BITSPIXEL)
Packit 98cdb6
	returns 1 (but GetDeviceCaps(NUMCOLORS)	does return 16). (#143415)
Packit 98cdb6
Packit 98cdb6
	* gdk/win32/gdkvisual-win32.c (_gdk_visual_init): Don't force
Packit 98cdb6
	24bpp GdkVisual on 32bpp displays. (#140706)
Packit 98cdb6
Packit 98cdb6
Mon Apr  4 19:13:23 2005  Jonathan Blandford  <jrb@redhat.com>
Packit 98cdb6
Packit 98cdb6
	Fix for #172319, Tristan Van Berkom:
Packit 98cdb6
	
Packit 98cdb6
	* gtk/gtktreeview.c (gtk_tree_view_expand_all): change to use
Packit 98cdb6
	gtk_tree_view_real_expand_row() instead of doing this by hand.
Packit 98cdb6
Packit 98cdb6
2005-04-04  Johan Dahlin  <johan@gnome.org>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtktextbuffer.c: (gtk_text_buffer_class_init),
Packit 98cdb6
	(gtk_text_buffer_set_property), (gtk_text_buffer_get_property),
Packit 98cdb6
	(gtk_text_buffer_set_text): Add GtkTextBuffer::text (#172631)
Packit 98cdb6
Packit 98cdb6
Mon Apr  4 14:33:55 2005  Manish Singh  <yosh@gimp.org>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkcomboboxentry.c (gtk_combo_box_entry_get_active_text):
Packit 98cdb6
	cast combo->priv->entry to GTK_ENTRY()
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup):
Packit 98cdb6
	cast completion->priv->tree_view to GTK_TREE_VIEW()
Packit 98cdb6
Packit 98cdb6
2005-04-04  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtktextbuffer.c: Some trivial doc fixes.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkwidget.c (gtk_widget_set_redraw_on_allocate): Improve 
Packit 98cdb6
	the wording of the doc comment.  (#172422, Vincent Untz)
Packit 98cdb6
Packit 98cdb6
2005-04-04  Owen Taylor  <otaylor@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkstyle.c (gtk_default_draw_expander): Covert expander
Packit 98cdb6
	drawing to Cairo. Also always draw the entire triangle instead
Packit 98cdb6
	of just drawing the center for prelight. (Fixes inconsistent
Packit 98cdb6
	drawing in GtkTreeView.)
Packit 98cdb6
Packit 98cdb6
2005-04-04  Johan Dahlin  <johan@gnome.org>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtk.symbols: Remove symbols accidentally added.
Packit 98cdb6
	* gtk/gtkentryprivate.h: Add boolean property popup_set_width
Packit 98cdb6
	* gtk/gtktoggletoolbutton.c: (gtk_toggle_tool_button_class_init):
Packit 98cdb6
	Use object_class instead of gobject_class
Packit 98cdb6
Packit 98cdb6
Mon Apr  4 12:14:35 2005  Søren Sandmann  <sandmann@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkmenu.c (gtk_menu_handle_scrolling): Translate x, y into
Packit 98cdb6
	widget coordinates instead of root coordinates. Patch from Jorn
Packit 98cdb6
	Baayen. (#172236)
Packit 98cdb6
Packit 98cdb6
2005-04-04  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtktoolbar.c: Add a tooltips property.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkradiomenuitem.c (gtk_radio_menu_item_class_init): 
Packit 98cdb6
	* gtk/gtkruler.c (gtk_ruler_class_init): Add docs.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtktoggletoolbutton.c: Add an active property.
Packit 98cdb6
Packit 98cdb6
2005-04-04  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	Allow completion popups to be wider than the entry. (#131916, 
Packit 98cdb6
	Ross Burton)
Packit 98cdb6
	
Packit 98cdb6
	* gtk/gtkentrycompletion.[hc]: Add a boolean popup-set-width property.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup): 
Packit 98cdb6
	Don't force the popup to have the same width as the entry if 
Packit 98cdb6
	popup-set-width is FALSE.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtk.symbols: Add new functions.
Packit 98cdb6
Packit 98cdb6
2005-04-04  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkactiongroup.c (gtk_action_group_add_action_with_accel): 
Packit 98cdb6
	Use gtk_accel_map_change_entry(), so that reusing the same
Packit 98cdb6
	action name works.  (#170727, Paolo Borelli)
Packit 98cdb6
Packit 98cdb6
2005-04-04  Tor Lillqvist  <tml@novell.com>
Packit 98cdb6
Packit 98cdb6
	* gdk/win32/gdkmain.c (_gdk_win32_cf_to_string): New debugging
Packit 98cdb6
	function, to log a clipboard format name symbolically.
Packit 98cdb6
	(_gdk_win32_data_to_string): Also new, to log random data bytes.
Packit 98cdb6
Packit 98cdb6
	Implement delayed rendering on Win32, specifically for transfering
Packit 98cdb6
	images through the clipboard from GTK+ apps to other
Packit 98cdb6
	apps (#168173, implementation by Ivan Wong):
Packit 98cdb6
Packit 98cdb6
	* gdk/win32/gdkevents-win32.c (gdk_event_translate): 
Packit 98cdb6
	Handle WM_RENDERFORMAT.
Packit 98cdb6
Packit 98cdb6
	* gdk/win32/gdkprivate-win32.h
Packit 98cdb6
	* gdk/win32/gdkglobals-win32.c: Add _format_atom_table,
Packit 98cdb6
	_delayed_rendering_data and _image_bmp.
Packit 98cdb6
Packit 98cdb6
	* gdk/win32/gdkmain-win32.c: Initialize _image_bmp.
Packit 98cdb6
Packit 98cdb6
	* gdk/win32/gdkproperty-win32.c (gdk_property_change):
Packit 98cdb6
	Accept formats other than GDK_TARGET_STRING or _utf8_string, and
Packit 98cdb6
	assume they are handled through delayed rendering.
Packit 98cdb6
Packit 98cdb6
	* gdk/win32/gdkselection-win32.c (gdk_selection_convert):
Packit 98cdb6
	Return all available formats (including those registered by GTK+
Packit 98cdb6
	apps) on request_targets.
Packit 98cdb6
	(gdk_selection_property_get): We should append a zero byte like
Packit 98cdb6
	X11 does.
Packit 98cdb6
	(gdk_win32_selection_add_targets): New function, for
Packit 98cdb6
	gtkselection's use. Win32 requires that the clipboard owner
Packit 98cdb6
	registers all valid formats even if the owner wants delayed
Packit 98cdb6
	rendering.
Packit 98cdb6
	(_gdk_win32_selection_convert_to_dib): New function. Convert
Packit 98cdb6
	images to DIB using gdk-pixbuf.
Packit 98cdb6
Packit 98cdb6
	* gdk/win32/gdkwin32.h: Declare gdk_win32_selection_add_targets().
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkselection.c (gtk_selection_add_target,
Packit 98cdb6
	gtk_selection_add_targets): Call gdk_win32_selection_add_targets()
Packit 98cdb6
	to register target formats.
Packit 98cdb6
Packit 98cdb6
	* gdk/gdk.symbols: Add gdk_win32_selection_add_targets().
Packit 98cdb6
Packit 98cdb6
2005-04-03  Hans Breuer  <hans@breuer.org>
Packit 98cdb6
Packit 98cdb6
	[merged from gtk-2-6 branch]
Packit 98cdb6
	* gdk/win32/gdkdrawable-win32.c : let dash_offset shift the start of
Packit 98cdb6
	the line pattern not the start of the line. Fixes bug #171641.
Packit 98cdb6
Packit 98cdb6
	* gtk/makefile.msc.in : follow .symbols changes
Packit 98cdb6
Packit 98cdb6
	* gdk/win32/gdkwindow-win32.c : declare and resolve GetAncestor()
Packit 98cdb6
	dynamically. (It is not available in _WIN_VER <= 0x0400)
Packit 98cdb6
Packit 98cdb6
	* gdk/win32/makefile.msc : removed gdkpango-win32.obj
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkhsv.c gtk/gtkstyle.c : use G_PI instead of M_PI
Packit 98cdb6
Packit 98cdb6
	[also applied to gtk-2-6 branch]
Packit 98cdb6
	* gdk/makefile.msc gdk-pixbuf/makefile.msc : handle gdk*alias.def
Packit 98cdb6
Packit 98cdb6
	* gdk/makefile.msc.in : add gtkmnemonichash.obj
Packit 98cdb6
Packit 98cdb6
	* test/testgtk.c(set_parent_signal) : use g_message instead of
Packit 98cdb6
	g_print to keep the 'testgtk --bench=all' output clean
Packit 98cdb6
Packit 98cdb6
2005-04-03  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkruler.c: Add a "metric" property.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkradiomenuitem.c: Add a "group" property like
Packit 98cdb6
	the one found in radio buttons.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkradiobutton.c (gtk_radio_button_class_init): Fix
Packit 98cdb6
	a typo in the docs.
Packit 98cdb6
	(gtk_radio_button_set_group): Add change notification.
Packit 98cdb6
	
Packit 98cdb6
2005-04-01  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkselection.c: Move documentation inline, document
Packit 98cdb6
	if add_target functions append or prepend.  (#172350, 
Packit 98cdb6
	Jon-Kare Hellan)
Packit 98cdb6
Packit 98cdb6
2005-04-01  Matthias Clasen  <mclasen@redhat.com>
Packit 98cdb6
Packit 98cdb6
	Make gtk_combo_box_get_active_text do the right thing for
Packit 98cdb6
	GtkComboBoxEntry (#171373, Robert Staudinger)
Packit 98cdb6
	
Packit 98cdb6
	* gtk/gtkcombobox.h: Add a get_active_text vfunc.
Packit 98cdb6
	
Packit 98cdb6
	* gtk/gtkcombobox.c (gtk_combo_box_real_get_active_text): And
Packit 98cdb6
	implement it here.
Packit 98cdb6
Packit 98cdb6
	* gtk/gtkcomboboxentry.c (gtk_combo_box_entry_get_active_text): 
Packit 98cdb6
	Implement get_active_text by always returning the content of 
Packit 98cdb6
	the entry.
Packit 98cdb6
Packit 98cdb6
2005-03-31  Sven Neumann  <sven@gimp.org>
Packit 98cdb6
Packit 98cdb6
	Merged from gtk-2-6:
Packit 98cdb6
Packit