1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-26 17:42:25 +02:00
Commit Graph

23 Commits

Author SHA1 Message Date
nbd
c3dbd7adde lua: fix regressions in operator overloading caused by the refcounting patch, also fix some more variable cleanup issues => even more performance, less memory utilization
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18164 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-26 14:27:30 +00:00
nbd
9529774bd5 lua: use float instead of double, reduces the gc data structure size by 4 byte => luci processes use 10% less memory
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18159 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-26 03:01:12 +00:00
nbd
27e64f8be8 lua: fix various bugs in the refcounting implementation. seems to fix luci and reduces memory consumption even more
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18158 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-26 00:06:42 +00:00
nbd
2c5998b74d lua: get rid of bitlib and md5lib from the core, they are no longer necessary
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18138 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-24 23:23:42 +00:00
nbd
e4be8b3bf5 lua: add reference counting for strings - this will need A LOT of testing, but it should finally fix the excessive memory usage problems triggered by luci
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18136 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-24 22:19:13 +00:00
jow
907b0ab600 [package] lua: introduce soft memory limits that trigger a gc run but do not result in an oom error
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17016 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-26 15:06:43 +00:00
jow
ff39a6c6f5 package/lua: implement memory limits, scripts can use get_memory_limit() and set_memory_limit() to cap the maximum ram usage
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16753 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-09 17:45:23 +00:00
jow
37c60a3fd8 [package] lua: embed md5lib
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15431 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-27 01:47:03 +00:00
jow
202c4e0b54 [package] lua: revert r15108 & r15109
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15256 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-19 13:44:40 +00:00
jow
9ebc77668e [package] lua: add zlib build dependency, fix inaccuracy in gzip loader
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15109 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-05 02:33:41 +00:00
jow
a1cd2822b2 [package] lua: add support for loading gzip compressed source files, bump package revision
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15108 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-04 23:06:56 +00:00
nbd
14011b1e81 fix lua compile with eglibc selected and utmp support disabled
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14298 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-31 07:18:13 +00:00
nico
6a74025efd lua changes:
- fix shared lib generation
 - don't ship liblua.so dev lib in liblua package
 - remove unsupported 'all' make target during build
 - misc cleanup
 - bump release number


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13179 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-11 02:48:31 +00:00
cyrus
9c10689383 Embed luaposix and bitlib into Lua core library
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12696 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-25 12:15:32 +00:00
cyrus
7fcfeb5486 Updated Lua to 5.1.4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12383 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-24 15:45:26 +00:00
nbd
7196f4da13 lua: remove an unnecessary check and replace switch (GET_OPCODE(i)) as well (thx, lars)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12381 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-24 14:28:04 +00:00
nbd
2bfa71f5d7 improve lua opcode dispatch performance by using computed goto instead of switch/case - improves performance by about 10% in a simple loop test
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12378 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-24 13:37:56 +00:00
cyrus
adde7768a2 lua: Fixed some cross-platform issues for PPC (and probably other architectures)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11608 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-29 11:38:22 +00:00
nbd
6a4a40e378 fix liblua symlink installation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11245 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-23 07:09:29 +00:00
nbd
ddacf1cb7a fix lua compile issues on ixp4xx (EABI) by linking libgcc into liblua
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11240 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-22 14:20:56 +00:00
nbd
bdba578766 add updated lua patchset from Steven Barth (cyrus) as explained in http://lists.openwrt.org/pipermail/openwrt-devel/2008-May/002170.html
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11239 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-22 14:20:36 +00:00
nbd
124c9d9c48 remove lua's dependency on libreadline and libncurses
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10817 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-13 14:34:36 +00:00
nbd
eeed6076b9 move lua from packages/ to trunk in anticipation of upcoming stuff ;)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10806 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-13 01:06:12 +00:00