aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2022-11-16Fix test_rust_clippy for rust 1.65Xeonacid1-1/+2
clippy changed output message fix #11004
2022-11-16Fix deprecation message, the function name is fs.copyfile()Xavier Claessens1-1/+1
2022-11-16Change the warning generated by importing an unstable module to non-fatalTristan Partin1-1/+1
Penalizing users for helping to test unstable modules really makes no sense. As a fatal warning, users can no longer use `--fatal-meson-warnings`.
2022-11-16linkers: Don't build thin archives on illumos or SolarisAlan Coopersmith1-2/+6
The system linkers don't support this particular GNU extension on these OS'es, so don't build them there. Based on an OpenIndiana patch created by @alarcher. Closes #9882.
2022-11-15Change `unstable_external_project` to `unstable-external_project`Tristan Partin3-4/+4
Apparently this is a misspelling even though it has been in the docs since the creation of the module.
2022-11-15escape asterisk used for footnotetastytea1-1/+1
unescaped it's turned into a list item
2022-11-14CI: force macOS to use brew's python at all costsEli Schwartz1-1/+7
The default actions one is broken in two ways, and additionally overwrote homebrew's symlinks to begin with.
2022-11-14tests: fix edge case where non-default python is used, by skipping itEli Schwartz2-5/+18
In a couple of python module tests, we try to test things that rely on the default python being the same one we look up in the python module. This is unsolvable for the deprecated python3 module, as it actually uses the in-process version of python for everything. For the python module, we could actually look up the default system python instead of the one we are running with, but then we wouldn't be testing the functionality of that alternative python... and also the install manifest tests would see files installed for the wrong version of python, and report a combination of missing+extra files... Solve both tests by just skipping the parts we cannot check.
2022-11-14Raise an error, if the file element in a resource file has no text.Hagen Möbius1-3/+6
- minor cleanups in the vicinity
2022-11-13Update Qt6-module.mdHagen Möbius1-2/+173
- qt5 -> qt6 - remove version information from when the Qt6 module was not a thing - linked to dependency function - highlight version information with *...* and placing it at the front of options or on new lines in text - reformatted for shorter lines
2022-11-13Add a note on relocatable pkg-config files to reference manual.Ralf Gommers1-0/+6
2022-11-13docs: installation tags for the GNOME moduleKleis Auke Wolthuizen1-2/+7
PR #10826 adds a couple of missing installation tags for the GNOME module, ensure we document these.
2022-11-12Add CMake to cross file.Jussi Pakkanen1-4/+30
Original patch by Helmut Grohne. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1023744
2022-11-12Fix ppc64 detection in Debian.Jussi Pakkanen1-1/+3
Original patch by Helmut Grohne. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1023744
2022-11-11docs: improve ESL text, fix some English errorsGuilherme Janczak1-37/+39
Fixes: - Incorrect, redundant, or overabundant usage of "just" - Missing punctuation - Missing "the" - Parenthesized text far from what it describes There are some subjective changes, I hope those aren't controversial.
2022-11-11Fix typo in dependency() 'names' docstring [skip ci]Will Thompson1-1/+1
2022-11-10fix typoGuilherme Janczak1-1/+1
2022-11-10Fix options overrides for vsbackendDenis Fortin1-1/+1
Use OptionOverrideProxy instead of pure options. Closes #10393
2022-11-09genrelnotes: Jump to version 1.0.0Xavier Claessens1-1/+4
2022-11-08Fix since annotation for str "in" operatorXavier Claessens1-2/+2
2022-11-07hotdoc module: add dedicated depends kwarg, deprecate file deps in dependenciesEli Schwartz1-2/+17
We consistently use the "dependencies" kwarg to refer to C-like CFLAGS/LDFLAGS interfaces. And for hotdoc, we actually accept libraries for this as well, as we may want to document their (generated?) sources, so we want their CFLAGS too. But we also accepted custom targets and just added a build order dependency on these, which was odd and typically we call that "depends". Let's deprecate this in favor of the depends kwarg.
2022-11-07hotdoc module: use less confusing namesEli Schwartz1-7/+7
Internally we pass this as extra_depends to the CustomTarget initializer, so it makes sense to call it that rather than confusing the topic by referring to "dependencies", a term that indicates CFLAGS/LDFLAGS interfaces.
2022-11-06target python 3.10 as the mypy language versionEli Schwartz1-1/+1
mypy has a bug when running on/for 3.11 which results in incorrect analysis of the codebase, specifically due to enum.Enum's self.name See: https://github.com/python/typeshed/issues/7564 https://github.com/python/mypy/issues/12483
2022-11-06Implement `in` operator on stringXavier Claessens3-0/+26
2022-11-06Bump version number for new development.Jussi Pakkanen1-1/+1
2022-11-06Bump version number for release.0.64.0Jussi Pakkanen2-2/+2
2022-11-06Generate release notes for 0.64.Jussi Pakkanen21-159/+186
2022-11-05nasm: Fix get_optimization_args()Ole André Vadla RavnÄs1-1/+11
2022-11-03depfixer: handle darwin dependencies with non-ASCII pathsEli Schwartz1-4/+4
I assume there's no real reason this cannot happen, perhaps if the meson source directory has one. So we should use Popen_safe for safety reasons.
2022-11-03squelch an EncodingWarning we don't care aboutEli Schwartz1-1/+1
We would like to use the default value (the one python urged us not to use), but without getting a warning for it. Luckily, we have the correct value already, so we can pass it manually to avoid the complaint.
2022-11-03python 3.11: suppress an incorrect EncodingWarningEli Schwartz2-0/+16
python 3.11 adds a warning that in 3.15, UTF-8 mode will be default. This is fantastic news, we'd love that. Less fantastic: this warning is silly, we *want* these checks to be affected. Plus, the recommended alternative API would (in addition to warning people when UTF-8 mode removed the problem) also require using a minimum python version of 3.11 (in which the warning was added) or add verbose if/else soup. The simple, and obvious, approach is to add a warnings filter to hide it.
2022-11-03dependencies: make the hdf5 dependency use Popen_safeEli Schwartz1-4/+3
It is, after all, "safe". ;) That's why it exists. There's no reason to think listing all pkg-config entries cannot print unicode descriptions, it's absolutely possible, and we should handle it properly if we encounter it.
2022-11-02Document binary literals.Garrett D'Amore1-0/+2
2022-11-02backends: Try guessing install tag for all installed filesXavier Claessens3-3/+32
It was only trying to guess install tag, and log missing tags, for files installed by install_data(). Do it also for all other files, especially custom_taget() that commonly installs generated headers.
2022-11-01Bump version for rc2.0.64.0rc2Jussi Pakkanen1-1/+1
2022-11-01nasm: Implement get_crt_compile_args()Xavier Claessens1-0/+3
This fix a crash when using NASM on Windows.
2022-11-01Add regression test for pch link_whole bug.Jussi Pakkanen7-0/+39
2022-11-01minstall: make do_strip run with -Sx for macOS targetsL. E. Segovia3-9/+33
This commit also adds some extra symbol noise to lib.c, in order to aid detection of the debug information with nm. Fixes #10943
2022-10-31Revert "backends/ninja: run `ranlib -c $out` when using the apple ar"Eli Schwartz1-13/+2
This reverts commit bdc6f243e9f95246b5801d2c0ccf64173fb280f3. This is part of #10628 and needs to be reverted, as it breaks other things. See https://github.com/mesonbuild/meson/pull/10628#issuecomment-1230560772
2022-10-31Revert "tests: Test extern'd globals on MacOS with the Apple Archiver"Eli Schwartz5-31/+0
This reverts commit d285be763f193606b078f218fdedc58679dfe037. This is part of #10628 and needs to be reverted, as it breaks other things. See https://github.com/mesonbuild/meson/pull/10628#issuecomment-1230560772
2022-10-31Revert "build: don't add targets to link_whole_targets if we took their objects"Eli Schwartz1-5/+3
This reverts commit c94c492089e7fecb56b7cc11ea76712a770f1e34. This broke propagated deps as well as PCH in MSVC, and has not been fixed in time for the final release of 0.64.0, so it needs to be reverted and then brought back later. Fixes #10745 Fixes #10975
2022-10-31both_libraries: Make sure to select the right linker for static libXavier Claessens4-4/+35
Regression test: libccpp has both C and C++ sources. The executable only has C sources. It should still link using the C++ compiler. When using both_libraries the static has no sources and thus no compilers, resulting in the executable linking using the C compiler. https://github.com/Netflix/vmaf/issues/1107
2022-10-31emit a FeatureNew when using include_directories as a stringEli Schwartz1-0/+7
This was introduced in commit 3a6e2aeed9737f1082571e868ba50e72957f27c7 as part of 0.50.0, but did not contain a FeatureNew. As a result, people would use it without realizing that they broke support for versions of Meson included in their minimum requirements.
2022-10-30ci: Fix usage of concurrency in branches other than masterL. E. Segovia9-9/+9
2022-10-28gnome: allow generator outputs as gdbus-codegen inputsPaolo Bonzini3-3/+14
GeneratedLists as sources to `gnome.gdbus_codegen` worked until version 0.60 of Meson, but broke in 0.61 because of the conversion to typed_pos_args and typed_kwargs. Reinstate this by adding them to the decorators and annotations. Note that gdbus_codegen desugars to two custom_targets and therefore the generator is invoked twice. This is not optimal, but it should not be an issue and can be changed later. Fixes: 53a187ba2 ("modules/gnome: use typed_pos_args for gdbus_codegen", 2021-11-01) Fixes: ef52e6093 ("modules/gnome: use typed_kwargs for gdbus_codegen", 2021-11-08)
2022-10-28gnome: allow custom targets as gdbus-codegen inputsPaolo Bonzini5-6/+27
Custom targets as sources to `gnome.gdbus_codegen` worked until version 0.60 of Meson, but broke in 0.61 because of the conversion to typed_pos_args and typed_kwargs. Reinstate this by adding custom targets to the decorators and annotations. While generators also used to work, they are a bit tricky because gdbus_codegen desugars to two custom_targets and therefore the generator is invoked twice. This should not be a problem, but be explicit and leave that to a separate commit to highlight the problem. Fixes: 53a187ba2 ("modules/gnome: use typed_pos_args for gdbus_codegen", 2021-11-01) Fixes: ef52e6093 ("modules/gnome: use typed_kwargs for gdbus_codegen", 2021-11-08)
2022-10-25compilers: Make sure to not use ccache in compiler checksXavier Claessens5-12/+10
ccache was used in all command lines but disabled using CCACHE_DISABLE in Compiler.compile() method. Wrapping invokations still has a cost, especially on Windows. With sccache things are even worse because CCACHE_DISABLE was not respected at all, making configure *extremely* slow on Windows when sccache is installed.
2022-10-25Compilers: Keep ccache and exelist separatedXavier Claessens16-116/+114
Only combine them in the Compiler base class, this will make easier to run compiler without ccache.
2022-10-25Bump version numbers for 0.64.0.rc1.0.64.0rc1Jussi Pakkanen2-2/+2
2022-10-25tests: Add nasm compiler checksXavier Claessens1-0/+18