Commit graph

1993 commits

Author SHA1 Message Date
Jim Nelson
abe45d51b4 Fix code attribute to compile under Vala 0.28: Bug #741760 2014-12-19 12:54:43 -08:00
Yosef Or Boczko
9c2f029587 Updated Hebrew translation 2014-12-19 12:15:19 +02:00
Robert Schroll
8a302a9f81 Add composer shortcuts to documentation
https://bugzilla.gnome.org/show_bug.cgi?id=741573
2014-12-19 00:41:17 -05:00
Robert Schroll
80ed83ab74 Remove Ctrl-R shortcut for color in composer
https://bugzilla.gnome.org/show_bug.cgi?id=741628
2014-12-19 00:41:00 -05:00
Robert Schroll
77372bb254 Add Ctrl-D shortcut to detach composer
https://bugzilla.gnome.org/show_bug.cgi?id=741574
2014-12-19 00:40:47 -05:00
Jim Nelson
1f073831d5 Revert "Use hairlines for conversation list separators: Bug #741006"
This reverts commit ced85aaa8e.
2014-12-18 17:30:38 -08:00
Jim Nelson
23511dc36c Periodic database & attachments garbage collection: Bug #714134
See the ticket (comment #2) for more information on the thinking and
strategy here, but in a nutshell this will remove from the Geary
database all emails no longer accessible via any folder and not seen
on the server in over 30 days.  It also deletes those messages
attachment(s) and removes any empty directories in the attachment/
directory to prevent clutter.  If enough messages are garbage
collected, Geary will vacuum the database at startup, which will
lower its disk footprint and reduce fragmentation, potentially
increasing performance.
2014-12-18 17:00:47 -08:00
Rafael Ferreira
a740b3f2f1 Updated Brazilian Portuguese translation 2014-12-17 01:21:22 +00:00
Jim Nelson
533ab75ee3 Improved search experience: Bug #720361
This introduces a new full-text search algorithm that attempts to
curb the effects of overstemming in the Porter Snowball stemmer.
The FTS table will be regenerated with this update.

The crux of this new algorithm is a configurable heuristic that
reduces stemmed matching.  The configuration is not available via the
UI (I suspect it will only confuse users) but can be changed by power
users via GSettings.  More information is available at:

https://wiki.gnome.org/Apps/Geary/FullTextSearchStrategy
2014-12-16 12:26:31 -08:00
Muhammet Kara
068b3abcfc Updated Turkish translation 2014-12-13 10:48:13 +00:00
Federico Bruni
c279d716f8 Updated Italian translation 2014-12-12 07:59:44 +00:00
Georges Basile Stavracas Neto
b7f989685b Use GtkHeaderBar for Accounts & Prefs dialogs: Bug #741240 2014-12-08 15:18:34 -08:00
Jim Nelson
c128fc9ee9 Add de help translation target to CMakeLists.txt 2014-12-04 17:11:41 -08:00
Christian Kirbach
b93ef2e502 Added German help translation 2014-12-05 00:00:41 +01:00
Jim Nelson
b288eb54e5 Update POODLE SSLv3 fallback string: Bug #741132
As recommended by bug #738633 comment #21.
2014-12-04 13:54:30 -08:00
Jim Nelson
de59507b9d Vala 0.28 now warns about unused/unknown attributes: Bug #741077 2014-12-03 11:50:03 -08:00
Mark Pariente
b22682d2a2 Geary window does not open due to race condition: Bug #737811
Although prior fix for bug #737811 solved problem for some users,
apparently Geary still had an issue when upgrading a database with
new GLib Mutex implementation, which uses Linux's futexes whenever
available.  This solution gives the notifying thread a chance to
signal the waiter that its work is completed.
2014-12-02 14:14:52 -08:00
Georges Basile Stavracas Neto
ced85aaa8e Use hairlines for conversation list separators: Bug #741006 2014-12-02 13:28:30 -08:00
Marek Černocký
c1f4df8f13 Updated Czech translation 2014-11-24 20:48:55 +01:00
Maria Mavridou
5e5f4e3ae1 Updated Greek translation 2014-11-17 10:07:21 +00:00
Jim Nelson
da2efeab03 Move UID/UIDVALIDITY/SeqNum from signed 32 -> unsigned 32: Bug #737642
Prior code inadvertantly limited UID and UIDVALIDITY to signed, not
unsigned, 32-bit integers.  I've also added stronger checking of
numbers received off the wire, both that they're truly numeric
according to RFC and that they're within boundaries, if specified.

This also enforces bit width of integers from IMAP string parameters
to avoid similar problems in the future.
2014-11-14 15:18:12 -08:00
Jim Nelson
cbb21b2f9e Dynamically detect when running under Unity: Bug #737258
This removes the --enable-unity ./configure flag in favor of detecting
the UI shell at runtime.
2014-11-14 13:55:05 -08:00
Jim Nelson
9cb7e6bd13 Don't assert Message-ID was decoded for non-empty string: Bug #740049
If Message-ID string is "<>", then no Message-ID will be decoded even
though the string itself is non-empty.
2014-11-13 19:35:04 -08:00
Michael Gratton
04671efaee Fix "BAD Invalid date in Search command" from Cyrus IMAPD.
Bug #740041.

* src/engine/imap/message/imap-internal-date.vala:
  Geary.Imap.InternalDate::to_search_parameter was returning the result
  of serialize(), rather than serialize_for_search().
2014-11-12 18:38:23 -08:00
Adolfo Jayme Barrientos
12e22b1f39 Updated Spanish translation 2014-11-12 10:59:39 +00:00
Jim Nelson
2095ae955e Return to IDLE properly when connection lulls
Commit 96aaf3 fixed a bug with regard to IDLE status responses being
improperly reported to ClientSession.  As it turned out, that fix
introduced a bug by not properly decrementing outstanding_cmds, which
left the ClientConnection in a state where it would never enter IDLE
thereafter.

The problem is a change I pondered at the time but didn't commit due
to that fix being so close to release time: not reporting the original
IDLE command to ClientSession either.  That in itself is harmless, but
not doing that also avoids incrementing outstanding_cmds for that
command, meaning when the IDLE completes that value returns to zero
and the ClientConnection is in an appropriate state to return to IDLE
when ready.
2014-11-11 18:24:16 -08:00
Jim Nelson
6b3db836ce Allow disabling notifications via libmessagingmenu: Bug #739429 2014-11-11 16:49:45 -08:00
Yosef Or Boczko
c985030c8b Updated Hebrew translation 2014-11-12 02:32:07 +02:00
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