Kovid Goyal
dae8ae33f0
hints kitten: Fix matching of filenames enclosed in quotes or brackets not stripping the surrounding quotes properly. Fixes #4419
2022-01-04 10:58:31 +05:30
pagedown
afa0bb4c1d
Avoid using the same variable name in different scopes
...
Variable names such as a and b are also used in the MIN and MAX macros.
2022-01-03 16:11:20 +08:00
Kovid Goyal
e228f5105e
Merge branch 'refactor' of https://github.com/page-down/kitty
2022-01-02 09:23:25 +05:30
Kovid Goyal
be771456e1
Dont shadow global variable name
2022-01-02 08:59:34 +05:30
Kovid Goyal
8514782ad2
Remove unused code
...
icat already scales images to fit the screen in process_image() so dont
have to consider the case of the image being wider than the screen in
set_cursor()
2022-01-02 08:56:17 +05:30
pagedown
15615a4cd1
Avoid defining variables with the same name that already exist
...
Avoid using existing parameter names for local variables.
Avoid using variable names from upper level for nested loops.
Avoid local variables hiding existing global variables.
2022-01-01 21:29:32 +08:00
pagedown
7246fb347c
Remove the unused function
2022-01-01 21:29:06 +08:00
Kovid Goyal
f71e0a6ee8
...
2021-12-21 10:39:06 +05:30
Kovid Goyal
90f2ba474c
Fix icat for GIF images broken
2021-12-20 17:54:55 +05:30
Kovid Goyal
8f0825bc5c
Various fixes for mypy 0.920
2021-12-17 05:56:19 +05:30
Kovid Goyal
2c6d888b3d
...
2021-12-10 07:36:09 +05:30
pagedown
98e44a8907
Unify resolution of absolute paths or config dir paths
2021-12-09 20:43:07 +08:00
pagedown
02a7316342
Use the unified PATH search function
2021-12-09 11:32:30 +08:00
Kovid Goyal
32768e7939
Unify the PATH searching algorithm for launch and running children
2021-12-08 20:10:34 +05:30
pagedown
4a7ae0f524
Docs: use pygments styles official website url
2021-12-08 17:20:13 +08:00
Kovid Goyal
c0b73986cb
Fix #4302
2021-11-30 20:47:16 +05:30
Kovid Goyal
4448444d4b
Fix #4289
2021-11-28 11:47:25 +05:30
Kovid Goyal
e5de16bb01
Use fid_abs prefix for absolute symlinks
2021-11-24 08:41:16 +05:30
Kovid Goyal
56ea741126
Nicer repr for key definitions
2021-11-23 18:19:34 +05:30
Kovid Goyal
b7a28afe7e
missed a couple of options
2021-11-21 22:41:30 +05:30
Kovid Goyal
f3376601f2
Mark various options in text correctly
2021-11-21 22:37:11 +05:30
Kovid Goyal
ecea1ba241
...
2021-11-21 10:05:47 +05:30
Kovid Goyal
ddb1fcf430
Forgot to end receive sessions
2021-11-18 22:31:05 +05:30
Kovid Goyal
ca214ffe78
transfer receive: ensure open files are closed
2021-11-17 15:45:13 +05:30
Kovid Goyal
715925795f
Ignore errors in various finalizers during exit
...
This was needed for tui loop to exit cleanly when terminal i/o breaks
2021-11-17 15:43:26 +05:30
Kovid Goyal
17a48f6b9f
TUI: exit cleanly when I/O to terminal fails
2021-11-17 15:33:23 +05:30
Kovid Goyal
5c7a1d1b05
Fix typo
2021-11-17 15:19:17 +05:30
Kovid Goyal
46e51811e8
Dont rise an exception in patchfile close()
...
This allows partial transfers, by overwriting the dest file with the
tempfile even if the transfer was not completed
2021-11-17 14:34:14 +05:30
Kovid Goyal
1a92f99831
...
2021-11-17 13:55:33 +05:30
Kovid Goyal
14142c320a
fix incorrect repeat counts
2021-11-17 13:24:35 +05:30
Kovid Goyal
727260e69b
...
2021-11-17 13:16:50 +05:30
Kovid Goyal
ad804cc01e
Redraw progress bar on resize
2021-11-17 13:04:07 +05:30
Kovid Goyal
dab51d33f5
...
2021-11-17 12:40:06 +05:30
Kovid Goyal
77d7a6180f
unicode input kitten: Also allow using ctrl+number to switch tabs and pressing any modifier with the function keys
2021-11-17 12:17:46 +05:30
Kovid Goyal
185669ec72
Use a shorter random id for transfers
...
Reduces overhead and we dont actually need protection against malicious
actors, only accidental collisions
2021-11-17 11:47:46 +05:30
Kovid Goyal
18ed56b639
Handle all failed using rsync while waiting for path confirmation
2021-11-17 11:28:19 +05:30
Kovid Goyal
dc2bac0068
Only print rsync stats if some data was transferred
2021-11-17 11:18:31 +05:30
Kovid Goyal
005ab58b15
Fix single file transfer path name mapping for receive
2021-11-17 11:07:50 +05:30
Kovid Goyal
b11b04ef67
Start documenting the file transfer kitten
2021-11-17 10:33:37 +05:30
Kovid Goyal
d936ede790
Finish up rsync for file receives
2021-11-16 15:10:37 +05:30
Kovid Goyal
1603b4b522
More work on rsync based receive
2021-11-16 14:21:42 +05:30
Kovid Goyal
0eac514e52
More rsync integration work
2021-11-16 13:06:16 +05:30
Kovid Goyal
63399fe975
Start work on rsync integration for receiving files
2021-11-16 10:58:32 +05:30
Kovid Goyal
0830e66e76
broadcast kitten: Show a "fake" cursor in all windows being broadcast too
...
Fixes #4225
2021-11-12 22:59:20 +05:30
Kovid Goyal
a1ca607f35
More work on file transmission
2021-11-11 20:05:54 +05:30
Kovid Goyal
a2533e9a46
Render the progress bar for file receives
2021-11-11 16:32:06 +05:30
Kovid Goyal
0f23edeec3
Fix breakage caused by Color no longer being iterable
2021-11-07 07:15:55 +05:30
Kovid Goyal
69e54cb9c1
More work on file transfer
2021-11-06 20:11:11 +05:30
Kovid Goyal
60b8023928
Ensure transfer is canceled on error
2021-11-06 12:59:13 +05:30
Kovid Goyal
8099ae44d7
create fid_map after collecting files not before
2021-11-06 12:54:20 +05:30