ESourceWebdav: Add "resource-query" property.
authorMatthew Barnes <mbarnes@redhat.com>
Mon, 27 Aug 2012 15:44:46 +0000 (11:44 -0400)
committerMatthew Barnes <mbarnes@redhat.com>
Mon, 27 Aug 2012 16:12:55 +0000 (12:12 -0400)
commit44d5f2152663d0854dec4b2ee1e73ddd99e93a41
tree2800d25888e95c3fb2f6332b756dffad43221774
parent52265c840a0f00526c60a349b5d78ae5002dbdb1
ESourceWebdav: Add "resource-query" property.

Retain the query portion of a WebDAV URI, and update migration to
preserve it from the old XML-based ESource URIs.

Also reimplement the "soup-uri" property.  Using bi-directional property
bindings from one property to many properties results in feedback loops.
Instead, listen for "notify" signals from URI component properties and
emit a "notify::soup-uri" signal, but don't actually update the internal
SoupURI until a copy is requested.

This makes Facebook birthday calendars work again, which has the form:
webcal://www.facebook.com/ical/b.php?uid=<<UID>>&key=<<KEY>>
docs/reference/libedataserver/libedataserver-sections.txt
libedataserver/e-source-webdav.c
libedataserver/e-source-webdav.h
services/evolution-source-registry/evolution-source-registry-migrate-sources.c