| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=641856
|
|
|
|
|
|
|
| |
The wrong iterator passed in caused some items to be silently dropped
plus it led to string dup of wrong pointer.
See bug 614544 for reference.
|
|
|
|
| |
This makes gvfs build with recent glib again, see bug #619537
|
|
|
|
|
|
|
| |
Sometimes we may get unexpected data from dbus which was leading
to an endless loop.
See bug 614544 for reference.
|
|
|
|
|
|
|
|
|
|
|
| |
The "default location" of the given mount is a path that reflects
the main entry point for the user (e.g. the home directory, or the
root of the volume).
Backends can use g_vfs_backend_set_default_location () to set the
default location (before registering the mount).
https://bugzilla.gnome.org/show_bug.cgi?id=561998
|
|
|
|
|
|
|
|
|
| |
Using the BDMV/META/DL/bdmt_eng.xml file on BDMV discs,
we can load better names and icons for the disc.
Adds expat requirement to the common library if it is found.
https://bugzilla.gnome.org/show_bug.cgi?id=600887
|
|
|
|
| |
Don't consume the ending character.
|
|
|
|
| |
This leak was pointed out by clang, and reported in bug 594832.
|
|
|
|
|
|
|
|
|
|
| |
When the host has already been resolved and is present in cache,
it's returned immediately. But we always started a mainloop
resulting in endless waiting for an event which had been received
before that. This applies for the sync call.
This is just a workaround, the sync code should be ported over avahi.
See bug 555436 (comments 30-32) for details.
|
|
|
|
|
|
|
| |
This prevents mismatches during mount spec comparation, e.g. with
trailing slash in mount_prefix ("/subdir" vs. "/subdir/").
See bug 590730 for details.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Port everything to use _with_operation() variants of unmount/eject
methods
- Add support for g_file_poll_mountable()
- new job class: GVfsJobPollMountable
- Pass mount operation for unmount/eject ops on GDaemonFile and
GDaemonMount
- receive in the appropriate GVfsJob classes
- also pass unmount flags where it was missing
- port all backends to use this
- Teach GMountSource and GMountOperationDBus about the new
GMountOperation::show-processes signal
- also provide new API
- g_mount_source_is_dummy() - e.g. when the client didn't
passed NULL for the GMountOperation
- g_mount_source_abort() - to send the ::abort signal to the
client-side GMountOperation
- make the client-side of GMountSource return ::reply with
NOT_HANDLED when we do an abort
- Refactor the mount operation handling in GProxyVolumeMonitor
- Pass mount operation for unmount/ejects in GProxyVolumeMonitor
- Pass the process id of the actual reader/writer in OpenForRead
and OpenForWrite daemon methods
- add some private API for making the FUSE client set the
pid of the POSIX client (otherwise it looks like the FUSE
client is blocking) and pass the right pid.
This is because the FUSE client is basically impersonating the
POSIX processes.
- Make the process id mentioned above available in appropriate
GVfsJob classes
- GVfsJobOpenForRead
- GVfsJobOpenForWrite
- GVfsChannel
- Provide API to get a list of all blocking clients, e.g. an array
of GPid
- g_vfs_daemon_get_blocking_processes()
- Provide convenience API to easily doing the right thing on unmount;
e.g. interact with the user about blocking processes - see the gphoto2
backend for example usage
- g_vfs_backend_has_blocking_processes()
- g_vfs_backend_unmount_with_operation() and
g_vfs_backend_unmount_with_operation_finish()
- Only the gphoto2 backend supports ::show-processes right now. Support
for other backends will be added shortly.
- Implement support for ::show-processes in the GDU volume monitor
- right now we don't support "Unmount Anyway" since it requires
ABI changes in libgdu.so - this will be changed as soon as there's
a new gnome-disk-utility release
|
| |
|
| |
|
|
|
|
|
| |
We'll be showing this of publically as the id of metadata databases, so
it better be somewhat shorter and nicer.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
This daemon singleton handles updates to metadata stores.
All clients that wishes to write metadata should talk to
it via dbus.
This way all writes are serialized to avoid data loss on
concurrent writes.
|
|
|
|
|
|
|
|
|
| |
This is the GVfs implementation for the new GIO API for
starting/stopping drives. See
http://bugzilla.gnome.org/show_bug.cgi?id=585591
for details.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2009-03-18 Alexander Larsson <alexl@redhat.com>
Bug 575728 – crash in Open Folder: mountin a crypto volume
* common/gvfsdaemonprotocol.h:
* common/gmountoperationdbus.c:
Handle the new "aborted" signal
* common/gmountsource.c:
Fix argument order in g_mount_source_ask_password_finish call.
stop signal emissions in ask_password and ask_question handlers
to avoid the default handler sending a not implemented error.
Handle the new "aborted" signal.
svn path=/trunk/; revision=2342
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2009-03-05 Alexander Larsson <alexl@redhat.com>
* common/gvfsmountinfo.c:
Updated .xdg-volume-info format as per bug 551403:
+ Group name is "Volume Info"
+ Icon is not translated
+ support IconFile key
svn path=/trunk/; revision=2291
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2009-03-05 Alexander Larsson <alexl@redhat.com>
Bug 564003 – gvfs Cygwin patches
* common/Makefile.am:
Add -no-undefined required for cygwin build
svn path=/trunk/; revision=2289
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2009-03-02 David Zeuthen <davidz@redhat.com>
Bug 551403 – Support Reading Volume Icon/Name Information
from .xdg-volume-info
* common/Makefile.am:
* common/gvfsmountinfo.[ch]: Move autorun file detection to common
library. Also add routines for detecting .xdg-volume-info files.
* monitor/hal/ghalmount.c: Use g_mount_info*() functions for
detecting autorun and .xdg-volume-info files.
svn path=/trunk/; revision=2276
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2009-03-02 Alexander Larsson <alexl@redhat.com>
Bug 569712 – Write comments for translators!
* common/gvfsdnssdresolver.c (service_resolver_timed_out):
Fix position of translator comments.
svn path=/trunk/; revision=2271
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2009-03-02 Alexander Larsson <alexl@redhat.com>
Bug 569712 – Write comments for translators!
* common/gvfsdnssdresolver.c:
Add some translator comments.
Patch from David Planella
svn path=/trunk/; revision=2265
|
|
|
|
|
|
|
|
|
|
|
| |
2009-03-02 Alexander Larsson <alexl@redhat.com>
* common/gdbusutils.[ch]:
Remove unused functions. Pointed out by Tommi Rantala.
svn path=/trunk/; revision=2262
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2009-02-27 Alexander Larsson <alexl@redhat.com>
* common/Makefile.am:
* common/gvfsfileinfo.[ch]:
Add (de)marshalling functions for GFileInfos.
* common/gvfsdaemonprotocol.h:
Add protocol extensions for query info over streams
* client/gdaemonfileinputstream.c:
Support sync query_info.
* daemon/Makefile.am:
* daemon/gvfsjobqueryinforead.[ch]:
* daemon/gvfsbackend.h:
Added query info job and backend call for input streams
* daemon/gvfsbackendtest.c:
Implement query_info_on_read
* daemon/gvfschannel.[ch]:
Add g_vfs_channel_send_info
* daemon/gvfsreadchannel.c:
(read_channel_handle_request):
Handle query info
* test/Makefile.am:
* test/test-query-info-stream.c:
Add test for stream query info.
svn path=/trunk/; revision=2257
|
|
|
|
|
|
|
|
|
|
|
|
| |
2009-01-29 Alexander Larsson <alexl@redhat.com>
* common/gvfsicon.c:
(g_vfs_icon_to_tokens):
Dup string to avoid double free later.
svn path=/trunk/; revision=2186
|
|
|
|
| |
svn path=/trunk/; revision=2174
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-12-16 Ryan Lortie <desrt@desrt.ca>
Bug 562955 – parallel build doesn't work
* common/Makefile.am: use non-absolute path for libgvfscommon.la so
that automake can see the dependency
svn path=/trunk/; revision=2145
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-12-01 Alexander Larsson <alexl@redhat.com>
* client/gdaemonmount.c:
* common/gmounttracker.[ch]:
* daemon/gvfsbackend.[ch]:
Make mounts/backends have a GIcon not a icon name
* daemon/gvfsbackendsftp.c:
Support /etc/favicon.png
* daemon/gvfsbackendsmbbrowse.c:
Simplify some code with the new GIcon support
Patch from David Zeuthen (#557540)
svn path=/trunk/; revision=2113
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-12-01 Alexander Larsson <alexl@redhat.com>
* common/Makefile.am:
* common/gvfsdnssdresolver.c: Added.
* common/gvfsdnssdresolver.h: Added.
* common/gvfsdnssdutils.c: Added.
* common/gvfsdnssdutils.h: Added.
* daemon/Makefile.am:
* daemon/dav+sd.mount.in: Added.
* daemon/dav.mount.in:
* daemon/gvfsbackenddav.c:
* daemon/gvfsbackenddnssd.c:
* daemon/gvfsbackendnetwork.c:
For references to dns-sd dav services, use a
dav+sd: uri, since this is stable over e.g.
port changes and as such work better in e.g.
bookmarks.
Patch from David Zeuthen (#555436)
svn path=/trunk/; revision=2112
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-10-21 Alexander Larsson <alexl@redhat.com>
Patch from David Zeuthen
* common/Makefile.am:
* common/gvfsicon.[ch]:
Added GVfsIcon object for GVfs backend specific icons.
* common/gmountspec.[ch]:
Make sure to/from string works correctly to roundtrip GMountSpec:s
Make GMountSpec a boxed type
* common/gvfsdaemonprotocol.h:
Add OpenIconForRead operation
* client/Makefile.am:
* client/gvfsiconloadable.[ch]:
In gvfs client side, implement GLoadableIcon for GVfsIcon type.
* client/gdaemonvfs.c:
Make sure that we add the GLoadableIcon interface for GVfsIcon on load
* daemon/Makefile.am:
* daemon/gvfsbackend.[ch]:
* daemon/gvfsjobopeniconforread.[ch]:
Add new job type for OpenIconForRead op
* daemon/gvfsbackendgphoto2.c:
Implement OpenIconForRead for icon previews.
svn path=/trunk/; revision=2070
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-10-21 Alexander Larsson <alexl@redhat.com>
* configure.ac:
Require glib 2.19.1 for GIcon serialization support
* common/gvfsdaemonprotocol.c:
Use g_icon_to_string & co instead of home-brewed serialization
* monitor/proxy/gproxydrive.c:
* monitor/proxy/gproxymount.c:
* monitor/proxy/gproxyvolume.c:
* monitor/proxy/gproxyvolumemonitor.c:
* monitor/proxy/gproxyvolumemonitor.h:
* monitor/proxy/gvfsproxyvolumemonitordaemon.c:
Use g_icon_to_string & co instead of home-brewed serialization
svn path=/trunk/; revision=2069
|
|
|
|
|
|
|
|
|
|
| |
2008-10-17 Alexander Larsson <alexl@redhat.com>
* common/gdbusutils.c (append_escaped_name):
Fix uninitialized memory read.
svn path=/trunk/; revision=2057
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-09-26 Alexander Larsson <alexl@redhat.com>
* client/gdaemonvfs.[ch]:
* common/gvfsdaemonprotocol.h:
* daemon/mount.c:
Reverse map fuse paths to gvfs uris in
g_file_new_for_path().
svn path=/trunk/; revision=2031
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-09-25 Alexander Larsson <alexl@redhat.com>
* common/gvfsdaemonprotocol.c:
(_g_dbus_get_file_attribute):
Free returned strv with g_strfreev, not dbus_free_string_array. (#529596)
svn path=/trunk/; revision=2030
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-09-23 Alexander Larsson <alexl@redhat.com>
* monitor/proxy/gproxyvolumemonitor.[ch]:
* monitor/proxy/gproxyvolumemonitor.h:
* monitor/proxy/remote-volume-monitor-module.c:
Only call the IsSupported dbus call when the class
is actually needed instead of on gio init.
Don't integrate internal session bus with mainloop
during is_support code, as that is not necessary yet, and
it caused problem if done in a thread.
This fixes the trash crash issue in bug #547568.
2008-09-23 Alexander Larsson <alexl@redhat.com>
* client/Makefile.am:
* common/Makefile.am:
* common/gmountsource.c:
* common/gmounttracker.c:
* monitor/gphoto2/Makefile.am:
* monitor/hal/Makefile.am:
* monitor/proxy/Makefile.am:
Link all modules against the installed libgvfscommon instead
of duplicating the statically linked one. This is safe wrt
namespace conflicts, because the modules are opened RTLD_LOCAL
so the dependencies will not pollute the global namespace.
* client/gdaemonvfs.c:
Make the gvfsdbus module persistant. This means we will never
unload it, and thus not unload libgvfscommon which could
be problematic. This is not a huge problem, as:
+ The gio modules will not be loaded anyway unless you use gio
+ The gvfsdbus module will be persistent anyway as soon as
the app references the GVfs object, which likely all gio apps do
+ The module load order doesn't matter wrt unload order, because
all gio modules are loaded before any one is unloaded.
svn path=/trunk/; revision=2021
|
|
|
|
| |
svn path=/trunk/; revision=1922
|
|
|
|
| |
svn path=/trunk/; revision=1919
|
|
|
|
| |
svn path=/trunk/; revision=1907
|
|
|
|
| |
svn path=/trunk/; revision=1847
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-07-29 David Zeuthen <davidz@redhat.com>
* client/gdaemonmount.c:
* common/gmounttracker.c:
* common/gmounttracker.h:
* daemon/gvfsbackend.c:
* daemon/gvfsbackend.h:
* daemon/gvfsbackendcdda.c:
* daemon/gvfsbackendgphoto2.c:
* daemon/mount.c:
Add x-content/* support to daemon mounts. Right now a backend
can only set the x-content/* type ahead of time. We might want
to add support dynamically obtaining it too (e.g. support
force_rescan).
* monitor/hal/ghalmount.c:
* monitor/hal/ghalvolume.c:
* monitor/hal/ghalvolumemonitor.c:
* monitor/hal/hal-utils.c:
* monitor/hal/hal-utils.h:
Add x-content/* support to the HAL volume monitor.
* monitor/proxy/gproxymount.c:
* monitor/proxy/gproxymount.h:
* monitor/proxy/gproxyvolumemonitor.c:
* monitor/proxy/gproxyvolumemonitor.h:
* monitor/proxy/gvfsproxyvolumemonitordaemon.c:
Add x-content/* support to proxy volume monitor. Also fix
a number of bugs the initial implementation had.
* programs/gvfs-mount.c:
Print out x-content-types.
svn path=/trunk/; revision=1845
|
|
|
|
| |
svn path=/trunk/; revision=1788
|
|
|
|
|
|
|
|
|
| |
2008-04-14 Matthias Clasen <mclasen@redhat.com>
* common/gmounttracker.c (g_mount_tracker_finalize): Only free
lock if it is non-NULL. Pointed out by Denis Leroy.
svn path=/trunk/; revision=1733
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-03-11 Alexander Larsson <alexl@redhat.com>
* common/gsysutils.c:
* configure.ac:
OpenBSB portability fixes.
Patch from Jasper Lievisse Adriaanse <jasper@humppa.nl>
svn path=/trunk/; revision=1645
|
|
|
|
|
|
|
|
|
|
|
| |
2008-03-06 Alexander Larsson <alexl@redhat.com>
* common/gsysutils.c:
Include <sys/types.h> also (#520307)
svn path=/trunk/; revision=1587
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-03-06 Alexander Larsson <alexl@redhat.com>
* common/gsysutils.c:
* configure.ac:
Include sys/uio.h if availible (#520307)
svn path=/trunk/; revision=1580
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-03-05 Alexander Larsson <alexl@redhat.com>
* common/gmountsource.c:
(ask_password_reply):
Always set password to non-NULL, but keep
user/domain as NULL if not specified by user.
Fixes #520317 (smb auth crash)
svn path=/trunk/; revision=1550
|