Commit graph

3290 commits

Author SHA1 Message Date
Michael Gratton
10120b816b Don't ignore sent messages in postman queue, try to save them. Bug 727679.
* src/engine/imap-db/outbox/smtp-outbox-folder.vala
  (Geary.SmtpOutboxFolder.do_postman_async): Flag sent messages rather
  than skipping them, only try sending messages that are unsent, always
  try saving all messages, re-queue if unsent or unsaved.
2017-10-26 18:03:56 +11:00
Michael Gratton
f36d6804e0 When filling postmaster queue, include all messages, not just unsent. Bug 727679.
* src/engine/imap-db/outbox/smtp-outbox-folder.vala: Remove where clause
  from prefill query.
2017-10-26 18:03:56 +11:00
Alex Henrie
d5277fea3b Fix assertion failure if there are messages in the outbox on startup. Bug 727679.
* src/engine/imap/api/imap-account.vala
  (Geary.Imap.Account.create_folder_async): Ensure that
  this.hierarchy_delimiter has been initialized before using it.
2017-10-26 18:03:56 +11:00
Kacper Bielecki
2c980036bd Cache contact list store per account. Bug 771903
This implements new cache for ContactListStore.

ContactListStore is created only once per account when account is opened
with GearyController::open_account. It is destroyed in
GearyController::close_account.

ContactListStoreCache class is introduced to manage ContactListStore
instances.

ComposerWidget receives ContactListStoreCache instance instead of
ContactListStore directly in constructor.

To increase performance, backwards compatibility breaking changes are
introduced to Engine API Geary.ContactStore. Signals:

* Gee.ContactStore::contact_added(Contact)
* Gee.ContactStore::contact_updated(Contact)

are replaced with batch equivalents:

* Gee::ContactStore::contacts_added(Gee.Collection<Contact>)
* Gee::ContactStore::contacts_updated(Gee.Collection<Contact>)

Geary.ComposerWidget::load_entry_completions is no longer async as it does
not involve time consuming ContactListStore creation.

CONTACT_MARKUP_NAME column is removed from ContactListStore as it used to keep
state about highlighted areas of text. This is not possible anymore as
ContactListStore is shared between multiple ComposerWidgets.

Highlight implementation has been moved to Geary.ContactEntryCompletion instead.

Additionally contacts_loaded signal is emitted from Geary.ImapEngine.GenericAccount
and propagated to Geary.Account

Geary.ContactListStore sort function is set upon receiving contacts_loaded
signal instead of after initial contacts are loaded. This speeds up Geary
startup for users with long contact lists.
2017-10-24 22:08:36 +11:00
Jiri Cerny
c1de366210 Remember size of dettached composer window 2017-10-24 20:38:30 +11:00
Mario Blättermann
f4a7fef7a1 Update German translation 2017-10-24 07:04:53 +00:00
Piotr Drąg
fd530d8897 Fix a couple of typos in INSTALL 2017-10-23 18:34:12 +02:00
Michael James Gratton
aaee6b1044 Brown paper bag fix for Xenial support in INSTALL. 2017-10-23 12:31:26 +11:00
Michael James Gratton
2e03e99a73 Update INSTALL library and distro versions and tweak wording. 2017-10-23 12:30:30 +11:00
Piotr Drąg
c231eb4d48 Update Polish translation 2017-10-22 18:05:38 +02:00
Alan Mortensen
3dc19a2947 Updated Danish translation 2017-10-22 15:04:26 +02:00
Marek Cernocky
5d5fdd7f75 Updated Czech translation 2017-10-20 15:42:46 +02:00
Niels De Graef
f283630569 Use https:// by default for links
Signed-off-by: Niels De Graef <nielsdegraef@gmail.com>
2017-10-20 16:06:40 +11:00
Niels De Graef
8969d175b2 Use a horizontal icon row for message actions, bug 782931.
Signed-off-by: Niels De Graef <nielsdegraef@gmail.com>
2017-10-20 13:16:50 +11:00
Michael James Gratton
9d7e64974b Merge branch 'wip/779116-remove-gtk-action'
https://bugzilla.gnome.org/show_bug.cgi?id=779116
2017-10-20 12:04:24 +11:00
Mario Blättermann
466ef79da0 Update German translation 2017-10-19 19:54:32 +00:00
Michael James Gratton
d9ad0dc7b2 Fix move and copy menu button ids in the main toolbar. 2017-10-18 16:02:17 +11:00
Michael James Gratton
29bff87864 Restore Archive toolbar label.
* ui/main-toolbar.ui: Update min GTK version, add label to Archive button.
2017-10-18 16:02:13 +11:00
Niels De Graef
1dddcebb92 Start the final part of bug 713991.
* Ported Gtk.Action to GLib.Action in the GearyController.
* Removed Gtk.AccelGroups (handled through Gtk.Application now).
* Got rid of Gtk.UiManager (now all is done through Gtk.Builder).
* Throw away workaround for conflicting Gtk.Actions in ComposerContainer.
* Aggregate zoom in/out/normal into one parameterized zoom action.

Signed-off-by: Niels De Graef <nielsdegraef@gmail.com>
2017-10-18 16:00:50 +11:00
Michael James Gratton
dfd3355d48 Suppress some C compiler build warnings.
Vala causes a _lot_ of these to be emitted for otherwise valid
code. Suppress them so we can actually see more useful warnings.

* src/CMakeLists.txt: Suppress incompatible-pointer-types and
  discarded-qualifiers C compiler warnings.
2017-10-17 18:17:33 +10:30
Michael James Gratton
d09b1d690a Fix search loading spinner never disappearing when autoselect disabled. 2017-10-17 18:17:33 +10:30
Matej Urbančič
5f414b595d Updated Slovenian translation 2017-10-16 20:49:54 +02:00
Michael James Gratton
301ffa6fdd Fix attached message bodies not being loaded. Bug 788637.
https://bugzilla.gnome.org/show_bug.cgi?id=788637

* src/client/conversation-viewer/conversation-email.vala
  (ConversationEmail::start_loading): Actually load attached message
  bodies when loading an email.
2017-10-10 15:16:26 -07:00
Kacper Bielecki
4bb65d5367 Update Unity specific workarounds
Workarounds work now correctly with Ubuntu >= 16.10.

https://bugzilla.gnome.org/show_bug.cgi?id=772546#c20

Change a condition detecting Unity.
2017-10-10 14:32:50 -07:00
Michael James Gratton
f708218c2b Remove some uses of the deprecated GearyApplication.instance prop. 2017-10-10 14:32:50 -07:00
Michael James Gratton
2e739b6345 Fix a compile warning. 2017-10-10 14:32:50 -07:00
Michael James Gratton
bd7f2d1d4c Remove most of the remaining workarounds for earlier GTK versions. 2017-10-10 14:32:50 -07:00
Michael James Gratton
592a5265a9 Remove set_label_xalign workaround and uses of it. 2017-10-10 14:32:50 -07:00
Michael James Gratton
c57cc281fb Remove GTK 3.20/3.22 source defines and the conditionals using them. 2017-10-10 14:32:50 -07:00
Michael James Gratton
1e1b0800a1 Bump minimum library and vala version reqirements.
* CMakeLists.txt: GTK+ to 3.22, WebKitGTK to 2.16.

* src/CMakeLists.txt: Vala to 0.34.
2017-10-10 14:32:50 -07:00
Michael James Gratton
a83c6df2b0 Install appdata to $PREFIX/share/metainfo, not the old appdata dir. 2017-10-10 14:32:50 -07:00
Michael James Gratton
8df85fa781 Add some comments to nightly flatpak-builder manifest for clarity. 2017-10-10 14:32:50 -07:00
Michael James Gratton
dc52e9ac5b Tighten up flatpack manifest per flathub review comments.
* org.gnome.Geary.json: Remove full access to session bus.
2017-10-10 14:32:50 -07:00
Rafael Fontenelle
e0c3c220e9 Update Brazilian Portuguese translation
(cherry picked from commit 091e7159fef9e87b38bedc7f865716f191bf3518)
2017-10-07 06:56:39 +00:00
Dušan Kazik
b1e1d4c44c Update Slovak translation
(cherry picked from commit 27f1d280eb29be5311120f33abe1f97d9fe555fe)
2017-10-05 05:42:54 +00:00
Anders Jonsson
0e371d5e2b Update Swedish translation 2017-10-03 11:25:49 +00:00
Marek Cernocky
8386463294 Updated Czech translation 2017-10-02 17:23:31 +02:00
Piotr Drąg
326557d392 Update Polish translation 2017-10-02 16:41:21 +02:00
Mario Blättermann
adc2d8fd07 Update German translation 2017-10-02 12:14:40 +00:00
Michael James Gratton
46b03f6839 Bump versions ready for 0.13 development. 2017-10-02 22:52:43 +11:00
Michael James Gratton
e3787cd068 Add release notes for 0.12 to appdata, NEWS and debian/changelog 2017-10-02 20:53:11 +11:00
Michael James Gratton
dd3d1a5520 Add additional copyright for current devs. 2017-10-02 20:52:54 +11:00
Michael James Gratton
2b70b3fce3 Update THANKS, etc. 2017-10-02 20:52:45 +11:00
Mario Blättermann
02e7e08ec8 Update German translation 2017-10-02 08:36:17 +00:00
Piotr Drąg
339e4b691d gschema: Fix gettext-domain 2017-10-01 18:31:05 +02:00
Emin Tufan Çetin
3b6e6b337a Update Turkish translation 2017-10-01 16:01:45 +00:00
Dušan Kazik
6154e2eab7 Update Slovak translation 2017-09-30 09:10:24 +00:00
Anders Jonsson
556e52f977 Update Swedish translation 2017-09-29 08:55:50 +00:00
Matej Urbančič
3bf52d7bd5 Updated Slovenian translation 2017-09-29 08:40:38 +02:00
Anders Jonsson
aa4b35c306 Update Swedish translation 2017-09-28 17:53:44 +00:00