1. 27 Jan, 2015 1 commit
  2. 11 Dec, 2013 1 commit
  3. 04 Dec, 2013 1 commit
  4. 07 Nov, 2013 1 commit
  5. 26 Oct, 2013 1 commit
  6. 11 Jul, 2013 1 commit
  7. 05 May, 2013 1 commit
  8. 02 Mar, 2013 1 commit
  9. 16 Jan, 2013 1 commit
  10. 07 Apr, 2012 1 commit
  11. 28 Mar, 2012 1 commit
  12. 27 Mar, 2012 1 commit
    • Vladimir 'phcoder' Serbinenko's avatar
      Fix tab and wide character handling in editor and menu. · e1bd676b
      Vladimir 'phcoder' Serbinenko authored
      	* grub-core/normal/charset.c (grub_unicode_aglomerate_comb): Don't
      	agglomerate control characters with combining marks.
      	(bidi_line_wrap): Allow break on tab.
      	(grub_unicode_get_comb_start): New function.
      	* grub-core/normal/menu_entry.c: Restructure to handle wide characters
      	and tab correctly.
      	* grub-core/normal/menu_text.c (print_entry): Replace \n, \r, \b and \e
      	with a space.
      	* grub-core/normal/term.c (print_ucs4_terminal): New argument
      	fixed_tab_size. All users updated.
      	* include/grub/term.h (GRUB_TERM_TAB_WIDTH): New const.
      	(grub_term_getcharwidth): Handle \t.
      	* include/grub/unicode.h (grub_unicode_glyph_dup): Fix allocation
      	and copy.
      e1bd676b
  13. 08 Mar, 2012 1 commit
  14. 05 Mar, 2012 1 commit
  15. 27 Feb, 2012 1 commit
    • Matthew Garrett's avatar
      * grub-core/kern/efi/efi.c (grub_efi_get_variable): Add new function. · c5988629
      Matthew Garrett authored
      	* include/grub/efi/efi.h: Likewise.
      	* include/grub/efi/api.h: Add guid for EFI-specified variables.
      	* include/grub/charset.h (GRUB_MAX_UTF16_PER_UTF8): New definition.
      	* grub-core/normal/charset.c (grub_utf8_process): Move from here ...
      	* include/grub/charset.h (grub_utf8_process): ... to here. Inline.
      	* grub-core/normal/charset.c (grub_utf8_to_utf16): Move from here ...
      	* include/grub/charset.h (grub_utf8_to_utf16): ... to here. Inline.
      c5988629
  16. 26 Feb, 2012 1 commit
  17. 24 Feb, 2012 1 commit
    • Vladimir 'phcoder' Serbinenko's avatar
      * conf/Makefile.common (CFLAGS_GNULIB): Add · 4e27343f
      Vladimir 'phcoder' Serbinenko authored
      	-Wno-unsafe-loop-optimizations.
      	* configure.ac: Remove -Wmissing-declarations and -Wmissing-prototypes
      	on tools.
      	* grub-core/commands/legacycfg.c: Add pragma to skip
      	-Wunsafe-loop-optimizations.
      	(check_password_md5_real): Fix loop counter type.
      	* grub-core/commands/testload.c (grub_cmd_testload): Fix over the EOF
      	reading.
      	* grub-core/disk/ldm.c (grub_util_get_ldm): Fix logic error.
      	* grub-core/fs/zfs/zfs_sha256.c (zio_checksum_SHA256): Add safety
      	loop condition.
      	* grub-core/io/gzio.c: Add pragma to skip -Wunsafe-loop-optimizations.
      	* grub-core/lib/LzmaEnc.c (GetOptimum): Avoid possible infinite loop.
      	* grub-core/net/net.c (grub_net_route_address): Add safety loop
      	condition.
      	* grub-core/normal/charset.c (bidi_line_wrap): Likewise.
      	* grub-core/normal/cmdline.c (grub_set_history): Fix loop types and
      	avoid possible infinite loops.
      	* grub-core/script/parser.y: Add pragma to skip -Wmissing-declarations
      	and -Wunsafe-loop-optimizations.
      	* grub-core/script/yylex.l: Likewise.
      	* util/grub-mkfont.c: Add pragma to skip -Wunsafe-loop-optimizations.
      	(print_glyphs): Avoid infinite loops.
      	* util/grub-mkimage.c (compress_kernel_xz): Fix format security.
      4e27343f
  18. 22 Feb, 2012 1 commit
  19. 08 Feb, 2012 1 commit
  20. 13 Jan, 2012 1 commit
  21. 25 Dec, 2011 3 commits
  22. 14 Dec, 2011 1 commit
  23. 13 Dec, 2011 1 commit
    • Vladimir 'phcoder' Serbinenko's avatar
      Enable UTF8 in gnulib regexp. · c5fc563a
      Vladimir 'phcoder' Serbinenko authored
      	* config.h.in (RE_ENABLE_I18N) [!GRUB_UTIL]: New define.
      	* grub-core/lib/posix_wrap/ctype.h (islower): Use grub_islower.
      	(isupper): Use grub_isupper.
      	(isascii): New inline function.
      	* grub-core/lib/posix_wrap/wchar.h: Replace dummy with real contents.
      	* grub-core/lib/posix_wrap/wctype.h: Likewise.
      	* grub-core/normal/charset.c (grub_utf8_process): New function.
      	(grub_utf8_to_utf16): Use grub_utf8_process.
      	(grub_encode_utf8_character): New function.
      	(grub_ucs4_to_utf8): Use grub_encode_utf8_character.
      	* include/grub/charset.h (grub_utf8_process): New declaration.
      	(grub_encode_utf8_character): Likewise.
      	* include/grub/misc.h (grub_islower): New inline function.
      	(grub_isupper): Likewise.
      	(grub_strchrsub): Moved down to fix the definitions.
      c5fc563a
  24. 17 Nov, 2010 1 commit
    • Vladimir 'phcoder' Serbinenko's avatar
      Make better UTF compliant. · 1afcc914
      Vladimir 'phcoder' Serbinenko authored
      	* grub-core/normal/charset.c (grub_utf8_to_utf16): Handle 6- and 7-byte
      	sequences as incorrect.
      	(grub_is_valid_utf8): Likewise.
      	(grub_utf8_to_ucs4): Likewise.
      	(grub_ucs4_to_utf8): Handle codepoints outside of BMP.
      	(grub_ucs4_to_utf8_alloc): Likewise.
      	* include/grub/charset.h (grub_utf16_to_utf8): Likewise.
      1afcc914
  25. 30 Aug, 2010 1 commit
  26. 28 Aug, 2010 1 commit