YAYA 刘玉婷
7fa56fde0b
Merge branch 'master' into underline-dotted
2023-09-01 14:12:01 +08: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
37b0e4018c
More adoption of MutableDisposable
2023-08-27 07:03:27 -07:00
Daniel Imms
57db72d287
More adoption of MutableDisposable
2023-08-27 06:55:16 -07:00
Daniel Imms
ec02bab97c
Use MutableDisposable in CursorRenderLayer
2023-08-27 06:46:49 -07:00
Daniel Imms
94ed3e800a
Don't dispose of texture atlas in canvas addon
...
This would cause problems if the atlas is shared between multiple
terminals.
2023-08-27 06:44:48 -07:00
Daniel Imms
1e1ccba238
Use MutableDisposable in BaseRenderLayer
2023-08-27 06:44:11 -07:00
tisilent
42d6c2bd6b
Use hex
2023-08-25 14:37:03 +08:00
tisilent
810e62665f
Clean
2023-08-25 14:30:34 +08:00
tisilent
bec1642123
Modify variantOffset calculation logic
2023-08-25 14:17:36 +08:00
jerch
d367eb41d2
Merge branch 'master' into fix_4720
2023-08-24 17:32:08 +02:00
Jörg Breitbart
bd76cdbd20
resort wasm to xterm-wasm-parts
2023-08-24 17:24:25 +02:00
Daniel Imms
f9dc26d413
Merge branch 'master' into no_confusing
2023-08-24 06:33:43 -07:00
Daniel Imms
2fe082beea
Warn on eslint rule @typescript-eslint/no-confusing-void-expression
2023-08-24 06:33:11 -07:00
Daniel Imms
1965daff50
Warn on eslint rule @typescript-eslint/no-useless-constructor
2023-08-24 06:24:25 -07:00
Daniel Imms
f4881872f7
Remove unused private prop
2023-08-24 06:12:56 -07:00
tisilent
564371eae7
Clean unused member
2023-08-24 11:38:51 +08:00
tisilent
e09ed98cf1
Merge branch 'underline-dotted' of https://github.com/tisilent/xterm.js into underline-dotted
2023-08-24 11:05:05 +08:00
tisilent
2b0106f7e2
Logic move to CellColorResolver
2023-08-24 10:57:05 +08:00
Daniel Imms
1f3143cfab
Remove unused member
2023-08-23 05:07:44 -07:00
Daniel Imms
f5d128b0d5
Merge remote-tracking branch 'upstream/master' into pr/tisilent/4703
2023-08-23 05:02:07 -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
b6fd7a2b93
Ignore no-unused-vars in test files
2023-08-23 04:42:21 -07:00
tisilent
25afc19895
Merge branch 'underline-dotted' of https://github.com/tisilent/xterm.js into underline-dotted
2023-08-23 09:33:20 +08:00
Daniel Imms
68ded1a5b4
Merge branch 'master' into underline-dotted
2023-08-22 07:47:42 -07:00
Daniel Imms
8af83fef85
Fix error that can occur when loading canvas addon
2023-08-22 06:00:44 -07:00
tisilent
5f0647f0ab
clean
2023-08-22 09:35:12 +08:00
tisilent
fe7f17f422
clean
2023-08-22 09:26:01 +08:00
tisilent
c81dfee43c
Using ext to store variants.
2023-08-21 20:54:16 +08:00
tisilent
cb175e513d
Variants to Canvas.
2023-08-21 19:45:38 +08:00
tisilent
32da1d81d5
Use variants for underline dotted.
...
webgl
2023-08-21 19:09:02 +08:00
Daniel Imms
1c5596de66
Split up Base64Decoder decoding tests
...
Fixes #4696
2023-08-19 15:21:42 -07:00
Daniel Imms
0be744b567
Merge pull request #4691 from Tyriar/4690
...
Improve lifecycle of WebLinksAddon.api, test all country tlds
2023-08-19 05:22:14 -07:00
Daniel Imms
243b0bb626
Add all country tlds to tests
2023-08-19 05:07:41 -07:00
Daniel Imms
0b32b42134
Improve lifecycle of WebLinksAddon.api
...
Part of #4690
2023-08-19 05:00:45 -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
6c9346011d
Merge pull request #4672 from Tyriar/4262
...
Enforce half minimum contrast ratio for dim text
2023-08-13 13:14:45 -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
70f6fa2bc9
Fix SortedList.values iteration and general dec lifecycle fixes
...
Fixes #4652
2023-08-13 10:42:45 -07:00
Daniel Imms
530f758905
Restrict comments to 100 characters
...
This is a rule I try enforce in PR but it's a bit of a hassle, this will
give a lint warning when it happens resulting in:
- Yellow underline in supported editors when eslint is installed
- Compilation will succeed since it's a warning not an error
- CI will fail as it does not allow lint warnings
Special case comments are ignored which includes @vt comments, table
comments and commented out code.
2023-08-12 09:04:41 -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