Jon Gjengset
5dd9dfe469
Even more doc updates
2018-11-22 14:00:58 -05:00
Jon Gjengset
f83742dc3d
A significant documentation upgrade
...
Fixes #77 .
Touches on #74 .
Fixes #70 through documentation (I think?)
Fixes #62 .
2018-11-21 16:37:47 -05:00
Kim Minh Kaplan
de5a38366c
[BUGFIX] Expect a space after the "+" in Client::authenticate.
...
RFC 3501: A continue-req from the server starts with "+" SP.
2018-11-17 07:37:33 +00:00
Kim Minh Kaplan
9e0a5d7c8a
Escape '+' character in regexp.
2018-11-09 22:35:22 +00:00
Johannes Schilling
8d7b527331
more tests and more handling for unsolicited responses
2018-11-01 21:49:14 +01:00
Johannes Schilling
930bd86dbf
pass unsolicited responses channel by reference
...
as suggested in
https://github.com/mattnenterprise/rust-imap/pull/91#issuecomment-434055085
2018-11-01 21:47:50 +01:00
Johannes Schilling
f98398aecf
send unsolicited responses to a channel instead of discarding them
...
notes
* i tried to avoid the term "async", because that term is very
overloaded and we're not using e.g. tokio/async-io here
* i'm a little unhappy having to string the channel through the
parser, because that seems rather a part of the client logic than
parsing. on the other hand it's better than passing the whole
client, so there's that at least.
2018-11-01 21:46:49 +01:00
Jon Gjengset
5c91f4c1bb
Move to new nom + tokio-proto
2018-10-31 21:15:19 -04:00
Jon Gjengset
e68d61a1e2
rustfmt
2018-10-31 21:15:13 -04:00
Jon Gjengset
a10769feba
Tidy up search a little
...
There's no reason to carry around a ZeroCopy here, since we own all the
values.
2018-10-05 14:53:12 -04:00
Massimiliano Torromeo
11e666ea91
Use imap_proto to parse the search responses into a HashSet of ids
2018-10-05 18:20:59 +02:00
Massimiliano Torromeo
5facd16e0e
client: Add SEARCH and UID SEARCH support
2018-10-04 15:27:45 +02:00
Jos van den Oever
4c94c87686
Clippy fixes
2018-09-12 19:31:26 +02:00
Jon Gjengset
72925cf1d8
Handle unilateral server responses
...
Fixes #81 .
2018-07-21 12:29:50 -04:00
Jon Gjengset
4c4fd89232
rustfmt
2018-07-21 12:29:34 -04:00
Jon Gjengset
dea9398e08
Don't crash when parsing empty result
...
Partial fix for #81 .
2018-07-18 16:14:35 -04:00
Shaun Savage
4bdfe96915
changed email to body
2018-06-28 16:36:07 +00:00
Jon Gjengset
d132de4834
New imap-proto
2018-04-27 16:27:38 -04:00
Jon Gjengset
c28d08851c
Bump version for new imap-proto
2018-04-27 10:56:03 -04:00
Jon Gjengset
1d4d6288c1
rustfmt
2018-04-03 13:01:35 -04:00
Jon Gjengset
590b80e3a6
Add structured results for all values using imap-proto ( #58 )
...
* First stab at structured types (#28 )
Tests currently fail due to djc/imap-proto#2 .
LSUB is also broken due to djc/imap-proto#4 (but we don't have tests for
that atm).
* Also parse out RFC822 fetch responses
* Make all the things zero-copy
* Also delegate IntoIterator for ZeroCopy ref
* Fix UNSEEN and LSUB
All tests now pass
* Address @sanmai-NL comments
* Correctly handle incomplete parser responses
* No need for git dep anymore
2018-02-09 11:22:20 -05:00
Jon Gjengset
4332d09f0d
cargo fmt
2017-11-02 22:56:22 -04:00
Matt McCoy
86e1d46507
rustfmt the codebase ( #36 )
...
This will ensure that we are properly formatting this library code according to rust standards
2017-07-10 21:38:13 -04:00
drevilt
59163929d3
update regex to 0.2 ( #25 )
2017-03-02 17:16:22 -05:00
Matt McCoy
75c4268e4e
Removing invalid parse test
2016-06-29 19:20:32 -04:00
Matt McCoy
8a1162ada4
Initial testing for authentication
2016-06-28 21:48:25 -04:00
Matt McCoy
8653a02b87
Adding initial work for authentication
2016-06-26 22:40:15 -04:00
Matt McCoy
a87c58bf91
Adding more tests for the parser
2016-06-24 20:10:47 -04:00
Matt McCoy
69179ebdac
Add testing for capability parsing
2016-06-24 19:49:41 -04:00
Matt McCoy
378b4bbb96
Adding errors for parsing problems
2016-06-24 19:38:04 -04:00
Matt McCoy
6c826625fd
Initial work for adding errors
2016-06-23 22:44:12 -04:00
Matt McCoy
923339e5f0
More through testing of select and examine
2016-06-22 21:25:48 -04:00
Matt McCoy
e344438e60
Moving pars select or examine to parse
2016-06-22 19:32:52 -04:00
Matt McCoy
5d94a5d7d7
Moving parse capability into parse file
2016-06-22 19:19:56 -04:00
Matt McCoy
829b7de542
Moving parse response ok to its own file
2016-06-22 19:17:18 -04:00