Commit graph

3867 commits

Author SHA1 Message Date
Andre Klapper
d14d16e6ac Replace Bugzilla by Gitlab URL in DOAP file 2018-12-15 19:23:31 +01:00
Michael Gratton
053868e11d Merge branch 'wip/engine-header-missing-build-failure' into 'master'
Fix occasional "geary-engine.h: No such file or directory" build errors

See merge request GNOME/geary!68
2018-11-29 10:13:03 +00:00
Michael Gratton
1dd36d846a Fix occasional "geary-engine.h: No such file or directory" build errors
E.g. https://gitlab.gnome.org/GNOME/geary/-/jobs/156541

On a sufficiently (non?) parallel system, targets that depend on
geary-engine.h may get built before the geary_engine_internal_vapi
custom target that fixes its location is executed. This removes the
workaround for b.g.o #731322 since that was fixed in 0.40, and updates
workaround for the internal VAPI to be minimally intrusive.
2018-11-29 20:57:38 +11:00
Michael Gratton
1d15de114a Fix message body webview sometimes not stopping getting taller 2018-11-28 21:57:15 +11:00
Michael Gratton
eccb432bbc Merge branch 'wip/ricotz/error-check' into 'master'
Actually use error variable to check for IOError.CANCELLED

See merge request GNOME/geary!66
2018-11-28 10:37:49 +00:00
Rico Tzschichholz
088cb2c0aa Actually use error variable to check for IOError.CANCELLED 2018-11-27 14:53:56 +01:00
Emin Tufan Çetin
1df78da366 Update Turkish translation 2018-11-22 12:45:26 +00:00
Rafael Fontenelle
de072169fe Update Brazilian Portuguese translation 2018-11-22 08:49:36 +00:00
Michael Gratton
2573456471 Merge branch 'wip/improve-claiming-folder-session' into 'master'
Improve claiming folder session

See merge request GNOME/geary!65
2018-11-19 14:03:24 +00:00
Kukuh Syafaat
790bd8fef7 Update Indonesian translation 2018-11-15 16:25:51 +00:00
Michael Gratton
3487a29cd5 Cancel any pending commands when ImapClientConnection disconnects
This ensures amoungst other things that when a connection goes bad and
a reply queue command sends an IMAP command anyway, that the replay op
will get notified and retried.
2018-11-14 16:53:34 +11:00
Michael Gratton
280230306d Ensure the IMAP pool is stopped on connection error
This ensures that starting the account's incoming service actually
starts the pool, and hence the user can use the problem report retry
button to recover from this.
2018-11-14 16:51:22 +11:00
Michael Gratton
e470cd79a6 Ensure account sync waits for remote to open before proceding.
Also tidy up some comments & logging.
2018-11-13 16:47:48 +11:00
Michael Gratton
a6e0fe9255 Add a nonblocking queue peek() method 2018-11-13 16:47:48 +11:00
Michael Gratton
ab66ef948a Ensure IMAP client session is released on error claiming folder session 2018-11-13 16:47:48 +11:00
Michael Gratton
ecda651574 Don't actually execue remote ReplayQueue.CloseReplayQueue operation
We don't have a valid remote folder session for it, so don't try to
pretend we do.
2018-11-13 15:58:21 +11:00
Michael Gratton
7b4f30c41b Tidy up ReplayOperation API
Make most abstract methods virtual and provide appropriate no-op impls
to simplify subclasses. Add a FolderSession arg to replay local_async
since in 90% of the cases the operations needs one and since this makes
the queue itself the only remaining user of
MinimalFolder.claim_remote_session async, pending its removal.

Also tidyied up ListEmailById so there is no chance of the local op
executing a remote call.
2018-11-13 15:58:21 +11:00
Michael Gratton
69ac6eb48f Remove Geary.Folder.wait_for_remote_async()
This doesn't make any sense for local-only folders, and only gets used
for internal implementation details for IMAP folders, so remove the
public API and replace its use internally.
2018-11-10 23:38:54 +11:00
Michael Gratton
8d1b5b565c Add Geary.Account.is_online property
This will be useful for displaying this status to the user in the
future, and allows removing MinimalFolder.is_remote_available, which is
hopelessly innacturate in the face of network problems.
2018-11-10 09:25:05 +11:00
Alan Mortensen
d2d0fc7b46 Updated Danish translation 2018-11-02 02:07:43 +01:00
Marek Cernocky
ea251c407b Updated Czech translation 2018-11-01 21:00:19 +01:00
Dušan Kazik
05fece02af Update Slovak translation 2018-11-01 17:33:15 +00:00
Daniel Mustieles
3b87bc949f Updated Spanish translation 2018-10-31 16:44:15 +01:00
Piotr Drąg
a2b2d20183 Update Polish translation 2018-10-28 17:38:08 +01:00
Matej Urbančič
5b77b1c91f Updated Slovenian translation 2018-10-25 21:34:26 +02:00
Alan Mortensen
9ccf513b0c Updated Danish translation 2018-10-24 18:17:29 +02:00
Michael Gratton
0f09659dd8 Merge branch 'wip/cleanup-attachment-save-handling' into 'master'
Cleanup attachment save handling

See merge request GNOME/geary!60
2018-10-24 11:35:57 +00:00
Michael Gratton
664950ba0a Cleanup attachment save handling
Follow GTK+ reccomendation for (not) setting folder paths in save file
choosers, ensure UTF-8 display names and file system encodings are used
as appropriate, and report errors to the user when they occur.
2018-10-24 21:36:15 +11:00
Michael Gratton
c2a719210a Downgrade sidebar warning message to debug to ease debugging
This get triggered a lot on close, which is annoying when running under
a debugger with G_DEBUG=fatal-warnings set.
2018-10-23 23:16:44 +11:00
Michael Gratton
b917b1b63e Merge branch 'wip/ricotz/vala' into 'master'
Fix build with stricter async parameter checks of valac

See merge request GNOME/geary!59
2018-10-23 07:14:36 +00:00
Michael Gratton
45a6308ed7 Merge branch 'alatiera/flatpak-enchant' into 'master'
Flatpak: Add enchant as a module

See merge request GNOME/geary!58
2018-10-23 07:12:55 +00:00
Emin Tufan Çetin
216640574d Update Turkish translation 2018-10-21 16:44:02 +00:00
Rico Tzschichholz
6176cfb737 Fix build with stricter async parameter checks of valac 2018-10-21 11:18:29 +02:00
Matej Urbančič
d6cb0b834f Added Slovenian translation 2018-10-19 19:11:52 +02:00
Jordan Petridis
c1ed9b105f
Flatpak: Add enchant as a module
With the 3.30 release of the runtime enchant 1.x was dropped
from the sdk in favor of enchant 2.
2018-10-15 20:33:18 +03:00
Rafael Fontenelle
52a0b6b4ef Update Brazilian Portuguese translation 2018-10-15 10:04:17 +00:00
Michael Gratton
3239eb0395 Merge branch 'wip/778025-conversation-height' into 'master'
Conversation message height is unreliable

See merge request GNOME/geary!57
2018-10-14 01:07:33 +00:00
Michael Gratton
1e3fbdc69a Use doc element's scrollHeight as ClientWebView's preferred height
This seems to be a bit more accurate than the previous calculation.
Force the doc element's border to zero as well to make using
scrollHeight more reliable.
2018-10-14 11:55:46 +11:00
Michael Gratton
07c4133b11 Check for ClientWebView preferred height changing in a few more cases
Queue a preferred height check on resize and transition end so we catch
cases where the user resizes the window and transitions cause a height
change after loading has completed, etc.
2018-10-14 11:52:52 +11:00
Michael Gratton
b107cd2353 Adjust conversation height dynamically when zooming
Follow-up to commit 14bb8161, this ensures the current conversation
viewer's height is updated when zooming in/out/reset by keeping the web
content's height around and recalculating and queuing a resize when the
zoom level is changed.
2018-10-14 11:14:31 +11:00
Marek Cernocky
36674e4c63 Updated Czech translation 2018-10-10 09:26:09 +02:00
Michael Gratton
b7f868f662 Merge branch 'zoom-preferred-height' into 'master'
Take zoom level into account when determining preferred height

See merge request GNOME/geary!51
2018-10-10 06:39:39 +00:00
Alex Henrie
14bb8161da Take zoom level into account when determining preferred height 2018-10-09 18:24:53 -06:00
Piotr Drąg
74b3a509f7 Update Polish translation 2018-10-09 20:20:38 +02:00
Michael Gratton
47debb6730 Merge branch 'wip/piotrdrag/fix-contract-description' into 'master'
Fix extracting Description key from contractor file for translation

See merge request GNOME/geary!50
2018-10-09 10:30:13 +00:00
Michael Gratton
d3cbeda0c6 Add a comment about why we're calling msgfmt manually 2018-10-09 09:59:48 +00:00
Michael Gratton
50c99dd7c2 Merge branch 'wip/774603-configurable-gravatar-uri' into 'master'
Configurable Gravatar URL

See merge request GNOME/geary!52
2018-10-09 09:53:14 +00:00
Piotr Drąg
ea9aebdb9c Fix extracting Description key from contractor file for translation 2018-10-07 16:41:51 +02:00
Michael Gratton
46ffd42ce4 Make avatar loading URL configurable via a GSetting
This lets users switch to using Libravatar, or disable remote avatar
loading completely if desired.
2018-10-07 15:29:08 +11:00
Michael Gratton
a82c47871a Break out AvatarStore to a top-level class so it can be re-used
Make the controller manage the store's lifecycle, and pass that around
to the conversation viewer and notifications to use, instead of
a soup cache and/or doing HTTP calls themselves.
2018-10-07 15:29:08 +11:00