Michael Gratton
65ab37938f
Implement new contact harvester for the engine
...
Replaces harvesting code in ImapDB code so as to be stand-alone and
reusable. Implement harvesting policy to only harvest from a set of
whitelisted special folder types (so junk and trash is not harvested)
and only harvest valid, non-spoofed, addresses.
2019-06-13 16:32:47 +10:00
Michael Gratton
96cbb83f83
Ensure Geary.Contact real names are distinct from their address
...
This avoids presenting contacts as "name@example.com" <name@example.com>
2019-06-13 16:32:08 +10:00
Michael Gratton
91caff487b
Add support for uint args in expected calls in MockObject
2019-06-13 16:31:26 +10:00
Michael Gratton
bc64cd9847
Provide a way to access actual args for an expected mock call
2019-06-13 16:30:42 +10:00
Michael Gratton
5ab35da47b
Clean up contact importance API
...
Move Importance enum into Contact since it's only used there, simplify
members and clean up call sites.
2019-06-13 16:29:49 +10:00
Michael Gratton
cb8150ce03
Remove existing contact harvesting mechanism
...
Remove contact harvesting from DB version 005 (version 0.1.1), allowing
the implementation of both ContactStoreImpl and ImapDB.Database to be
cleaned up. Remove contact collection from ImapDB.Folder, reducing the
numer of Gee objects created when creating/merging messages. Finally,
remove the MessageAddresses object now that it is unused.
2019-06-13 16:28:59 +10:00
Michael Gratton
809f664319
ContactStoreImpl unit tests
2019-06-13 16:28:55 +10:00
Michael Gratton
2ff2d2421f
Clean up ContactFlag API
...
Move ContactFlag class into Contact class, rename Contact.flags property
to avoid redundancy and make it non-nullable to be able to simplify its
use.
2019-06-13 16:28:51 +10:00
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