Matthew Barnes [Fri, 22 Jun 2012 21:00:29 +0000 (17:00 -0400)]
Bug 678067 - Localized display names get stuck
Matthew Barnes [Fri, 22 Jun 2012 20:10:06 +0000 (16:10 -0400)]
ESource: Minor code cleanup.
Matthew Barnes [Fri, 22 Jun 2012 13:43:30 +0000 (09:43 -0400)]
camel-provider.h: Fix a typo.
Matthew Barnes [Fri, 22 Jun 2012 13:25:24 +0000 (09:25 -0400)]
CAMEL_PROVIDER_IS_STORE_AND_TRANSPORT: Handle NULL gracefully.
Evaluates to FALSE if the 'provider' pointer is NULL.
Matthew Barnes [Fri, 22 Jun 2012 12:49:48 +0000 (08:49 -0400)]
ESourceContacts: Only include local address books by default.
A more reasonable default than including all address books by default.
Weeds out large, remote address books that can take forever to query.
Matthew Barnes [Fri, 22 Jun 2012 12:19:58 +0000 (08:19 -0400)]
Bug 678618 - Runtime warning when clicking on top-level sidebar item
Matthew Barnes [Thu, 21 Jun 2012 17:21:56 +0000 (13:21 -0400)]
source_idle_changed_cb: Avoid a runtime warning.
Apparently it's possible for the 'changed' GSource to already be NULL
when we go to unref it in source_idle_changed_cb(). Not sure how that's
happening... possibly racing with dispose()? In any case just check for
NULL first.
Matthew Barnes [Thu, 21 Jun 2012 12:54:29 +0000 (08:54 -0400)]
EServerSideSource: Don't write changes to disk until exported.
If a collection backend is configuring an EServerSideSource from a
worker thread, avoid writing changes to disk prematurely.
Explicitly calling e_source_write_sync() still works as advertised
whether the source is exported or not.
Matthew Barnes [Thu, 21 Jun 2012 12:40:54 +0000 (08:40 -0400)]
EServerSideSource: Add an "exported" property.
Read-only boolean property indicates whether the source has been
exported over D-Bus. Basically just queries the registry server
for itself.
Daniel Mustieles [Thu, 21 Jun 2012 10:29:30 +0000 (12:29 +0200)]
Updated Spanish translation
Matthew Barnes [Wed, 20 Jun 2012 19:43:02 +0000 (15:43 -0400)]
Fix build failures when $(top_srcdir) != $(top_builddir).
Really need to get distcheck working again...
Nilamdyuti Goswami [Wed, 20 Jun 2012 16:05:27 +0000 (21:35 +0530)]
Assamese translation reviewed
Milan Crha [Wed, 20 Jun 2012 08:16:25 +0000 (10:16 +0200)]
ESource: Read/Write int64/uint64
Matthew Barnes [Tue, 19 Jun 2012 21:14:05 +0000 (17:14 -0400)]
Improve imapx_command_fetch_message_done().
Using a corrupted database table as an opportunity to improve code
readability and error handling.
Matthew Barnes [Tue, 19 Jun 2012 21:03:07 +0000 (17:03 -0400)]
camel_data_cache_get: Improve empty file handling.
When an empty cache file is detected, set a GError with a descriptive
error message in addition to returning NULL.
Matthew Barnes [Tue, 19 Jun 2012 19:17:04 +0000 (15:17 -0400)]
e_book_backend_file_open: Fix directory existence test.
In e_book_backend_file_open() we seem to be bailing out if the data
directory does not exist, but yet we don't create the directory until
further down.
Not sure if this is correct, but it seems to me we only want to check
for the data directory if 'only_if_exists == TRUE'.
Matthew Barnes [Tue, 19 Jun 2012 18:36:46 +0000 (14:36 -0400)]
EDataBookFactory: Improve error message for GOA connection failure.
Fallout from a debugging session.
The printed error message was simply
libedata-book-WARNING **: The given address is empty
which was not very helpful in tracking down the source.
Matthew Barnes [Tue, 19 Jun 2012 15:44:13 +0000 (11:44 -0400)]
camel_data_cache_get_filename: Remove unused GError parameter.
Don't want this parameter to result in unnecessary error handling.
Matthew Barnes [Tue, 19 Jun 2012 14:44:31 +0000 (10:44 -0400)]
imapx_command_fetch_message_done: Fix an error handling issue.
Matthew Barnes [Tue, 19 Jun 2012 12:40:46 +0000 (08:40 -0400)]
Bug 678378 - ESourceRegistry causes deadlock in gnome-shell
Avoid scheduling idle callbacks while populating the registry for the
first time during initialization, and therefore having to iterate the
main context to force those idle callbacks to be dispatched.
Instead call source_registry_add_source() directly, just during the
initial population. This will emit "source-added" signals from the
object manager thread, but no one will be listening.
Matthew Barnes [Tue, 19 Jun 2012 12:22:58 +0000 (08:22 -0400)]
ESourceRegistry: Split ESource creation into a standalone function.
Split ESource creation out of the "object-added" signal handler to
a standalone function -- source_registry_new_source() -- which the
signal handler now calls.
Matthew Barnes [Tue, 19 Jun 2012 11:33:40 +0000 (07:33 -0400)]
ESourceRegistry: Use g_main_context_ref_thread_default().
Slightly more convenient than g_main_context_get_thread_default(), which
requires checking for NULL before referencing the main context ourselves.
Sasi Bhushan Boddepalli [Tue, 19 Jun 2012 11:35:23 +0000 (17:05 +0530)]
Updated Telugu Translation
Matthew Barnes [Tue, 19 Jun 2012 02:07:20 +0000 (22:07 -0400)]
Deprecate EUri.
Help end the proliferation of redundant URI-parsing APIs. We avoid URIs
whenever possible now. When it can't be avoided, SoupURI is sufficient.
Matthew Barnes [Mon, 18 Jun 2012 20:01:27 +0000 (16:01 -0400)]
imapx_store_noop_sync: Don't return FALSE without setting a GError.
Philip Withnall [Mon, 18 Jun 2012 17:10:46 +0000 (18:10 +0100)]
edataserver: Remove libsoup from the introspection includes
Soup-2.4 doesnt’t get along with Vala at the moment, and is breaking the
folks build. The include can be re-added once libsoup is fixed.
This partially reverts
874cfbd0c6dbb130489c27e9b50e51d8da6da398.
Philip Withnall [Mon, 18 Jun 2012 16:24:22 +0000 (17:24 +0100)]
ecal: GIR annotation fixes
Various documentation comment fixes and annotation additions. Various APIs
have been marked as (skip) because they previously weren’t introspectable and
have been deprecated, so there’s little point making them introspectable and
cluttering the GIR file with them.
Philip Withnall [Mon, 18 Jun 2012 15:19:35 +0000 (16:19 +0100)]
ebook: GIR annotation fixes
Various documentation comment fixes and annotation additions.
Milan Crha [Mon, 18 Jun 2012 15:51:12 +0000 (17:51 +0200)]
Do not call g_object_notify() when property didn't change
Philip Withnall [Mon, 18 Jun 2012 15:12:36 +0000 (16:12 +0100)]
edataserver: GIR annotation fixes
Various documentation comment fixes, annotation additions, and the addition
of libsoup as a GIR include since it appears in some proxy API.
Philip Withnall [Mon, 18 Jun 2012 15:11:54 +0000 (16:11 +0100)]
build: Enable g-ir-scanner’s --warn-all option when building GIR files
This should make missing annotations and documentation comment problems
more obvious.
Philip Withnall [Mon, 18 Jun 2012 11:21:32 +0000 (12:21 +0100)]
edataserver: Add missing annotation to e_source_get_extension()
This is needed for folks.
See: https://bugzilla.gnome.org/show_bug.cgi?id=678309
Matthew Barnes [Mon, 18 Jun 2012 03:22:38 +0000 (23:22 -0400)]
Tighten up pkg-config files.
Remove redundancies. In particular, libedataserver-1.2 requires gio-1.2
so drop the explicit gio-1.2 requirement from all other libe* libraries.
Philip Withnall [Sat, 16 Jun 2012 10:45:56 +0000 (11:45 +0100)]
google: Make ‘rel’ and ‘label’ mutually exclusive for certain elements
Google lovingly decided to add an extra restriction on use of ‘rel’ and
‘label’ properties of elements in their Google Contacts API[1], meaning that
we need to prefer vCard X-GOOGLE-LABEL values over TYPE values and ignore
the TYPE values. If we don’t, the server will reject contact entries.
Closes: https://bugzilla.gnome.org/show_bug.cgi?id=675712
[1]: https://developers.google.com/google-apps/contacts/v3/reference#extraRestrictionsOnSomeElements
Philip Withnall [Sat, 16 Jun 2012 10:34:41 +0000 (11:34 +0100)]
google: Add some tests to Google address book backend
This is necessary to try and prevent regressions on the tangle of GData–vCard
conversion code which the backend is built around.
These few tests check the behaviour of phone numbers.
Helps: https://bugzilla.gnome.org/show_bug.cgi?id=675712.
Philip Withnall [Sat, 19 May 2012 22:45:27 +0000 (23:45 +0100)]
google: Split conversion functions from Google backend into a util lib
This is step 1 of the plan to add unit tests for the Google backend. This
is necessary to try and prevent regressions on the tangle of GData–vCard
conversion code which the backend is built around.
This was prompted by https://bugzilla.gnome.org/show_bug.cgi?id=675712.
Jordi Mallach [Sun, 17 Jun 2012 16:53:18 +0000 (18:53 +0200)]
Bug #678255 - edata-cal missing libebackend-1.2 requirement.
Matthew Barnes [Sun, 17 Jun 2012 14:37:30 +0000 (10:37 -0400)]
Remove -Werror from AM_INIT_AUTOMAKE.
Can't guarantee external software packages will not cause warnings.
Milan Crha [Fri, 15 Jun 2012 13:24:05 +0000 (15:24 +0200)]
Bug #678069 - Crash in _gdata_entry_update_from_e_contact()
Milan Crha [Thu, 14 Jun 2012 15:19:11 +0000 (17:19 +0200)]
Remove forgotten DBUS_GLIB_CFLAGS/LIBS, these are gone now
Nilamdyuti Goswami [Thu, 14 Jun 2012 14:35:38 +0000 (20:05 +0530)]
Assamese translation reviewed
Daniel Mustieles [Thu, 14 Jun 2012 11:48:12 +0000 (13:48 +0200)]
Updated Spanish translation
Milan Crha [Thu, 14 Jun 2012 09:00:51 +0000 (11:00 +0200)]
Remove forgotten debug function call
Milan Crha [Thu, 14 Jun 2012 08:40:10 +0000 (10:40 +0200)]
Port remaining bits from GConf to GSettings
Fran Diéguez [Wed, 13 Jun 2012 23:05:32 +0000 (01:05 +0200)]
Updated Galician translations
Milan Crha [Wed, 13 Jun 2012 10:16:16 +0000 (12:16 +0200)]
Disable cfs_try_release_memory() in dispose, rather than finalize
Milan Crha [Wed, 13 Jun 2012 08:51:44 +0000 (10:51 +0200)]
g_cancellable_reset() doesn't like NULL cancellable
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.
Matthew Barnes [Wed, 13 Jun 2012 01:14:32 +0000 (21:14 -0400)]
yahoo-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.
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.
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!
Milan Crha [Tue, 12 Jun 2012 16:57:21 +0000 (18:57 +0200)]
Bug #677841 - Workaround for crash in imapx_command_append_message_done()
Daniel Mustieles [Tue, 12 Jun 2012 16:31:10 +0000 (18:31 +0200)]
Updated Spanish translation
Ihar Hrachyshka [Tue, 12 Jun 2012 14:49:02 +0000 (17:49 +0300)]
Updated Belarusian translation.
Matthew Barnes [Tue, 12 Jun 2012 11:50:05 +0000 (07:50 -0400)]
Bug 677933 - imapx_utils_init() called too early
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.
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.
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.
Milan Crha [Tue, 12 Jun 2012 09:27:56 +0000 (11:27 +0200)]
Bug #668247 - Broken non-basic-latin folder name handling
Piotr Drąg [Mon, 11 Jun 2012 22:40:26 +0000 (00:40 +0200)]
Updated POTFILES.in
Matthew Barnes [Mon, 11 Jun 2012 14:01:07 +0000 (10:01 -0400)]
source-viewer: Add renderers for writable and removable.
Matthew Barnes [Mon, 11 Jun 2012 13:40:20 +0000 (09:40 -0400)]
source-viewer: Refactor the cell renderers.
Matthew Barnes [Mon, 11 Jun 2012 13:27:15 +0000 (09:27 -0400)]
source-viewer: Enable internationalization.
Milan Crha [Mon, 11 Jun 2012 06:44:48 +0000 (08:44 +0200)]
Fix typo in the code
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.
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.
Matthew Barnes [Fri, 8 Jun 2012 21:25:32 +0000 (17:25 -0400)]
libebook: Include "libebook.h" when introspecting.
Matthew Barnes [Fri, 8 Jun 2012 18:04:34 +0000 (14:04 -0400)]
ESourceRegistry: Add (element-type ESource) annotations.
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.
Matthew Barnes [Fri, 8 Jun 2012 14:59:59 +0000 (10:59 -0400)]
Tweak mail account enabled states during migration.
Matthew Barnes [Fri, 8 Jun 2012 14:36:37 +0000 (10:36 -0400)]
Fix include paths for generated D-Bus headers.
Matthew Barnes [Fri, 8 Jun 2012 14:11:58 +0000 (10:11 -0400)]
private/Makefile.am: Specify path to interface files.
Matthew Barnes [Fri, 8 Jun 2012 12:22:15 +0000 (08:22 -0400)]
Bug 677687 - Broken migration of "namespace" IMAP setting
Milan Crha [Fri, 8 Jun 2012 12:37:38 +0000 (14:37 +0200)]
Bug #677642 - Critical warnings on vFolder change
Milan Crha [Fri, 8 Jun 2012 11:08:22 +0000 (13:08 +0200)]
Bug #676541 - Unreliable IMAP provider
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%)".
Matthew Barnes [Thu, 7 Jun 2012 22:35:29 +0000 (18:35 -0400)]
Omit warning flags for generated GDBus code.
Matthew Barnes [Thu, 7 Jun 2012 22:08:33 +0000 (18:08 -0400)]
Silence warnings when building with GOA < 3.5.
Milan Crha [Thu, 7 Jun 2012 12:08:52 +0000 (14:08 +0200)]
Bug #677610 - Avoid modification of CPPFLAGS in Makefile.am
Milan Crha [Thu, 7 Jun 2012 11:13:49 +0000 (13:13 +0200)]
Bug #677183 - maildir account doesn't open
Milan Crha [Thu, 7 Jun 2012 06:11:25 +0000 (08:11 +0200)]
Remove unused code
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.
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.
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.
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).
Milan Crha [Wed, 6 Jun 2012 09:16:21 +0000 (11:16 +0200)]
Avoid possible GError memory leak
Matthew Barnes [Tue, 5 Jun 2012 18:16:10 +0000 (14:16 -0400)]
Avoid loading Camel modules during introspection.
Matthew Barnes [Tue, 5 Jun 2012 17:23:20 +0000 (13:23 -0400)]
libedataserver: Add libcamel to introspection flags.
Fran Diéguez [Mon, 4 Jun 2012 23:43:09 +0000 (01:43 +0200)]
Updated Galician translations
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.
Matthew Barnes [Mon, 4 Jun 2012 19:16:51 +0000 (15:16 -0400)]
Add --with-private-docs to DISTCHECK_CONFIGURE_FLAGS.
Matthew Barnes [Mon, 4 Jun 2012 19:16:24 +0000 (15:16 -0400)]
Remove --without-weather from DISTCHECK_CONFIGURE_FLAGS.
Milan Crha [Mon, 4 Jun 2012 12:09:19 +0000 (14:09 +0200)]
Bug #673817 - Crash in e_book_backend_file_dispose()
Daniel Mustieles [Mon, 4 Jun 2012 11:03:51 +0000 (13:03 +0200)]
Updated Spanish translation
Yuri Kozlov [Mon, 4 Jun 2012 10:25:08 +0000 (14:25 +0400)]
Updated Russian translation
Daniel Mustieles [Mon, 4 Jun 2012 09:40:06 +0000 (11:40 +0200)]
Updated Spanish translation
Dan Vrátil [Mon, 4 Jun 2012 09:07:12 +0000 (11:07 +0200)]
Fix build (typo in e-source-weather.c)
Matthew Barnes [Mon, 4 Jun 2012 02:25:07 +0000 (22:25 -0400)]
Camel: Avoid C++ keywords in header files.
Matthew Barnes [Mon, 4 Jun 2012 00:41:57 +0000 (20:41 -0400)]
Bump Camel's soname for the function removals.