Jörg Breitbart
0decd77253
map Buffer.lines directly to Buffer._lines
2018-04-23 16:59:55 +02:00
Jörg Breitbart
2bfe74490a
make .buffer local where appropriate
2018-04-23 16:29:19 +02:00
Daniel Imms
58c50f08db
Break when the terminal reference is removed
2018-04-18 08:10:05 -07:00
Daniel Imms
984e027c87
Merge branch 'master' into 1341_memory_leak
2018-04-18 08:02:55 -07:00
Daniel Imms
7d108999ff
Fix lint
2018-04-16 06:42:16 -07:00
Daniel Imms
11541be4ae
Merge branch 'master' into 1364_addon_lint
2018-04-16 06:25:48 -07:00
Daniel Imms
ceffb35445
Merge pull request #1369 from Tyriar/897_dead_options
...
Remove unused options
2018-04-16 06:25:18 -07:00
Daniel Imms
e1957ae6aa
Merge remote-tracking branch 'origin/master' into 1364_addon_lint
2018-04-16 06:24:37 -07:00
Daniel Imms
83f9d59d91
Merge pull request #1384 from Tyriar/1383_setoption_exception
...
Guard usages of DOM attached vars in setOption
2018-04-15 13:30:33 -07:00
jpoth
9a1162d7f2
Check if charMeasure is defined in headless mode
2018-04-12 15:43:09 +02:00
Daniel Imms
f6f3e78e2c
Merge pull request #1376 from Tyriar/1324_move_zmodem_demo
...
Move zmodem demo to demo/
2018-04-11 09:38:56 -07:00
Daniel Imms
82897ed56c
Guard usages of DOM attached vars in setOption
...
Fixes #1383
2018-04-10 19:54:49 -07:00
Daniel Imms
cd06786d16
Fix exception when reset is called before open
...
Fixes #1379
2018-04-09 06:13:32 -07:00
Felipe Gasper
86c9b3f92c
Fix zmodem demo.
2018-04-05 07:03:09 -07:00
Daniel Imms
4fbd1adaa9
Move zmodem demo to demo/
...
Fixes #1324
2018-04-04 14:31:25 -07:00
Daniel Imms
e5ee76ded4
Remove terminal references on dispose
...
Part of #1341
Fixes #1370
2018-04-04 11:51:50 -07:00
Daniel Imms
87f21f14a1
Remove unused options
...
Fixes #897
2018-04-04 11:20:25 -07:00
Daniel Imms
ef16811268
Merge branch 'master' into 1364_addon_lint
2018-04-04 11:11:05 -07:00
Daniel Imms
307744be66
Prevent falsy write values
...
Fixes #1363
2018-04-02 08:22:22 -07:00
Daniel Imms
768539a57c
Fix lint errors in attach
2018-04-02 08:17:44 -07:00
Daniel Imms
4b5de031ea
Merge branch 'master' into color-parsing
2018-03-30 07:50:39 -07:00
Benjamin Woodruff
b66b0aae18
Block transparent colors without allowTransparency
...
Fixes xterm/xterm.js#1357 .
2018-03-29 22:04:24 -07:00
Paris Kasidiaris
63f711e634
Fix styling and make string messages to work again
2018-03-28 10:57:21 +03:00
Alexandre Petit-Pas
516903e29e
Handle blob in attach Addon
...
I have added blob handler for the attach Addon.
This allows to handle Docker with ws (works on Docker API v1.35)
I have also added a callback to handle asynchronous FileReader.
2018-03-28 07:37:02 +00:00
Paris Kasidiaris
dbb2320e83
Fix linting errors
2018-03-28 10:22:42 +03:00
Benjamin Woodruff
0cb6138cd0
Allow theming with arbitrary CSS color strings
...
This mostly worked before, but clearColor made the assumption that the
colors were always in #RRBBGG format. See the discussion here:
https://github.com/xtermjs/xterm.js/pull/1327#issuecomment-374812842
This changes the internal representation of a color so that we hold onto
into an object containing the original css string along with an RGBA
value encoded as a 32-bit uint. clearColor can then use that RGBA
representation.
Additionally, this deduplicates some code between ColorManager and
Terminal. Terminal was generating the 256 ansi colors the same way
ColorManager was, so this just makes Terminal use the same constant.
2018-03-26 09:47:25 -07:00
Lucian Buzzo
55d6daf8ee
Do not mutate options object used in constructor
...
Connects to #1322
change-type: patch
2018-03-24 16:25:02 +00:00
Daniel Imms
6e1e63e666
Merge pull request #1350 from FGasper/issue_1330_rtl_layout
...
Force LTR for the terminal element
2018-03-23 16:19:02 -07:00
Daniel Imms
b27d5bb08d
Use single quote to make tslint happy
2018-03-23 16:18:41 -07:00
Felipe Gasper
e63831febc
Force LTR for the terminal element
...
Issue #1330 : This prevents RTL layouts from mishandlin the
intended layout of the terminal container and children.
2018-03-23 19:16:02 -04:00
Daniel Imms
4ab79c908a
Merge pull request #1329 from Tyriar/1319_bang_operator
...
Use bang operator for array methods
2018-03-21 07:34:18 -07:00
Daniel Imms
97f592ce8b
Merge remote-tracking branch 'origin/master' into 24_multi_line_links
2018-03-21 07:32:32 -07:00
Daniel Imms
63f24be2b9
Merge branch 'master' into 1325_marker_api
2018-03-20 19:02:52 -07:00
Daniel Imms
0d6be9e03e
Merge pull request #1344 from Tyriar/trailing_comma
...
Disallow trailing commas
2018-03-20 19:01:04 -07:00
Daniel Imms
1fd7348938
Merge branch 'master' into unused_func
2018-03-20 19:00:24 -07:00
Daniel Imms
ae32893732
Disallow trailing commas
2018-03-20 09:10:48 -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
0eeec13653
Clean up
2018-03-19 11:01:26 -07:00
Daniel Imms
5d1f744282
Remove unused function
2018-03-19 08:20:28 -07:00
Daniel Imms
387d5b056d
Add Terminal.scrollToLine tests
2018-03-17 11:46:37 -07:00
Daniel Imms
5c1a4a7d01
Add tests for Buffer.addMarker
2018-03-16 17:23:17 -07:00
Daniel Imms
cbc6d7ce32
Add selectLines test
2018-03-16 15:56:48 -07:00
Daniel Imms
b80832ac4c
Initial marker API implementation
...
Part of #1325
2018-03-16 12:53:55 -07: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
efbd542964
Merge branch 'master' into 24_multi_line_links
2018-03-16 07:14:20 -07:00
Daniel Imms
a59af6606b
Use bang operator for array methods
...
Part of #1319
2018-03-12 14:14:37 -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
4f0cc01485
Fix strictNullChecks errors in AccessibilityManager
...
Part of #1319
2018-03-09 11:27:10 -08:00
Daniel Imms
dd41ab38bb
Fix imports after noUnusedLocals was merged in
2018-03-09 10:58:57 -08:00