Philip Withnall [Thu, 27 Oct 2011 13:02:20 +0000 (14:02 +0100)]
Bug 661033 — Add support for E_CONTACT_FILE_AS field
Add support for E_CONTACT_FILE_AS to the Google Contacts address book backend
if libgdata ≥ 0.11.0 is available. This doesn't bump EDS’ required libgdata
version.
Closes: bgo#661033
Matthew Barnes [Mon, 14 Nov 2011 21:15:34 +0000 (16:15 -0500)]
Update API docs.
Tristan Van Berkom [Fri, 22 Jul 2011 23:59:12 +0000 (19:59 -0400)]
Added test case to test the new backend revision property
Added a tests/libebook/client/test-client-get-revision.c to test
that the local backend supports revisions and the revisions indeed
change after modifying the addressbook in any way.
Tristan Van Berkom [Fri, 11 Nov 2011 02:24:34 +0000 (21:24 -0500)]
Bug #652175 - Add revision property to addressbook backend
This patch adds the "revision" property definition in e-book-client.h,
e-book-backend.h and e-client.h as well as an implementation of the
revision property in the local file backend.
Fran Diéguez [Sun, 13 Nov 2011 17:57:42 +0000 (18:57 +0100)]
Updated Galician translations
Matthew Barnes [Sun, 13 Nov 2011 05:36:46 +0000 (00:36 -0500)]
Remove camel_folder_summary_decode_token().
No longer needed.
Matthew Barnes [Sun, 13 Nov 2011 05:29:12 +0000 (00:29 -0500)]
Remove camel_folder_summary_encode_token().
No longer needed.
Matthew Barnes [Sun, 13 Nov 2011 04:01:33 +0000 (23:01 -0500)]
Remove camel_folder_summary_set_filename().
No longer needed.
Matthew Barnes [Sun, 13 Nov 2011 03:46:16 +0000 (22:46 -0500)]
Remove CamelFolderSummaryClass.summary_header_save().
No longer needed.
Matthew Barnes [Sun, 13 Nov 2011 03:41:56 +0000 (22:41 -0500)]
Remove CamelFolderSummaryClass.summary_header_load().
No longer needed.
Matthew Barnes [Sun, 13 Nov 2011 03:31:09 +0000 (22:31 -0500)]
Remove CamelFolderSummaryClass.content_info_migrate().
No longer needed.
Matthew Barnes [Sun, 13 Nov 2011 03:27:55 +0000 (22:27 -0500)]
Remove CamelFolderSummaryClass.message_info_migrate().
No longer needed.
Matthew Barnes [Sun, 13 Nov 2011 03:22:17 +0000 (22:22 -0500)]
Remove camel_folder_summary_migrate_infos().
No longer needed.
Matthew Barnes [Sun, 13 Nov 2011 03:14:46 +0000 (22:14 -0500)]
Remove camel_db_migrate_vfolders_to_14().
No longer needed.
Kjartan Maraas [Sat, 12 Nov 2011 11:03:14 +0000 (12:03 +0100)]
Updated Norwegian bokmål translation
Christophe Dumez [Wed, 5 Oct 2011 10:48:50 +0000 (13:48 +0300)]
Bug 660974 - sqlite backend: use INSERT OR IGNORE in add_folder_into_db()
Use "INSERT OR IGNORE" SQL request instead of having two steps
(existence check + insert). This simplifies the code and is
probably more efficient.
Daniel Mustieles [Fri, 11 Nov 2011 17:16:42 +0000 (18:16 +0100)]
Updated Spanish translation
Milan Crha [Fri, 11 Nov 2011 14:42:39 +0000 (15:42 +0100)]
Bug #660972 - Unable to publish free/busy information
Milan Crha [Fri, 11 Nov 2011 11:03:57 +0000 (12:03 +0100)]
Bug #660646 - »IDLE« should not be translated in settings dialog
Milan Crha [Fri, 11 Nov 2011 09:30:09 +0000 (10:30 +0100)]
Bug #662473 - Moving mails between local folders removes labels
Milan Crha [Thu, 10 Nov 2011 16:31:23 +0000 (17:31 +0100)]
Bug #659736 - Do not report change on property set when not changed
Milan Crha [Wed, 9 Nov 2011 14:24:29 +0000 (15:24 +0100)]
Bug #662929 - POP3 prevents expunge of local Inbox in offline
Chenthill Palanisamy [Wed, 9 Nov 2011 07:45:23 +0000 (13:15 +0530)]
Bug 663219 Crash in imapx_completion at camel-imapx-server.c:2037
Tristan Van Berkom [Sat, 25 Jun 2011 01:50:14 +0000 (21:50 -0400)]
Added test-client-suppress-notifications.c test
Added a test that asserts e_book_client_view_set_flags() apis are
working and that the backend bahaves properly when the default
E_BOOK_CLIENT_VIEW_NOTIFY_INITIAL flag is unset.
Tristan Van Berkom [Fri, 24 Jun 2011 22:25:24 +0000 (18:25 -0400)]
Bug #652171 Added e_book_client_view_set_flags()
This commit adds a EBookClientViewFlags to EBookClientView with
an initial flag value E_BOOK_CLIENT_VIEW_FLAGS_NOTIFY_INITIAL
to control whether the initial contact notifications are sent.
The default is to send notifications, if the flag is unset then
only future notifications are issued.
Matthew Barnes [Mon, 7 Nov 2011 15:58:33 +0000 (10:58 -0500)]
Kill gtk-doc tmpl files.
Bump our gtk-doc requirement to 1.14 and use --flavour no-tmpl.
Milan Crha [Mon, 7 Nov 2011 09:23:07 +0000 (10:23 +0100)]
Introduce e_gdbus_templates_init_main_thread()
This is required to properly distinguish between EGDbusTemplates'
sync calls from the main thread and from a dedicated thread, because
the check with g_main_context_is_owner (g_main_context_default ())
doesn't work when there is no main loop running. The call to
e_gdbus_templates_init_main_thread() is good to do, but it is not
mandatory.
Matthew Barnes [Sat, 5 Nov 2011 05:00:46 +0000 (01:00 -0400)]
Add camel_operation_cancel_all().
Replaces camel_operation_cancel(NULL).
For non-NULL cases, use g_cancellable_cancel() instead.
Matthew Barnes [Sat, 5 Nov 2011 04:42:35 +0000 (00:42 -0400)]
Remove camel_operation_uncancel().
Use g_cancellable_reset() instead.
Matthew Barnes [Sat, 5 Nov 2011 04:36:17 +0000 (00:36 -0400)]
Remove camel_operation_cancel_check().
Use g_cancellable_is_cancelled() instead.
Matthew Barnes [Sat, 5 Nov 2011 04:22:33 +0000 (00:22 -0400)]
Remove camel_operation_cancel_fd().
Use g_cancellable_get_fd() instead.
Matthew Barnes [Fri, 4 Nov 2011 22:49:11 +0000 (18:49 -0400)]
Remove camel_operation_cancel_prfd().
No longer needed by anything. Also allowed me to remove all the
CamelMsgPort muck in CamelOperation, which simplifies things nicely.
Matthew Barnes [Fri, 4 Nov 2011 22:12:28 +0000 (18:12 -0400)]
Use the same technique in imapx_parser_thread().
Call PR_Interrupt() from a GCancellable::cancelled signal handler to
cancel the blocking PR_Poll() call in imapx_parser_thread().
Matthew Barnes [Fri, 4 Nov 2011 21:47:53 +0000 (17:47 -0400)]
CamelTcpStreamRaw: Use PR_Interrupt() to cancel blocked I/O.
Call PR_Interrupt() from a GCancellable::cancelled signal handler to
cancel blocking PR_Connect(), PR_Read() and PR_Write() calls.
Way easier and more responsive than using camel_operation_cancel_prfd().
Matthew Barnes [Fri, 4 Nov 2011 17:16:00 +0000 (13:16 -0400)]
camel_settings_load_from_url(): Forgot to handle "auth-mechanism".
Matthew Barnes [Fri, 4 Nov 2011 17:15:12 +0000 (13:15 -0400)]
camel_settings_save_to_url(): Forgot to handle "auth-mechanism".
Matthew Barnes [Fri, 4 Nov 2011 16:11:17 +0000 (12:11 -0400)]
CamelNetworkSettings: host and user should never be NULL.
Otherwise it creates nuisance runtime warnings when binding the
properties to widgets like GtkEntry.
Fran Diéguez [Fri, 4 Nov 2011 12:29:35 +0000 (13:29 +0100)]
Updated Galician translations
Daniel Mustieles [Wed, 2 Nov 2011 12:54:17 +0000 (13:54 +0100)]
Updated Spanish translation
Michel Dänzer [Wed, 2 Nov 2011 07:35:56 +0000 (08:35 +0100)]
Bug #655167 - Messages moved from IMAP Inbox reappear
Tristan Van Berkom [Sat, 23 Jul 2011 00:06:38 +0000 (20:06 -0400)]
Added test case showing photo data stored as uris.
The test asserts:
o binary inlined photos added to the EBook come out
as uris in the EBookView signals
o that it is still possible to use an external uri that the
addressbook does not recognize at which point the addressbook
is simply expected to store the provided URI string without
any extra management (the test does this, however it only
asserts that a uri is indeed returned).
o When sharing an addressbook owned uri fetched from one contact
and assigning it to the next contact, the second contact's uri
is still accessible on disk after deleting the first contact.
Tristan Van Berkom [Sat, 23 Jul 2011 00:05:21 +0000 (20:05 -0400)]
Make local addressbook backend store image data as URIs.
Whenever the local address book receives a uri as a binary
blob it proceeds to transform it to a uri accessbile on
the system somewhere under $XDG_DATA_HOME. The local backend
cleans up old photo uris when contacts are removed or modified
to use new photos.
Additionally, whenever it is detected that the user is
cross-referencing a uri which belongs to another contact,
a hard-link will be created to the addressbook owned file
on disk and a new uri will be assigned to any additional
contacts which try to share a uri owned by the addressbook.
Milan Crha [Tue, 1 Nov 2011 11:33:26 +0000 (12:33 +0100)]
Bug #663062 - Missing attachment icon on a message with it
Milan Crha [Tue, 1 Nov 2011 09:58:05 +0000 (10:58 +0100)]
Avoid possible crash when url->path is NULL
Matthew Barnes [Sat, 29 Oct 2011 15:16:03 +0000 (11:16 -0400)]
Add a comment explaining CamelStore's mode field.
I was about to get rid of this field thinking it was unused, but as
usual it's a GroupWise-specific hack for non-writable proxy accounts.
Add a comment to the header file for future reference.
Matthew Barnes [Wed, 26 Oct 2011 19:33:19 +0000 (15:33 -0400)]
Remove g_thread_init() calls.
g_type_init() already calls it, and has for several GLib releases.
Matthew Barnes [Tue, 25 Oct 2011 21:19:39 +0000 (17:19 -0400)]
IMAP: Split off a new mutex for commands and responses.
Define a new public GStaticRecMutex named "command_and_response_lock"
on CamelImapStore for IMAP command and response operations to use.
Fixes some deadlocks I was encountering due to the overreliance on
CAMEL_SERVICE_REC_CONNECT_LOCK, particularly during authentication.
Matthew Barnes [Tue, 25 Oct 2011 18:55:39 +0000 (14:55 -0400)]
camel_imap_store_connected() cleanup.
If camel_service_connect_sync() set a GError, don't overwrite it with a
generic "you must be working online" message. The connect_sync() error
message has useful information to help identify the real problem.
Matej Urbančič [Tue, 25 Oct 2011 18:58:58 +0000 (20:58 +0200)]
Updated Slovenian translation
Matthew Barnes [Tue, 25 Oct 2011 15:08:10 +0000 (11:08 -0400)]
Bug 662524 - POP3: Use a safer default value for "delete-after-days"
Default to not deleting mail kept on the POP3 server at all rather than
automatically deleting after X days. Helps avoid accidental data loss.
Daniel Mustieles [Tue, 25 Oct 2011 08:45:20 +0000 (10:45 +0200)]
Updated Spanish translation
Milan Crha [Tue, 25 Oct 2011 07:58:25 +0000 (09:58 +0200)]
Bug #660182 - Error dialog on LDAP query with multiple referrals
Matthew Barnes [Mon, 24 Oct 2011 21:51:10 +0000 (17:51 -0400)]
Bug 662643 - camel_url_decode_path() crashes on empty string
Matthew Barnes [Thu, 20 Oct 2011 21:24:04 +0000 (17:24 -0400)]
Move remaining CamelURL elements to CamelSettings.
This is a continuation of the CamelSettings work I started in 3.1.
CamelService no longer stores a CamelURL. The URL components are being
moved to CamelSettings.
For network services, the host, port, user and authentication mechanism
URL components now live in CamelNetworkSettings.
For local services, the path URL component (aka, the file path to the
root of the local mail store) now lives in CamelLocalSettings.
For now these new settings are configured the same as other settings:
through camel_settings_load_from_url(). But again, that function will
be dropped as soon as we move to key files for account data storage.
Also:
- Remove camel_service_get_url(), which is no longer used.
- camel_session_add_service() now takes a protocol name instead of a
URL string. The protocol name must match a registered CamelProvider.
- camel_service_get_camel_url() is renamed camel_service_new_camel_url().
It now returns a new CamelURL which must be freed with camel_url_free().
The returned CamelURL is built from user, host, port and path settings,
and does not have any parameters. You MUST access settings through
CamelSettings now.
- CamelServices need to be prepared for CamelSettings values changing or
even the entire CamelSettings object being replaced at any time. Most
services were already prepared, but I caught a few services caching
settings during initialization. Always consult CamelSettings when a
setting value is needed so the service is acting on a fresh value.
- Camel's SONAME is hereby bumped (yet again) for 3.3.2.
Milan Crha [Mon, 24 Oct 2011 07:42:17 +0000 (09:42 +0200)]
Call g_thread_init() conditionally
Matthew Barnes [Sun, 23 Oct 2011 02:06:12 +0000 (22:06 -0400)]
Post-release version bump.
Matthew Barnes [Sun, 23 Oct 2011 01:17:36 +0000 (21:17 -0400)]
NEWS update for 3.3.1 release.
Matthew Barnes [Sat, 22 Oct 2011 01:45:02 +0000 (21:45 -0400)]
Avoid a crash in camel_session_get_service_by_url().
Check that we found a CamelProvider before dereferencing it.
Matthew Barnes [Sat, 22 Oct 2011 00:47:44 +0000 (20:47 -0400)]
Add camel_folder_refresh_info()/_finish().
I forget to write wrapper functions for CamelFolderClass.refresh_info()
and CamelFolderClass.refresh_info_finish() even though the class methods
have been there for awhile.
Thanks to Srini for pointing this out.
Matej Urbančič [Fri, 21 Oct 2011 19:22:00 +0000 (21:22 +0200)]
Updated Slovenian translation
Tristan Van Berkom [Thu, 18 Aug 2011 17:41:43 +0000 (19:41 +0200)]
Added test to show that fields-of-interest is working in libecal
Test is based on test-client-get-view.c, this version of the test
sets fields-of-interest to UID, RECURRENCE-ID and LAST-MODIFIED
fields, tests that all those fields are returned and asserts that
the event summary (which is indeed set) is always NULL.
Piotr Drąg [Fri, 21 Oct 2011 15:44:21 +0000 (17:44 +0200)]
Updated Polish translation
Piotr Drąg [Fri, 21 Oct 2011 15:40:26 +0000 (17:40 +0200)]
Updated Polish translation
Piotr Drąg [Fri, 21 Oct 2011 15:38:43 +0000 (17:38 +0200)]
Updated Polish translation
Milan Crha [Fri, 21 Oct 2011 13:45:11 +0000 (15:45 +0200)]
Bug #660870 - Empty Contacts list when pressing "To:" in composer
Kjartan Maraas [Fri, 21 Oct 2011 09:02:52 +0000 (11:02 +0200)]
Revert "Remove of -Werror-deprecated-function-declaration", it doesn't work
Alban Browaeys [Fri, 21 Oct 2011 07:40:16 +0000 (09:40 +0200)]
Bug #660656 - Fix e_iterator_get annotation
Ihar Hrachyshka [Thu, 20 Oct 2011 19:24:04 +0000 (22:24 +0300)]
Updated Belarusian translation.
Kjartan Maraas [Thu, 20 Oct 2011 19:01:37 +0000 (21:01 +0200)]
Remove -Werror-deprecated-function-declaration to make it build for the 3.4 moduleset
Milan Crha [Thu, 20 Oct 2011 07:01:55 +0000 (09:01 +0200)]
Bug #527614 - Valgrind shows a nice amount of lost memory
Daniel Mustieles [Wed, 19 Oct 2011 14:40:07 +0000 (16:40 +0200)]
Updated Spanish translation
Daniel Mustieles [Wed, 19 Oct 2011 14:38:06 +0000 (16:38 +0200)]
Updated Spanish translation
Milan Crha [Wed, 19 Oct 2011 11:56:28 +0000 (13:56 +0200)]
Fix compiler warnings from GOA code in book factory
Tristan Van Berkom [Sat, 15 Oct 2011 15:34:32 +0000 (11:34 -0400)]
Really implement e_cal_client_view_set_fields_of_interest().
As discussed on bug https://bugzilla.gnome.org/show_bug.cgi?id=652180,
this patch adds many '_component' variants to functions that are named
with '_object', all the '_component' variants take an 'icalcomponent *'
instead of an ical string.
The magic filtering happens in e_data_cal_view_get_component_string()
which creates an ical string representation while omitting properties
that are not mentioned in the fields of interest.
Mario Blättermann [Tue, 18 Oct 2011 20:16:19 +0000 (22:16 +0200)]
[l10n] Updated German translation
Mario Blättermann [Tue, 18 Oct 2011 20:15:33 +0000 (22:15 +0200)]
[l10n] Updated German translation
Milan Crha [Tue, 18 Oct 2011 18:12:29 +0000 (20:12 +0200)]
Avoid possible deadlock with CamelStoreSummary locks
Recently added store_summary_sync_folder_summary_count_cb() could
cause deadlock when locking SUMMARY_LOCK first, and then calling
functions which lock REF_LOCK before SUMMARY_LOCK. Locking REF_LOCK
first avoids this.
Milan Crha [Tue, 18 Oct 2011 11:07:54 +0000 (13:07 +0200)]
Bug #661549 - Avoid fetching from backend when calculating summary
Bartosz Szatkowski [Tue, 18 Oct 2011 10:29:07 +0000 (12:29 +0200)]
Bug #656603 - Add support for generating vCard 2.1 in libebook
Kjartan Maraas [Tue, 18 Oct 2011 05:43:30 +0000 (07:43 +0200)]
Updated Norwegian bokmål translation
Fran Diéguez [Mon, 17 Oct 2011 22:13:13 +0000 (00:13 +0200)]
Updated Galician translations
OKANO Takayoshi [Mon, 17 Oct 2011 16:43:35 +0000 (01:43 +0900)]
Updated Japanese translation
Luca Ferretti [Mon, 17 Oct 2011 08:06:41 +0000 (10:06 +0200)]
l10n: updated Italian translation
Matthew Barnes [Sun, 16 Oct 2011 21:26:52 +0000 (17:26 -0400)]
Update libedata-book API docs.
Matthew Barnes [Sun, 16 Oct 2011 21:22:20 +0000 (17:22 -0400)]
Update libebook API docs.
Matthew Barnes [Sun, 16 Oct 2011 21:15:58 +0000 (17:15 -0400)]
Update libedata-cal API docs.
Matthew Barnes [Sun, 16 Oct 2011 21:13:10 +0000 (17:13 -0400)]
Update libedataserver API docs.
Matthew Barnes [Sun, 16 Oct 2011 21:02:38 +0000 (17:02 -0400)]
Update Camel API docs.
Changwoo Ryu [Sun, 16 Oct 2011 18:08:33 +0000 (03:08 +0900)]
Updated Korean translation
Bruce Cowan [Sun, 16 Oct 2011 13:42:13 +0000 (14:42 +0100)]
Updated British English translation
Matthew Barnes [Sat, 15 Oct 2011 13:51:35 +0000 (09:51 -0400)]
smtp: Adapt to Camel's new authentication API.
Matthew Barnes [Sat, 15 Oct 2011 13:51:22 +0000 (09:51 -0400)]
pop3: Adapt to Camel's new authentication API.
Matthew Barnes [Sat, 15 Oct 2011 13:51:05 +0000 (09:51 -0400)]
nntp: Adapt to Camel's new authentication API.
Matthew Barnes [Sat, 15 Oct 2011 13:50:52 +0000 (09:50 -0400)]
imapx: Adapt to Camel's new authentication API.
Matthew Barnes [Sat, 15 Oct 2011 13:50:06 +0000 (09:50 -0400)]
imap: Adapt to Camel's new authentication API.
Matthew Barnes [Sat, 15 Oct 2011 13:35:43 +0000 (09:35 -0400)]
Camel: New authentication API.
Currently each provider has to implement its own authentication loop.
The idea for these changes is add a CamelSession method that executes
a common authentication loop for all providers:
CamelSessionClass:
gboolean (*authenticate_sync) (CamelSession *session,
CamelService *service,
const gchar *mechanism,
GCancellable *cancellable,
GError **error);
void (*authenticate) (CamelSession *session,
CamelService *service,
const gchar *mechanism,
gint io_priority,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
gboolean (*authenticate_finish) (CamelSession *session,
GAsyncResult *result,
GError **error);
Each CamelService is then responsible for implementing a new
authenticate method that makes only ONE authentication attempt and
returns an appropriate status code:
CamelServiceClass:
CamelAuthenticationResult
(*authenticate_sync) (CamelService *service,
const gchar *mechanism,
GCancellable *cancellable,
GError **error);
void (*authenticate) (CamelService *service,
const gchar *mechanism,
gint io_priority,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
CamelAuthenticationResult
(*authenticate_finish) (CamelService *service,
GAsyncResult *result,
GError **error);
The status codes are defined by the CamelAuthenticationResult enum:
CAMEL_AUTHENTICATION_SUCCESS : auth credentials were accepted
CAMEL_AUTHENTICATION_FAILURE : auth credentials were rejected
CAMEL_AUTHENTICATION_ERROR : something went horribly wrong!
CAMEL_AUTHENTICATION_SUCCESS and CAMEL_AUTHENTICATION_ERROR both
terminate the authentication loop, but CAMEL_AUTHENTICATION_FAILURE
cycles the loop and asks the CamelService to retry authentication,
usually after prompting the user to enter a different password.
Fran Dieguez [Sat, 15 Oct 2011 14:36:25 +0000 (16:36 +0200)]
Updaged Galician translations
Matthew Barnes [Thu, 13 Oct 2011 01:09:05 +0000 (21:09 -0400)]
Require libgdata >= 0.10.
Drop all the backward-compatibility cruft.
Daniel Mustieles [Wed, 12 Oct 2011 15:28:32 +0000 (17:28 +0200)]
Updated Spanish translation
Christophe Dumez [Tue, 11 Oct 2011 11:02:57 +0000 (14:02 +0300)]
Bug #661448 - e_util_copy_*_slist(): Avoid using append function
The current implementation calls g_slist_append() for each element
of the list to copy. However, g_slist_append() is expensive
because it iterate over the whole destination list.
This patch alters the behavior to first make a deep copy of the
list and then concatenate the destination list and the list copy.
The concatenation only iterates of the destination list once.