Commit graph

14 commits

Author SHA1 Message Date
adam
3132632bfa Lua 5.2 was released on 16 Dec 2011. Its main new features are yieldable pcall and metamethods, new lexical scheme for globals, ephemeron tables, new library for bitwise operations, light C functions, emergency garbage collector, goto statement, and finalizers for tables. 2013-07-04 18:04:42 +00:00
wiz
2b0b56df41 Update to 5.1.5.
Lua 5.1.5 released. This is a bug-fix release.
(no further changelog found)

Remove master site that doesn't have new tarball.
Fix pkglint warning in patch-ac.
2012-03-12 15:49:27 +00:00
joerg
edbc2fac64 Replace @exec/@unexec with @pkgdir or drop it. 2009-06-14 20:34:12 +00:00
joerg
62d1ba2bac Remove @dirrm entries from PLISTs 2009-06-14 18:03:28 +00:00
wiz
d581a24b8b Update to 5.1.4:
Bugfix release.
2008-09-07 14:03:42 +00:00
obache
52beb69044 Update lua to 5.1.2.
Patch provided by Holger Weiss in PR 36333.
And specify more platform target.

This release fixes all known bugs in 5.1.1.
2007-06-15 17:45:37 +00:00
wiz
c1f87ab1d4 Update to 5.1.1. Almost all dependencies need adaptation -> bump API.
Changes:

* Changes from version 5.0 to 5.1
  -------------------------------
  Language:
  + new module system.
  + new semantics for control variables of fors.
  + new semantics for setn/getn.
  + new syntax/semantics for varargs.
  + new long strings and comments.
  + new `mod' operator (`%')
  + new length operator #t
  + metatables for all types
  API:
  + new functions: lua_createtable, lua_get(set)field, lua_push(to)integer.
  + user supplies memory allocator (lua_open becomes lua_newstate).
  + luaopen_* functionst must be called through Lua.
  Implementation:
  + new configuration scheme via luaconf.h.
  + incremental garbage collection.
  + better handling of end-of-line in the lexer.
  + fully reentrant parser (new Lua function `load')
  + better support for 64-bit machines.
  + native loadlib support for Mac OS X.
  + standard distribution in only one library (lualib.a merged into lua.a)
2006-08-14 22:31:39 +00:00
jlam
bc9d159416 Libtoolize lua build. Since the shared library version has changed,
bump the PKGREVISION to 4, and set BUILDLINK_RECOMMENDED.lua appropriately
in the buildlink3.mk file.
2005-09-04 04:59:36 +00:00
xtraeme
da955d0738 Install bin2c binary located in ${WRKSRC}/etc, it's needed to build
some lua libraries; pointed out by pancake. No bump PKGREVISION this time.
2004-04-05 14:54:34 +00:00
xtraeme
6982011999 Update lua to 5.0.2, from Bruce J.A. Nourish via tech-pkg@.
Lua 5.0.2 is a bugfix release, which contains the following fixes:

src/ldo.c
        Attempt to resume running coroutine crashed Lua
src/lgc.c
        C functions also may have stacks larger than current top
        Userdata to be collected still counted into new GC threshold
src/lgc.h
        Userdata to be collected still counted into new GC threshold
src/lparser.c
        Syntax `local function' did not increment stack size
src/lvm.c
        `pc' address was invalidated when a coroutine was suspended
        Count hook might be called without being set
src/lib/lbaselib.c
        Buffer overflow for unusual %p representation
        Wrong number of returns from chunks loaded from stdin
src/lib/liolib.c
        `file.close()' could not be called without arguments
        Buffer overflow for unusual %p representation
src/luac/luac.c
        Missing lock/unlock
2004-04-05 02:31:06 +00:00
cube
0e065524f7 Compile and install etc/bin2c, which is expected by some modules. Fixes
PR 24219 by pancake at phreaker dot net.  Bump PKGREVISION.
2004-01-25 10:48:21 +00:00
jtb
73eeabad22 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-29 23:33:56 +00:00
jtb
ba9b6f63bc 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-02-22 00:51:58 +00:00
zuntum
a437fd43cc Move pkg/ files into package's toplevel directory 2001-11-01 00:20:13 +00:00
Renamed from lang/lua/pkg/PLIST (Browse further)