summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2015-04-28Add Vylist.in_list for quick checks.Daniil Baturin
2015-04-26Add an option to keep child order, will be used for rendering.Daniil Baturin
2015-04-26Add config tree module.Daniil Baturin
2015-04-26Add Vytree.exists for checking if path exists in a tree.Daniil Baturin
2015-04-26Add path validation functionality.Daniil Baturin
2015-04-26Make Value_checker.validate_any return true if constraint list is emptyDaniil Baturin
(i.e. no constraints means anything goes).
2015-04-26Expose Vytree.find/find_or_fail.Daniil Baturin
2015-04-24Add validate_any to Value_checker for testing if a value passes at least one ↵Daniil Baturin
test.
2015-04-24Remove debug prints.Daniil Baturin
2015-04-24Initial implementation of the reference tree module.Daniil Baturin
2015-04-24Make find_xml_child return Xml.xml option rather than raise Not_found.Daniil Baturin
2015-04-24Add Vylist.complement for calculating difference between two listsDaniil Baturin
where one contains another (starting with the first element).
2015-04-23Quick and dirty path pretty printer.Daniil Baturin
2015-04-23Add get_existent_path for finding the part of a path that already exists in ↵Daniil Baturin
a tree.
2015-04-23Make 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-22Add 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-22Revert "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-17Make multi-value and single-value leaf nodes separate things.Daniil Baturin
2015-04-15Add value validator module.Daniil Baturin
2015-04-14Abandon the idea of default data in Vytree.insert and use explicit data listDaniil Baturin
for multilevel insert.
2015-04-13Don't multiply apostrophes without a strong need.Daniil Baturin
2015-04-13Expose node_type and position types.Daniil Baturin
2015-04-02Get rid of an unnecessary type alias.Daniil Baturin
2015-04-02Reverse the order of make/make_full arguments for easier partial application.Daniil Baturin
2015-04-02Remove the node type, it will be in the reference tree module.Daniil Baturin
2015-04-02Fix Vytree.update and its unit test.Daniil Baturin
2015-04-01Add Vytree.update for updating the data attached to nodes.Daniil Baturin
2015-03-28Abstract the "find a node and do things to it" away a little.Daniil Baturin
insert remains a special case, maybe it can fit it in it if we pass to functions instead of one (one for "found" and another one for "not found").
2015-03-28Add insert_before and insert_after to the Vylist signature.Daniil Baturin
2015-03-28Make Vylist.replace raise Not_found for nonexistent elements.Daniil Baturin
2015-03-28Add insert_before and insert_after functions to Vylist.Daniil Baturin
They will be used in node reordering.
2015-03-27Use cons instead of append for inserstions by default.Daniil Baturin
2015-03-27Add a type for differentiating nodes.Daniil Baturin
2015-03-04Remove unnecessary wrapping and get rid of extract_names.Daniil Baturin
2015-03-04Use an exception-throwing version of find instead of repeating the matching ↵Daniil Baturin
everywhere.
2015-03-04Fix formatting in vylist.Daniil Baturin
2015-03-04Fix typo in vylist.Daniil Baturin
2015-03-02Remove "child" from insert/delete etc. function names.Daniil Baturin
It's not like there's anything else we can insert or delete.
2015-03-01Missing get_child signature.Daniil Baturin
2015-03-01Move the source files back to src/Daniil Baturin
Splitting directories was a bit premature and unnecessary.
2015-03-01Add get_child and some tests for it.Daniil Baturin
2015-02-28Move vytree to its own subdir.Daniil Baturin
2015-02-28Use vylist module in vytree for fancy list operations.Daniil Baturin
2015-02-28Factor out list operations from vytree.Daniil Baturin
2015-02-28Fix the notion of duplicate child in insert_child.Daniil Baturin
Right now it doesn't compare data, but maybe it should.
2015-02-27Missing expression in delete_child.Daniil Baturin
This is embarassing.
2015-02-26Add delete_child function.Daniil Baturin
2015-02-24Add make_full to Vytree for constructing nodes from scratch.Daniil Baturin
2015-02-13Add vytree module signature.Daniil Baturin
2015-02-13Bring *_of_node functions back.Daniil Baturin