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

725 Коммитов

Автор SHA1 Сообщение Дата
alecf%netscape.com ebc5b3c4b7 rework nsMessages so they are generic across all server/folder types, so that we can recycle them later
r=putterman
for bug #26456
2000-08-16 23:45:58 +00:00
alecf%netscape.com e38c3b84b6 remove commented-out functions (not used anyway) 2000-08-16 08:01:34 +00:00
alecf%netscape.com 4c3c45c8fc part of fix for 39016 - add direct access to the string bundle for the mail string bundle stuff
r=mscott
2000-08-08 22:11:40 +00:00
bienvenu%netscape.com 085017417c fix stop of msg move/copy r=mscott 28129 2000-08-06 20:15:32 +00:00
bienvenu%netscape.com 1c31415b08 add ability to create storage for folders on demand, e.g., templates and drafts, r=mscott 45146 2000-08-05 14:28:47 +00:00
bienvenu%netscape.com 3e0bc5f52b keep folder cache from getting stale, r=putterman 18346 2000-07-26 21:22:54 +00:00
nhotta%netscape.com fbd57efd15 Added mailCharacterSet to nsIMsgWindow to keep the charset used by libmime, bug 28869, r=mscott. 2000-07-11 23:51:21 +00:00
mscott%netscape.com e6a9a0e1ce Bug #43661 --> open attachment needs to pass in the file name
r=bienvenu
2000-07-07 21:57:39 +00:00
jefft%netscape.com 2558b1d445 fixed bug 44164 - improperly parented modal dialog in nsPop3Protocol; r=mscott 2000-07-05 23:55:17 +00:00
jefft%netscape.com 2bb8793d40 fixed bug 33986 -- IMAP: Quit with unsaved draft, save to draft crashes & bug 44203 -- Closing last mail compose crashes the app; r=alecf 2000-07-05 23:19:24 +00:00
gayatrib%netscape.com dfd928ee8d Biff Feature bug 36011 review=scottip 2000-06-23 03:19:17 +00:00
mscott%netscape.com 9894799a78 Bug #10802 --> add new interface for fetch mime part
which is only implemented by imap currently...this helps
free up the OpenAttachment name space that this method was
hogging before =).
modify the signature of open attachment to match my needs
r=bienvenu
2000-06-22 22:36:06 +00:00
bienvenu%netscape.com c81725307d add ability to set charset on msg hdr for i18n search r=putterman, 33101 2000-06-11 22:08:08 +00:00
warren%netscape.com 512c8bf433 Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433 2000-06-03 09:46:12 +00:00
sspitzer%netscape.com f8d8906090 move the string parsing into the imap server code, since right now, it is only
needed for imap.  r=mscott.
2000-06-01 22:49:46 +00:00
sspitzer%netscape.com 97504bf2d6 make the subscribe i18n friendly when drilling down to find imap folders.
I need to use the folder path, not the folder name.  r=mscott
2000-06-01 03:59:14 +00:00
sspitzer%netscape.com 533c46ea39 fix for a bunch of subscribe problems.
#39263, imap subscribe only working to the second level deep
#40238, subscribed imap folders not showing up as subscribed.
#39261, imap folders showing up as full paths, not leaf names.

r=mscott
2000-06-01 02:41:03 +00:00
alecf%netscape.com 3200cbacc7 fix for #40390 - make nsMsgIncomingServer::GetPort fall back to the default
port for the specified server type using nsIMsgProtocolInfo.
Also clean up some of the GetDefaultPort stuff
r=sspitzer
2000-05-31 08:00:13 +00:00
alecf%netscape.com 3c17fb6537 first part of fix for #28898 - switch SMTP server API to store the key not the server itself, for easier access from the account manager
r=sspitzer
2000-05-22 05:33:49 +00:00
sspitzer%netscape.com 4973834992 fix for #39913, no you can subscribe / unsubscribe from imap folders with japanese folder
names.  r=mscott
2000-05-20 02:36:30 +00:00
sspitzer%netscape.com 94b476cc20 changes for make the subscribe dialog i18n friendly. now, imap folders with
japanese names work.  thanks to ji@netscape.com for the help in getting
a japanese folder name.  remove the old news/tests.  they are old
and not used anymore.
2000-05-19 22:27:18 +00:00
sspitzer%netscape.com 163ed2f930 get the refresh button to work in the subscribe dialog.
make it so when we get the list of newsgroups from the server, we'll
cache it, and write it to the newsrc file.

still a lot of clean up todo before we *truly* support hostinfo.dat, but the hard
parts are done.
2000-05-17 05:27:04 +00:00
putterman%netscape.com a09bf1094e fix build bustage. 2000-05-17 00:46:47 +00:00
putterman%netscape.com d9ac8788c5 Work on 14106, View unread messages. 2000-05-16 22:56:37 +00:00
warren%netscape.com bfdf847716 Reverted serverPasswordRealm back to serverURI. Bug 39453. 2000-05-16 21:17:55 +00:00
warren%netscape.com 618d468469 Changes to unify nsINetPrompt with nsIPrompt, making single sign-on work. Single sign-on API changes. Fixes bugs 34583, 34720, 34725, 24746, 33094. r=sspitzer,morse 2000-05-16 05:35:23 +00:00
mscott%netscape.com f05e5d2a14 Bug #5938 --> displayMessage needs to allow us to pass in a charset override.
Bug #5938 --> add get/set charset over-ride to I18N urls.
2000-05-15 22:40:01 +00:00
mscott%netscape.com df43e3c067 Bug #31058 --> add a new I18N url interface for storing charset information.
modify nsIMsgMesageURI to allow you to set a URI for a url.
2000-05-15 20:33:37 +00:00
jefft%netscape.com 4db0a36e74 fixed bug 16244, 35704 - empty trash on exit for Pop3 and Imap 2000-05-15 14:55:22 +00:00
alecf%netscape.com 7733843b87 move enums into IDL 2000-05-14 20:41:40 +00:00
alecf%netscape.com 0a82b4b25f API cleanup: replace OnFolderLoaded/OnDeleteOrMoveMessageCompleted with OnItemEvent using atoms 2000-05-14 20:35:46 +00:00
sspitzer%netscape.com 4ca2b3d567 add subscribe / unsubscribe to the nsISubscribable interface and use them. 2000-05-13 04:41:52 +00:00
locka%iol.ie 15f7763398 Replaced references to webshell with docshell equivalents 2000-05-12 20:41:19 +00:00
sspitzer%netscape.com 97325cede8 more subscribe work. 2000-05-12 04:23:45 +00:00
jefft%netscape.com 6626665a73 round 2,partial fix bug 10802; passed in part number and content type for open attachment 2000-05-02 22:45:44 +00:00
alecf%netscape.com f079776b39 make priority a scriptable type
add scriptable enums for priority
make more of the search interface use nsIMsgSearchValue instead of nsMsgSearchValue
2000-05-01 23:19:46 +00:00
jefft%netscape.com c9b40050df partial fix for bug 10802 - new openSaveAttachment.xul & openSaveAttachment.js files to sync up with the spec 2000-04-29 00:26:07 +00:00
putterman%netscape.com c15c16d712 You can now select a message or folder from a msgWindow. 2000-04-28 20:10:36 +00:00
jefft%netscape.com c5cebe0547 fixed bug 35039 - POP: Shouldn't got an Alert when canceling login dialog 2000-04-26 22:31:59 +00:00
jefft%netscape.com da50b52420 fixed bug 17100 - [FEATURE] enabled partial message download for pop3 2000-04-25 01:48:00 +00:00
alecf%netscape.com d9376233dc switch to using attributes instead of Get/SetMsgFolder 2000-04-23 17:36:03 +00:00
sspitzer%netscape.com 470fa0ee52 root the tree in the subscribe dialog after we are done building the datasource. 2000-04-23 05:18:23 +00:00
sspitzer%netscape.com 6a458548a3 add this, for the new subscribe dialog. 2000-04-23 03:59:18 +00:00
sspitzer%netscape.com 9c7075c692 changes for subscribe. it needs to be general, not just for news, since imap
will use the subscribe dialog as well.

also, some minor changes, the humble beginnings of the hostinfo.dat support.
2000-04-23 01:19:51 +00:00
sspitzer%netscape.com 04d1ec80e1 changes for subscribe. need this interface because subscribe is not news specific. (imap does it too.) 2000-04-23 01:15:04 +00:00
sspitzer%netscape.com 91744b5cc1 fix for #36663. make it so when you run a news://host/group url to autosubscribe, a new messenger window opens up. eventually I'll heed the 4.x pref for
this, so that it will open in an existing messenger window.
2000-04-22 23:16:45 +00:00
sspitzer%netscape.com e457d171bf adding this, will be used very soon for autosubscribe. 2000-04-22 18:45:02 +00:00
sspitzer%netscape.com ace9709b28 PerformExpand() and UpdateCounts() need to take a nsIMsgWindow, because these
action may require the user to enter a password, which means a dialog must comes up,
which means we need the msg window for the parent.
2000-04-21 22:55:18 +00:00
sspitzer%netscape.com 9bc8a565f4 changes for autosubscribe. bug #11075. handle the case where they have a news server
already, and the case where they don't.  still more work to be done here, but the basics
work.

also, turn nsMessengerMigrator::CopyIdentity() into nsMsgIdentity::Copy() and
use that in migration and news account creation during autosubscribe.  r=alecf
2000-04-21 00:03:02 +00:00
bienvenu%netscape.com 8700781b1e add search session to mail news url, not used yet 2000-04-20 01:13:31 +00:00
bienvenu%netscape.com 7f138cd541 add msg folder to Search interface, not run yet 2000-04-19 01:01:08 +00:00
bienvenu%netscape.com b459e719e2 add search method to message service, not used yet 2000-04-16 22:12:36 +00:00
putterman%netscape.com 1e6f1a5f07 More work on reorganizing mailnews frontend so standalone msg window will work. Also
fixes some bugs from the last time.  r=sspitzer
2000-04-14 14:07:23 +00:00
sspitzer%netscape.com 09743b17ac more changes for the new subscribe dialog. 2000-04-14 06:54:19 +00:00
mscott%netscape.com a7d4a690c5 mark setWebShell as no script.
r=alecf
2000-04-14 02:46:00 +00:00
bienvenu%netscape.com 5b574188e3 add a couple search error codes, not used yet 2000-04-13 23:28:49 +00:00
jefft%netscape.com ffc4d709f6 fixed bug 21742 -- [FEATURE] Save all attachments; r=mscott 2000-04-13 22:19:48 +00:00
sspitzer%netscape.com c5fec07319 fix for #11043. implement news biff. thanks to tobias@adamson.com for contributing this patch. r=sspitzer 2000-04-13 02:59:01 +00:00
sspitzer%netscape.com 15475908d1 changes so that the alert for cross posting to multiple news server shows up.
(instead of a silent failure.)  note, we are still being too over-zealous when
deciding if you are cross posting to multiple servers.  see bug #35338
2000-04-12 09:48:25 +00:00
putterman%netscape.com 8cbb6c9e43 Add a standalone message window and make multiple 3 pane configurations work. r=mscott, sspitzer. 2000-04-11 20:19:32 +00:00
bienvenu%netscape.com d90d59bf1d back out changes for in-reply-to header; I don't need them after all 2000-04-04 00:52:22 +00:00
bienvenu%netscape.com 2c7746fcdc remove unused view attachments as links option, work on in-reply-to header, r=sspitzer 2000-04-03 03:22:56 +00:00
putterman%netscape.com 6d0c68ee48 Add new icons to mail news 3 pane UI. r=mscott 2000-04-03 02:58:21 +00:00
sspitzer%netscape.com 7e88616d44 add PerformExpand() to the nsIMsgIncomingServer interface. in the base case, it does nothing.
we override it in news, and we'll use this as our hook to update the counts for all the
newsgroups for a give server.  right now, PerformExpand() only gets called on a double
click but eventually, it will be hooked up to the twisty.  r=bienvenu
2000-04-03 02:06:57 +00:00
sspitzer%netscape.com d209613a0b add Get/SetLocalFoldersServer and use it. r=bienvenu 2000-04-02 19:11:16 +00:00
sspitzer%netscape.com 3f5595153a add GetLocalFoldersServer() for bienvenu, and use it in the account wizard.
also, stub out news filter migration calls in the messenger migrator code.
r=bienvenu
2000-04-02 16:52:29 +00:00
sspitzer%netscape.com da78ce03ea removing the nsISubscribeDialog* interfaces, they aren't being used.
change for the new subscribe dialog, which isn't turned on yet.
r=bienvenu, a=leaf.
2000-04-01 04:23:53 +00:00
alecf%netscape.com 62c3004d62 consolidate nsIMsgMailSession and nsIFolderListener by simply making nsMsgMailSession implement nsIFolderListener instead of having it's own API. r=scottip 2000-03-30 22:50:54 +00:00
bienvenu%netscape.com 3444cfa790 get downloading of imap attachments working, r=alecf 32767 2000-03-29 00:58:21 +00:00
sspitzer%netscape.com 8badc05d83 move all the verify account stuff into a central place, and call
it when opening messenger, message compose and addressbook.  bug #33558
fix some debugging printfs.  add some new files to the build for the new subscribe dialog.
(not turned on yet.)  general cleanup.
2000-03-28 07:26:41 +00:00
alecf%netscape.com 773c3ef80b start firing notifications when the default server changes
r=scottip
2000-03-28 07:16:04 +00:00
alecf%netscape.com b2829c6c0b forgot to check these in with my previous checkin 2000-03-28 05:59:39 +00:00
alecf%netscape.com 526353c793 - add generic interface to access mail filter lists in both servers and folders. in the base class, folders just forward to their root server.
- expose event notifications through nsIFolder so that non-folders can trigger notifications on individual folders
- add generic OnItemEvent to nsIFolderListener, and implement in base classes
2000-03-28 04:58:05 +00:00
sspitzer%netscape.com c3c8228dc7 not part of the build yet. 2000-03-28 04:03:25 +00:00
putterman%netscape.com 02e52d2580 fix for 16349 - shift delete works. Also more work on multiple windows by removing GetTemporaryMsgWindow.
various reviewers = mscott, hangas, rhp, and jefft.
2000-03-25 00:58:20 +00:00
jefft%netscape.com 254e865012 fixed bug 10834 - Pop3 delete folders move to trash; r=putterman 2000-03-24 14:58:32 +00:00
alecf%netscape.com 32bacdb3e9 First part of fix for #29651 - expose unichar versions of subject/sender/etc to scripts) r=bienvenu,putterman 2000-03-24 08:10:59 +00:00
bienvenu%netscape.com e4ae6e7e78 more work on mpod 32767 r=mscott 2000-03-24 06:20:01 +00:00
sspitzer%netscape.com bef2f7ba9d implement find / find again for mailnews. clean up the browser's find / find again code to use
do_GetService and nsCOMPtrs. bug #10894.  r=mscott.
2000-03-24 05:44:32 +00:00
rhp%netscape.com b68c624cd1 Fix for view source URL problem - Bug #30459 2000-03-20 22:52:51 +00:00
sspitzer%netscape.com 1648fa24bd add RemoveFiles() to interface. we need this for when we clean up after deleting and account. 2000-03-15 07:12:59 +00:00
jefft%netscape.com dd2accbee8 fixed unnecessary database loading when building folder view; r=bienvenu 2000-03-15 06:26:31 +00:00
jefft%netscape.com 489aa96a47 fix bug 27396 - shouldn't display error message when selecting uw folder-only mailbox, 28301 - failed to store/read folder flags from folderInfo, 28916 - need to handle /NoSelect folder as 4.x does; r=bienvenu 2000-03-14 13:37:54 +00:00
putterman%netscape.com 9ad79e2641 r=bienvenu. Fix for 16966. Can now mark a thread read. 2000-03-14 05:34:42 +00:00
putterman%netscape.com 36a0950773 a=phil. r=jefft and mscott. Fix for 30918. Can now move messages from imap to local
and local to imap.
2000-03-09 04:17:02 +00:00
alecf%netscape.com 0b6f5e9836 back out file I didn't mean to check in 2000-02-23 10:48:17 +00:00
alecf%netscape.com a4946cd8f4 implement per-identity smtp servers and use the identity's smtp server if in fact it has a special one
bug #28898
r=mscott
a=phil
2000-02-23 09:42:54 +00:00
jefft%netscape.com 3122359680 fixed bug 27759 -- Empty Trash breaks trash folder display; r=bienvenu,a=phil,chofmann 2000-02-17 06:03:55 +00:00
mscott%netscape.com b389706275 Bug #25583,27681,24193 --> add a close window method to nsIMsgStatusFeedback and nsIMsgWindow
r=sspitzer
2000-02-16 05:32:35 +00:00
putterman%netscape.com de272ba0ac Fix for 21469. r=jefft. Deleting a message in a thread now goes to the next message and scrolls
to it so that you don't lose your place in the thread pane.  More work on 26456.  r=alecf.
Some performance improvements for loading folders by speeding up building up a uri.
2000-02-16 00:39:23 +00:00
rhp%netscape.com 0d5876b1d2 Changes to implement printing correctly - Buf #12505 - r: jefft 2000-02-15 23:05:06 +00:00
sspitzer%netscape.com 03dd9e5a6e fix for #8075. use the newsrc files (~/.mozilla/<profile>/News/newsrc-<hostname>) for the unread/read status instead of the msgdb. r=alecf 2000-02-15 08:35:40 +00:00
bienvenu%netscape.com 474b1f6aec add redirector type pref,r=alecf 2000-02-15 06:57:45 +00:00
rhp%netscape.com b51bbc8f16 Adding new printing files to the tree - NOT PART OF THE BUILD! 2000-02-15 02:26:14 +00:00
alecf%netscape.com 0611ca4bef fix for #26413 - new accounts were picking up old accounts's values, so clear them all out of the prefs r=putterman 2000-02-11 00:55:54 +00:00
bienvenu%netscape.com 85ee28a198 more fixes for double byte folder names, including create and rename, r=putterman,jefft 2000-02-08 01:20:00 +00:00
jefft%netscape.com 015ed59aa6 fixed bug 14893 - undo/redo should enable only when it is available; bug 23089 - selecting undo after delete cause trash folder to load; r=rhp 2000-02-07 15:15:14 +00:00
rhp%netscape.com 7e781c43ea This is a fix to add a second - per message FCC to compose operations - Bug #: 11697 - r: jefft 2000-02-07 03:06:51 +00:00
bienvenu%netscape.com ece14626a0 allow creation of folders with double-byte characters r=putterman, 26745 2000-02-07 00:20:37 +00:00
putterman%netscape.com eb3aa13465 sorting and threading now remember selection. Removed Test5000 message. Cleaned up
js a bit and moved globals into one function. r =alecf.
2000-02-04 01:56:38 +00:00
jefft%netscape.com 342229275a 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
sspitzer%netscape.com 96a0249281 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
alecf%netscape.com 5e9de002d8 remove deprecated GetCurrent[Server|Identity] calls, and fix all callers 2000-02-02 07:28:23 +00:00
jefft%netscape.com 2918243940 fixed bug 24407 -- Remove obsoleted menu item - LoadFirstDraft; r=scottip 2000-02-01 06:06:22 +00:00
jefft%netscape.com 228ad2d0a9 Fixed bug 18565 -- Single sing on for Pop3 and Imap; passing in nsIMsgWindow for nsIPrompt 2000-01-29 15:53:14 +00:00
mscott%netscape.com 72c69bf98f export nsIMsgStringService.idl 2000-01-28 23:49:33 +00:00
mscott%netscape.com 21065fae1b Export nsIMsgStringService.idl 2000-01-28 23:48:23 +00:00
mscott%netscape.com f16e7964e4 export nsIMsgStringservice.idl 2000-01-28 23:47:25 +00:00
mscott%netscape.com 984a401397 Bug #13405 --> add an interface to represent a mailnews string bundle (this allows us to cache the bundles
easily)
r=alecf
2000-01-28 23:45:33 +00:00
putterman%netscape.com d04174bf7b Fix for 24768. r=alecf. Move view navigation code to C++ to speed up. 2000-01-28 23:25:17 +00:00
jefft%netscape.com 4a3981e690 partial fix for bug 20366 - imap folder rename problem; rename OnCloseFolder to ForceDBClose; r=bienvenu 2000-01-28 15:34:13 +00:00
sspitzer%netscape.com dbba147326 addSubfolder is not scriptable because it uses nsAutoString.
until that changes (it will soon) mark this method with [noscript]
2000-01-28 07:07:09 +00:00
bienvenu%netscape.com c13a9dce89 add nsIMsgWindow to a bunch of apis so we can stop urls, r=putterman 2000-01-28 01:22:33 +00:00
sspitzer%netscape.com b18624d734 clean up nsIMsgFolder.idl and break it apart. r=alecf 2000-01-26 10:00:00 +00:00
sspitzer%netscape.com cc0d62ff60 fix warning (on the mac) that sfraser pointed out, by renaming
nsNewsFolder::AddSubfolder to nsNewsFolder::AddNewsgroup

implement cross-session newsgroup username / password by using prefs.
this will get re-written to use wallet, eventually.

remove cruft, where possible.

r=mscott
2000-01-26 06:46:01 +00:00
bienvenu%netscape.com 12fccea128 use online name instead of db name for imap folders, r=sspitzer 24631 2000-01-26 06:05:42 +00:00
sspitzer%netscape.com 52cb81bd6b add "Equals" to the nsIMsgIncomingServer interface. we'll use this soon. r=alecf 2000-01-26 04:11:14 +00:00
sspitzer%netscape.com 9b6570c8b6 comments are allowed, so removing the cruft to prevent warnings 2000-01-26 04:08:26 +00:00
sspitzer%netscape.com 7e43815d3a "Local Folders" doesn't have an identity anymore. r=mscott
initial changes for authenticated news.  still more to be done.  r=mscott
bulletproofing changes for migration, never set the port of a server to zero.
2000-01-25 04:57:22 +00:00
pavlov%netscape.com 51eb775d54 add support for new pref/migrate it from 4.x r=alecf 2000-01-19 01:16:35 +00:00
bienvenu%netscape.com dc6da4bc94 add ability to copy multiple imap messages efficiently, r=jefft,mscott 23302 2000-01-18 22:33:35 +00:00
sspitzer%netscape.com 494451258f add the removeIdentity() method to the the account manager interface.
I need this, because at migration time, I create a bogus identity
for migration purpose, and I want to clean up after myself.
2000-01-15 09:14:27 +00:00
sspitzer%netscape.com a8927fd2e9 step 2 of divorce the mailnews migration code from the account manager 2000-01-15 09:00:46 +00:00
sspitzer%netscape.com 8333f3391c moving the mailnews migration code out of the account wizard.
step 1:  add the new files.
2000-01-15 08:51:16 +00:00
alecf%netscape.com 532cba7b20 add "valid" attribute to the identity and server to determine if we need to run through the account wizard at startup. part of fix for #23391
r=sspitzer
2000-01-15 03:06:39 +00:00
alecf%netscape.com 151c9ac450 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
mscott%netscape.com 10c6137a8d Bug #23491 --> add GetSet/AddToMemoryCache as part of hooking up imap urls
to the memory cache
r=bienvenu
2000-01-13 03:20:59 +00:00
bienvenu%netscape.com 5c4612c424 add copymessages to message service,r=mscott 2000-01-12 21:43:59 +00:00
alecf%netscape.com 4be3dc2230 rearrange some of the members of this interface just for readability
r=sspitzer
2000-01-11 22:49:29 +00:00
sspitzer%netscape.com 42ce930293 back end (migration) fix for bug #16219
migrate the mail.pop3_gets_new_mail and mail.imap.new_mail_get_headers get
migrated to mail.server.server1.download_on_biff
2000-01-11 20:03:51 +00:00
sspitzer%netscape.com 9ca75194ad 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
alecf%netscape.com 481bba988b final stage of XPIDLizing nsIMsgHdr 2000-01-08 09:55:37 +00:00
alecf%netscape.com acc83c5f70 require servers to have a username and hostname at creation time r=sspitzer 2000-01-08 09:03:55 +00:00
sspitzer%netscape.com da6aaee871 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 77072606cc finally sever header dependancies between mailsession and accountmanager
(just a header update, no reviewer)
2000-01-08 03:56:15 +00:00
bienvenu%netscape.com b8ed81e047 add list folder method,r=mscott 2000-01-08 01:36:09 +00:00
sspitzer%netscape.com c40113f7f6 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 623bd84865 Bug #22960 --> store a nsIMsgHdrSink associated with the messenger window instance
r=bienvenu
2000-01-06 00:45:47 +00:00
mscott%netscape.com 83d3949553 Part of new message display landing. DisplayMessage now takes in the nsIMsgWindow
r=bienvenu
2000-01-06 00:45:28 +00:00
alecf%netscape.com 69bfd0011e pass 2 off XPIDLizing nsIMsgHdr - clean up IDL to use attributes where appropriate, and fix up API calls where necessary (#7808) 2000-01-05 02:02:50 +00:00
alecf%netscape.com 24f15fcdf7 first pass at fix for #7808, XPIDLizing nsIMsgHdr - for now just make an exact duplicate of the C++ interface, except in XPIDL
r=putterman
2000-01-04 22:41:21 +00:00
sspitzer%netscape.com 3adee8b416 fix for #15191. properly migrate the mail.signature_date and mail.signature_file prefs.
they are now per-identity prefs.

mail.identity.id1.attach_signature is set if the user had a signature in 4.x

the pref mail.signature_file gets migrated to mail.identity.id1.sig_file and
the pref mail.signature_date gets migrate to mail.identity.id1.sig_date

added a few new macros for pref migration.
1999-12-29 02:17:07 +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
alecf%netscape.com 1038bd68e3 general cleanup of dead code in messenger, and fixup to use non-DOM interfaces so that the interface isn't tied to a UI
r=sspitzer
a=chofmann
1999-12-18 00:48:25 +00:00
bienvenu%netscape.com 537e1f7122 changes for caching imap hierarchy separator, handling no inferiors flag r=jefft,a=chofmann 1999-12-17 03:05:04 +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
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
alecf%netscape.com 71fc6df33e add a bunch of IDLDoc comments for component testing
no reviewer because these are just comments
1999-12-03 04:46:49 +00:00
alecf%netscape.com 56753538ce fix unicode support for prettyName, #20405
retrieve name from prefs using CopyUnicharPref()
r=sspitzer
1999-12-03 00:10:00 +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
alecf%netscape.com 560a14a5da fix for #20405 - change Organization, Identity Name and FullName to be unicode, using new unicode prefs
r=rhp
1999-12-02 03:11:52 +00:00
jefft%netscape.com 9ddf019857 fixed bug 10801 -- failed to save messages as templates; stationary folder is now per identity; r=putterman 1999-11-23 22:19:48 +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 ae911c42cc 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; added new method AddSubfolder() 1999-11-19 14:35:31 +00:00
putterman%netscape.com 46acd7660f Fix for 17712. Reviewed by bienvenu and alecf. Mailnews shuts down accounts, biff,
and folders properly as an xpcom shutdown observer.
1999-11-14 20:36:22 +00:00
putterman%netscape.com 6e2681b12f Work on 17712 to add incoming server listeners and hook biff up to them. Reviewed by alecf. 1999-11-11 00:25:19 +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
ducarroz%netscape.com 0ad0bd5338 Fix for bug 18402, don't use AutoCString when need to deal with a UTF8 string (nsMsgCompose.cpp only). Fix for bug 13261, use constants instead of numerical. Cleanup Forward code, eliminate duplicate or dead code (in prep. for bug 15682) 1999-11-10 23:47:59 +00:00
bienvenu%netscape.com aa3a3fd5e0 move folder cache to account mgr, per alecf, fix pending counts r=jefft 1999-11-10 00:41:52 +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
sspitzer%netscape.com 7a5278d0a4 fix for #18064, r=alecf, a=choffman.
only create the local mail account if the user migrates from imap, or if the
user creates an imap server and they don't have a local mail account.
1999-11-06 01:22:28 +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 21d54004e2 add code for hooking up stop button,r=putterman 12016 1999-11-02 03:34:45 +00:00
bienvenu%netscape.com b19191c4a1 add method to find out if folder is in open window r=putterman 1999-10-31 22:21:55 +00:00
putterman%netscape.com 7d2a82beee Fix for 17556. Reviewed by alecf. Newsgroups show abbreviated name in folder pane. 1999-10-29 20:46:15 +00:00
bienvenu%netscape.com 075caf0152 changes to use nsIMsgWindow r=putterman 1999-10-29 04:39:06 +00:00
putterman%netscape.com c701981fdb More work on 17376. reviewed by bienvenu. Store open folder and keep array of msgWindows. 1999-10-28 23:27:21 +00:00
alecf%netscape.com 78f9fb87fa prepare to consolidate server URI creation - create a new property of incoming servers, the local store type, and construct the URL from there.
r=sspitzer
1999-10-28 20:22:06 +00:00
putterman%netscape.com 4e22bcccab Started work on 17376. reviewed by bienvenu. create an object that knows about
mailnews window data and pass it through backend.
1999-10-27 22:38:47 +00:00
sspitzer%netscape.com 6844e8ec38 fix for #17212, r=mscott.
migrate imap servers that have the port in the name (like nsmail-2:143)
1999-10-26 23:34:30 +00:00
mscott%netscape.com 36ca47b5c7 Bug #16927 add GetMessageUrlFromUri to nsIMsgMessageService
r=sspitzer
1999-10-23 23:39:57 +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
bienvenu%netscape.com 960a2020a7 change shutdown code to go through nsMessengerBootstrap instead of relying on service shutdown listener or destructors getting called r=alecf 1999-10-18 21:16:23 +00:00
sspitzer%netscape.com af4500add9 fix warnings. following alecf's recommendations, remove the FindServerUsingURI() method from the nsIMsgAccountManager, remove CreateFolderInDatasource() from nsIMsgFolder, change several methods in nsMsgCopy to return nsresult, and have nsIMsgFolder ** as an outparam, use GetResource() instead of CreateFolderInDatasource(). use NS_SUCCEEDED() instead of comparing against NS_OK directly. 1999-10-18 20:42:06 +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
ducarroz%netscape.com 88a9f70faa Fix for bug 14561, Already checked in the M10 BRANCH. Error must have negative value. A=choffman, R=mscott 1999-10-04 23:43:57 +00:00
bienvenu%netscape.com 5f056b6037 add method to shut down connections 1999-09-30 01:44:30 +00:00
jefft%netscape.com 7aa0b17efa implemented forward message as attachment & inline; a=mcafee 1999-09-29 20:37:12 +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
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
jefft%netscape.com 01f228dc42 added two more arguments for openAttachment() 1999-09-20 21:00:51 +00:00
sspitzer%netscape.com 95fca3acb9 fix bug #10235
implement "pre-select the right identity when composing based on folder pane selection" feature.
1999-09-20 08:13:27 +00:00
alecf%netscape.com 95f9061092 depricate old SMTP API. 1999-09-20 06:50:21 +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
alecf%netscape.com 05e5230991 implement mapping from server.type to IID 1999-09-17 23:59:51 +00:00
jefft%netscape.com 009b14952c added OpenAttachment() 1999-09-17 23:15:02 +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
alecf%netscape.com 93750d1ed6 make the signature an nsIFileSpec for right now 1999-09-17 06:43:27 +00:00
alecf%netscape.com 77a2ebf31b add new FindServerIndex() method 1999-09-17 00:14:43 +00:00
putterman%netscape.com 65dfb6b6e7 Add NotifyFolderLoaded 1999-09-16 21:07:01 +00:00
bienvenu%netscape.com 1120b750bf add folder loaded notifications 1999-09-15 00:59:03 +00:00
briano%netscape.com 22b5e77499 General cleanup. 1999-09-14 22:49:58 +00:00
sspitzer%netscape.com 80d5ac54f4 nsIMsgIncomingServer needs a SetDefaultLocalPath(). we use this when migrating prefs.
add the newsrcRootPath attribute to the nsINntpIncomingServer interface.
implement Set/GetNewsrcRootPath(), similar to how Set/GetDefaultLocalPath() are implemented.

rewrite nsMsgAccountManager to use
Set/GetDefaultLocalPath() and Set/GetNewsrcRootPath()

rename some methods in nsMsgAccountManager for correctness.
1999-09-14 09:03:40 +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
alecf%netscape.com 917d09a317 moving progid, it doesn't belong in the factory file 1999-09-14 00:09:48 +00:00
alecf%netscape.com 58a38ddcd0 oops, this was supposed to be an nsIFileSpec 1999-09-13 23:03:31 +00:00
alecf%netscape.com d66f6ec3d8 export/build nsIMsgProtocolInfo.idl on all platforms 1999-09-13 22:51:38 +00:00
bienvenu%netscape.com 0907f107dc add folder loaded notification and hack around dynamic folder loading slowness method 1999-09-13 21:36:02 +00:00
mscott%netscape.com bf478ebbbe Rename nsIMsgUriUrl to nsIMsgMessageURI because it now holds
attributes specific to message uris. Add methods to nsIMsgMessageURI for saving message to disk
1999-09-12 05:06:19 +00:00
alecf%netscape.com 8b92448041 oops, fix this so it builds 1999-09-11 22:43:42 +00:00
alecf%netscape.com 7f4f96a4ef add new interface 1999-09-11 22:41:47 +00:00
putterman%netscape.com a7efc10e5d added message view. 1999-09-09 06:16:33 +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
sspitzer%netscape.com 3f30819ff0 remove the useless MigratePrefs method. change upgradePrefs() into UpgradePrefs() and make it part of the nsIMsgAccountManager interface, so alecf can call it from js. 1999-09-03 08:06:13 +00:00
jefft%netscape.com afae46a6c8 added saveAs() method for SaveAsFile() & SaveAsTemplate() 1999-09-03 02:25:53 +00:00
sspitzer%netscape.com e40911db58 changes to support the new "none" incoming server type.
divorce "pop3" from local mail.  (more to be done here).
general code clean up.
fix #12873 and #12801
1999-09-01 06:08:19 +00:00
mscott%netscape.com 44de0f44c0 Bug #11895 --> add protection for preventing multiple get new message calls on the same server. 1999-08-31 06:52:27 +00:00
mscott%netscape.com 8727938dfc GetPassword takes an argument specifying if you want UI or not 1999-08-31 04:39:06 +00:00
bienvenu%netscape.com fefd155969 add created offline folder flag 1999-08-31 03:09:30 +00:00
alecf%netscape.com 2d544a12eb add a bunch of new attributes for identities 1999-08-31 00:19:08 +00:00
alecf%netscape.com 956f8af1e0 do lots of error checking on QueryInterface calls
add new FindServerByServerKey call
1999-08-30 22:00:22 +00:00
alecf%netscape.com eabcd7839d implement toString() for identities (for debugging) 1999-08-27 20:57:07 +00:00
alecf%netscape.com 08761a1b0a implement toString() for accounts (for debugging) 1999-08-27 20:55:35 +00:00
sspitzer%netscape.com 804a7e88a4 fix for #12595, #12596, #12570, and #10672. migrate some more 4.x prefs, and fix some crashers, and clear 4.x prefs after migrating. 1999-08-27 06:16:14 +00:00
alecf%netscape.com 94efd6f780 fix the migration code to use the new prefs api, and remove some depricated functions 1999-08-26 09:07:59 +00:00
alecf%netscape.com 61b415c918 forgot to check in the new API 1999-08-26 06:20:06 +00:00
bienvenu%netscape.com 922a55a1b7 replace nsIEnumerator with nsISimpleEnumerator 1999-08-26 04:41:07 +00:00
bienvenu%netscape.com 0b792f7165 change create sub-folder2 name 1999-08-25 01:17:52 +00:00
putterman%netscape.com 3b29523461 Added MarkFlagged interface. 1999-08-24 21:45:21 +00:00
bienvenu%netscape.com b8cfb21f2e remove doing_filters 1999-08-24 04:41:52 +00:00
alecf%netscape.com cce4d3df48 remove the "depth" attribute now that we have isServer 1999-08-21 01:03:00 +00:00
putterman%netscape.com dc5ba32394 Add SetWebShell 1999-08-20 22:42:52 +00:00
putterman%netscape.com 1fe7548c3c Remove view code 1999-08-20 22:42:29 +00:00
putterman%netscape.com 1801b7d5bd Add nsIMsgWindowData.idl 1999-08-20 22:42:03 +00:00
alecf%netscape.com 0bdba7f2fc add new isServer attribute 1999-08-20 22:41:38 +00:00
putterman%netscape.com e97434e200 Add new file for window context. 1999-08-20 22:40:19 +00:00
bienvenu%netscape.com 40513be898 land new folder and rename for jefft 1999-08-19 19:52:51 +00:00
alecf%netscape.com 05765119be oops, didn't mean to remove this file 1999-08-19 06:09:50 +00:00
alecf%netscape.com 3786e4744e add nsIUrlListenerManager.idl to the mac build and remove the old header once and for all 1999-08-19 06:07:33 +00:00
mscott%netscape.com e79d4ee94c add get server support. 1999-08-10 18:17:25 +00:00
mccabe%netscape.com 2a403483de Changes to the xpidl compiler -
Error if an interface is declared [scriptable], but contains methods that can't be scripted because they refer to native-declared types, unless the method is declared [noscript].

This change is intended to make it easier to determine when an interface is not scriptable, and to make it easier to see what changes need to be made to make it scriptable.

As many of the .idl files in the tree defined [scriptable] interfaces that contained non-scriptable methods, I've sprinkled [noscript] throughout.  As the interfaces weren't scriptable anyway, this shouldn't change their visibility to javascript.
1999-08-10 12:18:01 +00:00
alecf%netscape.com 719f9b06af clean up folder and server naming:
- prettyName is now a unicode string and lives in nsIFolder
- servers now have the automatic pretty name of "userid on servername" and can be overridden
- name consolidation is complete
1999-08-10 04:39:22 +00:00
bienvenu%netscape.com bbf4cffcd7 get rid of nsString2, more hooking up of status 1999-08-07 02:30:11 +00:00
mscott%netscape.com 0765bb9e04 this file is now an idl file...it's obosoltete now. 1999-08-06 21:14:14 +00:00
jefft%netscape.com d77eddaebd added EmptyTrash() 1999-08-06 18:21:13 +00:00
jefft%netscape.com 3977639d72 adding Compact() method 1999-08-06 13:32:50 +00:00
jefft%netscape.com 7587dc80b1 adding RenameFolder & CompactFolder method 1999-08-06 13:32:19 +00:00
sspitzer%netscape.com 3bbfc70fd9 work for printing mail. 1999-08-05 19:47:58 +00:00
mscott%netscape.com 4afde6d16d Add nsIMsgMailNewsUrl.idl and remove nsIMsgMailNewsUrl.h 1999-08-04 20:29:45 +00:00
mscott%netscape.com 7b31aa58fa remove nsIMsgMailNewsUrl.h and add nsIMsgMailNewsUrl.idl 1999-08-04 20:28:47 +00:00
mscott%netscape.com a39f1ba126 Not part of the build yet!! I converted nsIMsgMailNewsUrl.h into an idl file. 1999-08-04 20:17:40 +00:00
bienvenu%netscape.com a65b01ff95 add nsIMsgStatusFeedback.idl 1999-08-04 18:40:13 +00:00
sspitzer%netscape.com fee317b78f changes for status messages. checked in for the almighty david b. 1999-08-04 18:38:36 +00:00
bienvenu%netscape.com a3417c7046 add interface for give status feedback to user via webshell, not part of build yet 1999-08-03 22:54:50 +00:00
rhp%netscape.com 975ad90fb9 Changes for Drafts and Templates 1999-07-31 19:59:35 +00:00
mscott%netscape.com 01ab699db6 Landing the MailNews_Necko_BRANCH. These are the changes that will enable mailnews to run with necko. 1999-07-29 00:42:25 +00:00
waterson%netscape.com 91a8ac09e7 Land TEMPLATE_19990726_BRANCH; RDF C++ content model builder exorcism. 1999-07-27 17:20:28 +00:00