Commit Graph
9884 Commits
Author SHA1 Message Date
Daniel Imms 493975b41e Merge pull request #3934 from Tyriar/3777
Fix test-api running unit tests as well
2022-07-24 17:51:57 -07:00
Daniel Imms 3322418728 Remove shift+backspace -> ^H binding
This has been there since the first commit of term.js, it's not clear
why it's there but Terminal.app, iTerm2 and kitty seem to just do a
regular backspace

Fixes #3759
2022-07-24 17:45:14 -07:00
Daniel Imms 2ceec34809 Remove log 2022-07-24 17:20:41 -07:00
Daniel Imms 8c55c83e4a Fix test-api running unit tests as well
This file was added to support the mocha test explorer in vscode
but it turns out it causes all calls to mocha to run the unit
tests. I couldn't figure out how to ignore through args.

Fixes #3777
2022-07-24 17:12:23 -07:00
Daniel Imms 9acc36f8c0 Warn when ligature fonts fail to download
Fixes #3784
2022-07-24 16:52:11 -07:00
Daniel Imms a4f7e2d8e9 Fix inverse dim on canvas renderer 2022-07-24 13:20:04 -07:00
Daniel Imms ee2e54487d Fix inverse dim for webgl
Fixes #3534
2022-07-24 13:13:26 -07:00
Daniel Imms f4ffb13ece Render dim bg in all renderers
Fixes #3534
2022-07-24 10:59:24 -07:00
Daniel Imms a39c7fb636 Never clear color when allowTransparency is on
It's redundant and wasn't working as expected anyway.

Fixes #3930
2022-07-24 08:31:12 -07:00
Daniel Imms 0ccf3beec7 Retain hue when flipping luminance
Fixes #3845
2022-07-24 08:03:27 -07:00
Daniel Imms 90b6f058c9 Support overviewRulerWidth in demo
Fixes #3771
2022-07-24 07:38:48 -07:00
Daniel Imms 0165c3612d Fix canvas device pixel dimension setting 2022-07-24 07:11:56 -07:00
Daniel Imms 47b1fdd147 Refactor to share observeDevicePixelDimensions 2022-07-24 04:09:34 -07:00
Daniel Imms ad8404417e ts-loader update, correct css cell dimension error 2022-07-24 03:57:22 -07:00
Daniel Imms 3d6c25bf2d typescript@4.7
Required for devicePixelContentBoxSize ResizeObserver API
2022-07-24 03:43:28 -07:00
Daniel Imms e25471361f Fix device pixel value in canvas renderer 2022-07-24 03:41:25 -07:00
Daniel Imms cb10aadb06 Fix device pixel rounding errors in webgl renderer
This uses the ResizeObserver devicePixelContentBoxSize API in order to
fetch the exact device pixel dimensions from the browser. The old
possibly blurry behavior is used as a fallback if that API is not
available.

Part of #2662
Part of microsoft/vscode#85154
2022-07-24 03:31:05 -07:00
Simon Lamon 89f5c2e06c Allow markers on the alt buffer 2022-07-24 09:30:13 +00:00
Daniel Imms dbe2b98bb4 Don't overlap the atlas ontop of options
This would prevent mouse input in some options in narrow screens
2022-07-23 18:57:16 -07:00
Daniel Imms 4087284822 Fix ext caching issues 2022-07-23 15:19:17 -07:00
Daniel Imms 759a5928a2 Continuous curly underline 2022-07-23 14:48:26 -07:00
Daniel Imms 43bbea8eb5 Set webgl as default demo renderer 2022-07-23 14:43:14 -07:00
Daniel Imms fd8fc18302 Clear stroke around text in underline 2022-07-23 14:28:15 -07:00
Daniel Imms f34a30b24f Add theme from xtermjs.org and make it the demo default 2022-07-23 14:08:15 -07:00
Daniel Imms 91a362be7b Add 3 sample themes to demo 2022-07-23 13:58:31 -07:00
Daniel Imms 19fb806214 Fix tests 2022-07-23 13:44:12 -07:00
Daniel Imms 70b5e0249c Underline demo formatting 2022-07-23 11:22:40 -07:00
Daniel Imms d9703aa7fe Webgl underline color rendering 2022-07-23 11:19:35 -07:00
Daniel Imms 03f15a7fb7 Store extended attributes in single number 2022-07-23 11:12:17 -07:00
Daniel Imms 8cd01dc421 Add underline color test to demo 2022-07-23 10:38:58 -07:00
Daniel Imms 1f89223c2a DOM renderer underline color 2022-07-23 10:26:20 -07:00
Daniel Imms 8287e783a2 Underline color canvas 2022-07-23 10:24:51 -07:00
Daniel Imms 8184e0824b Add tests for dom underline styles 2022-07-23 10:13:26 -07:00
Daniel Imms 72d18f7d5e DOM renderer underline style 2022-07-23 09:20:53 -07:00
Daniel Imms 1d9b4d4778 Canvas renderer underline style 2022-07-23 08:58:10 -07:00
Daniel Imms baa8a1e6ec Stub out canvas renderer underline style 2022-07-23 08:27:15 -07:00
Daniel Imms c116fa645c Render underline style on webgl 2022-07-23 08:23:02 -07:00
Daniel Imms 8b4e8199d7 Get underline style affecting webgl rendering 2022-07-23 07:38:34 -07:00
Daniel Imms 34cd5966b9 Webgl 3 key cache map 2022-07-23 07:31:51 -07:00
Daniel Imms cc8748313e Expose underline attrs as getter/setter
In preparation for storing them in a packed format for glyph caching
2022-07-23 07:13:29 -07:00
Daniel Imms 1207acc495 Add underline test button to demo 2022-07-23 07:05:52 -07:00
Daniel Imms c29cd83213 Allow start task to be restarted without killing watch 2022-07-23 06:39:41 -07:00
Svante Boberg 9df996cb3d Dispose events
https://github.com/microsoft/vscode/issues/155232

The events that is setup for needs to be disposed for js to be able
to garbage collect the terminals.
2022-07-23 13:28:52 +02:00
Daniel Imms d2ac7fc90c Merge pull request #3916 from SvanT/master
Fix memory leak
2022-07-22 05:11:54 -07:00
Svante Boberg 92855ba399 Remove terminal from cache on disposal 2022-07-22 13:03:07 +02:00
Daniel Imms b5b7a5d7d0 Remove note about IE11 which is EOL 2022-07-21 15:24:44 -07:00
Daniel Imms 36830266e2 Merge pull request #3913 from xtermjs/dependabot/npm_and_yarn/terser-5.14.2
Bump terser from 5.7.0 to 5.14.2
2022-07-20 06:10:26 -07:00
dependabot[bot] 3ffbcbf201 Bump terser from 5.7.0 to 5.14.2
Bumps [terser](https://github.com/terser/terser) from 5.7.0 to 5.14.2.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/commits)

---
updated-dependencies:
- dependency-name: terser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-20 01:30:11 +00:00
Daniel Imms 9997f263a6 Merge pull request #3912 from silamon/extendedcolors2
Allow unsetting extending ansi colors
2022-07-19 11:19:57 -07:00
Simon Lamon 1fdbd504c7 Add another unit test to test partial unset 2022-07-19 17:37:02 +00:00