51 Commits (599f37eb5611707b2e32e5f6d1e12f6c609dde52)

Author SHA1 Message Date
Daniel Mensinger ad584f022d interpreter: Move interpreterbase.py into a new package 4 years ago
Dylan Baker 6ab78b5979 intperperterbase: Add a convertor keyword argument 4 years ago
Dylan Baker fb385728df interpreterbase: Add validator keyword argument to typed_kwargs 4 years ago
Dylan Baker 5d81392c67 make all arguments to KwargInfo except name and type keyword only 4 years ago
Dylan Baker b107171307 interpreterbase: Allow safely using mutable default values with typed_kwargs 4 years ago
Dylan Baker 8890a62499 interpreterbase: fix type annotations for typed_pos_args 4 years ago
Xavier Claessens 16c3f03394 typed_kwargs: Add since and deprecated annotations 4 years ago
Dylan Baker 521b92e499 interpreterbase: Add a function for type checking keyword arguments 4 years ago
Xavier Claessens 723c5227a4 modules: Remove snippet methods 4 years ago
Xavier Claessens a45f939092 Add range() function 4 years ago
Xavier Claessens 567c96b68b typed_pos_args: Fix typo 4 years ago
Laurin-Luis Lehning f7dd111333 Some documentation language adjustments & improved error messages 4 years ago
Laurin-Luis Lehning 71e9909ffd Add tentative FeatureNew guard 4 years ago
Laurin-Luis Lehning 2607510b18 Add failing test cases & release snippet 4 years ago
Laurin-Luis Lehning 83c3c74510 Use interpreter exceptions instead of MesonException 4 years ago
Laurin-Luis Lehning 07f467d057 Switch fstring syntax to @..@ & limit fstring captures to int, str, float and bool 4 years ago
Laurin-Luis Lehning 130adef778 Add support for basic format strings 4 years ago
Tristan Partin c83106ee38 Add str.replace() method 4 years ago
Eli Schwartz 6a0fabc647
mass rewrite of string formatting to use f-strings everywhere 4 years ago
Dylan Baker b8e4600bb8 interpreterbase: fix ObjectHolder 4 years ago
Dylan Baker 8e73e5fe1c clarify some things in typed_pos_args 4 years ago
Dylan Baker 2650977c38 interpreterbase: Add support for optional arguments to typed_pos_args 4 years ago
Dylan Baker 978eeddab8 interpreterbase: Add support for variadic arguments to typed_pos_args 4 years ago
Dylan Baker 0ead2e10db interpreterbase: Add a helper method for typing positional arguments 4 years ago
Antonin Décimo 39ede12aa5 Fix misspells 4 years ago
Paolo Bonzini 4caa0577ec stabilize iteration order for dictionaries 4 years ago
Xavier Claessens 7176b74fd6 Add meson.project_build/source_root() methods 4 years ago
Daniel Mensinger 47373a2438
typing: get rid of most T.cast 4 years ago
Daniel Mensinger fb9738b8c7
typing: fully annotate mparser.py 4 years ago
Daniel Mensinger bb09ca9ad5
typing: fully annotate mesonlib.py 4 years ago
Daniel Mensinger ff28f3fa34
typing: completely type interpreterbase 4 years ago
Daniel Mensinger 9c1e72202d
typing: refactor dict handling 4 years ago
Xavier Claessens 70d2207212 interpreterbase: Fix typing annotation 4 years ago
Xavier Claessens 9365486104 Special case meson.version().version_compare() statement 4 years ago
Elliot adfee4460a
prevent disabler() object from overwriting arrays (#7484) 4 years ago
Zbigniew Jędrzejewski-Szmek 7ef51abfc5 Fix typo 4 years ago
Stéphane Cerveau 8f106a2b9a string: add substring method 4 years ago
Dylan Baker 29ef4478df compilers/d: Add b_ndebug support 5 years ago
Dylan Baker d51551231f use FeatureNew.single_use 5 years ago
Dylan Baker 21c8582d15 interpreterbase: Proxy extra_message through to feature_check_class 5 years ago
Dylan Baker e3b2f1b82f interpreterbase: Add a oneline helper method for Feature(New|Deprecated) 5 years ago
Dylan Baker 4e9e35f3bd interpreterbase: Allow passing an extra message in feature/deprecation warnings 5 years ago
Dylan Baker f29f3f9f28 interpreterbase: Fix version checking for deprecation 5 years ago
Dylan Baker ee790eec2a interpreter: Don't assign duplication and new feature warning to the same variable 5 years ago
James Hilliard d7c24ccddd Allow get_variable to still function when the fallback is a disabler. 5 years ago
Xavier Claessens 4d6faf6a13 interpreterbase: Add warning when built-in object method has no kwargs 5 years ago
Dylan Baker 1bb66d1568 fix conversion of hasattr to getattr 5 years ago
Dylan Baker 1a82880730 mesonbuild/mesonlib: Add type annotations 5 years ago
Daniel Mensinger d67888bf9b
types: Remove redundant __init__() -> None annotation 5 years ago
Daniel Mensinger 0302a697b8
types: Use import typing as T 5 years ago