2004-01-26 14:55:14 by David Brownlee | Files touched by this commit (1) |
Log message:
Set 'MAKE_ENV+= NOGCCERROR=yes' to avoid a warning causing sparc64 build to
break. Reported to lua authors.
|
2004-01-25 11:48:21 by Quentin Garnier | Files touched by this commit (5) |
Log message:
Compile and install etc/bin2c, which is expected by some modules. Fixes
PR 24219 by pancake at phreaker dot net. Bump PKGREVISION.
|
2004-01-05 11:06:43 by Quentin Garnier | Files touched by this commit (2) |
Log message:
Update to 5.0.1. There is no changelog in the tarball, because it is a
pre-release. However, it is unlikely to change for the final release of
5.0.1.
Fixed bugs:
1. lua_closethread exists only in the manual
2. attempt to resume a running coroutine crashes Lua
3. file:close cannot be called without a file. (results in seg. fault)
4. C functions may have stacks larger than current top
5. `pc' address is invalidated when a coroutine is suspended
6. userdata to be collected still counts into new GC threshold,
increasing memory consumption
7. IBM AS400 (OS400) has sizeof(void *)==16, and a `%p' may generate up
to 60 characters in a `printf'. That causes a buffer overflow in
`tostring'.
8. syntax `local function' does not increment stack size
9. count hook may be called without being set
|
2003-07-17 23:50:07 by grant beattie | Files touched by this commit (1504) |
Log message:
s/netbsd.org/NetBSD.org/
|
2003-06-02 03:21:53 by Jan Schaumann | Files touched by this commit (1131) |
Log message:
Use tech-pkg@ in favor of packages@ as MAINTAINER for orphaned packages.
Should anybody feel like they could be the maintainer for any of thewe packages,
please adjust.
|
2003-04-30 01:33:57 by Jason Beegan | Files touched by this commit (9) |
Log message:
Update to version 5.0.
* Changes from version 4.0 to 5.0
-------------------------------
Language:
+ lexical scoping.
+ Lua coroutines.
+ standard libraries now packaged in tables.
+ tags replaced by metatables and tag methods replaced by metamethods,
stored in metatables.
+ proper tail calls.
+ each function can have its own global table, which can be shared.
+ new __newindex metamethod, called when we insert a new key into a table.
+ new block comments: --[[ ... ]].
+ new generic for.
+ new weak tables.
+ new boolean type.
+ new syntax "local function".
+ (f()) returns the first value returned by f.
+ {f()} fills a table with all values returned by f.
+ \n ignored in [[\n .
+ fixed and-or priorities.
+ more general syntax for function definition (e.g. function a.x.y:f()...end).
+ more general syntax for function calls (e.g. (print or write)(9)).
+ new functions (time/date, tmpfile, unpack, require, load*, etc.).
API:
+ chunks are loaded by using lua_load; new luaL_loadfile and luaL_loadbuffer.
+ introduced lightweight userdata, a simple "void*" without a metatable.
+ new error handling protocol: the core no longer prints error messages;
all errors are reported to the caller on the stack.
+ new lua_atpanic for host cleanup.
+ new, signal-safe, hook scheme.
Implementation:
+ new license: MIT.
+ new, faster, register-based virtual machine.
+ support for external multithreading and coroutines.
+ new and consistent error message format.
+ the core no longer needs "stdio.h" for anything (except for a single
use of sprintf to convert numbers to strings).
+ lua.c now runs the environment variable LUA_INIT, if present. It can
be "@filename", to run a file, or the chunk itself.
+ support for user extensions in lua.c.
sample implementation given for command line editing.
+ new dynamic loading library, active by default on several platforms.
+ safe garbage-collector metamethods.
+ precompiled bytecodes checked for integrity (secure binary dostring).
+ strings are fully aligned.
+ position capture in string.find.
+ read('*l') can read lines with embedded zeros.
|
2003-04-04 19:35:21 by David Brownlee | Files touched by this commit (1) |
Log message:
Shorten COMMENT
|
2003-02-22 01:51:59 by Jason Beegan | Files touched by this commit (9) |
Log message:
Update to version 4.0.1.
Added my own makefiles to create shared versions of the libraries
using bsd.lib.mk.
Changes in Lua itself:
lua/src/lapi.c
lua/src/lstring.c
Fixed a bug in lua_pushuserdata(L, NULL)
lua/src/ldo.c
lua/src/lgc.c
lua/src/lgc.h
Give a good chance for GC before parsing
lua/src/lparser.c
Fixed a bug (did not accept `;' after a `return')
lua/src/lvm.c
Fixed a bug (linehook off by 1)
lua/src/lib/lbaselib.c
Fixed a bug in rawget and rawset (seg. fault if given extra arguments)
Fixed a bug in dostring (identification of precompiled chunks)
|
2003-01-26 22:38:24 by Lubomir Sedlacik | Files touched by this commit (1) | |
Log message:
Add buildlink2.mk. It will be used by the updated elinks package.
|