Daniel Imms
4ac8e4ca51
Remove reliance on core in some webgl parts
2022-07-29 11:09:19 -07:00
Daniel Imms
954d9371a1
Inactive selection in webgl
2022-07-29 11:05:41 -07:00
Daniel Imms
6493679b2e
Inactive selection bg in dom renderer
...
Part of #3803
2022-07-29 11:00:36 -07:00
Daniel Imms
906a6fc558
Rename test selection -> selectionBackground
2022-07-29 10:35:48 -07:00
Daniel Imms
9cb25fbf06
Rename ITheme.selection to selectionBackground
...
This makes it consistent with selectionForeground and other theme keys and
as a result will make the API easier to work with, especially when inactive
selection is done (#3803 )
2022-07-29 10:34:27 -07:00
Daniel Imms
de78344165
Merge pull request #3919 from SvanT/master
...
Dispose events
2022-07-28 10:52:09 -07:00
Daniel Imms
04b513cf9b
Merge pull request #3926 from Tyriar/rounding
...
FINALLY fix blurry canvas/webgl renderer issues due to device pixel rounding errors 🎉
2022-07-28 10:25:01 -07:00
Daniel Imms
8b276c1a54
Merge remote-tracking branch 'upstream/master' into pr/SvanT/3919
2022-07-28 07:04:11 -07:00
Daniel Imms
437c8aac5c
Merge remote-tracking branch 'upstream/master' into rounding
2022-07-28 07:00:13 -07:00
Daniel Imms
1ef9f7c1d1
Merge branch 'master' into 3930
2022-07-28 06:50:26 -07:00
Daniel Imms
c52eb8898f
Simplify addon tsconfigs
2022-07-28 04:50:40 -07:00
Daniel Imms
ced5c304f1
Move CustomGlyphs.ts into core
2022-07-28 04:46:18 -07:00
Daniel Imms
73b3e31b38
Canvas readme
2022-07-28 04:37:42 -07:00
Daniel Imms
1c6ce99419
Move canvas renderer contents into addon
2022-07-27 10:26:02 -07:00
Daniel Imms
440ab765c4
Remove rendererType setting
2022-07-27 09:22:05 -07:00
Daniel Imms
7a17a26e18
Remove link matchers
...
Fixes #2703
2022-07-27 06:49:35 -07:00
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
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
Svante Boberg
92855ba399
Remove terminal from cache on disposal
2022-07-22 13:03:07 +02:00
Daniel Imms
0fbd980d38
Whitespace to trigger webgl release
2022-07-13 11:44:08 -07: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
0a0ebb68b5
v4.19.0
2022-06-29 09:40:07 -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
ddf3f08a6c
Merge pull request #3862 from Tyriar/3861
...
Fix webgl clipping powerline y axis
2022-06-14 18:03:11 -07:00
Daniel Imms
1639c0a031
Fix webgl min contrast ratio api tests
...
Fixes #3847
2022-06-14 16:45:19 -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
53f05de3e7
Add selectionForeground webgl unit test
2022-05-17 12:12:01 -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
afe1d7ed6f
Fix webgl contrast tests since a bug in luminance was fixed
2022-05-10 11:48:37 -07:00