After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 117264 - Mime bindings and functions
Mime bindings and functions
Status: RESOLVED FIXED
Product: gnome-vfsmm
Classification: Deprecated
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: gtkmm-forge
gtkmm-forge
Depends on:
Blocks:
 
 
Reported: 2003-07-12 15:18 UTC by Bryan Forbes
Modified: 2011-01-16 23:36 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gnomevfsmm-2.0-20030712.diff (28.51 KB, patch)
2003-07-12 15:19 UTC, Bryan Forbes
none Details | Review
gnomevfsmm-2.0-20030712.tar.bz2 (5.08 KB, application/x-bzip)
2003-07-12 15:21 UTC, Bryan Forbes
  Details

Description Bryan Forbes 2003-07-12 15:18:51 UTC
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.
Comment 1 Bryan Forbes 2003-07-12 15:19:47 UTC
Created attachment 18237 [details] [review]
gnomevfsmm-2.0-20030712.diff
Comment 2 Bryan Forbes 2003-07-12 15:21:22 UTC
Created attachment 18238 [details]
gnomevfsmm-2.0-20030712.tar.bz2
Comment 3 Bryan Forbes 2003-07-12 15:47:33 UTC
patch applied.
Comment 4 Murray Cumming 2003-07-13 14:00:06 UTC
Great. I look forward to seeing examples that demonstrate how to use 
this.

It looks like some ApplicationRegistry methods (e.g. 
get_mime_application()) should be static.