Hans Dedecker
|
021fd65643
file: remove unnecessary uci_fixup_section calls
|
6 years ago |
Felix Fietkau
|
c203c2f900
Revert "mandatory anonymous section identifier"
|
7 years ago |
Antonio Paunovic
|
df72af4740
mandatory anonymous section identifier
|
7 years ago |
Yousong Zhou
|
790d30606d
Add a few notes on the return value of uci_lookup_ptr().
|
9 years ago |
Yousong Zhou
|
ecf0ed555e
Fix memory leaks found by using valgrind on test cases.
|
9 years ago |
Luka Perkov
|
f506323c30
style: fix whitespace errors
|
10 years ago |
Luka Perkov
|
87be3798a9
style: free(NULL) is perfectly valid so we can drop some checks
|
10 years ago |
Felix Fietkau
|
2fcc6d756f
uci_delete: check ptr->o and its type before checking ptr->value
|
10 years ago |
Felix Fietkau
|
c9c9d5cb08
uci: fix excessive reorder delta entry duplication
|
11 years ago |
Krzysztof Kuźnik
|
b42ee8f218
uci: Fix uci_delete() when ptr->value is empty string
|
11 years ago |
Felix Fietkau
|
e4516d01a7
remove plugin support, it has been unused for a long time and should not be used for any new code
|
11 years ago |
Luka Perkov
|
e81961bde8
extend delete command so it can delete list elemets using index
|
11 years ago |
Luka Perkov
|
ec8cbbbe0f
add new command del_list
|
11 years ago |
Felix Fietkau
|
1d6095d5ac
add a few missing null pointer checks, and fix check vs dereference order in some cases (patch by Stanislav Fomichev)
|
12 years ago |
Felix Fietkau
|
4a7d8053ae
fix lgpl license headers
|
12 years ago |
Felix Fietkau
|
a5eb996e0f
fix uci_list_set_pos to reorder sections properly, even when moving a section to the last position
|
13 years ago |
Felix Fietkau
|
fcb93b2ca7
add convenience functions for looking up packages/sections/options
|
13 years ago |
Felix Fietkau
|
862bdfa26c
add support for partial lookups - skip lookup for filled-in sections or packages
|
13 years ago |
Felix Fietkau
|
270b8d7533
make uci_lookup_ptr() use the extended flag properly again
|
13 years ago |
Felix Fietkau
|
b033290657
split off and compile delta.c separately
|
13 years ago |
Felix Fietkau
|
c4402a9e59
uci_history -> uci_delta
|
13 years ago |
Felix Fietkau
|
853f586e48
split off and compile util.c separately
|
13 years ago |
Felix Fietkau
|
6ce771b109
split off and compile file.c separately
|
13 years ago |
Felix Fietkau
|
2ae9f4d72d
do not fail when attempting to set a nonexistant option to an empty value
|
14 years ago |
Felix Fietkau
|
83300a90f5
when running uci set with an empty value, fall back to uci remove
|
14 years ago |
Felix Fietkau
|
defdac4bf3
add section reordering to libuci and cli
|
15 years ago |
Felix Fietkau
|
00d91c8ca4
make the uci_ptr struct reusable after a call to uci_delete()
|
15 years ago |
Felix Fietkau
|
64ef6b15fe
fix uci rename for anonymous sections
|
15 years ago |
Felix Fietkau
|
1a388b01f8
overhaul package and section type validation - makes it easier to read and fixes some bugs in uci changes and uci show without explicit package references
|
15 years ago |
Felix Fietkau
|
537690838e
fix segmentation fault / endless loop on history loads
|
15 years ago |