summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2025-07-06T7499: set appropriate permissions on write cacheJohn Estabrook
2025-07-06T7499: remove internal lockingJohn Estabrook
Read/write of internal cache always occurs under an external lock; remove internal lock.
2025-07-06T7499: add non-/destructive configtree mergeJohn Estabrook
2025-05-13deps: T7450: use PCRE2 instead of the original, outdated PCREDaniil Baturin
2025-04-11T7321: fix bug in split_path which missed tag valuesJohn Estabrook
2025-04-11T7321: add utility needed for validate_tree in vyconfd load configJohn Estabrook
2025-04-11T7321: add save config utilityJohn Estabrook
2025-04-11T7321: move load_config util from vyconf for general useJohn Estabrook
2025-04-02T7292: add utility functions to set tag/leaf data on newly defined pathJohn Estabrook
The vyconfd set operation requires configuration of tag and leaf fields from reference_tree data.
2025-03-30T7272: expose config_tree cloneJohn Estabrook
2025-03-18T7246: drop lexer rule ignoring lines beginning with '//'John Estabrook
The lexer is unnecessarily aggressive in disallowing strings following '//', originally added to ignore version string information. This has the side effect of ignoring legitimate values. Since the version string is now extracted before parsing, this restriction can be dropped.
2025-02-03T6946: add function get_tagged_delete_tree to restore tag valuesJohn Estabrook
The config diff function produces both del(ete) and sub(tract) trees. The delete tree contains the minimal path difference between compared trees, for example, between the active and proposed configs; this is the information needed to execute removal of a path. The subtract tree contains the full paths in active that are not in proposed; this retains necessary information in certain cases. In case all tag values of a tag node are removed, the delete tree contains only the tag node itself, however for proper script execution of a deleted tag node, one will need the removed tag node values: restore this information from the subtract tree.
2025-01-30T6946: add utilities for commit algorithmJohn Estabrook
2025-01-15T7046: add merge_reference_tree_cache and cache i/oJohn Estabrook
To support addon packages with separate interface-definitions dirs, refactor reference_tree_to_json.
2025-01-15T7046: add proper locks and checks on internal repJohn Estabrook
2025-01-15T7046: use generalized tree_union for config_diff nosetestJohn Estabrook
2025-01-15T7046: extend tree_union to reference_tree for addon supportJohn Estabrook
2025-01-13T6342: formating and delete trailing whitespacerebortg
2025-01-08T6342: add parsing of docs elementrebortg
2024-10-25T6718: inject environment variables required by certain validatorsJohn Estabrook
2024-10-24T6718: catch bad_validator errorJohn Estabrook
2024-10-24T6718: format error outputJohn Estabrook
2024-10-24T6718: fix typo in quoting argJohn Estabrook
2024-10-24T6718: validate_path returns unit instead of (path, value)John Estabrook
Splitting of path arg into (path, value), as originally returned by validate_path, is now handled by a utility function. validate_path returns unit on success and raises error with output on failure.
2024-10-24T6718: update value_checker to return validator output on errorJohn Estabrook
2024-10-24T6718: util list_of_path: config path str -> config path listJohn Estabrook
Allow for single-quoted values containing whitespace, as used by vyconf vycli for option --path.
2024-10-24T6718: add function refpath: config path -> reference_tree pathJohn Estabrook
2024-10-24T6718: add optional arg to write internal rep during buildJohn Estabrook
2024-10-24T6718: add functor for internal repJohn Estabrook
2024-10-24T6718: minor changes to support vyconf testsJohn Estabrook
2024-10-24T6718: move validate_path from vyconfJohn Estabrook
2024-10-24T6718: add simplified render_at_levelJohn Estabrook
2024-10-24T5528: add support for cstore_diff functionJohn Estabrook
2024-09-27renderer: T6742: force leaf=true in all functions that manipulate node valuesDaniil Baturin
2024-09-27renderer: T6742: set leaf=true in replace_valueJohn Estabrook
2024-09-26renderer: T6742: make childless non-leaf nodes from parsed configs render ↵Daniil Baturin
correctly and add functions for making nodes leaf or non-leaf to ensure correct rendering of manually created treess
2024-05-26T6404: add constraintGroup element to reference treeJohn Estabrook
2024-03-29T6180: add ability to apply mask to config treeJohn Estabrook
2024-03-21T6149: update node_data if necessary when merging nodesJohn Estabrook
2024-03-12T6111: Fix modification of String.escaped to leave UTF-8 bytes unescapedJohn Estabrook
The existing fix still passed the string as a whole to Bytes.escaped (as does the standard library function): the exemption of chars with high bit set needs to occur in Bytes.escaped as well.
2023-08-22T5500: render_tag_node_child does not need to consider valuesJohn Estabrook
Configtree allows for a tag node child to have values, however it is not possible to define such an object in the XML interface-definitions, hence that case can be ignored in render_tag_node_child.
2023-08-22T5500: remove empty braces after valueless nodeJohn Estabrook
2023-07-27T5317: remove mutable referencesJohn Estabrook
Redesign and implement version without mutable refs.
2023-07-27T5316: drop trim functionsJohn Estabrook
2023-07-27T5316: use a single pass of diff function instead of trim functionJohn Estabrook
2023-07-25T5194: filter on files of extension .xmlJohn Estabrook
2023-07-20T5385: catch correct errors in Xml_light Xml.parse_fileJohn Estabrook
2023-05-10T5194: drop keep_order fieldJohn Estabrook
This is not applicable under the current node sorting; drop for now.
2023-05-10T5194: add load and render function for bindingJohn Estabrook
2023-05-10T5194: ignore syntaxVersion elementsJohn Estabrook
syntaxVersion elements are post-processed in the Python reference dict