Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2021-06-22 | interpreter: use typed_pos_args for install_man | Dylan Baker | 1 | -2/+5 | |
2021-06-22 | interpreter: use typed_kwargs for install_headers | Dylan Baker | 2 | -12/+18 | |
2021-06-22 | interpreter: use typed_pos_args for install_headers | Dylan Baker | 1 | -4/+5 | |
2021-06-22 | interpreter: use typed_kwargs for install_data | Dylan Baker | 2 | -26/+25 | |
2021-06-22 | interpreter: use typed_pos_args for install_data | Dylan Baker | 1 | -2/+4 | |
2021-06-22 | interpreter: use typed_kwargs for install_subdir | Dylan Baker | 2 | -41/+99 | |
2021-06-22 | interpreter: use typed_pos_args for install_subdir | Dylan Baker | 1 | -7/+3 | |
2021-06-22 | interpreterbase: Add evolve to KwargInfo | Dylan Baker | 1 | -0/+41 | |
This works just like OptionKey.evolve, pass new keyword arguments to override old ones, otherwise the original versions are copied to the new one. | |||||
2021-06-22 | interpreter: add overload for source_strings_to_files | Dylan Baker | 1 | -0/+4 | |
when only passing strings or Files we only get back Files. This is useful for the install_* methods | |||||
2021-06-22 | mesonlib: add rsplit and and maxsplit | Dylan Baker | 1 | -2/+5 | |
Since string has a maxsplit as well, we should implement that for polymorphism | |||||
2021-06-22 | mesonlib: Fix FileMode type annotations | Dylan Baker | 2 | -3/+4 | |
2021-06-22 | minstall: fix type annotation for add_arguments | Dylan Baker | 1 | -1/+1 | |
This takes an `argparse.ArgumentParser` instance, not a namespace | |||||
2021-06-22 | backend: Headers.install_subdir is allowed to be None | Dylan Baker | 2 | -2/+7 | |
But we don't properly handle that. | |||||
2021-06-22 | extract_objects: skip headers when building custom_target command line | Paolo Bonzini | 1 | -4/+6 | |
As seen in the testcase, passing objects to custom_target does not work if headers are passed extract_objects(), or if extract_all_objects() is used and the sources include any header files. To fix this, use the code that already exists for unity build to filter out the nonexistent ".h.o" files. This already gives for free the handling of genlist, which was mentioned in a TODO comment. | |||||
2021-06-22 | Fixed style issue as per comments on PR 8911. | Justin Handville | 1 | -2/+1 | |
2021-06-22 | Fix for Issue 8910 (Meson filters CMake asm files) | Justin Handville | 2 | -2/+5 | |
2021-06-22 | interpreter: Replace manual kwarg validation in ↵ | Laurin-Luis Lehning | 1 | -6/+7 | |
compiler.get_supported_arguments with @typed_kwargs | |||||
2021-06-21 | fix: Ensure that build targets have all methods from ExternalProgram | Daniel Mensinger | 2 | -9/+18 | |
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-21 | interpreter: Move argument checks from add_*_arguments to ↵ | Laurin-Luis Lehning | 3 | -23/+18 | |
compiler.get_supported_arguments | |||||
2021-06-21 | interpreter: Consider the compiler language before checking arguments | Laurin-Luis Lehning | 1 | -1/+4 | |
2021-06-21 | interprter: Add required kwarg to add_(project|global)_arguments | Laurin-Luis Lehning | 2 | -2/+17 | |
To avoid manual compiler support checks add_project_arguments and add_global_arguments receive a new keyword argument to perform them automatically. | |||||
2021-06-20 | fix: dicts and list need _holderify for fallback | Daniel Mensinger | 1 | -2/+2 | |
2021-06-20 | fix: Fix strange holder_map bug in combination with subprojects | Daniel Mensinger | 1 | -9/+6 | |
I was unable to reproduce this in a minimal test-case, so there is currently no new test :( | |||||
2021-06-20 | fix: Fix set_variable not holderifying (fixes #8904) | Daniel Mensinger | 2 | -8/+21 | |
2021-06-18 | holders: Fix the remaining code to respect the holder changes | Daniel Mensinger | 12 | -497/+504 | |
2021-06-18 | holders: remove unholder | Daniel Mensinger | 19 | -246/+203 | |
2021-06-18 | holders: Introduce BothLibraries | Daniel Mensinger | 4 | -76/+106 | |
2021-06-18 | holders: Ensure that InterpreterBase is the sole instance for (un)holderifying | Daniel Mensinger | 7 | -104/+251 | |
2021-06-18 | holders: Move get_version from directly to ExternalProgram | Daniel Mensinger | 2 | -22/+22 | |
2021-06-18 | holders: Introduce HoldableObject | Daniel Mensinger | 11 | -39/+60 | |
2021-06-18 | interpreter: Add FileHolder and remove specical case for File | Daniel Mensinger | 3 | -8/+10 | |
2021-06-18 | interpreter: Meson does not have floats --> remove them | Daniel Mensinger | 2 | -3/+3 | |
2021-06-18 | interpreter: Add a new MesonInterpreterObject for non-elementary objects | Daniel Mensinger | 7 | -25/+43 | |
2021-06-18 | interpreter: Refactor interpreter.compiler to use ObjectHolder | Daniel Mensinger | 3 | -17/+24 | |
2021-06-18 | interpreter: Refactor ObjectHolder to extend InterpreterObject | Daniel Mensinger | 2 | -69/+47 | |
2021-06-18 | decorators: Add not_set_warning to KwargInfo | Daniel Mensinger | 1 | -1/+7 | |
2021-06-18 | decorators: Fix typo | Daniel Mensinger | 1 | -1/+1 | |
2021-06-18 | build: textwrap.dedent() some strings | Daniel Mensinger | 1 | -10/+18 | |
2021-06-18 | typing: Import missing classes in interpreterobjects.py | Daniel Mensinger | 1 | -0/+2 | |
2021-06-18 | mesonlib: Add MesonBugException | Daniel Mensinger | 1 | -0/+9 | |
2021-06-18 | modules/qt: use append rather than extend in preprocess | Dylan Baker | 1 | -3/+3 | |
Because that's what we need, of course | |||||
2021-06-18 | modules/qt: allow string values for include_directories | Dylan Baker | 1 | -4/+4 | |
This should have been supported before, but wasn't. | |||||
2021-06-18 | build: add type annotations for the IncludeDirs object | Dylan Baker | 1 | -9/+11 | |
2021-06-18 | interpreter: add type annotations to build_incdir_object | Dylan Baker | 1 | -29/+30 | |
and use textwrap.dedent to make the very large messages more readable and not break method folding. | |||||
2021-06-18 | dependency: Empty fallback is the same as allow_fallback: false | Xavier Claessens | 1 | -0/+4 | |
2021-06-17 | intl custom dependency | Eli Schwartz | 2 | -2/+29 | |
Checking how to aquire the *gettext family of symbols portably is annoyingly complex, and may come from the libc, or standalone. builtin dependency: This detects if libintl is unneeded, because the *gettext family of symbols is available in the libc. system dependency: This detects if libintl is installed as separate software, linkable via -lintl; unfortunately, GNU gettext does not ship pkg-config files for it. Fixes #3929 | |||||
2021-06-17 | expose SystemDependency and BuiltinDependency as toplevel classes | Eli Schwartz | 2 | -3/+6 | |
mesonbuild.dependencies.__init__ exposes configtool, pkgconfig, cmake and more in __init__.py, so there's no reason we should be tying SystemDependency to the internal organization implementation of the subpackage! In the 2nd previous commit it took quite some effort to figure out that the python module "does not exist" because of import errors while refactoring something completely different. | |||||
2021-06-17 | add new dependency type "builtin" | Eli Schwartz | 2 | -1/+22 | |
For dependencies that on some systems are built into libc etc. and don't need to be separately linked. This is distinct from "system" dependencies which add linker args. | |||||
2021-06-17 | move base class for system dependencies into base.py | Eli Schwartz | 11 | -44/+26 | |
In accordance with review comments; it's small enough this seems fitting. | |||||
2021-06-16 | interpreter: Extract dependency() logic into its own helper class | Xavier Claessens | 3 | -306/+372 | |
The dependency lookup is a lot of complex code. This refactor it all into a single file/class outside of interpreter main class. This new design allows adding more fallbacks candidates in the future (e.g. using cc.find_library()) but does not yet add any extra API. |