62 Commits (25ceda07786dd9127e36f8cf0178d4bfbeeceefb)

Author SHA1 Message Date
Felix von Leitner 25ceda0778 special case buffer_get_token with token length 1 through memccpy 6 years ago
Felix von Leitner a7929899ea add unistd.h 6 years ago
Felix von Leitner c21bdfb2dd oops, did not actually flush the buffer 6 years ago
Felix von Leitner 7e89f0fecb slight optimization for buffer_flush 6 years ago
Felix von Leitner a9c1f9699e small buffer optimization 7 years ago
Felix von Leitner f2b0c2fb95 use gcc magic and a #define to convert buffer_puts to buffer_put if the 7 years ago
Felix von Leitner 083dc555f3 more constness for stralloc and buffer 7 years ago
Felix von Leitner fa5ffbb19b fix buffer_get 7 years ago
Felix von Leitner d86346ba72 documented wrong return type 7 years ago
Felix von Leitner 68f5b64189 switch io_fds from array to newly implemented (hopefully thread-safe) iarray 8 years ago
Felix von Leitner 21843fedd0 actually increase stralloc.len 8 years ago
Felix von Leitner e058337c40 never close fd 0, 1 or 2 in buffer_close 8 years ago
Felix von Leitner d74fc233fc get rid of more -Wconversion warnings 8 years ago
Felix von Leitner a5dc55208a add man pages for buffer_from* 8 years ago
Felix von Leitner ba62b9d96f add buffer_fromarray, buffer_frombuf 8 years ago
Felix von Leitner 1114f8eb8e stralloc* not const char* 13 years ago
Felix von Leitner d94fec77d0 add man page 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 78baa766f8 add RETURN VALUE section 16 years ago
Felix von Leitner c89e6b4fcc implement Nikola's idea to remove limit number of strings in errmsg 16 years ago
Felix von Leitner e407310547 make sure buffer_get tries to get all the bytes it was asked for 17 years ago
Felix von Leitner e5c56dc6b0 remove even more warnings 17 years ago
Felix von Leitner 4f5117a604 remove a few gcc 4 warnings 17 years ago
Felix von Leitner 8b636109ab gcc 4 cleanups (mostly unsigned char* vs char*) 17 years ago
Felix von Leitner 231339251c fix a few man pages 17 years ago
Felix von Leitner 61a51950d4 add iob_free and man page for iob_reset. 17 years ago
Felix von Leitner 0359400b79 add buffer_mmapread 17 years ago
Felix von Leitner 562656b531 update dependencies 17 years ago
Felix von Leitner 9fbd2b60cc signal EOF properly 17 years ago
Felix von Leitner 645ecc0632 add iob_write (to write an io batch through a callback) 17 years ago
Felix von Leitner b0bb9eb23e add RETURN VALUE to man page 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 abc843992b add sys/types.h 18 years ago
Felix von Leitner 3973539546 add errmsg API 18 years ago
Felix von Leitner d0cc758bf8 broken lose32 port using mingw (don't use!!!) 18 years ago
Felix von Leitner 4c41a88194 add long long buffer routines 19 years ago
Felix von Leitner 1e0728abd0 add buffer_fromsa (make virtual buffer from stralloc) 19 years ago
Felix von Leitner 3961f3e67e better and more predication, improved documentation 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 10f26fd5bc add some man pages 19 years ago
Felix von Leitner c5ebffd202 duh, cut-and-paste error 20 years ago
Felix von Leitner 045c34e8e6 add buffer_putnlflush 20 years ago
Felix von Leitner 457fb18f2d make buffer_get_token write \0 to buffer on end of file so it can be 20 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 21 years ago
Felix von Leitner fe8bbad4f0 duh 21 years ago