Kovid Goyal
2ac8ad39c9
Implement destruction of OS windows
2017-12-01 12:15:32 +05:30
Kovid Goyal
e11a50ae83
Work on migrating the code needed for application startup
2017-12-01 12:15:32 +05:30
Kovid Goyal
f0003f223a
Start work on multi-window support
...
Port the glfw.c module and various bits of code that depend on it.
2017-12-01 12:15:31 +05:30
Kovid Goyal
65b212fa1b
Add a config option to control the line thickness for box drawing characters
...
Fixes #183
2017-11-26 11:24:27 +05:30
Kovid Goyal
604e82fd65
oops
2017-11-11 21:15:19 +05:30
Kovid Goyal
7941ac1810
Remove no longer needed mac specific OpenGL extensions check
2017-11-08 15:59:55 +05:30
Kovid Goyal
6362499fc2
Switch to using glad instead of glew
2017-11-08 15:15:25 +05:30
Kovid Goyal
ba1883c1de
X11: Add support for startup notifications
...
Prevents busy cursor in i3 root window after launching and quitting
kitty immediately.
2017-11-07 23:19:15 +05:30
Kovid Goyal
e43a26d64c
Better error message when GLEW initialization fails
2017-10-25 14:32:44 +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
0df0fd6a0b
Handle EINTR in reap_zombies
2017-10-22 19:29:13 +05:30
Kovid Goyal
2b9198866a
...
2017-10-22 19:25:51 +05:30
Kovid Goyal
6350652009
Reap zombies in a signal handler
...
Avoids relying on jernel behavior, which may not be portable across all
unices
2017-10-22 19:13:13 +05:30
Kovid Goyal
d239db8492
Simply reaping of dead processes
...
Let the kernel do the reaping, since we do not care about the exit code
anyway. This should also fix #151 .
2017-10-22 17:42:49 +05:30
Kovid Goyal
09c723380c
Refactoring to allow using kitty in other projects
2017-10-21 12:16:46 +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
9322b210ff
typo
2017-10-17 21:41:33 +05:30
Kovid Goyal
cd88505ca7
Fix #120
2017-09-25 17:47:30 +05:30
Kovid Goyal
93ca469d85
Only set the glfw error callback immediately before initializing glfw
...
Avoids spurious glfw not initialized error messages in case fo
exceptions that occur before the call to init
2017-09-18 08:46:25 +05:30
Kovid Goyal
6d8b59cb61
Track window and application titles in C
...
Allows removing of the last bit fo python from the render loop
2017-09-15 10:45:24 +05:30
Kovid Goyal
13ac050bf8
Move cursor render call to C
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
a261e1f57d
Fix erro on python built without threading
2017-09-15 10:45:19 +05:30
Kovid Goyal
21b799905d
Move the main loop into the C module
2017-09-15 10:45:12 +05:30
Kovid Goyal
02870d7221
Move the signal received handler into the C module
2017-09-15 10:45:12 +05:30
Kovid Goyal
d4991424f9
Set the python thread switch interval to forever
2017-09-15 10:45:11 +05:30
Kovid Goyal
94c4c00859
Move signal handling code into the C module
2017-09-15 10:45:11 +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
0365828a5b
Remove all python threading related code
2017-09-15 10:45:10 +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
2b0596c7f9
Add a basic global menubar on macOS
...
Fixes #111
2017-08-22 20:59:56 +05:30
Kovid Goyal
4fdb55e260
Ensure window with hidden chrome is resizable on macOS
2017-08-21 21:06:34 +05:30
Kovid Goyal
e1b276786b
Fix #112
2017-08-21 19:10:06 +05:30
Kovid Goyal
101a50b0ff
Do not use GL_ARB_texture_buffer_object_rgb32
...
This is not available on macOS using Intel graphics cards
2017-08-21 12:46:09 +05:30
Kovid Goyal
a9f3a698d2
Also check for required OpenGL extensions on OS X
2017-08-21 11:21:57 +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
6b933e33f5
If the saved initial window size fails, retry creating the window with a standard size. Fixes #98
2017-07-30 08:32:51 +05:30
Kovid Goyal
a86931f401
Use the new glfw API to set WM_CLASS if available
2017-07-27 18:11:23 +05:30
Kovid Goyal
304d42d4c2
Fix #93
...
Ignore invalid language names returned by the coca framework on macOS
2017-07-16 22:49:05 +05:30
Kovid Goyal
62db44c71e
macOS: Ensure the LANG environment variable is set
...
Fixes #90
2017-06-25 20:44:16 +05:30
Kovid Goyal
836724709e
Add an option to hide the window title bar on macOS
...
Fixes #84
2017-06-03 09:57:29 +05:30
Kovid Goyal
800291c147
Call set_locale() at startup
2017-05-15 12:06:06 +05:30
Kovid Goyal
c504b96b60
Add a --dump-bytes option, useful for reproducing problems from users computers
2017-04-05 00:13:31 +05:30
Kovid Goyal
7d0c05e20d
Add a command line option to debug OpenGL calls
2017-02-24 14:38:30 +05:30
Kovid Goyal
28f0dc1e51
oops
2017-02-10 01:12:07 +05:30