87 Commits (f08110ddd84438f4a8d69c145fae7f65fc91940f)

Author SHA1 Message Date
Jeff King c7d017d7e1 reencode_string: use size_t for string lengths 7 years ago
Jeff King 77aa03d6c7 reencode_string: use st_add/st_mult helpers 7 years ago
Beat Bolli 2b647a05d7 utf8.c: avoid char overflow 7 years ago
Jeff King 0fc333ba20 is_hfs_dotgit: match other .git files 7 years ago
Lars Schneider c6e48652f6 utf8: add function to detect a missing UTF-16/32 BOM 7 years ago
Lars Schneider 10ecb82e4f utf8: add function to detect prohibited UTF-16/32 BOM 7 years ago
Lars Schneider 2f0c4a362c utf8: teach same_encoding() alternative UTF encoding names 7 years ago
Stefan Beller e233bef43e unicode_width.h: rename to use dash in file name 7 years ago
Derrick Stolee 19716b21a4 cleanup: fix possible overflow errors in binary search 7 years ago
Rene Scharfe 9a012bf32a utf8: release strbuf on error return in strbuf_utf8_replace() 8 years ago
Junio C Hamano df3755888b utf8: accept "latin-1" as ISO-8859-1 8 years ago
Junio C Hamano 3270741ea8 utf8: refactor code to decide fallback encoding 8 years ago
Karthik Nayak 110dcda50d utf8: add function to align a string into given strbuf 10 years ago
Junio C Hamano dde843e737 utf8-bom: introduce skip_utf8_bom() helper 10 years ago
Jeff King 6aaf956b08 is_hfs_dotgit: loosen over-eager match of \u{..47} 10 years ago
Jeff King 6162a1d323 utf8: add is_hfs_dotgit() helper 10 years ago
René Scharfe d07235a027 strbuf: export strbuf_addchars() 11 years ago
Nguyễn Thái Ngọc Duy 430875969a utf8.c: fix strbuf_utf8_replace() consuming data beyond input string 11 years ago
Torsten Bögershausen 9c94389c3e utf8: make it easier to auto-update git_wcwidth() 11 years ago
Torsten Bögershausen 08460345b5 utf8.c: use a table for double_width 11 years ago
Torsten Bögershausen d813ab970d utf8.c: partially update to version 6.3 11 years ago
John Keeping a68a67dea3 utf8: use correct type for values in interval table 11 years ago
John Keeping df5213b70d utf8: fix iconv error detection 11 years ago
Ramsay Jones 980419b993 pretty: Fix bug in truncation support for %>, %< and %>< 12 years ago
Nguyễn Thái Ngọc Duy 1640632b4f pretty: support %>> that steal trailing spaces 12 years ago
Nguyễn Thái Ngọc Duy a7f01c6b4d pretty: support truncating in %>, %< and %>< 12 years ago
Nguyễn Thái Ngọc Duy b782bbab94 utf8.c: add reencode_string_len() that can handle NULs in string 12 years ago
Nguyễn Thái Ngọc Duy 2bc1e7ecba utf8.c: add utf8_strnwidth() with the ability to skip ansi sequences 12 years ago
Nguyễn Thái Ngọc Duy 4247fe7956 utf8.c: move display_mode_esc_sequence_len() for use by other functions 12 years ago
Kirill Smelkov 6cd3c05327 format-patch: RFC 2047 says multi-octet character may not be split 12 years ago
Jeff King 5c680be113 utf8: accept alternate spellings of UTF-8 12 years ago
Jiang Xin c082196575 Add utf8_fprintf helper that returns correct number of columns 12 years ago
Steffen Prohaska e0db1765c3 strbuf_add_wrapped*(): Remove unused return value 12 years ago
Junio C Hamano 0e18bcd5e9 reencode_string(): introduce and use same_encoding() 12 years ago
Jan H. Schönherr 14e1a4e1ff utf8: fix off-by-one wrapping of text 12 years ago
Torsten Bögershausen 76759c7dff git on Mac OS and precomposed unicode 13 years ago
Jeff King 98acc837a1 strbuf: add fixed-length version of add_wrapped_text 14 years ago
René Scharfe 462749b728 utf8.c: speculatively assume utf-8 in strbuf_add_wrapped_text() 15 years ago
René Scharfe 68ad5e1e9c utf8.c: remove strbuf_write() 15 years ago
René Scharfe 3c0ff44a1e utf8.c: remove print_spaces() 15 years ago
René Scharfe bb96a2c900 utf8.c: remove print_wrapped_text() 15 years ago
Junio C Hamano 5e133b8cf9 utf8.c: mark file-local function static 15 years ago
René Scharfe 8a3c63e01d strbuf_add_wrapped_text(): skip over colour codes 15 years ago
René Scharfe 37bb5d7443 strbuf_add_wrapped_text(): factor out strbuf_add_indented_text() 15 years ago
Junio C Hamano 00d3947366 Teach --wrap to only indent without wrapping 16 years ago
Johannes Schindelin a94410c813 Add strbuf_add_wrapped_text() to utf8.[ch] 16 years ago
Johannes Schindelin ae0b270230 print_wrapped_text(): allow hard newlines 16 years ago
Brandon Casey 309dbc82e3 On Solaris choose the OLD_ICONV iconv() declaration based on the UNIX spec 16 years ago
Geoffrey Thomas 8a9391e944 utf8: add utf8_strwidth() 16 years ago
Junio C Hamano 44b25b872f utf8_width(): allow non NUL-terminated input 17 years ago