Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2015-01-19 | sdsfreesplitres: Change count arg to size_t | Johannes Löthberg | 1 | -1/+1 | |
This makes it match sdssplitlen | |||||
2015-01-19 | Move variables into for loop, remove unnevessary lens | Johannes Löthberg | 1 | -18/+13 | |
2015-01-19 | sds.c: Add explicit casts everywhere | Johannes Löthberg | 1 | -17/+17 | |
Silences a /lot/ of warnings. | |||||
2015-01-19 | sds.c: Change remaining len vars to size_t | Johannes Löthberg | 1 | -4/+4 | |
2015-01-19 | sds.c: Change spacing around arguments and operators | Johannes Löthberg | 1 | -81/+81 | |
2015-01-19 | sdssplitlen: Change length arguments to size_t | Johannes Löthberg | 1 | -3/+3 | |
2015-01-19 | sdsIncrLen: change incr argument to size_t | Johannes Löthberg | 1 | -1/+1 | |
2015-01-19 | sdsrange: change start/end args to ptrdiff_t | Johannes Löthberg | 1 | -1/+2 | |
An sds string can hold a much bigger value than an int can hold, but since size_t is unsigned it can’t be used for this function. Using ptrdiff_t limits the function to work on roughly 1 Exabyte long strings, but if you need to work with longer ones you probably will have your custom string library already. | |||||
2015-01-19 | sds.c: Disable format-nonliteral warning around sdscatvprintf | Johannes Löthberg | 1 | -0/+2 | |
2015-01-19 | sds.c: Add two function prototypes | Johannes Löthberg | 1 | -0/+3 | |
is_hex_digit and hex_digit_to_int functions had no function prototypes. Silences two warnings. | |||||
2015-01-18 | sds.c: Add braces around all one-line if and while loops | Johannes Löthberg | 1 | -33/+33 | |
2015-01-18 | sds.c: add braces around naked while loops | Johannes Löthberg | 1 | -2/+4 | |
2015-01-18 | sds.{c,h}: Sort includes | Johannes Löthberg | 1 | -2/+2 | |
2015-01-18 | sdsfromlonglong: Cast abs ternary statement to ull | Johannes Löthberg | 1 | -1/+1 | |
Fixes the warning about the ternary statement changing the signedness of value. | |||||
2015-01-17 | sds.c: All if statements should be braced | Johannes Löthberg | 1 | -5/+8 | |
2015-01-17 | Reindent with tabs. | Johannes Löthberg | 1 | -405/+403 | |
All source code should be indented with tabs and aligned with spaces. When talking about line length a tab equals 4 spaces. | |||||
2015-01-17 | sds.c Replace all in-place calculations with sdsheader | Johannes Löthberg | 1 | -14/+14 | |
2015-01-17 | Revert "SDS Header pointer math rewritten in a more elegant form." | Johannes Löthberg | 1 | -17/+17 | |
This reverts commit c636fc6cd25e455a75dca24ac08ba736f62db6c8. This commit was just utterly senseless, all it does is make the code less clear for literally nothing. | |||||
2014-12-05 | Replace testsuite with one based on twbctf | Johannes Löthberg | 1 | -125/+0 | |
2014-12-05 | Move source files to src dir, use VPATH in Makefile | Johannes Löthberg | 1 | -0/+907 | |