aboutsummaryrefslogtreecommitdiffstats
path: root/strbuf.c
AgeCommit message (Expand)AuthorFilesLines
2016-04-14Merge branch 'sb/submodule-path-misc-bugs' into sb/submodule-initJunio C Hamano1-4/+26
2016-03-01run_processes_parallel: treat output of children as byte arrayStefan Beller1-0/+6
2016-02-26Merge branch 'jk/tighten-alloc'Junio C Hamano1-1/+1
2016-02-22use xmallocz to avoid size arithmeticJeff King1-1/+1
2016-01-28Merge branch 'jc/strbuf-getline'Junio C Hamano1-3/+25
2016-01-15strbuf: give strbuf_getline() to the "most text friendly" variantJunio C Hamano1-4/+4
2016-01-15strbuf: introduce strbuf_getline_{lf,nul}()Junio C Hamano1-0/+10
2016-01-14strbuf: make strbuf_getline_crlf() globalJunio C Hamano1-0/+12
2016-01-14strbuf: miniscule style fixJunio C Hamano1-2/+2
2015-12-16strbuf: add strbuf_read_once to read without blockingStefan Beller1-0/+11
2015-10-26Merge branch 'tk/stripspace'Junio C Hamano1-0/+66
2015-10-16strbuf: make stripspace() part of strbufTobias Klauser1-0/+66
2015-09-25convert trivial sprintf / strcpy calls to xsnprintfJeff King1-2/+2
2015-09-25add reentrant variants of sha1_to_hex and find_unique_abbrevJeff King1-0/+9
2015-08-25Merge branch 'jh/strbuf-read-use-read-in-full'Junio C Hamano1-5/+5
2015-08-10strbuf_read(): skip unnecessary strbuf_grow() at eofJim Hill1-5/+5
2015-08-03Merge branch 'jk/date-mode-format'Junio C Hamano1-0/+33
2015-07-20strbuf: make strbuf_addftime more robustJeff King1-17/+21
2015-07-13Merge branch 'mh/strbuf-read-file-returns-ssize-t'Junio C Hamano1-2/+3
2015-07-03strbuf: strbuf_read_file() should return ssize_tMichael Haggerty1-2/+3
2015-06-29introduce "format" date-modeJeff King1-0/+29
2015-04-16strbuf_getwholeline: use getdelim if it is availableJeff King1-0/+42
2015-04-16strbuf_getwholeline: avoid calling strbuf_growJeff King1-1/+2
2015-04-16strbuf_getwholeline: use getc_unlockedJeff King1-1/+3
2015-04-16strbuf_getwholeline: use getc macroJeff King1-1/+1
2015-01-07Merge branch 'jc/strbuf-add-lines-avoid-sp-ht-sequence'Junio C Hamano1-1/+2
2014-10-27strbuf_add_commented_lines(): avoid SP-HT sequence in commented linesJunio C Hamano1-1/+2
2014-09-19Merge branch 'rs/export-strbuf-addchars'Junio C Hamano1-0/+7
2014-09-08strbuf: export strbuf_addchars()René Scharfe1-0/+7
2014-09-02Merge branch 'rs/strbuf-getcwd'Junio C Hamano1-0/+46
2014-08-26abspath: convert absolute_path() to strbufRené Scharfe1-0/+25
2014-07-28strbuf: add strbuf_getcwd()René Scharfe1-0/+21
2014-07-16Merge branch 'jk/strip-suffix'Junio C Hamano1-9/+0
2014-06-30implement ends_with via strip_suffixJeff King1-9/+0
2014-06-19strbuf: add xstrfmt helperJeff King1-0/+19
2014-06-16Merge branch 'jk/http-errors'Junio C Hamano1-0/+17
2014-06-16Merge branch 'jk/strbuf-tolower'Junio C Hamano1-0/+7
2014-06-16Merge branch 'jk/daemon-tolower'Junio C Hamano1-0/+13
2014-05-27strbuf: add strbuf_reencode helperJeff King1-0/+17
2014-05-23strbuf: add strbuf_tolower functionJeff King1-0/+7
2014-05-23daemon/config: factor out duplicate xstrdup_tolowerJeff King1-0/+13
2014-05-06strbuf: use _rtrim and _ltrim in strbuf_trimBrian Gesiak1-9/+2
2013-12-05strbuf: remove prefixcmp() and suffixcmp()Christian Couder1-18/+0
2013-12-05strbuf: introduce starts_with() and ends_with()Christian Couder1-0/+18
2013-04-10strbuf: create strbuf_humanise_bytes() to show byte sizesAntoine Pelisse1-0/+19
2013-01-16Allow custom "comment char"Junio C Hamano1-9/+49
2013-01-05Merge branch 'mh/unify-xml-in-imap-send-and-http-push'Junio C Hamano1-0/+26
2012-11-26Add new function strbuf_add_xml_quoted()Michael Haggerty1-0/+26
2012-11-04strbuf_split*(): rename "delim" parameter to "terminator"Michael Haggerty1-2/+3
2012-11-04strbuf_split_buf(): simplify iterationMichael Haggerty1-13/+10
2012-11-04strbuf_split_buf(): use ALLOC_GROW()Michael Haggerty1-10/+7
2012-10-25Merge branch 'jk/strbuf-detach-always-non-null'Jeff King1-1/+3
2012-10-18strbuf: always return a non-NULL value from strbuf_detachJeff King1-1/+3
2012-09-15strbuf.c: mark a private file-scope symbol as staticJunio C Hamano1-11/+2
2012-04-24strbuf: convenience format functions with \n automatically appendedNguyễn Thái Ngọc Duy1-0/+33
2012-02-26Merge branch 'tr/maint-bundle-long-subject'Junio C Hamano1-0/+16
2012-02-22bundle: put strbuf_readline_fd in strbuf.c with adjustmentsThomas Rast1-0/+16
2011-12-19Merge branch 'jk/credentials'Junio C Hamano1-0/+37
2011-12-12strbuf: add strbuf_add*_urlencodeJeff King1-0/+37
2011-11-08fmt-merge-msg: Add contents of merged tag in the merge messageJunio C Hamano1-0/+14
2011-10-18strbuf.c: remove unnecessary strbuf_grow() from strbuf_getwholeline()Brandon Casey1-1/+0
2011-09-02Merge branch 'tr/maint-strbuf-grow-nul-termination'Junio C Hamano1-4/+5
2011-08-29strbuf_grow(): maintain nul-termination even for new bufferThomas Rast1-4/+5
2011-07-19Merge branch 'jk/maint-config-param'Junio C Hamano1-6/+9
2011-06-22strbuf: allow strbuf_split to work on non-strbufsJeff King1-6/+6
2011-06-22strbuf_split: add a max parameterJeff King1-2/+5
2011-04-27Merge branch 'ef/maint-strbuf-init'Junio C Hamano1-1/+3
2011-04-11strbuf: make sure buffer is zero-terminatedErik Faye-Lund1-1/+3
2011-02-26strbuf: add strbuf_vaddfJeff King1-10/+15
2011-02-10compat: helper for detecting unsigned overflowJonathan Nieder1-2/+3
2010-11-10strbuf: move strbuf_branchname to sha1_name.cJonathan Nieder1-18/+0
2010-09-15disallow branch names that start with a hyphenJunio C Hamano1-0/+2
2010-01-20Merge branch 'ap/merge-backend-opts'Junio C Hamano1-0/+9
2010-01-20Merge branch 'jk/warn-author-committer-after-commit'Junio C Hamano1-0/+17
2010-01-17git merge -X<option>Avery Pennarun1-0/+9
2010-01-14strbuf: add strbuf_addbuf_percentquoteJeff King1-0/+11
2010-01-14strbuf_expand: convert "%%" to "%"Jeff King1-0/+6
2010-01-12strbuf.c: remove unused functionJunio C Hamano1-7/+0
2009-08-05strbuf: add new function strbuf_getwholeline()Brandon Casey1-3/+12
2009-06-23fread does not return negative on errorRoel Kluin1-1/+1
2009-03-22strbuf_check_branch_ref(): a helper to check a refname for a branchJunio C Hamano1-0/+8
2009-03-22strbuf_branchname(): a wrapper for branch name shorthandsJunio C Hamano1-0/+9
2009-03-20Microoptimize strbuf_cmpAlex Riesen1-8/+5
2009-01-06strbuf: instate cleanup rule in case of non-memory errorsRené Scharfe1-4/+13
2008-12-17Add generic 'strbuf_readlink()' helper functionLinus Torvalds1-0/+27
2008-11-23add strbuf_expand_dict_cb(), a helper for simple casesRené Scharfe1-0/+16
2008-07-13Add some useful functions for strbuf manipulation.Lukas Sandström1-0/+70
2008-07-13Make some strbuf_*() struct strbuf arguments const.Lukas Sandström1-1/+1
2008-02-09Avoid a useless prefix lookup in strbuf_expand()Marco Costalba1-11/+8
2008-01-03Uninline prefixcmp()Junio C Hamano1-0/+9
2007-11-14Merge branch 'rs/pretty'Junio C Hamano1-0/+31
2007-11-14Handle broken vsnprintf implementations in strbufShawn O. Pearce1-3/+4
2007-11-11add strbuf_adddup()René Scharfe1-0/+7
2007-11-09--pretty=format: on-demand format expansionRené Scharfe1-0/+24
2007-09-29strbuf_read_file enhancement, and use it.Pierre Habouzit1-2/+2
2007-09-29strbuf change: be sure ->buf is never ever NULL.Pierre Habouzit1-11/+19
2007-09-27Add strbuf_read_file().Kristian Høgsberg1-0/+15
2007-09-26Add strbuf_cmp.Pierre Habouzit1-0/+12
2007-09-20strbuf API additions and enhancements.Pierre Habouzit1-10/+10
2007-09-18Drop strbuf's 'eof' marker, and make read_line a first class citizen.Pierre Habouzit1-12/+8
2007-09-16Now that cache.h needs strbuf.h, remove useless includes.Pierre Habouzit1-1/+0
2007-09-16New strbuf APIs: splice and attach.Pierre Habouzit1-15/+52
2007-09-10Strbuf API extensions and fixes.Pierre Habouzit1-6/+27
2007-09-06Rework strbuf API and semantics.Pierre Habouzit1-14/+87
2007-06-07War on whitespaceJunio C Hamano1-1/+0
2006-12-20simplify inclusion of system header files.Junio C Hamano1-3/+1
2005-05-20sparse cleanupLinus Torvalds1-1/+1
2005-05-19[PATCH] fix strbuf take #2Junio C Hamano1-0/+2
2005-05-18strbuf: allow zero-length linesLinus Torvalds1-2/+0
2005-04-26[PATCH] introduce xmalloc and xreallocChristopher Li1-1/+2
2005-04-25[PATCH] Introduce diff-tree-helper.Junio C Hamano1-0/+43