hterm 1.50: Allow missing clipboard id in OSC 52

* Tmux sends OSC 52 as "ESC ] 52 ; ; ... BEL", but we failed to recognize the
  sequence because we expect a "clipboard identifier" character between the
  two semicolons.  We toss out the clipboard identifier anyway, so making it
  optional makes tmux clipboard integration work.

Change-Id: If02837b95855246ad685d8f17d80d9d046b0aac7
Reviewed-on: https://chromium-review.googlesource.com/221912
Reviewed-by: Robert Ginda <rginda@chromium.org>
Tested-by: Robert Ginda <rginda@chromium.org>
nassh 0.9.30.1: Update to hterm 1.50

* Update to hterm 1.50 for OSC 52 and HOME/END vs application cursor fixes.

Change-Id: I82b5eb398f1c1558397a6f7bff51e187daf26596
Reviewed-on: https://chromium-review.googlesource.com/221903
Reviewed-by: Robert Ginda <rginda@chromium.org>
Tested-by: Robert Ginda <rginda@chromium.org>
Fix wrong path from hterm's embed.md

Change-Id: I6756ceb8cf0d46027f4bb9cef989f879b263fb00
Reviewed-on: https://chromium-review.googlesource.com/223740
Reviewed-by: Robert Ginda <rginda@chromium.org>
Tested-by: Robert Ginda <rginda@chromium.org>
Switch from single messages to using a port.

This maps more closely to the tcp socket that the NaCl code sees.
Use of a port also makes it easier for the auth-agent to manage state.

CRBUG=211948

Change-Id: I5db970a5bda520a0960c52bce1eab348e9fe8add
Reviewed-on: https://chromium-review.googlesource.com/224368
Reviewed-by: Robert Ginda <rginda@chromium.org>
Tested-by: Robert Ginda <rginda@chromium.org>
Add support for 24-bit ANSI color escapes

fore/backgroundIndex has been removed in favor of fore/backgroundSource

If source is 'default' means color is unspecified and will be set to the default
If source is 'rgb' color is specified in rgb( r, g, b) form
Otherwise a number will specify the index of the color to use

Change-Id: If47790c0cf49048eb3cc03b2d7ca2a3c9b219e53
Reviewed-on: https://chromium-review.googlesource.com/223581
Reviewed-by: Robert Ginda <rginda@chromium.org>
Tested-by: Robert Ginda <rginda@chromium.org>
hterm: Fix default background color selection

Also some whitespace formatting cleanup.

Change-Id: Ida4979a6c2c52338734831aa95e05b8886c299d7
Reviewed-on: https://chromium-review.googlesource.com/225581
Reviewed-by: Marvelous Marius <mschilder@chromium.org>
Commit-Queue: Marvelous Marius <mschilder@chromium.org>
Tested-by: Marvelous Marius <mschilder@chromium.org>
Sync the connection dialog after loading SSH keys

It is possible that the SSH key of the profile is not selected before loading
SSH keys. Sync the form after loading keys solves this issue.

Change-Id: Iecc8585be9b976c4cd6c4b79955b7a26ce09dd11
Reviewed-on: https://chromium-review.googlesource.com/228990
Reviewed-by: Robert Ginda <rginda@chromium.org>
Tested-by: Robert Ginda <rginda@chromium.org>
hterm 1.51: 24-bit ANSI color support.

* Change log update to reflect previous commits.

Change-Id: I1e619dbd047fdc7a99ce6c68e09a687b0e62785a
Reviewed-on: https://chromium-review.googlesource.com/229072
Reviewed-by: Robert Ginda <rginda@chromium.org>
Tested-by: Robert Ginda <rginda@chromium.org>
nassh 0.9.31.1: Add --ssh-agent option, hterm 1.51.

* Add "--ssh-agent" as a relay-option.  This can be set to a chrome app id
  which will act as an ssh-agent over chrome app messaging.
* Update --config=google to use the default Google key agent app.
* Update to hterm 1.51 for 24-bit color support.

Change-Id: Ib31d7c9ee239bcea3f4f3218c9a445eeedcbcfe5
Reviewed-on: https://chromium-review.googlesource.com/229073
Reviewed-by: Batz Spear <batz@google.com>
Reviewed-by: Robert Ginda <rginda@chromium.org>
Tested-by: Robert Ginda <rginda@chromium.org>
nassh 0.9.31.2: Rebuild to include dialog sync fix.

* Rebase and rebuild to include commit 458213... which fixed a race condition
  in the connection dialog.

Change-Id: Ie39e5312e88339bdd22e688dc4d672bb8e6d5c71
Reviewed-on: https://chromium-review.googlesource.com/229086
Reviewed-by: Robert Ginda <rginda@chromium.org>
Tested-by: Robert Ginda <rginda@chromium.org>