Commit Graph
110 Commits
Author SHA1 Message Date
Kovid Goyal 7fe5d7b58f Replace isort with ruff 2023-01-09 16:47:42 +05:30
pagedown 0d116e6ef0 Use four spaces to indent 2022-08-08 22:31:55 +05:30
pagedown 06108d66b1 Replace tab with four spaces indent 2022-08-08 22:31:55 +05:30
pagedown 510022c3c1 Docs: Improve the documentation for kittens
Add more text roles and links.
Add an example that broadcasts only to other windows in the current tab.
Initial capitalization of the key names in the kbd text role.
Add Python type hints for custom kittens.
Note about hyperlink support for ls on macOS.
Add description text for show_key.
2022-04-27 16:14:54 +08:00
Kovid Goyal ba1b3c3c2d Fix mypy failures 2022-03-12 08:28:43 +05:30
pagedown 4a3ed62809 Refactor: More f-string for kittens 2022-01-29 20:23:34 +08:00
Kovid Goyal 8f0825bc5c Various fixes for mypy 0.920 2021-12-17 05:56:19 +05:30
Kovid Goyal e5de16bb01 Use fid_abs prefix for absolute symlinks 2021-11-24 08:41:16 +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 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 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 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 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 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
Kovid Goyal 8e8a0d2df6 Fix rel path logic when transferring symlinks 2021-11-05 21:39:07 +05:30
Kovid Goyal d9f4fadf2d More work on file transfer 2021-11-05 21:33:47 +05:30
Kovid Goyal c4b3723372 More work on file transfer 2021-11-05 13:10:04 +05:30
Kovid Goyal 218582ced8 More work on file transfer 2021-10-31 20:05:48 +05:30
Kovid Goyal 4ff3d6a645 More work on file transfer 2021-10-31 13:12:23 +05:30
Kovid Goyal 32805ca968 More work on file transfer 2021-10-31 09:28:20 +05:30
Kovid Goyal d03f4dbc98 More work on file transfer 2021-10-30 16:54:27 +05:30
Kovid Goyal ee852cf5fc More work on file transmission 2021-10-29 21:52:49 +05:30
Kovid Goyal 820a893d75 More work on file transfer 2021-10-29 15:01:31 +05:30
Kovid Goyal b22bda3cba Add more type annotations 2021-10-27 11:36:34 +05:30
Kovid Goyal 4494ddd8ff mypy: Turn on return value checks
Its a shame GvR is married to "return None"
https://github.com/python/mypy/issues/7511
2021-10-26 22:39:14 +05:30
Kovid Goyal 5cb36a4632 More work on file transfer 2021-10-26 22:05:38 +05:30
Kovid Goyal 6546c1da9b run pyupgrade to upgrade the codebase to python3.6 2021-10-21 12:43:55 +05:30
Kovid Goyal 5f91084968 More work on file transfer 2021-10-18 13:02:37 +05:30
Kovid Goyal 5e033773dd More work on transfer sending 2021-10-10 13:04:47 +05:30
Kovid Goyal 34d6c69b2a fix forgotten import 2021-10-04 21:40:07 +05:30
Kovid Goyal 14d36e3727 Stub for receive in the transfer kitten 2021-10-04 21:31:02 +05:30
Kovid Goyal 2080b3d7fa Print out rsync stats 2021-10-03 13:40:53 +05:30
Kovid Goyal a8e06a67c2 Better message when transferring rsync signatures 2021-10-03 13:29:50 +05:30
Kovid Goyal 5699c3ae7d Dont spin report done files 2021-10-03 11:58:24 +05:30
Kovid Goyal 1877a02378 Dont count dirs in transfer stats 2021-10-03 11:30:08 +05:30
Kovid Goyal e9f344c53f Improve progress reporting for individual files 2021-10-03 11:26:49 +05:30
Kovid Goyal d15763f2ad Dont show transfer stats for non regular files 2021-10-03 11:16:07 +05:30