1
2010-06-14 Colin Watson <cjwatson@ubuntu.com>
3
* util/grub-mkconfig.in: Remove vestige of old argument parsing that
4
left this script non-functional.
6
2010-06-14 Colin Watson <cjwatson@ubuntu.com>
8
* docs/man/grub-emu.h2m: New file.
10
2010-06-13 Colin Watson <cjwatson@ubuntu.com>
12
* docs/grub.texi (Commands): Document reduced command set in rescue
16
2010-06-13 Grégoire Sutre <gregoire.sutre@gmail.com>
18
* kern/emu/hostdisk.c (grub_util_biosdisk_get_grub_dev): Use the
19
new partition naming style.
20
* util/grub-install.in: Adapt sed subtitutions in grub-probe calls.
22
2010-06-12 BVK Chaitanya <bvk.groups@gmail.com>
24
Add "-o grub.iso" like cmdline options support.
26
* util/grub-install.in: Improve cmdline option parsing.
27
* util/grub-mkconfig.in: Likewise.
28
* util/grub-mkrescue.in: Likewise.
29
* util/grub-reboot.in: Likewise.
30
* util/grub-set-default.in: Likewise.
31
* util/i386/efi/grub-install.in: Likewise.
32
* util/ieee1275/grub-install.in: Likewise.
33
* util/powerpc/ieee1275/grub-mkrescue.in: Likewise.
35
2010-06-12 Colin Watson <cjwatson@ubuntu.com>
37
* .bzrignore: Ignore 41_custom.
39
2010-06-12 Thomas Schmitt <scdbackup@gmx.net>
41
* util/grub-mkrescue.in: Pass unrecognized options to xorriso.
43
2010-06-12 Colin Watson <cjwatson@ubuntu.com>
45
Avoid false positives in fs.lst, partmap.lst, and video.lst due to
46
prototype declarations.
48
* genmk.rb (PModule::rule): Define GRUB_LST_GENERATOR when
49
generating fs, partmap, and video lists.
50
* include/grub/fs.h (grub_fs_register): Omit prototype if
51
GRUB_LST_GENERATOR is defined.
52
* include/grub/partition.h (grub_partition_map_register): Likewise.
53
* include/grub/video.h (grub_video_register): Likewise.
55
2010-06-12 Javier Martín <lordhabbit@gmail.com>
57
* include/grub/types.h: Check for GRUB_CPU_SIZEOF_LONG when appropriate.
59
2010-06-12 Thomas Schmitt <scdbackup@gmx.net>
61
* util/grub-mkrescue.in: Support --xorriso argument.
63
2010-06-12 Vladimir Serbinenko <phcoder@gmail.com>
65
* util/grub-mkrescue.in: Use -graft-points instead of -pathspecs.
66
Suggested by: Thomas Schmitt.
68
2010-06-12 Vladimir Serbinenko <phcoder@gmail.com>
70
* util/grub-mkrescue.in: Add --sort-weight arguments to xorriso.
71
Suggested by: Thomas Schmitt.
73
2010-06-12 Vladimir Serbinenko <phcoder@gmail.com>
77
* conf/common.rmk (grub-mkconfig_SCRIPTS): Add 41_custom.
78
* util/grub.d/41_custom.in: New file.
80
2010-06-12 Colin Watson <cjwatson@ubuntu.com>
82
* util/grub-mkrescue.in (make_image): Remove sh module, which has
83
been merged back into normal.
85
2010-06-11 Colin Watson <cjwatson@ubuntu.com>
87
* include/grub/efi/uga_draw.h (GRUB_EFI_UGA_GLT_MAX): Rename to ...
88
(GRUB_EFI_UGA_BLT_MAX): ... this (typo fix).
90
2010-06-11 Colin Watson <cjwatson@ubuntu.com>
92
* Makefile.in (install-local): Include $(srcdir)/docs/man/$$dest.h2m
93
when generating manual pages.
94
* docs/man/grub-bin2h.h2m: New file.
95
* docs/man/grub-editenv.h2m: New file.
96
* docs/man/grub-fstest.h2m: New file.
97
* docs/man/grub-install.h2m: New file.
98
* docs/man/grub-macho2img.h2m: New file.
99
* docs/man/grub-mkconfig.h2m: New file.
100
* docs/man/grub-mkdevicemap.h2m: New file.
101
* docs/man/grub-mkfont.h2m: New file.
102
* docs/man/grub-mkimage.h2m: New file.
103
* docs/man/grub-mkpasswd-pbkdf2.h2m: New file.
104
* docs/man/grub-mkrelpath.h2m: New file.
105
* docs/man/grub-mkrescue.h2m: New file.
106
* docs/man/grub-ofpathname.h2m: New file.
107
* docs/man/grub-pe2elf.h2m: New file.
108
* docs/man/grub-probe.h2m: New file.
109
* docs/man/grub-reboot.h2m: New file.
110
* docs/man/grub-script-check.h2m: New file.
111
* docs/man/grub-set-default.h2m: New file.
112
* docs/man/grub-setup.h2m: New file.
114
2010-06-10 Vladimir Serbinenko <phcoder@gmail.com>
116
Use FOR_* macros instead of *_iterate whenever possible.
118
* commands/handler.c: Removed.
119
* commands/help.c (grub_cmd_help): Use FOR_COMMANDS.
120
* commands/minicmd.c (grub_mini_cmd_lsmod): Use FOR_DL_MODULES.
121
* conf/any-emu.rmk (kernel_img_SOURCES): Remove kern/handler.c.
122
* conf/common.rmk (script/lexer.c_DEPENDENCIES): Add grub_script.yy.h.
123
(grub_probe_SOURCES): Remove kern/parser.c.
124
(util/grub-script-check.c_DEPENDENCIES): Removed.
125
(grub_script_check_SOURCES): Remove kern/handler.c, kern/parser.c
126
and grub_script_check_init.c.
127
(grub_script_check_init.lst): Removed.
128
(grub_script_check_init.h): Likewise.
129
(grub_script_check_init.c): Likewise.
130
(pkglib_MODULES): Remove handler.mod and sh.mod.
131
(handler_mod_SOURCES): Removed.
132
(handler_mod_CFLAGS): Likewise.
133
(handler_mod_LDFLAGS): Likewise.
134
(normal_mod_SOURCES): Remove normal/handler.c.
135
Add script/main.c, script/script.c, script/execute.c,
136
script/function.c, script/lexer.c, grub_script.tab.c
137
and grub_script.yy.c.
138
* conf/i386-coreboot.rmk (kernel_img_SOURCES): Remove kern/handler.c.
139
* conf/i386-ieee1275.rmk (kernel_img_SOURCES): Likewise.
140
* conf/i386-pc.rmk (kernel_img_SOURCES): Likewise.
141
(grub_setup_SOURCES): Remove kern/parser.c.
142
* conf/i386-qemu.rmk (kernel_img_SOURCES): Remove kern/handler.c.
143
* conf/mips-qemu-mips.rmk (kernel_img_SOURCES): Likewise.
144
* conf/mips-yeeloong.rmk (kernel_img_SOURCES): Likewise.
145
* conf/powerpc-ieee1275.rmk (kernel_img_SOURCES): Likewise.
146
* conf/sparc64-ieee1275.rmk (kernel_img_SOURCES): Likewise.
147
(grub_setup_SOURCES): Remove kern/parser.c.
148
* conf/x86-efi.rmk (kernel_img_SOURCES): Remove kern/handler.c.
149
* gettext/gettext.c (grub_gettext_delete_list): Don't use grub_list_pop.
150
* include/grub/command.h (grub_command_iterate): Removed.
151
(FOR_COMMANDS): New macro.
152
* include/grub/dl.h (grub_dl): New member next.
153
(grub_dl_iterate): Removed.
154
(grub_dl_head): New variable declaration.
155
(FOR_DL_MODULES): New macro.
156
* include/grub/fs.h: Include list.h.
157
(grub_fs): Make next first element.
158
(grub_fs_list): New variable declaration.
159
(grub_fs_register): Make inline.
160
(grub_fs_unregister): Likewise.
161
(grub_fs_iterate): Removed.
162
(FOR_FILESYSTEMS): New macro.
163
* include/grub/handler.h: Removed.
164
* include/grub/list.h (grub_list_hook_t): Removed.
165
(grub_list_test_t): Likewise.
166
(grub_list_pop): Likewise.
167
(grub_list_iterate): Likewise.
168
(grub_list_insert): Likewise.
169
(FOR_LIST_ELEMENTS): New macro.
170
* include/grub/parser.h (grub_parser_class): Removed.
171
(grub_parser_register): Likewise.
172
(grub_parser_unregister): Likewise.
173
(grub_parser_get_current): Likewise.
174
(grub_parser_set_current): Likewise.
175
(grub_register_rescue_parser): Likewise.
176
(grub_rescue_parse_line): New function.
177
* include/grub/partition.h (FOR_PARTITION_MAPS): Use FOR_LIST_ELEMENTS.
178
* include/grub/script_sh.h (grub_script_function_list): New variable
180
(FOR_SCRIPT_FUNCTIONS): New macro.
181
(grub_script_function_iterate): Removed.
182
(grub_normal_parse_line): New prototype.
183
* include/grub/term.h (FOR_ACTIVE_TERM_INPUTS): Use FOR_LIST_ELEMENTS.
184
(FOR_DISABLED_TERM_INPUTS): Likewise.
185
(FOR_ACTIVE_TERM_OUTPUTS): Likewise.
186
(FOR_DISABLED_TERM_OUTPUTS): Likewise.
187
* include/grub/video.h (grub_video_adapter): Move 'next' to first
189
(grub_video_register): Inline.
190
(grub_video_unregister): Likewise.
191
(grub_video_adapter_list): New variable declaration.
192
(grub_video_iterate): Removed.
193
(FOR_VIDEO_ADAPTERS): New macro.
194
* kern/dl.c (grub_dl_list): Removed. All users updated.
195
(grub_dl_iterate): Removed.
196
* kern/fs.c (grub_fs_list): Make global.
197
(grub_fs_register): Removed.
198
(grub_fs_unregister): Likewise.
199
(grub_fs_iterate): Likewise.
200
* kern/handler.c: Removed.
201
* kern/list.c (grub_list_pop): Removed.
202
(grub_list_iterate): Likewise.
203
(grub_list_insert): Likewise.
204
(grub_named_list_find): Use FOR_LIST_ELEMENTS.
205
(grub_prio_list_insert): Don't use grub_list_insert.
206
* kern/main.c (grub_register_rescue_parser): Don't call
207
grub_register_rescue_parser.
208
* kern/parser.c (grub_parser_class): Removed.
209
(grub_parser_execute): Use grub_rescue_parse_line.
210
* kern/rescue_parser.c (grub_rescue_parse_line): Make global.
211
(grub_rescue_parser): Removed.
212
(grub_register_rescue_parser): Likewise.
213
* kern/rescue_reader.c (grub_rescue_run): Use grub_rescue_parse_line.
214
* normal/auth.c (is_authenticated): Use FOR_LIST_ELEMENTS.
215
(grub_auth_check_authentication): Likewise.
216
* normal/completion.c (iterate_command): Removed.
217
(grub_normal_do_completion): Use FOR_COMMANDS.
218
* normal/handler.c: Removed.
219
* normal/main.c (read_config_file): Remove parser changing.
220
(grub_normal_execute): Don't call read_handler_list.
221
(grub_normal_read_line_real): Statically allocate prompt.
222
(grub_cmdline_run): Use grub_normal_parse_line.
223
(GRUB_MOD_FINI): Don't call free_handler_list.
224
* normal/menu_entry.c (run): Likewise.
225
* script/function.c (grub_script_function_list): Make global.
226
(grub_script_function_iterate): Removed.
227
* script/main.c (grub_normal_parse_line): Make global.
228
(grub_sh_parser): Removed.
229
(GRUB_MOD_INIT): Likewise.
230
(GRUB_MOD_FINI): Likewise.
231
* tests/lib/functional_test.c (grub_functional_test): Use
233
* tests/lib/test.c (free_failures): Don't use grub_list_pop.
234
(grub_test_run): Use FOR_LIST_ELEMENTS.
235
* tests/lib/unit_test.c (main): Likewise.
236
* util/deviceiter.c (grub_util_iterate_devices): Don't use
238
* util/grub-fstest.c (grub_term_input_class): Removed.
239
(grub_term_output_class): Likewise.
240
* util/grub-probe.c: Likewise.
241
* util/i386/pc/grub-setup.c: Likewise.
242
* util/sparc64/ieee1275/grub-setup.c: Likewise.
243
* util/grub-script-check.c (main): Don't call grub_init_all and
245
* video/video.c (grub_video_adapter_list): Make global.
246
(grub_video_register): Removed.
247
(grub_video_unregister): Likewise.
248
(grub_video_iterate): Likewise.
250
2010-06-09 Vladimir Serbinenko <phcoder@gmail.com>
252
* docs/grub.texi (Vendor power-on button): Add Asus EeePC 1005PE as
253
reported by Henrique Ferreiro.
255
2010-06-09 Robert Millan <rmh@gnu.org>
257
* util/grub.d/10_linux.in: Prefer compressed images over non-compressed
258
ones, when both are available.
260
2010-06-08 Grégoire Sutre <gregoire.sutre@gmail.com>
262
Make --version uniform and avoid hard-coded program name.
264
* util/grub-mkimage.c (main): Use `program_name' instead of
266
* util/i386/pc/grub-setup.c (main): Likewise.
267
* util/sparc64/ieee1275/grub-setup.c (parse_options): Likewise.
268
* util/grub-install.in: Save the basename of $0 in $self, and use the
269
latter in informational messages. Use the same format for --version
270
as the binary programs.
271
* util/grub-mkconfig.in: Likewise.
272
* util/grub-mkrescue.in: Likewise.
273
* util/grub-reboot.in: Likewise.
274
* util/grub-set-default.in: Likewise.
275
* util/i386/efi/grub-install.in: Likewise.
276
* util/ieee1275/grub-install.in: Likewise.
277
* util/powerpc/ieee1275/grub-mkrescue.in: Likewise.
279
2010-06-08 Grégoire Sutre <gregoire.sutre@gmail.com>
281
* util/i386/pc/grub-setup.c (setup): Use absolute offsets for start of
282
embedding area. Use <= instead of == when checking for non-emptiness.
284
2010-06-08 Grégoire Sutre <gregoire.sutre@gmail.com>
286
* configure.ac: Add `.' to the directories searched for unifont.
288
2010-06-08 Colin Watson <cjwatson@ubuntu.com>
290
* .bzrignore: Add ascii.bitmaps, ascii.h, grub_script.yy.c, and
293
2010-06-08 Colin Watson <cjwatson@ubuntu.com>
295
* docs/grub.texi (History): Expand to cover GRUB 2.
296
(Serial terminal): Refer to `terminal_input' and `terminal_output'
297
commands, not `terminal'.
299
(terminal_input): New section.
300
(terminal_output): New section.
301
(uppermem): New section (stub).
302
(Obtaining and Building GRUB): Refer to Bazaar, not Subversion.
304
2010-06-08 Colin Watson <cjwatson@ubuntu.com>
306
* docs/grub.texi (Security): Menu entries are unrestricted by
307
default, not restricted to superusers as I had previously thought.
308
Reword to account for this.
310
2010-06-07 Colin Watson <cjwatson@ubuntu.com>
312
* kern/emu/misc.c (device_mapper_null_log): New function.
313
(grub_device_mapper_supported): New function.
314
* include/grub/emu/misc.h (grub_device_mapper_supported): Add
316
* kern/emu/hostdisk.c (find_partition_start): Check whether
317
device-mapper is supported before trying to use it.
318
* util/deviceiter.c (grub_util_iterate_devices): Likewise.
320
2010-06-07 Colin Watson <cjwatson@ubuntu.com>
322
* docs/grub.texi (Naming convention): Use GRUB 2 syntax.
323
(File name syntax): Likewise.
324
(help): --all is no longer supported in GRUB 2. Be more precise
325
about pattern matching.
327
2010-06-07 Colin Watson <cjwatson@ubuntu.com>
329
* normal/completion.c (grub_normal_do_completion): When completing
330
arguments to "set" and the current word contains an equals sign,
331
skip to after the equals sign before starting completion.
333
2010-06-07 Colin Watson <cjwatson@ubuntu.com>
335
* fs/i386/pc/pxe.c (grub_pxe_open): Fix parsing of gateway_ip.
337
2010-06-07 Colin Watson <cjwatson@ubuntu.com>
339
* docs/grub.texi (Network): New section.
340
(Device syntax): The network device is called `(pxe)' in GRUB 2, not
341
`(nd)' as in GRUB Legacy.
342
(pxe_unload): New section.
344
2010-06-07 Colin Watson <cjwatson@ubuntu.com>
346
* docs/grub.texi (Troubleshooting): `echo' is not usually available
347
in the rescue shell, so recommend using `set' instead. Thanks,
350
2010-06-07 Colin Watson <cjwatson@ubuntu.com>
352
* docs/grub.texi (Filesystem): Refer to `search' instead of `find'.
353
(password): New section.
354
(password_pbkdf2): New section.
355
(search): New section.
356
(Security): New section.
357
(Troubleshooting): New section, currently very incomplete.
358
(Invoking grub-mkpasswd-pbkdf2): New section.
359
(Internals): New section, currently very incomplete.
361
2010-06-07 Colin Watson <cjwatson@ubuntu.com>
363
* util/grub.d/00_header.in: Add some more quoting (of
364
"${prev_saved_entry}" and "${boot_once}") needed to make savedefault
366
Reported by: Mario 'BitKoenig' Holbe (Debian bug #584812).
368
2010-06-07 Colin Watson <cjwatson@ubuntu.com>
370
* util/grub-mkpasswd-pbkdf2.c (main): Rename top-level `c' variable
371
to `count', fixing variable shadowing that broke the -c option.
373
2010-06-05 Colin Watson <cjwatson@ubuntu.com>
375
* util/grub.d/00_header.in: Quote values assigned to `saved_entry',
376
in case they contain spaces.
378
2010-06-04 Colin Watson <cjwatson@ubuntu.com>
380
* util/grub-mkconfig_lib.in (prepare_grub_to_access_device): Prepend
381
"part_" to partmap module names, in line with grub-install.
382
Reported by: Jindřich Makovička (Debian bug #584426).
384
2010-06-04 Colin Watson <cjwatson@ubuntu.com>
386
* util/grub-mkimage.c: Make target-related error messages slightly
387
more helpful; -O talks about "format". Explicitly point to the use
388
of -O if no target is specified.
389
Reported by: Didier Raboud (Debian bug #584415).
391
2010-06-03 Colin Watson <cjwatson@ubuntu.com>
393
* INSTALL: Document several build requirements for optional features
394
(libdevmapper, ncurses, libusb, SDL, FreeType, GNU Unifont).
396
2010-06-02 Grégoire Sutre <gregoire.sutre@gmail.com>
398
* kern/emu/hostdisk.c (convert_system_partition_to_system_disk)
399
[__NetBSD__]: Handle all device names matching /dev/r[a-z]+[0-9][a-z].
400
(find_partition_start) [__NetBSD__]: Correct error messages for NetBSD.
1
402
2010-06-02 Colin Watson <cjwatson@ubuntu.com>
3
404
* docs/grub.texi (Simple configuration): Fix copy-and-paste typo.