summaryrefslogtreecommitdiff
path: root/daemon
Commit message (Collapse)AuthorAgeFilesLines
* afp: make GVfsAfpName an opaque typeCarl-Anton Ingmarsson2012-01-222-9/+8
|
* afp: output the textual representation of undhandled error codesCarl-Anton Ingmarsson2012-01-227-98/+264
| | | | | add a new function afp_result_to_gerror which does a generic AfpResultCode to GError mapping
* Make ftp.mount no longer conditionally builtJean-Christian de Rivaz2012-01-101-4/+4
| | | | | | | It doesn't require libsoup anymore after all. This was missing in the ff120f07aa8807b96ba79b2415715205a92db2ae commit. Signed-off-by: Jean-Christian de Rivaz <jc@eclis.ch>
* The -f (foreground) option prevent libfuse to call daemon(). First, this is ↵Jean-Christian de Rivaz2012-01-101-3/+10
| | | | | | not required as g_spawn_async() already detach the process. Secondly, calling daemon() and then pthread_create() produce an undefined result accoring to Opengroup. On system with the uClibc library this will badly hang the process. Signed-off-by: Jean-Christian de Rivaz <jc@eclis.ch>
* afc: Add support for iOS5 thumbnailsBastien Nocera2011-12-011-2/+6
|
* afc: tweak the text used to report a device locked errorCosimo Cecchi2011-12-011-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=665328
* afc: invert the choices order for the device passcode dialogCosimo Cecchi2011-12-011-1/+1
| | | | | | | Buttons are layed out in reverse order, and the positive action is on the right hand side. https://bugzilla.gnome.org/show_bug.cgi?id=665328
* http: Automatically decompress gzip'ed streamsBastien Nocera2011-11-161-0/+7
| | | | | | | | | | | The content-encoding of served files was completely ignored and application, even though they were getting a content-type of "text/xml" for example, were served gzip'ed data. Enable the content decoder. Fixes parsing of multiple RSS feeds in totem-pl-parser. https://bugzilla.gnome.org/show_bug.cgi?id=664200
* Explicitly intialize mutexes on stackTomas Bzatek2011-11-149-3/+17
| | | | | | Turned out zeroing memory is not enough in some cases so let's be on the safe side and properly initialize all non-static mutexes. Also, don't initialize/clear the static ones.
* daemon: Do not unref NULL mount specTomas Bzatek2011-11-141-1/+2
| | | | This is going away with GDBus port, but still...
* Adapt to glib thread API changesTomas Bzatek2011-10-261-1/+1
| | | | Last piece in order to fix https://bugzilla.gnome.org/show_bug.cgi?id=661148
* Adapt to glib mutex API changesTomas Bzatek2011-10-2512-284/+258
| | | | A continuation to https://bugzilla.gnome.org/show_bug.cgi?id=661148
* Adapt to GLib 2.31 deprecations and thread API changesMatthias Clasen2011-10-213-7/+4
| | | | | | | GStaticMutex and GStaticRWLock have been replaced by GMutex and GRWLock, and g_thread_init() is no longer needed. https://bugzilla.gnome.org/show_bug.cgi?id=661148
* Use g_atomic_int_add instead of deprecated g_atomic_int_exchange_and_add.Kjartan Maraas2011-10-212-2/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=659815
* Purge hardcoded -DG_DISABLE_DEPRECATEDColin Walters2011-10-121-3/+2
| | | | | Especially now that deprecations are proper gcc warnings, no need to hardcode this.
* daemon: Grab a pointer to the GvfsBackend before unref'ing a job source, ↵Michael Terry2011-09-291-1/+3
| | | | | | preventing a crash. https://bugzilla.gnome.org/show_bug.cgi?id=654999
* smb: Ignore read-only attribute for directoriesAndreas Heik2011-09-081-2/+3
| | | | | | | | | According to Microsoft Knowledge Base article the read-only attribute on a folder is being usually ignored by the system and applications. Let's ignore it in gvfs to avoid compatibility issues. http://support.microsoft.com/kb/326549/ https://bugzilla.gnome.org/show_bug.cgi?id=598206
* dav: Fix small memory leak (display_name)Christian Kellner2011-09-021-0/+1
|
* smb: Always check for existing file on renameTomas Bzatek2011-08-301-3/+21
| | | | | | | Libsmbclient reports no error when target file or directory exists and overwrites target file. https://bugzilla.gnome.org/show_bug.cgi?id=616645
* afp: remove unused and crashy handling of Attention messagesCarl-Anton Ingmarsson2011-08-291-76/+0
| | | | this should fix bgo#657383
* ftp: Fix return value of try_get_settable_attributes() on failureChris Wulff2011-08-291-1/+1
| | | | | | This fixes a crash on failed try_get_settable_attributes() call. https://bugzilla.gnome.org/show_bug.cgi?id=651729
* Ignore SIGPIPE signals to avoid process termination on cancelled transferTomas Bzatek2011-08-292-0/+10
| | | | | | | | That way we would be able to properly get EPIPE when trying to write to a socket or pipe whose far end has been closed. This happens e.g. on file copy cancellation. Glib does similar thing on GSocket initialization. https://bugzilla.gnome.org/show_bug.cgi?id=649041
* Revert "afp: start read loop directly on connect"Carl-Anton Ingmarsson2011-08-263-10/+16
| | | | This reverts commit 5c1242031634859004ce330581342c273a251d20.
* Revert "afp: reuse g_vfs_afp_connection_send_command in the sync version"Carl-Anton Ingmarsson2011-08-264-95/+128
| | | | This reverts commit ecc1730d3bfdc11fa07f15893267a7ea054328f1.
* afp: change open_fork to be able to return file information for the opened forkCarl-Anton Ingmarsson2011-08-251-34/+66
|
* afp: make the afp backends optionalCarl-Anton Ingmarsson2011-08-251-3/+9
|
* afp: start read loop directly on connectCarl-Anton Ingmarsson2011-08-253-16/+10
| | | | | also change g_vfs_afp_connection_get_server_info to take a GSocketConnectable instead of a GVfsAfpConnection
* afp: reuse g_vfs_afp_connection_send_command in the sync versionCarl-Anton Ingmarsson2011-08-254-128/+95
|
* afp: add set_unix_privs functionCarl-Anton Ingmarsson2011-08-251-72/+128
| | | | also use it in our attribute setting code
* afp: create file if it doesn't exist when doing replaceCarl-Anton Ingmarsson2011-08-251-73/+75
|
* afp: implement copyCarl-Anton Ingmarsson2011-08-251-5/+218
|
* afp: add copy_file function wrapping FPCopyFileCarl-Anton Ingmarsson2011-08-252-1/+129
|
* afp: add move_and_rename utility functionCarl-Anton Ingmarsson2011-08-251-35/+85
|
* afp: use FPGetFileDirParms when querying root volume infoCarl-Anton Ingmarsson2011-08-251-44/+32
|
* afp: query for and set G_FILE_OWNER_[USER|USER_REAL|GROUP]Carl-Anton Ingmarsson2011-08-252-4/+239
|
* afp: fail replace early if the given file is a directoryCarl-Anton Ingmarsson2011-08-251-10/+10
|
* afp: print errors for some more results from FPExchangeFilesCarl-Anton Ingmarsson2011-08-252-0/+9
|
* afp: check files etag when doing a replaceCarl-Anton Ingmarsson2011-08-251-4/+46
|
* afp: retrieve etag on close_writeCarl-Anton Ingmarsson2011-08-251-9/+65
|
* afp: use delete function to delete temporary fileCarl-Anton Ingmarsson2011-08-251-17/+1
|
* afp: change close_fork to take a gint16 fork_refnum parameterCarl-Anton Ingmarsson2011-08-251-7/+7
|
* afp: small cleanup in create_fileCarl-Anton Ingmarsson2011-08-251-27/+30
| | | | | use g_simple_async_result_set_op_res_gpointer to store data needed for the operation
* afp: replace some tabs with spacesCarl-Anton Ingmarsson2011-08-251-4/+4
|
* afp: fix some memoryleaksCarl-Anton Ingmarsson2011-08-255-75/+76
| | | | | | change g_vfs_afp_connection_send_command to take a "char *reply_buf" paramater to use for storing the reply data instead of reusing the buf data pointer in GVfsAfpCommand
* afp: fix some leaks of GSimpleAsyncResultsCarl-Anton Ingmarsson2011-08-253-32/+38
|
* afp: change update_cache to use a GIO like apiCarl-Anton Ingmarsson2011-08-251-51/+67
|
* afp: read directly into the given read bufferCarl-Anton Ingmarsson2011-08-253-21/+57
| | | | this way we can skip an memcpy and gain some extra performance
* afp: add a read_all_async functionCarl-Anton Ingmarsson2011-08-251-32/+120
|
* afp: print better error message when trying to delete an open fileCarl-Anton Ingmarsson2011-08-251-0/+4
|
* afp: avoid useless copy when writingCarl-Anton Ingmarsson2011-08-253-77/+201
|