summaryrefslogtreecommitdiff
path: root/mesonbuild/mesondata.py
AgeCommit message (Collapse)Author
2023-12-13Use SPDX-License-Identifier consistentlyDylan Baker
This replaces all of the Apache blurbs at the start of each file with an `# SPDX-License-Identifier: Apache-2.0` string. It also fixes existing uses to be consistent in capitalization, and to be placed above any copyright notices. This removes nearly 3000 lines of boilerplate from the project (only python files), which no developer cares to look at. SPDX is in common use, particularly in the Linux kernel, and is the recommended format for Meson's own `project(license: )` field
2023-02-01treewide: add future annotations importEli Schwartz
2022-01-10port from embedded data to importlib.resourcesEli Schwartz
2021-06-29fix: Always explicitly set encoding for text files (fixes #8263)Daniel Mensinger
2021-01-13Fix misspellsAntonin Décimo
Signed-off-by: Antonin Décimo <antonin.decimo@gmail.com>
2021-01-13gen_data.py: even more sortingEli Schwartz
glob.glob() is not sorted, despite using shell-style wildcards, and the documentation does not mention this: https://bugs.python.org/issue21748 Recently, it does start mentioning "Whether or not the results are sorted depends on the file system." which does not really get to the heart of the matter... This is causing fuzz too.
2021-01-12gen_data.py: sort files when generating mesondataEli Schwartz
The current way this works is chaos since the tool might return files in any order and thus shuffle around the order of embedded files. This results in big diffs that cannot be easily reviewed. Also regenerate the data according to the, going forward, canonical ordering algorithm.
2020-11-22Merge pull request #8011 from dcbaker/submit/post-python36-cleanupsJussi Pakkanen
Python 3.6 cleanups
2020-11-21Handle cmake dependencies which require a specified versionJason Ekstrand
Some CMake packages fail to find at all if no version is specified. This commit adds a cmake_version parameter to dependency() to allow you to specify the requested version.
2020-11-20use real pathlib moduleDylan Baker
We added the _pathlib module to work around defeciencies in python 3.5's implementation, since we now rely on 3.6 lets drop this
2020-10-24cmake: set CMP0054 to new in preload.cmakeDaniel Mensinger
https://cmake.org/cmake/help/latest/policy/CMP0054.html
2020-10-24cmake: Disable the new (CMake 3.16) PCH supportDaniel Mensinger
Subprojects that use the CMake PCH feature will cause compilation/linker errors. The CMake PCH support should thus be disabled until this can be properly translated to meson.
2020-10-04pathlib: Fix resolve() by overriding it in Python 3.5Daniel Mensinger
2020-07-16mdata: Generate mesondata.py from */data foldersDaniel Mensinger