summaryrefslogtreecommitdiff
path: root/common
AgeCommit message (Collapse)AuthorFilesLines
2013-08-01GMountSpec to Uri was'nt encoding the host properly for CMIS URIs.Cédric Bosdonnat1-3/+9
The problem was that g_vfs_encode_uri was not encoding ':' in the binding URL because those may appear in ipv6 hostnames. As ipv6 hostnames are in the form [theipv6], the ':[]' are unescaped only for those ipv6 hostnames.
2013-07-31moved gvfsuriutils.{ch} back to common to use them in cmis backend laterCédric Bosdonnat4-0/+411
2013-04-21GVfsIcon: support icon serialisationRyan Lortie2-0/+37
Add support for the new icon serialisation interface to GVfsIcon as well as implementing the new interface on GVfsClass for deserialising. https://bugzilla.gnome.org/show_bug.cgi?id=688820
2013-04-02Fix compiler warningsBastien Nocera1-2/+2
https://bugzilla.gnome.org/show_bug.cgi?id=695834
2013-01-17Use g_list_free_full() where applicableTomas Bzatek2-5/+2
2012-12-07Fix use of uninitialized valuesTomas Bzatek2-3/+12
2012-11-02Capitalize acronymscjl1-3/+3
https://bugzilla.gnome.org/show_bug.cgi?id=683763 Signed-off-by: Tomas Bzatek <tbzatek@redhat.com>
2012-09-04gmountsource: Always use NULL-terminated arraysTomas Bzatek2-12/+0
GDBus calls require NULL-terminated string arrays, let's use them internally instead of array + n_elements couple. Also fix all users of g_mount_source_ask_question() and g_mount_source_show_processes(). This is a regression after gdbus port actually, the old code used to deal with string arrays differently. Related commit: 99d06e499f999459f1fc973c870415a004722d54 https://bugzilla.gnome.org/show_bug.cgi?id=683118
2012-08-30Add support for getting symbolic iconsWilliam Jon McCann3-6/+25
https://bugzilla.gnome.org/show_bug.cgi?id=681458
2012-08-25gmountspec: Make sure to free the GVariantIterJasper St. Pierre1-0/+2
https://bugzilla.gnome.org/show_bug.cgi?id=682646
2012-08-23Report back error_code on spawn fail due to bus name already ownedAlexander Larsson1-0/+1
We return the not-quite-right ALREADY_MOUNTED. Its not strictly right because just because the name is owned does not mean the mount has been registred yet.
2012-08-21Make the dnssd code non-sharedAlexander Larsson1-1/+1
This code is tiny, and only used by two backends. Having this code in a separate .so is likely a negative gain in both size and speed.
2012-08-21Remove unused code from client libsAlexander Larsson1-1/+14
The gvfsmountinfo.c (and its libbluray dependency) is unused by the client code, so we remove it from the common shared lib. We use a non-shared lib for this, as in practice only one of the monitors that use this code will be build/installed/used.
2012-08-21Remove unused gsysutils filesAlexander Larsson3-221/+0
2012-08-21Remove final parts of libdbusAlexander Larsson3-1430/+2
Don't link to libdbus and remove libdbus utility functions.
2012-08-21mount-op: adapt to guint64->gint64 API changeCosimo Cecchi4-10/+10
https://bugzilla.gnome.org/show_bug.cgi?id=682284
2012-07-31gdbus: Remove debug printsTomas Bzatek2-18/+0
2012-07-31gdbus: More errors to stripTomas Bzatek1-0/+3
2012-07-31gdbus: Rename common d-bus interface xml fileTomas Bzatek2-3/+3
2012-07-31gdbus: Code style fixesTomas Bzatek1-32/+16
2012-07-31gdbus: Fix case of GDbusAttributeValue structTomas Bzatek2-8/+8
2012-07-31gdbus: Use casting macros where possibleTomas Bzatek2-6/+6
2012-07-31gdbus: Use g_clear_object() where appropriateTomas Bzatek1-7/+3
2012-07-31gdbus: Properly suffix functions doing sync proxy creationTomas Bzatek2-10/+11
...so that they are recognizable on a first sight.
2012-07-31gdbus: Reword GVariant argumentsTomas Bzatek8-42/+42
and kill the iters.
2012-07-31gdbus: gmountoperationdbus.c: Move referenced objects aroundTomas Bzatek1-24/+26
Reorganize saved references for used objects, getting rid of some FIXMEs.
2012-07-31gdbus: Construct proxies without connecting signals and propertiesTomas Bzatek2-2/+2
Use G_DBUS_PROXY_FLAGS_DO_NOT_CONNECT_SIGNALS and G_DBUS_PROXY_FLAGS_DO_NOT_LOAD_PROPERTIES flags where applicable.
2012-07-31gdbus: Use G_VARIANT_TYPE_HANDLE for fd_id argumentsTomas Bzatek1-3/+3
2012-07-31gdbus: Move annotations to the interface XML fileTomas Bzatek2-6/+3
2012-07-31gdbus: Fix srcdir != builddir and make the build more quietTomas Bzatek1-2/+2
2012-07-31gdbus: Fixup d-bus interface naming styleTomas Bzatek1-18/+18
And conform to usual GNOME naming conventions.
2012-07-31gdbus: Treat empty non-NULL strings for the "ay" type as NULLTomas Bzatek2-1/+8
A fallout of port away from convenient G_DBUS_TYPE_CSTRING type and _g_dbus_message_append_args() + _g_dbus_message_iter_get_args() functions that masked NULL strings as non-NULL empty strings ("") for transferring over d-bus and on the other side reconstructed the original value. Portions of other code treat non-NULL strings differently even if they were empty. This fixes e.g. opening http URLs via gvfs-open.
2012-07-31gdbus: Remove unused daemon protocol definesTomas Bzatek1-106/+0
2012-07-31gdbus: Port the OpenIconForRead operationTomas Bzatek2-0/+5
2012-07-31gdbus: Monitoring portTomas Bzatek1-0/+25
2012-07-31gdbus: Core daemon and client portTomas Bzatek12-1217/+1109
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
2012-07-30Update the Address of the FSFFelix Möller23-46/+46
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>
2012-07-28Fix a comment typoMatthias Clasen1-1/+1
2012-07-13common: add support show-unmount-progress signal to GMountOperationDBusCosimo Cecchi4-0/+116
https://bugzilla.gnome.org/show_bug.cgi?id=676111
2011-11-14Explicitly intialize mutexes on stackTomas Bzatek2-0/+7
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.
2011-10-25Adapt to glib mutex API changesTomas Bzatek1-32/+28
A continuation to https://bugzilla.gnome.org/show_bug.cgi?id=661148
2011-10-21Adapt to GLib 2.31 deprecations and thread API changesMatthias Clasen1-29/+14
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
2011-10-12Purge hardcoded -DG_DISABLE_DEPRECATEDColin Walters1-1/+1
Especially now that deprecations are proper gcc warnings, no need to hardcode this.
2011-08-22mountsource: Fix leaks of GSimpleAsyncResultCarl-Anton Ingmarsson1-0/+3
https://bugzilla.gnome.org/show_bug.cgi?id=656511
2011-08-15daemon: Remove unused codeTomas Bzatek1-4/+0
2011-05-12New function to re-root a given path with a mount_prefixChristian Kellner2-0/+22
g_mount_info_apply_prefix will take an given path and prepend the mount_prefix of the given mount_info, if there is any. It will free the old string in this case. Otherwise it is a NOOP.
2011-04-08common: Remove unneeded copied header fileBastien Nocera3-57/+1
Turns out the header is properly shipped by libluray.
2011-04-07common: Use libbluray to get Blu-Ray metadataBastien Nocera3-166/+173
This means we can finally get localised versions, and support the biggest thumbnails. https://bugzilla.gnome.org/show_bug.cgi?id=646984
2011-03-17Cleanups and fixes for compiler warningsKjartan Maraas2-5/+2
https://bugzilla.gnome.org/show_bug.cgi?id=641856
2010-09-27Fix stringv transfer over dbusTomas Bzatek1-1/+2
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.