Commit Graph

142 Commits

Author SHA1 Message Date
mscott%netscape.com
268667cd42 Remove ReadLineFromInputBuffer function. I've moved its functionality into a new class: nsMsgLineBufferStream which is now part of the mail utiltity library. Changed create new line from socket to use this utility class for reading out the line. 1999-04-16 22:27:02 +00:00
bienvenu%netscape.com
51daf4c0b0 port miscellaneous methods, like search, use more nsString2's, fix bug in header download 1999-04-16 21:29:09 +00:00
mscott%netscape.com
2481858cce more optimized version of read next line from buffer. Don't shift the bytes in the buffer down to the beginning after we extract a line until we actually need more space in the buffer. Then do it. 1999-04-16 20:59:49 +00:00
mscott%netscape.com
15dfcbffce Fix assert to be >= 0. part of the name space off by one problem... 1999-04-16 20:58:21 +00:00
bienvenu%netscape.com
afc42f6902 fix line buffering code 1999-04-16 05:37:04 +00:00
mscott%netscape.com
683ecef515 Add some specific info about the folder we just discovered. 1999-04-16 02:24:23 +00:00
mscott%netscape.com
7d750b4f7d Porting/coding many of the protocol functions for issuing commands to discover mailboxes. Including: FindMailboxesIfNecessary, DiscoverMailboxList, FolderNeedsACLInitialized, MailboxDiscoveryFinished, Createmailbox, CreateMailboxRespectingSubscriptions, Lsub, List and others. 1999-04-16 02:23:36 +00:00
mscott%netscape.com
8a13acda7f Fix a couple of crashes i was having involing memory management of the name mailbox spec's name space object. 1999-04-16 02:19:15 +00:00
mscott%netscape.com
e22129117e fix more off by one crashes when iterating through name space list. 1999-04-16 02:17:46 +00:00
mscott%netscape.com
12691e0108 Changed signatures of AllocateServerpath and AddOnlinedirectoryIfNecessary so they could be methods from the interface. 1999-04-16 02:16:50 +00:00
mscott%netscape.com
4589b4e244 Add AllocateServerpath and AddOnlinedirectoryIfNecessary to the interface. 1999-04-16 02:15:22 +00:00
bienvenu%netscape.com
1b2e24ee69 add debug info for line parser 1999-04-16 02:00:32 +00:00
bienvenu%netscape.com
e759633ca1 let everyone see their inbox 1999-04-16 02:00:01 +00:00
bienvenu%netscape.com
b756e30e1d use protocol instance instead of member variable, get imap db opening to work 1999-04-15 23:59:58 +00:00
bienvenu%netscape.com
c64d820259 issue select statement to server and try to open imap db 1999-04-15 21:54:10 +00:00
bienvenu%netscape.com
0d80e5ae5f fix a couple problems with folder selection... 1999-04-15 05:33:33 +00:00
jefft%netscape.com
5853e59445 change thread priority back to normal 1999-04-15 05:21:57 +00:00
mscott%netscape.com
4f0794a785 Many changes to support logon, process authenticated state url, and process current url. Added monitor for new url to run. Moved thread code & monitor creation out of SetupUrl and into Initialize. LoadUrl now signals new url to run. Added ReadNextLineFromInput which efficiently extracts lines of data from a data buffer / input stream combination. This function may block if we need more data from the server. Added code to eat the greeting up the first time we get it. Implementation for authlogin, insecurelogin, tryLogon etc. Added implementation of processAuthenticatedStateUrl and broke it down into smaller components so the function wasn't so big. There's more, but I'm tired of typing and this checkin comment is getting too long. 1999-04-15 04:28:01 +00:00
mscott%netscape.com
300ecca9e2 Many changes to help support process current url, logon and process authenticated state url. Get rid of m_dataBuf and replace it with separate input and output buffers. Add a monitor for detecting url ready to be run. Added many helper functions which are called by ProcessAuthenticatedStateUrl such as Capability, OnGetMailAccount, OnRefreshACLForFolder, etc. 1999-04-15 04:23:17 +00:00
mscott%netscape.com
d399a59191 add getter for imap required state 1999-04-15 03:35:28 +00:00
mscott%netscape.com
cae79ccdbc add getter for imap required state 1999-04-15 03:34:54 +00:00
mscott%netscape.com
740cf24c61 Add notion of a required imap state: authenticated or selected for the imap actions. Add an accessor for the required state. Setup the imap action enum such that the high bit is set for all actions which require us to be in the selected state. 1999-04-15 03:33:57 +00:00
bienvenu%netscape.com
fb01ee1e19 more work on imap folder loading 1999-04-15 01:28:14 +00:00
mscott%netscape.com
eb551ad681 fix crash in AddNewNamespace. We were iterating through a list of name spaces backwards incorrectly. We were starting with one past the last element in the array and then attempting to dereference it.... 1999-04-15 01:22:07 +00:00
jefft%netscape.com
6b9c7db9d1 check return pointer of imapPart prior calling m_shell->Generate(imapPart) in ProcessOkCommand() 1999-04-15 01:01:51 +00:00
jefft%netscape.com
3ab1819f8b calling m_realImapXXXX method instead of m_proxy method to avoid extra notification of fe event completion 1999-04-15 00:58:25 +00:00
jefft%netscape.com
297a6f561c bump up imap thread priority a little bit higher than normal to prevent the deadlock 1999-04-15 00:56:34 +00:00
bienvenu%netscape.com
dfeca8bd98 hook up imap code to retrieve uid validity from DB 1999-04-14 02:34:21 +00:00
jefft%netscape.com
d4de47e788 ported over AllocateCanonicalPath method 1999-04-14 01:55:29 +00:00
jefft%netscape.com
95771dbd8d check valid allocatedPath and namespaceFolder prior duplicate for mailbox_spec 1999-04-14 01:54:36 +00:00
jefft%netscape.com
6180f176da fixed memory leak when calling GetImapUserName(); the returned string should be freed 1999-04-14 01:53:16 +00:00
bienvenu%netscape.com
99853eddd8 add more imap-specific parsing stuff to url object 1999-04-14 01:32:27 +00:00
mscott%netscape.com
c1260a7df1 Add code to add the incoming server to the host session list when parsing it. 1999-04-14 01:19:34 +00:00
bienvenu%netscape.com
9bc3b5e711 hook up selected state urls (except for ifdeffed out parts) 1999-04-13 23:15:35 +00:00
jefft%netscape.com
bd22d855db ported over DiscoverMailboxSpec method 1999-04-13 21:37:06 +00:00
jefft%netscape.com
0a6b2909e5 added missing member variable, m_delimiter and method, GetDelimiter() 1999-04-13 21:35:48 +00:00
bienvenu%netscape.com
ae8d37b810 add more methods for selecting a folder (not part of build yet) 1999-04-13 16:18:52 +00:00
jefft%netscape.com
a84d9a7ebe stub GetShowAttachmentsInline method 1999-04-13 04:50:04 +00:00
jefft%netscape.com
fc1b63ea1f added GetShowAttachmentsInlineProxyEvent; fixed minor problem in GetMessageSizeProxyEvnet 1999-04-13 04:48:37 +00:00
jefft%netscape.com
6c5a1f384a ported over GetMessageSize & GetShowAttachmentsInline method 1999-04-13 04:46:05 +00:00
jefft%netscape.com
ecaa3a3854 added GetShowAttachmentsInline method 1999-04-13 04:44:24 +00:00
bienvenu%netscape.com
9a8005aeab add code to select a mailbox 1999-04-13 04:31:40 +00:00
jdunn%netscape.com
40a6a44948 fix compiler error (NS_DECL_ISUPPORTS does not require a ';' 1999-04-12 20:51:52 +00:00
bienvenu%netscape.com
84408dbab5 put ? in for user instead of requiring user to type it 1999-04-12 18:44:52 +00:00
bienvenu%netscape.com
909ff6fbb4 put tag in for commands from test app 1999-04-12 18:44:23 +00:00
mscott%netscape.com
57dfc81bdb (Not part of the build process)
Update imap incoming server to be in synch with Alec's latest identities drop. This fixes our build problem too.
1999-04-12 18:17:00 +00:00
bienvenu%netscape.com
3a28d48c25 hook up some of the stuff for syncing folders 1999-04-11 23:26:30 +00:00
bienvenu%netscape.com
37eb214e56 add abstract interface for flag and uid state 1999-04-11 23:14:31 +00:00
braddr%puremagic.com
82c03050ce Changed direct uses of -lz or -lzlib to $(ZLIB_LIBS)
Changed direct use of -lnspr3 and friends to $(NSPR_LIBS)
1999-04-11 23:07:04 +00:00
jefft%netscape.com
a07c564e02 enabled imap logging facility 1999-04-10 15:34:48 +00:00