32 Commits (179aeb01082df9e7c19a285ae4d703a7714f4e2f)

Author SHA1 Message Date
Christian Göttsche e9d95e2a84 Add cast to please debug build 2 years ago
Benny Baumann dc6dc7c8f0 Safe-guard agains kernel issues 2 years ago
Benny Baumann a18a38cff5 Ensure the buffer is always terminated 2 years ago
Explorer09 076b913c7f Compare all percentage fields with compareRealNumbers() 3 years ago
Explorer09 b416433fbe Replace isnan() with better comparisons (isgreater(), etc.) 3 years ago
Christian Göttsche 8387df1551 Annotate functions with access attribute 3 years ago
Benny Baumann 40104588f3 Reformat code base 3 years ago
Christian Göttsche 9a4879b48f Please Clang 15 4 years ago
Christian Göttsche f3e70ab389 Write full buffer 4 years ago
Christian Göttsche 549fcb6bb8 Always abort on overflow in String_cat 4 years ago
Daniel Lange 7c43e02591 Improve String_contains_i to allow for multiple terms 4 years ago
Tobias Stoeckmann a133ffd829 Removed unused String_getToken function 4 years ago
Tobias Stoeckmann fde1243443 Fix out of boundary writes in XUtils 4 years ago
Daniel Lange 94ad111391 Update license headers to explicitly say GPLv2+ 5 years ago
Christian Göttsche bf395e10c5 Add xReallocArrayZero() helper 5 years ago
Christian Göttsche c243db0b2c XUtils: move implementation of String_contains_i out of header file 5 years ago
Benny Baumann 976c6123f4 Pointer indication aligned to typename 5 years ago
Christian Göttsche d72b0a682e Mark several non-modified pointer variables const 5 years ago
Christian Göttsche 70f48f1f44 Add wrapper function for free and strdup 5 years ago
Christian Göttsche a118928dee XUtils: add safe strncpy implementation 5 years ago
Christian Göttsche 8c8149d146 XUtils: check for multiplication overflow in allocation size 5 years ago
Christian Göttsche d9224c66a4 Use size_t as len type for xSnprintf 5 years ago
Christian Göttsche 7ba25aa3c4 IWYU update 5 years ago
Christian Göttsche f7a8952933 Add xReadfile wrapper for reading small to medium size files 5 years ago
Benny Baumann 61e14d4bb2 Spacing around operators 5 years ago
Christian Göttsche 8a08a3209c IWYU update 5 years ago
Christian Göttsche 4c66eb6d4c XUtils string related updates 5 years ago
Christian Göttsche 577416d1a9 Assert allocating non-zero size memory 5 years ago
Benny Baumann 0f5262917f Make all required includes explicit 5 years ago
Benny Baumann c138d14897 Release old memory on error 5 years ago
Benny Baumann 5e4b182616 Combine XAlloc.[ch] into XUtils.[ch] 5 years ago
Benny Baumann 872e542f4e Rename StringUtils.[ch] to XUtils.[ch] 5 years ago
Benny Baumann c6f04a9c5d Move xAsprintf, xSnprintf and xStrdup to StringUtils.h 5 years ago
Daniel Lange 079c2abf8e Update License consistently to GPLv2 as per COPYING file 6 years ago
Christian Göttsche 843949131a Drop redundant casts to the same type 6 years ago
Hugo Musso Gualandi 9207401f97 Clean up some code duplication in the header files 6 years ago
Zev Weiss a1a027b9bd Axe automated header generation. 6 years ago
Christian Göttsche 7457bfe9f3 Avoid string overflow warning 6 years ago
Nathan Scott 5228f5d47a Ensure result buffer termination in String_cat utility routine 6 years ago
Daniel Flanagan dd33444f7e Clean up existing whitespace 6 years ago
Hisham cceab15b9d free(NULL) is a valid no-op, so let's make String_freeArray(NULL) valid too. 10 years ago
Explorer09 bf35921abb Optimize Strings_startWith() 10 years ago
Hisham Muhammad 0fa03322a9 Dynamically adjust the size of line reads 10 years ago
Hisham 5db1b0e9a0 Remove extra checks made redundant by XAlloc. 10 years ago
Hisham b54d2dde40 Check for failure in allocations. 10 years ago
Michael McConville a9a5a539cf (Very) initial working OpenBSD port 11 years ago
Michael McConville 445222e48c Clean up some needless malloc casts, convert some mallocs to callocs, and fix some style 11 years ago
Hisham Muhammad 3e93f9b852 Fix comment. 11 years ago
David Hunt 5e602f18d5 Rename String to StringUtils. 11 years ago
Hisham Muhammad 2f0a4b3d3a Test realloc failure to make cppcheck happy 12 years ago