10875 Commits

Author SHA1 Message Date
Kovid Goyal
df4c90d94b Double the screen repaint delay
Greatly improves performance when a lot of output is being generated.
2016-11-19 17:07:13 +05:30
Kovid Goyal
d87e4eeb95 Speed un reading from child process
Do the reading into a pre-allocated buffer to avoid mallocs in the inner
loop.
2016-11-19 16:59:12 +05:30
Kovid Goyal
6e7f537850 DRYer 2016-11-19 15:06:56 +05:30
Kovid Goyal
3989413ff9 ... 2016-11-19 14:41:40 +05:30
Kovid Goyal
b996b96695 Remove unused code 2016-11-19 14:34:23 +05:30
Kovid Goyal
12c19d3db1 ... 2016-11-19 13:55:49 +05:30
Kovid Goyal
42976b1048 Allow OSC codes that consist of only a numeric component 2016-11-19 13:48:49 +05:30
Kovid Goyal
561134d1aa ... 2016-11-19 13:36:07 +05:30
Kovid Goyal
b38055b912 Ensure charsets are always valid 2016-11-19 13:13:36 +05:30
Kovid Goyal
ce6a4ca21e oops 2016-11-19 13:13:15 +05:30
Kovid Goyal
04d8e8f619 Implement OSC codes to change foreground and background colors 2016-11-19 12:50:50 +05:30
Kovid Goyal
0ccdebe7f0 ... 2016-11-19 11:44:53 +05:30
Kovid Goyal
e3b9bfd4bb Use a circular buffer for the savepoints
Avoids mallocs during normal operation.
2016-11-19 11:03:21 +05:30
Kovid Goyal
6293b37ead Fix no cursor position update after drawing small amounts of text 2016-11-18 16:46:04 +05:30
Kovid Goyal
14c6d327fd Also output draw commands when dumping commands 2016-11-18 16:29:15 +05:30
Kovid Goyal
1426f87c99 ... 2016-11-18 15:49:39 +05:30
Kovid Goyal
e73b30c663 Fix window title not correct 2016-11-18 15:43:09 +05:30
Kovid Goyal
f5d041ac33 ... 2016-11-18 15:33:29 +05:30
Kovid Goyal
3ce2c0553f Use the new native screen class 2016-11-18 15:30:59 +05:30
Kovid Goyal
6c39b07552 Implement Screen.resize 2016-11-18 12:38:31 +05:30
Kovid Goyal
a120b25286 Stub for DCS codes 2016-11-18 11:31:48 +05:30
Kovid Goyal
4ac03a0064 Implement parsing of OSC codes 2016-11-18 11:16:17 +05:30
Kovid Goyal
1edba3ce42 Implement DECSCUSR 2016-11-17 13:50:20 +05:30
Kovid Goyal
03fd30b4f4 Implement DECSTBM 2016-11-17 11:13:28 +05:30
Kovid Goyal
586304ad6c Implement DSR 2016-11-17 10:59:15 +05:30
Kovid Goyal
4624525419 Use unsigned int for cursor pos 2016-11-17 08:56:26 +05:30
Kovid Goyal
f56da9392c Implement SGR 2016-11-17 08:34:55 +05:30
Kovid Goyal
f5fa40de81 More CSI handlers 2016-11-16 20:19:31 +05:30
Kovid Goyal
745ba5c4cb Allow parameter less CSI sequences 2016-11-16 19:53:38 +05:30
Kovid Goyal
d0c2821339 Start work on connecting CSI callbacks 2016-11-16 13:40:38 +05:30
Kovid Goyal
e50fc2067c Use a single REPORT_COMMAND macro 2016-11-16 12:11:25 +05:30
Kovid Goyal
f6faecbaaa Start work on CSI parser
Also cleaup error reporting and command dumping macros
2016-11-16 11:44:41 +05:30
Kovid Goyal
5208500eb9 Implement basic ESC code handling 2016-11-16 09:07:15 +05:30
Kovid Goyal
44a8cc062e Add testing for command dumping as well 2016-11-14 20:40:54 +05:30
Kovid Goyal
5069b50fb2 Add simple parsing tests 2016-11-14 20:10:01 +05:30
Kovid Goyal
9c002ef23c ... 2016-11-14 15:27:02 +05:30
Kovid Goyal
93eee78c7f Some work on the stream parser 2016-11-14 15:25:27 +05:30
Kovid Goyal
3e3f140452 Fill in a few blanks 2016-11-13 22:33:58 +05:30
Kovid Goyal
a734fb79e6 All screen tests pass with the new screen code 2016-11-13 22:23:28 +05:30
Kovid Goyal
bfaaf41a9f ... 2016-11-13 17:01:45 +05:30
Kovid Goyal
604c4e599c ... 2016-11-13 16:52:59 +05:30
Kovid Goyal
fa106c2585 More work on migrating Screen 2016-11-13 16:51:14 +05:30
Kovid Goyal
3c73da224a Ignore errors when creating savepoints as the overhead fo tracking them was too high 2016-11-13 14:16:56 +05:30
Kovid Goyal
9a7b4263e0 More work on the screen replacement
The first set of tests now pass
2016-11-13 14:10:57 +05:30
Kovid Goyal
5dc0b9af13 Fix unicode data generation 2016-11-13 13:57:02 +05:30
Kovid Goyal
2cf0243974 Compile in mtime order 2016-11-13 10:27:24 +05:30
Kovid Goyal
fab2213c25 More work on native streams 2016-11-13 10:24:00 +05:30
Kovid Goyal
62fc6cc4a0 Get it compiling again 2016-11-12 17:35:24 +05:30
Kovid Goyal
bead388d81 More work on making Screen native 2016-11-12 15:25:10 +05:30
Kovid Goyal
2c0523246d More work on making Screen native 2016-11-12 13:52:18 +05:30