Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(28)

Issue 8680034: Initial landing of Screen, Terminal, and VT100 classes. (Closed)

Created:
9 years ago by rginda
Modified:
9 years ago
CC:
chromium-reviews, arv (Not doing code reviews), Dmitry Zvorygin, zel
Visibility:
Public.

Description

Initial landing of Screen, Terminal, and VT100 classes. Some of this code is based on Cory Maccarrone's html terminal, developed internally in Google as part of a different project. Thanks to Cory for allowing us to repurpose it here! This gets us to a point where we have the core classes largely fleshed out. The code passes 45 tests, mostly related to correct handling of vt100 escape sequences. Still to come: network connectivity, keyboard input, and text attributes! BUG=chromium-os:23271 TEST=test_harness.html:45/45 tests passed. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=113066

Patch Set 1 #

Total comments: 49

Patch Set 2 : Address review comments #

Patch Set 3 : Address review comments #

Total comments: 2

Patch Set 4 : fix timeouts and RowCol/Size.equals #

Patch Set 5 : fix license line wrapping #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3718 lines, -88 lines) Patch
M chrome/browser/resources/hterm/html/test_harness.html View 2 chunks +19 lines, -5 lines 0 comments Download
A chrome/browser/resources/hterm/js/hterm.js View 1 2 3 1 chunk +159 lines, -0 lines 0 comments Download
M chrome/browser/resources/hterm/js/mock_row_provider.js View 1 chunk +1 line, -1 line 0 comments Download
A chrome/browser/resources/hterm/js/options.js View 1 chunk +35 lines, -0 lines 0 comments Download
A chrome/browser/resources/hterm/js/screen.js View 1 2 1 chunk +427 lines, -0 lines 0 comments Download
A chrome/browser/resources/hterm/js/screen_tests.js View 1 2 1 chunk +297 lines, -0 lines 0 comments Download
M chrome/browser/resources/hterm/js/scrollport.js View 1 31 chunks +166 lines, -64 lines 0 comments Download
M chrome/browser/resources/hterm/js/scrollport_tests.js View 1 9 chunks +13 lines, -13 lines 0 comments Download
A chrome/browser/resources/hterm/js/terminal.js View 1 2 3 4 1 chunk +1023 lines, -0 lines 0 comments Download
A chrome/browser/resources/hterm/js/terminal_tests.js View 1 1 chunk +130 lines, -0 lines 0 comments Download
M chrome/browser/resources/hterm/js/test_manager.js View 6 chunks +29 lines, -5 lines 0 comments Download
A chrome/browser/resources/hterm/js/vt100.js View 1 1 chunk +663 lines, -0 lines 0 comments Download
A chrome/browser/resources/hterm/js/vt100_tests.js View 1 2 3 1 chunk +756 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (0 generated)
rginda
Sorry about the hugeness of this CL. The only way for me to feel comfortable ...
9 years ago (2011-11-24 00:00:31 UTC) #1
klimek
FYI Just a few comments from the peanut gallery. I like the general architecture... http://codereview.chromium.org/8680034/diff/1/chrome/browser/resources/hterm/js/screen.js ...
9 years ago (2011-11-24 19:13:51 UTC) #2
Vladislav Kaznacheev
Just a few comments. I am still going though the new file. Vlad http://codereview.chromium.org/8680034/diff/1/chrome/browser/resources/hterm/js/scrollport.js File ...
9 years ago (2011-11-28 14:00:07 UTC) #3
arv (Not doing code reviews)
Fun stuff. I just could not resist looking at this :-) I tried not to ...
9 years ago (2011-11-28 18:21:00 UTC) #4
Vladislav Kaznacheev
I went through everything but the two VT100* files (which dgozman agreed to review) and ...
9 years ago (2011-11-28 18:39:36 UTC) #5
rginda
Thanks everyone for the reviews, PTAL. http://codereview.chromium.org/8680034/diff/1/chrome/browser/resources/hterm/js/screen.js File chrome/browser/resources/hterm/js/screen.js (right): http://codereview.chromium.org/8680034/diff/1/chrome/browser/resources/hterm/js/screen.js#newcode200 chrome/browser/resources/hterm/js/screen.js:200: this.rowsArray.splice(index + i, ...
9 years ago (2011-11-28 20:39:47 UTC) #6
arv (Not doing code reviews)
http://codereview.chromium.org/8680034/diff/1/chrome/browser/resources/hterm/js/screen.js File chrome/browser/resources/hterm/js/screen.js (right): http://codereview.chromium.org/8680034/diff/1/chrome/browser/resources/hterm/js/screen.js#newcode200 chrome/browser/resources/hterm/js/screen.js:200: this.rowsArray.splice(index + i, 0, rows[i]); On 2011/11/28 20:39:47, rginda ...
9 years ago (2011-11-28 21:33:22 UTC) #7
dgozman
Unfortunately, I am not familiar with all those control sequences parsed in VT100. I've just ...
9 years ago (2011-11-29 11:35:42 UTC) #8
rginda
> Unfortunately, I am not familiar with all those control > sequences parsed in > ...
9 years ago (2011-11-29 19:26:12 UTC) #9
mdhayter
Looking out of interest based on your status report. I think I found a typo. ...
9 years ago (2011-11-30 05:07:47 UTC) #10
dgozman
LGTM http://codereview.chromium.org/8680034/diff/11004/chrome/browser/resources/hterm/js/terminal.js File chrome/browser/resources/hterm/js/terminal.js (right): http://codereview.chromium.org/8680034/diff/11004/chrome/browser/resources/hterm/js/terminal.js#newcode704 chrome/browser/resources/hterm/js/terminal.js:704: var f = this.scheduleScrollDown_; If I'm not mistaken, ...
9 years ago (2011-11-30 07:57:01 UTC) #11
Vladislav Kaznacheev
lgtm
9 years ago (2011-11-30 12:31:20 UTC) #12
rginda
On 2011/11/30 05:07:47, mdhayter wrote: > Looking out of interest based on your status report. ...
9 years ago (2011-11-30 22:50:17 UTC) #13
rginda
On 2011/11/30 07:57:01, dgozman wrote: > LGTM > > http://codereview.chromium.org/8680034/diff/11004/chrome/browser/resources/hterm/js/terminal.js > File chrome/browser/resources/hterm/js/terminal.js (right): > ...
9 years ago (2011-11-30 22:51:12 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rginda@chromium.org/8680034/21001
9 years ago (2011-12-02 18:42:41 UTC) #15
commit-bot: I haz the power
Presubmit check for 8680034-21001 failed and returned exit status 1. Running presubmit commit checks ...
9 years ago (2011-12-02 18:42:48 UTC) #16
arv (Not doing code reviews)
LGTM rubberstamp
9 years ago (2011-12-02 21:14:03 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rginda@chromium.org/8680034/21001
9 years ago (2011-12-02 21:48:20 UTC) #18
commit-bot: I haz the power
Presubmit check for 8680034-21001 failed and returned exit status 1. Running presubmit commit checks ...
9 years ago (2011-12-02 21:48:27 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rginda@chromium.org/8680034/29001
9 years ago (2011-12-02 21:53:03 UTC) #20
commit-bot: I haz the power
The commit queue went berserk retrying too often for a seemingly flaky test. Builder is ...
9 years ago (2011-12-02 23:55:48 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rginda@chromium.org/8680034/29001
9 years ago (2011-12-05 17:53:08 UTC) #22
commit-bot: I haz the power
Try job failure for 8680034-29001 (retry) on mac_rel for step "compile" (clobber build). It's a ...
9 years ago (2011-12-05 18:57:07 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rginda@chromium.org/8680034/29001
9 years ago (2011-12-05 21:59:46 UTC) #24
commit-bot: I haz the power
9 years ago (2011-12-05 23:50:32 UTC) #25
Change committed as 113066

Powered by Google App Engine
This is Rietveld 408576698