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
Kovid Goyal
aa526db772
Another place that was using python threading APIs
2017-09-15 10:45:16 +05:30
Kovid Goyal
1f9510ab9e
Fix incorrect decoration colors
2017-09-15 10:45:16 +05:30
Kovid Goyal
b8acb9b133
Pass cell data to GPU directly
...
Converts update_cell_range() to a simple memcpy(). The GPU has to do
roughly the same amount of work (there is one extra attribute, and one
extra calculation for reverse video).
2017-09-15 10:45:16 +05:30
Kovid Goyal
51231b7eb2
Migrate tabs to also use the new buffer mapping API
2017-09-15 10:45:16 +05:30
Kovid Goyal
029ff84f09
Remove the change tracker related tests
...
The change tracker no longer exists
2017-09-15 10:45:16 +05:30
Kovid Goyal
f5dbe36cf3
Remove the now useless change tracking code
2017-09-15 10:45:16 +05:30
Kovid Goyal
906937149e
Copy cell data to the GPU in a single pass
2017-09-15 10:45:15 +05:30
Kovid Goyal
f324d8ec4f
Fix a couple of bugs in the buffer map API
2017-09-15 10:45:15 +05:30
Kovid Goyal
2089d2bfdf
Fix main_loop() not returning NULL when an error has occurred
2017-09-15 10:45:15 +05:30
Kovid Goyal
281cb50780
API to map OpenGL buffers
2017-09-15 10:45:15 +05:30
Kovid Goyal
012b209a56
Update CELL data structure
2017-09-15 10:45:15 +05:30
Kovid Goyal
c0593d9f1f
Get rid of update_screen
...
No longer needed.
2017-09-15 10:45:15 +05:30
Kovid Goyal
f655112bda
Directly copy the sprite positions into the GPU buffer
2017-09-15 10:45:15 +05:30
Kovid Goyal
c4680aae2c
Track sprite positions in the Cell structure
2017-09-15 10:45:15 +05:30
Kovid Goyal
a8d5ad2c1a
...
2017-09-15 10:45:15 +05:30
Kovid Goyal
333eb3534a
...
2017-09-15 10:45:14 +05:30
Kovid Goyal
1a42356f68
Forgot to close stdin_read_fd in the master process
2017-09-15 10:45:14 +05:30
Kovid Goyal
1197549e5b
Remove the last use of the python threading module
2017-09-15 10:45:14 +05:30
Kovid Goyal
d2749f5ccc
Sigh
2017-09-15 10:45:14 +05:30
Kovid Goyal
6379b3f898
Forgot to modify the fds array in remove children
2017-09-15 10:45:14 +05:30
Kovid Goyal
c97afd7b44
Handle unexpected closing of child fds gracefully
2017-09-15 10:45:14 +05:30