Jo-Philipp Wich
8ee6d915ee
libs/core: fix some issues in network model
2010-12-24 21:39:44 +00:00
Jo-Philipp Wich
0f9f2a42a4
libs/core: bring get_first() boolean casting in line with get_bool()
2010-12-24 21:39:26 +00:00
Manuel Munz
99881d9cb6
libs/core: Create get_first() in uci model
2010-12-12 15:01:39 +00:00
Jo-Philipp Wich
5dd3b57bbb
libs/core: always use internal network ids for admin links to wifi networks ( #172 )
2010-12-05 03:57:29 +00:00
Jo-Philipp Wich
ea294f0b64
libs/core: ignore sit0 in network model
2010-12-05 03:21:52 +00:00
Jo-Philipp Wich
9d83aafb78
libs/core: fix nil access, implement luci.model.network.network.uptime()
2010-12-01 21:15:59 +00:00
Jo-Philipp Wich
b304373297
libs/core: network model fixes
2010-11-15 22:03:45 +00:00
Jo-Philipp Wich
3ac93d53ea
libs/core: make network model 6to4 aware
2010-11-15 12:30:26 +00:00
Jo-Philipp Wich
5a03beffcb
libs/core: switch to C pcdata() implementation, its up to 7 times faster while also ensuring safe UTF-8
2010-11-13 12:16:51 +00:00
Jo-Philipp Wich
472ffe69a9
libs/core: restore original implementation of copcall() and coxpcall(), solves issues with RPC UCI endpoint
2010-11-09 19:43:13 +00:00
Jo-Philipp Wich
b93adb7603
libs/core: restart miniupnpd when firewall is reloaded
2010-11-08 09:45:13 +00:00
Jo-Philipp Wich
75ccb1c5a8
libs/core: some firewall model enhancements
2010-11-01 19:39:02 +00:00
Jo-Philipp Wich
aab6378bc3
libs/core: several fixes for firewall model
2010-11-01 01:51:26 +00:00
Jo-Philipp Wich
5b63f544f5
libs/core: return ordered list in luci.model.network.get_interfaces()
2010-10-31 22:38:07 +00:00
Jo-Philipp Wich
3407c007d8
libs/core: fix bug in firewall model
2010-10-31 21:43:21 +00:00
Jo-Philipp Wich
0a8fa4e4a5
libs/core: support not-yet-existing interfaces in network model
2010-10-31 21:38:36 +00:00
Jo-Philipp Wich
141095fa7f
libs/core: fix luci.model.firewall.rename_zone()
2010-10-30 18:26:46 +00:00
Jo-Philipp Wich
95886d4585
libs/core: use imatch() in firewall and network model
2010-10-30 17:56:06 +00:00
Jo-Philipp Wich
ddd1ba088e
libs/core: introduce luci.util.imatch()
2010-10-30 17:54:25 +00:00
Jo-Philipp Wich
1208895c18
libs/core: remove luci.model.uci.bind
2010-10-30 04:50:04 +00:00
Jo-Philipp Wich
c0f5518bdb
libs/core: reuse existing uci context in network model if possible. fix some bugs
2010-10-30 04:48:55 +00:00
Jo-Philipp Wich
08dfc28786
libs/core: rework firewall model
2010-10-30 04:47:37 +00:00
Jo-Philipp Wich
2b7ba80b8a
libs/core: fix various bugs in network model
2010-10-30 02:33:06 +00:00
Jo-Philipp Wich
df01f3e431
libs/core: merge luci.model.wireless into luci.model.network
2010-10-30 00:40:07 +00:00
Jo-Philipp Wich
33378709a9
libs/core: rework network model
2010-10-28 18:30:15 +00:00
Jo-Philipp Wich
21de97b235
libs/core: implement substate() in uci model for creating bound state cursors
2010-10-28 17:26:48 +00:00
Jo-Philipp Wich
687861c498
libs/core: fix network counting in luci.model.wireless
2010-10-19 04:13:33 +00:00
Jo-Philipp Wich
5c2000a157
libs: merge libs/uci into libs/core
2010-10-12 05:28:49 +00:00
Jo-Philipp Wich
2fede7361f
libs/core: disable runtime byte code stripping, it causes lvm errors (OpenWrt #6235 , LuCI #110 )
2010-03-18 15:19:11 +00:00
Vasilis Tsiligiannis
f790aae15a
libs/core: Fix wireless network ids
2009-12-24 21:34:52 +00:00
Jo-Philipp Wich
ee85b3b76b
libs/core: i18n fixes for wds mode
2009-11-08 02:35:03 +00:00
Jo-Philipp Wich
c07a7b5a02
libs/core: implement add_network() and del_network() in wireless model
2009-11-08 02:34:31 +00:00
Jo-Philipp Wich
9b888c18e3
libs: fix some more translation errors
2009-11-01 17:30:15 +00:00
Jo-Philipp Wich
4ef4776c9a
all: various i18n realted fixes
2009-10-31 21:09:02 +00:00
Jo-Philipp Wich
7c76587588
all: change most translate statements to new format, some need manual cleanup
2009-10-31 15:54:11 +00:00
Jo-Philipp Wich
7f92fa405c
libs/core: fix type in luci.model.wireless
2009-10-30 21:05:38 +00:00
Jo-Philipp Wich
0b71cdaaad
libs/core: extend and fix luci.model.wireless
2009-10-29 02:20:44 +00:00
Jo-Philipp Wich
1a9b5381c0
libs/core: fixes luci.model.wireless
2009-10-28 20:44:46 +00:00
Jo-Philipp Wich
99d425aeed
libs/core: fixes for luci.model.firewall, luci.model.network and luci.model.network.wireless
2009-10-27 21:34:06 +00:00
Jo-Philipp Wich
7bf9452985
libs/core: add luci.model.wireless
2009-10-27 21:33:26 +00:00
Jo-Philipp Wich
09c5e7241a
libs/core: implement special treatment of wireless in network model
2009-10-15 16:30:17 +00:00
Jo-Philipp Wich
3fb80187f8
libs/core: fixes for network model
2009-10-10 14:53:39 +00:00
Jo-Philipp Wich
0533309ef2
libs/core: fix firewall model
2009-10-10 04:48:57 +00:00
Jo-Philipp Wich
03a6d3fcd4
libs/core: extend network model, only allow one zone per network
2009-10-10 04:46:26 +00:00
Jo-Philipp Wich
a037d94383
libs/core: luci.model.network: implement contains_inteface(), fix bugs
2009-10-08 10:25:52 +00:00
Jo-Philipp Wich
667e05a8b4
libs/core: add luci.model.network oop abstraction layer
2009-10-08 09:32:00 +00:00
Jo-Philipp Wich
9fcd1f2f59
libs/core: luci.model.firewall: make top level functions instance methods to keep interface consistent, implement rename_zone()
2009-10-08 01:22:21 +00:00
Jo-Philipp Wich
470184bd57
libs/core: add luci.model.firewall, oop abstraction for uci firewall
2009-10-08 00:14:07 +00:00
Jo-Philipp Wich
01c4048021
libs/core: fix loading of nixio.bit in luci.ip
2009-08-04 10:38:52 +00:00
Jo-Philipp Wich
86cd67ebc3
[PATCH] make luci.ip.IPvX a bit more forgiving
...
Signed-Off-By: Malte S. Stretz <mss at apache.org>
2009-08-01 20:40:55 +00:00
Jo-Philipp Wich
26d792d914
libs/core: properly handle udata values in overloaded string format operator
2009-07-29 04:29:22 +00:00
Steven Barth
ce98fdd80f
Optimize util.threadlocal, Add luci.store as global threadlocal store
2009-07-27 10:27:39 +00:00
Jo-Philipp Wich
4ef3ac9694
libs/core: support udata util.striptags(), optimizie copcall implementation
2009-07-25 02:57:13 +00:00
Steven Barth
4d75b51157
FIx lsat commit
2009-07-24 17:34:40 +00:00
Steven Barth
2164bdf651
luci.fs compat
2009-07-24 17:33:32 +00:00
Jo-Philipp Wich
a4f6748205
libs/core: util.lua optimize get() and set() accessors of threadlocals
2009-07-23 03:21:18 +00:00
Jo-Philipp Wich
3f1393006e
libs/core: debug.lua use integers for memory size and peak value
2009-07-23 03:19:46 +00:00
Jo-Philipp Wich
8fcd841aa9
convert luci.fs users to nixio.fs api
2009-07-19 00:24:58 +00:00
Jo-Philipp Wich
5f000ef19e
libs/core: record peak values in luci.debug
2009-07-18 18:26:44 +00:00
Jo-Philipp Wich
60613ef05c
libs/core: trigger garbage collection in coxpcall() if 80% of the allocated memory pool are filled
2009-07-10 17:38:01 +00:00
Steven Barth
7ba12e9c5e
Move memory limit to lucid, reincrease thread limit
2009-07-10 16:39:30 +00:00
Jo-Philipp Wich
128437f671
libs/core: optimize strip_bytecode() memory usage by avoiding string concatenation
2009-07-10 16:30:43 +00:00
Jo-Philipp Wich
deb9868dbd
libs/core: make use of global memory limits if supported
2009-07-10 16:01:53 +00:00
Jo-Philipp Wich
6ea0b5eb45
libs/core: make memory tracer work with c and r events, avoid string allocations for debug output
2009-07-10 13:15:43 +00:00
Steven Barth
30b216f774
Drop support for luaposix and bitlib (obsoleted by nixio)
...
Mark luci.fs as deprecated
2009-06-21 13:42:26 +00:00
Jo-Philipp Wich
62fade5709
libs/core: make sure that bitlib is loaded, fixes some sdk problems
2009-05-17 01:56:15 +00:00
Jo-Philipp Wich
b0abe4aa08
libs/core: further fixes for luci.util.pcdata(), fix wrong character range and drop invalid control chars entirely
2009-01-25 13:03:17 +00:00
Jo-Philipp Wich
e226a77b24
libs/core: rework luci.util.pcdata() to also escape ascii control chars
2009-01-25 12:29:37 +00:00
Steven Barth
514a9bfec7
Add utime to luci.fs
2009-01-20 10:18:45 +00:00
Jo-Philipp Wich
89c8f98b12
build: add mkversion.sh helper script
...
contrib: (re-)generate version.lua at build time
libs/core: use version.lua
themes: adept header to version.lua, fix css for openwrt.org
2009-01-17 16:35:02 +00:00
Jo-Philipp Wich
870397a3cd
libs/ip: return a copy of given tables in __mask16() to avoid destroying them later
2008-12-27 01:42:34 +00:00
Jo-Philipp Wich
0c3f77a397
libs/core: implement fs.isdirectory()
2008-12-19 12:08:51 +00:00
Jo-Philipp Wich
dda65d2b94
libs/core/ip: optmizations
...
libs/sys: implement defaultroute6(), change return values of routes() and routes6()
modules/admin-full: adept route config page to new api
modules/freifunk: adept overview page to new routes api
2008-11-29 20:46:26 +00:00
Jo-Philipp Wich
18b4c1f6b6
libs/core/ip: fix host() method
2008-11-26 22:57:26 +00:00
Jo-Philipp Wich
fda52c6fec
libs/core/ip: fix prefix length handling in Hex() constructor
2008-11-26 22:29:14 +00:00
Steven Barth
408e9d289d
Fixed last commit
2008-11-20 21:16:02 +00:00
Steven Barth
8d2c8c131d
Remove luci.cutil: does not affect performance
2008-11-20 21:14:58 +00:00
Steven Barth
a3cf596d37
More luci.cutil
2008-11-20 19:39:40 +00:00
Steven Barth
9c260769a5
More C-Functions (luci.cutil.instanceof, luci.cutil.pcdata)
2008-11-20 19:22:05 +00:00
Steven Barth
9a203c52dd
Integrate core C implementation
2008-11-20 15:15:50 +00:00
Steven Barth
40639695cb
LuCI Core C-Rewrite: First steps
2008-11-19 23:02:36 +00:00
Jo-Philipp Wich
cbed72fb47
* luci/themes: fix log pages
...
* luci/modules/admin-full: add dmesg page
* luci/i18n: add "dmesg" translations
* luci/libs/util: add cmatch(), register string functions in string class
* luci/libs/sys: add dmesg()
2008-11-16 22:45:10 +00:00
Steven Barth
97130b6486
Make luci.fs.rename work across fielsystems
2008-11-12 12:52:57 +00:00
Steven Barth
676966f78b
Add luci.util.append
2008-10-30 19:10:39 +00:00
Steven Barth
8d9a130b70
luci.util.combine now also accepts single objects
2008-10-30 19:10:22 +00:00
Jo-Philipp Wich
9451a49408
* luci/libs/core: use numeric entities in pcdata()
2008-10-24 19:15:09 +00:00
Steven Barth
22c927621c
Optimized caching behaviour, automatically flush caches in dev environment
2008-09-15 16:49:56 +00:00
Steven Barth
1a4c192c65
More luci.util optimizations
2008-09-10 12:47:21 +00:00
Steven Barth
9e2759ec34
Optimized luci.util.class
2008-09-10 12:22:29 +00:00
Steven Barth
8dbf29e86e
Performance optimisations:
...
In-line expressions are faster than function calls
2008-09-09 12:44:41 +00:00
Steven Barth
1c2ab810b2
Bump version to 0.9
2008-09-06 14:07:21 +00:00
Steven Barth
8e00d27ae7
Removed unneeded exports
2008-09-06 09:58:32 +00:00
Steven Barth
40d4e839ef
Added bytecodecache
2008-09-05 23:24:39 +00:00
Steven Barth
e63d3f03eb
Added memory tracer
2008-09-05 20:32:20 +00:00
Steven Barth
4483ebd74d
Removed inefficient environment manipulation functions
2008-09-05 18:35:14 +00:00
Steven Barth
74408bbb74
Fixed reference to luci.ltn12
2008-09-02 08:24:45 +00:00
Steven Barth
76f2e5ec1a
Added luci.fs.copy and luci.fs.rename
2008-09-01 19:42:43 +00:00
Steven Barth
c1edac6ed0
libs/core: Added mising import for math module to luci.util
2008-09-01 11:10:06 +00:00
Steven Barth
ffd5c4ec65
General optimizations, simplifications and improvements
2008-08-29 23:26:01 +00:00
Steven Barth
e068351a3f
Cleanup and documentation
2008-08-29 15:47:56 +00:00