summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update NEWS for 1.13.4 release1.13.4Tomas Bzatek2012-07-311-0/+16
|
* Merge branch 'gdbus-core'Tomas Bzatek2012-07-3196-7825/+7395
|\
| * gdbus: Use default timeout for keyring callsgdbus-coreTomas Bzatek2012-07-311-1/+1
| |
| * gdbus: Remove debug printsTomas Bzatek2012-07-3140-391/+3
| |
| * gdbus: Use g_variant_is_of_type() instead of strcmp()Tomas Bzatek2012-07-311-1/+1
| |
| * gdbus: Gracefully handle monitoring unsubscribe on unmounted backendTomas Bzatek2012-07-311-4/+26
| | | | | | | | | | | | The mount may be already gone or monitoring cleanup is done too late; in that case handle this case gracefully since the monitoring doesn't exist anymore.
| * gdbus: Silence the G_IO_ERROR_NOT_MOUNTED errorTomas Bzatek2012-07-311-1/+1
| | | | | | | | | | This is a valid error used to indicate that we should (auto)mount first and should not be presented to the user.
| * gdbus: Don't use NULL values on error with fd passingTomas Bzatek2012-07-312-22/+16
| | | | | | | | | | Found out that if the remote call fails, some variables are left uninitialized and causes assertion failures while we don't need them.
| * gdbus: Fix leaks of GSimpleAsyncResultTomas Bzatek2012-07-311-0/+2
| |
| * gdbus: More errors to stripTomas Bzatek2012-07-312-0/+5
| |
| * gdbus: Strip unknown GError quark stringsTomas Bzatek2012-07-315-51/+83
| | | | | | | | | | | | This hopefully covers all public methods. Seems like this fixes several memleaks as well.
| * gdbus: Rename common d-bus interface xml fileTomas Bzatek2012-07-312-3/+3
| |
| * gdbus: Code style fixesTomas Bzatek2012-07-311-32/+16
| |
| * gdbus: Fix case of GDbusAttributeValue structTomas Bzatek2012-07-314-10/+10
| |
| * gdbus: Use casting macros where possibleTomas Bzatek2012-07-317-22/+22
| |
| * gdbus: Use g_clear_error() where appropriateTomas Bzatek2012-07-315-13/+7
| |
| * gdbus: Use g_clear_object() where appropriateTomas Bzatek2012-07-3115-126/+62
| |
| * gdbus: Properly suffix functions doing sync proxy creationTomas Bzatek2012-07-312-10/+11
| | | | | | | | ...so that they are recognizable on a first sight.
| * gdbus: Reword GVariant argumentsTomas Bzatek2012-07-318-42/+42
| | | | | | | | and kill the iters.
| * gdbus: gmountoperationdbus.c: Move referenced objects aroundTomas Bzatek2012-07-311-24/+26
| | | | | | | | | | Reorganize saved references for used objects, getting rid of some FIXMEs.
| * gdbus: Construct proxies without connecting signals and propertiesTomas Bzatek2012-07-317-8/+8
| | | | | | | | | | Use G_DBUS_PROXY_FLAGS_DO_NOT_CONNECT_SIGNALS and G_DBUS_PROXY_FLAGS_DO_NOT_LOAD_PROPERTIES flags where applicable.
| * gdbus: Use G_VARIANT_TYPE_HANDLE for fd_id argumentsTomas Bzatek2012-07-315-12/+43
| |
| * gdbus: Move annotations to the interface XML fileTomas Bzatek2012-07-312-6/+3
| |
| * gdbus: Fix srcdir != builddir and make the build more quietTomas Bzatek2012-07-314-4/+7
| |
| * gdbus: Push new GVfsJobProgress classTomas Bzatek2012-07-312-0/+172
| | | | | | | | Forgotten from the 722ebaf0ab949ca5b844a387dc684b4e3185db75 commit
| * gdbus: Remove unused extra_fd stuffTomas Bzatek2012-07-312-197/+15
| |
| * gdbus: Use private GMainContext for sync enumeratorTomas Bzatek2012-07-313-22/+40
| | | | | | | | | | | | 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.
| * gdbus: Make copy progress workTomas Bzatek2012-07-3111-441/+226
| | | | | | | | | | | | | | ...by turning sync copy calls async and running mainloop for progress interface skeleton be able to process incoming calls. Also, new class GVfsJobProgress has been introduced mostly for code sharing.
| * gdbus: Fix mount tracker signals emittingTomas Bzatek2012-07-311-41/+5
| | | | | | | | This allows clients to react on GVfs mounts appearing and disappearing.
| * gdbus: Fix mountable mounting with URITomas Bzatek2012-07-311-1/+1
| |
| * gdbus: More signal handler disconnectionTomas Bzatek2012-07-311-0/+1
| | | | | | | | Not really a problem in this case, but let's be on a safe side.
| * gdbus: Properly disconnect signal handlersTomas Bzatek2012-07-311-0/+1
| | | | | | | | ...not doing that leads to accessing freed memory
| * gdbus: Make cancellation workTomas Bzatek2012-07-318-30/+330
| | | | | | | | | | | | This mimics the old behaviour and works for sync and async. Requires new glib for g_dbus_connection_get_last_serial().
| * gdbus: Fixup d-bus interface naming styleTomas Bzatek2012-07-311-18/+18
| | | | | | | | And conform to usual GNOME naming conventions.
| * gdbus: Treat empty non-NULL strings for the "ay" type as NULLTomas Bzatek2012-07-315-6/+13
| | | | | | | | | | | | | | | | | | | | 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.
| * gdbus: Remove last traces of libdbus in metadata sourcesTomas Bzatek2012-07-313-5/+1
| |
| * gdbus: Remove no longer valid commentTomas Bzatek2012-07-311-2/+0
| |
| * gdbus: Enable daemon finalizationTomas Bzatek2012-07-311-3/+1
| | | | | | | | | | | | The crasher may have been possibly fixed in bug 669211. It's hard to hit the code path as long as gvfsdaemon calls hard exit().
| * gdbus: Silence unmount failuresTomas Bzatek2012-07-312-10/+7
| | | | | | | | | | | | | | | | | | | | ...and fix wrong typecast due to using an object we haven't reff'ed. The failure we're making silent were coming from a failed d-bus call to mount tracker. Also turned out the org.gtk.vfs.MountTracker.unregisterMount() has never been implemented, daemon mounttracker is watching for clients disconnects anyway.
| * gdbus: Tweak mount finalizationTomas Bzatek2012-07-313-6/+30
| |
| * gdbus: Handle not yet spawned mountablesTomas Bzatek2012-07-311-14/+9
| | | | | | | | This makes http backend working again.
| * gdbus: Remove unused daemon protocol definesTomas Bzatek2012-07-311-106/+0
| |
| * gdbus: Remove unused includeTomas Bzatek2012-07-311-1/+0
| | | | | | | | So that nothing depends on gvfsdbusutils.h, which is full of old libdbus code.
| * gdbus: Port the fuse daemonTomas Bzatek2012-07-311-69/+84
| |
| * gdbus: Port the sftp backendTomas Bzatek2012-07-311-56/+54
| | | | | | | | Traces of gnome-keyring GetEnvironment() call.
| * gdbus: Port the OpenIconForRead operationTomas Bzatek2012-07-318-285/+225
| |
| * gdbus: Bring libdbus threads initialization backTomas Bzatek2012-07-311-0/+8
| | | | | | | | | | | | | | | | I hate reverting things but this seems to be required for proper libdbus threads initialization, further used by gnome-keyring. This has actually been fixed in gnome-keyring recently (bug 659162) but gvfs can still be used with gnome-keyring-2.32.
| * gdbus: Handle client connection dying during monitoringTomas Bzatek2012-07-311-11/+21
| | | | | | | | Handle a connection dying and unregister its subscription.
| * gdbus: Monitoring portTomas Bzatek2012-07-313-214/+398
| |
| * gdbus: Improve registered paths activation on daemon sideTomas Bzatek2012-07-313-35/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This changes the way registered paths (i.e. interface skeleton exports) are activated on daemon side. We're keeping a list of connections on which every registered path is exported so that if connection is closed or the path is unregistered we always free the right interface skeletons. We also keep track of active client (peer-to-peer) connections so that if a new path is registered, it's automatically exported to all active connections. Needed since client connections are usually shared. It also has a nice side-effect of reacting to dirty disconnects (e.g. the client dies). This whole registration machinery needs unique object paths (for the hash table) but that's not a problem in the current state.