geary/test
Michael James Gratton c476fdc6d1 Replace composer link dialog with a popover.
* src/client/composer/composer-link-popover.vala: New GtkPopover subclass
  for creating/editing links.

* src/client/composer/composer-web-view.vala (EditContext): Add is_link
  and link_uri properties, decode them from the message string, add
  decoding tests.
  (ComposerWebView): Add some as-yet un-implemented methods for
  inserting/deleting links.

* src/client/composer/composer-widget.vala (ComposerWidget): Add
  cursor_url for storing current text cursor link, update it from the
  cursor_context_changed signal param, rename hover_url to pointer_url to
  match. Add link_activated signal to let user's open links they are
  adding, hook that up in the controller. Rename
  ::update_selection_actions to ::update_cursor_actions, since that's a
  little more apt now, also enable insert link action if there is a
  cursor_url set as well as a selection. Remove ::link_dialog, replace
  with ::new_link_popover, hook up the new popover's signals there as
  appropriate.
  (ComposerWidget::on_insert_link): Create and show a lin popover instead
  of a dialog.

* ui/composer-web-view.js: Take note of whther the context node is a link
  and if so, also it's href. Include both when serialsing for the
  cursorContextChanged message. Add serialisation tests.

* ui/composer-link-popover.ui: New UI for link popover.
2017-02-01 00:41:44 +11:00
..
client Replace composer link dialog with a popover. 2017-02-01 00:41:44 +11:00
engine Add Geary.Inet::is_valid_display_host and tests. 2017-02-01 00:41:44 +11:00
js Replace composer link dialog with a popover. 2017-02-01 00:41:44 +11:00
CMakeLists.txt Add Geary.Inet::is_valid_display_host and tests. 2017-02-01 00:41:44 +11:00
main.vala Add Geary.Inet::is_valid_display_host and tests. 2017-02-01 00:41:44 +11:00
testcase.vala Fix non-breaking spaces breaking formatting in sent messages. 2017-02-01 00:41:43 +11:00