summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* One more unixy fix.onemoreJussi Pakkanen2021-03-162-1/+5
|
* Update VS module version check.Jussi Pakkanen2021-03-163-1/+9
|
* Replace Unix shell commands with scripts.Jussi Pakkanen2021-03-166-5/+23
|
* Delete leftover files from some tests.Jussi Pakkanen2021-03-162-2/+17
|
* msetup: do not print bogus "Option ... is:" messagesPaolo Bonzini2021-03-162-2/+8
| | | | | | | | | | get_non_matching_default_options is checking a string from project_default_options against a validated value from coredata.options. Passing the string to validate_value ensures that the comparison is sound; otherwise, "false" might be compared against False and a bogus difference is printed.
* coredata: be more robust on unpickling errorsPaolo Bonzini2021-03-161-1/+1
| | | | | | | | | | | | | | | | When reverting from 0.57 to 0.56, one can see an error like this: File /Users/pm215/src/qemu-for-merges/meson/mesonbuild/coredata.py, line 1016, in load obj = pickle.load(f) ModuleNotFoundError: No module named 'mesonbuild.mesonlib.universal'; 'mesonbuild.mesonlib' is not a package FAILED: build.ninja The reason is that the old version fails to resolve mesonbuild.mesonlib, which is a similar situation to the existing AttributeError check. Raise a MesonException for ModuleNotFoundError as well, so that reconfiguration proceeds using cmd_line.txt.
* Add `meson devenv` command and meson.add_devenv()Xavier Claessens2021-03-1617-8/+277
|
* typed_pos_args: Fix typoXavier Claessens2021-03-161-2/+2
|
* EnvironmentVariables: Simplify and annotateXavier Claessens2021-03-163-46/+51
|
* ninjabackend: Use rsp_file_syntax methodDylan Baker2021-03-143-25/+17
| | | | | This also makes us of the new enum value in the backend, for better type saftey.
* compilers/linkers: Add a methhod for getting the rspfile syntaxDylan Baker2021-03-144-4/+70
|
* Fix run_targets running scripts from different subdirs.Jussi Pakkanen2021-03-144-0/+16
|
* interpreter: Cache found dependency before converting for include_typeXavier Claessens2021-03-127-7/+35
| | | | Fixes: #8516.
* Fix duplicate pkg_config_path entriesTristan Partin2021-03-122-2/+14
| | | | | | | Previously builds would *potentially* get sammed with messaging at configure time that duplicate entries in an array would be an error in the future, and the cause was because the same entries were getting added over and over to pkg_config_path.p
* Add test to build a mixed C/Rust shared library.Jussi Pakkanen2021-03-105-0/+93
|
* doc: Add External Project into the top dropdown menuXavier Claessens2021-03-101-0/+1
|
* Some documentation language adjustments & improved error messagesLaurin-Luis Lehning2021-03-104-4/+13
|
* Add tentative FeatureNew guardLaurin-Luis Lehning2021-03-101-0/+1
|
* Yet another documentation updateLaurin-Luis Lehning2021-03-101-0/+3
|
* Fix release snippet still using the old fstring syntaxLaurin-Luis Lehning2021-03-101-1/+1
|
* Add syntax documentation with tentative version targetLaurin-Luis Lehning2021-03-101-0/+16
|
* Formatting fixLaurin-Luis Lehning2021-03-102-2/+2
|
* Add failing test cases & release snippetLaurin-Luis Lehning2021-03-106-1/+29
|
* Use interpreter exceptions instead of MesonExceptionLaurin-Luis Lehning2021-03-101-2/+2
|
* Switch fstring syntax to @..@ & limit fstring captures to int, str, float ↵Laurin-Luis Lehning2021-03-102-6/+8
| | | | and bool
* Add support for basic format stringsLaurin-Luis Lehning2021-03-103-2/+36
|
* dependencies: Add docstring explaining how to write a system dependencyDylan Baker2021-03-091-0/+149
| | | | | | | This is a useful thing to document. I wasn't really sure where to put it, but since it's developer oriented I figured in the code itself was probably more useful and more likely to be seen than in the markdown that generates the website.
* docs: add a couple words about system dependenciesDylan Baker2021-03-091-0/+17
|
* setuptools: move stuff to declarative cfg if possible [skip ci]Eli Schwartz2021-03-102-14/+13
| | | | | | | We're down to just declaring the data files in python now. setup.cfg can, uniquely, retrieve version info by trying to parse the AST for simple assignments (which we use) instead of importing the entire module.
* Disable broken asm test on Cygwin as nobody knows how to fix it.Jussi Pakkanen2021-03-101-0/+4
|
* Add address sanitizer support for Visual Studio.Jussi Pakkanen2021-03-094-2/+18
|
* setup.py: remove pointless __main__ guardEli Schwartz2021-03-091-9/+8
| | | | | Since the testsuite no longer tries to import a *script* as a *module*, there is no need to check if we are in __main__ before running setup().
* setuptools: don't hardcode list of modules to install, use find_packagesEli Schwartz2021-03-092-29/+5
| | | | | | And don't run a pointless test to verify that the hardcoded list has been manually maintained correctly. The same test rules used there can translate directly to find_packages pattern rules.
* change RSP quote style decision logicRemi Thebault2021-03-091-3/+12
| | | | | Take into account LDC on Windows Fixes #8494
* Add str.replace() methodTristan Partin2021-03-095-1/+36
|
* remove unused environment functionEli Schwartz2021-03-081-4/+0
| | | | | | The script dir is never really used since meson --internal handles this. The last remaining use of the raw script dir got removed in commit 522392e7553823e6b3ac38cadc4fbee72eae9540.
* Add /Od flag to msvc optimization 0 argsVili Väinölä2021-03-081-1/+1
| | | | | Without specifying optimization the used optimization depends on vs runtime-library. With mdd it is /Od but with md it is /O2.
* minstall: Correctly set uid/gid of installed filesPeter Kjellerstedt2021-03-062-2/+2
| | | | | | | | | | | In commit caab4d3d, the uid and gid arguments passed to os.chown() by set_chown() were accidentally swapped, causing files to end up with incorrect owner/group if the owner and group are not the same. Also update the documentation to better indicate which argument to install_mode is which. Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
* Refactor subdir visitation to track files instead of dirs.Jussi Pakkanen2021-03-065-9/+22
|
* Fix Fortran dep scanner for upper case file extensions. Closes #8395.Jussi Pakkanen2021-03-063-2/+3
|
* Port CUDA module to new API.Olexa Bilaniuk2021-03-051-11/+23
|
* compilers: Use EnvironmentException not EnvironmentError/OSErrorDylan Baker2021-03-041-8/+8
| | | | | The latter is a python built-in exception, the former is a meson exception.
* use python2-compatible syntax because needed on macOSEli Schwartz2021-03-041-2/+2
| | | | Apparently this unittest runs on macOS using the system python2.
* mass rewrite of string formatting to use f-strings everywhereEli Schwartz2021-03-04109-917/+917
| | | | performed by running "pyupgrade --py36-plus" and committing the results
* various python neatness cleanupsEli Schwartz2021-03-0445-140/+134
| | | | | | | | | | | | | | | | All changes were created by running "pyupgrade --py3-only --keep-percent-format" and committing the results. I have not touched string formatting for now. - use set literals - simplify .format() parameter naming - remove __future__ - remove default "r" mode for open() - use OSError rather than compatibility aliases - remove stray parentheses in function(generator) scopes
* raw string literals are next to godlinessEli Schwartz2021-03-044-6/+6
| | | | | | Invalid escape sequences are deprecated and will be removed from a future version of python. Use r"" to define them so they remain readable.
* Fix release notes typo [skip ci]Michael Brockus2021-03-041-1/+1
|
* ci: Downgrade Qt on MacOS from Qt6 to Qt5Daniel Mensinger2021-03-041-4/+6
|
* docs: Clarify compiler.cmd_array() (#8454)Chris Mayo2021-03-041-2/+1
| | | | Make it easier to understand that this array contains the compiler command, not arguments to it, and may only have one element.
* Improved a paragraph [skip ci]Amr Ojjeh2021-03-041-3/+3
| | | Made it easier to understand