Benjamin Woodruff
0fe59df2e9
Rename startRow/endRow in TextRenderLayer
...
Renaming these to firstRow/lastRow makes the inclusivity of the range
clearer.
Addresses this comment:
https://github.com/xtermjs/xterm.js/pull/1393#discussion_r182471582
2018-04-18 20:22:55 -07:00
Benjamin Woodruff
b853aa4929
Separate foreground & background rendering passes
...
I'm primarily interested in doing this because it'll allow me to
optimize the background rendering in later diffs, but this may also make
it possible to fix some minor rendering issues.
Right now, if we draw a single-width character that overflows its cell's
bounds, and the character to the right of it has a background, that
background may cover up the first character's foreground. By drawing the
background in a separate pass, we can avoid those cases.
There's still some issues with how dirty regions are computed that makes
rendering stuff like that flaky, but this at least gets us closer to
"correct" rendering.
Other terminal emulators (e.g. alacritty) render the foreground and
background in separate passes:
https://github.com/jwilm/alacritty/blob/1b7ffea/src/renderer/mod.rs#L766
2018-04-17 21:44:17 -07:00
Daniel Imms
cf8fa10205
Merge pull request #1299 from jonaustin/patch-1
...
Add Hyper to list of apps
2018-04-16 09:40:07 -07:00
Daniel Imms
d8d9d904b5
Merge branch 'master' into patch-1
2018-04-16 09:39:02 -07:00
Daniel Imms
cd7911a3d4
Merge pull request #1390 from Tyriar/third_party_addons
...
Add xterm-webfont addon to readme
2018-04-16 06:55:35 -07:00
Daniel Imms
3625a2278d
Merge pull request #1365 from Tyriar/1364_addon_lint
...
Lint addon files
2018-04-16 06:46:42 -07:00
Daniel Imms
7d108999ff
Fix lint
2018-04-16 06:42:16 -07:00
Daniel Imms
e3dc36c123
Add xterm-webfont addon to readme
2018-04-16 06:28:45 -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
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
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
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
768539a57c
Fix lint errors in attach
2018-04-02 08:17:44 -07:00
Daniel Imms
22c4197a1d
Lint addons
2018-04-02 08:16:39 -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