Commit graph

1965 commits

Author SHA1 Message Date
Georges Basile Stavracas Neto
01355adc3a Remove borders from interior frames in the UI: Bug #736165 2014-11-11 15:29:18 -08:00
Jim Nelson
b73c56c358 Reduce IMAP timeouts to reduce network load
We've received some criticism of being overly aggressive with our
IMAP timeouts, in particular keepalive traffic.
2014-11-11 13:17:23 -08:00
Jim Nelson
3690068999 Reduce save-draft timeout to 10 seconds
We've become more confident about saving drafts (although issues
remain ensure old ones are deleted as new ones take their place).
I'm dropping the timeout to 10 seconds to reduce network activity
and the number of discarded drafts generated while writing them, which
fills up the users' trash.
2014-11-11 13:14:20 -08:00
Jim Nelson
ab293d2d72 Remove minimum width for sidebar / folder list: Bug #713882
The text label needed to have an ellipsize mode set, otherwise it
enforced a minimum width of the label text itself.  Worse, even if
that label was removed, the minimum width remained.

This fix might be too generous, as it allows for the sidebar to be
collapsed pretty narrowly, causing all text to be ellipsized. It's a
start, however.
2014-11-11 13:04:48 -08:00
Baurzhan Muftakhidinov
d7aeafb8fb Updated Kazakh translation 2014-11-11 08:53:13 +00:00
Baurzhan Muftakhidinov
a88f23de31 Updated Kazakh translation 2014-11-11 06:17:50 +00:00
Baurzhan Muftakhidinov
3a14af4134 Added Kazakh translation 2014-11-11 03:35:14 +00:00
Mattias Eriksson
b9d4116038 Updated Swedish translation 2014-11-10 19:20:44 +00:00
Jim Nelson
74a76eb064 Don't assert() if Imap.Folder created w/ mismatched name: Bug #739316
The assertion was a sanity check that's outlived its original purpose.
When it triggers now, it means an internationalization/encoding issue,
usually with non-Gmail servers that implement XLIST.  Rather than
assert and make Geary unusuable for a subset of our non-English
speaking users, log a message and continue.
2014-11-05 11:54:05 -08:00
Piotr Drąg
14ad75f2b7 Updated Polish translation 2014-11-05 13:24:06 +01:00
mar-v-in
108d0abe4c Specify "Reply-To:" in composer fields: Bug #714588
This also closes bug #713808, as lesser-used fields (Reply-To, Bcc)
are hidden unless the user expands the composer to show them.  Right
now that is an option in the composer's toolbar menu; that may change
in the future if we can find the right place to put the widgetry.
2014-11-04 14:44:05 -08:00
Jim Nelson
2c0e29552a Stricter naming and controls on converting string data to ASCII
This is the result of the recent fix for Turkish locale users.  That
patch was sufficient to solve their issue, but this patch is more
thorough in naming to ensure in the future it's understood that the
IMAP StringParameter objects deal in ASCII, not UTF-8.  If a string
cannot be converted into a StringParameter (must be represented by a
LiteralParameter), that is now also enforced via an ImapError.
2014-11-04 14:18:48 -08:00
Jim Nelson
26a328d7cc Update to 0.8.2 2014-11-04 14:06:42 -08:00
Jim Nelson
2458e0c9e2 Update to 0.6.5
Conflicts:
	CMakeLists.txt
	NEWS
	debian/changelog
2014-11-04 13:01:21 -08:00
Jim Nelson
57ba4dc9ef Updated to 0.6.4
Conflicts:
	CMakeLists.txt
	NEWS
	debian/changelog
2014-11-04 12:59:04 -08:00
Adolfo Jayme Barrientos
97deb1e329 Updated Spanish translation 2014-11-01 16:26:30 +00:00
Jim Nelson
c7b3771c46 Drop NULs and process entire IMAP line
Discovered while working on Turkish UTF-8 bug, technically the IMAP
Deserializer was missing two things: (a) NUL is never allowed in an
IMAP line, even if the string is quoted, and so it should be dropped
rather than processed and cause potential issues, and (b)
DataInputStream will read to EOL, potentially leaving embedded NULs in
the line, meaning the old code would stop without processing the
entire IMAP response.

Although no server has been reported with these issues, I felt it
important to get this right as a defensive measure.
2014-10-31 17:28:46 -07:00
Jim Nelson
e96a8db41f Removed unused code, symbols 2014-10-31 17:19:40 -07:00
Jim Nelson
4a0c3e1199 Build with Vala 0.22.1 (ASCII string binding issue): Bug #739470
ASCII strup/strdown not bound in Vala 0.22 or 0.24, so need to use
externs to import those symbols until Vala 0.26 is the minimum
requirement.
2014-10-31 17:11:36 -07:00
Jim Nelson
1ee017bade Don't crash when closing composer: Bug #739141
This also has the effect of avoiding excessive draft saves due to
the multiple From: widget's changed signal firing even though the
account didn't actually change.
2014-10-31 16:59:45 -07:00
Jim Nelson
bc0a892a25 Correct problems with IMAP parsing when using Turkish: Bug #714892
When connecting to any IMAP server while the local user's locale is
configured to be Turkish, Geary will mis-parse many of the IMAP
server's responses, leading to essentially a failed connection due to
state issues and more.

The problem is that some of the parsing code was using g_utf8_strdown
to convert received text to lowercase to perform case-insensitive
string comparisons.  Turkish has multiple letter I's (dotted and
dotless), and when the UTF-8 code transformed it to lowercase, a
different UTF-8 code point was selected than the English/ASCII 'i'.

The solution is to explicitly use ASCII variants of string
transformation, comparison, and hashing to ensure 7-bit operations are
used throughout the IMAP and RFC822 stack.  Further commits will
follow that enforce this a bit more, but this commit is sufficient to
correct the problem for our Turkish users.
2014-10-31 11:13:56 -07:00
Yosef Or Boczko
f774f3d4d9 Updated Hebrew translation 2014-10-29 12:43:05 +02:00
Marek Černocký
f610709ef5 Updated Czech translation 2014-10-29 07:52:12 +01:00
Jim Nelson
46531a17fa Add gcr-3 dependency information to INSTALL 2014-10-28 17:58:26 -07:00
Jim Nelson
ad546ccd8e Password dialog improvements
In addition to changes in prior three commits, this updates the
password prompt UI to closer match the new GNOME HIG.  It uses
dim-label labels and suggested-action for the OK button, whose text
is changed to "Authenticate".  It also cleans up the inter-widget
spacing, which was a bit excessive.
2014-10-28 17:01:52 -07:00
Jim Nelson
3d73c6d740 Identify password prompt as Geary: Bug #739195
Although commit for bug #720769 ensures that the password dialog is
transient for Geary's main window, this text change ensures the user
knows the password being asked for is for Geary.
2014-10-28 16:37:02 -07:00
Jim Nelson
b5e28ad72f Only show one password prompt at a time: Bug #714597
A nonblocking mutex is used to ensure that only password dialog
is displayed at a time.  The prior commit also made the dialog modal.
2014-10-28 16:34:51 -07:00
Jim Nelson
0da67cb2c1 Password dialog always has transient parent: Bug #720769
Not only a transient parent, but the main window is shown and
presented if hidden to ensure everything is displayed.  This ensures
the password prompt is associated with Geary, answering some of the
concerns in bug #739195.
2014-10-28 16:31:31 -07:00
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