Commit graph

6716 commits

Author SHA1 Message Date
Björn Daase
6ec89fc491 ui: Use saner pane size defaults
Related: https://gitlab.gnome.org/GNOME/geary/-/issues/1164
2021-04-14 19:15:36 +10:00
Michael Gratton
3af0d6286d Merge branch 'mjog/1193-conversation-buttons-resize-race' into 'mainline'
Duplicate, don't re-parent, conversation actions as responsive layout changes.

Closes #1193

See merge request GNOME/geary!691
2021-04-13 15:22:14 +00:00
Michael Gratton
11882a1055 build: Pull in libhandy as a submodule until 1.2.1 is packaged 2021-04-14 00:49:45 +10:00
Michael Gratton
a5d6ec03e5 build: Bump libhandy requirement to 1.2.1
Needed to fix a conversation header bar spacing issue.

See GNOME/libhandy#431
2021-04-14 00:49:45 +10:00
Michael Gratton
eb9cdb0c38 client: Fix conversation viewer actions visible when unfolded at startup
Both leaflets are unfolded by default, and fold down if the window is
too small, hence the conversation list's and viewer's action bar
revealers must be hidden by default to match,
2021-04-14 00:49:45 +10:00
Adrien Plazas
b75a7f3bae conversation-actions: Keep the reply buttons in the headerbar
Move the other buttons to the actionbar is the window is too narrow.
2021-04-14 00:49:45 +10:00
Adrien Plazas
c53063496c style: Style conversation action bars
Make them look a bit more like action bars by giving them a top border.
2021-04-14 00:49:45 +10:00
Michael Gratton
b7458dc24f client: Ensure all folder-based conversation actions get updated 2021-04-14 00:49:45 +10:00
Michael Gratton
f097252e46 Client: Only show conversation viewer's actions when needed
The conversation viewer's actions are only needed when the main
toolbar's compact actions are being shown.
2021-04-14 00:49:45 +10:00
Michael Gratton
d695f5b5fe client: Ensure conversation list action bar shown when main window folded 2021-04-14 00:49:45 +10:00
Michael Gratton
dbb9cc35e8 client: Simplify main window outer leaflet state change handling 2021-04-14 00:49:45 +10:00
Michael Gratton
5aea0ad10f client: Invoke the correct menu for move or copy shortcuts 2021-04-13 18:38:40 +10:00
Michael Gratton
ef4269e18b client: Add convenience accessors for conversation list/viewer being shown 2021-04-13 18:38:22 +10:00
Michael Gratton
78b3fddb6f client: Rename main window leafets and their children
Make them a bit easier to reason about.
2021-04-13 18:38:22 +10:00
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