aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2022-01-12subproject: fix version validation on lookupØyvind Aarrestad Aakre5-0/+23
Fixes a bug where the subproject version was not validated when the subproject had already been processed. The bug would cause inconsistent build results if the subproject was referenced more than once (diamond) with conflicting version requirements.
2022-01-12ninja backend: Fix custom_target() console: kwarg when using envDeclan Qian1-1/+2
When a custom_target() uses an env, meson uses a wrapper script to run the executable. This breaks the console: kwarg because the wrapper script buffers the output. Fix it by setting the verbose flag which will not buffer output.
2022-01-11fix typo in error messageEli Schwartz1-1/+1
2022-01-11gnome.gdbus_codegen: allow File objects as XML fileEli Schwartz1-2/+2
As soon as we check for args[1] we declare it is of type FileOrString, and the additional ones specified in the `sources` kwarg explicitly allow this. It makes no sense to not accept it as the posarg too. Fixes building tracker-miners.
2022-01-11gnome.gtkdoc: fix passing file arguments as a configured fileEli Schwartz1-6/+6
Fixes gtk3 build, which uses typesfile. All these arguments are processed by a function that explicitly handles both str and File, and converts them to absolute paths. They clearly need to handle File objects.
2022-01-11gome.gdbus_codegen: fix annotations argument for multiple annotationsEli Schwartz1-1/+1
Per the gdbus-codegen documentation, this "may be used several times", and it is: - a valid use case - used that way in the wild Fixes building at least geoclue2, gdm.
2022-01-11link to mesa website instead of gitlabErik Faye-Lund1-1/+1
The mesa website is a bit more helpful as an introduction to the project than the gitlab-project. So it seems better to link there instead.
2022-01-10fix broken module tests which caused gtkdoc-check to traceback on assertEli Schwartz1-1/+4
Regression in commit 566c2c9a9c98d13f85ccef624e9ac584f64c6a4a. The interpreter details are a bit of black magic. Functions expect tuples, but they receive lists and then the type-checking decorators convert those to tuples. So, directly manhandling a self._interpreter.func_*() but passing it the tuple it nominally expected, actually explodes in your face by way of failing an assert, then dumping 'ERROR: Unhandled python exception'. Fixes use of gnome.gtkdoc(..., check: true), for example when building glib.
2022-01-10depfile: type annotateDylan Baker2-15/+21
2022-01-10first pass at migrating to dataclassesEli Schwartz7-281/+259
In some cases, init variables that accept None as a sentinel and immediately overwrite with [], are migrated to dataclass field factories. \o/ Note: dataclasses by default cannot provide eq methods, as they then become unhashable. In the future we may wish to opt into declaring them frozen, instead/additionally.
2022-01-10manually clean up some python 3.6 era codeEli Schwartz2-12/+3
2022-01-10port from embedded data to importlib.resourcesEli Schwartz8-545/+23
2022-01-10condense linesEli Schwartz1-2/+1
2022-01-10pyupgrade --py37-plusEli Schwartz6-8/+7
2022-01-10bump minimum required version of python to 3.7Eli Schwartz9-13/+22
Comment out the pending deprecation notice. It cannot be reached anymore, but is still useful for the next time we do a version bump.
2022-01-10update ubuntu bionic to use python 3.7Eli Schwartz1-1/+8
The pip package is for python 3.6, but installs pip for all versions of python. Apparently. Including python 3.7. So do all other packages, especially the ones where it doesn't work but pip thinks it is installed anyway. Force a reinstall.
2022-01-10clean up even more function signatures in preparation for dataclassesEli Schwartz1-2/+2
Names used in init functions are sometimes pointlessly different from the class instance attributes they are immediately assigned to. They would make more sense if defined properly.
2022-01-10docs: fix rust module bindgen argumentsDylan Baker1-5/+5
Fixes: 9795
2022-01-10gnome: fix typo in vapigen option metadatadirMichal Vasilek1-1/+1
This typo was introduced in 9ef36fa80bf4483bcd837ea3985a51ab533c7972 and can cause a build failure, because --metadatdir is not a valid vapigen option.
2022-01-10compilers: push the compiler id to a class variableDylan Baker21-74/+79
It really is a per class value, and shouldn't be set per instance. It also allows us to get rid of useless constructors, including those breaking mypy
2022-01-10remove the RPM moduleEli Schwartz5-204/+10
It is unmaintained, broken (frequently for long periods of time) and not really required for any meson functionality. Its purpose is to be used as a one-shot tool for creating a distro package recipe, and then deleted from your meson.build files. Due to its fragile dependency on coredata implementation details, we cannot assume it will reliably work, or continue to work, without someone who is actively willing to take responsibility for it. Even if that were to happen, this might be better off as an external script that parses introspection data. Closes #9764 Closes #9763
2022-01-10Merge pull request #9739 from mathstuf/armclang-supportJussi Pakkanen7-3/+67
Armclang support
2022-01-10Bump version number for new development.Jussi Pakkanen1-1/+1
2022-01-10Prepare release 0.61.0.0.61.0Jussi Pakkanen14-121/+140
2022-01-10add pending deprecation notice for python 3.6Eli Schwartz2-0/+24
2022-01-09Use VS 2022 release version for packaging.Jussi Pakkanen1-1/+1
2022-01-10Running-Meson.md: fix a broken linkx-yuri1-1/+1
2022-01-09Remove docs for ghwt that got deleted ages ago.Jussi Pakkanen2-44/+0
2022-01-07Fix typo.Itoh Shimon1-1/+1
2022-01-07Merge pull request #9773 from annacrombie/masterJussi Pakkanen7-8/+417
Add a man page backend to refman
2022-01-06add release notes for refman man pageStone Tickle1-0/+4
2022-01-06add man page generation to buildStone Tickle2-0/+23
2022-01-06add man page backend to refmanStone Tickle2-1/+385
2022-01-05Fix syntax highlighting Continuous-Integration.mdJohn Kilpatrick1-1/+1
2022-01-05cleanup _extract_meson_version()Stone Tickle2-7/+5
2022-01-03armltdclang: add support for ARM Ltd.'s `armclang` toolchainBen Boeckel5-1/+54
This is another toolchain also called `armclang`, but it is not a cross compiler like Keil's `armclang`. It is essentially the same as `clang` based on its interface and CMake's support of the toolchain. Use an `armltd` prefix for the compiler ID. Fixes: #7255
2022-01-02Bump version numbers for rc1.0.61.0rc1Jussi Pakkanen2-2/+5
2022-01-02Merge pull request #9757 from eli-schwartz/broken-typesJussi Pakkanen8-19/+19
Fix some broken type annotations
2022-01-02Condense test directory numbers for rc1.Jussi Pakkanen80-19/+19
2022-01-02Fix files in the unittests subdir.Jussi Pakkanen1-0/+2
2022-01-02docs: Update yelp documentation to reflect what it is actually doingPablo Correa Gómez1-2/+2
2022-01-02modules/gnome: replace yelphelper with run and custom targetsPablo Correa Gómez2-171/+91
This is basically a rewrite of the gnome.yelp target to remove the ad-hoc script, which generates multiple issues, including meson not knowing which files were installed. Closes #7653 Closes #9539 Closes #6916 Closes #2775 Closes #7034 Closes #1052 Related #9105 Related #1601
2022-01-02test cases/frameworks/13 yelp: Do not reuse sources filesPablo Correa Gómez4-8/+24
Additionally reorder test.json for better readability
2021-12-31Merge pull request #9758 from eli-schwartz/meson_add_foo_script-argchecksJussi Pakkanen2-34/+43
add_*_script: fix validation and do FeatureNew checks
2021-12-31add FeatureNew decorators for various modules that were lacking themEli Schwartz5-1/+8
Going back to 0.38, though some of them are far older. The original implementation of FeatureNew only added backdated feature checks that far, anyway.
2021-12-31rename lint workflow for less confusionEli Schwartz1-5/+5
For a long time now, this has done 3 different things, only one of which is mypy. But they are labeled: - LintMypy / lint (runs pylint) - LintMypy / custom_lint (runs a custom script) - LintMypy / mypy (actually runs mypy) This reduces the usable length of the label which isn't all that long to begin with, is actively misleading, and even when you know what is going on, it becomes harder to tell at a glance what failed. Change it to be more unambiguous.
2021-12-30fix type annotations for mlog nestingEli Schwartz1-1/+1
In commit 8cd4d0b2832666f19660b9006040e5ff7e5d4576 we added a feature that took True/False but said it took str.
2021-12-30fix type annotations for compiler toolchain rpathsEli Schwartz5-16/+16
We pass around a tuple of rpaths, because rpaths *can* be more than one. But all the annotations said it would be a str instead.
2021-12-30correct type annotations for File.endswithEli Schwartz1-1/+1
It should accept whatever str.endswith accepts, which means optionally a tuple of options.
2021-12-30fix crash during MesonExceptionEli Schwartz1-1/+1
In commit e5a6283c4cf288fdfc9b43a92bf0ddd74dbf90f8, this function was reorganized to assign value -> newvalue instead of overwriting newvalue, but the error message case wasn't updated to match. As a result, actually hitting the error would report an even more errory error, i.e. a traceback. (Actually hitting the error requires passing an array option as a python object that isn't a list or a string. This is impossible to do from the command line or meson_options.txt, but can be done with builtin options.)