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
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.
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.
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.
Xandru Armesto [Mon, 28 Nov 2011 17:33:33 +0000 (18:33 +0100)]
Updated asturian translation
Matej Urbančič [Fri, 25 Nov 2011 20:22:54 +0000 (21:22 +0100)]
Updated Slovenian translation
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
Milan Crha [Fri, 25 Nov 2011 09:45:43 +0000 (10:45 +0100)]
EProxy: Disconnect from signal handlers on dispose
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.
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.
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.
Milan Crha [Thu, 24 Nov 2011 11:02:30 +0000 (12:02 +0100)]
Bug #664572 - Change e_cal_backend_notify_component* to use ECalComponent
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.
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.
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
Milan Crha [Tue, 22 Nov 2011 14:40:04 +0000 (15:40 +0100)]
Add e_book_backend_sqlitedb_get_uids_and_rev()
Fran Diéguez [Mon, 21 Nov 2011 01:01:58 +0000 (02:01 +0100)]
Updated Galician translations
Matthew Barnes [Sun, 20 Nov 2011 21:29:32 +0000 (16:29 -0500)]
Post-release version bump.
Matthew Barnes [Sun, 20 Nov 2011 21:24:00 +0000 (16:24 -0500)]
NEWS update for 3.3.2 release.
Kjartan Maraas [Sat, 19 Nov 2011 10:55:40 +0000 (11:55 +0100)]
Updated Norwegian bokmål translation
Daniel Mustieles [Tue, 15 Nov 2011 17:01:48 +0000 (18:01 +0100)]
Updated Spanish translation
Daniel Mustieles [Tue, 15 Nov 2011 16:37:24 +0000 (17:37 +0100)]
Updated Spanish translation
Matthew Barnes [Tue, 15 Nov 2011 16:09:07 +0000 (11:09 -0500)]
Fix capitalization.
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()
Milan Crha [Tue, 15 Nov 2011 11:55:17 +0000 (12:55 +0100)]
Bug #440316 - Improve SSL Certificate check bad signature dialog
Milan Crha [Tue, 15 Nov 2011 08:20:03 +0000 (09:20 +0100)]
Fix minor compiler warnings
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.
Matthew Barnes [Tue, 15 Nov 2011 02:53:02 +0000 (21:53 -0500)]
Add CamelSExp (copy of ESExp).
Matthew Barnes [Tue, 15 Nov 2011 00:23:42 +0000 (19:23 -0500)]
Camel: Remove an unnecessary libedataserver include.
Matthew Barnes [Tue, 15 Nov 2011 00:22:54 +0000 (19:22 -0500)]
Camel: Copy Win32 gunk from e-data-server-util.c.
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.
Matthew Barnes [Mon, 14 Nov 2011 23:52:21 +0000 (18:52 -0500)]
EFlag is off limits in Camel, write it out by hand.
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.