119 Commits (05df8320dbc85fb77352d32fd26a60f72f40c5d7)

Author SHA1 Message Date
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
Daniel Mensinger ab988198c7
review: Initial fixup 5 years ago
Daniel Mensinger 5a89a6f804
types: (partially) annotate interpreterbase.py 5 years ago
Daniel Mensinger c48b0dea27
types: Annotate ast/interpreter.py 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
Xavier Claessens 9b1a857473 dict: Fully evaluate keys 5 years ago
fchin 4e460f04f3 Fixed issue that the key's value type wasn't checked correctly. 5 years ago
franczc adb4e071e6 Adding dictionary entry using string variable as key. 5 years ago
Wolfgang Stöggl f037e7ef45 Fix typos found by codespell 5 years ago
James Hilliard 2b6c997e33 Return a disabler when an unknown method is called on a disabler object 5 years ago
Niklas Claesson b8fbbf5964 Make parser errors print relative path to meson.build file 5 years ago
Xavier Claessens 9855b2d3c5 Test disabler in foreach loops 5 years ago
Xavier Claessens 1930fc82e2 Fix `if not disabler()` case 5 years ago
James Hilliard b21fd95f73 Add is_disabler function 5 years ago
Marc-André Lureau 3811101434 meson: handle nested disabler 5 years ago
Daniel Mensinger 5ec79185a0
Address code review 6 years ago
Daniel Mensinger 2b5831f94f
Fix flake8-bugbear warnings 6 years ago
Daniel Mensinger 75b7a856cd
ast: support elementary object methods 6 years ago
Paolo Bonzini 7a02b76e70 interpreterbase: protect string division with FeatureNew 6 years ago
Michael Hirsch, Ph.D 4e31ca3abe correct naming to CudaCompiler, pep8 6 years ago
Xavier Claessens 4b4f642e6a InterpreterBase: Fix extracting the node in all method/function calls 6 years ago
Xavier Claessens 90d1f38d8e Interpreter: Set self.current_node during method/function calls 6 years ago
Xavier Claessens 83766b3687 Fix flake8 errors 6 years ago
Jussi Pakkanen 95c620db67 Error out if kwargs dict contains a kwargs entry. 6 years ago
Jussi Pakkanen 58b838a80b Can specify keyword arguments with a dict. 6 years ago
Jussi Pakkanen 23ed0e1857 Make string division do path joining. 6 years ago