Kovid Goyal
30b8991a73
DRYer
2020-10-25 13:47:12 +05:30
Kovid Goyal
75a94bcd96
Improving MIME type detection for some common file types when they are missing from the system MIME database
...
Also allow the user to specify their own database via mime.types in the
kitty config directory. See #3056
2020-10-25 13:42:11 +05:30
Kovid Goyal
e160cbf32b
ssh kitten: Fix parsing of combined single letter options to more closely match ssh. Fixes #3053
2020-10-23 16:55:53 +05:30
Kovid Goyal
2da2e63245
Add another integration
2020-10-23 09:36:35 +05:30
Kovid Goyal
f160ea6012
Fix #3048
2020-10-21 21:57:35 +05:30
Kovid Goyal
8057bc639d
Add diff context parser defs
2020-10-20 11:37:48 +05:30
Kovid Goyal
6f5ec5aa03
Merge branch 'fix-mistake-in-previous-pr' of https://github.com/Luflosi/kitty into master
2020-10-19 16:41:01 +05:30
Luflosi
e343c9445c
Creating a temporary directory is not actually required
...
While developing the previous PR (https://github.com/kovidgoyal/kitty/pull/3043 ), I was using more compiler command line arguments, one of which was `-MMD`. This caused the .d file to be created. Without this argument, there is no need to create a temporary directory.
2020-10-19 13:08:32 +02:00
Kovid Goyal
c73e374f1a
Remove unneeded space
2020-10-19 16:02:49 +05:30
Kovid Goyal
d9b292f808
Merge branch 'fix-macos-notification-api-detection' of https://github.com/Luflosi/kitty into master
2020-10-19 16:00:38 +05:30
Luflosi
46ef2f313b
macOS: Fix detection for notification API
...
For some reason it can happen that the `UserNotifications` framework exists but the `UserNotifications/UserNotifications.h` header doesn't.
Closes https://github.com/kovidgoyal/kitty/issues/3042 .
2020-10-19 12:19:51 +02:00
Luflosi
92a705c79e
Add language parameter to first_successful_compile() and test_compile()
...
This allows compiling Objective-C files.
The temporary directory is needed because clang would try to write to `/dev/null.d`, which would obviously fail.
2020-10-18 23:08:19 +02:00
Kovid Goyal
12ebdd2574
Add a changelog entry for the last PR
2020-10-18 08:48:07 +05:30
Kovid Goyal
ed2e951032
Merge branch 'pointer_shape_when_dragging' of https://github.com/jaeheum/kitty into master
2020-10-18 08:46:18 +05:30
Kovid Goyal
01a34a8846
Add links to viu that supports the graphics protocol
2020-10-18 08:42:59 +05:30
Jay Han
b13174cb9c
pointer_shape_when_dragging option + set_mouse_cursor_when_dragging()
2020-10-17 09:52:44 -07:00
Jay Han
03ac6cab99
default_pointer_shape option
2020-10-17 09:28:04 -07:00
Kovid Goyal
532eebaefb
Merge branch 'fix-garbage-pointer-dereference' of https://github.com/Luflosi/kitty into master
2020-10-16 07:35:31 +05:30
Luflosi
f825345b14
Fix potential garbage pointer dereference
...
`create_os_window()` calls `get_window_content_scale()` without initializing the `xscale` and `yscale` variables. Instead of initializing them everywhere, where this function is called, just do it once in the function itself.
Found with the Clang Static Analyzer.
2020-10-15 20:41:16 +02:00
Kovid Goyal
1409477ed7
Merge branch 'double-free' of https://github.com/Luflosi/kitty into master
2020-10-15 19:11:31 +05:30
Luflosi
d8e4294432
Fix double free and memory leak
...
Found with the Clang Static Analyzer.
This is a copy & paste error. This bug was introduced in 72e2307c16e777e24d35e7c6c72788f5e2f26850 in Jul 2018.
2020-10-15 15:29:44 +02:00
Kovid Goyal
5d13908776
github actions CI updated to python 3.9
...
Pillow wheel currently not available for python 3.9. So tries to install
from source and fails on missing zlib. So install zlib in brew and make
it available via PKG_CONFIG_PATH. Apparently, this wont be necessary
after Pillow 8, but who knows.
2020-10-14 19:13:46 +05:30
Luflosi
2832a73285
GLFW: Wayland: Assume 96 DPI if physical size is <= 0
...
From upstream: 0ef149c8f2 .
2020-10-14 14:43:40 +02:00
Kovid Goyal
4152ed5809
Update changelog
2020-10-14 08:51:07 +05:30
Kovid Goyal
8a90ed70ee
Merge branch 'fix-upwards-selection-clearing' of https://github.com/Luflosi/kitty into master
2020-10-14 05:31:08 +05:30
Luflosi
e2646c08a5
Fix upwards selection not being cleared when lines change
...
When selecting text by dragging upwards, the "end" of the selection is above the "start". This causes the `selection_has_screen_line()` to never return `true` in this case.
In practice this bug causes the selection to not be cleared when the screen contents under the selection change if it was made by dragging upwards.
2020-10-13 21:40:03 +02:00
Kovid Goyal
7122ba820f
Fix eight bar unicode chars not being rendered at very small font sizes
...
Fixes #3025
2020-10-13 20:00:25 +05:30
Kovid Goyal
efca2658ea
Fix typing issues pointed out by updated mypy
2020-10-12 23:03:07 +05:30
Kovid Goyal
91a714947c
Fix encoding error when reporting capabilities for number of colors
2020-10-12 22:39:05 +05:30
Kovid Goyal
5d3ac649ba
Fix #3017
2020-10-08 17:39:44 +05:30
Kovid Goyal
6443e726a6
Add a note about how the query_terminal kitten works
2020-10-08 07:42:47 +05:30
Kovid Goyal
6a755bda45
A new kitten to easily query kitty for config values
2020-10-07 13:35:16 +05:30
Kovid Goyal
dab555ea3b
kittens: Dont discard pending input on startup
...
Fixes #3012
2020-10-06 16:39:00 +05:30
Kovid Goyal
a3bbad0060
Allow specifying the optional actions for tcsetattr
2020-10-06 16:30:23 +05:30
Kovid Goyal
73db717a0c
version 0.19.1
v0.19.1
2020-10-06 14:03:25 +05:30
Kovid Goyal
f1552c8354
Avoid alias related complications with completion delegation for hyperlinked_grep
2020-10-06 13:53:41 +05:30
Kovid Goyal
fb87fc32f0
Fix a regression that caused a segfault when using scrollback_pager_history_size
...
Fixes #3011
2020-10-06 13:28:48 +05:30
Kovid Goyal
b04b0c670d
Fix #3010
...
Probably ancient version of Python
2020-10-06 12:09:47 +05:30
Kovid Goyal
b33845df8a
Update Changelog
2020-10-06 06:50:29 +05:30
Kovid Goyal
12c9d8d8f8
Delay load the ipaddress module
2020-10-06 06:50:17 +05:30
Kovid Goyal
fe97bbcbbf
Merge branch 'master' of https://github.com/Sighery/kitty into master
2020-10-06 06:45:05 +05:30
Sighery
10533c3eba
Hints kitten: validate IPs with ipaddress
...
On the initial commit of this feature, IPs were just matched with a
very simple regex that prioritised simplicity/readability over
accuracy.
This commit adds a postprocessor for ip matches that makes use of
Python's `ipaddress` in the standard library to validate all the IP
matches.
This way we don't need huge and complex regex patterns to match _and_
validate the IPs, and we can just use `ipaddress` to abstract us from
implementing all the validation logic into the regex pattern.
2020-10-05 20:11:25 +02:00
Sighery
b4415c90f9
Hints kitten: add support for IPs (v4 and v6)
...
It selects v4 and v6 IPs with a simple regex that doesn't actually
check for the validity of the IPs.
2020-10-05 20:11:22 +02:00
Kovid Goyal
2970bbdf6f
Update GA tags
...
Also auto gen docs if running publish only for website
2020-10-05 20:04:32 +05:30
Kovid Goyal
95a420534d
Remove the old asciidoc files
...
By now hopefully the kitty website is well established
2020-10-05 19:34:02 +05:30
Kovid Goyal
be56a21574
...
2020-10-05 19:33:09 +05:30
Kovid Goyal
3741a235fe
Merge branch 'patch-1' of https://github.com/Nudin/kitty into master
2020-10-05 19:28:22 +05:30
Michael F. Schönitzer
523b6c4c2d
Fix wrong kittenname in documentation
...
It's called `hyperlinked_grep` not `hyperlink_grep`.
2020-10-05 15:54:11 +02:00
Kovid Goyal
c3b2300310
Merge branch 'remove-outdated-check' of https://github.com/Luflosi/kitty into master
2020-10-05 18:16:06 +05:30
Luflosi
1c4a20d86f
Remove outdated Python version check
...
The Python version is already checked at the top of the file. That check was added in 81a58186c6fae2de7bb4d7c7a3dc1a418d2b3d03.
2020-10-05 14:41:07 +02:00