| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | refactor(std): quiet git checkout (#1186) | William Boman | 2023-04-06 | 1 | -1/+1 | |
| | | ||||||
| * | feat(registry): add ability to register package aliases (#1146) | elky | 2023-04-05 | 1 | -0/+4 | |
| | | ||||||
| * | fix(github): fall back to curl/wget if gh is not available (#1181) | William Boman | 2023-04-05 | 2 | -43/+23 | |
| | | ||||||
| * | fix(npm): set install-strategy on npm >= 9 (#1179) | William Boman | 2023-04-04 | 2 | -4/+29 | |
| | | | | Closes #1175. | |||||
| * | test(async): add tests for control mechanisms (#1176) | William Boman | 2023-04-03 | 1 | -0/+1 | |
| | | ||||||
| * | fix(package): schedule callback that can only run in main loop (#1172) | William Boman | 2023-04-03 | 1 | -2/+2 | |
| | | ||||||
| * | refactor: only schedule in a.scheduler() when in fast event (#1170) | William Boman | 2023-04-02 | 13 | -42/+38 | |
| | | | | Explicitly schedule via `a.wait(vim.schedule)` instead. | |||||
| * | fix(registry): use oneshot channel for updating registry (#1168) | William Boman | 2023-04-02 | 2 | -47/+45 | |
| | | ||||||
| * | fix(async): early return if no suspend functions (#1165) | William Boman | 2023-04-01 | 1 | -0/+3 | |
| | | ||||||
| * | chore: log entire opts table (#1149) | William Boman | 2023-03-29 | 1 | -1/+1 | |
| | | ||||||
| * | feat: add registry.refresh() method (#1096) | William Boman | 2023-03-14 | 2 | -2/+3 | |
| | | ||||||
| * | fix(sources): also set .desc property when updating spec (#1095) | William Boman | 2023-03-14 | 1 | -2/+0 | |
| | | ||||||
| * | style: enforce import order (#1092) | William Boman | 2023-03-12 | 45 | -122/+122 | |
| | | | | | | * chore(workflows): update dependencies * style: enforce import order | |||||
| * | feat: add github registry source capabilities (#1091) | William Boman | 2023-03-12 | 30 | -29/+2087 | |
| | | ||||||
| * | fix: fix writing pyvenv module wrapper (#1073) | William Boman | 2023-03-06 | 1 | -1/+1 | |
| | | | | Closes #1071. | |||||
| * | fix(package): emit registry event on abnormal failures (#1061) | William Boman | 2023-03-05 | 1 | -0/+11 | |
| | | | | Also display a more helpful error message in the UI, as well as terminating the handle if it's not yet terminated. | |||||
| * | refactor(package): lazy-require modules (#1060) | William Boman | 2023-03-05 | 1 | -12/+6 | |
| | | | | | The mason-core.package module is loaded whenever there's anything interfacing with Mason packages (i.e. pretty often). Some of the modules imported at the top-level is used pretty infrequently, so we lazily require these instead. | |||||
| * | feat: add semver module (#1058) | William Boman | 2023-03-05 | 1 | -0/+12 | |
| | | | | | | | | | | | This will be used to compare semver versions, for example: ```lua local v1 = try(semver.parse("1.0.0")) local v2 = try(semver.parse("v2.0.0")) local _ = v1 < v2 -- true ``` | |||||
| * | refactor(powershell): remove .script and fix fast API error (#1057) | William Boman | 2023-03-05 | 1 | -26/+14 | |
| | | | | | Calling vim.fn.executable in the module scope has potential to error if the module is required outside of the main loop. | |||||
| * | refactor(expr): better handling of nil values (#1056) | William Boman | 2023-03-05 | 1 | -16/+10 | |
| | | ||||||
| * | feat(InstallContext): add strict_mode flag (#1055) | William Boman | 2023-03-05 | 2 | -12/+44 | |
| | | | | Also add some more ctx.fs methods. | |||||
| * | refactor: simplify linker & receipt writing (#1033) | William Boman | 2023-02-26 | 7 | -142/+152 | |
| | | ||||||
| * | fix(fetch): use correct separator for Windows iwr headers (#1014) | William Boman | 2023-02-20 | 1 | -2/+2 | |
| | | ||||||
| * | feat(providers): add more endpoints (#1013) | William Boman | 2023-02-19 | 1 | -7/+24 | |
| | | ||||||
| * | feat(installer): add share links (#965) | William Boman | 2023-02-17 | 8 | -116/+231 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * feat(installer): add share links Adds the ability to symlink share files to ~/.local/share/nvim/mason/share (default location). This is currently not used by any packages but will be soon (e.g. linking .jar files to a canonical location on the fs). This also includes the following changes: - fix(windows): correctly unlink executables Prior to this change, executables on Windows would not be removed when uninstalling a package. - refactor(installer): use Result interfaces The motivation behind this is to move away from exceptions and pcalls to leverage the Result interface. This allows for better error messaging during installation, as well as improved composability of actions that may or may not fail. - refactor(bin): use absolute paths in exec wrapper scripts While relative paths are preferred and will end up returning in the future, they i) cannot be guaranteed for all packages, and ii) is somewhat complicated to produce due to lack of std APIs. Moving the entire Mason installation directory was never officially supported anyway. - feat(installer): add "force" flag When this flag is true, any existing executables or share files will be overridden if they exist (i.e. mangle another package installation). * refactor(result): always return Result objects in Result.try The rationale here used to be that exceptions in Result.try() blocks were treated truly as exceptions that should interrupt code execution per Lua's traditional error handling semantics. However, Lua code is somewhat prone to raise exceptions when you don't expect it to (especially when interacting with loosely documented external APIs). Combine this with the fact that code that invokes Result.try() blocks generally doesn't `pcall` and only relies on the Result API to handle errors, you end up with code that only gracefully handles one class of errors (the well-known ones). * test(terminator): sleep in tests to avoid race condition I've no idea why this doesn't pass in CI, works just fine locally. | |||||
| * | refactor(std): remove zstd from untar (#966) | William Boman | 2023-02-05 | 1 | -11/+1 | |
| | | | | This accidentally remained in #963. | |||||
| * | feat(windows): manually decompress zstd archives before untar (#963) | BVegNow | 2023-02-05 | 2 | -5/+33 | |
| | | | | Co-authored-by: William Boman <william@redwill.se> | |||||
| * | feat(ui): customizable window height and width (#906) | Zeng | 2023-01-15 | 1 | -9/+17 | |
| | | ||||||
| * | feat(ui): nicer bottom offset (#905) | William Boman | 2023-01-14 | 1 | -1/+5 | |
| | | | | This ensures that the window doesn't overlap the status bar. | |||||
| * | fix(ui): better bottom padding if cmdheight=0 (#902) | William Boman | 2023-01-13 | 1 | -1/+1 | |
| | | ||||||
| * | feat(functional): add list.index_by (#882) | William Boman | 2023-01-10 | 2 | -0/+13 | |
| | | ||||||
| * | refactor(providers): remove ?include_prerelease query param (#872) | William Boman | 2023-01-09 | 2 | -7/+3 | |
| | | | | This is no longer supported by mason-registry-api. | |||||
| * | fix(package): emit package:uninstall:success registry event (#849) | William Boman | 2023-01-04 | 1 | -0/+1 | |
| | | ||||||
| * | refactor(expr): rename to interpolate (#836) | William Boman | 2023-01-02 | 1 | -14/+14 | |
| | | ||||||
| * | feat(functional): add split_every and default_to (#835) | William Boman | 2023-01-02 | 3 | -0/+29 | |
| | | ||||||
| * | feat(dotnet): ignore failed sources (#792) | Stone Lasley | 2022-12-30 | 1 | -0/+1 | |
| | | ||||||
| * | fix(powershell): terminate stdin with newline (#818) | William Boman | 2022-12-28 | 1 | -0/+1 | |
| | | | | | | Powershell doesn't seem to be closing the process after commands finsh executing and stdin is closed, not entirely sure why. This seems to fix the issue. | |||||
| * | refactor: interact with libuv pipes in async context (#808) | William Boman | 2022-12-26 | 3 | -10/+17 | |
| | | | | Also now properly close pipes (shutdown -> close). | |||||
| * | feat(powershell): set $ErrorActionPreference = "Stop"; (#807) | William Boman | 2022-12-26 | 1 | -11/+15 | |
| | | | | Also write to stdin pipe asynchronously. | |||||
| * | refactor(installer): write debug log file after installation finishes (#806) | William Boman | 2022-12-26 | 1 | -3/+8 | |
| | | ||||||
| * | feat(expr): add tbl_interpolate() (#805) | William Boman | 2022-12-26 | 1 | -7/+24 | |
| | | ||||||
| * | feat(result): add .try() interface (#804) | William Boman | 2022-12-26 | 1 | -0/+32 | |
| | | ||||||
| * | feat(functional): add strip_{prefix,suffix} (#803) | William Boman | 2022-12-26 | 3 | -2/+37 | |
| | | ||||||
| * | refactor(installer): introduce PackageInstallOpts class (#802) | William Boman | 2022-12-26 | 4 | -13/+8 | |
| | | ||||||
| * | refactor(async): error with stack level 0 (#801) | William Boman | 2022-12-26 | 1 | -2/+4 | |
| | | ||||||
| * | feat(registry): add smithy-language-server (#795) | Nick Rodgers | 2022-12-24 | 1 | -0/+6 | |
| | | ||||||
| * | Revert "fix(spawn): always expand cmd if PATH is not modified (#773)" (#783) | William Boman | 2022-12-21 | 1 | -19/+21 | |
| | | | | This reverts commit dd04b4105e84620685c37efb6ca935d282e11465. | |||||
| * | fix(powershell): use pwsh if available (#782) | William Boman | 2022-12-21 | 1 | -2/+4 | |
| | | ||||||
| * | fix(spawn): always expand cmd if PATH is not modified (#773) | William Boman | 2022-12-20 | 1 | -21/+19 | |
| | | | | | | fix(spawn): always expand cmd on Windows Closes #720. | |||||
| * | feat(expr): use same context for value & filter evaluation (#778) | William Boman | 2022-12-20 | 1 | -4/+34 | |
| | | ||||||
