Commit Graph

500 Commits

Author SHA1 Message Date
Folke Lemaitre 47f5c124aa
config: removed interactive option. not needed 2022-11-30 23:15:26 +01:00
Folke Lemaitre 39c7e21c5f
refactor: Loader.source_runtime 2022-11-30 23:15:26 +01:00
Folke Lemaitre e1c08d64b3
perf: merge module/cache and use ffi to pack cache data 2022-11-30 14:19:50 +01:00
Folke Lemaitre 4438faf9a9
perf: removed partial spec caching. not worth the tiny performance boost 2022-11-30 00:19:08 +01:00
Folke Lemaitre 3ec5a2ce4c
perf: run cache autosave after loading 2022-11-30 00:19:08 +01:00
Folke Lemaitre ca78dd77ac
fix: make sure Plugin.opt is always a boolean 2022-11-29 20:36:06 +01:00
Folke Lemaitre 812bb3c8b7
perf: dont loop over handlers to determine if a plugin should be opt=true 2022-11-29 20:26:37 +01:00
Folke Lemaitre 69cdb718f8
refactor: rename Plugin.lock => Plugin.pin to prevent confusion with the lockfile 2022-11-29 20:19:07 +01:00
Folke Lemaitre b796abcc33
feat: lazy handler implies opt=true 2022-11-29 19:58:31 +01:00
Folke Lemaitre 908b9adf9c
feat: dependencies are opt=true by default if they only appear as a dep 2022-11-29 19:51:53 +01:00
Folke Lemaitre 3e4f84640e
feat: git log config 2022-11-29 15:25:09 +01:00
Folke Lemaitre 0233460d54
fix: support local files as plugin spec 2022-11-29 14:35:48 +01:00
Folke Lemaitre 7328e290ba
refactor: Plugin.requires => Plugin.dependencies 2022-11-29 14:27:04 +01:00
Folke Lemaitre 0f5ceb9012
style: cache debug 2022-11-29 14:26:07 +01:00
Folke Lemaitre 0774f1bc25
feat: added support for Plugin.lock (wont update) 2022-11-29 12:36:07 +01:00
Folke Lemaitre 20ff5fa218
feat: added profiler view 2022-11-29 12:02:38 +01:00
Folke Lemaitre 4384d0e6d9
feat: added lockfile support 2022-11-29 00:15:13 +01:00
Folke Lemaitre 2fa5be3779
refactor(config): package_path => packpath 2022-11-29 00:14:23 +01:00
Folke Lemaitre fb84c081b0
feat: lots of improvements to pipeline runner and converted all tasks to new system 2022-11-28 22:03:44 +01:00
Folke Lemaitre 4de10f9578
fix: correctly handle changes from local to remote plugin 2022-11-28 13:18:31 +01:00
Folke Lemaitre 073b5e3caa
perf: fast return for Util.ls when file found 2022-11-28 11:35:47 +01:00
Folke Lemaitre 28af1e1ac3
refactor: moved all plugin state to Plugin._ 2022-11-28 11:19:50 +01:00
Folke Lemaitre 9179c0a14d
style: cleanup & annotations 2022-11-28 07:36:32 +01:00
Folke Lemaitre 42c2fb42c8
perf: cache handler groups 2022-11-26 22:04:32 +01:00
Folke Lemaitre 05a0da532b
refactor: move handlers to its own file 2022-11-26 21:29:40 +01:00
Folke Lemaitre 870d8924f7
fix: recalculate loaders on config file change 2022-11-26 19:33:38 +01:00
Folke Lemaitre 38e2711cdb
feat: return wether a module was loaded from cache or from file (dirty) 2022-11-26 19:33:00 +01:00
Folke Lemaitre 8790070871
perf: further optims to loading and caching specs. dont cache specs with plugin that have init or in start with config 2022-11-26 13:58:01 +01:00
Folke Lemaitre 413dd5b112
fix: dont return init.lua in lsmod 2022-11-26 13:57:17 +01:00
Folke Lemaitre 359c260911
chore: remove deprecated scandir 2022-11-26 13:57:05 +01:00
Folke Lemaitre 7933ae11c4
feat: error handler for loading modules, config and init, with custom error formatting 2022-11-25 22:50:17 +01:00
Folke Lemaitre bad1b1f87d
feat: detect headless and set interactive=false 2022-11-25 22:49:41 +01:00
Folke Lemaitre 80a2b71a09
refactor: less code for cache 2022-11-25 22:49:21 +01:00
Folke Lemaitre cfc39330dc
fix: always recaclulate hash when loading a module 2022-11-25 22:48:59 +01:00
Folke Lemaitre 3e8fbaffba
refactor: merge plugin & state in one file 2022-11-25 22:48:17 +01:00
Folke Lemaitre fe33e4e3dd
feat: lazy caching now works with functions that have upvalues 2022-11-25 15:35:40 +01:00
Folke Lemaitre 2507fd5790
perf: tons of performance improvements. Lazy should now load in about 1.5ms for 97 plugins 2022-11-24 22:05:18 +01:00
Folke Lemaitre 711834f17c
refactor: split util 2022-11-24 22:03:00 +01:00
Folke Lemaitre 32ca1c4bf8
fix: only save state when dirty 2022-11-23 21:55:21 +01:00
Folke Lemaitre 72d51cee9b
perf: copy reason without deepcopy 2022-11-23 21:54:56 +01:00
Folke Lemaitre c046b1f5d5
feat!: added icons 2022-11-23 19:06:04 +01:00
Folke Lemaitre 6f835ab87b
feat: url open handlers 2022-11-23 16:12:12 +01:00
Folke Lemaitre 00ff59f385
refactor: cleanup 2022-11-23 16:11:14 +01:00
Folke Lemaitre 68a8d57b5b
chore: cleanup 2022-11-23 16:10:16 +01:00
Folke Lemaitre 2080694e34
feat: load plugin on cmd complete and make completion just work 2022-11-23 16:08:44 +01:00
Folke Lemaitre 4df73f167d
feat: keep track what loaded a plugin 2022-11-23 16:07:57 +01:00
Folke Lemaitre e59dc377d5
feat: util.info 2022-11-22 22:35:06 +01:00
Folke Lemaitre 72889623af
fix: support adding top-level lua directories 2022-11-22 22:27:29 +01:00
Folke Lemaitre fca984b18c
refactor: move core modules needed for loading under core 2022-11-22 21:28:27 +01:00
Folke Lemaitre 54d5ff18f5
perf: split caching in state, cache and module 2022-11-22 21:12:33 +01:00