29 Commits (377c23388f2c10cc3f5b13ba7a3cfe5dea7ff645)

Author SHA1 Message Date
Daniel Mensinger 6b00c7dc81 Remove helpers.check_stringlist() 3 years ago
Daniel Mensinger d93d01b6c5 interpreter: Introduce StringHolder 3 years ago
Eli Schwartz 6cc1b8441c
mark a couple of typing-only imports as noqa, to appease pyflakes 3 years ago
Daniel Mensinger 43302d3296 interpreter: Introduce BooleanHolder for the bool primitive 3 years ago
Daniel Mensinger 86eda3c812 interpreter: Simplify Disabler logic 3 years ago
Daniel Mensinger 8d92e6d865 interpreter: Add IntegerHolder 3 years ago
Daniel Mensinger 86f70c873a interpreter: Introduce operators support for InterpreterObjects 3 years ago
Daniel Mensinger a6c9a151d3 interpreter: Make comparisons of different types a hard error 3 years ago
Dylan Baker 4d7031437c pylint: turn on superflous-parens 3 years ago
Xavier Claessens f8cfd91d71 Simplify get_callee_args 3 years ago
Eli Schwartz 2a7125928e
use even more informative error message for invoking meson in a subdir 3 years ago
Eli Schwartz 5a7b8d86d0 use a more informative error message for invoking meson in a subdir 3 years ago
Tristan Partin 1dc13e9951 Add unset_variable() 3 years ago
Daniel Mensinger 5c87167a34 interpreter: Fix list contains for Holders (fixes #9020 #9047) 3 years ago
Eli Schwartz bd6f46e723 condense lines 3 years ago
Eli Schwartz dd31891c1f more f-strings too complex to be caught by pyupgrade 3 years ago
Daniel Mensinger 971a0b1775 fix: get_variable default variables are not ObjectHolders (fixes #8936) 3 years ago
Daniel Mensinger 3e396b3782
fix: Always explicitly set encoding for text files (fixes #8263) 3 years ago
Daniel Mensinger 8f7343831b refactor: Refactor BothLibraries logic 3 years ago
Daniel Mensinger 0358445b6e
fix: dicts and list need _holderify for fallback 3 years ago
Daniel Mensinger f1ac7db2e6
fix: Fix set_variable not holderifying (fixes #8904) 3 years ago
Daniel Mensinger c2c7f7c9d7 holders: Ensure that InterpreterBase is the sole instance for (un)holderifying 4 years ago
Daniel Mensinger d601227cb2 interpreter: Add FileHolder and remove specical case for File 4 years ago
Daniel Mensinger 7be172fe16 interpreter: Meson does not have floats --> remove them 4 years ago
Daniel Mensinger e686545fce interpreter: Split decorators from interpreterbase.py 4 years ago
Daniel Mensinger fc0397b309 interpreter: Split Disabler from interpreterbase.py 4 years ago
Daniel Mensinger 687eebee29 interpreter: Split base objects and helpers from interpreterbase.py 4 years ago
Daniel Mensinger 2e3550db14 interpreter: Split exception calsses from interpreterbase.py 4 years ago
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