bcb4e51a409d94ae670de96afb8483a4f7855294 |
|
01-Jan-2018 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
Updated copyright notices to include the year 2018. |
bcd286622779a93f809b11993db0550f8c7cc9b5 |
|
01-Nov-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: Use i_stream_read_memarea() wherever possible |
2974dca6be5120e49279f06c8aa952e5fac56048 |
|
01-Nov-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: Add flags parameter to i_stream_create() and set it to 0
This just changes the API - the following changes add the new flag. |
2454dfa32c93c20a8522c6ed42fe057baaac9f9a |
|
01-Jan-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
Updated copyright notices to include the year 2017. |
899653bd8261ee9fe989aec0b1221a47e0de23cd |
|
21-Apr-2016 |
Martti Rannanjärvi <martti.rannanjarvi@dovecot.fi> |
lib: remove unneccesary i_stream_unrefs of parent |
02c335c23bf5fa225a467c19f2c063fb0dc7b8c3 |
|
12-Jan-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: freshen copyright
git ls-files | xargs perl -p -i -e 's/(\d+)-201[0-5]/$1-2016/g;s/ (201[0-5]) Dovecot/ $1-2016 Dovecot/' |
2c0f1cb7a0564d48ec43c7315ea46ea38d2abd19 |
|
29-Jun-2015 |
Timo Sirainen <tss@iki.fi> |
istream filters: If parent's i_stream_stat() fails, copy the stream_errno.
This doesn't actually change any functionality yet, since most
i_stream_stat() callers aren't using i_stream_get_error(). |
7cb128dc4cae2a03a742f63ba7afee23c78e3af0 |
|
05-Jan-2015 |
Phil Carmody <phil@dovecot.fi> |
global: freshen copyright
Robomatically:
git ls-files | xargs perl -p -i -e 's/(\d+)-201[0-4]/$1-2015/g;s/ (201[0-4]) Dovecot/ $1-2015 Dovecot/'
Happy 2015 everyone!
Signed-off-by: Phil Carmody <phil@dovecot.fi> |
a8c5a86d183db25a57bf193c06b41e092ec2e151 |
|
04-Feb-2014 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2014. |
5a580c3a38ced62d4bcc95b8ac7c4f2935b5d294 |
|
02-Feb-2013 |
Timo Sirainen <tss@iki.fi> |
Oops :) Update copyrights to 2013 without breaking all .c files. |
cca4ba2a504d70a9fe9fee37f8433997359de52c |
|
02-Feb-2013 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2013. |
01f4ee4a0243f3fe9af763e1a540cd5cff0d63f5 |
|
28-Aug-2012 |
Timo Sirainen <tss@iki.fi> |
i_stream_stat() API changed.
This fixes also one missing error check. |
bdcb00145ad87765e3fd22d4ebc4d2c029a326b9 |
|
22-Aug-2012 |
Timo Sirainen <tss@iki.fi> |
Added i_stream_create_range() |
3f8303bae0f70df6db9337ad1d1476d290f9b1a3 |
|
14-Aug-2012 |
Timo Sirainen <tss@iki.fi> |
istream-limit: Move parent stream to expected offset also at EOF. |
5df8396a7cbad0b38b83a86667fb3d4c223f6f7c |
|
29-Jun-2012 |
Timo Sirainen <tss@iki.fi> |
istreams: Added default stat() implementation for filter streams. |
032964c7cc6788188b63ae6270fc26cbd4a3ca26 |
|
29-Jun-2012 |
Timo Sirainen <tss@iki.fi> |
istreams: Added default seek() implementation for seekable streams. |
5f5870385cff47efd2f58e7892f251cf13761528 |
|
12-Feb-2012 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2012. |
0536ccb51d41e3078c3a9fa33e509fb4b2420f95 |
|
21-Sep-2011 |
Timo Sirainen <tss@iki.fi> |
Renamed lib/*-internal.h files to lib/*-private.h for consistency. |
2e37d45867d081db150ab78dad303b9077aea24f |
|
04-Mar-2011 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2011. |
183bea41fa640dc8117f3eb45ff935cd81377a84 |
|
04-Mar-2011 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2011. |
843197a6b5b368a87468c686ac50e30e5d8e9d76 |
|
17-Feb-2011 |
Timo Sirainen <tss@iki.fi> |
istream-limit: Allow seeking past limit without assert-crashing.
The next read() will simply return EOF. |
8887a9bb6d2e3f664cf741b763643a0e5610fa4d |
|
09-Mar-2010 |
Timo Sirainen <tss@iki.fi> |
Reverted recent istream-limit cleanup. It broke things.
--HG--
branch : HEAD |
92e69fe12039bb686667948b835f4bba55ab843a |
|
08-Mar-2010 |
Timo Sirainen <tss@iki.fi> |
Simplified up istream-limit implementation.
--HG--
branch : HEAD |
f40b08f8dfa7594ae0ac12f2aed4fad6ce910146 |
|
19-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
filter istreams: Let default seek implementation optimize away unnecessary seeks.
--HG--
branch : HEAD |
e59faf65ce864fe95dc00f5d52b8323cdbd0608a |
|
25-Jan-2010 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2010.
--HG--
branch : HEAD |
da2aa032ccfa8e7e4a4380ef738014549f4d2c2d |
|
28-Jun-2009 |
Timo Sirainen <tss@iki.fi> |
Added struct istream.readable_fd, which is used to determine if sendfile() can be used.
--HG--
branch : HEAD |
4aa7fe81503a20bc972ae625da4dd9e6996fbdbf |
|
24-Jun-2009 |
Timo Sirainen <tss@iki.fi> |
istream: Changed default destroy() implementation not to do parent stream seeking.
The stream's v_offset may be completely different from what parent uses.
--HG--
branch : HEAD |
01e606cda5192c4254c090624a0b2ca92da6da8e |
|
24-Jun-2009 |
Timo Sirainen <tss@iki.fi> |
Moved some common istream functionality to default istream implementation.
--HG--
branch : HEAD |
61e6367a259e2473f33df42fda8ceeb3b8b48416 |
|
01-May-2009 |
Timo Sirainen <tss@iki.fi> |
istreams: Fixed some parent stream seeking issues.
--HG--
branch : HEAD |
4b9f99761df5014c659cd87fddaf6854af428cfc |
|
25-Feb-2009 |
Timo Sirainen <tss@iki.fi> |
Added i_stream_get_size(). Use it instead of i_stream_stat() where possible.
--HG--
branch : HEAD |
45312f52ff3a3d4c137447be4c7556500c2f8bf2 |
|
06-Jan-2009 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2009.
--HG--
branch : HEAD |
c09f9f95db314e7482c95e502e1c56ed6c555797 |
|
13-Sep-2008 |
Timo Sirainen <tss@iki.fi> |
Input streams: Improved error handling and added more asserts.
--HG--
branch : HEAD |
f30d2b798191d94f845463637610d6b833162d9b |
|
29-Feb-2008 |
Timo Sirainen <tss@iki.fi> |
Seek also non-seekable parent streams to current offset as long as we're not
seeking backwards.
--HG--
branch : HEAD |
88dd58083e1307f1e623ca8ee2c0f2545dc638dc |
|
29-Feb-2008 |
Timo Sirainen <tss@iki.fi> |
Seek also non-seekable parent streams to current offset as long as we're not
seeking backwards.
--HG--
branch : HEAD |
56db132c6523e8c28e8bd97e36f0ec7056e4ce7b |
|
28-Feb-2008 |
Timo Sirainen <tss@iki.fi> |
If underlying stream doesn't support seeking, don't try to seek to original
position.
--HG--
branch : HEAD |
0bdf9f215abd909a6e56fcaa60fef1fc96817779 |
|
28-Feb-2008 |
Timo Sirainen <tss@iki.fi> |
If underlying stream doesn't support seeking, don't try to seek to original
position.
--HG--
branch : HEAD |
76b43e4417bab52e913da39b5f5bc2a130d3f149 |
|
01-Jan-2008 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2008.
--HG--
branch : HEAD |
9511a40d933181045343110c8101b75887062aae |
|
22-Dec-2007 |
Timo Sirainen <tss@iki.fi> |
i_stream_create() now takes parent stream as parameter and internally sets
abs_start_offset correctly. Added parent_start_offset which is used by
filters instead of their own internal start_offset.
--HG--
branch : HEAD |
10c96a244935de4add8213ba0b894178dfb889a5 |
|
22-Dec-2007 |
Timo Sirainen <tss@iki.fi> |
Removed v_start_offset parameter from i_stream_create_limit(). We'll always
use input->v_offset now.
--HG--
branch : HEAD |
1de2b5a16a455e018d8cbf72ee114d4b5d557a48 |
|
22-Dec-2007 |
Timo Sirainen <tss@iki.fi> |
Use istream_private->parent pointer globally instead of each filter stream
having its own.
--HG--
branch : HEAD |
597dba3488c648ffb375ee4a552bd52ac4346979 |
|
20-Oct-2007 |
Timo Sirainen <tss@iki.fi> |
Always keep a usable value in stream->max_buffer_size.
--HG--
branch : HEAD |
7a4c6cc0aea1fc7999ac9bbebc3a95197ac2585c |
|
20-Oct-2007 |
Timo Sirainen <tss@iki.fi> |
Fix to handling buffer full conditions.
--HG--
branch : HEAD |
89a126810703c666309310d0f3189e9834d70b5b |
|
16-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
Replaced my Copyright notices. The year range always ends with 2007 now.
My name was replaced with "Dovecot authors". In many cases I didn't really
even own the copyright, so this is more correct.
--HG--
branch : HEAD |
a94936bafd127680184da114c6a177b37ff656e5 |
|
16-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
Removed _ prefixes from function names.
--HG--
branch : HEAD |
a0eb3ee018793937018672a75afe320375abe3b4 |
|
15-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
If iostream.close/destroy isn't set by the stream implementation, use a
default no-op function.
--HG--
branch : HEAD |
252db51b6c0a605163326b3ea5d09e9936ca3b29 |
|
15-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
Renamed struct _[io]stream to struct [io]stream_private. Also removed _
prefix from _[io]stream_*() functions.
--HG--
branch : HEAD |
43d32cbe60fdaef2699d99f1ca259053e9350411 |
|
16-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
Renamed __attr_*__ to ATTR_*. Renamed __attrs_used__ to ATTRS_DEFINED.
--HG--
branch : HEAD |
fe363b433b8038a69b55169da9dca27892ad7d18 |
|
24-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
Removed memory pool parameter from iostreams. Default pool was almost always
used, and the stream usually required destroying anyway so it didn't even
make freeing memory easier.
--HG--
branch : HEAD |
e8eb96edcfe8cff7839f1258ab6e871e41a4785e |
|
01-Mar-2007 |
Timo Sirainen <tss@iki.fi> |
Keep stream_errno updated in filter streams.
--HG--
branch : HEAD |
c06f4017027263cf3a08becc551f5126409e2a83 |
|
05-Feb-2007 |
Timo Sirainen <tss@iki.fi> |
Added istream->blocking setting. It's now used to assert-crash early if a
blocking stream unexpectedly returns "need more data".
--HG--
branch : HEAD |
d5cebe7f98e63d4e2822863ef2faa4971e8b3a5d |
|
14-Jan-2006 |
Timo Sirainen <tss@iki.fi> |
deinit, unref, destroy, close, free, etc. functions now take a pointer to
their data pointer, and set it to NULL. This makes double-frees less likely
to cause security holes.
--HG--
branch : HEAD |
6ef7e31619edfaa17ed044b45861d106a86191ef |
|
13-Jan-2006 |
Timo Sirainen <tss@iki.fi> |
Added "bool" type and changed all ints that were used as booleans to bool.
--HG--
branch : HEAD |
7d207b1e77a7b5e3fda640e353acfc86d261fedf |
|
08-Oct-2005 |
Timo Sirainen <tss@iki.fi> |
Added exact parameter to i_stream_stat()
--HG--
branch : HEAD |
602a0434db30d8e3292d1c161a803d96a879a74f |
|
30-Sep-2005 |
Timo Sirainen <tss@iki.fi> |
Added i_stream_seek_mark() and used it
--HG--
branch : HEAD |
e50c7afe297ab10e07a8acc816c76ce9d45ef409 |
|
10-Jun-2005 |
Timo Sirainen <tss@iki.fi> |
Set stream->eof immediately after we have read up to our limit.
--HG--
branch : HEAD |
07e4875d250e7a7157cd99132aafc773cf3cdf83 |
|
29-Mar-2005 |
Timo Sirainen <tss@iki.fi> |
Replaced i_stream_get_size() with i_stream_stat(). Added i_stream_sync().
--HG--
branch : HEAD |
411d6baa37f31d90730e90c4a28c43e1974bbe58 |
|
28-Mar-2005 |
Timo Sirainen <tss@iki.fi> |
Added seekable variable to struct istream.
--HG--
branch : HEAD |
34ce7c45264902e217bfb5fa7f7a0aace9302074 |
|
16-Dec-2004 |
Timo Sirainen <tss@iki.fi> |
Added assert.
--HG--
branch : HEAD |
9b1d6da0f2b42b8b6f612a570a83355c2a5088ee |
|
21-Aug-2004 |
Timo Sirainen <tss@iki.fi> |
Fixes for nonblocking streams.
--HG--
branch : HEAD |
859cc94211b759825db5e15b0c88754da902ca14 |
|
22-Aug-2004 |
Timo Sirainen <tss@iki.fi> |
When we reach the limit, set eof = true
--HG--
branch : HEAD |
9e095dd6a77097356aca8216356d4d71ef1bea45 |
|
22-Aug-2004 |
Timo Sirainen <tss@iki.fi> |
Removed istream.disconnected, it's too much of a special case and the only
place where it's needed will be removed soon. Added istream.eof back, it's
more useful.
--HG--
branch : HEAD |
2767104d81e97a109f0aa9758792bfa1da325a97 |
|
15-Aug-2004 |
Timo Sirainen <tss@iki.fi> |
We never do blocking reads/writes to network anymore. Changed imap and pop3
processes to use a single I/O loop.
Not much tested yet, and currently LIST/LSUB may eat too much memory and
APPEND eats all CPU.
--HG--
branch : HEAD |
42aaebd4b237403aff6bbfafdcdf52cf5f8c1c06 |
|
07-Jul-2004 |
Timo Sirainen <tss@iki.fi> |
Wrapper streams shouldn't try to read data if it's already buffered in main
stream. Fixes at least problem with APPEND when the whole message came in
one TCP packet.
--HG--
branch : HEAD |
1117aa7adc2909c750031fd7551a58a486d100d8 |
|
19-Jun-2004 |
Timo Sirainen <tss@iki.fi> |
minor fix
--HG--
branch : HEAD |
8bdf70ab07588d57373f5f19abb8577985ff358a |
|
18-Jun-2004 |
Timo Sirainen <tss@iki.fi> |
Renamed istream->eof to istream->disconnected which is what it currently
does.
--HG--
branch : HEAD |
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834 |
|
27-Apr-2004 |
Timo Sirainen <tss@iki.fi> |
importing new index code. mbox still broken.
--HG--
branch : HEAD |
601f5f14c6cde28f0e0c6ca7c5d735315d3d48df |
|
10-Nov-2003 |
Timo Sirainen <tss@iki.fi> |
fixes
--HG--
branch : HEAD |
dd62b77c932d1b518f2a3e4bf80e36542becc256 |
|
09-Nov-2003 |
Timo Sirainen <tss@iki.fi> |
istream rewrite. instead of directly setting any limits to stream, you now
have to use i_stream_create_limit() to existing stream. this should make the
istreams much easier to create and understand how they work.
--HG--
branch : HEAD |