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

637 Коммитов

Автор SHA1 Сообщение Дата
jefft%netscape.com 475cdcd1b1 fixed bug 35039 - POP: Shouldn't got an Alert when canceling login dialog 2000-04-26 22:31:59 +00:00
jefft%netscape.com 223fa87dcf fixed bug 17100 - [FEATURE] enabled partial message download for pop3 2000-04-25 01:48:00 +00:00
alecf%netscape.com 2919ee8ef4 switch to using attributes instead of Get/SetMsgFolder 2000-04-23 17:36:03 +00:00
sspitzer%netscape.com 290c1fba9a 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 2d27a4ac86 add this, for the new subscribe dialog. 2000-04-23 03:59:18 +00:00
sspitzer%netscape.com 186a459557 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 d6be9c2529 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 9cc3b222b0 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 29bec0c1d2 adding this, will be used very soon for autosubscribe. 2000-04-22 18:45:02 +00:00
sspitzer%netscape.com 4493794339 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 2567b6015f 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 41c5302c22 add search session to mail news url, not used yet 2000-04-20 01:13:31 +00:00
bienvenu%netscape.com d28e726806 add msg folder to Search interface, not run yet 2000-04-19 01:01:08 +00:00
bienvenu%netscape.com 502dcf9642 add search method to message service, not used yet 2000-04-16 22:12:36 +00:00
putterman%netscape.com f4ab68598c 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 aba9796ae7 more changes for the new subscribe dialog. 2000-04-14 06:54:19 +00:00
mscott%netscape.com a2c0a41da2 mark setWebShell as no script.
r=alecf
2000-04-14 02:46:00 +00:00
bienvenu%netscape.com 4008ab41fe add a couple search error codes, not used yet 2000-04-13 23:28:49 +00:00
jefft%netscape.com 8603e2c5a2 fixed bug 21742 -- [FEATURE] Save all attachments; r=mscott 2000-04-13 22:19:48 +00:00
sspitzer%netscape.com fefed47afa 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 c50633cd9e 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 ad63066e1a 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 259719647c 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 4af5c76419 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 c6139de89e Add new icons to mail news 3 pane UI. r=mscott 2000-04-03 02:58:21 +00:00
sspitzer%netscape.com d8b0d54e85 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 15afbeea82 add Get/SetLocalFoldersServer and use it. r=bienvenu 2000-04-02 19:11:16 +00:00
sspitzer%netscape.com 2a5b213caf 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 eee2e831a8 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 c3b39881e4 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 90210ce245 get downloading of imap attachments working, r=alecf 32767 2000-03-29 00:58:21 +00:00
sspitzer%netscape.com 8f8d5ebc5e 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 bba988dfba start firing notifications when the default server changes
r=scottip
2000-03-28 07:16:04 +00:00
alecf%netscape.com d7365fd90c forgot to check these in with my previous checkin 2000-03-28 05:59:39 +00:00
alecf%netscape.com 8a771fc719 - 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 90e52c535a not part of the build yet. 2000-03-28 04:03:25 +00:00
putterman%netscape.com bed4678ea5 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 283b0980e6 fixed bug 10834 - Pop3 delete folders move to trash; r=putterman 2000-03-24 14:58:32 +00:00
alecf%netscape.com 5da56588db 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 84362f8898 more work on mpod 32767 r=mscott 2000-03-24 06:20:01 +00:00
sspitzer%netscape.com a3ac4fb5b2 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 38cf9d6ea1 Fix for view source URL problem - Bug #30459 2000-03-20 22:52:51 +00:00
sspitzer%netscape.com d350c17a03 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 a3432eba05 fixed unnecessary database loading when building folder view; r=bienvenu 2000-03-15 06:26:31 +00:00
jefft%netscape.com e03eefbbcd 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 5119157409 r=bienvenu. Fix for 16966. Can now mark a thread read. 2000-03-14 05:34:42 +00:00
putterman%netscape.com aedadeea90 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 06dc9abf8e back out file I didn't mean to check in 2000-02-23 10:48:17 +00:00
alecf%netscape.com b09a8b8140 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 439782145b 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 55256bf6d0 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 10f1f6ee30 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 b782f6e68a Changes to implement printing correctly - Buf #12505 - r: jefft 2000-02-15 23:05:06 +00:00
sspitzer%netscape.com c09728b293 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 308a2dd8d2 add redirector type pref,r=alecf 2000-02-15 06:57:45 +00:00
rhp%netscape.com 23586b00cf Adding new printing files to the tree - NOT PART OF THE BUILD! 2000-02-15 02:26:14 +00:00
alecf%netscape.com 0fe65de726 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 a728827338 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 d682a93e79 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 014209f138 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 d7e992b034 allow creation of folders with double-byte characters r=putterman, 26745 2000-02-07 00:20:37 +00:00
putterman%netscape.com 401623a852 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 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
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
alecf%netscape.com 98b0123fb3 remove deprecated GetCurrent[Server|Identity] calls, and fix all callers 2000-02-02 07:28:23 +00:00
jefft%netscape.com b2cfa8dd0b fixed bug 24407 -- Remove obsoleted menu item - LoadFirstDraft; r=scottip 2000-02-01 06:06:22 +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
mscott%netscape.com 3d85102ec9 export nsIMsgStringService.idl 2000-01-28 23:49:33 +00:00
mscott%netscape.com eb336809eb Export nsIMsgStringService.idl 2000-01-28 23:48:23 +00:00
mscott%netscape.com eccd128292 export nsIMsgStringservice.idl 2000-01-28 23:47:25 +00:00
mscott%netscape.com dd06eaca0a 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 4170fc4b92 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 7ac9c6c9a4 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 d5960e7613 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 4bee4994d2 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 315df8cb85 clean up nsIMsgFolder.idl and break it apart. r=alecf 2000-01-26 10:00:00 +00:00
sspitzer%netscape.com dda7d6cf40 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 40e0ab28bd use online name instead of db name for imap folders, r=sspitzer 24631 2000-01-26 06:05:42 +00:00
sspitzer%netscape.com 9b49989be2 add "Equals" to the nsIMsgIncomingServer interface. we'll use this soon. r=alecf 2000-01-26 04:11:14 +00:00
sspitzer%netscape.com 8eb3d14017 comments are allowed, so removing the cruft to prevent warnings 2000-01-26 04:08:26 +00:00
sspitzer%netscape.com 991a220f4c "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 c43b606870 add support for new pref/migrate it from 4.x r=alecf 2000-01-19 01:16:35 +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
sspitzer%netscape.com b24ad0f01b 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 b8680ff540 step 2 of divorce the mailnews migration code from the account manager 2000-01-15 09:00:46 +00:00
sspitzer%netscape.com de60fafd38 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 0d62551cfa 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 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
mscott%netscape.com afbe693058 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 a1ff78fcb1 add copymessages to message service,r=mscott 2000-01-12 21:43:59 +00:00
alecf%netscape.com 52d3b2b7c2 rearrange some of the members of this interface just for readability
r=sspitzer
2000-01-11 22:49:29 +00:00
sspitzer%netscape.com 838180536d 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 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
alecf%netscape.com cb05bcaa63 final stage of XPIDLizing nsIMsgHdr 2000-01-08 09:55:37 +00:00
alecf%netscape.com 01b1d6bb93 require servers to have a username and hostname at creation time r=sspitzer 2000-01-08 09:03:55 +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 243a1ed8ed 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 5e3d360e44 add list folder method,r=mscott 2000-01-08 01:36:09 +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 02cf8db984 Bug #22960 --> store a nsIMsgHdrSink associated with the messenger window instance
r=bienvenu
2000-01-06 00:45:47 +00:00
mscott%netscape.com 88b689fe2e 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 a9926bbf8e 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 39daca57b1 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 f9926694a3 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 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
alecf%netscape.com 9b43feaaa8 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 dafa45dbaf 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 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
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
alecf%netscape.com c75e133d6b 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 4340f0dc28 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 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
alecf%netscape.com cbe91f065b 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 e12df89b01 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 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 fcacfd0ca8 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 4206331eba 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 c28099bcef 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 dbbbc837b6 Work on 12846 for making message threads work. Reviewed by bienvenu. 1999-11-11 00:23:29 +00:00
ducarroz%netscape.com e45c32906a 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 801c04575d move folder cache to account mgr, per alecf, fix pending counts r=jefft 1999-11-10 00:41:52 +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
sspitzer%netscape.com 6ffdc40813 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 41638ccfc8 more work to hook up stop button, r=mscott 17743 1999-11-02 21:36:59 +00:00
bienvenu%netscape.com 6c20d026a7 add code for hooking up stop button,r=putterman 12016 1999-11-02 03:34:45 +00:00
bienvenu%netscape.com ee204b6a9b add method to find out if folder is in open window r=putterman 1999-10-31 22:21:55 +00:00
putterman%netscape.com c15e7eaa09 Fix for 17556. Reviewed by alecf. Newsgroups show abbreviated name in folder pane. 1999-10-29 20:46:15 +00:00
bienvenu%netscape.com 62902479e8 changes to use nsIMsgWindow r=putterman 1999-10-29 04:39:06 +00:00
putterman%netscape.com 8ab04409f1 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 d5dce7913b 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 825d352eca 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 5307d5a837 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 04c81869f1 Bug #16927 add GetMessageUrlFromUri to nsIMsgMessageService
r=sspitzer
1999-10-23 23:39:57 +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
bienvenu%netscape.com 051d16e19c 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 e6ebb5bcb0 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 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
ducarroz%netscape.com cef1487a73 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 4686098c7f add method to shut down connections 1999-09-30 01:44:30 +00:00
jefft%netscape.com e2e78fd81a implemented forward message as attachment & inline; a=mcafee 1999-09-29 20:37:12 +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
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
jefft%netscape.com b7fe91ef7a added two more arguments for openAttachment() 1999-09-20 21:00:51 +00:00
sspitzer%netscape.com a67ae1e683 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 9ba9f70b2e depricate old SMTP API. 1999-09-20 06:50:21 +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
alecf%netscape.com fc98ec7e24 implement mapping from server.type to IID 1999-09-17 23:59:51 +00:00
jefft%netscape.com 3abf4e5526 added OpenAttachment() 1999-09-17 23:15:02 +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
alecf%netscape.com 4f6483c895 make the signature an nsIFileSpec for right now 1999-09-17 06:43:27 +00:00
alecf%netscape.com 24b376e53d add new FindServerIndex() method 1999-09-17 00:14:43 +00:00
putterman%netscape.com f9811e89db Add NotifyFolderLoaded 1999-09-16 21:07:01 +00:00
bienvenu%netscape.com c1e85db743 add folder loaded notifications 1999-09-15 00:59:03 +00:00
briano%netscape.com 4d74b5b41f General cleanup. 1999-09-14 22:49:58 +00:00
sspitzer%netscape.com 25eef535da 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 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
alecf%netscape.com bc53530011 moving progid, it doesn't belong in the factory file 1999-09-14 00:09:48 +00:00
alecf%netscape.com 40ca486ce8 oops, this was supposed to be an nsIFileSpec 1999-09-13 23:03:31 +00:00
alecf%netscape.com dcaef1d236 export/build nsIMsgProtocolInfo.idl on all platforms 1999-09-13 22:51:38 +00:00
bienvenu%netscape.com 7992d6003f add folder loaded notification and hack around dynamic folder loading slowness method 1999-09-13 21:36:02 +00:00
mscott%netscape.com 5b06fe7266 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 4fc30c49fc oops, fix this so it builds 1999-09-11 22:43:42 +00:00
alecf%netscape.com 39e57a11c9 add new interface 1999-09-11 22:41:47 +00:00
putterman%netscape.com 6d03a6aec7 added message view. 1999-09-09 06:16:33 +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
sspitzer%netscape.com 2160ca9e77 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 06b28f6923 added saveAs() method for SaveAsFile() & SaveAsTemplate() 1999-09-03 02:25:53 +00:00
sspitzer%netscape.com 5ee30e7813 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 30d1413c43 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 24f7cf3c7d GetPassword takes an argument specifying if you want UI or not 1999-08-31 04:39:06 +00:00
bienvenu%netscape.com 8935bee79b add created offline folder flag 1999-08-31 03:09:30 +00:00
alecf%netscape.com 31424c821f add a bunch of new attributes for identities 1999-08-31 00:19:08 +00:00
alecf%netscape.com aa10cf89cf do lots of error checking on QueryInterface calls
add new FindServerByServerKey call
1999-08-30 22:00:22 +00:00
alecf%netscape.com fa3a13ead7 implement toString() for identities (for debugging) 1999-08-27 20:57:07 +00:00
alecf%netscape.com 54ae9cac75 implement toString() for accounts (for debugging) 1999-08-27 20:55:35 +00:00
sspitzer%netscape.com d3dc2fe5c0 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 0f8ae35ccb 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 272375e295 forgot to check in the new API 1999-08-26 06:20:06 +00:00
bienvenu%netscape.com 57247bc224 replace nsIEnumerator with nsISimpleEnumerator 1999-08-26 04:41:07 +00:00
bienvenu%netscape.com b03882132a change create sub-folder2 name 1999-08-25 01:17:52 +00:00
putterman%netscape.com b454515979 Added MarkFlagged interface. 1999-08-24 21:45:21 +00:00
bienvenu%netscape.com e101ee6af6 remove doing_filters 1999-08-24 04:41:52 +00:00
alecf%netscape.com bfa05b3b2f remove the "depth" attribute now that we have isServer 1999-08-21 01:03:00 +00:00
putterman%netscape.com 70ad9dbb2a Add SetWebShell 1999-08-20 22:42:52 +00:00
putterman%netscape.com 00bb13cf61 Remove view code 1999-08-20 22:42:29 +00:00
putterman%netscape.com 0f69d7ba27 Add nsIMsgWindowData.idl 1999-08-20 22:42:03 +00:00
alecf%netscape.com 292c8e0141 add new isServer attribute 1999-08-20 22:41:38 +00:00
putterman%netscape.com 31754ef52d Add new file for window context. 1999-08-20 22:40:19 +00:00
bienvenu%netscape.com d1bc5f69ee land new folder and rename for jefft 1999-08-19 19:52:51 +00:00
alecf%netscape.com 46135c959f oops, didn't mean to remove this file 1999-08-19 06:09:50 +00:00
alecf%netscape.com f191590a30 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 cc45bf7559 add get server support. 1999-08-10 18:17:25 +00:00
mccabe%netscape.com d6e7410f31 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 359a8a0d36 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 f8adfcfc65 get rid of nsString2, more hooking up of status 1999-08-07 02:30:11 +00:00
mscott%netscape.com d4976b3288 this file is now an idl file...it's obosoltete now. 1999-08-06 21:14:14 +00:00
jefft%netscape.com c1df4d4054 added EmptyTrash() 1999-08-06 18:21:13 +00:00