Commit Graph

929 Commits

Author SHA1 Message Date
dougt%netscape.com
528b809112 Including nsString.h directly. It is included indirectly by nsFileSpec. This
prep work for the nsIFile landing.
2000-01-03 23:16:47 +00:00
rpotts%netscape.com
c9377dd1ab fix to prevent a crash when displaying IMap messages... nsXULDocument::StartDocumentLoad(...) calls GetOriginalURI(...) which returned null - this was bad. 1999-12-29 04:58:46 +00:00
bienvenu%netscape.com
158dfd5122 performance enhancement for deleting messages and diddling flags,r=jefft,mscot,ta=syd 1999-12-22 04:32:18 +00:00
bienvenu%netscape.com
199c7dc97f fix progress for msg load, slight performance tweak,r=mscott,a=syd 1999-12-22 04:30:35 +00:00
sspitzer%netscape.com
e8a4061a40 warnings fixes, and fix for #21901, all password dialogs to have titles
if the user passes one in, or use "Password" if they pass null.
1999-12-21 23:03:29 +00:00
jefft%netscape.com
624d8a50ea fixed bug 21670 -- read mail crashes on particular message (HP-UX); r=mscott,a=chofmann 1999-12-20 14:54:17 +00:00
alecf%netscape.com
fe72f1219a move GetPath/SetPath into a base class, combining all the .sbd directory creators. reduces calls to FindServer() by about 2 calls per folder
r=sspitzer
a=chofmann
1999-12-18 01:09:51 +00:00
bienvenu%netscape.com
b6affc07ea fix 19229, imap hierarchy separator,r=jefft,a=chofmann 1999-12-17 03:06:42 +00:00
bienvenu%netscape.com
a0423f36a7 fix problem applying multiple imap filter hits r=mscott,a=chofmann 21435 1999-12-13 02:24:13 +00:00
bienvenu%netscape.com
7eba3ad2da fix for stop in mailnews,r=mscott,a=chofmann 18242 1999-12-12 01:23:26 +00:00
bienvenu%netscape.com
91c22f9f57 fix imap reply quoting, r=mscott,a=chofmann 21217 1999-12-09 02:19:30 +00:00
bienvenu%netscape.com
49f8f78d79 fix problem with extra .msf tacked on db names for imap r=mscott 1999-12-07 22:04:12 +00:00
bienvenu%netscape.com
b4e61f2f13 fix msf file names for imap folders with illegal characters, r=mscott 20324 1999-12-07 05:51:53 +00:00
jefft%netscape.com
1438c6a790 possibly fix bug 20230, save template requires canonical line ending when uploading to an imap server; r=rhp; 1999-12-06 15:40:24 +00:00
sspitzer%netscape.com
862031a04c remove CanBeRenamed and CanCreateChildren. In most cases, these weren't
implemented or they were just stubs.  I added CanRename and CanCreateSubfolder
(which follow the naming convention, so we'll keep them) without knowing these were there.  I move over the additional logic for special folders (like INBOX, TRASH, etc) in CanBeRenamed to CanRename, and put the logic in one place, in nsMsgFolder::CanRename(), instead of in multiple places.  thanks to alecf for pointing out that CanBeRenamed and CanCreateChildren were already there.
1999-12-04 19:56:06 +00:00
warren%netscape.com
6af4802e75 Added buffer size parameters to NewChannel. Allows for optimization of amount of image data consumed. Bug #20408 1999-12-04 10:01:32 +00:00
alecf%netscape.com
79f24d5d40 move SetParent call to earlier in the subfolder creation process so that the folder has a parent much earlier. This allows us to benefit from the lazy URI parsing I just checked in.
r=sspitzer
just some cleanup work after the previous checkins to fix #20706
1999-12-04 03:08:03 +00:00
sspitzer%netscape.com
91d20aadc4 fix for #17402, stationary -> stationery.
r=alecf

major fixes for the new folder / rename folder / subscribe dialogs.
we no longer use an html select for the folder picker.
now we use cascading menu popups, like the copy and move menus.
this fixes a lot of bugs, and allows pre-flighting to finally work.

our folder data source has some new properies:
CanFileMessages, CanSubscribe, CanRename, and CanCreateSubfolders
we use these to determine what cascading menu to build, what to disable, etc.

also, nsMessenger::NewFolder() and nsMessenger::RenameFolder() were changes to
take a nsIRDFResource instead of a nsIDOMXULElement.  Before we were
passing through to the back end the selected xul element, now we pass
the resource in.

other cool side effects:
in the copy & move menus, you don't get the choice to file or copy to a server, on folders
in the rename dialog, you can't pick a server, on a folder
in the new folder dialog, you can't pick the imap inbox. (* more needs to be done here.)

bugs fixed: #14773, #14254, #20599, #20646
r=alecf

a couple bullet proofing fixes to prevent some crashes reported on fullcircle
r=bienvenu
1999-12-03 08:10:09 +00:00
bienvenu%netscape.com
4d6f4037a2 fix crash creating top level imap folder r=rhp, 20349 1999-12-03 06:31:08 +00:00
jefft%netscape.com
a4a163266a fixed bug 12929 & bug 20415 - imap rename/delete/move folder should reset the connection to authenticated state; imap empty trash didn't delete subfolders; r=bienvenu 1999-12-03 05:59:57 +00:00
alecf%netscape.com
36e9c23dd2 remove an unused header (no reviewer) - speeds up dependancy builds 1999-12-03 03:46:47 +00:00
alecf%netscape.com
abbd8c6507 missed another test 1999-12-02 07:37:23 +00:00
alecf%netscape.com
df62407466 mail architecture cleanup (no bug - emptying my tree before next week's closure)
- get rid of GetAccountManager call (it's now a service)
- move hacks GetCurrentIdentity and GetCurrentServer into the account manager for now
- eliminate these calls from nsMsgMailSession
- update all call sites (C++ and JS)
r=mscott
1999-12-02 06:59:28 +00:00
bienvenu%netscape.com
ff8f6ed9d1 fix assert creating uri's for imap sub-folders, r=mscott 1999-12-02 01:06:50 +00:00
buster%netscape.com
b3ed19480f trivial code cleanup, just removed webshell includes from files where they are not used. 1999-12-01 22:25:01 +00:00
sspitzer%netscape.com
45fc16c656 clean up in preparation for bug #14254. remove unused files. create
new string bundle (messenger.properties) for use by the messenger application
fix widgetglue.js to use the string bundle.  now we get the title of the
new folder / subscribe dialog from the string bundle.
also fix the problem where the new folder / subscribe dialog wouldn't open
if zero, or more than one server / folder were selected.
1999-11-30 22:57:42 +00:00
bienvenu%netscape.com
3d38e6fdfd fix newline in msg string, same as last check in for this directory, but the right file this time 1999-11-30 22:42:29 +00:00
mscott%netscape.com
e56bc19fdd small optimization for windows and Mac in CreatenewLineFromSocket.
implement AsyncOpen (a fake version) for imap protocol
1999-11-30 22:22:46 +00:00
bienvenu%netscape.com
ad0ba1d988 fix escaping of mailbox names, r=,mscott, part of 17681 1999-11-30 14:10:20 +00:00
warren%netscape.com
2db26922a6 Landing no_neckoutil2_branch. Bug #11159. Removes neckoutil_s.lib from build which helps beos and openvms. 1999-11-30 04:50:42 +00:00
dougt%netscape.com
f66be6c30c fix for 18078. r=mstoltz,warren 1999-11-30 00:32:43 +00:00
bienvenu%netscape.com
5a76d4c33c remove newline, fix 19128 spurious n in error msg 1999-11-29 20:57:29 +00:00
warren%netscape.com
96ec037ac6 Eliminated the libs build pass. 1999-11-28 03:05:01 +00:00
jefft%netscape.com
987cabcbc4 fixed bug 20063 -- Linux Save Message As Template not working with correct line endings; r=mscott 1999-11-26 22:37:03 +00:00
mscott%netscape.com
da43e82a45 Bug #19955 --> QI was incorrectly going to nsmsgFolder if it couldn't handle it
instead of going to nsMsgDBFolder
r=alecf
1999-11-24 00:38:35 +00:00
putterman%netscape.com
e71f346f0f Work on making folder pane look like spec. Fixes 17841. Reviewed by alecf. 1999-11-22 22:08:23 +00:00
jefft%netscape.com
8d9b71b7d5 fixed Mac compilation warnings; rv=binenvenu; remove obsoleted private method, AddSubfolder 1999-11-22 14:43:19 +00:00
jefft%netscape.com
d12796ae31 fixed bug 17765 - Rename not implemented for Pop3, bug 19097 -- copying messages cause corrupted messages if the message size is greater than 4 k; r=putterman; make sure all children node were deleted when rename a folder, also rename the directory if it has subfolders; added m_leftOver to keep tracking partial completed line 1999-11-19 14:39:05 +00:00
warren%netscape.com
59ef7fadbf Removed the nsICapabilities interface in favor of nsIInterfaceRequestor. 1999-11-18 07:36:41 +00:00
warren%netscape.com
34ecf73507 Necko API and implementation changes for retargeting. Needed for URL dispatching. r=mscott 1999-11-17 08:14:52 +00:00
bienvenu%netscape.com
b18dd910ba fix memory leak in canonical folder path, r=jefft 1999-11-16 02:43:50 +00:00
bienvenu%netscape.com
58ef34a7cf fix problem with not reporting server error messages, r=jefft 11970 1999-11-16 02:43:17 +00:00
bienvenu%netscape.com
226efe3505 fix filters firing on read message, r=mscott, 17838 1999-11-12 01:29:26 +00:00
jefft%netscape.com
ebc03cdbf6 fixed bug 6904 -- Close() to implicit expunge deleted messages when in delete is move to the trash mode; this only happened when we shutdown the app; r=bienvenu 1999-11-11 15:46:22 +00:00
putterman%netscape.com
38dfa802ce Work on 12846 for making message threads work. Reviewed by bienvenu. 1999-11-11 00:23:29 +00:00
bienvenu%netscape.com
95d1852e05 hook up pseudo interruption, r=jefft 15012 1999-11-11 00:04:45 +00:00
bienvenu%netscape.com
4675215f31 fix build warnings 1999-11-10 04:05:16 +00:00
bienvenu%netscape.com
40c59e9339 more work on imap pending counts,r=jefft 1999-11-10 00:42:55 +00:00
sspitzer%netscape.com
c55085fe75 add bulletproofing for bug #15093. bug still exists, but this code and assertion is needed. 1999-11-10 00:14:29 +00:00
dmose%mozilla.org
142ac52eaf updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
gagan%netscape.com
df88140573 Modified the call to match the new signature of CreateTransport. a=mcafee. 1999-11-03 08:52:04 +00:00
mscott%netscape.com
b1e4d518d2 work around for Bug 17065
for bienvenu
r=mscott
1999-11-03 07:53:44 +00:00
mscott%netscape.com
debee8018a Some work arounds to HIDE Bug #17065 which causes us to hang when parsing large imap folders on linux.
WE still have the problme where the ui thread is stealing events from the imap thread and processing them
on the ui thread.

We're just working around it so folks can use linux imap mail. This code was jointly written with bienvenu.

r=bienvenu/mscott
1999-11-03 07:52:45 +00:00
alecf%netscape.com
5b487df4b2 fix for #17214 - consolidate all username and hostname handling so that escaping/unescaping happens logically 1999-11-03 07:16:59 +00:00
warren%netscape.com
d3b9c9c3cc Structural changes for MakeAbsolute performance. bug#10736 r=valeski 1999-11-03 05:13:44 +00:00
bienvenu%netscape.com
67dc096258 remove the imap channel from the load group when finished running r=mscott 1999-11-02 23:22:29 +00:00
bienvenu%netscape.com
fbbac1c0dc more work to hook up stop button, r=mscott 17743 1999-11-02 21:36:59 +00:00
bienvenu%netscape.com
9ba6e2321b fix updating of folders after imap/moves r=mscott bug 12491 1999-11-01 01:10:08 +00:00
jefft%netscape.com
3b635bea72 fixed bug 12131 -- message counts not updated after a move/copy; call UpdateFolder() after move/copy is done; r=bienvenu 1999-10-29 22:28:55 +00:00
bienvenu%netscape.com
075caf0152 changes to use nsIMsgWindow r=putterman 1999-10-29 04:39:06 +00:00
bienvenu%netscape.com
b005697e20 fix race condition opening imap folder r=mscott, build stopper 1999-10-27 19:15:20 +00:00
warren%netscape.com
f50d3df7c0 Added nsIChannel::GetOriginalURI so that we can get back to the original chrome file (bug#17144). r=rpotts,mscott 1999-10-26 09:16:24 +00:00
jefft%netscape.com
d7e36bdecd fixed bug 17176 -- [DOGFOOD] [Reqression] Can't save attachment; we are not generating message uri correctly; r=mscott 1999-10-26 00:07:27 +00:00
mscott%netscape.com
8028448766 Bug #16927 implement GetMessageUrlFromUri
r=sspitzer
1999-10-23 23:39:28 +00:00
alecf%netscape.com
4bd03fe287 start to consolidate URL and URI parsing into the base classes: remove a whole bunch of protocol-specific code in favor of generalization
basically, more fixes for #14437
r=scottip
1999-10-22 01:02:08 +00:00
mscott%netscape.com
2e67d0a2e9 Bug #16538 --> FetchMessage takes a stream listener and we should try to create a necko channel for the url,
and call AsyncRead on the channel, passing in the stream listener instead of trying to run the imap url
through the normal means. This fixes the problem where the channel wasn't properly initialized when
copying a imap message to a local folder.
r=jefft,bienvenu
1999-10-21 22:33:24 +00:00
bienvenu%netscape.com
62733bfe6a fix syncing of imap flags change to db r=mscott,16839 1999-10-21 22:23:25 +00:00
alecf%netscape.com
a33565470d clean up nsIMsgFolder API in preparation for fixing a number of bugs, most importantly #14437
r=scottip
1999-10-20 21:58:21 +00:00
mscott%netscape.com
3c940c6846 optimize nsImapBuildMessageURI to use a nsCAutoString. This saves us an extra allocation of the string later on.
r=sspitzer
1999-10-20 21:41:18 +00:00
bienvenu%netscape.com
40741f49b6 more memory leak fixes, r=mscott 1999-10-20 21:18:25 +00:00
bienvenu%netscape.com
cba2dfa027 fix memory leaks of uri's and a progress string r=mscott 1999-10-20 20:49:45 +00:00
bienvenu%netscape.com
300bf03a34 fix nsImapProtocol leaks r=mscott, no bug # 1999-10-19 21:24:31 +00:00
mscott%netscape.com
9518826bba Bug #16394 --> no longer need to call intialize after creating a url
r=jefft
1999-10-17 20:04:59 +00:00
mscott%netscape.com
fcd8e0024b Bug #16394 --> extract user name from the url spec. Don't force us to pass it in on initialize.
r=jefft
1999-10-17 20:04:40 +00:00
mscott%netscape.com
6aa84d05a2 Bug #16394 --> Initialize now has no arguments.
r=jefft
1999-10-17 20:04:08 +00:00
mscott%netscape.com
69ef2c9e61 Bug #16394 --> call Initialize function on url after we create one
r=jefft
1999-10-17 20:03:37 +00:00
bienvenu%netscape.com
86ed577bd4 fix memory leak of user name r=mscott 1999-10-16 22:44:55 +00:00
bienvenu%netscape.com
50c75cd694 fix shutdown leak by resetting host session list r=jefft 1999-10-15 21:35:55 +00:00
gagan%netscape.com
f1203c259d Fix for bug # 10333. Made webshell a progress event sink as well so that now it redirects all progress messages from necko land to the appropriate docloader observer. The hack to delete strings which are being received in the status messages is a work around the current limitation of the proxy event code. When bug # 16273 is fixed that delete wont be necessary. In fixing this I also noticed that the nsFileTransport wasn't using the proxy events and was incorrectly firing status messages directly onto the UI thread. Fixed that as well. r=rpotts,warren 1999-10-13 10:24:12 +00:00
mscott%netscape.com
9f622a5a7d make sure the user name goes into outgoing imap urls that we make
Bug #16263 --> implement NewURI so we can view embedded images!
r=sspitzer
1999-10-13 05:21:08 +00:00
mscott%netscape.com
325c1a107a Bug #16263 --> CreateListOfMessageIDStrings should look for '?' as the delimiter used by
mime for each message part instead of '&'.
r=sspitzer
1999-10-13 05:20:14 +00:00
mscott%netscape.com
6e9c861c93 Bug #16263 --> make nsGetImapServer public
r=sspitzer
1999-10-13 05:19:27 +00:00
sspitzer%netscape.com
8227e7bda9 fix for bug #14591, r=mscott.
handle the case where we migrate from 4.x and our sent folder is on the imap server.
but, since we haven't logged into the imap server yet, our folders are undiscovered.

other related fixes:
1) make it so on failure to fcc, save to draft, save to template, send later the message shows up.
2) clean up the error message strings
3) fix how we determine if an URI points to a local folder. (all we need to do is look at the scheme and see if it is "mailbox:"
4) remove a stale comment.
1999-10-13 04:12:06 +00:00
mscott%netscape.com
897ac92e73 we appeared to be leaking an rdf resource. I fixed this leak by using a nsCOMPtr.
r=sspitzer
1999-10-13 03:18:32 +00:00
dveditz%netscape.com
ff01d5e8f4 Fixing 8.3 library name problems, bugs 10355, 10359,10364, 10365, 10372, 11796, 11791. Checking in for cathleen, r=dveditz 1999-10-10 01:32:59 +00:00
tao%netscape.com
dfc5dc1b02 Move da-DK files to l10n/lang; r=leaf 1999-10-08 01:06:56 +00:00
tao%netscape.com
452378ee8a Move localized resource files to mozilla/l10n/lang. 1999-10-07 23:59:32 +00:00
jefft%netscape.com
33672e6f76 fixed bug 10801 -- [Featuure] Save Messages, bug 14794 - message sent from unsent folder display as raw message; we need to pay attention to where we want to save the message as template, if the message goes to the local mail folder we have to add the dummy envelope header plus the x mozilla status lines; when sending unsent messages we need to set from/sender information to pass the sanity check at the send time; reviewed by rhp 1999-10-07 14:27:11 +00:00
warren%netscape.com
8603974025 Added AsyncOpen to nsIChannel for URL dispatching. Added ContentLength to InputStreamChannel. (r=rpotts,valeski) 1999-10-06 08:26:01 +00:00
mscott%netscape.com
207c54ed3b Bug #15583 --> fix warning (unused variable)
r=sspitzer
1999-10-05 22:03:50 +00:00
jefft%netscape.com
97af25e48e fixed bug 9540, 10827, 11991 - copy news article failed on certain platforms; replacing CRLF to platform specific MSG_LINEBREAK; reviewed by mscott 1999-10-05 14:15:04 +00:00
mscott%netscape.com
2654838625 fix vc5.0 build......include nsISupportsArray before using a com ptr on it. 1999-10-05 06:56:12 +00:00
mscott%netscape.com
55830c8d88 Bug #11837 use NS_GENERIC_FACTORY_CONSTRUCTOR, remove NS_New**
r=sspitzer
1999-10-05 05:46:20 +00:00
mscott%netscape.com
054da20a5c Bug #11837 use NS_GENERIC_FACTORY_CONSTRUCTOR for our components
the factory should cache nsIGenericFactory objects for each
component we know how to produce.
r=sspitzer
1999-10-05 05:45:07 +00:00
mscott%netscape.com
e5aaf41ad5 Bug #11837 --> in order to use NS_GENERIC_FACTORY_CONSTRUCTOR the
class declaration needs to be in the header file. Removing old NS_New*
method in favor of NS_GENERIC_FACTORY_CONSTRUCTOR.
r=sspitzer
1999-10-05 05:44:41 +00:00
sspitzer%netscape.com
e3cdd7da27 a bunch of changes, all reviewed by mscott.
fix some bugs with next, back, and cancel in the profile manager.
(#15223, #15271)
re-write all callers of nsProfile::GetCurrentProfileDir() to use the file locator.
(#15063)
more profile code clean up. (#15042)
rename the old 4.x history.dat file.  it's called history.dat in 5.0, but the file
formats are different.  (binary in 4.x, vs mork in 5.0)
1999-10-05 04:12:58 +00:00
alecf%netscape.com
1ecd2e3371 exorcism of net.h from IMAP
r=mscott
1999-10-04 23:53:56 +00:00
mscott%netscape.com
1069c88868 Bug #11837 --> rewrite the imap factory to use nsIModule. This meant adding appropriate factory methods to the components.
r=bienvenu
1999-10-04 00:29:18 +00:00
mscott%netscape.com
d8006bc36f Bug #11837 --> rewrite the imap factory to use nsIModule.
r=bienvenu
1999-10-04 00:27:42 +00:00
beard%netscape.com
9eae33066d changed from directly using "MSL DropInRuntime.Lib" to using "NSComponentStartup.o" to enable GC leak detector. r=smfr 1999-10-03 20:46:23 +00:00
valeski%netscape.com
d66cd6ac49 15300 r=warren. Changed NS_NewThread api to default to PR_UNJOINABLE_THREAD, also added new NS_NewThread() function so you don't have to combine the runnable w/ thread creation. added threads to xpcom init so you can create them w/ the com mgr. 1999-10-01 23:30:06 +00:00
bienvenu%netscape.com
fd63be5bc1 fix memory leak of hostname 1999-09-30 01:45:20 +00:00
bienvenu%netscape.com
5f056b6037 add method to shut down connections 1999-09-30 01:44:30 +00:00
jefft%netscape.com
0d7587bd28 implemented forward messages as attachments & inline; a=mcafee 1999-09-29 20:43:50 +00:00
bienvenu%netscape.com
bdbeecff29 for mscott fix memory leaks of imap urls 15088 r=bienvenu, a=chofmann 1999-09-28 21:50:04 +00:00
bienvenu%netscape.com
8b02e4c762 fix purify error in imap startup bug #14724 a=chofmann 1999-09-27 20:04:34 +00:00
mscott%netscape.com
0df4028173 GetPasswordWithUI takes a prompt string to give the protocols finer control over the actual text that goes with the dialog 1999-09-22 06:02:46 +00:00
bienvenu%netscape.com
34c96e8d3d fix race condition with fe events 1999-09-22 04:16:41 +00:00
tao%netscape.com
41a531de2a Add da-DK property file. 1999-09-22 02:34:41 +00:00
alecf%netscape.com
fa0ee6edae turn the password back into an attribute so I can access it from HTML forms.
Created new GetPasswordWithUI which is the equivalent of getpassword(PR_TRUE..)
1999-09-22 02:21:18 +00:00
alecf%netscape.com
8651c3c335 don't link against mozjs anymore 1999-09-22 02:20:12 +00:00
mscott%netscape.com
98097f2f1d Bug #13798 --> Fix imap freezing the mac. 1999-09-21 05:12:15 +00:00
chjung%netscape.com
745088c61a [chjung 990920] add localization notes 1999-09-21 01:06:04 +00:00
tao%netscape.com
13f51b82bb 14384: [L12y] PLS remove locale name (en-US) from "imapMsgs_en-US.properties". 1999-09-21 00:50:13 +00:00
mscott%netscape.com
ea6db2ced0 we used to leak the first imap url that got run because we gave it
to the socket transport as a context. The socket transport hung onto
the url until the socket was actually closed. It turns out we don't
need to pass the url in anyway since we always know what the current
url is. So by changing this to null, we now release the first imap url
we run as soon as it is done.
1999-09-21 00:40:50 +00:00
jefft%netscape.com
ffbed73cfa enabled SaveAttachment 1999-09-20 21:07:22 +00:00
jefft%netscape.com
2fd30a033c fixed linux build warning 1999-09-20 21:04:12 +00:00
bienvenu%netscape.com
f63920c9a2 fix busted imap by changing SetSpec to take a const char * 1999-09-20 16:32:00 +00:00
bienvenu%netscape.com
00c4532941 fix busted imap by changing SetSpec to take a const char * 1999-09-20 16:26:50 +00:00
mccabe%netscape.com
4f7990cd94 Fix to 7610. Modify xpidl compiler to add 'const' to the method signature for generated attribute setter methods for string, wstring and nsid attributes.
As this changed the generated interface signatures, I had to change all of the uses to avoid bustage.  Any corners of the browser that aren't built by default, or that I haven't discovered how to build, may be at risk of bustage if they use string or wstring attributes.  (This could mean blackwood; sorry, guys!)

Many thanks to Alec Flett (alecf@netscape.com) for preparing diffs for the mailnews portion of the signature changes; thanks also to Ariel Backenroth (arielb@rice.edu) and Mike Shaver (shaver@mozilla.org) for help with updating the tree with NS_DECL_NSIFOO macros; everwhere where one of these macros was used was one less place I had to manually add 'const'.

Also removed extraneous space from generated method signatures, leftover from Brendan's capitalization spam, and made 'const decl must be of type short or long' an error rather than just a warning.
1999-09-19 23:46:35 +00:00
bienvenu%netscape.com
4100bc0ee9 fix memory leaks and mismatched deletes 1999-09-18 18:58:15 +00:00
alecf%netscape.com
05e5230991 implement mapping from server.type to IID 1999-09-17 23:59:51 +00:00
putterman%netscape.com
a3e720e049 more performance work for loading folders without .msf files or that have to have
headers downloaded.
1999-09-17 23:12:44 +00:00
bienvenu%netscape.com
ece73a991c fix imap msg flagging 1999-09-17 20:13:42 +00:00
bienvenu%netscape.com
203340ed27 auto create inbox when building imap folder tree 1999-09-17 02:06:24 +00:00
bienvenu%netscape.com
1ab356ab31 start work on pseudo interruption, not hooked up yet 1999-09-16 23:30:46 +00:00
putterman%netscape.com
25ad829406 don't call UpdateFolder in GetnewMessages. 1999-09-16 21:08:47 +00:00
cls%seawood.org
cb3abff6ef Remove unnecessary -D_BSD_SOURCE now that __STRICT_ANSI__ is set in <prinet.h> 1999-09-16 14:50:19 +00:00
sspitzer%netscape.com
c5e68fac46 remove or comment out unused code. fix warnings. 1999-09-16 11:05:12 +00:00
sspitzer%netscape.com
540ba27ef7 fix warning 1999-09-16 11:04:26 +00:00
bienvenu%netscape.com
880466e384 fix race condition chaining imap urls 1999-09-16 01:32:43 +00:00
warren%netscape.com
7d5e565fd5 Factored file transport service out of file: protocol. 1999-09-16 01:16:22 +00:00
bienvenu%netscape.com
7e397a56e1 fix message size on imap 1999-09-16 00:15:50 +00:00
bienvenu%netscape.com
e46bfb5f59 start work on pseudo interruption for imap useability 1999-09-16 00:08:02 +00:00
warren%netscape.com
279545985d Adding includes for nsIThreadPool.h and nsIRunnable.h in anticipation of idl files. 1999-09-15 09:49:18 +00:00
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