X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=todo.txt;h=acb7069c5fc16df5e286f81cd3721c0292c9d378;hb=92d03fc5d48b909e7c1fe5282ec47efcf769c599;hp=4e5d94fddb30bf7c22d4eaf47abe13937932f81d;hpb=90efcb0b905753a2eac864bc1a869781d7c31919;p=protos%2Flibecoli.git diff --git a/todo.txt b/todo.txt index 4e5d94f..acb7069 100644 --- a/todo.txt +++ b/todo.txt @@ -3,7 +3,7 @@ tk_cmd X evaluate expression tree in ec_tk_expr X cmd token -- example +X example X tk_re cleanup / rework @@ -24,7 +24,7 @@ X iterate children nodes without chaining them - better logs - check return values (-1 or NULL) + use errno - check missing static / const -- license: SPDX +X license: SPDX - check all completion nodes X split ecoli_tk.h - size_t or unsigned int? @@ -37,11 +37,11 @@ X rename: X save node path in completion to fix help string - code coverage - try to hide structures -- anything better than weakref? +X anything better than weakref? - add ec_node_defaults.[ch] providing usual implementations of node methods X use vec for strvec -- ELOOP in case of loop -- remove weakref? +/ ELOOP in case of loop +X remove weakref? - sh_lex to provide offsets in attributes - accessors for all structs @@ -61,15 +61,15 @@ yaml ==== X register nodes by name -- interface to add attributes: all nodes must be configurable through a - generic api - - attr string - - attr string list - - attr node - - attr node list - - attr int - -- yaml interface to create nodes +X interface to add attributes: all nodes must be configurable through a + generic api: + X attr string + X attr string list + X attr node + X attr node list + X attr int + +X yaml interface to create nodes - example examples @@ -83,6 +83,7 @@ examples - configuration file - mini shell: cd, ls, cat, stat - mini network console based on ip +- dialog-like for use in shell doc === @@ -105,6 +106,7 @@ build framework - add make help - add make config - -fvisibility= +- use meson tests ===== @@ -115,12 +117,14 @@ new nodes ========= - regexp -- node which always matches -- file + partial completion +X node which always matches +X file + partial completion - ether, ip, network -- fusion node: need to match several children, same for completion +- fusion node: need to match several children, same for completion? - float - not +- reparse: parse a tree with received strvec, then another tree + with strvec generated from first tree encoding ======== @@ -132,7 +136,7 @@ encoding netconf example =============== -- demonstration example that parses yang file and generate cli +/ demonstration example that parses yang file and generate cli @@ -419,3 +423,17 @@ c --------------- +about split in several libraries + +There are several options: + +1/ one library, config options to select libyaml, libedit + - need to manage dependencies in build system + +2/ one library for ecoli-core, one for ecoli-yaml, one for + ecoli-edit + - extra complexity + +3/ one library with core + yaml + edit + dependency is managed at runtime +