No description
Find a file
Michael James Gratton dec06d93be Clean up how composer loads content into its web view.
The main gist of this is to ensure that the composer's widgets are
constructed seperately to loading its content, and that we only ever call
ComposerWebView::load_html precisely once per composer instance.

* src/client/composer/composer-widget.vala: Remove referred message,
  quote text and draft flag param from constructor signature, move any
  calls that loaded data from them to new load method. Don't load
  anything into the editor here. Make loading the signature file async,
  and call new ComposerWebView::updateSignature method on the editor to
  update it.
  (ComposerWidget::load): New async message for loading content into the
  composer. Move related code from the constructor and GearyController
  here, make methods that were previously public for that private
  again. Tidy up calls a bit now that we have a single place from which
  to do it all, and can understand the process a bit better.
  (ComposerWidget::on_editor_key_press_event): Don't reload the editor to
  remove the quoted text, call new ComposerWebView::delete_quoted_message
  method on it instead.

* src/client/composer/composer-web-view.vala
  (ComposerWebView): Add ::delete_quoted_message ::update_signature
  methods, thunk to JS.
  (ComposerWebView::load_html): Add quote and is_draft parameters,
  construct HTML for the composer using apporporate spacing here, instead
  of relying on all the disparate parts from doing the right thing.

* src/client/application/geary-controller.vala
  (GearyController::create_compose_widget_async): Load composer content
  after adding it to the widget hierarchy, set focus only after
  everything is set up.

* src/engine/rfc822/rfc822-utils.vala (quote_email_for_reply,
  quote_email_for_forward): Don't add extra padding around quoted parts -
  let callers manage their own whitespace.

* test/client/components/client-web-view-test-case.vala
  (TestCase:load_body_fixture): Make HTML param non-nullable, update
  subclasses.

* ui/composer-web-view.js (ComposerPageState): Add ::updateSignature and
  ::deleteQuotedMessage method stubs.
2017-02-01 00:41:44 +11:00
bindings Reenable basic deceptive link highlighting. 2017-02-01 00:41:44 +11:00
cmake Use "org.gnome.Geary" for the app ID. Bug 766196. 2016-12-08 12:53:52 +01:00
debian Set an explcit minimum version requirmeent for libsoup. 2016-10-04 10:58:17 +11:00
desktop Re-enable spell checking in composer. 2017-02-01 00:41:44 +11:00
help Update Polish translation 2016-10-09 09:23:49 +02:00
icons Use GTK 3.14 rtl icon support 2016-08-06 11:40:02 +10:00
po Replace composer link dialog with a popover. 2017-02-01 00:41:44 +11:00
sql Rebuild MessageSearchTable. Database version 25. Bug 772522. 2016-10-22 07:34:30 +11:00
src Clean up how composer loads content into its web view. 2017-02-01 00:41:44 +11:00
test Clean up how composer loads content into its web view. 2017-02-01 00:41:44 +11:00
ui Clean up how composer loads content into its web view. 2017-02-01 00:41:44 +11:00
.gitattributes Fix git archive to not include debian directory 2013-10-03 16:22:04 -07:00
.gitignore Add some git and deb build artefacts to .gitignore 2016-05-13 11:52:24 +10:00
AUTHORS Moving Robert Schroll to AUTHORS file and About box 2013-03-18 18:43:01 -07:00
cmake_uninstall.cmake.in Closes #4982 Closes #4964 Switched to CMake, added an installer/uninstaller 2012-04-23 18:54:26 -07:00
CMakeLists.txt Move WebKit2GTK target version to root cmake file for consistency. 2017-02-01 00:41:43 +11:00
configure Valadoc generation fixes & updates. 2017-01-02 13:49:18 +11:00
configure.in Restore configure.in to fix building with Valencia. 2012-07-20 11:41:08 -07:00
COPYING Added COPYING, AUTHORS, and MAINTAINERS files: #3697. 2011-06-06 15:23:04 -07:00
COPYING.icons Remove now-unused mail-spam-symbolic icon. Bug 737862. 2016-07-14 13:06:52 +10:00
COPYING.snowball Basic search table implementation; fix #6766 2013-05-17 15:32:52 -07:00
geary.doap Update desktop resources to be spec compliant & consistent with the wiki. 2016-09-05 12:14:29 +10:00
INSTALL Add Enchant to build dependencies. 2016-07-29 10:34:33 +10:00
Makefile.in Stop cmake warning that we are using an internal target name. 2016-12-26 10:31:02 +10:30
NEWS Fix incorrect date in NEWS 2016-05-17 12:33:01 +10:00
README Transfer Yorba copyrights to Software Freedom Conservancy 2016-05-06 08:33:37 -04:00
THANKS Update to 0.11.0 2016-05-15 19:39:26 +10:00

    Geary Email Client
    ------------------

  * Introduction

    Geary is an IMAP email client built for the GNOME desktop environment.  It
    allows you to read and send email with a simple, modern interface.

    Visit https://wiki.gnome.org/Apps/Geary to read about the current state of
    Geary's development and to make sure you're running the latest version.


  * Installation & Licensing

    Please consult the INSTALL and COPYING files for more information.


  * Quick Start

    The first time Geary is launched, it will prompt for your account
    information.  Note that your email password is stored securely in the
    Gnome Keyring.

    Geary will then begin downloading messages in your inbox and other
    folders.

  * Contacting Geary Developers

    Geary wiki:                 https://wiki.gnome.org/Apps/Geary

    We also encourage you to join the Geary mailing list.  See
    https://mail.gnome.org/mailman/listinfo/geary-list for details.



    Copyright 2016 Software Freedom Conservancy Inc.