1. 21 Sep, 2014 3 commits
  2. 03 Dec, 2013 1 commit
  3. 28 Nov, 2013 1 commit
    • Colin Watson's avatar
      Revamp hidden timeout handling · 8f236c14
      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.
      8f236c14
  4. 07 Jun, 2013 1 commit
  5. 04 May, 2013 1 commit
  6. 25 Mar, 2013 1 commit
  7. 22 May, 2012 1 commit
    • Vladimir 'phcoder' Serbinenko's avatar
      Remove unjustified hard dependency of normal.mod on gfxterm. · 7086ad52
      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.
      7086ad52
  8. 04 Mar, 2012 1 commit
    • Vladimir 'phcoder' Serbinenko's avatar
      Fix menu title instability bug. · d9bef9bc
      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.
      d9bef9bc
  9. 03 Mar, 2012 1 commit
    • Vladimir 'phcoder' Serbinenko's avatar
      * grub-core/commands/gptsync.c: Fix typographic quoting. · 805a8dcc
      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.
      805a8dcc
  10. 19 Feb, 2012 1 commit
  11. 12 Feb, 2012 1 commit
  12. 25 Dec, 2011 1 commit
  13. 13 Dec, 2011 1 commit
    • Vladimir 'phcoder' Serbinenko's avatar
      Add noreturn attributes and remove unreachable code. · 02a2bf83
      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.
      02a2bf83
  14. 12 Nov, 2011 1 commit
    • Vladimir 'phcoder' Serbinenko's avatar
      Add const keyword to grub_env_get and gettextize week days. · d35d0d37
      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.
      d35d0d37
  15. 25 Jul, 2011 1 commit
  16. 08 Apr, 2011 1 commit
  17. 06 Apr, 2011 1 commit
  18. 12 Jan, 2011 1 commit
  19. 11 Jan, 2011 1 commit
    • Vladimir 'phcoder' Serbinenko's avatar
      Submenu default support. · dcb883b1
      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.
      dcb883b1
  20. 21 Sep, 2010 1 commit
    • Vladimir 'phcoder' Serbinenko's avatar
      Support submenus. · fc55cc4c
      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.
      fc55cc4c
  21. 20 Sep, 2010 1 commit
    • Vladimir 'phcoder' Serbinenko's avatar
      Pause the execution (10s max) if any errors are displayed so the user · 38c259a7
      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.
      38c259a7
  22. 30 Aug, 2010 1 commit
  23. 06 May, 2010 1 commit
  24. 23 Mar, 2010 1 commit
  25. 17 Mar, 2010 1 commit
  26. 15 Mar, 2010 1 commit
  27. 02 Mar, 2010 1 commit
    • Vladimir 'phcoder' Serbinenko's avatar
      2010-03-01 Vladimir Serbinenko <phcoder@gmail.com> · c6f2fe52
      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.
      c6f2fe52
  28. 20 Jan, 2010 1 commit
  29. 06 Jan, 2010 1 commit
  30. 30 Dec, 2009 2 commits
  31. 29 Dec, 2009 1 commit
  32. 26 Dec, 2009 1 commit
  33. 25 Dec, 2009 3 commits
  34. 24 Dec, 2009 1 commit
  35. 20 Nov, 2009 1 commit
    • Vladimir 'phcoder' Serbinenko's avatar
      2009-11-20 Colin D Bennett <colin@gibibit.com> · ac3b7128
      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.
      ac3b7128