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

966 Коммитов

Автор SHA1 Сообщение Дата
jefft%netscape.com dd8ea8e802 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 40a565e1d0 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 bf4ef9672f 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 8432d84d0f 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 eca3788d93 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 33ac52e69e fix crash creating top level imap folder r=rhp, 20349 1999-12-03 06:31:08 +00:00
jefft%netscape.com 97072a9b83 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 9117caea19 remove an unused header (no reviewer) - speeds up dependancy builds 1999-12-03 03:46:47 +00:00
alecf%netscape.com c4816e82aa missed another test 1999-12-02 07:37:23 +00:00
alecf%netscape.com 8dfb58e0e1 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 632b657826 fix assert creating uri's for imap sub-folders, r=mscott 1999-12-02 01:06:50 +00:00
buster%netscape.com faf0c7433f 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 b95351b8ff 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 ac54a8d4d6 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 cf50b0483a 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 2699358ae5 fix escaping of mailbox names, r=,mscott, part of 17681 1999-11-30 14:10:20 +00:00
warren%netscape.com a265a32348 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 1da7d3868d fix for 18078. r=mstoltz,warren 1999-11-30 00:32:43 +00:00
bienvenu%netscape.com 008b735acb remove newline, fix 19128 spurious n in error msg 1999-11-29 20:57:29 +00:00
warren%netscape.com 4ab4ee4d4e Eliminated the libs build pass. 1999-11-28 03:05:01 +00:00
jefft%netscape.com c0db98b3dc 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 74e0aaff82 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 534276c25c Work on making folder pane look like spec. Fixes 17841. Reviewed by alecf. 1999-11-22 22:08:23 +00:00
jefft%netscape.com 2f2c39b776 fixed Mac compilation warnings; rv=binenvenu; remove obsoleted private method, AddSubfolder 1999-11-22 14:43:19 +00:00
jefft%netscape.com 70159478c4 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 d8bbb844e6 Removed the nsICapabilities interface in favor of nsIInterfaceRequestor. 1999-11-18 07:36:41 +00:00
warren%netscape.com aaf83521f5 Necko API and implementation changes for retargeting. Needed for URL dispatching. r=mscott 1999-11-17 08:14:52 +00:00
bienvenu%netscape.com 59d66f3dd9 fix memory leak in canonical folder path, r=jefft 1999-11-16 02:43:50 +00:00
bienvenu%netscape.com d29516b0bc fix problem with not reporting server error messages, r=jefft 11970 1999-11-16 02:43:17 +00:00
bienvenu%netscape.com aa734d9ef2 fix filters firing on read message, r=mscott, 17838 1999-11-12 01:29:26 +00:00
jefft%netscape.com 1d2f7d1446 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 dbbbc837b6 Work on 12846 for making message threads work. Reviewed by bienvenu. 1999-11-11 00:23:29 +00:00
bienvenu%netscape.com 0ab4d46298 hook up pseudo interruption, r=jefft 15012 1999-11-11 00:04:45 +00:00
bienvenu%netscape.com 52ada2abc5 fix build warnings 1999-11-10 04:05:16 +00:00
bienvenu%netscape.com 08275ee4e5 more work on imap pending counts,r=jefft 1999-11-10 00:42:55 +00:00
sspitzer%netscape.com fbad7d4b14 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 8535dda53e 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 39c882802c Modified the call to match the new signature of CreateTransport. a=mcafee. 1999-11-03 08:52:04 +00:00
mscott%netscape.com 04d7d941a5 work around for Bug 17065
for bienvenu
r=mscott
1999-11-03 07:53:44 +00:00
mscott%netscape.com cb0180ac09 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 5914bd716a 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 813f9f7c13 Structural changes for MakeAbsolute performance. bug#10736 r=valeski 1999-11-03 05:13:44 +00:00
bienvenu%netscape.com 10a209dd10 remove the imap channel from the load group when finished running r=mscott 1999-11-02 23:22:29 +00:00
bienvenu%netscape.com 41638ccfc8 more work to hook up stop button, r=mscott 17743 1999-11-02 21:36:59 +00:00
bienvenu%netscape.com 144f4f791a fix updating of folders after imap/moves r=mscott bug 12491 1999-11-01 01:10:08 +00:00
jefft%netscape.com 03a7c2f9f9 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 62902479e8 changes to use nsIMsgWindow r=putterman 1999-10-29 04:39:06 +00:00
bienvenu%netscape.com f047a67dc5 fix race condition opening imap folder r=mscott, build stopper 1999-10-27 19:15:20 +00:00
warren%netscape.com 00dfd9d907 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 df1e881814 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 2bed8b10d1 Bug #16927 implement GetMessageUrlFromUri
r=sspitzer
1999-10-23 23:39:28 +00:00
alecf%netscape.com 40f011a9b6 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 75de9b6abe 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 802aa6850f fix syncing of imap flags change to db r=mscott,16839 1999-10-21 22:23:25 +00:00
alecf%netscape.com 0881139c13 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 44a8e9db7e 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 56a73b906e more memory leak fixes, r=mscott 1999-10-20 21:18:25 +00:00
bienvenu%netscape.com 64a98d39ca fix memory leaks of uri's and a progress string r=mscott 1999-10-20 20:49:45 +00:00
bienvenu%netscape.com 9eb780e6a2 fix nsImapProtocol leaks r=mscott, no bug # 1999-10-19 21:24:31 +00:00
mscott%netscape.com 5334999520 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 8e9152db22 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 f26d273428 Bug #16394 --> Initialize now has no arguments.
r=jefft
1999-10-17 20:04:08 +00:00
mscott%netscape.com 4dcfc1d91a Bug #16394 --> call Initialize function on url after we create one
r=jefft
1999-10-17 20:03:37 +00:00
bienvenu%netscape.com fc6692cfcd fix memory leak of user name r=mscott 1999-10-16 22:44:55 +00:00
bienvenu%netscape.com 72c73bdd12 fix shutdown leak by resetting host session list r=jefft 1999-10-15 21:35:55 +00:00
gagan%netscape.com 7f425f1145 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 c7d4f44fb2 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 aca6e1e632 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 a75d687417 Bug #16263 --> make nsGetImapServer public
r=sspitzer
1999-10-13 05:19:27 +00:00
sspitzer%netscape.com 811f8cad4c 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 bc791f5a85 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 2b60c91417 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 3fedc0502b Move da-DK files to l10n/lang; r=leaf 1999-10-08 01:06:56 +00:00
tao%netscape.com 567a311790 Move localized resource files to mozilla/l10n/lang. 1999-10-07 23:59:32 +00:00
jefft%netscape.com 42f3894089 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 d4f45caf5a 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 4cf1a0fa08 Bug #15583 --> fix warning (unused variable)
r=sspitzer
1999-10-05 22:03:50 +00:00
jefft%netscape.com 97960bda5c 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 c53981e8f0 fix vc5.0 build......include nsISupportsArray before using a com ptr on it. 1999-10-05 06:56:12 +00:00
mscott%netscape.com 4a1e6eecff Bug #11837 use NS_GENERIC_FACTORY_CONSTRUCTOR, remove NS_New**
r=sspitzer
1999-10-05 05:46:20 +00:00
mscott%netscape.com 6b4c99cb33 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 d151ce7934 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 06c28b31e7 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 da0580c2f3 exorcism of net.h from IMAP
r=mscott
1999-10-04 23:53:56 +00:00
mscott%netscape.com 8c733e1580 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 4fc2bee2dc Bug #11837 --> rewrite the imap factory to use nsIModule.
r=bienvenu
1999-10-04 00:27:42 +00:00
beard%netscape.com b547c2ffb0 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 a05208badc 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 ba5e149080 fix memory leak of hostname 1999-09-30 01:45:20 +00:00
bienvenu%netscape.com 4686098c7f add method to shut down connections 1999-09-30 01:44:30 +00:00
jefft%netscape.com 987b1259ec implemented forward messages as attachments & inline; a=mcafee 1999-09-29 20:43:50 +00:00
bienvenu%netscape.com e6f8e04402 for mscott fix memory leaks of imap urls 15088 r=bienvenu, a=chofmann 1999-09-28 21:50:04 +00:00
bienvenu%netscape.com 6656b9264a fix purify error in imap startup bug #14724 a=chofmann 1999-09-27 20:04:34 +00:00
mscott%netscape.com 7e4286734e 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 01861842ee fix race condition with fe events 1999-09-22 04:16:41 +00:00
tao%netscape.com 2e9ff94d6d Add da-DK property file. 1999-09-22 02:34:41 +00:00
alecf%netscape.com d43c79c0ac 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 14cda52d45 don't link against mozjs anymore 1999-09-22 02:20:12 +00:00
mscott%netscape.com d7f921d949 Bug #13798 --> Fix imap freezing the mac. 1999-09-21 05:12:15 +00:00
chjung%netscape.com 2567540c94 [chjung 990920] add localization notes 1999-09-21 01:06:04 +00:00
tao%netscape.com c7dd83a820 14384: [L12y] PLS remove locale name (en-US) from "imapMsgs_en-US.properties". 1999-09-21 00:50:13 +00:00
mscott%netscape.com 764122865d 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 007b95a59c enabled SaveAttachment 1999-09-20 21:07:22 +00:00
jefft%netscape.com 84dfe791cf fixed linux build warning 1999-09-20 21:04:12 +00:00
bienvenu%netscape.com 3b007b391c fix busted imap by changing SetSpec to take a const char * 1999-09-20 16:32:00 +00:00
bienvenu%netscape.com d0dc3e639a fix busted imap by changing SetSpec to take a const char * 1999-09-20 16:26:50 +00:00
mccabe%netscape.com 39e5fe6519 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 128c62f010 fix memory leaks and mismatched deletes 1999-09-18 18:58:15 +00:00
alecf%netscape.com fc98ec7e24 implement mapping from server.type to IID 1999-09-17 23:59:51 +00:00
putterman%netscape.com 61f529773f 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 96e61e0abb fix imap msg flagging 1999-09-17 20:13:42 +00:00
bienvenu%netscape.com a01091886c auto create inbox when building imap folder tree 1999-09-17 02:06:24 +00:00
bienvenu%netscape.com 1936c3a3ba start work on pseudo interruption, not hooked up yet 1999-09-16 23:30:46 +00:00
putterman%netscape.com 96b0189c52 don't call UpdateFolder in GetnewMessages. 1999-09-16 21:08:47 +00:00
cls%seawood.org 71540cf2cd 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 c6724260b6 remove or comment out unused code. fix warnings. 1999-09-16 11:05:12 +00:00
sspitzer%netscape.com 1879a2b56e fix warning 1999-09-16 11:04:26 +00:00
bienvenu%netscape.com cbdfd4caff fix race condition chaining imap urls 1999-09-16 01:32:43 +00:00
warren%netscape.com 48cf4685a9 Factored file transport service out of file: protocol. 1999-09-16 01:16:22 +00:00
bienvenu%netscape.com 8d71d5a2f1 fix message size on imap 1999-09-16 00:15:50 +00:00
bienvenu%netscape.com 8848751902 start work on pseudo interruption for imap useability 1999-09-16 00:08:02 +00:00
warren%netscape.com 0b7d06c326 Adding includes for nsIThreadPool.h and nsIRunnable.h in anticipation of idl files. 1999-09-15 09:49:18 +00:00
ramiro%netscape.com 26dd94b010 Cleanup the neckutil linking thing. 1999-09-15 02:15:11 +00:00
jefft%netscape.com b4ab87403d fixed bug 13574 -- use stream converter instead of temp file for reply quoting 1999-09-15 02:13:04 +00:00
bienvenu%netscape.com c1e85db743 add folder loaded notifications 1999-09-15 00:59:03 +00:00
briano%netscape.com fca4a5b565 General cleanup. 1999-09-14 23:27:55 +00:00
sspitzer%netscape.com fefd57f6a4 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 2c082d7502 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 658f9850c7 api sync for fetch message. 1999-09-14 05:35:58 +00:00
mscott%netscape.com 9655e3f0d4 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 422330e649 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 b405a1adea add save message to disk action. 1999-09-14 05:34:04 +00:00
mscott%netscape.com e673a98d05 Bug #9593 --> implement save message to disk. i also added added 1999-09-14 05:33:55 +00:00
mscott%netscape.com 34b1d61236 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 6a4ee199f9 break out UpdateFolder method from GetMessages 1999-09-14 04:02:34 +00:00
sspitzer%netscape.com 1a17a2ae0e 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 0fc524e80a 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 1d69e7e9db register imap protocol info progid 1999-09-14 00:15:08 +00:00
alecf%netscape.com d6afa0b61e implement nsIMsgProtocolInfo in nsImapService 1999-09-13 23:51:16 +00:00
bienvenu%netscape.com e0425a97a5 one more try to create imap parent directories 1999-09-13 05:27:20 +00:00
jfrancis%netscape.com 647507597f temp build fix - bienvenu needs to fix this for real 1999-09-13 01:24:09 +00:00
bienvenu%netscape.com de5b92bb5a fix mac build bustage 1999-09-12 22:58:43 +00:00
bienvenu%netscape.com f68b26e372 create parent directories if they don't exist 1999-09-12 21:35:30 +00:00
bienvenu%netscape.com 06183447bb fix solaris build bustage 1999-09-12 18:34:26 +00:00
bienvenu%netscape.com 7c0c68ad91 pass uid of message read to finish message loading notification 1999-09-12 18:27:19 +00:00
bienvenu%netscape.com da03306097 move message sink to idl 1999-09-12 17:49:08 +00:00
bienvenu%netscape.com 088a8fb750 remove 1999-09-12 17:47:25 +00:00
bienvenu%netscape.com 0a0258130a add nsIImapMessageSink 1999-09-12 17:46:36 +00:00
bienvenu%netscape.com e9c7a66979 added files: mozilla/mailnews/imap/public/nsIImapMessageSink.idl 1999-09-12 17:45:42 +00:00
bienvenu%netscape.com d3dc7de5ca add idl for message sink not part of ubild yet 1999-09-12 17:31:23 +00:00
cls%seawood.org 638ed48925 Fix my bustage using -D_BSD_SOURCE 1999-09-12 17:15:57 +00:00
mscott%netscape.com 2ecccfc7c6 fix build breakage across the board 1999-09-12 06:30:02 +00:00
mscott%netscape.com 140b9688aa Fix build breakage across the board! 1999-09-12 06:29:36 +00:00
mscott%netscape.com b0dda78eb3 Just to be safe, include nsIPrincipal.h 1999-09-12 05:51:17 +00:00
mscott%netscape.com 15a7c62d99 api sync change. 1999-09-12 05:17:38 +00:00
mscott%netscape.com 97b2e94b11 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 7eb5f1ce6b 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 533c98b1dc support accessors for getting/setting a mock channel on the url. 1999-09-12 05:15:44 +00:00
mscott%netscape.com f6bb5172d4 Remove url listener from CreateAndRunImapUrl. 1999-09-12 05:15:20 +00:00
mscott%netscape.com d36a75762b Add accessor for setting the mock channel as part of Bug #10933. 1999-09-12 05:14:57 +00:00
mscott%netscape.com 3e5fa8cf9f Remove RunImapUrl as this shouldn't be exposed in an interface. 1999-09-12 05:14:31 +00:00
mscott%netscape.com bb24005a60 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 82dc060392 add nsIImapMockChannel CID and registration code. 1999-09-12 05:13:04 +00:00
mscott%netscape.com e1f62117cf Build nsIImapMockChannel.idl 1999-09-12 04:54:13 +00:00
mscott%netscape.com 0f49b6685e export nsIImapMockChannel.idl 1999-09-10 23:08:50 +00:00
mscott%netscape.com c45f484de8 Export nsIImapMockChannel.idl. 1999-09-10 23:00:16 +00:00
mscott%netscape.com 23efec4a14 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 b00666144b cache imap string bundle, fix crash deleting messages 1999-09-09 22:19:16 +00:00
warren%netscape.com e6619b2ad6 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 a46fde7e27 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 8b5d86135c change nsIMsgIncomingServer->SetLocalPath/GetLocalPath to be an nsIFileSpec instead of a string 1999-09-09 04:11:38 +00:00
bienvenu%netscape.com d6c1259a30 fix purify errors and memory leaks 1999-09-08 23:01:20 +00:00
bienvenu%netscape.com 2df5db0a75 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 6efcd8767b Bug #13029 --> clear the password if it is a bogus password 1999-09-08 18:47:48 +00:00
alecf%netscape.com 5df398a06c 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 154ca1f641 remove more dead wood 1999-09-07 23:48:24 +00:00
bienvenu%netscape.com 704226651e move more stuff into idl interfaces 1999-09-07 18:34:32 +00:00
bienvenu%netscape.com 639e41f40d move flag and uid state to idl 1999-09-06 18:11:24 +00:00
bienvenu%netscape.com 960d7d8119 added files: mozilla/mailnews/imap/public/nsIImapFlagAndUidState.idl 1999-09-06 18:10:07 +00:00
bienvenu%netscape.com 2e03885452 initial entry, not part of build yet 1999-09-06 18:06:59 +00:00
bienvenu%netscape.com 39742a54f4 move some more methods to server sink 1999-09-05 22:32:41 +00:00
bienvenu%netscape.com da0e399946 more filling out of missing imap methods, use nsIThread... 1999-09-05 00:04:56 +00:00
sspitzer%netscape.com cc162134ed 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 a1243108b0 add the new idl to the mac project. 1999-09-03 07:01:39 +00:00
sspitzer%netscape.com 9a0e990108 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 956a1ca354 first pass at XPIDL-ifying nsIImapIncomingServer 1999-09-03 04:57:30 +00:00
jefft%netscape.com d4e836a6eb more bullet prove; check m_channel prior processing current url 1999-09-03 02:29:00 +00:00
bienvenu%netscape.com cada69bdb0 more cleanup of unused routines, work on namespace stuff 1999-09-03 00:46:40 +00:00
cata%netscape.com 5bb74b872e Method name change. 1999-09-02 19:54:39 +00:00
bienvenu%netscape.com 181f9b4609 force creation of imap directories 1999-09-02 01:38:07 +00:00
cata%netscape.com 88f5d6ecf4 Fixing build warnings. Step 2: switch to use new method from the interface. 1999-09-01 22:57:29 +00:00
bienvenu%netscape.com 1859948423 basic folder undiscovery works, capabilities cached 1999-09-01 20:19:01 +00:00
jefft%netscape.com 09e7d04414 fixed bug 12928 - Delete imap folder makes Trash disappear from the folder view 1999-09-01 20:06:25 +00:00
jefft%netscape.com 781bae54ba fixed bug 12921, 12922 - duplicate folders in folder view 1999-09-01 05:42:02 +00:00
mscott%netscape.com 4aa8c8a125 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 411c10dc89 Cleanup linkin of mozdbm. 1999-08-31 14:31:50 +00:00
mscott%netscape.com 7aac750157 password api synch 1999-08-31 04:43:29 +00:00
mscott%netscape.com d81053bf1e 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 0007738fb3 user password code is now implemented on the server not on the folder... 1999-08-31 04:42:22 +00:00
mscott%netscape.com 7b2cea9125 remove GetPasswordFromuser 1999-08-31 04:42:01 +00:00
mscott%netscape.com e6c2125bd0 support prompt password method from nsIImapServerSink.idl 1999-08-31 04:41:43 +00:00
mscott%netscape.com 359d8af07c 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 06d9067cf8 Add prompt for password method. 1999-08-31 04:40:58 +00:00
bienvenu%netscape.com 633195a339 more work on folder undiscovery 1999-08-31 03:12:16 +00:00
putterman%netscape.com 567160bb98 msgbaseutil.dll isn't 8.3 so change to msgbsutl.dll 1999-08-30 22:17:13 +00:00
bienvenu%netscape.com 721a97ae8f convert some interfaces to use nsisupports proxy 1999-08-29 18:27:30 +00:00
bienvenu%netscape.com e05bed7aab make incoming server implement nsIImapServerSink interface 1999-08-29 17:37:36 +00:00
bienvenu%netscape.com 96d0f828dd add alert methods to server sink 1999-08-29 17:35:43 +00:00
bienvenu%netscape.com 5896555654 add server sink idl 1999-08-28 19:02:33 +00:00
ducarroz%netscape.com a5c6c20cfa First Checked In. 1999-08-28 18:00:36 +00:00
bienvenu%netscape.com 0cd8e38190 add server sink idl, not part of build 1999-08-28 15:54:13 +00:00
putterman%netscape.com 3aed484bb4 Only Top level folders are special folders. 1999-08-27 03:50:20 +00:00
rpotts%netscape.com 3ed5c99db2 M9 BRANCH landing... 1999-08-26 22:45:55 +00:00
bienvenu%netscape.com 57247bc224 replace nsIEnumerator with nsISimpleEnumerator 1999-08-26 04:41:07 +00:00
mscott%netscape.com 7b60ece1dd nsString updates --> nsString(eOneByte) --> nsCString 1999-08-25 23:20:10 +00:00
ramiro%netscape.com 6cec5c3abb Cleanup zlib cruft. 1999-08-25 14:39:53 +00:00
ramiro%netscape.com 8644dc2074 Cleanup linking of libimg. 1999-08-25 13:37:11 +00:00
brendan%mozilla.org bbe959f4d1 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 8477778c4b 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 e1f2489b0c Set the timer lib flags in one place. 1999-08-24 14:54:59 +00:00
bienvenu%netscape.com 5bb66947b0 get rid of DOING_FILTERS #define 1999-08-24 04:23:31 +00:00
mccabe%netscape.com 3d4917b628 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 9fccfad957 return NS_ERROR_NOT_IMPLEMENTED for some of the channel interface implementations 1999-08-22 22:58:40 +00:00
mscott%netscape.com 42a78671fc 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 1d23cab69b Cleanup the jsdom and jsurl linking mess. 1999-08-22 11:05:45 +00:00
ramiro%netscape.com 16bbd09726 cleanup linking of libmozreg. 1999-08-21 15:41:53 +00:00
alecf%netscape.com 220dae3e90 stop using mDepth, use IsServer instead 1999-08-21 01:01:10 +00:00
bienvenu%netscape.com 027cccef5a add some db commits since we're not closing db's correctly 1999-08-19 22:23:54 +00:00
bienvenu%netscape.com d1bc5f69ee land new folder and rename for jefft 1999-08-19 19:52:51 +00:00
sspitzer%netscape.com b33eebfeef 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 c27340bbb0 more progress and status and alert handling + password prompts 1999-08-18 02:03:43 +00:00
ramiro%netscape.com 0e1b8a922a Fix for -lpref linking problems. Dont link with libpref, its not needed. 1999-08-18 00:27:50 +00:00
ramiro%netscape.com 0149d76208 Link in secfree dynamically only where needed. 1999-08-17 15:46:57 +00:00
ramiro%netscape.com f544ac5394 Link expat and xmltok into the htmlparser statically. Not into the app. 1999-08-17 12:46:23 +00:00
bienvenu%netscape.com e557289e3d part of fix for 11651 fix memory leak of status msg a=chofmann 1999-08-13 21:43:08 +00:00
bienvenu%netscape.com b47bd14de4 part of fix for 11651 print out status msgs with args a=chofmann 1999-08-13 21:41:57 +00:00
warren%netscape.com 8439e8f8ec Fix for bug 7682: StringBundle can't load URLs from imap thread. 1999-08-13 00:43:48 +00:00
jefft%netscape.com f8e15ce04f enabled RenameFolder() 1999-08-11 04:54:48 +00:00
jefft%netscape.com 8188463a54 fixed linux build bustage 1999-08-11 01:00:57 +00:00
jefft%netscape.com bfe0d8fed4 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 f101815028 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 a016d1eb05 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 20850628b4 synch up apis. 1999-08-10 18:18:56 +00:00
mscott%netscape.com 5946e028bc Changes to reflect the fact that GetServer is a method on nsIMsgMailNewsUrl now. 1999-08-10 18:18:41 +00:00
mscott%netscape.com 886639adea remove GetServer implementation...it's now done in the base url class 1999-08-10 18:18:16 +00:00
hangas%netscape.com f38936256d First Checked In. 1999-08-10 18:05:04 +00:00
sspitzer%netscape.com b391cc54a8 ignore generate Makefile 1999-08-10 05:11:59 +00:00
alecf%netscape.com 160427cdde fix unused variable 1999-08-10 04:04:58 +00:00
bienvenu%netscape.com b1862280bb add subscribe and unsubscribe methods 1999-08-10 03:29:22 +00:00
alecf%netscape.com 6e8d974039 IMAP doesn't need nsImapURI2Name anymore 1999-08-10 00:52:59 +00:00