summaryrefslogtreecommitdiff
AgeCommit message (Expand)AuthorFilesLines
2010-10-25Refactor unittest more, to automatically free substrings.Lars Wirzenius1-18/+25
2010-10-25Refactor unit tests to simplify code for each test.Lars Wirzenius1-114/+83
2010-10-25Add tests to get full coverage for dynstr_first_byte and dynstr_last_byte.Lars Wirzenius1-0/+28
2010-10-25Implement dynstr_last_string.Lars Wirzenius2-0/+121
2010-10-25Implement dynstr_first_string.Lars Wirzenius2-0/+118
2010-10-24Implement dynstr_last_byte.Lars Wirzenius2-0/+83
2010-10-24Implement dynstr_first_byte.Lars Wirzenius3-6/+87
2010-10-22Add test for byte_at for 8-bit bytes.Lars Wirzenius1-0/+12
2010-10-22Implement dynstr_byte_at.Lars Wirzenius2-1/+33
2010-10-22Make valgrind be quiet.Lars Wirzenius1-1/+1
2010-10-22Fix accesses of uninitialized memory reported by valgrind.Lars Wirzenius1-3/+3
2010-10-22Fix problem reported by valgrind by initializing sa_mask.Lars Wirzenius1-0/+1
2010-10-22Fix memory leak in test_alloc_does_not_call_error_handler.Lars Wirzenius1-0/+1
2010-10-22Fix memory leak in dynstr_cat.Lars Wirzenius1-3/+1
2010-10-22Compile with debugging symbols, so valgrind reports line numbers.Lars Wirzenius1-2/+2
2010-10-22Free up some more strings used by unit tests.Lars Wirzenius1-0/+31
2010-10-22Implement dynstr_free, and use it in one location.Lars Wirzenius2-0/+10
2010-10-22Run unittest under valgrind.Lars Wirzenius1-1/+1
2010-10-22Implement dynstr_cat.Lars Wirzenius3-1/+89
2010-10-22Implement dynstr_substr.Lars Wirzenius2-0/+129
2010-10-22Add support creating constant strings.Lars Wirzenius2-0/+56
2010-10-22Add test for second allocation failure for new().Lars Wirzenius1-12/+45
2010-10-22Add test to verify alloc() does not call error handler if allocation succeeds.Lars Wirzenius1-0/+13
2010-10-22Add test to verify that alloc() calls error handler, when appropriate.Lars Wirzenius3-2/+85
2010-10-22Add --coverage to support coverage testing.Lars Wirzenius1-2/+3
2010-10-20Add more tests for dynstr_memcpy.Lars Wirzenius1-0/+60
2010-10-20Implement dynstr_create_from_memory.Lars Wirzenius2-0/+23
2010-10-20Implement dynstr_new_from_cstring and dynstr_memcpy.Lars Wirzenius3-1/+39
2010-10-20Implement dynstr_new_empty, dynstr_len, and dynstr_is_empty.Lars Wirzenius2-1/+67
2010-10-20Add dynstr_init so unit tests can reset library.Lars Wirzenius3-0/+35
2010-10-20Add .gitignore.Lars Wirzenius1-0/+2
2010-10-20Add test to verify dynstr_malloc_error_abort actually calls abort.Lars Wirzenius2-0/+39
2010-10-20Implement dynstr_set_malloc_error_handler.Lars Wirzenius2-0/+19
2010-10-20Implement the default error handler for malloc.Lars Wirzenius1-1/+4
2010-10-20Initial import.Lars Wirzenius4-0/+234