Commit graph

5097 commits

Author SHA1 Message Date
Michael Gratton
d0773078f0 Merge branch 'mjog/preview-regex-segfault' into 'mainline'
Fix segfault on invalid UTF-8 when generating preview

See merge request GNOME/geary!340
2019-10-22 03:21:00 +00:00
Michael Gratton
7bac77df7b Fix segfault on invalid UTF-8 when generating preview 2019-10-22 13:07:27 +11:00
Asier Sarasua Garmendia
8ded85c6b6 Update Basque translation 2019-10-20 17:02:58 +00:00
Michael Gratton
f6e270f83d Merge branch 'mjog/ci-updates' into 'mainline'
CI updates

See merge request GNOME/geary!331
2019-10-16 03:01:14 +00:00
Michael Gratton
8206cf434d Remove Flatpak test locale hack, just use en_US.UTF-8 for now
FDO 19.08 runtime now includes C.UTF-8 locale, but since Fedora
now ships one that collates high-bit chars, it differs compared
to Debian et al's and FDO.

As a result, just use en_US.UTF-8 for now, probably until glibc
actually ships it and so they all agree.
2019-10-16 13:36:29 +11:00
Michael Gratton
30939534e5 Update files for 3.35.1 2019-10-11 07:58:22 +11:00
Michael Gratton
a0977b8525 Merge branch 'mjog/fix-build-warnings' into 'mainline'
Fix misc null and deprecation build warnings

See merge request GNOME/geary!337
2019-10-10 20:51:58 +00:00
Michael Gratton
7c56f269e0 Fix misc null and deprecation build warnings 2019-10-10 22:31:40 +11:00
Michael Gratton
8da584a4c0 Merge branch 'mjog/web-extension-debug-fix' into 'mainline'
Fix web extension debug logging

See merge request GNOME/geary!336
2019-10-10 11:00:09 +00:00
Michael Gratton
ef7b11717a Fix web extension debug logging
Per the client process, need to set the default writer.
2019-10-10 21:25:17 +11:00
Michael Gratton
647ef90cfc Merge branch 'mjog/589-attachment-keyword-check' into 'mainline'
Attachment keyword fixes

Closes #589

See merge request GNOME/geary!334
2019-10-08 22:32:52 +00:00
Michael Gratton
17a23bc57e ComposerWidget: Send both en and localised attachment keywords
Ensures that the English keyword is always checked since en+something
is somewhat common.

See #589
2019-10-08 22:19:50 +11:00
Michael Gratton
3af5e2eb70 Merge branch 'mjog/wip-remove-flatpak-pulse-perms' into 'mainline'
Remove Flatpak manifest permission for Pulse Audio

See merge request GNOME/geary!332
2019-10-07 13:19:34 +00:00
Michael Gratton
69e3cdf9b5 Fix ComposerPageState::containsAttachmentKeyword
Just use ComposerPageState::htmlToText to get the email's main content
without quotes, not some custom code.
2019-10-07 23:49:12 +11:00
Michael Gratton
a8ef91f3a8 ui/composer-web-view.js: Improve keyword detection
Update ComposerPageState.containsKeywords to split on any punctuation,
not just spaces, so that text like "see the attachment." will get
detected.
2019-10-07 23:48:38 +11:00
Michael Gratton
5732d23e98 ui/composer-web-view.js: Add element blacklist to htmlToText
Update ComposerPageState.htmlToText() to allow ignoring certain elements
if needed. Update tests to test the function directly rather than going
through ComposerPageState.toText().
2019-10-07 23:42:49 +11:00
Michael Gratton
0a9b16819b Merge branch 'mjog/flatpak-contacts-perms' into 'mainline'
Add Flatpak manifest permissions for Contacts

See merge request GNOME/geary!333
2019-10-07 11:18:03 +00:00
Michael Gratton
7b8fa9f140 Add Flatpak manifest permissions for Contacts
This is needed for opening and editing contacts in Contacts.
2019-10-07 21:46:30 +11:00
Michael Gratton
884439da2f INSTALL: Use dnf rather than yum for Fedora deps 2019-10-07 21:36:12 +11:00
Michael Gratton
52d0bbea0f Remove Flatpak manifest permission for Pulse Audio
Now that we're not playing sounds directly, don't need this any more.
2019-10-07 21:34:37 +11:00
Michael Gratton
8814cd6c29 .gitlab-ci.yml: Re-enable Fedora for CI 2019-10-07 19:50:30 +11:00
Michael Gratton
0720ac99fd .gitlab-ci.yml: Fix a few vars not using build dir variable 2019-10-07 13:33:57 +11:00
Michael Gratton
87f71b25fb Merge branch 'mjog/585-inspector-strings' into 'mainline'
Unmark Inspector test strings as being translatable

Closes #585

See merge request GNOME/geary!328
2019-10-06 13:44:58 +00:00
Michael Gratton
fc799b378b Unmark Inspector test strings as being translatable
Fixes #585
2019-10-07 00:17:48 +11:00
Michael Gratton
c2019cab73 Merge branch 'links' into 'mainline'
Clean up composer link insertion and deletion

Closes #591

See merge request GNOME/geary!326
2019-10-06 09:59:59 +00:00
Alex Henrie
52d010bb22 Clean up composer link insertion and deletion
Allow deleting only the selected part of a link, and modify the existing
link instead of inserting a new one if the user didn't select any text.
Also restructure the code to avoid always-true or always-false if
statements.

Fixes #591
2019-10-05 10:25:25 -06:00
Marek Černocký
a3c8b02f43 Updated Czech translation 2019-10-02 02:47:41 +02:00
Michael Gratton
cef0aeee5c Merge branch 'mjog/579-logging-deadlock' into 'mainline'
Fix deadlock when finalising log records generates more logging

Closes #579

See merge request GNOME/geary!320
2019-10-01 01:43:47 +00:00
Piotr Drąg
cfc22b614f Update Polish translation 2019-09-29 15:48:26 +02:00
Michael Gratton
bfb1186a9c Merge branch 'mjog/draft-manager-warnings' into 'mainline'
Remove unused functions

See merge request GNOME/geary!323
2019-09-29 02:55:58 +00:00
Michael Gratton
fecd5ffbc6 Merge branch 'test' into 'mainline'
Small cleanups

See merge request GNOME/geary!300
2019-09-29 02:41:20 +00:00
Michael Gratton
c00f644e5e Remove unused functions 2019-09-29 12:31:51 +10:00
Michael Gratton
e5b239464b Fix deadlock when finalising log records generates more logging
Make sure records are finalised outside the record lock, and minimise
the amount of work that happens inside the record lock in general, so
that no extra logging occurs whilst in inside it, leading to a deadlock.

Fixes #579
2019-09-29 12:25:45 +10:00
Michael Gratton
52c3c42e23 Merge branch 'wip/573-white-on-white-webkitgtk' into 'mainline'
Specify default HTML colours for composer & conversation viewer

Closes #573

See merge request GNOME/geary!309
2019-09-28 13:14:24 +00:00
Michael Gratton
6ddbf039a8 Merge branch 'mjog/581-crash-forwarding-mail' into 'mainline'
Don't crash on GMime error in RFC822.Message.without_bcc

See merge request GNOME/geary!319
2019-09-28 12:33:24 +00:00
Michael Gratton
1308fcba90 Don't crash on GMime error in RFC822.Message.without_bcc
Reporting an error is hardly useful on the SMTP delivery code path.

Fixes crash in #581
2019-09-28 21:36:32 +10:00
Michael Gratton
0126764fe9 Merge branch 'mjog/fix-null-id-saving-drafts' into 'mainline'
Fix an assertion failing when saving a draft for the first time

See merge request GNOME/geary!318
2019-09-28 11:21:29 +00:00
Michael Gratton
7ddeb8d7a6 Fix an assertion failing when saving a draft for the first time
Introduced by !297
2019-09-28 20:56:36 +10:00
Michael Gratton
509cfa86b4 Merge branch 'mjog/rename-devel-appname' into 'mainline'
Rename devel profile for consistency with other apps

See merge request GNOME/geary!317
2019-09-27 23:34:10 +00:00
Michael Gratton
d123dc733f Rename devel profile for consistency with other apps
Adds a period between Geary and Devel.
2019-09-28 01:07:57 +10:00
Michael Gratton
afa83c552b Merge branch 'mjog/meson-cleanup' into 'mainline'
Meson build config cleanup

See merge request GNOME/geary!316
2019-09-27 15:02:18 +00:00
Michael Gratton
8e08b0ec4a Tidy up top-level meson.build file 2019-09-28 00:31:18 +10:00
Michael Gratton
4a959ab440 Move source build config from top-level to src meson.build
Sort the config vars, ensure internal vars all start with an underscore,
and ensure the config is being used for all builds.
2019-09-28 00:30:46 +10:00
Michael Gratton
cf8ea7e436 Sort meson config options 2019-09-28 00:25:07 +10:00
Michael Gratton
af2915707d Consistently use '..._c_args' and '..._vala_args' for meson vars 2019-09-27 23:56:52 +10:00
Michael Gratton
f5f9350d2f Consistently use '_dir' suffix for meson directory variables 2019-09-27 23:55:32 +10:00
Michael Gratton
64f14b4a78 Update valadoc target
Don't append the version to the package name so the URI stops changing
with every release. Tidy up arg formatting a bit.
2019-09-27 23:51:19 +10:00
Michael Gratton
ea9e08e2be Don't explicitly specifify --glib-version, meson does it for us 2019-09-27 23:49:42 +10:00
Michael Gratton
187f2b70fe Bump minium GLib version to last known good 2019-09-27 23:48:41 +10:00
Michael Gratton
41b72d59c4 Merge branch 'mjog/plugin-support' into 'mainline'
Initial plugin support

See merge request GNOME/geary!315
2019-09-27 12:57:23 +00:00