grub/conf
bean b4a1dc7990 2009-07-05 Bean <bean123ch@gmail.com>
* conf/common.rmk (lua_mode_SOURCES): Add script/lua/lstrlib.c.

	* script/lua/grub_lib.c (grub_lua_run): Check input parameter.
	(grub_lua_getenv): Likewise.
	(grub_lua_setenv): Likewise.
	(save_errno): New function.
	(push_result): Likewise.
	(grub_lua_enum_device): Likewise.
	(grub_lua_enum_file): Likewise.
	(grub_lua_file_open): Likewise.
	(grub_lua_file_close): Likewise.
	(grub_lua_file_seek): Likewise.
	(grub_lua_file_read): Likewise.
	(grub_lua_file_getline): Likewise.
	(grub_lua_file_getsize): Likewise.
	(grub_lua_file_getpos): Likewise.
	(grub_lua_file_eof): Likewise.
	(grub_lua_file_exist): Likewise.
	(grub_lua_add_menu): Likewise.

	* script/lua/grub_lua.h (isupper): New inline function.
	(islower): Likewise.
	(ispunct): Likewise.
	(isxdigit): Likewise.
	(strcspn): Change to normal function.
	(strpbkr): New function declaration.
	(memchr): Likewise.

	* script/lua/grub_main.c (scan_str): New function.
	(strcspn): Likewise.
	(strpbrk): Likewise.
	(memchr): Likewise.

	* script/lua/linit.c (lualibs): Enable the string library.

	* util/osdetect.lua: New file.
2009-07-05 09:59:27 +00:00
..
common.rmk 2009-07-05 Bean <bean123ch@gmail.com> 2009-07-05 09:59:27 +00:00
i386-coreboot.rmk 2009-07-01 Robert Millan <rmh.grub@aybabtu.com> 2009-07-01 13:01:33 +00:00
i386-efi.rmk 2009-07-01 Robert Millan <rmh.grub@aybabtu.com> 2009-07-01 13:01:33 +00:00
i386-ieee1275.rmk 2009-07-01 Robert Millan <rmh.grub@aybabtu.com> 2009-07-01 13:01:33 +00:00
i386-pc-cygwin-img-ld.sc 2008-07-24 Bean <bean123ch@gmail.com> 2008-07-24 14:56:30 +00:00
i386-pc.rmk 2009-07-01 Robert Millan <rmh.grub@aybabtu.com> 2009-07-01 13:01:33 +00:00
i386-qemu.rmk 2009-06-27 Pavel Roskin <proski@gnu.org> 2009-06-27 11:18:10 +00:00
i386.rmk 2009-07-01 Robert Millan <rmh.grub@aybabtu.com> 2009-07-01 12:59:47 +00:00
powerpc-ieee1275.rmk 2009-07-01 Robert Millan <rmh.grub@aybabtu.com> 2009-07-01 13:01:33 +00:00
sparc64-ieee1275.rmk 2009-07-01 Robert Millan <rmh.grub@aybabtu.com> 2009-07-01 13:04:38 +00:00
x86_64-efi.rmk 2009-07-01 Robert Millan <rmh.grub@aybabtu.com> 2009-07-01 13:01:33 +00:00