summaryrefslogtreecommitdiff
path: root/src/util.h
Commit message (Expand)AuthorAgeFilesLines
* date: rfc2822 formatting uses a `git_buf` instead of a static stringethomson/dateEdward Thomson2021-11-191-2/+0
* date: make it a proper `git_date` utility classEdward Thomson2021-11-181-20/+0
* str: introduce `git_str` for internal, `git_buf` is externalethomson/gitstrEdward Thomson2021-10-171-6/+2
* Use __typeof__ GNUC keyword for ISO C compatibilityDuncan Thomson2021-09-081-1/+1
* util: introduce `git__strlcmp`Edward Thomson2021-09-011-0/+11
* Merge pull request #5941 from NattyNarwhal/stdintificationEdward Thomson2021-07-161-1/+1
|\
| * Convert long long constant specifiers to stdint macrosCalvin Buckley2021-07-071-1/+1
* | Allow compilation on systems without CLOCK_MONOTONICPeter Pettersson2021-07-151-9/+9
* | Limit ITimer usage to AmigaOS4Peter Pettersson2021-07-061-1/+1
|/
* utf8: refactor utf8 functionsEdward Thomson2021-04-141-21/+0
* threads: rename thread files to thread.[ch]Edward Thomson2020-12-061-1/+1
* threads: give atomic functions the git_atomic prefixEdward Thomson2020-12-061-2/+2
* threads: rename git_atomic to git_atomic32Edward Thomson2020-12-061-4/+4
* util: move git_online_cpus into utilEdward Thomson2020-12-061-0/+2
* util: move git__noop into the util headerEdward Thomson2020-12-051-0/+2
* Improve the support of atomicslhchavez2020-10-081-2/+2
* Merge pull request #5054 from tniessen/util-use-64-bit-timerEdward Thomson2019-08-231-15/+2
|\
| * util: use 64 bit timer on WindowsTobias Nießen2019-07-291-15/+2
* | util: do not perform allocations in insertsortPatrick Steinhardt2019-08-231-4/+0
|/
* util: introduce GIT_CONTAINER_OF macroPatrick Steinhardt2019-04-161-0/+11
* optimize string comparisonsromkatv2019-03-291-2/+3
* Merge pull request #4864 from pks-t/pks/object-parse-fixesPatrick Steinhardt2018-10-261-0/+3
|\
| * util: provide `git__memmem` functionPatrick Steinhardt2018-10-251-0/+3
* | util: remove `git__strtol32`Patrick Steinhardt2018-10-181-1/+0
* | util: remove unsafe `git__strtol64` functionPatrick Steinhardt2018-10-181-1/+0
|/
* util: extract allocators into its own "alloc.h" headerPatrick Steinhardt2018-06-071-56/+2
* util: extract `stdalloc` allocator into its own modulePatrick Steinhardt2018-06-071-91/+11
* win32: crtdbg: provide independent `free` functionPatrick Steinhardt2018-06-071-2/+3
* Sanitize the hunk header to ensure it contains UTF-8 valid dataStan Hu2018-05-051-0/+10
* util: clean up header includesPatrick Steinhardt2018-02-161-2/+6
* consistent header guardsethomson/header_guardsEdward Thomson2018-02-011-1/+1
* util: introduce `git__prefixncmp` and consolidate implementationsEdward Thomson2017-12-201-0/+1
* refcount: make refcounting conform to aliasing rulesPatrick Steinhardt2017-11-181-5/+5
* Make sure to always include "common.h" firstPatrick Steinhardt2017-07-031-0/+2
* Fix missing include for header filesPatrick Steinhardt2017-07-031-2/+1
* win32: fix circular include deps with w32_crtdbgPatrick Steinhardt2017-06-301-103/+26
* Patch parsing from patch filesEdward Thomson2016-05-261-0/+10
* Merge pull request #3288 from ethomson/getenvCarlos Martín Nieto2015-07-071-0/+5
|\
| * git__getenv: utf-8 aware env readerEdward Thomson2015-07-021-0/+5
* | Include stacktrace summary in memory leak output.Jeff Hostetler2015-06-291-5/+8
|/
* git__tolower: a tolower() that isn't dumbEdward Thomson2015-05-291-0/+9
* Add MSVC CRTDBG memory leak reporting.Jeff Hostetler2015-04-151-0/+117
* Make our overflow check look more like gcc/clang'sEdward Thomson2015-02-131-10/+9
* Introduce git__add_sizet_overflow and friendsEdward Thomson2015-02-121-28/+0
* p_read: ensure requested len is ssize_tEdward Thomson2015-02-121-0/+7
* overflow checking: don't make callers set oomEdward Thomson2015-02-121-11/+4
* git__*allocarray: safer realloc and mallocEdward Thomson2015-02-121-0/+22
* allocations: test for overflow of requested sizeEdward Thomson2015-02-121-2/+13
* Remove strlen() calls from loop conditionMaks Naumov2015-01-151-1/+1
* Added AmigaOS-specific implementation of git__timer().Sebastian Bauer2014-12-281-0/+11