summaryrefslogtreecommitdiff
path: root/mesonbuild/interpreterbase/helpers.py
AgeCommit message (Collapse)Author
2024-05-23Refactor option classes to their own file.Jussi Pakkanen
2024-04-08parser: revert to single StringNode typeCharles Brunet
this will allow transforming string types in the formater
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-09-11parser: preserve escape chars in stringsCharles Brunet
use separate Node for multiline strings
2023-08-02Unify message(), format() and fstring formattingXavier Claessens
Share a common function to convert objects to display strings for consistency. While at it, also add support for formatting user options.
2023-02-01treewide: add future annotations importEli Schwartz
2021-09-25Remove helpers.check_stringlist()Daniel Mensinger
2021-08-30Simplify get_callee_argsXavier Claessens
2021-06-26refactor: Refactor BothLibraries logicDaniel Mensinger
This commit introduces a new type of `HoldableObject`: The `SecondLevelHolder`. The primary purpose of this class is to handle cases where two (or more) `HoldableObject`s are stored at the same time (with one default object). The best (and currently only) example here is the `BothLibraries` class.
2021-06-18holders: Ensure that InterpreterBase is the sole instance for (un)holderifyingDaniel Mensinger
2021-06-11interpreter: Split base objects and helpers from interpreterbase.pyDaniel Mensinger