summaryrefslogtreecommitdiff
Commit message (Expand)AuthorAgeFilesLines
* _yaml: Use __cinit__ and __new__ to create node more effectivelybschubert/node-api-privateBenjamin Schubert2019-07-041-27/+34
* _yaml: Move 'value' of Node in each sub nodeBenjamin Schubert2019-07-043-39/+71
* _yaml: Mark attributes on 'Node' as private (only c-accessible)Benjamin Schubert2019-07-042-4/+6
* Merge branch 'bschubert/node-no-isnode' into 'bschubert/new-node-api'Benjamin Schubert2019-07-041-20/+0
|\
| * _yaml: Remove 'is_node', which is not used in the codebase anymoreBenjamin Schubert2019-07-041-20/+0
|/
* Merge branch 'bschubert/node-api-novalidate' into 'bschubert/new-node-api'Benjamin Schubert2019-07-0430-103/+71
|\
| * _yaml: Remove 'node_validate' and replace by 'MappingNode.validate_keys'bschubert/node-api-novalidateBenjamin Schubert2019-07-0430-103/+71
|/
* Merge branch 'bschubert/rework-node-creations' into 'bschubert/new-node-api'Benjamin Schubert2019-07-0410-147/+74
|\
| * _yaml: Create 'from_dict' on Node and remove node creation methodsbschubert/rework-node-creationsBenjamin Schubert2019-07-037-32/+16
| * _yaml: Remove 'node_extend_list' and add 'SequenceNode.append'Benjamin Schubert2019-07-034-80/+16
| * _yaml: Refer new synthetic nodes to their parentsBenjamin Schubert2019-07-031-19/+22
| * _yaml: Add a 'from_dict' on Node to create new nodes from dictsBenjamin Schubert2019-07-034-18/+22
|/
* Merge branch 'bschubert/new-node-compose' into 'bschubert/new-node-api'Benjamin Schubert2019-07-0310-232/+225
|\
| * _yaml: Move 'node_composite' to a method on 'MappingNode'bschubert/new-node-composeBenjamin Schubert2019-07-0310-68/+64
| * _yaml: move 'composite_dict' to 'MappingNode' as '_composite'Benjamin Schubert2019-07-032-18/+14
| * _yaml: Extract parts of 'composite_dict' to each type of 'Node'Benjamin Schubert2019-07-032-49/+62
| * _yaml: Move actual composition logic to MappingNodeBenjamin Schubert2019-07-032-67/+51
| * _yaml: move 'is_composite_list' as a Node memberBenjamin Schubert2019-07-032-44/+48
| * tests/yaml: Stop using 'composite_dict' and use 'composite' insteadBenjamin Schubert2019-07-032-8/+8
|/
* Merge branch 'bschubert/node-api-noassertions' into 'bschubert/new-node-api'Benjamin Schubert2019-07-036-58/+47
|\
| * _yaml: Move 'node_final_assertions' to 'Node._assert_fully_composited'bschubert/node-api-noassertionsBenjamin Schubert2019-07-026-58/+47
|/
* Merge branch 'bschubert/node-api-nosanitize' into 'bschubert/new-node-api'Benjamin Schubert2019-07-0280-440/+375
|\
| * _yaml: remove node_sanitizebschubert/node-api-nosanitizeBenjamin Schubert2019-07-017-71/+20
| * _yaml: Decomission 'dump()'. 'roundtrip_dump' is an equivalent function nowBenjamin Schubert2019-07-016-22/+7
| * tests: Change all calls to _yaml.dump to _yaml.rountrip_dumpBenjamin Schubert2019-07-0166-311/+292
| * _yaml: Automatically represent Yaml nodes into yamlBenjamin Schubert2019-07-011-2/+16
| * _yaml: Stop stringifying manually in roundtrip_dumpBenjamin Schubert2019-07-011-27/+14
| * _cachekey: Remove the 'node_sanitization' done before the json stringBenjamin Schubert2019-07-017-7/+26
|/
* _yaml: Remove 'node_find_target' and replace by 'MappingNode.find'Benjamin Schubert2019-07-014-68/+70
* _yaml: Remove 'key' from node_find_targetBenjamin Schubert2019-07-013-12/+7
* _yaml: Remove 'node_set'. Now use __setitem__Benjamin Schubert2019-07-0115-98/+98
* _yaml: Remove 'node_items' and add 'MappingNode.items()'Benjamin Schubert2019-07-0110-86/+32
* _yaml: Introduce 'MappingNode.values()'Benjamin Schubert2019-07-015-9/+17
* _yaml: Remove 'node_keys' and add 'MappingNode.keys' to replace itBenjamin Schubert2019-07-017-29/+15
* _yaml: Remove 'node_del' and support `del mapping[key]`Benjamin Schubert2019-07-018-28/+20
* _yaml: Remove 'node_copy' and add 'Node.copy()'Benjamin Schubert2019-07-017-85/+51
* _yaml: Add a 'get_node' on Mapping, when return type can be of multiple typesBenjamin Schubert2019-07-013-12/+27
* _yaml: Never create base 'Node' directlyBenjamin Schubert2019-07-012-5/+8
* _yaml: Remove 'node_get' and migrate all remaining calls to new APIBenjamin Schubert2019-07-0119-167/+67
* doc/bst2html: Remove usage of 'node_get' and use new APIBenjamin Schubert2019-07-011-13/+11
* element: Remove `node_get_member` and all references to itBenjamin Schubert2019-07-014-47/+3
* plugin: remove 'node_get_list_element'Benjamin Schubert2019-07-011-37/+1
* element: remove 'node_subst_list_element'Benjamin Schubert2019-07-012-43/+1
* tests: remove 'node_get_yaml_provenance()' helper and replace with the new APIBenjamin Schubert2019-07-016-62/+19
* _yaml: Introduce 'get_sequence()' and 'sequence_at()'/'mapping_at()'Benjamin Schubert2019-07-0119-70/+123
* _yaml: Remove use of expected_type=None in 'node_get()'Benjamin Schubert2019-07-013-13/+11
* _yaml: Add 'as_int()' on ScalarNodeBenjamin Schubert2019-07-018-15/+33
* _yaml: Add 'as_bool()' and 'is_none()' to ScalarNodeBenjamin Schubert2019-07-0116-34/+58
* _yaml: Add 'as_str()' on ScalarNode and 'get_scalar()' on MappingNodeBenjamin Schubert2019-07-0146-157/+189
* _yaml: add 'get_mapping()' to MappingNodeBenjamin Schubert2019-07-0119-77/+101