54 Commits (df41e7843e74ea6c2a5c98920f5bea8f1b94a064)

Author SHA1 Message Date
Dylan Baker e991c4d454 Use SPDX-License-Identifier consistently 11 months ago
Xavier Claessens 319b41b4c9 mlog: Catch OSError when closing pager 12 months ago
Eli Schwartz 90ce084144
treewide: automatic rewriting of all comment-style type annotations 1 year ago
Charles Brunet a84a082b1a Prevent summary displaying timestamp twice 1 year ago
Charles Brunet 047c2d644c Display more timestamps when profiling ninja 1 year ago
Dylan Baker cb0b6352b5
mlog: put the module docstring at the top of the file 1 year ago
Dylan Baker 11fab771b1
mlog: use StringProtocol where we said we should 1 year ago
Dylan Baker ada2a976f0
mlog: use a hidden class for state 1 year ago
Dylan Baker 1e79553c36
mlog: remove out-of-date comment 1 year ago
Dylan Baker 73c054ced6
mlog: remove direct calls to log_once 1 year 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 7b0a590c1b
mlog: do not squelch console output for errors 2 years ago
Dylan Baker 7460ab20cd mlog: move code for printing code with a caret to the mlog module 2 years ago
Dylan Baker 900677cdb2 mlog: use an enum instead of strings 2 years ago
Dylan Baker d9dc5a7f74 mlog: Remove using of `**kwargs: T.Any` 2 years ago
Phil Jones 41ab2ef8af mlog: set LV environment variable for pager. 2 years ago
Phil Jones 8bfc29f91f mlog: set LESS environment variable for pager. 2 years ago
Xavier Claessens 05da4b087c mlog: Use less from git on Windows 2 years ago
Xavier Claessens bed5b31079 mlog: disable usage of global for log_pager 2 years ago
Dylan Baker f5283dd63f pylint: enable global-statement 2 years ago
Dylan Baker 3ef332e89a pylint: enable global-variable-not-assigned 2 years ago
Xavier Claessens 59d561d4c1 mlog: Add support for pager 2 years ago
Hemmo Nieminen a9e25f4765 mlog: add support for italic/emphasized text in AnsiText 2 years ago
Eli Schwartz a009eacc65
treewide: string-quote the first argument to T.cast 3 years ago
Eli Schwartz 812ad2e6d1
fix type annotations for mlog nesting 3 years ago
Eli Schwartz f4b91c4306 Revert "mark a couple of typing-only imports as noqa, to appease pyflakes" 3 years ago
Eli Schwartz 8947352889 fix various flake8 whitespace errors 3 years ago
Eli Schwartz b1f0eec38f
fix lgtm.com "Use of the return value of a procedure" 3 years ago
Paolo Bonzini 65b144bc85 Revert "mtest: fix test output issues (in console)" 3 years ago
Hemmo Nieminen 5fcb0e6525 mtest: fix test output issues (in console) 3 years ago
Dylan Baker 9bca4a4b94 mlog: fix annotation 3 years ago
Eli Schwartz 6cc1b8441c
mark a couple of typing-only imports as noqa, to appease pyflakes 3 years ago
Paolo Bonzini 516c871bec summary: fix dependencies 3 years ago
Daniel Mensinger 3e396b3782
fix: Always explicitly set encoding for text files (fixes #8263) 3 years ago
Daniel Mensinger 27bb5f536a typing: mlog use StringProtocol 3 years ago
Daniel Mensinger f502a38d1c typing: mlog: Simplify some typing with a TV_ variables 4 years ago
Xavier Claessens 8cd4d0b283 mlog: Do not print 'subproject|' for the message 'Executing subproject' 4 years ago
Xavier Claessens 60c2c25d5b mlog: Do not print 'subproject|' on empty lines 4 years ago
Xavier Claessens b33e7bca73 mlog: Add a space after 'subproject|' 4 years ago
Xavier Claessens 3c1ccb923f logs: Prepend current subproject name to all messages 4 years ago
Eli Schwartz 6a0fabc647
mass rewrite of string formatting to use f-strings everywhere 4 years ago
Eli Schwartz 4340bf34fa
various python neatness cleanups 4 years ago
Paolo Bonzini adb1b2f3f6 interpreter: accept external programs and dependencies for summary 4 years ago
Paolo Bonzini 021068a8b7 mlog: add __len__ to AnsiDecorator 4 years ago
Paolo Bonzini 9ba7b0ebd0 mlog: add __str__ method to AnsiDecorator 4 years ago
Dylan Baker a9ff308d27 mlog: make mlog helper take once keyword argument 4 years ago
Dylan Baker f6672c7a19 use real pathlib module 4 years ago
Paolo Bonzini f1ce78d77f mtest: cleanup and fix print_stats 4 years ago
Daniel Mensinger 1dfaccfd91 pathlib: Fix resolve() by overriding it in Python 3.5 4 years ago