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

1054 Коммитов

Автор SHA1 Сообщение Дата
jefft%netscape.com 5925f968c0 fixed bug 26169 -- Sending message appears to fail if the Sent folder not yet parsed; r=scottip 2000-02-03 23:40:09 +00:00
jefft%netscape.com 8eb9129a2c fixed bug 24667, 22349, 23588, 24715 - default folders not working with Cyrus server; r=bienvenu, mscott 2000-02-03 05:43:03 +00:00
sspitzer%netscape.com 20bb93971d change to allow someone to use the "no strip url" interface in wallet.
no one is using it yet, because it doesn't work.

r=mscott
2000-02-03 05:01:42 +00:00
mscott%netscape.com dab3d8b17b small performance tweak...we were getting the proxy manager service 3 times in SetupSinkProxy. I'm just
fetching it once and re-using it.
r=bienvenu
2000-02-03 04:56:41 +00:00
jefft%netscape.com f35ced3204 fixed bug 24667, 22349, 23588, 24715 - default folders not working with Cyrus server; r=bienvenu, mscott 2000-02-03 04:35:45 +00:00
valeski%netscape.com 79132da2fc URL Parsing and implementation rewrite landing. Andreas Otte was generous enough to contribute these changes 2000-02-03 03:44:22 +00:00
bienvenu%netscape.com f41b9b8721 create temp file for mesage upload in temp directory, r=jefft, 23444 2000-02-03 01:28:47 +00:00
mscott%netscape.com 617792c155 Bug #25570 --> imap unable to show msg bodies containing 8-bit data.
this was a dumb problem where we were setting m_connectionStatus
to be the value of the character returned in the create new line
buffer...if the character happened to be an 8-bit character,
we would actually set the connection status as a negative number...
r=bienvenu
2000-02-02 05:47:09 +00:00
sspitzer%netscape.com c9e378c64d migrate the "mail.imap.server.<hostname>.server_sub_directory" pref from 4.x
and add serverDirectory to the nsIImapIncomingServer interface, and hook up the advanced imap server ui to use it. r=alecf
2000-02-01 06:51:07 +00:00
ducarroz%netscape.com af89452e49 fix part of bug 25949, update project path for compatibilty with CW Pro 5. R=n/a 2000-02-01 01:53:01 +00:00
jefft%netscape.com f46c291443 Fixed bug 18565 -- Single sing on for Pop3 and Imap; passing in nsIMsgWindow for nsIPrompt 2000-01-29 15:53:14 +00:00
jefft%netscape.com 683969b2f1 partial fix for bug 20366 - imap rename problem, bug 24749 - need to make sure namespace, acl works on cyrus server;staged checkin 1; r=bienvenu 2000-01-28 15:38:16 +00:00
jefft%netscape.com d1d69647f5 partial fix for bug 20366 - imap folder rename problem; prevent rename crash if parent is null 2000-01-28 15:35:15 +00:00
sspitzer%netscape.com 2c30f7add0 add a #define for the secure imap default, and move the #defines for news ports out of core and into the right place. 2000-01-28 09:06:33 +00:00
alecf%netscape.com b3c3657784 prepare to eliminate getcurrentserver
just a test, no reviewers
2000-01-28 08:57:46 +00:00
bienvenu%netscape.com 4bee4994d2 add nsIMsgWindow to a bunch of apis so we can stop urls, r=putterman 2000-01-28 01:22:33 +00:00
mscott%netscape.com c2e93c6cea Bug #23891 --> remove some extra locks in IsImapThreadRunning which are unnecessary.
This helps relieve a contention problem in this bug.
r=bienvenu
2000-01-28 01:20:42 +00:00
bienvenu%netscape.com 06be2301b1 add hierarchy delimiter to CreateClientSubfolderInfo, fixes cyrus sub-folders, r=jefft 2000-01-28 00:41:20 +00:00
bienvenu%netscape.com 9fc193fb7c override online server name in db if server gives different case r=sspitzer, part of 24631 2000-01-27 02:50:59 +00:00
bienvenu%netscape.com acc156d885 fix for blocker 25076 r=rhp 2000-01-26 16:50:38 +00:00
bienvenu%netscape.com bac6ff5086 fall back on uri if online name not set, r=sspitzer 2000-01-26 15:27:04 +00:00
sspitzer%netscape.com 315df8cb85 clean up nsIMsgFolder.idl and break it apart. r=alecf 2000-01-26 10:00:00 +00:00
sspitzer%netscape.com 4f5c244f18 added files: mozilla/mailnews/imap/public/nsIMsgImapMailFolder.idl 2000-01-26 09:58:57 +00:00
sspitzer%netscape.com 96a68020b0 I'm taking this out of nsIMsgFolder. not part of build yet. 2000-01-26 09:50:06 +00:00
alecf%netscape.com 746f8b1b8e remove some dead/redundant code
r=sspitzer
2000-01-26 08:28:16 +00:00
sspitzer%netscape.com 55870a3961 clean up / simplify how we determine if two folders are on the same server.
instead of comparing the username / hostname, we use the Equal method
of nsIMsgIncomingServer and compare the servers of the folders.

also, use nsXPIDLCString to clean things up.

r=mscott
2000-01-26 06:40:05 +00:00
bienvenu%netscape.com ae157326a8 fix build warning 2000-01-26 06:13:32 +00:00
bienvenu%netscape.com 40e0ab28bd use online name instead of db name for imap folders, r=sspitzer 24631 2000-01-26 06:05:42 +00:00
dougt%netscape.com fd69a2f423 Landing nsIFile. 2000-01-24 21:28:28 +00:00
mscott%netscape.com c288785103 Bug #24274--> when creating a new channel, if we don't have a mock channel,
return an error instead of NS_OK.
r=bienvenu,travis
a=chofmann
2000-01-20 03:55:25 +00:00
bienvenu%netscape.com e3baa5fd90 fix copying multiple msgs from local folder to imap r=jefft,mscott a=chofmann 24384 2000-01-19 22:25:53 +00:00
bienvenu%netscape.com c7da6c43ef fix online to offline move to delete source headers, r=mscott 2000-01-19 01:28:16 +00:00
alecf%netscape.com 4ef7a2b16e use the right port when constructing the IMAP url
r=mscott
2000-01-18 22:43:58 +00:00
bienvenu%netscape.com b11c7a0430 add ability to copy multiple imap messages efficiently, r=jefft,mscott 23302 2000-01-18 22:33:35 +00:00
alecf%netscape.com 67b921f15c allow imap to support port numbers in the pref file
r=mscott
bugged by=pavlov
2000-01-18 02:34:08 +00:00
sford3%swbell.net 948579bb84 Replace instances of nsTextFormater with nsTextFormatter, r=jst@citec.fi 2000-01-17 22:32:13 +00:00
alecf%netscape.com b4c796b63d back my changes out 2000-01-14 22:53:16 +00:00
alecf%netscape.com 26dec628b3 fix usages of GetPreHost so that local/imap/news folders can be displayed
a=granrose
2000-01-14 20:17:14 +00:00
alecf%netscape.com 76b7dad32e make the mail notification systems use nsIAtoms instead of char*s, and add capability to notify on PRUnichar* data that changes
(in preparationfor #19079)
r=scottip
2000-01-14 09:01:39 +00:00
bienvenu%netscape.com 65fd2d63fa fix box spec memory leaks, mismatched free r=mscott 2000-01-14 01:02:57 +00:00
alecf%netscape.com c818cf0144 fix compiler bustage
r=mscott
2000-01-13 23:43:46 +00:00
mscott%netscape.com fe1a92bf73 Landing imap integration with the memory cache!! *Yeah*
Bug #23491 --> add memory cache support for imap urls.
Bug #23325 --> fix a crasher...only try to find a folder if we have a folder name
r=bienvenu
2000-01-13 04:54:23 +00:00
bienvenu%netscape.com a00f2e6c59 fix solaris build bustage 2000-01-12 23:48:35 +00:00
sspitzer%netscape.com a5b5ca4131 after all my bitching, I goofed and made it so for a new imap server, the copies and folders prefs defaults to the imap server, and not local folders.
fix #21237
2000-01-12 22:18:50 +00:00
bienvenu%netscape.com 04d23a3e5b remove obsolete file 2000-01-12 22:07:53 +00:00
bienvenu%netscape.com 93d41f7679 remove obsolete folder sink proxy 2000-01-12 21:59:10 +00:00
bienvenu%netscape.com ae821c4267 add idl for mailbox spec and mail folder sink, r=mscott 2000-01-12 21:42:19 +00:00
bienvenu%netscape.com 98942401bc add nsIIMailboxSpec, nsIImapMailFolderSpec.idl,r=mscott 2000-01-12 21:41:23 +00:00
bienvenu%netscape.com 63c72643a0 folder sink idl, not part of build yet 2000-01-12 03:30:21 +00:00
bienvenu%netscape.com c8911f9026 first entry into cvs, not part of build 2000-01-12 00:24:26 +00:00
sspitzer%netscape.com 079c129409 fix for bug #23457. when we create a new account, set the copies and folders prefs for the associated identity to the right defaults.
added to the nsIMsgProtocolInfo interface defaultCopiesAndFoldersPrefsToServer,
which we use to see for a given server type, do the defaults live on the server
or not (where not would mean "Local Folders").

fix the getFoldersWithFlag method in the nsIMsgFolder interface so it
would be easier to use in JS.

r=alecf
2000-01-11 08:01:37 +00:00
bienvenu%netscape.com bb2b2a27fe remove unneeded include 2000-01-11 06:15:31 +00:00
pavlov%netscape.com 3b5c2e9cd5 check for null before calling into a method of the object r=dmose 2000-01-11 06:11:12 +00:00
bruce%cybersight.com b40636b42d Real fix for the Solaris bustage. 2000-01-11 06:06:29 +00:00
bienvenu%netscape.com 88b511db06 add include of nsIEventQueue.h 2000-01-11 05:57:45 +00:00
bienvenu%netscape.com ce3843e1fc fix build bustage 2000-01-11 05:51:14 +00:00
bienvenu%netscape.com d6f72b0e78 add include of prmon.h to fix build bustage 2000-01-11 02:50:46 +00:00
bienvenu%netscape.com 4cfb048838 removing in favor of idl file,r=mscott 2000-01-11 02:28:29 +00:00
bienvenu%netscape.com e908918a40 convert nsIImapProtocol.cpp to idl,r=mscott 2000-01-11 02:27:43 +00:00
bienvenu%netscape.com bb14b3e798 add nsIImapProtocol.idl,r=mscott 2000-01-11 02:27:17 +00:00
bienvenu%netscape.com 3d072adf0c make nsIImapProtocol scriptable, r=mscott 2000-01-11 01:18:56 +00:00
rpotts%netscape.com 3e79b2aec1 Made contentType a read/write attribute of nsIChannel 2000-01-08 06:26:04 +00:00
sspitzer%netscape.com 66a2024b3e fix #23372, remove hard coded string from account manager and account wizard
js.  fix #23313, don't allow user to delete "local folders" account.
fix #23413, implement delete account.  further divorce "none" from "pop3"
(which will be useful once we get to movemail and other incoming mail server types)

r=alecf
2000-01-08 04:01:06 +00:00
alecf%netscape.com 66706ba627 minor dependancy cleanup 2000-01-08 03:40:54 +00:00
bienvenu%netscape.com 37f6448763 add folder listing, support for imap extensions, fix prob deleting from trash,r=mscott 2000-01-08 01:38:34 +00:00
bienvenu%netscape.com 20983ec52f add folder listing support,r=mscott 2000-01-08 01:36:05 +00:00
sspitzer%netscape.com 33ca74f641 fix bug #23317. when using the account wizard, check the
protocol info to see if username is required and how to preflight
the pretty name.  (news does it different than imap and pop.)

to help the insane clown posse, create a string bundle to be used
by the account wizard.

fix the bug that I just introduced where creating accounts
would fail at the very end, so the folder pane would fail to refresh.

r=alecf
2000-01-07 07:49:37 +00:00
mscott%netscape.com a5abc8e43e Bug #17065 --> remove our hack in CreateNewLineFromSocket on Unix. This hack was in place
as a work around for the fact that events were getting processed on the wrong threads. dougt
fixed this problem for us. So we don't need this work around which was forcing us to spike the cpu.
r=bienvenu
2000-01-06 23:44:41 +00:00
mscott%netscape.com f78cc1cac0 Fix a rare crash when displaying imap messages. Don't remove the mock channel from the url
on the imap thread. Why? Because this causes the channel to be removed from the load group
which triggers a chain of UI notifications that should be on the UI thread and not the imap thread.

r=bienvenu
2000-01-06 21:24:03 +00:00
jefft%netscape.com 161fec3a87 remove shadow variable; r=bienvenu 2000-01-06 14:25:04 +00:00
mscott%netscape.com d0ae8fffc5 DisplayMessage now takes in the nsIMsgWindow
r=bienvenu
2000-01-06 00:47:58 +00:00
mscott%netscape.com efb456ae5c Bug #22960 --> push data in 1.5K chunks into the channel listener
r=bienvenu
2000-01-06 00:44:17 +00:00
waterson%netscape.com 0c4dc39960 Fix message loading. nsXULDocument expects the GetPrincipal() method to -not- fail, so instead, return a null principal. 2000-01-05 22:55:04 +00:00
bienvenu%netscape.com 016131bb59 fix crash reading mail after deleting inbox.msf file, r=jefft 2000-01-04 15:58:54 +00:00
putterman%netscape.com 2cf9d22cd1 Fixes 22570. r=alecf. Use base class mPath so that counts show up correctly. 2000-01-03 23:43:05 +00:00
dougt%netscape.com 2c4a0a16aa 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 71d1ed7407 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 6a23c7c562 performance enhancement for deleting messages and diddling flags,r=jefft,mscot,ta=syd 1999-12-22 04:32:18 +00:00
bienvenu%netscape.com 2bed060b08 fix progress for msg load, slight performance tweak,r=mscott,a=syd 1999-12-22 04:30:35 +00:00
sspitzer%netscape.com 7411c47023 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 f0ec61e5d3 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 f0be7a9f12 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 47e39cb52c fix 19229, imap hierarchy separator,r=jefft,a=chofmann 1999-12-17 03:06:42 +00:00
bienvenu%netscape.com e82b4f438f fix problem applying multiple imap filter hits r=mscott,a=chofmann 21435 1999-12-13 02:24:13 +00:00
bienvenu%netscape.com 5d72f78eab fix for stop in mailnews,r=mscott,a=chofmann 18242 1999-12-12 01:23:26 +00:00
bienvenu%netscape.com ef3de19de0 fix imap reply quoting, r=mscott,a=chofmann 21217 1999-12-09 02:19:30 +00:00
bienvenu%netscape.com 28bf4e3376 fix problem with extra .msf tacked on db names for imap r=mscott 1999-12-07 22:04:12 +00:00
bienvenu%netscape.com 5eb045931d fix msf file names for imap folders with illegal characters, r=mscott 20324 1999-12-07 05:51:53 +00:00
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