Commit Graph

17973 Commits

Author SHA1 Message Date
Kovid Goyal
6176607ac4 Initial stab at switching to poll() instead of select()
Also avoid python code in the child monitoring inner loop
2017-09-15 10:45:07 +05:30
Kovid Goyal
40254625d9 Fix timers not being replaced 2017-09-15 10:45:07 +05:30
Kovid Goyal
29b16d0856 Fix timers not being re-sorted on replace 2017-09-15 10:45:07 +05:30
Kovid Goyal
ff72b1f96f Limit sprite co-ordinates to fit in uint16_t 2017-09-15 10:45:07 +05:30
Kovid Goyal
a429bcbb22 Dont use the glfw timer function as it requires glfwInit 2017-09-15 10:45:07 +05:30
Kovid Goyal
3c7305b93c ... 2017-09-15 10:45:07 +05:30
Kovid Goyal
f9b1a71edd Move the timers implementation to C
It is used int he hot loop for monitoring the child process
2017-09-15 10:45:06 +05:30
Kovid Goyal
2de0c82f18 Fix incorrect full keyboard mode escape codes 2017-09-15 10:44:56 +05:30
Kovid Goyal
cdb12f2049 Fix #122 2017-09-13 14:20:20 +05:30
Kovid Goyal
ca310fc2f2 Add a note about border visibility 2017-09-12 06:52:33 +05:30
Kovid Goyal
273210cb97 Ignore resize requests for very small sizes. Fixes #119 2017-08-28 20:31:01 +05:30
Kovid Goyal
b957ef441c Avoid function name conflict with index from string.h
Hopefully Fixes #118
2017-08-27 21:17:18 +05:30
Kovid Goyal
31775c8b50 ... 2017-08-26 15:19:33 +05:30
Kovid Goyal
8199802b44 Remove unused code 2017-08-26 15:10:55 +05:30
Kovid Goyal
941c553172 Implement an option to adjust the line height
Fixes #116
2017-08-26 14:14:51 +05:30
Kovid Goyal
8ee1c851a1 Optimize the bit twiddling in sprite_position_for 2017-08-26 13:05:18 +05:30
Kovid Goyal
4ce9f550ac Inline to_color for an easy performance boost 2017-08-26 10:52:24 +05:30
Kovid Goyal
7041616837 More semantic handling of profile arg when compiling 2017-08-26 10:36:04 +05:30
Kovid Goyal
6a3c812470 Forgot to remove python profiling from one place 2017-08-26 10:35:11 +05:30
Kovid Goyal
778b090467 ... 2017-08-26 10:25:50 +05:30
Kovid Goyal
a922b4c789 Add instrumentation to analyse kitty performance 2017-08-26 10:24:12 +05:30
Kovid Goyal
e43bf891e4 Print a warning when the specified font family does not exist 2017-08-25 09:55:46 +05:30
Kovid Goyal
fa8203ff31 CoreText: Use a scoring function to find the best matching font
Also if the specified family does not exist, fallback to Menlo
2017-08-25 09:53:11 +05:30
Kovid Goyal
212207d667 Test function for family matching 2017-08-24 22:27:28 +05:30
Kovid Goyal
95a3c51a4b Remove unused code 2017-08-24 22:22:55 +05:30
Kovid Goyal
697a7b78b3 macOS: Fix selecting fonts using full names (including sub-family) not working
Fixes #83
2017-08-24 19:16:12 +05:30
Kovid Goyal
58644e2b37 Function to get all fonts on macOS 2017-08-24 15:05:42 +05:30
Kovid Goyal
ddcd4daede macOS: Fix wide characters having their right edges slightly truncated 2017-08-24 12:46:41 +05:30
Kovid Goyal
678bd97e1f Merge branch 'patch-1' of https://github.com/leonardt/kitty 2017-08-24 08:01:52 +05:30
Leonard (Lenny) Truong
2eb4bf7a1d Typo fix in default kitty.conf 2017-08-23 14:28:51 -07:00
Kovid Goyal
e0e517d6ec Modify VAO API to allow using multiple buffers 2017-08-23 17:32:46 +05:30
Kovid Goyal
b6679ff7b5 version 0.3.0 v0.3.0 2017-08-23 07:25:37 +05:30
Kovid Goyal
de80003103 macOS: Show the current window title in the global menu bar 2017-08-22 22:46:46 +05:30
Kovid Goyal
2b0596c7f9 Add a basic global menubar on macOS
Fixes #111
2017-08-22 20:59:56 +05:30
Kovid Goyal
3d15a1d786 Fix textures not being rendered in a render call that also uploads textures
The active texture should not be unbound in the upload texture functions
2017-08-22 18:34:25 +05:30
Kovid Goyal
1fcb865202 ... 2017-08-22 18:19:46 +05:30
Kovid Goyal
1c56de5605 Change default usage mode to GL_STREAM_DRAW 2017-08-22 18:10:28 +05:30
Kovid Goyal
adbce71fb4 Remove unused code 2017-08-22 18:04:40 +05:30
Kovid Goyal
00e3ea8c08 Remove unused code 2017-08-22 17:32:40 +05:30
Kovid Goyal
36432c8616 API to conveniently download data from a vertex buffer 2017-08-22 12:51:30 +05:30
Kovid Goyal
03e0b9de04 Use vertex buffers instead of texture buffers
Apparently, integer samplers for textFetch() are broken on some macOS
Intel drivers. Fixes #101
2017-08-22 12:08:35 +05:30
Kovid Goyal
4364163ceb Use a single buffer for multiple vertex arrays 2017-08-22 07:59:51 +05:30
Kovid Goyal
ffd9ec653d Allow programs to be used with multiple vertex array objects 2017-08-22 00:24:45 +05:30
Kovid Goyal
ee3c3e4cb4 Binding for DeleteVertexArray 2017-08-22 00:18:03 +05:30
Kovid Goyal
277c46908d Remove unused code 2017-08-21 23:55:39 +05:30
Kovid Goyal
8e27c80e1f A spot of refactoring 2017-08-21 23:26:30 +05:30
Kovid Goyal
afa767c3a8 Support vertex attrib divisors 2017-08-21 23:24:05 +05:30
Kovid Goyal
67ec04fba3 Also use the buffer manager for vertex arrays 2017-08-21 23:10:25 +05:30
Kovid Goyal
f35bf7f1ba Move buffer management into its own class 2017-08-21 22:53:13 +05:30
Kovid Goyal
4fdb55e260 Ensure window with hidden chrome is resizable on macOS 2017-08-21 21:06:34 +05:30