Commit Graph
100 Commits
Author SHA1 Message Date
BVK Chaitanya 8d179dae4e * docs/autoiso.cfg: New file. 2013-10-27 20:34:24 +01:00
BVK Chaitanya 3ace8d7584 * docs/osdetect.cfg: New file. 2013-10-26 18:39:03 +02:00
BVK Chaitanya 1e6ad6a668 * tests/util/grub-shell.in: Add new --debug option. 2013-10-26 15:01:28 +02:00
BVK Chaitanya 188929ebee * tests/test_unset.in: New test. 2013-10-26 14:52:54 +02:00
BVK Chaitanya 7994a09a9b * tests/test_sha512sum.in: New test. 2013-10-26 14:35:35 +02:00
BVK Chaitanya 3d46c22f5b Added `tr' command support.
* grub-core/commands/tr.c: New file.
	* grub-core/Makefile.core.def: Build rules for new module.

	* tests/grub_cmd_tr.in: New test.
	* Makefile.util.def: Build rules for new test.
2013-10-17 19:06:29 +02:00
BVK Chaitanya 8667a314ba * gentpl.py: Use Autogen macros so that the output template file
(Makefile.tpl) size is reduced.
2011-09-30 18:49:37 -07:00
BVK Chaitanya 30aff4cb3a * grub-core/normal/menu_entry.c (run): Execute commands from menu
editor under argument scope.
	Reported by: Jordan Uggla
2010-12-19 09:55:51 +05:30
BVK Chaitanya fcf983f8c7 merge with mainline 2010-12-19 09:17:22 +05:30
BVK Chaitanya 393324be7c execute menu editor commands with argument scope 2010-12-08 16:43:11 +05:30
BVK Chaitanya bddc3ef623 * util/grub-script-check.c (main): Print script line number on
error.
2010-12-03 08:58:34 +05:30
BVK Chaitanya c53c723762 print line number on error 2010-12-03 08:55:57 +05:30
BVK Chaitanya 70b405d8f0 Fix cmdline argument quotes for setparams command of menuentry
definitions.

	* grub-core/commands/menuentry.c (setparams_prefix): Use single
	quotes for arguments.
	* grub-core/lib/legacy_parse.c (grub_legacy_escape): Use
	grub_strchrsub function instead.

	* include/grub/misc.h (grub_strchrsub): New function.
2010-11-25 19:59:10 +05:30
BVK Chaitanya 2c7859b36f merge with mainline 2010-11-25 19:54:50 +05:30
BVK Chaitanya dfda224dd8 variable ordering 2010-11-25 19:07:02 +05:30
BVK Chaitanya 7955bea0d8 fix changelog and doc 2010-11-25 19:05:16 +05:30
BVK Chaitanya 5b08062083 replaced with grub_strchrsub function 2010-11-25 18:56:20 +05:30
BVK Chaitanya d7647bb670 better changelog message 2010-11-25 18:25:26 +05:30
BVK Chaitanya f866fe808b reuse code from legacy parser 2010-11-19 19:08:44 +05:30
BVK Chaitanya 7e623b0d74 add changelog entry 2010-11-19 10:17:16 +05:30
BVK Chaitanya 9acdcbf325 use single quotes in menuentry setparams command 2010-11-19 10:15:25 +05:30
BVK Chaitanya 86643a242f Suppress shell expansion on echo '*' and echo "*" like cases.
Reported by: Jordan Uggla.

	* grub-core/script/execute.c (grub_script_arglist_to_argv): Escape
	string arguments before shell expansion.
	* tests/grub_cmd_echo.in: New testcases.
2010-11-07 20:22:29 +05:30
BVK Chaitanya 87220a6881 merge with mainline 2010-11-07 18:31:41 +05:30
BVK Chaitanya 898c99a2c3 add changelog entry 2010-11-07 16:18:29 +05:30
BVK Chaitanya a8152fedab suppress shell expansion inside quoted strings 2010-11-07 16:13:14 +05:30
BVK Chaitanya 8d40ec6590 NetBSD build fix for getline function conflict from gnulib.
* Makefile.util.def (libgrubkern.a): New library for grub kernel
	components that depend on gnulib headers.
	(libgrubmods.a): Renamed from earlier libgrub.a.
	* conf/Makefile.common: Remove gnulib from *_LIBRARY flags.
2010-10-29 15:26:16 +05:30
BVK Chaitanya 2fb384544a merge with mainline 2010-10-29 15:19:30 +05:30
BVK Chaitanya 3863137172 renamed libemu and libgrub to libgrubkern and libgrubmods respectively 2010-10-29 14:44:25 +05:30
BVK Chaitanya 4b2047e265 netbsd fixes 2010-10-19 10:44:57 +05:30
BVK Chaitanya 30385e717e * util/grub.d/10_linux.in: Fix built-in initramfs image mode for
Linux kernel, reported by Dennis Schridde.
2010-10-18 15:55:56 +05:30
BVK Chaitanya 05f43cdd03 add change log entry 2010-10-18 13:41:00 +05:30
BVK Chaitanya 6351c13140 fix built-in initramfs case 2010-10-18 13:38:42 +05:30
BVK Chaitanya 96510fafd2 fix typo 2010-09-25 10:48:48 +05:30
BVK Chaitanya 449333eb7d Fix grub-emu build.
* grub-core/kern/emu/main.c: Remove #include <getopt.h>.
	* grub-core/kern/emu/full.c: Split grub_mdraid_{init,fini} into
	mdraid09 and mdraid1x.
2010-09-25 10:43:09 +05:30
BVK Chaitanya dd363028e4 * Makefile.util.def (example_unit_test): Add
grub-core/gnulib/libgnu.a.
2010-09-24 08:46:15 +05:30
BVK Chaitanya c2dede052a Add a test for echo command options.
* tests/grub_cmd_echo.in: New test.
	* Makefile.util.def: Rules for new test.
2010-09-20 13:53:55 +05:30
BVK Chaitanya 79c93b429e echo test case 2010-09-20 13:51:16 +05:30
BVK Chaitanya 3572f2b65a Reduce number of temporary files generated by build system.
* grub-core/gencmdlist.sh: Removed.
	* grub-core/genfslist.sh: Removed.
	* grub-core/genhandlerlist.sh: Removed.
	* grub-core/genmodsrc.sh: Removed.
	* grub-core/genpartmaplist.sh: Removed.
	* grub-core/genparttoollist.sh: Removed.
	* grub-core/gentermiinallist.sh: Removed.
	* grub-core/genvideolist.sh: Removed.

	* grub-core/genmod.sh.in: New file.
	* grub-core/gensyminfo.sh.in: New file.

	* conf/Makefile.common (CPPFLAGS_*_LIST): New marker flags.
	* conf/Makefile.extra-dist: Update with new files.
	* gentpl.py: Remove rules related to unnecessary temporary files.
	* grub-core/Makefile.am (syminfo.lst): New replacement for def-*
	and und-* files.
	* grub-core/Makefile.core.def: New rules for gensyminfo.sh and
	genmod.sh scripts.
	* grub-core/bus/usb/uhci.c: Remove empty #define.
	* grub-core/genmoddep.awk: Updated with new syminfo format.
	* util/bash-completion.d/Makefile.am: Add config.log to
	CLEANFILES.
2010-09-19 19:29:36 +05:30
BVK Chaitanya b524259bec merge with mainline 2010-09-19 18:54:45 +05:30
BVK Chaitanya 2f4e8053e0 * util/grub-mkconfig.in: Check the config script for syntax errors
before saving.
2010-09-19 08:49:25 +05:30
BVK Chaitanya 7431d7a49c merge with mainline 2010-09-19 08:45:38 +05:30
bvk.groups@gmail.com 8901b00c88 * tests/partmap_test.in: New test for partitions.
* Makefile.util.def: Rules for new test.
2010-09-09 21:24:17 +05:30
bvk.groups@gmail.com 56672f4a8b added new partmaps test 2010-09-09 21:10:17 +05:30
bvk.groups@gmail.com 058e30ac09 Not command (!) support to GRUB script.
* tests/grub_script_not.in: New test.
	* Makefile.util.def: Rules for new test.

	* grub-core/script/execute.c (grub_script_execute_cmdline): Handle
	! command as a special case.
	* grub-core/script/yylex.l (GRUB_PARSER_TOKEN_NOT): Removed.
2010-09-08 09:21:02 +05:30
bvk.groups@gmail.com a0b5f6bcb1 update grub_errno as per the return value 2010-09-07 21:46:04 +05:30
bvk.groups@gmail.com dc0fae73f8 merge with mainline 2010-09-07 21:45:34 +05:30
bvk.groups@gmail.com b61d05ed19 * grub-core/commands/wildcard.c (wildcard_expand): Fix wrong
grub_free.
2010-09-07 17:16:03 +05:30
bvk.groups@gmail.com 75d8c629fc syntax check before overwriting 2010-09-07 11:18:53 +05:30
bvk.groups@gmail.com 4d69c7863b * docs/grub.texi (Shell-like scripting): Fix @dots to @dots{}. 2010-09-07 11:00:37 +05:30
bvk.groups@gmail.com aa3119c46f * docs/grub.texi (Shell-like scripting): Documentation for break,
continue, shift and return commands.
2010-09-07 09:39:14 +05:30
bvk.groups@gmail.com 40294df243 merge with mainline 2010-09-07 09:35:57 +05:30
bvk.groups@gmail.com e175e78d4a documentation for some grub-script features 2010-09-07 09:33:29 +05:30
BVK Chaitanya 530a9ff6bc includes hidden files 2010-07-30 03:40:33 +05:30
BVK Chaitanya 1c34fc8fec fix help message logic 2010-07-30 02:31:14 +05:30
BVK Chaitanya 3c6a9151ad move wildcard translator into regexp module 2010-07-29 23:32:56 +05:30
BVK Chaitanya 479a8efaca removed an unused variabled 2010-07-29 22:54:07 +05:30
BVK Chaitanya 9e3e24e47f cleanup 2010-07-29 22:52:09 +05:30
BVK Chaitanya 8c184ffa19 cleanup 2010-07-29 21:09:18 +05:30
BVK Chaitanya 1c24bab4be updated testcase 2010-07-29 16:59:49 +05:30
BVK Chaitanya f2bf127859 add comment 2010-07-23 04:05:15 +05:30
BVK Chaitanya fa7edceefb pull-in func-params branch 2010-07-23 03:32:12 +05:30
BVK Chaitanya 31784795aa separate expansions for disks and partitions 2010-07-23 03:30:26 +05:30
BVK Chaitanya 645505004e suppress unwanted shell expansion 2010-07-23 02:57:02 +05:30
BVK Chaitanya 54416e9d71 merge with mainline 2010-07-23 02:44:22 +05:30
BVK Chaitanya 1a60d363b0 cleanup 2010-07-22 23:22:36 +05:30
BVK Chaitanya 7f18804f07 pull-in block-arg again 2010-07-22 23:18:28 +05:30
BVK Chaitanya d737bdc136 merge with mainline 2010-07-22 23:16:22 +05:30
BVK Chaitanya 88513a5236 removed unnecessary grammar rules 2010-07-22 22:50:04 +05:30
BVK Chaitanya 49c60235ef pull-in func-params branch 2010-07-22 22:40:06 +05:30
BVK Chaitanya a281e2e80a merge with mainline 2010-07-22 22:39:42 +05:30
BVK Chaitanya 82e323a3d7 merge with mainline 2010-07-22 22:39:20 +05:30
BVK Chaitanya 4dd4879ccd pull-in func-params branch 2010-07-22 22:37:10 +05:30
BVK Chaitanya 1767f7096c menuentry can pass parameters to its definition 2010-07-22 21:15:14 +05:30
BVK Chaitanya 70abc7023b fix a memory issue 2010-07-22 21:13:45 +05:30
BVK Chaitanya 639cc5ab44 menuentry option parsing is done using lib/arg.c 2010-07-22 19:01:40 +05:30
BVK Chaitanya 8527be0c5d pull-in block-arg again 2010-07-22 05:34:38 +05:30
BVK Chaitanya 1d05467678 simplify 2010-07-22 05:05:49 +05:30
BVK Chaitanya 0878653f65 pull-in nested-record branch 2010-07-22 05:03:49 +05:30
BVK Chaitanya 3a082b7f2a memory management for block parameters 2010-07-22 04:49:05 +05:30
BVK Chaitanya 2bcfd8a295 pull-in block-arg again 2010-07-21 03:50:23 +05:30
BVK Chaitanya 9ebedc24f2 restrict to only one block-arg (as last) param per command 2010-07-21 03:47:30 +05:30
BVK Chaitanya b14906860b full menuentry command support 2010-07-20 02:33:57 +05:30
BVK Chaitanya 004f491eed pull-in block-arg again 2010-07-20 00:13:57 +05:30
BVK Chaitanya 15ee6f9dc7 add {} around block-arg that is passed through argv 2010-07-20 00:10:44 +05:30
BVK Chaitanya 57a095bc01 fix a memory leak 2010-07-19 01:01:53 +05:30
BVK Chaitanya ec4689e82f pull-in block-arg branch 2010-07-19 00:53:18 +05:30
BVK Chaitanya 9b65d8c4f5 fix automatic option parsing for dynamic commands 2010-07-19 00:44:21 +05:30
BVK Chaitanya 3e96a6a108 merge with mainline 2010-07-18 22:03:28 +05:30
BVK Chaitanya 502cddef68 merge with mainline 2010-07-18 21:34:03 +05:30
BVK Chaitanya f745095a37 merge with mainline 2010-07-18 21:23:58 +05:30
BVK Chaitanya 93889c4717 undo changes to hello command 2010-07-18 21:00:58 +05:30
BVK Chaitanya f6e59c46e1 update dynamic cmd dispatch with scripts support 2010-07-18 20:46:21 +05:30
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 d18b05c4e3 merge with mainline 2010-07-12 17:29:44 +05:30
BVK Chaitanya 05df19acd5 merge with mainline 2010-07-12 17:03:01 +05:30
BVK Chaitanya 8d17eeeef2 merge with mainline 2010-07-12 16:38:19 +05:30