Daniel Imms
97f592ce8b
Merge remote-tracking branch 'origin/master' into 24_multi_line_links
2018-03-21 07:32:32 -07:00
Marek Libra
b67b65cd1e
Replace inline-styles by external CSS
...
Selected inline-styles were externalized to xterm.css.
The `Terminal._charSizeStyleElement` is removed since it
was not used anymore.
Fixes: https://github.com/xtermjs/xterm.js/issues/1335
2018-03-20 13:45:08 +01:00
Daniel Imms
3716aad202
Backtrack row to be linkified if the first row is wrapped
2018-03-16 07:21:14 -07:00
Daniel Imms
c8ab687fa0
Add tests
2018-03-11 12:34:27 -07:00
Daniel Imms
e5f5c2baf2
Fix links that start on wrapped lines
2018-03-10 16:08:50 -08:00
Daniel Imms
dd41ab38bb
Fix imports after noUnusedLocals was merged in
2018-03-09 10:58:57 -08:00
Daniel Imms
255cb5de3a
Merge branch 'master' into 24_multi_line_links
2018-03-09 10:57:04 -08:00
Daniel Imms
b44a11c42e
Remove TODOs, polish
2018-03-09 10:56:54 -08:00
Daniel Imms
59be054ca1
Fix exception for links on bottom line
2018-03-08 11:12:59 -08:00
Daniel Imms
4443ed69c7
Add noUnusedLocals tsconfig flag, fix issues
...
Two parts were commented out:
- _writeStopped: This is because _xoffSentToCatchUp references this variable
and the feature is sort of half implemented/disabled.
- _clearChar: This is because some comments still reference this, it's part
of the work needed to do better line redrawing.
2018-03-08 10:56:10 -08:00
Daniel Imms
421ccc5695
Join lines that wrap over more than 2 lines
2018-03-08 09:25:08 -08:00
Daniel Imms
021f8c1ba0
Draw and clear link cells
2018-03-08 07:00:37 -08:00
Daniel Imms
f456b14b3f
Get multi-line link hover working
2018-03-08 06:42:40 -08:00
Daniel Imms
7a1ef19146
Merge remote-tracking branch 'origin/master' into 24_multi_line_links
2018-03-08 06:23:29 -08:00
Daniel Imms
2e3f9e7094
Multi-line links prototype
...
Part of #24
2018-02-27 08:37:16 -08:00
Daniel Imms
0d2cc7489e
Fix tests, add webLinks addon test
2018-02-24 10:36:34 -08:00
Daniel Imms
dc822787d0
Move http links to the new webLinks addon
...
Fixes #1297
2018-02-23 11:11:23 -08:00
Daniel Imms
2ac5a8da49
Allow support of modifiers with links
...
Fixes #1021
2018-01-31 17:42:33 -08:00
Daniel Imms
2e23dd34e0
Move xterm-internal types back into Types.ts files
2018-01-25 11:06:52 -08:00
Daniel Imms
177edfa66e
Merge interfaces and types files
2018-01-25 10:03:28 -08:00
Daniel Imms
7358890a31
Merge remote-tracking branch 'ups/master' into 1221_iterminal_typings
2018-01-25 09:45:13 -08:00
Daniel Imms
a9d3e61794
Fix tests
2018-01-22 12:43:42 -08:00
Daniel Imms
16abf71b78
Use explicit null check to ensure start/end row is valid
...
It looks like this could have caused the inconsistent behavior with
links not activating and then working again after scrolling
Fixes #1233
2018-01-22 11:51:09 -08:00
Daniel Imms
e4abd4dd8a
Move Shared interfaces into a new typings file
...
This will enable sharing the internal interface with addons (and catching
breakages early)
2018-01-19 09:48:33 -08:00
Daniel Imms
4588d15738
Add more tslint rules, fix attach addon
2018-01-17 10:40:42 -08:00
Daniel Imms
2a126cf1dc
Fix links sometimes not getting applied
...
There was an incorrect comparison which occasionally caused links to
not be picked up.
Fixes #1025
2017-10-04 11:45:13 -07:00
Daniel Imms
a2389d5c5b
Fix validation callback to use the uri, not whole row
2017-09-24 10:59:38 -07:00
Daniel Imms
0e3518409e
Fix issues with link state
...
- Scrolling will now clear the link renderer
- Refreshing a single line will now recalculate only that line
Fixes #959
Fixes #960
2017-09-09 19:06:30 -07:00
Daniel Imms
0c19bc9c28
Fix tests
2017-09-08 11:06:15 -07:00
Daniel Imms
75b91c618e
Update license text
2017-09-08 10:16:42 -07:00
Daniel Imms
ea8dbbd29f
Underline links on hover
2017-09-07 10:20:48 -07:00
Daniel Imms
e960a0a82c
Add ILinkMatcherOptions.hoverEndCallback
2017-09-06 16:05:09 -07:00
Daniel Imms
46b0857ef6
Resolve TODOs
2017-09-04 14:13:41 -07:00
Daniel Imms
7934e05083
jsdoc Linkifier
2017-09-03 21:34:48 -07:00
Daniel Imms
17731c3de3
Support multiple links in a line, fix Linkifier tests
2017-09-03 13:56:53 -07:00
Daniel Imms
b30cb58ff4
Support hover callback in links
2017-09-03 12:47:04 -07:00
Daniel Imms
923ea7247c
Get links working on proper coords
2017-09-03 11:39:17 -07:00
Daniel Imms
5619abe12d
Basic link support using mouse zone manager
2017-09-03 11:20:29 -07:00
Daniel Imms
137847e85c
Linkify all rows at once to prevent multiple timeout restarts
2017-08-30 19:27:37 -07:00
Daniel Imms
f9fce53cc4
Add typedef tslint rule
2017-08-05 13:56:38 -07:00
Daniel Imms
29ac6a153e
Fix issue with strings in wrapped spans being duplicated
...
This was happening because the linkifier assumed that top-level spans
in the terminal would only contain single text nodes
Fixes #642
2017-06-09 11:48:12 -07:00
Daniel Imms
584ec681af
Merge remote-tracking branch 'ups/master' into 591_element_on_validation
2017-04-04 09:50:04 -07:00
Daniel Imms
fe8334a873
Merge remote-tracking branch 'ups/master' into 612_multiple_links_in_row
2017-04-04 09:33:53 -07:00
Daniel Imms
66be05a962
Merge branch 'master' into 612_multiple_links_in_row
2017-04-04 09:00:47 -07:00
Daniel Imms
0e85a09dd3
Merge branch 'master' into 618_register_link_before_dom
2017-04-04 08:58:43 -07:00
InDieTasten
26ccf2a316
Fix typos in comment
2017-03-31 22:16:11 +02:00
Daniel Imms
8c2db8ddb8
More tests
2017-03-31 02:10:07 -07:00
Daniel Imms
5546baa927
Fix edge case
2017-03-31 01:54:21 -07:00
Daniel Imms
08fd050c3f
Support multiple link matches in a single row
...
Fixes #612
2017-03-31 01:48:35 -07:00
Daniel Imms
b0624cadb7
Allow links to be registered before terminal is attached to DOM
...
Fixes #618
2017-03-24 11:04:04 -07:00