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 лет назад |