Svante Boberg
078b83fcaf
Use disposal registration
2022-07-27 14:24:42 +02:00
Svante Boberg
c895f67fd8
Add missing webgl cursor blink disposal
...
Same disposal code as the non-webgl cursor blink layer
2022-07-27 00:00:41 +02: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
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
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
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
fd8fc18302
Clear stroke around text in underline
2022-07-23 14:28:15 -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
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
Svante Boberg
92855ba399
Remove terminal from cache on disposal
2022-07-22 13:03:07 +02:00
Daniel Imms
6b447951f1
Merge pull request #3897 from Tyriar/3892
...
Clear glyph pixels when all channels differ below a threshold
2022-07-11 12:06:33 -07:00
Daniel Imms
ea79194925
Make the clear threshold relative to fg/bg difference
2022-07-10 08:49:09 -07:00
Daniel Imms
89b320a5e2
Clear glyph pixels when all channels differ < 35
...
Fixes #3892
Also helps with #3877
2022-07-10 07:22:33 -07:00
Daniel Imms
5e8133b4be
Clip pixels to left of cell when background color changes
...
Fixes #3877
2022-07-10 06:54:39 -07:00
Daniel Imms
9f3e3f1700
Comment change to trigger webgl release
2022-07-08 12:53:25 -07:00
Daniel Imms
54cbbf600d
Dispose of webgl resources properly
...
Fixes #3889
2022-07-06 07:32:42 -07:00
Daniel Imms
d24a27d93e
Fix clipping of non-powerline chars
...
See microsoft/vscode#152478
2022-06-17 08:01:10 -07:00
Daniel Imms
fb950fcbe5
Fix webgl clipping powerline y axis
...
Fixes #3861
2022-06-14 15:09:00 -07:00
Daniel Imms
efb939d171
Fix column selection issues
...
The following parts were not respecting the column selection edge case where the
start column was greater than the end column while the start row was less than the
end row:
- Webgl renderer
- DOM renderer
- Selection service (ie. getSelection(), I don't think this was a
regression)
Fixes #3855
2022-06-14 06:51:54 -07:00
Megan Rogge
6b16732192
exclude box and block glyphs from contrast ratio demands ( #3844 )
2022-06-01 17:05:27 -07:00
Daniel Imms
59e1bddb6e
Merge branch 'master' into 3810
2022-05-17 11:43:06 -07:00
Daniel Imms
f9bd0b8fed
Fix setting selection foreground on webgl
2022-05-17 11:39:14 -07:00
Daniel Imms
c502272373
Support selection foreground in webgl
...
Part of #3810
2022-05-16 09:40:07 -07:00
Daniel Imms
d7fb0141d2
Whitespace change to trigger build
...
The fix for #3720 didn't touch any file in the webgl addon so it didn't end
up releasing.
2022-05-13 12:32:17 -07:00
Daniel Imms
7b4423819e
Support setting the layer of a decoration
...
Fixes #3778
2022-05-12 10:51:11 -07:00
Daniel Imms
181fb1cfe5
Remove selection-specific render pass, use bg overrides instead
...
Part of #3778
2022-05-11 11:46:44 -07:00
Daniel Imms
999f255893
Fix sorted list edge case
2022-05-11 09:49:23 -07:00
Daniel Imms
c0b4edaf31
Reduce duplicate with getDecorationsAtCell method
2022-05-11 08:37:42 -07:00
Daniel Imms
abdce874db
Fix cases where only one override was with tests
2022-05-11 08:31:09 -07:00
Daniel Imms
6b4df216d3
Remove unneeded code
2022-05-10 12:08:42 -07:00
Daniel Imms
1628795557
Fix fg/bg flags being set by negative ints
2022-05-10 09:42:12 -07:00
Daniel Imms
a67e7286d3
Use correct row for override in webgl renderer
2022-05-10 06:16:32 -07:00
Daniel Imms
7c87f5b47a
Start to use new API in search addon
2022-05-10 05:31:49 -07:00
Daniel Imms
0a26cee08b
Pull override color logic into a function
2022-05-10 05:06:20 -07:00
Daniel Imms
40716b8ca5
Consolidate override logic into model/WebglRenderer
2022-05-10 05:00:52 -07:00
Daniel Imms
d29388394c
Get Webgl rendering fg/bg overrides
2022-05-10 04:53:31 -07:00
Daniel Imms
0c6877f46f
Move color to common, work with IColor
...
IColor is needed for the minimum contrast ratio function currently.
2022-05-09 14:00:39 -07:00
Megan Rogge
da33543ffb
align isPowerlineGlyph across renderers ( #3743 )
2022-04-20 14:25:46 -07:00
Megan Rogge
38f0dd9be2
apply to dom and webgl too ( #3742 )
2022-04-19 18:46:39 -07:00
Daniel Imms
51d18e533f
Merge branch 'master' into dev_wlw
2022-03-31 09:00:09 -07:00
Tobias Speicher
28dcd38a53
refactor: replace deprecated String.prototype.substr()
...
.substr() is deprecated so we replace it with .slice() which works similarily but isn't deprecated
Signed-off-by: Tobias Speicher <rootcommander@gmail.com >
2022-03-25 20:41:06 +01:00
儿时
1e8901630c
Replace all getOption/setOption usage with options
2022-03-02 11:25:20 +08:00