[csmaild-cvs] csmaild/src/Imap Connection.cs,1.11,1.12 Imap.2002.csproj,1.2,1.3 Imap.csproj,1.8,1.9
Brought to you by:
tamc
From: <ta...@us...> - 2003-08-08 22:39:30
|
Update of /cvsroot/csmaild/csmaild/src/Imap In directory sc8-pr-cvs1:/tmp/cvs-serv18360/src/Imap Modified Files: Connection.cs Imap.2002.csproj Imap.csproj 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: Connection.cs =================================================================== RCS file: /cvsroot/csmaild/csmaild/src/Imap/Connection.cs,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** Connection.cs 5 Aug 2003 01:50:25 -0000 1.11 --- Connection.cs 8 Aug 2003 22:39:26 -0000 1.12 *************** *** 105,109 **** public void SendContinueMessage(string msg) { ! SendMessage("+ " + msg); } private void SendMessage(string msg) --- 105,112 ---- public void SendContinueMessage(string msg) { ! if(msg.Length == 0) ! SendMessage("+"); ! else ! SendMessage("+ " + msg); } private void SendMessage(string msg) *************** *** 195,203 **** private void Connection_ReceivedLine(Connection cnn, string line) { - ParseAndValidate(line); - try { ! if(mCurrentCommand.Process()) { } --- 198,213 ---- private void Connection_ReceivedLine(Connection cnn, string line) { try { ! if(ParseAndValidate(line)) ! { ! if(mCurrentCommand.Process()) ! { ! } ! else ! { ! } ! } ! else { } Index: Imap.2002.csproj =================================================================== RCS file: /cvsroot/csmaild/csmaild/src/Imap/Imap.2002.csproj,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Imap.2002.csproj 29 Jul 2003 00:46:29 -0000 1.2 --- Imap.2002.csproj 8 Aug 2003 22:39:26 -0000 1.3 *************** *** 227,230 **** --- 227,270 ---- BuildAction = "Compile" /> + <File + RelPath = "Types\BaseType.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File + RelPath = "Types\FetchRequest.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File + RelPath = "Types\FlagList.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File + RelPath = "Types\SearchRequest.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File + RelPath = "Types\SequenceSet.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File + RelPath = "Types\StatusRequest.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File + RelPath = "Types\StoreRequest.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File + RelPath = "Types\StringType.cs" + SubType = "Code" + BuildAction = "Compile" + /> </Include> </Files> Index: Imap.csproj =================================================================== RCS file: /cvsroot/csmaild/csmaild/src/Imap/Imap.csproj,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** Imap.csproj 3 Aug 2003 01:08:38 -0000 1.8 --- Imap.csproj 8 Aug 2003 22:39:26 -0000 1.9 *************** *** 229,232 **** --- 229,272 ---- BuildAction = "Compile" /> + <File + RelPath = "Types\BaseType.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File + RelPath = "Types\FetchRequest.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File + RelPath = "Types\FlagList.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File + RelPath = "Types\SearchRequest.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File + RelPath = "Types\SequenceSet.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File + RelPath = "Types\StatusRequest.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File + RelPath = "Types\StoreRequest.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File + RelPath = "Types\StringType.cs" + SubType = "Code" + BuildAction = "Compile" + /> </Include> </Files> |