summaryrefslogtreecommitdiff
path: root/com32/lua/src/liolib.c
Commit message (Collapse)AuthorAgeFilesLines
* lua: upgrade to 5.2.3Ferenc Wágner2014-03-021-11/+12
|
* lua: the COM32 API supports only part of iolibFerenc Wágner2014-03-011-0/+20
|
* lua: import Lua 5.2.2Ferenc Wágner2014-03-011-230/+314
| | | | | | Source downloaded from http://www.lua.org/ftp/lua-5.2.2.tar.gz. The com32/lua directory now matches exactly the source distribution, plus the various Syslinux extension modules and their documentation.
* The current Lua.c32 does not enable io.read() due to some missing library ↵Hung-chi Lihn2012-09-221-11/+29
| | | | | | | | | | | | functions. However, this strongly limits the Lua script from getting user inputs and reading files (even in pxelinux via TFTP). This patch enables io.read() in Lua.c32 with some restrictions: 1. the io.read("*line") is fully supported. 2. the io.read("*number") is not supported due to the missing buffering in underlying file I/Os. However, the user can read a line using io.read() and convert the string to numbers using the built in pattern matching and number conversion features. 3. io.read(bytes) is supported. However, io.read(0) will not be a valid test for EOF due to the missing I/O buffering. io.read() will return nil if EOF is encountered. This offers an alternative way to handle EOF. Signed-off-by: Hung-chi Lihn <hlihn@google.com> Signed-off-by: Erwan Velu <erwanaliasr1@gmail.com>
* lua: Updating to 5.1.4.2Erwan Velu2011-02-071-2/+5
| | | | Taken from http://www.lua.org/ftp/patch-lua-5.1.4-2
* lua: Updating to 5.1.4Erwan Velu2011-02-071-13/+13
| | | | | | Updating base code to 5.1.4 Adding -DSYSLINUX build flag Moving #if 0 to ifndef SYSLINUX
* lua: quiet warnings about unused variables and functionssyslinux-4.01H. Peter Anvin2010-07-021-2/+2
| | | | | | | Quiet gcc warnings about unused variables and functions -- things that are not used in the Syslinux environment at this time. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* COM32: lua - (re-)enable liolib to get printf like functionMarcel Ritter2008-12-151-8/+15
|
* Import Lua 5.1.3Alexey Zaytsev2008-07-181-0/+553
Signed-off-by: Alexey Zaytsev <zaytsev.a@protei.ru>