Commit graph

962 commits

Author SHA1 Message Date
Jo-Philipp Wich
97743c1387 libs/web: disable memory debuggin in trunk as well 2009-07-23 11:32:22 +00:00
Jo-Philipp Wich
8b001ee843 libs/web: dispatcher.lua: add support for external tree building and indexing 2009-07-23 03:25:27 +00:00
Jo-Philipp Wich
281c92b1d6 libs/uvl: convert uvlc to nixio.fs api, fix error condition when no schema is found 2009-07-23 03:23:48 +00:00
Jo-Philipp Wich
60aaab2ede libs/lucid-http: prepare external indexing and tree building in luci handler 2009-07-23 03:22:45 +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
3e0b6b681c libs/web: use new parser in non-caching mode 2009-07-23 01:41:06 +00:00
Jo-Philipp Wich
80a2dd2cc2 libs/web: add template parser reimplemented in C 2009-07-23 00:41:44 +00:00
Jo-Philipp Wich
4dd0a793b6 libs/lmo: check for integer, not number in lmo.archive.get() 2009-07-19 16:12:26 +00:00
Jo-Philipp Wich
1738eddc7d libs/lmo: ensure integer return value in lmo.hash(), fix module open function 2009-07-19 16:10:10 +00:00
Jo-Philipp Wich
306b2d865a libs/nixio: don't close stdin, stdout or stderr during garbage collection 2009-07-19 02:39:10 +00:00
Jo-Philipp Wich
074b5dfc4a fix fallout from nixio.fs transition 2009-07-19 00:38:52 +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
6abba61632 libs/nixio: allow calls to nixio.util.consume() with no iterator given 2009-07-18 21:58:41 +00:00
Jo-Philipp Wich
4bc6b85bb7 libs/nixio: add destination table argument to nixio.util.consume() 2009-07-18 21:55:14 +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
768bf67b86 libs/web: optimize code generation in luci.template 2009-07-17 18:33:01 +00:00
Steven Barth
dae7f3f4d5 nixio:
Add Rockspec
Add bswap to nixio.bit
Fix nixio.bit documentation
2009-07-14 15:21:00 +00:00
Jo-Philipp Wich
7ac3bac569 libs/lmo: fix possible resource leak if lua runs out of memory but file is already opened 2009-07-11 23:07:41 +00:00
Jo-Philipp Wich
a531bb7bea libs/lmo: implement lmo.archive.get() and lmo.archive.foreach() 2009-07-11 17:30:43 +00:00
Steven Barth
8162842107 Fix getifaddrs() for BSD 2009-07-11 10:21:27 +00:00
Steven Barth
0864f5f88b nixio: Mark axTLS as discouraged, fix changelog 2009-07-11 08:06:47 +00:00
Steven Barth
72a0ee36b6 nixio: Update documentation to prepare 0.3 release 2009-07-11 07:54:57 +00:00
Steven Barth
21be73a478 nixio: Fix accidental closing of file descriptors after dup with two
parameters resulting in strange behaviour when spawning processes
2009-07-11 07:01:32 +00:00
Jo-Philipp Wich
07c0f405f3 libs/sys: implement callbacks in luci.sys.net.arptable() and luci.sys.net.conntrack() 2009-07-10 22:01:35 +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
7dcb05fd1c Session-IDs are lowercase now 2009-07-10 17:06:19 +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
3fac200364 libs/lucid: lower threadlimit to 2 2009-07-10 16:05:10 +00:00
Jo-Philipp Wich
263d7228fc libs/sys: split zoneinfo in tzdata and tzoffset and autoload on demand, saves yet another ~60KB 2009-07-10 16:04:07 +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
98a6885834 libs/sys: optimize luci.sys.net.defaultroute6() 2009-07-10 13:49:24 +00:00
Steven Barth
223963e419 Optimise luci.sys 2009-07-10 13:33:48 +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
7372c00dda Fix LuCId behaviour if thread-limit is reached 2009-07-10 13:04:07 +00:00
Jo-Philipp Wich
6bfe0624b6 libs/sys: improve efficiency of sys.net.defaultroute(), can save hundreds of KB memory usage 2009-07-09 15:53:08 +00:00
Jo-Philipp Wich
36542cbe1d libs/web: use lmo in luci.i18n 2009-07-09 15:05:29 +00:00
Jo-Philipp Wich
d9d3c71435 libs: introduce lmo - Lua Machine Objects, an implementation of binary hash tables 2009-07-09 15:04:27 +00:00
Jo-Philipp Wich
238404ee83 libs/lucid: only execute handlers if daemon is below the thread limit, this allows to hold connections without having to fork immediately 2009-07-06 22:26:46 +00:00
Jo-Philipp Wich
644bc4ac3a libs/lucid: lower thread limit to 10 due to oom issues on different devices 2009-07-06 21:38:51 +00:00
Jo-Philipp Wich
58a5b15c0b libs/nixio: add sysupgrade hook to include /etc/nixio/ (generated certs) into saved file list 2009-06-30 18:05:07 +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
Steven Barth
a2c71bf739 nixio: Resolve namespace clashes 2009-06-21 13:41:18 +00:00
Steven Barth
a90206c089 Drop webuci (obsolete) 2009-06-20 07:24:09 +00:00
Steven Barth
341f757255 Merge fixes / improvements 2009-06-20 07:14:36 +00:00
Jo-Philipp Wich
65cde286cc drop obsoleted lucittpd packages 2009-06-16 19:30:22 +00:00
Jo-Philipp Wich
8c359115f9 libs/lucid-http: use SERVER_ADDR as fallback 2009-06-16 14:41:43 +00:00
Steven Barth
b3a7ff9f8f Catchall workaround for strange sockaddresses by Jow 2009-06-16 14:27:43 +00:00
Jo-Philipp Wich
988eeb8ff1 libs/nixio: wrap $(CC) in quotes, command could break if ccache is used (CC:=ccache mips-openwrt-linux-uclibc-gcc) 2009-06-15 20:07:59 +00:00