61 Commits (6165db80bb0d014d9d1fc0d3f8a9d78e92492b94)

Author SHA1 Message Date
Jussi Pakkanen 0d7bb776e2 Move OptionKey in the option source file. 7 months ago
Jussi Pakkanen c2552527fb Move compiler option check into OptionStore. 7 months ago
Jussi Pakkanen 5c6e9d2d8f Move builtin option check into OptionStore. 7 months ago
Jussi Pakkanen 472d8852e9 Move backend option check into OptionStore. 7 months ago
Jussi Pakkanen 0c36ace4b7 Move base option check into OptionStore. 7 months ago
Jussi Pakkanen 8e3f609e73 Move project option detection into OptionStore. 7 months ago
Jussi Pakkanen 181c3499fd Fix mypy. 8 months ago
Jussi Pakkanen 9a6fcd4d9a Replace direct indexing with named methods. 8 months ago
Jussi Pakkanen c0d86024f5 Rename option variable to optstore to make it unique. 8 months ago
Jussi Pakkanen 5365d9a842 Refactor option classes to their own file. 9 months ago
Dylan Baker 2d7b7c3aaf mconf: Reload the options files if they have changed 11 months ago
Dylan Baker 5d1c3ae787 mconf|msetup: use Protocol for argparse options 1 year ago
Dylan Baker e991c4d454 Use SPDX-License-Identifier consistently 1 year ago
Luke Elliott ce691f8c98 Add comments suggesting to keep shell completion scripts up-to-date near cmd line argument code 1 year ago
Xavier Claessens e3a71a7b58 msetup: Update options when builddir is already configured 2 years ago
Eli Schwartz 7afc69254d
fix implicit_reexport issues and enforce them going forward 2 years ago
Eli Schwartz a53c6687b6
fully type mconf.py 2 years ago
Xavier Claessens 543610468d coredata: Also clear compiler and run caches 2 years ago
Xavier Claessens 1d600b48cb mconf: Allow changing options and clearing cache at the same time 2 years ago
Dylan Baker ada2a976f0
mlog: use a hidden class for state 2 years ago
Xavier Claessens 72cd2a395a coredata: Do not pickle it twice 2 years ago
Daan De Meyer adb619db61 Stop using replace_if_different() for coredata pickle file 2 years ago
Xavier Claessens 4fa5b2ee42 mconf: Use auto_features value for auto options 2 years ago
Eli Schwartz 680b5ff819
treewide: add future annotations import 2 years ago
Xavier Claessens 195aae6a84 mconf: Do not print None for empty choices 2 years ago
Xavier Claessens 4fce954f97 mconf: Use pager only when printing configuration 2 years ago
Xavier Claessens d202697182 mconf: Add --no-pager option 2 years ago
Xavier Claessens b3dc99e6da mconf: Print options with colors 2 years ago
Xavier Claessens 5a98c915c5 mconf: Substract the 3 space separators between columns 2 years ago
Xavier Claessens 5d6368e562 mconf: Do not wrap choices manually 2 years ago
Xavier Claessens c8b57f1b57 mconf: There is always 4 columns 2 years ago
Xavier Claessens 59d561d4c1 mlog: Add support for pager 2 years ago
Xavier Claessens 3111ce6aae mconf: Use mlog.log() instead of print() 2 years ago
Daan De Meyer f774609b09 Only reconfigure if configure options actually changed 3 years ago
fxxf 650cea3d08 fix: handle the case where the last item of `four_column` results in being < 1 (COLUMNS <= 60) by falling back to `_col`, relevant issue #10211 3 years ago
Eli Schwartz 1eaf49c880 flake8: remove no longer used imports 3 years ago
Xavier Claessens 3180c579f6 mconf: Fix printing <inherited from main project> for yielding options 3 years ago
Eli Schwartz 8947352889 fix various flake8 whitespace errors 3 years ago
Xavier Claessens 2628ce576c Add support for module options 3 years ago
Eli Schwartz 1bb2523e58
remove f from f-string that has no formatting 3 years ago
Xavier Claessens d5917c1b87 coredata: Invalidate deps cache when changing wrap_mode option 4 years ago
Dylan Baker d3003ebb41 mconf: line wrap columns nicely 4 years ago
Dylan Baker 8fa7f3a9c3 mconf: print core options for subprojects 4 years ago
Dylan Baker cd8c334788 mconf: cleanup up and sort imports 4 years ago
Dylan Baker 10c19e1206 mconf: print core options for subprojects 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
Dylan Baker d5238baa45 mconf: only print correct options in the correct sections 4 years ago
Jussi Pakkanen 8133a7b9a4 Keep buildtype the same even if user changes debug and/or optimization. 4 years ago
Dylan Baker e81acbd606 Use a single coredata dictionary for options 4 years ago