lneto
e9138ce741
fixed metatable access to deallocated field
...
author: Lua.org <team@lua.org>
see: http://www.lua.org/bugs.html#5.3.2-1
2016-01-28 17:23:21 +00:00
lneto
2d6cb6c23b
lua: merged 5.3.2
2016-01-28 14:41:39 +00:00
christos
f5de81ed67
Add a coverity annotation; string bytes follow the struct. It would be
...
better to add a char bytes[]; at the end of the struct.
2015-10-14 01:49:46 +00:00
mbalmer
fd3d11729f
no floating point in the kernel, also make sure we always return an int
2015-10-11 09:21:15 +00:00
mbalmer
339173929c
fix macro usage
2015-10-11 09:06:21 +00:00
christos
aa6d45f9f5
Get rid of the sprintf() bogus macro and use lengths explicitly when buffers
...
are involved.
2015-10-11 01:01:45 +00:00
mbalmer
5f69bf5a0f
fix kernel module build
2015-10-08 13:40:16 +00:00
mbalmer
bee0986226
update after conflict resolution
2015-10-08 13:21:00 +00:00
mbalmer
f03f2e0f6f
update docs after conflict resolution
2015-10-08 12:46:20 +00:00
mbalmer
b2829499b0
Resolve conflicts.
2015-10-08 12:40:05 +00:00
mbalmer
21f9e8b0ed
Lua 5.3.1
2015-10-08 12:25:22 +00:00
lneto
bfd43003e4
lua(4): small fixes in kernel Lua
...
* fixed hex parsing
* restored lua_isnumber
* removed unwanted macros from luaconf.h
* restored <stdarg.h> include in ldebug.c
* removed doubles from unions
* removed unused functions
2015-02-19 04:46:22 +00:00
christos
a230e8e5ec
remove LINTFLAGS
2015-02-09 20:41:01 +00:00
christos
cf8359160b
- use CPPFLAGS instead of CFLAGS for things that the c-preprocessor handle.
...
- add LUA_C89_NUMBERS for "long long" and don't depend on _NETBSD_SOURCE
for defining this.
2015-02-09 16:47:17 +00:00
christos
0f74422800
Packages always build lib first even if it is built as part of the first
...
pass in the library builds. If we want to change this, we should change it
everywhere.
2015-02-09 16:44:53 +00:00
lneto
c4f5e3dda4
lua: fixed LUA_ROOT, LUA_PATH_DEFAULT and LUA_CPATH_DEFAULT
...
* reverted from r1.8 (mbalmer)
2015-02-04 04:47:57 +00:00
lneto
730082507e
lua: updated from 5.3 work3 to 5.3.0
...
* improved the overall kernel Lua patch; fixed coercion
* updated lua/syslog
* updated luapmf and luasystm Makefiles
2015-02-02 14:03:05 +00:00
lneto
28a92413eb
imported Lua 5.3.0
2015-02-02 02:01:06 +00:00
lneto
789f0f4f81
lua(4): fixed Lua stack size
2014-11-30 19:00:46 +00:00
lneto
e40402f997
imported Lua 5.3 work3
2014-07-20 23:17:27 +00:00
lneto
6953723d32
lua(4): fixed ldblib.c
...
* for some reason it wasn't added on my last commit
2014-07-19 19:37:31 +00:00
lneto
4ab4902eb2
lua: updated from 5.1 to 5.3 work3
...
* lua(1):
- changed lua_Integer to intmax_t
- updated distrib/sets/lists and etc/mtree
- updated bsd.lua.mk
- fixed bozohttpd (lua-bozo.c)
- compatibilized bindings: gpio, sqlite
* lua(4):
- removed floating-point and libc dependencies using '#ifndef _KERNEL'
- fixed division by zero and exponentiation
- libkern: added isalnum(), iscntrl(), isgraph(), isprint() and ispunct()
- acpica: removed isprint() from acnetbsd.h
- libc: moved strcspn.c, strpbrk.c and strspn.c to common
- removed stub headers
- compatibilized bindings: luapmf, luasystm
* reorganized luaconf.h
* updated doc/CHANGES and doc/RESPONSIBLE
2014-07-19 18:38:33 +00:00
lneto
7bdc78426d
lua(4): added debug library
2014-07-19 17:21:24 +00:00
lneto
5df591ffe3
lua(4): preventing division by zero
...
* note: we should raise an error instead of return INTMAX_MAX
2014-07-19 17:11:52 +00:00
christos
c6b4d36c05
kill sprintf
2014-03-26 22:03:26 +00:00
lneto
5588522013
changed lua_Number and lua_Integer to intmax_t in lua(4)
...
*
2013-12-16 23:25:56 +00:00
lneto
8e5c8a05b5
fixed lua(4) build (added _KERNEL guard into lstrlib.c to avoid double usage)
2013-12-02 23:06:35 +00:00
lneto
2421e2bfaa
merged luaconf.h of kernel and userspace Lua
2013-12-02 06:07:22 +00:00
lneto
f4a57b49a2
put Lua auxlib and some stdlibs in lua(4)
2013-12-02 04:57:41 +00:00
joerg
ab327b931c
Needs libm.
2013-09-11 09:59:52 +00:00
jmmv
0a00e59342
Install lua.hpp.
2013-02-15 20:07:00 +00:00
alnsn
381b31e921
Don't overwrite Roberto's external $Id.
2012-03-15 01:02:19 +00:00
alnsn
a52d12daae
Resolve conflicts.
2012-03-15 00:17:22 +00:00
alnsn
7e762f0e7b
Import Lua 5.1.5
2012-03-15 00:08:04 +00:00
joerg
a322032f80
Disable -Wempty-body here.
2012-02-28 22:07:16 +00:00
christos
6ee25ca9b9
use cleantags, instead of home grown copy.
2011-10-08 19:28:38 +00:00
plunky
f5d0a5824d
libterminfo needs to come after libedit for static linking
...
(while here, coalesce LDADD/DPADD lines)
2011-01-19 11:55:50 +00:00
plunky
3b635a0579
add note that the static linking of liblua is intentional
...
("hidden" symbols need to be reached)
2011-01-19 11:43:18 +00:00
plunky
96e4690f7b
link against the dynamic library [liblua.so]
...
we could link against the static liblua.a here (the Lua dist build
does that) but would need to pass "-Wl,--export-dynamic" to ensure that
all symbols were available, as dlopen() with other modules may cause
problems later.
2011-01-19 11:38:15 +00:00
plunky
74b96c56e3
DPADD for libm too
2011-01-19 11:02:00 +00:00
plunky
29062015ed
include libm and libedit in DPADD
2011-01-19 10:17:04 +00:00
plunky
60d4fe2962
add to (rather than replace) CFLAGS
2011-01-19 10:14:49 +00:00
he
47147f658b
To allow static linking, specify -lterminfo as well, and don't rely
...
on shared library inter-dependencies to pull everything together.
Fixes the build for sun2.
2010-11-05 10:50:50 +00:00
mbalmer
97213731c9
Lua build infrastructure
2010-10-31 11:26:01 +00:00
mbalmer
ee59b191f4
adjust the Lua configuration to our needs
2010-10-31 11:19:42 +00:00
mbalmer
33fc08400c
add teh script used to prepare the source code
2010-10-31 11:18:20 +00:00
mbalmer
dbec530483
Import the (unaltered) Lua 5.1.4 source distribution.
2010-10-31 11:16:48 +00:00
mbalmer
debeea5823
Accidentally these files were imported one level to high, sorry about that.
2010-10-31 11:14:02 +00:00
mbalmer
56288e6a3c
Import the (unaltered) Lua 5.1.4 distribution.
2010-10-31 11:08:37 +00:00