Jörg Breitbart
ac9b71549a
add missing type decl
2018-05-21 22:39:00 +02:00
Jörg Breitbart
328086f206
declare types in InputHandler.print
2018-05-21 22:29:05 +02:00
Jörg Breitbart
b3e8197111
changes in InputHandler.print:
...
- call updateRange only at start and end
- make all repeated terminal accesses local
- set full charCode (codepoint) in terminal buffer
2018-05-21 20:58:23 +02:00
Jörg Breitbart
e97882e5ad
use string templates in DCS responses
2018-05-21 18:52:27 +02:00
Jörg Breitbart
8386ec1c19
Merge branch 'new_parser' of https://github.com/jerch/xterm.js into new_parser
2018-05-21 18:34:51 +02:00
Jörg Breitbart
ceb1432f75
remove deprecated FIXME
2018-05-21 18:33:59 +02:00
Jörg Breitbart
02893dcbb8
fix some docs
2018-05-07 23:28:40 +02:00
Jörg Breitbart
a37449a8cd
some docs cleanup
2018-05-06 23:33:52 +02:00
Jörg Breitbart
551ccc0f2f
explicit arguments for fallback handlers
2018-05-06 23:02:54 +02:00
Jörg Breitbart
108aa5ab31
test Uint8Array and Array; fix Uint8Array type
2018-05-06 22:42:07 +02:00
Jörg Breitbart
6cefb4c634
more test cases
2018-05-05 16:26:07 +02:00
Jörg Breitbart
0f8d22547e
fix identation
2018-05-02 01:23:46 +02:00
Jörg Breitbart
c069e94a4c
Merge branch 'master' into new_parser
2018-05-02 00:42:23 +02:00
Jörg Breitbart
a1a4cac113
dcs handler implementations
2018-05-02 00:22:35 +02:00
Jörg Breitbart
25ff77af03
fix transition definitions
2018-05-01 22:22:40 +02:00
Jörg Breitbart
536b3a8def
fix member scope and tests
2018-05-01 22:17:26 +02:00
Jörg Breitbart
d090cbe4b9
some docs
2018-05-01 21:54:15 +02:00
Jörg Breitbart
9a32852e61
single arg for DCS and ESC handler registration
2018-05-01 21:07:13 +02:00
Jörg Breitbart
89cf45c514
save func pointer in local var
2018-05-01 20:51:36 +02:00
Jörg Breitbart
0c200f2feb
remove collect from args where not needed
2018-05-01 20:41:41 +02:00
Jörg Breitbart
728eeebcc7
set member through ctor argument
2018-05-01 20:33:48 +02:00
Jörg Breitbart
c7fdff2f40
several changes:
...
- missing escape sequence related methods in InputHandler implemented
- created namespace for C1 control codes
2018-05-01 17:50:41 +02:00
Jörg Breitbart
2eeb7b8ea5
ESC and OSC method entries for InputHandler
2018-05-01 16:36:12 +02:00
Jörg Breitbart
0535f5d1b3
unified method signature in InputHandler, moved some CSI condition into methods (FIXME: needs intermediate handler)
2018-05-01 14:58:16 +02:00
Jörg Breitbart
aeae688b4c
multiple changes in InputHandler:
...
- remove prefix/postfix
- optional collect arg where needed
- tempPrefix handler removed
- replaced .bind with () => notation
- moved callback registering to ctor again
2018-05-01 14:32:08 +02:00
Jörg Breitbart
af392a6305
cleanup, some docs, temp fix for InputHandler tests
2018-04-30 23:35:54 +02:00
Jörg Breitbart
ba6fcddc43
real merge of InputHandler and ParserTerminal
2018-04-30 17:04:29 +02:00
Jörg Breitbart
dbc6b12ec2
missing whitespace
2018-04-30 15:44:21 +02:00
Jörg Breitbart
645cd2eb2c
fix test cases
2018-04-30 15:38:17 +02:00
Jörg Breitbart
b158176862
local .buffer in parse
2018-04-30 14:25:29 +02:00
Jörg Breitbart
a1035269d5
add array fallback for TransitionTable
2018-04-30 11:27:10 +02:00
Jörg Breitbart
f5375c3a99
fix error in esc handler call
2018-04-30 02:06:57 +02:00
Jörg Breitbart
a55a7f3695
some cleanup
2018-04-30 01:49:29 +02:00
Jörg Breitbart
826cca7088
fix import issue
2018-04-30 01:32:49 +02:00
Jörg Breitbart
0f3d82a2a5
faster print action
2018-04-29 23:48:30 +02:00
Jörg Breitbart
dc14f5226d
fix InputHandler
2018-04-29 19:34:43 +02:00
Jörg Breitbart
27a3347c3f
Merge branch 'master' into new_parser
2018-04-29 19:30:35 +02:00
Jörg Breitbart
2d77fcf2fb
merge ParserTerminal with InputHandler
...
- quick'n dirty merge of classes - ParserTerminal is subclass of InputHandler
- basic fallback handlers implemented
- test regressions due to multiple changes in EscapeSequenceParser
- runtime down to 2.3s
- TODO: fix tests, implement DCS functions, full merge of classes
2018-04-29 19:10:47 +02:00
Jörg Breitbart
9d2bbd199c
remove term from EscapeSequenceParser
2018-04-29 17:23:38 +02:00
Jörg Breitbart
b72cdadd11
move switches to jump tables
2018-04-29 15:48:19 +02:00
Jörg Breitbart
9eb107a6e9
first handler API changes
2018-04-24 18:53:19 +02:00
Jörg Breitbart
c0ab2b9a7c
rename enums
2018-04-24 13:06:03 +02:00
Jörg Breitbart
a058395014
move addChar to ParserTerminal
2018-04-24 12:27:43 +02:00
Jörg Breitbart
55993ada9b
merge with remote
2018-04-24 00:35:55 +02:00
Jörg Breitbart
c8910cc5fe
utilize more typescript features
2018-04-24 00:23:46 +02:00
Jörg Breitbart
f9767073ba
new parser
2018-04-24 00:21:27 +02:00
Jörg Breitbart
9593cb0cc8
readonly lines; fix for MockBuffer
2018-04-23 22:40:24 +02:00
Jörg Breitbart
7ed7505ce4
change _lines to lines in Buffer
2018-04-23 22:18:05 +02:00
Jörg Breitbart
6ff4ae7194
revert to local const buffer
2018-04-23 22:06:24 +02:00
Jörg Breitbart
13d4ab6f8d
remove remnant
2018-04-23 18:32:32 +02:00
Jörg Breitbart
0d7ecd9129
prefetch row in addChar
2018-04-23 18:26:06 +02:00
Jörg Breitbart
dd096c2e8b
const buffer
2018-04-23 17:19:42 +02:00
Jörg Breitbart
0decd77253
map Buffer.lines directly to Buffer._lines
2018-04-23 16:59:55 +02:00
Jörg Breitbart
2bfe74490a
make .buffer local where appropriate
2018-04-23 16:29:19 +02:00
Jörg Breitbart
20760d09e4
utilize more typescript features
2018-04-22 04:34:42 +02:00
Jörg Breitbart
73f40ef7d2
merge with master
2018-04-21 16:04:17 +02:00
Jörg Breitbart
9b085d2bdd
new parser
2018-04-21 16:02:46 +02:00
Jörg Breitbart
fb7e5d590c
new parser
2018-04-21 05:12:24 +02:00
Jörg Breitbart
cd5827e69b
higher timeout for test case
2017-07-18 22:19:55 +02:00
Jörg Breitbart
598a729fc0
fixes #799 - lookup table is created on first wcwidth call for char > 127
2017-07-17 19:07:02 +02:00
Jörg Breitbart
6ed5c9e64d
speed test commented out
2017-07-16 23:53:41 +02:00
Jörg Breitbart
1232c00dd1
some fixes
...
- commenting the bit shifts
- switching to Uint32Array
- conditional for TypedArray
- fixing Math.floor slowdown in bisearch
2017-07-16 23:40:36 +02:00
Jörg Breitbart
5d87b54390
test speedup defensive
2017-07-16 14:09:25 +02:00
Jörg Breitbart
6733c6ce1f
test speedup defensive
2017-07-16 14:05:55 +02:00
Jörg Breitbart
ba2d0e8df2
fixing whitespaces
2017-07-16 13:57:04 +02:00
Jörg Breitbart
1722248065
fixing whitespaces
2017-07-16 13:48:48 +02:00
Jörg Breitbart
dd0fcb6320
fixing whitespaces
2017-07-16 13:44:00 +02:00
Jörg Breitbart
b965d0a0af
faster wcwidth with lookup table
2017-07-16 13:26:38 +02:00
Jörg Breitbart
8e7eeff45c
fixing test cases
2016-07-21 12:47:19 +02:00
Jörg Breitbart
ec7130b46f
fixing arrow key sequences
2016-07-21 12:39:36 +02:00
Jörg Breitbart
82f5de3bb9
Merge branch 'tests_xterm' of https://github.com/jerch/xterm.js into tests_xterm
2016-07-12 21:27:06 +02:00
Jörg Breitbart
dcf30b40c0
cleanup xterm test file
2016-07-12 21:26:38 +02:00
Jörg Breitbart
3b89134c05
selecting sucessful tests
2016-07-12 21:26:38 +02:00
Jörg Breitbart
d76d50677d
adding xterm comparison tests
2016-07-12 21:26:38 +02:00
Jörg Breitbart
308535dc5c
cleanup xterm test file
2016-07-09 14:57:57 +02:00
Jörg Breitbart
246b0edaa1
disable refresh for tests
2016-07-06 00:23:10 +02:00
Jörg Breitbart
4afa08da8d
fixing #147 and #162
2016-07-05 23:54:15 +02:00
Jörg Breitbart
dc5b525559
selecting sucessful tests
2016-07-05 14:55:03 +02:00
Jörg Breitbart
36930e9661
adding xterm comparison tests
2016-07-05 11:36:30 +02:00
Jörg Breitbart
c3bc59b5e1
adding unicode test cases
2016-06-26 12:50:06 +02:00
Jörg Breitbart
e3126ba3f8
cleanup
2016-06-25 10:12:21 +02:00
Jörg Breitbart
f951abb7a9
wcwidth only for printables
2016-06-24 16:25:00 +02:00
Jörg Breitbart
874ba72f4e
wcwidth calculation
2016-06-24 14:16:12 +02:00