Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rebase branch for upstream changes through 1.0.2 #4

Closed
wants to merge 164 commits into from

Conversation

thrawn01
Copy link

@thrawn01 thrawn01 commented Jan 14, 2020

This branch updates us to the latest upstream changes plus our changes.

client: redesigned response handling
Replace various update channels with one unique channel
danielkucera and others added 28 commits August 18, 2019 23:02
scanner.Scan returns false but scanner.Err returns nil in case of EOF.
Now only the 'current' parameter is modified.  The same update operation
can be applied to multipe flag lists (i.e. multiple messages).

Applying the same UpdateFlags operation on multiple messages wasn't safe,
since the 'flags' (last parameter) was modified.

The 'SetFlags' operation wass returning 'flags' parameter.  Multiple messages
would have been sharing the same slice's backing store.  Future changes to one
message's flags wouldd corrupt the other messages flags.

The 'RemoveFlags' operation was modifying the 'flags' parameter contents
(but not length).  So it wasn't safe to apply to multiple messages.
Some commands use a channel to stream results from the backend.
If the client connection closes before all of the results have been
written, then a deadlock can happen.
This allows for easy access to the body structure's filename, if any.
Charset decoding and legacy Content-Type support are handled.
This is a helper to iterate over a body structure tree.

Closes: emersion#319
KEYWORD and UNKEYWORD should be followed by an atom, not a quoted string.
Signed-off-by: Arnold Bechtoldt <arnold.bechtoldt@inovex.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet