Daniel Imms
e673c6ec97
Upgrade to TypeScript 2.2
2017-02-27 11:54:55 -08:00
Daniel Imms
b401992178
Add jsdom types
2017-02-27 11:22:59 -08:00
Daniel Imms
4c34351383
Remove PhantomJS completely
2017-02-27 11:22:50 -08:00
Daniel Imms
202b54afbb
Convert CharMeasure phantom test to jsdom
2017-02-27 11:18:00 -08:00
Daniel Imms
26ebc3d944
Use jsdom instead of phantomjs for linkifier test
2017-02-27 11:00:12 -08:00
Daniel Imms
d0f36e9939
Pin typescript 2.1 to prevent exports error
2017-02-27 10:02:12 -08:00
Daniel Imms
4c99c032ca
Add tests
2017-02-27 09:47:36 -08:00
Daniel Imms
6198556e50
Implement link validation
...
Fixes #570
2017-02-27 08:35:59 -08:00
Daniel Imms
99a270216c
Remove bad trim optimization from Linkifier
...
This prevents whitespace from going missing after links are applied.
Fixes #558
2017-02-19 15:17:03 -08:00
Daniel Imms
d06c920a2d
Hide CharMeasure element from assistive technologies
2017-02-19 13:20:36 -08:00
Daniel Imms
5452986ce3
Use CharMeasure to determine mouse coordinates
...
Fixes #555
2017-02-19 12:34:36 -08:00
Daniel Imms
e6fc80c13b
Fix link matcher iteration direction
2017-02-17 10:22:55 -08:00
Daniel Imms
a10ee8f58c
Revert priority change, http handler needs to be top
2017-02-17 10:18:46 -08:00
Daniel Imms
3f69da2455
Support query string in linkifier
2017-02-17 10:06:35 -08:00
Daniel Imms
a14a0834e9
Merge remote-tracking branch 'upstream/master' into 455_linkify
2017-02-17 10:05:22 -08:00
Daniel Imms
c4f431849b
Add a null check on linkifyRow
2017-02-16 22:41:08 -08:00
Daniel Imms
c3f31b5f65
Apply link matchers in reverse
...
This enables consumers to have full control.
2017-02-14 20:06:15 -08:00
Daniel Imms
3b62aa444b
Improve jsdoc
2017-02-14 19:45:22 -08:00
Daniel Imms
92f27d3144
Fix tests
2017-02-13 09:48:22 -08:00
Daniel Imms
5183332f6e
Next link matcher ID must be non-static
2017-02-10 12:29:36 -08:00
Daniel Imms
ee1de0980f
Perform initial viewport sync after CharMeasure is ready
...
Fixes #539
2017-02-10 09:55:35 -08:00
Daniel Imms
1ee774d01d
Remove linkify test
2017-02-09 22:03:31 -08:00
Daniel Imms
1c030f57ef
Force a refresh after register/deregister link matcher
2017-02-09 21:12:28 -08:00
Daniel Imms
c8bb321654
Get custom link matcher working
2017-02-09 21:08:50 -08:00
Daniel Imms
a1d71c9198
Properly queue linkify after refresh
2017-02-09 20:35:06 -08:00
Daniel Imms
55cb43d70b
Add license
2017-02-09 20:12:35 -08:00
Daniel Imms
551159e0c3
Remove linkify addon
2017-02-09 20:10:01 -08:00
Daniel Imms
3bf31aa478
Polish
2017-02-09 20:09:47 -08:00
Daniel Imms
7167b06bf8
Add custom link handlers, use generic way for http handler
2017-02-08 20:44:22 -08:00
Daniel Imms
34582f9f65
Remove logs
2017-02-08 20:21:18 -08:00
Daniel Imms
8dc9ec5733
Only show underline on hover
2017-02-08 20:20:18 -08:00
Daniel Imms
e8adf8ad2b
Use gulp-mocha and attach run both test type in npm test
2017-02-08 20:06:14 -08:00
Daniel Imms
1306431e7c
Add PhantomJS test support and CharMeasure tests
...
Fixes #534
2017-02-08 19:53:32 -08:00
Daniel Imms
f7bc0fba4d
Remove unnecessary variables
2017-02-08 18:57:45 -08:00
Daniel Imms
0f3ee21d9d
Enable custom http link handlers
2017-02-08 14:13:30 -08:00
Daniel Imms
a489037ec4
Improve node insertion, support custom link handlers
2017-02-08 13:50:36 -08:00
Daniel Imms
2207d356f2
Initial linkify implementation
...
Part of 455
2017-02-08 11:11:52 -08:00
Daniel Imms
e79e67c3ce
Disable escape sequence tests on windows
2017-02-07 21:17:47 -08:00
Daniel Imms
cc78fdd63c
Hold on to renderer if a reset occurs
2017-02-01 11:19:54 -08:00
Daniel Imms
20f22fb658
Convert flags to enum
2017-02-01 11:18:44 -08:00
Daniel Imms
3c635f3ce5
Remove Terminal.queueRefresh, call refresh directly
2017-02-01 11:13:00 -08:00
Daniel Imms
9d8f6c9ae7
Polish
2017-02-01 10:30:58 -08:00
Daniel Imms
cc6893d0f2
Merge remote-tracking branch 'upstream/master' into 266_pull_renderer_out
2017-02-01 10:29:11 -08:00
Daniel Imms
ca4e99e810
Add license
2017-02-01 10:21:43 -08:00
Daniel Imms
f9aac1bcc6
Fix tests
2017-01-31 23:46:58 -08:00
Daniel Imms
92068f36f2
Pull renderer out of xterm.js
2017-01-31 22:45:28 -08:00
Daniel Imms
047729ee9e
Don't requeue animation frame if not needed
...
Fixes #517
2017-01-31 21:53:29 -08:00
Daniel Imms
637a5bd9cc
Don't requeue animation frame if not needed
...
Fixes #517
2017-01-31 21:23:21 -08:00
Daniel Imms
6cd5c2b846
Add null checks in eraseRight and eraseLeft
...
Fixes #519
2017-01-31 21:03:13 -08:00
Daniel Imms
c2a69721f3
Add useFlowControl option
...
Fixes #511
2017-01-26 21:14:07 -08:00
Daniel Imms
5850cbcd05
Add comments explaining actions preventing x from wrapping
2017-01-25 10:34:43 -08:00
Daniel Imms
b789a7e85b
Fix failing test given new auto wraparound behavior
2017-01-25 10:32:20 -08:00
Daniel Imms
9f0dbdd5c7
Support debugging mocha tests from vscode
2017-01-25 10:25:28 -08:00
Daniel Imms
3b16696672
Run lint on src/*.ts and fix errors
...
Fixes #507
2017-01-24 13:34:47 -08:00
Daniel Imms
9359dca0f3
Use InputHandler.setMode/resetMode, not Terminal
2017-01-23 11:35:33 -08:00
Daniel Imms
4f7ee7dab0
Skip broken tests
2017-01-20 23:38:56 -08:00
Daniel Imms
da16dd7cae
Mock viewport.syncScrollArea
2017-01-20 23:22:04 -08:00
Daniel Imms
2aa7608ac0
Fix VPR behavior
...
Don't wrap cursor to column 0 after a VPR, fixes 1 test
2017-01-20 23:14:08 -08:00
Daniel Imms
74c3a4a6f7
Fix CUD behavior
...
Don't wrap cursor to column 0 after a CUD, fixes 1 test
2017-01-20 23:12:54 -08:00
Daniel Imms
d30fb89fde
Fix CUB behavior
...
Don't wrap cursor to column 0 after a CUB, fixes 3 tests
2017-01-20 23:11:22 -08:00
Daniel Imms
1b344ce789
Implement CAN (Cancel, ^X)
...
This helps partially pass t0014-CAN.in, it won't work 100% however
due to the very complex parsing logic of vanilla xterm that
gnome-terminal doesn't even seem to match. xterm's source seems to
have multiple ignore cases for a set of characters such that an
escape sequence like \e!!!!!! prints nothing as the ! continually
gets ignored. Our current logic is we ignore the escape sequence
immediately in this case and print the !.
2017-01-20 23:03:38 -08:00
Daniel Imms
99fbcd3d65
Fix LF/VT/FF behavior
...
Don't wrap cursor to column 0 after an index, fixes 2 tests
2017-01-20 22:14:18 -08:00
Daniel Imms
72063329fe
Fix index behavior
...
Don't wrap cursor to column 0 after an index, fixes 2 tests
2017-01-20 21:49:39 -08:00
Daniel Imms
adaf604ce0
Right trim expected output, we don't care for now
...
This fixes 2 tests
2017-01-20 21:39:27 -08:00
Daniel Imms
d5f0fff523
Enable other tests and fix viewport check
2017-01-20 21:22:16 -08:00
Daniel Imms
43c3349494
Prevent wraparound mode from overriding last character
2017-01-20 21:20:11 -08:00
Daniel Imms
b5d16ed7d7
Use block comment for SCLD
2017-01-20 20:14:17 -08:00
Daniel Imms
aab67c2ed9
Reference CHARSETS using codes
2017-01-20 20:12:47 -08:00
Daniel Imms
0461a822c2
Add character sets for most languages
...
Part of #481
2017-01-20 19:05:13 -08:00
Daniel Imms
9a86e4e109
Fix setupStops call in resize
...
Fixes #259
2017-01-20 14:23:45 -08:00
Daniel Imms
9626b1e39d
Only keep > 0 geometry in CharMeasure
...
Fixes #494
2017-01-19 18:02:09 -08:00
Daniel Imms
9227aed906
Add InputHandler.setCursorStyle test
2017-01-18 10:30:35 -08:00
Daniel Imms
0bd469f505
Implement CSI Ps SP q Set cursor style
...
Fixes #480
2017-01-18 10:06:57 -08:00
Daniel Imms
ef60e50e1d
Add documentation
2017-01-18 09:35:27 -08:00
Daniel Imms
a4080d3706
Namespace cursor-blink CSS animations
...
Fixes #489
2017-01-18 08:06:41 -08:00
Daniel Imms
e2b2f98011
Merge remote-tracking branch 'upstream/master' into 459_parser__on_460
2017-01-16 15:17:35 -08:00
Daniel Imms
1cdd2e00ab
Remove parser states from xterm.js
2017-01-16 14:11:00 -08:00
Daniel Imms
94eb08fb73
Remove comments in build
2017-01-16 14:02:55 -08:00
Daniel Imms
5e1ccb358b
Merge remote-tracking branch 'upstream/master' into 459_parser__on_460
2017-01-16 13:53:19 -08:00
Daniel Imms
a05bb50230
Don't drop selection on modifier keyup
...
Fixes #348
2017-01-15 21:41:42 -08:00
Daniel Imms
12160a50cb
Fake xterm.element in tests
2017-01-15 02:31:54 -08:00
Daniel Imms
375ccbd9e2
Merge remote-tracking branch 'upstream/master' into 478_cursorBlink_refresh
2017-01-15 02:22:45 -08:00
Daniel Imms
cc0f0d94f6
Merge remote-tracking branch 'upstream/master' into 441_windows_support
2017-01-15 02:12:17 -08:00
Daniel Imms
4448ebe391
Use charsets to map
2017-01-14 22:06:30 -08:00
Daniel Imms
d1dac57f7a
Move cursor blink style to class on .terminal
2017-01-14 21:26:49 -08:00
Daniel Imms
7679475bfe
Apply cursorBlink via setOption
...
Fixes #478
2017-01-13 21:31:31 -08:00
Daniel Imms
5a932b2a20
Apply scrollback via setOption
...
Fixes #476
2017-01-13 21:27:19 -08:00
Daniel Imms
ecd7e69f1a
Start adding ESC state handler
2017-01-12 22:36:48 -08:00
Daniel Imms
fa3484cd14
Pull character add char code to input handler
2017-01-12 22:17:36 -08:00
Daniel Imms
f4846aa154
Finish CSI codes
2017-01-12 21:58:50 -08:00
Daniel Imms
9b66208029
Add more CSI codes
2017-01-12 21:33:28 -08:00
Daniel Imms
c43c3b411a
Add more CSI codes
2017-01-12 20:51:15 -08:00
Daniel Imms
f9a286a851
Convert more CSI codes
2017-01-12 20:32:15 -08:00
Daniel Imms
3de3912b96
Add another null check on children[y]
2017-01-12 11:23:17 -08:00
Daniel Imms
23169e89c8
Add null checks to refresh line and character fetches
...
Fixes #473
2017-01-12 11:14:14 -08:00
Daniel Imms
0f5f34e8f5
Move CharMeasure element to the helper container
...
Fixes #470
2017-01-12 10:47:57 -08:00
Daniel Imms
342e862d69
Merge remote-tracking branch 'upstream/master' into 459_parser__on_460
2017-01-11 13:43:33 -08:00
Daniel Imms
0ec125557a
Merge remote-tracking branch 'upstream/master' into 425_xon_xoff_on_280
2017-01-10 20:24:07 -08:00
Daniel Imms
0739a4be06
Merge remote-tracking branch 'upstream/master' into 425_xon_xoff_on_280
2017-01-10 20:04:26 -08:00
Daniel Imms
d52b53889e
Merge remote-tracking branch 'upstream/master' into 335_viewport_var
2017-01-10 20:03:19 -08:00