43 Commits (master)

Author SHA1 Message Date
Felix von Leitner 93111d2dc7 add buffer_init_allocbuf, buffer_init_read, buffer_init_write, buffer_init_read_allocbuf, buffer_init_write_allocbuf 7 months ago
Felix von Leitner a10f89d5f3 add compiler.h to abstract gcc attributes 9 months ago
Felix von Leitner 36e3301ed9 make check can now run in parallel 9 months ago
Felix von Leitner 626a424607 remove some warnings in unit tests 9 months ago
Felix von Leitner 6c1276294d add buffer_peekc 9 months ago
Felix von Leitner e1484560e8 add a few helpers for parsing binary data 9 months ago
Felix von Leitner 782cbd81b4 the glibc case of the new __writememsz__ and friends macros broke 1 year ago
Felix von Leitner a9b2cc59aa support gcc 10's access attribute when compiling with dietlibc 1 year ago
Felix von Leitner a9c1f9699e small buffer optimization 6 years ago
Felix von Leitner f2b0c2fb95 use gcc magic and a #define to convert buffer_puts to buffer_put if the 6 years ago
Felix von Leitner 083dc555f3 more constness for stralloc and buffer 7 years ago
Felix von Leitner d74fc233fc get rid of more -Wconversion warnings 7 years ago
Felix von Leitner ba62b9d96f add buffer_fromarray, buffer_frombuf 8 years ago
Felix von Leitner cf46170dc7 make headers work in C++ 10 years ago
Felix von Leitner d702d06774 for installed header files, add comment saying where they came from 11 years ago
Felix von Leitner 725dc465ed remove buffer_copy prototype 13 years ago
Felix von Leitner 97161ed0df add buffer_tosa (buffer writing to auto-growing stralloc) 13 years ago
Felix von Leitner 0698149baf switch to size_t and ssize_t 15 years ago
Felix von Leitner e5c56dc6b0 remove even more warnings 16 years ago
Felix von Leitner 8b636109ab gcc 4 cleanups (mostly unsigned char* vs char*) 17 years ago
Felix von Leitner 0359400b79 add buffer_mmapread 17 years ago
Felix von Leitner b05bf23905 cleanups in stralloc and buffer: 17 years ago
Felix von Leitner e3b165e9e8 add buffer_putm and buffer_putmflush 17 years ago
Felix von Leitner bb7c231fab add buffer_putsaflush 17 years ago
Felix von Leitner 429a61b461 extend API To read line/token to stralloc to allow clearing the 17 years ago
Felix von Leitner e4d8a40db6 add "extern" before variables 18 years ago
Felix von Leitner 4c41a88194 add long long buffer routines 18 years ago
Felix von Leitner 1e0728abd0 add buffer_fromsa (make virtual buffer from stralloc) 18 years ago
Felix von Leitner 3961f3e67e better and more predication, improved documentation 18 years ago
Felix von Leitner c44e273bde fix typo in buffer_GETC 19 years ago
Felix von Leitner b5c4e199cb add buffer_putsa, buffer_get_token_sa, buffer_getline_sa, stralloc_chomp 19 years ago
Felix von Leitner ae10628ce7 remove buffer_init argument warning when passing read or write 19 years ago
Felix von Leitner 10f26fd5bc add some man pages 19 years ago
Felix von Leitner 045c34e8e6 add buffer_putnlflush 19 years ago
Felix von Leitner 457fb18f2d make buffer_get_token write \0 to buffer on end of file so it can be 19 years ago
Felix von Leitner 3d345f814d Fixed input buffers, thanks to David Lichteblau. 20 years ago
Felix von Leitner 9c1ce2b6a5 some constness stuff for buffer_0, an experimental optimization for 20 years ago
Felix von Leitner 40fda89f89 oops 21 years ago
Olaf Dreesen 29f7b13114 added a macro buffer_getline 21 years ago
Olaf Dreesen d5b756f08f aded buffer_getc, buffer_getn get n bytes less only if EOF and 21 years ago
Felix von Leitner 6f4a91060a und noch nen commit ;-) 21 years ago
Felix von Leitner 504192c0f9 add routines to put number in buffer. 21 years ago
Felix von Leitner 3e6480f5f4 forgot buffer.h 21 years ago