platform/upstream/evolution-data-server.git
10 years agoPost-release version bump.
Matthew Barnes [Sun, 16 Mar 2014 14:06:33 +0000 (10:06 -0400)]
Post-release version bump.

10 years agoNEWS update for 3.11.92 release.
Matthew Barnes [Sun, 16 Mar 2014 13:56:21 +0000 (09:56 -0400)]
NEWS update for 3.11.92 release.

10 years agoAdd missing colon into a developer-documentation comment
Milan Crha [Fri, 14 Mar 2014 10:21:48 +0000 (11:21 +0100)]
Add missing colon into a developer-documentation comment

10 years agoe_cal_backend_get_timezone_finish: Do not panic when the timezone cannot be found
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

10 years agoBug 726204 - Ugly error message when creating Maildir folder fails
Matthew Barnes [Thu, 13 Mar 2014 12:51:20 +0000 (08:51 -0400)]
Bug 726204 - Ugly error message when creating Maildir folder fails

10 years agoUpdated Russian translation
Yuri Myasoedov [Wed, 12 Mar 2014 12:41:05 +0000 (16:41 +0400)]
Updated Russian translation

10 years agoBug #710633 - EDestination: Remove empty sublists
Milan Crha [Tue, 11 Mar 2014 18:41:51 +0000 (19:41 +0100)]
Bug #710633 - EDestination: Remove empty sublists

10 years agoBug #711053 - WebDAV: Do not overwrite UID of a contact
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()

10 years agoDon't close base stream when destroying a CamelFilterOutputStream.
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.

10 years agoBug #633177 - Avoid runtime warnings from CamelFolder::cmp_uids() overrides
Milan Crha [Mon, 10 Mar 2014 14:04:53 +0000 (15:04 +0100)]
Bug #633177 - Avoid runtime warnings from CamelFolder::cmp_uids() overrides

10 years agoUpdated Latvian translation
Rūdolfs Mazurs [Sat, 8 Mar 2014 14:42:05 +0000 (16:42 +0200)]
Updated Latvian translation

10 years agoBug #711436 - CalDAV: Ignore ctag on manual Refresh invocation
Milan Crha [Fri, 7 Mar 2014 11:03:11 +0000 (12:03 +0100)]
Bug #711436 - CalDAV: Ignore ctag on manual Refresh invocation

10 years agoFix a compiler warning caused by commit 69e94310 for bug #724626
Milan Crha [Fri, 7 Mar 2014 10:56:19 +0000 (11:56 +0100)]
Fix a compiler warning caused by commit 69e94310 for bug #724626

10 years agoCamelDataWrapper: Add construct_from_input_stream() method.
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

10 years agoUpdated Korean translation
Changwoo Ryu [Thu, 6 Mar 2014 17:43:40 +0000 (02:43 +0900)]
Updated Korean translation

10 years agoBug #712564 - [GPG] Treat marginal trust the same as unknown
Milan Crha [Thu, 6 Mar 2014 11:51:21 +0000 (12:51 +0100)]
Bug #712564 - [GPG] Treat marginal trust the same as unknown

10 years agoUpdated Norwegian bokmål translation
Kjartan Maraas [Wed, 5 Mar 2014 16:58:18 +0000 (17:58 +0100)]
Updated Norwegian bokmål translation

10 years agoAddressbook: Flushing DBus properties after setting new locale.
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.

10 years agoCamelIMAPXServer: Copy child setup gunk from CamelStreamProcess.
Matthew Barnes [Tue, 4 Mar 2014 13:47:39 +0000 (08:47 -0500)]
CamelIMAPXServer: Copy child setup gunk from CamelStreamProcess.

10 years agoCamelStore: Handle CAMEL_STORE_FOLDER_CREATE flag directly.
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.

10 years agoDeprecate CAMEL_STORE_FOLDER_EXCL.
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.

10 years agoRemove unused CAMEL_STORE_FOLDER_CREATE_EXCL.
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.

10 years agoPost-release version bump.
Matthew Barnes [Mon, 3 Mar 2014 00:35:03 +0000 (19:35 -0500)]
Post-release version bump.

10 years agoNEWS update for 3.11.91 release.
Matthew Barnes [Mon, 3 Mar 2014 00:27:52 +0000 (19:27 -0500)]
NEWS update for 3.11.91 release.

10 years agoUpdate API documentation.
Matthew Barnes [Mon, 3 Mar 2014 00:22:36 +0000 (19:22 -0500)]
Update API documentation.

10 years agoMiscellaneous cleanups.
Matthew Barnes [Sun, 2 Mar 2014 22:10:13 +0000 (17:10 -0500)]
Miscellaneous cleanups.

10 years agoUpdated Polish translation
Piotr Drąg [Sun, 2 Mar 2014 18:03:33 +0000 (19:03 +0100)]
Updated Polish translation

10 years agoReplace 'interface' with 'iface' in the code
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.

10 years agoBug #710997 - Check some return values before use
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.

10 years agoBug #705028 - gen-western-table.py is not compatible with python3
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

10 years agoBug #623066 - CalDAV doesn't read Location header from Created response
Milan Crha [Tue, 25 Feb 2014 13:46:04 +0000 (14:46 +0100)]
Bug #623066 - CalDAV doesn't read Location header from Created response

10 years agocfs_reload_from_db: CamelSession can be NULL when the folder is in dispose
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

10 years agocamel_imapx_logger_get_prefix: Fix a compiler warning
Milan Crha [Mon, 24 Feb 2014 07:18:29 +0000 (08:18 +0100)]
camel_imapx_logger_get_prefix: Fix a compiler warning

10 years agoUpdated POTFILES.in
Piotr Drąg [Sun, 23 Feb 2014 17:02:02 +0000 (18:02 +0100)]
Updated POTFILES.in

10 years agoRemove CamelIMAPXStream.
Matthew Barnes [Fri, 21 Feb 2014 22:24:28 +0000 (17:24 -0500)]
Remove CamelIMAPXStream.

No longer used.  We use CamelIMAPXInputStream now.

10 years agoAdd CamelIMAPXInputStream.
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.

10 years agoAdd camel_imapx_stream_nstring_bytes().
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.

10 years agoAdd CamelIMAPXLogger.
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.

10 years agoIMAPX: Use GOutputStream instead of CamelStream.
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.

10 years agoIMAPX: Populate the input and output streams.
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.

10 years agoIMAPX: Add camel_imapx_server_ref_output_stream().
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.

10 years agoIMAPX: Add camel_imapx_server_ref_input_stream().
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.

10 years agoIMAPX: Use GSubprocess to implement the shell-command setting.
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.

10 years agoCamelDataWrapper: Add GOutputStream-based methods.
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

10 years agoUpdated Lithuanian translation
Aurimas Černius [Fri, 21 Feb 2014 20:27:57 +0000 (22:27 +0200)]
Updated Lithuanian translation

10 years agoIntroduce camel_debug_get_backtrace()
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.

10 years agoFix a memory leak in imapx_untagged_lsub()
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.

10 years agoBug #724729 - camel-folder.c:folder_changed() blocks the UI thread
Milan Crha [Thu, 20 Feb 2014 10:34:03 +0000 (11:34 +0100)]
Bug #724729 - camel-folder.c:folder_changed() blocks the UI thread

10 years ago[Weather Calendar] Weather info source never freed
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

10 years agoBug #274316 - [IMAP] Follow-up flag lost on message move/copy
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.

10 years agoBug #694084 - IMAPx doesn't stick Labels
Milan Crha [Tue, 18 Feb 2014 13:12:04 +0000 (14:12 +0100)]
Bug #694084 - IMAPx doesn't stick Labels

10 years agoPost-release version bump.
Matthew Barnes [Mon, 17 Feb 2014 00:57:23 +0000 (19:57 -0500)]
Post-release version bump.

10 years agoNEWS update for 3.11.90 release.
Matthew Barnes [Mon, 17 Feb 2014 00:24:52 +0000 (19:24 -0500)]
NEWS update for 3.11.90 release.

10 years agoUpdate API documentation.
Matthew Barnes [Mon, 17 Feb 2014 00:49:04 +0000 (19:49 -0500)]
Update API documentation.

10 years agoFixed Russian translation
Yuri Myasoedov [Sun, 16 Feb 2014 04:55:12 +0000 (08:55 +0400)]
Fixed Russian translation

10 years agoBug #724343 - Moving emails between IMAP server results in wrong date
Milan Crha [Fri, 14 Feb 2014 11:05:31 +0000 (12:05 +0100)]
Bug #724343 - Moving emails between IMAP server results in wrong date

10 years agoAdd a 'secret-monitor' module.
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.

10 years agoAdd e_source_dup_secret_label().
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.

10 years agoBug #720529 - Merge RFC2047 encoded words before ensuring UTF-8 validity
Milan Crha [Thu, 13 Feb 2014 18:18:37 +0000 (19:18 +0100)]
Bug #720529 - Merge RFC2047 encoded words before ensuring UTF-8 validity

10 years agoEAuthenticationSession: Remove an unneeded #include.
Matthew Barnes [Thu, 13 Feb 2014 15:03:23 +0000 (10:03 -0500)]
EAuthenticationSession: Remove an unneeded #include.

10 years agoUpdated Norwegian bokmål translation
Kjartan Maraas [Thu, 13 Feb 2014 07:16:45 +0000 (08:16 +0100)]
Updated Norwegian bokmål translation

10 years agoESource: Add functions for password management.
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()

10 years agoESource: Nit-picky documentation tweak.
Matthew Barnes [Tue, 11 Feb 2014 23:38:49 +0000 (18:38 -0500)]
ESource: Nit-picky documentation tweak.

10 years agoBug #719806 - [IMAP+] Empty trash doesn't work with a real trash folder
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

10 years agoBug 723539 - Use SmtpAuth* properties from org.gnome.OnlineAccounts.Mail
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

10 years agoBug #655806 - Folder deletion is very slow
Fabiano Fidêncio [Mon, 3 Feb 2014 16:03:26 +0000 (17:03 +0100)]
Bug #655806 - Folder deletion is very slow

10 years agoUpdated French translation
Claude Paroz [Sat, 8 Feb 2014 15:50:31 +0000 (16:50 +0100)]
Updated French translation

10 years agoAdd camel_mime_parser_init_with_bytes().
Matthew Barnes [Thu, 6 Feb 2014 18:03:12 +0000 (13:03 -0500)]
Add camel_mime_parser_init_with_bytes().

Convenience function creates a GMemoryInputStream from a GBytes
and hands it off to camel_mime_parser_init_with_input_stream().

10 years agoBug #720751 - camel_tag_set() doesn't copy tag's name properly
Milan Crha [Thu, 6 Feb 2014 17:20:03 +0000 (18:20 +0100)]
Bug #720751 - camel_tag_set() doesn't copy tag's name properly

10 years agoimapx_call_idle: Do not print Cancelled errors on console
Milan Crha [Thu, 6 Feb 2014 12:00:47 +0000 (13:00 +0100)]
imapx_call_idle: Do not print Cancelled errors on console

10 years agoReimplement camel_mime_parser_init_with_fd().
Matthew Barnes [Wed, 5 Feb 2014 21:50:19 +0000 (16:50 -0500)]
Reimplement camel_mime_parser_init_with_fd().

Now creates a GUnixInputStream and hands it off to
camel_mime_parser_init_with_input_stream().

Removed functions:

  camel_mime_parser_fd()

10 years agoAdd camel_mime_parser_init_with_input_stream().
Matthew Barnes [Wed, 5 Feb 2014 21:40:38 +0000 (16:40 -0500)]
Add camel_mime_parser_init_with_input_stream().

Similar to camel_mime_parser_init_with_stream(), but takes a
GInputStream instead of a CamelStream.

10 years agoBug #720940 - Always asked to synchronize folders when going offline
Milan Crha [Wed, 5 Feb 2014 16:58:59 +0000 (17:58 +0100)]
Bug #720940 - Always asked to synchronize folders when going offline

10 years agoESource changes not always written to a disk
Milan Crha [Wed, 5 Feb 2014 12:56:02 +0000 (13:56 +0100)]
ESource changes not always written to a disk

This is a regression after my commit 294ec486b3bcb82192844fba07a642a789d19e25,
but if you look few lines above, how the save-to-disk works, then it's obvious
that this could easily break. The actual problem here was that if there didn't
change any of loaded extensions, then the source didn't change, due to avoided
test of changes on unloaded extensions, which wasn't a problem before the above
cited commit, because the code relied on false 'changed' notifications.

10 years agoBug #721030 - WebDAV: download_contacts() leaks
Michel Dänzer [Tue, 4 Feb 2014 18:37:20 +0000 (19:37 +0100)]
Bug #721030 - WebDAV: download_contacts() leaks

10 years agoimapx_query_auth_types_sync: Remove offline check.
Matthew Barnes [Mon, 3 Feb 2014 16:54:53 +0000 (11:54 -0500)]
imapx_query_auth_types_sync: Remove offline check.

Let the operation fail naturally when the IMAP server isn't reachable.

10 years agoSimplify imapx_query_auth_types_sync().
Matthew Barnes [Mon, 3 Feb 2014 16:43:13 +0000 (11:43 -0500)]
Simplify imapx_query_auth_types_sync().

A new CamelIMAPXServer instance is not connected, so no need to
check for it.  Must be leftover logic from CamelIMAPXConnManager.

10 years agoBug #720676 - [IMAPX] Do more searching server-side (take ][)
Milan Crha [Mon, 3 Feb 2014 14:31:30 +0000 (15:31 +0100)]
Bug #720676 - [IMAPX] Do more searching server-side (take ][)

The first patch caused server-side searching also for cases where all
data were available locally, which made searching slower. This tests
first if everything in match-all is available locally, and if so, then
it uses local search, rather than the server side.

10 years agoBug 723481 - Wrong callback signature in imapx_process_read_to_read()
Matthew Barnes [Mon, 3 Feb 2014 13:23:03 +0000 (08:23 -0500)]
Bug 723481 - Wrong callback signature in imapx_process_read_to_read()

Didn't realize UNIX file descriptor GSources use a special callback
signature.  Could be better documented in g_unix_fd_source_new().

10 years agoupdated kn.po
Shankar Prasad [Mon, 3 Feb 2014 12:08:02 +0000 (17:38 +0530)]
updated kn.po

10 years agoPost-release version bump.
Matthew Barnes [Sun, 2 Feb 2014 17:36:18 +0000 (12:36 -0500)]
Post-release version bump.

10 years agoNEWS update for 3.11.5 release.
Matthew Barnes [Sun, 2 Feb 2014 17:29:11 +0000 (12:29 -0500)]
NEWS update for 3.11.5 release.

10 years agoUpdate API documentation.
Matthew Barnes [Sun, 2 Feb 2014 17:31:50 +0000 (12:31 -0500)]
Update API documentation.

10 years agoBug 719583 - Get a ESourceRegistry singleton
Xavier Claessens [Sun, 2 Feb 2014 14:53:29 +0000 (09:53 -0500)]
Bug 719583 - Get a ESourceRegistry singleton

10 years agoUpdated Traditional Chinese translation(Hong Kong and Taiwan)
Chao-Hsiung Liao [Sun, 2 Feb 2014 12:07:00 +0000 (20:07 +0800)]
Updated Traditional Chinese translation(Hong Kong and Taiwan)

10 years agomaildir_store_get_folder_sync: Fix a use-after-free issue
Milan Crha [Fri, 31 Jan 2014 12:20:00 +0000 (13:20 +0100)]
maildir_store_get_folder_sync: Fix a use-after-free issue

10 years agoAdd CamelNullOutputStream.
Matthew Barnes [Thu, 30 Jan 2014 17:33:11 +0000 (12:33 -0500)]
Add CamelNullOutputStream.

GOutputStream subclass to eventually replace CamelStreamNull.

10 years agoIMAPX: Remove unused CAMEL_IMAPX_COMMAND_STREAM option.
Matthew Barnes [Thu, 30 Jan 2014 14:35:48 +0000 (09:35 -0500)]
IMAPX: Remove unused CAMEL_IMAPX_COMMAND_STREAM option.

99% sure this is unused.  Or at least can't find any cases of "%S" in
CamelIMAPXCommand format strings.

10 years agoBug #721286 - IMAPx: read messages become unread when reopening Evolution ][
Milan Crha [Wed, 29 Jan 2014 18:54:44 +0000 (19:54 +0100)]
Bug #721286 - IMAPx: read messages become unread when reopening Evolution ][

Found one more issue when testing the same change for gnome-3-10:

d) do not use CamelOperation in the parser thread, because it can be
   cancelled at an application end with camel_operation_cancel_all() call,
   which is done too early, before any pending jobs are properly finished
   (it can be IDLE job, or save of folder changes back to the server)

10 years agoBug #721286 - IMAPx: read messages become unread when reopening Evolution
Milan Crha [Wed, 29 Jan 2014 11:50:57 +0000 (12:50 +0100)]
Bug #721286 - IMAPx: read messages become unread when reopening Evolution

Couple things changed here:

a) the camel_folder_summary_get_changed() could return list of changed
   messages only if they were loaded in memory, which is not correct - I
   think it's part of the issue why it failed

b) it could happen that imapx_server_sync_changes() was called to save some
   changes, but then didn't change anything; in such cases, messages marked
   as locally changed were never unmarked, which led to false tests; I added
   a function to unmark the messages as locally changed (this can cause slow
   close of evolution for the first time, due to unsetting of the flag, but
   later ends are fine)

c) state of the message flags on the server is the master state, except of
   the state where locally stored info is marked as locally changed. This
   allows to show proper state of messages on the server (it is influenced
   by a) and b) too, so it might take up to two evolution starts to get
   the same view in evolution as is the state on the server).

10 years agocamel_flag_list_copy: Avoid false 'changed' notifications
Milan Crha [Tue, 28 Jan 2014 14:25:54 +0000 (15:25 +0100)]
camel_flag_list_copy: Avoid false 'changed' notifications

The function, as written, returned that the destination list
changed even in cases where both flag lists were empty. This
made for example IMAPx report that each message in a folder
hanged, even there did not change any.

10 years agoimapx_write_flags: Fix a typo which flag to skip
Milan Crha [Mon, 27 Jan 2014 12:50:37 +0000 (13:50 +0100)]
imapx_write_flags: Fix a typo which flag to skip

The code was surely trying to avoid writing CAMEL_IMAPX_MESSAGE_RECENT
flag back to the server, but the actual behaviour was that each flag
had been ignored, if the CAMEL_IMAPX_MESSAGE_RECENT was set.
This could have an effect of copied read message being marked as unread
in the destination IMAPx folder.

10 years ago[Esource] Do not set properties on load which did not change
Milan Crha [Fri, 24 Jan 2014 16:39:45 +0000 (17:39 +0100)]
[Esource] Do not set properties on load which did not change

When calling g_object_set(), g_object_set_property() and similar
set functions, the GObject itself notifies about the property change,
even if the value didn't change at all. This was exhibited by false
notifications when (re)loading ESource on a change on all its saved
properties, which, in particular, was causing bug #722399.

10 years agoUpdate Chinese simplified translation
Wylmer Wang [Fri, 24 Jan 2014 13:18:33 +0000 (21:18 +0800)]
Update Chinese simplified translation

10 years agoBug #720943 - vFolder does not refresh automatically
Milan Crha [Thu, 23 Jan 2014 12:41:37 +0000 (13:41 +0100)]
Bug #720943 - vFolder does not refresh automatically

10 years agoAssamese translation updated
Nilamdyuti Goswami [Wed, 22 Jan 2014 16:18:46 +0000 (21:48 +0530)]
Assamese translation updated

10 years agoBug 722275 - IMAPX: Parser trips on mailbox containing '+'
Matthew Barnes [Wed, 22 Jan 2014 13:56:08 +0000 (08:56 -0500)]
Bug 722275 - IMAPX: Parser trips on mailbox containing '+'

Mailbox names containing a '+' character were tripping up the parser due
to it being treated as one of a special set of characters to distinguish
identifiers from IMAP syntax.  But I don't think '+' is necessary in the
set of characters.  For continuations, at least, it should always follow
a newline character, with is also a special character.

10 years agoIMAPX: Remove some unused character macros.
Matthew Barnes [Tue, 21 Jan 2014 16:53:47 +0000 (11:53 -0500)]
IMAPX: Remove some unused character macros.

10 years agoBug #702709 - Do network background operations only if the CamelSession is online
Milan Crha [Tue, 21 Jan 2014 11:45:56 +0000 (12:45 +0100)]
Bug #702709 - Do network background operations only if the CamelSession is online

This may prevent any network background operations, when associated
CamelSession is offline, like when the machine gets suspended or is
just resumed.

10 years ago[CamelGPGContext] Prefer gpg2 over gpg
Milan Crha [Tue, 21 Jan 2014 07:21:18 +0000 (08:21 +0100)]
[CamelGPGContext] Prefer gpg2 over gpg

If there is a newer version installed, then use it, rather than
the old.