Jan Venekamp
|
5781664d50
remove internal usage of redundant uci_ptr.last
|
1 year ago |
Petr Štetiar
|
654d7c33da
lua: add missing forward declaration
|
4 years ago |
Petr Štetiar
|
8dd50da20d
lua: fix error handling
|
5 years ago |
Petr Štetiar
|
39093f3b04
lua: fix memory leak in set method
|
5 years ago |
Petr Štetiar
|
19ceff323f
lua: fix memory leak in changes method
|
5 years ago |
Petr Štetiar
|
2b549cc050
lua: fix copy&paste in error string
|
5 years ago |
Petr Štetiar
|
af59f86a0d
iron out all extra compiler warnings
|
5 years ago |
Jo-Philipp Wich
|
5beb95da3d
lua: additionally return name when looking up sections
|
6 years ago |
Jo-Philipp Wich
|
ff33bb219b
lua: support extended section notation
|
6 years ago |
Dirk Feytons
|
0a1a2fcaf9
uci/lua: add explicit close() method
|
8 years ago |
Dirk Feytons
|
7daf94275c
uci/lua: add list_configs() function
|
8 years ago |
Karl Palsson
|
d899c696db
lua: remove pointless double check of autoload flag
|
9 years ago |
Jo-Philipp Wich
|
aaf9dff96d
lua: fix invocation of foreach() with nil type and implicit self
|
9 years ago |
Yousong Zhou
|
06df8218e7
lua: restore return value of require('uci') to module table.
|
9 years ago |
Felix Fietkau
|
b121dd1828
lua: add lua 5.2 compatibility changes
|
10 years ago |
Jo-Philipp Wich
|
9ef6964362
lua: emit a proper deletion when setting an existing list to a new list with only a single item
|
11 years ago |
Jérôme Poulin
|
1e1f503d8f
Add multiple free for each call to lookup_args()
|
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
|
12 years ago |
Jo-Philipp Wich
|
760c34c94a
lua: properly handle corner cases in changes
|
13 years ago |
Jo-Philipp Wich
|
aac40e9b49
lua: expose completely new lists in changes() as well
|
13 years ago |
Jo-Philipp Wich
|
359c5c4dcc
lua: simplify add_list changes handling, always create a table for LIST_ADD commands
|
13 years ago |
Jo-Philipp Wich
|
dc47efacd6
lua: expose add_list change items as table values
|
13 years ago |
Felix Fietkau
|
11b494045c
lua: always return after calling luaL_error (patch by Stanislav Fomichev)
|
13 years ago |
Felix Fietkau
|
825be5d0cd
fix one more unused-but-set variable
|
13 years ago |
Felix Fietkau
|
bb0e4cf862
fix more unused-but-set errors
|
13 years ago |
Felix Fietkau
|
7115636d1c
lua: use uci_foreach_element_safe in uci_lua_foreach() - patch by jow
|
14 years ago |
Felix Fietkau
|
796bfd3cf5
provide backwards compatibility in the lua module after the history -> delta change
|
14 years ago |
Felix Fietkau
|
c4402a9e59
uci_history -> uci_delta
|
14 years ago |
Felix Fietkau
|
f06a15df72
lua: use extended lookups by default
|
15 years ago |
Felix Fietkau
|
4baab2f807
lua: add uci.foreach() error handling patch by xMff
|
15 years ago |