platform/upstream/evolution-data-server.git
12 years agoDisable cfs_try_release_memory() in dispose, rather than finalize
Milan Crha [Wed, 13 Jun 2012 10:16:16 +0000 (12:16 +0200)]
Disable cfs_try_release_memory() in dispose, rather than finalize

12 years agog_cancellable_reset() doesn't like NULL cancellable
Milan Crha [Wed, 13 Jun 2012 08:51:44 +0000 (10:51 +0200)]
g_cancellable_reset() doesn't like NULL cancellable

12 years agoserver_side_source_write(): Fix file relocation.
Matthew Barnes [Wed, 13 Jun 2012 02:01:05 +0000 (22:01 -0400)]
server_side_source_write(): Fix file relocation.

Use the GFile's basename so we don't drop the '.source' file extension.

12 years agoyahoo-backend: Implement dup_resource_id() method.
Matthew Barnes [Wed, 13 Jun 2012 01:14:32 +0000 (21:14 -0400)]
yahoo-backend: Implement dup_resource_id() method.

12 years agogoogle-backend: Implement dup_resource_id() method.
Matthew Barnes [Wed, 13 Jun 2012 01:06:06 +0000 (21:06 -0400)]
google-backend: Implement dup_resource_id() method.

12 years agocache-reaper: Also monitor the "sources" cache directory.
Matthew Barnes [Tue, 12 Jun 2012 22:01:19 +0000 (18:01 -0400)]
cache-reaper: Also monitor the "sources" cache directory.

The "sources" cache directory now has the same directory structure as
the other cache directories in $XDG_CACHE_HOME/evolution, so the reaper
can clean up cached collection sources after the collection is deleted.

12 years agoECollectionBackend: Restore resources from cached key files.
Matthew Barnes [Tue, 12 Jun 2012 21:50:10 +0000 (17:50 -0400)]
ECollectionBackend: Restore resources from cached key files.

Read all key files in the ECollectionBackend's cache directory during
initialization and create an ESource instance for each for them.  Stash
these ESources in an "unclaimed resources" hash table.  The backend can
claim an ESource by its resource ID (each backend class determines what
a resource ID means exactly), and then add it to the registry server.

All without breaking the public API.  Whoopie!

12 years agoBug #677841 - Workaround for crash in imapx_command_append_message_done()
Milan Crha [Tue, 12 Jun 2012 16:57:21 +0000 (18:57 +0200)]
Bug #677841 - Workaround for crash in imapx_command_append_message_done()

12 years agoUpdated Spanish translation
Daniel Mustieles [Tue, 12 Jun 2012 16:31:10 +0000 (18:31 +0200)]
Updated Spanish translation

12 years agoUpdated Belarusian translation.
Ihar Hrachyshka [Tue, 12 Jun 2012 14:49:02 +0000 (17:49 +0300)]
Updated Belarusian translation.

12 years agoBug 677933 - imapx_utils_init() called too early
Matthew Barnes [Tue, 12 Jun 2012 11:50:05 +0000 (07:50 -0400)]
Bug 677933 - imapx_utils_init() called too early

12 years agoECollectionBackendClass: Add dup_resource_id() method.
Matthew Barnes [Mon, 11 Jun 2012 18:45:53 +0000 (14:45 -0400)]
ECollectionBackendClass: Add dup_resource_id() method.

Returns the resource ID for a given child source.  A resource ID is
usually a unique, server-assigned identifier which is stored in the
child source in some backend-specific extension.  The method allows
ECollectionBackend to extract the ID without knowing exactly how it
is stored.  The method always returns a newly-allocated string.

12 years agoAdd e_collection_backend_get_cache_dir().
Matthew Barnes [Mon, 11 Jun 2012 18:22:02 +0000 (14:22 -0400)]
Add e_collection_backend_get_cache_dir().

Returns the UID-based cache directory for an ECollectionBackend.

This will tie into EServerSideSource's "write-directory" property.

12 years agoEServerSideSource: Add a "write-directory" property.
Matthew Barnes [Mon, 11 Jun 2012 17:26:52 +0000 (13:26 -0400)]
EServerSideSource: Add a "write-directory" property.

Defines the directory where data source changes are to be written,
which may not be the same directory as it was originally read from.

Defaults to the value returned by e_server_side_source_get_user_dir().

This allows an ECollectionBackend to override the default directory to
keep key files for backend-created data sources separate from key files
for user-created data sources.

12 years agoBug #668247 - Broken non-basic-latin folder name handling
Milan Crha [Tue, 12 Jun 2012 09:27:56 +0000 (11:27 +0200)]
Bug #668247 - Broken non-basic-latin folder name handling

12 years agoUpdated POTFILES.in
Piotr Drąg [Mon, 11 Jun 2012 22:40:26 +0000 (00:40 +0200)]
Updated POTFILES.in

12 years agosource-viewer: Add renderers for writable and removable.
Matthew Barnes [Mon, 11 Jun 2012 14:01:07 +0000 (10:01 -0400)]
source-viewer: Add renderers for writable and removable.

12 years agosource-viewer: Refactor the cell renderers.
Matthew Barnes [Mon, 11 Jun 2012 13:40:20 +0000 (09:40 -0400)]
source-viewer: Refactor the cell renderers.

12 years agosource-viewer: Enable internationalization.
Matthew Barnes [Mon, 11 Jun 2012 13:27:15 +0000 (09:27 -0400)]
source-viewer: Enable internationalization.

12 years agoFix typo in the code
Milan Crha [Mon, 11 Jun 2012 06:44:48 +0000 (08:44 +0200)]
Fix typo in the code

12 years agoAdd 'evolution-source-viewer' test tool.
Matthew Barnes [Sun, 10 Jun 2012 10:47:20 +0000 (06:47 -0400)]
Add 'evolution-source-viewer' test tool.

Displays the complete data source hierarchy as a tree view.
Individual data sources can be inspected in a read-only text view.

More enhancements to come, like the ability to delete data sources and
submit data source content changes.

12 years agoimap[x]: Remove shell command option from user interfaces.
Matthew Barnes [Sat, 9 Jun 2012 14:48:34 +0000 (10:48 -0400)]
imap[x]: Remove shell command option from user interfaces.

Do not expose the IMAP shell command option in user interfaces.  I know
of only one user of this feature, and it's far too esoteric and eats up
too much screen real estate for Evolution's account editor.

The option is still supported, but the shell command needs to be set
directly in the account's key file now.  Key files are easier to read
and edit than the old GConf XML blobs so I think this is a reasonable
requirement.

Same goes for "Number of cached connections to use" in IMAPX: most users
won't know what that means, so change it in the key file if you need to.

12 years agolibebook: Include "libebook.h" when introspecting.
Matthew Barnes [Fri, 8 Jun 2012 21:25:32 +0000 (17:25 -0400)]
libebook: Include "libebook.h" when introspecting.

12 years agoESourceRegistry: Add (element-type ESource) annotations.
Matthew Barnes [Fri, 8 Jun 2012 18:04:34 +0000 (14:04 -0400)]
ESourceRegistry: Add (element-type ESource) annotations.

12 years agoldap: Avoid a race during finalize.
Matthew Barnes [Fri, 8 Jun 2012 15:47:53 +0000 (11:47 -0400)]
ldap: Avoid a race during finalize.

Remove the poll timeout before unbinding the LDAP to avoid a race.

12 years agoTweak mail account enabled states during migration.
Matthew Barnes [Fri, 8 Jun 2012 14:59:59 +0000 (10:59 -0400)]
Tweak mail account enabled states during migration.

12 years agoFix include paths for generated D-Bus headers.
Matthew Barnes [Fri, 8 Jun 2012 14:36:37 +0000 (10:36 -0400)]
Fix include paths for generated D-Bus headers.

12 years agoprivate/Makefile.am: Specify path to interface files.
Matthew Barnes [Fri, 8 Jun 2012 14:11:58 +0000 (10:11 -0400)]
private/Makefile.am: Specify path to interface files.

12 years agoBug 677687 - Broken migration of "namespace" IMAP setting
Matthew Barnes [Fri, 8 Jun 2012 12:22:15 +0000 (08:22 -0400)]
Bug 677687 - Broken migration of "namespace" IMAP setting

12 years agoBug #677642 - Critical warnings on vFolder change
Milan Crha [Fri, 8 Jun 2012 12:37:38 +0000 (14:37 +0200)]
Bug #677642 - Critical warnings on vFolder change

12 years agoBug #676541 - Unreliable IMAP provider
Milan Crha [Fri, 8 Jun 2012 11:08:22 +0000 (13:08 +0200)]
Bug #676541 - Unreliable IMAP provider

12 years agoBug 677664 - Camel: Remove "SMTP Authentication" status message
Matthew Barnes [Fri, 8 Jun 2012 01:04:20 +0000 (21:04 -0400)]
Bug 677664 - Camel: Remove "SMTP Authentication" status message

Too jargony.  Just leave it on "Sending message (xx%)".

12 years agoOmit warning flags for generated GDBus code.
Matthew Barnes [Thu, 7 Jun 2012 22:35:29 +0000 (18:35 -0400)]
Omit warning flags for generated GDBus code.

12 years agoSilence warnings when building with GOA < 3.5.
Matthew Barnes [Thu, 7 Jun 2012 22:08:33 +0000 (18:08 -0400)]
Silence warnings when building with GOA < 3.5.

12 years agoBug #677610 - Avoid modification of CPPFLAGS in Makefile.am
Milan Crha [Thu, 7 Jun 2012 12:08:52 +0000 (14:08 +0200)]
Bug #677610 - Avoid modification of CPPFLAGS in Makefile.am

12 years agoBug #677183 - maildir account doesn't open
Milan Crha [Thu, 7 Jun 2012 11:13:49 +0000 (13:13 +0200)]
Bug #677183 - maildir account doesn't open

12 years agoRemove unused code
Milan Crha [Thu, 7 Jun 2012 06:11:25 +0000 (08:11 +0200)]
Remove unused code

12 years agoconfigure.ac: Remove test for "jw".
Matthew Barnes [Wed, 6 Jun 2012 20:18:24 +0000 (16:18 -0400)]
configure.ac: Remove test for "jw".

I don't know what "jw" is (or was), but HAVE_JW is not used anywhere.
It's a useless definition, as far as I can tell.  Remove the test.

12 years agoFix source_registry_prune_nodes() algorithm.
Matthew Barnes [Wed, 6 Jun 2012 18:42:12 +0000 (14:42 -0400)]
Fix source_registry_prune_nodes() algorithm.

Exclude any disabled ESource and its descendants even if some of its
descendants are enabled.  We were also leaking ESource references in
this scenario; use e_source_registry_free_display_tree() to free the
whole subtree rooted at the disabled ESource.

12 years agoESourceRefresh: Handle "notify" signals from an idle callback.
Matthew Barnes [Wed, 6 Jun 2012 17:15:08 +0000 (13:15 -0400)]
ESourceRefresh: Handle "notify" signals from an idle callback.

ESourceRefresh runs e_source_refresh_force_timeout() in response to its
ESource becoming enabled.  The problem is "GObject::notify" signals can
be emitted from any thread.

Schedule an idle callback on the ESource's GMainContext to call
e_source_refresh_force_timeout(), rather than calling it directly from
the "GObject::notify" signal handler.

12 years agoEAuthenticationMediator: Resolve some thread-safety issues.
Matthew Barnes [Wed, 6 Jun 2012 15:46:57 +0000 (11:46 -0400)]
EAuthenticationMediator: Resolve some thread-safety issues.

The D-Bus method handlers in EAuthenticationMediator run in separate
threads because we set possibly the longest enum value ever:

G_DBUS_INTERFACE_SKELETON_FLAGS_HANDLE_METHOD_INVOCATIONS_IN_THREAD

Connect to the signals with g_signal_connect_object() so the handlers
will not be dispatched after the mediator is finalized (hopefully...
still not sure if it's 100% thread-safe).

12 years agoAvoid possible GError memory leak
Milan Crha [Wed, 6 Jun 2012 09:16:21 +0000 (11:16 +0200)]
Avoid possible GError memory leak

12 years agoAvoid loading Camel modules during introspection.
Matthew Barnes [Tue, 5 Jun 2012 18:16:10 +0000 (14:16 -0400)]
Avoid loading Camel modules during introspection.

12 years agolibedataserver: Add libcamel to introspection flags.
Matthew Barnes [Tue, 5 Jun 2012 17:23:20 +0000 (13:23 -0400)]
libedataserver: Add libcamel to introspection flags.

12 years agoUpdated Galician translations
Fran Diéguez [Mon, 4 Jun 2012 23:43:09 +0000 (01:43 +0200)]
Updated Galician translations

12 years agoFix some distcheck errors.
Matthew Barnes [Mon, 4 Jun 2012 22:21:11 +0000 (18:21 -0400)]
Fix some distcheck errors.

Some, not all.  E-D-S tests are still borked.

12 years agoAdd --with-private-docs to DISTCHECK_CONFIGURE_FLAGS.
Matthew Barnes [Mon, 4 Jun 2012 19:16:51 +0000 (15:16 -0400)]
Add --with-private-docs to DISTCHECK_CONFIGURE_FLAGS.

12 years agoRemove --without-weather from DISTCHECK_CONFIGURE_FLAGS.
Matthew Barnes [Mon, 4 Jun 2012 19:16:24 +0000 (15:16 -0400)]
Remove --without-weather from DISTCHECK_CONFIGURE_FLAGS.

12 years agoBug #673817 - Crash in e_book_backend_file_dispose()
Milan Crha [Mon, 4 Jun 2012 12:09:19 +0000 (14:09 +0200)]
Bug #673817 - Crash in e_book_backend_file_dispose()

12 years agoUpdated Spanish translation
Daniel Mustieles [Mon, 4 Jun 2012 11:03:51 +0000 (13:03 +0200)]
Updated Spanish translation

12 years agoUpdated Russian translation
Yuri Kozlov [Mon, 4 Jun 2012 10:25:08 +0000 (14:25 +0400)]
Updated Russian translation

12 years agoUpdated Spanish translation
Daniel Mustieles [Mon, 4 Jun 2012 09:40:06 +0000 (11:40 +0200)]
Updated Spanish translation

12 years agoFix build (typo in e-source-weather.c)
Dan Vrátil [Mon, 4 Jun 2012 09:07:12 +0000 (11:07 +0200)]
Fix build (typo in e-source-weather.c)

12 years agoCamel: Avoid C++ keywords in header files.
Matthew Barnes [Mon, 4 Jun 2012 02:25:07 +0000 (22:25 -0400)]
Camel: Avoid C++ keywords in header files.

12 years agoBump Camel's soname for the function removals.
Matthew Barnes [Mon, 4 Jun 2012 00:41:57 +0000 (20:41 -0400)]
Bump Camel's soname for the function removals.

12 years agoRemove camel_settings_save_to_url().
Matthew Barnes [Mon, 4 Jun 2012 00:40:29 +0000 (20:40 -0400)]
Remove camel_settings_save_to_url().

Camel settings are no longer stored as a URL string in Evolution.
This function was always meant to be temporary.  Its time has come.

12 years agoRemove camel_settings_load_from_url().
Matthew Barnes [Mon, 4 Jun 2012 00:37:34 +0000 (20:37 -0400)]
Remove camel_settings_load_from_url().

Camel settings are no longer stored as a URL string in Evolution.
This function was always meant to be temporary.  Its time has come.

12 years agoFix a build break when introspecting libecal.
Matthew Barnes [Mon, 4 Jun 2012 00:37:17 +0000 (20:37 -0400)]
Fix a build break when introspecting libecal.

12 years agoImplement single-file includes for all E-D-S libraries.
Matthew Barnes [Sun, 3 Jun 2012 13:50:10 +0000 (09:50 -0400)]
Implement single-file includes for all E-D-S libraries.

The top-level headers are named after the library:

    #include <libebackend/libebackend.h>
    #include <libebook/libebook.h>
    #include <libecal/libecal.h>
    #include <libedata-book/libedata-book.h>
    #include <libedata-cal/libedata-cal.h>
    #include <libedataserver/libedataserver.h>
    #include <libedataserverui/libedataserverui.h>

Including individual headers will cause a compilation error.

12 years agoUpdate po/POTFILES.in.
Matthew Barnes [Wed, 7 Mar 2012 16:59:38 +0000 (11:59 -0500)]
Update po/POTFILES.in.

12 years agoBump all shared library and D-Bus API versions.
Matthew Barnes [Sat, 2 Jun 2012 16:42:54 +0000 (12:42 -0400)]
Bump all shared library and D-Bus API versions.

Everything but Camel broke API.

12 years agoAdd 'cache-reaper' module.
Matthew Barnes [Fri, 6 Apr 2012 19:21:37 +0000 (15:21 -0400)]
Add 'cache-reaper' module.

12 years agoAdd 'yahoo-backend' module.
Matthew Barnes [Fri, 6 Apr 2012 16:41:57 +0000 (12:41 -0400)]
Add 'yahoo-backend' module.

12 years agoAdd 'google-backend' module.
Matthew Barnes [Thu, 5 Apr 2012 04:22:02 +0000 (00:22 -0400)]
Add 'google-backend' module.

12 years agoAdd 'online-accounts' module.
Matthew Barnes [Sun, 1 Apr 2012 19:02:27 +0000 (15:02 -0400)]
Add 'online-accounts' module.

This replaces the 'online-accounts' module in Evolution.

12 years agoAdapt libedataserverui tests to the new ESource API.
Matthew Barnes [Wed, 17 Aug 2011 18:51:38 +0000 (14:51 -0400)]
Adapt libedataserverui tests to the new ESource API.

12 years agoAdapt e-client-utils.c to the new ESource API.
Matthew Barnes [Thu, 26 May 2011 01:17:41 +0000 (21:17 -0400)]
Adapt e-client-utils.c to the new ESource API.

12 years agoAdd unit tests for ESource.
Matthew Barnes [Fri, 18 Mar 2011 01:26:44 +0000 (21:26 -0400)]
Add unit tests for ESource.

12 years agoAdapt ESourceSelectorDialog to the new ESource API.
Matthew Barnes [Sun, 5 Dec 2010 20:43:50 +0000 (14:43 -0600)]
Adapt ESourceSelectorDialog to the new ESource API.

12 years agoAdapt ESourceSelector to the new ESource API.
Matthew Barnes [Sat, 4 Dec 2010 22:59:53 +0000 (16:59 -0600)]
Adapt ESourceSelector to the new ESource API.

12 years agoAdapt ESourceComboBox to the new ESource API.
Matthew Barnes [Wed, 1 Dec 2010 02:24:09 +0000 (20:24 -0600)]
Adapt ESourceComboBox to the new ESource API.

12 years agoAdapt ENameSelectorList to the new ESource API.
Matthew Barnes [Sat, 24 Dec 2011 01:34:06 +0000 (20:34 -0500)]
Adapt ENameSelectorList to the new ESource API.

12 years agoAdapt ENameSelectorEntry to the new ESource API.
Matthew Barnes [Wed, 1 Dec 2010 02:25:58 +0000 (20:25 -0600)]
Adapt ENameSelectorEntry to the new ESource API.

12 years agoAdapt ENameSelector to the new ESource API.
Matthew Barnes [Wed, 24 Nov 2010 15:09:58 +0000 (10:09 -0500)]
Adapt ENameSelector to the new ESource API.

12 years agoAdapt e-book-auth-util.c to the new ESource API.
Matthew Barnes [Wed, 24 Nov 2010 14:57:29 +0000 (09:57 -0500)]
Adapt e-book-auth-util.c to the new ESource API.

12 years agoDeprecate e-passwords.[ch].
Matthew Barnes [Tue, 10 Apr 2012 12:54:49 +0000 (08:54 -0400)]
Deprecate e-passwords.[ch].

12 years agoAdd an ESource extension for the weather backend.
Matthew Barnes [Tue, 23 Nov 2010 22:39:27 +0000 (17:39 -0500)]
Add an ESource extension for the weather backend.

12 years agoAdd an ESource extension for the contacts backend.
Matthew Barnes [Tue, 23 Nov 2010 13:35:40 +0000 (08:35 -0500)]
Add an ESource extension for the contacts backend.

12 years agoAdd an ESource extension for the file (cal) backend.
Matthew Barnes [Sat, 20 Nov 2010 14:27:05 +0000 (09:27 -0500)]
Add an ESource extension for the file (cal) backend.

12 years agoAdd an ESource extension for the ldap backend.
Matthew Barnes [Fri, 19 Nov 2010 23:22:54 +0000 (18:22 -0500)]
Add an ESource extension for the ldap backend.

12 years agoAdd an ESource extension for the vcf backend.
Matthew Barnes [Thu, 18 Nov 2010 23:53:48 +0000 (18:53 -0500)]
Add an ESource extension for the vcf backend.

12 years agoAdapt calendar backends to the new ESource API.
Matthew Barnes [Tue, 23 Nov 2010 04:04:56 +0000 (23:04 -0500)]
Adapt calendar backends to the new ESource API.

12 years agoAdapt libedata-cal to the new ESource API.
Matthew Barnes [Sat, 13 Nov 2010 20:02:02 +0000 (15:02 -0500)]
Adapt libedata-cal to the new ESource API.

12 years agoAdapt libecal to the new ESource API.
Matthew Barnes [Sat, 13 Nov 2010 15:00:02 +0000 (10:00 -0500)]
Adapt libecal to the new ESource API.

12 years agoAdapt calendar/libegdbus to the new ESource API.
Matthew Barnes [Mon, 10 Oct 2011 18:58:23 +0000 (14:58 -0400)]
Adapt calendar/libegdbus to the new ESource API.

12 years agoAdapt address book backends to the new ESource API.
Matthew Barnes [Fri, 12 Nov 2010 22:46:14 +0000 (17:46 -0500)]
Adapt address book backends to the new ESource API.

12 years agoAdapt libedata-book to the new ESource API.
Matthew Barnes [Fri, 12 Nov 2010 21:48:26 +0000 (16:48 -0500)]
Adapt libedata-book to the new ESource API.

12 years agoAdapt libebook to the new ESource API.
Matthew Barnes [Fri, 12 Nov 2010 20:46:18 +0000 (15:46 -0500)]
Adapt libebook to the new ESource API.

12 years agoAdapt addressbook/libegdbus to the new ESource API.
Matthew Barnes [Mon, 10 Oct 2011 19:14:02 +0000 (15:14 -0400)]
Adapt addressbook/libegdbus to the new ESource API.

12 years agoAdapt libebackend to the new ESource API.
Matthew Barnes [Mon, 12 Sep 2011 18:12:15 +0000 (14:12 -0400)]
Adapt libebackend to the new ESource API.

12 years agoAdapt EClient to the new ESource API.
Matthew Barnes [Wed, 25 May 2011 18:18:31 +0000 (14:18 -0400)]
Adapt EClient to the new ESource API.

12 years agoAdd built-in ESource key files.
Matthew Barnes [Sat, 27 Nov 2010 15:25:32 +0000 (10:25 -0500)]
Add built-in ESource key files.

12 years agoAdd GSettings schemas for default sources.
Matthew Barnes [Fri, 12 Nov 2010 19:46:25 +0000 (14:46 -0500)]
Add GSettings schemas for default sources.

Schema: org.gnome.Evolution.DefaultSources

12 years agoAdd new ESource classes.
Matthew Barnes [Fri, 12 Nov 2010 15:19:34 +0000 (10:19 -0500)]
Add new ESource classes.

ESource
ESourceExtension
ESourceRegistry

12 years agoAdd a new "evolution-source-registry" D-Bus service.
Matthew Barnes [Thu, 29 Sep 2011 20:08:20 +0000 (16:08 -0400)]
Add a new "evolution-source-registry" D-Bus service.

This new service manages data source key files and serves them to
clients, through the ESource and ESourceRegistry client-side APIs.

12 years agoGenerate GDBus classes for a new D-Bus service.
Matthew Barnes [Thu, 29 Sep 2011 20:06:05 +0000 (16:06 -0400)]
Generate GDBus classes for a new D-Bus service.

12 years agoRequire gcr-base-3 for secure password exchange over D-Bus.
Matthew Barnes [Fri, 18 Nov 2011 22:31:12 +0000 (17:31 -0500)]
Require gcr-base-3 for secure password exchange over D-Bus.

12 years agoDeprecate EList, EIterator, EListIterator.
Matthew Barnes [Thu, 12 Apr 2012 03:28:30 +0000 (23:28 -0400)]
Deprecate EList, EIterator, EListIterator.

12 years agoRemove EAccount and EAccountList. Breaks build.
Matthew Barnes [Mon, 28 Mar 2011 15:55:23 +0000 (11:55 -0400)]
Remove EAccount and EAccountList.  Breaks build.

12 years agoRemove ESourceGroup. Breaks build.
Matthew Barnes [Fri, 12 Nov 2010 15:09:20 +0000 (10:09 -0500)]
Remove ESourceGroup.  Breaks build.