summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | modules/gnome: use `install_dir = []` instead of falseDylan Baker2021-10-281-1/+1
| |
* | modules/gnome: fix missing install_dir, again, harderDylan Baker2021-10-281-8/+10
| | | | | | | | | | | | | | | | | | It turns out this could be missing in GResource*Target as well, due mostly to the same problem, side effects of mutating a shared dictionary; though it could also happen with a specific set of keywords given and other omitted. Fixes #9350
* | mtest: accept very long linesPaolo Bonzini2021-10-281-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | Unless parsing TAP output, there is no strict requirement for "meson test" to process test output one line at a time; it simply looks nicer to not print a partial line if it can be avoided. However, in the case of extremely long lines StreamReader.readline can fail with a ValueError. Use readuntil('\n') instead and just process whatever pieces of the line it returns. Fixes: #8591 Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
* | modules/gnome: ensure that `install_dir` is setDylan Baker2021-10-272-11/+17
| | | | | | | | | | | | | | | | | | The `mkenums` functions can have this unset if, and only if, the c file only variant is called. Due to side effects if the header file is generated then `install_dir` is ensured to be set for the c file. I have removed this side effect so that our tests actually cover this case. Fixes #9472
* | Fix add_install_script() ignoring install_tagXavier Claessens2021-10-273-10/+16
| | | | | | | | Fixes: #9454
* | Changing xc16's linker from 'xc16-gcc.exe' to 'xc16-gcc'. Windows willgeorgev932021-10-271-2/+2
| | | | | | | | | | still find the correct linker and now linux will be able to use its xc16-gcc as the linker.
* | test_clang_format: Do not assume meson source is in gitXavier Claessens2021-10-271-0/+8
| | | | | | | | Fixes: #9437
* | Fix crash when getting cuda optionsXavier Claessens2021-10-274-16/+17
| | | | | | | | | | | | | | | | | | | | We could have an OptionOverrideProxy of an OptionOverrideProxy, recursively. This fix is a minimal subset of the refactoring I did in https://github.com/mesonbuild/meson/pull/9394. Instead of faking UserOption we can just do a shallow copy of one and set a new value on it. Fixes: #9448
* | wrap: fix support for git < 2.28Eli Schwartz2021-10-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | both of these do the same thing: init -b <branchname> -c init.defaultBranch=<branchname> init The latter contributes to unreadably long lines of code, but has the advantage of working on older versions of git. Fixes #9449
* | Fix markdown list in Bultin-options.md [skip ci]Matthieu Gautier2021-10-271-3/+4
| | | | | | | | The broken list was introduce by commit f72ee8e7 which fix too long lines.
* | remove public export of private functionEli Schwartz2021-10-271-1/+0
| |
* | do not repeat magic regexes for cmake define replacementsEli Schwartz2021-10-271-2/+2
| | | | | | | | | | | | We already have this magic string in mesonlib, and this should always have used the cmake@ format which is identical to the meson format other than the regex.
* | Revert "mark a couple of typing-only imports as noqa, to appease pyflakes"Eli Schwartz2021-10-272-6/+2
| | | | | | | | | | | | This reverts commit 6cc1b8441c0cf7428e52bdf1cd541ea830a4eb83. The latest version of pyflakes learned to detect that correctly.
* | fix various flake8 whitespace errorsEli Schwartz2021-10-2738-83/+81
| |
* | remove unused importsEli Schwartz2021-10-262-3/+1
| |
* | fix lgtm.com "Use of the return value of a procedure"Eli Schwartz2021-10-261-2/+3
| | | | | | | | | | | | | | | | | | we return _log even though this entire family of functions returns None, because a side effect of returning is that the other version of the function is not run. We can do that more obviously, using an else clause that doesn't attach meaning to return values.
* | unittests: use better assert methodsEli Schwartz2021-10-263-25/+25
| | | | | | | | | | | | | | assertTrue and assertFalse are recommended against, if you can get a more specific assertion. And sometimes it is considerably shorter, for example we have a custom assertPathExists which we can take advantage of.
* | do not save unused variableEli Schwartz2021-10-261-1/+1
| | | | | | | | | | Constructing a PackageDefinition is enough to assert that it raises an error.
* | remove unused variableEli Schwartz2021-10-261-1/+1
| | | | | | | | | | | | | | | | It never made sense here to save self.init() which returns a string containing a log or stdout or something, and which was never actually used. Also we then overwrote the variable with a pathname...
* | remove dead code that is immediately overriddenEli Schwartz2021-10-261-4/+0
| | | | | | | | | | | | In commit d932cd9fb48e8fecb167641c3d6bee8a68831c6e, we migrated to meson's own static linker definition, and the old code that hardcoded two of the possible exelists should have been removed in the process.
* | do not save variable when all we want is the side effect of popping itEli Schwartz2021-10-261-1/+1
| | | | | | | | | | It's redefined on every loop iteration, and as the comment says, we just want to make sure the next loop skips a value.
* | interpreter: Revert old path joining behavior (fixes #9450)Daniel Mensinger2021-10-262-1/+5
| |
* | doc: Requires hotdoc >=0.13.7Xavier Claessens2021-10-261-1/+3
| | | | | | | | Building documentation fails with older hotdoc versions.
* | message: Allow boolXavier Claessens2021-10-262-5/+5
| | | | | | | | | | | | | | | | It has always been working even if not documented and there is no reason to not accept it. However, change "True/False" to "true/false" to be consistent with meson language. Fixes: #9436
* | dep.name(): return dependency name even if dependency is not foundThomas Heijligen2021-10-264-6/+5
| | | | | | | | | | | | The dep.name() function schould always return the name of the dependency as documented. No matter if it was found or not. https://mesonbuild.com/Reference-manual_returned_dep.html#depfound
* | make sure the devenv powershell script is actually distributedEli Schwartz2021-10-251-0/+3
| | | | | | | | | | | | | | | | | | It's not a python file, so it will never end up in the installed package unless we mark it as package_data. This causes problems for people using non-git checkouts. Fixes #9435 Closes #9443
* | Add sccache support.Jussi Pakkanen2021-10-253-2/+31
| |
* | mcompile: Load coredata first because it checks major versionXavier Claessens2021-10-251-9/+3
| | | | | | | | Fixes: #9444
* | Fix typos in release notes for 0.60.0Nirbheek Chauhan2021-10-251-2/+2
| |
* | Bump version number for new development.Jussi Pakkanen2021-10-241-1/+1
| |
* | Create release notes page for 0.60.Jussi Pakkanen2021-10-2433-360/+399
| |
* | Bump version number for release.0.60.0Jussi Pakkanen2021-10-241-1/+2
| |
* | Merge pull request #9377 from mensinda/jsonDocsJussi Pakkanen2021-10-2410-17/+511
|\ \ | | | | | | docs: Add a JSON documentation backend
| * | docs: Also check on pull-requestsDaniel Mensinger2021-10-091-0/+3
| | |
| * | docs: Update docsDaniel Mensinger2021-10-092-2/+19
| | |
| * | docs: GitHub Action up the JSON docsDaniel Mensinger2021-10-092-8/+53
| | |
| * | docs: Add a validator for the new JSON docsDaniel Mensinger2021-10-091-0/+195
| | |
| * | docs: Added JSON generatorDaniel Mensinger2021-10-093-1/+210
| | |
| * | docs: Added pickle RefMan loaderDaniel Mensinger2021-10-072-2/+27
| | |
| * | docs: minor model refectoringDaniel Mensinger2021-10-071-4/+4
| | |
* | | Add stdc++20 support for Visual Studio 2019 v16.11Moroz Oleg2021-10-241-0/+4
| | | | | | | | | | | | fix #9242
* | | interpreter: Fix missing featuer check (fixes #9425)Daniel Mensinger2021-10-244-0/+24
| | |
* | | cmake: Add support for the Linux CMake registry (fixes #9418)Daniel Mensinger2021-10-241-0/+6
| | |
* | | Remove temp files that the macOS installer builder leaves hanging.Jussi Pakkanen2021-10-241-0/+6
| | |
* | | Fix MSI creation with Python 3.10.Jussi Pakkanen2021-10-241-0/+2
| | |
* | | compilers/rust: fix typo in standard descriptionDylan Baker2021-10-211-1/+1
| | |
* | | compilers/rust: add support for the 2021 editionDylan Baker2021-10-211-1/+1
| | |
* | | Fix typosHofer-Julian2021-10-214-4/+4
| | | | | | | | | | | | "seperator" -> "separator"
* | | Add entries for new CUDA Toolkit versions.Olexa Bilaniuk2021-10-211-0/+2
| | |
* | | Add support for win-arm64 to MSVCGabor Kertesz2021-10-201-1/+5
| | | | | | | | | | | | | | | For Windows on Arm win-arm64 platform, the corresponding vcvars is called now.