515 Commits (01b5581a100bbb5c608cd054dfccbec721285be9)

Author SHA1 Message Date
Xavier Claessens ba1737cb66 interpreter: Do not ignore all exceptions when adding compiler 2 years ago
Dylan Baker b2473b61cc interpreter: add FeatureOption.enable_if and .disable_if 2 years ago
Dylan Baker 3589815eb9 interpreter: add a feature.enable_auto_if 2 years ago
Xavier Claessens d21b64487e preprocess: Add dependencies kwarg 2 years ago
Xavier Claessens c2a55bfe43 preprocess: Allow custom_tgt, custom_idx and generated_list 2 years ago
Charles Brunet 04f233a80d allow install script to run in dry-run mode 2 years ago
Charles Brunet ce62190b17 Fix displaying outputs with add_*_script 2 years ago
Eli Schwartz a846fa3352
respect the machine file binary overrides, even if it doesn't exist 2 years ago
Eli Schwartz 4c55947c47
pylint 2.16: raise a more intentional exception 2 years ago
Eli Schwartz a21af43200
micro-optimize: define typing-only objects in TYPE_CHECKING 2 years ago
Eli Schwartz 680b5ff819
treewide: add future annotations import 2 years ago
Eli Schwartz 08e722d44c
log running commands a bit better by doing proper shell quoting 2 years ago
Dylan Baker c49552ffb2 interpreter: use typed_pos_args for build_targets 2 years ago
Paolo Bonzini b3fc3cd6b5 add objects keyword argument to declare_dependencies 2 years ago
Dylan Baker b9ef662926 reformat some warnings for better code readability 2 years ago
Eli Schwartz 2fa0749175
add license_files kwarg to project 2 years ago
Dylan Baker 2fd5bd934e interpreter: use static_lib's already calculated pic value 2 years ago
Eli Schwartz e5a9272034
typing: fix some broken Sequence annotations 2 years ago
Marvin Scholz 85a58f12f0 interpreter: compiler: Allow array for the prefix kwarg 2 years ago
Eli Schwartz 9e8a3b9cbd when generating optional utility targets in ninja, skip existing aliases too 2 years ago
Dylan Baker ff3083c956 type_checking: add a type checking helper for strings in include_directories 2 years ago
Dylan Baker 010f525cc5 interpreter: move TEST_KW from interpreter.py to type_checking.py 2 years ago
Michael Champanis f194413f87
dependencies: only print not_found_message once 2 years ago
Dylan Baker d5e899c768
pylint: enable the bad_builtin checker 2 years ago
David Robillard e85138fcc8 Fix various spelling errors 2 years ago
Xavier Claessens 8232665849 Fix deprecation message, the function name is fs.copyfile() 2 years ago
Tristan Partin bfc813200c Change the warning generated by importing an unstable module to non-fatal 2 years ago
Xavier Claessens 273605f859 Fix since annotation for str "in" operator 2 years ago
Xavier Claessens a6db624aad Implement `in` operator on string 2 years ago
Xavier Claessens 81763e610f both_libraries: Make sure to select the right linker for static lib 2 years ago
Eli Schwartz 8d8ce4fb77 emit a FeatureNew when using include_directories as a string 2 years ago
Elliott Sales de Andrade 8c5838bfea Add missing since annotations in docs 2 years ago
Elliott Sales de Andrade 9c4d6088b1 Accept disablers in summary values 2 years ago
Xavier Claessens eb731cda75 Add missing doc for NASM language 2 years ago
Xavier Claessens 65590e6e4b Add cc.preprocess() method for c-like compilers 2 years ago
Xavier Claessens 064165485c Fix excluding sources for static lib in both_libraries() 2 years ago
Nirbheek Chauhan 9b33885c2d interpreter: Fix msg when none of the dependencies have names 2 years ago
Nirbheek Chauhan c50d837a0c interpreter: Don't say we're using -lfoo args when we're not 2 years ago
Xavier Claessens 39d825fabf Get fallback varname from wrap file after it has been configured 2 years ago
Xavier Claessens 2dfd952eb9 Move classes used by scripts to their own module 2 years ago
Dylan Baker 6f7ea0cc28 pylint: enable use-sequence-for-iteration 2 years ago
Eli Schwartz 24ac3cdb9c
declare_dependency: fix regression in printing the correct error 2 years ago
Thomas Li a4d5442207 Fix install_subdirs not showing up in intro-install_plan.json 2 years ago
Eli Schwartz e6122ba786 interpreter: name typing-only kwargs import with an underscore 2 years ago
Eli Schwartz c1182b3f74 interpreter: add a few small func annotations 2 years ago
Eli Schwartz 14b2457627 flake8: fix warnings for unused imports 2 years ago
Eli Schwartz ff7d86d05f flake8: fix unnecessary f-strings without any format placeholders 2 years ago
Eli Schwartz 520bb7abbc flake8: fix lingering whitespace errors 2 years ago
Alf Henrik Sauge 28dff2ca6d Fix indentation issues reported by flake8, requiring code restructuring 2 years ago
Alf Henrik Sauge 06bf9a5cda Fix purely white space issues reported by flake8 2 years ago