12003 Commits

Author SHA1 Message Date
Kovid Goyal
ccce454183 ... 2016-11-10 23:29:32 +05:30
Kovid Goyal
470d88a950 Speed up the update_cell_data inner loop 2016-11-10 23:20:42 +05:30
Kovid Goyal
44e8a6c3c7 Start work on sprite map 2016-11-10 17:22:00 +05:30
Kovid Goyal
9069c08016 ... 2016-11-10 12:55:36 +05:30
Kovid Goyal
bbb13a3172 Tests for Screen.index() 2016-11-10 12:54:38 +05:30
Kovid Goyal
b20aea2e7d Fix index() not clearing lines 2016-11-10 12:52:40 +05:30
Kovid Goyal
b12af6f21d Test for LineBuf.clear()
Also raise IndexError instead of ValueError for line and char access
2016-11-10 12:05:50 +05:30
Kovid Goyal
d874155f1e ... 2016-11-10 11:53:10 +05:30
Kovid Goyal
71640aefb2 Cursor.reset_display_attrs() 2016-11-10 11:12:20 +05:30
Kovid Goyal
8f8e9baedc Remove the no longer needed data types module 2016-11-10 11:07:39 +05:30
Kovid Goyal
1884cc17c1 A ColorProfile to manage colors 2016-11-10 10:07:47 +05:30
Kovid Goyal
32e4de1c79 Faster color table 2016-11-10 08:00:06 +05:30
Kovid Goyal
6334b39935 More tests for rewrap 2016-11-09 19:21:08 +05:30
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