Commit Graph
6493 Commits
Author SHA1 Message Date
Kovid Goyal fbcdf352ac Allow resizing of OS Window framebuffers to a single cell
This is much smaller than before and essentially works around the issue
of the text being scaled when the window is resized to small sizes. Also
has the nice side effect of making the code simpler for the panel
kitten. Fixes #3307
2021-02-14 22:17:41 +05:30
Kovid Goyal 015fe9054e Fix shifted keys not matching shortcuts in kittens
Broke after keyboard refactoring for new keyboard protocol. Now a key
event will match a shortcut specification if either the mods and key
match or mods without shift and shifted key match. Fixes #3314
2021-02-14 07:52:08 +05:30
Kovid Goyal 9a031c5b0c Bump versions for bundled deps 2021-02-12 12:29:38 +05:30
Kovid Goyal de0f225c45 Fix #3299 2021-02-09 22:10:40 +05:30
Kovid Goyal 41533bffdd Merge branch 'build_doc' of https://github.com/spenczar/kitty 2021-02-09 07:45:25 +05:30
Spencer Nelson cdf7c4bf97 Add two more build-time dependencies to the docs 2021-02-08 10:40:15 -08:00
Kovid Goyal 57db384953 Add packaging status to README 2021-02-06 12:10:30 +05:30
Kovid Goyal 9f0785a160 Add a link to the RFC 2021-02-05 11:36:03 +05:30
Kovid Goyal 4541cf8807 Another CodeQL warning 2021-02-05 10:41:35 +05:30
Kovid Goyal fe07306ff1 Use a nicer decorator for functions that only need to be run once 2021-02-05 10:40:52 +05:30
Kovid Goyal 726d736aac Type check return value of cache_dir 2021-02-05 10:34:17 +05:30
Kovid Goyal db0360dc81 Fix a bunch of CodeQL warnings 2021-02-05 10:05:54 +05:30
Kovid Goyal 4ba35d4a93 Clear cache_dir lru cache when testing 2021-02-05 09:56:17 +05:30
Kovid Goyal 1d51fca879 Python 3.6 compat 2021-02-05 09:49:46 +05:30
Kovid Goyal 67ca1902a0 Use a cache dir in the cwd on CI 2021-02-05 09:42:01 +05:30
Kovid Goyal 1ef326e220 Better error message 2021-02-05 09:29:56 +05:30
Kovid Goyal 0e483f81ac Compat for python < 3.8 2021-02-05 09:23:54 +05:30
Kovid Goyal e969dea3b7 Remove unused function 2021-02-05 09:20:58 +05:30
Kovid Goyal 89b4f59efa Update changelog to note animation support 2021-02-05 09:20:02 +05:30
Kovid Goyal 95dc87cf04 Prevent stack overflows when recursing to coalesce frames 2021-02-05 09:12:08 +05:30
Kovid Goyal 3fc29e0d11 ... 2021-02-05 09:03:39 +05:30
Kovid Goyal cc3b71154d Document the animation protocol 2021-02-05 09:00:19 +05:30
Kovid Goyal e4e9e29949 Add a note about broadcast kitten to index 2021-02-05 06:33:48 +05:30
Kovid Goyal 7a1785e1e8 Get chunked loading working with frames 2021-02-04 21:04:44 +05:30
Kovid Goyal 5d2baaac38 ... 2021-02-04 17:52:18 +05:30
Kovid Goyal b479510f6c Allow controlling the number of loops in icat 2021-02-04 17:47:53 +05:30
Kovid Goyal 8033e9fef5 Fix error checking when rendering single frame 2021-02-04 17:16:52 +05:30
Kovid Goyal 83b8c8ea12 Reduce frequency of key frames slightly 2021-02-04 17:08:06 +05:30
Kovid Goyal a447ba7d76 Fix typo in coalesce function causing incorrect coalesce for more than one level of recursion 2021-02-04 16:50:13 +05:30
Kovid Goyal 450e1c2f95 Use key frames for performance 2021-02-04 16:20:30 +05:30
Kovid Goyal cf3a01f502 Handle images whose first frame is smaller than the canvas 2021-02-04 15:57:49 +05:30
Kovid Goyal 3925e18964 Use rgba data for opaque animations that uses blended frames 2021-02-04 14:39:06 +05:30
Kovid Goyal 2650c7dd9e Avoid calculation when over px is transparent 2021-02-04 14:26:10 +05:30
Kovid Goyal 0f18fedf13 Add support for animations to icat 2021-02-04 14:18:47 +05:30
Kovid Goyal f18a56682f Fix animations not resuming when OS window is hidden and then shown 2021-02-04 13:34:27 +05:30
Kovid Goyal af94e07618 Cache exe lookups 2021-02-04 11:36:59 +05:30
Kovid Goyal 7eba3b6cbc Use the magick executable from IMv7 preferentially 2021-02-04 11:34:32 +05:30
Kovid Goyal e5ef9d9062 Ensure IM outputs multiple images in rgba format 2021-02-04 11:23:54 +05:30
Kovid Goyal b72dbc973d Allow controlling how many times an animation will loop 2021-02-03 20:54:43 +05:30
Kovid Goyal 55d0e23c38 ... 2021-02-03 19:29:46 +05:30
Kovid Goyal d3489712a6 Store mode data per frame 2021-02-03 18:00:36 +05:30
Kovid Goyal 56193f6902 Handle resizing of animated images with blended frames correctly 2021-02-03 17:51:38 +05:30
Kovid Goyal 2dad179285 ... 2021-02-03 16:00:31 +05:30
Kovid Goyal 19f0e2303d Refactor to store frame deltas instead of fully coalesced frames
Trades CPU usage for cache/memory space
2021-02-03 15:49:33 +05:30
Kovid Goyal c152624634 Rename state variable to be closer to its actual purpose 2021-02-02 09:00:28 +05:30
Kovid Goyal 212906cf7d gap should be gap to next frame not gap from previous frame
Matches usage in the GIF format and makes the concept of gapless
clearer.
2021-02-01 17:08:59 +05:30
Kovid Goyal bb5c5a8e4f Allow gapless frames 2021-02-01 16:22:36 +05:30
Kovid Goyal 9cf5348c36 Modify ImageMagick wrapper to handle animated images 2021-02-01 14:12:26 +05:30
Kovid Goyal edf4e14e4c Work on animation support for icat 2021-01-31 20:58:43 +05:30
Kovid Goyal 8fa737f01c Rescan for animated images on various events 2021-01-31 20:58:43 +05:30