== gnome-python 2.0.2 ==
2004-04-03  Johan Dahlin  <johan@gnome.org>

	* configure.in: Bump version

	* NEWS: Update

2004-03-31  Johan Dahlin  <johan@gnome.org>

	* gnome/Makefile.am (vfs_la_SOURCES): Add vfs-context.c and
	vfs-xfer-progress-info.c

== gnome-python 2.0.1 ==
2004-03-20  Gabor Bereczki  <gabor@e-cell.org>

	* gnome/canvas.override (_wrap_gnome_canvas_path_def_new): Build
	path_def with gnome_path_def_moveto/lineto/curveto methods,
	instead of creating from a bpath array.  This seems to make
	GnomeCanvasBpath happier and actully display the bpath.
	Reviewed by Gustavo Carneiro.

2004-03-16  Gustavo J. A. M. Carneiro  <gustavo@users.sourceforge.net>

	* NEWS: Add overview of changes in 2.0.1.

	* configure.in: Bump version up to 2.0.1.

2004-03-15  Gustavo J. A. M. Carneiro  <gustavo@users.sourceforge.net>

	* gnome/canvasmodule.c (add_item): Fix registration of constants.

	* gnome/canvas.override (gnome_canvas_path_def_get_type): Register
	boxed type for GnomeCanvasPathDef.
	(_wrap_gnome_canvas_path_def_new): impl.
	(_wrap_gnome_canvas_bpath_set_bpath): update implementation to use
	PathDef instead of ArtBpath.

	* gnome/canvas.defs (CanvasPathDef): declare this boxed type.
	(path_def_new): declare CanvasPathDef constructor function.
	(BPath.set_bpath): function takes CanvasPathDef instead of
	ArtBpath components.
	Fixes bug #136617 (really fixes, this time, I hope).

	* gnome/vfsmodule.c (pygvfs_get_mime_type_for_data): Fix crash
	with NULL return value.  Use s# format for parsing string
	argument, making the data_size argument optional and deprecated.

2004-03-14  Gustavo J. A. M. Carneiro  <gustavo@users.sourceforge.net>

	* gnome/canvas.override (_wrap_gnome_canvas_bpath_set_bpath),
	* gnome/canvas.defs (GnomeCanvasBpath.set_bpath): Add fake
	set_bpath method to GnomeCanvasBpath to work around limitation of
	the bpath property being of type 'pointer'. Fixes #136617 (Gnome
	CanvasBpath object cannot be used from python.)

	* gnome/canvasmodule.c (initcanvas): Register ArtPathcode constants.

	* gnome/appletmodule.c (initapplet): Register PanelAppletFlags
	constant in module dictionary.

	(PanelApplet.get_flags, PanelApplet.set_flags): Replace type
	PanelAppletFlags with int, so that code generator knows how to
	generate code for these methods, because PanelAppletFlags is not
	GType registered.  Also, rename these methods to get_applet_flags
	and set_applet_flags, to avoid shadowing gtk.Widget.get|set_flags.
	Fixes #137085 (Missing wrapper for gnome.applet.Applet's flags).

	* gnome/vfsmodule.c (initvfs): call init_pyorbit().
	(pygvfs_mime_get_default_action): impl.
	(pygvfs_mime_get_default_component): impl.
	(pygvfs_mime_get_default_action_type): impl.
	(pygvfs_mime_get_short_list_components): impl.
	(pygvfs_mime_get_all_components): impl.
	(pygvfs_mime_get_short_list_applications): impl.
	(pygvfs_mime_get_all_applications): impl.
	(pygvfs_mime_set_default_action_type): impl.
	(pygvfs_mime_set_default_application): impl.
	(pygvfs_mime_set_default_component): impl.
	(pygvfs_mime_set_short_list_applications): impl.
	(pygvfs_mime_set_short_list_components): impl.
	(pygvfs_mime_add_application_to_short_list): impl.
	(pygvfs_mime_remove_application_from_short_list): impl.
	(pygvfs_mime_add_component_to_short_list): impl.
	(pygvfs_mime_remove_component_from_short_list): impl.
	(pygvfs_mime_add_extension): impl.
	(pygvfs_mime_remove_extension): impl.
	(pygvfs_mime_extend_all_applications): impl.
	(pygvfs_mime_remove_from_all_applications): impl.
	(pygvfs_mime_application_new_from_id): impl.

	* configure.in: gnome.vfs module requires pyorbit, since gnome-vfs
	uses CORBA types (Bonobo_ServerInfo) in some places.

	* gnome/vfsmodule.c (pygvfs_mime_get_default_application)
	(pygvfs_mime_application_new): Moved mime application info tuple
	creation to a separate function, so that it is reusable elsewhere.
	Also use Py_True and Py_False for boolean fields, instead of plain
	integers.  In addition, use a list instead of tuple for the uri
	schemes.

2004-03-13  Gustavo J. A. M. Carneiro  <gustavo@users.sourceforge.net>

	* gnome/vfsmodule.c (pygvfs_get_mime_type): Check for NULL return
	value; raise RuntimeError in such case.

2004-03-12  Gustavo J. A. M. Carneiro  <gustavo@users.sourceforge.net>

	* gnome/Makefile.am (vfs_la_SOURCES): Added vfs-xfer-progress-info.c.

	* gnome/pygnomevfs-private.h: Declare type gnome.vfs.XferProgressInfo.

	* gnome/vfs-xfer-progress-info.c: Add new type,
	gnome.vfs.XferProgressInfo, to hold vfs transfer progress info.

	* gnome/vfsmodule.c (pygvfs_xfer_progress_callback)
	(pygvfs_xfer_uri, _pygvfs_uri_sequence_to_glist)
	(pygvfs_xfer_uri_list, pygvfs_xfer_delete_list): Add wrappers for
	gnome_vfs_xfer_uri, gnome_vfs_xfer_uri_list, and
	gnome_vfs_delete_list.	Partially fixes #134785.

2004-02-29  Gustavo J. A. M. Carneiro  <gustavo@users.sourceforge.net>

	* gnome/canvas.override (_wrap_gnome_canvas_group__get_item_list):
	add getter for gnome.canvas.Group.item_list. Fixes #132760.

	* gnome/canvas.defs (CanvasGroup): declare 'item_list' field.

	* gconf/gconf.override (_wrap_gconf_value_get_list): Check
	GConfValue type, raise TypeError in case of wrong type.
	(_wrap_gconf_value_get_string): override, check type.
	(_wrap_gconf_value_get_string): idem.
	(_wrap_gconf_value_get_bool): idem.
	(_wrap_gconf_value_get_bool): idem.

2004-02-28  Gustavo J. A. M. Carneiro  <gustavo@users.sourceforge.net>

	* gnome/vfsmodule.c (pygvfs_mime_get_description): Check for NULL
	return value.  Raises exception if MIME type is not valid. Fixes
	#132609.

	* gnome/ui.override (generic_gnome_client_command)
	(_wrap_gnome_client_set_clone_command)
	(_wrap_gnome_client_set_discard_command)
	(_wrap_gnome_client_set_resign_command)
	(_wrap_gnome_client_set_shutdown_command)
	(_wrap_gnome_client_set_shutdown_command): Implement.  Uses
	reworked patch in #130164, with the sole difference being that
	argc becomes optional and deprecated.  Original author is still
	unknown...

2004-02-21  Gustavo J. A. M. Carneiro  <gustavo@users.sourceforge.net>

	* bonobo/bonobouimodule.c (initui): call pybonoboui_add_constants().

2004-01-14  Gustavo J. A. M. Carneiro  <gustavo@users.sourceforge.net>

	* examples/gconf/simple-view.py: Fix gconf key, thanks to Bryan W Clark.

2003-12-26  Gustavo J. A. M. Carneiro  <gustavo@users.sourceforge.net>

	* gnome/nautilusmodule.c (initnautilus): Import and initialize the
	PyORBit module, since it is used by the nautilus module.  Fixes
	the error ImportError: (...) undefined symbol: _PyORBit_API.

2003-12-20  Gustavo J. A. M. Carneiro  <gustavo@users.sourceforge.net>
	* gnome/ui.defs: Corrected return type of IconTextItem.get_text.

	* gnome/ui.override (_wrap_gnome_icon_list_get_selection): impl.

	* gconf/gconf.override (_wrap_gconf_value_get_list): Make a copy
	of the value to store in the boxed, since the caller doesn't own
	neither the returned list nor its values.

2003-12-19  Gustavo J. A. M. Carneiro  <gustavo@users.sourceforge.net>

	* gnome/vfsmodule.c (pygvfs_mime_get_default_application): impl.
	(register_constants): Added MIME_APPLICATION_ARGUMENT_TYPE_xxx.

	* bonobo/bonoboui.defs, bonobo/bonobo.defs: Add
	(caller-owns-return #f) to constructors of BonoboObject-derived
	classes, so that the code generator g_object_ref's
	newly-constructed objects. Fixes #127909.

	* bonobo/bonobo.override (_wrap_bonobo_moniker_simple_new_closure)
	(_wrap_bonobo_moniker_simple_new_closure)
	(_wrap_bonobo_listener_new_closure)
	(_wrap_bonobo_property_bag_new_closure)
	(_wrap_bonobo_item_handler_new_closure)
	(_wrap_bonobo_stream_mem_create): g_object_ref newly-constructed
	objects, since we don't own the returned initial reference. Fixes
	#127909.

	* bonobo/bonoboui.override (_wrap_bonobo_ui_component_new):
	g_object_ref newly-constructed objects, since we don't own the
	returned initial reference. Fixes #127909.

2003-12-17  James Henstridge  <james@daa.com.au>

	* acinclude.m4, configure.in: add -fno-strict-aliasing cflag.

2003-12-01  Gustavo J. A. M. Carneiro  <gustavo@users.sourceforge.net>

	* examples/gnomeprint/example_10.py (my_print_cb): fixed typo in
	this example.

	* gnomeprint/print.defs (convert_distance): Declare
	gnomeprint.convert_distance.

	* gnomeprint/print.override (_wrap_gnome_print_config_get_length):
	Remove extraneous keyword from kwlist.
	(_wrap_gnome_print_convert_distance): Wrapper for
	gnome_print_convert_distance and
	gnome_print_convert_distance_full.

2003-11-20  James Henstridge  <james@daa.com.au>

	* gconf/gconf.override: ignore the set_car/cdr_nocopy variants.

	* gconf/gconf.defs (client_get_default): caller owns return.
	(client_get_for_engine): caller owns return.
	(get): caller owns return.
	(get_without_default): caller owns return.
	(get_entry): caller owns return.
	(get_default_from_schema): caller owns return.
	(get_string): caller owns return.
	(get_schema): caller owns return.
	(get_list): caller owns return.
	(gconf_engine_get_for_address): caller owns return.
	(get_without_default): caller owns return.
	(get_entry): caller owns return.
	(get_with_locale): caller owns return.
	(get_default_from_schema): caller owns return.
	(get_string): caller owns return.
	(get_schema): caller owns return.
	(get_list): caller owns return.

2003-11-12  James Henstridge  <james@daa.com.au>

	* gnomeprint/printui.override: define NO_IMPORT_PYGOBJECT.

	* gnomeprint/print.override: define NO_IMPORT_PYGOBJECT.

	* gnome/nautilus.override: define NO_IMPORT_PYGOBJECT and
	NO_IMPORT_PYORBIT.

	* gnome/applet.override: define NO_IMPORT_PYGOBJECT.

	* gnome/gnome.override: define NO_IMPORT_PYGOBJECT.

	* gnome/ui.override: define NO_IMPORT_PYGOBJECT.

	* gconf/gconf.override: define NO_IMPORT_PYGOBJECT here.

2003-10-14  Gustavo J. A. M. Carneiro  <gustavo@users.sourceforge.net>

	* examples/gnomeprint/example_*.py, examples/gnomeprint/README,
	* examples/gnomeprint/sample-image.png: New examples.

	* Makefile.am (EXTRA_DIST): Added new examples.

2003-10-13  Gustavo J. A. M. Carneiro  <gustavo@users.sourceforge.net>

	* gnomeprint/printui.defs (FontDialog): GnomeFontDialog derives
	from GtkDialog, not GtkWidget.

	* gnomeprint/print.defs (grestore): I should be shot for
	forgetting to wrap gnome_print_grestore() :/

2003-10-02  Matt Wilson  <msw@redhat.com>

	* gnome/ui.override (_wrap_gnome_about_new): make sure that
	translator_credits is not NULL before checking to see if it is
	"translator_credits"  Fixes the fix for bug #120901.

2003-09-02  James Henstridge  <james@daa.com.au>

	* ChangeLog.pre-2-0: move old change log out of the way.

