=== 2.22.0 === 2008-03-09 Gustavo J. A. M. Carneiro <gjc@gnome.org> * Makefile.am (dist-hook): Copy the waf script over. * configure.ac, wscript: Bump version. * NEWS: Update. 2008-03-01 Paul <ephraim_owns@hotmail.com> reviewed by: Gustavo J. A. M. Carneiro <gjc@inescporto.pt> * gnomecanvas/Makefile.am: * gnomevfs/Makefile.am: Bug 519014 â pass PYTHON_LDFLAGS consistently with common_ldflags. 2008-02-23 Gustavo J. A. M. Carneiro <gjc@gnome.org> * wscript (build): Fix typo in passing includedir into the .pc file. === 2.21.1 === 2008-02-23 Gustavo J. A. M. Carneiro <gjc@gnome.org> * INSTALL.WAF, configure.ac: Add autotools deprecation warning and WAF build instructions. * NEWS: Update. 2008-02-16 Gustavo J. A. M. Carneiro <gjc@inescporto.pt> * bonobo/wscript: * gconf/wscript: * gnome/wscript: * gnomecanvas/wscript: * gnomevfs/wscript: Fix waf scripts to build python extensions using the 'plugin' object type. This should fix the python modules for Mac OS X when using waf 1.3.2. 2008-02-03 Gustavo J. A. M. Carneiro <gjc@gnome.org> * wscript (configure): Check for the 'gnome' tool first, to make python use LIBDIR (if running waf trunk). 2008-01-07 Gustavo J. A. M. Carneiro <gjc@inescporto.pt> * bonobo/wscript: * gconf/wscript: * gnome/wscript: * gnomecanvas/wscript: Set priority of codegen tasks, to make sure they're executed before compilation. 2007-12-15 Gian Mario Tagliaretti <gianmt@gnome.org> * examples/basic-gconf-app.py: * examples/simple-view.py: remove depracation warnings, fixes #503603 based on a patch by Nishio Futoshi. === 2.21.0 === 2007-12-04 Gustavo J. A. M. Carneiro <gjc@gnome.org> * NEWS: Update. 2007-12-03 Gustavo J. A. M. Carneiro <gjc@gnome.org> * docs/gnomevfs/Makefile.am (REFERENCE_XML_FILES): Fix generating html files when srcdir != blddir. * *Makefile.am: ship the wscript files. * docs/pygtk-ref-docs.make (EXTRA_DIST): Fix inclusion of html files when srcdir != blddir. * Makefile.am (EXTRA_DIST): Add 'waf'. 2007-12-02 Gustavo J. A. M. Carneiro <gjc@gnome.org> * docs/pygtk-ref-docs.make (EXTRA_DIST): Ship the generated html docs. * configure.ac: Bump version to 2.21.0 (already is in WAF). 2007-12-02 Gustavo J. A. M. Carneiro <gjc@inescporto.pt> * docs/gnomevfs/wscript: * wscript: Install the generated html, and ship them with the tarball generated by waf dist. * bonobo/wscript: * docs/gnomevfs/wscript: * gconf/wscript: * gnome/wscript: * gnomecanvas/wscript: * gnomevfs/wscript: * wscript: Add wscript files for building with WAF. 2007-12-02 Gustavo J. A. M. Carneiro <gjc@gnome.org> * gnomevfs/vfsbonobomodule.c: Add missing bonobo-activation/Bonobo_Activation_types.h include. * bonobo/pybonobo.c: Include libbonobo.h, not bonobo.h. 2007-11-24 Moriyoshi Koizumi <moriyoshi@at.wakwak.com> reviewed by: Gustavo J. A. M. Carneiro * gnomecanvas/canvas.override, * gnomecanvas/canvasmodule.c (initgnomecanvas): Bug 494500 â gnomecanvas.path_def_new() doesn't provide a way to build a closed path. 2007-11-24 Julio Carlos <juliocarlos@uh.cu> reviewed by: Gustavo J. A. M. Carneiro * gnomevfs/vfsmodule.c (pygvfs_create_symbolic_link): Bug 467688 â Binding for gnome_vfs_create_symbolic_link. 2007-11-24 Lauro Moura <lauromoura@gmail.com> reviewed by: Gustavo J. A. M. Carneiro * gnomevfs/vfsmodule.c (pygvfs_get_file_mime_type): Bug 462884 â Add support for get_file_mime_type. === 2.20.1 === 2007-11-24 Gustavo J. A. M. Carneiro <gjc@gnome.org> * NEWS: Update. 2007-11-24 Guillaume Seguin <guillaume@segu.in> reviewed by: Gustavo J. A. M. Carneiro * gnome/gnome.override, * tests/testgnome.py: Bug 497178 â Segfault when using a popt argument with an empty short name. 2007-11-24 Gustavo J. A. M. Carneiro <gjc@gnome.org> * gnomevfs/vfs-drive.c (wrap_gnomevfs_volume_op_callback): Fix bad template string when calling the python callback. Fixes bug #477740. === 2.20.0 === 2007-09-16 Gustavo J. A. M. Carneiro <gjc@gnome.org> * NEWS: Update. * configure.ac: Bump version. 2007-08-26 Jonathan Matthew <notverysmart@gmail.com> * gnomevfs/vfs-file-info.c: (pygvfinfo_getattr): Fix typo in the error message for missing mtime values. Fixes bug #465404. 2007-08-07 Johan Dahlin <jdahlin@async.com.br> * gnomevfs/gnome-vfs-python-method.c: Change header to LGPL, thanks to Matthias Clasen for pointing out. === 2.19.2 === 2007-07-30 Gustavo J. A. M. Carneiro <gjc@gnome.org> * configure.ac: Bump version. * NEWS: Update. 2007-07-28 Gustavo J. A. M. Carneiro <gjc@gnome.org> * gconf/gconf.override (_wrap_gconf_value_get_car), (_wrap_gconf_value_get_cdr): Copy the boxed value returned by gconf. Fixes bug #461278. 2007-07-08 Gustavo J. A. M. Carneiro <gjc@gnome.org> * bonobo/bonobo.override: * bonobo/bonoboui.override: * gconf/gconf.override: * gnome/gnome.override: * gnome/ui.override: * gnomecanvas/canvas.override: #include "config.h" to get a __version__ attribute on the module when compiling with newer (pygtk trunk) codegen. === 2.19.1 === 2007-07-07 Gustavo J. A. M. Carneiro <gjc@gnome.org> * configure.ac: Set version to 2.19.1 for release. * NEWS: Update. 2007-07-04 Gustavo J. A. M. Carneiro <gjc@gnome.org> * gnomevfs/vfsmodule.c (_wrap_gnome_vfs_mime_type_get_equivalence): Wrap gnome_vfs_mime_type_get_equivalence, closes #453517. 2007-06-18 Sebastien Bacher <seb128@ubuntu.com> * acinclude.m4: use python-config to get python includes (Closes #448179) 2007-05-13 Sébastien Granjoux <seb.sfo@free.fr> reviewed by: Gustavo Carneiro * gnome/uimodule.c (initui): Bug #438129: Cannot load gnome.ui at run time without a warning. 2007-04-30 Gian Mario Tagliaretti <gianmt@gnome.org> * gnomevfs/vfs-drive.c: wrap gnome_vfs_drive_needs_eject Fixes #419225. === 2.18.2 === 2007-04-09 Gustavo J. A. M. Carneiro <gjc@gnome.org> * configure.ac: Bump version, again. 2007-04-09 Gian Mario Tagliaretti <gianmt@gnome.org> reviewed by: Gustavo Carneiro. * gnome/ui.override (_wrap_gnome_icon_lookup): Allow the thumbnail_factory parameter to be None. Fixes #418926. === 2.18.1 === 2007-04-09 Gustavo J. A. M. Carneiro <gjc@gnome.org> * configure.ac: Bump version. * NEWS: Update. 2007-03-28 Gustavo J. A. M. Carneiro <gjc@gnome.org> * acinclude.m4: Don't link python modules with libpython on Darwin. Fixes #417004. === 2.18.0 === 2007-03-12 Gustavo J. A. M. Carneiro <gjc@inescporto.pt> * NEWS: Update. * configure.ac: Bump version. 2007-03-10 Gustavo J. A. M. Carneiro <gjc@gnome.org> * configure.ac: Update required GnomeVFS version to 2.14.0. Fixes #416792. 2007-03-03 Gustavo J. A. M. Carneiro <gjc@gnome.org> * gconf/gconf.override (_wrap_gconf_value_new_from_string): Override and check that the gconf value isn't GCONF_VALUE_LIST or GCONF_VALUE_PAIR. Fixes #309016. === 2.17.92 === 2007-02-25 Gustavo J. A. M. Carneiro <gjc@gnome.org> * configure.ac: Vesion 2.17.92. * tests/runtests.py: Only look for test*.py for unit test sources. * tests/testbonobo.py (BonoboTest.testEventSource): Tweak test a bit to work around a pyorbit or orbit2 bug. 2007-02-24 Ed Catmur <ed@catmur.co.uk> Reviewed by: Gustavo Carneiro. * gnomevfs/vfsmodule.c (pygvfs_mime_application_new): Bug #411560: pygvfs_mime_application_new mishandles mimeapp->expects_uris. 2007-02-23 Johan Dahlin <jdahlin@async.com.br> * gconf/gconf.override: Do not ignore all get_type functions, add a blacklist instead, so gconf.Schema.get_type is generated. Fixes #411340 (Havoc Pennington) 2007-02-11 Gustavo J. A. M. Carneiro <gjc@gnome.org> * gnomevfs/vfs-async-handle.c (pygvfs_async_find_directory_callback): Handle NULL uri in case of error. Fixes bug #402255. * bonobo/__init__.py: Untabify to make python happy. Thanks Andreas Hanke. Fixes #405266. 2007-02-07 Gustavo J. A. M. Carneiro <gjc@inescporto.pt> * bonobo/Makefile.am (_bonobo_la_LIBADD): Fix typo, bug #405312. === 2.17.2 === 2007-01-08 Gustavo J. A. M. Carneiro <gjc@inescporto.pt> * NEWS: Update. * configure.ac: Version 2.17.2. 2007-01-08 Christopher Taylor <christophth@tiscali.it> Reviewed by: Gustavo Carneiro. * gnome-python-2.0.pc.in: datarootdir must be defined before datadir. Fixes #394172. === 2.17.1 === 2007-01-07 Gustavo J. A. M. Carneiro <gjc@gnome.org> * NEWS: Update. * gconf/gconf.override: Introduce the new methods gconf.Client.set_value and gconf.Client.get_value, which are more Python-friendly than other APIs. Closes #392841. * gnome-python-2.0.pc.in: Add missing datarootdir definition to avoid configure warning (thanks Christian Perch). * configure.ac: Bump version to 2.17.1. * autogen.sh: * configure.in: Rename configure.in to configure.ac. 2007-01-06 Gustavo J. A. M. Carneiro <gjc@gnome.org> * gnomecanvas/canvas.defs, * gnomecanvas/canvas.override: Wrap the GnomeCanvasRichText methods. Partial patch provided by Thomas Petazzoni. Fixes #386844. 2007-01-06 Gustavo J. A. M. Carneiro <gjc@gnome.org> * configure.in: Make the python compiler used globally, for consistency. 2007-01-06 Roy Marples <uberlord@gentoo.org> Reviewed by: Gustavo Carneiro. * acinclude.m4: Use CC=PYTHON_CC=sysconfig.get_config_var('CC'), i.e. the compiler used to compile Python itself, for the Python tests, so that -pthread is included when appropriate. Fixes #387177. === 2.16.2 === 2006-11-05 Gustavo J. A. M. Carneiro <gjc@gnome.org> * configure.in: Really require PyGTK 2.10.3, not 2.10.4. Bump version to 2.16.2 === 2.16.1 === 2006-11-05 Gustavo J. A. M. Carneiro <gjc@gnome.org> * configure.in: Bump version to 2.16.1. 2006-11-05 Gustavo J. A. M. Carneiro <gjc@inescporto.pt> * gnomevfs/Makefile.am (INCLUDES): Define PY_SSIZE_T_CLEAN. * gnomevfs/pygnomevfs-private.h: Add Py_ssize_t conditional definition. * gnomevfs/vfs-handle.c (pygvhandle_write): Py_ssize_t fix. * gnomevfs/vfsmodule.c (pygvfs_get_mime_type_for_data): Py_ssize_t fix. (_wrap_gnome_vfs_dns_sd_resolve_sync): Idem. * gnomecanvas/canvas.override (_wrap_gnome_canvas_item_set): Fix PyDict_Next pos parameter type. (_wrap_gnome_canvas_item_new): Idem. * gnomecanvas/Makefile.am (.defs.c): Add --py_ssize_t-clean option. * gnome/Makefile.am (.defs.c): Add --py_ssize_t-clean option. * bonobo/bonobo.override (_wrap_bonobo_stream_client_read): Fix signedness warning. (_wrap_bonobo_stream_mem_create): Use Py_ssize_t. * bonobo/Makefile.am (.defs.c): Add --py_ssize_t-clean option. 2006-11-05 Gustavo J. A. M. Carneiro <gjc@gnome.org> * gconf/gconf.override: Fix a few compilation warnings. * gconf/Makefile.am (.defs.c): Add --py_ssize_t-clean option to pygtk-codegen. * configure.in: Require PyGTK 2.10.3 in order to use new codegen features to support Python 2.5 + 64 bits. * gconf/gconf.override: Make gconf.Client constructor call gconf_client_get_default(); Closes #365565. * acinclude.m4: Use distutils to get LIBDIR and LIBPL from the makefile installed by python; fixes compilation in Mac OS X. Fixes #363374 (Randall Wood). 2006-10-06 Gustavo J. A. M. Carneiro <gjc@gnome.org> * tests/Makefile.am: Fix running 'make check' when builddir != srcdir. === 2.16.0 === 2006-09-04 Gustavo J. A. M. Carneiro <gjc@gnome.org> * configure.in: Bump version to 2.16.0. * NEWS: Update. === 2.15.91 === 2006-08-21 Gustavo J. A. M. Carneiro <gjc@gnome.org> * NEWS: Update. * configure.in: Bump version to 2.15.91. 2006-08-17 Gustavo J. A. M. Carneiro <gjc@gnome.org> * acinclude.m4: Use distutils to extract the correct set of libraries that libpython depends on. Fixes #351675. 2006-08-09 Gustavo J. A. M. Carneiro <gjc@gnome.org> * bonobo/bonobo.defs: Oops, forgot about the API freeze, comment out bonobo_main_level. * bonobo/bonobo.defs: Wrap bonobo_main_level(). * bonobo/bonobo.override: Allow KeyboardInterrupt in bonobo.main() ( mostly copied from pygobject ). (_wrap_bonobo_main_quit): Raise exception if not running a bonobo main loop. === 2.15.90 === 2006-07-24 Gustavo J. A. M. Carneiro <gjc@gnome.org> * NEWS: Update. * configure.in: Bump version to 2.15.90. * Makefile.am (EXTRA_DIST): Add examples/bug-buddy-integration.py, a new example demonstrating integration of python errors with bug-buddy. Code from #346106 (Fernando Herrera). 2006-07-18 Gustavo J. A. M. Carneiro <gjc@inescporto.pt> * gnomevfs/pygnomevfs.h: Convert init_pygnomevfs macro to an inline static function pygnomevfs_init, for easier debugging. * configure.in: Check for GNOMEVFS without pyorbit or bonobo; Make a separate check for gnome-vfs with pyorbit and bonobo, to build the gnomevfs.gnomevfsbonobo support module. * gnomevfs/Makefile.am, * gnomevfs/__init__.py, * gnomevfs/pygnomevfsbonobo.h, * gnomevfs/vfsbonobomodule.c, * gnomevfs/vfsmodule.c: Split the gnomevfs module in 3 parts: 1. a C part, with most APIs, 2. another C part with the bonobo related functions, 3. a python part that lazy loads the bonobo functions only when required. This avoids dependency of gnomevfs on bonobo and pyorbit for most applications. === 2.15.4 === 2006-07-12 Gustavo J. A. M. Carneiro <gjc@inescporto.pt> * NEWS: Update. * configure.in: Request bonobo-activation-2.0 explicitly for GNOMEVFS and GNOME_VFS_MODULE. Bump version to 2.15.4. * gnomevfs/Makefile.am (INCLUDES): define GNOME_VFS_INCLUDE_BONOBO in order to include the prototypes for the deprecated APIs. === 2.15.3 === 2006-07-10 Gustavo J. A. M. Carneiro <gjc@gnome.org> * configure.in: Bump version. * NEWS: Update. 2006-07-05 Joe Marcus Clarke <marcus@freebsd.org> * configure.in, * gnome/gnome.override (_wrap_gnome_program_init): Call setproctile on BSD to change process name. Closes #344619. Reviewed by Gustavo Carneiro. 2006-07-05 Gustavo J. A. M. Carneiro <gjc@gnome.org> * configure.in: Blacklist pygtk 2.9.[01]. 2006-06-25 Gustavo J. A. M. Carneiro <gjc@gnome.org> * acinclude.m4: Replce AM_CHECK_PYTHON_HEADERS with an improved version, previously in pyorbit (but also improved again), that also checks for python libraries. * configure.in: Don't call AM_CHECK_PYTHON_LIBS: its functionality is now embedded in AM_CHECK_PYTHON_HEADERS. * gnome/Makefile.am: Use PYTHON_LIBS and PYTHON_LDFLAGS to compile extension modules. * gnomecanvas/Makefile.am: Use PYTHON_LIBS and PYTHON_LDFLAGS to compile extension modules. * gnomevfs/Makefile.am (libpythonmethod_la_LIBADD): Use PYTHON_EMBED_LIBS instead of PYTHON_LIBS, to adatp to the new macro. Use PYTHON_LIBS and PYTHON_LDFLAGS to compile extension modules. === 2.15.2 === 2006-06-11 Gustavo J. A. M. Carneiro <gjc@gnome.org> * NEWS: Update. * configure.in: Bump version to 2.15.2. 2006-05-20 Gustavo J. A. M. Carneiro <gjc@gnome.org> * gnomevfs/vfs-handle.c (pygvhandle_file_control): Bug 338920: Non-async 'control' method. 2006-05-17 Gustavo J. A. M. Carneiro <gjc@gnome.org> * gnome/gnome.override (_wrap_gnome_program_init): Don't call prctl if PR_SET_NAME is not defined as macro. Fixes #342180. Thanks Frederic Peters. * gnome/gnome.override (_wrap_gnome_program_init): Call prctl to change process title to argv[0]. * configure.in: Check for the prctl linux function. 2006-05-08 Gustavo J. A. M. Carneiro <gjc@gnome.org> * docs/pygtk-ref-docs.make (html.stamp): Pass "--stringparam chunker.output.encoding UTF-8" to xsltproc to force utf-8 output encoding. 2006-05-01 Gustavo J. A. M. Carneiro <gjc@gnome.org> * gnomevfs/vfs-file-info.c (pygvfinfo_getattr, pygvfinfo_setattr): Introduce a new 'access' fake attribute to read/write just the three ACCESS_* bits of permissions. Fixes #338916, part 2/2. 2006-05-01 Sidnei da Silva <sidnei@awkly.org> reviewed by: Gustavo * gnomevfs/vfs-file-info.c (pygvfinfo_getattr), (pygvfinfo_setattr): Fix FileInfo.valid_fields computation. * gnomevfs/vfsmodule.c (register_constants): Add some missing constants. Fixes #338916, part 1/2. === 2.15.1 === 2006-04-23 Gustavo J. A. M. Carneiro <gjc@gnome.org> * NEWS: Update. 2006-04-15 Sidnei da Silva <sidnei@awkly.org> * gnomevfs/gnome-vfs-python-method.c (vfs_module_init): Allow gnomevfs python modules from ~/.gnome2/vfs/pythonmethod. Reviewed by Gustavo. 2006-04-15 Gustavo J. A. M. Carneiro <gjc@gnome.org> * gnomevfs/vfsmodule.c (register_constants): Add missing constants PERM_ACCESS_READABLE, PERM_ACCESS_WRITABLE, PERM_ACCESS_EXECUTABLE, PRIORITY_MIN, PRIORITY_MAX, and PRIORITY_DEFAULT, as reported by Mystilleef (bug 335951). * gnome/ui.override (_wrap_gnome_appbar_new), * gnome/ui.defs (appbar_new): Bug 334836: gnome.ui.AppBar constructor broken. 2006-02-19 Gustavo J. A. M. Carneiro <gjc@gnome.org> * acinclude.m4 (AM_CHECK_PYMOD): Quote macro definition. * configure.in: Call AM_CHECK_PYTHON_LIBS for determining whether to build gnomevfs python module support. * acinclude.m4: Create new macro AM_CHECK_PYTHON_LIBS to check for python lib location and presence. * gnomevfs/Makefile.am (libpythonmethod_la_LIBADD): Replace -lpython with $(PYTHON_LIBS). 2006-01-02 Gustavo J. A. M. Carneiro <gjc@gnome.org> * docs/gnomevfs/Makefile.am (REFERENCE_MAIN_FILE) (REFERENCE_DOC_NAME): Rename gnomevfs to pygnomevfs to avoid potential conflict with C docs. 2005-12-22 Gustavo J. A. M. Carneiro <gjc@gnome.org> * gnomevfs/gnome-vfs-python-method.c (EXCEPTION_CHECK): Release Python GIL _after_ PyErr_Clear(), not before. My fault for erroneously applying Eitan Isaacson's previous patch. Patch by Eitan Isaacson. Fixes #324453. 2005-12-22 David Trowbridge <trowbrds@gmail.com> * docs/gnomevfs/gnomevfs-constants.xml: * docs/gnomevfs/gnomevfs-functions.xml: Document a couple more functions 2005-12-18 David Trowbridge <trowbrds@gmail.com> * configure.in: * docs/Makefile.am: * docs/gnomevfs: Move gnomevfs manual into its own directory 2005-12-18 David Trowbridge <trowbrds@gmail.com> * configure.in: * Makefile.am: Add docs/ to build-system * docs/: Add partial gnomevfs documentation 2005-12-13 Gustavo J. A. M. Carneiro <gjc@inescporto.pt> * gnome/gnome.override (_wrap_gnome_program_init): Don't destroy popt_table if it is NULL. 2005-12-13 Eitan Isaacson <eitan@ascender.com> * gnomevfs/gnome-vfs-python-method.c (do_check_same_fs): call check_same_fs function instead of move_func. Reviewed by: Gustavo Carneiro === 2.12.2 === 2005-12-01 Gustavo J. A. M. Carneiro <gjc@gnome.org> * configure.in: Version 2.12.2. * NEWS: Update. 2005-12-01 Eitan Isaacson <eitan@ascender.com> * gnomevfs/gnome-vfs-python-method.c (EXCEPTION_CHECK): Add missing PyErr_Clear() on VFS error branch. Reviewed by Gustavo Carneiro. 2005-11-14 Gustavo J. A. M. Carneiro <gjc@inescporto.pt> * gnomecanvas/canvas.override (_wrap_gnome_canvas_item_grab): Bad format char for py_event_mask arg. Thanks to Xavier Ordoquy. 2005-10-20 Gustavo J. A. M. Carneiro <gjc@gnome.org> * gnome/ui.override (_wrap_gnome_icon_lookup): Fix error message when either file_info or mime_type are missing. Make custom_icon optional, like it is in the C API. === 2.12.1 === 2005-10-03 Gustavo J. A. M. Carneiro <gjc@gnome.org> * gnomevfs/vfs-async-handle.c: #define NO_IMPORT_PYGOBJECT, bug #315382. Patch by dmacks@netspace.org. * bonobo/pybonobo.c: #define NO_IMPORT_PYORBIT, more related to bug #315382. Patch by dmacks@netspace.org. * configure.in: Bump version to 2.12.1. 2005-09-14 Gustavo J. A. M. Carneiro <gjc@gnome.org> * gnome/ui.override: #define NO_IMPORT_PYGNOMEVFS, to complement fix of bug #315382. 2005-09-13 Gustavo J. A. M. Carneiro <gjc@gnome.org> * gconf/gconf-types.c: #define NO_IMPORT_PYGOBJECT before including pygobject.h. Fixes bug 315382: "Cannot compile: __PyGnomeVFS_API problem". Patch by dmacks@netspace.org. 2005-09-15 Raphael Slinckx <rslinckx@cvs.gnome.org> * gnome/ui.override: Remove a very useful g_message("foo") === 2.12.0 === 2005-08-26 Gustavo J. A. M. Carneiro <gjc@gnome.org> * examples/canvas/canvas-example.py (CanvasExample.main): Activate antialiasing mode, otherwise users will have difficulty figuring out how to do so. 2005-08-25 Gustavo J. A. M. Carneiro <gjc@gnome.org> * configure.in: Bump version to 2.12.0, so that nautilus-python can depend on it. This should be the next version, due very soon, anyway... * gnome-python-2.0.pc.in (Cflags): Add -I${includedir}/gnome-python-2.0. * gnomevfs/Makefile.am: Install pygnomevfs.h to $(includedir)/gnome-python-2.0. 2005-08-22 Gustavo J. A. M. Carneiro <gjc@gnome.org> * examples/vfs/pygvfsmethod/README: Add some more info. 2005-08-21 Gustavo J. A. M. Carneiro <gjc@gnome.org> * examples/vfs/pygvfsmethod/: Add a new example of a GnomeVFS module written in python. 2005-08-16 Gustavo J. A. M. Carneiro <gjc@gnome.org> * gnomevfs/vfs-async-handle.c (pygvfs_async_xfer_progress_callback): Fix invalid access to py_info after being decreffed. === 2.11.3 === 2005-07-11 Gustavo J. A. M. Carneiro <gjc@gnome.org> * configure.in: Bump to version 2.11.3. 2005-07-10 Gustavo J. A. M. Carneiro <gjc@gnome.org> * Makefile.am (EXTRA_DIST): Add canvas-curve.py example demonstrating the use bezier objects. I don't remember who wrote it, unfortunately.. :| * gnomevfs/vfsmodule.c: Add functions dns_sd_browse_sync, dns_sd_resolve_sync, dns_sd_list_browse_domains_sync, and get_default_browse_domains. 2005-06-25 Gustavo J. A. M. Carneiro <gjc@gnome.org> * gconf/gconf.override (pygconf_parse_gvalue): For string type, return Py_None if the string pointer is NULL. Fixes Bug 308998: passing the wrong number of arguments to client.get_pair causes segfault. 2005-06-02 Gustavo J. A. M. Carneiro <gjc@gnome.org> * gnome/canvas.py: Add stacklevel=2 to the warning. 2005-05-28 Gustavo J. A. M. Carneiro <gjc@gnome.org> * gnomecanvas/canvas.override: Don't define GNOME_TYPE_CANVAS_PATH_DEF if it is already defined. Fixes bug #305457. Thanks Murray Cumming. === 2.11.2 === 2005-05-16 Gustavo J. A. M. Carneiro <gjc@gnome.org> * NEWS: Update. * gnomevfs/gnome-vfs-python-method.c (GILSTATE_ENSURE) (GILSTATE_RELEASE): Disable debug spew. * configure.in: Bump version to 2.11.2. 2005-05-09 Sidnei da Silva <sidnei@awkly.org> * Makefile.am (EXTRA_DIST): Add examples/vfs/cancellation.py. * gnomevfs/vfs-context.c (pygvcontext_check_cancellation): Add gnomevfs.Context.check_cancellation. (pygvcontext_cancel): Add gnomevfs.Context.cancel. * gnomevfs/vfsmodule.c (initgnomevfs): Initialize PyGnomeVFSContext_Type and add it to module dictionary. * gnomevfs/vfs-context.c (pygvcontext_init): Check for gnome_vfs_context_new() failure. Reviewed by Gustavo Carneiro. 2005-05-15 Gustavo J. A. M. Carneiro <gjc@gnome.org> * gnomevfs/gnome-vfs-python-method.c (do_file_control): Support new python object passing protocol/interface. * gnomevfs/vfs-async-handle.c (pygvfs_async_file_control) (pygvfs_async_file_control_callback): Change interface to pass arbitrary python objects to the backend, which only works for backend implemented in python, obviously. * gnomevfs/gnome-vfs-python-method.c (do_is_local): Use PyObject_IsTrue to check boolean return value instead of requiring an int. (do_move): Use PyBool_FromLong to convert force_replace parameter. (do_check_same_fs): Use PyObject_IsTrue to check return value. (everywhere): A bunch of PyObject reference leaks fixed. (vfs_module_init): Fix initialization for case when python interpreter is already initialized. 2005-05-14 Gustavo J. A. M. Carneiro <gjc@gnome.org> * gnomevfs/Makefile.am: Build GnomeVFS python module bridge by default. * configure.in: Detect cflags/libs for building gnome-vfs modules. * gnomevfs/pygnomevfs.h (init_pygnomevfs): Remove the redundant return statements after Py_FatalError. 2005-05-14 Johan Dahlin <johan@gnome.org> * gnomevfs/gnome-vfs-python-method.c: Together with Sidnei da Silva: some threading and exception fixes; add preliminary support for file_control method. Fix some uses of PyBuffer_* API. 2005-05-09 Sidnei da Silva <sidnei@awkly.org> reviewed by: Johan Dahlin <johan@gnome.org> * configure.in: * Makefile.am: Make GConf build conditional 2005-05-09 Johan Dahlin <johan@gnome.org> * gnomevfs/vfsmodule.c: Add GNOME_VFS_OPEN_TRUNCATE. * configure.in: Bump required gnome-vfs version to 2.9.3 2005-05-03 Gian Mario Tagliaretti <g.tagliaretti@parafernalia.org> * examples/canvas/canvas-example.py: Fix deprecation warnings. 2005-05-02 Johan Dahlin <johan@gnome.org> * gnomevfs/gnome-vfs-python-method.c: Improved exception handling, make it compile again, Allow boolean return values, fix path. * gnomevfs/vfsmodule.c: Add context_new/context_type to API 2005-04-25 Gustavo J. A. M. Carneiro <gjc@gnome.org> * configure.in: Require gconf 2.11.1 because of GType of GConfUnsetFlags. * gconf/gconf.defs (UnsetFlags): Add. Fixes #167072. 2005-04-48 Benoît Dejean <TazForEver@dlfp.org> * gnomevfs/vfsmodule.c (pygvfs_resolve): Add wrapper for gnome_vfs_resolve. Closes #165090. 2005-04-15 Gustavo J. A. M. Carneiro <gjc@gnome.org> * setup.py: Put a big warning for anyone that tries to run this. This file is *unmaintained*. 2005-04-15 Duarte Henriques <duarte_henriques@myrealbox.com> * gnomecanvas/canvas.defs (set_scroll_region, get_scroll_region): Add. Fixes #167901. 2005-04-15 Gustavo J. A. M. Carneiro <gjc@gnome.org> * gconf/gconfmodule.c (initgconf): Add gconf.Engine to the module. * gconf/gconf-types.c (pygconf_engine_associate_schema): Implement. Make PyGConfEngine_Type non-static. 2005-04-12 Gustavo J. A. M. Carneiro <gjc@gnome.org> * configure.in: Require pygtk >= 2.6.2 for #300012 fix. * gconf/gconf.override (pygconf_client_notify_add): Fix guint conversion problem (#170822). Also fix a bunch of PyObject reference leaks, there since the dawn of time. And no need to call PyErr_Clear() after PyErr_Print(). (_wrap_gconf_client_notify_add): Return long instead of int in order to use the full 32-bit range of a unsigned integer. Thanks Benoît Dejean for help with this. === 2.10.0 === 2005-03-07 Gustavo J. A. M. Carneiro <gjc@gnome.org> * NEWS: Update. * configure.in: Bump version to 2.10.0; Require pygtk 2.6.0. * configure.in: Remove initial whitespace in pygtk_required_version definition that causes problems with defining PYGTK_VERSION later on. === 2.9.5 === 2005-02-27 Gustavo J. A. M. Carneiro <gjc@gnome.org> * NEWS: Update. * configure.in: Bump version to 2.9.5. 2005-02-12 Gustavo J. A. M. Carneiro <gjc@gnome.org> * gnomecanvas/canvas.override (_wrap_gnome_canvas_path_def_new): Remove the final gnome_canvas_path_def_closepath_current; it is not needed and produces critical warnings in some situations. 2005-02-09 Gustavo J. A. M. Carneiro <gjc@gnome.org> * gnome/ui.defs: Rename like gnome.ui.Client.connect to gnome.ui.Client.connect_to_session_manager, as it was in gnome-python 2.6.x. 2005-01-28 Gustavo J. A. M. Carneiro <gjc@gnome.org> * bonobo/bonobo.override (_wrap_bonobo_app_client_msg_send_argv): Disallow use of string as argv, since it is a sequence but not what the user wants, I'm sure. Don't use PySequence_Fast_GET_ITEM. * configure.in: Use new macro GNOME_COMMON_INIT from gnome-common, instead of manually changing ACLOCAL variable. 2005-01-27 Benoît Dejean <TazForEver@dlfp.org> * gnomevfs/vfsmodule.c: (pygnome_vfs_result_check): Fixed exception value. Exception value was formerly set to NULL by error. 2005-01-18 Gustavo J. A. M. Carneiro <gjc@gnome.org> * gnome/gnome.override (_wrap_gnome_program_init): Don't change LC_NUMERIC on Python >= 2.4. === 2.9.4 === 2005-01-17 Gustavo J. A. M. Carneiro <gjc@gnome.org> * NEWS: Update. * configure.in: Fix required versions of libgnomecanvas and libgnome[ui]. Thanks Sebastien Bacher. Bump version to 2.9.4. === 2.9.3 === 2005-01-17 Gustavo J. A. M. Carneiro <gjc@gnome.org> * NEWS: Update. * configure.in: Bump version to 2.9.3. Update required versions of everything: gnome 2.9 platform required. 2005-01-17 Mark McLoughlin <mark@skynet.ie> Adding wrapping for GConfEngine. bug #164059 * gconf/gconf-arg-types.py: add GConfEngine ArgType. * gconf/gconf-types.[ch]: impl. GConfEngine PyObject. * gconf/Makefile.am: build gconf-types.[ch], use gconf-arg-types.py. * gconf/gconf.defs: remove some GConfEngine methods which are internal to GConf. * gconf/gconf.override: include gconf-types.h * gconf/gconfmodule.c: (initgconf): call pygconf_register_engine_type() 2005-01-16 Gustavo J. A. M. Carneiro <gjc@gnome.org> * gnome/ui.defs (href_new): Fix accidental typo GnomeHRef -> GnomeHref, introduced when defs were rescanned and merged on 2004-11-06. 2005-01-15 Gustavo J. A. M. Carneiro <gjc@gnome.org> * gnomevfs/vfsmodule.c (pygvfs_uris_match): Missing & in uri2. * gconf/gconf.override (_wrap_gconf_value_set_list): Fix py_list/list typo. === 2.9.2 === 2004-12-26 Gustavo J. A. M. Carneiro <gjc@gnome.org> * NEWS: Update. * examples/vfs/async.py: Add a file control test. * gnomevfs/vfs-async-handle.c (async_pass): Not used, remove. (pygvfs_async_file_control): Wrap gnome_vfs_async_file_control, as method 'control' of gnomevfs.async.Handle. * examples/vfs/async.py: Call gnomevfs.async.find_directory. * gnomevfs/vfs-async-handle.c (pygvhandle_dealloc): Do not automatically close the handle on dealloc. Rationale is provided in a code comment (basically to avoid accidental programming errors). (pygvfs_async_xfer_progress_callback): Now we can pass the handle to the callback. * gnomevfs/vfsmodule.c (register_constants): Register GNOME_VFS_DIRECTORY_KIND_* constants. * gnomevfs/vfs-async-handle.c (pygvfs_async_find_directory): Impl. wrapper for gnomevfs.async.find_directory(). 2004-12-25 Gustavo J. A. M. Carneiro <gjc@gnome.org> * gnomevfs/vfs-async-handle.c (pygvfs_async_xfer_progress_callback): Free callback function/data references and memory when the stage reaches GNOME_VFS_XFER_PHASE_COMPLETED. * Makefile.am (EXTRA_DIST): Add sync-xfer.py example. * examples/vfs/async-xfer.py: Example for gnomevfs.async.xfer. * gnomevfs/vfs-async-handle.c (pygvfs_async_xfer_progress_callback): PyErr_Print() when python callback returns NULL. (pygvfs_async_xfer): INCREF both callbacks. * gnomevfs/vfsmodule.c (pygvfs_xfer_progress_callback): PyErr_Print() when python callback returns NULL. * gnomevfs/vfs-async-handle.c: Fix name of function, should be 'xfer' instead of 'async_xfer'. * Makefile.am (EXTRA_DIST): Add sync-xfer.py example. * examples/vfs/sync-xfer.py: An example of gnomevfs.xfer_uri. 2004-12-24 Gustavo J. A. M. Carneiro <gjc@gnome.org> * gnomevfs/vfsmodule.c: Wrappers for escape_string, escape_path_string, escape_host_and_path_string, escape_slashes, escape_set, unescape_string, make_uri_canonical, make_path_name_canonical, unescape_string_for_display, get_local_path_from_uri, get_uri_from_local_path, is_executable_command_string, get_volume_free_space, icon_path_from_filename, open_fd, is_primary_thread, format_uri_for_display, make_uri_from_input, make_uri_from_input_with_dirs, uris_match, get_uri_scheme, make_uri_from_shell_arg, and gnome_vfs_url_show_with_env. Fixes #161942. * gnomevfs/vfs-async-handle.c (pygvfs_async_xfer): Add wrapper for gnome_vfs_async_transfer. Partially fixes #161860. * gnomevfs/vfsmodule.c (pygvfs_xfer_progress_callback): Print the generated exception at this point, otherwise the user will never see it. Also call pyg_gil_state_release in error return path. Release reference to newly created py_info object, fixes a reference leak. 2004-12-22 Gustavo J. A. M. Carneiro <gjc@gnome.org> * gnomevfs/vfsmodule.c (pygvfs_xfer_progress_callback): Make non-static to access from vfs-async-handle.c. (_pygvfs_uri_sequence_to_glist): idem. 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> * examples/vfs/async.py: s/exception/exc_type/, to make it clear that the passed exception parameters are exception types, not values. (create_callback): Check for gnomevfs.AccessDeniedError. * 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(). 2004-12-14 Gustavo J. A. M. Carneiro <gjc@gnome.org> * bonobo/bonobo.override (_wrap_bonobo_get_object_async): impl. 2004-12-13 Gustavo J. A. M. Carneiro <gjc@gnome.org> * bonobo/activationmodule.c (wrap_ba_activate_from_id): Return tuple (object, AID) when 3rd argument is present and is true, otherwise continue returning just the object. (wrap_ba_activate_async): Impl. 2004-12-12 Gustavo J. A. M. Carneiro <gjc@gnome.org> * gconf/gconf.override: Ignore gconf_client_change_set_from_currentv and gconf_value_set_list_nocopy. Wrap gconf_client_change_set_from_current. (_wrap_gconf_change_set_set_list): Impl. * gconf/gconf.defs (ChangeSet): Add boxed type GConfChangeSet. * gconf/gconf.override (_wrap_gconf_value_set_list): impl, adds wrapper for gconf.Value.set_list. * configure.in: Require pygtk 2.5.1 for the new GTime argtype used in gconf (gconf.MetaInfo.mod_time). Bump version 2.9.2. 2004-12-04 Gustavo J. A. M. Carneiro <gustavo@users.sourceforge.net> * gnome/gnome.override (_wrap_gnome_program_locate_file): Add. (_wrap_gnome_bonobo_module_info_get): Override to get rid of const warning. (_wrap_gnome_program_module_load): Override to get rid of const warning. === 2.9.1 === 2004-11-29 Gustavo J. A. M. Carneiro <gustavo@users.sourceforge.net> * NEWS: Update. * configure.in: version <- 2.9.1. 2004-11-28 Gustavo J. A. M. Carneiro <gustavo@users.sourceforge.net> * gnomevfs/vfs-volume-monitor.c (pygvvolume_monitor_init): Ref the VolumeMonitor, since it is a singleton and we don't own the reference returned by gnome_vfs_get_volume_monitor(). * gnomevfs/vfsmodule.c: Wrap gnome_vfs_connect_to_server. * gnomevfs/vfs-volume.c: Add unmount|eject methods. * gnomevfs/vfs-drive.c: Add mount|unmount|eject methods. * gnomevfs/vfs-volume.c: PyGObject-ification. * gnomevfs/vfs-drive.c: PyGObject-ification. * gnomevfs/vfs-volume-monitor.c: PyGObject-ification. * gnomevfs/pygnomevfs-private.h: Remove private Drive/Volume/VolumeMonitor structures and accessors. We should be using PyGObject instead, otherwise things break. * gnomevfs/vfsmodule.c (pygnomefs_register_gobject_based_classes): Register Drive/Volume/VolumeMonitor types with pygobject_register_class, since they are GObject based. * gnomevfs/Makefile.am (gnomevfs_la_SOURCES): Add vfs-volume-monitor.c. * gnomevfs/vfs-volume-monitor.c: New file, wraps GnomeVFSVolumeMonitor. * gnomevfs/pygnomevfs-private.h: Add VolumeMonitor stuff. * gnomevfs/vfs-drive.c: New file, wraps GnomeVFSDrive object. * gnomevfs/vfs-volume.c: Add det_drive method. * gnomevfs/pygnomevfs-private.h: Add GnomeVFSDrive stuff. * gnomevfs/Makefile.am (gnomevfs_la_SOURCES): Add vfs-volume.c. * gnomevfs/vfs-volume.c: New file, containing GnomeVFSVolume wrappers, except method get_drive() for the time being. * gnomevfs/pygnomevfs-private.h: Add PyGnomeVFSVolume_Type. * gnomevfs/vfsmodule.c (initgnomevfs): Register GnomeVFSVolume type and constants. 2004-11-24 Gustavo J. A. M. Carneiro <gustavo@users.sourceforge.net> * gnomevfs/pygnomevfs.h (init_pygnomevfs): s/gnome.vfs/gnomevfs/. * gnome/uimodule.c (initui): Init gnomevfs module here, as it is required by _wrap_gnome_icon_lookup. * gnome/ui.override (_wrap_gnome_icon_lookup): Fix wrong parameters to PyArg_ParseTupleAndKeywords causing segfault. 2004-11-23 Gustavo J. A. M. Carneiro <gustavo@users.sourceforge.net> * gnome/Makefile.am (pygnome_PYTHON): Don't install applet.py. Moved to gnome-python-extras. (install-exec-hook): Don't remove old applet module here. * gnomevfs/*.c: s/gnome\.vfs/gnomevfs/ 2004-11-22 Gustavo J. A. M. Carneiro <gustavo@users.sourceforge.net> * configure.in: Require libgnome >= 2.8.0. === 2.9.0 === 2004-11-22 Gustavo J. A. M. Carneiro <gustavo@users.sourceforge.net> * NEWS: Update. 2004-11-21 Gustavo J. A. M. Carneiro <gustavo@users.sourceforge.net> * autogen.sh: Update, copy-pasted from somewhere else. Include gnome-common's autogen. Update required autoconf version (2.59) and automake (1.9.2). * ltihooks.py, tests/ltihooks.py: Moved ltihooks.py into tests/. * tests/Makefile.am (EXTRA_DIST): ltihooks moved here. * Makefile.am (EXTRA_DIST): Moved ltihooks.py into tests/. * examples/vfs/async.py, examples/vfs/shell.py: s/gnome.vfs/gnomevfs/. * examples/canvas/canvas-example.py: s/gnome.canvas/gnomecanvas/. * Makefile.am (EXTRA_DIST): Remove gnomeprint/zvt/nautilus/applet examples. * examples/gnomeprint/: remove. * examples/zvt/: remove. * examples/nautilus/: remove. * examples/applet/: remove. * gnome/Makefile.am (pygnome_PYTHON): Add gnome.applet dummy module. Uninstall old deprecate gnome/applet.la module. * tests/Makefile.am (PYTHONPATH): Remove top_srcdir to make distcheck pass (caused a problem when builddir != srcdir). * bonobo/Makefile.am (.defs.c): update path to canvas.defs. * bonobo/bonoboui.override: idem. * gnome/ui.override: s/gnome.canvas/gnomecanvas/. * gnome/__init__.py: Don't try to catch ImportError when importing _gnome. * tests/testvfs.py: s/gnome.vfs/gnomevfs/. * tests/common.py: Add gnomevfs and gnomecanvas to sys.path. * tests/Makefile.am: Remove gnomeprint __init__.py temporary copy for the tests. (PYTHONPATH): Add gnomevfs and gnomecanvas. 2004-11-20 Gustavo J. A. M. Carneiro <gustavo@users.sourceforge.net> * tests/common.py: add ../gnomevfs and ../gnomecanvas to sys.path. Import vfs and canvas modules with new names. Don't import applet, gnomeprint, nautilus and gtkhtml2 modules. * configure.in: print correct module names at end of configure for gnomecanvas and gnomevfs. 2004-11-19 Gustavo J. A. M. Carneiro <gustavo@users.sourceforge.net> * gnome/vfs.py: Idem for gnome.vfs dummy module. * gnome/canvas.py: Dummy module, to replace old gnome.canvas. It emits a DeprecationWarning and imports * from gnomecanvas, for compatibility. * gnome/Makefile.am (ui_la_CFLAGS): Add missing include path for pygnomevfs. (pygnome_PYTHON): Add canvas.py and vfs.py. (install-exec-hook): Uninstall old vfs and canvas C modules. Install new dummy modules, canvas.py and vfs.py. * gnome/*vfs*, gnome/*canvas*: Remove. * gnome/Makefile.am: Don't build canvas and vfs modules. * gnomecanvas/canvasmodule.c (initgnomecanvas): rename module to gnomecanvas. * gnomecanvas/Makefile.am: Remove everything not related to gnomecanvas module. Rename module 'canvas' to 'gnomecanvas', and install in pkgpyexecdir. * configure.in: Write gnomevfs/Makefile and gnomecanvas/Makefile. * gnomevfs/vfsmodule.c: s/gnome\.vfs/gnomevfs/; * gnomevfs/Makefile.am: Remove everything not related to vfs bindings. Rename module 'vfs' to 'gnomevfs', and install in pkgpyexecdir. * Makefile.am (SUBDIRS): Add gnomevfs and gnomecanvas. 2004-11-18 Gustavo J. A. M. Carneiro <gustavo@users.sourceforge.net> * configure.in: Remove everything related to gnomeprint, applet, gtkhtml2, or nautius modules. * gtkhtml2/*: Remove; moved to gnome-python-extras. * Makefile.am: Remove gnomeprint from SUBDIRS. (SUBDIRS): Remove also gtkhtml2. * gnomeprint/*: remove (moved to gnome-python-extras). * gnome/applet*: remove * gnome/nautilus*: remove * gnome/Makefile.am (defs_DATA): Remove applet and nautilus defs. applet moved to gnome-python-extras, nautilus views are going to disappear. Remove all rules related to these modules. 2004-11-16 Gustavo J. A. M. Carneiro <gustavo@users.sourceforge.net> * bonobo/Makefile.am (argtypes_PYTHON): Install bonobo-arg-types.py to $(datadir)/pygtk/2.0/argtypes. * gnome-python-2.0.pc.in: Define defsdir and argtypesdir. 2004-11-16 Johan Dahlin <johan@gnome.org> * gnome/canvas.defs, gnome/canvas.override: implement CanvasItem.grab 2004-11-14 Gustavo J. A. M. Carneiro <gustavo@users.sourceforge.net> * configure.in: Bump version to 2.9.0 (targetting gnome 2.10 platform, this time). * NEWS: Update. 2004-11-13 Gustavo J. A. M. Carneiro <gustavo@users.sourceforge.net> * gconf/gconf.defs: Rescan/merge from gconf 2.8.1. New wrapped functions: gconf_client_notify gconf_debug_shutdown gconf_entry_ref gconf_entry_unref gconf_error_get_type gconf_meta_info_get_mod_user gconf_meta_info_get_schema gconf_schema_get_car_type gconf_schema_get_cdr_type gconf_schema_get_list_type gconf_schema_get_locale gconf_schema_get_owner gconf_value_get_schema 2004-11-13 Benoît Dejean <tazforever@dlfp.org> * gnome/vfsmodule.c: (pyvfs_format_file_size_for_display): Added wrapper form gnome_vfs_format_file_size_for_display. Closes #157927. Reviewed by Gustavo Carneiro. 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-11 Gustavo J. A. M. Carneiro <gustavo@users.sourceforge.net> * gnome/gnome.override (_wrap_gnome_program_init): Fix invalid pointer type warning. * gnome/gnome.defs: Rescan from libgnome-2.8 headers, with h2def. New wrapped functions: g_extension_pointer gnome_bonobo_module_info_get gnome_config_clean_file_ gnome_config_clean_key_ gnome_config_clean_section_ gnome_config_drop_file_ gnome_config_has_section_ gnome_config_push_prefix gnome_config_set_string_ gnome_gconf_get_gnome_libs_settings_relative gnome_program_get_app_version gnome_program_get_human_readable_name gnome_program_module_load gnome_score_init gnome_sound_connection_get gnome_user_accels_dir_get gnome_user_dir_get gnome_user_private_dir_get. * gnome/gnome.override (_wrap_gnome_program_init): Fix conversion of properties dictionary to an array of GParameter's. * tests/Makefile.am (tests): Add testgnome.py. * tests/testgnome.py: Add, a small test for gnome.program_init. 2004-11-10 Gustavo J. A. M. Carneiro <gustavo@users.sourceforge.net> * gnome/gnome.override (_wrap_gnome_program_init): Add generic support for any program initialization property, using the new libgnome-2.8 API gnome_program_init_paramv. 2004-11-07 Gustavo J. A. M. Carneiro <gustavo@users.sourceforge.net> * gnome/ui.override: Ignore gnome_icon_lookup_sync, since wrapper for gnome_icon_lookup handles both. (_wrap_gnome_icon_lookup): Wrapper for gnome_icon_lookup and gnome_icon_lookup_sync. 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/ui.defs: Rescan/merge defs from libgnomeui-2.8's headers. Generates wrappers for the following functions (others need overrides): gnome_app_helper_gettext gnome_app_message gnome_authentication_manager_dialog_is_visible gnome_authentication_manager_init gnome_client_add_static_arg gnome_dialog_append_buttons gnome_dialog_new gnome_gdk_pixbuf_new_from_uri gnome_help_display_on_screen gnome_help_display_uri_on_screen gnome_ice_init gnome_icon_entry_set_max_saved gnome_icon_list_select_all gnome_icon_lookup_flags_get_type gnome_icon_lookup_result_flags_get_type gnome_icon_text_item_get_editable gnome_password_dialog_remember_get_type gnome_url_show_on_screen gnome_window_icon_set_from_default gnome_window_toplevel_set_title * gnome/ui.override: Include libgnomeui/gnome-ice.h. Add ignore-glob *_construct. Ignore deprecated gnome_ok_dialog and gnome_message_box_new. * 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.