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
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
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
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
Jakob
b0605e4cd1
Merge branch 'master' into fix/scroll-events
2021-01-13 11:12:14 +01:00
Jakob Schrettenbrunner
8b2b0f6abc
add richer ScrollEvent that includes the source
2021-01-12 22:32:20 +00:00
joyceerhl
0f9240207d
Move API view classes under common/public
2021-01-11 20:29:15 -08:00
Daniel Imms
fd222b58b5
Merge branch 'master' into fix/select-all
2021-01-11 09:29:35 -08:00
joyceerhl
5e6e65c8da
Get dupe of src/browser/public/Terminal compiling
2021-01-10 22:18:41 -08:00
joyceerhl
157055c03b
Original files
2021-01-10 22:17:31 -08:00
Slawek Zachcial
676aabc3ed
Merge branch 'master' into add-osc-4
2021-01-09 16:57:18 +01:00
Slawek Zachcial
5c33e4008d
Make _parseAnsiColorChange available for tests in TestInputHandler
2021-01-09 14:30:24 +01:00
Daniel Imms and PretaSOFT
7145130835
Fix onBufferChange event not working after reset
...
Co-authored-by: Megan Rogge (megan.rogge@microsoft.com )
2021-01-05 09:32:09 -08:00
Slawek Zachcial
7d3f5375a8
Implement OSC 4 for list of colors
2020-12-09 22:30:23 +01:00
Slawek Zachcial
5a74ce2e59
Add Ansi color change positive test
2020-11-30 22:00:04 +01:00
Slawek Zachcial
f4a56389cd
Fix quotes
2020-11-29 23:22:31 +01:00
Slawek Zachcial
52b64beefc
Make InputHandler parseAnsiColorChange private
2020-11-29 16:30:05 +01:00
condichen@tencent.com
b7695d2fd6
fix shift+cmd+a will Select all
2020-11-28 00:56:45 +08:00
Slawek Zachcial
4c6dc45d20
Merge branch 'master' into add-osc-4
2020-11-24 22:54:26 +01:00
Tony Mottaz
88f0b91056
add altClickMovesCursor option to Services type
2020-11-22 10:01:02 -06:00
Tony Mottaz
04e2bdd6ec
Make alt+click behavior configurable
2020-11-20 19:50:03 -06:00
David Sanders
af2f744186
use Array.includes
2020-11-11 09:43:17 -08:00
Slawek Zachcial
e6917d1933
Clarify color spec description
2020-11-08 22:07:24 +01:00
Slawek Zachcial
6535995753
Update OSC 4 description to match #3036
2020-11-08 22:05:25 +01:00