Jan Venekamp
|
5781664d50
remove internal usage of redundant uci_ptr.last
|
1 rok temu |
Rafał Miłecki
|
5de3871898
cli: drop redundant uci_add_delta_path() call for -P
|
2 lat temu |
Rafał Miłecki
|
4b3db11797
cli: add option for changing save path
|
3 lat temu |
Hauke Mehrtens
|
52bbc99f69
Replace malloc() + memset() with calloc()
|
4 lat temu |
Rosen Penev
|
03dfbbe6fe
cli: fix format string clang-10 warning
|
4 lat temu |
Petr Štetiar
|
7736f497d2
cli: remove unused variable assigment
|
5 lat temu |
Petr Štetiar
|
f5dd5217d6
cli: fix realloc issue spotted by cppcheck
|
5 lat temu |
Felix Fietkau
|
c203c2f900
Revert "mandatory anonymous section identifier"
|
8 lat temu |
Felix Fietkau
|
2eb9c097e3
cli: remove now-defunct UCI_FLAG_EXPORT_NAME support
|
8 lat temu |
Felix Fietkau
|
d4e42a9081
cli: fix uci show output for anonymous sections (#21781)
|
8 lat temu |
Yousong Zhou
|
a6a884b368
cli: suppress printing error messages when -q is specified.
|
9 lat temu |
Hans Dedecker
|
f34c2de12f
uci: properly close input before exit
|
9 lat temu |
Yousong Zhou
|
54ca5ae347
cli: fix return value of package_cmd().
|
9 lat temu |
Yousong Zhou
|
3e26ec5716
cli: enhance "uci show" command on nonexistent sections and options.
|
9 lat temu |
Yousong Zhou
|
446e774d0e
cli: properly unload package before quit.
|
9 lat temu |
Yousong Zhou
|
ec302c635b
cli: fix printing option values occupying multiple lines.
|
10 lat temu |
Yousong Zhou
|
ecf0ed555e
Fix memory leaks found by using valgrind on test cases.
|
10 lat temu |
Luka Perkov
|
87be3798a9
style: free(NULL) is perfectly valid so we can drop some checks
|
11 lat temu |
Felix Fietkau
|
e4516d01a7
remove plugin support, it has been unused for a long time and should not be used for any new code
|
11 lat temu |
Luka Perkov
|
e81961bde8
extend delete command so it can delete list elemets using index
|
12 lat temu |
Luka Perkov
|
ec8cbbbe0f
add new command del_list
|
12 lat temu |
Felix Fietkau
|
af26658660
cli: return non-zero status on errors
|
12 lat temu |
Felix Fietkau
|
a8c6241437
cli: check against multiple -f invocations to avoid leaks (patch by Stanislav Fomichev)
|
13 lat temu |
Felix Fietkau
|
1d6095d5ac
add a few missing null pointer checks, and fix check vs dereference order in some cases (patch by Stanislav Fomichev)
|
13 lat temu |
Felix Fietkau
|
ef95525edc
check result of memory allocations (patch by Stanislav Fomichev)
|
13 lat temu |
Felix Fietkau
|
14bdf86899
cli: do not return 0 if the command was invalid
|
13 lat temu |
Felix Fietkau
|
c4402a9e59
uci_history -> uci_delta
|
14 lat temu |
Felix Fietkau
|
476db47724
add plugin support
|
15 lat temu |
Felix Fietkau
|
defdac4bf3
add section reordering to libuci and cli
|
15 lat temu |
Felix Fietkau
|
13ccfd04a2
increase argv in batch mode to silence a false gcc 4.4 warning
|
15 lat temu |