Update of /cvsroot/csmaild/csmaild/src/Imap
In directory sc8-pr-cvs1:/tmp/cvs-serv1812/src/Imap
Modified Files:
Imap.csproj Server.cs
Log Message:
SELECT and EXAMINE are nearly identical commands so I've combined the handlers into one.
Index: Imap.csproj
===================================================================
RCS file: /cvsroot/csmaild/csmaild/src/Imap/Imap.csproj,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** Imap.csproj 24 Jul 2003 04:32:14 -0000 1.5
--- Imap.csproj 27 Jul 2003 17:26:22 -0000 1.6
***************
*** 150,158 ****
/>
<File
- RelPath = "Commands\ExamineCommand.cs"
- SubType = "Code"
- BuildAction = "Compile"
- />
- <File
RelPath = "Commands\ExpungeCommand.cs"
SubType = "Code"
--- 150,153 ----
***************
*** 205,209 ****
/>
<File
! RelPath = "Commands\SelectCommand.cs"
SubType = "Code"
BuildAction = "Compile"
--- 200,204 ----
/>
<File
! RelPath = "Commands\SelectExamineCommand.cs"
SubType = "Code"
BuildAction = "Compile"
Index: Server.cs
===================================================================
RCS file: /cvsroot/csmaild/csmaild/src/Imap/Server.cs,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** Server.cs 25 Jul 2003 03:39:12 -0000 1.6
--- Server.cs 27 Jul 2003 17:26:22 -0000 1.7
***************
*** 35,39 ****
mImapCommands.Add("CREATE", new CreateCommand(this));
mImapCommands.Add("DELETE", new DeleteCommand(this));
! mImapCommands.Add("EXAMINE", new ExamineCommand(this));
mImapCommands.Add("EXPUNGE", new ExpungeCommand(this));
mImapCommands.Add("FETCH", new FetchCommand(this));
--- 35,39 ----
mImapCommands.Add("CREATE", new CreateCommand(this));
mImapCommands.Add("DELETE", new DeleteCommand(this));
! mImapCommands.Add("EXAMINE", new SelectExamineCommand(false, this));
mImapCommands.Add("EXPUNGE", new ExpungeCommand(this));
mImapCommands.Add("FETCH", new FetchCommand(this));
***************
*** 45,49 ****
mImapCommands.Add("RENAME", new RenameCommand(this));
mImapCommands.Add("SEARCH", new SearchCommand(this));
! mImapCommands.Add("SELECT", new SelectCommand(this));
mImapCommands.Add("STARTTLS", new StarttlsCommand(this));
mImapCommands.Add("STATUS", new StatusCommand(this));
--- 45,49 ----
mImapCommands.Add("RENAME", new RenameCommand(this));
mImapCommands.Add("SEARCH", new SearchCommand(this));
! mImapCommands.Add("SELECT", new SelectExamineCommand(true, this));
mImapCommands.Add("STARTTLS", new StarttlsCommand(this));
mImapCommands.Add("STATUS", new StatusCommand(this));
|