summaryrefslogtreecommitdiff
path: root/src/option.hh
AgeCommit message (Collapse)Author
2024-08-16include headers cleanupAdriĆ  Arrufat
2024-08-12Move debug utils to debug.hh/debug.ccMaxime Coste
Lots of code includes buffer_utils.hh just for write_to_debug_buffer which pulls many unnecessary dependencies. Reorganise to reduce compile times.
2023-10-25Default comparison operators that can beMaxime Coste
2023-10-25Remove redundant comparison operatorsMaxime Coste
Since C++20 (a != b) get automatically rewritten as !(a == b) if the != operator does not exist.
2020-09-09Add support for removing from optionsMaxime Coste
`set -remove ...` will remove from the current option value, substracting from int, removing elements from vectors and maps.
2019-10-17Remove explicit sizes from make_array callsMaxime Coste
2019-06-19Refactor option_to_string quoting support, introduce Quoting::RawMaxime Coste
2018-07-24Quote every option type but integral typesMaxime Coste
Opt-in quoting was a bad choice, lets default to opt-out with all integral types non quoted.
2018-07-22Opt-in types for quoting of option listsMaxime Coste
This avoid quoting ints in int-lists for example, as they do not risk containing whitespaces. Fixes #2223
2018-07-05Change option lists to be specified as separate arguments on commands lineMaxime Coste
Option lists and maps are specified using separate arguments, avoiding the need for additional escaping of their separator and reusing the existing command line spliting logic instead. As discussed on #2087, this should make it much easier to work with list options, and make the general option system feel cleaner.
2017-11-12Move Array and ConstexprVector to a constexpr_utils.hh headerMaxime Coste
2017-06-17src: Add a `commands` debug flagFrank LENORMAND
This commit allows setting the `commands` flag to the `debug` option, in order to have the engine write on the *debug* buffer the commands that are being executed, along with their arguments.
2017-03-16Fixes some clang-tidy warning and add a few missing meta.hh includeMaxime Coste
2017-03-16Try to clean up option include a bitMaxime Coste