Commit graph

  • 64f562a8fb add get_cache_db to get various db cache data eugenesvk 2024-12-14 16:06:19 +07:00
  • 9663ebd0da move dir_cache_perma to a class var like other caches eugenesvk 2024-12-14 16:05:18 +07:00
  • ee17d7563c doc: update cache info message eugenesvk 2024-12-14 00:31:58 +07:00
  • 8a4172613b fix concat error eugenesvk 2024-12-14 22:35:20 +07:00
  • 2225ea3c15 fix wrong cache_non_exe is_exe checks eugenesvk 2024-12-13 23:56:43 +07:00
  • 2a399c4123 doc: update eugenesvk 2024-12-13 23:38:43 +07:00
  • a1d4e1fd63 add an option to cache only executables in mtime-cached dirs eugenesvk 2024-12-13 23:14:46 +07:00
  • 6ec50d1a5c doc: add XONSH_DIR_CACHE_LIST_NON_EXE eugenesvk 2024-12-13 23:14:49 +07:00
  • 90fd718c78 fmt eugenesvk 2024-12-13 23:12:27 +07:00
  • 43fc4b6c73 fmt eugenesvk 2024-12-13 22:54:37 +07:00
  • 132ca5ff0f doc: update get_cache_info eugenesvk 2024-12-13 22:47:16 +07:00
  • c631d13b80 add skip_exist support to cwd cache eugenesvk 2024-12-13 22:39:48 +07:00
  • 92e1e541ed fmt eugenesvk 2024-12-13 22:08:19 +07:00
  • 90caa3f68d feat: add support for caching current working dir eugenesvk 2024-12-13 22:05:22 +07:00
  • c7e2b2ebbf doc: update get_cache_info with CWD cache eugenesvk 2024-12-13 22:02:33 +07:00
  • 9f265dce63 doc: add dir cache vars for current dirs eugenesvk 2024-12-13 22:00:59 +07:00
  • e1030b6f9a test: add pathext closer to default for more reliable performance comparison eugenesvk 2024-12-13 18:04:06 +07:00
  • 04f4b30388 add path_cache_dirty to avoid breaking tests eugenesvk 2024-12-13 17:49:40 +07:00
  • cfad471813 include user dirs not in PATH on startup eugenesvk 2024-12-13 16:35:55 +07:00
  • 7bbe9e840e test: fix wrong type eugenesvk 2024-12-13 16:18:27 +07:00
  • 7d641c072a doc: reformat eugenesvk 2024-12-13 16:44:09 +07:00
  • b27735f4ef doc: fix for old pythons eugenesvk 2024-12-13 15:01:04 +07:00
  • 5a60395e58 doc: add info on get_cache_info eugenesvk 2024-12-13 14:29:51 +07:00
  • 66db9ca88a use the new get_clean_path in cache update eugenesvk 2024-12-13 14:25:58 +07:00
  • 599a486cf3 ci: use current 3.13 version of python (#5751) Evgeny 2024-12-12 15:00:26 +07:00
  • 477373e8be fmt eugenesvk 2024-12-13 13:56:15 +07:00
  • f04e001d5b cache last path hash to avoid IO for clearing paths when path hash changes. eugenesvk 2024-12-13 13:54:52 +07:00
  • 0b6230628c add get_cache_info for runtime debugging eugenesvk 2024-12-12 23:48:37 +07:00
  • 8bfe677dc2 typo eugenesvk 2024-12-12 23:47:56 +07:00
  • 63e6dfa72a tests: fix failing due to PathCache being initialized with a different env in other tests eugenesvk 2024-12-12 19:41:43 +07:00
  • b067326e5c add a reset method to PathCache singleton eugenesvk 2024-12-12 19:39:28 +07:00
  • ff920f4452 fix: excessive permanent cache writing due to an equality fail eugenesvk 2024-12-12 17:18:10 +07:00
  • ae283deeb9
    ci: use current 3.13 version of python (#5751) Evgeny 2024-12-12 15:00:26 +07:00
  • 3b9ec3ced0 test: enable cmdprefix outside of Windows eugenesvk 2024-12-12 14:20:41 +07:00
  • 202669c621 pre-commit: use current version of python eugenesvk 2024-12-12 14:25:18 +07:00
  • 465ebbda9e add XONSH_DIR_CACHE_LIST_EXT_MIN to allow forcing a dir list on non-Windows eugenesvk 2024-12-12 14:20:16 +07:00
  • ddaa787135 doc: add missing spaces to env vars eugenesvk 2024-12-12 14:11:31 +07:00
  • 16f641696c typo eugenesvk 2024-12-12 13:18:59 +07:00
  • 2a3c6c3cac [pre-commit.ci] auto fixes from pre-commit.com hooks pre-commit-ci[bot] 2024-12-11 19:55:38 +00:00
  • 915a7d5930 fix env var typo eugenesvk 2024-12-12 02:52:20 +07:00
  • 96f29cf370 test: fix env var typo eugenesvk 2024-12-12 02:52:12 +07:00
  • ff4a5c191b de-win dir perma cache file eugenesvk 2024-12-12 02:05:23 +07:00
  • b09f18eafd [pre-commit.ci] auto fixes from pre-commit.com hooks pre-commit-ci[bot] 2024-12-11 18:44:21 +00:00
  • a7337a3638 doc: update env var description eugenesvk 2024-12-12 01:44:01 +07:00
  • 9c6f4af603 don't limit to Windows only eugenesvk 2024-12-12 01:40:37 +07:00
  • cbf3d66434 doc: update XONSH_DIR_SESSION_CACHE comment with a highlighting example eugenesvk 2024-12-11 23:54:57 +07:00
  • 7fc0debfd2 rename XONSH_WIN_DIR_SESSION_CACHE to XONSH_DIR_SESSION_CACHE eugenesvk 2024-12-11 23:54:28 +07:00
  • babdf14b2e doc: fix a typo eugenesvk 2024-12-10 18:06:11 +07:00
  • 974ad708a6 style valid prefixes only while they're still prefixes, not when it's a standalone word eugenesvk 2024-08-14 15:50:20 +07:00
  • 47f38305bf reformat eugenesvk 2024-08-14 15:03:31 +07:00
  • e82e014902 doc: remove the need to normalize by the user eugenesvk 2024-08-14 15:02:56 +07:00
  • 9f1b5d0c40 update comment eugenesvk 2024-08-14 14:55:46 +07:00
  • 8c3c8fe8ea clean up user config vars with lists of PATHs on load eugenesvk 2024-12-12 01:36:15 +07:00
  • 2c019f72fb add a cache for smaller dirs listed on each keystroke eugenesvk 2024-08-13 22:02:11 +07:00
  • 7ac66d9a55 add PathCache comment eugenesvk 2024-08-13 15:09:12 +07:00
  • c244bd031a use more consistent names eugenesvk 2024-12-12 01:33:12 +07:00
  • 2a5e01d550 replace partial_match list with a class eugenesvk 2024-08-13 02:15:25 +07:00
  • 11a76c5f45 add missing dir perma cache argument to pygments eugenesvk 2024-08-13 02:32:32 +07:00
  • 7479d12602 test: add a test for pyghooks Cmdprefix parsing eugenesvk 2024-08-12 23:15:41 +07:00
  • 4b684aa5f8 add support for signaling partial matches to temporarily cache dirs eugenesvk 2024-08-12 20:58:24 +07:00
  • 62f867c4f9 remove unused condition eugenesvk 2024-08-12 20:39:47 +07:00
  • 59a0e9d96e doc: add description for XONSH_WIN_DIR_CACHE_SKIP_EXIST eugenesvk 2024-08-12 20:38:26 +07:00
  • a99190e965 fix argument position eugenesvk 2024-08-12 19:51:21 +07:00
  • d7a7971031 reformat eugenesvk 2024-08-12 19:18:41 +07:00
  • 9510719250 don't check that a file exists for dirs we scan every time eugenesvk 2024-08-12 19:17:32 +07:00
  • 8d94c910f8 add XONSH_WIN_DIR_CACHE_SKIP_EXIST to allow skipping a is_file check in cached dirs eugenesvk 2024-08-12 19:17:22 +07:00
  • fe54cea6ad allow skipping the is_file check eugenesvk 2024-08-12 19:09:20 +07:00
  • f1229bb7ca doc: fix a typo eugenesvk 2024-12-12 01:31:48 +07:00
  • 39e0c58f51 add type annotation eugenesvk 2024-08-12 18:11:28 +07:00
  • 4b21c03743 fix path perma cache being reset on each load instead of being initialized only once eugenesvk 2024-08-12 17:53:11 +07:00
  • cc2c67de21 use missing use_perma_cache arg eugenesvk 2024-08-12 01:57:44 +07:00
  • 2b3f023d3a fix type mismatch eugenesvk 2024-08-11 22:55:45 +07:00
  • 1087459dcf add type annotation eugenesvk 2024-08-11 22:46:38 +07:00
  • e47ee4e394 doc: add to platform issues eugenesvk 2024-08-11 22:26:07 +07:00
  • a96a53fea7 doc: fix a typo eugenesvk 2024-08-11 22:25:02 +07:00
  • a8eff0b1b2 fix missing partial_match arg and a type check eugenesvk 2024-08-11 22:12:55 +07:00
  • 5ea99ffb34 dep: add pygtrie eugenesvk 2024-08-11 21:59:37 +07:00
  • 05eafa39f2 remove leftover dbg eugenesvk 2024-08-11 21:49:44 +07:00
  • 2a9b48f532 ruff eugenesvk 2024-08-11 21:48:35 +07:00
  • 834e6bca8c pre-commit eugenesvk 2024-08-11 21:45:31 +07:00
  • 882d408224 pre-commit test eugenesvk 2024-08-11 21:45:22 +07:00
  • e03688f183 add test eugenesvk 2024-08-11 21:44:41 +07:00
  • eeb0ee6302 disable a stub for creating a cache of all commands eugenesvk 2024-08-11 20:37:40 +07:00
  • 0baf6c3108 add news eugenesvk 2024-08-11 20:33:38 +07:00
  • 59e8cfdbc2 do not scan perma cache dirs again if nothing was found there eugenesvk 2024-12-10 16:14:37 +07:00
  • fa4f3cfadf update comment eugenesvk 2024-08-11 20:14:18 +07:00
  • dea90e1cb9 do case insensitive partial match eugenesvk 2024-08-11 20:09:58 +07:00
  • ccf8b3e805 add support for dir perma cache to locate file eugenesvk 2024-12-10 01:52:11 +07:00
  • 09e53ce11a PathCache: add support for perma cached dirs stored in a file and valid across sessions eugenesvk 2024-08-11 19:34:34 +07:00
  • e541cfad72 convert PathCache to a singleton eugenesvk 2024-08-11 19:30:32 +07:00
  • 86bfd5b5ff move executables-related commands to executables from commands cache eugenesvk 2024-08-11 19:30:05 +07:00
  • 08a4bc4470 add support for partial command highlighting eugenesvk 2024-08-11 19:25:53 +07:00
  • e0ae44615f add partial_match argument to pyghooks/path searches to signal if typed text is a prefix of a valid command eugenesvk 2024-08-11 20:13:04 +07:00
  • 68614d7cda style: underline valid command prefixes eugenesvk 2024-08-11 19:20:14 +07:00
  • 655b1b5728 update function comment eugenesvk 2024-08-10 17:57:33 +07:00
  • 33083cf878 add use_perma_cache arg eugenesvk 2024-08-11 20:12:12 +07:00
  • d369ec2b17 add XONSH_WIN_DIR_PERMA_CACHE env var eugenesvk 2024-12-12 01:30:06 +07:00
  • 52a2c5e802 [pre-commit.ci] auto fixes from pre-commit.com hooks pre-commit-ci[bot] 2024-12-11 18:24:55 +00:00
  • 834f07fca7 don't limit to Windows only eugenesvk 2024-12-12 01:24:33 +07:00
  • 2e0a295d14 test: use use_dir_session_cache arg eugenesvk 2024-08-12 02:16:15 +07:00