[PATCH 4/4] show: Rewrite show_message_body to use the MIME tree interface.

2011-12-23 Thread Austin Clements
Quoth Dmitry Kurochkin on Dec 11 at 2:34 pm: > Hi Austin. > > I enjoyed reviewing this patch. It is a pleasure to see how complex and > confusing code becomes much smaller and cleaner. > > I still have some questions with the new code. It seems confusing to me > that part_content is called fir

Re: [PATCH 4/4] show: Rewrite show_message_body to use the MIME tree interface.

2011-12-23 Thread Austin Clements
Quoth Dmitry Kurochkin on Dec 11 at 2:34 pm: > Hi Austin. > > I enjoyed reviewing this patch. It is a pleasure to see how complex and > confusing code becomes much smaller and cleaner. > > I still have some questions with the new code. It seems confusing to me > that part_content is called fir

[PATCH 4/4] show: Rewrite show_message_body to use the MIME tree interface.

2011-12-11 Thread Dmitry Kurochkin
Hi Austin. I enjoyed reviewing this patch. It is a pleasure to see how complex and confusing code becomes much smaller and cleaner. I still have some questions with the new code. It seems confusing to me that part_content is called first and then go envelope headers. But I this is just the fir

Re: [PATCH 4/4] show: Rewrite show_message_body to use the MIME tree interface.

2011-12-11 Thread Dmitry Kurochkin
Hi Austin. I enjoyed reviewing this patch. It is a pleasure to see how complex and confusing code becomes much smaller and cleaner. I still have some questions with the new code. It seems confusing to me that part_content is called first and then go envelope headers. But I this is just the fir

[PATCH 4/4] show: Rewrite show_message_body to use the MIME tree interface.

2011-12-09 Thread Austin Clements
This removes all of the MIME traversal logic from show_message_body and leaves only its interaction with the format callbacks. Besides isolating concerns, since traversal happens behind a trivial interface, there is now much less code duplication in show_message_part. Also, this uses mime_node_se

[PATCH 4/4] show: Rewrite show_message_body to use the MIME tree interface.

2011-12-09 Thread Austin Clements
This removes all of the MIME traversal logic from show_message_body and leaves only its interaction with the format callbacks. Besides isolating concerns, since traversal happens behind a trivial interface, there is now much less code duplication in show_message_part. Also, this uses mime_node_se

[PATCH 4/4] show: Rewrite show_message_body to use the MIME tree interface.

2011-12-04 Thread Austin Clements
This removes all of the MIME traversal logic from show_message_body and leaves only its interaction with the format callbacks. Besides isolating concerns, since traversal happens behind a trivial interface, there is now much less code duplication in show_message_part. Also, this uses mime_node_se

[PATCH 4/4] show: Rewrite show_message_body to use the MIME tree interface.

2011-12-04 Thread Austin Clements
This removes all of the MIME traversal logic from show_message_body and leaves only its interaction with the format callbacks. Besides isolating concerns, since traversal happens behind a trivial interface, there is now much less code duplication in show_message_part. Also, this uses mime_node_se

Re: [PATCH 4/4] show: Rewrite show_message_body to use the MIME tree interface.

2011-11-29 Thread Jani Nikula
On Sun, 27 Nov 2011 21:21:11 -0500, Austin Clements wrote: > Since this is a rewrite, the diff is not very enlightening. It's > easier to look at the old code and the new code side-by-side. Hi Austin, try the git format-patch --break-rewrites option. It works nicely on patches like this. See bel

[PATCH 4/4] show: Rewrite show_message_body to use the MIME tree interface.

2011-11-28 Thread Jani Nikula
On Sun, 27 Nov 2011 21:21:11 -0500, Austin Clements wrote: > Since this is a rewrite, the diff is not very enlightening. It's > easier to look at the old code and the new code side-by-side. Hi Austin, try the git format-patch --break-rewrites option. It works nicely on patches like this. See bel

[PATCH 4/4] show: Rewrite show_message_body to use the MIME tree interface.

2011-11-27 Thread Austin Clements
This removes all of the MIME traversal logic from show_message_body and leaves only its interaction with the format callbacks. Besides isolating concerns, since traversal happens behind a trivial interface, there is now much less code duplication in show_message_part. Also, this uses mime_node_se

[PATCH 4/4] show: Rewrite show_message_body to use the MIME tree interface.

2011-11-27 Thread Austin Clements
This removes all of the MIME traversal logic from show_message_body and leaves only its interaction with the format callbacks. Besides isolating concerns, since traversal happens behind a trivial interface, there is now much less code duplication in show_message_part. Also, this uses mime_node_se