| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | fix(nuget): also support .cmd shims on Windows (#2102) | William Boman | 2026-05-30 | 1 | -1/+7 |
| | | |||||
| * | refactor(fs): use fs.ls in readdir implementation, prefer fs_stat over ↵ | William Boman | 2026-05-30 | 2 | -40/+17 |
| | | | | | fs_fstat (#2101) | ||||
| * | refactor(fs): implement mkdirp natively via libuv (#2100) | William Boman | 2026-05-30 | 3 | -8/+12 |
| | | |||||
| * | fix(fs): implement rmrf natively via libuv (#2098) | William Boman | 2026-05-30 | 3 | -8/+62 |
| | | |||||
| * | feat: add support for socket.dev firewall client (#2088) | William Boman | 2026-05-22 | 11 | -13/+194 |
| | | |||||
| * | feat: add the infrastructure to support "system" packages (#2085) | William Boman | 2026-05-14 | 7 | -27/+85 |
| | | | | | | | This enables `mason.nvim` to start managing certain packages that: 1) are not suitable for the core registry 2) should not surface in existing APIs and UIs | ||||
| * | fix(pypi): add python 3.13 and 3.14 to list of fallbacks (#2081) | Aaron U'Ren | 2026-05-07 | 1 | -6/+9 |
| | | |||||
| * | fix(spawn): handle cases where PATH env on Windows is not set (#2080) | William Boman | 2026-04-27 | 1 | -3/+4 |
| | | |||||
| * | fix(powershell): conform to single quotes (#1740) | Thomas Tan | 2026-04-21 | 1 | -1/+1 |
| | | | | Co-authored-by: William Boman <william@redwill.se> | ||||
| * | feat(npm): add `install_args` setting (#1581) | Amit Tamari | 2026-04-21 | 2 | -1/+7 |
| | | | | Co-authored-by: William Boman <william@redwill.se> | ||||
| * | fix: actually emit the receipt in uninstall event payloads (#2071) | William Boman | 2026-04-06 | 1 | -1/+1 |
| | | |||||
| * | feat: add support for removal of packages from a registry (#2052) | William Boman | 2026-01-07 | 4 | -10/+16 |
| | | | | | | | | | | | | This adds support for removal of packages from any given registry. Currently mason.nvim doesn't support this at all and throws an error when trying to interact with the registry in any way while having a removed package installed locally. This ensures that removed packages are available both in the `:Mason` UI as well as the public Lua APIs. These "synthesized" packages only supports uninstallation, and metadata such as licenses, categories, homepage, etc is not available. | ||||
| * | fix(installer): update cwd after uv_fs_rename() was successful (#2033) | William Boman | 2025-11-14 | 1 | -8/+8 |
| | | | | | Also moves to fs.sync calls over fs.async to avoid unnecessary async coroutine overhead. | ||||
| * | fix(installer): attempt to recover from known fs error while finalizing ↵ | Sam-Briney | 2025-11-14 | 2 | -1/+14 |
| | | | | | | installation on some file systems (#1933) Co-authored-by: William Boman <william@redwill.se> | ||||
| * | fix(spawn): always expand executable path on Windows (#2021) | William Boman | 2025-09-30 | 1 | -6/+19 |
| | | | | | | | | | This fixes some issues with the logic for expanding paths on Windows. If a process is spawned with a custom `PATH` (either via the `env` or `env_raw` arg) we still expand the path manually but with a temporarily modified `vim.env.PATH`. Fixes #2009. | ||||
| * | feat(compiler): make `supported_platforms` a universal source field (#2002) | William Boman | 2025-08-07 | 5 | -63/+45 |
| | | | | | | | Previously this field had to be handled separately in each source type. This backwards-compatible change makes `supported_platforms` a universal top-level field on the `source:` object, meaning it'll be parsed for each source type. | ||||
| * | fix(pypi): add support for "compatible release" (~=) PEP440 expressions (#2000) | William Boman | 2025-08-01 | 1 | -6/+14 |
| | | |||||
| * | fix(process): close check handles (#1995) | Mirek Długosz | 2025-07-28 | 2 | -0/+2 |
| | | |||||
| * | fix(spawn): fix locating exepath on Windows systems using a Unix `'shell'` ↵ | William Boman | 2025-07-25 | 1 | -1/+16 |
| | | | | | | (#1991) Fixes #1961. | ||||
| * | fix(fetch): add busybox wget support (#1829) | Fredrik Foss-Indrehus | 2025-05-24 | 1 | -7/+24 |
| | | | | Co-authored-by: William Boman <william@redwill.se> | ||||
| * | fix(pypi): pass --no-user flag (#1958) | William Boman | 2025-05-19 | 1 | -0/+1 |
| | | | | Fixes #1937. | ||||
| * | fix(spawn): fix calling vim.fn when inside fast event loop on Windows (#1950) | William Boman | 2025-05-15 | 1 | -0/+1 |
| | | |||||
| * | docs: update references to mason-org/mason.nvim (#1925) | William Boman | 2025-05-06 | 2 | -2/+2 |
| | | |||||
| * | feat: associate package instances with registry source and record it in receipt | William Boman | 2025-05-06 | 4 | -9/+38 |
| | | |||||
| * | feat(ui): display purl information | William Boman | 2025-04-22 | 1 | -0/+6 |
| | | | | | First step towards surfacing more package source information. | ||||
| * | feat(ui): support 'winborder' | William Boman | 2025-04-21 | 1 | -1/+2 |
| | | |||||
| * | refactor(command): use callback in Package:install() when running ↵ | William Boman | 2025-03-03 | 1 | -1/+1 |
| | | | | | :MasonInstall in headless mode | ||||
| * | fix(uninstaller): only unlink if recipt is found | William Boman | 2025-03-03 | 1 | -1/+2 |
| | | |||||
| * | refactor(registry): refactor registry initialization | William Boman | 2025-03-03 | 1 | -3/+2 |
| | | |||||
| * | fix(spawn): expand executable paths on Windows before passing to uv_spawn ↵ | William Boman | 2025-02-22 | 2 | -25/+14 |
| | | | | | | | (#1885) This fixes issues on Windows where uv_spawn fails to locate certain types of executables in PATH. | ||||
| * | style: fix stylua and selene errors | William Boman | 2025-02-20 | 2 | -2/+1 |
| | | |||||
| * | feat(context): add ctx:await() | William Boman | 2025-02-19 | 1 | -0/+6 |
| | | |||||
| * | chore: remove unnecessary vim.schedule and nvim_err_writeln | William Boman | 2025-02-19 | 1 | -4/+1 |
| | | |||||
| * | refactor: turn StdioSink into a proper class | William Boman | 2025-02-19 | 18 | -118/+157 |
| | | |||||
| * | feat(context): add ctx:fetch() | William Boman | 2025-02-19 | 1 | -0/+12 |
| | | |||||
| * | fix(expr): also interpolate table keys | William Boman | 2025-02-19 | 1 | -0/+3 |
| | | |||||
| * | refactor!: change Package API | William Boman | 2025-02-19 | 20 | -421/+712 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This changes the following public APIs: **(_breaking_) Events on the `Package` class** The `uninstall:success` event on the `Package` class now receives an `InstallReceipt` as argument, instead of an `InstallHandle`. This receipt is an in-memory representation of what was uninstalled. There's also a new `uninstall:failed` event for situations where uninstallation for some reason fails. Note: this also applies to the registry events (i.e. `package:uninstall:success` and `package:uninstall:failed`). --- **(_breaking_) `Package:uninstall()` is now asynchronous and receives two new arguments, similarly to `Package:install()`** While package uninstallations remain synchronous under the hood, the public API has been changed from synchronous -> asynchronous. Users of this method are recommended to provide a callback in situations where code needs to execute after uninstallation fully completes. --- **(_breaking_) `Package:get_install_path()` has been removed. --- **`Package:install()` now takes an optional callback** This callback allows consumers to be informed whether installation was successful or not without having to go through a different, low-level, API. See below for a comparison between the old and new APIs: ```lua -- before local handle = pkg:install() handle:once("closed", function () -- ... end) -- after pkg:install({}, function (success, result) -- ... end) ``` | ||||
| * | fix(pypi): remove -U flag and fix log message | William Boman | 2025-02-19 | 1 | -2/+1 |
| | | |||||
| * | fix(async): also check async context termination immediately after suspending | William Boman | 2025-02-19 | 2 | -2/+5 |
| | | |||||
| * | refactor: standardize constructors and improve inheritance construction | William Boman | 2025-02-19 | 15 | -115/+174 |
| | | |||||
| * | fix(location): use correct registry path | William Boman | 2025-02-19 | 1 | -1/+1 |
| | | |||||
| * | feat(linker): use relative targets for symlinks (#1525) | William Boman | 2025-02-19 | 2 | -24/+11 |
| | | | | | Closes #1156. | ||||
| * | feat(path): add relative(from, to) | William Boman | 2025-02-19 | 1 | -1/+32 |
| | | |||||
| * | refactor(path): use InstallLocation to produce paths, remove static path methods | William Boman | 2025-02-19 | 5 | -57/+64 |
| | | |||||
| * | refactor(installer): move initializations to InstallContext constructor | William Boman | 2025-02-19 | 4 | -21/+23 |
| | | |||||
| * | refactor: add InstallLocation.global() | William Boman | 2025-02-19 | 2 | -1/+6 |
| | | |||||
| * | chore: hoist single file modules | William Boman | 2025-02-19 | 2 | -0/+0 |
| | | |||||
| * | chore: remove todo comment | William Boman | 2025-02-19 | 1 | -1/+0 |
| | | | | | Using sync is actually preferable here (and likely in many other places) to avoid async context & continuation overhead. | ||||
| * | chore(compilers): remove default environment from github build compiler | William Boman | 2025-02-19 | 1 | -7/+1 |
| | | |||||
| * | refactor!: refactor installer internals and add new Package class methods ↵ | William Boman | 2025-02-19 | 32 | -582/+666 |
| | | | | | | | | | | | | | | | | | | | | (#1523) This contains the following changes: 1) `Package:install()` now accepts a second, optional, callback argument which is called when installation finishes (successfully or not). 2) Adds a `Package:is_installing()` method. This contains the following breaking changes: 1) `Package:install()` will now error when called while an installation is already ongoing. Use the new `Package:is_installing()` method to check whether an installation is already running. This also refactors large portions of the tests by removing test globals, removing async_test, and adding the `mason-test` Lua module instead. Test helpers via globals are problematic to work with due to not being detected through tools like the Lua language server without additional configuration. This has been replaced with a Lua module `mason-test`. `async_test` has also been removed in favour of explicitly making use of the `mason-core.async` API. These changes stands for a significant portion of the diff. | ||||
