Commit Graph

43 Commits (3207472445df2f754cfba0c68dd04fb0f0de1b98)

Author SHA1 Message Date
Jo-Philipp Wich f3e4c15229 lua: remove posix from Lua core, almost nothing uses it - saves 9k compressed
SVN-Revision: 26822
13 years ago
Jo-Philipp Wich 59cf671160 lua: switch to double precision for floats
SVN-Revision: 23284
14 years ago
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
14 years ago
Gabor Juhos 78511d01b0 package/lua: refresh patches
SVN-Revision: 20470
14 years ago
Jo-Philipp Wich 1de4b79971 lua: add the 100-no_readline.patch to host build
SVN-Revision: 18195
15 years ago
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
15 years ago
Felix Fietkau 4cef53b4e4 lua: fix a typo
SVN-Revision: 18190
15 years ago
Felix Fietkau 3dcdf925c7 lua: re-enable host builds with some more fixes
SVN-Revision: 18189
15 years ago
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
15 years ago
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
15 years ago
Felix Fietkau 6a87d6682d lua: fix various bugs in the refcounting implementation. seems to fix luci and reduces memory consumption even more
SVN-Revision: 18158
15 years ago
Felix Fietkau 7aaaa2c946 lua: get rid of bitlib and md5lib from the core, they are no longer necessary
SVN-Revision: 18138
15 years ago
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
15 years ago
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
15 years ago
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
15 years ago
Nicolas Thill c2e3ae221d lua: install lua.pc pkgconfig file as well (closes: #5132)
SVN-Revision: 15848
15 years ago
Jo-Philipp Wich 41fe312464 lua: embed md5lib
SVN-Revision: 15431
15 years ago
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
15 years ago
Jo-Philipp Wich 98e70367c9 lua: revert r15108 & r15109
SVN-Revision: 15256
15 years ago
Felix Fietkau 34939cad39 get rid of $Id$ - it has never helped us and it has broken too many patches ;)
SVN-Revision: 15242
15 years ago
Jo-Philipp Wich 69c1c6ed28 lua: add zlib build dependency, fix inaccuracy in gzip loader
SVN-Revision: 15109
15 years ago
Jo-Philipp Wich 27b7e29e13 lua: add support for loading gzip compressed source files, bump package revision
SVN-Revision: 15108
15 years ago
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
15 years ago
Felix Fietkau 0d56c7c638 add back the old host patches for lua to improve portability
SVN-Revision: 14631
16 years ago
Felix Fietkau 25d318e815 merge host build of lua from tools/ into package/lua/Makefile
SVN-Revision: 14622
16 years ago
Felix Fietkau 4a21b1be1a fix lua compile with eglibc selected and utmp support disabled
SVN-Revision: 14298
16 years ago
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
16 years ago
Steven Barth c1ef612776 Embed luaposix and bitlib into Lua core library
SVN-Revision: 12696
16 years ago
Steven Barth 4b7249183c Updated Lua to 5.1.4
SVN-Revision: 12383
16 years ago
Felix Fietkau e219aaf034 lua: remove an unnecessary check and replace switch (GET_OPCODE(i)) as well (thx, lars)
SVN-Revision: 12381
16 years ago
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
16 years ago
Felix Fietkau e9ea28b0af use $(FPIC) in a few places where it matters
SVN-Revision: 12225
16 years ago
Florian Fainelli 890c213508 x86_64 also needs -fPIC to create lua shared libraries
SVN-Revision: 12008
16 years ago
Steven Barth a1031eeb23 lua: Remove -fPIC for non-powerpc platforms
SVN-Revision: 11985
16 years ago
Steven Barth 76215afdec lua: Fixed some cross-platform issues for PPC (and probably other architectures)
SVN-Revision: 11608
16 years ago
Felix Fietkau 554ddcf755 fix liblua symlink installation
SVN-Revision: 11245
16 years ago
Steven Barth f3bc063753 Added missing header reference to InstallDev target
SVN-Revision: 11241
16 years ago
Felix Fietkau d8d15cb1c0 fix lua compile issues on ixp4xx (EABI) by linking libgcc into liblua
SVN-Revision: 11240
16 years ago
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
16 years ago
Felix Fietkau ffc0827b65 fix lua compile configuration error
SVN-Revision: 11047
16 years ago
Felix Fietkau 19cb0b3693 fix lua cflags
SVN-Revision: 10971
16 years ago
Felix Fietkau 77760bba21 remove lua's dependency on libreadline and libncurses
SVN-Revision: 10817
16 years ago
Felix Fietkau 1563615bed move lua from packages/ to trunk in anticipation of upcoming stuff ;)
SVN-Revision: 10806
16 years ago