Commit graph

5400 commits

Author SHA1 Message Date
Daniel Mustieles
b2409ad7d1 Updated Spanish translation 2019-12-30 12:47:16 +01:00
Michael Gratton
6196f781ce Merge branch 'fix-ytnef-automagic' into 'mainline'
build: Fix automagic dependency on ytnef library

See merge request GNOME/geary!390
2019-12-30 11:40:16 +00:00
Piotr Drąg
8fdbf66701 Update Polish translation 2019-12-28 16:21:54 +01:00
Emin Tufan Çetin
f56e75af35 Update Turkish translation 2019-12-27 16:10:36 +00:00
Mart Raudsepp
91f78fb411 build: Fix automagic dependency on ytnef library
It would be best to use meson feature option type for ytnef and unwind,
but for now fix the automagic dependency on ytnef with the existing
meson_options.txt setup.
It was adding ytnef to list of dependencies unconditionally, and then
also if tnef-support was enabled. So if the option was disabled, but the
pkg-config file was present, it would still link to it surprisingly.
Just remove the unconditional addition to dep, and rely on the already
existing conditional addition to deps.
2019-12-26 19:28:07 +02:00
Anders Jonsson
4f25f65236 Update Swedish translation 2019-12-22 21:34:53 +00:00
Michael Gratton
b08cee7883 Fix build warning. 2019-12-21 18:31:03 +11:00
Michael Gratton
e1295d2aa7 Fix crash in Geary.RFC822.Message.without_bcc
Second GMime workaround in that method no longer needed, and was causing
a crash, so remove it.
2019-12-21 18:23:40 +11:00
Michael Gratton
ba3b91f037 Merge branch 'letorbi/gmime-3' into 'mainline'
Upgrade to GMime 3.2.4

Closes #622

See merge request GNOME/geary!382
2019-12-21 05:41:30 +00:00
Torben
77d44d41a3 Merge branch 'mainline' into letorbi/gmime-3 2019-12-18 11:38:02 +01:00
Michael Gratton
c9d6d9666a Merge branch 'mjog/search-refinement' into 'mainline'
Search implementation refinement

See merge request GNOME/geary!389
2019-12-17 23:56:23 +00:00
Michael Gratton
e7f85710e9 Move display-related Util.Email.shorten_url function to Util.Gtk
Add a short doc comment, tweak slightly.
2019-12-18 09:25:07 +11:00
Michael Gratton
77125fc17d Remove some redundant collection copies 2019-12-18 09:25:07 +11:00
Michael Gratton
cc0fb9eef2 Remove unused Geary.Folder::list_local_email_fields_async method 2019-12-18 09:25:07 +11:00
Michael Gratton
dda8d9baf1 Remove distinct search folder email identifiers
The only reason SearchFolder.EmailIdentifier exists was to store the
date for ordering the folder, but that can be done with any old class,
meaning we can simply pass though existing ImapDb ids to clients, fixing
a lot of bugs and corner cases along the way.
2019-12-18 09:25:07 +11:00
Michael Gratton
5eb6bb2a6d Update and simplify SearchBar component
Rename source file name and contents to match code convention, add
transation comments, remove extra API in favour of simply exposing the
search entry publically. Extend Hdy.Searchbar so that the width of the
entry grows as needed.
2019-12-18 09:25:07 +11:00
Michael Gratton
f025f6904d Move SearchFolder management into the client
Rename the search folder again to App.SearchFolder, move its id class
into it as an inner class. Remove search folder from the engine so the
application can manage it and it's policy in the future. Also remove
the outbox from the accout's list of local folders, so that code can
be removed altogether.
2019-12-18 09:25:07 +11:00
Torben
7da9ee1252 Fix undefined variable error 2019-12-17 13:41:35 +01:00
Torben
ca2bab0338 Re-activate and improve prepare_header_text_part() test 2019-12-17 13:23:28 +01:00
Torben
4374294400 Remove redundant call to set the GMime.Parser format; Add some comments 2019-12-17 12:16:06 +01:00
Torben
793f40fc4e Set default parser options directly after init 2019-12-16 15:05:47 +01:00
Torben
4677f4fe4a Check if header exists before reading value 2019-12-16 14:39:50 +01:00
Torben
c0e8f717e8 Allow addresses without domains (fixes disabled mailbox-addresses-test) 2019-12-16 00:34:30 +01:00
Torben
b0df4d5fd8 Return raw but unfolded header values (fixes message-test) 2019-12-16 00:31:07 +01:00
Torben
82c2b36c6e Make mailbox-address tests pass 2019-12-14 00:04:03 +01:00
Torben
5069556a7e Flush sinks of GMime filter streams 2019-12-13 21:35:33 +01:00
Jordi Mas
3640bef9c9 Update Catalan translation 2019-12-12 22:26:51 +01:00
Michael Gratton
130fd95b86 Remove Geary.Account::search_upgrade_monitor
Implement the upgrade call as an account operation so the background
monitor takes care of reporting its progress.
2019-12-12 11:19:51 +11:00
Michael Gratton
924104c282 Clean up search folder implementation
Move SearchFolder and search EmailIdentifier implementation out of
ImapDb and into its own package. Decouple both from ImapDB, and improve
the implementation, fixing a few inefficiencies. Merge search
FolderProperties into the SearchFoldern implementation as an inner
class.

Merge SearchTerm into ImapDB.SearchQuery as an inner class and move the
outer class's source down a level, since it was the only file left in
the imap-db/search dir.
2019-12-12 10:47:52 +11:00
Michael Gratton
b3488f6cf9 Add Geary.Account::list_local_email_async
Add new method and implementation to support breaking search folder
impl out of the ImapDb package.
2019-12-12 10:47:52 +11:00
Michael Gratton
cb16bdc59d Remove default Geary.EmailIdentifier::hash and ::equal_to impls
Make subclasses implement these themselves and remove the unique string
property, to be (hopefully) more efficient and easier for subclasses
to specialise.
2019-12-12 10:47:52 +11:00
Michael Gratton
981ea845f4 Make Geary.EmailIdentifier serialisation a bit less ad-hoc
Require EmailIdentifier implementations to use an outer GVariant of the
form `(yr)` (that is, a byte and an arbitrary length tuple), so that
inner representations are independent of the outer format.
2019-12-12 10:47:52 +11:00
Michael Gratton
c93cfc38b1 Clean up Engine search API
Clean up search API so that query string parsing and error handling can
be pushed out to the client.

Rename Geary.Account::open_search factory method to ::new_search_query
to better reflect what it actually does.

Update Geary.SearchFolder::search to be async so it can throw errors and
the caller can catch them, require SearchQuery objects instead of plain
text query strings.

Add Geary.SearchQuery::owner property so that the query's account can be
sanity checked.

Update API documentation to reflect this.
2019-12-12 10:47:52 +11:00
Torben
e624ab4d4b Use default format- and parser-options instead of creating new ones 2019-12-11 23:42:37 +01:00
Torben
132daf54cf Restore code to set reply-to header 2019-12-11 23:40:00 +01:00
Torben
d98755d04f Create new GMime.Part instances with an explicit MIME-type 2019-12-11 23:25:59 +01:00
Torben
619b6fb838 Merge branch 'mainline' into letorbi/gmime-3 2019-12-10 12:35:00 +01:00
Michael Gratton
a4727a8a6c Merge branch '640-feedback-on-slow-image-paste' into 'mainline'
Provide feedback for slow inline image paste

Closes #640

See merge request GNOME/geary!387
2019-12-08 00:54:48 +00:00
Chris Heywood
953f943907 Improved docstrings for shared timeout values for background progress
bars
2019-12-07 13:53:51 +01:00
Chris Heywood
7a5fb05fb5 Minor tidy up for feedback on large image paste 2019-12-07 13:48:03 +01:00
Chris Heywood
554a8d9e1a Use shared values for timeouts on background process progress 2019-12-07 09:45:44 +01:00
Chris Heywood
8299f9c17a Bubble error on inline image paste up to UI 2019-12-07 08:52:43 +01:00
Chris Heywood
50a1691b2f Add feedback via HUD progress pulse on slow inline image paste 2019-12-06 11:17:12 +01:00
Michael Gratton
4d0ed05a2b Merge branch 'mjog/misc-fixes' into 'mainline'
Misc fixes and polish

Closes #600

See merge request GNOME/geary!385
2019-12-06 00:30:12 +00:00
Michael Gratton
f4788b412d Merge branch 'gnumoksha-mainline-patch-66137' into 'mainline'
chore: add matrix channel in README.md

See merge request GNOME/geary!386
2019-12-05 11:39:06 +00:00
Tobias Sette
d9939daf9b chore: add matrix channel in README.md 2019-12-05 02:29:48 +00:00
Michael Gratton
62edbed63c Blacklist logging GTK warning about null action targets
GAction does not support disabling parameterised actions
with specific values, but GTK complains if the parameter is
set to null to achieve the same effect, and they aren't
interested in supporting that: GNOME/gtk!1151

Move GDKPixbuf blacklisting to log handler as well, target it more
precisely.
2019-12-04 11:43:26 +08:00
Michael Gratton
411f3ef661 Warn about bad shutdowns so they can be caught and diagnosed 2019-12-04 09:48:47 +08:00
Michael Gratton
992bfe8fde Don't block application shutdown check when mainloop is blocked 2019-12-04 09:46:30 +08:00
Michael Gratton
2590e0090e Don't select wrong Inbox
Fixes the inboxes branch inbox being selected when the account branch
inbox was clicked.
2019-12-04 09:44:38 +08:00