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

327 Коммитов

Автор SHA1 Сообщение Дата
sspitzer%netscape.com 3fdf8c9b12 comment for clarity 1999-05-04 21:26:28 +00:00
jefft%netscape.com f85e0a8118 making selecting message/folder within a folder works; extract imap msg incoming server from url spec 1999-05-04 18:17:33 +00:00
jefft%netscape.com d048ea1d3a removed SetServer(); imap msg incoming server will be extract out from the url spec 1999-05-04 18:14:09 +00:00
bienvenu%netscape.com d35f7cd5c7 fix part of 5781, imap folders not showing up correctly 1999-04-30 23:26:12 +00:00
mscott%netscape.com 7ad6636651 Bug #5781 --> more connection cache fixes. ProcessCurrentUrl wasn't set up to run multiple urls as it was setting the connection status to -1 whenever it finished. This was causing the next call to process current url to fall out. I also re-organized SetupUrl to make sure m_runningUrl gets properly initialized on multiple calls to LoadUrl. 1999-04-30 23:09:21 +00:00
jefft%netscape.com c2e9fead94 Part of fixing bug 5781 - fixed creating multiple mail folders problem 1999-04-30 21:38:53 +00:00
jefft%netscape.com 65be78c906 Part of fixing bug 5781 - fixed creating multiple mail folders problem 1999-04-30 21:27:22 +00:00
jefft%netscape.com 9e5f1db3b1 Part of fixing bug 5781 -- nsImapURI2Path failed to generate local path for folders within another folder 1999-04-30 21:24:49 +00:00
mscott%netscape.com ac733c1124 Bug 5781 --> releasing the imap service twice! that's not good. 1999-04-30 20:38:18 +00:00
bienvenu%netscape.com 48773180ac more fixes for 5781 (only affects imap) 1999-04-30 19:50:00 +00:00
mscott%netscape.com 65d7001050 Bug #5781 --> part of mailnews audit --> Conversion to NS_WITH_SERVICE. Synch with new imap service createnewconnection changes.
a=chofmann.
1999-04-30 18:48:39 +00:00
mscott%netscape.com 1c1589778b Bug #5781 --> as a side effect of adding the connection cache, I made GetImapUserName return a const char *.
a=chofmann.
1999-04-30 18:47:15 +00:00
mscott%netscape.com e606574539 Bug #5781 --> add ReleaseUrlState. Support IsBusy interface. Support CanHandleUrl interface. These changes are part of the imap connection cache. GetImapUserName now returns a const char *.
a=chofmann
1999-04-30 18:46:21 +00:00
mscott%netscape.com f4fe445695 Bug #5781 --> part of mailnews audit --> Conversion to NS_WITH_SERVICE. Hook up a connection cache to CreateImapConnection.
a=chofmann
1999-04-30 18:45:16 +00:00
mscott%netscape.com febeff2a75 Bug #5781--> part of mailnews audit --> Conversion to NS_WITH_SERVICE. fix nsImapUri2Path where we were appending the host name twice if there wasn't a folder as part of the uri.
a=chofmann
1999-04-30 18:44:23 +00:00
mscott%netscape.com b2111543c4 Bug #5781 --> fix nsImapUri2Path where we were appending the host name twice if there wasn't a folder attached to the URI.part of mailnews audit --> conversion to NS_WITH_SERVICE
a=chofmann
1999-04-30 18:43:14 +00:00
mscott%netscape.com 8d187baade Bug #5781 --> Add IsBusy method & CanHandleUrl.
a=chofmann
1999-04-30 18:42:09 +00:00
mscott%netscape.com f6045a01fa Bug #5781 --> CreateImapConnection now takes the url to be loaded into the connection.
a=chofmann
1999-04-30 18:41:26 +00:00
jefft%netscape.com f02b3f9711 fixed bug 5662 - imap failed to discover folders and downloading mail messages; make sure we are generating correct message URI; merge in with multiple identies/accounts work; r=mscott, a=chofmann 1999-04-29 00:12:21 +00:00
jefft%netscape.com 0838f40932 fixed bug 5662 - imap failed to discover folders and downloading mail messages; make sure we are generating correct message URI; r=mscott,bienvenu; a=chofmann 1999-04-29 00:10:55 +00:00
jefft%netscape.com c01cc9db81 fixed bug 5662 - imap failed to discover folders and downloading mail messages; removed GetRootFolderPath() & SetRootFolderPath(); checkin for mscott; r=jefft, a=chofmann 1999-04-29 00:08:18 +00:00
jefft%netscape.com ea3c6c661b get imap folder discovery & display message working 1999-04-28 05:19:24 +00:00
jefft%netscape.com aac5cbd240 try again to disable namespace stuff 1999-04-28 04:04:31 +00:00
jefft%netscape.com 4a1c8ce93d added m_haveDiscoverAllFolders variaible; more work on folder discovery stuff 1999-04-28 03:39:24 +00:00
jefft%netscape.com 2459c5bdd6 added m_haveDiscoverAllFolders bool member variable 1999-04-28 03:38:07 +00:00
jefft%netscape.com 1c268edd40 disable namespace for now; use delete instead of PR_FREEIF for returned pointer of nsString.ToNewCString(); initialize nsString2 variables to a empty string to get rid of debug assertion 1999-04-28 03:37:02 +00:00
jefft%netscape.com 804e4196d0 get folder discovery to work; implemented PossibleImapMailbox() method 1999-04-27 13:23:07 +00:00
jefft%netscape.com deb20c4854 first pass of implementing folder discovery; added NthLevelChildList method 1999-04-27 06:35:12 +00:00
jefft%netscape.com 07212329d4 added FindAndSelectFolder method; first pass of implementing folder discovery 1999-04-27 06:34:00 +00:00
jefft%netscape.com e9d80a20e8 added FindAndSelectFolder method 1999-04-27 06:32:54 +00:00
jefft%netscape.com 0233d47d05 added GetChildDiscoveryDepth, GetOnlineSubDirSeparator, SetOnlineSubDirSeparator methods 1999-04-27 06:31:20 +00:00
jefft%netscape.com 17024a0f8f added DiscoverAllFolders, DiscoverAllAndSubscribedFolders, DiscoverChildren, DiscoverLevelChildren methods 1999-04-27 06:29:39 +00:00
bienvenu%netscape.com d4b8c18275 add some flag handling routines 1999-04-27 02:09:42 +00:00
bienvenu%netscape.com 8011137e91 fix build problem in test harness 1999-04-26 23:44:01 +00:00
mscott%netscape.com 5ed73a3528 Add GetServerURI interface method to fix imap build and synch up with the latest changes to the incoming server interface. 1999-04-26 23:33:58 +00:00
sspitzer%netscape.com 29b6b4cad2 change int32 to PRInt32 1999-04-26 23:10:23 +00:00
bienvenu%netscape.com a471131499 get imap message display working 1999-04-26 05:08:49 +00:00
bienvenu%netscape.com 4c4c9c8a45 adopt new msg uri scheme from scott, work on message loading 1999-04-25 21:51:39 +00:00
mscott%netscape.com 9b24fab805 Only include <windows.h> if we are building on windows. 1999-04-25 21:32:34 +00:00
mscott%netscape.com 3a99aaba95 Fix many many Linux warnings by removing some unused variables. 1999-04-25 21:30:44 +00:00
mscott%netscape.com 132da6db3c Fix type for including nsIImapMailFolderSink.h (we had a lower case 'f') 1999-04-25 21:25:40 +00:00
mscott%netscape.com d339920d4d Fix typo in including nsIMAPHostSessionList.h. 1999-04-25 21:21:52 +00:00
mscott%netscape.com c668c19431 Change XP_Bool to PRBool to get Linux build going for imap. 1999-04-25 21:21:10 +00:00
mscott%netscape.com c59d210ec4 Change XP_Bool to PRBool 1999-04-25 21:20:38 +00:00
mscott%netscape.com beaec101a5 Including wrong file for host session list. the file is nsIMAPHostSessionList not nsImapHostSessionList. Linux is case sensitive when including files. 1999-04-25 21:18:08 +00:00
mscott%netscape.com 1bc01ea841 Add new line to end of file. 1999-04-25 21:14:28 +00:00
mscott%netscape.com c72bd60af1 Add new lines to end of files. 1999-04-25 20:58:04 +00:00
mscott%netscape.com a195b5c6e5 Add new line. 1999-04-25 20:56:23 +00:00
mscott%netscape.com 82bf27d90c ReadNextLine now returns # bytes read.
nsMsgLineStreamBuffer now takes a delimeter for end of line markings. This is CRLF for imap.
1999-04-25 19:56:34 +00:00
bruce%cybersight.com ff745bb2cd Fix for calls to nsFileSpec::GetLeafName(). It allocates memory with strdup(), so use free() and not delete[]. 1999-04-25 13:27:36 +00:00
jefft%netscape.com 10544ce6f2 fixed imap build bustage; don't how this happend 1999-04-25 04:27:37 +00:00
putterman%netscape.com fd958ea8cd Add ability to create a message. 1999-04-24 20:46:07 +00:00
putterman%netscape.com 64a1a062a8 use nsIMsgDBHdr. 1999-04-24 20:44:01 +00:00
putterman%netscape.com 481372e4e3 Use nsIMsgDBHdr and user converter enumerator for returning messages. 1999-04-24 20:43:25 +00:00
putterman%netscape.com c272f39e5a Added nsImapMessage and nsImapUtils. 1999-04-24 20:42:50 +00:00
jefft%netscape.com 55b2a6ced7 folder name is now get from nsIMsgFolder 1999-04-24 05:13:12 +00:00
jefft%netscape.com b0c89d1a7a nsIImapService now takes nsIMsgFolder instead of nsIImapMailFolderSink for folder related interfaces; merget nsImapMailFolder::GetPath() & nsImapMailFolder::GetPathName() 1999-04-24 01:18:03 +00:00
jefft%netscape.com a1c06b29bc nsIImapService now takes nsIMsgFolder instead of nsIImapMailFolderSink for folder related interfaces 1999-04-24 01:14:49 +00:00
jefft%netscape.com 8320c80121 fixed duplicate nsIID problem 1999-04-24 01:13:17 +00:00
bienvenu%netscape.com ead5ee2909 get imap messages to display in thread pane 1999-04-23 01:33:52 +00:00
jefft%netscape.com fdcf5e6ee4 (not part of build yet> more on integrating with 3-pane ui 1999-04-23 00:36:07 +00:00
mscott%netscape.com 30a4d0e744 Not part of the build.
Fixes to get the test harness to work in the new preferences world again. We need to manually register the file locator component because it doesn't get self-registered in the repository.
1999-04-22 21:13:48 +00:00
jefft%netscape.com 119aa05555 (not part of the build yet) - more works on hooking up 3-pane ui with protocol 1999-04-22 19:02:45 +00:00
jefft%netscape.com 8f1a286301 added include path - mime 1999-04-22 19:01:05 +00:00
jefft%netscape.com 6d28346e31 not part of the build yet - added msglocal.lib 1999-04-22 19:00:25 +00:00
bienvenu%netscape.com 3f37904761 add services for dealing with flags, fix build problem in test harness 1999-04-22 03:57:44 +00:00
mscott%netscape.com e38957cc5a nsMsgLineStreamBuffer takes a new argument stating whether new lines should be allocated or not on calls to ReadNextLine. 1999-04-22 02:01:08 +00:00
bienvenu%netscape.com 3796e54a4f fix a few race conditions with fe events, add NOOP service 1999-04-21 22:35:12 +00:00
mscott%netscape.com 459aa39e8c unregister ImapResource. Compress some of the register service code for the imap resource. 1999-04-21 21:08:00 +00:00
jefft%netscape.com a6834f2118 added nsImapMailFolder.cpp 1999-04-21 05:21:12 +00:00
jefft%netscape.com 63ac60242d initial coding 1999-04-21 05:20:11 +00:00
jefft%netscape.com f831513a5a added imap resource to the factory 1999-04-21 05:18:56 +00:00
jefft%netscape.com 494b3a11bb added rdfutil_s.lib, rdf, rdfutil to the build 1999-04-21 05:17:37 +00:00
bienvenu%netscape.com fc82acdf72 get downloading of imap messages working 1999-04-21 04:57:28 +00:00
bienvenu%netscape.com 62e1e5fb18 a little more progress on message fetching 1999-04-21 02:34:57 +00:00
bienvenu%netscape.com 2cff511a11 add service for getting an imap message 1999-04-21 00:55:58 +00:00
mscott%netscape.com e9042ccc29 Make sure the line buffer stream leaves CRLFs on for us when extracting new lines. 1999-04-20 23:43:39 +00:00
bienvenu%netscape.com 2b77686258 start working on more services, especially the url creation part of the services 1999-04-20 18:50:12 +00:00
bienvenu%netscape.com 454d0fcbe1 get imap folder server flags set in database 1999-04-20 04:59:33 +00:00
mscott%netscape.com 9e162f4d30 Temporary fix until mcmullen updates some back end prefs code. We need to manually specify the pref file to use. We can't get at the profile information so look in the current directory. 1999-04-20 01:01:21 +00:00
bienvenu%netscape.com 8114be995a get header adding to db's working 1999-04-19 23:09:59 +00:00
jefft%netscape.com 9ffa76ce11 rename nsIImapMailFolder, nsIImapMessage, nsIImapExtension, nsIImapMiscellaneous to nsIImapMailFolderSink, nsIImapMessageSink, nsIImapExtensionSink, nsIImapMiscellaneousSink 1999-04-19 18:41:43 +00:00
bienvenu%netscape.com cdbcefa255 make protocol use imapMailFolder header parse stuff when getting headers 1999-04-19 02:13:23 +00:00
bienvenu%netscape.com d031dfa689 get set up for folder parsingof msg headers 1999-04-17 03:40:14 +00:00
jefft%netscape.com 4fea958db6 minor change to prevent memory leaks 1999-04-16 23:25:06 +00:00
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
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