90 Commits (9c3dcea2cda3b6eff90e72a826196bfb44d151d8)

Author SHA1 Message Date
Eli Schwartz 4a352dd8bd
flake8: move unused typing-only imports to TYPE_CHECKING 8 months ago
Jussi Pakkanen 0d7bb776e2 Move OptionKey in the option source file. 9 months ago
Jussi Pakkanen 8e3f609e73 Move project option detection into OptionStore. 9 months ago
Jussi Pakkanen 5365d9a842 Refactor option classes to their own file. 10 months ago
Eli Schwartz e5f32b7414 catch build files that cannot be opened in utf8 mode and emit useful error 11 months ago
Charles Brunet bd4fd90730 parser: revert to single StringNode type 12 months ago
Charles Brunet dacb25db10 Improve error messages for invalid option values 1 year ago
Dylan Baker e991c4d454 Use SPDX-License-Identifier consistently 1 year ago
Charles Brunet 306562b466 parser: use IdNode for function name and assignment name 2 years ago
Charles Brunet 35936283d2 parser: preserve escape chars in strings 2 years ago
JCWasmx86 79ed2415e9 Add ParenthesizedNode 2 years ago
Xavier Claessens 82a8c72187 c_std, cpp_std: Change to a list of desired versions in preference order 2 years ago
Xavier Claessens 48c17b7ae6 UserArrayOption: Remove user_input argument 2 years ago
Xavier Claessens 0f67913dee typed_kwargs: Extend since_values and deprecated_values for types 2 years ago
Eli Schwartz 680b5ff819
treewide: add future annotations import 2 years ago
Dylan Baker 7c1f53f3b1 optinterpreter: pass deprecated keyword directly to Option initializer 2 years ago
Dylan Baker 43a2404707 Deprecate passing strings to non-string options 2 years ago
Dylan Baker f5eaebb4b4 use typed_kwargs for the various option subparsers 2 years ago
Dylan Baker 93e370c7dd coredata: use DEFAULT_YIELDING as the default value for Options 2 years ago
Xavier Claessens 3c8343b483 Allow deprecating an option for a new one 3 years ago
Xavier Claessens 06d12064d0 OptionOverrideProxy: Make it immutable to avoid copies 3 years ago
Eli Schwartz c0b8e02d9f
FeatureNew: add mypy type annotations for subproject arg 3 years ago
Eli Schwartz cf3a1d31f8 fix some flake8 violations for unused imports 3 years ago
Xavier Claessens 8a0d12ec29 optinterpreter: Fix builtin option names not being reserved anymore 4 years ago
Xavier Claessens 4f7c0d0b62 optinterpreter: Downgrade error to deprecation 4 years ago
Xavier Claessens 77ef437cc4 optinterpreter: Add deprecated kwarg 4 years ago
Xavier Claessens 953bbf5e19 optinterpreter: Refactor to use typed_pos_args() and typed_kwargs() 4 years ago
Xavier Claessens a844e9bdb0 optinterpreter: Add support for dictionaries 4 years ago
Daniel Mensinger 3e396b3782
fix: Always explicitly set encoding for text files (fixes #8263) 4 years ago
Eli Schwartz 4340bf34fa
various python neatness cleanups 4 years ago
Dylan Baker e81acbd606 Use a single coredata dictionary for options 4 years ago
Dylan Baker 51b361fdbe optinterpreter: organize the validation of arguments to be more readable 4 years ago
Dylan Baker 226945bbc7 optinterpreter: use PEP8 compliant names 4 years ago
Dylan Baker 49f8ff8410 optinterpreter: fix value being set in loop 4 years ago
Dylan Baker 93ecfa646b Add type annotations to optinterpreter 4 years ago
Dylan Baker f342efd080 pylint: turn on bad-indentation error 5 years ago
Daniel Mensinger 23818fc5a3
typing: more fixes 5 years ago
John Ericson 2447a1132a Capitalize some constants in coredata 5 years ago
Daniel Mensinger 534b340a56 opts: Add FeatureNew for '-' and 'not' introduced in 0.54.1 5 years ago
Daniel Mensinger 7e8f1de063 opts: Allow string concatenation (fixes #7199) 5 years ago
Dylan Baker 29ef4478df compilers/d: Add b_ndebug support 5 years ago
Dylan Baker c64715b99a optinterpreter: Enable and update FeatureNew to use_single 5 years ago
Daniel Mensinger 03b86cdbed opts: Allow `-` and `not` in meson_options.txt (fixes #6948) 5 years ago
Daniel Mensinger c14aea2812
types: Annotate mparser.py 5 years ago
Jon Turney 346b5c4be7
Store filename in node location 5 years ago
Jon Turney 534a974da7
Adjust all the other places MesonException file attribute is set 5 years ago
Jussi Pakkanen 6b5c1a4fc3 Refactor UserIntegerOption to work with BuiltinOption. 5 years ago
Daniel Mensinger 09b53c534f types: import typing as T (fixes #6333) 5 years ago
Jussi Pakkanen d7a682fded No need to reserve build_ because we use build. instead. 6 years ago
Jussi Pakkanen da1f663e8d Reserve build_ prefix in option names. 6 years ago