- 27 Mar, 2015 1 commit
-
-
Michael Zimmermann authored
-
- 26 Jan, 2015 1 commit
-
-
Vladimir Serbinenko authored
Found by: Coverity scan.
-
- 21 Sep, 2014 3 commits
-
-
Vladimir Serbinenko authored
case of password-protected prompt and no menu entries.
-
Vladimir Serbinenko authored
-
Michael Chang authored
-
- 19 Jan, 2014 1 commit
-
-
Vladimir Serbinenko authored
Reduces boot time.
-
- 21 Dec, 2013 1 commit
-
-
Vladimir Serbinenko authored
-
- 18 Dec, 2013 1 commit
-
-
Vladimir Serbinenko authored
-
- 10 Dec, 2013 1 commit
-
-
Andrey Borzenkov authored
If configfile is relative pathname, extend it with current ($root) so its interpretation does not change if $root is changed later. Suggested by Vladimir Serbienko.
-
- 07 Dec, 2013 1 commit
-
-
Andrey Borzenkov authored
Defalut font color on PC console seems to be light-gray; this is what user also gets in rescue prompt and what is defined as GRUB_TERM_DEFAULT_NORMAL_COLOR. But normal.mod defaults to white. This makes unpleasant visual effect as colors are changed after kernel is booted. Use the same color eveywhere for consistency and default to light-gray as this is also what at least Linux kernel is using by default.
-
- 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.
-
- 20 Oct, 2013 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
bitmasks to small structures of size chosen to fit in registers.
-
- 14 May, 2013 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
than crashing.
-
- 04 May, 2013 2 commits
-
-
Vladimir 'phcoder' Serbinenko authored
-
Vladimir 'phcoder' Serbinenko authored
-
- 28 Apr, 2013 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
-
- 27 Apr, 2013 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
-
- 20 Mar, 2013 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
-
- 15 Jan, 2013 1 commit
-
-
Colin Watson authored
* grub-core/kern/parser.c (grub_parser_split_cmdline): Add getline_data argument, passed to getline. * grub-core/kern/rescue_parser.c (grub_rescue_parse_line): Add getline_data argument, passed to grub_parser_split_cmdline. * grub-core/script/lexer.c (grub_script_lexer_yywrap): Pass lexerstate->getline_data to lexerstate->getline. (grub_script_lexer_init): Add getline_data argument, saved in lexerstate->getline_data. * grub-core/script/main.c (grub_normal_parse_line): Add getline_data argument, passed to grub_script_parse. * grub-core/script/script.c (grub_script_parse): Add getline_data argument, passed to grub_script_lexer_init. * include/grub/parser.h (grub_parser_split_cmdline): Update prototype. Update all callers to pass appropriate getline data. (struct grub_parser.parse_line): Likewise. (grub_rescue_parse_line): Likewise. * include/grub/reader.h (grub_reader_getline_t): Add void * argument. * include/grub/script_sh.h (struct grub_lexer_param): Add getline_data member. (grub_script_parse): Update prototype. Update all callers to pass appropriate getline data. (grub_script_lexer_init): Likewise. (grub_normal_parse_line): Likewise. * grub-core/commands/legacycfg.c (legacy_file_getline): Add unused data argument. * grub-core/kern/parser.c (grub_parser_execute: getline): Make static instead of nested. Rename to ... (grub_parser_execute_getline): ... this. * grub-core/kern/rescue_reader.c (grub_rescue_read_line): Add unused data argument. * grub-core/normal/main.c (read_config_file: getline): Make static instead of nested. Rename to ... (read_config_file_getline): ... this. (grub_normal_read_line): Add unused data argument. * grub-core/script/execute.c (grub_script_execute_sourcecode: getline): Make static instead of nested. Rename to ... (grub_script_execute_sourcecode_getline): ... this. * util/grub-script-check.c (main: get_config_line): Make static instead of nested.
-
- 28 Jun, 2012 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
* grub-core/normal/main.c (features): Add feature_200_final.
-
- 16 Jun, 2012 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
gzio.
-
- 31 May, 2012 1 commit
-
-
Christer Weinigel authored
-
- 27 May, 2012 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
config_directory. * util/grub.d/41_custom.in: Use config_directoy when available.
-
- 11 Mar, 2012 2 commits
-
-
Vladimir 'phcoder' Serbinenko authored
* grub-core/normal/cmdline.c (grub_cmdline_get): Don't strip leading spaces. * grub-core/normal/main.c (grub_file_getline): Remove all preprocessing other than skipping \r. All users updated. * tests/grub_script_echo1.in: Add space-related tests. * util/grub-menulst2cfg.c (main): Remove useless space skipping.
-
Vladimir 'phcoder' Serbinenko authored
once enabled). * grub-core/gettext/gettext.c: Encapsulate all static variables in main_context and secondary_context. All functions updated. (grub_gettext_translate): Rename to ... (grub_gettext_translate_real): ... this. Return NULL on failed translate. (grub_gettext_translate): Handle secondary context. (grub_gettext_delete_list): Close file and zero-out the context. (grub_mofile_open): Don't call grub_gettext_delete_list. Don't close file. (grub_gettext_init_ext): Call grub_gettext_init_ext. Skip loading if locale="" to avoid pointless error message. (grub_gettext_env_write_lang): Update lang even if load fails. Handle secondary context. (grub_gettext_reread_prefix): New function. (read_main): Likewise. (read_secondary): Likewise. (GRUB_MOD_INIT): Handle secondary context. Hook and export variables. (GRUB_MOD_FINI): Handle secondary context. Don't close file. * grub-core/normal/main.c (read_lists): Call grub_gettext_reread_prefix. * include/grub/normal.h (grub_gettext_reread_prefix): New proto.
-
- 05 Mar, 2012 1 commit
-
-
Andreas Vogel authored
-
- 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.
-
- 26 Feb, 2012 2 commits
-
-
Vladimir 'phcoder' Serbinenko authored
* grub-core/Makefile.am (moddep.lst): Make dependent on video.lst. * grub-core/Makefile.core.def (all_video): New module. * grub-core/genmoddep.awk: Generate dependency of all_video from video.lst. * grub-core/lib/fake_module.c: New file. * grub-core/normal/main.c (features): Add feature_all_video_module. * util/grub.d/00_header.in: Define locale_dir based on $prefix and don't do explicit search again. insmod all_video in load_video if available.
-
Vladimir 'phcoder' Serbinenko authored
to grub_ssize_t. * grub-core/normal/main.c (grub_normal_init_page): Fix msg_len type. * include/grub/charset.h (grub_utf8_to_ucs4_alloc): Fix prototype.
-
- 24 Feb, 2012 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
path for fonts ($prefix/fonts). * grub-core/kern/corecmd.c (grub_core_cmd_insmod): Unify condition for checking if string is a path. * grub-core/normal/main.c (features): Add feature_default_font_path. * util/grub-mkconfig.in: Skip mangling of GRUB_FONT into GRUB_FONT_PATH. * util/grub.d/00_header.in: Use default directory if possible. * util/grub-install.in: Install unicode.pf2.
-
- 12 Feb, 2012 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
* grub-core/normal/main.c (grub_normal_read_line_real): Gettext prompt here.
-
- 05 Feb, 2012 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
* config.h.in (GRUB_TARGET_CPU): New definition. (GRUB_PLATFORM): Likewise. * configure.ac: Define GRUB_TARGET_CPU and GRUB_PLATFORM. * grub-core/commands/parttool.c (grub_cmd_parttool): Update dir. * grub-core/efiemu/main.c (grub_efiemu_autocore): Likewise. * grub-core/kern/dl.c (grub_dl_load): Likewise. * grub-core/normal/autofs.c (read_fs_list): Likewise. * grub-core/normal/crypto.c (read_crypto_list): Likewise. * grub-core/normal/dyncmd.c (read_command_list): Likewise. * grub-core/normal/term.c (read_terminal_list): Likewise. * grub-core/gettext/gettext.c (grub_mofile_open_lang): Use $prefix/locale. (grub_gettext_init_ext): Likewise. * grub-core/normal/main.c (GRUB_MOD_INIT): Define grub_cpu and grub_platform. * util/grub-install.in: Update directories. * util/grub-mknetdir.in: Likewise. * util/grub-mkrescue.in: Likewise.
-
- 23 Dec, 2011 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
-
- 12 Nov, 2011 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
-
- 12 Apr, 2011 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
guidelines. * grub-core/kern/dl.c (grub_dl_check_license): New function. (grub_dl_load_core): Use grub_dl_check_license. * include/grub/dl.h (GRUB_MOD_SECTION): New macro. (GRUB_MOD_LICENSE): Likewise. (GRUB_MOD_DUAL_LICENSE): Likewise. All modules updated.
-
- 05 Apr, 2011 2 commits
-
-
Vladimir 'phcoder' Serbinenko authored
-
Vladimir 'phcoder' Serbinenko authored
-
- 23 Mar, 2011 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
-
- 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.
-