Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-01-13 | T249: add support for inactive and ephemeral nodes to the curly config parser. | Daniil Baturin | |
2017-01-13 | T254: disallow node names with characters significant to the curly config parser | Daniil Baturin | |
(whitespace, braces, square brackets, quotes, and hash). | |||
2017-01-13 | A few touches to the curly config lexer and parser. | Daniil Baturin | |
Allow single quoted strings. Allow \r's as whitespace. Set line numbers on \n to enable better error reporting. Allow any non-reserved characters ([^\s\{\}\[\]\"\']) in identifiers and unquoted values. | |||
2017-01-12 | T245: improve handling of nodes with duplicate names. | Daniil Baturin | |
Two tag nodes with the same name ("ethernet eth0 {...} ethernet eth0 {...}") is an error. Two leaf nodes with the same name, however, are not an error. Values of the next nodes are merged into the first one, while all other data (comment and inactive and ephemeral properties are inherited from the first node. This mimics the old syntax of multi nodes, so a person who uses the old syntax out of habit in a handwritten config will get the result they expect. | |||
2017-01-10 | Allow valueless nodes in the curly parser. | Daniil Baturin | |
2017-01-09 | Not quite T245: add some unit tests for the curly parser. | Daniil Baturin | |
2017-01-09 | T245: add Vytree.merge_children function for de-duplicating children | Daniil Baturin | |
that share the same name by merging subsequent nodes into the first one. Bad thing: the comments of the outer nodes will be lost, but then again one should attach them to the inner node anyway, in non-pathological cases. | |||
2017-01-05 | Remove the old tag node format from the example grammar. | Daniil Baturin | |
2017-01-04 | Add a grammar for generating curly configs for parser fuzzing tests. | Daniil Baturin | |
Subject to improvement and extension to cover more cases. | |||
2016-12-30 | Add some unit tests for the Session.string_of_op function. | Daniil Baturin | |
2016-12-30 | Fix the string_of_path test (square brackets are no longer part of the output). | Daniil Baturin | |
2016-12-23 | T230: Add missing data access functions to the Reference_tree module with ↵ | Phil Summers | |
Unit tests | |||
2016-12-23 | T230: Add missing data access functions to the Reference_tree module with ↵ | Phil Summers | |
unit tests | |||
2016-12-22 | T226: Add secret and hidden properties to the reference tree. | Phil Summers | |
2016-12-21 | T225: Added inactive and ephemeral fields to node data in Config_tree | Phil Summers | |
2016-12-20 | Add tests for the Reference_tree.is_multi function. | Daniil Baturin | |
2016-12-20 | T224: add node comment functionality to the config tree. | Daniil Baturin | |
2016-12-15 | Add a few missing reference tree test cases for valueless nodes and garbage ↵ | Daniil Baturin | |
after the value. | |||
2016-12-15 | T212: use a directory (normally $program_dir/validators) for external ↵ | Daniil Baturin | |
validators. What's bad is that right now way too many things are aware of the nature of external validators, and the validators dir (formerly validators hashtable) is passed around a lot. We'll need to think it through. | |||
2016-12-14 | T210: Add tests and test data for the vyconfd config loader. | Daniil Baturin | |
2016-12-13 | Fix a few instances of sloppy sequences (with non-unit expressions). | Daniil Baturin | |
2016-12-07 | Better test descriptions in vylist test, also add missing test. | Daniil Baturin | |
2015-09-23 | Add more tests for set and delete. | Daniil Baturin | |
2015-09-23 | Add delete function to Config_tree, add some tests for it. | Daniil Baturin | |
2015-09-21 | Update tests for the Vylist API change. | Daniil Baturin | |
2015-09-21 | Fix multilevel insert logic. | Daniil Baturin | |
2015-06-03 | Add get_data function, a shortcut for getting a data of node at specified path. | Daniil Baturin | |
Mainly for quickly getting data from a reference tree. | |||
2015-06-03 | Make tree insert position-aware. | Daniil Baturin | |
Make insertion at the beginning default behaviour. Implement insertion at the end. | |||
2015-05-11 | Add vytree insertion load test. | Daniil Baturin | |
2015-04-28 | Rename vyconf_tree_test to just vytree_test. | Daniil Baturin | |
2015-04-28 | Add Vylist.in_list for quick checks. | Daniil Baturin | |
2015-04-26 | Add config tree module. | Daniil Baturin | |
2015-04-26 | Add Vytree.exists for checking if path exists in a tree. | Daniil Baturin | |
2015-04-26 | Add path validation functionality. | Daniil Baturin | |
2015-04-26 | Make Value_checker.validate_any return true if constraint list is empty | Daniil Baturin | |
(i.e. no constraints means anything goes). | |||
2015-04-24 | Add validate_any to Value_checker for testing if a value passes at least one ↵ | Daniil Baturin | |
test. | |||
2015-04-24 | Trivial reference tree load test. | Daniil Baturin | |
2015-04-24 | Add test data for reference tree tests. | Daniil Baturin | |
2015-04-24 | Initial implementation of the reference tree module. | Daniil Baturin | |
2015-04-24 | Make find_xml_child return Xml.xml option rather than raise Not_found. | Daniil Baturin | |
2015-04-24 | Add Vylist.complement for calculating difference between two lists | Daniil Baturin | |
where one contains another (starting with the first element). | |||
2015-04-23 | Quick and dirty path pretty printer. | Daniil Baturin | |
2015-04-23 | Add get_existent_path for finding the part of a path that already exists in ↵ | Daniil Baturin | |
a tree. | |||
2015-04-23 | Make insert require all but the last elements in the path to exist in the tree. | Daniil Baturin | |
Making it linear time at cost of knowing the data for all path elements was probably a bad idea. | |||
2015-04-15 | Add value validator module. | Daniil Baturin | |
2015-04-14 | Abandon the idea of default data in Vytree.insert and use explicit data list | Daniil Baturin | |
for multilevel insert. | |||
2015-04-02 | Reverse the order of make/make_full arguments for easier partial application. | Daniil Baturin | |
2015-04-02 | Fix Vytree.update and its unit test. | Daniil Baturin | |
2015-04-01 | Add Vytree.update for updating the data attached to nodes. | Daniil Baturin | |
2015-03-29 | Missing test in the tree testsuite. | Daniil Baturin | |