Matthew Barnes [Sun, 22 Sep 2013 14:21:46 +0000 (10:21 -0400)]
CamelCertDB: Remove unnecessary 'alloc_lock' mutex.
Matthew Barnes [Sun, 22 Sep 2013 14:18:08 +0000 (10:18 -0400)]
CamelCertDB: Remove ability to subclass CamelCert.
Not utilized; overengineered API.
Matthew Barnes [Sun, 22 Sep 2013 14:08:09 +0000 (10:08 -0400)]
CamelCertDB: Remove unused 'cert_chunks' member.
Checked but never set -- always NULL.
Matthew Barnes [Sun, 22 Sep 2013 14:05:17 +0000 (10:05 -0400)]
CamelCertDB: Remove unused 'ref_lock' mutex.
Matthew Barnes [Sun, 22 Sep 2013 14:04:47 +0000 (10:04 -0400)]
CamelCert: Use atomic operations to track reference count.
Matthew Barnes [Sun, 22 Sep 2013 13:55:33 +0000 (09:55 -0400)]
Remove unused CamelCertDBLock enum.
Matthew Barnes [Sun, 22 Sep 2013 13:54:58 +0000 (09:54 -0400)]
Remove unused camel_certdb_unlock().
Matthew Barnes [Sun, 22 Sep 2013 13:54:16 +0000 (09:54 -0400)]
Remove unused camel_certdb_lock().
Matthew Barnes [Sun, 22 Sep 2013 13:53:13 +0000 (09:53 -0400)]
CamelCertDB: Use the internal mutexes directly.
Matthew Barnes [Sun, 22 Sep 2013 13:36:38 +0000 (09:36 -0400)]
Remove unused CamelFolderLock enum.
Matthew Barnes [Sun, 22 Sep 2013 13:35:48 +0000 (09:35 -0400)]
camel_folder_(un)lock: Remove 'lock' enum argument.
CAMEL_FOLDER_REC_LOCK is the only option.
Matthew Barnes [Sun, 22 Sep 2013 13:31:31 +0000 (09:31 -0400)]
Remove unused CAMEL_FOLDER_CHANGE_LOCK.
Matthew Barnes [Sun, 22 Sep 2013 13:30:40 +0000 (09:30 -0400)]
CamelFolder: Use the internal 'change_lock' mutex directly.
Matthew Barnes [Sun, 22 Sep 2013 13:17:17 +0000 (09:17 -0400)]
Remove unused CamelVeeFolderLock enum.
Matthew Barnes [Sun, 22 Sep 2013 13:16:41 +0000 (09:16 -0400)]
Remove unused camel_vee_folder_unlock().
Matthew Barnes [Sun, 22 Sep 2013 13:16:14 +0000 (09:16 -0400)]
Remove unused camel_vee_folder_lock().
Matthew Barnes [Sun, 22 Sep 2013 13:48:37 +0000 (09:48 -0400)]
CamelVeeFolder: Remove unused 'summary_lock' mutex.
Matthew Barnes [Sun, 22 Sep 2013 13:15:29 +0000 (09:15 -0400)]
CamelVeeFolder: Use the internal mutexes directly.
Matthew Barnes [Sun, 22 Sep 2013 13:04:08 +0000 (09:04 -0400)]
Remove unused CamelTransportLock enum.
Matthew Barnes [Sun, 22 Sep 2013 13:03:33 +0000 (09:03 -0400)]
Remove unused camel_transport_unlock().
Matthew Barnes [Sun, 22 Sep 2013 13:02:55 +0000 (09:02 -0400)]
Remove unused camel_transport_lock().
Matthew Barnes [Sun, 22 Sep 2013 13:01:50 +0000 (09:01 -0400)]
CamelTransport: Use the internal 'send_lock' mutex directly.
Matthew Barnes [Sun, 22 Sep 2013 12:58:59 +0000 (08:58 -0400)]
Remove unused CamelStoreLock enum.
Matthew Barnes [Sun, 22 Sep 2013 12:54:12 +0000 (08:54 -0400)]
camel_store_(un)lock: Remove 'lock' enum argument.
CAMEL_STORE_FOLDER_LOCK is the only option.
Matthew Barnes [Sun, 22 Sep 2013 11:59:44 +0000 (07:59 -0400)]
Remove unused CamelDataWrapperLock enum.
Matthew Barnes [Sun, 22 Sep 2013 11:59:13 +0000 (07:59 -0400)]
Remove unused camel_data_wrapper_unlock().
Matthew Barnes [Sun, 22 Sep 2013 11:58:41 +0000 (07:58 -0400)]
Remove unused camel_data_wrapper_lock().
Matthew Barnes [Sun, 22 Sep 2013 11:57:21 +0000 (07:57 -0400)]
CamelDataWrapper: Use the internal 'stream_lock' mutex directly.
Matthew Barnes [Sun, 22 Sep 2013 11:54:36 +0000 (07:54 -0400)]
Remove unused CamelFolderSummaryLock enum.
Matthew Barnes [Sun, 22 Sep 2013 11:39:59 +0000 (07:39 -0400)]
camel_folder_summary_(un)lock: Remove 'lock' enum argument.
CAMEL_FOLDER_SUMMARY_SUMMARY_LOCK is the only remaining option.
Matthew Barnes [Mon, 16 Sep 2013 15:11:47 +0000 (11:11 -0400)]
Add camel_message_info_unref().
Replaces camel_message_info_free().
CamelMessageInfo is reference-counted, so naming the unreferencing
function "free" is very misleading.
Matthew Barnes [Mon, 16 Sep 2013 14:46:26 +0000 (10:46 -0400)]
Remove CAMEL_FOLDER_SUMMARY_ALLOC_LOCK.
We use GLib's slab allocator, no additional locking required.
Matthew Barnes [Mon, 16 Sep 2013 14:38:36 +0000 (10:38 -0400)]
Remove CAMEL_FOLDER_SUMMARY_FILTER_LOCK.
This is a private mutex, don't expose it in the public API.
Matthew Barnes [Mon, 16 Sep 2013 14:33:51 +0000 (10:33 -0400)]
Remove CAMEL_FOLDER_SUMMARY_IO_LOCK.
Not even the private 'io_lock' mutex was used.
Matthew Barnes [Mon, 16 Sep 2013 14:26:04 +0000 (10:26 -0400)]
Remove CAMEL_FOLDER_SUMMARY_REF_LOCK.
No longer used, reference counting operations are now atomic.
Matthew Barnes [Mon, 16 Sep 2013 14:24:44 +0000 (10:24 -0400)]
CamelMessageInfo: Use atomic operations to track reference count.
Matthew Barnes [Thu, 19 Sep 2013 20:02:37 +0000 (16:02 -0400)]
Remove camel_folder_summary_add_from_message().
Trivial function, not worth the API bloat. Do this instead:
info = camel_folder_summary_info_new_from_message (summary, message, NULL);
camel_folder_summary_add (summary, info);
Matthew Barnes [Thu, 19 Sep 2013 19:50:34 +0000 (15:50 -0400)]
Remove camel_folder_summary_add_from_parser().
Trivial function, not worth the API bloat. Do this instead:
info = camel_folder_summary_info_new_from_parser (summary, parser);
camel_folder_summary_add (summary, info);
Matthew Barnes [Thu, 19 Sep 2013 19:35:15 +0000 (15:35 -0400)]
Remove camel_folder_summary_add_from_header().
Trivial function, not worth the API bloat. Do this instead:
info = camel_folder_summary_info_new_from_header (summary, headers);
camel_folder_summary_add (summary, info);
Matthew Barnes [Thu, 19 Sep 2013 14:51:09 +0000 (10:51 -0400)]
CamelFolderSummary: Remove unused migration gunk.
Matthew Barnes [Mon, 16 Sep 2013 14:14:02 +0000 (10:14 -0400)]
CamelFolderSummary cleanups.
Matthew Barnes [Mon, 16 Sep 2013 16:17:58 +0000 (12:17 -0400)]
CamelStoreSummary: Move 'store_info_size' to class struct.
Allocation size varies by CamelStoreSummary subclass, not by instance.
Matthew Barnes [Thu, 19 Sep 2013 00:05:55 +0000 (20:05 -0400)]
CamelVeeMessageInfo: Remove unused 'old_flags' member.
Set in various places but never used.
Matthew Barnes [Thu, 19 Sep 2013 19:21:12 +0000 (15:21 -0400)]
Remove unused camel_imapx_summary_add_offline_uncached().
Matthew Barnes [Thu, 19 Sep 2013 19:20:11 +0000 (15:20 -0400)]
Remove unused camel_imapx_summary_add_offline().
Matthew Barnes [Tue, 17 Sep 2013 16:55:29 +0000 (12:55 -0400)]
Remove unused CAMEL_MESSAGE_HIDDEN flag.
Matthew Barnes [Tue, 17 Sep 2013 16:54:00 +0000 (12:54 -0400)]
Remove unused CAMEL_MESSAGE_USER_NOT_DELETABLE flag.
Matthew Barnes [Mon, 16 Sep 2013 14:50:49 +0000 (10:50 -0400)]
Remove "camel_store_summary_info_free" backward-compat macro.
This macro was temporary... very temporary.
Matthew Barnes [Mon, 16 Sep 2013 13:42:37 +0000 (09:42 -0400)]
Remove camel_string_list_free().
Use g_list_free_full(list, (GDestroyNotify) g_free) instead.
Matthew Barnes [Mon, 16 Sep 2013 13:39:41 +0000 (09:39 -0400)]
Remove camel_toupper().
Use g_ascii_toupper() instead.
Matthew Barnes [Mon, 16 Sep 2013 13:38:41 +0000 (09:38 -0400)]
Remove camel_tolower().
Use g_ascii_tolower() instead.
Matthew Barnes [Mon, 16 Sep 2013 13:36:07 +0000 (09:36 -0400)]
Bump libcamel soname for some upcoming API changes.
Chao-Hsiung Liao [Mon, 23 Sep 2013 14:16:40 +0000 (22:16 +0800)]
Updated Traditional Chinese translation(Hong Kong and Taiwan)
Duarte Loreto [Sun, 22 Sep 2013 23:29:05 +0000 (00:29 +0100)]
Updated Portuguese translation
Marián Čavojský [Sun, 22 Sep 2013 13:33:12 +0000 (15:33 +0200)]
Updated slovak translation
Christian Kirbach [Sat, 21 Sep 2013 14:42:10 +0000 (16:42 +0200)]
Updated German translation
Matthew Barnes [Sat, 21 Sep 2013 13:16:10 +0000 (09:16 -0400)]
Post-release version bump.
Matthew Barnes [Sat, 21 Sep 2013 12:44:39 +0000 (08:44 -0400)]
NEWS update for 3.10.0 release.
Ask H. Larsen [Tue, 17 Sep 2013 16:38:55 +0000 (18:38 +0200)]
Updated Danish translation
Marián Čavojský [Mon, 16 Sep 2013 20:29:05 +0000 (22:29 +0200)]
Updated slovak translation
Luca Ferretti [Mon, 16 Sep 2013 12:36:40 +0000 (14:36 +0200)]
[l10n] Updated Italian translation.
Matthew Barnes [Sun, 15 Sep 2013 12:15:30 +0000 (08:15 -0400)]
Post-release version bump.
Matthew Barnes [Sun, 15 Sep 2013 11:50:30 +0000 (07:50 -0400)]
NEWS update for 3.9.92 release.
Matthew Barnes [Sat, 14 Sep 2013 17:15:43 +0000 (13:15 -0400)]
Bug 708016 - CamelIMAPXStore: Crash when no namespace info present
Matthew Barnes [Thu, 12 Sep 2013 20:45:19 +0000 (16:45 -0400)]
Fix typo in camel_imapx_status_response_new().
Wow, that's kind of important...
Nilamdyuti Goswami [Thu, 12 Sep 2013 13:33:07 +0000 (19:03 +0530)]
Assamese Translation Updated
Rūdolfs Mazurs [Thu, 12 Sep 2013 07:35:54 +0000 (10:35 +0300)]
Updated Latvian translation
Andika Triwidada [Thu, 12 Sep 2013 04:04:08 +0000 (11:04 +0700)]
Updated Indonesian translation
Matthew Barnes [Wed, 11 Sep 2013 21:32:02 +0000 (17:32 -0400)]
Actually use IMAPX_PRIORITY_COPY_MESSAGE for copying messages.
Matthew Barnes [Wed, 11 Sep 2013 14:12:04 +0000 (10:12 -0400)]
imapx_store_rename_folder_info: More cleanups.
CamelIMAPXStoreInfo now holds the mailbox separator character alongside
the mailbox name, so we don't need to consult namespaces to convert the
folder path to a mailbox name in imapx_store_rename_folder_info(). Use
camel_imapx_folder_path_to_mailbox() along with the CamelIMAPXStoreInfo
separator character.
Matthew Barnes [Wed, 11 Sep 2013 14:00:36 +0000 (10:00 -0400)]
Add camel_imapx_folder_path_to_mailbox().
Converts a folder path to an IMAP mailbox name, which just replaces all
slashes with the mailbox separator character. If the mailbox separator
character appears in the folder path, it is replaced with a slash.
Antoine Jacoutot [Wed, 11 Sep 2013 13:57:57 +0000 (15:57 +0200)]
do not assume time_t is long
On Linux time_t is long, on OpenBSD time_t is long long... so printf
statements using %lu on 32-bit platforms will break on !Linux.
The only portable way to print a time_t is using a cast and casting to
"long long" (gint64) is probably the most portable way.
https://bugzilla.gnome.org/show_bug.cgi?id=707900
Matthew Barnes [Wed, 11 Sep 2013 12:58:30 +0000 (08:58 -0400)]
imapx_store_rename_folder_info: Readability improvements.
Matthew Barnes [Wed, 11 Sep 2013 11:53:47 +0000 (07:53 -0400)]
CamelIMAPXStore: Clarify ambiguous "guint32 flags" parameters.
Timo Jyrinki [Wed, 11 Sep 2013 06:43:02 +0000 (09:43 +0300)]
Finnish translation update
Ihar Hrachyshka [Tue, 10 Sep 2013 18:12:17 +0000 (21:12 +0300)]
Updated Belarusian translation.
Matthew Barnes [Mon, 9 Sep 2013 17:06:30 +0000 (13:06 -0400)]
Bug 707736 - IMAPX: LSUB response handling broken
The "mailboxes" hash table keys are now mailbox names, not folder paths.
I was getting this mixed up because the hash table was previously passed
around under the generic name "table".
Matthew Barnes [Mon, 9 Sep 2013 17:08:08 +0000 (13:08 -0400)]
CamelIMAPXStore cleanups.
Function and variable renames around collecting mailbox listings.
Matthew Barnes [Mon, 9 Sep 2013 15:19:28 +0000 (11:19 -0400)]
Bug 707116 - IMAPX: Normalize descendants of INBOX
camel_imapx_parse_mailbox() was correctly normalizing INBOX itself,
but leaving descendants of INBOX untouched.
If the IMAP server names INBOX as, let's say, "Inbox" and INBOX has
children, then we would end up parsing LIST responses like so:
LIST "/" "Inbox" -> "INBOX"
LIST "/" "Inbox/Child" -> "Inbox/Child"
This screwed up parent/child relationships in the CamelFolderInfo,
causing "INBOX" and "Inbox" to be represented as separator folders.
Matthew Barnes [Mon, 9 Sep 2013 15:44:49 +0000 (11:44 -0400)]
Add camel_imapx_normalize_mailbox().
Converts the special INBOX mailbox to all caps, if it appears at the
beginning of 'mailbox_name'. The 'mailbox_name' string is modified in
place. The 'separator' character helps reliably identify descendants
of INBOX.
Changwoo Ryu [Sun, 8 Sep 2013 19:56:47 +0000 (04:56 +0900)]
Updated Korean translation
Claude Paroz [Sun, 8 Sep 2013 17:38:35 +0000 (19:38 +0200)]
Updated French translation
Rafael Ferreira [Sat, 7 Sep 2013 17:29:36 +0000 (14:29 -0300)]
Updated Brazilian Portuguese translation proofread by Enrico Nicoletto
Мирослав Николић [Sat, 7 Sep 2013 03:54:17 +0000 (05:54 +0200)]
Updated Serbian translation
Milan Crha [Thu, 5 Sep 2013 07:38:01 +0000 (09:38 +0200)]
Bug #707520 - New detached instance notification not send to clients
Matthew Barnes [Tue, 3 Sep 2013 21:28:53 +0000 (17:28 -0400)]
CamelIMAPXServer: Relocate command argument stashing.
A CAPABILITY list may be provided through tagged or untagged responses.
Make sure capability-based command arguments get stashed in either case.
Matthew Barnes [Tue, 3 Sep 2013 20:49:06 +0000 (16:49 -0400)]
CamelIMAPXServer: Stash arguments for STATUS command.
Stash a reusable data item string once server capabilities are known.
Matthew Barnes [Tue, 3 Sep 2013 20:14:56 +0000 (16:14 -0400)]
IMAPX: LIST-STATUS is an extension of LIST-EXTENDED.
When capabilities are extensions of other capabilities, make sure the
prerequisite capability flags are set even if the server did not list
them explicitly. LIST-STATUS is one such example.
Luca Ferretti [Tue, 3 Sep 2013 19:27:00 +0000 (21:27 +0200)]
[l10n] Updated Italian translation.
Milan Crha [Tue, 3 Sep 2013 15:42:11 +0000 (17:42 +0200)]
Bug #707034 - vCard param value parsing too strict
Matthew Barnes [Tue, 3 Sep 2013 15:05:09 +0000 (11:05 -0400)]
camel_imapx_server_fetch_messages: Fix redundant expression.
Matthew Barnes [Tue, 3 Sep 2013 11:24:57 +0000 (07:24 -0400)]
CamelIMAPXServer cleanups.
Just reducing diff noise with my feature branch.
Matthew Barnes [Mon, 2 Sep 2013 23:19:23 +0000 (19:19 -0400)]
Remove IMAPX_MODE_READ and IMAPX_MODE_WRITE flags.
We set these flags from READ-ONLY and READ-WRITE response codes in
IMAP status responses but we don't currently do anything with them.
Matthew Barnes [Mon, 2 Sep 2013 17:56:48 +0000 (13:56 -0400)]
CamelIMAPXServer: Move selected folder info to private section.
Matthew Barnes [Sun, 1 Sep 2013 11:49:33 +0000 (07:49 -0400)]
Post-release version bump.
Matthew Barnes [Sun, 1 Sep 2013 11:32:44 +0000 (07:32 -0400)]
NEWS update for 3.9.91 release.
Matthew Barnes [Thu, 29 Aug 2013 15:08:07 +0000 (11:08 -0400)]
CamelIMAPXStore cleanups.
Tristan Van Berkom [Thu, 29 Aug 2013 12:38:49 +0000 (14:38 +0200)]
Added missing copyright attributions.
All of the files effected by this commit have been modified by me
over the last year, just comming back to assign copyright for the
modifications I made.
Matthew Barnes [Wed, 28 Aug 2013 12:28:42 +0000 (08:28 -0400)]
CamelStore: Fix "folder-info-stale" signal comment.
Made the documentation for this signal come out all funky.
Matthew Barnes [Thu, 22 Aug 2013 18:48:11 +0000 (14:48 -0400)]
Add camel_imapx_list_response_dup_attributes().
Returns a GHashTable of mailbox attributes to be used as a set.
Use g_hash_table_contains() and g_hash_table_get_keys() to query
for and list all mailbox attributes, respectively.
Also, internally we now normalize added mailbox attributes to match
the CAMEL_IMAPX_LIST_ATTR_* macros and track them with a GHashTable
instead of a GQueue so duplicates are naturally eliminated.