geary/ui
Michael James Gratton d002722a19 Re-implement remote image loading management for WebKit2.
* src/client/components/client-web-view.vala (ClientWebView): Register
  for new remoteImageLoadBlocked message from JS. Add new
  ::remote_image_load_blocked signal to notify when a remote image load
  was blocked. Add ::allow_remote_image_loading and ::load_remote_images
  methods to allow th app to manage image loading state.

* src/client/conversation-viewer/conversation-email.vala
  (ConversationEmail): Determine up front whether the message view should
  load remote images and flag that, rather than passing through the email
  flag and the contact store.

* src/client/conversation-viewer/conversation-message.vala
  (ConversationMessage): Rmeove contact_store and
  always_load_remote_images properties and related code, just let the
  parent email view advise whether remote images should be initially
  loaded and act accordingly. Look up to ClientWebView signal and methods
  to handle manual remote image loading management by the user. Remove
  some obsolete code.

* src/client/web-process/web-process-extension.vala (GearyWebExtension):
  Replace allow_prefix implementation for remote image management with
  explicit signalling to/from the application via JavaScript.

* ui/client-web-view.js: Add a new PageState object, add props and method
  to implement remote image loading management.

* ui/client-web-view-allow-remote-images.js: Monkeypatch to be used when
  remote images should be loaded by default.

* ui/CMakeLists.txt: Include new JS file.

* src/client/conversation-viewer/conversation-web-view.vala,
  src/client/web-process/util-conversation.vala,
  src/client/web-process/util-webkit.vala: Remove obsolete code.
2017-02-01 00:41:43 +11:00
..
gtk Move context to the end of the tag in the shortcuts window 2016-10-04 21:43:32 +02:00
accelerators.ui Reimplement in-conversation find. 2016-10-04 10:58:17 +11:00
account_cannot_remove.glade Use margin-{start,end} instead of margin-{left,right}: Close bgo #730611 2016-05-20 16:42:45 +10:00
account_list.glade Use GtkHeaderBar for Accounts & Prefs dialogs: Bug #741240 2014-12-08 15:18:34 -08:00
account_spinner.glade Closes #6201 First batch of work for account manager. "Add account" functionality is complete (though Geary will still only display one email account in the main UI) 2013-01-22 18:23:07 -08:00
certificate_warning_dialog.glade Use Unicode in translatable strings 2016-12-16 02:14:14 +01:00
client-web-view-allow-remote-images.js Re-implement remote image loading management for WebKit2. 2017-02-01 00:41:43 +11:00
client-web-view.js Re-implement remote image loading management for WebKit2. 2017-02-01 00:41:43 +11:00
CMakeLists.txt Re-implement remote image loading management for WebKit2. 2017-02-01 00:41:43 +11:00
composer-headerbar.ui Use click-to-focus prop on toolbar buttons rather than other workarounds. 2016-10-20 16:58:48 +11:00
composer-menus.ui Fix for the context menu. Bug 770356. 2016-09-21 15:02:31 +10:00
composer-widget.ui Use click-to-focus prop on toolbar buttons rather than other workarounds. 2016-10-20 16:58:48 +11:00
conversation-email-attachment-view.ui Replace Gtk.IconView with FlowBox for displaying email attachments. 2016-10-04 10:58:17 +11:00
conversation-email-menus.ui Use Unicode in translatable strings 2016-12-16 02:14:14 +01:00
conversation-email.ui Add translator notes about the conversation email star/unstar buttons. 2016-12-14 11:49:55 +11:00
conversation-message-menus.ui Use Unicode in translatable strings 2016-12-16 02:14:14 +01:00
conversation-message.ui Display Sender and Reply-To headers for conversation messages. 2016-10-04 10:58:17 +11:00
conversation-viewer.ui Remove border around conversation viewer's scrolled window. 2016-12-09 15:36:06 +11:00
conversation-web-view.css Use CID resources to display images for multipart/mixed messages. 2017-02-01 00:41:43 +11:00
edit_alternate_emails.glade Support multiple ("alternate") email addresses per acct: Bug #714922 2015-03-04 17:26:44 -08:00
empty-placeholder.ui Fix runtime errors when built/running against GTK +3.14. 2016-12-06 16:22:39 +11:00
find_bar.glade Use margin-{start,end} instead of margin-{left,right}: Close bgo #730611 2016-05-20 16:42:45 +10:00
folder-popover.ui Use Popover for Move/Label menu. Bug 767431. 2016-06-20 15:27:41 +10:00
geary.css Fix GTK+ widget style issues under GTK+ < 3.20. 2016-12-09 13:31:03 +11:00
login.glade Ensure all new account/login placeholder text strings are translatable. 2016-09-26 16:34:42 +10:00
main-toolbar.ui Remove 'EmptyMenu'-action. Bug 775018. 2016-11-29 00:19:40 +11:00
main-window.ui Fix the headerbar not showing in Unity. Bug 775865. 2016-12-11 19:28:45 +01:00
password-dialog.glade Password dialog improvements 2014-10-28 17:01:52 -07:00
preferences.glade Use margin-{start,end} instead of margin-{left,right}: Close bgo #730611 2016-05-20 16:42:45 +10:00
remove_confirm.glade Remove use of Gtk.Misc ::xpad and ::ypad. Bug 713991. 2016-05-21 12:45:13 +10:00
toolbar_empty_menu.ui Empty Trash and Empty Spam: Bug #714809, Bug #725260 2015-01-13 13:48:16 -08:00
toolbar_mark_menu.ui UI refresh. Closes #7267 Closes #7199 Closes #7198 Closes #7043 Closes #6819 Closes #5839 2013-08-26 14:56:46 -07:00
upgrade_dialog.glade Use margin-{start,end} instead of margin-{left,right}: Close bgo #730611 2016-05-20 16:42:45 +10:00