Here are two patches. The first is a partial fix letting aside some gnome_vfs_uri notations on the command line which are still buggy.
The second fixes everything but introduces a dependency to gnome_vfs in system.cpp.
Here are the tests I've been running.
Buggy = auto-detect file format fails and filename contains the vfs method suffix (#gzip:)
Open file GUI current patch1 patch2
/local/path/file.svg ok ok ok
/local/path/file.svgz ok ok ok
/nfs/path/file.svg ok ok ok
/nfs/path/file.svgz KO ok ok
Open vfs uri on CLI
/local/path/file.svg ok ok ok
/local/path/file.svgz ok ok ok
file:///local/path/file.svg KO ok ok
file:///local/path/file.svgz KO ok ok
file:///local/path/file.svgz KO Buggy ok
/nfs/path/file.svg ok ok ok
/nfs/path/file.svgz KO ok ok
file:///nfs/path/file.svg ok ok ok
file:///nfs/path/file.svgz KO ok ok
file:///nfs/path/file.svgz#g Buggy Buggy ok http://server.com/file.svg ok ok ok http://server.com/file.svgz KO ok ok http://server.com/file.svgz# Buggy Buggy ok
Good evening,
Here are two patches. The first is a partial fix letting aside some gnome_vfs_uri notations on the command line which are still buggy.
The second fixes everything but introduces a dependency to gnome_vfs in system.cpp.
Here are the tests I've been running.
Buggy = auto-detect file format fails and filename contains the vfs method suffix (#gzip:)
Open file GUI current patch1 patch2 path/file. svg ok ok ok path/file. svgz ok ok ok
/local/
/local/
/nfs/path/file.svg ok ok ok
/nfs/path/file.svgz KO ok ok
Open vfs uri on CLI path/file. svg ok ok ok path/file. svgz ok ok ok /local/ path/file. svg KO ok ok /local/ path/file. svgz KO ok ok /local/ path/file. svgz KO Buggy ok /nfs/path/ file.svg ok ok ok /nfs/path/ file.svgz KO ok ok /nfs/path/ file.svgz# g Buggy Buggy ok server. com/file. svg ok ok ok server. com/file. svgz KO ok ok server. com/file. svgz# Buggy Buggy ok
/local/
/local/
file://
file://
file://
/nfs/path/file.svg ok ok ok
/nfs/path/file.svgz KO ok ok
file://
file://
file://
http://
http://
http://