Vladimir 'phcoder' Serbinenko
0f7c00c1c6
* grub-core/disk/efi/efidisk.c (grub_efidisk_get_device_name): Handle
...
CD-ROM in case when it's declared as having subpartitions.
2013-10-19 02:23:08 +02:00
Vladimir 'phcoder' Serbinenko
29013cba15
Don't add -lm on haiku.
...
* configure.ac: Define BUILD_LIBM to -lm on most platforms
and empty on haiku.
* grub-core/Makefile.am (gentrigtables): Use $(BUILD_LIBM) rather than
-lm.
2013-10-19 02:20:21 +02:00
Vladimir 'phcoder' Serbinenko
fc3182c799
* grub-core/kern/i386/pc/mmap.c (grub_machine_mmap_iterate): Pass
...
unknown types through.
2013-10-19 01:01:36 +02:00
Vladimir 'phcoder' Serbinenko
f90a3cc0a8
* grub-core/osdep/unix/getroot.c (grub_util_check_block_device): Remove.
...
(grub_util_check_char_device): Likewise.
* include/grub/emu/getroot.h: Likewise.
2013-10-19 00:51:08 +02:00
Vladimir 'phcoder' Serbinenko
1e3e741940
* grub-core/lib/libgcrypt_wrap/cipher_wrap.h: Use define for defining
...
memset rather than inline static function.
2013-10-18 17:18:15 +02:00
Vladimir 'phcoder' Serbinenko
92c88fc896
* grub-core/lib/xzembed/xz_config.h: Enable all bcj filters when
...
not doing embedded decompressor.
2013-10-18 17:13:38 +02:00
Vladimir 'phcoder' Serbinenko
3cd910a212
* grub-core/disk/ldm.c: Rename variables and arguments to prevent
...
shadowing.
* grub-core/kern/disk.c: Likewise.
* grub-core/kern/misc.c: Likewise.
* include/grub/parser.h: Likewise.
* include/grub/script_sh.h: Likewise.
* include/grub/zfs/zfs.h: Likewise.
2013-10-18 16:54:57 +02:00
Vladimir 'phcoder' Serbinenko
7b3aca00fa
* grub-core/disk/luks.c (configure_ciphers): Fix spurious warning.
2013-10-18 16:51:08 +02:00
Vladimir 'phcoder' Serbinenko
97dfe7e46b
* grub-core/fs/zfs/zfs_lz4.c: Check that __INTEL_COMPILER is
...
defined before trying to use it.
2013-10-18 16:49:17 +02:00
Vladimir 'phcoder' Serbinenko
bf919aa977
* grub-core/fs/affs.c (grub_affs_create_node): Fix uninited value
...
warning.
2013-10-18 16:47:30 +02:00
Vladimir 'phcoder' Serbinenko
757e3eb7c3
* grub-core/disk/dmraid_nvidia.c: Fix potentially uninited "layout".
2013-10-18 16:36:09 +02:00
Vladimir 'phcoder' Serbinenko
ea73acd2ce
* grub-core/term/i386/pc/vga_text.c: Remove extra declaration of
...
cur_color.
2013-10-18 16:30:30 +02:00
Vladimir Testov
71237a6f0f
* grub-core/tests/checksums.h: Regenerated due to progress bar
...
get_minimal_size changes.
2013-10-18 16:11:48 +04:00
BVK Chaitanya
3d46c22f5b
Added `tr' command support.
...
* grub-core/commands/tr.c: New file.
* grub-core/Makefile.core.def: Build rules for new module.
* tests/grub_cmd_tr.in: New test.
* Makefile.util.def: Build rules for new test.
2013-10-17 19:06:29 +02:00
Vladimir Testov
47e0a61f6f
* grub-core/gfxmenu/gui_progress_bar.c: Sanity checks added.
2013-10-17 15:50:25 +04:00
Vladimir Testov
946fd07357
* grub-core/gfxmenu/gui_progress_bar.c: New option `highlight_overlay
`
...
* docs/gurb.texi: Likewise.
2013-10-17 15:42:49 +04:00
Vladimir Testov
9c13c57623
* grub-core/gfxmenu/gui_progress_bar.c (draw_pixmap_bar): Fixed bug.
...
Pixmap highlighted section with east and west slices was displayed
incorrectly due to negative width of the central slice.
2013-10-17 15:34:04 +04:00
Vladimir 'phcoder' Serbinenko
9688cae2eb
* grub-core/script/yylex.l: Fix LSQBR2 and RSQBR2. It's not
...
currently used so this doesn't really have any effect.
Reported by: Douglas Ray <dougray>
2013-10-17 01:28:24 +02:00
Hiroyuki YAMAMORI
ceca6ddf26
Handle Japanese special keys.
...
Reported by: Hiroyuki YAMAMORI.
Codes supplied by: Hiroyuki YAMAMORI.
2013-10-17 00:49:05 +02:00
Vladimir Testov
ac48d334ab
* grub-core/gfxmenu/gui_list.c: Scrollbar sanity checks added.
2013-10-15 18:16:06 +04:00
Vladimir Testov
b2b71bff36
* grub-core/gfxmenu/gui_list.c: New option item_pixmap_style
.
...
* docs/grub.texi: Likewise.
2013-10-15 18:12:39 +04:00
Vladimir 'phcoder' Serbinenko
669fc44923
* grub-core/osdep/unix/hostdisk.c (grub_util_fd_read): Return correct
...
value in case of incomplete read.
(grub_util_fd_write): Likewise.
2013-10-16 00:20:07 +02:00
Vladimir 'phcoder' Serbinenko
f7c4957068
* grub-core/osdep/unix/getroot.c (grub_guess_root_devices):
...
canonicalize file name before doing the rest.
2013-10-15 21:04:10 +02:00
Vladimir 'phcoder' Serbinenko
df1e64c98e
Define grub_util_is_directory/regular/special_file and
...
use OS-dependent versions rather than to rely on stat().
2013-10-15 20:27:58 +02:00
Vladimir 'phcoder' Serbinenko
4b4eeb3cc1
Allow compilation with mingw64 albeit with warnings due to lack of
...
%llx/%llu.
* grub-core/gnulib/msvc-inval.c: Use __cdecl rather than cdecl.
* grub-core/lib/posix_wrap/wchar.h: Define wint_t.
* grub-core/lib/posix_wrap/wctype.h: Define wctype_t.
* include/grub/osdep/hostfile_windows.h: Don't define fseeko/ftello
on mingw64.
* include/grub/types.h: Allow sizeof (long) != sizeof (void *).
2013-10-15 18:03:19 +02:00
Vladimir 'phcoder' Serbinenko
f4e0adc0f9
Remove leftover references to some of the system headers.
2013-10-15 17:59:54 +02:00
Vladimir 'phcoder' Serbinenko
e012736478
* grub-core/disk/geli.c (grub_util_get_geli_uuid): Close handle after
...
read.
2013-10-15 17:55:20 +02:00
Vladimir 'phcoder' Serbinenko
20d535419f
* grub-core/disk/cryptodisk.c: Use grub_util_fd_strerror instead
...
of strerror.
2013-10-15 17:52:43 +02:00
Vladimir 'phcoder' Serbinenko
5a869940de
Split out blocklist retrieving from setup.c to
...
grub-core/osdep/blocklist.c and add windows implementation since
generic version doesn't work on NTFS on Windows due to aggressive
unflushable cache.
2013-10-15 17:02:26 +02:00
Vladimir 'phcoder' Serbinenko
c06c75201c
Split grub-setup.c into frontend (grub-setup.c) and backend (setup.c)
...
files.
2013-10-15 16:16:04 +02:00
Vladimir 'phcoder' Serbinenko
8f53bb3fd2
* grub-core/osdep/windows/hostdisk.c (grub_util_fd_strerror):
...
Cut tailing newline. Remove arbitrary limitation. Always use
grub_util_tchar_to_utf8.
2013-10-15 15:14:58 +02:00
Vladimir 'phcoder' Serbinenko
148f100768
* grub-core/kern/misc.c (grub_vsnprintf_real): Handle %% properly.
...
* tests/printf_unit_test.c (printf_test): Add %% tests.
Reported by: Paulo Flabiano Smorigo.
2013-10-15 15:12:15 +02:00
Vladimir 'phcoder' Serbinenko
af3b06be14
* grub-core/osdep/windows/hostdisk.c (fsync) [__MINGW32__]: Really
...
implement fsync.
2013-10-15 15:06:20 +02:00
Vladimir 'phcoder' Serbinenko
f6a81f0aaf
Add wrappers around rename, unlink, mkdir, opendir, readdir and
...
closedir to handle filename charset translation.
2013-10-15 14:11:34 +02:00
Vladimir 'phcoder' Serbinenko
d7750b324f
* include/grub/emu/hostdisk.h: Move file operations to
...
* include/grub/emu/hostfile.h: ... here.
2013-10-15 13:56:10 +02:00
Vladimir 'phcoder' Serbinenko
2859196e5f
* grub-core/osdep/windows/hostdisk.c (canonicalize_file_name): Handle
...
unicode path.
2013-10-15 13:34:03 +02:00
Vladimir 'phcoder' Serbinenko
c018c968cd
* grub-core/tests/checksums.h: Regenerate due to swiss.sed change.
2013-10-15 13:28:19 +02:00
Vladimir 'phcoder' Serbinenko
7e45abcef4
Move cpu time retrieval to separate grub_util_get_cpu_time_ms
...
and remove export.h.
2013-10-15 13:13:53 +02:00
Vladimir 'phcoder' Serbinenko
23934da26e
* grub-core/kern/emu/error.c: Removed.
...
* grub-core/Makefile.core.def (kernel): Don't add error.c and progname.c
explicitly as it's already in libgnu.a.
2013-10-15 12:46:06 +02:00
Vladimir 'phcoder' Serbinenko
c11ebcc84f
* grub-core/osdep/windows/emuconsole.c: Add missing config.h and
...
config-util.h include.
2013-10-15 12:43:52 +02:00
Vladimir 'phcoder' Serbinenko
70671037c8
Split emunet into platform-dependent and GRUB-binding parts. Keep
...
platform-dependent part in kernel for easy access to OS functions.
2013-10-15 11:55:20 +02:00
Vladimir 'phcoder' Serbinenko
25ac643a54
* grub-core/tests/video_checksum.c: Use grub_util_fd_* rather than
...
open/read/write.
2013-10-15 11:06:57 +02:00
Vladimir 'phcoder' Serbinenko
69ca587652
* grub-core/osdep/windows/emuconsole.c: New file.
2013-10-14 21:33:55 +02:00
Andrey Borzenkov
44016e527a
* grub-core/disk/efi/efidisk.c (grub_efidisk_get_device_name):
...
Handle CD-ROMs.
2013-10-14 17:06:39 +02:00
Vladimir 'phcoder' Serbinenko
6de9ee86bf
Pass-through unknown E820 types. It required reorganisation of mmap
...
module.
2013-10-14 16:33:44 +02:00
Vladimir 'phcoder' Serbinenko
b73249d260
Make grub_util_fd_seek match behaviour of other grub_util_fd_* and
...
fseeko.
2013-10-14 12:47:09 +02:00
qwertial
dac86b182c
* grub-core/gdb_grub.in: Fix overflow and wrong field.
2013-10-14 03:40:20 +02:00
Vladimir 'phcoder' Serbinenko
6de292cb9b
Define GRUB_UTIL_FD_O_* and always use them with grub_util_fd_open.
2013-10-14 02:11:59 +02:00
Vladimir 'phcoder' Serbinenko
21d85db12f
* grub-core/Makefile.core.def: Add osdep/init.c on emu.
...
* grub-core/kern/emu/main.c: Add missing include.
* grub-core/osdep/basic/init.c (grub_util_host_init) [!GRUB_UTIL]:
Don't call grub_util_init_nls.
* grub-core/osdep/windows/init.c (grub_util_host_init) [!GRUB_UTIL]:
Likewise.
2013-10-14 02:06:43 +02:00
Vladimir 'phcoder' Serbinenko
bb338aaf24
Add a wrapper for fopen. On unix-like systems just pass-through. On
...
windows use unicode version.
2013-10-13 20:36:28 +02:00
Vladimir 'phcoder' Serbinenko
ae5540d3d4
Move set_program_name and init_nls to host_init. On windows
...
fix in this fuction console and argument charset as well.
2013-10-13 20:03:42 +02:00
Melki Christian
3414b6c0e2
* grub-core/term/at_keyboard.c [DEBUG_AT_KEYBOARD]: Fix compilation
...
error when enabling debug.
2013-10-12 08:11:19 +02:00
Vladimir 'phcoder' Serbinenko
ff2d4dc41c
* grub-core/kern/arm/dl_helper.c: Use more proper %p for pointer.
2013-10-12 07:50:26 +02:00
Vladimir 'phcoder' Serbinenko
60d4f0bb45
* grub-core/fs/fat.c: Fix handling of exfat contiguous files.
2013-10-11 16:13:52 +02:00
Vladimir Testov
145e2369a7
* grub-core/gfxmenu/gui_list.c: New option scrollbar_thumb_overlay
.
...
* docs/grub.texi: Likewise.
2013-10-10 14:37:19 +04:00
Vladimir 'phcoder' Serbinenko
ed8c0887f4
* conf/Makefile.extra-dist: Fix extra-dist list.
...
* grub-core/Makefile.core.def: Likewise.
2013-10-10 09:47:39 +02:00
Vladimir 'phcoder' Serbinenko
2fe53a22b8
* grub-core/osdep/aros/getroot.c: Change to //: prefix as discussed
...
with AROS devs.
* grub-core/osdep/aros/hostdisk.c: Likewise.
2013-10-10 09:21:33 +02:00
Vladimir Testov
ad297ec734
* grub-core/gfxmenu/gui_list.c: New options for scrollbar padding:
...
scrollbar_left_pad, scrollbar_right_pad, scrollbar_top_pad,
scrollbar_bottom_pad
* docs/grub.texi: Likewise.
2013-10-09 16:55:16 +04:00
Vladimir Testov
6e9e5dc98b
* grub-core/gfxmenu/gui_list.c (list_destroy): Fixed memory leak.
2013-10-09 10:44:11 +04:00
Vladimir 'phcoder' Serbinenko
37149a2f20
* include/grub/emu/hostdisk.h (grub_hostdisk_linux_find_partition):
...
Removed.
* grub-core/osdep/linux/hostdisk.c (grub_hostdisk_linux_find_partition):
Made static.
2013-10-09 07:16:20 +02:00
Vladimir 'phcoder' Serbinenko
caca1c70cf
Move OS-specific driver configuration to grub_util_fd_open. This
...
moves OS-dependent parts from kern/emu/hostdisk.c to
grub-core/osdep/*/hostdisk.c.
2013-10-09 07:04:25 +02:00
Vladimir 'phcoder' Serbinenko
b102ce6909
* grub-core/osdep/basic/random.c: New file. Abort on an attempt to
...
get random when no RNG is available.
* grub-core/osdep/random.c: Use basic/random.c on OS out of whitelist.
2013-10-08 21:28:14 +02:00
Vladimir 'phcoder' Serbinenko
acbbe5cbad
* include/grub/util/lvm.h: Removed.
2013-10-08 21:01:09 +02:00
Vladimir 'phcoder' Serbinenko
2112fb3fef
* grub-core/kern/emu/misc.c (fsync) [__MINGW32__]: Move to ...
...
* grub-core/osdep/windows/hostdisk.c (fsync) [__MINGW32__]: ... here.
2013-10-08 20:05:24 +02:00
Vladimir 'phcoder' Serbinenko
79f78fbf06
* grub-core/osdep/windows/sleep.c: Add missing config.h.
2013-10-08 20:02:07 +02:00
Vladimir 'phcoder' Serbinenko
c2e6f70589
* grub-core/kern/emu/misc.c (grub_get_rtc): Remove (it's a leftover).
2013-10-08 19:53:57 +02:00
Vladimir 'phcoder' Serbinenko
620b52bf47
Couple missed files from previous commits.
2013-10-08 19:17:46 +02:00
Vladimir 'phcoder' Serbinenko
aabe433afe
* grub-core/net/drivers/emu/emunet.c: Move to ..
...
* grub-core/osdep/linux/emunet.c: ..here.
2013-10-08 18:42:46 +02:00
Vladimir 'phcoder' Serbinenko
9a2c903f28
* util/ieee1275/ofpath.c: Move to ...
...
* grub-core/osdep/linux/ofpath.c: ..here, split stub into ...
* grub-core/osdep/basic/ofpath.c: ..here.
2013-10-08 18:25:49 +02:00
Vladimir 'phcoder' Serbinenko
4a445f580b
Move password-querying (util-version) routines to grub-core/osdep.
2013-10-08 17:51:39 +02:00
Vladimir 'phcoder' Serbinenko
c1ca424476
Move sleep routines to grub-core/osdep.
2013-10-08 17:38:46 +02:00
Vladimir 'phcoder' Serbinenko
672fa55e81
Move OS-dependent files to grub-core/osdep and document it.
2013-10-08 17:30:22 +02:00
Vladimir 'phcoder' Serbinenko
a5b0365ab2
* grub-core/kern/emu/misc.c (canonicalize_file_name): Move to ...
...
* grub-core/kern/emu/hostdisk_*.c (canonicalize_file_name): ... here.
2013-10-08 17:04:46 +02:00
Vladimir 'phcoder' Serbinenko
29072e994e
* grub-core/kern/arm/misc.S: Remove leftover ARM and THUMB.
2013-10-08 17:03:19 +02:00
Vladimir 'phcoder' Serbinenko
c4cf25eef7
* grub-core/fs/zfs/zfs_lz4.c: Switch from ad-hoc endiannes and width
...
macros to GRUB ones.
2013-10-08 16:55:39 +02:00
Vladimir Testov
53a5f5c2f0
* grub-core/gfxmenu/gui_list.c (draw_scrollbar): Fixed rare
...
occasional bug. If there are too many boot entries or too low
scrollbar height then we need to use another formula to calculate
the position and size of the scrollbar thumb.
2013-10-08 18:49:35 +04:00
Vladimir Testov
c582736463
* grub-core/gfxmenu/gui_list.c: New option scrollbar-slice
.
...
* docs/grub.texi: Likewise.
2013-10-08 18:31:53 +04:00
Vladimir Testov
dd2ed8b092
* grub-core/gfxmenu/gui_list.c: Draw the scrollbar in a separate
...
viewport.
2013-10-08 16:27:56 +04:00
Vladimir Testov
7286c38450
* grub-core/gfxmenu.c (list_get_minimal_size): Corrected minimal
...
width calculations.
2013-10-08 15:35:00 +04:00
Vladimir 'phcoder' Serbinenko
b726be7653
* grub-core/fs/ufs.c (grub_ufs_get_file_block): Give GRUB_ERR_BAD_FS
...
for quadruple indirect rather than GRUB_ERR_NOT_IMPLEMENTED_YET as
it's FS and not GRUB limitation.
2013-10-07 20:07:19 +02:00
Vladimir 'phcoder' Serbinenko
a5f6ade676
* grub-core/kern/arm/efi/startup.S: Remove thumb leftover.
2013-10-07 20:04:54 +02:00
Vladimir 'phcoder' Serbinenko
3b0f3aa2a7
* grub-core/kern/arm/efi/init.c: Rewrite timer fucntion.
2013-10-07 19:23:14 +02:00
Vladimir 'phcoder' Serbinenko
47345010a4
Add AROS hostdisk and getroot routines.
2013-10-04 02:35:03 +02:00
Vladimir 'phcoder' Serbinenko
bf25f87931
Make cryptodisk and diskfilter probe data retrievable programmatically
...
and not just printable.
2013-10-04 01:43:47 +02:00
Vladimir 'phcoder' Serbinenko
c7c177f07f
* grub-core/kern/arm/dl.c (do_relocations): Accept and ignore
...
R_ARM_V4BX.
2013-10-03 23:55:06 +02:00
Vladimir 'phcoder' Serbinenko
d71b45ae8e
* grub-core/tests/video_checksum.c: Increase robustness to out of memory
...
condition.
* grub-core/tests/fake_input.c: Likewise.
* grub-core/tests/cmdline_cat_test.c: Likewise.
2013-10-03 23:38:18 +02:00
Vladimir 'phcoder' Serbinenko
e44b9a8349
* grub-core/video/capture.c: Do not do finalization when .fini
...
is called as there is explicit capture_end.
2013-10-03 23:33:58 +02:00
Vladimir 'phcoder' Serbinenko
4fa60739f2
* grub-core/term/gfxterm.c: Add flag "functional" to skip input when
...
changing windows to avoid crash.
2013-10-03 23:32:19 +02:00
Vladimir 'phcoder' Serbinenko
17c8bc378f
* grub-core/kern/arm/cache.c: Add v5 write-through cache support.
2013-10-03 23:29:57 +02:00
Vladimir 'phcoder' Serbinenko
498d503316
* grub-core/gfxmenu/theme_loader.c (theme_set_string): Fix memory leak
...
and don't mark error strings for translation.
2013-10-03 23:23:00 +02:00
Vladimir 'phcoder' Serbinenko
7d93298ff6
* grub-core/disk/uboot/ubootdisk.c (uboot_disk_open): Use grub_error
...
properly in case of missing block size.
2013-10-03 23:20:00 +02:00
Vladimir 'phcoder' Serbinenko
b2cae20c11
* grub-core/lib/arm/setjmp.S: Add missing license section.
2013-10-03 19:50:08 +02:00
Vladimir Testov
ebc1da55cd
* grub-core/gfxmenu/theme_loader.c: New global options for the
...
theme background image handling. desktop-image-scale-method,
desktop-image-h-align, desktop-image-v-align.
* grub-core/gfxmenu/view.c: Likewise.
* include/gfxmenu_view.h: Likewise.
* include/bitmap_scale.h: Proportional scale functions introduced.
* grub-core/video/bitmap_scale.c: Likewise. Verification checks are
put in a separate functions. GRUB_ERR_BUG is set for grub_error in
cases of unexpected input variables for scale functions.
* docs/grub.texi: Updated documentation for new options.
2013-10-02 18:17:33 +04:00
Vladimir 'phcoder' Serbinenko
c573914389
* grub-core/video/readers/png.c: Support narrow (4-/2-/1-bpp) PNG.
2013-10-02 13:22:56 +02:00
Vladimir Testov
be74aeb39e
* grub-core/tests/checksums.h: Corrected due to changes in
...
bilinear interpolation function.
2013-10-01 18:00:53 +04:00
Vladimir Testov
d999ac72e2
* grub-core/video/bitmap_scale.c (scale_bilinear): Increased precision
...
to eliminate artefacts in bilinear interpolation.
2013-10-01 16:34:04 +04:00
Vladimir 'phcoder' Serbinenko
2b131610d0
* grub-core/video/readers/tga.c: Support paletted tga.
2013-09-28 19:22:20 +02:00
Vladimir 'phcoder' Serbinenko
de6e5ff89b
* grub-core/video/readers/jpeg.c (grub_jpeg_decode_data): Remove
...
incorrect cbcr setting when in color mode.
2013-09-28 03:06:04 +02:00
Vladimir 'phcoder' Serbinenko
fa31ee9c2c
* grub-core/video/readers/png.c: Support paletted images and clean up
...
greyscale support.
2013-09-28 03:04:34 +02:00
Vladimir 'phcoder' Serbinenko
e84f818865
* grub-core/term/terminfo.c (grub_terminfo_readkey): Fix
...
usage of wrong table which resulted in mishandling of 4-byte
sequences.
2013-09-28 01:03:31 +02:00
Vladimir 'phcoder' Serbinenko
2237daf246
* grub-core/term/terminfo.c: Add Home and End key sequences.
2013-09-28 00:55:38 +02:00
Vladimir 'phcoder' Serbinenko
d72bff0997
* grub-core/video/readers/png.c (grub_png_decode_image_header):
...
Fix formula for computing total number of bytes.
2013-09-27 21:51:52 +02:00
Vladimir 'phcoder' Serbinenko
29648c5d84
* grub-core/video/readers/tga.c: Reorganize to separate RLE and
...
image processing, fix big-endian and support grayscale.
2013-09-27 21:49:08 +02:00
Vladimir 'phcoder' Serbinenko
4a87649207
* grub-core/video/fb/video_fb.c (grub_video_fb_create_render_target):
...
Correctly will with maximum transparency when using index color.
2013-09-27 21:44:03 +02:00
Vladimir 'phcoder' Serbinenko
3ccf16dff9
* grub-core/video/readers/png.c: Support grayscale
2013-09-27 12:04:09 +02:00
Vladimir 'phcoder' Serbinenko
e9c492a02e
* grub-core/video/readers/jpeg.c: Support grayscale.
2013-09-27 11:13:36 +02:00
Jon McCune
0340bdbc22
* grub-core/commands/loadenv.c: Support skipping signature check
...
and variable names filtering.
2013-09-27 02:08:32 +02:00
Vladimir 'phcoder' Serbinenko
30b7f58f4e
* grub-core/kern/emu/hostdisk_unix.c: Declare AROS as non-unix.
...
* grub-core/kern/emu/hostfs.c: Likewise.
* util/getroot_unix.c: Likewise.
2013-09-24 19:19:31 +02:00
Vladimir 'phcoder' Serbinenko
bab7b1ebeb
* include/grub/emu/hostdisk.h (GRUB_FD_STAT_IS_FUNTIONAL): New define.
...
Migrate all explicit defines to this new one.
2013-09-24 19:17:24 +02:00
Vladimir 'phcoder' Serbinenko
43b1c99d53
* grub-core/kern/emu/hostdisk.c (grub_util_biosdisk_open): Use
...
grub_util_fd_strerror when using grub_util_fd_*.
(grub_util_fd_open_device): Likewise.
(grub_util_biosdisk_read): Likewise.
(grub_util_biosdisk_write): Likewise.
* grub-core/kern/emu/hostdisk_unix.c (grub_util_fd_open): New function.
(grub_util_fd_strerror): Likewise.
(grub_util_fd_sync): Likewise.
(grub_util_fd_close): Likewise.
* grub-core/kern/emu/hostdisk_windows.c (grub_util_fd_sync): Likewise.
(grub_util_fd_close): Likewise.
(grub_util_fd_strerror): Likewise.
* include/grub/emu/hostdisk.h (grub_util_fd_close): Make into real
function proto rather than macro.
(grub_util_fd_sync): Likewise.
(grub_util_fd_open): Likewise.
(grub_util_fd_strerror): New proto.
2013-09-24 19:08:34 +02:00
Vladimir 'phcoder' Serbinenko
bf645fda03
* grub-core/kern/emu/hostdisk.c (grub_util_biosdisk_open): Move struct
...
stat immediately to where it's used.
2013-09-24 18:57:19 +02:00
Vladimir 'phcoder' Serbinenko
9db826e149
* grub-core/kern/emu/hostdisk.c (grub_util_biosdisk_close): Fix
...
disk closing logic.
2013-09-24 18:36:51 +02:00
Vladimir 'phcoder' Serbinenko
3fff48ab45
* grub-core/kern/emu/hostdisk_windows.c (grub_util_get_windows_path):
...
Always return full path. Fixes a problem with mkrelpath.
2013-09-23 22:49:20 +02:00
starous@volny.cz
7c680e1f17
USB EHCI: SMI disabled in all cases
2013-09-23 20:30:52 +02:00
Massimo Maggi
890bdabe96
* grub-core/fs/zfs/zfs.c (check_pool_label): Check nvlist.
2013-09-23 18:50:07 +02:00
Melki Christian
d755342abe
* grub-core/bus/usb/usbhub.c (poll_nonroot_hub): Fix the type of
...
"changed".
2013-09-23 14:39:13 +02:00
Josh Triplett
68b777070a
* grub-core/boot/i386/pc/lnxboot.S: Re-add support for recording the
...
boot partition.
2013-09-23 14:31:42 +02:00
Vladimir 'phcoder' Serbinenko
621bed6990
* grub-core/video/efi_gop.c (grub_video_gop_setup): Fix a typo which
...
desactivated use of EDID at all.
2013-09-23 13:40:07 +02:00
neil
71764dc8ca
* grub-core/loader/multiboot.c (grub_multiboot_set_console): Always use
...
video if no text is available.
Also-By: Vladimir Serbinenko <phcoder@gmail.com>
2013-09-23 13:35:33 +02:00
Vladimir 'phcoder' Serbinenko
affce7d417
* grub-core/genmod.sh.in: Remove ./ from TARGET_OBJ2ELF. Add quotes.
...
Based on patches from AROS.
2013-09-23 13:03:03 +02:00
Vladimir 'phcoder' Serbinenko
0e8daad0bd
* grub-core/Makefile.am: Override STRIP and RANLIB.
...
* configure.ac: compute TARGET_RANLIB.
* INSTALL: Document TARGET_RANLIB
Based on patches from AROS.
2013-09-23 12:55:18 +02:00
Vladimir 'phcoder' Serbinenko
5dd8205424
* grub-core/lib/posix_wrap/sys/types.h: Use OpenBSD approach: it's
...
less nice but more portable.
* grub-core/lib/posix_wrap/wchar.h: Likewise.
2013-09-23 12:03:56 +02:00
Vladimir 'phcoder' Serbinenko
a47a78be88
* include/grub/cryptodisk.h (grub_cryptodisk): Use grub_util_fd_t
...
for cheat_fd.
* grub-core/disk/cryptodisk.c (grub_cryptodisk_open): Use grub_util_*
functions.
(grub_cryptodisk_cheat_insert): Likewise.
(grub_cryptodisk_close): Likewise.
2013-09-23 11:58:19 +02:00
Vladimir 'phcoder' Serbinenko
7e518ca84f
Use Winapi on both cygwin and mingw32 to share more code between both.
2013-09-23 11:21:09 +02:00
Vladimir 'phcoder' Serbinenko
3ff4063dd3
* grub-core/kern/emu/hostdisk.c: Disentagle into a series of OS-specific
...
files rather than one file with loads of #if's.
* util/getroot.c: Likewise.
2013-09-22 07:36:17 +02:00
Vladimir 'phcoder' Serbinenko
287faafe8d
* grub-core/lib/posix_wrap/sys/types.h: Use stddef on *BSD.
2013-09-22 03:29:51 +02:00
starous@volny.cz
306950e137
USB EHCI QH handling patch
2013-09-21 15:39:51 +02:00
Vladimir 'phcoder' Serbinenko
63653cfdae
* grub-core/disk/diskfilter.c: Handle non-md UUIDs.
...
* grub-core/disk/lvm.c: Add LVM UUIDs.
* util/getroot.c: Use LVM UUIDs whenever possible.
2013-09-20 20:37:03 +02:00
Leif Lindholm
e70d6736ff
* kern/arm/cache.S: Correct access to ilinesz/dlinesz variables.
...
Clean up stack manipulation (sync_caches_armv*)
2013-09-19 09:21:24 +02:00
Vladimir 'phcoder' Serbinenko
386701a8fe
Handle the case of partitioned LVM properly.
...
* grub-core/kern/emu/hostdisk.c (grub_util_get_dm_node_linear_info):
Stop on meeting LVM, mpath or DMRAID.
(grub_hostdisk_os_dev_to_grub_drive): Canonicalize os device.
(read_device_map): Likewise.
* util/getroot.c (convert_system_partition_to_system_disk): Assume that
device is full disk rather than erroring out on LVM and similar cases.
2013-09-19 08:48:54 +02:00
Vladimir 'phcoder' Serbinenko
1bc783bd39
* grub-core/kern/mm.c (grub_mm_init_region): Skip regions less than
...
4K before the end.
Reported by: Leif Lindholm
2013-09-18 20:23:47 +02:00
Pawel Wojtalczyk
436ad5c3f4
* grub-core/term/efi/console.c (grub_console_getkey): Accept VT100-style
...
codes.
Also-By: Vladimir Serbinenko <phcoder@gmail.com>
2013-09-18 18:58:09 +02:00
Colin Watson
607319c9ab
* grub-core/disk/efi/efidisk.c (grub_efidisk_get_device_name_iter):
...
Remove no-longer-true __attribute__ ((unused)) on disk parameter.
2013-09-18 15:43:58 +01:00
Melki Christian
897c3bc634
* grub-core/bus/usb/usb.c (grub_usb_device_initialize): Add condition
...
to break endless loop.
2013-09-18 13:27:05 +02:00
Vladimir 'phcoder' Serbinenko
64463dfde4
* grub-core/lib/xzembed/xz_dec_lzma2.c: Make -Wattributes not cause
...
error.
2013-08-23 08:58:34 +02:00
Vladimir 'phcoder' Serbinenko
6b87c10a0b
* grub-core/lib/crypto.c (grub_password_get) [GRUB_UTIL]: Add
...
windows variant.
* util/grub-mkpasswd-pbkdf2.c: Add windows flavour for retrieving random
data.
2013-08-22 20:14:07 +02:00
Vladimir 'phcoder' Serbinenko
7b780018f5
Handle grub-pe2elf and grub-mkfont for cases when build != host.
...
* Makefile.am (build-grub-mkfont): Don't include gnulib.
(build-grub-gen-asciih): Likewise.
(build-grub-gen-widthspec): Likewise.
* Makefile.util.def (grub-pe2elf): Remove.
* config.h.in [GRUB_BUILD]: Use build rather than host constants.
* configure.ac: Separate tests for build.
Move ./build-grub-pe2elf to grub-core.
Fix typo.
* grub-core/Makefile.am (build-grub-pe2elf): New target.
* grub-core/kern/emu/misc.c (xasprintf): Don't compile if GRUB_BUILD is
defined.
* include/grub/types.h [GRUB_BUILD]: Use build rather than host
constants.
* util/grub-mkfont.c [GRUB_BUILD]: Simplify not to rely on argp.
* util/grub-pe2elf.c: Simplify not to rely on getopt.
* util/misc.c (program_name) [GRUB_BUILD]: Define to static string.
2013-08-22 17:00:59 +02:00
Vladimir 'phcoder' Serbinenko
984cfd8a79
* grub-core/kern/emu/hostdisk.c (grub_util_get_fd_size): Adapt for
...
mingw32 as well based on grub_util_get_disk_size.
* util/misc.c (grub_util_get_disk_size): Removed. all users switched to
grub_util_get_fd_size.
(sync): Removed.
(fsync): Moved to ...
* grub-core/kern/emu/misc.c (fsync): ... here.
2013-08-22 16:50:12 +02:00
Vladimir 'phcoder' Serbinenko
f82d79c984
* include/grub/mm.h (grub_extend_alloc): Remove.
...
* grub-core/loader/i386/pc/plan9.c: Use own version of
grub_extend_alloc with appropriate types.
2013-08-22 16:44:20 +02:00
Vladimir 'phcoder' Serbinenko
3c7eac445b
Fix dependencies on cygwin.
...
* gentpl.py: Support variable dependencies. Add $TARGET_OBJ2ELF to
dependencies when used and defined.
* grub-core/Makefile.core.def (regexp): Add dependency on libgnulib.a.
2013-08-22 16:25:10 +02:00
Vladimir 'phcoder' Serbinenko
bdb5ba47d8
* include/grub/zfs/spa.h (zio_cksum): Add explicit members for mac.
...
* grub-core/fs/zfs/zfs.c (zio_read): Don't use casts to retrieve mac.
2013-08-22 16:20:32 +02:00
Vladimir 'phcoder' Serbinenko
ed7fbf43c2
* grub-core/kern/emu/mm.c (grub_memalign): Don't define if there is no
...
implementation available to cause compile-time rather than runtime
error.
2013-08-22 16:16:29 +02:00
Vladimir 'phcoder' Serbinenko
8ed358e0ee
* include/grub/crypto.h: Don't declare gcry_log_bug, gcry_log_printf
...
and gcry_log_bug.
* grub-core/lib/libgcrypt_wrap/mem.c: Include g10lib.h
2013-08-22 16:03:47 +02:00
Vladimir 'phcoder' Serbinenko
fc97214f7e
* INSTALL: Document cross-compilation.
...
* acinclude.m4: Determine whether nm support -P and --defined-only.
* configure.ac: Add TARGET_ to all variables pertaining to target
that don't have it yet.
* gentpl.py: Likewise.
* grub-core/Makefile.am: Likewise.
* grub-core/genmod.sh.in: Likewise.
* grub-core/gensyminfo.sh.in: Handle OpenBSD and other non-GNU nm
as well.
2013-08-22 01:56:28 +02:00
Ilya Bakulin
0031b22993
* grub-core/kern/emu/hostdisk.c: Add conditionals for OpenBSD.
...
* util/getroot.c: Likewise.
2013-08-21 21:05:01 +02:00
Vladimir 'phcoder' Serbinenko
54ea2f4401
* grub-core/disk/ahci.c: Add needed explicit cast.
...
* grub-core/lib/backtrace.c: Likewise.
* grub-core/net/ip.c: Likewise.
* grub-core/net/tcp.c: Likewise.
* grub-core/net/udp.c: Likewise.
2013-08-21 21:02:14 +02:00
Vladimir 'phcoder' Serbinenko
3c601f8c81
* grub-core/lib/posix_wrap/wchar.h: Fix typo.
2013-08-21 21:01:11 +02:00
sutre@tahoe
ad1fe3f91f
Always fill bootdisk info and improve check for NetBSD disklabel.
2013-08-16 19:41:33 +02:00
Vladimir 'phcoder' Serbinenko
d5c1eef106
* grub-core/lib/posix_wrap/wchar.h: Fix wchar_t and mbstate_t conflict
...
on NetBSD and OpenBSD.
2013-08-16 14:10:37 +02:00
Vladimir Testov
03dafa17df
* grub-core/gfxmenu/gui_list.c: Baseline misplacement fixed.
2013-08-15 16:13:51 +04:00
Vladimir Testov
224a55bb07
* grub-core/gfxmenu/gui_list.c: The number of color mappings is
...
reduced. Inheritant options are processed during the theme loading.
2013-08-15 16:12:11 +04:00
Vladimir Testov
58ec39c6a7
* grub-core/gfxmenu/gui_list.c: Minimal width fixed.
2013-08-15 16:10:45 +04:00
Avik Sil
369508b3cb
* grub-core/net/tftp.c: Send tftp ack packet before closing the socket.
2013-08-14 20:32:42 -03:00
Avik Sil
412ce9165c
* grub-core/net/drivers/ieee1275/ofnet.c: Get proper mac address when using qemu.
2013-08-14 18:03:01 -03:00
Andrey Borzenkov
c6ed362a3f
* grub-core/disk/i386/pc/biosdisk.c (grub_biosdisk_iterate): Remove
...
unused attribute from pull argument.
2013-08-14 20:52:19 +04:00
Vladimir 'phcoder' Serbinenko
f0b94ded6d
* grub-core/kern/emu/misc.c (grub_device_mapper_supported): Move from
...
here ...
* grub-core/kern/emu/hostdisk.c (grub_device_mapper_supported): ... to
here.
2013-08-14 17:55:15 +02:00
Vladimir 'phcoder' Serbinenko
7c9d0c39af
Fix handling of build-time grub-bin2h and grub-mkfont when doing
...
full Canadian cross. Tested with build=x86_64, host=arm,
target=ppc-ieee1275.
2013-08-14 10:56:55 +02:00
Vladimir 'phcoder' Serbinenko
2af2353b0a
* grub-core/kern/i386/coreboot/init.c: Fix compilation on
...
i386-multiboot.
2013-08-14 10:43:10 +02:00
Vladimir 'phcoder' Serbinenko
797abd0a23
* grub-core/kern/vga_init.c: Fix compilation on qemu-mips.
...
* grub-core/kern/mips/qemu_mips/init.c: Likewise.
2013-08-14 09:50:57 +02:00
Grégoire Sutre
418f86c659
Prevent shadowing of stdlib's devname(3) on BSD.
2013-08-12 11:49:33 +02:00
Vladimir Testov
b47434612c
* docs/grub.texi: Introduce terminal window position options:
...
terminal-left: terminal window's left position
terminal-top: terminal window's top position
terminal-width: terminal window's width
terminal-height: terminal window's height
* grub-core/gfxmenu/theme-loader.c: Likewise.
* include/grub/gfxmenu_view.h: Likewise.
* po/exlude.pot: Likewise.
* grub-core/gfxmenu/view.c: Likewise.
Also updated minimal window size.
Also terminal_sanity_check function has been introduced.
2013-08-08 12:55:24 +04:00
Vladimir 'phcoder' Serbinenko
748a4533f5
* grub-core/tests/checksums.h: Update (1-pixel difference in marker
...
position).
2013-08-02 23:19:17 +02:00
Vladimir 'phcoder' Serbinenko
a62ae90c2b
* grub-core/term/gfxterm.c (grub_virtual_screen_setup): Start with
...
standard rather than noral color, in line with other terminals.
2013-08-02 22:58:16 +02:00
Vladimir 'phcoder' Serbinenko
4ed4139290
* grub-core/partmap/dfly.c: Simplify dprintfs for easier gettext
...
analysis.
2013-08-02 22:56:20 +02:00
Vladimir 'phcoder' Serbinenko
3719fbc57f
* grub-core/loader/arm/linux.c: Change printf to dprintf.
2013-08-02 22:52:51 +02:00
Vladimir 'phcoder' Serbinenko
459b1d9171
* grub-core/fs/zfs/zfs.c (check_feature): Cleanup and remove
...
inappropriate printf.
2013-08-02 22:45:41 +02:00
Vladimir 'phcoder' Serbinenko
d65be02b89
* grub-core/commands/nativedisk.c (get_uuid): Handle
...
GRUB_DISK_DEVICE_UBOOTDISK_ID.
2013-07-25 16:31:18 +02:00
Vladimir Testov
ba8bc620d1
* grub-core/gfxmenu/widget-box.c: Fixed draw function. Now it takes
...
maximum of NW, N, NE heights instead of N's height and maximum of
NW, W, SW widths instead of W's width. (So the box will be always
correctly drawn)
2013-07-25 18:15:15 +04:00
Grégoire Sutre
4f0ad02936
Unbreak access to netbsd and openbsd partitions.
2013-07-20 18:06:57 +02:00
Vladimir 'phcoder' Serbinenko
bd744218c0
Fix arm-uboot compilation problem
2013-07-17 19:03:11 +02:00
Vladimir 'phcoder' Serbinenko
ae27e4d323
Merge mainline into arm
2013-07-16 18:43:43 +02:00
Vladimir 'phcoder' Serbinenko
88f8d1463f
* grub-core/loader/multiboot_elfxx.c: Check eip after v2p translation
...
and not before.
Reported by: Leon Drugi.
2013-07-16 18:37:44 +02:00
Vladimir 'phcoder' Serbinenko
3f42504c15
* grub-core/kern/powerpc/ieee1275/startup.S: Handle unaligned bss.
...
Reported by: Paulo Flabiano Smorigo.
2013-07-16 07:41:53 +02:00
Vladimir Testov
d110499b22
* grub-core/gfxmenu/gui_list.c: USe viewport when drawing strings.
2013-07-14 23:10:27 +02:00
Vladimir Testov
a8674ad37b
* grub-core/gfxmenu/gui_list.c: Fix height calculation.
2013-07-14 23:02:37 +02:00
Vladimir 'phcoder' Serbinenko
286fe4b379
* grub-core/fs/zfs/zfs.c: Stylistic fixes.
2013-07-14 22:48:23 +02:00
Vladimir 'phcoder' Serbinenko
1bd57aa343
* grub-core/fs/zfs/zfs.c: Run emacs indent on file.
2013-07-14 22:45:51 +02:00
Vladimir 'phcoder' Serbinenko
b2182299a7
* grub-core/fs/zfs/zfs.c: Remove brackets around return value.
2013-07-14 22:33:39 +02:00
Andrey Borzenkov
7a87d69fcf
* grub-core/net/bootp.c: Export net_* variables.
...
* grub-core/net/net.c: Likewise.
2013-07-14 22:59:00 +04:00
Vladimir 'phcoder' Serbinenko
795b3dc094
* grub-core/fs/zfs/zfs_lz4.c: Add missing packed attribute.
2013-07-14 16:29:33 +02:00
Vladimir 'phcoder' Serbinenko
68714c4392
* grub-core/fs/zfs/zfs.c (nvlist_next_nvpair): Fix improper cast.
2013-07-14 16:24:18 +02:00
Vladimir 'phcoder' Serbinenko
af211babd8
* grub-core/fs/zfs/zfs_lz4.c: Remove restrict keyword.
2013-07-14 16:05:14 +02:00
Massimo Maggi
0036f02d7b
* grub-core/fs/zfs/zfs.c (nvlist_next_nvpair): Error is encode_size
...
<= 0.
2013-07-14 14:22:02 +02:00
Massimo Maggi
6d0ddff3d9
* grub-core/fs/zfs/zfs.c: Split nvpair iterators into separate
...
functions.
2013-07-14 14:17:36 +02:00
Massimo Maggi
038016f48a
* grub-core/fs/zfs/zfs_lz4.c: New file.
...
* grub-core/fs/zfs/zfs.c: Tie up lz4 decompression.
2013-07-14 14:12:58 +02:00
Massimo Maggi
776bdce291
* grub-core/fs/zfs/zfs.c: Check for feature compatibility.
2013-07-14 14:10:42 +02:00
Massimo Maggi
c71dbd40a9
* grub-core/fs/zfs/zfs.c (uberblock_verify): Accept version 5000.
...
(check_pool_label): Likewise.
* include/grub/zfs/zfs.h: Rewrite SPA_VERSION_* macros.
2013-07-14 14:01:27 +02:00
Massimo Maggi
53618046da
* grub-core/fs/zfs/zfsinfo.c (print_vdev_info): Fix RAIDZ reporting.
2013-07-14 13:49:01 +02:00
Vladimir 'phcoder' Serbinenko
9c28da2a89
Remove early sm712 init as there is no reason for it (the "watchdog"
...
effect was due to wrong GPIO map).
2013-07-11 16:24:35 +02:00
Vladimir 'phcoder' Serbinenko
139072b83a
* grub-core/commands/pcidump.c: Remove static variables.
2013-07-11 16:11:03 +02:00
Vladimir 'phcoder' Serbinenko
c6a61bda9b
* grub-core/commands/sleep.c: Refresh screen before sleeping.
2013-07-11 16:02:22 +02:00
Vladimir 'phcoder' Serbinenko
efa8640adb
* grub-core/bus/usb/usbhub.c: Fix recheck logic.
2013-07-11 14:52:46 +02:00
Vladimir 'phcoder' Serbinenko
a2371e19b3
* grub-core/normal/charset.c (bidi_line_wrap): Fix spurios warning.
2013-07-11 13:34:20 +02:00
Andrey Borzenkov
a4c89b1731
* grub-core/disk/diskfilter.c: Forgot to remove comment
...
from previous commit.
2013-06-16 16:35:20 +04:00
Andrey Borzenkov
5b06b53cbd
* grub-core/term/gfxterm.c (grub_virtual_screen_setup): Use
...
grub_term_normal_color, do not hardcode GRUB_TERM_DEFAULT_NORMAL_COLOR.
2013-06-16 16:24:05 +04:00
Andrey Borzenkov
aa62a5b7f1
* grub-core/disk/diskfilter.c (scan_devices): Iteratively
...
rescan diskfilter devices until nothing new is found.
2013-06-16 16:12:50 +04:00
Vladimir 'phcoder' Serbinenko
4aa237c8a4
Fix casts when compiling coreboot-specific code for 64-bit EFI.
2013-06-16 04:19:38 +02:00
Vladimir 'phcoder' Serbinenko
93d8479b70
Don't try to detect cbfs on *-emu.
2013-06-16 04:06:41 +02:00
Vladimir 'phcoder' Serbinenko
837222cc30
* grub-core/term/gfxterm.c: USe right background color when scrolling.
2013-06-16 03:53:07 +02:00
Vladimir 'phcoder' Serbinenko
99c971afd3
Add support for processed coreboot payload chainloading.
2013-06-16 02:54:37 +02:00