=== GnomePython 2.6.2 ===
2004-12-25  Gustavo J. A. M. Carneiro  <gjc@gnome.org>

	* NEWS: Update.

	* configure.in: Bump version to 2.6.2.

	* gnome/vfsmodule.c (pygvfs_xfer_progress_callback):
	PyErr_Print() when python callback returns NULL.

2004-12-24  Gustavo J. A. M. Carneiro  <gjc@gnome.org>

	* gnome/vfsmodule.c (pygvfs_xfer_progress_callback): Call
	pyg_gil_state_release in error return path.  Call PyErr_Print()
	after setting exception, otherwise it will never be seen.
	(pygvfs_xfer_progress_callback): Release reference to newly
	created py_info object, fixes a reference leak.

2004-12-21  Gustavo J. A. M. Carneiro  <gjc@gnome.org>

	* gnomevfs/vfsmodule.c (pygvfs_xfer_uri): Allow callback to be
	None or omitted if error_mode != GNOME_VFS_XFER_ERROR_MODE_QUERY.
	(pygvfs_xfer_uri_list): idem.
	(pygvfs_xfer_delete_list): idem.
	Fixes #161738 (gnome.vfs.xfer_uri() requires a callback in Python
	but the C API doesn't)

2004-12-18  Gustavo J. A. M. Carneiro  <gjc@gnome.org>

	* gnomevfs/vfsmodule.c (pygvfs_read_entire_file): Add
	pyg_begin|end_allow_threads around vfs call.
	(pygvfs_create): idem.
	(pygvfs_get_file_info): idem.
	(pygvfs_set_file_info): idem.
	(pygvfs_make_directory): idem.
	(pygvfs_remove_directory): idem.
	(pygvfs_unlink): idem.
	(pygvfs_exists): idem.
	(pygvfs_get_mime_type): idem.
	(pygvfs_get_mime_type_for_data): idem.
	(pygvfs_monitor_add): idem.
	(pygvfs_xfer_uri): idem.
	(pygvfs_xfer_uri_list): idem.
	(pygvfs_xfer_delete_list): idem.
	(pygvfs_xfer_progress_callback): Add missing
	pyg_gil_state_ensure|release().

=== GnomePython 2.6.1 ===
2004-11-14  Gustavo J. A. M. Carneiro  <gustavo@users.sourceforge.net>

	* NEWS: Update.

	* gconf/gconf.defs: Revert jdahlin's change "Add some missing
	methods" from 2004-10-17.  It was done before branching, and we
	can't add APIs in stable branch.

2004-11-11  Benoît Dejean  <tazforever@dlfp.org>

	* gnome/vfs-async-handle.c: (read_write_marshal): Reordered format string
	to match arguments order. Closes #157618.
	Reviewed by Gustavo Carneiro.

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

	* gnome/vfs-async-handle.c (read_write_marshal): Use the correct
	format specifier for the GnomeVFSFileSize type, which is either k
	or K, not i.  Patch by Benoît Dejean, though slightly modified.

2004-11-06  Gustavo J. A. M. Carneiro  <gustavo@users.sourceforge.net>

	* gnome/vfs-async-handle.c (pygvhandle_dealloc): Unblock threads
	during vfs call.

	* gnome/vfs-handle.c (pygvhandle_read): Unblock threads during
	call to gnome_vfs_read.
	(pygvhandle_write): idem.
	(pygvhandle_init): idem.
	(pygvhandle_dealloc): idem.

2004-11-06  Benoît Dejean  <TazForEver@dlfp.org>

	* gnome/vfs-handle.c (pygvhandle_read): Raise ValueError if bytes
	< 0.  Return empty string if bytes == 0.
	Reviewed by Gustavo Carneiro.

2004-11-06  Gustavo J. A. M. Carneiro  <gustavo@users.sourceforge.net>

	* gnome/canvas.override (_wrap_gnome_canvas_new): Construct object
	with g_object_new, so that subclassing works without __gobject_init__.

2004-10-17  Johan Dahlin  <johan@gnome.org>

	* gconf/gconf.defs: Add some missing methods

2004-10-17  Gustavo J. A. M. Carneiro  <gustavo@users.sourceforge.net>

	* configure.in: version bump to 2.6.1

	* Makefile.am (EXTRA_DIST): Add missing unknown.py and
	bonobo-application.py bonobo examples.  Thanks Nickolay
	V. Shmyrev. Fixes #155326: Some examples are missing in
	tarball.

2004-10-05  Jonathan Blandford  <jrb@redhat.com>

	* gtkhtml2/gtkhtml2module.c (initgtkhtml2): Call
	html_atom_list_initialize to workaround gtkhtml2 bug.  Fixes
	#147404.

2004-10-04  Gustavo J. A. M. Carneiro  <gustavo@users.sourceforge.net>

	* configure.in: Define PYGTK_REQUIRED_(MAJOR|MINOR|MICRO)_VERSION.

	* gnome/gnomemodule.c (pygnome_add_defined_constants): Reformat.
	(init_gnome): Check pygtk version.  Reformat code.  Fixes #154452,
	thanks Johan Dahlin.

=== GnomePython 2.6.0 ===
2004-10-03  Gustavo J. A. M. Carneiro  <gustavo@users.sourceforge.net>

	* tests/Makefile.am (tests): vfs.py -> testvfs.py; add
	testbonobo.py.

	* configure.in: Change version to 2.6.0.  Require pygtk 2.4.0.

2004-09-30  Gustavo J. A. M. Carneiro  <gustavo@users.sourceforge.net>

	* gnome/vfs-context.c: idem for PyGnomeVFSContext_Type.

	* gnome/vfs-file-info.c: idem for PyGnomeVFSFileInfo_Type.

	* gnome/vfs-dir-handle.c: idem for PyGnomeVFSDirectoryHandle_Type.

	* gnome/vfs-async-handle.c: idem for PyGnomeVFSAsyncHandle_Type.

	* gnome/vfs-uri.c: Remove Py_TPFLAGS_BASETYPE flag.
	Fixes #154001: Subclassing gnome.vfs.URI causes segfault.

2004-09-26  Gustavo J. A. M. Carneiro  <gustavo@users.sourceforge.net>

	* bonobo/pybonobo.c: Remove PyBonoboClosure structure, use
	PyGClosure instead.

	* bonobo/bonobo.override (_wrap_bonobo_generic_factory_main):
	Don't Py_DECREF the callback and user_data objects which we do not
	own.
	(_wrap_bonobo_moniker_simple_new_closure): Call
	pygobject_watch_closure on the new closure, so that cycle GC does
	its job correctly and traverses the callback arguments.
	(_wrap_bonobo_moniker_simple_new_closure): idem.
	(_wrap_bonobo_listener_new_closure): idem.
	(_wrap_bonobo_event_source_client_add_listener): idem.
	(_wrap_bonobo_item_handler_new_closure): idem.
	(_wrap_bonobo_application_register_message_v): idem.

	* NEWS: Update.

2004-09-25  Gustavo J. A. M. Carneiro  <gustavo@users.sourceforge.net>

	* bonobo/bonoboui.override (_wrap_libbonobo_ui_module_info_get):
	Override to get rid of const warning.
	(_wrap_bonobo_ui_gtk_module_info_get): idem.

	* gnome/appletmodule.c: Include <bonobo/bonobo-main.c> for
	declaration of bonobo_init().
	(initapplet): Actually pass argc, argv to bonobo_init().
	Remarkable it worked before with no arguments passed into it.

	* gnome/ui.override (_wrap_gnome_client_module_info_get): Override
	to get rid of const warning.
	(_wrap_libgnomeui_module_info_get): idem.
	(_wrap_gnome_gtk_module_info_get): idem.

	* gnome/gnome.override (_wrap_libgnome_module_info_get): Override
	to get rid of const warning.

	* gnome/gnomemodule.c (init_gnome): Add gnome_python_version to
	the gnome module.

	* configure.in (GNOME_PYTHON): Define
	GNOME_PYTHON_(MAJOR|MINOR|MICRO)_VERSION.

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

	* examples/vfs/async.py (write_callback, read_callback): Update
	according to API change.

	* gnome/vfs-async-handle.c (read_write_marshal): Add missing
	bytes_requested parameter to callback.

2004-08-27  Gustavo J. A. M. Carneiro  <gustavo@users.sourceforge.net>

	* gnome/ui.defs (gnome_appbar_new): Convert to property based constructor.
	(gnome_app_new): idem.
	(gnome_entry_new): idem.
	(gnome_file_entry_new): idem.
	(gnome_pixmap_entry_new): idem.

2004-08-22  Gustavo J. A. M. Carneiro  <gustavo@users.sourceforge.net>

	* gnomeprint/print.override: Condionally include gnome-print-pango.h.

	* gnomeprint/print.defs: Register new gnome print pango API,
	conditional on HAVE_GNOMEPRINT28.

	* gnomeprint/Makefile.am: Use $(PYGNOMEPRINT_DEFS), defined in
	configure.

	* configure.in: Check for libgnomeprint-2.2 >= 2.7.2, to
	conditionally compile new gnomeprint pango API.

	* gnomeprint/print.defs: Add new API from gnome-print-pango.h.

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

	* configure.in: Require pygtk 2.3.97 because of the
	caller-owns-return bug fixed there.

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

	* tests/: rename vfs.py -> testvfs.py and bonobo.py ->
	testbonobo.py, otherwise the test loader may load the gnome-python
	modules instead of the test scripts.

	* bonobo/Makefile.am (ui_la_SOURCES): Looks like bonoboui doesn't
	need pybonobo_closure_new after all, so remove the corresponding
	source files from the module.

	* tests/bonobo.py: Add a couple of tests, including the new
	pybonobo_closure_new function.

	* bonobo/pybonobo.h, bonobo/pybonobo.c: Add custom bonobo closures
	that automatically map between python and corba exceptions and
	hide the corresponding CORBA_environment from callbacks.

	* bonobo/Makefile.am (_bonobo_la_SOURCES): Add pybonobo.h pybonobo.c.
	(ui_la_SOURCES): idem.

	* bonobo/bonobo.override
	(_wrap_bonobo_moniker_simple_new_closure): Use
	pybonobo_closure_new instead of pyg_closure_new.
	(_wrap_bonobo_listener_new_closure): idem.
	(_wrap_bonobo_property_bag_new_closure): idem.
	(_wrap_bonobo_event_source_client_add_listener): idem.
	(_wrap_bonobo_item_handler_new_closure): idem.

	* configure.in: We require pyorbit 2.0.1 now.

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

	* gnome/applet.override (_wrap_panel_applet_new): Workaround
	libpanel-applet bug: construction of the widget with g_object_new
	does not work.

2004-08-11  Jonathan Blandford  <jrb@redhat.com>

	* gconf/Makefile.am:
	* gnome/Makefile.am:
	* bonobo/Makefile.am:
	* gtkhtml2/Makefile.am:
	* gnomeprint/Makefile.am: use $(pyexecdir) instead of $(pythondir)
	as the module as a whole should be installed in the same place, #149850
	
2004-08-07  Gustavo J. A. M. Carneiro  <gustavo@users.sourceforge.net>

	* bonobo/bonobo-types.defs (AppClient): BonoboAppClient is not a
	BonoboObject, only GObject.

	* bonobo/bonobo.override
	(_wrap_bonobo_event_source_client_add_listener): Use
	bonobo_event_source_client_add_listener_full to return the new
	listener.

2004-08-07  Johan Dahlin  <johan@gnome.org>

	* setup.py (MICRO_VERSION): Post release version bump

	* configure.in: 

=== Gnome-Python 2.5.90 ===
2004-08-05  Gustavo J. A. M. Carneiro  <gustavo@users.sourceforge.net>

	* bonobo/activationmodule.c (wrap_ba_active_server_register): Fix
	objref parameter handling.

2004-08-04  Gustavo J. A. M. Carneiro  <gustavo@users.sourceforge.net>

	* bonobo/bonobo.override (_wrap_bonobo_generic_factory_main):
	Remove conditional compilation. Always use
	bonobo_generic_factory_main_timeout if timeout parameter
	given. Add pyg_begin_allow_threads/pyg_end_allow_threads around
	calls.
	(_wrap_bonobo_generic_factory_main_callback): Add pyg_gil_ calls.

	* tests/vfs.py (VfsTest.testRead): Test gnome.vfs.read_entire_file.

	* Makefile.am (EXTRA_DIST): Add ltihooks.py.

	* ltihooks.py: Add, copied from pygtk.

	* tests/vfs.py (VfsTest.testUri): A simple VFS URI test.

	* tests/common.py, tests/Makefile.am, tests/runtests.py: Testing
	infrastructure, shamelessly copied from pygtk.

	* Makefile.am (SUBDIRS): Add 'tests' subdir.

	* configure.in: Require pygtk 2.3.96 because of the new threading
	stuff.  Add tests/Makefile to output files.

	* everywhere: s/PyGILState_Ensure/pyg_gil_state_ensure;
	s/PyGILState_Relase/pyg_gil_state_release;
	s/Py_BEGIN_ALLOW_THREADS/pyg_begin_allow_threads;
	s/Py_END_ALLOW_THREADS/pyg_end_allow_threads;

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

	* gnome/vfs-async-handle.c: Replace pyg_block|unblock_threads with
	GIL calls.

	* gnome/vfsmodule.c (pygvfs_monitor_marshal): Replace
	pyg_block|unblock_threads with GIL calls.

	* bonobo/bonobo.override (_wrap_bonobo_main):
	Py_BEGIN|END_ALLOW_THREADS instead of pyg_block|unblock_threads.

	* gconf/gconf.override (pygconf_client_notify_add): Replace
	pyg_block|unblock_threads with GIL calls.

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

	* NEWS: Update.

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

	* bonobo/bonobo.override (_wrap_bonobo_stream_client_read): impl.

	* bonobo/bonobo.defs: Remove bonobo_ prefix from all functions
	that still have it.

2004-07-30  Xavier Ordoquy  <xordoquy@linovia.com>

	* gnome/gnomemodule.c: (init_gnome):
	Avoids the double libgnome registration.

2004-07-30  Xavier Ordoquy  <xordoquy@linovia.com>

	* bonobo/activationmodule.c:
	* bonobo/bonobomodule.c:
	Fixes embedded interpreter import. (Done by Johan Dahlin).

2004-07-20  Gustavo J. A. M. Carneiro  <gustavo@users.sourceforge.net>

	* bonobo/bonobo.override
	(_wrap_bonobo_event_source_client_add_listener_closure): Fix
	argument parsing, keyword reorder to match C API.
	(_wrap_bonobo_event_source_client_add_listener): Remove _closure
	suffix from python function name.

2004-06-27   IÃ±aki  <garetxe@users.sf.net>

	* Makefile.am (EXTRA_DIST): Add examples/vfs/async.py.

	* examples/vfs/async.py: Example program for new vfs async functions.

	* gnome/vfs-async-handle.c: New file, wrappers for
	gnome_vfs_async_* operations.

	* gnome/pygnomevfs-private.h: Declare pygvfs_async_module_init.

	* gnome/Makefile.am (vfs_la_SOURCES): Add vfs-async-handle.c.

	Reviewed by Gustavo Carneiro; Fixes bug 121629: Wrapper for
	gnome-vfs async API.

2004-06-27  Gustavo J. A. M. Carneiro  <gustavo@users.sourceforge.net>

	* gnome/ui.defs: Add gnome_thumbnail_* wrappers.

2004-06-26  Gustavo J. A. M. Carneiro  <gustavo@users.sourceforge.net>

	* gnome/gnome.override (_wrap_gnome_help_display): Override, make
	link_id optional and accept None meaning NULL. Fixes bug 144976.

	* gtkhtml2/gtkhtml2.override (_wrap_html_stream_set_cancel_func):
	impl. Fixes bug 117470 (gtkhtml2.Stream.set_cancel_func() missing).

2004-06-24  Gustavo J. A. M. Carneiro  <gustavo@users.sourceforge.net>

	* examples/popt/popt.py: Test/demonstrate [] as default value.
	Also add a comment emphasizing this non-standard feature of
	gnome-python, otherwise I would have to start writing real
	docs... :-P
	
	* gnome/gnome.override (popt_build_table): Allow default value to
	be a list, regardless of option type.
	(popt_cb): If existing option value is a list, append new option
	value to this list.  This allows parsing multiple values for the
	same option by setting the default value in the option table to an
	empty list.
	(popt_build_table): If default value is list, create new empty
	list to set as initial value.

2004-06-20  Gustavo J. A. M. Carneiro  <gustavo@users.sourceforge.net>

	* gnome/vfsmodule.c (initvfs): Change type of hash table
	monitor_hash to g_direct_hash|equal, to manipulate integers
	converted to pointers via GINT_TO_POINTER.
	(pygvfs_monitor_add): Change type of monitor_id from guint32* to
	gint; Use GINT_TO_POINTER in hash table; check that new monitor_id
	isn't already registered in the hash table.
	(pygvfs_monitor_cancel): Use GINT_TO_POINTER in hash table; Remove
	monitor_id after canceling.

	Thanks to Benoît Dejean; Fixes bug 141336: pygvfs_monitor_cancel
	leak and monitor_id type mismatch.

	* gnome/gnome.override (_wrap_gnome_program_init): Accept an
	additional 'properties' argument, containing a list of extra
	properties and values to pass to gnome_program_init.  Only a fixed
	set of properties are supported: "human-readable-name",
	"gnome-path", "gnome-prefix", "gnome-libdir", "gnome-datadir",
	"gnome-sysconfdir", "app-prefix", "app-libdir", "app-datadir",
	"app-sysconfdir", and "espeaker".  Fixes bug 140035 (Unable to
	find the GNOME_FILE_DOMAIN_APP_HELP domain error).

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

	* gnome/nautilus.override: #define NO_IMPORT_PYGOBJECT instead of
	NO_IMPORT_GOBJECT

	* gnome/applet.override: #define NO_IMPORT_PYGOBJECT instead of
	NO_IMPORT_GOBJECT

	* bonobo/bonobo-arg.c: #define NO_IMPORT_PYGOBJECT and
	NO_IMPORT_PYORBIT.

	* gconf/gconf.override: #define NO_IMPORT_PYGOBJECT instead of
	NO_IMPORT_GOBJECT.

	Fixes Bug 140981 (Gnome-Python 2.02 failed to compile on Mac OS X
	10.3); Thanks to Nick Lassonde.

2004-04-17  Gustavo J. A. M. Carneiro  <gustavo@users.sourceforge.net>

	* gnome/gnome.override (_wrap_gnome_popt_parse): Fix segfault if
	leftover_args == NULL.

	* examples/popt/popt.py (prog): Include a call to gnome.popt_parse
	in the popt example.

	* gnome/gnome.defs (popt_parse): Declare new function
	leftover_args, argdict = gnome.popt_parse(argv, popt_table,
	popt_flags=0), for parsing popt arguments outside of gnome.init().
	This function is gnome-python-only, since it does not exist in
	libgnome.

	* gnome/gnome.override (_wrap_gnome_popt_parse): impl.

2004-04-10  Gustavo J. A. M. Carneiro  <gustavo@users.sourceforge.net>

	* gnome/gnome.override (_wrap_gnome_program_init):
	setlocale(LC_NUMERIC, "C") after gnome_program_init(), since
	libgnome 2.6 now changes LC_NUMERIC and Python doesn't allow that.
	(_wrap_gnome_program_init): Don't segfault if popt_table is NULL.
	(_wrap_gnome_get_popt_args): Return empty leftover args and
	argdict if no popt table was passed to gnome.init().

	* configure.in: Up version to 2.5.90, to reflect that this Gnome
	Python targets GNOME 2.6 Platform.  Increment required version of
	pygtk to 2.3.91 (also glib/gtk) because of the G_TYPE_STRV code
	moved.

	* gnome/vfs-file-info.c (pygvfinfo_setattr): Add setters for all
	attributes.  Not sure all setters are actually needed, but they're
	here just in case.  At least some setters are needed for
	gnome.vfs.set_file_info, though.

	* gnome/vfsmodule.c (pygvfs_set_file_info, pygnomevfs_functions):
	Add set_file_info method.

2004-04-10  Scott Tsai  <scottt958@yahoo.com.tw>

	* examples/vfs/shell.py (Shell.stat): Pass
	gnome.vfs.FILE_INFO_GET_MIME_TYPE into gnome.vfs.get_file_info to
	show mime type of URI. Fixes #139315.

2004-04-10  Gustavo J. A. M. Carneiro  <gustavo@users.sourceforge.net>

	* bonobo/bonobomodule.c (init_bonobo): Don't register G_TYPE_STRV
	conversion functions.  Code has moved to pygtk HEAD (gobjectmodule),
	where it belongs.

2004-04-09  Gustavo J. A. M. Carneiro  <gustavo@users.sourceforge.net>

	* gnome/gnome.override (popt_build_table): Use g_strdup instead of
	strdup.

2004-04-09  Rubens Ramos  <rubensr@users.sourceforge.net>

	* examples/popt/popt.py: New example to show usage of application
	popt table with gnome.init().

	* Makefile.am (EXTRA_DIST): Add examples/popt/popt.py.

	* gnome/Makefile.am (defs_DATA): add gnome-types.defs.

	* bonobo/bonoboui.defs: Add functions libbonobo_ui_module_info_get
	and bonobo_ui_gtk_module_info_get.

	* bonobo/Makefile.am (.defs.c): Register gnome-types.defs, for the
	definition of GnomeModuleInfo.

	* gnome/gnomemodule.c (pygnome_add_defined_constants): Add POPT_*
	constants.

	* gnome/ui.defs: Include gnome-types.defs because of
	GnomeModuleInfo.
	(libgnomeui_module_info_get): Add function to get libgnomeui's
	GnomeModuleInfo.

	* gnome/gnome.defs: Include gnome-types.defs because of
	GnomeModuleInfo.
	(libgnome_module_info_get): Add function to get libgnome's
	GnomeModuleInfo.
	(get_popt_args): Declare new gnome-python-only method
	gnome.Program.get_popt_args that returns the stored parsed popt
	arguments.

	* gnome/gnome.override (_wrap_gnome_program_init): Add new keyword
	parameters "module_info", "argv", "popt_table", and "popt_flags",
	adding support for application popt options.
	(popt_build_table, popt_destroy_table, popt_cb): Helper functions
	for popt support.
	(_wrap_gnome_get_popt_args): New method to get parsed popt
	arguments from a gnome.Program.

	Reviewed by Gustavo Carneiro.  Fixes bug 136953.

2004-04-04  Alex Duggan  <aldug@astrolinux.com>

	* configure.in: Fix the PyOrbit download URL.

2004-04-04   Scott Tsai  <scottt958@yahoo.com.tw>

	* gnome/vfsmodule.c (pygvfs_mime_get_description): Return None
	instead of raising ValueError on NULL return.
	(pygvfs_mime_get_default_application): Check for NULL return.
	(pygvfs_mime_get_default_action): idem.
	(pygvfs_mime_get_default_component): idem.
	Reviewed by Gustavo Carneiro. Fixes #138992.

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

	* gnome/Makefile.am (vfs_la_SOURCES): Add vfs-context.c here

2004-03-30  Xavier Ordoquy  <xordoquy@april.org>

	* gnome/ui.override: Commited patch for bug #138474 (thanks to scottt
	for the patch).

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 actually 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.

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-03-08  Gustavo J. A. M. Carneiro  <gustavo@users.sourceforge.net>

	* configure.in: Require gtkhtml >= 2.3.1.

	* gtkhtml2/gtkhtml2.defs (html_selection_get_text): Declare this
	new function, available since gtkhtml 2.3.1.  Thanks to
	juri@iki.fi (Juri Pakaste).  Fixes #134345.

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-02-04  Gustavo J. A. M. Carneiro  <gustavo@users.sourceforge.net>

	* bonobo/bonobomodule.c (init_bonobo): Register boxed conversion
	functions for type G_TYPE_STRV instead of
	BONOBO_TYPE_APPLICATION_ARGV.

	* configure.in: Up required versions of glib and libbonobo.

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-31  Gustavo J. A. M. Carneiro  <gustavo@users.sourceforge.net>

	* examples/bonobo/bonobo-application.py (main): Update to new API.

	* bonobo/bonobo.override (_wrap_bonobo_app_client_msg_send_argv):
	Handle CORBA exception.
	(_wrap_bonobo_app_client_new_instance): idem.
	(_wrap_bonobo_application_create_serverinfo): impl.
	(_wrap_bonobo_application_register_unique): impl.

	* bonobo/bonobo.defs (create_serverinfo): describe new API
	bonobo_application_create_serverinfo.
	(msg_send): bonobo_app_client_msg_send_argv has an added
	CORBA_Environment parameter.
	(new_instance): idem for bonobo_app_client_new_instance.

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

	* gnome/nautilus.override (_wrap_nautilus_view_open_location): impl.

	* gnome/nautilus.defs (open_location_prefer_existing_window)
	(open_location_in_this_window, open_location_force_new_window):
	Remove, no longer part of the libnautilus API.
	(get_window_type, open_location): Declare new libnautilus APIs.

	* 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-25  Gustavo J. A. M. Carneiro  <gustavo@users.sourceforge.net>

	* examples/bonobo/bonobo-application.py (new_instance_cb):
	uncoment some code, new-instance is finally working.

	* bonobo/bonobomodule.c (bonobo_app_argv_from_gvalue)
	(bonobo_app_argv_to_gvalue, init_bonobo): register to/from gvalue
	converter functions for boxed type BONOBO_TYPE_APPLICATION_ARGV.

	* examples/bonobo/bonobo-application.py: New example, the
	testuniqapp program from libbonobo converted to python, except
	that new-instance signal handling is not possible yet, and hooks
	are not wrapped.

	* bonobo/bonobo.override (_wrap_bonobo_application_register_message_v):
	Fix arg_types length and closure. Call pygobject_watch_closure
	with the newly created closure.

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

	* bonobo/bonobo.override, bonobo/bonobo.defs,
	* bonobo/bonobo-types.defs: Wrap new BonoboApplication and
	BonoboAppClient APIs.

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.

	* gnomeprint/printui.defs, gnomeprint/printui.override
	(_wrap_gnome_print_dialog_get_copies): Looks like libgnomeprintui
	API changed again, duplex and tumble arguments were taken back.

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-06  Gustavo J. A. M. Carneiro  <gustavo@users.sourceforge.net>

	* gnomeprint/printui.defs (set_copies): Also update to new
	libgnomeprintui 2.5.1 API.

	* gnomeprint/printui.override
	(_wrap_gnome_print_dialog_get_copies): Update to new libgnomeprint
	2.5.1 API; Returns two new boolean values: duplex, tumble.

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-26  James Henstridge  <james@daa.com.au>

	* gnome/zvt*: remove zvt files.

	* gnome-python.spec.in: remove zvt references.

	* configure.in: remove zvt references.

	* gnome/Makefile.am: remove zvt references.

2003-11-25  Gustavo J. A. M. Carneiro  <gustavo@users.sourceforge.net>

	* examples/bonobo/unknown.py: Example of how to implement a
	Bonobo::Unknown servant using bonobo.UnknownBaseImpl as "mixin"
	class.  It also serves as testbed for further debugging.

	* bonobo/__init__.py: Define a base class, UnknownBaseImpl, do
	help creation of Bonobo::Unknown compliant servants, and allow
	such servants to be aggregated with BonoboObject based servants.

	* bonobo/bonobo.defs: wrap bonobo_object_ref/unref.

	* bonobo/bonobo-types.defs (ForeignObject): Declare type
	BonoboForeignObject.

	* bonobo/bonobo.override: #include <bonobo/bonobo-foreign-object.h>

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.

