geary/bindings/vapi
Michael James Gratton 5b8c68f5fa Implement getting message selection for quoting and selection in WK2.
* src/client/conversation-viewer/conversation-web-view.vala
  (ConversationWebView): Remove has_selection method since we are
  using the signal to specify if a selection was found or not. Update
  call sites to use that.
  (ConversationWebView::get_selection_for_find,
  ConversationWebView::get_selection_for_quoting): Implement using calls
  to web process JS methods.

* src/client/application/geary-controller.vala
  (GearyController::create_reply_forward_widget): If we have a possible
  message view to quote from, handle constructing the compser widget
  asynchronously, when we know if we have a quote or not.

* src/client/conversation-viewer/conversation-viewer.vala:
  (ConversationViewer::on_find_mode_changed): Handle getting text
  selection for finds asynchonously.

* src/client/components/client-web-view.vala
  (ClientWebView::get_string_result): New helper for getting string
  values from JS calls.

* src/client/conversation-viewer/conversation-email.vala
  (ConversationEmail::get_selection_for_quoting,
  ConversationEmail::get_selection_for_find): Handxle errors when
  obtaining selections from a message view.

* src/client/conversation-viewer/conversation-message.vala: Remove
  methods that were simply passed through to the web view anyway. Update
  call sies.

* src/client/web-process/util-conversation.vala: Port all remaining
  functions to JS, remove.

* bindings/vapi/javascriptcore-4.0.vapi: Add methods needed to get
  strings out of WebKit.JavascriptResult instances.

* ui/conversation-web-view.js: Implement selection functions in JS, minor
  cleanup.
2017-02-01 00:41:43 +11:00
..
gmime-2.6 Transfer Yorba copyrights to Software Freedom Conservancy 2016-05-06 08:33:37 -04:00
enchant.vapi Added support to change the spell-checking language. 2016-06-09 15:36:39 +10:00
gmime-2.6.vapi Always use UTF-8 for encoding non-ASCII/ISO-8859-1 headers. Bug 753870. 2016-06-30 15:29:39 +10:00
javascriptcore-4.0.vapi Implement getting message selection for quoting and selection in WK2. 2017-02-01 00:41:43 +11:00
libnotify.vapi Fix warning/crash when libnotify enabled and server is not present. Bug 768911. 2016-07-18 22:13:32 +10:00
libsecret-1.vapi Closes #5549 Closes #5813 Closes #5633 Port to LibSecret (ssh!) 2013-04-10 18:28:59 -07:00
Makefile Closes #6209 Precise support for GIR WebKitGTK binding. Rolls back to deprecated context menu in composer for compatibility with WebKitGTK 1.8 2013-01-15 13:04:30 -08:00