summaryrefslogtreecommitdiff
path: root/dynstr.c
AgeCommit message (Expand)AuthorFilesLines
2011-03-05Remove moved files.Lars Wirzenius1-547/+0
2010-10-27Fix EAGAIN be EINTR.Lars Wirzenius1-2/+2
2010-10-26Change Dynstr to not allocate memory for string separately.Lars Wirzenius1-50/+51
2010-10-26Rename new() to newstr() to appease C++.Lars Wirzenius1-9/+9
2010-10-26Add dynstr_strup function.Lars Wirzenius1-0/+13
2010-10-26Handle EAGAIN errors when reading from file descriptors.Lars Wirzenius1-4/+8
2010-10-26Rename dynstr_cat to dynstr_cat_many and introduce 2-argument dynstr_cat.Lars Wirzenius1-3/+9
2010-10-26Reduce string catenation overhead a little bit in readline functions.Lars Wirzenius1-2/+2
2010-10-26Change calls to dynstr_cat to use (void*)NULL instead of plain NULL.Lars Wirzenius1-2/+2
2010-10-25Reformat files, add comments, add copyright and license info.Lars Wirzenius1-5/+54
2010-10-25Avoid doing a large number of small allocs in readline_helper.Lars Wirzenius1-7/+26
2010-10-25Implement dynstr_readline and dynstr_freadline.Lars Wirzenius1-0/+84
2010-10-25Implement dynstr_fread and dynstr_read.Lars Wirzenius1-0/+68
2010-10-25Implement dynstr_write.Lars Wirzenius1-0/+7
2010-10-25Implement dynstr_cmp.Lars Wirzenius1-0/+22
2010-10-25Implement dynstr_fwrite.Lars Wirzenius1-0/+6
2010-10-25Implement dynstr_last_string.Lars Wirzenius1-0/+19
2010-10-25Implement dynstr_first_string.Lars Wirzenius1-0/+16
2010-10-24Implement dynstr_last_byte.Lars Wirzenius1-0/+13
2010-10-24Implement dynstr_first_byte.Lars Wirzenius1-0/+13
2010-10-22Implement dynstr_byte_at.Lars Wirzenius1-1/+9
2010-10-22Fix memory leak in dynstr_cat.Lars Wirzenius1-3/+1
2010-10-22Implement dynstr_free, and use it in one location.Lars Wirzenius1-0/+9
2010-10-22Implement dynstr_cat.Lars Wirzenius1-0/+37
2010-10-22Implement dynstr_substr.Lars Wirzenius1-0/+12
2010-10-22Add support creating constant strings.Lars Wirzenius1-0/+10
2010-10-22Add test to verify that alloc() calls error handler, when appropriate.Lars Wirzenius1-1/+12
2010-10-20Implement dynstr_create_from_memory.Lars Wirzenius1-0/+5
2010-10-20Implement dynstr_new_from_cstring and dynstr_memcpy.Lars Wirzenius1-0/+19
2010-10-20Implement dynstr_new_empty, dynstr_len, and dynstr_is_empty.Lars Wirzenius1-1/+55
2010-10-20Add dynstr_init so unit tests can reset library.Lars Wirzenius1-0/+6
2010-10-20Add test to verify dynstr_malloc_error_abort actually calls abort.Lars Wirzenius1-0/+1
2010-10-20Implement dynstr_set_malloc_error_handler.Lars Wirzenius1-0/+9
2010-10-20Implement the default error handler for malloc.Lars Wirzenius1-1/+4
2010-10-20Initial import.Lars Wirzenius1-0/+25