log src/lib/istream.c @ 22664:fea53c2725c0

age author description
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.
Sat, 19 Nov 2016 01:54:14 +0200 Timo Sirainen global: Code cleanup - avoid passing NULL to functions with non-null parameter
Mon, 14 Nov 2016 16:45:24 +0200 Aki Tuomi lib: Mark istream with eof=TRUE on all errors
Wed, 13 Jul 2016 09:46:08 +0200 Stephan Bosch Calling i_stream_next_line() on a chain stream would sometimes erroneously use the stream->w_buffer.
Wed, 01 Jun 2016 18:11:29 +0300 Timo Sirainen global: Use i_stream_get_max_buffer_size() wherever possible
Wed, 01 Jun 2016 18:09:48 +0300 Timo Sirainen lib: i_stream_get_max_buffer_size() checks also parents' max sizes
Wed, 04 May 2016 18:24:03 +0300 Timo Sirainen lib: istream's max_buffer_size=0 means 0, not unlimited.
Fri, 13 May 2016 09:23:52 -0400 Timo Sirainen lib: Fixed potential crash in i_stream_stat() failures.
Fri, 06 May 2016 14:34:57 +0300 Timo Sirainen lib: Added i_stream_get_disconnect_reason()
Wed, 10 Feb 2016 22:02:15 +0200 Timo Sirainen lib: Added i_stream_set_persistent_buffers()
Wed, 13 Jan 2016 12:24:03 +0200 Timo Sirainen global: freshen copyright
Mon, 11 Jan 2016 19:00:07 +0200 Timo Sirainen lib: i_stream_get_error() now returns "EOF" if stream_errno==0 and eof==TRUE.
Fri, 27 Nov 2015 15:50:44 +0200 Timo Sirainen lib: Added extra assert to i_stream_read()
Tue, 30 Jun 2015 12:18:08 +0300 Timo Sirainen istream filters: If parent's i_stream_stat() fails, copy the stream_errno.
Sun, 15 Feb 2015 09:55:05 +0200 Timo Sirainen lib: If i_stream_read() sets stream_errno even if it didn't return -1, make sure we set eof=TRUE
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 09:39:24 +0200 Timo Sirainen lib: Never implicitly clear istream's stream_errno.
Sun, 26 Oct 2014 01:00:36 +0300 Timo Sirainen lib: If i_stream_seek() works by reading forward and read() fails, don't override the error message.
Tue, 14 Oct 2014 09:22:40 -0700 Timo Sirainen lib: i_stream_read_next_line() now sets a better error message if line is too long.
Mon, 29 Sep 2014 22:43:44 +0300 Timo Sirainen lib: If i_stream_default_seek_nonseekable() can't seek, set a more readable error message.
Mon, 07 Jul 2014 13:15:33 +0300 Timo Sirainen lib: i_stream_read_copy_from_parent() needs to update access counter also when returning -2
Thu, 19 Jun 2014 15:15:24 +0300 Timo Sirainen lib: i_stream_read_copy_from_parent() now directly updates the access counter
Thu, 19 Jun 2014 14:58:26 +0300 Timo Sirainen lib: i_stream_get_data() should also reset eof=FALSE if it truncates the output.
Thu, 19 Jun 2014 14:02:56 +0300 Timo Sirainen Compiler warning fix
Thu, 19 Jun 2014 13:52:36 +0300 Timo Sirainen lib: If two istreams share one parent, i_stream_get_data() may have returned corrupted data to another.
Wed, 07 May 2014 16:52:22 +0300 Phil Carmody lib: a couple of trivial sparse cleanups
Thu, 24 Apr 2014 13:49:25 +0300 Timo Sirainen i_stream_read_next_line(): Set also errno=ENOBUFS on too large line.
Thu, 03 Apr 2014 19:51:52 +0300 Timo Sirainen Added io_add_istream() and related functionality for combining the ioloop/istream.
Thu, 03 Apr 2014 12:54:18 +0300 Timo Sirainen i_stream_read(): If stream_errno is set, fail immediately.
Tue, 04 Feb 2014 16:23:22 -0500 Timo Sirainen Updated copyright notices to include year 2014.
Wed, 06 Nov 2013 21:05:51 +0200 Timo Sirainen istream: Added i_stream_init_parent() to lazily initialize the parent stream.
Sun, 22 Sep 2013 04:39:35 +0300 Timo Sirainen lib: Added [io]_stream_create_error_str()
Fri, 20 Sep 2013 00:00:49 +0300 Timo Sirainen iostream: Added ability to set/get error strings for streams.
Thu, 12 Sep 2013 02:33:01 +0300 Timo Sirainen istream: Improved "stream not seekable" panic message.
Sun, 07 Apr 2013 23:17:37 +0300 Timo Sirainen istream API change: Added support for multiple destroy callbacks.
Thu, 04 Apr 2013 21:18:45 +0300 Timo Sirainen i_stream_read(): Added assert.
Wed, 13 Mar 2013 22:11:39 +0200 Timo Sirainen iostreams: Added close_parent flag to close() handler and clarified close/destroy APIs.
Sat, 16 Feb 2013 18:57:33 +0200 Timo Sirainen Merged changes from v2.1 tree.
Mon, 04 Feb 2013 15:59:12 +0200 Timo Sirainen i_stream_close(): Set stream_errno to EPIPE instead of ENOENT.
Mon, 04 Feb 2013 20:14:16 +0200 Timo Sirainen i_stream_create(): Copy stream_errno/eof immediately from the parent stream.
Mon, 04 Feb 2013 20:13:26 +0200 Timo Sirainen istream: Fail in the default stat() implementation if stream_errno is set.
Sun, 03 Feb 2013 21:52:48 +0200 Timo Sirainen i_stream_create_error() should have set eof=TRUE immediately.
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.
Mon, 21 Jan 2013 14:42:10 +0200 Timo Sirainen i_stream_read_next_line() should have also set eof=TRUE on ENOBUFS errors.
Mon, 14 Jan 2013 07:57:39 +0200 Timo Sirainen i_stream_read_next_line() now sets stream_errno=ENOBUFS if input buffer gets full.
Sat, 15 Dec 2012 13:48:22 +0200 Timo Sirainen i_stream_close(): Set stream_errno to EPIPE instead of ENOENT.
Sat, 15 Dec 2012 13:43:44 +0200 Timo Sirainen i_stream_next_line(): Don't reset stream_errno if stream is already closed.
Wed, 28 Nov 2012 01:43:24 +0200 Timo Sirainen i_stream_default_stat(): If we can't know the size, return -1 instead of assert crash.
Sat, 13 Oct 2012 00:32:34 +0300 Timo Sirainen istream: Added internal try_alloc_limit to limit size returned by i_stream_try_alloc()
Sun, 30 Sep 2012 19:11:55 +0300 Timo Sirainen Added [io]_stream_create_error() for creating streams that always fail reads/writes.
Tue, 28 Aug 2012 22:40:57 +0300 Timo Sirainen i_stream_stat() API changed.
Sun, 12 Aug 2012 06:26:35 +0300 Timo Sirainen Added i_stream_last_line_crlf()
Wed, 25 Jul 2012 19:31:28 +0300 Timo Sirainen i_stream_read(): Added assert to make sure EOF isn't returned too early.
Fri, 29 Jun 2012 09:15:26 +0300 Timo Sirainen istreams: Added default stat() implementation for filter streams.
Fri, 29 Jun 2012 09:01:56 +0300 Timo Sirainen istreams: Added default seek() implementation for seekable streams.
Thu, 28 Jun 2012 03:18:55 +0300 Timo Sirainen Added i_stream_alloc()
Thu, 28 Jun 2012 01:30:50 +0300 Timo Sirainen istreams: Renamed i_stream_get_buffer_space() to i_stream_try_alloc()