Daniel Imms
b543842fc0
Fix dom MCR tests
2023-09-08 08:23:20 -07:00
Daniel Imms
fb4b662756
v5.3.0 and bump all addons
2023-09-07 10:46:35 -07:00
Daniel Imms
4ed97cae3a
Merge branch 'master' into playwright
2023-09-01 07:46:35 -07:00
Daniel Imms
fbebabe2e6
Add @playwright/test support
2023-08-27 08:08:52 -07:00
Daniel Imms
38c6af9b46
Fix _renderer access in api test
2023-08-27 07:22:08 -07:00
Daniel Imms
2eaa9b3b69
Fix remaining issues with MutableDisposable usage
2023-08-27 07:15:51 -07:00
Daniel Imms
57db72d287
More adoption of MutableDisposable
2023-08-27 06:55:16 -07:00
Daniel Imms
921da1a2ea
Ignore no-unused-vars in .api, organize all remaining imports
2023-08-23 04:47:53 -07:00
Daniel Imms
ef1cd4318b
Merge pull request #4688 from Tyriar/cursor_style
...
Simplify cursor style types in webgl
2023-08-19 04:51:15 -07:00
Daniel Imms
d03b5c9481
Track CursorBlinkStateManager in MutableDisposable
...
Fixes #4685
2023-08-18 14:26:56 -07:00
Daniel Imms
25a78c77f2
Simplify cursor style types in webgl
...
Fixes #4686
2023-08-18 14:11:17 -07:00
Daniel Imms
0b54c9a5d6
Add trace log level, traceCall decorator and use in webgl
...
- New 'trace' log level in the API, you should expect very spammy logs when
trace is on and filter them down. As opposed to 'debug' which should be more
readable.
- traceCall decorator logs the args and return value of the decorated method.
Wecan use this on key functions in various parts of the code to assist
debugging issues that are hard to reproduce such as #4665 .
- Decorated a few webgl render methods for #4665 .
- There's an early exit in traceCall when not on the trace log level so the
runtime impact when not in trace is negligable.
Part of #4665
2023-08-18 11:04:23 -07:00
Daniel Imms
1cef30cca0
Enforce half minimum contrast ratio for dim text
...
Provided MCR is not too high, this ensures dim text differs from normal
text and has a reasonable difference in contrast.
Fixes #4262
2023-08-13 11:27:57 -07:00
Daniel Imms
dc390ab03a
Merge pull request #4657 from tisilent/add-cursorInactiveStyle-option
...
Add cursorInactiveStyle option
2023-08-11 13:16:51 -07:00
Daniel Imms
6f6cc6a686
Remove string mapping, improve types, standardize on 'outline'
2023-08-11 13:09:31 -07:00
tisilent
5c1e6dce99
Add block to cursorInactiveStyle,
...
change line to bar
2023-08-11 11:36:40 +08:00
Svante Boberg
3b3012353f
Use disposable registration
2023-08-10 19:04:20 +02:00
Svante Boberg
adad53d526
Dispose blink state manager
2023-08-10 18:47:04 +02:00
tisilent
482dad3036
Add cursorInactiveStyle option
2023-08-10 16:11:04 +08:00
tisilent
b8bf35be17
Add restrictToCellHeight,Restore abnormal format
2023-08-09 11:53:30 +08:00
Daniel Imms
1dfd14fbc0
Fix canvas count test
2023-08-01 08:28:59 -07:00
Daniel Imms
60eb4f3385
Create ICursorRenderModel
2023-08-01 07:47:27 -07:00
Daniel Imms
41e97ec042
Always render cursor even if model didn't change
...
This ensures underline/bar cursors get rendered
2023-08-01 07:43:27 -07:00
Daniel Imms
f64cb1566d
Correctly apply cursor colors in new renderer
2023-08-01 06:31:58 -07:00
Daniel Imms
9b204c012a
Remove bad logs
2023-08-01 06:19:54 -07:00
Daniel Imms
6b33ac1e85
Share cursor blink state manager between canvas and webgl
...
This also focused the manager's creation on renderer start up, to ensure blink
works immediately.
2023-08-01 06:13:21 -07:00
Albert Safin
064fe0cfd9
Render the cursor in the WebGL canvas
2023-06-18 06:34:14 +00:00
Daniel Imms
47c21df83d
v5.2.0
2023-06-08 14:32:54 -07:00
Jörg Breitbart
f270127ce5
fix webgl part of #4480
2023-05-21 16:32:57 +02:00
Daniel Imms
d5c47ec531
it -> itWebgl
2023-05-20 09:35:37 -07:00
Daniel Imms
5a145fcffe
Add webgl api tests for dim
2023-05-20 08:41:11 -07:00
Daniel Imms
539fed4daa
Don't apply dim to background color
...
Fixes #4161
2023-05-20 08:13:50 -07:00
Daniel Imms
0a101a01f5
Clear whole cursor layer on Firefox
...
Fixes #4487
2023-05-02 15:44:36 -07:00
tisilent
455c744ab1
Uniform cursor unfocused rendering. #4441
2023-03-22 20:54:58 +08:00
Megan Rogge
8a1faed5cb
ensure line is defined via clamp ( #4403 )
2023-02-07 21:03:06 +00:00
Daniel Imms
9c815250b6
Handle glyph/rect renderer safer
...
See microsoft/vscode#172782
2023-01-31 11:14:33 -08:00
Daniel Imms
8b1c5c4ffb
Revert "Fix NPE in webgl renderer"
...
This reverts commit ea7571c2b9 .
2022-12-21 16:51:45 -08:00
Daniel Imms
303db85763
Make package.json changes to trigger release
...
Fixes #4336
2022-12-19 12:55:01 -08:00
Daniel Imms
30ef1fcaa5
v5.1.0
2022-12-19 09:56:20 -08:00
Daniel Imms
0981ca8796
Merge pull request #4328 from Tyriar/vscode166909
...
Remove ! to improve safety
2022-12-16 11:16:17 -08:00
Daniel Imms
ffeaa2b976
Remove ! to improve safety
...
See microsoft/vscode#166909
This doesn't necessarily fix that, but it does remove the hacky ! which could
potentially let an error slip past TS.
2022-12-16 11:05:03 -08:00
Daniel Imms
ea7571c2b9
Fix NPE in webgl renderer
...
Theory is this can happen when a resize down happens as end will be too big
See microsoft/vscode#166878
2022-12-16 10:42:05 -08:00
Daniel Imms
83ff4e97c3
Merge pull request #4304 from Tyriar/4259
...
Simplify options API
2022-12-11 11:52:08 -08:00
Daniel Imms
02d3ef599a
Fix internal usages that needed Required<ITerminalOptions>
2022-12-11 11:42:14 -08:00
Jörg Breitbart
d2298d84a0
move safari check to WebglAddon ctor
2022-12-07 23:56:43 +01:00
Daniel Imms
ed1773c103
Merge pull request #4274 from JasonXJ/cap-atlas-pages
...
Cap webgl maxAtlasPages to 32
2022-11-26 07:24:47 -08:00
Jason Lin
b7c119a071
Cap webgl maxAtlasPages to 32
2022-11-24 17:51:58 +11:00
Daniel Imms
1880399849
dirtyId -> version
2022-11-23 08:51:06 -08:00
Jean Pierre
d4ee0309d9
Fixes https://github.com/microsoft/vscode/issues/166158
2022-11-22 00:07:23 -05:00
Daniel Imms
3597d43788
Enable the webgl renderer on safari 16 and above
...
This does not fix the issue where webkit browsers cannot use it, I looked
at webkit versions in safari and was a bit confused. The wikipedia page
for safari shows v15 having webkit v612+ but I have safari v16 and it's
webkit v605, so trying to detect it based on webkit version is a risky
change.
Note that webgl2 shipped in safari 15, but it didn't work in webgl until
safari 16.
Fixes #3357
Related #3575
Related microsoft/vscode#165416
2022-11-08 12:23:20 -08:00