7131 Commits

Author SHA1 Message Date
Kovid Goyal
02fec34629 ... 2016-12-01 11:31:06 +05:30
Kovid Goyal
7f7d826365 Enable timers for the UI thread as well 2016-12-01 08:31:35 +05:30
Kovid Goyal
fbb787e850 ... 2016-12-01 08:19:49 +05:30
Kovid Goyal
489504cda5 More charset fixes
Properly use the G0/G1 charsets only to map characters being drawn to
the screen. And only decode bytes using either Latin-1 or UTF-8,
defaulting to UTF-8 at startup/reset.
2016-11-30 23:36:10 +05:30
Kovid Goyal
83787fbc40 Add the missing op terminfo code 2016-11-30 22:27:41 +05:30
Kovid Goyal
4b8600d6a5 ... 2016-11-30 22:06:50 +05:30
Kovid Goyal
635ce4dc10 Implement CHT 2016-11-30 21:55:20 +05:30
Kovid Goyal
9e68cc559a Implement CBT 2016-11-30 21:50:54 +05:30
Kovid Goyal
93808cf757 Fix HPA 2016-11-30 21:34:37 +05:30
Kovid Goyal
a388681524 Code to replay dumped commands 2016-11-30 21:21:23 +05:30
Kovid Goyal
b343625b9f Add a simple test for SGR 2016-11-30 21:16:04 +05:30
Kovid Goyal
ce1514963b Various charset related fixes
Fix changing of charset not taking effect immediately while parsing a
single block of bytes

Fix incorrect mapping of C0 control codes in some of the charsets
2016-11-30 19:44:41 +05:30
Kovid Goyal
c713712f89 Restore support for charsets other than UTF-8 2016-11-30 17:48:52 +05:30
Kovid Goyal
7d99fcdfff ... 2016-11-30 17:11:06 +05:30
Kovid Goyal
f36aa19c3f Pull out the dispatching of unicode characters 2016-11-30 16:29:31 +05:30
Kovid Goyal
45a5190a0d Handle CSI codes that start with a ; 2016-11-30 16:03:45 +05:30
Kovid Goyal
a095fffc67 Finish up the margins test 2016-11-30 15:12:00 +05:30
Kovid Goyal
2b39b3a053 Change tests now that we dont report ch number for simple commands 2016-11-30 15:06:17 +05:30
Kovid Goyal
95d3f20832 Do not ignore CUP when y is out of margins, instead clamp to margins 2016-11-30 14:58:34 +05:30
Kovid Goyal
f7ad3120cf Fix handling of NEL 2016-11-30 12:17:09 +05:30
Kovid Goyal
7bf15a0f29 Also save/restore DESCNM state 2016-11-30 11:25:59 +05:30
Kovid Goyal
f71e266764 Implement reverse video and DECSCNM 2016-11-30 11:12:34 +05:30
Kovid Goyal
f0b1af964b Fix clearing of tab stops 2016-11-30 10:21:37 +05:30
Kovid Goyal
eb3bf71ef7 ... 2016-11-30 09:46:33 +05:30
Kovid Goyal
5e8cec0842 DRYer 2016-11-30 09:44:28 +05:30
Kovid Goyal
df704c87c7 Wrap the tab related functions 2016-11-30 09:29:29 +05:30
Kovid Goyal
5b78769d28 Report unshifted mode numbers 2016-11-30 09:04:59 +05:30
Kovid Goyal
f9fa73cd43 ... 2016-11-30 08:52:32 +05:30
Kovid Goyal
49f3a4213c ... 2016-11-30 08:51:40 +05:30
Kovid Goyal
56cfc7df3b Handle leading zeroes in CSI codes 2016-11-30 08:50:55 +05:30
Kovid Goyal
d132ba5a48 Implement DECALN 2016-11-30 08:34:02 +05:30
Kovid Goyal
358b2bc5f1 Modify tests for SGR reporting 2016-11-30 08:15:40 +05:30
Kovid Goyal
f25b2d241f Support for turning off auto-repeat 2016-11-30 08:03:29 +05:30
Kovid Goyal
256a5318f1 Improve dumping of SGR command 2016-11-30 07:51:25 +05:30
Kovid Goyal
3604b8c3e5 Allow using None for wait_events to mean no timeout 2016-11-30 07:36:46 +05:30
Kovid Goyal
ec53436565 Restore set_color_table_color which was accidentally removed during the multiple windows refactor 2016-11-30 00:20:39 +05:30
Kovid Goyal
7cc39404c8 Fix exceptions during shutdown 2016-11-30 00:14:40 +05:30
Kovid Goyal
6e003b0901 A few more GIL releases 2016-11-29 22:36:04 +05:30
Kovid Goyal
77aef3b2af Release GIL during OpenGL draw calls 2016-11-29 21:51:11 +05:30
Kovid Goyal
7dc3b986be Clean up the timer handling code 2016-11-29 21:46:45 +05:30
Kovid Goyal
2d3b7d15c7 Allow passing a timeout to waitevents 2016-11-29 20:39:47 +05:30
Kovid Goyal
948f66b065 Forgot to wrap a function 2016-11-29 20:30:52 +05:30
Kovid Goyal
9c44243a30 Change the default mouse cursor to the beam cursor 2016-11-29 20:28:09 +05:30
Kovid Goyal
f92a213de3 Fix load og libglfw3.so on travis 2016-11-29 20:13:39 +05:30
Kovid Goyal
6b5f20eb64 Remove unused code 2016-11-29 20:09:37 +05:30
Kovid Goyal
f713117908 Get rid of the GLFW ctypes bindings 2016-11-29 20:09:18 +05:30
Kovid Goyal
a52c4670dc ... 2016-11-29 16:14:34 +05:30
Kovid Goyal
b1869c8369 Start work on replacing glfw ctypes bindings 2016-11-29 15:50:58 +05:30
Kovid Goyal
1a1c647793 See if we can get glfw installed on travis 2016-11-29 14:42:17 +05:30
Kovid Goyal
ff83aa2730 Get rid of glfw_constants 2016-11-29 14:20:21 +05:30