platform/upstream/evolution-data-server.git
12 years agoFix glib-gen.mak rules.
Matthew Barnes [Fri, 2 Dec 2011 20:15:33 +0000 (14:15 -0600)]
Fix glib-gen.mak rules.

The %-enumtypes.h pattern causes problems when an "*-enumtypes.h"
from elsewhere (e.g. Camel) is found in the preprocessor search path.

Instead specify the output filename explicitly through a new variable:
glib_enum_output.  (e.g. glib_enum_output=e-data-book-enumtypes)

12 years agoCall gettext on the short descriptions of port numbers.
Gabor Kelemen [Fri, 2 Dec 2011 18:30:01 +0000 (19:30 +0100)]
Call gettext on the short descriptions of port numbers.

https://bugzilla.gnome.org/show_bug.cgi?id=665421

12 years agoUpdated Spanish translation
Daniel Mustieles [Fri, 2 Dec 2011 17:22:27 +0000 (18:22 +0100)]
Updated Spanish translation

12 years agoAdd --wait-for-client factory processes command line option
Milan Crha [Fri, 2 Dec 2011 13:08:13 +0000 (14:08 +0100)]
Add --wait-for-client factory processes command line option

This is much better than --keep-running for cases when debugger
needs to be sure that everything opened is freed (the factory
closes itself automatically), while client's run takes longer
than 10 seconds (which is easy when running both/all under
valgrind, especially with evolution as the client).

12 years agoFix a bug in camel
Srinivasa Ragavan [Thu, 17 Nov 2011 06:51:40 +0000 (12:21 +0530)]
Fix a bug in camel

12 years agoimapx_command_run_sync(): Set a GError if cancelled.
Matthew Barnes [Fri, 2 Dec 2011 06:44:33 +0000 (00:44 -0600)]
imapx_command_run_sync(): Set a GError if cancelled.

Getting segfaults on cancellation without this...

12 years agoSmall correction to imapx_command_run_sync().
Matthew Barnes [Fri, 2 Dec 2011 06:26:04 +0000 (00:26 -0600)]
Small correction to imapx_command_run_sync().

12 years agoCamelIMAPXCommand: Make imapx_command_run_sync() more responsive to cancellations.
Matthew Barnes [Fri, 2 Dec 2011 04:50:59 +0000 (22:50 -0600)]
CamelIMAPXCommand: Make imapx_command_run_sync() more responsive to cancellations.

Connect a GCancellable::cancelled signal handler that broadcasts the
GCond that imapx_command_run_sync() is waiting on so it can proceed
immediately.

If imapx_command_complete() is called sometime later by the thread
executing the command, the GCond will broadcast again but no one will
be listening for it.

12 years agoCamelIMAPXCommand: Reference the command when running synchronously.
Matthew Barnes [Fri, 2 Dec 2011 04:43:30 +0000 (22:43 -0600)]
CamelIMAPXCommand: Reference the command when running synchronously.

Reference is dropped in imapx_command_complete().

12 years agoCamelIMAPXCommand: Remove imapx_command_free() with imapx_command_unref().
Matthew Barnes [Fri, 2 Dec 2011 04:25:04 +0000 (22:25 -0600)]
CamelIMAPXCommand: Remove imapx_command_free() with imapx_command_unref().

12 years agoCamelIMAPXCommand: Add imapx_command_ref().
Matthew Barnes [Fri, 2 Dec 2011 04:12:00 +0000 (22:12 -0600)]
CamelIMAPXCommand: Add imapx_command_ref().

12 years agoCamelIMAPXCommand: Make IMAPX command functions static.
Matthew Barnes [Fri, 2 Dec 2011 04:07:20 +0000 (22:07 -0600)]
CamelIMAPXCommand: Make IMAPX command functions static.

12 years agoCamelIMAPXCommand: Add a reference count.
Matthew Barnes [Fri, 2 Dec 2011 03:51:44 +0000 (21:51 -0600)]
CamelIMAPXCommand: Add a reference count.

12 years agoCamelIMAPXCommand: Allocate with g_slice_new().
Matthew Barnes [Fri, 2 Dec 2011 03:49:29 +0000 (21:49 -0600)]
CamelIMAPXCommand: Allocate with g_slice_new().

Slab allocator is more efficient for fixed-size structs.

12 years agoCamelIMAPXJob: Make imapx_job_run() more responsive to cancellations.
Matthew Barnes [Fri, 2 Dec 2011 03:00:16 +0000 (21:00 -0600)]
CamelIMAPXJob: Make imapx_job_run() more responsive to cancellations.

Connect a GCancellable::cancelled signal handler that broadcasts the
GCond that imapx_job_run() is waiting on so it can proceed immediately.

If imapx_job_done() is called sometime later by the thread executing the
job, the GCond will broadcast again but no one will be listening for it.

Giving CamelIMAPXJob a reference count allows the imapx_job_run() caller
to drop its job reference and proceed without worrying about whether the
job is still active in the parser thread, since the parser thread will
have its own job reference.

12 years agoCamelIMAPXJob: Reference the job when queueing.
Matthew Barnes [Fri, 2 Dec 2011 02:50:59 +0000 (20:50 -0600)]
CamelIMAPXJob: Reference the job when queueing.

Reference is dropped after dequeueing in imapx_job_done().

12 years agoCamelIMAPXJob: Replace imapx_job_free() with imapx_job_unref().
Matthew Barnes [Fri, 2 Dec 2011 02:47:55 +0000 (20:47 -0600)]
CamelIMAPXJob: Replace imapx_job_free() with imapx_job_unref().

12 years agoCamelIMAPXJob: Add imapx_job_ref().
Matthew Barnes [Fri, 2 Dec 2011 02:43:18 +0000 (20:43 -0600)]
CamelIMAPXJob: Add imapx_job_ref().

12 years agoCamelIMAPXJob: Add a reference count.
Matthew Barnes [Fri, 2 Dec 2011 02:39:37 +0000 (20:39 -0600)]
CamelIMAPXJob: Add a reference count.

12 years agoCamelIMAPXJob: Allocate with g_slice_new().
Matthew Barnes [Fri, 2 Dec 2011 02:38:02 +0000 (20:38 -0600)]
CamelIMAPXJob: Allocate with g_slice_new().

Slab allocator is more efficient for fixed-size structs.

12 years agoimapx_parser_thread: Skip polling and just read the socket.
Matthew Barnes [Fri, 2 Dec 2011 01:37:30 +0000 (19:37 -0600)]
imapx_parser_thread: Skip polling and just read the socket.

We don't use a cancellation file descriptor anymore so there's no point
in polling one file descriptor.  Just call parse_contents() immediately.

12 years agoBug 665337: Remove --disable-calendar
Matthew Barnes [Thu, 1 Dec 2011 23:11:18 +0000 (17:11 -0600)]
Bug 665337: Remove --disable-calendar

Basically reverses bug #438928.

This was never a good idea to begin with.  If distros want to pick apart
E-D-S, they should do so in a deb/rpm/whatever package, not upstream.

12 years agorehandshake_ssl(): Be more responsive to cancellations.
Matthew Barnes [Thu, 1 Dec 2011 15:17:17 +0000 (09:17 -0600)]
rehandshake_ssl(): Be more responsive to cancellations.

12 years agoUpdated Norwegian bokmål translation
Kjartan Maraas [Thu, 1 Dec 2011 16:58:23 +0000 (17:58 +0100)]
Updated Norwegian bokmål translation

12 years agoBug 664819 - gmodule-2.0 dependency must be explicit
Diego López León [Wed, 30 Nov 2011 01:34:12 +0000 (19:34 -0600)]
Bug 664819 - gmodule-2.0 dependency must be explicit

12 years agoReduce frequency of CamelFolder::changed emissions.
Matthew Barnes [Tue, 29 Nov 2011 22:58:32 +0000 (16:58 -0600)]
Reduce frequency of CamelFolder::changed emissions.

If camel_folder_changed() is called after an idle callback for the
signal emission has already been scheduled but not yet dispatched,
append the new change info to the pending change info instead of
scheduling another idle callback.

Virtual folders schedule a background job for every "changed" signal
emission, and this taxes the CPU unnecessarily hard, especially when
IMAPX is downloading folder summaries for the first time.

These changes are still not optimal, but my own measurements showed
a significant reduction in CamelFolder::changed signal emissions.

12 years agoBetter runtime warnings in tcp_stream_set_error_from_pr_error().
Matthew Barnes [Tue, 29 Nov 2011 06:20:07 +0000 (00:20 -0600)]
Better runtime warnings in tcp_stream_set_error_from_pr_error().

I keep seeing some kind of NSPR error which apparently has no error text
(PR_GetErrorTextLength() returns 0).  This should at least help pin down
the error code so maybe we can special-case it.

12 years agoWean CamelIMAPXServer off CamelMsgPort.
Matthew Barnes [Mon, 28 Nov 2011 17:39:13 +0000 (11:39 -0600)]
Wean CamelIMAPXServer off CamelMsgPort.

A simple GQueue + thread-safe 'done' flag on each job is sufficient.

12 years agoUpdated asturian translation
Xandru Armesto [Mon, 28 Nov 2011 17:33:33 +0000 (18:33 +0100)]
Updated asturian translation

12 years agoUpdated Slovenian translation
Matej Urbančič [Fri, 25 Nov 2011 20:22:54 +0000 (21:22 +0100)]
Updated Slovenian translation

12 years agoAvoid crash in e-cal-backend-http.c:webcal_to_http_method
Milan Crha [Fri, 25 Nov 2011 10:22:26 +0000 (11:22 +0100)]
Avoid crash in e-cal-backend-http.c:webcal_to_http_method

12 years agoEProxy: Disconnect from signal handlers on dispose
Milan Crha [Fri, 25 Nov 2011 09:45:43 +0000 (10:45 +0100)]
EProxy: Disconnect from signal handlers on dispose

12 years agoRemove all *_DISABLE_DEPRECATED_FLAGS.
Matthew Barnes [Thu, 24 Nov 2011 23:01:11 +0000 (18:01 -0500)]
Remove all *_DISABLE_DEPRECATED_FLAGS.

I'll care about deprecated APIs again when a gtk4 release date is
announced.  Meanwhile it's just causing distros unnecessary pain.

12 years agoRemove GSEAL_ENABLE macro.
Matthew Barnes [Thu, 24 Nov 2011 22:52:10 +0000 (17:52 -0500)]
Remove GSEAL_ENABLE macro.

We already comply, and it's required now anyway for gtk3.

12 years agoRemove *_DISABLE_SINGLE_INCLUDES macros.
Matthew Barnes [Thu, 24 Nov 2011 22:48:39 +0000 (17:48 -0500)]
Remove *_DISABLE_SINGLE_INCLUDES macros.

We already comply, and it's required now anyway for gtk3.

12 years agoBug #664572 - Change e_cal_backend_notify_component* to use ECalComponent
Milan Crha [Thu, 24 Nov 2011 11:02:30 +0000 (12:02 +0100)]
Bug #664572 - Change e_cal_backend_notify_component* to use ECalComponent

12 years agoAdded test case for new ECal revision backend property
Tristan Van Berkom [Fri, 5 Aug 2011 01:32:09 +0000 (21:32 -0400)]
Added test case for new ECal revision backend property

Test case modifies the calendar in a loop and ensures that
every modification results in a new revision string.

12 years agoBug #652177 - Add "revision" property to calendar file backend
Tristan Van Berkom [Tue, 22 Nov 2011 08:58:30 +0000 (17:58 +0900)]
Bug #652177 - Add "revision" property to calendar file backend

Added "revision" property also now as a common property definition
in e-client.h. revisions are guarunteed to remain the same until there
is a modification to the calendar.

12 years agoPre-load all built-in timezones in libical on calendar factory start
Milan Crha [Wed, 23 Nov 2011 08:30:37 +0000 (09:30 +0100)]
Pre-load all built-in timezones in libical on calendar factory start

This is the same fix as was done in evolution within bug #628139

12 years agoAdd e_book_backend_sqlitedb_get_uids_and_rev()
Milan Crha [Tue, 22 Nov 2011 14:40:04 +0000 (15:40 +0100)]
Add e_book_backend_sqlitedb_get_uids_and_rev()

12 years agoUpdated Galician translations
Fran Diéguez [Mon, 21 Nov 2011 01:01:58 +0000 (02:01 +0100)]
Updated Galician translations

12 years agoPost-release version bump.
Matthew Barnes [Sun, 20 Nov 2011 21:29:32 +0000 (16:29 -0500)]
Post-release version bump.

12 years agoNEWS update for 3.3.2 release.
Matthew Barnes [Sun, 20 Nov 2011 21:24:00 +0000 (16:24 -0500)]
NEWS update for 3.3.2 release.

12 years agoUpdated Norwegian bokmål translation
Kjartan Maraas [Sat, 19 Nov 2011 10:55:40 +0000 (11:55 +0100)]
Updated Norwegian bokmål translation

12 years agoUpdated Spanish translation
Daniel Mustieles [Tue, 15 Nov 2011 17:01:48 +0000 (18:01 +0100)]
Updated Spanish translation

12 years agoUpdated Spanish translation
Daniel Mustieles [Tue, 15 Nov 2011 16:37:24 +0000 (17:37 +0100)]
Updated Spanish translation

12 years agoFix capitalization.
Matthew Barnes [Tue, 15 Nov 2011 16:09:07 +0000 (11:09 -0500)]
Fix capitalization.

12 years agoAdd useful GBinding transform funcs from e-util.
Matthew Barnes [Tue, 15 Nov 2011 16:03:07 +0000 (11:03 -0500)]
Add useful GBinding transform funcs from e-util.

e_binding_transform_enum_value_to_nick()
e_binding_transform_enum_nick_to_value()

12 years agoBug #440316 - Improve SSL Certificate check bad signature dialog
Milan Crha [Tue, 15 Nov 2011 11:55:17 +0000 (12:55 +0100)]
Bug #440316 - Improve SSL Certificate check bad signature dialog

12 years agoFix minor compiler warnings
Milan Crha [Tue, 15 Nov 2011 08:20:03 +0000 (09:20 +0100)]
Fix minor compiler warnings

12 years agoCamel no longer depends on libedataserver.
Matthew Barnes [Tue, 15 Nov 2011 02:55:25 +0000 (21:55 -0500)]
Camel no longer depends on libedataserver.

Camel is now the lowest layer of E-D-S, built first.

12 years agoAdd CamelSExp (copy of ESExp).
Matthew Barnes [Tue, 15 Nov 2011 02:53:02 +0000 (21:53 -0500)]
Add CamelSExp (copy of ESExp).

12 years agoCamel: Remove an unnecessary libedataserver include.
Matthew Barnes [Tue, 15 Nov 2011 00:23:42 +0000 (19:23 -0500)]
Camel: Remove an unnecessary libedataserver include.

12 years agoCamel: Copy Win32 gunk from e-data-server-util.c.
Matthew Barnes [Tue, 15 Nov 2011 00:22:54 +0000 (19:22 -0500)]
Camel: Copy Win32 gunk from e-data-server-util.c.

12 years agoAdd camel_mktime_utc() and camel_localtime_with_offset().
Matthew Barnes [Tue, 15 Nov 2011 00:13:27 +0000 (19:13 -0500)]
Add camel_mktime_utc() and camel_localtime_with_offset().

Copied from libedataserver/e-time-utils.c.

12 years agoEFlag is off limits in Camel, write it out by hand.
Matthew Barnes [Mon, 14 Nov 2011 23:52:21 +0000 (18:52 -0500)]
EFlag is off limits in Camel, write it out by hand.

12 years agoBug 661033 — Add support for E_CONTACT_FILE_AS field
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

12 years agoUpdate API docs.
Matthew Barnes [Mon, 14 Nov 2011 21:15:34 +0000 (16:15 -0500)]
Update API docs.

12 years agoAdded test case to test the new backend revision property
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.

12 years agoBug #652175 - Add revision property to addressbook backend
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.

12 years agoUpdated Galician translations
Fran Diéguez [Sun, 13 Nov 2011 17:57:42 +0000 (18:57 +0100)]
Updated Galician translations

12 years agoRemove camel_folder_summary_decode_token().
Matthew Barnes [Sun, 13 Nov 2011 05:36:46 +0000 (00:36 -0500)]
Remove camel_folder_summary_decode_token().

No longer needed.

12 years agoRemove camel_folder_summary_encode_token().
Matthew Barnes [Sun, 13 Nov 2011 05:29:12 +0000 (00:29 -0500)]
Remove camel_folder_summary_encode_token().

No longer needed.

12 years agoRemove camel_folder_summary_set_filename().
Matthew Barnes [Sun, 13 Nov 2011 04:01:33 +0000 (23:01 -0500)]
Remove camel_folder_summary_set_filename().

No longer needed.

12 years agoRemove CamelFolderSummaryClass.summary_header_save().
Matthew Barnes [Sun, 13 Nov 2011 03:46:16 +0000 (22:46 -0500)]
Remove CamelFolderSummaryClass.summary_header_save().

No longer needed.

12 years agoRemove CamelFolderSummaryClass.summary_header_load().
Matthew Barnes [Sun, 13 Nov 2011 03:41:56 +0000 (22:41 -0500)]
Remove CamelFolderSummaryClass.summary_header_load().

No longer needed.

12 years agoRemove CamelFolderSummaryClass.content_info_migrate().
Matthew Barnes [Sun, 13 Nov 2011 03:31:09 +0000 (22:31 -0500)]
Remove CamelFolderSummaryClass.content_info_migrate().

No longer needed.

12 years agoRemove CamelFolderSummaryClass.message_info_migrate().
Matthew Barnes [Sun, 13 Nov 2011 03:27:55 +0000 (22:27 -0500)]
Remove CamelFolderSummaryClass.message_info_migrate().

No longer needed.

12 years agoRemove camel_folder_summary_migrate_infos().
Matthew Barnes [Sun, 13 Nov 2011 03:22:17 +0000 (22:22 -0500)]
Remove camel_folder_summary_migrate_infos().

No longer needed.

12 years agoRemove camel_db_migrate_vfolders_to_14().
Matthew Barnes [Sun, 13 Nov 2011 03:14:46 +0000 (22:14 -0500)]
Remove camel_db_migrate_vfolders_to_14().

No longer needed.

12 years agoUpdated Norwegian bokmål translation
Kjartan Maraas [Sat, 12 Nov 2011 11:03:14 +0000 (12:03 +0100)]
Updated Norwegian bokmål translation

12 years agoBug 660974 - sqlite backend: use INSERT OR IGNORE in add_folder_into_db()
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.

12 years agoUpdated Spanish translation
Daniel Mustieles [Fri, 11 Nov 2011 17:16:42 +0000 (18:16 +0100)]
Updated Spanish translation

12 years agoBug #660972 - Unable to publish free/busy information
Milan Crha [Fri, 11 Nov 2011 14:42:39 +0000 (15:42 +0100)]
Bug #660972 - Unable to publish free/busy information

12 years agoBug #660646 - »IDLE« should not be translated in settings dialog
Milan Crha [Fri, 11 Nov 2011 11:03:57 +0000 (12:03 +0100)]
Bug #660646 - »IDLE« should not be translated in settings dialog

12 years agoBug #662473 - Moving mails between local folders removes labels
Milan Crha [Fri, 11 Nov 2011 09:30:09 +0000 (10:30 +0100)]
Bug #662473 - Moving mails between local folders removes labels

12 years agoBug #659736 - Do not report change on property set when not changed
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

12 years agoBug #662929 - POP3 prevents expunge of local Inbox in offline
Milan Crha [Wed, 9 Nov 2011 14:24:29 +0000 (15:24 +0100)]
Bug #662929 - POP3 prevents expunge of local Inbox in offline

12 years agoBug 663219 Crash in imapx_completion at camel-imapx-server.c:2037
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

12 years agoAdded test-client-suppress-notifications.c test
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.

12 years agoBug #652171 Added e_book_client_view_set_flags()
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.

12 years agoKill gtk-doc tmpl files.
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.

12 years agoIntroduce e_gdbus_templates_init_main_thread()
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.

12 years agoAdd camel_operation_cancel_all().
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.

12 years agoRemove camel_operation_uncancel().
Matthew Barnes [Sat, 5 Nov 2011 04:42:35 +0000 (00:42 -0400)]
Remove camel_operation_uncancel().

Use g_cancellable_reset() instead.

12 years agoRemove camel_operation_cancel_check().
Matthew Barnes [Sat, 5 Nov 2011 04:36:17 +0000 (00:36 -0400)]
Remove camel_operation_cancel_check().

Use g_cancellable_is_cancelled() instead.

12 years agoRemove camel_operation_cancel_fd().
Matthew Barnes [Sat, 5 Nov 2011 04:22:33 +0000 (00:22 -0400)]
Remove camel_operation_cancel_fd().

Use g_cancellable_get_fd() instead.

12 years agoRemove camel_operation_cancel_prfd().
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.

12 years agoUse the same technique in imapx_parser_thread().
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().

12 years agoCamelTcpStreamRaw: Use PR_Interrupt() to cancel blocked I/O.
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().

12 years agocamel_settings_load_from_url(): Forgot to handle "auth-mechanism".
Matthew Barnes [Fri, 4 Nov 2011 17:16:00 +0000 (13:16 -0400)]
camel_settings_load_from_url(): Forgot to handle "auth-mechanism".

12 years agocamel_settings_save_to_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".

12 years agoCamelNetworkSettings: host and user should never be NULL.
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.

12 years agoUpdated Galician translations
Fran Diéguez [Fri, 4 Nov 2011 12:29:35 +0000 (13:29 +0100)]
Updated Galician translations

12 years agoUpdated Spanish translation
Daniel Mustieles [Wed, 2 Nov 2011 12:54:17 +0000 (13:54 +0100)]
Updated Spanish translation

12 years agoBug #655167 - Messages moved from IMAP Inbox reappear
Michel Dänzer [Wed, 2 Nov 2011 07:35:56 +0000 (08:35 +0100)]
Bug #655167 - Messages moved from IMAP Inbox reappear

12 years agoAdded test case showing photo data stored as uris.
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.

12 years agoMake local addressbook backend store image data as URIs.
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.

12 years agoBug #663062 - Missing attachment icon on a message with it
Milan Crha [Tue, 1 Nov 2011 11:33:26 +0000 (12:33 +0100)]
Bug #663062 - Missing attachment icon on a message with it

12 years agoAvoid possible crash when url->path is NULL
Milan Crha [Tue, 1 Nov 2011 09:58:05 +0000 (10:58 +0100)]
Avoid possible crash when url->path is NULL