Daniel Imms
235ae2fbb9
Fix http link handler logic
2017-03-04 15:02:08 -08:00
Daniel Imms
1f518b0b45
Allow http link handler to fallback to standard handler
2017-03-04 14:44:11 -08:00
Daniel Imms
ab34d53d6b
Remove unused import
2017-03-04 14:09:13 -08:00
Daniel Imms
aafb5333b9
Give event to handler
2017-03-04 14:08:05 -08:00
Daniel Imms
5e2791f981
Revert "Add fail handler"
...
This reverts commit 1ecc5674ac .
2017-03-04 14:01:40 -08:00
Daniel Imms
1ecc5674ac
Add fail handler
2017-03-04 14:01:34 -08:00
Daniel Imms
15a867d2b7
Support cmd+click on mac
2017-03-03 12:37:34 -08:00
Daniel Imms
012051c1db
Fix matchIndex on http
2017-03-02 17:35:10 -08:00
Daniel Imms
b5483898da
Merge remote-tracking branch 'upstream/master' into 578_ctrl_click_links
2017-03-02 17:34:30 -08:00
Daniel Imms
c7b4c2beaf
Require ctrl for link clicks
...
Fixes #578
2017-03-02 17:33:58 -08:00
Daniel Imms
78d5fc9506
Fix bug with priority
2017-03-02 12:05:34 -08:00
Daniel Imms
7ac4f1a9be
Implement link matcher priorities
...
Fixes #549
2017-03-02 11:25:27 -08:00
Daniel Imms
dcffaf1c8c
Ensure linkElement exists before firing validation callback
2017-03-01 09:38:59 -08:00
Daniel Imms
efac5293c0
Use text cursor for invalid links
...
Part of #570
2017-03-01 09:37:30 -08:00
Daniel Imms
69906532b1
Remove test harness
2017-02-27 15:44:10 -08:00
Daniel Imms
9404fae725
Merge remote-tracking branch 'upstream/master' into linkify_issues
2017-02-27 12:59:59 -08:00
Daniel Imms
3542f15575
Don't expose CharMeasure/Linkifier for tests
2017-02-27 12:57:18 -08:00
Daniel Imms
15d79143e2
Get rid of exposed test method (phantom is gone)
2017-02-27 12:56:54 -08:00
Daniel Imms
f6dafee748
Remove dead code
2017-02-27 12:52:54 -08:00
Daniel Imms
356d86ae74
Merge remote-tracking branch 'upstream/master' into 570_link_validation
2017-02-27 12:47:53 -08:00
Daniel Imms
e673c6ec97
Upgrade to TypeScript 2.2
2017-02-27 11:54:55 -08:00
Daniel Imms
96d2a2bc68
Pin TypeScript at v2.1 to fix PhantomJS error
2017-02-27 11:47:57 -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
7279ee0f5f
Support % in URLs
2017-02-24 08:56:42 -08:00
Daniel Imms
ccadf3fcca
Support percent and numbers in query/hash fragments
2017-02-23 10:02:18 -08:00
Daniel Imms
cb80ce0d2c
Link . and - in hash fragments and query strings
2017-02-23 09:55:05 -08:00
Daniel Imms
9aae43961f
Support linking hash fragments
2017-02-23 09:53:20 -08:00
Daniel Imms
b810687163
Support linking = in query strings
2017-02-23 09:42:59 -08:00
Daniel Imms
28d4ec779d
Fix localhost links
2017-02-23 09:37:35 -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