Commit Graph
100 Commits
Author SHA1 Message Date
BVK Chaitanya f6023b613f comments 2010-07-17 01:32:36 +05:30
BVK Chaitanya d9b78bce4a more build fixes 2010-07-15 02:02:01 +05:30
BVK Chaitanya c1c6e4c017 emu platform fixes 2010-07-13 23:58:30 +05:30
BVK Chaitanya 911bd64013 make build by default 2010-07-13 23:35:24 +05:30
BVK Chaitanya 297f0c2b6e merge with mainline 2010-07-13 00:43:28 +05:30
BVK Chaitanya 96e5c55634 Add "-o grub.iso" like cmdline options support.
* util/grub-install.in: Improve cmdline option parsing.
	* util/grub-mkconfig.in: Likewise.
	* util/grub-mkrescue.in: Likewise.
	* util/grub-reboot.in: Likewise.
	* util/grub-set-default.in: Likewise.
	* util/i386/efi/grub-install.in: Likewise.
	* util/ieee1275/grub-install.in: Likewise.
	* util/powerpc/ieee1275/grub-mkrescue.in: Likewise.
2010-06-12 20:30:38 +05:30
BVK Chaitanya b2ffba9c08 merge with mainline 2010-06-12 20:25:26 +05:30
BVK Chaitanya d6d0c209d9 merge with mainline 2010-06-12 16:21:10 +05:30
BVK Chaitanya d270972ab0 fix pkglibrootdir for grub-mkimage 2010-06-08 18:08:45 +05:30
BVK Chaitanya ff174dbea1 add autogen to INSTALL 2010-06-08 17:37:17 +05:30
BVK Chaitanya baea17662b merge with mainline 2010-06-08 09:36:44 +05:30
BVK Chaitanya e235a2289d more cygwin fixes 2010-06-07 21:28:37 +05:30
BVK Chaitanya 2d465fb052 cygwin fixes 2010-06-07 17:23:54 +05:30
BVK Chaitanya 83fb6e1d48 freebsd fixes 2010-06-05 13:15:18 +05:30
BVK Chaitanya bf14a41c81 fixes for netbsd 2010-06-05 12:20:37 +05:30
BVK Chaitanya 40f8acbc5b cleanup 2010-06-05 11:40:25 +05:30
BVK Chaitanya d3ff5a05eb fix for cygwin build 2010-06-04 16:48:42 +05:30
BVK Chaitanya b89561390c remove Ruby requirement from INSTALL 2010-06-04 15:00:59 +05:30
BVK Chaitanya c0bb7fb68f add -lutil for netbsd 2010-06-04 10:30:25 +05:30
BVK Chaitanya d5c3b7ce01 rename libutil to libgrub 2010-06-04 09:34:28 +05:30
BVK Chaitanya 1896a4aacb bzignore updates 2010-06-03 15:32:21 +05:30
BVK Chaitanya 610c1efd10 more cleanup 2010-06-03 15:30:15 +05:30
BVK Chaitanya a60f6ee1ac cleanup 2010-06-03 11:52:33 +05:30
BVK Chaitanya bd7390ee84 pull-in emu-lite fixes 2010-06-02 15:18:33 +05:30
BVK Chaitanya 6d6f139349 review fixes 2010-06-02 14:45:07 +05:30
BVK Chaitanya e508977630 review fixes 2010-06-02 13:51:05 +05:30
BVK Chaitanya 13d7b4b0de merge with mainline 2010-06-02 09:12:52 +05:30
BVK Chaitanya a762e3c335 merge with mainline 2010-06-01 17:52:31 +05:30
BVK Chaitanya fe16b84557 pull-in emu-lite 2010-06-01 09:12:01 +05:30
BVK Chaitanya fa4b84900a Fix grub-emu issues on NetBSD, with gcc 4.1.3.
* conf/any-emu.rmk: Remove unnecessary COMMON_CFLAGS.
	* include/grub/emu/misc.h (canonicalize_file_name): New Prototype.
	* kern/misc.c (__enable_execute_stack): Disable on
	GRUB_MACHINE_EMU.
2010-05-28 19:18:45 +05:30
BVK Chaitanya 64c10cde57 merge with mainline 2010-05-28 16:23:07 +05:30
BVK Chaitanya 16eaf6f7c6 fixes for netbsd build 2010-05-28 16:18:22 +05:30
BVK Chaitanya 692d7c2855 pull-in emu-lite branch 2010-05-26 17:49:05 +05:30
BVK Chaitanya ac4d5ab783 removed kern/emu/dl.c 2010-05-26 16:58:29 +05:30
BVK Chaitanya c53fe8dfbb build fixes for sparc64 and freebsd platforms 2010-05-26 16:53:43 +05:30
BVK Chaitanya 066e9dd87e pull-in emu-fixes branch 2010-05-26 09:58:23 +05:30
BVK Chaitanya 5f02926bbc emu build fixes for sparc64 and freebsd 2010-05-26 09:56:59 +05:30
BVK Chaitanya 7d8c021353 * INSTALL: Added flex >= 2.5.35 requirement. 2010-05-25 18:24:46 +05:30
BVK Chaitanya a6b1d2075e merge with mainline 2010-05-25 17:11:24 +05:30
BVK Chaitanya e9c5186cf8 merge with mainline 2010-05-25 16:09:03 +05:30
BVK Chaitanya 526397f415 merge with mainline 2010-05-20 14:52:25 +05:30
BVK Chaitanya 123b7a8571 Fix grub-mkrescue usage unit testing.
* tests/util/grub-shell.in: Use --grub-mkimage with grub-mkrescue.
2010-05-19 14:31:43 +05:30
BVK Chaitanya f4fc97d02a source tree reorg for emu platform 2010-05-17 21:10:53 +05:30
BVK Chaitanya d2d32327a8 merge with mainline 2010-05-17 20:36:05 +05:30
BVK Chaitanya 2e33ae0d1b few minor fixes 2010-05-10 15:37:18 +05:30
BVK Chaitanya 1426af206c fix vga.c 2010-05-10 15:08:02 +05:30
BVK Chaitanya 8be3ced19f fix mips build 2010-05-10 14:05:10 +05:30
BVK Chaitanya 062cdbc1ca added i386-multiboot support 2010-05-10 13:50:43 +05:30
BVK Chaitanya 7361f78ca6 merge with mainline 2010-05-10 12:59:57 +05:30
BVK Chaitanya f1c891902d merge with mainline 2010-05-06 21:22:08 +05:30
BVK Chaitanya ac49c9200a merge with emu-lite again 2010-05-06 13:13:26 +05:30
BVK Chaitanya 1828cb6098 merge with emu-reorg 2010-05-06 13:06:51 +05:30
BVK Chaitanya 16321bf9ca pull-in emu-lite branch 2010-05-06 12:55:47 +05:30
BVK Chaitanya 7ad9681655 add missing files 2010-05-06 11:38:35 +05:30
BVK Chaitanya 8c41176882 automake commit without merge history 2010-05-06 11:34:04 +05:30
BVK Chaitanya 60b4a7c45b sparc build fix 2010-05-06 10:16:55 +05:30
BVK Chaitanya ab4da2cd36 build fixes for real platforms 2010-05-06 09:33:45 +05:30
BVK Chaitanya da6e6f17f3 cygwin emu build fixes 2010-05-06 08:45:39 +05:30
BVK Chaitanya 725396942e replace --enable-grub-emu-modules with grub-emu-lite 2010-05-04 09:47:48 +05:30
BVK Chaitanya a06157aa05 pull in emu-reorg branch 2010-05-04 09:18:33 +05:30
BVK Chaitanya 81827e248c merge with mainline 2010-05-04 09:09:03 +05:30
BVK Chaitanya a8ebb84111 Fix comment handling.
* tests/grub_script_comments.in: New testcase.
	* conf/tests.rmk: Rules for new testcase.
	* script/yylex.l: Updated flex rules.
2010-05-01 15:49:43 +05:30
BVK Chaitanya c548018b7c added few more test cases 2010-05-01 15:39:59 +05:30
BVK Chaitanya 6fdda85ae6 fix comment and brace handling 2010-04-30 13:50:41 +05:30
BVK Chaitanya b84cac2a36 undo some hunks that were removed by mistake 2010-04-27 20:59:45 +05:30
BVK Chaitanya f07ccea799 removed some duplicate code 2010-04-27 20:55:12 +05:30
BVK Chaitanya 4c7085f82b added support for --enable-grub-emu-modules build 2010-04-27 13:57:14 +05:30
BVK Chaitanya 840b61d8f0 reorganized grub-emu sources to suite upcoming automake build system 2010-04-27 10:50:28 +05:30
BVK Chaitanya bc4a2d832b Fix emu build with grub-emu-pci and grub-emu-modules.
* include/grub/util/misc.h: Export grub_util_{info,error,warn}
	functions.
	* include/grub/libpciaccess.h: New file.
	* conf/any-emu.rmk: Update kernel headers for emu build.
2010-04-19 16:04:56 +05:30
BVK Chaitanya 454c3001f2 fix emu build with grub-emu-pci and grub-emu-modules 2010-04-19 15:15:59 +05:30
BVK Chaitanya 08f46d6221 Fix a spurious, uninitialized variable warning.
* loader/i386/bsdXX.c (grub_freebsd_load_elfmodule_obj):
	Initialize variable, shdr.
	(grub_freebsd_load_elfmodule): Likewise.
	(grub_freebsd_load_elf_meta): Likewise.
2010-04-14 13:48:49 +05:30
BVK Chaitanya 851395d865 fix uninitialized warning 2010-04-14 13:38:05 +05:30
BVK Chaitanya 8c4a72d4b5 Fix for escaped dollar in double quoted strings.
* script/yylex.l: Updated flex rules.
	* conf/tests.rmk: Rule for new testcase.
	* tests/grub_script_dollar.in: New testcase.
2010-04-13 21:25:27 +05:30
BVK Chaitanya ae45b7bad4 add missing testcase 2010-04-13 21:01:56 +05:30
BVK Chaitanya 4e6da157dd fix and testcase for \$ in grub script dquote strings 2010-04-13 20:58:12 +05:30
BVK Chaitanya b02c7c8fb5 added getopt like error for missing option parameters 2010-04-12 21:33:03 +05:30
BVK Chaitanya 8f33d5549f merged with mainline 2010-04-12 20:47:25 +05:30
BVK Chaitanya f516290c5a Documentation fix.
* util/grub-script-check.c: Better help message.
2010-04-10 19:28:59 +05:30
BVK Chaitanya 84a09b2134 merged with mainline 2010-04-10 19:18:24 +05:30
BVK Chaitanya d8dcc0dff8 Fix FreeBSD build.
* configure.ac: Flex version check.
	* conf/common.rmk: Add -Wno-error to sh.mod.
	* script/yylex.l: Remove all #pragma.
2010-04-10 19:11:32 +05:30
BVK Chaitanya 505a257475 merged with mainline 2010-04-10 18:38:09 +05:30
BVK Chaitanya 20072d3ad5 merged with mainline 2010-04-10 18:09:56 +05:30
BVK Chaitanya 2663fb5f04 flex version check is now done by awk alone 2010-04-10 18:06:45 +05:30
BVK Chaitanya 7d65244782 Elif support to GRUB script (by Deepak Vankadaru).
* tests/grub_script_if.in: New testcase.
	* conf/tests.rmk: Rule for new testcase.
	* script/parser.y: Grammar rules for elif.
2010-04-09 22:38:27 +05:30
BVK Chaitanya 68b31b54f5 merged with mainline 2010-04-09 22:32:58 +05:30
BVK Chaitanya 34bb22dfa5 While and until loops support to GRUB script.
* include/grub/script_sh.h (grub_script_cmdwhile): New struct.
	(grub_script_create_cmdwhile): New function prototype.
	(grub_script_execute_cmdwhile): New function prototype.
	* script/execute.c (grub_script_execute_cmdwhile): New function.
	* script/parser.y (command): New commands.
	(whilecmd): New grammar rule.
	(untilcmd): New grammar rule.
	* script/script.c (grub_script_create_cmdwhile): New function.
	* util/grub-script-check.c (grub_script_execute_cmdwhile): New
	function.

	* tests/grub_script_while1.in: New testcase.
	* conf/tests.rmk: Rule for new testcase.
2010-04-09 22:04:21 +05:30
BVK Chaitanya c41c00eab6 merged with mainline 2010-04-09 21:44:59 +05:30
BVK Chaitanya 9705115b22 merged with mainline 2010-04-09 20:53:57 +05:30
BVK Chaitanya 14e18ae351 Fix unit testing framework for Qemu 0.12.
* tests/util/grub-shell.in: Remove -serial stdio option.
2010-04-06 19:13:55 +05:30
BVK Chaitanya 4ee717e12b fix freebsd build 2010-04-06 14:39:11 +05:30
BVK Chaitanya fa09c82e6e updated changelog 2010-04-06 12:31:44 +05:30
BVK Chaitanya f9d9068aa7 removed -serial stdio option from qemu cmdline 2010-04-06 12:21:11 +05:30
BVK Chaitanya 6ee26b7469 merged with mainline 2010-04-06 10:07:55 +05:30
BVK Chaitanya daf892b3d4 POSIX header file wrappers.
* lib/posix_wrap/assert.h: New file. Wrapper for its POSIX
	equivalents.
	* lib/posix_wrap/ctype.h: Likewise.
	* lib/posix_wrap/errno.h: Likewise.
	* lib/posix_wrap/langinfo.h: Likewise.
	* lib/posix_wrap/limits.h: Likewise.
	* lib/posix_wrap/localcharset.h: Likewise.
	* lib/posix_wrap/stdint.h: Likewise.
	* lib/posix_wrap/stdio.h: Likewise.
	* lib/posix_wrap/stdlib.h: Likewise.
	* lib/posix_wrap/string.h: Likewise.
	* lib/posix_wrap/sys/types.h: Likewise.
	* lib/posix_wrap/unistd.h: Likewise.
	* lib/posix_wrap/wchar.h: Likewise.
	* lib/posix_wrap/wctype.h: Likewise.
	* conf/common.rmk (grub_script.yy.c): Remove #include elimination.
	(grub_script.yy.h): Likewise.
	* script/yylex.l: Remove POSIX emulation #defines.
	* Makefile.in (POSIX_CFLAGS): New variable.
	(GNULIB_UTIL_CFLAGS): Likewise.

	Regexp support.

	* conf/common.rmk (pkglib_MODULES): Add regexp.mod.
	(regexp_mod_SOURCES): New variable.
	(regexp_mod_CFLAGS): Likewise.
	(regexp_mod_LDFLAGS): Likewise.
	* commands/regexp.c: New file.
	* gnulib/regcomp.c: New file. Imported from gnulib.
	* gnulib/regex.c: Likewise.
	* gnulib/regex_internal.c: Likewise.
	* gnulib/regex_internal.h: Likewise.
	* gnulib/regexec.c: Likewise.
	* gnulib/regex.h: Likewise.
2010-04-06 01:17:32 +05:30
BVK Chaitanya b777c18e38 fixed version canonicalization 2010-04-05 21:47:19 +05:30
BVK Chaitanya 0922019068 added flex version check in configure.ac 2010-04-05 21:08:30 +05:30
BVK Chaitanya 8d2977bb7a fix for final semicolon bug 2010-03-26 23:57:06 +05:30
BVK Chaitanya dae0d05f2d merged with mainline 2010-03-26 23:49:49 +05:30
BVK Chaitanya a7bd6915e1 testcase for blank lines in grub script 2010-03-26 23:41:46 +05:30
BVK Chaitanya 03efaf45b2 merged with mainline 2010-03-26 23:36:14 +05:30