Jörg Breitbart
e106cd02cf
fix callstack overflow of writeSync
2021-03-26 12:46:39 +01:00
Thomas Zilz
787ef30279
Revert "Noch mehr änderungen"
...
This reverts commit b666e6a924 .
2021-03-25 14:09:47 +01:00
Thomas Zilz
b666e6a924
Noch mehr änderungen
2021-03-25 13:59:20 +01:00
Daniel Imms
5c5ca4e213
Change warning to one per session not terminal
2021-03-19 06:24:42 -07:00
Jörg Breitbart
5170a12cb1
silence writeSync warning
2021-03-19 01:07:43 +01:00
Daniel Imms
886f285ab7
Remove old setting dimensions
2021-03-18 08:31:13 -07:00
Daniel Imms
00bdd2805a
Ensure in js that the textarea is always > 1x1px
2021-03-18 08:14:27 -07:00
Jörg Breitbart
869c11f1d8
interface for subparser stack saves
2021-03-17 22:39:09 +01:00
Jörg Breitbart
8e7cdd2587
interface for inputhandler parse stack, proper typing of LogService.logLevel
2021-03-17 22:29:01 +01:00
Jörg Breitbart
cdd238d75e
do not timeout on faulty async handlers, continue with false to give default handlers chance to run
2021-02-28 13:53:06 +01:00
Jörg Breitbart
48a93c379f
log a warning if an async handler takes too long
2021-02-27 22:24:55 +01:00
Jörg Breitbart
cc005a274d
multiple changes:
...
- reorder exception throwing to be sync to band position
- document WriteBuffer._innerWrite
- remove any declarations
- remove conditional assigments
- use faster return value branching in all parsers
- remove dead code in benchmark
2021-02-27 20:18:41 +01:00
Jörg Breitbart
b4635eddf3
make reset async aware
2021-02-25 19:04:37 +01:00
Jörg Breitbart
d500b0f204
inputhandler tests
2021-02-25 17:06:32 +01:00
Jörg Breitbart
9985ae2c38
fix linter warning
2021-02-25 15:44:39 +01:00
Jörg Breitbart
bce3269e44
async OSC/DCS registering/dispose tests on parser instance
2021-02-25 15:41:10 +01:00
Jörg Breitbart
26502114d4
minor tweaks, API docs update
2021-02-15 16:24:29 +01:00
Jörg Breitbart
d0b555687f
update parser hooks api and tests
2021-02-08 03:28:49 +01:00
Jörg Breitbart
041e259c11
OSC impl, OscParser tests
2021-02-08 03:03:28 +01:00
Jörg Breitbart
d59f4d2f6f
async impl for DCS, DcsParser tests
2021-02-08 01:53:59 +01:00
Jörg Breitbart
898a18db21
Merge branch 'master' into async_handlers
2021-02-07 23:14:30 +01:00
jeanp413
350f6cfea1
Fixes https://github.com/microsoft/vscode/issues/102194
2021-02-05 11:15:39 -05:00
hantatsang
a0903fbf9b
terminal.open: support webcomponent in dom node check
2021-01-31 11:43:59 +11:00
Jörg Breitbart
68b7f88523
async parser tests for CSI and ESC
2021-01-24 17:09:16 +01:00
Jörg Breitbart
a9eb1de4b4
Merge branch 'master' into async_handlers
2021-01-24 09:11:51 +01:00
Jörg Breitbart
d3c9f70bec
replace expect testing with assert
2021-01-23 17:09:43 +01:00
Jörg Breitbart
4ba7aef441
Merge branch 'master' into async_handlers
2021-01-23 13:06:50 +01:00
Jörg Breitbart
2f07ed9976
simplify stack save in parser
2021-01-23 13:05:57 +01:00
Ken Aoki
3d941f2fdf
add BOM skip logic
2021-01-23 11:42:16 +00:00
Ken Aoki
93aab95f7b
filter U+FEFF (BOM) when decoding input data
2021-01-23 04:39:57 +00:00
Jörg Breitbart
b07ca8bb24
fix timeout issue on macos
2021-01-22 21:34:12 +01:00
Jörg Breitbart
22d777c9f9
make linter happy
2021-01-22 21:24:54 +01:00
Jörg Breitbart
adfeffec76
deprecate writeSync
2021-01-22 21:17:34 +01:00
Jörg Breitbart
4a1bdad759
fix tests for async handlers in inputhandler
2021-01-22 19:48:50 +01:00
Jörg Breitbart
0ad9f70645
Merge branch 'master' into async_handlers
2021-01-22 17:49:31 +01:00
Daniel Imms
4da5d557a5
Merge pull request #3227 from marvinthepa/3225_onSelectionChange_on_clear
...
Store old selection when firing onSelectionChange
2021-01-22 08:37:36 -08:00
Martin Sander
554b4a8224
Store old selection when firing onSelectionChange
2021-01-22 16:41:57 +01:00
Jörg Breitbart
3f659a15da
minor fixes:
...
- better perf for short DCS without params (8 times faster)
- test perf for class and string based interfaces of OSC and DCS
separately
- undo wrong commit on parser
2021-01-21 15:58:03 +01:00
Jörg Breitbart
dd5b295219
release active handler list on dispose in DcsHandler
2021-01-21 13:08:01 +01:00
Jörg Breitbart
9d0200252b
fix possible OSC handler bug skipping the fallback handler
2021-01-21 13:05:57 +01:00
Jörg Breitbart
d67faff92a
simplify return eval
2021-01-21 11:38:47 +01:00
Jörg Breitbart
c50c134e25
simplify parser handler interface:
...
- remove setHandler
- apply boolean return to ESC|CSI|OSC|DCS handlers
(rewrite empty return defaulting to true)
- rename addHandler to registerHandler
2021-01-20 23:03:55 +01:00
Jörg Breitbart
bc1048062d
early version of async support for CSI and ESC handlers
2021-01-20 20:05:14 +01:00
Martin Sander
c6f93701f5
fire onSelectionChange on right click select
...
fixes #3216 .
2021-01-16 10:14:11 +01:00
Daniel Imms and Megan Rogge
66c80d8b78
Simplify checks
...
Co-authored-by: Megan Rogge <merogge@microsoft.com >
2021-01-15 09:39:34 -08:00
Martin Sander
0cb38cfdcb
fire onSelectionChange on empty selection
...
Fire the onSelectionChange event when a selection is cleared by
single-clicking somewhere inside the terminal area.
fixes #3193 .
This also slightly changes the behaviour when re-selecting the same area
in the terminal. Before, this fired onSelectionChange, but it does not
anymore, even when changing the direction of the selection.
2021-01-14 23:08:34 +01:00
Daniel Imms
8860726c68
Merge branch 'master' into issue3191
2021-01-11 09:51:02 -08:00
Daniel Imms
fd222b58b5
Merge branch 'master' into fix/select-all
2021-01-11 09:29:35 -08:00
Daniel Imms
19c14b076b
Remove resolved TODO
2021-01-11 07:40:25 -08:00
Slawek Zachcial
676aabc3ed
Merge branch 'master' into add-osc-4
2021-01-09 16:57:18 +01:00