Commit graph

6725 commits

Author SHA1 Message Date
Michael Gratton
3a5bb3523c build: Update for 40.rc 2021-04-14 21:03:49 +10:00
Michael Gratton
35f57c7682 Merge branch 'bdaase/geary-saner_pane_size_defaults' into 'mainline'
ui: Use saner pane size defaults

See merge request GNOME/geary!693
2021-04-14 09:39:28 +00:00
Michael Gratton
d62a88bfdf Merge branch 'mjog/responsive-layout-fixes' into 'mainline'
Responsive layout fixes

See merge request GNOME/geary!692
2021-04-14 09:29:38 +00:00
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
791b747fbd client: Consistently use Gtk.Widget.error_bell, not Gdk.Window.beep
The former takes into account GTK settings, the latter doesn't.
2021-04-14 19:08:35 +10:00
Michael Gratton
1667a7b2da client: Ensure keyboard focus is not lost when main window leaflets fold
See GNOME/libhandy#179
2021-04-14 19:08:35 +10:00
Michael Gratton
2222c6af87 client: Ensure search UI is actually shown when activating shortcut 2021-04-14 19:07:50 +10:00
Michael Gratton
45bab34f45 client: Only enable find-in-conversation action when the viewer is shown 2021-04-14 19:07:50 +10:00
Michael Gratton
da611ccf28 client: Fix main window load_more being triggered folded
Don't need to load more when the conversation list is not being shown.
2021-04-14 19:07:50 +10:00
Michael Gratton
3c001a99cf client: Fix <Enter> not activating folder tree rows 2021-04-14 19:07:50 +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