Daniel Imms
14872e091e
Revert "Avoid importing os"
...
This reverts commit 2d74505208 .
2023-09-08 14:21:18 -07:00
Daniel Imms
3d3f58b6ff
Have playwright addon tests only start server, not build it
2023-09-08 14:10:37 -07:00
Daniel Imms
2d74505208
Avoid importing os
2023-09-08 13:26:10 -07:00
Daniel Imms
328e97336b
Try space out suites
2023-09-08 12:58:33 -07:00
Daniel Imms
1798cab222
Remove webgl canvas check
...
It complicates loading the addon
2023-09-08 12:37:53 -07:00
Daniel Imms
408240dd97
Tweak canvas renderer test
2023-09-08 12:22:38 -07:00
Daniel Imms
98e8c6ac73
Add canvas renderer tests
2023-09-08 12:16:16 -07:00
Daniel Imms
a0c34b19df
Skip webgl tests on linux/firefox
2023-09-08 10:52:21 -07:00
Daniel Imms
48ba5e5856
Add npm start to webgl package.json
2023-09-08 10:35:38 -07:00
Daniel Imms
47183b2939
Fix relative path
2023-09-08 10:31:30 -07:00
Daniel Imms
9b9062aea4
Run npm start using relative cwd
2023-09-08 10:27:14 -07:00
Daniel Imms
cdf02d54da
Share test code between dom and webgl
2023-09-08 10:22:13 -07:00
Daniel Imms
413e884efb
Use faster pixel check method with caching
2023-09-08 10:12:06 -07:00
Daniel Imms
070d194c6c
Migrate webgl to playwright/test, add unified runner script
2023-09-08 10:04:25 -07:00
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