aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/optinterpreter.py
AgeCommit message (Expand)AuthorFilesLines
2023-03-04typed_kwargs: Extend since_values and deprecated_values for typesXavier Claessens1-4/+4
2023-02-01treewide: add future annotations importEli Schwartz1-1/+2
2023-01-20optinterpreter: pass deprecated keyword directly to Option initializerDylan Baker1-15/+17
2023-01-20Deprecate passing strings to non-string optionsDylan Baker1-1/+3
2023-01-20use typed_kwargs for the various option subparsersDylan Baker1-73/+122
2023-01-20coredata: use DEFAULT_YIELDING as the default value for OptionsDylan Baker1-1/+1
2022-04-21Allow deprecating an option for a new oneXavier Claessens1-3/+4
2022-03-22OptionOverrideProxy: Make it immutable to avoid copiesXavier Claessens1-1/+1
2022-02-14FeatureNew: add mypy type annotations for subproject argEli Schwartz1-1/+2
2022-01-27fix some flake8 violations for unused importsEli Schwartz1-1/+1
2021-10-14optinterpreter: Fix builtin option names not being reserved anymoreXavier Claessens1-18/+2
2021-10-13optinterpreter: Downgrade error to deprecationXavier Claessens1-1/+1
2021-10-09optinterpreter: Add deprecated kwargXavier Claessens1-0/+4
2021-10-09optinterpreter: Refactor to use typed_pos_args() and typed_kwargs()Xavier Claessens1-121/+99
2021-10-09optinterpreter: Add support for dictionariesXavier Claessens1-0/+7
2021-06-29fix: Always explicitly set encoding for text files (fixes #8263)Daniel Mensinger1-1/+1
2021-03-04various python neatness cleanupsEli Schwartz1-1/+1
2021-01-04Use a single coredata dictionary for optionsDylan Baker1-4/+3
2020-11-20optinterpreter: organize the validation of arguments to be more readableDylan Baker1-10/+13
2020-11-20optinterpreter: use PEP8 compliant namesDylan Baker1-10/+10
2020-11-20optinterpreter: fix value being set in loopDylan Baker1-1/+1
2020-11-20Add type annotations to optinterpreterDylan Baker1-19/+33
2020-09-22pylint: turn on bad-indentation errorDylan Baker1-1/+1
2020-09-08typing: more fixesDaniel Mensinger1-6/+5
2020-08-04Capitalize some constants in coredataJohn Ericson1-1/+1
2020-05-26opts: Add FeatureNew for '-' and 'not' introduced in 0.54.1Daniel Mensinger1-0/+2
2020-05-26opts: Allow string concatenation (fixes #7199)Daniel Mensinger1-0/+7
2020-05-14optinterpreter: Enable and update FeatureNew to use_singleDylan Baker1-7/+5
2020-04-11opts: Allow `-` and `not` in meson_options.txt (fixes #6948)Daniel Mensinger1-0/+10
2020-03-02types: Annotate mparser.pyDaniel Mensinger1-2/+2
2020-02-28Store filename in node locationJon Turney1-1/+1
2020-02-28Adjust all the other places MesonException file attribute is setJon Turney1-2/+3
2020-02-12Refactor UserIntegerOption to work with BuiltinOption.Jussi Pakkanen1-3/+2
2020-01-08types: import typing as T (fixes #6333)Daniel Mensinger1-2/+2
2019-07-15No need to reserve build_ because we use build. instead.Jussi Pakkanen1-1/+1
2019-05-20Reserve build_ prefix in option names.Jussi Pakkanen1-1/+1
2019-05-15UserOption no longer has a name field.John Ericson1-19/+15
2019-04-05optinterpreter: Add a log argument to is_invalid_nameDylan Baker1-3/+4
2019-04-05optinterpreter: Add type annotations to is_invalid_nameDylan Baker1-1/+1
2019-04-04coredata: remove get_builtin_optionsDylan Baker1-1/+1
2019-03-19Reserve cross_ option prefix for Meson.Jussi Pakkanen1-0/+4
2018-07-25UserFeatureOption: Default to 'auto' when no value specifiedXavier Claessens1-1/+1
2018-07-02FeatureNew: Make all checks subproject-specificNirbheek Chauhan1-4/+8
2018-06-18Add UserFeatureOption typeXavier Claessens1-0/+8
2018-06-06Convert args.projectoptions into a dictXavier Claessens1-44/+1
2018-06-06optinterpreter: Remove duplicated list of languagesXavier Claessens1-13/+2
2018-06-01Add 0.45.0 featuresSalamandar1-0/+4
2018-06-01Add 0.44.0 featuresSalamandar1-1/+2
2018-03-20options: s/yiel/yield/ typoThibault Saunier1-1/+1
2018-02-16Fix subproject prefix handling when checking subproject option validity.Hemmo Nieminen1-8/+25