Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
|
|
|
|
It's little messy due to shared code across sync calls with private
main context and async calls that don't have it's mainloop and can't use
private context.
|
|
Port of most of the gvfs core, few bits still missing. Lot of debug prints around,
will be removed in further commits. Same amount of TODOs and FIXMEs.
Notes:
* kill serials?
* get rid of mainloops where applicable (copy/move progress callback, enumerator)
* fix keyring integration
* use gdbus builtin fd passing within gvfsdaemon.c, kill the extra_fd stuff
|
|
Updating the address of the FSF.
This has been done by:
while read file; do
sed -i 's:59 Temple Place:51 Franklin Street:' $file
sed -i 's:Suite 330:Fifth Floor:' $file
sed -i 's:02111-1307:02110-1301:' $file
done
https://bugzilla.gnome.org/show_bug.cgi?id=656598
Signed-off-by: Tomas Bzatek <tbzatek@redhat.com>
|
|
https://bugzilla.gnome.org/show_bug.cgi?id=659815
|
|
This makes sure we always return ERROR_CANCELLED, just like we want to
guarantee and avoids crashes in the file chooser.
There should be API in GSimpleAsyncResult to attach a GCancellable that
does this job for us, but so far there isn't, so we use
g_object_get/set_data() and check the cancellables manually in the
finish function.
https://bugzilla.gnome.org/show_bug.cgi?id=614099
|
|
This reverts commit 5af6a1dbdd2c6a61b515a5bd64350db3af16dae7.
Replacing complete_in_idle() with a call that directly completes is BAD
BAD BAD.
|
|
This makes sure we always return ERROR_CANCELLED, just like we want to
guarantee and avoids crashes in the file chooser.
https://bugzilla.gnome.org/show_bug.cgi?id=614099
|
|
|
|
We can't call g_cancellable_disconnect from inside the cancel signal
emission, as that deadlocks. However we know if that happens and can
use the regular disconnect.
Also, we need to grab the infos lock when calling trigger_async_done, this
was only done in some cases, now its always done.
|
|
|
|
|
|
In later glib versions setting the GSimpleAsyncResult gpointer data
frees the old data using the destroy notify, which can cause crashes
since we return it. So, just copy+ref the list instead of trying to steal
the asyncresult one.
|
|
2008-09-15 Alexander Larsson <alexl@redhat.com>
* client/gdaemonfile.c:
* client/gdaemonfileenumerator.c:
Add proper implementation of async file enumeration.
This avoids the problem with the default thread based ones
that could cause callbacks in the non-mainloop thread. (#551337)
svn path=/trunk/; revision=1974
|
|
2008-06-16 Ross Burton <ross@burtonini.com>
Bug 536252 – GFileEnumerator should allow access to the containing
GFile
* client/gdaemonfile.c:
* client/gdaemonfileenumerator.c:
* client/gdaemonfileenumerator.h:
Pass the GFile to the file enumerator constructor and use it to
set the container property. (Requires glib r7044)
svn path=/trunk/; revision=1810
|
|
2008-03-28 Alexander Larsson <alexl@redhat.com>
* client/gdaemonfileenumerator.c (g_daemon_file_enumerator_next_file):
Actually increment count so that timeouts works.
Pointed out by Joe Marcus Clarke
svn path=/trunk/; revision=1686
|
|
2008-03-26 Alexander Larsson <alexl@redhat.com>
* client/gdaemonfileenumerator.c:
(g_daemon_file_enumerator_next_file):
Avoid hanging forever and not sending any async messages.
This could happen if we raced and missed the done check.
svn path=/trunk/; revision=1682
|
|
2008-02-19 Alexander Larsson <alexl@redhat.com>
* lots of *.c files:
Code cleanup from Kjartan:
Removes unused code/variables.
Uses right printf types
Uses non-deprecated dbus calls.
Removes spurious ; and ,
deleted extra checks for NULL for g_free
svn path=/trunk/; revision=1302
|
|
2007-12-14 Alexander Larsson <alexl@redhat.com>
* client/gdaemondirectorymonitor.c:
* client/gdaemondirectorymonitor.h:
* client/gdaemonfile.c:
* client/gdaemonfile.h:
* client/gdaemonfileenumerator.c:
* client/gdaemonfileenumerator.h:
* client/gdaemonfileinputstream.c:
* client/gdaemonfileinputstream.h:
* client/gdaemonfilemonitor.c:
* client/gdaemonfilemonitor.h:
* client/gdaemonfileoutputstream.c:
* client/gdaemonfileoutputstream.h:
* client/gdaemonmount.c:
* client/gdaemonmount.h:
* client/gdaemonvfs.c:
* client/gdaemonvfs.h:
* client/gdaemonvolumemonitor.h:
* client/gvfsdaemondbus.c:
* client/gvfsdaemondbus.h:
* client/gvfsfusedaemon.c:
* client/gvfsurimapper.h:
* client/smburi.c:
* common/gdbusutils.c:
* common/gdbusutils.h:
* common/gmountoperationdbus.c:
* common/gmountoperationdbus.h:
* common/gmountsource.c:
* common/gmountsource.h:
* common/gsysutils.c:
* common/gvfsdaemonprotocol.c:
* common/gvfsdaemonprotocol.h:
* daemon/gvfsbackend.h:
* daemon/gvfsbackendftp.c:
* daemon/gvfsbackendsftp.c:
* daemon/gvfsbackendsmb.c:
* daemon/gvfsbackendsmbbrowse.c:
* daemon/gvfsbackendtest.c:
* daemon/gvfsbackendtrash.c:
* daemon/gvfsdaemonutils.c:
* daemon/gvfsjob.c:
* daemon/gvfsjob.h:
* daemon/gvfsjobcopy.h:
* daemon/gvfsjobcreatemonitor.h:
* daemon/gvfsjobdelete.h:
* daemon/gvfsjobenumerate.h:
* daemon/gvfsjobmakedirectory.h:
* daemon/gvfsjobmakesymlink.h:
* daemon/gvfsjobmount.h:
* daemon/gvfsjobmountmountable.h:
* daemon/gvfsjobmove.h:
* daemon/gvfsjobqueryattributes.h:
* daemon/gvfsjobqueryfsinfo.h:
* daemon/gvfsjobqueryinfo.h:
* daemon/gvfsjobsetattribute.h:
* daemon/gvfsjobsetdisplayname.h:
* daemon/gvfsjobtrash.h:
* daemon/gvfsjobunmount.h:
* daemon/gvfsmonitor.h:
* daemon/mount.c:
* daemon/mount.h:
* programs/gvfs-cat.c:
* programs/gvfs-copy.c:
* programs/gvfs-info.c:
* programs/gvfs-ls.c:
* programs/gvfs-monitor-dir.c:
* programs/gvfs-monitor-file.c:
* programs/gvfs-mount.c:
* programs/gvfs-move.c:
* programs/gvfs-rm.c:
* programs/gvfs-save.c:
* programs/gvfs-trash.c:
* test/benchmark-gvfs-big-files.c:
* test/benchmark-gvfs-small-files.c:
* test/benchmark-posix-big-files.c:
* test/benchmark-posix-small-files.c:
Only use <gio/gio.h> include
svn path=/trunk/; revision=1039
|
|
2007-12-05 Alexander Larsson <alexl@redhat.com>
* client/gdaemonfile.c:
* client/gdaemonfileenumerator.c:
* client/gdaemonfileinputstream.c:
* client/gdaemonfileoutputstream.c:
Update to gio API change
svn path=/trunk/; revision=1035
|
|
2007-11-01 Christian Kellner <gicmo@gnome.org>
* client/*.[ch]:
* common/*.[ch]:
* daemon/*.[ch]:
* test/*.[ch]:
Add copyright information to source files.
svn path=/trunk/; revision=1007
|
|
2007-10-08 Alexander Larsson <alexl@redhat.com>
* common/gvfsdaemonprotocol.h:
Add defines for monitoring
* client/Makefile.am:
* client/gdaemondirectorymonitor.[ch]:
* client/gdaemonfilemonitor.[ch]:
* client/gdaemonfile.c:
Add daemon directory monitor and initial work on file monitor
* client/gdaemonfileenumerator.c:
Make path_counter private
Return DBUS_HANDLER_RESULT_HANDLED when handling messages.
* client/gdaemonvfs.[ch]:
Make _g_mount_ref_ref "public"
* client/gvfsdaemondbus.c:
Handle NULL callbacks for async calls
* daemon/Makefile.am:
* daemon/gvfsbackend.[ch]:
* daemon/gvfsjobcreatemonitor.[ch]:
Add create_dir_monitor and create_file_monitor.
Add g_vfs_backend_get_daemon
* daemon/gvfsmonitor.[ch]:
Helper code for monitors
* daemon/gvfsbackendtrash.c:
Implement directory monitor for trash dirs
svn path=/trunk/; revision=971
|
|
Original git commit by Alexander Larsson <alexl@redhat.com> at 1188912182 +0200
svn path=/trunk/; revision=890
|
|
Clean up some dbus interface define names
Original git commit by Alexander Larsson <alexl@redhat.com> at 1178704724 +0200
svn path=/trunk/; revision=530
|
|
Original git commit by Alexander Larsson <alex@greebo.(none)> at 1173787131 +0100
svn path=/trunk/; revision=388
|