Commit Graph

27 Commits

Author SHA1 Message Date
Jo-Philipp Wich
f3e4c15229 lua: remove posix from Lua core, almost nothing uses it - saves 9k compressed
SVN-Revision: 26822
2011-05-04 14:51:06 +00:00
Jo-Philipp Wich
59cf671160 lua: switch to double precision for floats
SVN-Revision: 23284
2010-10-07 11:03:18 +00:00
Jo-Philipp Wich
fe6b17f6ad lua: drop refcounting patch in preparation for 10.03, it has unresolved issues resulting in random vm crashes
SVN-Revision: 20617
2010-03-30 23:24:46 +00:00
Gabor Juhos
78511d01b0 package/lua: refresh patches
SVN-Revision: 20470
2010-03-26 14:29:03 +00:00
Felix Fietkau
c2cc2884e3 lua: fix regressions in operator overloading caused by the refcounting patch, also fix some more variable cleanup issues => even more performance, less memory utilization
SVN-Revision: 18164
2009-10-26 14:27:30 +00:00
Felix Fietkau
6db489f1b0 lua: use float instead of double, reduces the gc data structure size by 4 byte => luci processes use 10% less memory
SVN-Revision: 18159
2009-10-26 03:01:12 +00:00
Felix Fietkau
6a87d6682d lua: fix various bugs in the refcounting implementation. seems to fix luci and reduces memory consumption even more
SVN-Revision: 18158
2009-10-26 00:06:42 +00:00
Felix Fietkau
7aaaa2c946 lua: get rid of bitlib and md5lib from the core, they are no longer necessary
SVN-Revision: 18138
2009-10-24 23:23:42 +00:00
Felix Fietkau
8f98214617 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
SVN-Revision: 18136
2009-10-24 22:19:13 +00:00
Jo-Philipp Wich
b18a60e1ac lua: introduce soft memory limits that trigger a gc run but do not result in an oom error
SVN-Revision: 17016
2009-07-26 15:06:43 +00:00
Jo-Philipp Wich
03db00a803 package/lua: implement memory limits, scripts can use get_memory_limit() and set_memory_limit() to cap the maximum ram usage
SVN-Revision: 16753
2009-07-09 17:45:23 +00:00
Jo-Philipp Wich
41fe312464 lua: embed md5lib
SVN-Revision: 15431
2009-04-27 01:47:03 +00:00
Jo-Philipp Wich
98e70367c9 lua: revert r15108 & r15109
SVN-Revision: 15256
2009-04-19 13:44:40 +00:00
Jo-Philipp Wich
69c1c6ed28 lua: add zlib build dependency, fix inaccuracy in gzip loader
SVN-Revision: 15109
2009-04-05 02:33:41 +00:00
Jo-Philipp Wich
27b7e29e13 lua: add support for loading gzip compressed source files, bump package revision
SVN-Revision: 15108
2009-04-04 23:06:56 +00:00
Felix Fietkau
4a21b1be1a fix lua compile with eglibc selected and utmp support disabled
SVN-Revision: 14298
2009-01-31 07:18:13 +00:00
Nicolas Thill
d186cdbfd0 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
SVN-Revision: 13179
2008-11-11 02:48:31 +00:00
Steven Barth
c1ef612776 Embed luaposix and bitlib into Lua core library
SVN-Revision: 12696
2008-09-25 12:15:32 +00:00
Steven Barth
4b7249183c Updated Lua to 5.1.4
SVN-Revision: 12383
2008-08-24 15:45:26 +00:00
Felix Fietkau
e219aaf034 lua: remove an unnecessary check and replace switch (GET_OPCODE(i)) as well (thx, lars)
SVN-Revision: 12381
2008-08-24 14:28:04 +00:00
Felix Fietkau
62333dabe1 improve lua opcode dispatch performance by using computed goto instead of switch/case - improves performance by about 10% in a simple loop test
SVN-Revision: 12378
2008-08-24 13:37:56 +00:00
Steven Barth
76215afdec lua: Fixed some cross-platform issues for PPC (and probably other architectures)
SVN-Revision: 11608
2008-06-29 11:38:22 +00:00
Felix Fietkau
554ddcf755 fix liblua symlink installation
SVN-Revision: 11245
2008-05-23 07:09:29 +00:00
Felix Fietkau
d8d15cb1c0 fix lua compile issues on ixp4xx (EABI) by linking libgcc into liblua
SVN-Revision: 11240
2008-05-22 14:20:56 +00:00
Felix Fietkau
6fa85238f5 add updated lua patchset from Steven Barth (cyrus) as explained in http://lists.openwrt.org/pipermail/openwrt-devel/2008-May/002170.html
SVN-Revision: 11239
2008-05-22 14:20:36 +00:00
Felix Fietkau
77760bba21 remove lua's dependency on libreadline and libncurses
SVN-Revision: 10817
2008-04-13 14:34:36 +00:00
Felix Fietkau
1563615bed move lua from packages/ to trunk in anticipation of upcoming stuff ;)
SVN-Revision: 10806
2008-04-13 01:06:12 +00:00