Josh Triplett
e40b459617
* grub-core/normal/cmdline.c (grub_cmdline_get): Fix Ctrl-u
...
handling to copy the killed characters to the kill buffer as
UCS4 stored as grub_uint32_t rather than as 8-bit characters
stored as char. Eliminates UCS4 truncation and corruption
observed when killing characters with Ctrl-u and yanking them
back with Ctrl-y.
2013-05-31 00:59:02 +02:00
Vladimir 'phcoder' Serbinenko
fc4c4fddf6
Detach optional parts of gfxterm and integrate in with coreboot init.
2013-05-31 00:42:33 +02:00
Vladimir 'phcoder' Serbinenko
6570b2050e
Move blit and fill dispatcher to appropriate files to decrease export
...
and relocation overhead.
2013-05-30 22:06:28 +02:00
Vladimir 'phcoder' Serbinenko
b8323067e8
* grub-core/font/font.c, include/grub/font.h: Inline simple font
...
functions.
2013-05-30 21:58:24 +02:00
Vladimir 'phcoder' Serbinenko
3cc1878faf
* grub-core/Makefile.am: Fix compilation problem with some
...
automake versions.
2013-05-30 21:55:18 +02:00
Vladimir 'phcoder' Serbinenko
4fd42c53f3
* grub-core/commands/acpihalt.c: Fix handling of DSDT in presence of
...
SSDT.
2013-05-30 21:32:01 +02:00
Vladimir 'phcoder' Serbinenko
2a800dc3f3
Remove libfdt
2013-05-17 13:58:47 +02:00
Francesco Lavra
c6a8472baf
Own fdt parsing implementation
2013-05-17 13:45:22 +02:00
Vladimir 'phcoder' Serbinenko
470038745c
Fix a bug and stick nearer to the specification, introduce armv6_unified.
2013-05-17 13:05:28 +02:00
Vladimir 'phcoder' Serbinenko
390df92f0b
Detect cache type on runtime rather than compile time
2013-05-17 01:33:22 +02:00
Leif Lindholm
c59fe1d776
Leif's BSS fix
2013-05-16 16:30:41 +02:00
Leif Lindholm
72a21cf09b
Leif's ARMv6 cache support
2013-05-16 16:23:31 +02:00
Vladimir 'phcoder' Serbinenko
5bac5d9ad6
* grub-core/partmap/dfly.c: New partition map.
2013-05-16 16:18:37 +02:00
Vladimir 'phcoder' Serbinenko
141430a295
* grub-core/lib/dtc/libfdt-grub.diff: Remove extraneous uintptr_t
...
declaration.
2013-05-16 16:17:05 +02:00
Radosław Szymczyszyn
1e908b34a6
* grub-core/partmap/dfly.c: New partition map.
2013-05-15 17:26:49 +02:00
Vladimir 'phcoder' Serbinenko
1359e4740a
* grub-core/kern/corecmd.c (grub_core_cmd_ls): Fix empty path
...
checking.
Reported by: Francesco Lavra.
2013-05-15 10:11:25 +02:00
Vladimir 'phcoder' Serbinenko
cdce14fad4
Progressively skip menu elements on small terminals rather
...
than crashing.
2013-05-14 08:57:18 +02:00
Vladimir 'phcoder' Serbinenko
c8d6cc3cf0
* grub-core/normal/cmdline.c (grub_cmdline_get): Fix off-by-one error
...
to avoid losing last column.
2013-05-14 08:54:18 +02:00
Paulo Flabiano Smorigo
a9c0b699c0
* grub-core/net/bootp.c (grub_cmd_bootp): Check if there is any card
...
present.
* include/grub/err.h (grub_err_t): New enum value GRUB_ERR_NET_NO_CARD.
2013-05-11 11:25:29 +02:00
Leif Lindholm
854f383c28
Move common function to dl_helper.c
2013-05-11 10:42:11 +02:00
Vladimir 'phcoder' Serbinenko
8e71d87482
merge mainline into arm
2013-05-11 10:24:24 +02:00
Vladimir 'phcoder' Serbinenko
709ad61b07
* grub-core/tests/setjmp_test.c: Ignore missing noreturn.
2013-05-11 10:17:19 +02:00
Vladimir 'phcoder' Serbinenko
d128901ace
* grub-core/fs/hfspluscomp.c (grub_hfsplus_compress_attr): Add packed
...
attribute since structure is not necessarily aligned.
2013-05-11 09:59:59 +02:00
Vladimir 'phcoder' Serbinenko
0f7e980b29
Redirect xasprintf to grub_xvasprintf rather than having #ifdef's
...
for vasprintf presence.
2013-05-10 20:57:32 +02:00
Vladimir 'phcoder' Serbinenko
0dc11c08d7
* grub-core/commands/testspeed.c: Reuse formatting string to decrease
...
new strings to translate.
2013-05-10 16:25:36 +02:00
Vladimir 'phcoder' Serbinenko
0ef7478b5b
* grub-core/net/net.c (grub_net_open_real): Autoload network modules.
2013-05-10 14:17:10 +02:00
Vladimir 'phcoder' Serbinenko
8200fa1597
* grub-core/term/terminfo.c: Rename ANSI_C0 to ANSI_CSI to avoid
...
misnomer.
2013-05-10 14:07:41 +02:00
Vladimir 'phcoder' Serbinenko
0e7b2e3217
New test: cmdline and cat.
2013-05-08 11:49:25 +02:00
Vladimir 'phcoder' Serbinenko
16f7c8f6d3
* grub-core/commands/cat.c: Show UTF-8 characters.
2013-05-08 11:09:08 +02:00
Vladimir 'phcoder' Serbinenko
e56d9637ae
* grub-core/term/efi/console.c: Fix compile error.
2013-05-07 20:40:00 +02:00
Vladimir 'phcoder' Serbinenko
8098f65556
Compressed HFS+ support.
2013-05-07 15:46:17 +02:00
Vladimir 'phcoder' Serbinenko
16940e077c
* grub-core/commands/videoinfo.c: Use "paletted" rather than "packed
...
pixel".
2013-05-07 14:44:05 +02:00
Vladimir 'phcoder' Serbinenko
c5dbc13d28
Menu color test.
2013-05-07 14:38:29 +02:00
Vladimir 'phcoder' Serbinenko
011f8ae8d2
* grub-core/tests/setjmp_test.c: New test.
2013-05-07 12:28:59 +02:00
Vladimir 'phcoder' Serbinenko
2aa072d76a
New variables 'net_default_*' to determine MAC/IP of default interface.
2013-05-07 12:05:36 +02:00
Vladimir 'phcoder' Serbinenko
fb2666b560
Simplify few strings.
2013-05-07 11:44:15 +02:00
Vladimir 'phcoder' Serbinenko
d22840ec12
Mark few forgotten strings for translation.
2013-05-07 11:41:47 +02:00
Vladimir 'phcoder' Serbinenko
e34092fdf1
* grub-core/loader/linux.c: Use grub_dprintf for debug statements
...
rather than printf.
2013-05-07 11:38:49 +02:00
Vladimir 'phcoder' Serbinenko
47cf82b461
* grub-core/video/readers/jpeg.c: Use grub_dprintf for debug statements
...
rather than printf.
* grub-core/video/readers/tga.c: Likewise.
2013-05-07 11:37:11 +02:00
Vladimir 'phcoder' Serbinenko
1eed0e6ebc
* tests/priority_queue_unit_test.cc: New test.
2013-05-07 11:30:48 +02:00
Vladimir 'phcoder' Serbinenko
c5b7697bbb
* grub-core/font/font.c: Use grub_dprintf for debug statements rather
...
than printf.
2013-05-07 11:26:15 +02:00
Bean
fa2923436b
* grub-core/commands/testspeed.c: New command testspeed.
2013-05-05 18:16:48 +02:00
Vladimir 'phcoder' Serbinenko
310d42144b
Factor-out human-size printing.
2013-05-05 11:31:53 +02:00
Vladimir 'phcoder' Serbinenko
85002bf34a
Agglomerate more mallocs to speed-up gfxterm.
2013-05-04 22:23:23 +02:00
Vladimir 'phcoder' Serbinenko
22b06e9685
Speed-up gfxterm by slightly agglomerating mallocs.
2013-05-04 15:07:13 +02:00
Vladimir 'phcoder' Serbinenko
b7c036bce3
More video checks.
2013-05-04 14:00:14 +02:00
Vladimir 'phcoder' Serbinenko
92323d1fb0
Speed-up gfxterm by saving intermediate results in index+alpha
...
format.
2013-05-04 13:58:30 +02:00
Vladimir 'phcoder' Serbinenko
0fb356a385
* grub-core/tests/lib/functional_test.c: Don't stop on first failed
...
test.
2013-05-04 13:54:08 +02:00
Vladimir 'phcoder' Serbinenko
44dea3f9a9
* grub-core/normal/menu_text.c (menu_clear_timeout): Clear second
...
line of timeout as it may contain the rest of long line.
2013-05-04 13:52:21 +02:00
Vladimir 'phcoder' Serbinenko
14af86e41b
* grub-core/normal/main.c: Fix freed memory dereference.
2013-05-04 13:50:16 +02:00
Vladimir 'phcoder' Serbinenko
03f7c8c304
Fix several memory leaks.
2013-05-04 13:47:10 +02:00
Vladimir 'phcoder' Serbinenko
c686014c1b
* grub-core/normal/menu.c (run_menu): Fix timeout reference point.
2013-05-04 13:43:07 +02:00
Vladimir 'phcoder' Serbinenko
0788a69514
* grub-core/gettext/gettext.c: Try $lang.gmo as well.
2013-05-04 13:40:52 +02:00
Vladimir 'phcoder' Serbinenko
daf01d61ff
Fix test -a and -o precedence.
...
Reported by: adrian15.
2013-05-04 13:38:59 +02:00
Vladimir 'phcoder' Serbinenko
82ae74d7bd
* grub-core/font/font.c (grub_font_construct_glyph): Fix memory leak.
2013-05-04 13:11:57 +02:00
Andrey Borzenkov
8cec7bd40b
Rename grub-core/tests/checksums.c into grub-core/tests/checksums.h
...
and add it as source to functional_test module.
2013-05-03 18:39:17 +04:00
Leif Lindholm
b385e0723b
Leif's API fixes
2013-05-03 15:07:39 +02:00
Vladimir 'phcoder' Serbinenko
aa73d688e7
* grub-core/tests/video_checksum.c: Don't set GENERATE_MODE.
2013-05-03 14:50:05 +02:00
Leif Lindholm
bb9f92b9b1
Leif's build fixes
2013-05-03 14:41:08 +02:00
Vladimir 'phcoder' Serbinenko
c104b6f93e
New series of tests for gfxterm and gfxmenu.
2013-05-03 14:09:55 +02:00
Vladimir 'phcoder' Serbinenko
7391c4d5ac
* grub-core/gfxmenu/gfxmenu.c (grub_gfxmenu_try): Allow specifying
...
the theme path relative to $prefix/themes.
2013-05-03 14:08:51 +02:00
Vladimir 'phcoder' Serbinenko
cff501187c
* grub-core/video/fb/fbblit.c (grub_video_fbblit_blend_BGR888_RGBA8888):
...
Fix order bug.
(grub_video_fbblit_blend_RGB888_RGBA8888): Likewise.
2013-05-03 14:07:30 +02:00
Vladimir 'phcoder' Serbinenko
a4f9a5ff92
* grub-core/gfxmenu/view.c (grub_gfxmenu_view_new): Clear
...
grub_gfxmenu_timeout_notifications.
(grub_gfxmenu_view_destroy): Likewise.
2013-05-03 14:02:49 +02:00
Vladimir 'phcoder' Serbinenko
b5a2114d76
* grub-core/normal/term.c (print_ucs4_real): Fix startwidth in dry run.
2013-05-03 13:56:45 +02:00
Vladimir 'phcoder' Serbinenko
a8905e8ae8
Several fixes to ieee1275 and big-endian video.
2013-05-02 22:30:20 +02:00
Vladimir 'phcoder' Serbinenko
813c16222f
Add missing exports on mips.
2013-05-02 18:10:11 +02:00
Vladimir 'phcoder' Serbinenko
3f3e7326b7
* grub-core/tests/videotest_checksum.c (videotest_checksum): Error out
...
if no unifont is found.
Restore original keyboard.
2013-05-02 18:08:42 +02:00
Vladimir 'phcoder' Serbinenko
095accd14b
* grub-core/loader/i386/linux.c (grub_linux_setup_video): Add
...
GRUB_VIDEO_ADAPTER_CAPTURE: to handled drived ids.
2013-05-02 18:06:39 +02:00
Vladimir 'phcoder' Serbinenko
5036166022
First automated video test (running videotest and comparing results)
2013-05-02 14:39:03 +02:00
Vladimir 'phcoder' Serbinenko
cd0f6eec7b
* grub-core/commands/videotest.c: Reduce flickering and draw 6 squares
...
instead of 2 to have full RGB/CMY test pattern.
2013-05-02 14:34:13 +02:00
Vladimir 'phcoder' Serbinenko
583e5b645c
* include/grub/arc/arc.h: Account for missing "other" peripheral on
...
ARCS. All users updated.
2013-04-30 17:40:31 +02:00
Vladimir 'phcoder' Serbinenko
aa7bcb99df
* grub-core/kern/mips/loongson/init.c: Support halt for loongson 2E.
2013-04-30 17:37:37 +02:00
Vladimir 'phcoder' Serbinenko
95ef1a54cf
* grub-core/partmap/amiga.c: Fix size of checksummed block.
2013-04-30 17:34:29 +02:00
Vladimir Testov
3476e0ef42
* grub-core/gfxmenu/circular_progress.c: Set start_angle in degrees
...
with syntax "XXX deg"/"XXX °".
2013-04-29 15:32:56 +02:00
Vladimir 'phcoder' Serbinenko
96f33fed86
Make PCI init in i386-qemu port more robust.
2013-04-29 15:09:39 +02:00
Vladimir Testov
dc5a311a1e
* grub-core/gfxmenu/gui_list.c: Refresh first_shown_entry value when
...
cached view is reused.
* grub-core/gfxmenu/view.c: Call the refresh procedure for all
open boot menus.
2013-04-29 13:40:11 +02:00
Vladimir 'phcoder' Serbinenko
e2f27a8c53
Enforce disabling of firmware disk drivers when native drivers kick in.
2013-04-29 12:16:46 +02:00
Vladimir 'phcoder' Serbinenko
ef9d8cd510
* grub-core/commands/nativedisk.c: Customize the list of modules on
...
platform. Don't try to search for disks already using native drivers.
2013-04-29 12:14:57 +02:00
Vladimir 'phcoder' Serbinenko
f7bf6c31f3
* grub-core/bus/usb/uhci.c: Fix DMA handling and enable on all PCI
...
platforms.
2013-04-29 12:05:19 +02:00
Vladimir 'phcoder' Serbinenko
bdc4add8ca
* grub-core/script/execute.c (grub_script_arglist_to_argv): Fix
...
handling of variables containing backslash.
2013-04-29 12:02:26 +02:00
Vladimir 'phcoder' Serbinenko
0e90dee8e8
* grub-core/kern/mips/arc/init.c: Fix prefix detection.
2013-04-29 11:59:18 +02:00
Vladimir 'phcoder' Serbinenko
e0aacf2433
* grub-core/lib/arg.c (grub_arg_show_help): Fix a NULL pointer
...
dereference.
Reported by: qwertial.
2013-04-29 11:57:51 +02:00
Vladimir 'phcoder' Serbinenko
adb7d667fc
* grub-core/commands/nativedisk.c: Ignore unknown filesystem error.
2013-04-28 18:52:53 +02:00
Vladimir 'phcoder' Serbinenko
7cd0df84f1
New command `nativedisk'.
2013-04-28 15:31:33 +02:00
Vladimir 'phcoder' Serbinenko
02adbb932d
* grub-core/io/lzopio.c: Use GRUB_PROPERLY_ALIGNED_ARRAY.
...
* grub-core/loader/i386/bsd.c: Likewise.
2013-04-28 15:18:50 +02:00
Vladimir 'phcoder' Serbinenko
9fb0fd4f35
* grub-core/disk/ahci.c: Fix compilation for amd64 (format warnings).
2013-04-28 15:17:43 +02:00
Vladimir 'phcoder' Serbinenko
178c276419
* grub-core/kern/file.c: Use const char * rather than casting to
...
non-const.
2013-04-28 14:06:57 +02:00
Vladimir 'phcoder' Serbinenko
eadfad244e
* grub-core/commands/probe.c: Add missing grub_device_close.
2013-04-28 13:54:32 +02:00
Vladimir 'phcoder' Serbinenko
f97ec54645
* grub-core/term/morse.c: Macroify dih and dah.
2013-04-28 13:27:51 +02:00
Vladimir 'phcoder' Serbinenko
141e2a7816
* grub-core/term/ns8250.c: Systematically probe ports by writing
...
to SR before using them.
2013-04-27 22:47:57 +02:00
Vladimir 'phcoder' Serbinenko
c796a107b6
* grub-core/disk/ahci.c (grub_ahci_pciinit): Fix handling of empty
...
ports.
2013-04-27 21:49:14 +02:00
Leon Drugi
43168646d8
* grub-core/loader/multiboot_mbi2.c (grub_multiboot_load): Fix cast in
...
BSS clearing.
2013-04-27 21:16:55 +02:00
Vladimir 'phcoder' Serbinenko
17f9fd29d3
Implement grub_machine_get_bootlocation for ARC.
2013-04-27 19:12:11 +02:00
Vladimir 'phcoder' Serbinenko
dc2a6c8b0e
Improve AHCI detection and command issuing.
2013-04-27 17:18:02 +02:00
Vladimir 'phcoder' Serbinenko
f25a2ba6b8
Fix pseries test.
2013-04-27 14:11:12 +02:00
Vladimir 'phcoder' Serbinenko
a6393224c4
Make 'make check' work on emu.
2013-04-27 02:00:16 +02:00
Vladimir 'phcoder' Serbinenko
db99fbe83f
Replace libcurses with our own vt100 handling for the ease of testing
...
and decreasing prerequisites.
2013-04-27 00:02:23 +02:00
Vladimir 'phcoder' Serbinenko
b24ca7cd89
* grub-core/Makefile.core.def: Fix grub-emu and grub-emu-lite sources.
2013-04-26 23:47:46 +02:00
Vladimir 'phcoder' Serbinenko
7f63a64fa0
Enable mipsel-arc.
2013-04-25 22:42:35 +02:00
Vladimir 'phcoder' Serbinenko
b04b5990df
Add serial on ARC platform.
2013-04-25 22:40:03 +02:00