log src/lib/ostream.c @ 21777:ad5fd5b950db

age author description
Wed, 22 Mar 2017 01:05:37 +0200 Timo Sirainen lib: Add missing error handling to o_stream_cork()
Wed, 11 Jan 2017 02:51:13 +0100 Stephan Bosch Updated copyright notices to include the year 2017.
Wed, 11 Jan 2017 01:57:46 +0100 Stephan Bosch global: Replaced all instances of memset(p, 0, sizeof(*p)) with the new i_zero() macro.
Mon, 16 May 2016 19:33:40 +0300 Timo Sirainen lib: Added ostream.blocking boolean
Wed, 13 Jan 2016 12:24:03 +0200 Timo Sirainen global: freshen copyright
Sat, 17 Jan 2015 04:14:09 +0200 Timo Sirainen lib: Added o_stream_create_passthrough() for creating simple wrapper ostreams
Sat, 17 Jan 2015 04:13:13 +0200 Timo Sirainen lib: Added o_stream_add_destroy_callback()
Mon, 05 Jan 2015 22:20:10 +0200 Phil Carmody global: freshen copyright
Thu, 13 Nov 2014 10:09:28 +0200 Timo Sirainen lib: ostream.stream_errno is now exactly the same as last_failed_errno.
Mon, 27 Oct 2014 23:29:39 +0200 Timo Sirainen lib: Make sure ostream.last_failed_errno is always set when stream_errno is set.
Mon, 27 Oct 2014 23:26:10 +0200 Timo Sirainen lib: o_stream_uncork() could also cause write errors. Make sure last_failed_errno is updated.
Thu, 09 Oct 2014 18:40:54 +0300 Timo Sirainen lib: Fixed assert-crash in o_stream_send_istream() if input stream was the one that failed.
Thu, 09 Oct 2014 18:12:46 +0300 Timo Sirainen lib: o_stream_send_istream() should return -1 if there was an error reading input stream.
Mon, 11 Aug 2014 15:54:43 +0300 Timo Sirainen lib: io_stream_copy() no longer attempts to read full block sizes from input.
Thu, 03 Jul 2014 21:54:52 +0300 Timo Sirainen lib: Added o_stream_flush_parent_if_needed() for wrapper ostreams.
Wed, 21 May 2014 06:21:16 -0700 Timo Sirainen lib: Added o_stream_is_corked().
Wed, 23 Apr 2014 19:19:24 +0300 Timo Sirainen Added o_stream_get_max_buffer_size()
Tue, 04 Feb 2014 16:23:22 -0500 Timo Sirainen Updated copyright notices to include year 2014.
Fri, 22 Nov 2013 13:47:36 +0200 Timo Sirainen ostream: Don't mark the stream closed too early after all.
Sun, 03 Nov 2013 23:27:15 +0200 Timo Sirainen ostream: Mark stream closed before handling its callback to avoid infinite loops.
Fri, 11 Oct 2013 19:17:10 +0300 Timo Sirainen liblib: If parent ostream closes itself on error, close our ostream as well.
Sun, 22 Sep 2013 04:39:35 +0300 Timo Sirainen lib: Added [io]_stream_create_error_str()
Sun, 22 Sep 2013 04:24:29 +0300 Timo Sirainen ostream-errno: last_failed_errno wasn't set, causing problems with some functions.
Fri, 20 Sep 2013 00:00:49 +0300 Timo Sirainen iostream: Added ability to set/get error strings for streams.
Wed, 13 Mar 2013 22:11:39 +0200 Timo Sirainen iostreams: Added close_parent flag to close() handler and clarified close/destroy APIs.
Sat, 02 Feb 2013 17:02:55 +0200 Timo Sirainen Oops :) Update copyrights to 2013 without breaking all .c files.
Sat, 02 Feb 2013 17:01:07 +0200 Timo Sirainen Updated copyright notices to include year 2013.
Thu, 31 Jan 2013 22:59:13 +0200 Timo Sirainen ostream: If stream is closed with stream_errno=0, set it to EPIPE.
Thu, 31 Jan 2013 22:58:24 +0200 Timo Sirainen ostream: Default seek&write_at implementations should fail with ESPIPE, not EPIPE.
Sun, 30 Sep 2012 19:11:55 +0300 Timo Sirainen Added [io]_stream_create_error() for creating streams that always fail reads/writes.
Sat, 11 Aug 2012 02:53:49 +0300 Timo Sirainen Added o_stream_get_fd().
Wed, 01 Aug 2012 18:53:52 +0300 Timo Sirainen o_stream_ignore_last_errors() / o_stream_nfinish() now marks parent streams also as checked.
Thu, 28 Jun 2012 09:28:05 +0300 Timo Sirainen Fixed ostream's new error handling not to always assert-crash.
Wed, 27 Jun 2012 04:24:53 +0300 Timo Sirainen Try to avoid (void) casts by adding more ATTR_NOWARN_UNUSED_RESULT.
Mon, 25 Jun 2012 00:01:59 +0300 Timo Sirainen Added o_stream_nsend*() and related functions to make delayed error handling safer.
Sun, 24 Jun 2012 00:52:57 +0300 Timo Sirainen Marked functions parameters that are allowed to be NULL. Some APIs were also changed.
Mon, 26 Mar 2012 20:39:09 +0300 Timo Sirainen Changes to make static analyzer happier.
Sun, 12 Feb 2012 18:55:28 +0200 Timo Sirainen Updated copyright notices to include year 2012.
Wed, 08 Feb 2012 23:05:26 +0200 Timo Sirainen iostreams: Set errno to stream_errno when exiting from failing functions.
Wed, 21 Sep 2011 15:53:00 +0300 Timo Sirainen ostream: Keep track of flush callback for filter ostreams as well.
Wed, 21 Sep 2011 14:40:35 +0300 Timo Sirainen Simplified creating filter ostreams.
Wed, 21 Sep 2011 13:56:13 +0300 Timo Sirainen Renamed lib/*-internal.h files to lib/*-private.h for consistency.
Wed, 07 Sep 2011 10:59:35 +0300 Timo Sirainen Added o_stream_switch_ioloop() and implemented it to all ostreams.
Fri, 04 Mar 2011 20:54:29 +0200 Timo Sirainen Updated copyright notices to include year 2011.
Fri, 14 May 2010 10:40:24 +0200 Timo Sirainen Use IO_BLOCK_SIZE macro to specify how large read/write syscalls to use. HEAD
Sat, 06 Mar 2010 13:56:09 +0200 Timo Sirainen i/ostreams can now have a name (e.g. file path). HEAD
Sun, 14 Feb 2010 21:49:13 +0200 Timo Sirainen ostream: If cork method isn't implemented, keep track of corking state internally. HEAD
Sat, 13 Feb 2010 05:36:04 +0200 Timo Sirainen o_stream_uncork(): Use flush() as default uncork operation. HEAD
Sat, 06 Feb 2010 01:06:47 +0200 Timo Sirainen ostream: Added default failure handling if write_at() isn't implemented. HEAD
Mon, 25 Jan 2010 01:19:08 +0200 Timo Sirainen Updated copyright notices to include year 2010. HEAD
Fri, 16 Oct 2009 12:30:59 -0400 Timo Sirainen Added o_stream_get_buffer_avail_size(). HEAD
Fri, 16 Oct 2009 12:30:14 -0400 Timo Sirainen ostream: Simplified implementing ostreams. HEAD
Mon, 29 Jun 2009 21:57:27 -0400 Timo Sirainen ostreams: Moved generic o_stream_send_istream() implementation to ostream.c. HEAD
Tue, 24 Feb 2009 21:39:41 -0500 Timo Sirainen Added o_stream_pwrite(). HEAD
Tue, 06 Jan 2009 09:25:38 -0500 Timo Sirainen Updated copyright notices to include year 2009. HEAD
Fri, 20 Jun 2008 10:41:44 +0300 Timo Sirainen Added more consts, ATTR_CONSTs and ATTR_PUREs. HEAD
Tue, 01 Jan 2008 22:05:21 +0200 Timo Sirainen Updated copyright notices to include year 2008. HEAD
Sat, 24 Nov 2007 15:21:38 +0200 Timo Sirainen o_stream_sendv(): If we're trying to send 0 bytes, just return 0 HEAD
Sat, 24 Nov 2007 06:51:27 +0200 Timo Sirainen Added last_failed_errno to ostream to make error handling easier with files. HEAD
Sat, 24 Nov 2007 06:43:49 +0200 Timo Sirainen Moved stream_errno clearing to common functions in ostream.c. HEAD