Commit graph

1492 commits

Author SHA1 Message Date
Jim Nelson
8907ebf62d Updates in preparation for 0.4.3 release 2013-12-12 15:56:28 -08:00
Jim Nelson
258c84d335 Build against WebKitGTK 2.0.4: Closes #720290 2013-12-12 14:48:53 -08:00
Charles Lindsay
62af03e511 Add API to make juggling Gee collections easier
This adds a simple Iterable class that lets us take advantage of Gee's
Traversable interface much more easily.  Traversable is great, but
every operation returns an Iterator, which makes it awkward to use
outside of Traversable.  The new Iterable wraps the Traversable
Iterators and methods so you can directly use the result.  It also gives
us a convenient point to add convenience methods in the future.

I've gone through a few arbitrary places in the code to see how the
class might be used, and changed some obvious places to (hopefully) the
equivalent code using the new Iterable class.  More work could be done
here, but the real benefit is simply having the Iterable class around to
be able to use in new code.
2013-12-12 12:42:02 -08:00
Charles Lindsay
2a073e8bbb Export actions via application menu
This adds an app menu, which should show up in modern Unity and GNOME
Shell alike.  We're exporting our existing GtkActions as GActions using
an adapter class, and we've created a new menu definition for the app
menu.

Closes: bgo#713018
2013-12-12 11:34:45 -08:00
Jim Nelson
81fe5b35bd Require Vala 0.22.1: Closes #720169
Older versions of Vala produce an incorrect method signature when
a ref to a null-terminated array of unowned strings is passed to
a virtual method (i.e. Gtk.Application.local_command_line()).
2013-12-10 12:22:28 -08:00
Charles Lehner
0e9cc04afb Certain themes cause Conversation List to be squished: Closes #713954
Some themes (elementary's, Mint 16's Cinnamon theme) cause the
conversation list to appear squished.  It has to do with how the
conversation list calculates the size of each element at app
startup.
2013-12-10 11:56:53 -08:00
Jim Nelson
a92516c12f Updated Italian patch from Federico Bruni 2013-12-09 17:22:04 -08:00
Colin Walters
ff1f7b179b Ignore autotools ./configure flgs for GNOME Continuous: Closes #719874
Probably also useful for other automated build systems.
2013-12-09 17:05:40 -08:00
Charles Lindsay
3eaa1dcb8f Use GtkApplication
This ports the Geary application to use GtkApplication, and removes the
dependency on libunique.

Closes: bgo#714145
2013-12-06 16:43:11 -08:00
ritchiew
bed698cc08 Remove Formatting btn insensitive w/ no selection: Closes bug #714256 2013-12-05 12:48:58 -08:00
Jim Nelson
218f387aab he.po changes 2013-12-05 12:43:40 -08:00
Yosef Or Boczko
6f4cc01928 Updated Hebrew translation 2013-11-26 04:54:44 +02:00
Yosef Or Boczko
c6d2cb4e83 Allow plurals for two strings
Need this for some language.

https://bugzilla.gnome.org/show_bug.cgi?id=713838
2013-11-26 04:45:28 +02:00
Jim Nelson
a95bc467fc Reorganize src/client: Closes bug #713873
This is purely code file deletion and moving with those changes
reflected in CMakeLists.txt.  The .gitignore change should've
happened some time back when we removed the DBus server app.

This change is to make the client source code a bit more logical
and hopefully make it easy for contributors to drill down and find
the module they want to work on.

In addition, unused client code was deleted.  src/common was intended
to be code common to the various apps built here, but since that never
panned out, it was moved into the client base.
2013-11-25 17:35:38 -08:00
Jim Nelson
1a48ccc564 Handle reconnects inside of ImapEngine.GenericFolder
For historical reasons, reestablishing connections when a folder's
session died was handled inside of ConversationMonitor.  This broke
at some point and Geary failed to reconnect when the session dropped.

This patch puts this logic into ImapEngine.GenericFolder, where it
belongs, as well as fixes a problem in ClientSession that caused
issues when the session was closed by the server (via a BYE response).

This patch fixes bug #713609 and bug #714532.  I also believe this
fixes bug #713078.  Additionally, with the reconnect logic now in
GenericFolder, bug #714671 is solved.
2013-11-25 17:19:09 -08:00
Jim Nelson
9f33a0ef41 Resync he.po file 2013-11-25 17:15:51 -08:00
Yosef Or Boczko
0ca8e09c72 Updated Hebrew translation 2013-11-25 16:36:05 +02:00
Jim Nelson
d1c76d7349 Bump to Geary 0.4.2+trunk 2013-11-20 15:40:19 -08:00
Jim Nelson
8605947f3c Geary 0.4.2 2013-11-20 15:39:58 -08:00
Charles Lindsay
6b6db1b705 Fix up po CMakeLists so Geary builds
Piotr Drąg had renamed a po file in commit:c83eed7 but not changed that
line in the po/CMakeLists.txt file, causing the build to break.  This
makes Geary build again.
2013-11-19 17:16:54 -08:00
Piotr Drąg
42c4c40b48 Capitalize description in DOAP file
To follow the convention.
2013-11-19 01:00:33 +01:00
Piotr Drąg
c83eed70b6 Correct language codes of PO files 2013-11-19 00:57:32 +01:00
Charles Lindsay
30ad6d1cd2 Add DOAP file for GNOME 2013-11-18 15:35:22 -08:00
Jim Nelson
e29a9c801a Convert all MIME handling to Engine classes: Closes #6530
We've had numerous bugs due to improper MIME comparisons and dealing
with Content-Type and Content-Disposition (or their lack of presence
in a message).  Now the Engine offers MIME classes that better deal
with these issues without exporting the GMime structures, which
are not as easy to manage and don't offer some of the things that
have bitten us in the past (such as case-insensitive comparisons).
2013-11-15 17:39:00 -08:00
Jim Nelson
eed221bf3a Can't bld w/ Vala 0.22.1 WebKitGTK 2.2.2: Closes #7694, Closes #7695
Two problems:

(a) Vala 0.22.1 fixes a binding change in libnotify
that has to be fixed but causes Geary to be unable to build on prior
versions of Vala.  libnotify.vapi added to solve this problem.

(b) New version of Vala appears to be more sensitive to detecting
problems in .gir files.  Using our .metadata file to paper over these
issues in WebKit-3.0.gir.
2013-11-15 16:53:18 -08:00
Jim Nelson
2b57d48bdc Bump to 0.4.1+trunk 2013-11-11 18:25:27 -08:00
Jim Nelson
35bbe87836 Update version to 0.4.1, update NEWS/changelog
Conflicts:
	CMakeLists.txt
2013-11-11 18:25:00 -08:00
Jim Nelson
bd293ca270 Update translations for 0.4.1: Closes #7646 2013-11-11 18:24:15 -08:00
Yosef Or Boczko
6c00520015 Fix Search box clear button for RTL: Closes #7640 2013-11-08 13:04:59 -08:00
Yosef Or Boczko
288eaee831 Indent and outdent icons for RTL: Closes #7551 2013-11-08 13:03:29 -08:00
Jim Nelson
0aae79f286 Don't use non-wildcarded form of LIST command: Closes #7624
With IceWarp IMAP server, the non-wildcarded form of LIST that
Geary was some times using was causing the Spam folder to return
a different name, triggering an assertion in Geary.  This patch
works around that problem using an internal cache of folder names
and attributes, which is something we should've been doing anyway.
2013-11-08 12:48:09 -08:00
Jim Nelson
174d6545c6 Fix IMAP STARTTLS handshaking: Closes #7454
The output stream was being inadvertantly closed right
before the STARTTLS handshake, causing the entire IMAP
connection to be considered dead.
2013-11-01 18:52:31 -07:00
Jim Nelson
0827af8a01 Add STARTTLS command to geary-console
However, STARTTLS won't work (at the connection level) until #7454
lands.
2013-11-01 16:20:50 -07:00
Jim Nelson
6aac8a46dc Fix blank email due to Camel/Cased MIME type: Closes #7654
See also #6530, something we really need to do.
2013-10-30 15:10:05 -07:00
Jim Nelson
e51f7c1386 Fix bug in RFC822.Message.from_composed_email
This constructor didn't initialize the required RFC822.Date field,
which causes a crash with the geary-mailer (and could potentially
cause issues elsewhere in the future).  However, had to expand the
RFC822.Date class in order to accomodate this fix.
2013-10-30 12:15:25 -07:00
Jim Nelson
cfc472cfc8 Build with WebKitGTK 2.2.0: Closes #7023
Geary will autodetect which version of the library is installed
and select the appropriate .metadata file to use for bindings.
Still backwards-compatible with Geary 1.10 to 2.0.
2013-10-28 16:18:10 -07:00
Jim Nelson
2401e005a6 Crash when connection denied or times out: Closes #7634
Previously ClientSession.connect_async() could leave the object in
a LOGGED_OUT state if the connection was denied by the server or
a timeout occurred when connecting.  This was bad because that
state indicates that the underlying connection may still be active
and needs an async close to occur.  Now connect_async() guarantees
that the connection is closed/disconnected/dead if it throws an
Error.
2013-10-24 18:00:09 -07:00
Charles Lindsay
b4f3f15d37 Change warnings to debug/message calls; fix #7480 2013-10-13 14:16:09 -07:00
Charles Lindsay
8ddb21824a Fix invalid printf; fix #6962 2013-10-13 14:13:21 -07:00
Eric Gregory
05f6b48bc5 0.4.0+trunk version 2013-10-03 17:37:41 -07:00
Eric Gregory
3009a0e293 Version bump 2013-10-03 16:29:06 -07:00
Charles Lindsay
0d8b78bf64 Fix git archive to not include debian directory
Not sure if something changed in git, but we discovered the debian
directory was being included in the dist tarball, after Geary 0.3.  This
change seems to fix it in modern git.
2013-10-03 16:22:04 -07:00
Eric Gregory
a278247fc0 News/Changelog for 0.4.0 2013-10-03 15:37:58 -07:00
Charles Lindsay
86163a1be0 Update translations from Transifex 2013-10-03 15:31:57 -07:00
Eric Gregory
9392751986 Closes #7456 New icons from Sam Hewitt 2013-10-03 15:30:45 -07:00
Jim Nelson
b2fb15f830 Revert change in ec032d5b: Refs #7023
Mistaken support for webkitgtk3 2.2.0, will have to wait for later.
2013-10-03 15:19:31 -07:00
Eric Gregory
ebe362717d Closes #7560 Fix for wacky unread counts on first run 2013-10-02 19:05:48 -07:00
Charles Lindsay
f9bedf6735 Check for null text part; fix #7584 2013-10-02 18:26:28 -07:00
Eric Gregory
f5c0b9b260 Closes #7374 Fix various holes were drafts weren't deleted 2013-10-02 16:15:45 -07:00
Eric Gregory
aa1175b2ab Closes #7508 Composer edit box is now in a GtkFrame 2013-10-02 16:07:34 -07:00