- 21 Sep, 2014 3 commits
-
-
Vladimir Serbinenko authored
case of password-protected prompt and no menu entries.
-
Vladimir Serbinenko authored
-
Michael Chang authored
-
- 03 Dec, 2013 1 commit
-
-
Colin Watson authored
-
- 28 Nov, 2013 1 commit
-
-
Colin Watson authored
Add a new timeout_style environment variable and a corresponding GRUB_TIMEOUT_STYLE configuration key for grub-mkconfig. This controls hidden-timeout handling more simply than the previous arrangements, and pressing any hotkeys associated with menu entries during the hidden timeout will now boot the corresponding menu entry immediately. GRUB_HIDDEN_TIMEOUT=<non-empty> + GRUB_TIMEOUT=<non-zero> now generates a warning, and if it shows the menu it will do so as if the second timeout were not present. Other combinations are translated into reasonable equivalents.
-
- 07 Jun, 2013 1 commit
-
-
Andrey Borzenkov authored
off new function grub_script_execute_new_scope. Change callers to use either of them as appropriate. * grub-core/commands/eval.c: New command eval. * docs/grub.texi (Commands): Document it.
-
- 04 May, 2013 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
-
- 25 Mar, 2013 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
command.
-
- 22 May, 2012 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
* include/grub/term.h (grub_term_output): New member fullscreen. * include/grub/gfxterm.h (grub_gfxterm_fullscreen): Removed. * grub-core/term/gfxterm.c (grub_gfxterm_fullscreen): Make static. (grub_gfxterm): Set .fullscreen. * grub-core/normal/menu.c (menu_init): Use fullscreen. * grub-core/gfxmenu/gfxmenu.c (GRUB_MOD_INIT): Likewise.
-
- 04 Mar, 2012 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
* grub-core/commands/menuentry.c (options): New option --id. (grub_normal_add_menu_entry): New argument id. All users updated. (grub_cmd_menuentry): Handle --id. (grub_menu_init): Accept unknown arguments. * grub-core/normal/main.c (features): Add feature_menuentry_id and feature_menuentry_options. * grub-core/normal/menu.c (grub_menu_execute_entry): Use id for saved_entry. (get_entry_number): Match with id as well. * include/grub/menu.h (grub_menu_entry): New member id. * util/grub-mkconfig_lib.in (grub_get_device_id): New function. * util/grub.d/00_header.in: Define menuentry_id_option. * util/grub.d/10_hurd.in: Define id. * util/grub.d/10_illumos.in: Likewise. * util/grub.d/10_kfreebsd.in: Likewise. * util/grub.d/10_linux.in: Likewise. * util/grub.d/10_netbsd.in: Likewise. * util/grub.d/10_windows.in: Likewise. * util/grub.d/20_linux_xen.in: Likewise. * util/grub.d/30_os-prober.in: Likewise.
-
- 03 Mar, 2012 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
* grub-core/commands/ieee1275/suspend.c: Likewise. * grub-core/commands/parttool.c: Likewise. * grub-core/commands/search_wrap.c: Likewise. * grub-core/commands/videoinfo.c: Likewise. * grub-core/gfxmenu/gui_label.c: Likewise. * grub-core/hello/hello.c: Likewise. * grub-core/kern/emu/main.c: Likewise. * grub-core/net/net.c: Likewise. * grub-core/normal/menu.c: Likewise. * grub-core/normal/menu_text.c: Likewise. * grub-core/normal/misc.c: Likewise. * util/grub-editenv.c: Likewise. * util/grub-install.in: Likewise. * util/grub-kbdcomp.in: Likewise. * util/grub-mkconfig.in: Likewise. * util/grub-mknetdir.in: Likewise. * util/grub-mkrescue.in: Likewise. * util/grub-mkstandalone.in: Likewise. * util/grub-reboot.in: Likewise. * util/grub-set-default.in: Likewise. * util/grub-setup.c: Likewise. * util/powerpc/ieee1275/grub-mkrescue.in: Likewise.
-
- 19 Feb, 2012 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
* grub-core/kern/term.c (grub_checkkey): Replaced with ... (grub_getkey_noblock): ... this. All users updated.
-
- 12 Feb, 2012 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
-
- 25 Dec, 2011 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
-
- 13 Dec, 2011 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
* grub-core/bus/cs5536.c (grub_cs5536_smbus_wait): Remove unreachable code. * grub-core/commands/halt.c (grub_cmd_halt): Remove unreachable code. Mark as noreturn. * grub-core/commands/minicmd.c (grub_mini_cmd_exit): Likewise. * grub-core/commands/reboot.c (grub_cmd_reboot): Likewise. * grub-core/disk/efi/efidisk.c (grub_efidisk_get_device_name): Remove unreachable code. * grub-core/kern/main.c (grub_main): Mark as noreturn. * grub-core/kern/rescue_reader.c (grub_rescue_run): Likewise. * grub-core/lib/posix_wrap/stdlib.h (abort): Likewise. * grub-core/normal/menu.c (run_menu): Remove unreachable code. * include/grub/kernel.h (grub_main): Mark as noreturn. * include/grub/reader.h (grub_rescue_run): Likewise.
-
- 12 Nov, 2011 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
* grub-core/hook/datehook.c (grub_datetime_names): Make const. (grub_read_hook_datetime): Return const char *. * grub-core/kern/env.c (grub_env_get): Return const char *. All users updated. * grub-core/normal/datetime.c (grub_weekday_names): Make const. Mark for gettext. (grub_get_weekday_name): Return const char *. Call gettext. * grub-core/script/argv.c (grub_script_argv_append): Receive const char * and len as the argument. All users updated. (grub_script_argv_split_append): Receive const char *. * include/grub/datetime.h (grub_get_weekday_name): Update proto. * include/grub/env.h (grub_env_get): Likewise. (grub_env_read_hook_t): Return const char *. * include/grub/script_sh.h (grub_script_argv_append): Update proto. (grub_script_argv_split_append): Likewise.
-
- 25 Jul, 2011 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
dereference.
-
- 08 Apr, 2011 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
-
- 06 Apr, 2011 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
* grub-core/gfxmenu/gfxmenu.c (grub_gfxmenu_try): Move the call to grub_gfxterm_fullscreen on error paths to ... * grub-core/normal/menu.c (menu_init): ...here. Wait after showing theme loading error.
-
- 12 Jan, 2011 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
warning. * grub-core/normal/menu.c (grub_menu_execute_entry): Likewise. * grub-core/partmap/msdos.c (pc_partition_map_embed): Use unsigned counter.
-
- 11 Jan, 2011 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
* grub-core/normal/menu.c (grub_menu_execute_entry): New parameter auto_boot. All users updated. Declared static. Handle chosen and default with submenus. (grub_menu_execute_with_fallback): Declared static. Don't notify failure if autobooted. Upper level does it. (menuentry_eq): New function. (get_entry_number): Use menuentry_eq. (show_menu): New parameter "autobooted". All users updated. (grub_show_menu): Likewise. * include/grub/normal.h (grub_show_menu): Likewise. * include/grub/menu.h (grub_menu_execute_entry): Removed. (grub_menu_execute_with_fallback): Likewise.
-
- 21 Sep, 2010 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
* grub-core/commands/menuentry.c (grub_normal_add_menu_entry): New parameter submenu. All users updated. * grub-core/normal/main.c (free_menu): Rename to ... (grub_normal_free_menu): ... this. Made global. * grub-core/normal/menu.c (grub_menu_execute_entry): Open new context if requested. * grub-core/normal/menu_entry.c (screen): New field submenu. (make_screen): Set submenu. (run): Open new context if requested. * include/grub/menu.h (grub_menu_entry): New field submenu. * include/grub/normal.h (grub_normal_free_menu): New proto.
-
- 20 Sep, 2010 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
has a chance to see them. * grub-core/kern/err.c (grub_err_printed_errors): New variable. (grub_print_error): Increment grub_err_printed_errors. * grub-core/normal/menu.c (grub_menu_execute_entry): Pause the execution if any errors were displayed. (show_menu): Remove old code for pause. * grub-core/normal/menu_entry.c (run): Likewise. * grub-core/normal/term.c (grub_normal_char_counter): Removed. All users updated. (grub_normal_get_char_counter): Likewise. * include/grub/err.h (grub_err_printed_errors): New external variable. * include/grub/normal.h (grub_normal_get_char_counter): Removed.
-
- 30 Aug, 2010 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
timeout to avoid indefinite boot stalling.
-
- 06 May, 2010 1 commit
-
-
BVK Chaitanya authored
-
- 23 Mar, 2010 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
-
- 17 Mar, 2010 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
-
- 15 Mar, 2010 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
-
- 02 Mar, 2010 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
Wait for user entry basing on presence of output rather than on errors. * include/grub/normal.h (grub_normal_get_line_counter): New proto. (grub_install_newline_hook): Likewise. * normal/main.c (GRUB_MOD_INIT): Call grub_install_newline_hook. * normal/menu.c (show_menu): Check line_counter to determine presence of output. * normal/term.c (grub_normal_line_counter): New variable. (grub_normal_get_line_counter): New function. (grub_install_newline_hook): Likewise.
-
- 20 Jan, 2010 1 commit
-
-
Robert Millan authored
* normal/menu.c (notify_execution_failure): Clarify error message.
-
- 06 Jan, 2010 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
-
- 30 Dec, 2009 2 commits
-
-
Vladimir 'phcoder' Serbinenko authored
-
Vladimir 'phcoder' Serbinenko authored
-
- 29 Dec, 2009 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
-
- 26 Dec, 2009 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
-
- 25 Dec, 2009 3 commits
-
-
Vladimir 'phcoder' Serbinenko authored
-
Vladimir 'phcoder' Serbinenko authored
-
Vladimir 'phcoder' Serbinenko authored
-
- 24 Dec, 2009 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
-
- 20 Nov, 2009 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
* normal/menu_text.c (get_entry_number): Move from here ... * normal/menu.c (get_entry_number): ... moved here. * include/grub/menu.h (grub_menu_get_default_entry_index): New prototype. * normal/menu.c (grub_menu_get_default_entry_index): New function. * normal/menu_text.c (run_menu): Use grub_menu_get_default_entry_index.
-