libgit2/src
Russell Belfer 7bf87ab698 Consolidate text buffer functions
There are many scattered functions that look into the contents of
buffers to do various text manipulations (such as escaping or
unescaping data, calculating text stats, guessing if content is
binary, etc).  This groups all those functions together into a
new file and converts the code to use that.

This has two enhancements to existing functionality.  The old
text stats function is significantly rewritten and the BOM
detection code was extended (although largely we can't deal with
anything other than a UTF8 BOM).
2012-11-28 09:58:48 -08:00
..
amiga Properly handle p_reads 2012-09-11 23:05:24 +02:00
hash Fix warnings on Win64 build 2012-11-27 13:18:29 -08:00
transports API updates for remote.h 2012-11-27 13:19:49 -08:00
unix Add POSIX compat lstat() variant for win32 2012-11-14 22:41:51 -08:00
win32 Fix warnings on Win64 build 2012-11-27 13:18:29 -08:00
xdiff Merge branch 'new-error-handling' into development 2012-05-02 15:59:02 -07:00
attr_file.c Minor fixes for ignorecase support 2012-09-17 16:10:42 -04:00
attr_file.h Some diff refactorings to help code reuse 2012-11-09 13:52:07 -08:00
attr.c API updates for index.h 2012-11-27 13:18:28 -08:00
attr.h Support for core.ignorecase 2012-09-17 15:42:41 -04:00
blob.c More external API cleanup 2012-11-27 13:18:27 -08:00
blob.h Add filter tests and fix some bugs 2012-03-02 15:09:40 -08:00
branch.c More external API cleanup 2012-11-27 13:18:27 -08:00
bswap.h Update Copyright header 2012-02-13 17:11:09 +01:00
buf_text.c Consolidate text buffer functions 2012-11-28 09:58:48 -08:00
buf_text.h Consolidate text buffer functions 2012-11-28 09:58:48 -08:00
buffer.c Consolidate text buffer functions 2012-11-28 09:58:48 -08:00
buffer.h Consolidate text buffer functions 2012-11-28 09:58:48 -08:00
cache.c Fix a mutex/critical section leak 2012-11-09 15:57:32 -05:00
cache.h Update Copyright header 2012-02-13 17:11:09 +01:00
cc-compat.h compat: va_copy on Win32 systems 2012-05-04 13:52:38 -07:00
checkout.c More external API cleanup 2012-11-27 13:18:27 -08:00
clone.c API updates for remote.h 2012-11-27 13:19:49 -08:00
commit_list.c Move merge functions to merge.c 2012-11-27 13:18:29 -08:00
commit_list.h Move merge functions to merge.c 2012-11-27 13:18:29 -08:00
commit.c More external API cleanup 2012-11-27 13:18:27 -08:00
commit.h More external API cleanup 2012-11-27 13:18:27 -08:00
common.h Reorganize transport architecture (squashed 3) 2012-11-01 09:02:33 -04:00
compress.c util: add git__compress() 2012-10-09 21:28:31 +02:00
compress.h util: add git__compress() 2012-10-09 21:28:31 +02:00
config_cache.c errors: Rename error codes 2012-05-18 01:48:50 +02:00
config_file.c Consolidate text buffer functions 2012-11-28 09:58:48 -08:00
config_file.h Clean up config.h 2012-11-27 13:18:28 -08:00
config.c Consolidate text buffer functions 2012-11-28 09:58:48 -08:00
config.h Clean up config.h 2012-11-27 13:18:28 -08:00
crlf.c Consolidate text buffer functions 2012-11-28 09:58:48 -08:00
date.c Remove use of English expletives 2012-11-23 13:31:22 +00:00
delta-apply.c errors: Rename the generic return codes 2012-05-18 01:26:26 +02:00
delta-apply.h errors: Rename the generic return codes 2012-05-18 01:26:26 +02:00
delta.c Fix warnings on Win64 build 2012-11-27 13:18:29 -08:00
delta.h Fix warnings on Win64 build 2012-11-27 13:18:29 -08:00
diff_output.c Consolidate text buffer functions 2012-11-28 09:58:48 -08:00
diff_output.h Update diff callback param order 2012-11-27 13:18:28 -08:00
diff_tform.c Move rename detection into new file 2012-10-30 09:40:50 -07:00
diff.c API updates for submodule.h 2012-11-27 13:18:28 -08:00
diff.h Add explicit git_index ptr to diff and checkout 2012-11-14 23:29:48 -08:00
errors.c Move error capture to top of giterr_set 2012-11-02 10:42:20 -07:00
fetch.c create callback to handle packs from fetch, move the indexer to odb_pack 2012-11-05 16:00:29 -06:00
fetch.h Remove 'bytes' param from git_remote_download 2012-10-24 14:07:07 -07:00
fetchhead.c create FETCH_HEAD specially instead of as a ref file 2012-11-11 11:56:33 -06:00
fetchhead.h create FETCH_HEAD specially instead of as a ref file 2012-11-11 11:56:33 -06:00
filebuf.c filebuf now has a git_hash_ctx instead of a ctx* 2012-11-13 14:57:35 -06:00
filebuf.h filebuf now has a git_hash_ctx instead of a ctx* 2012-11-13 14:57:35 -06:00
fileops.c Add POSIX compat lstat() variant for win32 2012-11-14 22:41:51 -08:00
fileops.h Rework checkout with new strategy options 2012-11-09 13:52:07 -08:00
filter.c Consolidate text buffer functions 2012-11-28 09:58:48 -08:00
filter.h Consolidate text buffer functions 2012-11-28 09:58:48 -08:00
fnmatch.c Import DOS fix for fnmatch 2012-10-15 12:54:46 -07:00
fnmatch.h Import DOS fix for fnmatch 2012-10-15 12:54:46 -07:00
global.c unload dll / destroy hash ctxs at shutdown 2012-11-13 14:48:10 -06:00
global.h unload dll / destroy hash ctxs at shutdown 2012-11-13 14:48:10 -06:00
hash.c Remove git_hash_ctx_new - callers now _ctx_init() 2012-11-13 10:23:05 -06:00
hash.h unload dll / destroy hash ctxs at shutdown 2012-11-13 14:48:10 -06:00
ignore.c Fix single-file ignore checks 2012-10-15 12:54:46 -07:00
ignore.h Support for core.ignorecase 2012-09-17 15:42:41 -04:00
index.c Fix warnings on Win64 build 2012-11-27 13:18:29 -08:00
index.h Fix up some missing consts in tree & index 2012-11-27 13:18:29 -08:00
indexer.c API updates for indexer.h 2012-11-27 13:18:29 -08:00
iterator.c Fix warnings on Win64 build 2012-11-27 13:18:29 -08:00
iterator.h Add iterator for git_index object 2012-11-14 22:55:40 -08:00
khash.h Isolate khash inlines from global namespace 2012-07-12 11:49:15 -07:00
map.h Basic mmap/munmap compatiblity 2012-06-10 18:08:15 +01:00
merge.c Move merge functions to merge.c 2012-11-27 13:18:29 -08:00
merge.h Move merge functions to merge.c 2012-11-27 13:18:29 -08:00
message.c Fix warnings and merge issues on Win64 2012-08-23 09:20:17 -07:00
message.h message: Expose git_message_prettify() 2012-06-19 10:02:22 +02:00
mwindow.c Make the memory-window conrol structures global 2012-08-20 12:02:52 +02:00
mwindow.h Make the memory-window conrol structures global 2012-08-20 12:02:52 +02:00
netops.c fix build on FreeBSD 2012-11-26 23:29:34 +10:00
netops.h Move inet_pton to posix platform-compatibility layer 2012-11-07 16:15:09 -02:00
notes.c Remove git_note_data structure 2012-11-27 14:47:39 -08:00
notes.h Add git notes API 2012-02-15 20:32:14 +01:00
object.c object: Raise proper code on invalid object type 2012-11-28 11:47:38 +01:00
object.h Reorg internal odb read header and object lookup 2012-09-10 12:24:05 -07:00
odb_loose.c Make git_odb_foreach_cb take const param 2012-11-27 15:00:49 -08:00
odb_pack.c Make git_odb_foreach_cb take const param 2012-11-27 15:00:49 -08:00
odb.c odb: Add git_odb_add_disk_alternate 2012-11-28 10:47:10 +01:00
odb.h Reorg internal odb read header and object lookup 2012-09-10 12:24:05 -07:00
oid.c Remove use of English expletives 2012-11-23 13:31:22 +00:00
oidmap.h git_oid_cmp: inline memcmp by hand to optimize 2012-07-29 20:50:58 +02:00
pack-objects.c Fix warnings on Win64 build 2012-11-27 13:18:29 -08:00
pack-objects.h Fix MSVC compilation warnings 2012-11-17 05:13:13 -08:00
pack.c Make git_odb_foreach_cb take const param 2012-11-27 15:00:49 -08:00
pack.h Make git_odb_foreach_cb take const param 2012-11-27 15:00:49 -08:00
path.c Consolidate text buffer functions 2012-11-28 09:58:48 -08:00
path.h Add template dir and set gid to repo init 2012-08-22 16:07:19 -07:00
pathspec.c Consolidate text buffer functions 2012-11-28 09:58:48 -08:00
pathspec.h Move pathspec code in separate files 2012-11-09 13:52:07 -08:00
pool.c Fix bug with merging diffs with null options 2012-07-19 10:23:45 -07:00
pool.h Diff iterators 2012-09-05 15:17:24 -07:00
posix.c Move inet_pton to posix platform-compatibility layer 2012-11-07 16:15:09 -02:00
posix.h Always use internal fnmatch, not system 2012-10-15 12:54:46 -07:00
pqueue.c Fix warnings on 64-bit windows builds 2012-04-17 10:47:39 -07:00
pqueue.h Update Copyright header 2012-02-13 17:11:09 +01:00
reflog.c Fix warnings on Win64 build 2012-11-27 13:18:29 -08:00
reflog.h reflog: introduce git_reflog_write() 2012-07-25 07:53:30 +02:00
refs.c API updates for tag.h 2012-11-27 13:18:28 -08:00
refs.h Merge pull request #1026 from nulltoken/repo/state 2012-10-30 12:03:22 -07:00
refspec.c create FETCH_HEAD specially instead of as a ref file 2012-11-11 11:56:33 -06:00
refspec.h create FETCH_HEAD specially instead of as a ref file 2012-11-11 11:56:33 -06:00
remote.c Typedef enums. 2012-11-27 14:13:03 -08:00
remote.h Typedef enums. 2012-11-27 14:13:03 -08:00
repo_template.h Add git_repository_init_ext for power initters 2012-08-22 16:06:22 -07:00
repository.c API updates for repository.h 2012-11-27 13:44:49 -08:00
repository.h Merge branch 'diff-crlf-filters' into development 2012-09-11 23:38:16 +02:00
reset.c Updates to reset.h 2012-11-27 13:18:28 -08:00
revparse.c Fix warnings on Win64 build 2012-11-27 13:18:29 -08:00
revwalk.c Move merge functions to merge.c 2012-11-27 13:18:29 -08:00
revwalk.h Move merge functions to merge.c 2012-11-27 13:18:29 -08:00
sha1_lookup.c Convert indexer, notes, sha1_lookup, and signature 2012-03-19 17:49:46 -07:00
sha1_lookup.h Update Copyright header 2012-02-13 17:11:09 +01:00
signature.c Fix MSVC compilation warnings 2012-09-04 10:01:18 +02:00
signature.h Update Copyright header 2012-02-13 17:11:09 +01:00
stash.c API updates for stash.h 2012-11-27 14:06:56 -08:00
status.c API updates for status.h 2012-11-27 13:18:29 -08:00
strmap.h Missed a couple of khash inline dependencies 2012-07-12 11:52:10 -07:00
submodule.c Consolidate text buffer functions 2012-11-28 09:58:48 -08:00
submodule.h Working implementation of git_submodule_status 2012-08-24 11:00:27 -07:00
tag.c API updates for tag.h 2012-11-27 13:18:28 -08:00
tag.h Export parse_tag_buffer as git_tag__parse_buffer. 2012-02-22 04:45:30 +00:00
thread-utils.c Update Copyright header 2012-02-13 17:11:09 +01:00
thread-utils.h Enable pthread condition vars 2012-10-09 21:28:31 +02:00
transport.c Reorganize transport architecture (squashed 3) 2012-11-01 09:02:33 -04:00
tree-cache.c misc: Fix warnings from PVS Studio trial 2012-06-07 22:43:48 +02:00
tree-cache.h Update Copyright header 2012-02-13 17:11:09 +01:00
tree.c Fix warnings on Win64 build 2012-11-27 13:18:29 -08:00
tree.h Fix up some missing consts in tree & index 2012-11-27 13:18:29 -08:00
tsort.c Fix warnings on 64-bit windows builds 2012-04-17 10:47:39 -07:00
util.c Fix up some missing consts in tree & index 2012-11-27 13:18:29 -08:00
util.h Create internal strcmp variants for function ptrs 2012-11-14 22:37:13 -08:00
vector.c Fix warnings on Win64 build 2012-11-27 13:18:29 -08:00
vector.h Fix up some missing consts in tree & index 2012-11-27 13:18:29 -08:00