Update of /cvsroot/csmaild/csmaild/src/Imap
In directory sc8-pr-cvs1:/tmp/cvs-serv31506/src/Imap
Modified Files:
Connection.cs Server.cs
Log Message:
Long time, no commit.
Upgraded to VS.NET 2003
Lots of code changes, still pre-pre-pre-alpha, so who's keeping track
Removed LOGINDISABLED from CAPABILITY response as well, it's not disabled
Index: Connection.cs
===================================================================
RCS file: /cvsroot/csmaild/csmaild/src/Imap/Connection.cs,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** Connection.cs 24 Jul 2003 04:32:14 -0000 1.4
--- Connection.cs 25 Jul 2003 03:39:12 -0000 1.5
***************
*** 1,7 ****
using System;
using System.Net.Sockets;
using System.Text;
- using Imap.Commands;
- using Imap.NetworkManager;
namespace Imap
--- 1,10 ----
+ using Common;
+
+ using Imap.Commands;
+ using Imap.NetworkManager;
+
using System;
using System.Net.Sockets;
using System.Text;
namespace Imap
***************
*** 31,34 ****
--- 34,40 ----
private string mCurrentArguments; // the un-parsed arguments for the currently processing command
+ private User mUser; // the user logged into this connection, or null if not logged in
+ private Mailbox mMailbox; // the currently selected mailbox, null if not in selected state
+
public ImapConnectionState State
{
***************
*** 56,59 ****
--- 62,89 ----
{
return mServer;
+ }
+ }
+
+ public User User
+ {
+ get
+ {
+ return mUser;
+ }
+ set
+ {
+ mUser = value;
+ }
+ }
+
+ public Mailbox Mailbox
+ {
+ get
+ {
+ return mMailbox;
+ }
+ set
+ {
+ mMailbox = value;
}
}
Index: Server.cs
===================================================================
RCS file: /cvsroot/csmaild/csmaild/src/Imap/Server.cs,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** Server.cs 24 Jul 2003 04:32:14 -0000 1.5
--- Server.cs 25 Jul 2003 03:39:12 -0000 1.6
***************
*** 59,63 ****
get
{
! return new string[]{"IMAP4rev1", "STARTTLS", "LOGINDISABLED", "AUTH=PLAIN"};
}
}
--- 59,63 ----
get
{
! return new string[]{"IMAP4rev1", "STARTTLS", "AUTH=PLAIN"};
}
}
|