5284 Commits

Author SHA1 Message Date
Kovid Goyal
8a34fede55
More typing work 2020-03-06 08:35:23 +05:30
Kovid Goyal
686b5f297e
Ensure glfw is imported from the correct place 2020-03-06 08:23:01 +05:30
Kovid Goyal
6609d219f4
Add type checking for glfw module as well 2020-03-06 07:59:55 +05:30
Kovid Goyal
804998ca69
oops 2020-03-06 07:55:54 +05:30
Kovid Goyal
de5254469c
Fix #2412 2020-03-06 07:48:41 +05:30
Kovid Goyal
ef879bab9c
Fix #2411 2020-03-06 07:19:33 +05:30
Kovid Goyal
f729985346
More typing work
Also move notification_activated into a standalone function which will
hopefully fix #2410
2020-03-06 07:07:18 +05:30
Kovid Goyal
1e998b6a3f
Use mypy in daemon mode 2020-03-05 20:38:51 +05:30
Kovid Goyal
77e9460eea
Make mypy a bit stricter 2020-03-05 19:57:28 +05:30
Kovid Goyal
81a58186c6
Drop support for python 3.5 2020-03-05 18:31:20 +05:30
Kovid Goyal
ac149be2bb
py3.5 compat 2020-03-05 18:23:45 +05:30
Kovid Goyal
a76a163db5
kitty.config is typed 2020-03-05 18:17:21 +05:30
Kovid Goyal
4ae59d3f77
The launch module is now fully typed 2020-03-05 16:20:56 +05:30
Kovid Goyal
d83a450260
A command for test.py to generate the typing stubs and run mypy 2020-03-05 15:58:30 +05:30
Kovid Goyal
61acc0784e
Dont store generated stubs in source control 2020-03-05 15:50:54 +05:30
Kovid Goyal
f05890719d
Add type checking for the various CLI options objects 2020-03-05 15:47:12 +05:30
Kovid Goyal
0f4e7921ee
Create an auto-generated stub file for the kitty Options object 2020-03-04 19:14:50 +05:30
Kovid Goyal
ec8c96b8e6
diff kitten: Highlight pyi files as python 2020-03-04 11:52:58 +05:30
Kovid Goyal
f0b29e15c3
The utils and constants modules are now fully typechecked 2020-03-04 10:26:41 +05:30
Kovid Goyal
8ad62106e0
No global typing issues in all code (excluding tests) 2020-03-04 08:10:20 +05:30
Kovid Goyal
36eb52424f
No top level typing issues for kittens 2020-03-04 07:49:28 +05:30
Kovid Goyal
c9ce2f47dc
No top level typing issues found in kitty package 2020-03-04 07:31:22 +05:30
Kovid Goyal
5035ed61ee
More typing work 2020-03-04 06:26:02 +05:30
Kovid Goyal
a4cc10c41b
More typing work 2020-03-04 06:10:57 +05:30
Kovid Goyal
5730ce5f53
More typing work 2020-03-03 20:18:24 +05:30
Kovid Goyal
27524bfc3d
Restore global key definitions so as not to break third party kittens that might use them 2020-03-03 15:06:10 +05:30
Kovid Goyal
8843ded1c9
Refactor key encoding
Cannot have key names in global namespace as not all key names are valid
python identifiers. So move them into a dict.
2020-03-03 14:54:30 +05:30
Kovid Goyal
64b497589f
Start adding typing info 2020-03-03 14:31:25 +05:30
Kovid Goyal
ee48fd7151
... 2020-03-03 12:25:02 +05:30
Kovid Goyal
291cd5e23f
Also switch badges in manual 2020-03-01 17:13:27 +05:30
Kovid Goyal
be668cfd9a
Switch status badge to github actions 2020-03-01 17:11:39 +05:30
Kovid Goyal
f889c1c75a
Switch to using GitHub actions for CI 2020-03-01 17:02:53 +05:30
Kovid Goyal
55c5f3e9fd
... 2020-02-29 11:17:01 +05:30
Kovid Goyal
242d335095
A new `copy_and_clear_or_interrupt` function
Fixes #2403
2020-02-28 21:17:05 +05:30
Kovid Goyal
c763db94ce
Fix #2401 2020-02-28 10:28:01 +05:30
Kovid Goyal
a391732600
left half of cell should happen only if url is truly empty 2020-02-28 07:37:10 +05:30
Kovid Goyal
06b45fcace
Fix #2402 2020-02-28 07:19:31 +05:30
Kovid Goyal
bdac5f7d5b
Add a bounds check in text_for_range() as well 2020-02-27 21:33:42 +05:30
Kovid Goyal
74865efddb
move break condition into for loop 2020-02-27 21:31:42 +05:30
Kovid Goyal
b1f4d16692
Left in a printf() 2020-02-27 21:23:27 +05:30
Kovid Goyal
01b8e2c3f5
... 2020-02-27 21:16:48 +05:30
Kovid Goyal
8c1ef94b26
Bounds check for apply selection
Fixes #2400
2020-02-27 20:27:20 +05:30
Kovid Goyal
507fbc7abf
Fix #2399 2020-02-27 07:14:44 +05:30
Kovid Goyal
2f8002c567
Add a test for #1616 2020-02-26 09:20:08 +05:30
Kovid Goyal
551e28d8e0
Run tests python3.8 on linux 2020-02-26 07:34:31 +05:30
Kovid Goyal
e84163e838
Remove unused code 2020-02-26 07:31:43 +05:30
Kovid Goyal
3a64b835fb
DRYer 2020-02-26 07:28:39 +05:30
Kovid Goyal
08a44ed4dd
Fix #2397
Have to send selection data to GPU on first render.
2020-02-26 07:22:22 +05:30
Kovid Goyal
4b8cc23a86
Fix selection marking incorrect when scrolling 2020-02-25 22:06:53 +05:30
Kovid Goyal
c4b2de8939
Refactor function to not combine input and output parameters 2020-02-25 21:49:31 +05:30