summaryrefslogtreecommitdiff
path: root/strbuf.c
Commit message (Expand)AuthorAgeFilesLines
* use xmallocz to avoid size arithmeticJeff King2016-02-221-1/+1
* Merge branch 'tk/stripspace'Junio C Hamano2015-10-261-0/+66
|\
| * strbuf: make stripspace() part of strbufTobias Klauser2015-10-161-0/+66
* | convert trivial sprintf / strcpy calls to xsnprintfJeff King2015-09-251-2/+2
* | add reentrant variants of sha1_to_hex and find_unique_abbrevJeff King2015-09-251-0/+9
|/
* Merge branch 'jh/strbuf-read-use-read-in-full'Junio C Hamano2015-08-251-5/+5
|\
| * strbuf_read(): skip unnecessary strbuf_grow() at eofjh/strbuf-read-use-read-in-fullJim Hill2015-08-101-5/+5
* | Merge branch 'jk/date-mode-format'Junio C Hamano2015-08-031-0/+33
|\ \
| * | strbuf: make strbuf_addftime more robustjk/date-mode-formatJeff King2015-07-201-17/+21
| * | introduce "format" date-modeJeff King2015-06-291-0/+29
* | | Merge branch 'mh/strbuf-read-file-returns-ssize-t'Junio C Hamano2015-07-131-2/+3
|\ \ \ | |/ / |/| |
| * | strbuf: strbuf_read_file() should return ssize_tmh/strbuf-read-file-returns-ssize-tMichael Haggerty2015-07-031-2/+3
* | | strbuf_getwholeline: use getdelim if it is availableJeff King2015-04-161-0/+42
* | | strbuf_getwholeline: avoid calling strbuf_growJeff King2015-04-161-1/+2
* | | strbuf_getwholeline: use getc_unlockedJeff King2015-04-161-1/+3
* | | strbuf_getwholeline: use getc macroJeff King2015-04-161-1/+1
|/ /
* | Merge branch 'jc/strbuf-add-lines-avoid-sp-ht-sequence'Junio C Hamano2015-01-071-1/+2
|\ \
| * | strbuf_add_commented_lines(): avoid SP-HT sequence in commented linesjc/strbuf-add-lines-avoid-sp-ht-sequenceJunio C Hamano2014-10-271-1/+2
* | | Merge branch 'rs/export-strbuf-addchars'Junio C Hamano2014-09-191-0/+7
|\ \ \
| * | | strbuf: export strbuf_addchars()René Scharfe2014-09-081-0/+7
* | | | Merge branch 'rs/strbuf-getcwd'Junio C Hamano2014-09-021-0/+46
|\ \ \ \ | |_|/ / |/| | |
| * | | abspath: convert absolute_path() to strbufRené Scharfe2014-08-261-0/+25
| * | | strbuf: add strbuf_getcwd()René Scharfe2014-07-281-0/+21
| | |/ | |/|
* | | Merge branch 'jk/strip-suffix'Junio C Hamano2014-07-161-9/+0
|\ \ \
| * | | implement ends_with via strip_suffixJeff King2014-06-301-9/+0
| |/ /
* | | strbuf: add xstrfmt helperJeff King2014-06-191-0/+19
* | | Merge branch 'jk/http-errors'Junio C Hamano2014-06-161-0/+17
|\ \ \
| * | | strbuf: add strbuf_reencode helperJeff King2014-05-271-0/+17
| |/ /
* | | Merge branch 'jk/strbuf-tolower'Junio C Hamano2014-06-161-0/+7
|\ \ \
| * | | strbuf: add strbuf_tolower functionjk/strbuf-tolowerJeff King2014-05-231-0/+7
| |/ /
* | | Merge branch 'jk/daemon-tolower'Junio C Hamano2014-06-161-0/+13
|\ \ \
| * | | daemon/config: factor out duplicate xstrdup_tolowerjk/daemon-tolowerJeff King2014-05-231-0/+13
| | |/ | |/|
* | | strbuf: use _rtrim and _ltrim in strbuf_trimBrian Gesiak2014-05-061-9/+2
| |/ |/|
* | strbuf: remove prefixcmp() and suffixcmp()cc/starts-n-ends-with-endgameChristian Couder2013-12-051-18/+0
* | strbuf: introduce starts_with() and ends_with()Christian Couder2013-12-051-0/+18
|/
* strbuf: create strbuf_humanise_bytes() to show byte sizesAntoine Pelisse2013-04-101-0/+19
* Allow custom "comment char"Junio C Hamano2013-01-161-9/+49
* Merge branch 'mh/unify-xml-in-imap-send-and-http-push'Junio C Hamano2013-01-051-0/+26
|\
| * Add new function strbuf_add_xml_quoted()Michael Haggerty2012-11-261-0/+26
* | strbuf_split*(): rename "delim" parameter to "terminator"Michael Haggerty2012-11-041-2/+3
* | strbuf_split_buf(): simplify iterationMichael Haggerty2012-11-041-13/+10
* | strbuf_split_buf(): use ALLOC_GROW()Michael Haggerty2012-11-041-10/+7
* | Merge branch 'jk/strbuf-detach-always-non-null'Jeff King2012-10-251-1/+3
|\ \ | |/ |/|
| * strbuf: always return a non-NULL value from strbuf_detachJeff King2012-10-181-1/+3
* | strbuf.c: mark a private file-scope symbol as staticJunio C Hamano2012-09-151-11/+2
* | strbuf: convenience format functions with \n automatically appendedNguyễn Thái Ngọc Duy2012-04-241-0/+33
|/
* Merge branch 'tr/maint-bundle-long-subject'Junio C Hamano2012-02-261-0/+16
|\
| * bundle: put strbuf_readline_fd in strbuf.c with adjustmentsThomas Rast2012-02-221-0/+16
* | Merge branch 'jk/credentials'Junio C Hamano2011-12-191-0/+37
|\ \
| * | strbuf: add strbuf_add*_urlencodeJeff King2011-12-121-0/+37
| |/