log src/lib/ostream-file.c @ 23007:36e01285b5b8

age author description
Mon, 01 Jan 2018 22:42:08 +0100 Stephan Bosch Updated copyright notices to include the year 2018.
Wed, 11 Jan 2017 02:51:13 +0100 Stephan Bosch Updated copyright notices to include the year 2017.
Mon, 12 Dec 2016 07:19:55 +0200 Timo Sirainen global: Change string position/length from unsigned int to size_t
Mon, 16 May 2016 19:33:40 +0300 Timo Sirainen lib: Added ostream.blocking boolean
Sat, 30 Apr 2016 14:10:59 +0200 Stephan Bosch lib: ostream-file: Allow creating derived file output streams.
Sat, 30 Apr 2016 13:55:52 +0200 Stephan Bosch lib: ostream-file: Split o_stream_file_writev() from o_stream_file_writev_full().
Sat, 30 Apr 2016 13:51:59 +0200 Stephan Bosch lib: ostream-file: Renamed o_stream_writev() to o_stream_file_writev_full().
Sat, 30 Apr 2016 13:29:47 +0200 Stephan Bosch lib: ostream-file: Renamed iov_size to iov_count everywhere and made it unsigned int for consistency.
Wed, 13 Jan 2016 12:24:03 +0200 Timo Sirainen global: freshen copyright
Mon, 05 Jan 2015 22:20:10 +0200 Phil Carmody global: freshen copyright
Thu, 13 Nov 2014 10:01:37 +0200 Timo Sirainen lib: ostream-file checks "sendfile() not supported" a bit better.
Thu, 09 Oct 2014 18:14:43 +0300 Timo Sirainen lib: o_stream_send_istream() shouldn't ignore EINTRs for file ostreams.
Mon, 11 Aug 2014 16:08:44 +0300 Timo Sirainen Compiler warning fix
Mon, 11 Aug 2014 15:54:43 +0300 Timo Sirainen lib: io_stream_copy() no longer attempts to read full block sizes from input.
Fri, 13 Jun 2014 02:18:53 +0300 Timo Sirainen lib: Added [io]_stream_create_fd_*autoclose()
Tue, 04 Feb 2014 16:23:22 -0500 Timo Sirainen Updated copyright notices to include year 2014.
Fri, 20 Sep 2013 00:12:45 +0300 Timo Sirainen iostreams: Set stream error string when it provides extra information.
Wed, 13 Mar 2013 22:11:39 +0200 Timo Sirainen iostreams: Added close_parent flag to close() handler and clarified close/destroy APIs.
Sun, 24 Feb 2013 15:02:44 +0200 Timo Sirainen o_stream_send_istream(): Fixed copying when [io]streams neither have usable fds.
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.
Wed, 09 Jan 2013 05:28:58 +0200 Timo Sirainen o_stream_send_istream(): Fixed copying within same file, when istream's size is unknown.
Wed, 03 Oct 2012 18:17:26 +0300 Timo Sirainen Renamed network.[ch] to net.[ch].
Tue, 28 Aug 2012 22:20:17 +0300 Timo Sirainen o_stream_send_istream(): Get input stream size with i_stream_get_size() instead of _stat().
Sat, 18 Aug 2012 15:56:30 +0300 Timo Sirainen ostream-file: Fixed writing with zero buffer size.
Sat, 11 Aug 2012 02:53:49 +0300 Timo Sirainen Added o_stream_get_fd().
Mon, 25 Jun 2012 00:01:59 +0300 Timo Sirainen Added o_stream_nsend*() and related functions to make delayed error handling safer.
Sun, 12 Feb 2012 18:55:28 +0200 Timo Sirainen Updated copyright notices to include year 2012.
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.
Mon, 18 Oct 2010 16:51:12 +0100 Timo Sirainen ostream-file: Fixed potential crash in write_at() and also fixed attempted optimization.
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
Mon, 25 Jan 2010 01:19:08 +0200 Timo Sirainen Updated copyright notices to include year 2010. 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
Sat, 27 Jun 2009 21:08:45 -0400 Timo Sirainen Added struct istream.readable_fd, which is used to determine if sendfile() can be used. HEAD
Tue, 19 May 2009 13:36:33 -0400 Timo Sirainen o_stream_send_istream(): Make sure istream->eof gets set after sending everything with sendfile(). HEAD
Tue, 24 Feb 2009 21:39:41 -0500 Timo Sirainen Added o_stream_pwrite(). HEAD
Tue, 24 Feb 2009 18:12:32 -0500 Timo Sirainen o_stream_send_istream(): Don't do backwards copying if the area doesn't really overlap. HEAD
Tue, 24 Feb 2009 18:11:18 -0500 Timo Sirainen ostream: When copying backwards within a file, update in/outstream offsets. HEAD
Tue, 06 Jan 2009 09:25:38 -0500 Timo Sirainen Updated copyright notices to include year 2009. HEAD
Sat, 30 Aug 2008 13:21:18 +0300 Timo Sirainen ostream: Make sure writing to files always fully succeeds or fails. 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, 29 Dec 2007 07:33:09 +0200 Timo Sirainen If writev() fails for non-file and nothing was sent, return failure instead HEAD
Sat, 24 Nov 2007 06:59:08 +0200 Timo Sirainen Handle write failures with files better. HEAD
Sat, 24 Nov 2007 06:43:49 +0200 Timo Sirainen Moved stream_errno clearing to common functions in ostream.c. HEAD
Sat, 24 Nov 2007 06:40:09 +0200 Timo Sirainen Assert: With files o_stream_send*() must either write everything or return HEAD
Thu, 08 Nov 2007 01:58:04 +0200 Timo Sirainen o_stream_send_istream(): Don't fstat() the stream unless we have to. HEAD
Sun, 16 Sep 2007 14:34:22 +0300 Timo Sirainen Replaced my Copyright notices. The year range always ends with 2007 now. HEAD
Sun, 16 Sep 2007 13:25:23 +0300 Timo Sirainen Removed _ prefixes from function names. HEAD
Sun, 16 Sep 2007 12:22:27 +0300 Timo Sirainen Renamed struct _[io]stream to struct [io]stream_private. Also removed _ HEAD
Thu, 09 Aug 2007 22:09:00 +0300 Timo Sirainen Assert fix HEAD
Thu, 09 Aug 2007 21:26:02 +0300 Timo Sirainen If we do multiple writev() calls and the last one fails, we shouldn't treat HEAD
Thu, 02 Aug 2007 19:06:34 +0300 Timo Sirainen Delayed lseek()/pwrite() fixes. HEAD
Thu, 02 Aug 2007 18:37:31 +0300 Timo Sirainen Delay lseek()s and use pwrite() whenever possible. HEAD