Commit graph

4100 commits

Author SHA1 Message Date
Mario Blättermann
828fb396c1 Update German translation 2019-01-29 07:30:01 +00:00
Michael Gratton
8cbc76a41d Fix typo on the manual's search page
Fixes #192
2019-01-29 16:48:35 +11:00
Tim Sabsch
8fdad4e888 Update German translation 2019-01-28 20:00:16 +00:00
Anders Jonsson
dc946ddf84 Update Swedish translation 2019-01-25 13:39:50 +00:00
Anders Jonsson
d7062514d3 Update Swedish translation 2019-01-23 20:46:59 +00:00
Michael Gratton
a2350576c4 Merge branch 'wip/imap-db-acccount-test-flakey' into 'master'
ImapDB.DatabaseTest and AccountTest flakey

See merge request GNOME/geary!91
2019-01-22 06:32:36 +00:00
Michael Gratton
607e4ecde0 Merge branch 'wip/726282-accounts-focus' into 'master'
Increase GearyApplication.present() time delta workaround

See merge request GNOME/geary!88
2019-01-22 06:30:21 +00:00
Michael Gratton
7be69db7f9 Ensure the ImapDB.Database garbage collector exits in close_async
The gc will prevent unit tests from completing and hence causing
timeouts, so ensure it finishes before returning when closing the db.
2019-01-22 11:07:15 +11:00
Michael Gratton
d4700afeb8 Don't reccommend db garbage collection if there are no messages
This prevents the GC running during (most) unit tests, which might also
be causing intermittent hangs in ImapDB.AccountTest and DatabaseTest.
2019-01-22 11:07:15 +11:00
Anders Jonsson
85f3eb5cf5 Update Swedish translation 2019-01-21 22:17:51 +00:00
Jiri Grönroos
efabe91e0c Update Finnish translation 2019-01-21 17:58:45 +00:00
Marek Cernocky
0fe4317c18 Updated Czech translation 2019-01-21 17:41:02 +01:00
Michael Gratton
719bbca901 Ensure ImapDB.DatabaseTest and AccountTest dispose of their db instances
Make sure the database these instances are/have are destroyed before
deleting the database file, so it is definitely not being kept open.
2019-01-22 01:49:36 +11:00
Daniel Mustieles
fae39a31c8 Updated Spanish translation 2019-01-21 15:22:23 +01:00
Michael Gratton
8a057a2086 Fix name of temp dir used in ImapDB.AccountTest 2019-01-22 00:57:26 +11:00
Michael Gratton
5f73eb94b2 Use standard recursive delete in ImapDB.DatabaseTest 2019-01-22 00:57:26 +11:00
Michael Gratton
92bca47d43 Close thread pool if present in Geary.Database dtor
Fixes running unit tests on a single CPU host.
2019-01-22 00:57:26 +11:00
Michael Gratton
2c01d032db Bump deb build to test stage in gitlab ci config
This puts it at the stame stage as the flatpak package and skips one
build that will always fail if the Ubuntu one fails for legit reasons.
2019-01-21 15:30:09 +10:30
Michael Gratton
d8c67ed6d7 Fix message body heigt being inaccurate yet again 2019-01-21 14:19:48 +10:30
Michael Gratton
d13e201606 Brown paper bag POTFILES.in update 2019-01-21 14:07:39 +10:30
Michael Gratton
3d51863788 Merge branch 'wip/794700-lazy-load-conversations' into 'master'
Make conversation loading olive-buttery smooth

Closes #184

See merge request GNOME/geary!90
2019-01-21 02:10:14 +00:00
Michael Gratton
c56d86f438 Merge branch 'wip/enchant2' into 'master'
Support building with Enchant 2.x

See merge request GNOME/geary!85
2019-01-21 02:08:43 +00:00
Michael Gratton
abccccd685 Merge branch 'wip/web-extension-usr-local' into 'master'
Fix web extension not being loaded when installed under /usr/local on Fedora

Closes #162 and #161

See merge request GNOME/geary!89
2019-01-21 00:54:01 +00:00
Michael Gratton
23973b57ff Rename ConversationViewer "preview" widgets to "compact"
Reduce confusion with Geary.Email.preview.
2019-01-21 11:08:18 +10:30
Michael Gratton
6810fd37d9 Tidy up ConversationEmail a bit
Just pass the email and avatar store in to the ctor, so they don't need
to be passed in and carried around all over the place. Ensure email
object is updated as more fields are loaded, so things like view source
still work. Ensure message progress pulsing stops on remote load error.
2019-01-21 10:59:00 +10:30
Michael Gratton
8d86368dc2 Fix FetchEmail throwing wrong error for LOCAL_ONLY with incomplete email 2019-01-21 10:29:15 +10:30
Michael Gratton
bb1ccb09b2 Fix FetchEmail remote op error when FORCE_UPDATE is set
Need to load the UID locally even when FORCE_UPDATE is set otherwise it
will be null when the remote op is executed.
2019-01-21 10:29:15 +10:30
Michael Gratton
2f35f58610 Handle long-loading indication for conversations better
Moving the loading placeholder from ConversationListBox to
ConversationEmail allows a more fine-grained indication of what is
happening - only show the loading indicator when the remote actually
needs to get hit, display the email's details and load the rest of the
conversation while waiting for the remote body load. Also lets us pass
errors loading the initial email locally all the way up to the
controller.
2019-01-21 10:29:15 +10:30
Michael Gratton
bd960dcaf5 Make EmptyPlaceholder more generally useful and rename to fit style 2019-01-21 10:29:15 +10:30
Michael Gratton
436fac7f2b Don't auto-mark email as read when window is not in the foreground 2019-01-21 10:29:15 +10:30
Michael Gratton
e9e4e8a277 Make loading conversations olive-buttery smooth
Remove the first/last child hacks from ConversationListBox since the
GTK+ fix for :first-class and :last-class landed in early 3.22.x
releases. Ensure the first expanded email is properly size-allocated
before loading others, that it remains unmoving in the list as other
rows are added, add a loading bar above it when there are more email to
load below it.
2019-01-20 11:44:28 +10:30
Michael Gratton
b87eab9355 Ensure selecting a new conversation can interrupt any currrent load
Not 100% prefect, but getting better.
2019-01-20 11:44:17 +10:30
Michael Gratton
ac9efc44c6 Scroll to the first matching message when highlighting search terms 2019-01-20 11:44:17 +10:30
Michael Gratton
5c36d6493b Rework how email are loaded and displayed in the conversation viewer
Ensure email are pre-loaded by the conversation list so that the viewer
can start loading selected conversations without having to go back to
the database. Ensure the first intereresting email is loaded and
displayed first, then remaining email so that we get something useful
up ASAP.
2019-01-20 11:44:17 +10:30
Michael Gratton
b7de2f6304 Make Conversation.get_emails return a list, since it can be ordered 2019-01-17 12:46:30 +11:00
Michael Gratton
04be24a083 Convert conversation viewer to highlight find terms via the FTS index
This means that both search and find use the same highlighting
mechanism, find picks up search's stemming mechansim, and that we still
matching messages when doing a find that haven't had their bodies
loaded.
2019-01-17 12:45:56 +11:00
Michael Gratton
816743caa3 Simplify ConversationListBox ctor args substantially
Remove all redundant args that could be obtained from the conversation
itself.
2019-01-17 12:45:23 +11:00
Michael Gratton
2a997ef33e Refine conversation viewer load timeout spinner handling 2019-01-17 12:44:38 +11:00
Michael Gratton
f0bddff40d Lazily load message bodies in conversation viewer
This reduces resource consumption when loading large conversations.
2019-01-17 12:32:35 +11:00
Michael Gratton
2c817f9ee4 Import standard GNOME Flatpak CI config rather than copy/pasting it 2019-01-17 12:32:35 +11:00
Michael Gratton
7b8171a399 Update Gitlab CI Flatpak build with standard template
See: https://gitlab.gnome.org/GNOME/citemplates
2019-01-17 12:32:35 +11:00
Alex Henrie
d5969fde9f Only collapse runs of space, tab, carriage return, and newline
Closes #184
2019-01-17 12:32:35 +11:00
Michael Gratton
1877c81d00 Allow configuring the location of the web extension shared lib 2019-01-17 11:08:26 +11:00
Michael Gratton
b1f0c405d3 Increase GearyApplication.present() time delta woraround per bgo 726282 2019-01-16 12:27:57 +11:00
Michael Gratton
07c7150e14 Merge branch 'wip/187-flatpak-ci-wrong-branch' into 'master'
Import standard GNOME Flatpak CI config rather than copy/pasting it

Closes #187

See merge request GNOME/geary!87
2019-01-16 00:39:58 +00:00
Michael Gratton
d91573e7a0 Update INSTALL and GitLab CI to use Enchant 2 on Fedora 2019-01-16 11:12:31 +11:00
Michael Gratton
92d7b8b5c9 Remove duplicate webkitgtk dep 2019-01-16 11:12:31 +11:00
Michael Gratton
68a985a76c Support building with Enchant 2.x
This adds support for Enchant 2 named "enchant" and Enchant 2 named
"enchant-2" (!)
2019-01-16 11:12:31 +11:00
Michael Gratton
02c60f8db7 Import standard GNOME Flatpak CI config rather than copy/pasting it 2019-01-16 11:09:40 +11:00
Michael Gratton
f80fe6b7c0 Merge branch 'wip/187-flatpak-ci-wrong-branch' into 'master'
Update Gitlab CI Flatpak build with standard template

Closes #187

See merge request GNOME/geary!86
2019-01-16 00:00:33 +00:00