summaryrefslogtreecommitdiff
path: root/src/util.c
Commit message (Expand)AuthorAgeFilesLines
* util: hide helper qsort code to silence unused functions warningEtienne Samson2019-10-131-0/+5
* util: do not perform allocations in insertsortPatrick Steinhardt2019-08-231-24/+27
* strtol: cast error message length to intEdward Thomson2019-06-241-1/+1
* utf8: use size_t for length of bufferEdward Thomson2019-06-241-6/+6
* optimize string comparisonsromkatv2019-03-291-17/+12
* Remove `git_time_monotonic`remove_time_monotonicEdward Thomson2019-02-171-5/+0
* git_error: use new names in internal APIs and usageEdward Thomson2019-01-221-6/+6
* strntol: fix out-of-bounds reads when parsing numbers with leading signPatrick Steinhardt2018-11-141-2/+8
* strntol: fix detection and skipping of base prefixesPatrick Steinhardt2018-11-021-11/+22
* strntol: fix out-of-bounds read when skipping leading spacesPatrick Steinhardt2018-11-021-2/+5
* Merge pull request #4864 from pks-t/pks/object-parse-fixesPatrick Steinhardt2018-10-261-0/+41
|\
| * util: provide `git__memmem` functionPatrick Steinhardt2018-10-251-0/+41
* | util: fix out of bounds read in error messagePatrick Steinhardt2018-10-191-3/+7
* | util: avoid signed integer overflows in `git__strntol64`Patrick Steinhardt2018-10-181-3/+13
* | util: remove `git__strtol32`Patrick Steinhardt2018-10-181-6/+0
* | util: remove unsafe `git__strtol64` functionPatrick Steinhardt2018-10-181-6/+0
|/
* util: make the qsort_r check work on macOSEtienne Samson2018-08-241-3/+3
* Sanitize the hunk header to ensure it contains UTF-8 valid dataStan Hu2018-05-051-0/+16
* util: fix missing headers for MinGW environmentsPatrick Steinhardt2018-03-291-0/+5
* util: clean up header includesPatrick Steinhardt2018-02-161-4/+1
* Explicitly mark fallthrough cases with commentsPatrick Steinhardt2018-02-161-1/+3
* util: introduce `git__prefixncmp` and consolidate implementationsEdward Thomson2017-12-201-16/+28
* Make sure to always include "common.h" firstPatrick Steinhardt2017-07-031-2/+4
* giterr_set: consistent error messagesEdward Thomson2016-12-291-3/+3
* time: Export `git_time_monotonic`vmg/timeVicent Marti2016-09-131-0/+5
* Fixed bug while parsing INT64_MINKrishna Ram Prakash R2016-06-291-3/+3
* Patch parsing from patch filesEdward Thomson2016-05-261-2/+20
* qsort_r/qsort_s: detect their supportEdward Thomson2015-09-301-13/+8
* Fix duplicate basenames to support older VSJohn Haley2015-08-051-1/+1
* git__getenv: utf-8 aware env readerEdward Thomson2015-07-021-0/+48
* git__tolower: a tolower() that isn't dumbEdward Thomson2015-05-291-9/+9
* git__strcasecmp: treat input bytes as unsignedEdward Thomson2015-05-291-2/+2
* Credit utf8proc for utf8 iteratorEdward Thomson2015-02-101-0/+25
* path: Use UTF8 iteration for HFS charsVicent Marti2014-12-161-0/+76
* checkout: disallow bad paths on win32Edward Thomson2014-12-161-0/+15
* qsort_r is only available from Visual Studio 2005+Jacques Germishuys2014-07-061-1/+2
* cygwin also doesn't have qsort_rJacques Germishuys2014-04-301-1/+1
* Decouple index iterator sort from indexRussell Belfer2014-04-171-3/+5
* Move libgit2 settings out of utilEdward Thomson2014-01-141-123/+0
* util: handle NULL pointers passed to git_strarray_free()Brodie Rao2014-01-121-0/+4
* Solaris does not have qsort_rJacques Germishuys2014-01-081-0/+1
* util: NetBSD doesn't have qsort_r eitherAlessandro Ghedini2013-11-191-1/+2
* Merge pull request #1858 from linquize/win32-template-dirVicent Martí2013-09-171-0/+13
|\
| * Can git_libgit2_opts() with GIT_OPT_GET_TEMPLATE_PATH and GIT_OPT_SET_TEMPLAT...Linquize2013-09-181-0/+13
* | Merge git_buf and git_bufferRussell Belfer2013-09-171-0/+3
|/
* Use git__insertsort_r on Android too.Krzysztof Adamski2013-09-011-1/+1
* Add GIT_CAP_SSH if library was built with SSHRussell Belfer2013-07-091-0/+3
* Fix some warningsRussell Belfer2013-06-171-9/+6
* git__strcasesort_cmp: strcasecmp sorting rules but requires strict equalityEdward Thomson2013-06-171-0/+25
* util: git__memzero() tweaksyorah2013-06-171-9/+0