summaryrefslogtreecommitdiff
path: root/utf8.c
Commit message (Expand)AuthorAgeFilesLines
* Sync with Git 2.31.6Junio C Hamano2022-12-131-34/+43
|\
| * utf8: refactor `strbuf_utf8_replace` to not rely on preallocated bufferPatrick Steinhardt2022-12-091-21/+13
| * utf8: fix checking for glyph width in `strbuf_utf8_replace()`Patrick Steinhardt2022-12-091-5/+14
| * utf8: fix overflow when returning string widthPatrick Steinhardt2022-12-091-3/+9
| * utf8: fix returning negative string widthPatrick Steinhardt2022-12-091-2/+6
| * utf8: fix truncated string lengths in `utf8_strnwidth()`Patrick Steinhardt2022-12-091-5/+3
* | t0060: test ntfs/hfs-obscured dotfilesJeff King2021-05-041-0/+5
|/
* utf8: use skip_iprefix() in same_utf_encoding()René Scharfe2019-11-101-5/+4
* utf8: use ARRAY_SIZE() in git_wcwidth()Beat Bolli2019-10-121-4/+2
* utf8: handle systems that don't write BOM for UTF-16brian m. carlson2019-02-111-0/+14
* Support working-tree-encoding "UTF-16LE-BOM"Torsten Bögershausen2019-01-311-10/+32
* Merge branch 'jk/size-t'Junio C Hamano2018-08-151-5/+5
|\
| * reencode_string: use size_t for string lengthsJeff King2018-07-241-3/+3
| * reencode_string: use st_add/st_mult helpersJeff King2018-07-241-2/+2
* | utf8.c: avoid char overflowBeat Bolli2018-07-091-4/+4
|/
* Sync with Git 2.17.1Junio C Hamano2018-05-291-12/+46
|\
| * Sync with Git 2.14.4Junio C Hamano2018-05-221-12/+46
| |\
| | * is_hfs_dotgit: match other .git filesJeff King2018-05-211-12/+46
* | | Merge branch 'ls/checkout-encoding'Junio C Hamano2018-05-081-2/+63
|\ \ \
| * | | utf8: add function to detect a missing UTF-16/32 BOMLars Schneider2018-04-161-0/+13
| * | | utf8: add function to detect prohibited UTF-16/32 BOMLars Schneider2018-04-161-0/+26
| * | | utf8: teach same_encoding() alternative UTF encoding namesLars Schneider2018-04-161-2/+24
| |/ /
* | | unicode_width.h: rename to use dash in file nameStefan Beller2018-04-111-1/+1
|/ /
* | cleanup: fix possible overflow errors in binary searchds/avoid-overflow-in-midpoint-computationDerrick Stolee2017-10-101-1/+1
* | utf8: release strbuf on error return in strbuf_utf8_replace()Rene Scharfe2017-09-071-1/+2
|/
* utf8: accept "latin-1" as ISO-8859-1jc/latin-1Junio C Hamano2016-09-261-0/+7
* utf8: refactor code to decide fallback encodingJunio C Hamano2016-09-261-11/+18
* utf8: add function to align a string into given strbufKarthik Nayak2015-09-171-0/+21
* utf8-bom: introduce skip_utf8_bom() helperJunio C Hamano2015-04-161-0/+11
* Merge branch 'maint-2.1' into maintJunio C Hamano2015-01-071-12/+20
|\
| * Merge branch 'maint-2.0' into maint-2.1maint-2.1Junio C Hamano2015-01-071-12/+20
| |\
| | * Merge branch 'maint-1.9' into maint-2.0maint-2.0Junio C Hamano2015-01-071-12/+20
| | |\
| | | * Merge branch 'maint-1.8.5' into maint-1.9maint-1.9Junio C Hamano2015-01-071-12/+20
| | | |\
| | | | * is_hfs_dotgit: loosen over-eager match of \u{..47}jk/dotgit-case-maint-1.8.5dotgit-case-maint-1.8.5Jeff King2014-12-291-12/+20
* | | | | Sync with v2.1.4Junio C Hamano2014-12-171-0/+64
|\ \ \ \ \ | |/ / / /
| * | | | Sync with v2.0.5Junio C Hamano2014-12-171-0/+64
| |\ \ \ \ | | |/ / /
| | * | | Sync with v1.9.5Junio C Hamano2014-12-171-0/+64
| | |\ \ \ | | | |/ /
| | | * | Sync with v1.8.5.6Junio C Hamano2014-12-171-0/+64
| | | |\ \ | | | | |/
| | | | * utf8: add is_hfs_dotgit() helperJeff King2014-12-171-0/+64
* | | | | Merge branch 'rs/export-strbuf-addchars'Junio C Hamano2014-09-191-7/+0
|\ \ \ \ \
| * | | | | strbuf: export strbuf_addchars()René Scharfe2014-09-081-7/+0
| | |_|_|/ | |/| | |
* | | | | Merge branch 'nd/strbuf-utf8-replace'Junio C Hamano2014-09-091-0/+3
|\ \ \ \ \ | |_|/ / / |/| | | |
| * | | | utf8.c: fix strbuf_utf8_replace() consuming data beyond input stringnd/strbuf-utf8-replaceNguyễn Thái Ngọc Duy2014-08-111-0/+3
| | |/ / | |/| |
* | | | Merge branch 'tb/unicode-6.3-zero-width'Junio C Hamano2014-06-061-69/+7
|\ \ \ \ | |/ / / |/| | |
| * | | utf8: make it easier to auto-update git_wcwidth()tb/unicode-6.3-zero-widthTorsten Bögershausen2014-05-121-59/+2
| * | | utf8.c: use a table for double_widthTorsten Bögershausen2014-05-121-23/+18
| | |/ | |/|
* | | Merge branch 'tb/unicode-6.3-zero-width'Junio C Hamano2014-04-161-5/+4
|\ \ \ | |/ /
| * | utf8.c: partially update to version 6.3Torsten Bögershausen2014-04-091-5/+4
| |/
* | utf8: use correct type for values in interval tableJohn Keeping2014-02-181-2/+2
* | utf8: fix iconv error detectionJohn Keeping2014-02-181-1/+1
|/