| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | refactor(expr): better handling of nil values (#1056) | William Boman | 2023-03-05 | 1 | -8/+11 | |
| | | ||||||
| * | feat(InstallContext): add strict_mode flag (#1055) | William Boman | 2023-03-05 | 2 | -1/+20 | |
| | | | | Also add some more ctx.fs methods. | |||||
| * | refactor: simplify linker & receipt writing (#1033) | William Boman | 2023-02-26 | 2 | -6/+21 | |
| | | ||||||
| * | feat(installer): add share links (#965) | William Boman | 2023-02-17 | 2 | -19/+66 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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(expr): rename to interpolate (#836) | William Boman | 2023-01-02 | 1 | -10/+12 | |
| | | ||||||
| * | refactor(installer): write debug log file after installation finishes (#806) | William Boman | 2022-12-26 | 1 | -0/+19 | |
| | | ||||||
| * | feat(expr): add tbl_interpolate() (#805) | William Boman | 2022-12-26 | 1 | -3/+39 | |
| | | ||||||
| * | feat(functional): add strip_{prefix,suffix} (#803) | William Boman | 2022-12-26 | 1 | -1/+1 | |
| | | ||||||
| * | refactor(async): error with stack level 0 (#801) | William Boman | 2022-12-26 | 1 | -1/+1 | |
| | | ||||||
| * | feat(expr): use same context for value & filter evaluation (#778) | William Boman | 2022-12-20 | 1 | -4/+30 | |
| | | ||||||
| * | feat: add expr module (#775) | William Boman | 2022-12-20 | 1 | -0/+57 | |
| | | | | | | This is (soon) to be used when installing package definitions from https://github.com/mason-org/mason-registry/. See for example: https://github.com/mason-org/mason-registry/blob/7df69dd2a73efc3a08520552ca64597d1db5f4fb/packages/go-debug-adapter/package.yaml#L16 | |||||
| * | feat(platform): accept darwin (#743) | William Boman | 2022-12-08 | 2 | -0/+2 | |
| | | | | | | Mac systems are generally referred to as the Darwin OS. For all intents and purposes, "mac" and "darwin" can be used interchangeably (although darwin will be preferred going forward). | |||||
| * | feat: more competent platform detection (#436) | William Boman | 2022-09-17 | 2 | -8/+8 | |
| | | ||||||
| * | refactor: store link state in install context object (#419) | William Boman | 2022-09-14 | 1 | -6/+20 | |
| | | ||||||
| * | refactor: add ctx:write_php_exec_wrapper utility (#409) | William Boman | 2022-09-12 | 1 | -0/+35 | |
| | | ||||||
| * | fix(EventEmitter): properly deregister handlers, print errors that occur in ↵ | William Boman | 2022-09-03 | 1 | -4/+12 | |
| | | | | | handler (#373) | |||||
| * | fix(installer): use /usr/bin/env bash shebang (#315) | William Boman | 2022-08-19 | 1 | -1/+1 | |
| | | | | Fixes #308. | |||||
| * | test(installer): add spec files for context and linker (#314) | William Boman | 2022-08-19 | 2 | -0/+280 | |
| | | | | | | | | * feat(installer): don't write exec wrappers for targets that don't exist Just a precaution to avoid writing broken executables. * test(installer): add spec files for context and linker | |||||
| * | refactor: introduce selene, harden type defs, and use proper EmmyLua syntax ↵ | William Boman | 2022-08-15 | 1 | -1/+0 | |
| | | | | | (#296) | |||||
| * | tests: add some InstallHandle tests (#67) | William Boman | 2022-07-13 | 2 | -0/+200 | |
