aboutsummaryrefslogtreecommitdiffstats
path: root/package/uci
Commit message (Collapse)AuthorAgeFilesLines
* [package] uci: use a delete-safe iterator in the Lua :foreach() functionJo-Philipp Wich2010-11-012-1/+21
| | | | | | | | The following test case exposed a NULL pointer dereference in uci_lua_foreach(): lua -luci -e 'x=uci.cursor(); x:foreach("firewall", "forwarding", function(s) x:delete("firewall", s[".name"]) end)' git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23757 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uci: update to 2010-09-28Felix Fietkau2010-10-142-6/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23430 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files, uci: properly revert list state on config_loadJo-Philipp Wich2010-08-142-1/+7
| | | | | | | | This fixes a bug where lists end up with duplicate values if config_load was invoked multiple times. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22629 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] uci: Install ucimap.h into the staging dirLars-Peter Clausen2010-08-081-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22536 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] uci: bump pkg release after r21489-r21494 (#7312)Jo-Philipp Wich2010-05-211-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21529 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] uci: revert pkg rev to 5 until updated sources are available (#7351)Jo-Philipp Wich2010-05-201-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21516 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] uci: bump package revisionJo-Philipp Wich2010-05-171-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21494 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] uci: add uci_get() and uci_get_state() wrappers to shell api (#7312)Jo-Philipp Wich2010-05-171-3/+21
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21489 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [uci] bump to the lastest git commitTravis Kemen2010-03-233-438/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20378 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uci: allow shell scripts to override the config dir (patch by cshore)Felix Fietkau2010-01-271-11/+11
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19351 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uci: only use $(FPIC) on library parts, saves a few hundred bytesFelix Fietkau2009-10-201-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18092 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix a typo in apply_config -tFelix Fietkau2009-08-041-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17120 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ucitrigger depends on luaFelix Fietkau2009-07-111-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16768 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ucitrigger: add options to force enable/disable specific triggersFelix Fietkau2009-07-062-4/+62
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16718 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add ucitrigger: a uci plugin, command line tool and lua interface for ↵Felix Fietkau2009-06-086-1/+1102
| | | | | | automatically applying uci config changes git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16375 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uci: increase argv size in batch mode to silence a false gcc 4.4 compiler ↵Felix Fietkau2009-04-301-0/+11
| | | | | | warning git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15521 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uci: upgrade to 0.7.5 - fixes a runtime error with 2.6.29 if flock() does ↵Felix Fietkau2009-04-231-2/+2
| | | | | | not work git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15356 3c298f89-4303-0410-b956-a3cf2f4a3e73
* get rid of $Id$ - it has never helped us and it has broken too many patches ;)Felix Fietkau2009-04-171-1/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15242 3c298f89-4303-0410-b956-a3cf2f4a3e73
* upgrade to uci 0.7.4 - fixes a file locking bug, thx CyrusFelix Fietkau2009-03-241-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15021 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] replace some -I & -L flags with $(TARGET_CPPFLAGS) & ↵Nicolas Thill2009-02-241-1/+1
| | | | | | $(TARGET_LDFLAGS) when appropriate git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14651 3c298f89-4303-0410-b956-a3cf2f4a3e73
* upgrade to uci 0.7.3 - fixes a small input validation bugFelix Fietkau2009-01-201-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14115 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bump uci to 0.7.2 - adds uci.rename() and fixes uci.set() with a list argumentFelix Fietkau2009-01-201-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14111 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uci: upgrade to 0.7.1, fixes uci rename for unnamed sectionsFelix Fietkau2008-12-271-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13751 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uci: work around a gcc bug which causes a bogus compiler warningFelix Fietkau2008-12-241-0/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13739 3c298f89-4303-0410-b956-a3cf2f4a3e73
* upgrade uci to 0.7.0 - adds ucimap and fixes #4236Felix Fietkau2008-12-231-3/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13732 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uci: upgrade to 0.6.4 - adds extended syntax to the cli and fixes a lua ↵Felix Fietkau2008-11-141-2/+2
| | | | | | binding problem git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13203 3c298f89-4303-0410-b956-a3cf2f4a3e73
* upgrade to uci 0.6.2 (bugfixes)Felix Fietkau2008-09-041-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12535 3c298f89-4303-0410-b956-a3cf2f4a3e73
* upgrade to uci 0.6.1 - lots of cli and lua binding fixesFelix Fietkau2008-08-271-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12413 3c298f89-4303-0410-b956-a3cf2f4a3e73
* upgrade uci to 0.6.0 - many bugfixes and an API cleanupFelix Fietkau2008-08-231-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12373 3c298f89-4303-0410-b956-a3cf2f4a3e73
* upgrade to uci 0.5.0, adds list handling supportFelix Fietkau2008-08-201-3/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12353 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix uci_set_state for empty valuesFelix Fietkau2008-08-201-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12345 3c298f89-4303-0410-b956-a3cf2f4a3e73
* use $(FPIC) in a few places where it mattersFelix Fietkau2008-08-061-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12225 3c298f89-4303-0410-b956-a3cf2f4a3e73
* initialize the CONFIG_APPEND variableFelix Fietkau2008-07-311-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12050 3c298f89-4303-0410-b956-a3cf2f4a3e73
* another one ...Felix Fietkau2008-07-311-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12045 3c298f89-4303-0410-b956-a3cf2f4a3e73
* upgrade to uci 0.4.7 - fixes a stupid regression introduced in 0.4.5Felix Fietkau2008-07-311-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12044 3c298f89-4303-0410-b956-a3cf2f4a3e73
* upgrade to uci 0.4.6 - fixes a parser glitchFelix Fietkau2008-07-311-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12028 3c298f89-4303-0410-b956-a3cf2f4a3e73
* upgrade to uci 0.4.5 - adds extra input validationFelix Fietkau2008-07-301-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12023 3c298f89-4303-0410-b956-a3cf2f4a3e73
* clean up the directory layout of the uci shell apiFelix Fietkau2008-07-302-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12022 3c298f89-4303-0410-b956-a3cf2f4a3e73
* nuke uci-sh, it is obsolete and no longer worksFelix Fietkau2008-07-304-603/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12021 3c298f89-4303-0410-b956-a3cf2f4a3e73
* allow packages to optionally append config file contents in the environment ↵Felix Fietkau2008-07-301-3/+5
| | | | | | by setting a flag and calling config_load multiple times git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12020 3c298f89-4303-0410-b956-a3cf2f4a3e73
* upgrade to uci 0.4.4 (fixes a stupid bug, thx Frédéric Moulins)Felix Fietkau2008-06-201-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11548 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [uci] Create $(1)/etc/uci-defaults directory during installation. Thanks ↵Andy Boyett2008-06-171-0/+1
| | | | | | | | | | Yuji Mano. - Fixes the use of CONFIG_UCI_PRECONFIG under git; git does not track empty directories. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11517 3c298f89-4303-0410-b956-a3cf2f4a3e73
* upgrade uci to 0.4.2 - fixes some escaping and library issuesFelix Fietkau2008-06-041-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11361 3c298f89-4303-0410-b956-a3cf2f4a3e73
* upgrade uci to 0.4.1Felix Fietkau2008-06-041-2/+2
| | | | | | | | improves uci.foreach and uci.get_all in the lua binding no longer records changes for uci set with oldval == newval git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11354 3c298f89-4303-0410-b956-a3cf2f4a3e73
* move the uci lua plugin to /usr/lib/lua instead of /usr/lib/lua/5.1Felix Fietkau2008-06-041-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11353 3c298f89-4303-0410-b956-a3cf2f4a3e73
* update uci to v0.4.0 - improves lua bindingFelix Fietkau2008-06-031-3/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11348 3c298f89-4303-0410-b956-a3cf2f4a3e73
* upgrade to uci 0.3.4 - extends lua bindings and fixes a bug that rejected ↵Felix Fietkau2008-05-031-2/+2
| | | | | | "-" in uci package names git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11030 3c298f89-4303-0410-b956-a3cf2f4a3e73
* upgrade uci to 0.3.3, build lua pluginFelix Fietkau2008-04-131-5/+21
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10818 3c298f89-4303-0410-b956-a3cf2f4a3e73
* upgrade uci to 0.3.1 - fixes a parser problemFelix Fietkau2008-04-081-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10772 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Install libuci and headers in staging_dirAndy Boyett2008-04-041-1/+8
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10732 3c298f89-4303-0410-b956-a3cf2f4a3e73