Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2020-09-10 | msubprojects: Support git subprojects with no wrap file | Xavier Claessens | 2 | -0/+19 | |
User could have cloned manually a subproject. | |||||
2020-09-10 | msubprojects: Use less cryptic "git branch --show-current" command | Xavier Claessens | 1 | -3/+3 | |
It describes well what it does, compared to obscure "rev-parse". | |||||
2020-09-10 | msubprojects: Add --type argument | Xavier Claessens | 1 | -0/+5 | |
It is often desired to only update git repositories and not pull files from wrapdb. | |||||
2020-09-10 | msubprojects: Use wrap.Resolver() to load all PackageDefinition | Xavier Claessens | 1 | -21/+16 | |
Besides being simpler, it has the advantage of picking directories that don't have a .wrap file assotiated. | |||||
2020-09-10 | minstall: Add version field to install data | Nirbheek Chauhan | 3 | -9/+17 | |
And check the install data in the same way that mtest checks serialisation data. Fixes https://github.com/mesonbuild/meson/issues/2354 | |||||
2020-09-10 | mtest: Refactor test data checking | Nirbheek Chauhan | 1 | -21/+12 | |
2020-09-10 | mtest: Check version in the test data after loading | Nirbheek Chauhan | 3 | -16/+34 | |
Same as coredata.dat and build.dat loading. Also, do not assert if things change. Raise the appropriate exception. Fixes https://github.com/mesonbuild/meson/issues/7613 | |||||
2020-09-10 | Identify machine in error accesing compiler object for missing language | Jon Turney | 1 | -1/+1 | |
Also add a failing test case for that error. | |||||
2020-09-10 | ninja: Generate all STATIC_LINKER rules | Jon Turney | 1 | -2/+5 | |
Don't stop generating STATIC_LINKER rules at the first MachineChoice which isn't available (i.e. generate a STATIC_LINKER rule, even if STATIC_LINKER_FOR_BUILD isn't needed) Also warn about internal errors which lead to non-existent rule references, rather than exploding with a KeyError. | |||||
2020-09-10 | Don't require build machine compilers for project() languages | Jon Turney | 1 | -1/+3 | |
This means that, in the common case of a simple meson.build which doesn't contain any 'native: true' targets, we won't require a native compiler when cross-compiling, without needing any changes in the meson.build. | |||||
2020-09-10 | cmake: fix shared_module dependency (fixes #7715) | Daniel Mensinger | 1 | -0/+4 | |
2020-09-09 | Merge pull request #7657 from mensinda/moreTyping | Dylan Baker | 70 | -607/+718 | |
typing: Strict type annotations | |||||
2020-09-09 | Merge pull request #7428 from jon-turney/introspector-add-languages | Jussi Pakkanen | 1 | -12/+21 | |
Handle add_languages(native:) in introspector | |||||
2020-09-09 | Implement add_languages(native:) in introspector | Jon Turney | 1 | -2/+7 | |
2020-09-08 | typing: fixup for #7708 | Daniel Mensinger | 1 | -1/+5 | |
2020-09-08 | typing: fixup of #7688 | Daniel Mensinger | 1 | -1/+1 | |
This bug not beeing caught in review is another reason for adding strict typing support to meson. | |||||
2020-09-08 | typing: Fix code review | Daniel Mensinger | 3 | -37/+12 | |
2020-09-08 | typing: fix LGTM bot error | Daniel Mensinger | 1 | -0/+4 | |
2020-09-08 | typing: fix code review | Daniel Mensinger | 10 | -38/+39 | |
2020-09-08 | typing: get rid of most T.cast | Daniel Mensinger | 7 | -16/+21 | |
2020-09-08 | typing: more fixes | Daniel Mensinger | 18 | -161/+214 | |
2020-09-08 | typing: Fix templates | Daniel Mensinger | 13 | -24/+28 | |
2020-09-08 | typing: fix dependencies for new follow_imports | Daniel Mensinger | 4 | -15/+18 | |
2020-09-08 | typing: fix envconfig typing | Daniel Mensinger | 1 | -1/+1 | |
2020-09-08 | typing: ignore error because of untyped decorator | Daniel Mensinger | 1 | -1/+1 | |
2020-09-08 | typing: fully annotate mintro and mtest | Daniel Mensinger | 2 | -25/+25 | |
2020-09-08 | typing: fully annotate mcompile, minit, and msetup | Daniel Mensinger | 3 | -15/+19 | |
2020-09-08 | typing: fully annotate fs module | Daniel Mensinger | 1 | -4/+4 | |
2020-09-08 | typing: fully annotate arglist | Daniel Mensinger | 2 | -5/+5 | |
2020-09-08 | typing: fully annotate boost and hdf5 deps | Daniel Mensinger | 2 | -8/+12 | |
2020-09-08 | typing: fully annotate scripts | Daniel Mensinger | 22 | -152/+182 | |
2020-09-08 | typing: fully annotate wrap | Daniel Mensinger | 3 | -34/+40 | |
2020-09-08 | typing: fully annotate mparser.py | Daniel Mensinger | 2 | -18/+29 | |
2020-09-08 | typing: fully annotate mesonlib.py | Daniel Mensinger | 2 | -42/+42 | |
2020-09-08 | typing: Add run_mypy.py for easier mypy invocation | Daniel Mensinger | 1 | -1/+1 | |
2020-09-08 | typing: completely type interpreterbase | Daniel Mensinger | 1 | -64/+68 | |
2020-09-08 | typing: completely type ast | Daniel Mensinger | 3 | -7/+7 | |
2020-09-08 | typing: refactor dict handling | Daniel Mensinger | 2 | -25/+28 | |
2020-09-08 | IntrospectInterpreter: allow dictionaries with nonconstant keys | Paolo Bonzini | 1 | -0/+10 | |
Something like {a: foo} currently stymies the IntrospectionInterpreter and breaks introspection of the source directory. The fix is just to walk the keys and return a dummy dictionary. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> | |||||
2020-09-08 | Factor out an _add_languages() function in introspector | Jon Turney | 1 | -11/+15 | |
Factor out an _add_languages() function in introspector, rather than calling func_add_languages() with arguments crafted to fake an interpreter call. | |||||
2020-09-08 | minstall: Print a big FAILED when a script fails | Nirbheek Chauhan | 1 | -4/+6 | |
We don't run any further scripts when this happens, so we need to print a big error. The exit code was already correct. Fixes https://github.com/mesonbuild/meson/issues/7627 | |||||
2020-09-08 | Add some type hints to the ExternalProgram class | Nirbheek Chauhan | 1 | -7/+7 | |
2020-09-08 | Fix picking up tools with args from the env on Windows | Nirbheek Chauhan | 1 | -1/+8 | |
This was a regression in https://github.com/mesonbuild/meson/pull/7059. We do not need to do a full search for all windows special cases. We only want to check whether the command provided is actually a full path to a script so we can add the interpreter. Fixes https://github.com/mesonbuild/meson/issues/7645 | |||||
2020-09-06 | backends: check external rpaths for all languages using ldflags | James Hilliard | 2 | -2/+3 | |
Signed-off-by: James Hilliard <james.hilliard1@gmail.com> | |||||
2020-09-06 | Merge pull request #7689 from scivision/fortran_inc | Jussi Pakkanen | 1 | -20/+22 | |
correct Fortran include algorithm | |||||
2020-09-04 | environment: use ExternalProgram to find ninja | Paolo Bonzini | 7 | -18/+22 | |
This allows the NINJA environment variable to support all the Windows special cases, especially allowing an absolute path without extension. Based on a patch by Yonggang Luo. Fixes: #7659 Suggested-by: Nirbheek Chauhan <nirbheek@centricular.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> | |||||
2020-09-04 | introspect: add test dependencies info to test/benchmark JSON | Paolo Bonzini | 2 | -2/+11 | |
Add the ids of any target that needs to be rebuilt before running the tests as computed by the backend, to the introspection data for tests and benchmarks. This also includes anything that appears on the test's command line. Without this information, IDEs must update the entire build before running any test. They can now instead selectively build the test executable itself and anything that is needed to run it. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> | |||||
2020-09-02 | fortran: make include scanning also work for CMake subprojects | Michael Hirsch | 1 | -20/+22 | |
also fixed PEP8 I originally implemented the "include" scanning, but hadn't made a test for this case | |||||
2020-09-02 | symbolextractor: Handle PermissionError when running tool | Nirbheek Chauhan | 1 | -0/+5 | |
I can't reproduce this, but it is definitely possible. In this case what we should do is the same as when the tool is not found. Fixes https://github.com/mesonbuild/meson/issues/7605 | |||||
2020-09-02 | cmake: Don't link DEBUG to CRT when not building with MSVC | Nirbheek Chauhan | 1 | -1/+3 | |
is_debug doesn't just control the CRT, it also controls the 'debug configuration' which is unrelated to the CRT setting on non-MSVC. Fixes https://github.com/mesonbuild/meson/issues/7631 |