[csmaild-cvs] csmaild/src/Common/Rfc2822 Interpreter.cs,1.2,1.3
Brought to you by:
tamc
From: <ta...@us...> - 2003-08-08 22:39:29
|
Update of /cvsroot/csmaild/csmaild/src/Common/Rfc2822 In directory sc8-pr-cvs1:/tmp/cvs-serv18360/src/Common/Rfc2822 Modified Files: Interpreter.cs Log Message: Updated VS.NET 2002 project files to reflect currect VS.NET 2003 project Moved message flags into a FlagList class (this makes flag extensions easier to support) Modified the TestClient for easier debugging of the server Added BASE64 decoder to common library Moved argument parsing from ImapCommand into the newly created types (representing various arguments parsed from the client) Added support for AUTHENTICATE PLAIN Added TODO document in the docs !!Some stuff surely has been broken with all this code moving around, it'll compile and run, but some functionality hasn't been verified yet!! Index: Interpreter.cs =================================================================== RCS file: /cvsroot/csmaild/csmaild/src/Common/Rfc2822/Interpreter.cs,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Interpreter.cs 2 Aug 2003 15:57:10 -0000 1.2 --- Interpreter.cs 8 Aug 2003 22:39:26 -0000 1.3 *************** *** 24,27 **** --- 24,28 ---- InterpretBody(msg.Body); + mRawMessage.Close(); return msg; } *************** *** 152,173 **** } #endregion ! /* ! date-time = [ day-of-week "," ] date FWS time [CFWS] ! day-of-week = ([FWS] day-name) / obs-day-of-week ! day-name = "Mon" / "Tue" / "Wed" / "Thu" / ! "Fri" / "Sat" / "Sun" ! date = day month year ! year = 4*DIGIT / obs-year ! month = (FWS month-name FWS) / obs-month ! month-name = "Jan" / "Feb" / "Mar" / "Apr" / ! "May" / "Jun" / "Jul" / "Aug" / ! "Sep" / "Oct" / "Nov" / "Dec" ! day = ([FWS] 1*2DIGIT) / obs-day ! time = time-of-day FWS zone ! time-of-day = hour ":" minute [ ":" second ] ! hour = 2DIGIT / obs-hour ! minute = 2DIGIT / obs-minute ! second = 2DIGIT / obs-second ! zone = (( "+" / "-" ) 4DIGIT) / obs-zone*/ #region Body private void InterpretBody(MessageBody bdy) --- 153,157 ---- } #endregion ! #region Body private void InterpretBody(MessageBody bdy) |