Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2021-08-16 | interperterbase: help type checkers do better type deduction | Dylan Baker | 1 | -1/+5 | |
This assert causes several type checkers (both mypy and pyright) to force `obj` to be a base `HoldableObject` instead of the specialized object. Since the check itself may still be valuable as we don't have fully type annotation coverage it's simply been removed when type checking to aid in type specialization. | |||||
2021-07-21 | Fix meson.version().version_compare() regression in subproject | Xavier Claessens | 1 | -1/+1 | |
2021-06-26 | refactor: Refactor BothLibraries logic | Daniel Mensinger | 1 | -1/+3 | |
This commit introduces a new type of `HoldableObject`: The `SecondLevelHolder`. The primary purpose of this class is to handle cases where two (or more) `HoldableObject`s are stored at the same time (with one default object). The best (and currently only) example here is the `BothLibraries` class. | |||||
2021-06-21 | fix: Ensure that build targets have all methods from ExternalProgram | Daniel Mensinger | 1 | -1/+1 | |
As a side-effect from #8885 `find_program()` returns now `Executable` objects when `meson.override_find_program` is called with an executable target. To resolve this conflict the missing methods from `ExternalProgram` are added to `BuildTarget`. | |||||
2021-06-18 | holders: Introduce HoldableObject | Daniel Mensinger | 1 | -11/+23 | |
2021-06-18 | interpreter: Meson does not have floats --> remove them | Daniel Mensinger | 1 | -2/+2 | |
2021-06-18 | interpreter: Add a new MesonInterpreterObject for non-elementary objects | Daniel Mensinger | 1 | -2/+5 | |
2021-06-18 | interpreter: Refactor interpreter.compiler to use ObjectHolder | Daniel Mensinger | 1 | -2/+2 | |
2021-06-18 | interpreter: Refactor ObjectHolder to extend InterpreterObject | Daniel Mensinger | 1 | -10/+10 | |
2021-06-11 | interpreter: Split base objects and helpers from interpreterbase.py | Daniel Mensinger | 1 | -0/+79 | |