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. |
fced91d6314b7c934650b6ee2c540abc520efd74 |
|
24-Nov-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: Avoid unnecessary unsigned integer wraps.
Avoids complains from clang -fsanitize=integer |
0dffa25d211be541ee3c953b23566a1a990789df |
|
06-Jun-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: unsigned int:1 -> bool:1
perl -i -pe 's/unsigned int ([^,:;]+):1;/bool $1:1;/' **/*.[ch] |
651f981ca065d2365bf2ea07b04318a5402f047a |
|
18-May-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: Replaced all i_stream_read_data() with _more() and _bytes() |
3858a7a5da361c35f1e6e50c8e3214dc0cf379d6 |
|
16-May-2016 |
Phil Carmody <phil@dovecot.fi> |
lib: istream - migrate to i_stream_read_more()
Scripted to find all the low-hanging-fruit (single line calls), but hand-checked:
git grep i_stream_read_data.*,\ 0\) | sed s/:.*// | \
xargs sed -i -e 's/i_stream_read_data(\(.*\), \(.*\), \(.*\), 0)/i_stream_read_more(\1, \2, \3)/'
Signed-off-by: Phil Carmody <phil@dovecot.fi> |
c1f5ec50aa2d9f1efe2d75eac04e75aa6c7049c7 |
|
21-Apr-2016 |
Martti Rannanjärvi <martti.rannanjarvi@dovecot.fi> |
lib-http, lib-mail, lib-storage: parent unrefs
Remove some unneccesary parent unrefs from i_stream_*_destroys. Don't
know too many or too few were removed. |
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> |
3063bd8ff05d3d8cd33156f4366b36890e501436 |
|
19-Nov-2014 |
Timo Sirainen <tss@iki.fi> |
mbox: Added more (and earlier) detection for errors in mbox istreams. |
1cf25eb44ce4c5407cea766584dd3d6f9d315a4d |
|
19-Nov-2014 |
Timo Sirainen <tss@iki.fi> |
mbox: istream_raw_mbox_seek() needs to reset all corruption errors.
We now reset all errors, but it doesn't really matter. |
003385823ea4d859b778f41de18aac8405a00818 |
|
29-Jul-2014 |
Timo Sirainen <tss@iki.fi> |
mbox: Fixed infinite looping and other incorrectness in istream-raw-mbox.
This was caused by the recent istream invalidation checks in
i_stream_get_data(). |
a8c5a86d183db25a57bf193c06b41e092ec2e151 |
|
04-Feb-2014 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2014. |
1c6f6f5bef70f16546b3bc8f4cd5f93f373e82a2 |
|
19-Sep-2013 |
Timo Sirainen <tss@iki.fi> |
iostreams: Set stream error string when it provides extra information. |
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. |
3785910c303507db5f629684e6dde2cc7f83668e |
|
25-Jun-2012 |
Timo Sirainen <tss@iki.fi> |
Added i_stream_get_data_size(). Used it where possible. |
e34d170f8f0e084bd94bfbc1a7085ece67e508df |
|
25-Jun-2012 |
Timo Sirainen <tss@iki.fi> |
Make sure we check all the functions' return values. Minor API changes to simplify this.
Checked using a patched clang that adds attribute(warn_unused_result) to all
functions. This commit fixes several error handling mistakes. |
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. |
8bb360f9e5de1c25e4f875205bb06e8bf15dae14 |
|
05-Apr-2010 |
Timo Sirainen <tss@iki.fi> |
Removed dead code.
--HG--
branch : HEAD |
4efba37e4f27b93832f6147c3a353d6d22c855c7 |
|
11-Mar-2010 |
Timo Sirainen <tss@iki.fi> |
Compiler warning fixes.
--HG--
branch : HEAD |
f0a2d04321ba456e5c5ba821c0d1ed9e8e0e2e08 |
|
06-Mar-2010 |
Timo Sirainen <tss@iki.fi> |
Set input stream names for mail file streams.
--HG--
branch : HEAD |
1ccee8446c9d6aef211114fb7483c2e98eb96f06 |
|
15-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
mbox: istream_raw_mbox_get_body_size() no longer crashes if header wasn't read.
--HG--
branch : HEAD |
0f198b7819f58a9568370377cfed760470aab736 |
|
06-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
mbox: raw mbox stream's stat() now returns mail size as stream size if it's known.
--HG--
branch : HEAD |
e59faf65ce864fe95dc00f5d52b8323cdbd0608a |
|
25-Jan-2010 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2010.
--HG--
branch : HEAD |
5f4545450bcdb33f93f1316cdf0945b7308f78f4 |
|
10-Dec-2009 |
Timo Sirainen <tss@iki.fi> |
mbox: Log an error if From_-line gets lost/corrupted unexpectedly.
--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 |
01e606cda5192c4254c090624a0b2ca92da6da8e |
|
24-Jun-2009 |
Timo Sirainen <tss@iki.fi> |
Moved some common istream functionality to default istream implementation.
--HG--
branch : HEAD |
1f558edaee97ea7815bb2556f363f2f096153766 |
|
11-Jun-2009 |
Timo Sirainen <tss@iki.fi> |
mbox: Don't crash with invalid From_-lines.
--HG--
branch : HEAD |
b866d68692b241ce64b976c89029bba2fa3305c6 |
|
01-May-2009 |
Timo Sirainen <tss@iki.fi> |
mbox: Fix to handling CRs before From_ lines.
--HG--
branch : HEAD |
9d54753b4f7f184fb8dbb5a520c214e8e03601db |
|
05-Mar-2009 |
Timo Sirainen <tss@iki.fi> |
mbox: Don't crash if >=8192 bytes long line begins with "From ".
--HG--
branch : HEAD |
396238573072714ef5c09846192703302ff6d367 |
|
05-Mar-2009 |
Timo Sirainen <tss@iki.fi> |
mbox: Possible assert-crashfix. Also added some comments.
--HG--
branch : HEAD |
45312f52ff3a3d4c137447be4c7556500c2f8bf2 |
|
06-Jan-2009 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2009.
--HG--
branch : HEAD |
8ed8c821ba8aab0b4ed0375f87d48737ef0e0d8e |
|
13-Dec-2008 |
Timo Sirainen <tss@iki.fi> |
mbox: Don't cache mbox state after it has been unlocked.
--HG--
branch : HEAD |
f401b033012a068d11c19ae6dfad2b809331ca65 |
|
13-Dec-2008 |
Timo Sirainen <tss@iki.fi> |
i_stream_raw_mbox_read(): If we already detected corruption, return failure instead of assert-crashing.
--HG--
branch : HEAD |
3255683cdf42a33bbdd600e41e61caa7add69fe7 |
|
29-Oct-2008 |
Timo Sirainen <tss@iki.fi> |
mbox: Another From_-line skipping fix.
--HG--
branch : HEAD |
124153be107d0a94064146a88e71d285346759e8 |
|
29-Oct-2008 |
Timo Sirainen <tss@iki.fi> |
mbox: If Content-Length: is correct, don't break if message body begins with a From_-line.
Based on a patch by Lennart Lövstrand.
--HG--
branch : HEAD |
5bfe0d3dd969dfb7e778af7bfab095a9628bee5e |
|
16-Oct-2008 |
Timo Sirainen <tss@iki.fi> |
mbox: Replaced EBADMSG errno for invalid mboxes with EINVAL to fix compiling with OpenBSD.
The errno is used only for logging purposes so it doesn't really matter what
it is.
--HG--
branch : HEAD |
2d7267c79dbf8c445212efcbf592014e6c9affd9 |
|
05-Oct-2008 |
Timo Sirainen <tss@iki.fi> |
mbox: Potential crashfix after "next message unexpectedly lost" failures.
--HG--
branch : HEAD |
ed63764502561bbeb12fe03878fb33a82b89bf27 |
|
13-Sep-2008 |
Timo Sirainen <tss@iki.fi> |
mbox: Log mbox file path for "Unexpectedly lost .." errors.
--HG--
branch : HEAD |
c09f9f95db314e7482c95e502e1c56ed6c555797 |
|
13-Sep-2008 |
Timo Sirainen <tss@iki.fi> |
Input streams: Improved error handling and added more asserts.
--HG--
branch : HEAD |
b12a6d0e54318273acf0d0fb8b3f4c29f67b62b0 |
|
30-Aug-2008 |
Timo Sirainen <tss@iki.fi> |
mbox: If we detect corrupted cached offsets/sizes, make sure the mbox gets resynced.
--HG--
branch : HEAD |
d5ab27fd20523145658a5594b47c9cf2da689266 |
|
13-Jun-2008 |
Timo Sirainen <tss@iki.fi> |
mbox_from_parse() now returns also the parsed timezone.
--HG--
branch : HEAD |
9158a6d7b36758e57d78527d3345b799f71751d2 |
|
04-May-2008 |
Timo Sirainen <tss@iki.fi> |
Removed accidentally committed debug sleep().
--HG--
branch : HEAD |
7230352f1177a8ed2b924c6992e751fd2ab9bc27 |
|
04-May-2008 |
Timo Sirainen <tss@iki.fi> |
Added mailbox_name parameter to mailbox_list.iter_is_mailbox().
--HG--
branch : HEAD |
1cccd522941b50f79ca5cfae3b46f7d8a8107286 |
|
04-May-2008 |
Timo Sirainen <tss@iki.fi> |
Added assert.
--HG--
branch : HEAD |
f480b30abdddf6f1beb8a2c5b1ce4bf8999400db |
|
04-May-2008 |
Timo Sirainen <tss@iki.fi> |
Error message improvements.
--HG--
branch : HEAD |
64a67c0296b120b6e15169ac9d84dec964e55969 |
|
04-May-2008 |
Timo Sirainen <tss@iki.fi> |
mbox: Don't stop at From_-lines in the message bodies. Use Content-Length:
header to figure out if it belongs to a message body or not.
--HG--
branch : HEAD |
76b43e4417bab52e913da39b5f5bc2a130d3f149 |
|
01-Jan-2008 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2008.
--HG--
branch : HEAD |
a5c8dc283ef673fcdae158513b8032e74b45f59a |
|
22-Dec-2007 |
Timo Sirainen <tss@iki.fi> |
Avoid moving raw stream offset.
--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 |
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 |
e1dff8512ee6f4e09b13a2abc46936f3250279ea |
|
08-Nov-2007 |
Timo Sirainen <tss@iki.fi> |
Removed MAILBOX_OPEN_MBOX_ONE_MSG_ONLY flag and handling. Raw storage
replaced its functionality.
--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 |
1e900a95915434d0e7d81bdc10fd4531a0616b77 |
|
16-Oct-2007 |
Timo Sirainen <tss@iki.fi> |
Removed accidentally committed broken asserts.
--HG--
branch : HEAD |
e5588b49caf8df0c6463a16bf05f5ec0212eed7b |
|
16-Oct-2007 |
Timo Sirainen <tss@iki.fi> |
Fixed "file size unexpectedly shrinked" error in some 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 |
c35d0c3eb4ba89432896e1f9770ab31cc63c232b |
|
16-Oct-2006 |
Timo Sirainen <tss@iki.fi> |
Fixes to handling CRLF linefeeds in mboxes.
--HG--
branch : HEAD |
f894fd2b46fb220cf55ffdaaa68b1d7b0941ebac |
|
10-Aug-2006 |
Timo Sirainen <tss@iki.fi> |
We got into infinite loops if trying to open a 2 byte sized file as mbox.
--HG--
branch : HEAD |
355584df8bebece27e066a863eef81a765fb55b7 |
|
07-Aug-2006 |
Timo Sirainen <tss@iki.fi> |
Added MAILBOX_OPEN_MBOX_ONE_MSG_ONLY flag for mailbox_open() which makes it
ignore all but the first From-line in a mbox. This kludge is required for
deliver which builds a temporary mbox stream from the input. Later it
should be fixed to use some plain-mailbox format instead of mbox.
--HG--
branch : HEAD |
e5759add4dc24b96606dccc4a989838e260f2a12 |
|
24-Jun-2006 |
Timo Sirainen <tss@iki.fi> |
Fixes to handling CR+LF linefeeds.
--HG--
branch : HEAD |
fff56e138fc28fd6fa141122ac768162d6f7e4d1 |
|
08-Jun-2006 |
Timo Sirainen <tss@iki.fi> |
Handle i_stream_stat() better.
--HG--
branch : HEAD |
5921334ae11ceb07682f8ac101b20f3916241e0d |
|
26-Jan-2006 |
Timo Sirainen <tss@iki.fi> |
Boolean changes broke istream_raw_mbox_is_valid_from() when it hit
unexpected EOF. So broken Content-Length headers at the end of files gave
"file size unexpectedly shrinked in mbox" errors.
--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 |
c74ea62a27878910e3ca1614ca055d7e2b3b00d5 |
|
11-Jan-2006 |
Timo Sirainen <tss@iki.fi> |
Handle unexpectedly breaking mboxes better without crashing.
--HG--
branch : HEAD |
11ea35b2d519529110acc468b9729bcc509b2a04 |
|
28-Oct-2005 |
Timo Sirainen <tss@iki.fi> |
Don't crash with empty mboxes
--HG--
branch : HEAD |
3d1221943e8f98831b14281579eb759c15abf1bc |
|
27-Oct-2005 |
Timo Sirainen <tss@iki.fi> |
if message was only 0-1 bytes, we skipped the whole message which caused
crashes
--HG--
branch : HEAD |
1f4e3518d9e200d78e2e4d79999439dae3e69b8f |
|
27-Oct-2005 |
Timo Sirainen <tss@iki.fi> |
If mbox file contains only single LF, treat it as an invalid mbox file
instead of breaking later.
--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 |
c19678ae2b648cc997df6e76518225abdbb5a3c5 |
|
17-Jun-2005 |
Timo Sirainen <tss@iki.fi> |
Fixed breakage caused by CRLF-support.
--HG--
branch : HEAD |
686cb2418d4daa7bc747d3551783c1895e7c41b9 |
|
14-Jun-2005 |
Timo Sirainen <tss@iki.fi> |
Handle CR+LF linefeeds
--HG--
branch : HEAD |
dd82ed580f9713a4018c3b70f1e3c9cdf83dea84 |
|
05-Jun-2005 |
Timo Sirainen <tss@iki.fi> |
Added assert
--HG--
branch : HEAD |
b225c3c65f360d7b833f09f9b2fb3035ed5ea600 |
|
29-Mar-2005 |
Timo Sirainen <tss@iki.fi> |
i_stream_sync() replaced istream_raw_mbox_flush(). Use i_stream_stat()
instead of fstat() directly. Now we have the possibility to use istreams as
read-only mboxes.
--HG--
branch : HEAD |
19ed97fb5e77d89aa7f0054d901289dfdd15183c |
|
03-Jan-2005 |
Timo Sirainen <tss@iki.fi> |
Don't break if line begins with NUL. Don't return -2 as long as underlying
stream is returning more data (don't just retry once).
--HG--
branch : HEAD |
6619b78e83d311e2c8405ebceee7b16171719559 |
|
19-Dec-2004 |
Timo Sirainen <tss@iki.fi> |
In some cases we may have crashed if header didn't end with LF+LF.
--HG--
branch : HEAD |
7416b94f38e82381abd9cee660efdcf3e7b773af |
|
20-Sep-2004 |
Timo Sirainen <tss@iki.fi> |
Memory leak fixes
--HG--
branch : HEAD |
2ca8e51c1c8c4785bef4933c4dfcc9bff1c388cb |
|
02-Sep-2004 |
Timo Sirainen <tss@iki.fi> |
Don't return -2 so easily in read()
--HG--
branch : HEAD |
d10ff4f89a15084af7c8dd5ee9a77c73b1d4175e |
|
23-Aug-2004 |
Timo Sirainen <tss@iki.fi> |
Don't crash with empty body
--HG--
branch : HEAD |
1fba02618b1afb30a992722986ecf4570f7b6a88 |
|
23-Aug-2004 |
Timo Sirainen <tss@iki.fi> |
Fixed handling messages with empty body.
--HG--
branch : HEAD |
c3412ddeb9abc13f99d3caf50faf76cd99f7e9d2 |
|
22-Aug-2004 |
Timo Sirainen <tss@iki.fi> |
Fixed parsing empty messages.
--HG--
branch : HEAD |
178511b57faa7c3f8203dd8b7e4059d00cbfc23a |
|
22-Aug-2004 |
Timo Sirainen <tss@iki.fi> |
istream-raw-mbox now sets stream->eof when it's at the end of message to fix
some issues elsewhere.
--HG--
branch : HEAD |
33b0c328947f9480c1a9a481612d085ec46d7031 |
|
22-Aug-2004 |
Timo Sirainen <tss@iki.fi> |
Buffer wasn't set if _read() returned -2.
--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 |
c9a94432bac24690a8adc848a5e7272903a1a2ca |
|
26-Jul-2004 |
Timo Sirainen <tss@iki.fi> |
mbox parsing fix
--HG--
branch : HEAD |
70e3923cbcba51da95186c1ee146ed1ef204148a |
|
02-Jul-2004 |
Timo Sirainen <tss@iki.fi> |
body_offset wasn't set if mail had no header.
--HG--
branch : HEAD |
b6ebbc94ac45719118016a9575cef0a37017cc96 |
|
29-Jun-2004 |
Timo Sirainen <tss@iki.fi> |
fix, _read() sometimes returned -2 too early
--HG--
branch : HEAD |
5c7c7ff1d72b5d4b3264a73daaec90b95eb9a63f |
|
20-Jun-2004 |
Timo Sirainen <tss@iki.fi> |
read() less often
--HG--
branch : HEAD |
7c66d91b31de50842db5f6a641738fc8133b72d7 |
|
19-Jun-2004 |
Timo Sirainen <tss@iki.fi> |
fix
--HG--
branch : HEAD |
9e59a1f3f095b3099478562cf3f3970a24736970 |
|
18-Jun-2004 |
Timo Sirainen <tss@iki.fi> |
Added istream_raw_mbox_is_eof() and fixed updating UIDVALIDITY in index
--HG--
branch : HEAD |
02b79f9c2636da1829eee5b92753602bba8b67ed |
|
18-Jun-2004 |
Timo Sirainen <tss@iki.fi> |
fixes
--HG--
branch : HEAD |
7f773564b94e6054a40d3785cb63c29f1e4d4dee |
|
16-Jun-2004 |
Timo Sirainen <tss@iki.fi> |
Complain if file isn't in mbox format. Complain if From-line wasn't found
from expected location. Parser should handle now correctly any kind of mbox
no matter how corrupted.
--HG--
branch : HEAD |
db7c9201c88e3d9bee10485194ee5b0c67249916 |
|
15-Jun-2004 |
Timo Sirainen <tss@iki.fi> |
more syncing fixes
--HG--
branch : HEAD |
abe8230dd1dd37d7ccf0163100e934bb5e658c20 |
|
15-Jun-2004 |
Timo Sirainen <tss@iki.fi> |
several fixes and optimizations.
--HG--
branch : HEAD |
e68309fcfa2eaa88217fd51e7b4900fc9c20ef5d |
|
11-Jun-2004 |
Timo Sirainen <tss@iki.fi> |
expunging is somewhat working
--HG--
branch : HEAD |
3cfff0ca01961d885bdbd6ef08d761880116af07 |
|
23-May-2004 |
Timo Sirainen <tss@iki.fi> |
mbox syncing fixes
--HG--
branch : HEAD |
49a2d6ab6a746b4204517bc231f97734c13d79ed |
|
10-May-2004 |
Timo Sirainen <tss@iki.fi> |
fix
--HG--
branch : HEAD |
313fe89df4d91cd0cd7f3558dc6d7fd21ad39eee |
|
09-May-2004 |
Timo Sirainen <tss@iki.fi> |
mbox rewriting is almost working - the hard part is done.
--HG--
branch : HEAD |
8fcff4c5b52f24d9c681805fdf06b486f1d0fcbe |
|
06-May-2004 |
Timo Sirainen <tss@iki.fi> |
mbox code compiles again, but syncing is only partially implemented so
accessing mboxes fails..
Also some cleanups to index-storage and maildir code.
--HG--
branch : HEAD |
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834 |
|
27-Apr-2004 |
Timo Sirainen <tss@iki.fi> |
importing new index code. mbox still broken.
--HG--
branch : HEAD |