Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-05-16 | Merge pull request #17 from jestabro/reference-tree | John Estabrook | |
T5194: add support for reference tree | |||
2023-05-10 | T5194: drop keep_order field | John Estabrook | |
This is not applicable under the current node sorting; drop for now. | |||
2023-05-10 | T5194: add load and render function for binding | John Estabrook | |
2023-05-10 | T5194: ignore syntaxVersion elements | John Estabrook | |
syntaxVersion elements are post-processed in the Python reference dict | |||
2023-05-10 | T5194: override json serialization for node_type variant | John Estabrook | |
2023-05-10 | T5194: add default_value | John Estabrook | |
2023-05-10 | T5194: add completion_help | John Estabrook | |
2023-05-10 | T5194: allow for empty element string and child order in valueHelp | John Estabrook | |
One needs to handle the pathological cases of an empty element string and arbitrary order of child elements. Neither are prohibited, and the former has a use case (for now). | |||
2023-05-10 | T5194: add render_json | John Estabrook | |
2023-05-10 | T5194: insert_maybe as node names exist in multiple interface-def files | John Estabrook | |
2023-05-10 | T5194: add priority element | John Estabrook | |
2023-05-10 | T5194: use empty string as name of root to avoid conflict | John Estabrook | |
cf. 4df07f8e for details | |||
2023-05-10 | T5194: import load_interface_definitions from vyconf | John Estabrook | |
2023-05-10 | T5194: remove unused variables and flag | John Estabrook | |
2023-05-10 | T5194: add util functions for reference tree | John Estabrook | |
2023-05-10 | T5194: update dependencies | John Estabrook | |
2023-05-10 | T5194: import reference_tree from vyconf | John Estabrook | |
2023-04-26 | Merge pull request #16 from jestabro/compare-bug | Daniil Baturin | |
T5185: drop assumption in case of a sequence of 0's | |||
2023-04-26 | T5185: drop assumption in case of a sequence of 0's | John Estabrook | |
In the original implementation, it was mistakenly assumed that strings of digits of differing lengths would not have equal value, but strings of 0's are a counterexample. | |||
2023-03-28 | Merge pull request #15 from jestabro/identity | John Estabrook | |
T5089: support for unit test of config_diff | |||
2023-03-23 | T5089: add optional arg to order values on render_config | John Estabrook | |
For unit tests of identity: tree = union of subtrees, one needs a consistent ordering of values. Add an optional argument to order values in render_config. | |||
2023-03-23 | T5089: order nodes on configtree parsing from string | John Estabrook | |
This is a conservative application of lexical_numeric ordering for configtree: order nodes on instantiation in 'from_string' | |||
2023-03-23 | T5089: add tree_union for use in unit test. | John Estabrook | |
2023-03-23 | T4235: drop unneeded graft function | John Estabrook | |
This was a general use function that is uneeded in this simple case. | |||
2023-03-23 | T5087: clone with lexical insertion of nodes and ordering of values | John Estabrook | |
2023-03-23 | T5087: add optional arg for lexical insertion of nodes | John Estabrook | |
2023-03-23 | Merge pull request #14 from jestabro/lexical_numeric | John Estabrook | |
T5088: add lexical_numeric_compare function | |||
2023-03-14 | T5088: add dune support for lexical_numeric_compare | John Estabrook | |
2023-03-14 | T5088: add lexical_numeric_compare function | John Estabrook | |
2023-02-11 | Merge pull request #13 from jestabro/udiff | John Estabrook | |
T4991: add function show_diff for unified diff of configs | |||
2023-02-10 | T4991: add function show_diff for unified diff of configs | John Estabrook | |
2023-01-27 | Merge pull request #12 from jestabro/insert_error | Daniil Baturin | |
T4961: add name of offending node in exception Insert_error of string | |||
2023-01-27 | T4961: add name of offending node in exception Insert_error of string | John Estabrook | |
2022-09-01 | Revert "Merge pull request #11 from jestabro/tag-node-name-whitespace" | John Estabrook | |
This reverts commit 97d11bf2bda65c7001ad687fd088a896161fdb0d, reversing changes made to 40f7d2af65a2358bb37661121f1752abf4f099fc. | |||
2022-08-19 | Merge pull request #11 from jestabro/tag-node-name-whitespace | Daniil Baturin | |
T4628: render tag node names containing whitespace in quotes | |||
2022-08-19 | T4628: render tag node names containing whitespace in quotes | John Estabrook | |
2022-06-29 | Merge pull request #9 from jestabro/tree-root-name | John Estabrook | |
T4491: use empty string for name of config_tree root node | |||
2022-06-28 | T4491: use empty string for name of config_tree root node | John Estabrook | |
The practice of using "root" for the internal name of the root node collides with actual nodes named "root", due to a utility function that checks 'if root' by name. Use empty string as name of root node, as no actual node will match. | |||
2022-04-29 | Merge pull request #8 from jestabro/comments-on-delete-commands | John Estabrook | |
T4235: add comments on producing delete commands | |||
2022-04-27 | T4235: add comments on producing delete commands | John Estabrook | |
2022-04-27 | Merge pull request #6 from dmbaturin/master | John Estabrook | |
T4334: make the lexer reentrant by passing state around instead of using a shared mutable reference | |||
2022-04-21 | T4334: make the lexer reentrant by passing state around | Daniil Baturin | |
instead of using a shared mutable reference | |||
2022-03-01 | Merge pull request #4 from jestabro/delete-tree | Daniil Baturin | |
T4235: distinguish between sub(-tract) tree and delete tree | |||
2022-03-01 | Merge pull request #3 from jestabro/subtree | Daniil Baturin | |
T4235: simplify return value of diff_tree | |||
2022-02-28 | T4235: add function 'trim_tree' to produce tree for delete commands | John Estabrook | |
2022-02-25 | T4235: change type/variable names for clarity; add is_empty for list | John Estabrook | |
2022-02-25 | T4235: keep full paths in subtract tree | John Estabrook | |
In the intial implementation, the delete tree only kept the first node of a path not present in the RHS of the comparison; this was done as a convenience for generating 'trimmed' delete commands for the CLI. However, this loses needed information, and breaks the symmetry of results: LHS, RHS -> del, inter, add RHS, LHS -> add, inter, del Keep full paths in delete tree and rename trees.del to trees.sub(-tract). A separate function 'trim_tree' will be provided to produce a CLI-appopriate delete tree and commands. | |||
2022-02-23 | T4235: add utility function get_subtree | John Estabrook | |
2022-02-23 | T4235: function diff_tree now returns single tree containing diffs | John Estabrook | |
2022-02-09 | Merge pull request #2 from jestabro/config-diff | Daniil Baturin | |
T4235: add config tree diff algorithm |