Commit graph

1937 commits

Author SHA1 Message Date
Robert Roth
bd78b50e62 Install icons into hicolor theme directory: Bug #737861 2014-10-28 13:40:53 -07:00
Robert Roth
86316e18bd Use common icon names and "mail-" prefix: Bug #713454 2014-10-28 13:20:00 -07:00
Мирослав Николић
62ad5674f9 Added Serbian translation 2014-10-27 05:09:18 +01:00
Jim Nelson
edc83bd5e5 Use File.delete_async() rather than File.delete(): Bug #714665
GLib minimum required version is now 2.34.
2014-10-24 13:03:46 -07:00
Jim Nelson
b5a4feb207 Don't return flags Set if none in database: Bug #713907 2014-10-24 12:45:38 -07:00
Jim Nelson
643c1d4651 Remove Status.RAILED ReplayOperation result code
Status.FAILED was only being used by CreateEmailOperation, and even
then it was being used inappropriately.  ReplayOperations should throw
an Error on failure.
2014-10-24 12:42:21 -07:00
Jim Nelson
1ec6852f82 Remove lazy_list_* operations and support code: Bug #713878
The lazy_list_* operations outlived their purpose long ago and now
represent dead interfaces and unused code paths.
2014-10-24 12:42:21 -07:00
Robert Schroll
da881c3262 Allow select-reply through message menu
Only use selection as quote if it is in the message whose message menu
was used.

https://bugzilla.gnome.org/show_bug.cgi?id=738187
2014-10-24 08:36:38 -04:00
Jim Nelson
0195d64820 .gitignore tokenizer binary if built by user 2014-10-23 17:28:54 -07:00
Jim Nelson
86358b58b4 Remove search index progress bar margins
With GtkHeaderBar, the margins are no longer necessary.
2014-10-23 17:26:41 -07:00
Jim Nelson
0004080f66 Improved search indexing progress indicator usage: Bug #713153
This change does two things: (a) Only activate the search index
progress monitor if indexing has actually started (i.e. doesn't
display if no work is to be done), and (b) better estimates the amount
of work to be performed so the progress bar doesn't "jump" at the very
end.
2014-10-23 17:24:32 -07:00
Jim Nelson
20c0bd490a Reduce database pause for initial search table scan: Bug #725929
SELECT within a SELECT can be deadly with SQLite and we've coded them
out of other places to improve database performance.  The initial
search table scan at startup also used a SELECT within a SELECT, and
so refactoring it to manually perform the UNION operation improves
performance.  The normal case (no rows must be indexed) is completed
almost instantaneously now.
2014-10-23 16:42:06 -07:00
Jim Nelson
dee8c2437b Note for translators regarding search operators and docs: Bug #738340
Search operators are marked for translation, so the help documentation
list must match the strings in the source file.
2014-10-23 15:13:05 -07:00
Jim Nelson
8e272f3f15 Disable SSLv3 (POODLE attack) in GnuTLS: Bug #739019
This disables SSLv3 in GnuTLS (and therefore WebKit) to avoid
susceptibility to the POODLE attack vector.  This is an extremely
unlikely vector for Geary as Javascript is disabled for all WebKit
views.
2014-10-22 17:01:31 -07:00
Jim Nelson
9013140c70 Present Welcome dialog if Geary re-run while visible: Bug #720360
If the Welcome dialog (used to create the initial account) is visible
and Geary was re-run, an empty main window would appear.  This is due
to the Welcome dialog hiding the main window until the first account
is created.  Now, if Geary is re-run the Welcome dialog is presented
to the user.

This may possibly solve bug #737811.
2014-10-21 15:00:23 -07:00
Robert Schroll
770234cf05 Enable GMime.FILTER_HTML_CONVERT_ADDRESSES
GMime version bumped, since this was broken pretty badly before 2.6.14.

https://bugzilla.gnome.org/show_bug.cgi?id=713430
2014-10-20 22:59:05 -04:00
Jim Nelson
efa756154c Rotate and scale inline images with Content-ID: Bug #738333
Inline images with a Content-ID were being processed by the inline
image replacer but post-processing code would then drop the IMG tag
and replace it with the full-sized unrotated image data URI.  This
corrects that problem by noting when an image with a Content-ID has
been replaced.
2014-10-20 17:57:01 -07:00
Jim Nelson
e93c784aac Save inline images correctly to disk: Bug #738877
Inline images are rotated and scaled when displayed in the
conversation viewer for speed reasons (as well as to make extremely
large images manageable for the user to view).  They were converted
to PNG during this operation.

Saving the image was, in turn, saving the rotated/scaled PNG although
the filename remained the original name (i.e. .jpg, usually), causing
issues for other tools who detect image type from the extension.

This patch solves this problem by maintaining the original image
buffer in memory.  When the user goes to save the image, the original
buffer is saved, not the rotated and scaled PNG.
2014-10-20 17:30:43 -07:00
Kjartan Maraas
ac0abb410c Updated Norwegian bokmål translation. 2014-10-16 23:59:25 +02:00
Andika Triwidada
380cc54427 Updated Indonesian translation 2014-10-16 12:56:45 +00:00
Adolfo Jayme Barrientos
8d99b747da Updated Spanish translation 2014-10-14 10:32:33 +00:00
Federico Bruni
26122968a8 Updated Italian translation 2014-10-13 06:24:19 +00:00
Piotr Drąg
ad59da6b83 Updated Polish translation 2014-10-12 14:38:30 +02:00
Piotr Drąg
9776bc0071 Updated POTFILES.in
intltool won't treat a file as a .desktop file if it doesn't have the
.desktop extension, so use [type: gettext/ini] to force it.
2014-10-11 18:14:08 +02:00
Viko Adi Rahmawan
66dc465d89 Contractor support: Bug #734717 2014-10-10 14:51:05 -07:00
Federico Bruni
9d85f436c7 Updated Italian translation 2014-10-10 06:36:42 +00:00
Andika Triwidada
29ad3d9c6d Updated Indonesian translation 2014-10-10 06:24:06 +00:00
Jim Nelson
1de491cb0d Remove GtkTreeView Ctrl+N binding: Bug #713917
GtkTreeView's binding for Ctrl+N to "move cursor to next item"
conflicted with Geary's Ctrl+N binding for New Message.  This removes
GtkTreeView's binding.
2014-10-09 19:10:10 -07:00
Jim Nelson
15cac889f7 Support multiple Message-IDs with In-Reply-To
Prior RFC822 code treated In-Reply-To as only capable of listing a
single Message-ID parent.  The spec does allow for multiple parent
messages, so this change reflects that.

This potentially can also fix bugs where messages were not included
in conversations, but this would be an edge case, as that would
require the MUA not listing the In-Reply-To Message-IDs in the
References list, which Geary does properly parse.
2014-10-09 18:14:12 -07:00
Jim Nelson
86d319fb62 Better Message-ID and Message-ID list parsing
Discovered some messages that were not being incorporated into their
conversations properly due to their Message-IDs not being bracketed.
This change makes the parsing a bit more liberal when parsing but
stricter when stored in memory to ensure that hash() and equal_to()
work every time.
2014-10-09 18:07:44 -07:00
Jim Nelson
807072d247 Use whole-word matching for attachment detection: Bug #713610
Old algorithm did internal-word searching which triggers false
positives.  This introduces full-word matching (as well as suffix
matching of document file extensions, which the old algorithm got
for free) and a wider vocabulary of words to search for.

We lost "cover letter" due to limitations of this algorithm.
2014-10-09 15:22:33 -07:00
Jim Nelson
80555184be Prevent multiple mark-read ops when viewing conversation: Bug #713535
Previously, the code waited for the engine to report that a message
was manually marked as read to add the state it would need to avoid
marking the message as read when scrolling.  Now that state is set
before submitting the op to the engine, meaning continued scrolling
doesn't trigger more mark operations.
2014-10-09 14:38:44 -07:00
Jim Nelson
7074c58026 Count badges only for Inbox, Drafts, Spam, Outbox, labels: Bug #738257
To reduce clutter in the sidebar, only display count badges for the
above folders.
2014-10-09 14:23:11 -07:00
Jim Nelson
695426c1cb Remove Unity bindings: Bug #713092 2014-10-09 14:06:22 -07:00
Jim Nelson
4f8cadc3e8 "View Source" creates tmp files only readable by user: Bug #724436 2014-10-09 13:55:24 -07:00
Robert Schroll
3b173a0672 Strip quote chrome from selection when replying
https://bugzilla.gnome.org/show_bug.cgi?id=712912
2014-10-08 18:02:40 -04:00
Robert Schroll
387e71067e Preserve newlines when quoting selected plain text
https://bugzilla.gnome.org/show_bug.cgi?id=712912
2014-10-08 18:02:40 -04:00
Robert Schroll
fc41d2a7b6 Place cursor appropriately in new composer
When bottom posting, we need to place it between the quote and the
signature.  Rather than trying to smoosh guess about where it should go,
we mark the spot explicitly when adding (or not adding) the signature.

https://bugzilla.gnome.org/show_bug.cgi?id=712912
2014-10-08 18:02:40 -04:00
Robert Schroll
db6b48ed26 Add selected text as quote in existing reply
This happens only if it's not changing the reply type.  This helps in
the case where you are switching the reply and haven't de-selected text
that was previously quoted.

https://bugzilla.gnome.org/show_bug.cgi?id=712912
2014-10-08 18:02:40 -04:00
Robert Schroll
099caa4be0 Use bottom-posting when replying with selection
Forwarding always uses top-posting, since it makes it hard to
distinguish between the original mail and a bottom-posted reply.

https://bugzilla.gnome.org/show_bug.cgi?id=712912
2014-10-08 18:02:40 -04:00
Robert Schroll
fac79c7fed Use selected text in quotes when available
https://bugzilla.gnome.org/show_bug.cgi?id=712912
2014-10-08 18:02:40 -04:00
Robert Schroll
4d38f66ecb Choose the message to reply to based on selection
If part of a message is selected, that will be the replied-to message.
If parts of multiple messages are selected, or nothing is selected, the
last email will be replied to.

https://bugzilla.gnome.org/show_bug.cgi?id=712912
2014-10-08 18:02:40 -04:00
Jim Nelson
34352c6a1a Update to 0.8.1 2014-10-07 15:11:48 -07:00
Jim Nelson
b25a08e373 Install Czech and French online help 2014-10-07 14:44:02 -07:00
Jim Nelson
f08dbc1c6f Don't show close/detach buttons twice under GTK+ 3.14: Bug #737860
Two sets of close/detach buttons are added to the inline composer to
place them according to theme layout.  For whatever reason, under
3.14 this call needs to be made when the widget is realized, whereas
before it was being called earlier.
2014-10-03 15:32:35 -07:00
Jim Nelson
d7e8136cd5 Fix remaining icon issues with bug #732065
Archive button now loads and miscellaneous icons (including close icon
used in viewer pane) are scaled properly.

Spam icon remains too small under GTK+ 3.14.  That will be fixed with
bug #737862.
2014-10-03 15:01:25 -07:00
Jim Nelson
8867ed00cd Fix dtor names, empty if block
Latest build of Vala catches these.  if block is a logic change, but
harmless as (a) it fixes a bug that (b) is never exercised by the
application, as it does not logout of IMAP sessions.
2014-09-26 11:57:30 -07:00
Matthias Clasen
f1fc86f2db Fix toolbar icon size in GTK+ 3.14: Bug #732065
By setting the icon pixel size, that forces GTK+ to load images
installed in our locations rather than the theme's.
2014-09-25 16:46:59 -07:00
Jim Nelson
1dbd8affd5 Add gcr-3 version runtime requirement to debian/control: Bug #737304 2014-09-25 15:59:05 -07:00
Jim Nelson
c9979a973e Specify minimum gcr-3 requirement: Bug #737304
Earlier versions didn't include a VAPI.
2014-09-25 15:57:28 -07:00