31 Commits (142b741384347dd31ee2008726b3b3d237e2588f)

Author SHA1 Message Date
Daniel Mensinger e8f8b91319 ast: Add dummy "support" for fstrings in the ast package 3 years ago
Daniel Mensinger 3e396b3782
fix: Always explicitly set encoding for text files (fixes #8263) 3 years ago
Daniel Mensinger 3f889606c7 Split compiler detection from Environment 3 years ago
Daniel Mensinger 7c757dff71 holders: Fix the remaining code to respect the holder changes 3 years ago
Daniel Mensinger 63ade7d937 interpreter: Add a new MesonInterpreterObject for non-elementary objects 3 years ago
Xavier Claessens 3970f269fd Fix assert(not true) raising backtrace 3 years ago
Xavier Claessens a45f939092 Add range() function 4 years ago
Jussi Pakkanen fcbab5948c Refactor subdir visitation to track files instead of dirs. 4 years ago
Eli Schwartz 6a0fabc647
mass rewrite of string formatting to use f-strings everywhere 4 years ago
Dylan Baker e81acbd606 Use a single coredata dictionary for options 4 years ago
Dylan Baker f9b19e73a5 move OptionKey to mesonlib 4 years ago
Dylan Baker 615686fd6d use new optionkey.is_* methods 4 years ago
Dylan Baker b25a423a64 use the OptionKey type for command line and machine files 4 years ago
Xavier Claessens 7902d2032d Refactor handling of machine file options 4 years ago
Daniel Mensinger 7c377e5a5d intro: Add extra_files key to intro output (fixes #7310) 4 years ago
Dylan Baker ce04a279ae ast/introspection: Fix typing violation due to untyped functions 4 years ago
Jon Turney d712c86a62
Implement add_languages(native:) in introspector 4 years ago
Daniel Mensinger 057c77f7d0
typing: fixup for #7708 4 years ago
Daniel Mensinger 1743f636fd
typing: fix LGTM bot error 4 years ago
Daniel Mensinger e681235e5f
typing: fix code review 4 years ago
Daniel Mensinger 23818fc5a3
typing: more fixes 4 years ago
Daniel Mensinger 3489442848
typing: completely type ast 4 years ago
Daniel Mensinger 9c1e72202d
typing: refactor dict handling 4 years ago
Paolo Bonzini 4ed5c3acbf IntrospectInterpreter: allow dictionaries with nonconstant keys 4 years ago
Jon Turney f94e1eed97
Factor out an _add_languages() function in introspector 4 years ago
Dylan Baker 591e6e94b9 Put machine file and cmd line parsing in Environment 4 years ago
Daniel Mensinger 54511b4a0f
ast: Handle NotNode 5 years ago
Daniel Mensinger 96eeef62ea
ast: Add AST JSON printer 5 years ago
Dylan Baker 29ef4478df compilers/d: Add b_ndebug support 5 years ago
Xavier Claessens 4d6faf6a13 interpreterbase: Add warning when built-in object method has no kwargs 5 years ago
Daniel Mensinger 213d2f18fc ast: Implement dummy evaluate_notstatement 5 years ago
Xavier Claessens b78db74ed5 ast: Do not resolve dict keys 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 ad5df1b9c3
types: Annotate ast/introspection.py 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 a75255bc4c
types: Annotate the AST visitors 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
Daniel Mensinger 09b53c534f types: import typing as T (fixes #6333) 5 years ago
Xavier Claessens 6e865a2330 Add a summary() function for configuration summarization 5 years ago
Daniel Mensinger fc800a2cb8 mintro: Add version key to --scan-dependencies (fixes #6287) 5 years ago
Xavier Claessens 552e78da4d assert(): Make message argument optional 5 years ago
Wolfgang Stöggl f037e7ef45 Fix typos found by codespell 5 years ago
Daniel Mensinger bd37147b4b mintro: Fix resolving nodes in kwargs (fixes #5884) 5 years ago
James Hilliard b21fd95f73 Add is_disabler function 5 years ago