WIP implementation to include forwarded messages in conversation.
There's two parts to this: First, add a References header to the
forwarded messages for the conversation they are a part of. Second, check
for matching references when querying for related messages, in addition
to in-reply-to.
This would all be well and good, except that since the References header
is a list of message ids, but it is stored in the DB as a single string,
the query has to be a substring match, which is horrifically slow.
This WIP adds an index, but it doesn't help, since SQLite only uses the
index if using GLOB or case-insensitiive ILIKE, and only if there is no
wild card at the start of the string, which we need to do. So the correct
solution would be to split the References header into its own table.
Fix infinite loop when sending long space-stuffed line. Bug 768642.
* src/client/util/util-webkit.vala (Util.DOM.html_to_flowed_text): If a
line is space-stuffed, ignore the stuffing space when determining where
to break the line.
Fix crash when parsing unknown accout info service provider. Bug 713985.
* src/engine/api/geary-service-provider.vala
(ServiceProvider::from_string): Throw an error rather than an assert
when the provided string is not found.
Don't try to load accounts with missing or broken config files. Bug 714044.
* src/engine/api/geary-account-information.vala (AccountInformation):
Move settings defaults for all properties to their declarations. Add a
new internal ctor for creating new accounts that does not attempt to
load from the config file. Update AccountInformation.from_file to
actually throw an error if one occurs.
* src/engine/api/geary-engine.vala (Engine::add_existing_accounts_async):
Catch error loading config and print a warning rather than adding the
account.
(Engine::create_orphan_account): Use new ctor for creating a blank
account.