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
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
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
2f07ed9976
simplify stack save in parser
2021-01-23 13:05:57 +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
coderaiser
f63f1f7b95
chore: lint using putout
2020-06-01 00:04:17 +03:00
Daniel Imms
9817754f92
Fix explicit access
2020-04-14 06:23:11 -07:00
Daniel Imms
2e9b4779c9
Migrate from typedef to explicit-function-return-type
2020-03-28 07:10:08 -07:00
Daniel Imms
2c0669c865
Fix some naming conventions issues
2020-03-28 06:57:55 -07:00
Daniel Imms
88a50d3779
Fix most rules
2020-03-28 06:51:36 -07:00
Jörg Breitbart
6d66c6a0c8
tests for function identifiers; fix stacking of multiple intermediates
2019-09-02 10:07:12 +02:00
Jörg Breitbart
87eb942d32
remove comment
2019-08-23 20:21:58 +02:00
Jörg Breitbart
a7e64ad537
fix bugs
2019-08-23 15:32:05 +02:00
Jörg Breitbart
a2c266a005
rename handler type aliases to XyType to avoid ambiguity with class based types
2019-08-11 18:45:34 +02:00
Jörg Breitbart
3a5d0bd368
fix escHandlers type and disposing
2019-08-11 18:38:35 +02:00
Jörg Breitbart
b35383915d
cleanup interfaces
2019-08-11 17:55:24 +02:00
Jörg Breitbart
f677516e95
better interfaces, cleanup
2019-08-11 16:45:35 +02:00
Jörg Breitbart
1286eb618a
rename to OscHandler and DcsHandler
2019-08-08 19:41:12 +02:00
Jörg Breitbart
7252a5921d
cleanup parser rules and docs
2019-07-31 14:20:36 +02:00
Jörg Breitbart
83a1340cc4
abort and cleanup subparsers for CAN and SUB
2019-07-31 12:03:12 +02:00
Jörg Breitbart
812fc5e6ec
register functions by prefix/intermediate/final bytes
2019-07-31 04:49:01 +02:00
Jörg Breitbart
0106bdcb73
parser tests for addDcsHandler
2019-07-26 18:11:31 +02:00
Jörg Breitbart
bffa78585e
test cases for payload limits
2019-07-26 17:35:37 +02:00
Jörg Breitbart
a9b2728c07
add DCS interface, payload limits for DCS/OSC
2019-07-26 15:59:24 +02:00
Jörg Breitbart
82aaef29f1
dcs parser tests
2019-07-26 15:07:24 +02:00
Jörg Breitbart
c9b7aefb88
reset internal state on unhook
2019-07-26 02:56:48 +02:00
Jörg Breitbart
6606024c2b
support for multiple DCS handler
2019-07-26 01:58:42 +02:00
Jörg Breitbart
f985c30847
add addEscHandler
2019-07-25 22:44:08 +02:00
Jörg Breitbart
f626e1c93d
fix OSC parsing
2019-07-25 20:38:14 +02:00
Jörg Breitbart
d8364d749c
remove null type from dcsHandler
2019-07-25 01:15:18 +02:00
Jörg Breitbart
e6ac138620
Merge branch 'master' into cleanup_sequences_files
2019-07-06 20:45:50 +02:00
Jörg Breitbart
6d22772d16
fix REP to be in line with vttest
2019-07-06 18:09:38 +02:00
Jörg Breitbart
5f8d07ac62
cleanup Types.ts, docs for ZDM
2019-07-04 13:50:03 +02:00
Jörg Breitbart
6a691f2548
fix parser docs
2019-07-04 13:01:18 +02:00
Jörg Breitbart
7bd0325128
remove example snippet from docs
2019-07-04 12:42:43 +02:00
Jörg Breitbart
009b3c6ef8
simply error parsing state
2019-07-04 12:38:14 +02:00
Jörg Breitbart
75d41abf33
re-enable commented out tests
2019-07-04 12:37:32 +02:00