summaryrefslogtreecommitdiff
path: root/com32/lua/src
Commit message (Collapse)AuthorAgeFilesLines
* lua: change syslinux.sleep() to seconds, syslinux.msleep() to msH. Peter Anvin2010-07-051-1/+10
| | | | | | | For consistency with just about everything else, make syslinux.sleep() count seconds, and syslinux.msleep() count milliseconds. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* com32: add proper sleep()/msleep() functions and make Lua use themH. Peter Anvin2010-07-052-5/+4
| | | | | | | Add proper sleep() and msleep() functions, which among other things call syslinux_idle(), and make Lua use them. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Merge remote branch 'marcel/luaext'H. Peter Anvin2010-07-056-11/+754
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge Marcel Ritter's work on the lua branch: The last time he wrote about the state of his lua branch: http://syslinux.zytor.com/archives/2009-October/013383.html The current state is: - VESA: - switching to vesa mode works - loading/displaying images works - display text works (s. com32/lua/test/vesa.lua) - PCI: - list PC devices + ID - get human-readable device name for device (s. com32/lua/test/pci.lua) - DMI: - get DMI info (BIOS, Hardware, etc). (s. com32/lua/test/dmi.lua) - syslinux: - loading files, kernel, initrd - start kernel, initrd, local boot ... just working on this, so no example lua file right now Most of the actual merging work was done by Gert Hulselmans <gerth@zytor.com>. Resolved Conflicts: com32/lib/sys/vesa/initvesa.c com32/lua/src/Makefile Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * Loading of kernel and ramdisk worksMarcel Ritter2009-10-161-0/+120
| |
| * More debugging removedMarcel Ritter2009-10-151-0/+2
| |
| * Disabled debug outputMarcel Ritter2009-10-151-3/+4
| |
| * Fixed vesa stuffMarcel Ritter2009-10-102-1/+22
| |
| * Added sleep()Marcel Ritter2009-10-092-39/+92
| | | | | | | | | | Added some comments Fixed cmdline parsing
| * Prepare for arg parsing supportMarcel Ritter2009-10-091-1/+229
| |
| * COM32: lua - add vesa functions (only mode listing right now)Marcel Ritter2008-12-154-0/+133
| |
| * COM32: lua - basic pci functions implementedMarcel Ritter2008-12-154-1/+190
| |
* | lua: quiet warnings about unused variables and functionssyslinux-4.01H. Peter Anvin2010-07-023-2/+5
| | | | | | | | | | | | | | 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>
* | lua: add parents to luaconf.h to quiet a gcc warningH. Peter Anvin2010-07-021-2/+2
| | | | | | | | | | | | | | | | gcc warns about suspicious-looking code with a comparison inside ==. The code is correct, but add parens so that gcc know we know it is correct. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* | lua: add missing <syslinux/boot.h> to syslinux.cH. Peter Anvin2010-07-021-0/+1
| | | | | | | | | | | | Need header files for functions we invoke. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* | lua: Modernize the MakefileH. Peter Anvin2010-07-021-73/+27
| | | | | | | | | | | | | | | | | | | | | | Modernize the Makefile for lua to match the current style, in particular to have it pick up its configuration and rules from the central MCONFIG file. This also fixes the incorrect use of "clean" vs. "spotless" which was picked up from the Makefile style in use at that time. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* | lua: update for Syslinux 4Geert Stappers2010-07-012-6/+16
|/ | | | Update the lua code to work with Syslinux 4.
* COM32: lua - added dmi functionsMarcel Ritter2008-12-154-1/+303
|
* COM32: lua - added simple syslinux_run_command functionMarcel Ritter2008-12-154-0/+34
|
* COM32: lua - (re-)enable liolib to get printf like functionMarcel Ritter2008-12-153-9/+17
|
* Err.Alexey Zaytsev2008-07-181-1/+1
| | | | Signed-off-by: Alexey Zaytsev <zaytsev.a@protei.ru>
* Final touhes.Alexey Zaytsev2008-07-183-2/+9
| | | | Signed-off-by: Alexey Zaytsev <zaytsev.a@protei.ru>
* Don't load the io and os libs, we cant compile them right now.Alexey Zaytsev2008-07-181-2/+2
| | | | Signed-off-by: Alexey Zaytsev <zaytsev.a@protei.ru>
* Can't load precompiled binaries because if missing ungetcAlexey Zaytsev2008-07-181-0/+2
| | | | Signed-off-by: Alexey Zaytsev <zaytsev.a@protei.ru>
* Add some more lua libs to be compiled.Alexey Zaytsev2008-07-181-2/+5
| | | | Signed-off-by: Alexey Zaytsev <zaytsev.a@protei.ru>
* Applyed the Go Long Lua! patchAlexey Zaytsev2008-07-186-6/+89
| | | | | | from http://lua-users.org/wiki/LuaPowerPatches Signed-off-by: Alexey Zaytsev <zaytsev.a@protei.ru>
* Replace strcoll with strcmp, we don't have the locale stuff.Alexey Zaytsev2008-07-181-1/+2
| | | | Signed-off-by: Alexey Zaytsev <zaytsev.a@protei.ru>
* Remove the signal.h dependency from lua.cAlexey Zaytsev2008-07-181-5/+5
| | | | Signed-off-by: Alexey Zaytsev <zaytsev.a@protei.ru>
* Remove the locale.h dependency from llex.hAlexey Zaytsev2008-07-181-3/+3
| | | | Signed-off-by: Alexey Zaytsev <zaytsev.a@protei.ru>
* Compile liblua, lua.c32Alexey Zaytsev2008-07-181-10/+19
| | | | Signed-off-by: Alexey Zaytsev <zaytsev.a@protei.ru>
* Copy the Makefile from the samples dir.Alexey Zaytsev2008-07-181-0/+91
|
* Rename the Lua MakefilesAlexey Zaytsev2008-07-181-0/+0
| | | | Signed-off-by: Alexey Zaytsev <zaytsev.a@protei.ru>
* Import Lua 5.1.3Alexey Zaytsev2008-07-1856-0/+17108
Signed-off-by: Alexey Zaytsev <zaytsev.a@protei.ru>