summaryrefslogtreecommitdiff
path: root/lib/utils/cache.py
AgeCommit message (Collapse)Author
2025-03-09Mypy type correctness (#3199)capellancitizen
2025-03-04use get_user_dir (#3549)Kaalleen
2025-03-04Migrate from appdirs to platformdirs (#3449) (#3450)Benson Muite
2025-01-09cache: reset on operational error (#3421)Kaalleen
2024-07-09reset corrupted cache files (#3074)Kaalleen
2024-04-27Add option to disable the stitch plan cache (#2655)George Steel
Setting the cache size to 0 bypasses the cache completely. This is necessary during development to ensure newly-changed code actually gets run. Also fixes the error pane in the params gui. * make params warning pane large enough to see contents * rename sizers in preferences dialog descriptive names * add shapely version bound * add option to disable stitch plan cache * remove out-of-date wxg file * make a cache size of 0 disable the cache
2023-02-18add preferences UI including cache settingsLex Neva
2023-02-18cache key generation using params, path, color, and styleLex Neva
2023-02-18move get_stitch_plan_cache() to utils.cacheLex Neva
2021-03-11add copyright headersLex Neva
2018-08-21autopep8Lex Neva
2018-05-01rename inkstitch/ to lib/Lex Neva
You can't have a module and a package named the same thing. PyInstaller wants to import the main script as if it were a module, and this doesn't work unless there's no directory of the same name with a __init__.py in it.