1.3.5: 2003-12-06 Murray Cumming <murrayc@usa.net> * libgnomevfs/libgnomevfsmm/handle.cc: - close the handle in the destructor. - read(): Do not throw an exception for an end-of-file. 1.3.4: 2003-12-05 Murray Cumming <murrayc@usa.net> * libgnomevfs/libgnomevfsmm/transfer.[h|cc]: Added string-based overloads of all methods, favouring the string-based methods because that is likely to be the more common way to refer to URIs in future. 2003-11-30 Murray Cumming <murrayc@usa.net> * libgnomevfs/src/uri.hg: Uri::to_string(): Added default argument value. * libgnomevfs/libgnomevfsmm/transfer.[h|cc]: commented-out the list-based transfer method(), and renamed it to transfer_list(). We can not just overload on the methods because the compiler says that is ambiguous. 2003-10-17 Alberto Paro <alberto@paro.homeunix.org> * gnome-vfsmm/configure.in: fixed reference to directories for doc generation * docs/reference/Doxyfile.in: fixed doc generation 2003-08-26 Murray Cumming <murrayc@lusa.net> * tools/m4/convert_libgnomevfs.m4: Use C casts instead of static_casts<> for broken old gcc 2.95.4 compilers. Deals with bug #120619. 1.3.3: 2003-08-22 Murray Cumming <murrayc@usa.net> * configure.in, libgnomevfsmm/Makefile.am, libgnomevfsmm/gnome-vfsmm-2.0.pc.in: Used variables to keep the version numbers in sync. Added libgnomevfsmm/gnome-vfsmm-2.0-uninstalled.pc.in for gnomemm-all. 2003-08-22 Gerald Henriksen <ghenriks@rogers.com> * Added spec file. 2003-07-31 Bryan Forbes <mxpxfifws@yahoo.com> * libgnomevfs/src/file-info.[hg|ccg]: Added an is_symlink() method. 1.3.2: 2003-07-27 Murray Cumming <murrayc@usa.net> * libgnomevfs/libgnomevfsmm/Makefile.am: Added private.h. 2003-07-22 Murray Cumming <murrayc@usa.net> * libgnomevfs/libgnomevfsmm/transfer.h, examples/transfer/main.cc: Make the ProgressInfo& in the callback const because nobody should ever need to change it, I think. 2003-07-22 Murray Cumming <murrayc@usa.net> * libgnomevfs/src/transfter-progress.[hg|ccg]: Made get_*() methods const. 2003-07-21 Murray Cumming <murrayc@usa.net> * libgnomevfs/src/uri.hg: Made is_parent(), has_parent(), and to_string() const. Added const version of get_parent(). 2003-07-21 Bryan Forbes <mxpxfifws@yahoo.com> * libgnomevfs/libgnomevfsmm/types.h: added this file with two typedefs in it. * libgnomevfs/libgnomevfsmm/Makefile.am: added types.h to the list of h files. * libgnomevfs/libgnomevfsmm/handle.h: included types.h. * libgnomevfs/src/file-info.hg: removed two typedefs from this file (they are now in types.h) and included types.h. * libgnomevfs/src/transfer-progress.[hg|ccg]: added the ProgressInfo class wrapped with _GENERIC_CLASS(); added accessor methods for all class members. * libgnomevfs/src/Makefile_list_of_hg.am_fragment: added transfer-progress.hg to the list. * libgnomevfs/libgnomevfsmm/transfer.[h|cc]: changed functions to use newly created ProgressInfo class. * libgnomevfs/libgnomevfsmm/libgnomevfsmm.h: included types.h and transfer-progress.h. * examples/transfer/main.cc: updated to use the newly created ProgressInfo class. * libgnomevfs/libgnomevfsmm/.cvsignore: added transfer-progress.[h|cc] to the list. * libgnomevfs/libgnomevfsmm/private/.cvsignore: added transfer-progress_p.h to the list. 2003-07-21 Murray Cumming <murrayc@usa.net> * Added some TODOs and whitespace. * libgnomevfs/libgnomevfsmm/transfer.h: Changed defaults to abort rather than query because this is more likely to make sense with the default null value for the query slot. 2003-07-21 Bryan Forbes <mxpxfifws@yahoo.com> * libgnomevfs/libgnomevfsmm/transfer.[h|cc]: changed 'delete_' functions to 'remove'. 2003-07-20 Bryan Forbes <mxpxfifws@yahoo.com> * examples/transfer/main.cc: fixed segfault and added messages telling what exactly is happening during the transfer. * libgnomevfs/libgnomevfsmm/transfer.cc: default result of c_callback changed to FALSE instead of 0. 2003-07-18 Bryan Forbes <mxpxfifws@yahoo.com> * libgnomevfs/src/mime-application.[h|cc]: changed "create" functions to constructors, removed one of them (it was redundant), and now we are allocating memory to prevent a segfault (thanks Murray!!). 2003-07-17 Bryan Forbes <mxpxfifws@yahoo.com> * libgnomevfs/src/mime-application.[h|cc]: added "convenience functions" for application registry functions. I think this gives this class a more object oriented feel. * libgnomevfs/libgnomevfsmm/handle.[h|cc]: removed monitor_add and monitor_cancel since these two functions are methods of the MonitorHandle class. * libgnomevfs/libgnomevfsmm/mime-action.[h|cc]: this class is frelled; I need to figure out what to do with it. * libgnomevfs/libgnomevfsmm/mime-handlers.[h|cc]: added the last of the unwrapped mime functions but left Bonobo_ServerInfo unwrapped; used GnomeVFSMimeAction instead of my class because of reason above; documented the functions as well. * made sure all files that needed to use private.h are using it and not their own stupid handle_result(). 2003-07-17 Murray Cumming <murrayc@usa.net> * Added libgnomevfs/libgnomevfsmm/private.[h|cc] containing a shared handle_result() method. * Added libgnomevfs/libgnomevfsmm/transfer.[h|cc] with the beginnings of wrappers for the xfer gnome-vfs functions. * Added examples/transfer, which does not really work yet, but with which we can explore how the hell the xfer functions and callbacks are supposed to be used. 2003-07-15 Murray Cumming <murrayc@usa.net> * libgnomevfs/libgnomevfsmm/mime-monitor.[h|cc]: Hide the handle_error() function from the public header. * Various white space added. * Added examples/mime_type_list. * Made some get_() methods const. 2003-07-09 Bryan Forbes <mxpxfifws@yahoo.com> * TODO: added subsection (b) to section 0; added a question to section 1. * docs/undocumented: added this file with classes/methods/functions that we need to document. * libgnomevfs/src/uri.hg: added documentation for create(), get_file_info(), create_symbolic_link(), and uri_exists(); added _IGNORE() for gnome_vfs_uri_equals and gnome_vfs_uri_exists since they are wrapped. * libgnomevfs/src/mime-application.hg: made is_user_owned() method and added set wrappers for each member. * libgnomevfs/libgnomevfsmm/application-registry.[h|cc]: documented all functions; changed sync() from returning a result to throwing an exception; added handle_result() to use in sync(); removed is_user_owned_application() and made it method of MimeApplication. * tools/m4/convert_gnome_vfsmm.m4: added conversion for Glib::ustring -> char* and Glib::ListHandle<Glib::ustring> -> GList*. 2003-07-08 Bryan Forbes <mxpxfifws@yahoo.com> * README: added some information. * TODO: detailed descriptions of what needs to be done to finish Mime stuff. * libgnomevfs/src/mime-application.hg: added documentation for all methods. * libgnomevfs/src/libgnomevfs_docs_override.xml: added documentation for MimeApplication::create_from_id(). * libgnomevfs/libgnomevfsmm/mime-handlers.h: added documentation for all functions. 2003-07-07 Bryan Forbes <mxpxfifws@yahoo.com> * libgnomevfs/libgnomevfsmm/mime-handlers.[h|cc]: wrapped what was left to wrap of the handlers code except for the Bonobo/component functions; see libgnomevfs/mime-unwrapped to see what else is left. * libgnomevfs/mime-unwrapped: went through the gnome-vfs docs and made a list of what needs to be completed for the Mime namespace. 2003-06-30 Bryan Forbes <mxpxfifws@yahoo.com> * configure.in: check for gnome-vfs-module-2.0 because some mime functions are put there. * libgnomevfs/libgnomevfsmm/application-registry.[h|cc]: wrapped gnome_vfs_application_is_user_owned_application and gnome_vfs_application_registry_[get|save]_mime_application. * libgnomevfs/libgnomevfsmm/mime-handlers.[h|cc]: added Mime namespace for the mime-handler functions; wrapped most functions (some list stuff to be done). * libgnomevfs/libgnomevfsmm/Makefile.am: added mime-handlers.[h|cc] to the list of files to be built. * libgnomevfs/src/enums.hg: wrapped all Mime and Xfer enums. * libgnomevfs/src/libgnomevfs_enums.defs: removed GNOME_ prefix from the Mime enum defs. * libgnomevfs/src/Makefile_list_of_hg.am_fragment: added mime-application.hg and mime-action.hg to the list. * libgnomevfs/src/mime-action.[hg|ccg]: wrapped GnomeVFSMimeAction with _CLASS_GENERIC and created all necesary basic methods. * libgnomevfs/src/mime-application.[hg|ccg]: wrapped GnomeVFSMimeApplication with _CLASS_OPAQUE_COPYABLE, wrapped a static create method, and all member accessors. * libgnomevfs/libgnomevfsmm.h: included mime-application.h, mime-action.h, and mime-handlers.h. * tools/m4/convert_gnome_vfsmm.m4: added a conversion for GList* --> Glib::ListHandle<Glib::ustring>, GnomeVFSMimeApplication* --> MimeApplication, and MimeApplicationArgumentType <-> GnomeVFSMimeApplicationArgumentType; also added a header to tell where the enumeration conversions begin. 2003-06-01 Bryan Forbes <mxpxfifws@yahoo.com> * Changelog: fixed my past entries so changes are tabbed in and not two spaced in (ok, I'm anal retentive); also, took out the changelog entry from libgnomeuimm (not sure how that got in there...). * TODO: made a list of things to do (novel idea, huh?). * examples/Makefile.am: added directory_visit to the list of SUBDIRs. * examples/directory_visit/*: added an example to demonstrate DirectoryHandle::visit now that it's fixed. * examples/monitor: fixed the example so now it works. * configure.in: added examples/directory_visit/Makefile to AC_OUTPUT(). * libgnomevfs/libgnomevfsmm/application-registry.cc: return a ListHandleStrings from get_keys(), get_applications(), and get_mime_types(); return a Result from sync(). * libgnomevfs/libgnomevfsmm/directory-handle.[h|cc]: wrapped gnome_vfs_directory_visit_files, gnome_vfs_directory_visit_files_at_uri, and gnome_vfs_directory_list_load. * libgnomevfs/libgnomevfsmm/monitor-handle.[h|cc]: removed the casting constructor since we don't use it anymore; changed the permissions to 644. * libgnomevfs/src/file-info.hg: added docs for get_*(); changed get_atime() to get_access_time(); added _IGNORE()'s for *_copy() and *_matches(); wrapped gnome_vfs_file_info_dup as duplicate(). * libgnomevfs/src/libgnomevfs_enums.defs: removed the GNOME_ from the XFER enums to prepare for the future. * tools/m4/convert_gnome_vfsmm.m4: added a _CONVERSION() for GnomeVFSFileInfo* -> Glib::RefPtr<FileInfo>. 2003-05-30 Murray Cumming <murrayc@usa.net> * Added Byran's MonitorHandle wrapper and monitor handle, with my fixes. Doesn't seem to actually work yet though. 2003-05-18 Murray Cumming <murrayc@usa.net> * libgnomevfs/libgnomevfsmm/directory-handle.cc: SignalProxy_Visit:c_callback(): Used take_copy=true with Glib::wrap() on the info parameter, to take an extra ref for ourselves. 2003-05-12 Bryan Forbes <mxpxfifws@yahoo.com> * libgnomevfs/src/file-info.hg: typedef'ed GnomeVFSFileOffset as FileOffset; wrapped gnome_vfs_file_info_matches with _WRAP_EQUAL() to get the == and != operators. * libgnomevfs/src/uri.hg: changed to_string() to use URIHideOptions; wrapped gnome_vfs_uri_equal with _WRAP_EQUAL() to get the == and != operators. * libgnomevfs/libgnomevfsmm/handle.[h|cc]: changed seek() to use FileOffset and static_cast<>'ed where necesary. * libgnomevfs/src/Makefile.am: added libgnomevfs_docs.xml and libgnomevfs_docs_override.xml to the files_defs variable. * libgnomevfs/src/libgnomevfs_docs.xml: generated from gnome-vfs and docextract_to_xml.py from pygtk cvs. * libgnomevfs/src/libgnomevfs_docs_override.xml: documented all generated methods for Gnome::Vfs::Uri and Gnome::Vfs::FileInfo. * libgnomevfs/src/Makefile.am: added libgnomevfs_docs.xml and libgnomevfs_docs_override.xml to the files_defs variable. * build_shared/Makefile_gensrc.am_fragment: added --mergedocs to gtkmmproc_args. * tools/m4/convert_gnome_vfsmm.m4: added _CONVERSION()'s for FileOffset<->GnomeVFSFileOffset. 2003-05-07 Murray Cumming <murrayc@usa.net> * libgnomevfs/libgnomevfsmm/handle.[h|cc], libgnomevfs/src/uri.[hg|ccg]: Moved some methods from Gnome::Vfs::Uri, to Gnome::Vfs::Handle, where they are static. They match existing static Handle methods with the same name, that take text uri parameters. * libgnomevfs/libgnomevfsmm/handle.[h|cc]: Handle::tell() now has a return type instead of an output parameter. 2003-05-04 Bryan Forbes <mxpxfifws@yahoo.com> * libgnomevfs/libgnomevfsmm/exception.h: * libgnomevfs/libgnomevfsmm/exception.cc: took the exception class out of uri.h and put it here; added constructor for Result enum and static_cast<>'ed where needed. * libgnomevfs/libgnomevfsmm/Makefile.am: added the new exception.{h|cc} files so they get built. * libgnomevfs/libgnomevfsmm/handle.h: * libgnomevfs/libgnomevfsmm/handle.cc: modified open(), create(), read(), write(), seek(), tell(), truncate(), and set_file_info() to use the new enums and typedef. * libgnomevfs/src/enums.hg: include libgnomevfs/gnome-vfs-file-info.h for the definitions for SetFileInfoMask; wrapped GnomeVFSOpenMode, GnomeVFSSeekPosition, GnomeVFSFileFlags, GnomeVFSFileType, GnomeVFSFilePermissions, and GnomeVFSSetFileInfoMask; added FileInfoOptions to this file. * libgnomevfs/src/file-info.hg: include enums.h; typedef GnomeVFSFileSize as FileSize; modified the _MEMBER_GET() params of type, permissions, flags, size, and block_count to use the new enums and typedef. * libgnomevfs/src/uri.hg: * libgnomevfs/src/uri.ccg: remove the inclusion of gnome-vfs-ops.h and the exception class; include exception.h. * libgnomevfs/src/libgnomevfs_enums.def: removed the GNOME_ prefix for GnomeVFSFileFlags, GnomeVFSFileType, GnomeVFSFileInfoFields, GnomeVFSFilePermissions, GnomeVFSFileInfoMask, GnomeVFSOpenMode, and GnomeVFSSeekPosition entries; replaced #error's in GnomeVFSFilePermissions with correct values from the API. * tools/m4/convert_gnome_vfsmm.m4: add _CONVERSION() macros for GnomeVFSOpenMode, GnomeVFSFileSize, GnomeVFSFileFlags, GnomeVFSFileType, GnomeVFSFilePermissions, and GnomeVFSSetFileInfoMask. * examples/directory_list/main.cc: removed the include for gnome-vfs.h, added some FileInfoOptions to the open, and output the mime-type of the files in the directory provided. * examples/simple/main.cc: removed the include for gnome-vfs.h, use our new enums instead of the old C enums, changed GnomeVFSFileSize to Gnome::Vfs::FileSize. 1.3.1: 2003-04-30 Bryan Forbes <mxpxfifws@yahoo.com> * libgnomevfs/src/enums.hg: changed Result from a typedef to the newly found _WRAP_ENUM with a NO_GTYPE and removed the inclusion of gnome-vfs-result.h. Also, wrapped GnomeVFSURIHideOptions and GnomeVFSDirectoryVisitOptions. * libgnomevfs/src/uri.hg: include enums.h so URIHideOptions can be used in the to_string method. * libgnomevfs/src/libgnomevfs_enums.defs: removed the GNOME_ prefix from the GnomeVFSResult, GnomeVFSURIHideOptions, and GnomeVFSDirectoryVisitOptions enum entries to get correct enum names (URI_* instead of VFS_URI_*). * libgnomevfs/libgnomevfsmm/directory-handle.h: * libgnomevfs/libgnomevfsmm/directory-handle.cc: changed visit_options from GnomeVFSDirectoryVisitOptions to DirectoryVisitOptions in visit() and static_cast<>'ed to GnomeVFSDirectoryVisitOptions where needed. * tools/m4/convert_gnome_vfsmm.m4: added _CONVERSION() macros for Result<->GnomeVFSResult, URIHideOptions<->GnomeVFSURIHideOptions, FileInfoOptions<->GnomeVFSFileInfoOptions, and DirectoryVisitOptions<->GnomeVFSDirectoryVisitOptions. 2003-04-27 Bryan Forbes <mxpxfifws@yahoo.com> * libgnomevfs/src/file-info.hg: added NO_GTYPE parameter to _WRAP_ENUM to get correctly generated FileInfoOptions enum. * libgnomevfs/src/libgnomevfs_enums.defs: removed GNOME_ prefix from the GnomeVFSFileInfoOptions enum entry to get correct enum names (FILE_* instead of VFS_FILE_*). * libgnomevfs/libgnomevfsmm/directory-handle.h: * libgnomevfs/libgnomevfsmm/directory-handle.cc: * libgnomevfs/libgnomevfsmm/handle.h: * libgnomevfs/libgnomevfsmm/handle.cc: * libgnomevfs/src/uri.hg: * libgnomevfs/src/uri.ccg: changed GnomeVFSFileInfoOptions to FileInfoOptions and did static_cast<GnomeVFSFileInfoOptions> where needed in the source. 2003-04-21 Bryan Forbes <mxpxfifws@yahoo.com> * build_shared/Makefile_build_gensrc.am_fragment: took out the files_extra_h variable which was causing problems compiling. * libgnomevfs/gnome-vfsmm-2.0.pc.in: changed it to tell compiler to link against gnomevfsmm-1.3.* instead of gnome-vfsmm-1.3. * libgnomevfs/libgnomevfsmm/Makefile.am: added wrap_init.h to files_extra_h instead of +='ing it to the end, which didn't work and changed sublib_libname to gnome-vfsmm-2.0 so headers install correctly. 2003-04-27 Per Kristian Gjermshus <pkg@newmad.no> * libgnomevfs/src/file-info.ccg, libgnomevfs/src/file-info.hg, libgnomevfs/src/uri.hg: Made file_info functions work and throw exceptions. 2003-03-29 Murray Cumming <murrayc@usa.net> * examples/Makefile.am_fragment: Include from distdir as well as srcdir to fix distcheck. * libgnomevfs/libgnomevfsmm/private/Makefile.am: Use _HEADERS instead of _DATA to fix distcheck. 2003-03-29 Murray Cumming <murrayc@usa.net> * Added Gnome::Vfs::DirectoryHandle. Added member accessors to Gnome::Vfs::FileInfo. Added examples/directory_list. 2003-03-23 Murray Cumming <murrayc@usa.net> * Added examples/simple, based on the C example Simple Sample Program in the gnome-vfs API documentation.