Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2022-11-22 | Fix diag builtin calls | Boris Kolpackov | 1 | -1/+1 | |
2022-09-20 | Add --generate-dep option | Karen Arutyunov | 11 | -29/+378 | |
2022-09-16 | Fix parser to use absolute paths as keys for include map | Karen Arutyunov | 1 | -2/+2 | |
2022-09-12 | Move options variables from target scopes to buildscript scopes | Karen Arutyunov | 1 | -5/+5 | |
2022-09-08 | Make build graph configuration-independent | Karen Arutyunov | 5 | -59/+86 | |
2022-06-30 | Add support for using bool with std::vector, std::set, and std::map | Karen Arutyunov | 3 | -45/+106 | |
2022-02-18 | Add --export-symbol option | Karen Arutyunov | 8 | -23/+117 | |
2021-11-19 | Fortify tests against NDEBUG | Karen Arutyunov | 2 | -0/+6 | |
2021-11-09 | Add --ascii-tree for translating UTF-8 tree(1) output to ASCII | Boris Kolpackov | 10 | -6/+136 | |
2021-09-20 | Use ad hoc recipe for parsing code and documentation generating | Karen Arutyunov | 6 | -70/+220 | |
The overall approach is to store pre-generated bootstrap options.?xx and cli.{1,xhtml} and automatically update them in the development build (config.cli.develop=true). See README.md in the root of the repository for details. | |||||
2021-09-10 | Add multi-argument grouping support in group_scanner | Boris Kolpackov | 4 | -58/+138 | |
2021-08-03 | Add support for tracking argument/option position | Boris Kolpackov | 3 | -42/+175 | |
The scanner interface now provides the position() function that returns a monotonically-increasing number which, if stored, can later be used to determine the relative position of the arguments. There is also now a parser implementation for std::pair<T, std::size_t> which parses the value T into the first half of the pair and stores the option position in the second half. Together, this can be used to establish the relative position of different options, for example: class options { std::vector<std::pair<std::uint64_t, std::size>> --config-id; std::vector<std::pair<std::string, std::size>> --config-name; }; cli::argv_scanner scan (argc, argv); options ops (scan); // Iterate over --config-id and --config-name options in the order // specified by the user. // auto ii (ops.config_id ().begin ()); auto ni (ops.config_name ().begin ()); for (size_t i (0), n (scan.position ()); i != n; ++i) { if (ii != ops.config_id ().end () && ii->second == i) { // Handle *ii. ++ii; } if (ni != ops.config_name ().end () && ni->second == i) { // Handle *ni. ++ni; } } | |||||
2021-02-24 | Adapt to cutl/ to libcutl/ rename | Karen Arutyunov | 13 | -20/+20 | |
2020-12-08 | Regenerate options parsing code | Karen Arutyunov | 2 | -139/+155 | |
2020-12-08 | Complete options file path using referencing file path as base | Karen Arutyunov | 1 | -2/+17 | |
2020-10-05 | Add missing spaces in generated code | Karen Arutyunov | 1 | -2/+2 | |
2020-09-12 | Fix generated set and map parsers so that comparison predicate can also be ↵ | Karen Arutyunov | 1 | -13/+13 | |
specified | |||||
2020-06-19 | Fix misleading indentation | Boris Kolpackov | 1 | -2/+2 | |
2020-06-09 | Add name to metadata for cli executable | Boris Kolpackov | 2 | -0/+2 | |
2020-06-09 | Add metadata variable prefix for cli executable | Karen Arutyunov | 2 | -2/+2 | |
2020-05-28 | Get rid of trailing spaces in generated code | Boris Kolpackov | 3 | -90/+98 | |
2020-04-29 | Add --suppress-undocumented for usage and regenerate | Boris Kolpackov | 2 | -3/+1 | |
2020-04-27 | Update metadata protocol | Boris Kolpackov | 7 | -15/+49 | |
2020-04-27 | Separate tests and examples into individual packages | Karen Arutyunov | 74 | -0/+21812 | |
Also make cli module to be explicitly enabled via the config.cli configuration variable. |