remove smallest start from completed struct
[protos/libecoli.git] / lib / todo.txt
index 0597ecb..37a61d7 100644 (file)
@@ -9,7 +9,10 @@ X tk_re
 cleanup / rework
 ================
 
+- add_no_match
+- add_partial_match
 - check XXX in code
+- properly manage quotes in shlex
 X remove the _new() functions
 - iterate children nodes without chaining them
 - add a tk vector type: will be used in several nodes (ex: or, seq, ...)
@@ -31,10 +34,14 @@ X rename:
   X ec_completed_tk -> ec_completed
   X tk, gen_tk, token, ... -> node
   X tokens -> input_str / input_strvec ?
-- use is_err() or errno for funcs returning ptrs
+- use is_err() or errno for funcs returning ptrs, or use errno for all funcs
 - save node path in completion to fix help string
 - code coverage
 - try to hide structures
+- anything better than weakref?
+- add get_max_parse_len() for all relevant nodes
+- add ec_node_defaults.[ch] providing usual implementations of node methods
+- use vec for strvec
 
 dependencies
 ============
@@ -122,3 +129,21 @@ netconf example
 ===============
 
 - demonstration example that parses yang file and generate cli
+
+
+
+-----------------------
+
+readline:
+
+[tab]  list possible completions (matches only)
+[?]    list what is expected, example:
+
+"command [foo] toto|titi|<int>"
+
+help("command f") ->
+  foo     (help of foo)
+  toto    (help of toto)
+  titi    (help of titi)
+  <int>   (help of int)
+