Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2020-09-10 | Move verbose_git() and quiet_git() to mesonlib | Xavier Claessens | 2 | -18/+17 | |
2020-09-10 | mesonlib: Move MesonException declaration to the top | Xavier Claessens | 1 | -13/+11 | |
2020-09-10 | doc: Update new `meson subprojects` behaviors | Xavier Claessens | 2 | -12/+63 | |
2020-09-10 | msubprojects: Rework update command | Xavier Claessens | 1 | -52/+96 | |
Besides refactoring code into smaller functions: - Makes the --rebase behaviour the default for consistency: it was already rebasing when current branch and revision are the same, it is less confusing to rebase when they are different too. - Add --reset mode that checkout the new branch and hard reset that branch to remote commit. This new mode guarantees that every subproject are exactly at the wrap's revision. - Local changes are always stashed first to avoid any data loss. In the worst case scenario the user can always check reflog and stash list to rollback. Fixes: #7526 | |||||
2020-09-10 | msubprojects: Return failure if some commands failed | Xavier Claessens | 1 | -23/+39 | |
If the command fails on some subprojects continue with the rest but return non-0 code. This is useful for CI scripts to ensure it tests latest code instead of old cached code in case of network error or something. | |||||
2020-09-10 | msubprojects: Stash changes before checkout | Xavier Claessens | 1 | -0/+3 | |
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 | Add a test run in an environment which only has a cross compiler | Jon Turney | 3 | -5/+29 | |
Add '--cross-only' option to run_tests.py, so we can arrange not to run tests in the 'native' suite when only a cross-compiler is available, as they can't succeed. | |||||
2020-09-10 | Add release note snippet | Jon Turney | 1 | -0/+4 | |
2020-09-10 | Split tests out from 'common' which require a native compiler | Jon Turney | 56 | -34/+131 | |
Split out tests (and parts of tests) which require a native compiler from the 'common' suite to a new suite called 'native', so we can selectively avoid running those tests when only a cross-compiler is available. Also move test '211 cmake module' to 'cmake' suite, since it appears that the way we use cmake requires a native compiler. | |||||
2020-09-10 | Identify machine in error accesing compiler object for missing language | Jon Turney | 3 | -1/+10 | |
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 | 2 | -6/+16 | |
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 | 7 | -0/+250 | |
2020-09-09 | Merge pull request #7657 from mensinda/moreTyping | Dylan Baker | 80 | -639/+834 | |
typing: Strict type annotations | |||||
2020-09-09 | Merge pull request #7428 from jon-turney/introspector-add-languages | Jussi Pakkanen | 3 | -12/+31 | |
Handle add_languages(native:) in introspector | |||||
2020-09-09 | Add a test of add_languages(native:) introspection | Jon Turney | 2 | -0/+10 | |
If the meson.build doesn't use a native compiler, the native compiler options (e.g. 'c_args') shouldn't be present in the output of 'meson introspect --buildoptions'. | |||||
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 | 2 | -3/+3 | |
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 | 12 | -42/+43 | |
2020-09-08 | typing: get rid of most T.cast | Daniel Mensinger | 7 | -16/+21 | |
2020-09-08 | typing: more fixes | Daniel Mensinger | 19 | -161/+215 | |
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: use follow_imports = silent | Daniel Mensinger | 1 | -1/+1 | |
2020-09-08 | typing: update run_mypy and mypy.ini | Daniel Mensinger | 2 | -76/+48 | |
2020-09-08 | typing: fix envconfig typing | Daniel Mensinger | 2 | -2/+2 | |
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 | 3 | -25/+27 | |
2020-09-08 | typing: fully annotate mcompile, minit, and msetup | Daniel Mensinger | 4 | -15/+22 | |
2020-09-08 | typing: fully annotate fs module | Daniel Mensinger | 2 | -4/+5 | |
2020-09-08 | typing: fully annotate arglist | Daniel Mensinger | 3 | -5/+7 | |
2020-09-08 | typing: fully annotate boost and hdf5 deps | Daniel Mensinger | 3 | -8/+15 | |
2020-09-08 | typing: fully annotate scripts | Daniel Mensinger | 23 | -152/+184 | |
2020-09-08 | typing: fully annotate tools | Daniel Mensinger | 5 | -21/+23 | |
2020-09-08 | typing: fully annotate wrap | Daniel Mensinger | 4 | -35/+41 | |
2020-09-08 | typing: fully annotate mparser.py | Daniel Mensinger | 3 | -18/+31 | |
2020-09-08 | typing: fully annotate mesonlib.py | Daniel Mensinger | 3 | -43/+55 | |
2020-09-08 | typing: Add run_mypy.py for easier mypy invocation | Daniel Mensinger | 3 | -2/+84 | |
2020-09-08 | typing: completely type interpreterbase | Daniel Mensinger | 1 | -64/+68 | |
2020-09-08 | typing: completely type ast | Daniel Mensinger | 3 | -7/+7 | |