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