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

234 Коммитов

Автор SHA1 Сообщение Дата
mscott%netscape.com 7f4fd48e3c fix more off by one crashes when iterating through name space list. 1999-04-16 02:17:46 +00:00
mscott%netscape.com a8703603fa 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 acc10bb233 Add AllocateServerpath and AddOnlinedirectoryIfNecessary to the interface. 1999-04-16 02:15:22 +00:00
bienvenu%netscape.com 6e462fb5df add debug info for line parser 1999-04-16 02:00:32 +00:00
bienvenu%netscape.com 39ab678a27 let everyone see their inbox 1999-04-16 02:00:01 +00:00
bienvenu%netscape.com b5110bffea use protocol instance instead of member variable, get imap db opening to work 1999-04-15 23:59:58 +00:00
bienvenu%netscape.com f0c6326554 issue select statement to server and try to open imap db 1999-04-15 21:54:10 +00:00
bienvenu%netscape.com 9caaf1db40 fix a couple problems with folder selection... 1999-04-15 05:33:33 +00:00
jefft%netscape.com 95bf5eff21 change thread priority back to normal 1999-04-15 05:21:57 +00:00
mscott%netscape.com 6df6c42e26 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 b8d29047b9 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 7deabf911d add getter for imap required state 1999-04-15 03:35:28 +00:00
mscott%netscape.com 57922ef07c add getter for imap required state 1999-04-15 03:34:54 +00:00
mscott%netscape.com cb76bd5194 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 55dfe0d185 more work on imap folder loading 1999-04-15 01:28:14 +00:00
mscott%netscape.com 59b0670b7f 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 241edd727d check return pointer of imapPart prior calling m_shell->Generate(imapPart) in ProcessOkCommand() 1999-04-15 01:01:51 +00:00
jefft%netscape.com 98997bb7d8 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 36be2a3eed 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 443dd0aee2 hook up imap code to retrieve uid validity from DB 1999-04-14 02:34:21 +00:00
jefft%netscape.com c3dabfeb5c ported over AllocateCanonicalPath method 1999-04-14 01:55:29 +00:00
jefft%netscape.com b0e49d81f2 check valid allocatedPath and namespaceFolder prior duplicate for mailbox_spec 1999-04-14 01:54:36 +00:00
jefft%netscape.com 9e9917a4e5 fixed memory leak when calling GetImapUserName(); the returned string should be freed 1999-04-14 01:53:16 +00:00
bienvenu%netscape.com fff7644913 add more imap-specific parsing stuff to url object 1999-04-14 01:32:27 +00:00
mscott%netscape.com 8cf8185a30 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 a2530f4cef hook up selected state urls (except for ifdeffed out parts) 1999-04-13 23:15:35 +00:00
jefft%netscape.com 4bbbd75596 ported over DiscoverMailboxSpec method 1999-04-13 21:37:06 +00:00
jefft%netscape.com ea1004e12c added missing member variable, m_delimiter and method, GetDelimiter() 1999-04-13 21:35:48 +00:00
bienvenu%netscape.com 9424f0948b add more methods for selecting a folder (not part of build yet) 1999-04-13 16:18:52 +00:00
jefft%netscape.com 1be9704cee stub GetShowAttachmentsInline method 1999-04-13 04:50:04 +00:00
jefft%netscape.com dcd7ee5d00 added GetShowAttachmentsInlineProxyEvent; fixed minor problem in GetMessageSizeProxyEvnet 1999-04-13 04:48:37 +00:00
jefft%netscape.com 96754a7520 ported over GetMessageSize & GetShowAttachmentsInline method 1999-04-13 04:46:05 +00:00
jefft%netscape.com 887a6cb31e added GetShowAttachmentsInline method 1999-04-13 04:44:24 +00:00
bienvenu%netscape.com e3b9908644 add code to select a mailbox 1999-04-13 04:31:40 +00:00
jdunn%netscape.com b793f90c0d fix compiler error (NS_DECL_ISUPPORTS does not require a ';' 1999-04-12 20:51:52 +00:00
bienvenu%netscape.com 37aa7c1af3 put ? in for user instead of requiring user to type it 1999-04-12 18:44:52 +00:00
bienvenu%netscape.com 839d28a099 put tag in for commands from test app 1999-04-12 18:44:23 +00:00
mscott%netscape.com 97da47c5ae (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 d295afc321 hook up some of the stuff for syncing folders 1999-04-11 23:26:30 +00:00
bienvenu%netscape.com 52bf8e6e2b add abstract interface for flag and uid state 1999-04-11 23:14:31 +00:00
braddr%puremagic.com bc34760959 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 2ed06b463a enabled imap logging facility 1999-04-10 15:34:48 +00:00
jefft%netscape.com 1a035858d3 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 855c8da9bf (not part of the build yet) rename TIMAPACLRightsInfo to nsIMAPACLRightsInfo 1999-04-09 22:06:58 +00:00
jefft%netscape.com fe2a604ae9 (not part of the build yet) fixed typo for AllocateCanonicallFolderPath 1999-04-09 22:05:43 +00:00
jefft%netscape.com 6ee945864e (not part of the build yet) export nsIMAPNamespace.h 1999-04-09 22:04:21 +00:00
jefft%netscape.com 1a3432285e (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 b9149695f8 (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 cd68fdde0a remove a few uses of GetBuffer() 1999-04-09 02:44:17 +00:00
bienvenu%netscape.com 8f0c2269a0 bunch of stuff to get message header download working 1999-04-09 01:46:22 +00:00
jefft%netscape.com ceb7703d96 failed to set m_protocolInitialized flag when protocol did get initialized 1999-04-08 23:38:30 +00:00
mscott%netscape.com f04324128d 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 b3d843b1f7 (not part of the build yet)
support the SelectFolder interface.
1999-04-08 23:05:35 +00:00
mscott%netscape.com 6e02009f28 (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 fb7eed9d41 (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 080bea8c05 (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 e4a9e8e984 (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 6f6e7bf39b added TLineDownloadCache class 1999-04-08 22:10:52 +00:00
jefft%netscape.com 9d9385e493 (not part of the build yet) removed SetMessageDownloadOutputStream 1999-04-08 22:10:03 +00:00
jefft%netscape.com 18abd805a7 (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 dae7fbf1a0 (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 09dd9b99f1 (not part of the build yet) a=cyeh.
build nsImapService and nsImapIncomingServer.
1999-04-08 02:58:38 +00:00
mscott%netscape.com 8272d94590 (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 522e54db4a (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 c493c76177 (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 d0f15cebcd (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 b1b3e8059b (not part of the build yet) a=cyeh.
Replace identity stuff with nsIMsgIncomingServer.
1999-04-08 02:54:20 +00:00
mscott%netscape.com 677108ad97 (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 d414fe0fb5 (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 353823efdf (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 e7eda06bc1 (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 1500badd84 (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 1a5dfb158b (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 7a96ad797e (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 a13671c213 partially hooked up imap parser and fe proxy event implementation 1999-04-07 04:33:45 +00:00
jefft%netscape.com 858d9c1663 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 cf6dfe2850 export nsImapServerResponseParser.h nsIMAPGenericParser.h & nsImapSearchResults.h 1999-04-07 04:26:38 +00:00
jefft%netscape.com bff4d92da5 implemented nsIImapMailfolder, nsIImapMessage, nsIImapExtension, nsIImapMiscellaneous interfaces 1999-04-07 04:25:12 +00:00
mscott%netscape.com 77c1ad9cc2 Add getter and setter for an identity to the imap url interface. 1999-04-06 21:02:50 +00:00
mscott%netscape.com fd16397931 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 766fbf683f more implementation on fe event proxy stuff 1999-04-02 23:47:47 +00:00
jefft%netscape.com 14a64ef0dc initial cut for imap sink interfaces; not part of the build yet 1999-04-01 01:13:56 +00:00
bienvenu%netscape.com 2bbff774b0 get parser to link 1999-03-31 05:16:38 +00:00
bienvenu%netscape.com c1e5bfca2b get parser to compile 1999-03-31 04:42:08 +00:00
bienvenu%netscape.com 3028c4517a more progress on parser - not part of build yet 1999-03-30 18:00:21 +00:00
bienvenu%netscape.com 2f6470d294 initial entry into cvs 1999-03-30 00:47:40 +00:00
bienvenu%netscape.com 185fa15442 more porting 1999-03-30 00:46:59 +00:00
bienvenu%netscape.com 871ca1bdaa add url types 1999-03-30 00:45:39 +00:00
mscott%netscape.com 299f0df96c Change imapMessageFlags type to PRUint16 instead of uint16. 1999-03-29 23:00:48 +00:00
mscott%netscape.com 9ee6ae6b6a stubs for the imap parser..... 1999-03-29 22:59:02 +00:00
bienvenu%netscape.com b8f9e40e96 comment out files that don't compile for the moment 1999-03-29 22:36:34 +00:00
bienvenu%netscape.com 2cfa87a2db export and include nsImapCore.h 1999-03-29 22:34:08 +00:00
bienvenu%netscape.com 3e0828f251 imap utility class defs 1999-03-29 22:16:29 +00:00
mscott%netscape.com f5e7285bb3 patch from Bruce Mitchener Jr." <bruce@cybersight.com> to change delete to delete []. 1999-03-29 22:15:54 +00:00
bienvenu%netscape.com 7ef39a3a8a port more of imap parser and utility classes 1999-03-29 22:11:04 +00:00
bienvenu%netscape.com 5adb94a8f4 add imap prefs to dumping of identity 1999-03-28 20:40:39 +00:00
bienvenu%netscape.com a53e79d748 port a few classes over from 4.5 1999-03-28 20:39:58 +00:00
bienvenu%netscape.com 338066820c initial entry into cvs of host session list, parser, etc 1999-03-28 20:39:12 +00:00
bienvenu%netscape.com 9fc9fd1620 initial entry into cvs of host session list 1999-03-28 20:37:16 +00:00
jefft%netscape.com 83a9d6c896 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 3a99c257a4 Ignore generated files. 1999-03-27 09:22:27 +00:00
mscott%netscape.com c056b96446 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 4a29649938 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 91845a00c0 initialize ptr to nsnull. 1999-03-26 03:35:42 +00:00
jefft%netscape.com ad497a81cb put back the original implementation of nsImapUrl::Equals method 1999-03-25 05:41:50 +00:00
jefft%netscape.com 028f3b2c95 added multiple inheritance nsINetLibURL 1999-03-25 05:19:59 +00:00
mscott%netscape.com e5e65a0e17 remove NODEPEND 1999-03-25 03:43:10 +00:00
jefft%netscape.com 824d358ab2 call m_transport->Open(m_runningUrl) prior calling SendData() 1999-03-24 01:56:54 +00:00
jefft%netscape.com 648067a578 temporary fix prevent from crashing if someone call nsImapUrl::Equals 1999-03-24 01:55:42 +00:00
jefft%netscape.com a72ba5a8bf more checkins for thread/event work 1999-03-23 23:46:00 +00:00
mscott%netscape.com b13edc9133 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 c6634fdfa4 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 2c7c15e18d oopos...CID and IID were the same....they should have different values. 1999-03-23 23:04:33 +00:00
alecf%netscape.com c6de63bc1a only build tests when ENABLE_TESTS is turned on 1999-03-23 19:19:52 +00:00
jefft%netscape.com 1951b7dc28 initial coding for nsImapProxyEvent 1999-03-23 02:18:53 +00:00
mscott%netscape.com 6ccfbf10fc add getters and setters for new imap sink: imap log. 1999-03-23 00:31:31 +00:00
mscott%netscape.com d71130af26 add getters and setters for new imap sink: imap log 1999-03-23 00:30:31 +00:00
mscott%netscape.com 548af0b60f export nsIImapLog.h 1999-03-23 00:26:08 +00:00
mscott%netscape.com ae64d542c1 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 38fcf816ca register prefs service, put in default url spec 1999-03-20 03:07:31 +00:00
mscott%netscape.com 53b028df89 (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 d47bfaa85a (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 707cd047c1 Add interface method for initialize which takes an event queue. 1999-03-19 22:48:45 +00:00
mscott%netscape.com 6b8e00138f (not part of the build)
build tests directory.
1999-03-19 22:48:06 +00:00
mscott%netscape.com 9b1e46827b NOT PART OF BUILD PROCESS.
top level makefile.win for imap.
1999-03-19 22:02:48 +00:00
bienvenu%netscape.com 36356dd9c8 imap test harness, not part of build as of yet 1999-03-19 20:58:08 +00:00
bienvenu%netscape.com 6445acd26e imap test harness, not part of build as of yet 1999-03-19 20:51:50 +00:00
jefft%netscape.com bbea05c027 added some thread stuff 1999-03-19 06:08:29 +00:00
jefft%netscape.com 0be2349077 added GetThreadEventQueue() method 1999-03-19 06:07:31 +00:00
mscott%netscape.com b6a103dd19 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 dcacb83562 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 4b07436218 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 e53b86aa42 new nsIMAPGroupRecord 1999-01-15 00:00:49 +00:00
alecf%netscape.com 46b008aa16 add new IMAP makefiles 1999-01-14 23:16:27 +00:00