Commit Graph
79 Commits
Author SHA1 Message Date
Kovid Goyal 0fcce6ec58 Remove trailing whitespace from native code files 2017-12-20 08:44:47 +05:30
Kovid Goyal 7f19424f2d Fix for kitty sometimes not detecting child death on macOS 2017-12-13 22:20:11 +05:30
Kovid Goyal 5407fa72b4 Start work on rendering with CoreText 2017-12-10 20:28:06 +05:30
Kovid Goyal c17c6cae4c Support S8C1T mode
That is, eight bit control codes. When in S8C1T mode, kitty will send
only eight bit control codes to the client.
2017-12-05 20:21:12 +05:30
Kovid Goyal b08f4ab593 Use startup notifications in single instance mode 2017-12-01 12:15:35 +05:30
Kovid Goyal c8c1a3618c Get the user cache dir path on macOS 2017-12-01 12:15:35 +05:30
Kovid Goyal d2654db6f0 oops 2017-11-10 14:57:44 +05:30
Kovid Goyal f25d2ea540 Rip out the old sprite update code 2017-11-09 16:45:45 +05:30
Kovid Goyal 3643a78b18 Start work on line based rendering 2017-11-09 16:45:44 +05:30
Kovid Goyal 6362499fc2 Switch to using glad instead of glew 2017-11-08 15:15:25 +05:30
Kovid Goyal 8672a29503 Use a C based SIGCHLD handler
Running python code in signal handlers makes me nervous
2017-10-23 12:42:03 +05:30
Kovid Goyal eb5fe234f4 API to easily render a Screen object from python 2017-10-21 10:04:56 +05:30
Kovid Goyal e558880e8f Load glfw primary selection functions dynamically
Allows kitty to run on wayland. Also dont try to set the window
icon on wayland.
2017-10-18 12:46:32 +05:30
Kovid Goyal 7f3c808e66 Use glfw 3.3 functions for the primary selection
Allows us to drop the dependency on xsel for systems with glfw 3.3
2017-10-17 21:44:56 +05:30
Kovid Goyal 8e64895c23 Framework for testing graphics command parsing 2017-09-30 13:51:47 +05:30
Kovid Goyal 44c897a61a Translate key presses to bytes using a lookup table 2017-09-15 10:45:27 +05:30
Kovid Goyal a27004da35 Port drag select to C 2017-09-15 10:45:26 +05:30
Kovid Goyal c683725434 Get rid of the timers infrastructure
It is not needed with a pure state machine.
Note that drag scrolling still has to be ported from using
timers.
2017-09-15 10:45:24 +05:30
Kovid Goyal 6e4b977128 Track application focus state in global state 2017-09-15 10:45:24 +05:30
Kovid Goyal ca5eb4feb5 Start working on central object to track state 2017-09-15 10:45:23 +05:30
Kovid Goyal 7f6befe4f9 Remove the python OpenGL wrapper as it is no longer needed 2017-09-15 10:45:23 +05:30
Kovid Goyal 9eea178890 Make --debug-gl have zero runtime cost when absent 2017-09-15 10:45:22 +05:30
Kovid Goyal a1c9c90fc8 Start work on moving shaders.py to C 2017-09-15 10:45:20 +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 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 f5dbe36cf3 Remove the now useless change tracking code 2017-09-15 10:45:16 +05:30
Kovid Goyal 012b209a56 Update CELL data structure 2017-09-15 10:45:15 +05:30
Kovid Goyal 1197549e5b Remove the last use of the python threading module 2017-09-15 10:45:14 +05:30
Kovid Goyal 52ab534e22 Move setting of IUTF8 into child-monitor.c 2017-09-15 10:45:12 +05:30
Kovid Goyal 234bb07b67 Initial attempt at moving all threading code into a single file 2017-09-15 10:45:10 +05:30
Kovid Goyal 6127d2d122 Make the sprite map globally accessible from C code as well as python code
The lock was removed as the Python GIL is sufficient to serialize access
to the SpriteMap structure.
2017-09-15 10:45:10 +05:30
Kovid Goyal ed15f2f97e Get the layout of the Cell structure 2017-09-15 10:45:09 +05:30
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 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 a922b4c789 Add instrumentation to analyse kitty performance 2017-08-26 10:24:12 +05:30
Kovid Goyal 58644e2b37 Function to get all fonts on macOS 2017-08-24 15:05:42 +05:30
Kovid Goyal ed50595aca Add a --detach option
Allows kitty to detach itself from the controlling terminal. Useful
when launching kitty from a GUI environment with broken stdout/stderr or
when launching from a terminal that you want to close later without
affecting the launched kitty instance.
2017-08-03 22:35:47 +05:30
Kovid Goyal 76e3101d9b Hide all symbols 2017-06-07 11:19:53 +05:30
Kovid Goyal 29988c94fa Fix #70 2017-04-28 09:21:40 +05:30
Kovid Goyal e2ac9ec118 Fix building on OS X 2017-02-09 09:18:41 +05:30
Kovid Goyal 02ef3c6dc8 Linux: Use libfontconfig directly instead of calling fc-match
There are apparently some linux systems out there with versions of
fontconfig that do not understanf the :charset query when passed to
fc-match. See #46
2017-02-08 21:52:10 +05:30
Kovid Goyal cb5d6547e5 Add an option to use a modern wcwidth() instead of the system one 2017-01-12 19:28:51 +05:30
Kovid Goyal dedaf6caf7 Fix Ctrl/Alt+key not working on systems with alternate keyboard layouts
Fixes #17
2017-01-12 10:17:21 +05:30
Kovid Goyal f15233b655 Start work on CoreText font rasterization 2017-01-11 03:34:43 +05:30
Kovid Goyal 067c5f25b8 ... 2016-12-02 17:17:44 +05:30