Commit Graph

43 Commits (fbe0af32373d6cb427205efc3b0503b8b6f4ffe8)

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
Jo-Philipp Wich 1de4b79971 lua: add the 100-no_readline.patch to host build
SVN-Revision: 18195
2009-10-28 13:56:33 +00:00
Jo-Philipp Wich a0d2c65033 lua: the variable expansion to detect the host os does not work with GNU Make 3.81, replace it with a nested ifeq
SVN-Revision: 18193
2009-10-28 00:11:59 +00:00
Felix Fietkau 4cef53b4e4 lua: fix a typo
SVN-Revision: 18190
2009-10-27 21:28:15 +00:00
Felix Fietkau 3dcdf925c7 lua: re-enable host builds with some more fixes
SVN-Revision: 18189
2009-10-27 21:18:58 +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
Nicolas Thill c2e3ae221d lua: install lua.pc pkgconfig file as well (closes: #5132)
SVN-Revision: 15848
2009-05-14 17:59:06 +00:00
Jo-Philipp Wich 41fe312464 lua: embed md5lib
SVN-Revision: 15431
2009-04-27 01:47:03 +00:00
Nicolas Thill 53836068b4 change occurences of LUA to Lua (from http://www.lua.org/about.html: Please do not write it as "LUA", which is both ugly and confusing [...] So, please, write "Lua" right!)
SVN-Revision: 15412
2009-04-25 20:36:30 +00:00
Jo-Philipp Wich 98e70367c9 lua: revert r15108 & r15109
SVN-Revision: 15256
2009-04-19 13:44:40 +00:00
Felix Fietkau 34939cad39 get rid of $Id$ - it has never helped us and it has broken too many patches ;)
SVN-Revision: 15242
2009-04-17 14:09:46 +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 ddcfaeb1e5 move host build in packages into a separate namespace: package/<name>/host/<target> this allows dependencies between host and target packages, and saves unnecessary host builds for packages that contain both variants
SVN-Revision: 14905
2009-03-17 02:20:34 +00:00
Felix Fietkau 0d56c7c638 add back the old host patches for lua to improve portability
SVN-Revision: 14631
2009-02-22 23:54:26 +00:00
Felix Fietkau 25d318e815 merge host build of lua from tools/ into package/lua/Makefile
SVN-Revision: 14622
2009-02-22 18:10:23 +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
Felix Fietkau e9ea28b0af use $(FPIC) in a few places where it matters
SVN-Revision: 12225
2008-08-06 22:10:29 +00:00
Florian Fainelli 890c213508 x86_64 also needs -fPIC to create lua shared libraries
SVN-Revision: 12008
2008-07-30 10:04:03 +00:00
Steven Barth a1031eeb23 lua: Remove -fPIC for non-powerpc platforms
SVN-Revision: 11985
2008-07-29 10:14:11 +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
Steven Barth f3bc063753 Added missing header reference to InstallDev target
SVN-Revision: 11241
2008-05-22 20:26:23 +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 ffc0827b65 fix lua compile configuration error
SVN-Revision: 11047
2008-05-04 17:48:26 +00:00
Felix Fietkau 19cb0b3693 fix lua cflags
SVN-Revision: 10971
2008-04-28 22:00:57 +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