2890 Commits

Author SHA1 Message Date
Kovid Goyal
c6780ca463 ... 2016-11-09 19:11:32 +05:30
Kovid Goyal
7108584e7a A more accurate, but slower rewrap algorithm 2016-11-09 17:47:03 +05:30
Kovid Goyal
81c522ae12 A better repr implementation for Line 2016-11-09 13:11:52 +05:30
Kovid Goyal
8623e7b6e7 More tests for rewrap 2016-11-09 11:19:17 +05:30
Kovid Goyal
0904939e4a Some test for rewrap 2016-11-08 21:25:26 +05:30
Kovid Goyal
9003dcd79b Start work on re-wrap 2016-11-08 15:56:13 +05:30
Kovid Goyal
d9daca8e36 Use stdbool 2016-11-08 11:03:47 +05:30
Kovid Goyal
0a69f00ab4 Re-enable all screen tests 2016-11-08 09:53:51 +05:30
Kovid Goyal
3dc74413a5 Line.clear_text() 2016-11-08 09:00:18 +05:30
Kovid Goyal
9869b30ce5 LineBuf.delete_lines 2016-11-07 20:55:40 +05:30
Kovid Goyal
17e59ccc22 LineBuf.insert_lines 2016-11-07 16:15:46 +05:30
Kovid Goyal
8c0b908222 Allow building with debug symbols
Also allow running individual tests
2016-11-07 13:23:03 +05:30
Kovid Goyal
f63a4e7015 Implement the index operations
Scrolling of line buffer one line at a time, optionally saving the
scrolled of line in a history buffer.
2016-11-07 13:03:28 +05:30
Kovid Goyal
30128043d2 Fix allocation of cursor objects 2016-11-07 12:40:49 +05:30
Kovid Goyal
0cf57e2afe Always use the C library wcwidth() so that the cursor does not go out of sync 2016-11-05 16:02:16 +05:30
Kovid Goyal
20b5534c71 LineBuf.set_continued 2016-11-04 22:41:35 +05:30
Kovid Goyal
7687e75de4 LineBuf.set_attribute 2016-11-04 22:32:50 +05:30
Kovid Goyal
e3fdd3089d LineBuf.clear() 2016-11-04 15:11:08 +05:30
Kovid Goyal
d324baf979 __eq__ for Line 2016-11-04 14:56:31 +05:30
Kovid Goyal
8324ec1c2b Start work on using the new LineBuf class 2016-11-04 14:44:46 +05:30
Kovid Goyal
c14ae0c516 Change the default number of scrollback lines 2016-11-04 13:15:39 +05:30
Kovid Goyal
b3cc7ae1d5 ... 2016-11-03 21:34:49 +05:30
Kovid Goyal
aa1302b699 Set texture interpolation to nearest to prevent fringing 2016-11-03 21:26:15 +05:30
Kovid Goyal
90f3c45a1f Set default font size to 11pts 2016-11-03 21:25:11 +05:30
Kovid Goyal
91e6ae3658 ... 2016-11-03 20:38:05 +05:30
Kovid Goyal
731c83eaf5 Only set face size once. Also calculate cell width more precisely 2016-11-03 20:25:53 +05:30
Kovid Goyal
87d51e511c ... 2016-11-03 19:56:02 +05:30
Kovid Goyal
c0e078a3fa Explicitly close all fds other than the three std ones before execing() 2016-11-03 19:49:48 +05:30
Kovid Goyal
0f4db0e91e fork() before creating the main window so that we dont share any env/state/fds 2016-11-03 19:49:25 +05:30
Kovid Goyal
1e04b8fdca Explicitly free sprites on normal program termination 2016-11-03 19:43:11 +05:30
Kovid Goyal
0e4b846590 Show a nice error message when execing() the child fails 2016-11-03 19:28:57 +05:30
Kovid Goyal
a045f4f0e6 Retrieve child exit status before shutting down 2016-11-03 18:04:39 +05:30
Kovid Goyal
51e5ed9599 ... 2016-11-03 17:25:11 +05:30
Kovid Goyal
cc85acea1d Turn off OpenGL error checking for performance 2016-11-03 16:57:18 +05:30
Kovid Goyal
58a7331b9f Get rid of PyOpenGL 2016-11-03 16:52:47 +05:30
Kovid Goyal
24f9941261 More OpenGL bindings 2016-11-03 16:44:07 +05:30
Kovid Goyal
436fedccea Finish OpenGL shader bindings 2016-11-03 16:34:01 +05:30
Kovid Goyal
99f788ead5 More OpenGL bindings 2016-11-03 15:14:59 +05:30
Kovid Goyal
5d77499cb1 OpenGL bindings for programs 2016-11-03 13:15:30 +05:30
Kovid Goyal
06b42a7e1c More OpenGL bindings 2016-11-03 10:30:35 +05:30
Kovid Goyal
cded235526 ... 2016-11-02 21:27:46 +05:30
Kovid Goyal
3ecf3751ef Start work on OpenGL bindings 2016-11-02 21:27:20 +05:30
Kovid Goyal
8636ddf3cd ... 2016-11-02 20:51:04 +05:30
Kovid Goyal
724a4113d5 Migrate the datatypes tests 2016-11-02 19:36:28 +05:30
Kovid Goyal
4133fc3db7 Implement Line.set_char 2016-11-02 19:36:17 +05:30
Kovid Goyal
a82b00ffeb Set width of cleared chars to 1 2016-11-02 15:09:28 +05:30
Kovid Goyal
e120f796aa Implement line shifting 2016-11-02 15:09:07 +05:30
Kovid Goyal
38e8462277 Get rid of more boilerplate 2016-11-02 11:48:52 +05:30
Kovid Goyal
c0d5719eb4 Reduce the size of the boilerplate 2016-11-02 11:26:36 +05:30
Kovid Goyal
437593d4ee Tests for the new datatypes 2016-11-02 10:44:35 +05:30