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
|
před 16 roky |
Felix Fietkau
|
4fb6a564b8
clean up uci_set
|
před 16 roky |
Felix Fietkau
|
b485972f3a
more cleanup
|
před 16 roky |
Felix Fietkau
|
563f8dd6f0
code cleanup, some api changes for new uci_ptr struct
|
před 16 roky |
Felix Fietkau
|
28d2cc2add
fix list parsing with anonymous sections
|
před 16 roky |
Felix Fietkau
|
3bff697cca
add list support
|
před 16 roky |
Felix Fietkau
|
cac9b1d765
add initial work for option datatype abstraction
|
před 16 roky |
Felix Fietkau
|
a05278ae05
fix some parser glitches
|
před 16 roky |
Felix Fietkau
|
8a06b55c63
some more input validation
|
před 16 roky |
Felix Fietkau
|
056acf9447
replace the uci_escape function with something cleaner, fixes some quoted string escaping issues
|
před 16 roky |
Felix Fietkau
|
6c020def58
allow more types of characters for uci package names
|
před 16 roky |
Felix Fietkau
|
51b60a322a
rename ctx->errno to ctx->err to avoid conflicts with a #define errno in the system headers
|
před 16 roky |
Felix Fietkau
|
d4bab37948
parser: fix precedence of quoting over ; as command terminator, thx to netprince for spotting the bug
|
před 16 roky |
Felix Fietkau
|
1c7d6f7766
fix a bug that prevented modifying empty config files
|
před 16 roky |
Felix Fietkau
|
2a3ffb0a3f
improve error handling
|
před 16 roky |
Felix Fietkau
|
53726f5dd5
add uci_set_backend()
|
před 16 roky |
Felix Fietkau
|
c90d9cb8ba
cleanup
|
před 16 roky |
Felix Fietkau
|
7ca5c675d7
fix uci_set
|
před 16 roky |
Felix Fietkau
|
80e2e58f4e
add abstraction for listing config files as well
|
před 16 roky |
Felix Fietkau
|
85125c59e6
some backend abstraction
|
před 16 roky |
Felix Fietkau
|
c57e7c3943
fold uci_file_cleanup into uci_cleanup
|
před 16 roky |
Felix Fietkau
|
9f540f2106
reorganize some code, add an extra command for adding unnamed sections
|
před 16 roky |
Felix Fietkau
|
5620bfaa14
extend uci_set so that it can store the resulting element in a variable
|
před 16 roky |
Felix Fietkau
|
1ac34884c1
export a function for parsing shell-style arguments in libuci
|
před 16 roky |
Felix Fietkau
|
907e27f801
only overwrite config files at commit time when actual changes were made
|
před 16 roky |
Felix Fietkau
|
e828bcf07c
improve validation, accept more characters in the section type
|
před 16 roky |
Felix Fietkau
|
ad92cae5b9
make the value of an option optional (found by lubek)
|
před 16 roky |
Felix Fietkau
|
65e2c3559b
implement uci revert
|
před 16 roky |
Felix Fietkau
|
818f7b8433
move history code into history.c
|
před 16 roky |
Felix Fietkau
|
f2520c27cd
fix accidental lowercasing of license headers
|
před 16 roky |