Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-12-08 | Fix build for ocaml 4.03 | Daniil Baturin | |
Yojson now uses the Result.result type for its decoding functions instead of polymorphic variants. | |||
2016-12-07 | Initial implementation of the message decoder/encoder. | Daniil Baturin | |
2015-10-01 | Some error handling in config loading. | Daniil Baturin | |
2015-09-30 | Add get_values method to the message decoder. | Daniil Baturin | |
2015-09-29 | Add message decoder implementation. | Daniil Baturin | |
Restrict the Message module interface to the message types and decoder function. | |||
2015-09-28 | Remove the value field from message types to account for valueless nodes and ↵ | Daniil Baturin | |
the like. | |||
2015-09-28 | Add types and derivers for the message decoder. | Daniil Baturin | |
2015-09-25 | Move the node_type type to Reference_tree | Daniil Baturin | |
It shall not be used by Config_tree, so there is no reason to keep it there. | |||
2015-09-24 | Add a module for various defaults. | Daniil Baturin | |
2015-09-24 | Add minimal vyconfd config loader. | Daniil Baturin | |
2015-09-23 | Expose set and delete in session module signature. | Daniil Baturin | |
2015-09-23 | Add delete function to session. | Daniil Baturin | |
2015-09-23 | Factor out common session data into a world type. | Daniil Baturin | |
2015-09-23 | Add session module stub. | Daniil Baturin | |
2015-09-23 | Make Config_tree.set aware of valueless nodes. | Daniil Baturin | |
2015-09-23 | Add delete function to Config_tree, add some tests for it. | Daniil Baturin | |
2015-09-22 | Fix formatting in Vylist. | Daniil Baturin | |
2015-09-21 | Fix multilevel insert logic in Vytree. | Daniil Baturin | |
2015-09-21 | Fix multilevel insert logic. | Daniil Baturin | |
2015-09-21 | Make Vylist.complement return a list rather than list option. | Daniil Baturin | |
Situations when two lists are the same and when they don't have a common part become indistinguishable, but that's rarely needed. | |||
2015-09-21 | Remove metadata from the config tree data, rendering and the like requires | Daniil Baturin | |
input from the reference tree anyway. Make value modification functions behaviour multi-value node aware. | |||
2015-09-21 | Expose multilevel insert in the Vytree module signature. | Daniil Baturin | |
2015-09-21 | Add multilevel insert that uses default data. | Daniil Baturin | |
That was not so much of a bad idea after all. | |||
2015-08-28 | Add missing cases to insert_immediate. | Daniil Baturin | |
2015-08-28 | Add is_multi function to the reference tree module. | Daniil Baturin | |
This is important for decision is set should add or replace a value. | |||
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-04-28 | Add Vylist.in_list for quick checks. | Daniil Baturin | |
2015-04-26 | Add an option to keep child order, will be used for rendering. | 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-26 | Expose Vytree.find/find_or_fail. | Daniil Baturin | |
2015-04-24 | Add validate_any to Value_checker for testing if a value passes at least one ↵ | Daniil Baturin | |
test. | |||
2015-04-24 | Remove debug prints. | 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-22 | Add a function for looking up xml-light tag children. | Daniil Baturin | |
It now lives in a Util, a module that implements the adopter design pattern. | |||
2015-04-22 | Revert "Make multi-value and single-value leaf nodes separate things." | Daniil Baturin | |
Looks like it was a bad idea. This reverts commit 7c02dc2a949798a3fea3dbcce5a63888a3f10f51. | |||
2015-04-17 | Make multi-value and single-value leaf nodes separate things. | Daniil Baturin | |
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-13 | Don't multiply apostrophes without a strong need. | Daniil Baturin | |
2015-04-13 | Expose node_type and position types. | Daniil Baturin | |
2015-04-02 | Get rid of an unnecessary type alias. | Daniil Baturin | |