Commit Graph

1161 Commits

Author SHA1 Message Date
Kovid Goyal
1e37041b50 Fix rendering of horizontal borders 2017-09-15 10:45:21 +05:30
Kovid Goyal
2a24199c90 Migrate the borders program 2017-09-15 10:45:21 +05:30
Kovid Goyal
5905216f96 Use instanced rendering for the borders 2017-09-15 10:45:21 +05:30
Kovid Goyal
3ddf963c5c API to map VAO buffers 2017-09-15 10:45:21 +05:30
Kovid Goyal
778c3c075a Migrate the cursor program 2017-09-15 10:45:21 +05:30
Kovid Goyal
d2b3052918 Code to get uniform locations 2017-09-15 10:45:21 +05:30
Kovid Goyal
8ce2794a8a More work on migrating shader code 2017-09-15 10:45:20 +05:30
Kovid Goyal
c1dc4d0575 ... 2017-09-15 10:45:20 +05:30
Kovid Goyal
9c184c794a Migrate function to compile programs 2017-09-15 10:45:20 +05:30
Kovid Goyal
d3f2620caf Migrate GL setup and error handling code 2017-09-15 10:45:20 +05:30
Kovid Goyal
a1c9c90fc8 Start work on moving shaders.py to C 2017-09-15 10:45:20 +05:30
Kovid Goyal
83f4b6e391 Remove unused code 2017-09-15 10:45:20 +05:30
Kovid Goyal
cc9ed734cf Get rid of prepare_for_render as it is not needed anymore 2017-09-15 10:45:20 +05:30
Kovid Goyal
98daddc39a Move selection render tracking into the Screen class 2017-09-15 10:45:20 +05:30
Kovid Goyal
408c719c5f Move selection tracking into the Screen class 2017-09-15 10:45:20 +05:30
Kovid Goyal
5caea75115 ... 2017-09-15 10:45:20 +05:30
Kovid Goyal
19bd068599 Raise an error on negative scroll amounts 2017-09-15 10:45:19 +05:30
Kovid Goyal
2490199e52 Move scroll tracking into the screen object 2017-09-15 10:45:19 +05:30
Kovid Goyal
726a6370ad ... 2017-09-15 10:45:19 +05:30
Kovid Goyal
00b8db26fc Add libunistring on travis 2017-09-15 10:45:19 +05:30
Kovid Goyal
544c402c9f Move word selection code into C, avoiding the need for the python regex module 2017-09-15 10:45:19 +05:30
Kovid Goyal
9bea1001f9 Speedup unicode character property lookup
Use libunistring instead of building predicates from the unicode
database
2017-09-15 10:45:19 +05:30
Kovid Goyal
63882e1fdc Make selection smarter
It now does not add trailing blank cells on selected lines to the
selection.
2017-09-15 10:45:19 +05:30
Kovid Goyal
5103381c27 DRYer 2017-09-15 10:45:19 +05:30
Kovid Goyal
56e55ddbc3 Fix incorrect handling of auto for bold and italic fonts on macOS 2017-09-15 10:45:19 +05:30
Kovid Goyal
a261e1f57d Fix erro on python built without threading 2017-09-15 10:45:19 +05:30
Kovid Goyal
5ceec08d32 Use buffer mapping for the tabbar selbuf 2017-09-15 10:45:18 +05:30
Kovid Goyal
92d53daf22 Dont spam resize_pty events, include a small timeout 2017-09-15 10:45:18 +05:30
Kovid Goyal
99acc4adcb Fix a couple of recursive timer adds 2017-09-15 10:45:18 +05:30
Kovid Goyal
827d086c54 Allow re-adding of timers during timers_call() 2017-09-15 10:45:18 +05:30
Kovid Goyal
fb820faf11 Prevent timers being added in a call 2017-09-15 10:45:18 +05:30
Kovid Goyal
0aecae288f Avoid extra function call when waking up for cursor blink rendering 2017-09-15 10:45:18 +05:30
Kovid Goyal
3274327fe7 Speedup as_unicode by avoiding an unnecessary malloc/free 2017-09-15 10:45:18 +05:30
Kovid Goyal
f97127f587 ... 2017-09-15 10:45:18 +05:30
Kovid Goyal
b8c34c3ee2 Move implementation of screen_line() into C 2017-09-15 10:45:18 +05:30
Kovid Goyal
4ae3abb3cb Fix selection being cleared when drag scrolling 2017-09-15 10:45:18 +05:30
Kovid Goyal
5c1747b2c8 Use buffer mapping for the selection buffer 2017-09-15 10:45:17 +05:30
Kovid Goyal
2611678855 ... 2017-09-15 10:45:17 +05:30
Kovid Goyal
746a20a11d Cleanup data-types.h 2017-09-15 10:45:17 +05:30
Kovid Goyal
3072eac222 DRYer sprites 2017-09-15 10:45:17 +05:30
Kovid Goyal
a4580f2126 DRYer glfw 2017-09-15 10:45:17 +05:30
Kovid Goyal
4a27793651 DRYer CoreText 2017-09-15 10:45:17 +05:30
Kovid Goyal
5ed4b29e4b DRYer fontconfig module 2017-09-15 10:45:17 +05:30
Kovid Goyal
b8678871df Remove some unnecessary declarations from data-types.h 2017-09-15 10:45:17 +05:30
Kovid Goyal
457bf8c289 Move gl binding code into its own module 2017-09-15 10:45:17 +05:30
Kovid Goyal
dd8be35922 ... 2017-09-15 10:45:17 +05:30
Kovid Goyal
b4d1cfea50 ... 2017-09-15 10:45:16 +05:30
Kovid Goyal
7113d5c293 Use a mapped buffer to send color table to the GPU 2017-09-15 10:45:16 +05:30
Kovid Goyal
bc97cfa024 Use a null to represent a blank rather than a space
This has performance benefits when clearing (can use a single
memset). Also allows detecting trailing whitespace on lines correctly.
2017-09-15 10:45:16 +05:30
Kovid Goyal
382daacb73 Remove the support for multiple top-level glfw windows 2017-09-15 10:45:16 +05:30