Граф коммитов

1085 Коммитов

Автор SHA1 Сообщение Дата
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
jefft%netscape.com c2943b7edf set flag state to imap parser at the intialize() method; use PR_CALLOC instead of PR_MALLOC 1999-04-10 00:35:19 +00:00
jefft%netscape.com 6da163d885 (not part of the build yet) rename TIMAPACLRightsInfo to nsIMAPACLRightsInfo 1999-04-09 22:06:58 +00:00
jefft%netscape.com 884833859c (not part of the build yet) fixed typo for AllocateCanonicallFolderPath 1999-04-09 22:05:43 +00:00
jefft%netscape.com c6202e10d5 (not part of the build yet) export nsIMAPNamespace.h 1999-04-09 22:04:21 +00:00
jefft%netscape.com 6d1b103319 (not part of the build yet) more porting from 4.5 to 5.0; filling in more stub'd methods in nsImapProtocol; added missing host info methods 1999-04-09 21:55:28 +00:00
jefft%netscape.com 22acd0af11 (not part of the build yet) more porting from 4.5 to 5.0; added missing host info methods 1999-04-09 21:51:18 +00:00
bienvenu%netscape.com a545f7837e remove a few uses of GetBuffer() 1999-04-09 02:44:17 +00:00
bienvenu%netscape.com c48b623977 bunch of stuff to get message header download working 1999-04-09 01:46:22 +00:00
jefft%netscape.com 5a81e8f544 failed to set m_protocolInitialized flag when protocol did get initialized 1999-04-08 23:38:30 +00:00
mscott%netscape.com 9b3a7726e5 Add test option for select folder and use the imap service to implement this test. 1999-04-08 23:06:25 +00:00
mscott%netscape.com c9c599f0ad (not part of the build yet)
support the SelectFolder interface.
1999-04-08 23:05:35 +00:00
mscott%netscape.com a161e8c3b1 (not part of the build yet)
add SelectFolder method to the imap service interface.
1999-04-08 23:05:12 +00:00
mscott%netscape.com 9aca3f3e4d (not part of the build yet).
I removed our dependencies on xplib so we no longer need to link to it. This cuts down the imap dll by some 40% or so. yippee!
1999-04-08 23:04:13 +00:00
mscott%netscape.com 35f4a1c463 (not part of the build yet)
Update imap body shell to use nsHashTable instead of XP_HashTable.
1999-04-08 23:00:10 +00:00
jefft%netscape.com eb3092269c (not part of the build yet) more porting on message download; remove SetMessageDownloadOutputStream method; added PostLineDownLoadEvent, m_downloadLineCache, & m_fromHeaderSeen 1999-04-08 22:14:02 +00:00
jefft%netscape.com f84386ee7f added TLineDownloadCache class 1999-04-08 22:10:52 +00:00
jefft%netscape.com c20086f859 (not part of the build yet) removed SetMessageDownloadOutputStream 1999-04-08 22:10:03 +00:00
jefft%netscape.com faf6c21ce7 (not part of the build yet) more porting from 4.5; added GetShouldDownloadArbitraryHeaders, GetArbitraryHeadersToDownload, AdjustChunkSize, FetchMessage method; added more member variable - m_trackingTime, m_startTime, m_endTime, m_tooFastTime, m_idealTime, m_chunkAddSize, m_chunkStartSize, m_maxChunkSine, m_fetchByChunk, m_chunkSize & m_chunkThreshold 1999-04-08 14:50:17 +00:00
mscott%netscape.com 15d994585e (not part of the build yet) a=cyeh.
Replace the identity stuff with their equivalents in nsIMsgIncomingServer.
use the imap service to create a protocol instance instead of creating one directly ourselves.
1999-04-08 02:59:52 +00:00
mscott%netscape.com a298d7b5cd (not part of the build yet) a=cyeh.
build nsImapService and nsImapIncomingServer.
1999-04-08 02:58:38 +00:00
mscott%netscape.com 379be56015 (not part of the build yet) a=cyeh.
Foundation for our imap service. Right now it only creates protocol instances.
1999-04-08 02:57:47 +00:00
mscott%netscape.com 0e219bc9ac (not part of the build yet) a=cyeh.
implementation of the nsIImapIncomingServer interface. This class is responsible for maintaining an up to date list of all the prefs for a given imap server.
1999-04-08 02:57:20 +00:00
mscott%netscape.com e7d5334609 (not part of the build yet) a=cyeh.
Replace identity with nsIMsgIncomingServer. Initialize now takes a host session list.
1999-04-08 02:56:12 +00:00
mscott%netscape.com 5f43e3f549 (not part of the build yet) a=cyeh.
Replace the identity with nsIMsgIncomingServer. Initialize now takes in the host session list.
1999-04-08 02:55:29 +00:00
mscott%netscape.com d939c01e95 (not part of the build yet) a=cyeh.
Replace identity stuff with nsIMsgIncomingServer.
1999-04-08 02:54:20 +00:00
mscott%netscape.com 6fa3c842f8 (not part of the build yet) a=cyeh.
Export nsIImapService.h and nsIImapIncomingServer.h
1999-04-08 02:53:17 +00:00
mscott%netscape.com ba6e30e5b7 (not part of the build yet) a=cyeh.
Foundation for an imap service interface.
1999-04-08 02:53:01 +00:00
mscott%netscape.com 86123a7227 (not part of the build yet) a=cyeh.
Changed identity getters and setters to use the new nsIMsgIncomingServer interface instead.
1999-04-08 02:52:28 +00:00
mscott%netscape.com 5de74bcaf8 (not part of the build yet) a=cyeh.
Initialize now takes the host session list.
1999-04-08 02:51:13 +00:00
mscott%netscape.com 7fc41cf9a1 (not part of the build yet) a=cyeh.
Add an imap incoming server interface which holds imap account server specific information such as user name, host name, etc.
1999-04-08 02:50:44 +00:00
mscott%netscape.com b7ea611b18 (not part of the build yet) a=cyeh.
I changed the dll name for imap to be msgimap.dll. We now need prefs and js in the requires list.
1999-04-08 02:49:40 +00:00
mscott%netscape.com 3eefdc4c4d (not part of the build) a=cyeh.
Imap factory can now generate components for the imap service and for the imap incoming server.
1999-04-08 02:48:56 +00:00
jefft%netscape.com a3d6499b7b partially hooked up imap parser and fe proxy event implementation 1999-04-07 04:33:45 +00:00
jefft%netscape.com 0858c8917e added NS_INIT_REFCNT() to the constructor; temporary added a global gImapHostSessionList for the test purpose 1999-04-07 04:29:12 +00:00
jefft%netscape.com fa3cd0e0ca export nsImapServerResponseParser.h nsIMAPGenericParser.h & nsImapSearchResults.h 1999-04-07 04:26:38 +00:00
jefft%netscape.com 9c0af89729 implemented nsIImapMailfolder, nsIImapMessage, nsIImapExtension, nsIImapMiscellaneous interfaces 1999-04-07 04:25:12 +00:00
mscott%netscape.com 65fc4cac21 Add getter and setter for an identity to the imap url interface. 1999-04-06 21:02:50 +00:00
mscott%netscape.com d558c8be39 Add getters and setters for the identity associated with the url. If the caller attempts to get an identity and we don't have one, then we go out and return the default identity.... 1999-04-06 21:02:07 +00:00
jefft%netscape.com 00bc6a844c more implementation on fe event proxy stuff 1999-04-02 23:47:47 +00:00
jefft%netscape.com 2706afea7f initial cut for imap sink interfaces; not part of the build yet 1999-04-01 01:13:56 +00:00
bienvenu%netscape.com cbe1d4ad20 get parser to link 1999-03-31 05:16:38 +00:00
bienvenu%netscape.com e9371ee3b9 get parser to compile 1999-03-31 04:42:08 +00:00
bienvenu%netscape.com 48e9dc611c more progress on parser - not part of build yet 1999-03-30 18:00:21 +00:00
bienvenu%netscape.com b57a7f2a82 initial entry into cvs 1999-03-30 00:47:40 +00:00
bienvenu%netscape.com 3bf87acdf4 more porting 1999-03-30 00:46:59 +00:00
bienvenu%netscape.com b5ef352618 add url types 1999-03-30 00:45:39 +00:00
mscott%netscape.com 528f5ab523 Change imapMessageFlags type to PRUint16 instead of uint16. 1999-03-29 23:00:48 +00:00
mscott%netscape.com 267dbc414a stubs for the imap parser..... 1999-03-29 22:59:02 +00:00
bienvenu%netscape.com fc01503b89 comment out files that don't compile for the moment 1999-03-29 22:36:34 +00:00
bienvenu%netscape.com c46a0066e1 export and include nsImapCore.h 1999-03-29 22:34:08 +00:00
bienvenu%netscape.com 858b43c566 imap utility class defs 1999-03-29 22:16:29 +00:00
mscott%netscape.com d0feeb8baf patch from Bruce Mitchener Jr." <bruce@cybersight.com> to change delete to delete []. 1999-03-29 22:15:54 +00:00
bienvenu%netscape.com 82437189cb port more of imap parser and utility classes 1999-03-29 22:11:04 +00:00
bienvenu%netscape.com 3cc39fd7a6 add imap prefs to dumping of identity 1999-03-28 20:40:39 +00:00
bienvenu%netscape.com 84dddbfb01 port a few classes over from 4.5 1999-03-28 20:39:58 +00:00
bienvenu%netscape.com 9e754f38bd initial entry into cvs of host session list, parser, etc 1999-03-28 20:39:12 +00:00
bienvenu%netscape.com b27bf90b18 initial entry into cvs of host session list 1999-03-28 20:37:16 +00:00
jefft%netscape.com 0741517a6e added enum ImapState define; added m_dataMonitor; added ProcessCurrentURL() method; nsImapProtocol::ImapThreadMainLoop () now waits on m_dataMonitor indefinitely and then call ProcessCurrentURL () 1999-03-28 18:02:07 +00:00
mcafee%netscape.com e7e4ae2cb4 Ignore generated files. 1999-03-27 09:22:27 +00:00
mscott%netscape.com 05cd3db030 When running an imap command through a url, register the test harness as a listener to the url so we can get a call back when the url is done. This allows us to not display the command menu item to the user until the url is finished. I also cleaned up some ref counting stuff with regards to when a url is created and when we release it. 1999-03-26 03:40:08 +00:00
mscott%netscape.com c7a13619aa For now, when we get on data available from the server and we successfully wrote data out through the log interface, then mark the url as done. 1999-03-26 03:37:33 +00:00
mscott%netscape.com e8ca114b4c initialize ptr to nsnull. 1999-03-26 03:35:42 +00:00
jefft%netscape.com 42227142ab put back the original implementation of nsImapUrl::Equals method 1999-03-25 05:41:50 +00:00
jefft%netscape.com 4576d27022 added multiple inheritance nsINetLibURL 1999-03-25 05:19:59 +00:00
mscott%netscape.com 480d270e2c remove NODEPEND 1999-03-25 03:43:10 +00:00
jefft%netscape.com 7409f2b127 call m_transport->Open(m_runningUrl) prior calling SendData() 1999-03-24 01:56:54 +00:00
jefft%netscape.com 79249d3592 temporary fix prevent from crashing if someone call nsImapUrl::Equals 1999-03-24 01:55:42 +00:00
jefft%netscape.com 2975dbc284 more checkins for thread/event work 1999-03-23 23:46:00 +00:00
mscott%netscape.com 0cad9b8d02 the test harness supports the imap log interface. For now, that just means supporting the handle log data interface method. The harness now supports multiple interfaces so we need to write QueryInterface ourselves instead of using the macro. 1999-03-23 23:08:29 +00:00
mscott%netscape.com deda90bee6 Hmmm I must not have done a clobber b4 checking this in...remove the =0 stuff for Get/SetImapLog. 1999-03-23 23:05:13 +00:00
mscott%netscape.com c2bef602ff oopos...CID and IID were the same....they should have different values. 1999-03-23 23:04:33 +00:00
alecf%netscape.com 4b1fb3f134 only build tests when ENABLE_TESTS is turned on 1999-03-23 19:19:52 +00:00
jefft%netscape.com c3b5f4333c initial coding for nsImapProxyEvent 1999-03-23 02:18:53 +00:00
mscott%netscape.com 2dd1e97083 add getters and setters for new imap sink: imap log. 1999-03-23 00:31:31 +00:00
mscott%netscape.com 926ff30143 add getters and setters for new imap sink: imap log 1999-03-23 00:30:31 +00:00
mscott%netscape.com badee6de22 export nsIImapLog.h 1999-03-23 00:26:08 +00:00
mscott%netscape.com 3b730a0335 first created. Imap log interface. Right now the only method in the interface
is one to handle log information from the imap protocol....
1999-03-23 00:25:43 +00:00
bienvenu%netscape.com 7684bc079c register prefs service, put in default url spec 1999-03-20 03:07:31 +00:00
mscott%netscape.com 31105c2364 (not part of build)
We were using an interface id instead of a class id in the call to create instance for the protocol so I fixed that. We don't need netService so I removed the code for that. We were also confusing an imap4service with the core netlib service (nsINetService). Release the protocol instead of deleting it in the protocol. Insert breaks in the switch statements for ::ReadAndDispatchCommand. Release the event queue service when we are done with it.
1999-03-19 22:55:32 +00:00
mscott%netscape.com 149e5118ac (not part of the build)
use new intialize method from the interface which takes an event queue. The constructor for a component that supports an interface must always be empty so remove the dependency on the event queue. Rename old Initialize method to SetupwithUrl.
1999-03-19 22:50:53 +00:00
mscott%netscape.com eda7f78716 Add interface method for initialize which takes an event queue. 1999-03-19 22:48:45 +00:00
mscott%netscape.com 782e878db8 (not part of the build)
build tests directory.
1999-03-19 22:48:06 +00:00
mscott%netscape.com 0ec8fa9ab1 NOT PART OF BUILD PROCESS.
top level makefile.win for imap.
1999-03-19 22:02:48 +00:00
bienvenu%netscape.com b8c16bb0a8 imap test harness, not part of build as of yet 1999-03-19 20:58:08 +00:00
bienvenu%netscape.com 3e83a64600 imap test harness, not part of build as of yet 1999-03-19 20:51:50 +00:00
jefft%netscape.com c890704e0a added some thread stuff 1999-03-19 06:08:29 +00:00
jefft%netscape.com 4bfe96ca36 added GetThreadEventQueue() method 1999-03-19 06:07:31 +00:00
mscott%netscape.com 66f28dfe63 Not part of the build yet! (a=chofmann) Part of the imap framework check in.
Implementations of imap url and imap protocol instance.
1999-03-18 01:13:37 +00:00
mscott%netscape.com b285118255 Not part of the build yet! (a=chofmann). Part of the initial Imap framework.
Add imap url and protocol interfaces.
1999-03-18 01:12:06 +00:00
mscott%netscape.com 6ad016b233 Not part of the build yet. a=chofmann. Initial check in of imap framework.
Imap factory is used to build the imap dll component.
1999-03-18 01:09:50 +00:00
alecf%netscape.com d66c4dc9d5 new nsIMAPGroupRecord 1999-01-15 00:00:49 +00:00
alecf%netscape.com b482285baa add new IMAP makefiles 1999-01-14 23:16:27 +00:00