Commit graph

4717 commits

Author SHA1 Message Date
Michael Gratton
0b734f7ba2 Don't load all engine contacts on startup
Prepare for doing composer autocomplete via queries by not loading all
contacts at startup in the engine. Update Geary.ContactStore API to that
end, and convert Geary.Account.get_contact_store accessor method to a
property.
2019-06-13 16:28:35 +10:00
Michael Gratton
304377c787 Merge branch 'wip/spellcheck-subject' into 'mainline'
Spellcheck composer subject

See merge request GNOME/geary!240
2019-05-24 13:10:08 +00:00
Michael Gratton
bb872b28e4 Add support for spell checking the subject line 2019-05-24 14:29:41 +02:00
Michael Gratton
4dd08389df Add Gspell to dependencies and the build 2019-05-24 14:29:41 +02:00
Michael Gratton
10af58a5f1 Merge branch 'wip/default-spellcheck-lang' into 'mainline'
Enable a spellcheck language by default

Closes #443

See merge request GNOME/geary!239
2019-05-24 10:55:09 +00:00
Michael Gratton
0eb9fdb934 Merge branch 'wip/fix-warnings' into 'mainline'
Fix misc warnings

See merge request GNOME/geary!238
2019-05-24 10:53:28 +00:00
Michael Gratton
1de61ca4e7 Clean up SpellCheckPopover to avoid accessing config as much 2019-05-24 12:37:19 +02:00
Michael Gratton
f27f2fb91f Try harder to ensure a spell checker is enabled by default
When no spell checker langauges are explicitly set, use the set of
preferred languages for spell checking. Make spell-check-languages
setting nullable so we can differenciate between "use default"
and "disable spellchecking".
2019-05-24 12:37:19 +02:00
Michael Gratton
adea4618d6 Add some doc comments for Util.International functions 2019-05-24 12:37:19 +02:00
Michael Gratton
275c585d37 Put International package under Util per naming convention. 2019-05-24 12:37:19 +02:00
Michael Gratton
3fb74e6e56 Fix valac warning 2019-05-24 12:30:12 +02:00
Michael Gratton
d56aa10ff6 Fix valadoc issues 2019-05-24 12:30:12 +02:00
Rafael Fontenelle
3718856df4 Update Brazilian Portuguese translation 2019-05-23 15:13:50 +00:00
Michael Gratton
b4e3835434 Merge branch 'controler_locking' into 'mainline'
Correct locking in create_controler

See merge request GNOME/geary!237
2019-05-23 12:49:14 +00:00
Jiří Černý
246bb3ce2a Cleanup to meet source code conventions 2019-05-23 08:04:51 +02:00
Michael Gratton
38fc410776 Merge branch 'wip/426-hidden-broken' into 'mainline'
Ensure running with --hidden doesn't open a window

See merge request GNOME/geary!233
2019-05-22 21:13:07 +00:00
Michael Gratton
42203093cb Merge branch 'fix-misspellings' into 'mainline'
Fix misspellings

See merge request GNOME/geary!234
2019-05-22 20:47:09 +00:00
Rafael Fontenelle
2509c5c4f0 Fix misspellings 2019-05-22 20:47:08 +00:00
Michael Gratton
d7109462f4 Merge branch 'mWork' into 'mainline'
manifest: Update libical version

See merge request GNOME/geary!236
2019-05-22 19:22:09 +00:00
Jiří Černý
42dfba9b00 Correct locking in create_controler
Replace lock() which works only between threads, by geary internal
mutex, which works between async functions.
2019-05-22 16:09:09 +02:00
Mario Ravalli
83f4365fa0 manifest: Update libical version
Latest E-D-S requires a newer version, so the build is failing for
missing dependency (thank's to Niels De Graef)
2019-05-21 18:14:43 +02:00
Rodrigo Lledó
7026e0d0ab Update Spanish translation 2019-05-17 08:16:34 +00:00
Michael Gratton
0ede9187d2 Ensure running with --hidden doesn't open a window 2019-05-10 18:33:33 +10:00
Emin Tufan Çetin
92fe3f8f88 Update Turkish translation 2019-05-07 07:52:03 +00:00
Michael Gratton
f01e4135a8 Merge branch 'autocomplete_commas' into 'mainline'
Only add a trailing comma when appending to the end of the address list

See merge request GNOME/geary!227
2019-05-04 03:36:49 +00:00
Michael Gratton
57b7c5d06a Merge branch 'syntax-highlight-meson.build' into 'mainline'
.gitattributes: add syntax highlight for meson.build in Web UI

See merge request GNOME/geary!228
2019-04-30 12:01:48 +00:00
Konstantin Kharlamov
b0fe301226 .gitattributes: add syntax highlight for meson.build in Web UI
Signed-off-by: Konstantin Kharlamov <Hi-Angel@yandex.ru>
2019-04-30 10:40:42 +03:00
Alex Henrie
2d7f8f199e Only add a trailing comma when appending to the end of the address list 2019-04-29 20:31:46 -06:00
Piotr Drąg
34b76f77ef Update Polish translation 2019-04-28 16:22:32 +02:00
Michael Gratton
0e660643b7 Bump version for 3.33.1 2019-04-28 20:17:38 +10:00
Michael Gratton
322bdd2d42 Use GNOME odd/even version numbering to detect if running -dev
Since switching to the GNOME release schedule, we need to do unstable
releases off of mainline, which means we need to update the version
number (and drop the "-dev" suffix) so tarballs etc get the right
version.

Instead of looking for the -dev suffix, parse the version number
to determine if we should display the revision in About.
2019-04-28 19:28:12 +10:00
Michael Gratton
8022ffecce Update files for 3.33.1 2019-04-28 14:30:36 +10:00
Michael Gratton
6721fd9180 Update THANKS 2019-04-28 14:14:53 +10:00
Michael Gratton
86bf9a3687 Merge branch 'deceptive-warning' into 'mainline'
Fix deceptive warning

Closes #400

See merge request GNOME/geary!225
2019-04-28 04:14:01 +00:00
Michael Gratton
7286808a0b Merge branch 'emphasize-participated-in' into 'mainline'
Some improvements to conversation-list

See merge request GNOME/geary!200
2019-04-28 00:53:22 +00:00
Piotr Drąg
f57c8d2e63 Update POTFILES.skip 2019-04-27 17:52:33 +02:00
Jonathan Haas
bfe504fed3 Make sure we match the whole link text as URL and not only some part. Add some symbols to be invalid in domains. Add 3 tests. 2019-04-27 11:52:51 +02:00
Konstantin Kharlamov
e461ba4907 conversation-list: cache participants list
Markup generation requires lots of resources to walk through lists,
build strings, compare strings, etc.  And all of this gets done on every
draw of conversation-list widget for every conversation. Let's save up
some resources by caching the markup.

Signed-off-by: Konstantin Kharlamov <Hi-Angel@yandex.ru>
2019-04-27 12:11:11 +03:00
Konstantin Kharlamov
7909f85bd2 conversation-list: construct string in place for single participant
Signed-off-by: Konstantin Kharlamov <Hi-Angel@yandex.ru>
2019-04-27 12:11:11 +03:00
Konstantin Kharlamov
37416fbebc conversation-list: don't recalculate html-escaped subject
Signed-off-by: Konstantin Kharlamov <Hi-Angel@yandex.ru>
2019-04-27 12:11:11 +03:00
Konstantin Kharlamov
39794a9ada conversation-list: use get_primary_originator to get actual address
Signed-off-by: Konstantin Kharlamov <Hi-Angel@yandex.ru>
2019-04-27 12:11:11 +03:00
Konstantin Kharlamov
773f83d62f conversation-list: remove unnecessary comparison
Fetching the value and comparing it to 0 should work just as fast as
directly assigning it. And since we don't really need to know here what
was the value of is_unread before, remove the comparison.

Signed-off-by: Konstantin Kharlamov <Hi-Angel@yandex.ru>
2019-04-27 12:11:11 +03:00
Konstantin Kharlamov
c7824fd0fb conversation-list: fix comments
The first comment now mentions that entries are unique. This can be
exploited in further commits.

Second comment is misleading: the "if not present, add" part is clear
from code below, and the "in chronological order" is the misleading one:
chronological order is ensured by the first foreach, not by the second
foreach where the comment placed. And the first foreach already has a
commentary about the order.

Signed-off-by: Konstantin Kharlamov <Hi-Angel@yandex.ru>
2019-04-27 12:11:11 +03:00
Konstantin Kharlamov
89f9854edc conversation-list: fix a different participants being counted as one
Notification mails, such as github, gitlab, often gonna have the same
mail address, although participants are different. Fix the comparator to
take this situation into account.

Signed-off-by: Konstantin Kharlamov <Hi-Angel@yandex.ru>
2019-04-27 12:11:11 +03:00
Michael Gratton
72e6bd6fe3 Merge branch 'wip/handy-sub-module' into 'mainline'
Add a sub{module,project} for handy for those who don't have it

See merge request GNOME/geary!226
2019-04-26 09:24:51 +00:00
Michael Gratton
b24ac8061c Switch search and main menu order back to normal
Fixes #405
2019-04-26 18:30:18 +10:00
Michael Gratton
5027e039fc Add a sub{module,project} for handy for those who don't have it 2019-04-26 18:22:43 +10:00
Jordi Mas
2fe4d2076b Update Catalan translation 2019-04-25 06:56:08 +02:00
Michael Gratton
66b659bbf7 Merge branch 'wip/336-smtp-rcpt-to-quoting' into 'mainline'
Fix SMTP forward path formatting

See merge request GNOME/geary!223
2019-04-24 11:20:20 +00:00
Michael Gratton
37da52e14f Enforce correct formatting for SMTP MailRequest and RcptRequest 2019-04-24 20:46:45 +10:00