GnomeVFSURI being removed...



According to this bug:
http://bugzilla.gnome.org/show_bug.cgi?id=40798

the GnomeVFSURI API is being slowly deprecated and removed in favor of
an all char* API, and I have to ask why.  With such a scheme don't we
lose almost all of the (exceedingly useful, IMHO) features of
gnome_vfs_uri_to_string() HIDE options?  Perhaps I'm overlooking
something, but doesn't this preclude things like reasonable user-visible
strings for arbitary URIs? An authenticated URI probably shouldn't
display the username and password to the user, meaning all of the end
user apps have to strip these things out themselves, rather than just
using GnomeVFSURI.   There are other potential issues with this, just as
"clean" method chaining (I don't think most users really want to see a 
"file:///some/path/afile.tar.bz2#bzip2:///#tar:///"
 when it's much more "natural" to display simply
"file:///some/path/afile.tar.bz2/."

Again, maybe I'm simply missing something, but it seems that deprecating
GnomeVFSURI is the wrong direction to go.  Comments?

--Shahms 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]