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

744 Коммитов

Автор SHA1 Сообщение Дата
ramiro%netscape.com e8ba593918 Cleanup the neckutil linking thing. 1999-09-15 02:15:11 +00:00
jefft%netscape.com a46c88cc36 fixed bug 13574 -- use stream converter instead of temp file for reply quoting 1999-09-15 02:13:04 +00:00
bienvenu%netscape.com 1120b750bf add folder loaded notifications 1999-09-15 00:59:03 +00:00
briano%netscape.com 107d63133d General cleanup. 1999-09-14 23:27:55 +00:00
sspitzer%netscape.com 532077a63a when you get the default local path, and it wasn't set, and you make one up, you need to set it so the pref will get set. 1999-09-14 08:32:58 +00:00
mscott%netscape.com 836811052d the imap server sink is now blocking so in ProcessCurrentUrl we would block when
calling LoadNextQueuedUrl which in turn signaled a url ready to run monitor. When it was non-blocking
things used to work fine because we had time to get into the wait for monitor code but now we aren't getting
there. So we're getting around the problem by flagging ourselves as ready to run another url.

This problem manifested itself when we started loading a message right after deleting one in the thread pane.
1999-09-14 06:55:42 +00:00
mscott%netscape.com c78cbd3590 api sync for fetch message. 1999-09-14 05:35:58 +00:00
mscott%netscape.com 6e65073df4 Bug #9593, #13674 --> implement save message to disk. i also added added a helper function: DecomposeImapURI, optimized some lines to use nsCAutoString
fixed a few mem leaks where we would leak an imap url...enforced
 com ptr useage for nsIImapUrl. FetchMessage no longer requires the sink event queue...as an interface
simplification, we can just figure it out ourselves..
1999-09-14 05:35:40 +00:00
mscott%netscape.com 1b540788e4 Bug #9593 --> make the old display code turn into save msg to disk code 1999-09-14 05:34:54 +00:00
mscott%netscape.com 36e025a0cd add save message to disk action. 1999-09-14 05:34:04 +00:00
mscott%netscape.com 34b9cbbd43 Bug #9593 --> implement save message to disk. i also added added 1999-09-14 05:33:55 +00:00
mscott%netscape.com 4c124c3dc1 Bug #9593 --> SetupMsgWriteStream needs to know the file name of the file we should write the message to. Use this value instead of "tempMessage.eml" 1999-09-14 05:33:35 +00:00
bienvenu%netscape.com 3456144dd5 break out UpdateFolder method from GetMessages 1999-09-14 04:02:34 +00:00
sspitzer%netscape.com b6a9d0a97f make the defaultLocalPath attribute of the nsIMsgProtocolInfo interface NOT read only. when we do pref migration, I have to call the setter (which will set the pref for me) 1999-09-14 03:16:02 +00:00
bienvenu%netscape.com e5f0aba605 use server key instead of host username when finding imap folders, fixes folder discovery after migration bug 1999-09-14 02:23:56 +00:00
alecf%netscape.com e4e52250a7 register imap protocol info progid 1999-09-14 00:15:08 +00:00
alecf%netscape.com ddab31885b implement nsIMsgProtocolInfo in nsImapService 1999-09-13 23:51:16 +00:00
bienvenu%netscape.com c838ec9958 one more try to create imap parent directories 1999-09-13 05:27:20 +00:00
jfrancis%netscape.com c2e69d3f1c temp build fix - bienvenu needs to fix this for real 1999-09-13 01:24:09 +00:00
bienvenu%netscape.com 8f3a014420 fix mac build bustage 1999-09-12 22:58:43 +00:00
bienvenu%netscape.com a58a7b9307 create parent directories if they don't exist 1999-09-12 21:35:30 +00:00
bienvenu%netscape.com 254d9aff06 fix solaris build bustage 1999-09-12 18:34:26 +00:00
bienvenu%netscape.com 41e8dfb284 pass uid of message read to finish message loading notification 1999-09-12 18:27:19 +00:00
bienvenu%netscape.com d9762ab44c move message sink to idl 1999-09-12 17:49:08 +00:00
bienvenu%netscape.com 741212ca90 remove 1999-09-12 17:47:25 +00:00
bienvenu%netscape.com 1e341e3364 add nsIImapMessageSink 1999-09-12 17:46:36 +00:00
bienvenu%netscape.com aaf522307b added files: mozilla/mailnews/imap/public/nsIImapMessageSink.idl 1999-09-12 17:45:42 +00:00
bienvenu%netscape.com c462c7fc46 add idl for message sink not part of ubild yet 1999-09-12 17:31:23 +00:00
cls%seawood.org a87b20551f Fix my bustage using -D_BSD_SOURCE 1999-09-12 17:15:57 +00:00
mscott%netscape.com 5a157ddb69 fix build breakage across the board 1999-09-12 06:30:02 +00:00
mscott%netscape.com 0896391d29 Fix build breakage across the board! 1999-09-12 06:29:36 +00:00
mscott%netscape.com 8618ecb91d Just to be safe, include nsIPrincipal.h 1999-09-12 05:51:17 +00:00
mscott%netscape.com c575c7b3f7 api sync change. 1999-09-12 05:17:38 +00:00
mscott%netscape.com 3376716b0b Implement the mock channel class.
Part of Bug #10933 which improves message display performance.
Run message display urls through the webshell.
1999-09-12 05:17:05 +00:00
mscott%netscape.com ba15590c6c Lots of interface method clean up so we don't pass around so much stuff.
Fully support nsIProtocolHandler as part of Bug #10933 which improves message display performance.
Run message display urls through the webshell.
1999-09-12 05:16:32 +00:00
mscott%netscape.com 002d077247 support accessors for getting/setting a mock channel on the url. 1999-09-12 05:15:44 +00:00
mscott%netscape.com f9613a88a9 Remove url listener from CreateAndRunImapUrl. 1999-09-12 05:15:20 +00:00
mscott%netscape.com 5eb4e7be79 Add accessor for setting the mock channel as part of Bug #10933. 1999-09-12 05:14:57 +00:00
mscott%netscape.com d5b4b05af0 Remove RunImapUrl as this shouldn't be exposed in an interface. 1999-09-12 05:14:31 +00:00
mscott%netscape.com bc05e3623a Clean up interface for running an imap url...no need to pass in a url listener. 1999-09-12 05:13:51 +00:00
mscott%netscape.com 1440c66c0d add nsIImapMockChannel CID and registration code. 1999-09-12 05:13:04 +00:00
mscott%netscape.com 1b7329019e Build nsIImapMockChannel.idl 1999-09-12 04:54:13 +00:00
mscott%netscape.com 8d83096153 export nsIImapMockChannel.idl 1999-09-10 23:08:50 +00:00
mscott%netscape.com d032f78f02 Export nsIImapMockChannel.idl. 1999-09-10 23:00:16 +00:00
mscott%netscape.com 5f07f28390 First checked in. a mock channel is the channel we are going to return to necko when
they ask for a channel on a url.
1999-09-10 22:58:51 +00:00
bienvenu%netscape.com ac9916a68b cache imap string bundle, fix crash deleting messages 1999-09-09 22:19:16 +00:00
warren%netscape.com 40ed9d6ad2 Removed NS_BASE_STREAM_EOF in favor of returning a count of 0 from Read to indicate EOF. Renamed GetLength to Available. Fixed a number of places where AppendElement's broken error code wasn't checked. 1999-09-09 22:05:05 +00:00
sspitzer%netscape.com 8457354b34 do some clean up in preperation of migrating the fcc prefs. (for bug #10583)
change the newsrcFilePath attribute to be a nsIFileSpec, instead of a string.(bug #13306)
add code to do hashing of hostname. [not turned on yet].  (for bug #13480)
remove the obsolete GetRootFolderPath() code from the incoming servers.
1999-09-09 21:17:32 +00:00
alecf%netscape.com 22703b41c3 change nsIMsgIncomingServer->SetLocalPath/GetLocalPath to be an nsIFileSpec instead of a string 1999-09-09 04:11:38 +00:00
bienvenu%netscape.com 6a9a7b2aa4 fix purify errors and memory leaks 1999-09-08 23:01:20 +00:00
bienvenu%netscape.com d05ec836b7 improve imap performance by not putting up same status msg or frequent percent progress 1999-09-08 18:55:22 +00:00
mscott%netscape.com c9c14b044d Bug #13029 --> clear the password if it is a bogus password 1999-09-08 18:47:48 +00:00
alecf%netscape.com 9ae45bd77f switch to using PR_TRUE/PR_FALSE and nsCRT routines, switch over XP_ASSERT, and use nsnull instead of nil 1999-09-08 03:39:53 +00:00
bienvenu%netscape.com 1889e2c61c remove more dead wood 1999-09-07 23:48:24 +00:00
bienvenu%netscape.com e1ff73f1f0 move more stuff into idl interfaces 1999-09-07 18:34:32 +00:00
bienvenu%netscape.com d99f4cbfdd move flag and uid state to idl 1999-09-06 18:11:24 +00:00
bienvenu%netscape.com 898f194209 added files: mozilla/mailnews/imap/public/nsIImapFlagAndUidState.idl 1999-09-06 18:10:07 +00:00
bienvenu%netscape.com 67a981adbb initial entry, not part of build yet 1999-09-06 18:06:59 +00:00
bienvenu%netscape.com 9461da2365 move some more methods to server sink 1999-09-05 22:32:41 +00:00
bienvenu%netscape.com e4ffe365e2 more filling out of missing imap methods, use nsIThread... 1999-09-05 00:04:56 +00:00
sspitzer%netscape.com 534e99c143 make the nsIImapIncomingServer interface fully scriptable. none of that cheesy %{C++ crap for this interface. Also use the almighty NS_DECL_NSIIMAPINCOMINGSERVER macro the xpidl compiler generated for me. 1999-09-03 07:22:10 +00:00
sspitzer%netscape.com 2cbf6f9eac add the new idl to the mac project. 1999-09-03 07:01:39 +00:00
sspitzer%netscape.com 0db349427d introduce and use the UPGRADE_AND_CLEAR_*_PREF macros. this cleans up a lot of code. add a bunch of new attributes to the nsIImapIncomingServer interface, and the matching code to get and set these prefs. (examples, delete_model, offline_download, dual_use_folders, etc.) remove nsIImapIncomingServer.h, now we use nsIImapIncomingServer.idl. migrate all those new nsIImapIncomingServer attributes when migrating from 4.x to 5.0 1999-09-03 07:01:37 +00:00
sspitzer%netscape.com 3a210794d9 first pass at XPIDL-ifying nsIImapIncomingServer 1999-09-03 04:57:30 +00:00
jefft%netscape.com 8bbf5abf79 more bullet prove; check m_channel prior processing current url 1999-09-03 02:29:00 +00:00
bienvenu%netscape.com 0c7dcbfb74 more cleanup of unused routines, work on namespace stuff 1999-09-03 00:46:40 +00:00
cata%netscape.com 7754532498 Method name change. 1999-09-02 19:54:39 +00:00
bienvenu%netscape.com fca5addc43 force creation of imap directories 1999-09-02 01:38:07 +00:00
cata%netscape.com b200afe9c3 Fixing build warnings. Step 2: switch to use new method from the interface. 1999-09-01 22:57:29 +00:00
bienvenu%netscape.com e6fa733e48 basic folder undiscovery works, capabilities cached 1999-09-01 20:19:01 +00:00
jefft%netscape.com b37dfd2d1c fixed bug 12928 - Delete imap folder makes Trash disappear from the folder view 1999-09-01 20:06:25 +00:00
jefft%netscape.com f148c5748c fixed bug 12921, 12922 - duplicate folders in folder view 1999-09-01 05:42:02 +00:00
mscott%netscape.com 3110bc82ef Bug #8076/9836 --> use specialDirectory::OS_TemporaryDirectory to determine the directory to write tempMessage.eml out to. 1999-09-01 04:09:07 +00:00
ramiro%netscape.com 18b5e04d18 Cleanup linkin of mozdbm. 1999-08-31 14:31:50 +00:00
mscott%netscape.com 8f2820a928 password api synch 1999-08-31 04:43:29 +00:00
mscott%netscape.com d4595ec52c when getting pwd from the server, never try to bring up the UI when we are in the imap thread. use new
password methods on the server sink.
1999-08-31 04:42:49 +00:00
mscott%netscape.com 1e91989d48 user password code is now implemented on the server not on the folder... 1999-08-31 04:42:22 +00:00
mscott%netscape.com defe8a85a4 remove GetPasswordFromuser 1999-08-31 04:42:01 +00:00
mscott%netscape.com 977e458984 support prompt password method from nsIImapServerSink.idl 1999-08-31 04:41:43 +00:00
mscott%netscape.com 5b74502d45 Remove get user password stuff as this is now a method on the server. 1999-08-31 04:41:16 +00:00
mscott%netscape.com 9625ace715 Add prompt for password method. 1999-08-31 04:40:58 +00:00
bienvenu%netscape.com 37f9b9da7b more work on folder undiscovery 1999-08-31 03:12:16 +00:00
putterman%netscape.com 82d604a5a0 msgbaseutil.dll isn't 8.3 so change to msgbsutl.dll 1999-08-30 22:17:13 +00:00
bienvenu%netscape.com d23f6bff06 convert some interfaces to use nsisupports proxy 1999-08-29 18:27:30 +00:00
bienvenu%netscape.com b0efbb4e29 make incoming server implement nsIImapServerSink interface 1999-08-29 17:37:36 +00:00
bienvenu%netscape.com 20dacf7920 add alert methods to server sink 1999-08-29 17:35:43 +00:00
bienvenu%netscape.com ded778a670 add server sink idl 1999-08-28 19:02:33 +00:00
ducarroz%netscape.com 57cf9bbd2c First Checked In. 1999-08-28 18:00:36 +00:00
bienvenu%netscape.com 7c8a97472b add server sink idl, not part of build 1999-08-28 15:54:13 +00:00
putterman%netscape.com 38cfb0cdd1 Only Top level folders are special folders. 1999-08-27 03:50:20 +00:00
rpotts%netscape.com 0085d83ab0 M9 BRANCH landing... 1999-08-26 22:45:55 +00:00
bienvenu%netscape.com 922a55a1b7 replace nsIEnumerator with nsISimpleEnumerator 1999-08-26 04:41:07 +00:00
mscott%netscape.com 8309a0f824 nsString updates --> nsString(eOneByte) --> nsCString 1999-08-25 23:20:10 +00:00
ramiro%netscape.com 7ee0e69965 Cleanup zlib cruft. 1999-08-25 14:39:53 +00:00
ramiro%netscape.com 5c9835cc68 Cleanup linking of libimg. 1999-08-25 13:37:11 +00:00
brendan%mozilla.org defeffaabd Massive spankage to capitalize C++ method and attribute name bindings, per
Architecture Item 6.3 (news://news.mozilla.org/37BA89CF.3823D6F9%40meer.net).
1999-08-25 05:26:25 +00:00
bienvenu%netscape.com e92b9a932b clean up method names, remove unused methods, start work on deleting non-discovered folders 1999-08-25 01:18:42 +00:00
ramiro%netscape.com ec21b9ecbc Set the timer lib flags in one place. 1999-08-24 14:54:59 +00:00
bienvenu%netscape.com bfa561f68f get rid of DOING_FILTERS #define 1999-08-24 04:23:31 +00:00
mccabe%netscape.com a900e17559 Replace declarations of interface methods in implementation classes with xpidl-generated NS_DECL_NSIFOO.
Remainder of the netwerk portion of the NS_DECL_NSIFOO spam.
1999-08-22 23:52:07 +00:00
mscott%netscape.com df8d6855e0 return NS_ERROR_NOT_IMPLEMENTED for some of the channel interface implementations 1999-08-22 22:58:40 +00:00
mscott%netscape.com 15f43bccd9 Remove unnecessary windows.h include which was used to get InterlockedIncrement for threadsafe interfaces. I fixed the
implementation of threadsafe addref and release for windows to notrequire it so people no longer need to include windows.h whenever
you are using a threadsafe interface.
1999-08-22 22:57:50 +00:00
ramiro%netscape.com 56b62f3790 Cleanup the jsdom and jsurl linking mess. 1999-08-22 11:05:45 +00:00
ramiro%netscape.com 2c19866af3 cleanup linking of libmozreg. 1999-08-21 15:41:53 +00:00
alecf%netscape.com 44017e0d56 stop using mDepth, use IsServer instead 1999-08-21 01:01:10 +00:00
bienvenu%netscape.com 5bd79f1776 add some db commits since we're not closing db's correctly 1999-08-19 22:23:54 +00:00
bienvenu%netscape.com 40513be898 land new folder and rename for jefft 1999-08-19 19:52:51 +00:00
sspitzer%netscape.com ed89a74f16 fix #8364. this gets rid of a really annoying assert on the Mac when using IMAP. 1999-08-18 02:27:17 +00:00
bienvenu%netscape.com 802c5c8816 more progress and status and alert handling + password prompts 1999-08-18 02:03:43 +00:00
ramiro%netscape.com 6eeeaf7730 Fix for -lpref linking problems. Dont link with libpref, its not needed. 1999-08-18 00:27:50 +00:00
ramiro%netscape.com ee33c47ded Link in secfree dynamically only where needed. 1999-08-17 15:46:57 +00:00
ramiro%netscape.com 04349cdd68 Link expat and xmltok into the htmlparser statically. Not into the app. 1999-08-17 12:46:23 +00:00
bienvenu%netscape.com 9b841e5033 part of fix for 11651 fix memory leak of status msg a=chofmann 1999-08-13 21:43:08 +00:00
bienvenu%netscape.com 9459717a13 part of fix for 11651 print out status msgs with args a=chofmann 1999-08-13 21:41:57 +00:00
warren%netscape.com d944d70a84 Fix for bug 7682: StringBundle can't load URLs from imap thread. 1999-08-13 00:43:48 +00:00
jefft%netscape.com 2d6f1870c9 enabled RenameFolder() 1999-08-11 04:54:48 +00:00
jefft%netscape.com 4576437669 fixed linux build bustage 1999-08-11 01:00:57 +00:00
jefft%netscape.com d04209e2b8 enabled imap Delete Folder move to Trash and background work for Rename Folder & Subscription 1999-08-11 00:17:15 +00:00
mscott%netscape.com a7dd00b829 We weren't creating the socket transport from the correct thread. We were
doing it from LoadUrl which is in the ui thread. Necko makes assumptions
about what event queue to use for pumping notification messages based on
the current thread when you create the socket. So I moved this code
into ProcessCurrentUrl which lives in the imap connectoin thread.
Also fixed a big problem where we would wait on a monitor but waiting
was preventing messages from getting pumped which prevented ODA from
being called. So the monitor could never get notified. The fix is to
timeout of the PR_Wait and pump message events. We can then check a
flag to see if messages are being pumped.
1999-08-10 23:18:37 +00:00
mscott%netscape.com 87dda9f5e1 Until I can fix a threading problem...be sure to open the socket from the ui thread so events get pumped on the ui thread. 1999-08-10 18:32:34 +00:00
mscott%netscape.com 9711c8df32 synch up apis. 1999-08-10 18:18:56 +00:00
mscott%netscape.com 14f702cb04 Changes to reflect the fact that GetServer is a method on nsIMsgMailNewsUrl now. 1999-08-10 18:18:41 +00:00
mscott%netscape.com c340850f3c remove GetServer implementation...it's now done in the base url class 1999-08-10 18:18:16 +00:00
hangas%netscape.com 3b674936da First Checked In. 1999-08-10 18:05:04 +00:00
sspitzer%netscape.com 338f1519e1 ignore generate Makefile 1999-08-10 05:11:59 +00:00
alecf%netscape.com 029a406afa fix unused variable 1999-08-10 04:04:58 +00:00
bienvenu%netscape.com f9e18a8b4e add subscribe and unsubscribe methods 1999-08-10 03:29:22 +00:00
alecf%netscape.com 576bc98ae1 IMAP doesn't need nsImapURI2Name anymore 1999-08-10 00:52:59 +00:00
alecf%netscape.com 2c821c57bc IMAP doesn't need it's own implementation of GetName 1999-08-10 00:47:44 +00:00
alecf%netscape.com 14068dc6b9 fix uninitialize variable 1999-08-09 23:28:27 +00:00
jefft%netscape.com 4ec8e8b82d added DeleteFolder() 1999-08-09 23:21:25 +00:00
jefft%netscape.com 0a6cd043f5 added InTrash() & DeleteSubFolders() 1999-08-09 23:20:24 +00:00
jefft%netscape.com cdcf6b93ac added DeleteFolder() 1999-08-09 23:15:06 +00:00
bienvenu%netscape.com 404e16da1f add imap msgs to build 1999-08-09 21:19:47 +00:00
bienvenu%netscape.com e0f8d8fb50 clean up resource export for imap, not part of build yet 1999-08-09 20:21:59 +00:00
bienvenu%netscape.com e89954cd01 change location of imap string bundle 1999-08-09 01:21:52 +00:00
bienvenu%netscape.com 757cc44eec make files for imap msgs, not part of build yet 1999-08-09 00:41:15 +00:00
bienvenu%netscape.com b49c872963 add discovering mailbox message 1999-08-08 19:40:55 +00:00
bienvenu%netscape.com 6b5a784463 more solaris bustage 1999-08-07 04:03:46 +00:00
bienvenu%netscape.com d2f3371862 fix next solaris bustage 1999-08-07 03:43:06 +00:00
bienvenu%netscape.com 3653ea8d06 get rid of nsString2 1999-08-07 02:32:02 +00:00
bienvenu%netscape.com bbf4cffcd7 get rid of nsString2, more hooking up of status 1999-08-07 02:30:11 +00:00
alecf%netscape.com d1b778a237 don't crash when mDatabase is null 1999-08-07 00:45:04 +00:00
jefft%netscape.com bee11b6fdb remove summary file prior trash all messages 1999-08-06 21:03:59 +00:00
jefft%netscape.com b73bf1eea4 enable imap empty trash folder 1999-08-06 18:25:43 +00:00
jefft%netscape.com 56a02adde8 enabled Compact This Folder command; implemented MoveFolder(), RenameLeaf() methods 1999-08-06 13:43:49 +00:00
mscott%netscape.com 15575ebd56 Fix some warnings. 1999-08-05 23:16:20 +00:00
mscott%netscape.com 98f587de23 Fix lots of unix warnings. 1999-08-05 23:12:59 +00:00
bienvenu%netscape.com 669076ab98 add statusFeedback to SelectFolder call, way to get running imap url from imap protocol 1999-08-05 23:08:35 +00:00
sspitzer%netscape.com fdcbe50278 use /tmp instead of /usr/tmp. /tmp should always be there, where /usr/tmp will not be. eventually, this will go away anyways. 1999-08-05 22:43:15 +00:00