Commit Graph

50 Commits

Author SHA1 Message Date
Kovid Goyal
77292a16d6
Make shebangs consistent
Follow PEP 0394 and use /usr/bin/env python so that the python in the
users venv is respected. Not that the kitty python files are meant to be
executed standalone anyway, but, whatever.

Fixes #6810
2023-11-11 08:32:05 +05:30
Kovid Goyal
d6afe6f2cb
Move entrypoints into their own module 2022-06-03 11:12:13 +05:30
Kovid Goyal
135818f34b
Note about __main__.py with +launch 2022-05-31 07:56:01 +05:30
Kovid Goyal
0904dec810
Fix exception on ctrl+c exit of program under --hold 2022-02-28 11:02:06 +05:30
Kovid Goyal
7a156d5ef3
Also fix --hold not working if program to be executed is not found 2022-02-17 11:16:08 +05:30
Kovid Goyal
185c3320a4
Fix --hold not working with some programs that cause keyboard interrupt to be passed to python 2022-02-17 11:12:33 +05:30
Kovid Goyal
39c77a9486
Allow running the launch actions by invoking the kitty executable with +open 2022-02-05 17:39:48 +05:30
Kovid Goyal
1454af2d41
macOS: Allow customizing the launch actions 2022-01-07 18:43:07 +05:30
Kovid Goyal
b9f21f285c
Remove non-namespaced launch points
As far as I can tell these were non-namespaced by accident
2022-01-07 14:34:41 +05:30
Kovid Goyal
a155b081b7
Make hold_till_enter re-useable 2022-01-07 12:13:20 +05:30
Kovid Goyal
9aefcfe56f
Make --hold a bit more robust 2022-01-05 08:14:22 +05:30
Kovid Goyal
f0e8ab8f31
Drop support for python 3.6
It is being EOLed next month (https://www.python.org/dev/peps/pep-0494/)
which is when I expect the next kitty release as well
2021-11-18 22:44:41 +05:30
Kovid Goyal
f0e7344bc8
Use bundled CA certs on Linux binary builds as well
Makes it consistent with macOS
2021-08-16 22:47:53 +05:30
Kovid Goyal
a2e25331a5
Dont check Linux CA locations on macOS 2021-08-16 22:23:24 +05:30
Kovid Goyal
cc96cb1c75
Check a few more locations for CA certificates 2021-08-16 22:09:39 +05:30
Kovid Goyal
56cb628ee8
macOS: Bundle mozilla's root certificates with kitty
Apple doesnt provide root certificates in a form useable by openssl
which means all ssl based network requests fail, so bundle our own

Fixes #3936
2021-08-16 17:16:03 +05:30
Kovid Goyal
a49f6799de
Print usage when no args provided to +runpy 2021-08-08 09:10:47 +05:30
Kovid Goyal
2105940286
Better error message for +launch 2021-06-28 19:38:51 +05:30
Kovid Goyal
4b7600f3a5
Nicer error message on unknown entry point 2021-06-25 10:25:54 +05:30
Kovid Goyal
8d63d50aea
Sort imports 2021-06-07 15:01:30 +05:30
Kovid Goyal
3360aa6c33
Fix #3695 2021-06-07 14:57:38 +05:30
Kovid Goyal
2eccc81fee
Show a message about how to exit --hold 2021-03-10 14:26:11 +05:30
Kovid Goyal
c440470276
Entry point to edit config file 2020-11-04 16:30:29 +05:30
Kovid Goyal
cda1e28b32
more typing work 2020-03-12 13:51:51 +05:30
Kovid Goyal
8a34fede55
More typing work 2020-03-06 08:35:23 +05:30
Kovid Goyal
54ad1d103a
Fix #2087 2019-10-23 18:21:34 +05:30
Luflosi
a792c94ccf
Use python3 shebang for all python scripts
Fixes #1624.
Use python3 shebang for all python scripts as python still defaults to python2 on many systems.
2019-05-20 14:44:24 +02:00
Luflosi
d8eeed2296
Convert HTTP URLs to HTTPS URLs where possible 2019-04-24 01:27:24 +02:00
Kovid Goyal
732108109e
Nicer error message when sphinx-build is not in PATH 2018-09-06 21:23:03 +05:30
Kovid Goyal
96cbfe946c
Fix legacy form of invoking icat broken in 0.12.0
Fixes #850
2018-09-02 15:59:18 +05:30
Kovid Goyal
f9b1f6be5c
Fix #809 2018-08-20 10:24:09 +05:30
Kovid Goyal
82f6fbff77
Add a --hold command line option to stay open after the child process exits
Fixes #667
2018-06-22 13:52:03 +05:30
Kovid Goyal
ca41e642fb
Nicer error message when no kitten name is specified 2018-06-09 13:47:49 +05:30
Kovid Goyal
d89861f601
Code to support the linux bundle 2018-05-31 23:02:38 +05:30
Kovid Goyal
2be2f6aa0c
Make icat a kitten
The kittens framework did not exist when icat was first written.
2018-05-09 20:26:30 +05:30
Kovid Goyal
808750a76a
Rename url_hints to just hints 2018-04-12 09:23:48 +05:30
Kovid Goyal
9dc571d8a9
Add a conveninet shortcut to test kittens 2018-04-12 08:52:00 +05:30
Kovid Goyal
ad706f9924
Make the list of URL prefixes configurable 2018-02-14 12:48:44 +05:30
Kovid Goyal
b78612aebd
Entry point to run python on cmd line and from scripts 2018-02-08 09:11:13 +05:30
Kovid Goyal
7780d52930
DRYer 2018-01-12 11:27:23 +05:30
Kovid Goyal
6a23b4ee47
Allow kitty @xxx in addition to kitty @ xxx 2018-01-12 11:23:34 +05:30
Kovid Goyal
f3cb68ee40
Framework for remote control 2018-01-08 12:48:14 +05:30
Kovid Goyal
88e9c21a3b
Ensure a kitty executable is on PATH even when running from source 2018-01-05 14:56:01 +05:30
Kovid Goyal
973352a98d
Allow + prefixing of special invocations 2018-01-05 14:36:31 +05:30
Kovid Goyal
43bf056f09
Add a command to list fonts 2017-11-10 11:02:32 +05:30
Kovid Goyal
6362499fc2
Switch to using glad instead of glew 2017-11-08 15:15:25 +05:30
Kovid Goyal
49aeae4aad
Fix invocation of the image cat script as kitty icat 2017-10-05 17:19:17 +05:30
Kovid Goyal
72626279c2
Start work on image cat utility 2017-10-03 21:31:42 +05:30
Kovid Goyal
9eea178890
Make --debug-gl have zero runtime cost when absent 2017-09-15 10:45:22 +05:30
Kovid Goyal
de072b3b42 Initial commit 2016-10-14 12:33:27 +05:30