Commit graph

1510 commits

Author SHA1 Message Date
Wolfgang Steitz
7da189bddc Use Gtk.SearchEntry: Closes bgno#713544 2013-12-23 14:23:50 -08:00
Wolfgang Steitz
1267830050 "Force" search when Enter pressed on search bar: Closes bgno#713068 2013-12-23 13:53:34 -08:00
William Jon McCann
b55b637c45 Add a little more space to icon in PasswordDialog: Refs bgno#720779 2013-12-20 17:28:53 -08:00
William Jon McCann
8c82996cf4 Use correct symbolic icon for password dialog: Closes bgno#713524 2013-12-20 16:59:53 -08:00
Jim Nelson
229f4dc4b0 Bind to GSettings rather than read/write imperatively
This work is the result of the prior commit (updating the Preferences
box, specifically).  Instead of initialzing Widgets with GSettings
values and writing values out as Widget state changes, bind GSettings
values directly to the Widgets.  This logic is also moved out to the
rest of the application where monitoring changes is necessary.

This has the pleasant side-effect of allowing changes to come in from
GSettings backends (i.e. dconf) and having them updated in Geary
automatically.
2013-12-20 16:48:53 -08:00
William Jon McCann
b4d259100c Make application dialogs transient and modal: Closes bgno#720794
This makes both the Preferences and Accounts dialogs modal and
transient for the parent window.  Additional code changes are to
remove logic in place to deal with previouys modeless-ness of those
dialogs.
2013-12-20 16:36:07 -08:00
William Jon McCann
79d0ea5a22 Add SIDEBAR style class to sidebar: Closes bgno#720785 2013-12-20 14:35:07 -08:00
William Jon McCann
2d61a717ab Unable to use scrollbar along screen edge: Closes bgno#720789
When maximized, can't roll the mouse cursor to the screen edge
and grab the scrollbar due to shadow frame widget.
2013-12-20 12:59:13 -08:00
William Jon McCann
708afbae24 Use license-type in About rather than custom text: Closes bgno#720782 2013-12-20 12:51:26 -08:00
William Jon McCann
fc0b41d5f9 Fix application name in .desktop file: Closes bgno#720781
Also corrects alpha-order problems in THANKS file.
2013-12-20 12:46:53 -08:00
Jakub Steiner
efd15ad906 Use high-resolution icon: Closes bgno#719941
This is to fulfill one of the GnomeGoals of using high-resolution
icons in all GNOME applications.
2013-12-20 12:09:35 -08:00
Jim Nelson
a83688dd8b Update WebKitGTK dependencies in debian/control
This might be what's causing our daily PPA not to build for
Trusty 14.04.
2013-12-18 11:24:48 -08:00
Jim Nelson
26982f9bc4 Compile with WebKitGTK 2.3.x: Closes bgno#720315
WebKitGTK 2.4 will introduce using GClosure to register
DOM.EventTarget listeners, but old API still available, so using
that for now.

This also introduces compiling WebKit-3.0.gir to a VAPI and using
that during compilation.  This means that .gir warnings won't
cause compilation errors (--fatal-warnings) and that we have a bit
more control over binding generation.  Closes bgno#720442.
2013-12-17 19:00:11 -08:00
Charles Lindsay
aac2956182 Add basic search specifier support
The list of supported operators is:
 * attachment:
 * bcc:
 * body:
 * cc:
 * from:
 * subject:
 * to:

Closes: bgo bug #714494
2013-12-17 11:40:29 -08:00
Jim Nelson
32deb02141 Workaround 64-bit portability issue: Fixes bgo#720433
This is technically a workaround until Vala fixes bgo#720437.
Although the code change seems innocuous, the original code
caused Vala's generator to not cast the returned int value to
a pointer.
2013-12-13 15:58:04 -08:00
Charles Lindsay
7b49bacb0f Bump version, add news 2013-12-12 17:45:57 -08:00
Charles Lindsay
7abfb64cf8 Either export the app menu or show the gear menu
But not both.

Closes: bgo#720347
2013-12-12 17:17:07 -08:00
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
Jim Nelson
1b41ce0979 Patch as-is from Jakub Steiner 2013-12-09 17:15:47 -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