Benjamin Woodruff
8c980bc30d
Add a dummy NoneCharAtlas implementation
...
This adds the logic needed to switch between multiple char atlas
implementations, and an example second implementation to test it out
with.
This also offers an escape hatch if something goes wrong with the char
atlas implementation(s).
2018-04-15 18:03:55 -07:00
Benjamin Woodruff
6f21385cd8
Add BaseCharAtlas and implement StaticCharAtlas
...
The API defined by BaseCharAtlas will let us support multiple char atlas
implementations at once.
I tested this by running the demo with Chrome's profiler, which shows
that calls are going to StaticCharAtlas/drawImage instead of
_drawUncachedChar. Applications using 256 colors also still work fine,
via _drawUncachedChar.
2018-04-15 18:03:55 -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
Daniel Imms
2cee66909b
Merge pull request #1374 from Tyriar/1353_run_lint_with_tests
...
Run lint with tests
2018-04-13 06:20:11 -07:00
Daniel Imms
da8151b1b5
Merge pull request #1375 from Tyriar/remove-package-lock
...
Remove package-lock.json
2018-04-12 10:03:44 -07:00
Daniel Imms
a3cb34fbf1
Merge pull request #1385 from johnpoth/headless-mode
...
Check if charMeasure is defined in headless mode
2018-04-12 07:29:48 -07:00
jpoth
9a1162d7f2
Check if charMeasure is defined in headless mode
2018-04-12 15:43:09 +02:00
Daniel Imms
591b09a62b
Merge pull request #1377 from Tyriar/remove_jsdoc
...
Remove docdash
2018-04-11 09:39:12 -07: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
Paris Kasidiaris
048b10ebf6
Bump version to 3.3.0
...
Signed-off-by: Paris Kasidiaris <paris@sourcelair.com >
3.3.0
2018-04-11 16:19:48 +00:00
Daniel Imms
c882dcc353
Merge pull request #1381 from Tyriar/1379_viewport_throw
...
Fix exception when reset is called before open
2018-04-11 07:20:48 -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
Daniel Imms
74d91a6bdd
Remove docdash
2018-04-07 11:42:36 -07:00
Daniel Imms
4a1ebbfb56
Add .npmrc
2018-04-07 11:40:54 -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
004ea61b83
Remove package-lock.json
...
We don't have any dependencies so this isn't as important to us, it's also ugly
to keep seeing these in PRs.
2018-04-04 14:11:46 -07:00
Daniel Imms
9be57f72f0
Run lint with tests
...
Fixes #1353
2018-04-04 14:10:03 -07:00
Daniel Imms
989f5873f5
Merge pull request #1366 from Tyriar/1363_fix_demo
...
Prevent falsy write values
2018-04-02 08:23:53 -07:00
Daniel Imms
307744be66
Prevent falsy write values
...
Fixes #1363
2018-04-02 08:22:22 -07:00
Daniel Imms
d4b75e4909
Merge pull request #1346 from bgw/color-parsing
...
Allow theming with arbitrary CSS color strings
2018-03-30 07:57:19 -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
36a1c5b922
Merge pull request #1355 from AlexandrePetit-Pas/patch-5
...
Handle blob in attach Addon
2018-03-28 11:09:29 +03: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
5cf9423699
Merge pull request #1356 from xtermjs/fix-linter
...
Make linter blissful again
2018-03-28 10:31:29 +03: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
Daniel Imms
bf21097430
Merge pull request #1326 from LucianBuzzo/1322-options-clone
...
Do not mutate options object used in constructor
2018-03-24 14:07:59 -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
b85083c3e8
Merge pull request #1303 from Tyriar/24_multi_line_links
...
Get multi-line links working
2018-03-21 07:33:43 -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
70da707569
Merge pull request #1338 from Tyriar/1325_marker_api
...
Implement Markers API
2018-03-20 19:14:10 -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
3cbb21a966
Merge pull request #1340 from Tyriar/unused_func
...
Remove unused function
2018-03-20 19:00:35 -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
Daniel Imms
4f82cf26f0
Merge pull request #1336 from mareklibra/removeStyle
...
Replace inline-styles by external CSS
2018-03-20 09:07:06 -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
cbf7419601
Flag markers and addMarker as experimental
2018-03-16 17:24:04 -07:00