Commit graph

1790 commits

Author SHA1 Message Date
MarMav
79ce497189 Updated Greek translation 2014-06-13 11:46:37 +00:00
Jim Nelson
06e5c037c6 Fix infinite busy spinner: Bug #730655
Spinner didn't stop during certain Account.open_async() operations.
It's worth considering making all ProgressMonitors reentrant.
2014-06-12 13:02:46 -07:00
Robert Schroll
1909f8a5cb Debugging statements for creation and destruction of composers: Refs bug #731491 2014-06-12 13:04:58 -04:00
Daniel Mustieles
e054e9b714 Updated Spanish translation 2014-06-12 17:57:08 +02:00
Jim Nelson
28629ce6e2 Reduce database pauses: Refs bug #725929
Although not completely solved, this reduces database pauses
(along with prior commit improving parallelization of database) by
how ImapDB.Folder accesses the database.  In particular, one code
path required an INNER JOIN that simply took too long (~8s) on large
databases, locking the entire db in the process.  Tests and hacking
showed that, annoyingly, manually performing the INNER JOIN by
intersecting the results of two SQL transactions was more efficient.

In addition, creating/merging emails into the database is done in
chunks with a small pause between each chunk to allow other tasks
the opportunity to get to the database.  Create/merge is one of the
most expensive operations on the database.
2014-06-11 17:48:23 -07:00
Jim Nelson
9efbf64f3e Improved Folder connection retry
Folder now checks the open_count (as well as other details) to
determine if it should retry a closed connection; this prevents
certain race conditions where the Folder will continue to be reopened
even though it was legitimately closed by the caller.
2014-06-11 17:35:23 -07:00
Jim Nelson
bb09a2f3af Prevent AccountSynchronizer from deadlock
Occassionally the EmailPrefetcher would not signal its work was
completed, causing the AccountSynchronizer to deadlock (it waits
until the EmailPrefetcher completes before closing the Folder and
moving on to the next one).  The problem was due to the
EmailPrefetcher not clearing a timeout id, making other code think
other work was outstanding when it was in fact completed.
2014-06-11 17:27:14 -07:00
Jim Nelson
c0607fcccc Synchronize with Sent Mail immed. after sending one: Refs bug #714450
This doesn't completely solve bug #714450 but it does display a reply
or forwarded message more quickly in a conversation (rather than wait
for the Account object to signal that a Folder's contents has changed,
which is polled and may take minutes to notice).

This also slightly rearranges the priority order for background
synchronization, recognizing that some Folders (Drafts, Sent Mail) are
as active as All Mail but quicker to synchronize with (i.e. don't wait
for All Mail to complete synchronization before checking those).
2014-06-11 17:18:35 -07:00
Jim Nelson
8dec339f2e Improve database parallelization
Prior attempts to use multiple threads to access the SQLite database
failed due to locking reasons.  This re-attempt fixes this, alloc'ing
four threads per database and slightly changing the locking strategy
for read-write transactions.

Part of the prior issues may have been an attempt to use a connection
pool (this patch simply opens a new connection for each transaction,
which for our purposes seems fine).  The read-write strategy of
deferring locking until the write portion of the transaction was also
too optimistic, causing transactions to stall in the middle of their
operations.
2014-06-11 17:05:54 -07:00
Robert Schroll
ef984d8eca Make zooming conversation view work with smooth scrolling
Often, we get smooth scrolling events on WebViews, but the zooming code
looks only for non-smooth scroll events.  This handles both.

https://bugzilla.gnome.org/show_bug.cgi?id=731500
2014-06-11 16:01:34 -04:00
Gustavo Rubio
34deaf76ce Don't forget signature when "Sign emails" is unchecked: Bug #730965 2014-06-11 12:24:03 -07:00
Gustavo Rubio
2cdec72b50 Only add signature to draft once: Bug #731177 2014-06-10 12:38:34 -07:00
Mattias Eriksson
ee03aaa2c0 Updated Swedish translation 2014-06-08 21:16:50 +00:00
Piotr Drąg
fde687391e Updated Polish translation 2014-06-05 17:50:31 +02:00
Piotr Drąg
ff43355924 Updated Polish translation 2014-06-05 17:48:37 +02:00
Yosef Or Boczko
8760971e25 Updated Hebrew translation 2014-06-05 09:01:53 +03:00
Robert Schroll
32bda87fba Clear the URL overlay when the selected conversation changes
https://bugzilla.gnome.org/show_bug.cgi?id=731225
2014-06-04 14:47:27 -04:00
Robert Schroll
4cfd18b52e Set document font explicitly with CSS in conversation viewer: Bug 713746
This avoids the previously-mentioned bug in "font-family: initial".

Note that if you set the font size to 11pt in CSS, for example, you get
15px.  But if you set it to 11pt with the WebSettings and then set that
size with font-size: medium, you get 14 px.
2014-06-03 20:56:27 -04:00
Robert Schroll
ef98b7d190 Use system fonts in webviews: Bug 713746
Set the WebSettings default and monospace fonts from the system
settings.  Also, use "font: caption" to get the UI font for UI elements
in the webview.  The former need to be updated each time they change.
The latter is automatically updated, though that only works
sporadically.

Unfortunately, this leaves messages in the conversation view in the UI
font, not the document font, because webkit treats "font-family:
initial" like "font-family: inherit" for some reason.
2014-06-03 20:56:08 -04:00
Robert Schroll
39ef136065 Separate the pill-style Toolbar from the pill-style HeaderBar
The composer toolbar uses the former, while the main window header uses
the latter.

https://bugzilla.gnome.org/show_bug.cgi?id=730903
2014-06-03 20:43:01 -04:00
Wolfgang Steitz
14a6fe0acc Final touches to bug #730708 (padding in Accounts dialog) 2014-06-03 15:12:44 -07:00
Jim Nelson
0774757a7a Restore mnemonics for Archive, Trash, Delete: Bug #731171
Also adds translator notes for Archive and Trash (that they are
actions, not the folders themselves): Bug #731172
2014-06-03 14:01:41 -07:00
Enrico Nicoletto
20bf88c491 Updated Brazilian Portuguese translation 2014-06-03 13:43:12 +00:00
Marek Černocký
909c27d0d9 Updated Czech translation 2014-05-31 15:41:21 +02:00
Marek Černocký
f55dc6866a Updated Czech translation 2014-05-31 15:39:13 +02:00
Jim Nelson
ccae352f79 Add "Archive", "Trash", and "Delete" button labels back 2014-05-30 12:13:18 -07:00
Piotr Drąg
411cc6b298 Updated Polish translation 2014-05-30 19:44:35 +02:00
Robert Schroll
e4e3dc41db Set background color of embeded composer: Bug #730491
ComposerEmbed is switched to an EventBox so that it has a Gdk.Window
whose background can be set.
2014-05-29 22:05:54 -04:00
Gustavo Rubio
c5228fd777 Allow user to specify signature for new messages: Bug #712895
User may now add a brief signature in the Accounts manager for
each account.  When starting a new message or replying, the signature
is prepended to the edit text.
2014-05-29 15:49:04 -07:00
Piotr Drąg
80a7c0d3a6 Updated Polish translation 2014-05-29 18:29:54 +02:00
Yosef Or Boczko
5f364d2117 Updated Hebrew translation 2014-05-28 14:55:15 +03:00
Jim Nelson
9741f64872 Configure saving drafts on/off per account: Bug #726728
Saving drafts may not be configured per-account.  This is to assist
users who (a) are using Gmail clients that include trashed messages
in their conversations (which is where Geary's drafts wind up when
discarded) or (b) Gmail users where, for unexplained reasons, Geary
can't expunge their draft messages (bug #729136).
2014-05-27 18:41:43 -07:00
Jim Nelson
b5eed80ea7 Fix endless retry loop when selecting unselectable folder
Discovered when selecting the [Gmail] folder, which is unselectable.
2014-05-27 15:57:30 -07:00
Jim Nelson
c18d2cd9c4 Update GTK requirements in debian packaging 2014-05-27 15:22:14 -07:00
Jim Nelson
bea71791dc Regression: Search upgrade prog monitor not shown 2014-05-27 15:17:58 -07:00
Jim Nelson
415739a9b5 Improve appearance under Unity: Closes bug #727624
Toolbar improvments, primarily by removing label outright and letting
icons do all the work. Also, from some user request, have tried
moving icons to right side of toolbar, where they're closer to
the conversation viewer.

This does not fix dragging the window by the toolbar (that's fixed
in 3.10, bug #709914) or the title/subtitle in the GtkHeaderBar
being too close. We might consider using a custom title widget.
2014-05-27 15:17:23 -07:00
Jim Nelson
ce269c79bf --enable-unity flag to deal with GtkHeaderBar issues: Refs bgo#727624
Unity doesn't deal well with pure GtkHeaderBar apps, so this allows
for the GtkHeaderBar to be treated like a toolbar and the window
retain its chrome.
2014-05-27 15:17:10 -07:00
Jim Nelson
e44d50561d Display total count, not unread, in headerbar for Drafts/Outbox
This is a similar heuristic as in the folder list, as unread counts
in these folders is uninteresting.
2014-05-27 15:16:52 -07:00
Jim Nelson
85d887248d If Folder's display name changes, signal so UI can update
Noticed this while working on Gtk.HeaderBar patch, that if the display
name changes it won't be reflected in the UI.

Conflicts:
	src/client/components/main-window.vala
	src/engine/abstract/geary-abstract-folder.vala
2014-05-27 15:15:57 -07:00
Yosef Or Boczko
546e97bfa5 Gtk.HeaderBar for main window and composer toolbar: Closes bgo#713478
Nice code reduction using Gtk.HeaderBar in place of Gtk.Toolbar.
Main window no longer has chrome but composer window still does.

Conflicts:
	src/client/components/main-window.vala
	src/client/components/pill-toolbar.vala
	src/client/composer/composer-toolbar.vala
2014-05-27 15:13:01 -07:00
Wolfgang Steitz
e9727a7506 Remove Gtk.Notebook from Accounts dialog: Closes bgo#713955
Replaces Gtk.Notebook with Gtk.Stack, remove various Notebook hacks
we had to introduce.
2014-05-27 15:04:42 -07:00
Jim Nelson
7074626fff Preparing for GTK+3.10
This also removes an errant HAVE_GRANITE preprocessor macro that
should've been removed a long time ago.
2014-05-27 15:04:02 -07:00
Robert Schroll
c6f5ac9a07 Add option to send HTML in geary-mailer 2014-05-27 14:18:08 -07:00
Wolfgang Steitz
ba2da59d51 Accounts dialog: Right justify, dim labels, no colons: Bug #730708 2014-05-27 14:13:07 -07:00
Yosef Or Boczko
e470039742 Updated Hebrew translation 2014-05-27 23:56:05 +03:00
Yosef Or Boczko
595c8429f9 Added title to the preferences dialog: Closes bgo#730457 2014-05-27 13:52:56 -07:00
Adolfo Jayme Barrientos
f459fea322 Updated Spanish Translation 2014-05-27 17:12:45 +02:00
Jim Nelson
637d48f9e2 AppData file now validates 2014-05-23 15:19:24 -07:00
Jim Nelson
6254599696 Update AppData file 2014-05-23 14:52:50 -07:00
Piotr Drąg
3a86e29fb9 Updated Polish translation 2014-05-23 17:04:34 +02:00