chromiumos/platform/assets.git
12 months agoUpdate connectivity diagnostics zip. 75/66875/2 master
Zach Kuznia [Fri, 23 Aug 2013 22:53:37 +0000 (15:53 -0700)]
Update connectivity diagnostics zip.

TEST=Manual
BUG=chromium:276084,277238

Change-Id: If812d00849e76faa9889d8066b5086ece08b2232
Reviewed-on: https://gerrit.chromium.org/gerrit/66875
Commit-Queue: Zachary Kuznia <zork@chromium.org>
Tested-by: Zachary Kuznia <zork@chromium.org>
Reviewed-by: Dmitry Polukhin <dpolukhin@chromium.org>
12 months agoUpdate connectivity diagnostics zip 70/66570/2
Zach Kuznia [Wed, 21 Aug 2013 21:51:16 +0000 (14:51 -0700)]
Update connectivity diagnostics zip

TEST=Manually tested on Chromebook
BUG=None

Change-Id: Id0df7f4b4adfb9b37267a2ea4072afbdbe69e088
Reviewed-on: https://gerrit.chromium.org/gerrit/66570
Reviewed-by: Dmitry Polukhin <dpolukhin@chromium.org>
Commit-Queue: Zachary Kuznia <zork@chromium.org>
Tested-by: Zachary Kuznia <zork@chromium.org>
12 months agoiter_viewer: update iteration date base 04/66304/2
Mike Frysinger [Tue, 20 Aug 2013 04:12:36 +0000 (00:12 -0400)]
iter_viewer: update iteration date base

They made iteration 85 this year extra long due to the large number of
people taking vacation.  Rather than add convoluted logic to handle this
blip (since we really don't care about any time other than $now), update
the base we use to calculate the current iteration number to a recent one.

BUG=None
TEST=visiting crosbug.com now shows correct iteration #

Change-Id: I50c9b61483f5ae971c1ad29ed2c1afc7f9252d95
Reviewed-on: https://gerrit.chromium.org/gerrit/66304
Reviewed-by: Andrew de los Reyes <adlr@chromium.org>
Tested-by: Mike Frysinger <vapier@chromium.org>
13 months agoUpdated voice data, fixes quality and pronunciation errors 54/65254/4
Dominic Mazzoni [Thu, 8 Aug 2013 23:06:13 +0000 (16:06 -0700)]
Updated voice data, fixes quality and pronunciation errors

BUG=chromium:166748
TEST=Enable spoken feedback, test voice

Change-Id: Ie1b808c90a349b7eab2e71090babf9270fa3a668
Reviewed-on: https://gerrit.chromium.org/gerrit/65254
Commit-Queue: Dominic Mazzoni <dmazzoni@chromium.org>
Reviewed-by: Dominic Mazzoni <dmazzoni@chromium.org>
Tested-by: Dominic Mazzoni <dmazzoni@chromium.org>
13 months agoConnectivity diagnostics: fix CrOS version check for certain user agents 11/65811/2
Xiaowen Xin [Wed, 14 Aug 2013 05:12:35 +0000 (22:12 -0700)]
Connectivity diagnostics: fix CrOS version check for certain user agents

BUG=chromium:272356
TEST=manual

Change-Id: I7876b2bcce6afd907f72cd8829555c2244e566c8
Reviewed-on: https://gerrit.chromium.org/gerrit/65811
Reviewed-by: Satoru Takabayashi <satorux@chromium.org>
Tested-by: Xiaowen Xin <xiaowenx@chromium.org>
Commit-Queue: Xiaowen Xin <xiaowenx@chromium.org>

13 months agoMerges in additional fixes for ChromeVox 29.1. 04/65604/2
David Tseng [Mon, 12 Aug 2013 19:27:35 +0000 (12:27 -0700)]
Merges in additional fixes for ChromeVox 29.1.

BUG=chromium:265522
TEST=Sanity check on Aura.

Change-Id: I51fcbcb9b461f6e8b210e3fd13a3a536e3503430
Reviewed-on: https://gerrit.chromium.org/gerrit/65604
Reviewed-by: David Tseng <dtseng@chromium.org>
Tested-by: David Tseng <dtseng@chromium.org>
Commit-Queue: David Tseng <dtseng@chromium.org>

13 months agoUpdate connectivity diagnostics to 0.5.2 44/65544/2
Xiaowen Xin [Mon, 12 Aug 2013 04:45:51 +0000 (21:45 -0700)]
Update connectivity diagnostics to 0.5.2

BUG=chromium:271256
TEST=manual

Change-Id: I3a0f9451cce27c36932e7ec3b0874c9a87cec414
Reviewed-on: https://gerrit.chromium.org/gerrit/65544
Reviewed-by: Dmitry Polukhin <dpolukhin@chromium.org>
Commit-Queue: Xiaowen Xin <xiaowenx@chromium.org>
Tested-by: Xiaowen Xin <xiaowenx@chromium.org>
13 months agoMerges fixes from ChromeVox 29.1. 04/65004/2
David Tseng [Wed, 7 Aug 2013 21:48:19 +0000 (14:48 -0700)]
Merges fixes from ChromeVox 29.1.

Contains a fix for a browser startup bug where duplicate key down listeners were added.

BUG=chromium:265522
TEST=Sanity check on Aura.

Change-Id: I188bf481e3903bb561334b697d21ac9e33514c18
Reviewed-on: https://gerrit.chromium.org/gerrit/65004
Commit-Queue: David Tseng <dtseng@chromium.org>
Reviewed-by: David Tseng <dtseng@chromium.org>
Tested-by: David Tseng <dtseng@chromium.org>
13 months agoAdd the launcher for the connectivity diagnostics launcher. 89/64389/2 stabilize-4512.B
Zach Kuznia [Fri, 2 Aug 2013 21:42:01 +0000 (14:42 -0700)]
Add the launcher for the connectivity diagnostics launcher.

BUG=None
TEST=None

Change-Id: I968b1240eee716e480e9da302ffed90512b30b6b
Reviewed-on: https://gerrit.chromium.org/gerrit/64389
Commit-Queue: Zachary Kuznia <zork@chromium.org>
Tested-by: Zachary Kuznia <zork@chromium.org>
Reviewed-by: Dmitry Polukhin <dpolukhin@chromium.org>
13 months agoUpdate connectivity diagnostic util to listen for launch command 88/64388/2
Zach Kuznia [Fri, 2 Aug 2013 21:33:42 +0000 (14:33 -0700)]
Update connectivity diagnostic util to listen for launch command

BUG=None
TEST=Manual

Change-Id: I07522a37b892c16add00b6432396a4794d3b60f8
Reviewed-on: https://gerrit.chromium.org/gerrit/64388
Commit-Queue: Zachary Kuznia <zork@chromium.org>
Tested-by: Zachary Kuznia <zork@chromium.org>
Reviewed-by: Dmitry Polukhin <dpolukhin@chromium.org>
13 months agonassh 0.8.21.1, remake deps, version bumps. 45/63745/2 firmware-pit-4482.B
Robert Ginda [Tue, 30 Jul 2013 17:49:07 +0000 (10:49 -0700)]
nassh 0.8.21.1, remake deps, version bumps.

BUG=None
TEST=Manual

Change-Id: I24a06931efa2495100865bfe7a341dd7ad390004
Reviewed-on: https://gerrit.chromium.org/gerrit/63745
Reviewed-by: Robert Ginda <rginda@chromium.org>
Tested-by: Robert Ginda <rginda@chromium.org>
Commit-Queue: Robert Ginda <rginda@chromium.org>

13 months agoMerges in fixes for ChromeVox 29 from upstream. 46/63746/2
David Tseng [Tue, 30 Jul 2013 17:53:27 +0000 (10:53 -0700)]
Merges in fixes for ChromeVox 29 from upstream.

Contains important fixes to search extension and skimming found during our beta test pass.

TEST=Sanity check ChromeVox. Exercise search and skimming.
BUG=chromium:265522

Change-Id: I9dfd059d9034261623cba2a5a2ac242be1add9d8
Reviewed-on: https://gerrit.chromium.org/gerrit/63746
Reviewed-by: David Tseng <dtseng@chromium.org>
Tested-by: David Tseng <dtseng@chromium.org>
Commit-Queue: David Tseng <dtseng@chromium.org>

13 months agoUpdate connectivity debugger to 0.3.8 69/63569/2
Dmitry Polukhin [Mon, 29 Jul 2013 00:57:03 +0000 (17:57 -0700)]
Update connectivity debugger to 0.3.8

BUG=chromium:260892
TEST=manual

Change-Id: I8382fe3f433f286401534cf7323c67e5c57686c2
Reviewed-on: https://gerrit.chromium.org/gerrit/63569
Commit-Queue: Dmitry Polukhin <dpolukhin@chromium.org>
Reviewed-by: Dmitry Polukhin <dpolukhin@chromium.org>
Tested-by: Dmitry Polukhin <dpolukhin@chromium.org>
13 months agohterm 1.17, nassh 0.8.20.5: Double-click to select a URL 19/63519/2 factory-pit-4471.B
Robert Ginda [Fri, 26 Jul 2013 22:25:29 +0000 (15:25 -0700)]
hterm 1.17, nassh 0.8.20.5: Double-click to select a URL

* This commit is documentation/metdata for the previous one.

BUG=None
TEST=None

Change-Id: I3b3dc4765584000828efd530d9af73209322e524
Reviewed-on: https://gerrit.chromium.org/gerrit/63519
Reviewed-by: Marius Schilder <mschilder@google.com>
Commit-Queue: Robert Ginda <rginda@chromium.org>
Reviewed-by: Robert Ginda <rginda@chromium.org>
Tested-by: Robert Ginda <rginda@chromium.org>
13 months agohterm: double-click expands selection if inside URL. 65/62865/12
John Macinnes [Mon, 22 Jul 2013 18:46:30 +0000 (14:46 -0400)]
hterm: double-click expands selection if inside URL.

Change-Id: I80d274335c3e34b78f9ff065e4323863049235e5
BUG=None
TEST=None
Reviewed-on: https://gerrit.chromium.org/gerrit/62865
Commit-Queue: Robert Ginda <rginda@chromium.org>
Reviewed-by: Robert Ginda <rginda@chromium.org>
Tested-by: Robert Ginda <rginda@chromium.org>
13 months agohterm 1.16, nassh 0.8.20.4: More fix newline regression. 07/63407/2
Robert Ginda [Thu, 25 Jul 2013 23:09:23 +0000 (16:09 -0700)]
hterm 1.16, nassh 0.8.20.4: More fix newline regression.

* 1.15 got the treatment of the areas above/below the scroll region wrong.

BUG=None
TEST=hterm_test.html, 66/66 tests passed.
TEST=size terminal to 25 rows, execute...
  echo -e "\e[10;20r\e[24;0HXXX\n\nYYY\e[1;
and ensure that output matches xterm.

Change-Id: I9276d25ddf7764a3f3300bd2f6c7576a1de2f202
Reviewed-on: https://gerrit.chromium.org/gerrit/63407
Reviewed-by: Robert Flack <flackr@chromium.org>
Commit-Queue: Robert Ginda <rginda@chromium.org>
Tested-by: Robert Ginda <rginda@chromium.org>
13 months agohterm 1.15, nassh 0.8.20.3 Fix newline regression. 94/63394/3
Robert Ginda [Thu, 25 Jul 2013 21:43:43 +0000 (14:43 -0700)]
hterm 1.15, nassh 0.8.20.3 Fix newline regression.

* getVTScrollBottom returns the row count if there is no vt scroll region in
  effect, need to read the vtScrollBottom_ property directly instead.

BUG=None
TEST=hterm_test.html, 66/66 tests passed.

Change-Id: I0f9e5e0510c291fef2d863403c27f06512d197e0
Reviewed-on: https://gerrit.chromium.org/gerrit/63394
Reviewed-by: Robert Flack <flackr@chromium.org>
Commit-Queue: Robert Ginda <rginda@chromium.org>
Tested-by: Robert Ginda <rginda@chromium.org>
13 months agohterm 1.14, nassh 0.8.20.2, Fix newline in VT Scroll Region 43/62743/4 factory-4455.B
Robert Ginda [Fri, 19 Jul 2013 22:22:51 +0000 (15:22 -0700)]
hterm 1.14, nassh 0.8.20.2, Fix newline in VT Scroll Region

* Terminal viewer doesn't handle horizontally split curses
  application correctly.
* Fix the hterm.windowType detection to not barf when hterm is used in a
  Chrome packaged app.

BUG=chromium:223140
TEST=hterm_test.html, 66/66 tests passed
TEST=Manual testing with terminal log from the referenced bug.

Change-Id: I95a9f3d97b13edd729a3ebbeeef28a54c16690c1
Reviewed-on: https://gerrit.chromium.org/gerrit/62743
Reviewed-by: Robert Flack <flackr@chromium.org>
Commit-Queue: Robert Ginda <rginda@chromium.org>
Tested-by: Robert Ginda <rginda@chromium.org>
13 months agolibdot 1.4, hterm 1.13, nassh 0.8.20.1, fix zoom warning. 91/62591/7 stabilize-4443.B
Robert Ginda [Fri, 19 Jul 2013 03:28:50 +0000 (20:28 -0700)]
libdot 1.4, hterm 1.13, nassh 0.8.20.1, fix zoom warning.

* Fix the omnipresent zoom warning on current chrome builds.
* Fix libdot/changelog/(version|date) resources.
* Fix jscompiler errors.
* Stop printing "CSI K", "CSI ? J", and "ESC #" sequences with bad params.
* Add changelog docs for previous commits.

BUG=chromium:259001
TEST=hterm_test.html, 66/66 tests passed.

Change-Id: I8c2585c856e17bf6e21958bf7cb065839d60ceb6
Reviewed-on: https://gerrit.chromium.org/gerrit/62591
Commit-Queue: Robert Ginda <rginda@chromium.org>
Reviewed-by: Robert Ginda <rginda@chromium.org>
Tested-by: Robert Ginda <rginda@chromium.org>
14 months agoAdd Connectivity Diagnostic as component extension for Chrome OS 20/62420/2
Dmitry Polukhin [Wed, 17 Jul 2013 23:42:02 +0000 (16:42 -0700)]
Add Connectivity Diagnostic as component extension for Chrome OS

BUG=chromium:260892
TEST=manual

Change-Id: I874066bf4e7e08a981fec6c2d5ca0db11ca07998
Reviewed-on: https://gerrit.chromium.org/gerrit/62420
Reviewed-by: Zachary Kuznia <zork@chromium.org>
Tested-by: Dmitry Polukhin <dpolukhin@chromium.org>
Commit-Queue: Dmitry Polukhin <dpolukhin@chromium.org>

14 months agoFix live region regression causing unstoppable live region announcement. 74/61674/2
David Tseng [Fri, 12 Jul 2013 17:01:05 +0000 (10:01 -0700)]
Fix live region regression causing unstoppable live region announcement.

BUG=chromium:258635
TEST=Tested on Chrome Aura with Gmail chat.

Change-Id: I9d0f3fb415869f2ec4dea45f31278e28a3d7e6a9
Reviewed-on: https://gerrit.chromium.org/gerrit/61674
Commit-Queue: David Tseng <dtseng@chromium.org>
Reviewed-by: David Tseng <dtseng@chromium.org>
Tested-by: David Tseng <dtseng@chromium.org>
14 months agoMerge in ChromeVox from upstream. 96/61596/2 factory-pit-4390.B firmware-falco_peppy-4389.B firmware-leon-4389.26.B firmware-wolf-4389.24.B
David Tseng [Thu, 11 Jul 2013 20:58:36 +0000 (13:58 -0700)]
Merge in ChromeVox from upstream.

Contains removal of new greeting.

BUG=chromium:252380
TEST=Turn on and off ChromeVox.

Change-Id: I2cbc2387718b2b26716781acdbf54c06475fd5ef
Reviewed-on: https://gerrit.chromium.org/gerrit/61596
Commit-Queue: David Tseng <dtseng@chromium.org>
Reviewed-by: David Tseng <dtseng@chromium.org>
Tested-by: David Tseng <dtseng@chromium.org>
14 months agoadd test infrastructure to libdot, and tests for lib_utf8.js 20/60620/3
Mark Lentczner [Mon, 1 Jul 2013 06:36:14 +0000 (23:36 -0700)]
add test infrastructure to libdot, and tests for lib_utf8.js

Change-Id: I8d20b3fc5f4bb9518f805c7aac5810f2b3a37f17
Reviewed-on: https://gerrit.chromium.org/gerrit/60620
Commit-Queue: Robert Ginda <rginda@chromium.org>
Reviewed-by: Robert Ginda <rginda@chromium.org>
Tested-by: Robert Ginda <rginda@chromium.org>
14 months agoFix linux-isms that aren't supported on OS X or all BSD systems 16/60616/3
Mark Lentczner [Sun, 30 Jun 2013 19:53:32 +0000 (12:53 -0700)]
Fix linux-isms that aren't supported on OS X or all BSD systems

- base64 -w0 isn't standard, so just run output through tr -d '\n'
- expr length isn't standard, replaced with simpler ${#shellvar} construct
- expr match isn't standard, replaced with expr <val> : <regex>
- \s in regex in expr & sed isn't standard, replaced with [:space:]
- [:space:] in regex in awk isn't standard, replaced with [ \t]
- \+ in regex in sed isn't standard, replaced with \{1,\}
- short option added for --promote in mkzip.sh, as shflags needs short options on all options on some platforms
- -regextype option in find isn't standard, removed as it wasn't needed

- readline -f isn't standard, but there is no good work around
  - added alternate readline implementation for those systems that don't support -f, and notes in the README

- computation of final in promote_version() (in mkzip.sh) failed for two digit versions, fixed

Change-Id: I53d204590543b02781c208d00ba6c38b82240149
Reviewed-on: https://gerrit.chromium.org/gerrit/60616
Commit-Queue: Robert Ginda <rginda@chromium.org>
Reviewed-by: Robert Ginda <rginda@chromium.org>
Tested-by: Robert Ginda <rginda@chromium.org>
14 months agoAdd EFIGS voices to Chrome OS. 52/58652/3
Dominic Mazzoni [Fri, 14 Jun 2013 05:44:28 +0000 (22:44 -0700)]
Add EFIGS voices to Chrome OS.

BUG=chromium:166748
TEST=manual testing

Change-Id: Iaba6185a7ebeca39f8491c85ba4c035f07a7ce8f
Reviewed-on: https://gerrit.chromium.org/gerrit/58652
Reviewed-by: David Tseng <dtseng@chromium.org>
Tested-by: David Tseng <dtseng@chromium.org>
Reviewed-by: Zachary Kuznia <zork@chromium.org>
Commit-Queue: Dominic Mazzoni <dmazzoni@chromium.org>

14 months agoMerge latest fixes from ChromeVox upstream.. 43/60143/2
David Tseng [Wed, 26 Jun 2013 21:55:13 +0000 (14:55 -0700)]
Merge latest fixes from ChromeVox upstream..

BUG=chromium:251942
TEST=Ensure that ChromeVox navigation reaches all elements in OOBE (both ChromeVox+up/down and ChromeVox+left/right).

Change-Id: I28b555d0197f2ff490e0b8609ee171b102ee4fd0
Reviewed-on: https://gerrit.chromium.org/gerrit/60143
Commit-Queue: David Tseng <dtseng@chromium.org>
Reviewed-by: David Tseng <dtseng@chromium.org>
Tested-by: David Tseng <dtseng@chromium.org>
14 months agohterm 1.12, nassh 0.8.19.4: Fix zoom warning. 20/59820/2
Robert Ginda [Mon, 24 Jun 2013 20:04:55 +0000 (13:04 -0700)]
hterm 1.12, nassh 0.8.19.4: Fix zoom warning.

hterm 1.12: Fix zoom warning.

* Fix the browser-zoom detection so we show the zoom warning again.

nassh 0.8.19.4: Update to hterm 1.12.

* Include zoom warning fix from hterm 1.12.

BUG=None
TEST=Manual testing
TEST=hterm_test.html, 66/66 tests passed.

Change-Id: Ia54593c16e594d049b79ae79034cc465af76a95a
Reviewed-on: https://gerrit.chromium.org/gerrit/59820
Commit-Queue: Marius Schilder <mschilder@google.com>
Commit-Queue: Robert Ginda <rginda@chromium.org>
Reviewed-by: Robert Ginda <rginda@chromium.org>
Tested-by: Robert Ginda <rginda@chromium.org>
14 months agoMerges in additional fixes for ChromeVox 29. 27/59627/2
David Tseng [Fri, 21 Jun 2013 22:49:46 +0000 (15:49 -0700)]
Merges in additional fixes for ChromeVox 29.

BUG=chromium:244565
TEST=Sanity check ChromeVox.

Change-Id: Ia886d085bceb0522be516053fce6d9bb0739183e
Reviewed-on: https://gerrit.chromium.org/gerrit/59627
Reviewed-by: David Tseng <dtseng@chromium.org>
Tested-by: David Tseng <dtseng@chromium.org>
Commit-Queue: David Tseng <dtseng@chromium.org>

14 months agohterm 1.11, nassh 0.8.19.3, encoding preferences 77/59477/4
Robert Ginda [Thu, 20 Jun 2013 21:37:18 +0000 (14:37 -0700)]
hterm 1.11, nassh 0.8.19.3, encoding preferences

hterm 1.11: Add 'send-encoding'/'receive-encoding' preferences.

* Splits 'character-encoding' into two preferences so send and receive
  encodings can be set independently.
* Refactor Terminal.keyboard.onKeyDown_ to allow Ctrl+Alt+(printable) key
  combinations.
* Fix regression in Terminal..onPaste_.

hterm 1.10: Add 'character-encoding' preference.

* Adds a 'character-encoding' preference which can be set to 'utf-8' (default)
  or 'raw'.  When set to 'utf-8' hterm's behavior is unchanged from previous
  versions.  When set to 'raw', hterm will not attempt to decode input or
  encode output.

nassh 0.8.19.3: Update to hterm 1.11.

* Include 'send-encoding'/'receive-encoding' preferences from hterm 1.11.

nassh 0.8.19.2: Update to hterm 1.10.

* Include 'characer-encoding' preference from hterm 1.10.

BUG=None
TEST=hterm_test.html, 66/66 tests passed.
TEST=Manual testing

Change-Id: I5eb4b21862fa2d0204aa445a9c23affb822c5a7a
Reviewed-on: https://gerrit.chromium.org/gerrit/59477
Reviewed-by: Marius Schilder <mschilder@google.com>
Commit-Queue: Robert Ginda <rginda@chromium.org>
Reviewed-by: Robert Ginda <rginda@chromium.org>
Tested-by: Robert Ginda <rginda@chromium.org>
14 months agohterm 1.9, nassh 0.18.19.1: Shift-Tab fix. 84/59284/3
Robert Ginda [Wed, 19 Jun 2013 19:27:06 +0000 (12:27 -0700)]
hterm 1.9, nassh 0.18.19.1: Shift-Tab fix.

hterm 1.9: Fix issues with shift-key and CSI sequences.

* Clear e.shiftKey in hterm_keyboard_keymap.js' sh() function so that
  hterm_keyboard.js doesn't apply its own shift key munging.

nassh 0.8.19.1: Update to hterm 1.9

* Include Shift-Tab fixes from hterm 1.9.

BUG=None
TEST=Manual testing.
TEST=hterm_test.html, 66/66 tests passed.

Change-Id: Ie7fb275f162971f959e51f42670eda1ed913ba6c
Reviewed-on: https://gerrit.chromium.org/gerrit/59284
Reviewed-by: Marius Schilder <mschilder@google.com>
Commit-Queue: Robert Ginda <rginda@chromium.org>
Reviewed-by: Robert Ginda <rginda@chromium.org>
Tested-by: Robert Ginda <rginda@chromium.org>
15 months agonassh 0.8.19: Stable release of 0.8.18.5 83/59283/2
Robert Ginda [Wed, 19 Jun 2013 19:02:37 +0000 (12:02 -0700)]
nassh 0.8.19: Stable release of 0.8.18.5

* Stable release of 0.8.18.5

TEST=nassh 0.8.18.5
BUG=None

Change-Id: I8fb50af4a56dc731bee4010e82ae7488ac64be04
Reviewed-on: https://gerrit.chromium.org/gerrit/59283
Reviewed-by: Robert Ginda <rginda@chromium.org>
Tested-by: Robert Ginda <rginda@chromium.org>
Commit-Queue: Robert Ginda <rginda@chromium.org>

15 months agonassh 0.8.18.4 and 0.8.18.5: assorted fixes. 40/57240/5
Robert Ginda [Fri, 31 May 2013 20:35:24 +0000 (13:35 -0700)]
nassh 0.8.18.4 and 0.8.18.5: assorted fixes.

0.8.18.5, 2013-05-31, Overscroll fix.

* Update to hterm 1.8.

0.8.18.4, 2013-05-31, Small fixes.

* Update to hterm 1.7.
* BUG=chromium:245459: Disable the "Are you sure?" before-unload dialog when open as a
  window.
* Update bin/mkzip.sh to tolerate trailing "+ " in the version string.

BUG=chromium:245459
TEST=Manual testing

Change-Id: Ic13aee9db3888ed0fb7ed87755dff6510140cb09
Reviewed-on: https://gerrit.chromium.org/gerrit/57240
Reviewed-by: Robert Ginda <rginda@chromium.org>
Tested-by: Robert Ginda <rginda@chromium.org>
Commit-Queue: Robert Ginda <rginda@chromium.org>

15 months agohterm 1.7 and 1.8 39/57239/4
Robert Ginda [Fri, 31 May 2013 20:34:09 +0000 (13:34 -0700)]
hterm 1.7 and 1.8

1.8, 2013-05-31, overscroll fix

* BUG=chromium:245700: Call preventDefault on mousewheel events that we've
  handled.

1.7, 2013-05-31, Fix onTerminalResize, dec12 pref

* Pass width and height in io.onTerminalResize again, which regressed in the
  previous commit.
* BUG=chromium:245700: Call preventDefault on mousewheel events that we've
  handled.
* BUG=chromium:245120 Add 'enable-dec12' preference, off by default, which allows the
  host to control the cursor blink state via DEC private mode 12.

BUG=chromium:245700
BUG=chromium:245120
TEST=hterm_test.html, 66/66 tests passed.

Change-Id: I176fe1061ec304e02a42c70300342b2543925417
Reviewed-on: https://gerrit.chromium.org/gerrit/57239
Reviewed-by: Robert Ginda <rginda@chromium.org>
Tested-by: Robert Ginda <rginda@chromium.org>
Commit-Queue: Robert Ginda <rginda@chromium.org>

15 months agoMerge ChromeVox 29 fixes. 01/58101/3 factory-4290.B factory-pit-4280.B factory-spring-4262.B stabilize-4287.B
David Tseng [Mon, 10 Jun 2013 19:08:49 +0000 (12:08 -0700)]
Merge ChromeVox 29 fixes.

BUG=chromium:244565
TEST=Sanity check ChromeVox.

Change-Id: I2259a7050045c6ff1ae98eb261169003cbfdc79e
Reviewed-on: https://gerrit.chromium.org/gerrit/58101
Commit-Queue: David Tseng <dtseng@chromium.org>
Reviewed-by: David Tseng <dtseng@chromium.org>
Tested-by: David Tseng <dtseng@chromium.org>
15 months agoUpdate ChromeVox 29 from upstream. 55/56855/2 stabilize-4255.B
David Tseng [Tue, 28 May 2013 22:42:52 +0000 (15:42 -0700)]
Update ChromeVox 29 from upstream.

BUG=chromium:244565
TEST=Sanity check ChromeVox ctrl+alt+z.

Change-Id: I98218ad5197c4e974b28acac279b83f1bcdfd244
Reviewed-on: https://gerrit.chromium.org/gerrit/56855
Reviewed-by: David Tseng <dtseng@chromium.org>
Tested-by: David Tseng <dtseng@chromium.org>
Commit-Queue: David Tseng <dtseng@chromium.org>

15 months agohterm 1.6: Track terminal size on the io object. 11/56611/2
Robert Ginda [Fri, 24 May 2013 17:34:46 +0000 (10:34 -0700)]
hterm 1.6: Track terminal size on the io object.

This installs a default onTerminalResize handler on the
hterm.Terminal.IO object that records the most recent
terminal size as io.columnCount and io.rowCount.  This
gives consumers synchronous access to these values without
having to wire up the event handler themselves.

BUG=None
TEST=hterm_test.html, 66/66 tests passed.

Change-Id: I14f5195dd8111a31a6a108172673a81fc4d30f0e
Reviewed-on: https://gerrit.chromium.org/gerrit/56611
Reviewed-by: Marius Schilder <mschilder@google.com>
Commit-Queue: Robert Ginda <rginda@chromium.org>
Reviewed-by: Robert Ginda <rginda@chromium.org>
Tested-by: Robert Ginda <rginda@chromium.org>
15 months agolibdot 1.3: Fix concat.sh append_string 10/56610/2
Robert Ginda [Tue, 30 Apr 2013 22:39:01 +0000 (15:39 -0700)]
libdot 1.3: Fix concat.sh append_string

* Fix append_string to work with multi-line strings.

BUG=None
TEST=None

Change-Id: I79319453a54e1719bc47a96c79b2aa58b485d3fd
Reviewed-on: https://gerrit.chromium.org/gerrit/56610
Reviewed-by: Marius Schilder <mschilder@google.com>
Commit-Queue: Robert Ginda <rginda@chromium.org>
Reviewed-by: Robert Ginda <rginda@chromium.org>
Tested-by: Robert Ginda <rginda@chromium.org>
16 months agoUpdate ChromeVox 27 with stability fixes from upstream. 99/50499/3 factory-4128.B factory-spring-4131.B
David Tseng [Wed, 8 May 2013 20:53:06 +0000 (13:53 -0700)]
Update ChromeVox 27 with stability fixes from upstream.

BUG=chromium:239184
TEST=Sanity check ChromeVox (ctrl+alt+z).
Change-Id: Icb8dcfc7caa43cf30e07c7b0ef06e2e107b96944
Reviewed-on: https://gerrit.chromium.org/gerrit/50499
Commit-Queue: David Tseng <dtseng@chromium.org>
Reviewed-by: David Tseng <dtseng@chromium.org>
Tested-by: David Tseng <dtseng@chromium.org>
16 months agonassh 0.8.18.2: Update to hterm 1.4. 53/48253/2 release-R28-4100.B stabilize-4100.38.B stabilize-spring-4100.53.B toolchainB
Robert Ginda [Tue, 16 Apr 2013 20:30:38 +0000 (13:30 -0700)]
nassh 0.8.18.2: Update to hterm 1.4.

* Update to hterm 1.4.
* Modify ./bin/mkzip.sh to warn if nassh_deps.concat.js is not current.

BUG=None
TEST=Manual: edit hterm changelog and ensure that warning appears

Change-Id: Icafc6f4e194a0e6ac54529337cb677f1f43443db
Reviewed-on: https://gerrit.chromium.org/gerrit/48253
Reviewed-by: Andrew de los Reyes <adlr@chromium.org>
Tested-by: Robert Ginda <rginda@chromium.org>
Commit-Queue: Robert Ginda <rginda@chromium.org>

16 months agoUpdate ChromeVox 27 from upstream 62/49662/2
David Tseng [Tue, 30 Apr 2013 21:50:42 +0000 (14:50 -0700)]
Update ChromeVox 27 from upstream

BUG=chromium:236968
TEST=Sanity check ChromeVox (ctrl+alt+z).

Change-Id: I2aec36fe30573741371253b9c86b7c8c99c6e2da
Reviewed-on: https://gerrit.chromium.org/gerrit/49662
Commit-Queue: David Tseng <dtseng@chromium.org>
Reviewed-by: David Tseng <dtseng@chromium.org>
Tested-by: David Tseng <dtseng@chromium.org>
17 months agoPass shift-ctrl-L to browser so screen-lock combo works on CrOS. 53/48553/3 stabilize-4035.0.B stabilize-4068.0.B
Marius Schilder [Thu, 18 Apr 2013 00:31:05 +0000 (17:31 -0700)]
Pass shift-ctrl-L to browser so screen-lock combo works on CrOS.

BUG=chromium:233008
TEST=hterm_test.html, 66/66 tests passed
TEST=manual

Change-Id: I3fefe3a383cf48bf26becf7bdaafe8784f64063b
Reviewed-on: https://gerrit.chromium.org/gerrit/48553
Reviewed-by: Robert Ginda <rginda@chromium.org>
Commit-Queue: Marius Schilder <mschilder@chromium.org>
Tested-by: Marius Schilder <mschilder@chromium.org>
17 months agofix wrong directory in manual doc, hack.txt. 87/47987/2 stabilize-4008.0.B
Sungguk Lim [Fri, 12 Apr 2013 12:16:53 +0000 (05:16 -0700)]
fix wrong directory in manual doc, hack.txt.

BUG=None
TEST=No source code changes, only doc change

Change-Id: I51cf401e34ef7f9f5f8b5546393cd7b4bf560b83
Reviewed-on: https://gerrit.chromium.org/gerrit/47987
Commit-Queue: Robert Ginda <rginda@chromium.org>
Reviewed-by: Robert Ginda <rginda@chromium.org>
Tested-by: Robert Ginda <rginda@chromium.org>
17 months agoMerge in a ChromeVox fix for the root cause of freezing in Gmail. 77/47677/2
David Tseng [Tue, 9 Apr 2013 19:43:54 +0000 (12:43 -0700)]
Merge in a ChromeVox fix for the root cause of freezing in Gmail.

This merges a fix upstream that corrects ChromeVox's character traversal logic which would in specific DOM trees, cause an infinite loop.
BUG=chromium:126942,chromium:224454
TEST=Sanity check ChromeVox; try it with Gmail chat.

Change-Id: I7418d741a27b0829f01141d6591293c420e59369
Reviewed-on: https://gerrit.chromium.org/gerrit/47677
Reviewed-by: David Tseng <dtseng@chromium.org>
Tested-by: David Tseng <dtseng@chromium.org>
Commit-Queue: David Tseng <dtseng@chromium.org>

17 months agohterm 0.8.18, 0.8.18.1 78/47678/2
Robert Ginda [Tue, 9 Apr 2013 20:58:26 +0000 (13:58 -0700)]
hterm 0.8.18, 0.8.18.1

0.8.18.1, 2013-04-08, Update to hterm 1.3.

* Update to hterm 1.3 to get clear screen, media key, and alt-backspace changes.

0.8.18, 2014-04-08, Stable release of 0.8.17.3

BUG=None
TEST=Manual testing

Change-Id: I17150ed47a18352574446bd88a93edcf278171a7
Reviewed-on: https://gerrit.chromium.org/gerrit/47678
Commit-Queue: Robert Ginda <rginda@chromium.org>
Reviewed-by: Robert Ginda <rginda@chromium.org>
Tested-by: Robert Ginda <rginda@chromium.org>
17 months agohterm: Handle clearing screen when not scrolled to bottom 73/47373/5
Andrew de los Reyes [Thu, 4 Apr 2013 22:38:55 +0000 (15:38 -0700)]
hterm: Handle clearing screen when not scrolled to bottom

BUG=chromium:226819
TEST=did the following:
- ls -l a bunch of times to make a long scroll buffer (> 2x term height)
- scroll to top
- Ctrl-Shift-K to clear screen

Change-Id: I74345b7c6cc9deef82766ee2d6c7dbc6f306e86d
Reviewed-on: https://gerrit.chromium.org/gerrit/47373
Reviewed-by: Robert Ginda <rginda@chromium.org>
Commit-Queue: Andrew de los Reyes <adlr@chromium.org>
Tested-by: Andrew de los Reyes <adlr@chromium.org>
17 months agohterm: Don't trap media keys by default. 58/47358/3
Andrew de los Reyes [Thu, 4 Apr 2013 21:17:50 +0000 (14:17 -0700)]
hterm: Don't trap media keys by default.

Intrudces a new preference to trap media keys and convert them to the
Chrome OS keyboard equivalent (e.g. Back is F1). By default this is
turned off, so that media keys perform their media function on Chrome
OS.

BUG=chromium:226752
TEST=Manually tested that w/ the pref on, media keys have the same
behavior, and w/ the pref off (default), media keys have media
behavior. Saw the same hex output for the media keys:
F1: 0x1b 4f 50
F2: 0x1b 4f 51
F3: 0x1b 4f 52
F4: 0x1b 4f 53
F5: 0x1b 5b 31 35 7e
F6: 0x1b 5b 31 37 7e
F7: 0x1b 5b 31 38 7e
F8: 0x1b 5b 31 39 7e
F9: 0x1b 5b 32 30 7e
F10: 0x1b 5b 32 31 7e

Change-Id: I72b49fe7a66547750243fd0e31adf953b1293125
Reviewed-on: https://gerrit.chromium.org/gerrit/47358
Reviewed-by: Robert Ginda <rginda@chromium.org>
Commit-Queue: Andrew de los Reyes <adlr@chromium.org>
Tested-by: Andrew de los Reyes <adlr@chromium.org>
17 months agohterm: Support to detect alt-backspace when it's remapped to DEL. 23/47323/4
Andrew de los Reyes [Thu, 4 Apr 2013 16:31:57 +0000 (09:31 -0700)]
hterm: Support to detect alt-backspace when it's remapped to DEL.

BUG=chromium:174410

TEST=Manually tested the following cases before and after to see the
same behavior w/ the pref disabled:
DEL: 0x1b 5b 33 7e == '\x1b[3~'
Backspace: 0x7f
Esc: 0x1b
Alt-Del: 0x1b 5b 33 3b 33 7e == '\x1b[3;3~'

And w/ the pref enabled, saw that Alt-backspace did:
Alt-Backspace: 0x1b 7f (this is the only chage from this CL)

Change-Id: Ie480d7087495704c7e3417d08c4e99702d5f85a0
Reviewed-on: https://gerrit.chromium.org/gerrit/47323
Reviewed-by: Robert Ginda <rginda@chromium.org>
Commit-Queue: Andrew de los Reyes <adlr@chromium.org>
Tested-by: Andrew de los Reyes <adlr@chromium.org>
17 months agonassh 0.8.17.3: Add pref export/import plumbing 97/47197/2
Robert Ginda [Tue, 2 Apr 2013 23:17:13 +0000 (16:17 -0700)]
nassh 0.8.17.3: Add pref export/import plumbing

* Added some basic plumbing for preference import/export.  Must be driven from
  the command line console at the moment.

Both of the new methods are asynchronous becase the hterm profile
preferences pre-date the automatic child list management of
lib.PreferenceManager, and therefore don't benefit from the single
readStorage() call of a parent preference manager.

To export nassh preferences, open the console and type the
following...

  nassh_.exportPreferences(function(o) { console.log(JSON.stringify(o)) }

This will return "undefined" right away, but very soon after will dump
your preferences as a stringified json object.  Save that string somewhere
safe if you want to back up your preferences, or copy it to the clipboard
if you just want to transfer prefs to another profile.

To restore preferences, run...

  nassh_.importPreferences(JSON.parse("..."))

Where "..." is the stringified JSON object returned from the export
function.

BUG=None
TEST=Manual testing in nassh.
TEST=nassh_test.html, 66/66 tests passed.

Change-Id: Ic957a91026e790d5e2945c0bdf4de6bd324ff957
Reviewed-on: https://gerrit.chromium.org/gerrit/47197
Reviewed-by: Andrew de los Reyes <adlr@chromium.org>
Commit-Queue: Robert Ginda <rginda@chromium.org>
Tested-by: Robert Ginda <rginda@chromium.org>
17 months agolibdot 1.2: Add export/import methods to lib.PreferenceManager. 96/47196/2
Robert Ginda [Tue, 2 Apr 2013 23:16:19 +0000 (16:16 -0700)]
libdot 1.2: Add export/import methods to lib.PreferenceManager.

* Add lib.PreferenceManager..exportAsJson/importFromJson methods to facilitate
  backup or migration of preferences.

BUG=None
TEST=Manual testing in nassh.

Change-Id: Iba4108054636de32a935edec8941138c31ac9989
Reviewed-on: https://gerrit.chromium.org/gerrit/47196
Reviewed-by: Andrew de los Reyes <adlr@chromium.org>
Commit-Queue: Robert Ginda <rginda@chromium.org>
Tested-by: Robert Ginda <rginda@chromium.org>
17 months agohterm: 0.8.17.2 - Rebuild nacl plugin with ixany fix. 47/47047/2
Robert Ginda [Mon, 1 Apr 2013 20:40:45 +0000 (13:40 -0700)]
hterm: 0.8.17.2 - Rebuild nacl plugin with ixany fix.

BUG=chromium:218361, ...ixany/tostop being set in termios
TEST=hterm_test.html, 66/66 tests passed
TEST=Start Secure Shell, run `stty`, ensure that 'ixany' and
  'tostop' do not appear in the output.

Change-Id: I1baf658240eaf3bd526463e28a8ba7eb90d6d073
Reviewed-on: https://gerrit.chromium.org/gerrit/47047
Commit-Queue: Robert Ginda <rginda@chromium.org>
Reviewed-by: Robert Ginda <rginda@chromium.org>
Tested-by: Robert Ginda <rginda@chromium.org>
17 months agoBump naclport revision to catch IXANY fix 68/46868/2
Dmitry Polukhin [Fri, 29 Mar 2013 10:17:59 +0000 (14:17 +0400)]
Bump naclport revision to catch IXANY fix

BUG=chromium:218361
TEST=manually

Change-Id: I963770e25c70181e5362a9286a668b2164016cff
Reviewed-on: https://gerrit.chromium.org/gerrit/46868
Commit-Queue: Dmitry Polukhin <dpolukhin@chromium.org>
Reviewed-by: Dmitry Polukhin <dpolukhin@chromium.org>
Tested-by: Dmitry Polukhin <dpolukhin@chromium.org>
17 months agohterm 0.8.17.1: fix syntax errors 80/46780/3
Robert Ginda [Thu, 28 Mar 2013 18:29:58 +0000 (11:29 -0700)]
hterm 0.8.17.1: fix syntax errors

* Fix syntax errors from the relay port changes.
* Update manifest and changelog for 0.8.17.1 release.

BUG=None
TEST=hterm_test.html, 66/66 tests passed.

Change-Id: Iae895065249330015bc9affb70be66cc74c54d09
Reviewed-on: https://gerrit.chromium.org/gerrit/46780
Commit-Queue: Tyler Pirtle <rtp@google.com>
Reviewed-by: Tyler Pirtle <rtp@google.com>
Commit-Queue: Robert Ginda <rginda@chromium.org>
Reviewed-by: Robert Ginda <rginda@chromium.org>
Tested-by: Robert Ginda <rginda@chromium.org>
17 months agohterm: Add url to faq.txt and hack.txt 79/46779/2
Robert Ginda [Thu, 28 Mar 2013 17:52:12 +0000 (10:52 -0700)]
hterm: Add url to faq.txt and hack.txt

Documentation change only.

BUG=none
TEST=none

Change-Id: I7a925669579cf5c471b6abf17ee2ba7c6dbfdf4e
Reviewed-on: https://gerrit.chromium.org/gerrit/46779
Commit-Queue: Robert Ginda <rginda@chromium.org>
Reviewed-by: Robert Ginda <rginda@chromium.org>
Tested-by: Robert Ginda <rginda@chromium.org>
17 months agoFix relayPort grouping so port is not included in relayHost group, and update 57/46457/2
Tyler Pirtle [Mon, 25 Mar 2013 23:37:22 +0000 (16:37 -0700)]
Fix relayPort grouping so port is not included in relayHost group, and update
log message.

TEST=66/66 passed.
BUG=None.

Change-Id: I2c1698d8b43d71d35d0bea067f5423bdb24b7cdf
Reviewed-on: https://gerrit.chromium.org/gerrit/46457
Reviewed-by: Robert Ginda <rginda@chromium.org>
Tested-by: Robert Ginda <rginda@chromium.org>
Commit-Queue: Tyler Pirtle <rtp@google.com>

17 months agoAdd 'relay port' to allow specifying port on relay host. 90/46290/5
Tyler Pirtle [Fri, 22 Mar 2013 18:01:10 +0000 (11:01 -0700)]
Add 'relay port' to allow specifying port on relay host.

BUG=chromium:223037
TEST=hterm_test.html, 66 passed, 0 failed, 2.23s.

Change-Id: I3e5e4de001cc4b548e478cf69490605cdefef9ce
Reviewed-on: https://gerrit.chromium.org/gerrit/46290
Commit-Queue: Robert Ginda <rginda@chromium.org>
Reviewed-by: Robert Ginda <rginda@chromium.org>
Tested-by: Robert Ginda <rginda@chromium.org>
17 months agoiter_viewer: update makedist helper 15/46315/2
Mike Frysinger [Fri, 22 Mar 2013 21:48:16 +0000 (17:48 -0400)]
iter_viewer: update makedist helper

Get it working in the new unified repo.

BUG=None
TEST=`./makedist.sh 1` produced a good cros-iter-viewer-3.1.1.zip

Change-Id: Idefae32829026606981be001c2eff6da923173f8
Reviewed-on: https://gerrit.chromium.org/gerrit/46315
Reviewed-by: Andrew de los Reyes <adlr@chromium.org>
Commit-Queue: Mike Frysinger <vapier@chromium.org>
Tested-by: Mike Frysinger <vapier@chromium.org>
17 months agoiter_viewer: update host filtering 12/46312/2
Mike Frysinger [Fri, 22 Mar 2013 21:39:27 +0000 (17:39 -0400)]
iter_viewer: update host filtering

Fix the existing match so /p/ only applies when browsing Google Code and
not all websites with /p/ in their address.

Also add new bugsof website.

BUG=None
TEST=modified extension and browsed to various related URLs

Change-Id: I9e67d67e4d2d9022c4232a403d79a1d8ed25f5ac
Reviewed-on: https://gerrit.chromium.org/gerrit/46312
Reviewed-by: Andrew de los Reyes <adlr@chromium.org>
Commit-Queue: Mike Frysinger <vapier@chromium.org>
Tested-by: Mike Frysinger <vapier@chromium.org>
17 months agoFix ssh_client build.sh script 50/45550/7
Dmitry Polukhin [Fri, 15 Mar 2013 11:28:47 +0000 (15:28 +0400)]
Fix ssh_client build.sh script

+ Switch SDK version to latest M26
+ Update build scripts to work with current naclports
+ Pin naclports to fixed revision
+ Caught files move from hterm to nassh (following changes will move ssh_client to sub-directory under nassh)
+ Fixed issue with pnacl toolchain crash in naclports
+ Fixed issue with TOSTOP in naclports

BUG=none
TEST=manual

Change-Id: I2e5af88a79cc7721dabd135582ef381d09ed73bc
Reviewed-on: https://gerrit.chromium.org/gerrit/45550
Commit-Queue: Dmitry Polukhin <dpolukhin@chromium.org>
Reviewed-by: Dmitry Polukhin <dpolukhin@chromium.org>
Tested-by: Dmitry Polukhin <dpolukhin@chromium.org>
18 months agohterm 1.2, nassh 0.8.16.3, Terminal bell 63/45863/3 stabilize-3881.0.B
Robert Ginda [Tue, 19 Mar 2013 17:35:39 +0000 (10:35 -0700)]
hterm 1.2, nassh 0.8.16.3, Terminal bell

* Fix bug that made terminal bell only ring once.

BUG=None
TEST=Manual testing of terminal bell
TEST=hterm_test.html, 66/66 tests passed.

Change-Id: I7cd2d952e0da096d03a53b7a3bbb3cd7c13d3d6b
Reviewed-on: https://gerrit.chromium.org/gerrit/45863
Reviewed-by: Marius Schilder <mschilder@google.com>
Commit-Queue: Robert Ginda <rginda@chromium.org>
Reviewed-by: Robert Ginda <rginda@chromium.org>
Tested-by: Robert Ginda <rginda@chromium.org>
18 months agohterm 0.8.16.2: Fix crosh/prefs pages 88/45788/2
Robert Ginda [Mon, 18 Mar 2013 20:02:40 +0000 (13:02 -0700)]
hterm 0.8.16.2: Fix crosh/prefs pages

* Fix script includes in nassh_preferences_editor.html and crosh.html pages.

BUG=None
TEST=hterm_test.html, 66/66 tests passed

Change-Id: Icf856db8a8f4e0ce73c5d6c6834fd6f0837932c3
Reviewed-on: https://gerrit.chromium.org/gerrit/45788
Reviewed-by: Marius Schilder <mschilder@google.com>
Commit-Queue: Robert Ginda <rginda@chromium.org>
Reviewed-by: Robert Ginda <rginda@chromium.org>
Tested-by: Robert Ginda <rginda@chromium.org>
18 months agoMerging in two fixes from ChromeVox 26. 57/45757/2
David Tseng [Mon, 18 Mar 2013 17:10:54 +0000 (10:10 -0700)]
Merging in two fixes from ChromeVox 26.

• Correctly consider SCRIPT and NOSCRIPT nodes in TraverseUtil/TraverseContent.

This is a bug where a user will cross into the text content of a SCRIPT or NOSCRIPT when navigating by character, word, or line.

• Correct a bug in the collapsing of a CursorSelection:

We collapse a selection to the start of the selection for certain commands. With the ability to move by line, we were not computing the right start offset for a line (which could occur in the middle of a node's text content).

TEST=Full test pass using TOT imaged Samsung Chromebooks with this change patched.

BUG=chromium:217658

Change-Id: Ifaa8f5012c95d4f9c5197f9927831b3fdfcf7598
Reviewed-on: https://gerrit.chromium.org/gerrit/45757
Commit-Queue: David Tseng <dtseng@chromium.org>
Reviewed-by: David Tseng <dtseng@chromium.org>
Tested-by: David Tseng <dtseng@chromium.org>
18 months agonassh 0.8.16.1, Grab bag of fixes 86/45486/6
Robert Ginda [Thu, 14 Mar 2013 20:58:20 +0000 (13:58 -0700)]
nassh 0.8.16.1, Grab bag of fixes

* Update to libdot 1.1, hterm 1.1.
* Add notice about the age of the hterm library on startup in TOT builds.

BUG=chromium-os:34460, can't delete connections with on-screen "[DEL] Delete"
  button.
BUG=chromium-os:39287, col walking in connection manager doesn't work quite
  right.
BUG=chromium-os:39594, When focused, Enter button does not respond to pressing
  the Enter key.

TEST=manual testing of unpacked Secure Shell

Change-Id: If10de329eb07573e8582fbc169f32953c0f75e16
Reviewed-on: https://gerrit.chromium.org/gerrit/45486
Reviewed-by: Dmitry Polukhin <dpolukhin@chromium.org>
Commit-Queue: Robert Ginda <rginda@chromium.org>
Reviewed-by: Robert Ginda <rginda@chromium.org>
Tested-by: Robert Ginda <rginda@chromium.org>
18 months agohterm 1.1, Grab bag of fixes. 85/45485/5
Robert Ginda [Thu, 14 Mar 2013 20:56:37 +0000 (13:56 -0700)]
hterm 1.1, Grab bag of fixes.

* Fix base64 encoding of the bell audio.
* Reset the vt object when terminal is reset.
* Break out of a parseUntilStringTerminator_ if an embedded ESC is
  found (other than the one that may appear as part of a 7-bit ST),
  or if the sequence has been going on for too long (measured by the
  wall clock).

BUG=chromium:191050, Map Chrome OS top-row keys to function keys.
BUG=chromum-os:30792, beeps accumulate - leads to non stop beeping
BUG=chromum-os:35288, scroll-on-output doesn't appear to work
BUG=chromum-os:39645, Application keypad doesn't work properly

TEST=hterm_test.html 66/66 tests passed.

Change-Id: I65bf070e596d4fd5134d3c6d9e43b63f7b2def0e
Reviewed-on: https://gerrit.chromium.org/gerrit/45485
Reviewed-by: Dmitry Polukhin <dpolukhin@chromium.org>
Commit-Queue: Robert Ginda <rginda@chromium.org>
Reviewed-by: Robert Ginda <rginda@chromium.org>
Tested-by: Robert Ginda <rginda@chromium.org>
18 months agolibdot 1.1: Grab bag of changes. 84/45484/4
Robert Ginda [Thu, 14 Mar 2013 20:54:19 +0000 (13:54 -0700)]
libdot 1.1: Grab bag of changes.

* Initial add of libdot changelog.
* Fix file selection in libdot/bin/mkzip.sh.  rsync selection wasn't working
  properly and I couldn't figure out how to fix it.  Instead, we build a file
  list using patterns passed to the `find` utility, and feed the resulting
  list to rsync.
* Move echo_changelog function from hterm/bin into libdot/bin/common.sh so that
  any concat script has access to it.
* Remove base64 magic from bin/concat.sh, since bash can't handle the binary
  data properly anyway.  Concat files need to manually encode to base64 when
  appropriate.
* Switch concat.sh line wrapping to awk, since the bash implementation was
  super slow.
* Allow line continuations with trailing "\" character in concat files.
* Echo a bell character after rerunning "concat --forever" to indicate that
  the concat is done.
* lib.PreferenceManager..set() - Re-add the notifyChange_() call.
* lib.PreferenceManager..onStorageChange_() - Fixed.

BUG=None
TEST=hterm_test.html, 66/66 tests passed
TEST=Manual testing in Secure Shell

Change-Id: I6a998bffb5d2cab476fa50c1a60e0574851113ce
Reviewed-on: https://gerrit.chromium.org/gerrit/45484
Reviewed-by: Dmitry Polukhin <dpolukhin@chromium.org>
Commit-Queue: Robert Ginda <rginda@chromium.org>
Reviewed-by: Robert Ginda <rginda@chromium.org>
Tested-by: Robert Ginda <rginda@chromium.org>
18 months agohterm-vs-nassh: you can go your own way 44/44444/12 factory-spring-3842.B firmware-spring-3833.B
Robert Ginda [Fri, 1 Mar 2013 00:52:10 +0000 (16:52 -0800)]
hterm-vs-nassh: you can go your own way

This change splits hterm and nassh into separate directories,
and deals with the fallout.

The new nassh/ subdirectory contains Secure Shell specific code.
The hterm/ subdirectory is now dedicated to the hterm source.

libdot/bin/concat.sh has almost doubled in size to 380 lines.  It
now recognizes some additional "directives" that allow you to do
more than just include static files.  See the documentation at the
top of the file for details.

hterm/bin/mkdist.sh is a new script to create the version of the
hterm library intended for public consumption.  See the comment at
the top of this script for details.

hterm now has its own changelog, separate from Secure Shell.  This
first version of the public hterm library is marked as "1.0" and
starts with a fresh changelog.  The previous changelog is now in
the nassh/doc subdirectory.

The preferences editor lives in Secure Shell now.  Other hterm clients
will need to provide their own front end for hterm prefs for now.

The faq.txt and hack.txt files were moved over to nassh/doc/
directory, and hack.txt has been updated to match the new directory
layout.  I've left stub documents in hterm/doc to redirect people who
get there from existing links.

BUG=none
TEST=hterm_test.html, 66/66 tests passed, Secure Shell seems to work.

Change-Id: Idb969b53268baf741715ba4c972d7798d163184c
Reviewed-on: https://gerrit.chromium.org/gerrit/44444
Commit-Queue: Robert Ginda <rginda@chromium.org>
Reviewed-by: Robert Ginda <rginda@chromium.org>
Tested-by: Robert Ginda <rginda@chromium.org>
18 months agoassets: Add new GRIT style locale source. 16/44816/3
Hung-Te Lin [Thu, 7 Mar 2013 07:51:53 +0000 (15:51 +0800)]
assets: Add new GRIT style locale source.

To help boot messages translation being integrated into standard release cycle,
we should move to GRIT database to work with translation console.

BUG=chromium-os:39614
TEST=none, simply adding text files.

Change-Id: Ia20266a0e3e253d4aa2964f39b939bd2fbf89085
Reviewed-on: https://gerrit.chromium.org/gerrit/44816
Reviewed-by: Tony Chang <tony@chromium.org>
Tested-by: Hung-Te Lin <hungte@chromium.org>
Reviewed-by: Daniel Erat <derat@chromium.org>
Commit-Queue: Hung-Te Lin <hungte@chromium.org>

18 months ago Update ChromeVox 26 from upstream. 92/44992/2 firmware-spring-3824.4.B firmware-spring-3824.55.B firmware-spring-3824.84.B firmware-spring-3824.B
David Tseng [Sat, 9 Mar 2013 00:12:04 +0000 (16:12 -0800)]
Update ChromeVox 26 from upstream.

BUG=chromium-os:39324
TEST=Sanity check ChromeVox starts.

Change-Id: I4751ce397f5c5ec396e97f1c78edf3382a51fd9f
Reviewed-on: https://gerrit.chromium.org/gerrit/44992
Reviewed-by: David Tseng <dtseng@chromium.org>
Tested-by: David Tseng <dtseng@chromium.org>
Commit-Queue: David Tseng <dtseng@chromium.org>

18 months agoboot_messages: Update all translations. 10/44610/3
Hung-Te Lin [Tue, 5 Mar 2013 03:58:11 +0000 (11:58 +0800)]
boot_messages: Update all translations.

Directly dump from translation bundle provided in https://crosbug.com/38884#13 .

BUG=chromium-os:38884
TEST=chromeos-bootalert enter_dev /dev/tty1

Change-Id: I5f5b9320225dd7ad1666062727b836d7d024a652
Reviewed-on: https://gerrit.chromium.org/gerrit/44610
Tested-by: Hung-Te Lin <hungte@chromium.org>
Reviewed-by: Daniel Erat <derat@chromium.org>
Commit-Queue: Hung-Te Lin <hungte@chromium.org>

18 months agotree_status: fix up loadingAnimation 02/44502/2
Mike Frysinger [Sun, 3 Mar 2013 04:50:37 +0000 (23:50 -0500)]
tree_status: fix up loadingAnimation

This doesn't actually do anything.  The main code will instantiate the
object, then call start/stop on it, but the object itself doesn't update
any external state such that it is visibly doing anything.

First, add calls to chrome.browserAction.setBadgeText so it actually
works as intended.  Then, disable it globally by default since it hasn't
been doing anything useful for a long time.

We could rip it out completely, but it seems like it'd be useful as an
internal debugging tool.

BUG=None
TEST=loaded extension and had it update its state -- it still worked

Change-Id: Ib06e7d3fe046e9edff21a8d3ab511eca0b5e8bdb
Reviewed-on: https://gerrit.chromium.org/gerrit/44502
Reviewed-by: Paul Stewart <pstew@chromium.org>
Commit-Queue: Mike Frysinger <vapier@chromium.org>
Tested-by: Mike Frysinger <vapier@chromium.org>
18 months agobuild_status: crush pngs 01/44501/2
Mike Frysinger [Sun, 3 Mar 2013 04:30:57 +0000 (23:30 -0500)]
build_status: crush pngs

Ran `pngcrush` on all the pngs.  Looks the same, just with slightly
smaller files.

BUG=None
TEST=images look the same

Change-Id: Ica36ed206bb727d7499c32cf40613f1565017171
Reviewed-on: https://gerrit.chromium.org/gerrit/44501
Reviewed-by: Paul Stewart <pstew@chromium.org>
Commit-Queue: Mike Frysinger <vapier@chromium.org>
Tested-by: Mike Frysinger <vapier@chromium.org>
18 months agotree_status: bump version 96/44496/2
Paul Stewart [Sat, 2 Mar 2013 23:11:07 +0000 (18:11 -0500)]
tree_status: bump version

BUG=None
TEST=None

Change-Id: I8100d75f3295c373831287229c0e0d8678b5b61c
Reviewed-on: https://gerrit.chromium.org/gerrit/44496
Reviewed-by: Paul Stewart <pstew@chromium.org>
Commit-Queue: Mike Frysinger <vapier@chromium.org>
Tested-by: Mike Frysinger <vapier@chromium.org>
18 months agotree_status: add option for icon clicking behavior 95/44495/3
Mike Frysinger [Sat, 2 Mar 2013 23:08:37 +0000 (18:08 -0500)]
tree_status: add option for icon clicking behavior

The code is designed to set the focus of an existing tab if one is
opened to the waterfall.  Personally, I prefer it if the button just
always opened a new tab.  Add a config option to control that.

We also tweak the options style sheet slightly to make it adding
additional sections look cleaner.  No need for all that whitespace.

BUG=None
TEST=clicking the button always creates a new tab

Change-Id: Ie74631279b7a5238fc6fabf788c9a78053f8c40f
Reviewed-on: https://gerrit.chromium.org/gerrit/44495
Commit-Queue: Mike Frysinger <vapier@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>
Tested-by: Mike Frysinger <vapier@chromium.org>
18 months agotree_status: update waterfall url 94/44494/2
Mike Frysinger [Sat, 2 Mar 2013 23:07:37 +0000 (18:07 -0500)]
tree_status: update waterfall url

When we shuffled things around on the public waterfall, the extension
was still using the old location.

BUG=None
TEST=clicking the button now takes me directly to the waterfall (no redirect)

Change-Id: Ib5622b123f3871dc31f1757baecb90dc7e88a616
Reviewed-on: https://gerrit.chromium.org/gerrit/44494
Reviewed-by: Paul Stewart <pstew@chromium.org>
Commit-Queue: Mike Frysinger <vapier@chromium.org>
Tested-by: Mike Frysinger <vapier@chromium.org>
18 months agotree_status: convert to manifest v2 93/44493/2
Mike Frysinger [Sat, 2 Mar 2013 23:04:02 +0000 (18:04 -0500)]
tree_status: convert to manifest v2

New to move the inline scripts to a dedicated .js file and source it
that way.

BUG=None
TEST=loaded it & ran it
TEST=Chrome store now takes the extension

Change-Id: Icdbe91b3b6aee9a213f9df37aa9f7ce896e9a1bf
Reviewed-on: https://gerrit.chromium.org/gerrit/44493
Reviewed-by: Paul Stewart <pstew@chromium.org>
Commit-Queue: Mike Frysinger <vapier@chromium.org>
Tested-by: Mike Frysinger <vapier@chromium.org>
18 months agotree_status: import version 3.4 92/44492/2
Paul Stewart [Sat, 2 Mar 2013 23:02:03 +0000 (18:02 -0500)]
tree_status: import version 3.4

BUG=None
TEST=None

Change-Id: I1b65c3b8e1d0649979b77a9bce62e62e9d1a1c0c
Reviewed-on: https://gerrit.chromium.org/gerrit/44492
Reviewed-by: Paul Stewart <pstew@chromium.org>
Commit-Queue: Mike Frysinger <vapier@chromium.org>
Tested-by: Mike Frysinger <vapier@chromium.org>
18 months agoUpdate ChromeVox 26 from upstream. 36/44236/2
David Tseng [Wed, 27 Feb 2013 23:01:04 +0000 (15:01 -0800)]
Update ChromeVox 26 from upstream.

BUG=chromium-os:39324
TEST=Sanity check ChromeVox starts.

Change-Id: I8eeaea64b2a10546ba976abe2b0d28b4daf289e8
Reviewed-on: https://gerrit.chromium.org/gerrit/44236
Commit-Queue: David Tseng <dtseng@chromium.org>
Reviewed-by: David Tseng <dtseng@chromium.org>
Tested-by: David Tseng <dtseng@chromium.org>
18 months agohterm 0.8.15.1: Improve character size precision 21/44121/3
Robert Ginda [Wed, 27 Feb 2013 00:36:32 +0000 (16:36 -0800)]
hterm 0.8.15.1: Improve character size precision

* Change hterm.ScrollPort..measureCharacterSize to average out 100 characters
  rather than measuring just one.  The improved precision is necessary on
  high-dpi devices.
* Fix a bug in measureCharacterSize that got the zoomFactor wrong (we never
  re-measured after disabling zoom adjustments.)

BUG=none
TEST=install on pixel, make text really small, move cursor to column 500
  and observe that is in the correct position.

Change-Id: I63b87764fd5ca581d9dd124d848629aef1a2c9cc
Reviewed-on: https://gerrit.chromium.org/gerrit/44121
Reviewed-by: Marius Schilder <mschilder@google.com>
Commit-Queue: Robert Ginda <rginda@chromium.org>
Reviewed-by: Robert Ginda <rginda@chromium.org>
Tested-by: Robert Ginda <rginda@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>
18 months agohterm 0.8.15: Stable release of 0.8.14.1. 67/43967/3
Robert Ginda [Mon, 25 Feb 2013 21:44:51 +0000 (13:44 -0800)]
hterm 0.8.15: Stable release of 0.8.14.1.

BUG=none
TEST=hterm 0.8.14.1

Change-Id: I4ac0ecff3aa2bc826a5ef79f18375f3a0aa22b62
Reviewed-on: https://gerrit.chromium.org/gerrit/43967
Commit-Queue: Robert Ginda <rginda@chromium.org>
Reviewed-by: Robert Ginda <rginda@chromium.org>
Tested-by: Robert Ginda <rginda@chromium.org>
18 months ago0.8.14.1, 2013-02-25, Fix column-list scrolling. 13/43913/3
Robert Ginda [Mon, 25 Feb 2013 18:45:07 +0000 (10:45 -0800)]
0.8.14.1, 2013-02-25, Fix column-list scrolling.

* Swap out the flexbox based listbox for an old skool table.  The flexbox
  version didn't scroll properly and didn't handle text-overflow: ellipsis.

TEST=create lots of connection profiles, make sure the
  scrollbars and keyboard navigation work.
BUG=none

Change-Id: I2a198369782fdc3b0c01ef66562d69d7365ae8d4
Reviewed-on: https://gerrit.chromium.org/gerrit/43913
Reviewed-by: Mike Frysinger <vapier@chromium.org>
Reviewed-by: Toni Barzic <tbarzic@chromium.org>
Commit-Queue: Robert Ginda <rginda@chromium.org>
Tested-by: Robert Ginda <rginda@chromium.org>
18 months agohterm 0.8.12.1, 0.8.13.1 23/43823/4
Robert Ginda [Fri, 22 Feb 2013 21:32:00 +0000 (13:32 -0800)]
hterm 0.8.12.1, 0.8.13.1

hterm 0.8.13.1: Fix version detection regression

* Fix version detection regression.

hterm 0.8.12.1: version bump, changelog refactor

* Combine doc/changelog-dev.txt and doc/changelog-stable.txt into
  doc/changelog.txt.
* Unreleased No-op dev version bump so we can re-package 0.8.12 as 0.8.13, but
  with the correct icon.

TEST=none
BUG=none

Change-Id: I021637629c7c44732f13b8b3a049946ded7d28bb
Reviewed-on: https://gerrit.chromium.org/gerrit/43823
Reviewed-by: Mike Frysinger <vapier@chromium.org>
Commit-Queue: Robert Ginda <rginda@chromium.org>
Tested-by: Robert Ginda <rginda@chromium.org>
18 months agolibdot: Fix image path rewriting in mkzip.sh 22/43822/3
Robert Ginda [Fri, 22 Feb 2013 21:28:48 +0000 (13:28 -0800)]
libdot: Fix image path rewriting in mkzip.sh

TEST=Re-package secure shell stable and verify image paths.
BUG=none

Change-Id: Ic891ab9a47d1beda0e9a89875e7d7b781428ab16
Reviewed-on: https://gerrit.chromium.org/gerrit/43822
Reviewed-by: Mike Frysinger <vapier@chromium.org>
Commit-Queue: Robert Ginda <rginda@chromium.org>
Tested-by: Robert Ginda <rginda@chromium.org>
18 months agolibdot: fix for empty suffix 01/43801/3
Robert Ginda [Fri, 22 Feb 2013 19:18:23 +0000 (11:18 -0800)]
libdot: fix for empty suffix

* Fix echo_suffix to return "" when no suffix is found.

TEST=Use the script to promote "Secure Shell (dev) 0.8.11.5" to
    "Secure Shell 0.8.12"
BUG=none

Change-Id: I5abc6584a70e8cb0c77ad094ac50f855b105e99a
Reviewed-on: https://gerrit.chromium.org/gerrit/43801
Reviewed-by: Mike Frysinger <vapier@chromium.org>
Commit-Queue: Robert Ginda <rginda@chromium.org>
Tested-by: Robert Ginda <rginda@chromium.org>
18 months agohterm 0.8.11.6: Restrict to Chrome 23 and higher 47/43647/4
Robert Ginda [Wed, 20 Feb 2013 22:55:10 +0000 (14:55 -0800)]
hterm 0.8.11.6: Restrict to Chrome 23 and higher

* Remove the nacl (not pnacl) plugin and the code to load it in Chrome 22 and
  lower.
* Restrict to Chrome 23 and higher in manifest.json.
* Fix missing escape in libdot/mkzip.sh

BUG=none
TEST=nassh.test(), 66/66 tests passed.

Change-Id: Id14dc4aa79421e17cd41b60f10ea817a3ff27f23
Reviewed-on: https://gerrit.chromium.org/gerrit/43647
Reviewed-by: Mike Frysinger <vapier@chromium.org>
Commit-Queue: Robert Ginda <rginda@chromium.org>
Tested-by: Robert Ginda <rginda@chromium.org>
18 months agoboot_messages: Add dummy enter_dev1_virtual messages for all locales. 88/43488/3
Hung-Te Lin [Mon, 18 Feb 2013 04:28:12 +0000 (12:28 +0800)]
boot_messages: Add dummy enter_dev1_virtual messages for all locales.

The chromeos-boot-alert needs dev1_virtual entry to always exist, so let's dup
from enter_dev1 before the translations are ready.

BUG=chromium-os:38884
TEST=(set VPD to ja) chromeos-boot-alert enter_dev /dev/tty

Change-Id: I33165b4962e196b57fa6b92aaae0e8d2c13426be
Reviewed-on: https://gerrit.chromium.org/gerrit/43488
Tested-by: Hung-Te Lin <hungte@chromium.org>
Commit-Queue: Hung-Te Lin <hungte@chromium.org>
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
18 months agoboot_messages: Fix the wording on the developer transition screen 87/43487/3
Hung-Te Lin [Mon, 18 Feb 2013 04:16:34 +0000 (12:16 +0800)]
boot_messages: Fix the wording on the developer transition screen

To support devices keyboard-controlled recovery (also known as "virtual dev
switch"), the "enter dev" message should be revised. A new entry
"enter_dev1_virtual" is created to hold correct message.

Note we also need to change init/chromeos-boot-alert to support using
dev1_virtual when virtual dev switch is found. That will be fixed in
https://gerrit.chromium.org/gerrit/#/c/43489 .

BUG=chromium-os:38884
TEST=chromeos-boot-alert enter_dev /dev/tty

Change-Id: If7f9f1403480cf13d87e81750ce9d4206d521ec6
Reviewed-on: https://gerrit.chromium.org/gerrit/43487
Tested-by: Hung-Te Lin <hungte@chromium.org>
Commit-Queue: Hung-Te Lin <hungte@chromium.org>
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
19 months agohterm 0.8.11.4: getBoundingClientRect() and cleanup 11/42611/11
Robert Ginda [Fri, 1 Feb 2013 23:30:30 +0000 (15:30 -0800)]
hterm 0.8.11.4: getBoundingClientRect() and cleanup

* Fix bug where we'd focus the wrong connection profile after creating
  a new one.
* Populate the username and hostname fields as soon as the description
  loses focus.
* Removed "pattern" attribute on hostname input box.
  BUG=chromium-os:36832 host field doesn't accept IPv6 addresses.
* Use getBoundingClientRect() so we can handle sub-pixel positioning.
  BUG=chromium-os:31840, Sub-pixel text positioning breaks cursor position
  calculations
* Make connection dialog size a function of window size.
* Explicitly specify the size of new windows open with Ctrl-Shift-N.
  BUG=chromium-os:38272 The second Secure Shell window is always very small

BUG=chromium-os:31840
TEST=nassh.test(), 66/66 tests passed.

Change-Id: I1f3b40a78b4449178a6706d6f7a1ffbe89c35037
Reviewed-on: https://gerrit.chromium.org/gerrit/42611
Commit-Queue: Robert Ginda <rginda@chromium.org>
Reviewed-by: Robert Ginda <rginda@chromium.org>
Tested-by: Robert Ginda <rginda@chromium.org>
19 months agohterm: Make connection dialog resize with window. 30/30930/13
Robert Ginda [Wed, 30 Jan 2013 22:06:57 +0000 (14:06 -0800)]
hterm: Make connection dialog resize with window.

This makes the connect dialog size a function of the window size.
Previously it was a hardcoded size, which made it very awkward for
nonstandard window sizes.

This change also makes it possible for the contents of the
"dialog-billboard" (the container for the form elements) to grow
scrollbars if necessary.

It also flips the initialization around, so that the connect dialog
loads without running any code.  Instead, it waits for the 'ipc-init'
message from hterm, and then does its thing.  This avoids a race
condition that caused an unusable connect dialog in some cases.

BUG=none
TEST=nassh.test(), 66/66 tests passed.

Change-Id: I70aad260a7f5ff612cdd3d839d49017c291f7e26
Reviewed-on: https://gerrit.chromium.org/gerrit/30930
Commit-Queue: Robert Ginda <rginda@chromium.org>
Reviewed-by: Robert Ginda <rginda@chromium.org>
Tested-by: Robert Ginda <rginda@chromium.org>
19 months agolibdot: Initial add of libdot shared libraries 56/41956/15
Robert Ginda [Thu, 24 Jan 2013 19:45:54 +0000 (11:45 -0800)]
libdot: Initial add of libdot shared libraries

This is the initial add of "libdot", a collection of library files
and utility scripts shared between hterm and champ.

lib.js introduces very few public properties.  lib.rtdep() declares
a runtime dependency, lib.registerInit() adds a function to the list
to be called during initialization, and lib.init() calls the list
of initialzation functions.

All other functionality is provided by add-on libraries.

This first commit moves the hterm lib_* files into libdot, turns
package.sh into libdot/bin/mkzip.sh, and adds the libdot/bin/concat.sh
script.

BUG=None
TEST=nassh.test(), 66/66 tests passed.

Change-Id: I46c26bb61f1a3b433adae7ebeae0a77449a58c59
Reviewed-on: https://gerrit.chromium.org/gerrit/41956
Commit-Queue: Robert Ginda <rginda@chromium.org>
Reviewed-by: Robert Ginda <rginda@chromium.org>
Tested-by: Robert Ginda <rginda@chromium.org>
19 months agohterm: lib enhancements. 11/41911/13
Robert Ginda [Mon, 15 Oct 2012 18:13:52 +0000 (11:13 -0700)]
hterm: lib enhancements.

This is a set of changes to hterm/js/lib_* code that happened during
champ development.  The patch changes the way "lib" is initialized,
so there is some fallout in hterm* and nassh* too.

I'm adding new shared files to ../libdot/ in my next cl, and will relocate
these soon after.

* Add ability to register new init functions via lib.registerInit.  These
  will be called in order during lib.init().
* Make ensureRuntimeDependencies private and call it during lib.init().
* Move lib.getStack to lib.f.getStack.
* Add "escapeHTML" flag to lib.f.replaceVars.
* Add lib.f.alarm to wrap callbacks with a timer that logs a warning
  message if the callback isn't invoked before time expires.

* Update existing preference record when a dupe is passed to
  lib.PreferenceManager..definePreference, rather than throw an exception.
* Change lib.PreferenceManager..defineChildren to take a factory function
  instead of a constructor, so that children can be of different classes.
* Add opt_hint to lib.PreferenceManager..createChild, to allow callers to
  include an opaque string in a generated id.
* Add opt_id to lib.PreferenceManager..createChild, to allow callers to
  specify a child id.
* Add opt_default to getChild.  If passed, getChild will return
  it, rather than throw an exception.
* Pass the preference manager instance, rather than the storage object,
  to the child factory when creating a new child.  This gives the
  child instance much more context to work with.
* Add lib.PreferenceManager.diffChildLists utility function to make it
  easy to find out what's changed in a list of children since you last
  saw it.
* Add nassh.test() to launch the tests from a chrome-extension: url,
  since file: urls don't appear to allow XHR anymore.

* Fix stack trace logging in lib.TestManager.Test..run.
* Make lib.TestManager.Result..completeTest_ throw a TestComplete
  exception even for re-completes, so that the test case is forced
  to stop.

BUG=None
TEST=nassh.test(), 66/66 tests passed.

Change-Id: Ic7972050699d162b13e38c04a69760b1fa47d58d
Reviewed-on: https://gerrit.chromium.org/gerrit/41911
Reviewed-by: Mike Frysinger <vapier@chromium.org>
Commit-Queue: Robert Ginda <rginda@chromium.org>
Tested-by: Robert Ginda <rginda@chromium.org>
19 months agoiter_viewer: declare sz explicitly 33/43433/3
Mike Frysinger [Fri, 15 Feb 2013 22:20:18 +0000 (17:20 -0500)]
iter_viewer: declare sz explicitly

The closure compiler points out that we use the "sz" var but never
declare it.  Add the missing var keyword.

BUG=None
TEST=compiling with closure no longer complains

Change-Id: I149556e6de8c9d1c3be905116fe9eaa393a7d1e4
Reviewed-on: https://gerrit.chromium.org/gerrit/43433
Commit-Queue: Mike Frysinger <vapier@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>
Tested-by: Mike Frysinger <vapier@chromium.org>
19 months agoiter_viewer: use single quotes for strings 32/43432/2
Mike Frysinger [Fri, 15 Feb 2013 05:38:04 +0000 (00:38 -0500)]
iter_viewer: use single quotes for strings

Our style says to use single quotes for strings whenever possible.

BUG=None
TEST=closure compiler doesn't complain

Change-Id: I8863ec6a74a1428e8185996a9f7f29fbcf3343f9
Reviewed-on: https://gerrit.chromium.org/gerrit/43432
Reviewed-by: Andrew de los Reyes <adlr@chromium.org>
Commit-Queue: Mike Frysinger <vapier@chromium.org>
Tested-by: Mike Frysinger <vapier@chromium.org>
19 months agoiter_viewer: rewrite to use new alarm/event framework 67/43267/2
Mike Frysinger [Thu, 14 Feb 2013 03:52:01 +0000 (22:52 -0500)]
iter_viewer: rewrite to use new alarm/event framework

BUG=chromium-os:38916
TEST=None

Change-Id: I32a3ce95fdc92d5ca341396302d14dfffb2b004b
Reviewed-on: https://gerrit.chromium.org/gerrit/43267
Reviewed-by: Andrew de los Reyes <adlr@chromium.org>
Commit-Queue: Mike Frysinger <vapier@chromium.org>
Tested-by: Mike Frysinger <vapier@chromium.org>
19 months agoiter_viewer: update to manifest v2 66/43266/2
Mike Frysinger [Thu, 14 Feb 2013 03:51:19 +0000 (22:51 -0500)]
iter_viewer: update to manifest v2

BUG=chromium-os:38916
TEST=None

Change-Id: I51aab8322291d87caa34f05e34bcfd4c699a872a
Reviewed-on: https://gerrit.chromium.org/gerrit/43266
Reviewed-by: Andrew de los Reyes <adlr@chromium.org>
Commit-Queue: Mike Frysinger <vapier@chromium.org>
Tested-by: Mike Frysinger <vapier@chromium.org>
19 months agoiter_viewer: import version 1.3 65/43265/2
Mike Frysinger [Thu, 14 Feb 2013 03:49:50 +0000 (22:49 -0500)]
iter_viewer: import version 1.3

BUG=chromium-os:38916
TEST=None

Change-Id: I8332067899f839ffc496ea88e587bd0030516f98
Reviewed-on: https://gerrit.chromium.org/gerrit/43265
Reviewed-by: Andrew de los Reyes <adlr@chromium.org>
Commit-Queue: Mike Frysinger <vapier@chromium.org>
Tested-by: Mike Frysinger <vapier@chromium.org>
19 months agoiter_viewer: import version 1.2 64/43264/2
Mike Frysinger [Thu, 14 Feb 2013 03:49:30 +0000 (22:49 -0500)]
iter_viewer: import version 1.2

BUG=chromium-os:38916
TEST=None

Change-Id: I8b83394356fdd7443bb97b897f471fcce94d41c8
Reviewed-on: https://gerrit.chromium.org/gerrit/43264
Reviewed-by: Andrew de los Reyes <adlr@chromium.org>
Commit-Queue: Mike Frysinger <vapier@chromium.org>
Tested-by: Mike Frysinger <vapier@chromium.org>
19 months agoiter_viewer: import version 1.1 63/43263/2
Mike Frysinger [Thu, 14 Feb 2013 03:49:15 +0000 (22:49 -0500)]
iter_viewer: import version 1.1

BUG=chromium-os:38916
TEST=None

Change-Id: I411b579bddb21e44989e388d2a0b93f126a88cd0
Reviewed-on: https://gerrit.chromium.org/gerrit/43263
Reviewed-by: Andrew de los Reyes <adlr@chromium.org>
Commit-Queue: Mike Frysinger <vapier@chromium.org>
Tested-by: Mike Frysinger <vapier@chromium.org>
19 months agoiter_viewer: import version 1.0 62/43262/2
Mike Frysinger [Thu, 14 Feb 2013 03:48:28 +0000 (22:48 -0500)]
iter_viewer: import version 1.0

BUG=chromium-os:38916
TEST=None

Change-Id: I36695d31d8cf3cf9320262adb3dbd1793dd4c427
Reviewed-on: https://gerrit.chromium.org/gerrit/43262
Reviewed-by: Andrew de los Reyes <adlr@chromium.org>
Commit-Queue: Mike Frysinger <vapier@chromium.org>
Tested-by: Mike Frysinger <vapier@chromium.org>
19 months agoCherry pick fix to disable ChromeVox's custom media player. 59/43059/3 stabilize-3701.30.0 stabilize-3701.30.0b toolchain-3701.42.B
David Tseng [Mon, 11 Feb 2013 22:18:53 +0000 (14:18 -0800)]
Cherry pick fix to disable ChromeVox's custom media player.

BUG=chromium-os:38649
TEST=Sanity check that ChromeVox plays media files.

Change-Id: Ic6f2de207d3c4868989391ebdd11597de8ead9d9
Reviewed-on: https://gerrit.chromium.org/gerrit/43059
Commit-Queue: David Tseng <dtseng@chromium.org>
Reviewed-by: David Tseng <dtseng@chromium.org>
Tested-by: David Tseng <dtseng@chromium.org>
19 months agoCherry pick ChromeVox fixes for media controls. 62/42662/2 stabilize-bluetooth-smart
David Tseng [Tue, 5 Feb 2013 23:44:24 +0000 (15:44 -0800)]
Cherry pick ChromeVox fixes for media controls.

BUG=chromium:174390
TEST=Basic sanity check on CROS.

Change-Id: Ie70cca26cc098710b8e330055f00e8e2d220d494
Reviewed-on: https://gerrit.chromium.org/gerrit/42662
Commit-Queue: David Tseng <dtseng@chromium.org>
Reviewed-by: David Tseng <dtseng@chromium.org>
Tested-by: David Tseng <dtseng@chromium.org>
19 months agohterm: options: add a slider for control alpha channels of colors 41/41141/2
Mike Frysinger [Fri, 11 Jan 2013 19:36:17 +0000 (14:36 -0500)]
hterm: options: add a slider for control alpha channels of colors

In the future, we should get transparent backgrounds, so in anticipation
of that, allow people to control the alpha channels of colors via range
input elements.

For now, it really only helps with the cursor.

While it doesn't make too much sense to apply this to foreground colors,
it doesn't hurt and keeps us from special casing things.

BUG=None
TEST=loaded option page and played with sliders and watched alpha change

Change-Id: Icfd0f904361ace8d2ad6f1b11c19a0d7940dff20
Reviewed-on: https://gerrit.chromium.org/gerrit/41141
Reviewed-by: Robert Ginda <rginda@chromium.org>
Commit-Queue: Mike Frysinger <vapier@chromium.org>
Tested-by: Mike Frysinger <vapier@chromium.org>