Commit graph

6702 commits

Author SHA1 Message Date
Michael Gratton
4eefe3013e client: Fix packing of Component.ConversationActions 2021-04-13 18:38:19 +10:00
Michael Gratton
9e641600c3 client: Convert to using HdySqueezer for managing main toolbar actions 2021-04-13 18:36:16 +10:00
Michael Gratton
0aa8ad6a05 client: Convert from shared conversation action widget to use multiple
Convert Components.ConversationActions to a widget that encapsulates
selectively visible conversations action groups. Use multiple instances
of that in preference to a single shared instance that gets re-parented
as the responsive UI adjusts.

Flatten the custom widget hierarchy a bit by merging the
`ConversationActionBar` and `ConversationHeaderbar` widgets into
`MainToolbar` itself.
2021-04-11 11:23:13 +10:00
Michael Gratton
7b994ece1d client: Move MainToolbar into the Components name space proper 2021-04-09 21:11:41 +10:00
Michael Gratton
1de50614d1 Merge branch 'mjog/folder-list-cleanup' into 'mainline'
Folder list fixes

Closes #1177 and #1184

See merge request GNOME/geary!686
2021-04-08 22:55:38 +00:00
Michael Gratton
05ea5fbdb3 client: Revert folder list expander change
This undoes the expander-related changes introduced in !618, to fix
regressions such as #1177 and #1184.
2021-04-08 08:20:37 +10:00
Michael Gratton
3f6a8581bc client: Ensure inboxes, account and label branches are expanded by default 2021-04-08 08:20:08 +10:00
Michael Gratton
c233efc11d Merge branch 'thin-seps' into 'mainline'
Use native separators for conversation list

Closes #1191

See merge request GNOME/geary!690
2021-04-07 22:07:08 +00:00
John Renner
1e9e976efb Use native separators for conversation list 2021-04-06 19:48:23 -07:00
Michael Gratton
e2e474f007 Merge branch 'mjog/fix-build-warnings' into 'mainline'
client: Fix build warning

See merge request GNOME/geary!687
2021-04-06 02:52:21 +00:00
Michael Gratton
39aa9bd222 client: Fix build warning 2021-04-06 12:30:09 +10:00
Michael Gratton
68f860a723 Merge branch 'mjog/1170-webview-remote-resource-loading' into 'mainline'
Update remote resource loading

Closes #1170

See merge request GNOME/geary!684
2021-04-05 05:05:41 +00:00
Michael Gratton
eab9f53f37 Merge branch '1183-imap-allow-zero-uidvalidity' into 'mainline'
engine: Allow zero UIDValidity value for IMAP

Closes #1183

See merge request GNOME/geary!685
2021-04-05 04:29:10 +00:00
Michael Gratton
946f6d786f client: Fix remote images not being loaded for remembered senders/email
Since commit 6a0ad721 landed the client can no longer reply on
pre-filling JS page state before loading the message body HTML, since
it would be cleared when the JS page state is initialised in the
window-object-cleared handler.

Instead, set the load remote flag as a GObject data property on the
WebKit.WebPage object in the web process via the extension, and consult
that when determining whether to allow loading remote content.

Fixes #1170
2021-04-05 14:14:46 +10:00
Michael Gratton
fd002c0156 client: Ensure non-image remote resources are also loaded when permitted
Update `PageState.loadRemoteResources` to process any child of the BODY
element that has a `src` or `srcset` element.
2021-04-05 11:12:18 +10:00
Michael Gratton
bf2aa12978 client: Improve email remote resource loading feedback
Ensure a progress meter is shown even for remote resources loading
after the page load has completed, but don't bother showing it for the
page load itself.
2021-04-05 11:12:18 +10:00
Thomas Lauerman
e55f0857bd engine: Allow zero UIDValidity value for IMAP
At least one IMAP server has been observed to send a UIDVALIDITY 0 value,
for example, iCloud. This change allows Geary to work with such servers,
even though it's technically in violation of RFC 3501.

Fixes #1183
2021-04-04 18:44:49 -05:00
Michael Gratton
1be5dec877 client: Update Components.WebView terminology around resource loading
Refer uniformly to remote resource loading instead of that and remote
image loading.
2021-04-04 18:04:41 +10:00
Michael Gratton
cd77ba4e8e Merge branch 'mjog/1163-email-drag-crash' into 'mainline'
client: Decouple folder list entry DND from both main and GDK windows

Closes #1163

See merge request GNOME/geary!683
2021-04-04 06:27:36 +00:00
Michael Gratton
4e97cd6ea7 client: Decouple folder list entry DND from both main and GDK windows
Pass an instance of the owning `Sidebar.Tree` through to `Sidebar.Entry`
when calling `internal_drop_received` instead of a
`Application.MainWindow` to remove a bidi relationship between the two.

Use the high level GTK API for determining the DnD action in
`FolderList.Entry`'s implementation of this method, rather than attempt,
to divine it from keyboard modifiers via the associated GDK window,
since under Wayland that will be null.

Fixes #1163
2021-04-04 14:30:19 +10:00
Michael Gratton
044c77325a Merge branch 'mjog/rfc-reply-refs-critical' into 'mainline'
engine: Fix critical when replying to an email with zero message ids

See merge request GNOME/geary!681
2021-04-04 03:55:29 +00:00
Michael Gratton
ee50f03af0 Merge branch 'Community/Purism/geary-hdy-avatar' into 'mainline'
use HdyAvatar

See merge request GNOME/geary!680
2021-04-04 03:03:17 +00:00
Michael Gratton
30e252fbae Merge branch 'mjog/bad-literal-timeouts' into 'mainline'
Fix command timeouts for literals

See merge request GNOME/geary!674
2021-04-04 02:50:27 +00:00
Michael Gratton
388414c232 engine: Fix critical when replying to an email with zero message ids
Don't ever return null from `Geary.RFC822.Utils.reply_references`
return null, since its one call site in the client expects it to be
non-null.
2021-04-04 12:50:16 +10:00
Michael James Gratton
315b933c2a po: Remove removed source file from POTFILES.in 2021-04-04 12:44:32 +10:00
Julian Sparber
6a052031df avatar: Use HdyAvatar for displaying avatars 2021-04-04 12:44:32 +10:00
Julian Sparber
baf29a9214 bump min libhandy version to 1.2 2021-04-04 12:44:30 +10:00
Michael Gratton
b9dc7eebc4 Geary.Imap.ClientConnection: Fix command timeout mid-literal
On slow connections and/or for large literal data blocks, commands can
time out while still reading literal data.

Ensure that command timeouts are updated whenever we also notify
higher level components of data being received.
2021-04-04 09:29:07 +10:00
Michael Gratton
2091431ef0 Geary.Imap.ClientConnection: Coalesce received_bytes signal emmission
Since `received_bytes` is emitted whenever a complete line is received
from the server, it can be emitted a *lot*. To reduce the CPU overhead
of this, and since it's only used for timekeeping at higher levels,
coalesce emission to only occur at most once a second.
2021-04-04 09:29:07 +10:00
Michael Gratton
7172bdc041 Geary.Imap.ClientSession: Avoid redundant timekeeping calls
Since `ClientConnection` emits `received_bytes` whenever *any* data is
received, updating the keep-alive and last-seen when data is received
and when higher level constructs are received is redundant.
2021-04-04 09:29:07 +10:00
Michael Gratton
43c2fa4342 Merge branch 'update-libhandy' into 'mainline'
Update libhandy

Closes #305

See merge request GNOME/geary!622
2021-04-03 23:16:00 +00:00
Nathan Follens
d9f1e8842b Update Dutch translation 2021-04-02 14:29:53 +00:00
Nathan Follens
a2a5d50ccd Update Dutch translation
(cherry picked from commit cf771448b05c13c7cc838887fb74c25ea5c44458)
2021-04-02 10:42:08 +00:00
Yosef Or Boczko
3b7458198c Update Hebrew translation 2021-03-28 23:24:57 +00:00
Hugo Carvalho
6234c11316 Update Portuguese translation 2021-03-25 11:13:30 +00:00
Fran Dieguez
a36480f35e Update Galician translation 2021-03-25 00:29:38 +00:00
Asier Sarasua Garmendia
faea41f0d4 Update Basque translation
(cherry picked from commit b6ce3e1303a6ad2ac322f864834c724e0014f420)
2021-03-20 09:37:41 +00:00
Jordi Mas
99c8a79f7d Update Catalan translation 2021-03-17 05:51:45 +01:00
Balázs Úr
98dc3f8b86 Update Hungarian translation 2021-03-16 23:37:01 +00:00
Alan Mortensen
7d4036b452 Updated Danish translation 2021-03-13 14:45:33 +01:00
Enrico Nicoletto
7cf475fa68 Update Brazilian Portuguese translation 2021-03-12 20:21:44 +00:00
Federico Bruni
62b18faff9 Update Italian translation 2021-03-12 08:01:29 +00:00
Jordi Mas
c10a77bcdb Update Catalan translation 2021-03-10 21:35:14 +01:00
Jordi Mas
26978c42be Update Catalan translation 2021-03-07 14:41:23 +01:00
Piotr Drąg
c136b78d97 Update Polish translation 2021-03-07 12:40:28 +01:00
Emin Tufan Çetin
87fd8abdda Update Turkish translation 2021-03-06 19:27:13 +00:00
Michael Gratton
d223899aa7 Merge branch 'mcatanzaro/#1168' into 'mainline'
web-process-extension: register GearyWebExtension JS in the right place

Closes #1168

See merge request GNOME/geary!677
2021-03-06 00:42:46 +00:00
Kukuh Syafaat
fe3034e87c Update Indonesian translation 2021-03-05 12:14:08 +00:00
Michael Catanzaro
6a0ad72182 web-process-extension: register GearyWebExtension JS in the right place
We need to register our JS when the window-object-cleared signal is
emitted. Previously we did this when the WebPage object is created, but
this only worked due to luck. Since WebKit r271642, it no longer works.
window-object-cleared is emitted right after page-created, meaning that
right after Geary registers its JS, it all gets wiped away. Oops.

Fixes #1168
2021-03-04 17:31:56 -06:00
Anders Jonsson
2da5c15574 Update Swedish translation 2021-03-04 14:30:52 +00:00