Michael Gratton
21aea73a3d
test/test-engine.vala: Minor test ordering improvement
2020-05-06 14:58:56 +10:00
Michael Gratton
288c78a93a
Geary.RFC822.Message: Rework constructors and stocking from GMimeMessage
...
Make constructors use the Message.from_gmime where possible. Merge that
and stock_from_gmime so it's clear the stocking only happens in the
ctor. Update stocking to use high-level GMime APIs where available to
avoid re-parsing header values.
2020-05-06 14:58:56 +10:00
Michael Gratton
6e7631b8d3
Geary.RFC822: Clean up message data interfaces and classes
...
Split Geary.RFC822.MessageData interface up into DecodedMessageData and
EncodedMessageData so the difference between the two is clear and they
can't be used interchangeably.
Add `DecodedMessageData::to_rfc822_string` to provide a common interface
for round-tripping decoded data.
Update all classes to implement one of these and follow the same general
API patterns.
2020-05-06 14:58:56 +10:00
Michael Gratton
5b253cbee6
Geary.RFC822.MessageIdList: Update API to match MailboxAddresses
...
Make immutable, provide similar properties and accessors as
MailboxAddresses.
2020-05-06 14:58:56 +10:00
Michael Gratton
6aa5c2bfbd
Geary.Imap.RFC822Size: Decouple from RFC822.Size
...
Derive directly from Int64MessageData instead and remove RFC822.Size
since the latter is not actually used or specified in RFC 822 and its
obsoletors.
2020-05-06 14:58:56 +10:00
Michael Gratton
f25892d879
Geary.RFC822.MailboxAddresses: Update API and valadocs
...
Add some doc comments, fix some methods to ensure the class is actually
immutable, remove some unused methods, add ctor from the GMime
equivalent object.
2020-05-06 14:58:56 +10:00
Michael Gratton
2b5e084b61
Geary.Engine.MailboxAddress: Don't force ISO-8859-1 encoding
2020-05-06 14:58:56 +10:00
Michael Gratton
940781a379
test/engine: Make RFC822 tests use their own subdirectory
...
Ensures they match the same source layout as in the engine.
2020-05-06 14:58:56 +10:00
Michael Gratton
27e1b5433f
Geary.RFC822.MailboxAddress: Fix sense of 8-bit workaround check
2020-05-06 14:58:56 +10:00
Michael Gratton
0bbf0bfd32
Geary.RFC822.Message: Rename message_to_memory_buffer args for clarity
2020-05-06 14:58:56 +10:00
Michael Gratton
6e50c2a4c0
Geary.Mime.ContentParameters: Minor ctor API update
2020-05-06 14:58:56 +10:00
Michael Gratton
e0c1fb8a80
Geary.RFC822: Ensure various data constructors throw errors
...
Rather than just silently ignoring error conditions, throw RFC822
errors instead.
2020-05-06 14:58:56 +10:00
Michael Gratton
97e0093e29
Geary.ComposedEmail: Remove to_rfc822_message, it's redundant
...
Callers can just call the same thing that method does instead.
2020-05-05 21:57:17 +10:00
Michael Gratton
6d5f63692b
Geary.Mime.ContentType: Rename ::deserialise to ::parse
...
Add unit tests.
2020-05-05 21:57:17 +10:00
Michael Gratton
f77bb50b5c
src/engine/rfc822/rfc822-utils.vala: Updated to better match code style
2020-05-05 21:57:17 +10:00
Michael Gratton
d7e128ae72
src/engine/rfc822/rfc822.vala: Fix indentation to match style
2020-05-05 21:56:06 +10:00
Dušan Kazik
05e853646d
Update Slovak translation
...
(cherry picked from commit 2eb369f570d71fb16f1f0fb56c53c5d010ca2071)
2020-05-04 08:23:29 +00:00
Michael Gratton
2018bf3b7d
Merge branch 'mjog/flatpak-updates' into 'mainline'
...
Flatpak updates
See merge request GNOME/geary!510
2020-05-04 00:18:24 +00:00
Michael Gratton
f3a3f2c6e6
org.gnome.Geary.yaml: Bump libical version and sort build args
2020-05-04 09:41:47 +10:00
Michael Gratton
1887d18c21
org.gnome.Geary.yaml: Unpin GSpell now that master is building again
2020-05-04 09:41:09 +10:00
Michael Gratton
f7db76a594
org.gnome.Geary.yaml: Pin ytnef to last known good version
...
While https://github.com/Yeraze/ytnef/issues/81 remains an issue, pin
to 1.9.3 so CI goes green again.
2020-05-04 09:22:44 +10:00
Michael Gratton
24fde7caa5
Fix typo in NEWS
2020-05-04 09:19:35 +10:00
Michael Gratton
0e6e5c4b6b
Update files for 3.37.1 development release
2020-05-04 09:17:18 +10:00
Yuri Chornoivan
9f1aa64aa1
Update Ukrainian translation
2020-05-03 11:58:34 +00:00
Michael Gratton
66773a01f1
Merge branch 'adwait/create_mnemonic' into 'mainline'
...
Accounts.EditorAddPane: Add mnemonic to create button
See merge request GNOME/geary!491
2020-05-03 07:36:55 +00:00
Michael Gratton
b7bae46bca
Merge branch 'mjog/add-label-to-label-folder-grouping' into 'mainline'
...
FolderList.AccountBranch: Give the label group an actual label
See merge request GNOME/geary!502
2020-05-03 07:35:21 +00:00
Dušan Kazik
7bf45eb013
Update Slovak translation
...
(cherry picked from commit d1a1d4f6a822906429c712811d7d59f452af7da3)
2020-05-03 07:29:28 +00:00
Dušan Kazik
7638d513ed
Update Slovak translation
...
(cherry picked from commit 34c1a3e0bfce979052ad736f0552d415a8422965)
2020-05-02 13:57:32 +00:00
Dušan Kazik
bb29cbeff2
Update Slovak translation
...
(cherry picked from commit 5b0dc27b28d5fa8ddb984bedee4b9962e0b5b752)
2020-05-02 09:26:56 +00:00
Dušan Kazik
9056d4aae5
Update Slovak translation
...
(cherry picked from commit da8c5f36c0aee14f29321d9c351677e99b6e7711)
2020-05-02 07:15:49 +00:00
Daniel Mustieles
d1f4ba7274
Updated Spanish translation
2020-04-30 12:50:01 +02:00
Rafael Fontenelle
223546773c
Update Brazilian Portuguese translation
2020-04-27 15:20:02 +00:00
Piotr Drąg
016cecf225
Update Polish translation
2020-04-26 11:41:20 +02:00
Michael Gratton
8baffb0997
Merge branch 'mjog/pref-page-icons' into 'mainline'
...
Components.PreferencesWindow: Add pref page icons
See merge request GNOME/geary!506
2020-04-26 03:56:13 +00:00
Michael Gratton
b75e251abe
Components.PreferencesWindow: Add pref page icons
...
Per advice in #813 these are required by libhandy.
2020-04-26 13:35:22 +10:00
Emin Tufan Çetin
e99aad4442
Update Turkish translation
2020-04-25 12:36:14 +00:00
Jordi Mas
331442803d
Update Catalan translation
2020-04-25 08:22:58 +02:00
Michael Gratton
b19d170329
Merge branch 'mjog/741-inbox-getting-closed' into 'mainline'
...
Inbox getting closed
Closes #741
See merge request GNOME/geary!504
2020-04-24 05:51:44 +00:00
Michael Gratton
97d34b2d4b
Geary.ClientService: Set as unreachable on connectivity check error
...
Mark the service as unreachable if a connectivity check error occurs
since if we can't determine it is reachable, we probably can't connect
to it either.
2020-04-24 15:30:04 +10:00
Michael Gratton
0e673ce5f8
Geary.ClientService: Update connectivity timeouts
...
Swap reachable and unreachable timeouts periods so that connections
are dropped sooner and not re-established too early.
2020-04-24 15:30:04 +10:00
Michael Gratton
530c205ce7
Geary.Util.ConnectivityManager: Fix a spurious connectivity error report
...
When a general error occurs checking connectivity of a remote server,
only treat it as an error if GNetworkMonitor indicates the network is
available (i.e. that a default route exists). If there is no network,
it's not surprising that the error occurred.
This fixes a spurious error when the delayed check runs but the host
is offline.
2020-04-24 15:30:04 +10:00
Michael Gratton
991c9ef5d7
Geary.App.ConversationMonitor: Fix more races when starting/stopping
...
Ensure that if stopping the conversation monitor while it is waiting
for the folder to open that the folder isn't closed, and if an error
is thrown when opening the folder that it gets thrown by
::start_monitoring anyway.
Hopefully fixes #741
2020-04-24 15:30:04 +10:00
Michael Gratton
a385ce8fc2
Geary.App.ConversationMonitor: Throw error closing folder when possible
2020-04-24 15:30:04 +10:00
Michael Gratton
81a22175ab
Geary.FolderMock: Convert to use new async mock calls.
2020-04-24 15:22:55 +10:00
Anders Jonsson
97163e314f
Update Swedish translation
2020-04-23 19:14:51 +00:00
Yuri Chornoivan
64bfb11ef2
Update Ukrainian translation
2020-04-23 05:56:41 +00:00
Michael Gratton
4a469d7898
po/POTFILES.in: Add missing lines for email templates files
2020-04-23 14:11:55 +10:00
Michael Gratton
51dfc11946
FolderList.AccountBranch: Give the label group an actual label
2020-04-23 12:07:25 +10:00
Michael Gratton
ee3f3c9930
Merge branch 'mjog/folder-order' into 'mainline'
...
FolderList.AccountBranch: Fix ordering of special-use folders
See merge request GNOME/geary!501
2020-04-23 02:02:51 +00:00
Michael Gratton
11754cb63b
Merge branch 'mjog/phantom-parent-folders' into 'mainline'
...
Geary.ImapEngine.GenericAccount: Fix duplicate folders on first load
See merge request GNOME/geary!500
2020-04-23 01:59:36 +00:00