libgit2/tests-clar/core
Russell Belfer 3658e81e34 Move crlf conversion into buf_text
This adds crlf/lf conversion functions into buf_text with more
efficient implementations that bypass the high level buffer
functions.  They attempt to minimize the number of reallocations
done and they directly write the buffer data as needed if they
know that there is enough memory allocated to memcpy data.

Tests are added for these new functions.  The crlf.c code is
updated to use the new functions.

Removed the include of buf_text.h from filter.h and just include
it more narrowly in the places that need it.
2013-03-25 14:20:07 -07:00
..
buffer.c Move crlf conversion into buf_text 2013-03-25 14:20:07 -07:00
copy.c Extensions to rmdir and mkdir utilities 2012-11-09 13:52:06 -08:00
dirent.c Add a test to verify FILENAME_MAX 2012-05-13 23:12:51 -07:00
env.c Fixes and cleanups 2013-03-18 15:54:35 -07:00
errors.c Make giterr_set_str public 2012-09-21 15:04:39 -07:00
filebuf.c misc: Fix warnings from PVS Studio trial 2012-06-07 22:43:48 +02:00
hex.c Rename the Clay test suite to Clar 2012-01-24 20:35:15 -08:00
mkdir.c Extensions to rmdir and mkdir utilities 2012-11-09 13:52:06 -08:00
oid.c oid: Do not parse OIDs longer than 40 2013-03-25 21:39:11 +01:00
opts.c opts: Some basic tests 2013-01-24 00:09:55 +01:00
path.c Fix some incorrect MSVC #ifdef's. Fixes #1305 2013-02-11 09:25:57 -05:00
pool.c Improved tree iterator internals 2013-03-14 13:40:15 -07:00
rmdir.c Extensions to rmdir and mkdir utilities 2012-11-09 13:52:06 -08:00
stat.c Update clar tests p_lstat_posixly and p_lstat 2012-11-20 00:57:56 -02:00
string.c Rename the Clay test suite to Clar 2012-01-24 20:35:15 -08:00
strmap.c Rename git_khash_str to git_strmap, etc. 2012-04-25 15:20:28 -07:00
strtol.c Rename the Clay test suite to Clar 2012-01-24 20:35:15 -08:00
vector.c Fix up some missing consts in tree & index 2012-11-27 13:18:29 -08:00