1472 Commits

Author SHA1 Message Date
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
bdb6723564
Remove unused code 2017-10-22 17:13:38 +05:30
Kovid Goyal
d6bf5aa011
Remove unused code 2017-10-22 17:13:11 +05:30
Kovid Goyal
b5c4fbb42b
... 2017-10-22 17:11:58 +05:30
Kovid Goyal
1276bd6f5d
Simply code to query xrdb for Xft.dpi 2017-10-22 17:09:30 +05:30
Kovid Goyal
be6e41c400
version 0.4.0 v0.4.0 2017-10-22 09:48:43 +05:30
Kovid Goyal
a9e26952e9
... 2017-10-22 09:29:19 +05:30
Kovid Goyal
348cdf5d5d
Expose wcwidth to the python api 2017-10-22 09:22:32 +05:30
Kovid Goyal
a527cc88f3
... 2017-10-21 14:03:48 +05:30
Kovid Goyal
17cfd98545
... 2017-10-21 13:46:19 +05:30
Kovid Goyal
09c723380c
Refactoring to allow using kitty in other projects 2017-10-21 12:16:46 +05:30
Kovid Goyal
ff35bd61a8
API to easily get primary monitor size from python 2017-10-21 10:10:57 +05:30
Kovid Goyal
eb5fe234f4
API to easily render a Screen object from python 2017-10-21 10:04:56 +05:30
Kovid Goyal
113494b4c6
Re-organize a few blurbs 2017-10-20 18:24:13 +05:30
Kovid Goyal
b7e8bd2faf
Fix error when using @arg for stdin and no match found 2017-10-20 18:02:39 +05:30
Kovid Goyal
aaf94b61ed
... 2017-10-20 18:00:28 +05:30
Kovid Goyal
9a1b85081e
Allow creating shortcuts to run arbitrary programs in new windows/tabs 2017-10-20 17:49:52 +05:30
Kovid Goyal
626847f2f5
Document specifying a different program for pass_selection_to_program 2017-10-20 15:43:09 +05:30
Kovid Goyal
6b8d38e4b9
... 2017-10-20 13:46:50 +05:30
Kovid Goyal
227d21184a
Add a new shortcut to pass the current selection to an external program 2017-10-20 13:30:23 +05:30
Kovid Goyal
f947c2eecb
Redirect std streams to devnull when opening URL 2017-10-20 13:07:48 +05:30
Kovid Goyal
6a42a510bf
... 2017-10-20 12:38:26 +05:30
Kovid Goyal
efc8b898f8
Allow combining multiple independent actions into a single shortcut
Fixes #128
2017-10-20 12:31:36 +05:30
Kovid Goyal
e8a1ada5bf
Allow passing arguments to functions mapped to shortcuts 2017-10-20 11:22:43 +05:30
Kovid Goyal
73b6cc433b
... 2017-10-20 11:15:33 +05:30
Kovid Goyal
4f6084c9f2
Use /proc/sef instead of /proc/getpid() 2017-10-20 10:57:06 +05:30
Kovid Goyal
6c9615df0d
... 2017-10-18 14:03:05 +05:30
Kovid Goyal
073c330800
Better wayland detection 2017-10-18 14:02:12 +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
d4e5bc4141
Fix compilation with glfw 3.2 2017-10-18 09:13:19 +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
9322b210ff
typo 2017-10-17 21:41:33 +05:30
Kovid Goyal
3d7e8e3e84
typo 2017-10-17 20:43:22 +05:30
Kovid Goyal
40d80c7833
Remove note about macOS versions + graphics 2017-10-17 17:59:45 +05:30
Kovid Goyal
e908484491
Also output error number when glewInit() fails
glewGetErrorString() is incomplete/not maintained
2017-10-17 16:47:38 +05:30
Kovid Goyal
25913f77e0
Add a clean action to setup.py 2017-10-17 13:35:54 +05:30
Kovid Goyal
66803e6873
Workaround to get graphics working on Apple's buggy products
Apparently some macOS OpenGL drivers cannot handle using a VAO with
attributes that have different divisors/apply to different shaders. So
use a separate VAO for graphics rendering. This is a small performance hit,
but is the price of supporting substandard computers.
2017-10-17 12:15:52 +05:30
Kovid Goyal
40722f42d3
... 2017-10-17 10:18:03 +05:30
Kovid Goyal
192b16e9ff
Add Lenna to the test dir so the gr.py script becomes self-sufficient 2017-10-17 10:15:38 +05:30
Kovid Goyal
02dc637ed0
Use the correct blend function for text 2017-10-17 09:51:21 +05:30
Kovid Goyal
2aa29f1873
typo 2017-10-16 22:05:29 +05:30
Kovid Goyal
199d5b34a4
Add note about needing High Sierra for graphics 2017-10-16 22:04:05 +05:30
Kovid Goyal
48b98c583e
Fix incorrect scrolling of images with specified number of rows 2017-10-16 22:02:55 +05:30
Kovid Goyal
090ee5b846
Disable graphics on older macOS machines
I give up, trying to work around Apple's buggy drivers without even
having a machine to test my workarounds on is too hard. Simply disable
graphics on macOS < 10.13

Fixes #141
2017-10-16 21:23:29 +05:30
Kovid Goyal
55db07c79f
Only display Lenna if she exists in the gr script 2017-10-16 18:52:17 +05:30
Kovid Goyal
75e84a4519
Let the gr.pt script run with python2 as well 2017-10-16 18:50:57 +05:30
Kovid Goyal
e679fa9a1c
Possible fix for #141
Presumably on older macOS versions the Apple OpenGL drivers cannot handle both
non-sequential and non-zero based binding locations. Sigh.
2017-10-16 18:39:49 +05:30
Kovid Goyal
6f0922d5e3
Merge branch 'master' of https://github.com/eldentyrell/kitty
Fix #143
2017-10-16 16:57:51 +05:30
Elden Tyrell
4663133871 correct off-by-one error in initial tabstops so emacs renders properly 2017-10-16 03:50:11 -07:00
Kovid Goyal
3f8b2184a6
Add a sanity check to ensure the attribute location binding worked 2017-10-13 10:06:12 +05:30