Daniel Imms
93e060aeb2
Add MutableDisposable tests
2023-08-18 14:24:50 -07:00
Daniel Imms
a84351ad0c
Add MutableDisposable
...
Part of #4685
2023-08-18 14:15:56 -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
9f3be5e28d
Simplify terminal interfaces
...
Fixes #4663
2023-08-15 07:49:31 -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
tisilent
5c1e6dce99
Add block to cursorInactiveStyle,
...
change line to bar
2023-08-11 11:36:40 +08:00
Daniel Imms
1b4460e37d
Merge pull request #4655 from Tyriar/tyriar/4645
...
Fix API facade memory leaks
2023-08-10 07:29:14 -07:00
tisilent
482dad3036
Add cursorInactiveStyle option
2023-08-10 16:11:04 +08:00
Daniel Imms
62055522fb
Fix API facade memory leaks
...
We need to register/dispose any event created in the facades, otherwise
embedders need to dispose of the listeners manually.
Fixes #4645
2023-08-09 15:55:31 -07:00
Jörg Breitbart
2b79b7b29f
faster SortedList._search
2023-08-10 00:12:00 +02:00
Daniel Imms
44ced27bee
Add ignoreBracketedPasteMode option
...
Fixes #4588
2023-08-01 13:58:52 -07:00
Jörg Breitbart
b770431102
Merge branch 'master' into faster_dom
2023-08-01 18:18:31 +02:00
Daniel Imms
e8a925b6af
Merge pull request #4583 from jerch/fix_mouse_tracking
...
fix mouse tracking behavior
2023-08-01 05:50:20 -07:00
Daniel Imms
1067ec19a8
Implement smooth scroll for pages/top/bottom, add viewport request event
2023-08-01 05:31:30 -07:00
jerch
366ffedf08
Merge branch 'master' into faster_dom
2023-07-31 18:01:16 +02:00
Daniel Imms
2e638598e4
Simplify condition
2023-07-30 06:55:45 -07:00
Daniel Imms
d22e3e093a
Fix compile
2023-07-29 14:42:05 -07:00
Jörg Breitbart
664a110fd1
Merge branch 'master' into faster_dom
2023-07-29 18:07:47 +02:00
Daniel Imms
5660c404f0
Differentiate special color indexes and others
2023-07-28 16:32:05 -07:00
Daniel Imms
79c1fff853
Add IntRange type for ColorIndex
...
Fixes #4614
2023-07-28 13:51:46 -07:00
Simon Siefke
92a18defce
remove one more public
2023-07-27 17:16:00 +02:00
Simon Siefke
b4aeb1b3e7
fix eslint warnings
2023-07-27 13:29:02 +02:00
Simon Siefke
8f1313519f
update typescript version to 5.1.6
2023-07-27 13:19:38 +02:00
Jörg Breitbart
37153018b9
fix BCE
2023-07-24 16:06:19 +02:00
Jörg Breitbart
65568f502e
fix #4582
2023-07-05 13:56:41 +02:00
Daniel Imms
4d501b38b8
Improve safety of log service
2023-06-16 10:30:54 -07:00
Daniel Imms
64a62fb0c1
Bind logger calls
2023-06-16 09:19:23 -07:00
Daniel Imms
2c45989fea
Merge pull request #4563 from Tyriar/logger
...
Add logger delegate option
2023-06-16 08:34:13 -07:00
Daniel Imms
f779e4ddc0
Add logger delegate option
...
This allows embedders to route the logs whereever they want, when this
is set the xterm.js prefix is excluded.
2023-06-16 08:23:22 -07:00
Daniel Imms
ffadc0b31d
Fix NPEs on buffer line and windowsPty option
2023-06-09 08:47:17 -07:00
Daniel Imms
3e5c6a156b
Correct Windows wrapping heuristics condition
2023-05-29 09:49:33 -07:00
Daniel Imms
a91665cb18
Listen for windowsPty changes
2023-05-29 09:43:49 -07:00
Daniel Imms
22140b5e94
Add more granular windowsPty option
...
See microsoft/vscode#134448
2023-05-29 09:40:00 -07:00
Daniel Imms
22a4dc4b6b
Merge pull request #4478 from jerch/fix_4469
...
fix DECRQM reports
2023-05-24 06:47:52 -07:00
Daniel Imms
325d133a75
Add overline to vt comments
...
Part of #4529
2023-05-21 08:16:57 -07:00
Daniel Imms
2bfd95fe54
Add support for SGR 53, 55 overline
...
Specced in ECMA-48
2023-05-20 09:56:56 -07:00
Jörg Breitbart
ee26780e03
fix test cases
2023-04-16 21:17:12 +02:00
Jörg Breitbart
b35415ed16
flip SET 2 & 12 perma flags, add DECSET 67 (DECBKM) as perma reset
2023-04-16 21:08:42 +02:00
Daniel Imms
2fdb46919c
Merge pull request #4465 from Tyriar/4410
...
Ensure Decoration.isDisposed can be true
2023-03-31 12:21:52 -07:00
Daniel Imms
c546f7cc8a
Ensure Decoration.isDisposed can be true
...
Fixes #4410
2023-03-31 12:11:50 -07:00
Daniel Imms
18be346df9
Clear line wrapped state on explicit line feed
...
Fixes #4457
See microsoft/vscode#178014
2023-03-28 11:35:21 -07:00
Daniel Imms
046d4b8314
Improve createInstance types
2023-02-01 08:42:51 -08:00
Eugene
7ee7aa2719
removed unused imports in CircularList
2022-12-28 15:41:58 +01:00
Jörg Breitbart
49ec7199e9
remover iterator and stringIndexToBufferIndex from buffer
2022-12-19 19:50:18 +01:00
Daniel Imms
167765f932
Improve IAttributeData jsdoc
...
Fixes #2603
2022-12-16 10:53:21 -08:00
Daniel Imms
0b5625581e
Merge pull request #4284 from JasonXJ/a11y-2
...
Fix a11y issues #4269
2022-12-16 08:57:55 -08:00
Daniel Imms
4ee4a0f988
Merge branch 'master' into cleanup_coreservice
2022-12-11 07:36:01 -08:00
Daniel Imms
d6b8a21219
Avoid passing circular callback into CoreService ctor
2022-12-11 07:35:11 -08:00