Commit graph

2255 commits

Author SHA1 Message Date
Adam Dingle
0f5c9f97e0 Revert copyright changes to translated strings in .po files
In my previous commit assigning Yorba's copyright lines to the Software Freedom
Conservancy I even changed translated strings in .po files.  I believe that
was the wrong thing to do; translators will sort this out.  This change reverts
the .po file changes.
2016-05-06 10:05:29 -04:00
Adam Dingle
654e513f9c Transfer Yorba copyrights to Software Freedom Conservancy 2016-05-06 08:33:37 -04:00
Michael James Gratton
77b1c26b54 Add documentation for new is:foo search operators. Bug 726661. 2016-05-05 08:23:05 -04:00
Matthew Wong
66560baa1c add is: search operators, bug 726661 2016-05-05 08:23:02 -04:00
Michael James Gratton
8f00a51b13 Replace Yorba links with GNOME links, remove donate menu, update dpkg blurb.
Thanks for all the fish, Yorba.

Bug 765656.
2016-05-05 07:49:27 -04:00
Michael James Gratton
3b87cab5ea Avoid a crash when "database disk image is malformed" error occurs.
Bug 765515.

* src/engine/imap-db/imap-db-account.vala
  (Geary.ImapDB.Account::do_get_search_matches): Check the query actually
  returned valid FTS offsets before attempting to use them.
2016-05-05 07:44:47 -04:00
Michael James Gratton
f5448f8290 Enable use of custom FTS3 tokeniser in SQLite 3.12 and later.
Bug 763203.

This enables the two-arg form of fts3_tokenizer in SQLite for the Geary
databases, used set the custom unicodesn tokeniser for full-text message
search. The two-arg form was disabled by default in 3.11 for secuity
reasons, but can be programmatically enabled in 3.12.

Note that this does not fix SQLite 3.11, to do that it must be recompiled
with -DSQLITE_ENABLE_FTS3_TOKENIZER.

* src/sqlite3-unicodesn/static.c (registerTokenizer): Enable two-arg form
  of fts3_tokenizer if SQLite >= 3.12 is detected.

* src/sqlite3-unicodesn/CMakeLists.txt: Set SQLITE_3_12 define as needed.

* CMakeLists.txt: Check for both SQLite 3.12 and 3.11, print a warning if
  the latter is found.
2016-04-29 07:53:45 -04:00
Michael James Gratton
d33e3e7229 Simplify icon handling a bit.
When implementing bug 765359, it appears that Geary is doing too much
work to load icons. Simplify it a bit.

* src/client/components/icon-factory.vala (IconFactory): Don't bother
  loading an application icon, it's easier and works better to just use
  an icon name where needed. Don't bother adding all of the icons/*x*
  directories to the icon theme search path, just make the icon's
  directory hierarchy follow the XDG/hicolor spec and add the base
  directory. Remove now-redundant code.

* src/client/application/geary-controller.vala: Set the default icon name
  for all geary windows.
  (GearyController:on_about()): Set the name for the icon in the About
  dialog.

* src/client/components/main-window.vala (ApplicationWindow): Don't
  bother loading icons for the window, just use the new default.

* src/client/notification/libnotify.vala: Don't bother passing the
  application icon through for error notifications, an icon name has
  already been set.

* icons/*x*/geary.png: Move to a new directory hierarchy that follows the
  hicolor spec.

* icons/CMakeLists.txt: Updated to use new paths to the icons.
2016-04-28 14:22:21 -04:00
Michael James Gratton
38d628e49f Add geary-symbolic app icon. Bug 765359. 2016-04-28 14:22:21 -04:00
Matthew Wong
ab6aa5988d Fix to allow combine search specifiers, bug 749938 2016-04-26 21:38:48 -04:00
Michael James Gratton
6c311e5cbf Switch FolderPath and ImapDB.Folder's placeholder hierarchy delimiter.
Since FolderPath's gets displayed to the end user, use something a bit
less crap than a '?'.
2016-04-21 10:05:11 -04:00
Michael James Gratton
e30ab0a6b7 Make MailboxSpecifier.from_folder_path delim parameter required.
Since we can't get the delim from the FolderPath's root any more, we need
to ensure it is always passed in.

* src/engine/imap/message/imap-mailbox-specifier.vala (from_folder_path):
  Made delim param non-nullable. Updated call sites.

* src/engine/imap/api/imap-folder.vala: Use existing MailboxInformation
  property to get the delim since we don't have access to the account.

* src/engine/imap/api/imap-account.vala: Use the account's existing
  knowedge of the INBOX's delim as the delim.

* src/engine/imap-db/imap-db-folder.vala: Hardcode ">" as the delim since
  it's a local folder and we don't care, but on the bright side it also
  makes it obvious when to_string()'ed what we are looking at.

* src/engine/api/geary-folder-path.vala (get_fullpath): Make return value
  non-nullable, since it is now.
2016-04-21 10:05:11 -04:00
Michael James Gratton
2440306516 Remove Geary.FolderRoot.default_separator.
* src/engine/api/geary-folder-path.vala (FolderRoot): Remove
  default_separator property and param from the ctor. Updated subclasses,
  uses of the property.
  (Geary.FolderPath.has_default_separator): Removed, since it never has a
  default_separator any more. Updated call sites.

* src/engine/imap-db/imap-db-folder.vala (set_path): Removed, no longer
  useful since folder paths do not need to have their delim updated.

* src/engine/imap/api/imap-account.vala: Use the account's
  hierarchy_delimiter instead of the root folder's.
2016-04-21 10:05:11 -04:00
Michael James Gratton
04b8ee2dda Add hierarchy_delimiter to IMAP account, set it when claiming a session.
* src/engine/imap/api/imap-account.vala (Geary.Imap.Account): Add
  hierarchy_delimiter.
  (claim_session_async): Always do an (X)LIST so hierarchy_delimiter gets set.
  (list_inbox): Renamed from determine_xlist_inbox, do a LIST or XLIST as
  appropriate, set the account's INBOX's specifier and
  hierarchy_delimiter from the result.
2016-04-21 10:05:11 -04:00
Michael James Gratton
aa21e09f4a Fix an assertion when closing TLS connections. Bug 765287.
Geary.Imap.ClientConnection::disconnect_async is causing its TLS
connection to be disposed of, before closing the instance's
Serialiser. When the Serialiser is closed and displosed of, the
underlying stream attempts a flush, but since s connection has already
been displosed of, triggers an assertion failure instead.

* src/engine/imap/transport/imap-client-connection.vala
  (::disconnect_async): Ensure the serialiser is closed and disposed of
  before closing the TLS connection.
2016-04-20 06:23:05 -04:00
Michael James Gratton
952172c1f1 Remove the TCP graceful disconnect implementation. Bug 757088.
Since both IMAP and SMTP implement graceful disconnect at the application
protocol level, doing it again at the TCP level is redundant.

The use of graceful disconnect was introduced as part of the fix for Bug
713736, but it is not clear why it was included. Removing it also fixes
Bug 757088, which can cause the UI to freeze if the connection is
lost (e.g. on wifi drop out).

* src/engine/api/geary-endpoint.vala (Flags): Remove GRACEFUL_DISCONNECT
  and all references to it in other code.
  (SocketConnection::connect_async): Remove the conditional enabling
  TcpConnection::set_graceful_disconnect.
2016-04-20 05:42:19 -04:00
Marek Černocký
512ae762c2 Updated Czech translation 2016-04-16 19:06:41 +02:00
Florin Lipan
d25b87f7a1 Add F6 navigation shortcut keys to the help page. 2016-04-13 10:27:37 -04:00
Ralph Plawetzki
c43266d08e Closes #757110 Initializes decoration_layout when composing new e-mail and when replying to / forwarding e-mail 2016-04-12 04:54:09 -04:00
Michael James Gratton
4625e94728 Don't consider message HTML using class="body" for remote image updates.
If a message body also uses class="body" on an element containing a
remote image, then the IMG element wil be processed more than once and
the allow_prefix added more than once, breaking remote image load.

Bug 764919

* src/client/conversation-viewer/conversation-viewer.vala
  (show_images_email): Use Util.DOM.select to ensure we only get the
  Geary .body element, and not any in the HTML of the message body. Do
  the same for the remote_images DIV.
2016-04-12 04:45:42 -04:00
Robert Schroll
15b1632d17 Update preferences with descriptions of new options
Namely, the "Use three pan view" and "Always watch for new mail"
options.  Also update the text about notifications to reflect changes to
GNOME Shell.

https://bugzilla.gnome.org/show_bug.cgi?id=749925
2016-04-12 04:41:17 -04:00
Michael James Gratton
119f939ec8 Enable use of GtkTemplate attributes in vala source files.
* src/CMakeLists.txt: Bump target GLib to min required for
  GtkTemplate. Pass resources XML file to valac.

* ui/CMakeLists.txt: Copy both the generated resources XML file and the
  resources themselves to the CMake binary directory, since valac expects
  the UI files to be in the same directory as the resource XML.

* debian/control: Chase GLib version bump.
2016-04-09 17:30:29 -04:00
Michael James Gratton
fe928afbdc Load UI resources as GResources, not from the file system. 2016-04-09 17:30:29 -04:00
Michael James Gratton
2a6120ba49 Generate GResource source code, add it to the build. 2016-04-09 17:30:29 -04:00
Michael James Gratton
6079f06b82 Add GCR_CMake for CMake support for GResource compilation. 2016-04-09 17:30:29 -04:00
Michael James Gratton
298fa60d1f Remove unused message.glade UI file and references to it. 2016-04-09 17:30:29 -04:00
Gianvito Cavasoli
5755f7838d Updated Italian translation 2016-04-03 11:35:15 +00:00
Adam Dingle
45d687569a Work around crash in WebKitGTK: bug 764152
https://bugzilla.gnome.org/show_bug.cgi?id=764152
2016-03-24 13:56:33 -04:00
Michael James Gratton
46c4a4b4f6 Workaround for random crash when usign WebKitGTK+ 2.4.10. Fixes Bug 763933.
* src/client/conversation-viewer/conversation-viewer.vala
  (ConversationViewer::show_images_email): Crash happens when setting
  value for an existing SRC attr on existing IMG element, so remove it
  before setting it.

Signed-off-by: Michael James Gratton <mike@vee.net>
2016-03-21 07:04:13 -04:00
Federico Bruni
6f37dc0df8 Updated Italian translation 2016-03-21 09:20:31 +00:00
Luis Enrique Ortega Rojas
7338d7e3b5 Updated Spanish translation 2016-03-15 08:29:13 +00:00
Cédric Valmary
54d7e9d38f Added Occitan translation 2016-03-13 13:42:50 +00:00
Милош Поповић
5a164648a5 Updated Serbian Latin translation 2016-03-11 08:25:07 +00:00
Марко Костић
1b507cb4f8 Updated Serbian translation 2016-03-11 08:22:25 +00:00
Luis Enrique Ortega Rojas
34bd7cef7e Updated Spanish translation 2016-03-09 07:59:38 +00:00
Γιάννης Κουτσούκος
440fdbf1c2 Updated Greek translation 2016-03-04 23:55:04 +00:00
Kjartan Maraas
3e68ec8f97 Updated Norwegian bokmål translation from Åka Sikrom. 2016-02-28 16:49:00 +01:00
Rafael Fontenelle
ada021f632 Updated Brazilian Portuguese translation 2016-02-25 13:26:20 +00:00
Aurimas Černius
ad3dc6c98a Updated Lithuanian translation 2016-01-23 18:00:06 +02:00
Richard Hughes
2255664a54 Update the AppData file to spec version 0.7+ 2016-01-22 19:49:16 +00:00
Marek Černocký
72384a0baa Updated Czech translation 2015-12-24 12:56:49 +01:00
Stas Solovey
e4376a48da Updated Russian translation 2015-10-23 13:57:18 +00:00
Милош Поповић
d31464edd9 Updated Serbian translation
(cherry picked from commit d4f077af6ae349c39759200ae6b96b89f8434c38)
2015-10-21 09:11:33 +00:00
Cédric Bellegarde
c95f44f829 Updated French translation 2015-09-19 18:36:12 +00:00
Jiri Grönroos
9b67ed2200 Finnish translation update 2015-09-10 18:43:43 +03:00
Pedro Albuquerque
82b0cefba6 Updated Portuguese translation 2015-09-10 12:27:52 +00:00
Aurimas Černius
ac8f543a75 Updated Lithuanian translation 2015-09-09 17:33:16 +03:00
Kjartan Maraas
1e5e76b058 Updated Norwegian bokmål translation from ProjectX. 2015-09-07 22:05:50 +02:00
Piotr Drąg
c1085e59ac Updated Polish translation 2015-09-02 19:21:16 +02:00
Necdet Yücel
e169ba4803 Updated Turkish translation 2015-09-01 18:02:07 +00:00