Milan Crha [Wed, 16 Apr 2014 17:39:55 +0000 (19:39 +0200)]
Bug #727598 - [IMAPX] Fails to list folders without NAMESPACE capability
Milan Crha [Wed, 16 Apr 2014 16:56:10 +0000 (18:56 +0200)]
[IMAPX] Do not expose user credentials in debug logs
And skip trailing \r\n in the io logs as well.
Daniel Mustieles [Tue, 15 Apr 2014 12:17:37 +0000 (14:17 +0200)]
Updated Spanish translation
Matthew Barnes [Sun, 13 Apr 2014 15:01:46 +0000 (11:01 -0400)]
Post-release version bump.
Matthew Barnes [Sun, 13 Apr 2014 14:42:59 +0000 (10:42 -0400)]
NEWS update for 3.12.1 release.
Milan Crha [Fri, 11 Apr 2014 10:45:11 +0000 (12:45 +0200)]
camel-imapx-conn-manager.h/c: Correct LGPL license notices
Milan Crha [Thu, 10 Apr 2014 13:56:27 +0000 (15:56 +0200)]
Always reject revoked certificates
If there is recognized a revoked certificate being used for a secure
connection, then reject the connection immediately, for security reasons.
This behaviour cannot be overwritten with a user's trust.
Milan Crha [Thu, 10 Apr 2014 12:02:59 +0000 (14:02 +0200)]
Bug #722275 - IMAPX: Incorrectly reads astring values (mailbox names)
Milan Crha [Thu, 10 Apr 2014 07:34:36 +0000 (09:34 +0200)]
[IMAPx] Do not open each folder on LIST/LSUB responses
It has sever performance issues, especially with large folders,
which load (part of) the folder summary into memory too.
Milan Crha [Thu, 10 Apr 2014 06:18:02 +0000 (08:18 +0200)]
[IMAPx] Enable concurrent connections
This returns back CamelIMAPXConnManager, and enables use of concurrent
connections with it, which helps with response time of user requests.
Milan Crha [Wed, 9 Apr 2014 10:00:30 +0000 (12:00 +0200)]
Claim missing user name when authenticating
When user's CalDAV/HTTP calendar or WebDAV address book had missing
set login user name, the UI did not show anything useful, the worse
it reasked for a password which were not used at all, because libsoup's
session on the factory side failed in authentication due to runtime
check about non-NULL user name. This makes it return "Authentication
required" error to the UI, instead of asking for the password.
Milan Crha [Wed, 2 Apr 2014 17:12:53 +0000 (19:12 +0200)]
CamelIMAPXServer not shut down properly on network outage
Even the CamelIMAPXStore had the server removed from its references,
the instance had been still alive in the background, when the network
changed and the destination host was unreachable.
Gianvito Cavasoli [Thu, 27 Mar 2014 07:42:54 +0000 (08:42 +0100)]
[l10n] Updated Italian translation.
Milan Crha [Wed, 26 Mar 2014 10:45:13 +0000 (11:45 +0100)]
CamelIMAPXSettings: Real trash/junk path properties leak
Milan Crha [Wed, 26 Mar 2014 07:23:33 +0000 (08:23 +0100)]
Bug #726060 - Password prompt initiated before D-Bus name acquired
Inaki Larranaga Murgoitio [Tue, 25 Mar 2014 19:54:55 +0000 (20:54 +0100)]
Updated Basque language
Gianvito Cavasoli [Tue, 25 Mar 2014 08:45:48 +0000 (09:45 +0100)]
[l10n] Updated Italian translation.
Jiro Matsuzawa [Mon, 24 Mar 2014 20:07:48 +0000 (05:07 +0900)]
l10n: Update Japanese translation
Milan Crha [Mon, 24 Mar 2014 18:39:45 +0000 (19:39 +0100)]
e_source_registry_dup_unique_display_name: Fix a memory leak
g_list_remove_link() doesn't delete the link itself, thus it made
it leaked here.
Philip Withnall [Mon, 24 Mar 2014 15:15:12 +0000 (16:15 +0100)]
Bug #660535 - Google contact groups/categories not showing in category list
This means they should automatically appear in Evolution’s category
selector and editor. Previously, only new groups added manually by
editing a Google contact in Evolution using the category editor were
shown in the list.
Milan Crha [Mon, 24 Mar 2014 14:55:33 +0000 (15:55 +0100)]
Bug #726767 - [imapx] Implement CamelFolder::get_message_cached()
Xavier Claessens [Mon, 24 Mar 2014 14:51:05 +0000 (15:51 +0100)]
Bug #726788 - Crash on malformed vCard
If the vcard is "END:VCARD" then the attribute is added to
the list, then freed. So next time we iterate on attributes it
will read freed memory and crash.
Matthew Barnes [Mon, 24 Mar 2014 12:01:28 +0000 (08:01 -0400)]
Add book migration database for 3.12.
(cherry picked from commit
45afa54dcffdc028256b3c2deaa1619f046a9613)
Milan Crha [Mon, 24 Mar 2014 09:32:01 +0000 (10:32 +0100)]
Update ChangeLog URL
Matthew Barnes [Sun, 23 Mar 2014 01:14:19 +0000 (21:14 -0400)]
Post-release version bump.
Matthew Barnes [Sun, 23 Mar 2014 00:08:15 +0000 (20:08 -0400)]
NEWS update for 3.12.0 release.
Christian Kirbach [Sat, 22 Mar 2014 18:57:55 +0000 (18:57 +0000)]
Updated German translation
Gábor Kelemen [Fri, 21 Mar 2014 15:56:07 +0000 (15:56 +0000)]
Updated Hungarian translation
Milan Crha [Fri, 21 Mar 2014 13:03:34 +0000 (14:03 +0100)]
Bug #726723 - Data loss on a message copy to an IMAPx folder
Ask H. Larsen [Thu, 20 Mar 2014 20:05:55 +0000 (21:05 +0100)]
Updated Danish translation
Milan Crha [Wed, 19 Mar 2014 10:26:37 +0000 (11:26 +0100)]
Bug #726681 - Check GConf XDG folder for migration too
Duarte Loreto [Tue, 18 Mar 2014 23:50:54 +0000 (23:50 +0000)]
Updated Portuguese translation
Мирослав Николић [Mon, 17 Mar 2014 22:21:48 +0000 (23:21 +0100)]
Updated Serbian translation
Matthew Barnes [Sun, 16 Mar 2014 14:06:33 +0000 (10:06 -0400)]
Post-release version bump.
Matthew Barnes [Sun, 16 Mar 2014 13:56:21 +0000 (09:56 -0400)]
NEWS update for 3.11.92 release.
Milan Crha [Fri, 14 Mar 2014 10:21:48 +0000 (11:21 +0100)]
Add missing colon into a developer-documentation comment
Milan Crha [Fri, 14 Mar 2014 09:15:37 +0000 (10:15 +0100)]
e_cal_backend_get_timezone_finish: Do not panic when the timezone cannot be found
When the specific timezone could not be found, the function threw a runtime
warning, and did not set an error, which further in the call made fail also
data_cal_complete_get_timezone_cb(), which has a check for "either have
a timezone object or an error", which finally prevented a correct finish
of the D-Bus call, thus the client side which asked for an unknown timezone
was left stuck, waiting for a response from the server which was not
interested in the call anymore.
This behaviour could lead to a UI freeze, as had been reported at:
https://bugzilla.redhat.com/show_bug.cgi?id=1075461
Matthew Barnes [Thu, 13 Mar 2014 12:51:20 +0000 (08:51 -0400)]
Bug 726204 - Ugly error message when creating Maildir folder fails
Yuri Myasoedov [Wed, 12 Mar 2014 12:41:05 +0000 (16:41 +0400)]
Updated Russian translation
Milan Crha [Tue, 11 Mar 2014 18:41:51 +0000 (19:41 +0100)]
Bug #710633 - EDestination: Remove empty sublists
Milan Crha [Tue, 11 Mar 2014 16:23:15 +0000 (17:23 +0100)]
Bug #711053 - WebDAV: Do not overwrite UID of a contact
Apart of aforementioned fix to not overwrite contact UIDs, this also fixes:
- store href in a new vCard attribute, similar to etag
- possible slowness and busy loop of constant rewrite of a local cache on update
- removal of deleted contacts on the server from local cache
- preserve contact UID on create, if not used already
- be able to get all contacts with e_book_backend_cache_get_contacts()
Matthew Barnes [Mon, 10 Mar 2014 15:27:41 +0000 (11:27 -0400)]
Don't close base stream when destroying a CamelFilterOutputStream.
GFilterOutputStream, from which CamelFilterOutputStream is derived,
defaults to closing its base stream when the instance is finalized.
That makes sense in the general case, but CamelFilterOutputStreams are
usually temporary wrappers on a more permanent base stream, so we need
to remember to override the default "close-base-stream" property value.
I was tempted to just make CamelFilterOutputStream override the default
automatically, but I decided against it because my long term plan is to
drop CamelFilterOutputStream for GConverterOutputStream which also does
not override the "close-base-stream" default. The closer the semantics
of the two classes match, the easier porting will be in the future.
Milan Crha [Mon, 10 Mar 2014 14:04:53 +0000 (15:04 +0100)]
Bug #633177 - Avoid runtime warnings from CamelFolder::cmp_uids() overrides
Rūdolfs Mazurs [Sat, 8 Mar 2014 14:42:05 +0000 (16:42 +0200)]
Updated Latvian translation
Milan Crha [Fri, 7 Mar 2014 11:03:11 +0000 (12:03 +0100)]
Bug #711436 - CalDAV: Ignore ctag on manual Refresh invocation
Milan Crha [Fri, 7 Mar 2014 10:56:19 +0000 (11:56 +0100)]
Fix a compiler warning caused by commit
69e94310 for bug #724626
Matthew Barnes [Thu, 6 Mar 2014 22:10:55 +0000 (17:10 -0500)]
CamelDataWrapper: Add construct_from_input_stream() method.
Takes a GInputStream instead of a CamelStream. This will eventually
replace the construct_from_stream() method.
New functions:
camel_data_wrapper_construct_from_input_stream_sync()
camel_data_wrapper_construct_from_input_stream()
camel_data_wrapper_construct_from_input_stream_finish()
Also adapted subclass methods in:
CamelMimePart
CamelMultipartSigned
Changwoo Ryu [Thu, 6 Mar 2014 17:43:40 +0000 (02:43 +0900)]
Updated Korean translation
Milan Crha [Thu, 6 Mar 2014 11:51:21 +0000 (12:51 +0100)]
Bug #712564 - [GPG] Treat marginal trust the same as unknown
Kjartan Maraas [Wed, 5 Mar 2014 16:58:18 +0000 (17:58 +0100)]
Updated Norwegian bokmål translation
Mateusz Polrola [Wed, 12 Feb 2014 15:06:30 +0000 (16:06 +0100)]
Addressbook: Flushing DBus properties after setting new locale.
DBus signals about change of locale property for given address book are
deferred until all address books will update their locale.
Depending on the number of address books and their size delay between
changing address book's locale property and receiving signal about that
takes about one or two minutes.
Flushing DBus properties after changing locale property of address book
causes immediate emission of DBus signal.
Matthew Barnes [Tue, 4 Mar 2014 13:47:39 +0000 (08:47 -0500)]
CamelIMAPXServer: Copy child setup gunk from CamelStreamProcess.
Matthew Barnes [Mon, 3 Mar 2014 17:06:37 +0000 (12:06 -0500)]
CamelStore: Handle CAMEL_STORE_FOLDER_CREATE flag directly.
camel_store_get_folder_sync() now handles this flag directly by first
calling get_folder_sync(), and on CAMEL_STORE_ERROR_NO_FOLDER it then
calls create_folder_sync() and retries get_folder_sync().
Subclasses will no longer receive a CAMEL_STORE_FOLDER_CREATE flag,
which should simplify things and yield more consistent behavior.
Solves https://bugzilla.gnome.org/724863, although from a different
angle than the way the problem description is written.
Matthew Barnes [Mon, 3 Mar 2014 15:22:45 +0000 (10:22 -0500)]
Deprecate CAMEL_STORE_FOLDER_EXCL.
Fortunately Evolution doesn't use this flag, so we can simply remove
code branches that check for it. I'll remove the flag after 3.12.0.
Matthew Barnes [Mon, 3 Mar 2014 15:17:31 +0000 (10:17 -0500)]
Remove unused CAMEL_STORE_FOLDER_CREATE_EXCL.
Not used, so not going to bump the libcamel soname over it.
Matthew Barnes [Mon, 3 Mar 2014 00:35:03 +0000 (19:35 -0500)]
Post-release version bump.
Matthew Barnes [Mon, 3 Mar 2014 00:27:52 +0000 (19:27 -0500)]
NEWS update for 3.11.91 release.
Matthew Barnes [Mon, 3 Mar 2014 00:22:36 +0000 (19:22 -0500)]
Update API documentation.
Matthew Barnes [Sun, 2 Mar 2014 22:10:13 +0000 (17:10 -0500)]
Miscellaneous cleanups.
Piotr Drąg [Sun, 2 Mar 2014 18:03:33 +0000 (19:03 +0100)]
Updated Polish translation
Tarnyko [Wed, 26 Feb 2014 14:46:30 +0000 (15:46 +0100)]
Replace 'interface' with 'iface' in the code
Win32 headers have a #define for 'interface', which breaks the build when
this word is used in the code, thus replace it to 'iface', the same way
as GLib or GTK+ code use to have it.
Murray Cumming [Tue, 25 Feb 2014 15:14:29 +0000 (16:14 +0100)]
Bug #710997 - Check some return values before use
Check that some return values are not NULL before using them,
in functions that do not check, such as strcmp(), or before
dereferencing.
Arfrever Frehtes Taifersar Arahesis [Tue, 25 Feb 2014 15:04:47 +0000 (16:04 +0100)]
Bug #705028 - gen-western-table.py is not compatible with python3
Milan Crha [Tue, 25 Feb 2014 13:46:04 +0000 (14:46 +0100)]
Bug #623066 - CalDAV doesn't read Location header from Created response
Milan Crha [Mon, 24 Feb 2014 11:51:07 +0000 (12:51 +0100)]
cfs_reload_from_db: CamelSession can be NULL when the folder is in dispose
Milan Crha [Mon, 24 Feb 2014 07:18:29 +0000 (08:18 +0100)]
camel_imapx_logger_get_prefix: Fix a compiler warning
Piotr Drąg [Sun, 23 Feb 2014 17:02:02 +0000 (18:02 +0100)]
Updated POTFILES.in
Matthew Barnes [Fri, 21 Feb 2014 22:24:28 +0000 (17:24 -0500)]
Remove CamelIMAPXStream.
No longer used. We use CamelIMAPXInputStream now.
Matthew Barnes [Thu, 6 Feb 2014 20:51:04 +0000 (15:51 -0500)]
Add CamelIMAPXInputStream.
Replaces the input side of CamelIMAPXStream.
Currently derived from only GFilterInputStream to keep the code changes
to a minimum until I can verify this works, but eventually would like to
derive from GDataInputStream for reading and buffering whole lines.
Unfortunately this requires switching all of IMAPX over at once, so this
is a rather large commit.
Matthew Barnes [Wed, 5 Feb 2014 19:21:37 +0000 (14:21 -0500)]
Add camel_imapx_stream_nstring_bytes().
Replaces camel_imapx_stream_nstring_stream().
Produces a GBytes instead of a CamelStreamMem. GBytes works better
than GOutputStream would because it can be reused without seeking to
the beginning.
This basically converts message fetching to use GIO streams directly.
Matthew Barnes [Tue, 4 Feb 2014 17:38:04 +0000 (12:38 -0500)]
Add CamelIMAPXLogger.
This is a GConverter that just echos data to standard output if the I/O
debugging setting is enabled ('CAMEL_DEBUG=imapx:io'). Attaches to the
GInputStream and GOutputStream.
Matthew Barnes [Thu, 23 Jan 2014 15:48:33 +0000 (10:48 -0500)]
IMAPX: Use GOutputStream instead of CamelStream.
This is the easier case. Input streams need to be buffered and parsed.
Matthew Barnes [Thu, 23 Jan 2014 12:27:52 +0000 (07:27 -0500)]
IMAPX: Populate the input and output streams.
Still not used yet, but they're set now. Will need to wrapper the
input stream in a custom GBufferedInputStream subclass for parsing.
Matthew Barnes [Thu, 23 Jan 2014 11:56:28 +0000 (06:56 -0500)]
IMAPX: Add camel_imapx_server_ref_output_stream().
Returns the GOutputStream for a CamelIMAPXServer, which is owned by
either a GTcpConnection or a GSubprocess.
The function doesn't actually return anything yet; just roughing in
the API. Will make it work in subsequent commits.
Matthew Barnes [Thu, 23 Jan 2014 12:01:25 +0000 (07:01 -0500)]
IMAPX: Add camel_imapx_server_ref_input_stream().
Returns the GInputStream for a CamelIMAPXServer, which is owned by
either a GTcpConnection or a GSubprocess.
The function doesn't actually return anything yet; just roughing in
the API. Will make it work in subsequent commits.
Matthew Barnes [Wed, 22 Jan 2014 19:00:28 +0000 (14:00 -0500)]
IMAPX: Use GSubprocess to implement the shell-command setting.
GSubprocess returns separate input/output streams for stdout/stdin,
and therefore can't be wrapped in a CamelStream. So this (hidden)
feature is broken until I can fully port IMAPX to GIO streams.
Also, GSubprocess is only available in GLib 2.39, so attempts to
use this feature with an older GLib will fail with a helpful error
message.
Matthew Barnes [Mon, 27 Jan 2014 15:46:01 +0000 (10:46 -0500)]
CamelDataWrapper: Add GOutputStream-based methods.
These will eventually replace their CamelStream-based counterparts.
New functions:
camel_data_wrapper_write_to_output_stream_sync()
camel_data_wrapper_write_to_output_stream()
camel_data_wrapper_write_to_output_stream_finish()
camel_data_wrapper_decode_to_output_stream_sync()
camel_data_wrapper_decode_to_output_stream()
camel_data_wrapper_decode_to_output_stream_finish()
Also added/adapted subclass methods in:
CamelMimeMessage
CamelMimePart
CamelMultipart
CamelMultipartSigned
Aurimas Černius [Fri, 21 Feb 2014 20:27:57 +0000 (22:27 +0200)]
Updated Lithuanian translation
Milan Crha [Fri, 21 Feb 2014 12:21:13 +0000 (13:21 +0100)]
Introduce camel_debug_get_backtrace()
Just for easier debugging and reuse of a code. This might not
be used in a production code.
Milan Crha [Thu, 20 Feb 2014 13:32:45 +0000 (14:32 +0100)]
Fix a memory leak in imapx_untagged_lsub()
Forgotten unref of a 'response' variable.
Milan Crha [Thu, 20 Feb 2014 10:34:03 +0000 (11:34 +0100)]
Bug #724729 - camel-folder.c:folder_changed() blocks the UI thread
Milan Crha [Wed, 19 Feb 2014 17:43:44 +0000 (18:43 +0100)]
[Weather Calendar] Weather info source never freed
The priv->source was allocated, but never freed, especially after
the weather backend was freed, which might cause use-after-free
in the finished_retrieval_cb() callback, when the weather backend
was freed during the data update.
This might be the cause of a crash reported at:
https://bugzilla.redhat.com/show_bug.cgi?id=1065796
Milan Crha [Wed, 19 Feb 2014 11:57:49 +0000 (12:57 +0100)]
Bug #274316 - [IMAP] Follow-up flag lost on message move/copy
This applies to any only-locally-stored flags (user tags) on a message.
Milan Crha [Tue, 18 Feb 2014 13:12:04 +0000 (14:12 +0100)]
Bug #694084 - IMAPx doesn't stick Labels
Matthew Barnes [Mon, 17 Feb 2014 00:57:23 +0000 (19:57 -0500)]
Post-release version bump.
Matthew Barnes [Mon, 17 Feb 2014 00:24:52 +0000 (19:24 -0500)]
NEWS update for 3.11.90 release.
Matthew Barnes [Mon, 17 Feb 2014 00:49:04 +0000 (19:49 -0500)]
Update API documentation.
Yuri Myasoedov [Sun, 16 Feb 2014 04:55:12 +0000 (08:55 +0400)]
Fixed Russian translation
Milan Crha [Fri, 14 Feb 2014 11:05:31 +0000 (12:05 +0100)]
Bug #724343 - Moving emails between IMAP server results in wrong date
Matthew Barnes [Thu, 13 Feb 2014 19:49:17 +0000 (14:49 -0500)]
Add a 'secret-monitor' module.
Similar to 'cache-reaper', this periodically scans the set of cached EDS
passwords and deletes those that have no corresponding ESource. It also
updates the password item's label based on the ESource's display name in
case the user renamed the ESource.
Matthew Barnes [Thu, 13 Feb 2014 20:39:53 +0000 (15:39 -0500)]
Add e_source_dup_secret_label().
Creates a label string based on the ESource's display name for use with
SecretItem.
Milan Crha [Thu, 13 Feb 2014 18:18:37 +0000 (19:18 +0100)]
Bug #720529 - Merge RFC2047 encoded words before ensuring UTF-8 validity
Matthew Barnes [Thu, 13 Feb 2014 15:03:23 +0000 (10:03 -0500)]
EAuthenticationSession: Remove an unneeded #include.
Kjartan Maraas [Thu, 13 Feb 2014 07:16:45 +0000 (08:16 +0100)]
Updated Norwegian bokmål translation
Matthew Barnes [Tue, 11 Feb 2014 23:39:14 +0000 (18:39 -0500)]
ESource: Add functions for password management.
Replaces the EAuthenticationSession password functions.
Makes password management more accessible. There's been cases where I
wanted to access the keyring from clients or just outside of the normal
authenication workflow, and had to copy the schema for EDS passwords.
All that's needed from the ESource is its UID, so these functions can be
called on unsubmitted "scratch" sources as well as registered sources.
This will make it possible to accept a password during account creation
and preemptively store it in the keyring to avoid a system modal dialog
when first connecting.
New functions:
e_source_store_password_sync()
e_source_store_password()
e_source_store_password_finish()
e_source_lookup_password_sync()
e_source_lookup_password()
e_source_lookup_password_finish()
e_source_delete_password_sync()
e_source_delete_password()
e_source_delete_password_finish()
Matthew Barnes [Tue, 11 Feb 2014 23:38:49 +0000 (18:38 -0500)]
ESource: Nit-picky documentation tweak.
Milan Crha [Wed, 12 Feb 2014 10:40:44 +0000 (11:40 +0100)]
Bug #719806 - [IMAP+] Empty trash doesn't work with a real trash folder
Matthew Barnes [Mon, 10 Feb 2014 20:21:01 +0000 (15:21 -0500)]
Bug 723539 - Use SmtpAuth* properties from org.gnome.OnlineAccounts.Mail
GOA 3.11.5 now tells us which SMTP authentication mechanisms to use, so
we no longer have to hardcode a guess which is always wrong for someone.
Current options are: LOGIN, PLAIN, XOAUTH2
Fabiano Fidêncio [Mon, 3 Feb 2014 16:03:26 +0000 (17:03 +0100)]
Bug #655806 - Folder deletion is very slow
Claude Paroz [Sat, 8 Feb 2014 15:50:31 +0000 (16:50 +0100)]
Updated French translation