1. 08 May, 2013 1 commit
  2. 14 May, 2012 1 commit
  3. 07 Apr, 2012 1 commit
  4. 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
  5. 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
  6. 26 Feb, 2012 1 commit
  7. 08 Feb, 2012 1 commit
  8. 25 Dec, 2011 2 commits
  9. 14 Dec, 2011 2 commits
  10. 13 Dec, 2011 2 commits
    • 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
    • Vladimir 'phcoder' Serbinenko's avatar
      * include/grub/charset.h (GRUB_MAX_UTF8_PER_UTF16): New const. · 1bc8f60d
      Vladimir 'phcoder' Serbinenko authored
      	* grub-core/fs/hfsplus.c (grub_hfsplus_catkey_internal): Change to
      	UTF-16-BE. All users updated.
      	(grub_hfsplus_cmp_catkey): Fix unicode handling.
      	(grub_hfsplus_iterate_dir): Likewise.
      	(grub_hfsplus_label): Likewise.
      1bc8f60d
  11. 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
  12. 17 Aug, 2010 1 commit
  13. 06 May, 2010 1 commit
  14. 16 Mar, 2010 2 commits
  15. 15 Mar, 2010 1 commit
  16. 24 Dec, 2009 2 commits
  17. 09 Nov, 2009 1 commit
  18. 29 Aug, 2009 1 commit