38 Commits (018d928cf51b6915f72d8377fe77b89dbd594072)

Author SHA1 Message Date
Eli Schwartz 108bd996ee
add install_emptydir function 3 years ago
Daniel Mensinger af0587cb49 interpreter: Holderify arrays and dicts 3 years ago
Daniel Mensinger d93d01b6c5 interpreter: Introduce StringHolder 3 years ago
Daniel Mensinger 43302d3296 interpreter: Introduce BooleanHolder for the bool primitive 3 years ago
Daniel Mensinger 8d92e6d865 interpreter: Add IntegerHolder 3 years ago
Dylan Baker 4d7031437c pylint: turn on superflous-parens 3 years ago
Tristan Partin 1dc13e9951 Add unset_variable() 3 years ago
Daniel Mensinger bf41d56597 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 4 years ago
Daniel Mensinger 63ade7d937 interpreter: Add a new MesonInterpreterObject for non-elementary objects 4 years ago
Xavier Claessens 3970f269fd Fix assert(not true) raising backtrace 4 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