grub/util
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
..
elf 2009-06-22 Robert Millan <rmh.grub@aybabtu.com> 2009-06-22 10:27:26 +00:00
grub.d 2009-06-28 Pavel Roskin <proski@gnu.org> 2009-06-29 02:59:53 +00:00
i386 2009-07-01 Robert Millan <rmh.grub@aybabtu.com> 2009-07-01 13:01:33 +00:00
ieee1275 * disk/ieee1275/ofdisk.c (compute_dev_path): New. 2009-05-04 23:13:53 +00:00
powerpc/ieee1275 2009-07-01 Robert Millan <rmh.grub@aybabtu.com> 2009-07-01 13:01:33 +00:00
sparc64/ieee1275 2009-07-01 Robert Millan <rmh.grub@aybabtu.com> 2009-07-01 13:01:33 +00:00
console.c remove all trailing whitespace 2009-06-10 21:04:23 +00:00
deviceiter.c 2009-06-09 Robert Millan <rmh.grub@aybabtu.com> 2009-06-09 14:42:37 +00:00
devicemap.c * util/sparc64/ieee1275/misc.c: New file. 2009-04-22 09:57:39 +00:00
getroot.c remove all trailing whitespace 2009-06-10 21:04:23 +00:00
grub-dumpbios.in 2009-04-10 Bean <bean123ch@gnail.com> 2009-04-10 15:33:34 +00:00
grub-dumpdevtree 2009-05-03 Vladimir Serbinenko <phcoder@gmail.com> 2009-05-02 23:19:20 +00:00
grub-editenv.c remove all trailing whitespace 2009-06-10 21:04:23 +00:00
grub-emu.c 2009-07-01 Pavel Roskin <proski@gnu.org> 2009-07-01 15:59:05 +00:00
grub-fstest.c 2009-03-21 Bean <bean123ch@gmail.com> 2009-03-21 08:39:59 +00:00
grub-macho2img.c remove all trailing whitespace 2009-06-10 21:04:23 +00:00
grub-mkconfig.in 2009-06-21 Colin Watson <cjwatson@ubuntu.com> 2009-06-21 11:21:59 +00:00
grub-mkconfig_lib.in 2009-06-04 Robert Millan <rmh.grub@aybabtu.com> 2009-06-04 11:37:44 +00:00
grub-mkdevicemap.c remove all trailing whitespace 2009-06-10 21:04:23 +00:00
grub-mkfont.c 2009-01-27 Vesa Jääskeläinen <chaac@nic.fi> 2009-01-27 18:26:09 +00:00
grub-pe2elf.c 2009-06-11 Colin Watson <cjwatson@ubuntu.com> 2009-06-11 17:02:26 +00:00
grub-probe.c remove all trailing whitespace 2009-06-10 21:04:23 +00:00
hostdisk.c 2009-07-01 Pavel Roskin <proski@gnu.org> 2009-07-01 23:58:30 +00:00
hostfs.c remove all trailing whitespace 2009-06-10 21:04:23 +00:00
lvm.c remove all trailing whitespace 2009-06-10 21:04:23 +00:00
misc.c 2009-07-01 Pavel Roskin <proski@gnu.org> 2009-07-01 15:59:05 +00:00
osdetect.lua 2009-07-05 Bean <bean123ch@gmail.com> 2009-07-05 09:59:27 +00:00
raid.c remove all trailing whitespace 2009-06-10 21:04:23 +00:00
resolve.c remove all trailing whitespace 2009-06-10 21:04:23 +00:00
update-grub_lib.in * util/grub-mkconfig_lib.in (grub_warn): New function. 2008-11-20 19:22:20 +00:00
usb.c remove all trailing whitespace 2009-06-10 21:04:23 +00:00