| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | chore(main): release 2.0.1 (#1921)v2.0.1 | williambotman[bot] | 2025-07-25 | 1 | -2/+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 | 2 | -8/+25 |
| | | | | 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(registry): ensure there's no duplicate registry entries (#1957) | William Boman | 2025-05-19 | 5 | -4/+67 |
| | | |||||
| * | 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 | 6 | -7/+7 |
| | | |||||
| * | v2.0.0v2.0.0 | William Boman | 2025-05-06 | 1 | -1/+1 |
| | | |||||
| * | feat: associate package instances with registry source and record it in receipt | William Boman | 2025-05-06 | 9 | -19/+77 |
| | | |||||
| * | refactor(registry): change lua registries to not instantiate Package themselves | William Boman | 2025-05-02 | 3 | -23/+36 |
| | | | | | | | | | Instead of having Lua registries instantiate package instances themselves we now do it in the installer of Lua registry sources. This aligns the behaviour of the Lua registry protocol with the other registry protocols. | ||||
| * | feat(ui): display purl information | William Boman | 2025-04-22 | 3 | -0/+16 |
| | | | | | First step towards surfacing more package source information. | ||||
| * | feat(ui): support 'winborder' | William Boman | 2025-04-21 | 3 | -3/+15 |
| | | |||||
| * | feat(ui): display current version in header | William Boman | 2025-04-21 | 1 | -0/+3 |
| | | |||||
| * | fix(ui): fix setting outdated package state | William Boman | 2025-03-28 | 1 | -4/+2 |
| | | |||||
| * | fix(registry): fix registry.is_installed() | William Boman | 2025-03-24 | 1 | -2/+2 |
| | | |||||
| * | refactor(command): use callback in Package:install() when running ↵ | William Boman | 2025-03-03 | 2 | -53/+46 |
| | | | | | :MasonInstall in headless mode | ||||
| * | v2.0.0-rc.2v2.0.0-rc.2 | William Boman | 2025-03-03 | 1 | -1/+1 |
| | | |||||
| * | refactor(registry)!: add events "update:success", "update:start", ↵ | William Boman | 2025-03-03 | 5 | -70/+92 |
| | | | | | "update:progress" and "update:failed" | ||||
| * | fix(ui): fix initializing state | William Boman | 2025-03-03 | 2 | -16/+29 |
| | | |||||
| * | fix(uninstaller): only unlink if recipt is found | William Boman | 2025-03-03 | 1 | -1/+2 |
| | | |||||
| * | refactor(registry): parallelize registry installation | William Boman | 2025-03-03 | 5 | -31/+74 |
| | | |||||
| * | refactor(registry): refactor registry initialization | William Boman | 2025-03-03 | 10 | -306/+300 |
| | | |||||
| * | 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 |
| | | |||||
| * | v2.0.0-rc.1v2.0.0-rc.1 | William Boman | 2025-02-19 | 1 | -3/+3 |
| | | |||||
| * | chore!: update required Neovim version to 0.10.0 | William Boman | 2025-02-19 | 1 | -3/+3 |
| | | |||||
| * | 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 | 19 | -119/+159 |
| | | |||||
| * | feat(context): add ctx:fetch() | William Boman | 2025-02-19 | 1 | -0/+12 |
| | | |||||
| * | feat(ui): display latest version for uninstalled packages | William Boman | 2025-02-19 | 1 | -0/+3 |
| | | |||||
| * | fix(expr): also interpolate table keys | William Boman | 2025-02-19 | 1 | -0/+3 |
| | | |||||
| * | refactor!: change Package API | William Boman | 2025-02-19 | 28 | -519/+848 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | 24 | -141/+206 |
| | | |||||
| * | 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 | 8 | -70/+75 |
| | | |||||
| * | refactor(installer): move initializations to InstallContext constructor | William Boman | 2025-02-19 | 5 | -29/+26 |
| | | |||||
| * | 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 |
| | | |||||
| * | fix(command): don't attempt installing packages that are already installing | William Boman | 2025-02-19 | 1 | -8/+13 |
| | | |||||
| * | 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 | 34 | -584/+701 |
| | | | | | | | | | | | | | | | | | | | | (#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. | ||||
| * | refactor(receipt): change receipt structure and remove old builder APIs (#1521) | William Boman | 2025-02-16 | 6 | -101/+50 |
| | | |||||
| * | fix(package): support older receipt structures (#1520) | William Boman | 2025-02-16 | 1 | -1/+5 |
| | | |||||
| * | fix(ui): change feedback text contents when updating registry (#1519) | William Boman | 2025-02-16 | 1 | -1/+1 |
| | | |||||
