Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2021-03-22 | mlog: Do not print 'subproject|' on empty lines | Xavier Claessens | 1 | -1/+5 | |
2021-03-22 | mlog: Add a space after 'subproject|' | Xavier Claessens | 2 | -4/+4 | |
2021-03-22 | logs: Prepend current subproject name to all messages | Xavier Claessens | 2 | -12/+13 | |
Meson used to prepend '|' for each nested subproject to distinguish in the logs where a subproject start and ends. It is more useful to print the current subproject name. Also print the call stack when starting a new subproject to better see which subproject chain leads to to. | |||||
2021-03-22 | qt: move compilers_detect to the qt module | Dylan Baker | 2 | -55/+60 | |
It's a method on the QtDependeny that exists purely for the consumption of the qt module (in the form, return some stuff the module makes into an instance variable). So put it where it actually belongs, and pass the qt dependency into it. | |||||
2021-03-22 | dependencies/qt: Split _get_modules_lib_suffix out of the class | Dylan Baker | 1 | -29/+32 | |
As we break these classes up we're going to need this. | |||||
2021-03-22 | dependencies/base: Use FeatureDeprecated instead of mlog.warning | Dylan Baker | 1 | -4/+2 | |
This code is really old, and it might be fine to delete this altogether, but for now lets do this. | |||||
2021-03-22 | dependencies/qt: split get_qmake_host_bins into a free function | Dylan Baker | 1 | -10/+11 | |
It's static anyway, and never overwritten. | |||||
2021-03-22 | dependencies/base: Use Compiler instead of CompilerType | Dylan Baker | 1 | -2/+2 | |
Since Compiler is actually useful now as a base class, unlike when this code was written. | |||||
2021-03-22 | dependencies/qt: Add type annotations | Dylan Baker | 2 | -50/+72 | |
And fix some style and correctness issues | |||||
2021-03-23 | mtest: timeout if the write side of pipes does not close | Paolo Bonzini | 1 | -11/+39 | |
If a test program forks a child, the pipes might remain open and "await stdo_task"/"await stde_task" will never complete in SingleTestRunner._run_cmd(). Instead, catch them in TestSubprocess.wait() so that the whole process group is killed. Fixes: #8533 Reported-by: Bastien Nocera <hadess@hadess.net> | |||||
2021-03-23 | mtest: remove pointless try/except from try_wait_one | Paolo Bonzini | 1 | -5/+3 | |
asyncio.wait does not return an asyncio.TimeoutError, so there is no exception to catch. | |||||
2021-03-22 | cmd_line_file.txt: Use cross/native file path resolved by coredata | Xavier Claessens | 2 | -2/+6 | |
This fix issue when using --wipe and the machine file was passed as a pipe and written locally, or when the file was resolved in XDG_DATA_HOME or XDG_DATA_DIRS. Fixes: #8560 | |||||
2021-03-22 | dependencies: split qt out of the ui module | Dylan Baker | 3 | -422/+451 | |
It's a big enough and complicated enough bit of code that it deserves its own module. | |||||
2021-03-21 | Docs: Fix small typo | HRXN | 1 | -1/+1 | |
2021-03-19 | Move OverrideProgram to programs | Dylan Baker | 3 | -7/+8 | |
2021-03-19 | programs: add type annotations | Dylan Baker | 2 | -21/+28 | |
2021-03-19 | split program related classes and functions out of dependencies | Dylan Baker | 30 | -393/+433 | |
Dependencies is already a large and complicated package without adding programs to the list. This also allows us to untangle a bit of spaghetti that we have. | |||||
2021-03-18 | add test case for installed targets uninstalling a single directory | Eli Schwartz | 4 | -3/+20 | |
2021-03-18 | minstall: always track meson-created directories | Eli Schwartz | 1 | -5/+1 | |
If a custom_target output is a directory, we install it as a directory, not as a file. And, we try to track subdirectories which are created so uninstalling works. But one directory creation did not go through DirMaker, in the case where the output directory does not have any further subdirectories. Consolidate on makedirs, since I don't see much point in using os.mkdir right here. | |||||
2021-03-18 | Allow add_dist_script() in subprojects | Xavier Claessens | 10 | -12/+73 | |
Fixes: #8440. | |||||
2021-03-18 | interpreter: Add varname as positional arg in dep.get_variable() | Xavier Claessens | 4 | -4/+23 | |
2021-03-17 | Fix D lib search path translation | Remi Thebault | 1 | -15/+49 | |
This requires quite a complex and messy logic. As @dcbaker suggested in #8491, this could be replaced by an abstraction over linker flags instead of having GNU flags translated. | |||||
2021-03-17 | Warn when grabbing internals of subprojects with include_directories. | Jussi Pakkanen | 5 | -2/+48 | |
2021-03-17 | One more unixy fix. | Jussi Pakkanen | 2 | -1/+5 | |
2021-03-16 | clangformat: Add clang-format-check target | Xavier Claessens | 5 | -12/+40 | |
2021-03-16 | clangformat: Add include and ignore files | Xavier Claessens | 12 | -11/+174 | |
2021-03-16 | Add range() function | Xavier Claessens | 7 | -3/+119 | |
Fixes: #5026. | |||||
2021-03-16 | externalproject: Flatten configure_options kwarg | Xavier Claessens | 1 | -8/+11 | |
2021-03-16 | externalproject: Do not add --includedir by default | Xavier Claessens | 1 | -1/+3 | |
Some projects (e.g. OpenSSL) does not support setting include directory at all. | |||||
2021-03-16 | externalproject: Fix error when used from main project | Xavier Claessens | 1 | -1/+1 | |
2021-03-16 | Remove mention of Meson manual. [skip ci] | Jussi Pakkanen | 1 | -6/+0 | |
2021-03-16 | Update VS module version check. | Jussi Pakkanen | 3 | -1/+9 | |
2021-03-16 | Replace Unix shell commands with scripts. | Jussi Pakkanen | 6 | -5/+23 | |
2021-03-16 | Delete leftover files from some tests. | Jussi Pakkanen | 2 | -2/+17 | |
2021-03-16 | msetup: do not print bogus "Option ... is:" messages | Paolo Bonzini | 2 | -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. | |||||
2021-03-16 | coredata: be more robust on unpickling errors | Paolo Bonzini | 1 | -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. | |||||
2021-03-16 | Add `meson devenv` command and meson.add_devenv() | Xavier Claessens | 17 | -8/+277 | |
2021-03-16 | typed_pos_args: Fix typo | Xavier Claessens | 1 | -2/+2 | |
2021-03-16 | EnvironmentVariables: Simplify and annotate | Xavier Claessens | 3 | -46/+51 | |
2021-03-14 | ninjabackend: Use rsp_file_syntax method | Dylan Baker | 3 | -25/+17 | |
This also makes us of the new enum value in the backend, for better type saftey. | |||||
2021-03-14 | compilers/linkers: Add a methhod for getting the rspfile syntax | Dylan Baker | 4 | -4/+70 | |
2021-03-14 | Fix run_targets running scripts from different subdirs. | Jussi Pakkanen | 4 | -0/+16 | |
2021-03-12 | interpreter: Cache found dependency before converting for include_type | Xavier Claessens | 7 | -7/+35 | |
Fixes: #8516. | |||||
2021-03-12 | Fix duplicate pkg_config_path entries | Tristan Partin | 2 | -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 | |||||
2021-03-10 | Add test to build a mixed C/Rust shared library. | Jussi Pakkanen | 5 | -0/+93 | |
2021-03-10 | doc: Add External Project into the top dropdown menu | Xavier Claessens | 1 | -0/+1 | |
2021-03-10 | Some documentation language adjustments & improved error messages | Laurin-Luis Lehning | 4 | -4/+13 | |
2021-03-10 | Add tentative FeatureNew guard | Laurin-Luis Lehning | 1 | -0/+1 | |
2021-03-10 | Yet another documentation update | Laurin-Luis Lehning | 1 | -0/+3 | |
2021-03-10 | Fix release snippet still using the old fstring syntax | Laurin-Luis Lehning | 1 | -1/+1 | |