Serj Kalichev
|
d3119677da
Macros for shell
|
пре 6 година |
Serj Kalichev
|
f9aa3d7b43
Macros for clish_param_t
|
пре 6 година |
Serj Kalichev
|
995e0e0d8f
Escape backslashes within args
|
пре 7 година |
Serj Kalichev
|
caaf9c6402
Fix args string encoding. Escape quote
|
пре 7 година |
Serj Kalichev
|
3b893bbea6
Rename clish_pargv_status_t to clish_pargv_status_e
|
пре 9 година |
Serj Kalichev
|
b683ac259c
Rename clish_shell_state_t to clish_shell_state_e
|
пре 9 година |
Serj Kalichev
|
b279b70103
Fix possible null dereference
|
пре 10 година |
Serj Kalichev
|
c5797bb6bf
Check param for NULL before using
|
пре 10 година |
Serj Kalichev
|
76e1e9ad33
Check param before use
|
пре 10 година |
Serj Kalichev
|
8cda8cb62a
Refactoring for __cur_depth, __cur_pwd
|
пре 11 година |
Serj Kalichev
|
882e889219
Engine to parse INI-like strings
|
пре 11 година |
Serj Kalichev
|
357c1f223d
Use context API
|
пре 11 година |
Serj Kalichev
|
803f3d2e3c
Add default sym
|
пре 12 година |
Serj Kalichev
|
a5d0ea7d34
Add optional parameters with "order" field.
|
пре 13 година |
Serj Kalichev
|
29cf59f3d2
Optimize test in parse function. Fix issue #76
|
пре 13 година |
Serj Kalichev
|
1b63ef2bbe
Fix issue #76. Test tag inside switch. TODO: optimize
|
пре 13 година |
Serj Kalichev
|
8be419a217
Fix completion for nested optional parameters
|
пре 13 година |
Serj Kalichev
|
0003118c8c
Fix __intaractive var generation. The right way without fictive param.
|
пре 13 година |
Serj Kalichev
|
bf68961b67
Escaped regexp
|
пре 13 година |
Serj Kalichev
|
39b4383e7f
Move parse function from pargv to shell class
|
пре 13 година |
Serj Kalichev
|
fec195c244
Compilable version
|
пре 13 година |
Serj Kalichev
|
b3b7a58f4b
Stylistic fixes
|
пре 13 година |
Serj Kalichev
|
03f2fdd986
Interactive/non-interactive mode. Fix issue #41.
|
пре 14 година |
Serj Kalichev
|
a941ca386a
Fix file stack to get commands from. The shell can be inited without instream.
|
пре 14 година |
Serj Kalichev
|
e1d3d3592d
The internal variables is available for 'test' in the nested parameters.
|
пре 14 година |
Serj Kalichev
|
db72aa7235
Use viewid while 'test' conditions expanding.
|
пре 14 година |
Serj Kalichev
|
540fbb4113
Implement internal variables __cur_depth, __cur_pwd.
|
пре 14 година |
Serj Kalichev
|
08e2c340cb
Function to get full pwd string and current depth. CONFIG's depth in config file. Don't used yet.
|
пре 14 година |
Serj Kalichev
|
58f97e384e
Wrong offset for clish_pargv_new was fixed. The line don't contain the prompt.
|
пре 14 година |
Serj Kalichev
|
926cff3c17
Normalize define names. clish_ to CLISH_
|
пре 14 година |