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

667 Коммитов

Автор SHA1 Сообщение Дата
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
ducarroz%netscape.com 4007ab88b6 Fixes related to message compose UI, save attachment, edit message as new and draft message. Those changes fix bug 14868, 23627, 24185, 24864, 24930, 26087, 26733, 27171, 27762, 27931, 27932, 29119, 29176, 30279, 31546 and 28677. R=alecf, rhp, jefft 2000-03-23 06:39:19 +00:00
nhotta%netscape.com 24717f0541 Replaced malloc by local buffer for charset conversion, r=ftang. 2000-03-21 21:26:52 +00:00
mscott%netscape.com 41e8972a4b Bug #12505 --> implement get/set load attributes. I needed to refactor load group management
and useage in this class. Our underlying socket or file transport wasn't getting the right
load group. And we weren't passing the right load group out on on start / on stop requests.
r=rhp
2000-03-21 06:26:03 +00:00
bienvenu%netscape.com 3246e627e4 fix problem remembering folder flags r=mscott 32007 2000-03-21 03:28:03 +00:00
bienvenu%netscape.com c016b9d320 fix 24456 trash flag going away, r=mscott 2000-03-19 22:37:32 +00:00
nhotta%netscape.com 42a831c815 Changed to call Finish() after the conversion, bug 29652 , r=cata. 2000-03-17 22:08:04 +00:00
dougt%netscape.com 8126ff53b4 Adding GetSecurityInfo to the nsIChannel. bug 29646. r=warren. 2000-03-17 22:06:32 +00:00
nhotta%netscape.com a9a9a9109a Changed flag for entity conversion, bug 27376, r=akkana. 2000-03-16 00:28:01 +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
nhotta%netscape.com 53d8977bc3 Changed to use do_GetService instead of CreateInstance, bug 30212, r=cata. 2000-03-15 01:36:19 +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
tonyr%fbdesigns.com 205d63c930 nsISupports interfaces need to be threadsafe for import. r=sspitzer 2000-03-13 00:14:25 +00:00
rickg%netscape.com 0e8a2aaf7a replaced calls to deprecated string methods 2000-03-12 21:09:50 +00:00
sspitzer%netscape.com fa9ec86bb0 changes for news over SSL. initial changes needed for SMTP over SSL, but
that isn't going to happen yet.  cleanup changes for nsNewsDownloadDialogArgs (still not used yet.)
2000-03-12 08:58:02 +00:00
sspitzer%netscape.com 0487a8b1a3 fix for #30775 and #30648. r=mscott,warren. a=phil
we need to call Cancel() to remove the closed nsSocketTransport from the
list of active transports.  if we don't, we quickly reach the max (50)
and pop, smtp, and nntp operation start failing.

also, upon NS_BINDING_ABORTED, do not pop up an alert.  we get
this when we call Cancel() or if the user hits the stop button.
2000-03-12 06:40:25 +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
warren%netscape.com c0497e31be Bug 21556: Making linux be thread-safe. Making tons of classes implement threadsafe AddRef/Release. a=jar 2000-03-05 21:26:01 +00:00
jefft%netscape.com 8142d351ad fixed bug 25988 -- IMAP Subfolders appearing at 1st level instead of 2nd level; bug 26061 -- Rename a pop3 folder and its subfolders disappear; a=phil,r=bienvenu 2000-03-01 05:17:53 +00:00
jefft%netscape.com 3950520b6c bug 29340 -- Message sent before logging into mail shows logon failed message; a=phil,r=bienvenu 2000-02-29 21:01:53 +00:00
jefft%netscape.com 2c5ea9d2a5 fixed bug 28445 - [PDT+] Error displayed after selecting the renamed subfolders; bug 20366 - Unsuccessful IMAP folder rename makes folder disappear; r=bienvenu,a=phil 2000-02-29 01:16:55 +00:00
mscott%netscape.com 8fa3c570dc Bug #23788 --> add the ability to open connection given a host and port instead extracting them from the url.
This is necessary in order to implement 23788.
r=bienvenu
a=phil
2000-02-26 23:11:45 +00:00
putterman%netscape.com 7abb41369e a=phil. Fixes for 29184 and 29104 (r=alecf and bienvenu) Can now access and copy to a local
subfolder.  Fix for 7844 (r=nhotta and bienvenu) Can now view Japanese local folders.
2000-02-26 20:46:39 +00:00
sspitzer%netscape.com 09b7b9db4f fix for #26773, alert when there is a network error in mailnews. r=mscott, a=phil 2000-02-26 01:04:50 +00:00
bienvenu%netscape.com 7145d81ccd fix unix build warning from last checkin - unused var 2000-02-23 20:59:59 +00:00
bienvenu%netscape.com 6d75704d50 remove use of strtok to fix latin1 char handling, r=alecf, a=phil 24692 2000-02-23 20:49:09 +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
alecf%netscape.com 073eba3585 make remember_password sticky and don't attempt to sync with wallet for beta1
r=sspitzer
2000-02-16 07:43:18 +00:00
nhotta%netscape.com 9117e83808 Changed to use mailnews.send_default_charset, bug 23540, r=cata. 2000-02-16 05:07:37 +00:00
bienvenu%netscape.com c7135c3496 use msf file spec as key for panacea.dat, r=sspitzer 26977 2000-02-16 05:06:37 +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
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
alecf%netscape.com 2724242718 fix for #27160
r=sspitzer
use wallet to determine the status of rememberPassword
2000-02-12 00:52:53 +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
alecf%netscape.com 819d316809 use real weak references when messages hold onto their parent folders
r=putterman
2000-02-08 05:59:20 +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
scc%netscape.com 73802d6f2e Pro5 update 2000-02-07 23:06:04 +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
bienvenu%netscape.com ece14626a0 allow creation of folders with double-byte characters r=putterman, 26745 2000-02-07 00:20:37 +00:00
pp%ludusdesign.com cc01ef5223 Converting ::GetIID() to NS_GET_IID(). Bug #20232, r=scc@netscape.com 2000-02-06 03:18:27 +00:00
bienvenu%netscape.com 4288f5ddc1 fix escaping of user name (r=alecf) also fix build bustage 2000-02-05 01:19:38 +00:00
bienvenu%netscape.com 988bb610b4 break out method for getting folder cache elem from file spec, r=sspitzer 2000-02-04 05:48:50 +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 efbb62e4f6 make mailnews use the "no stripping url" wallet interface.
fix the url mangler and single signon to work when we use the "no stripping url" interface.
2000-02-03 06:43:12 +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
valeski%netscape.com 41512e1d6a URL Parsing and implementation rewrite landing. Andreas Otte was generous enough to contribute these changes 2000-02-03 03:44:22 +00:00
nhotta%netscape.com c32f0101be Added a special handling for Japanese only, bug 5894, r=ftang. 2000-02-02 23:03:33 +00:00
sspitzer%netscape.com 6a54cacf67 code clean up. r=alecf 2000-02-01 07:14:54 +00:00
ducarroz%netscape.com 4f851be879 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
nhotta%netscape.com 7c4239ce40 Changed text/plain conversion option to use transliteration, bug 9574, r=ftang. 2000-01-31 21:25:21 +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
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
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
bienvenu%netscape.com 18d7eb27ea don't read stale data from folder cache,r=sspitzer, part of 24631 2000-01-27 02:48:22 +00:00
alecf%netscape.com 007907ad29 start using weak references for the parent folder and the parent server
r=scottip
2000-01-26 22:53:55 +00:00
alecf%netscape.com 434b892bbb reduce unnecessary dependancies
r=sspitzer
2000-01-26 08:15:55 +00:00
sspitzer%netscape.com f5e688903b fix my printf. 2000-01-26 06:30:35 +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
alecf%netscape.com fbc8c191c7 update the whole Set/Get[Pretty]Name functions to go through the same codepath, and send notifications as necessary 2000-01-26 01:21:24 +00:00
alecf%netscape.com 383b8eff9c use nsCAutoStrings instead of PR_smprintf/PR_smprintf_free/etc
r=sspitzer
2000-01-26 00:54:15 +00:00
alecf%netscape.com 533f80cf25 fix missing space from complete identity line (too simple for a reviewer!) 2000-01-24 06:11:36 +00:00
mscott%netscape.com d213aa35d1 Bug #23325 --> if someone tries to illegally make us resolve a relative url against a mailnews url (imap,
mailbox, news, etc.) just return "about:blank" as the url. Why? 'cause mailnews urls aren't relative and
trying to do so with msgs that don't have base urls associated with them is causing lots of problems.
r=sspitzer,rhp
a=chofmann
2000-01-21 05:49:20 +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
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
ducarroz%netscape.com a465fa6447 New API needed by fixes for bug 23109, 23111, and 23418. Create a new api to retreive the current file system character set. R=jefft 2000-01-15 01:33:17 +00:00
alecf%netscape.com 71c80cb680 back out my changes 2000-01-14 22:51:53 +00:00
sspitzer%netscape.com d8a5c41c93 backing out andreas and warren 2000-01-14 22:01:56 +00:00
alecf%netscape.com 3ef4875bf8 fix usages of GetPreHost so that mail folders can appear
a=granrose
2000-01-14 20:19:17 +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
warren%netscape.com ea798addcb Changes from andreas.otte@primus-online.de for numerous URL parsing bugs. r=warren 2000-01-14 08:50:03 +00:00
mscott%netscape.com 4b1316a4e3 Bug #23491 --> implement GetSet/AddToMemoryCache as part of hooking up imap urls
to the memory cache
r=bienvenu
2000-01-13 03:20:29 +00:00
sspitzer%netscape.com 00fd3093ac fix the bogus comment 2000-01-12 03:03:30 +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
bienvenu%netscape.com 1237e0a5d0 hook up load group for msg protocol so stop will work, r=mscott 2000-01-09 23:38:52 +00:00
alecf%netscape.com 481bba988b final stage of XPIDLizing nsIMsgHdr 2000-01-08 09:55:37 +00:00
rpotts%netscape.com 023f2ff6e1 Made contentType a read/write attribute of nsIChannel 2000-01-08 06:26:04 +00:00
alecf%netscape.com 55a34ca1bb more incredibly minor mailsession dependancy cleanup (no reviewer) 2000-01-08 03:38:45 +00:00
nhotta%netscape.com 1a2b32e299 Changed to apply the entity conversion before charset conversion, bug 20062, r=akkana. 2000-01-06 19:49:23 +00:00
waterson%netscape.com 0d805d4978 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
jefft%netscape.com 398cac9ed2 fixed bug 21688 -- [Dogfood] Headers are all collapsed into 1 line when forwarding certain types of msgs; conditionally strip out line continuation; r=rhp 2000-01-05 15:46:06 +00:00
bienvenu%netscape.com 08d0ac9ce0 check in jefft's fix for crash opening new account, r=me 2000-01-05 15:14:13 +00:00
alecf%netscape.com 73f585fdcc some nsString->nsAutoString cleanup 2000-01-05 02:55:17 +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 6a6a11ff88 fix bugs #23021and #23044 by using NS_MsgHashIfNecessary(). r=alecf 2000-01-04 22:25:28 +00:00
alecf%netscape.com d03c27a7ab fix infinite loop with certain japanese folder names (dont' use continue in a while loop if you're not actually changing state!)
r=sspitzer
2000-01-04 22:14:25 +00:00
dougt%netscape.com 1d1d7c9022 Including nsIFileSpec.h directly. It is included indirectly. This
prep work for the nsIFile landing.
2000-01-03 23:12:33 +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 60a39256fc fix FMM and UMR from purify, add some null sanity checks to fix various
crashers that I've seen.
1999-12-21 23:11:17 +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
sspitzer%netscape.com 8068ff2f39 fix for #22109. r=putterman, a=sdagley
the problem was we were appending "/<newsgroup>" to the path to the server
by using AppendRelativeUnixPath.  this leaf us with <path>//<newsgroup
and not <path>/newsgroup.
1999-12-21 21:59:15 +00:00
sspitzer%netscape.com 383a734112 initialize some uninitialized variables 1999-12-21 01:18:47 +00:00
jefft%netscape.com 64eb040946 fixed bug 21417 - [Performance] nsMsgLineStreamBuffer use PL_strlen to determine how many bytes left in the buffer; eliminate using PL_strlen() to speed up the performance; r=mscott, bienvenu; a=chofmann 1999-12-20 14:58:05 +00:00
alecf%netscape.com fe72f1219a move GetPath/SetPath into a base class, combining all the .sbd directory creators. reduces calls to FindServer() by about 2 calls per folder
r=sspitzer
a=chofmann
1999-12-18 01:09:51 +00:00
bienvenu%netscape.com 537e1f7122 changes for caching imap hierarchy separator, handling no inferiors flag r=jefft,a=chofmann 1999-12-17 03:05:04 +00:00
waterson%netscape.com 0382cfc2b4 Fix missing MOZ_COUNT_CTOR(). 1999-12-17 00:16:34 +00:00
alecf%netscape.com 03a7f545e7 check for null pointer - happens when necko gives us back an empty channel (this is the only place we weren't checking)
r=jefft
1999-12-08 00:01:52 +00:00
sspitzer%netscape.com d067253aff fix for #21079, infinite loop when discovering folders. r=bienvenu 1999-12-07 23:04:24 +00:00
alecf%netscape.com 92c2c6a64e fix for #20647 (required to verify a PDT+ bug)
r=sspitzer
nsCRT::strcmp was returning 0 when you pass a PRUnichar* 0 null pointer
1999-12-07 08:48:52 +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
sspitzer%netscape.com 862031a04c remove CanBeRenamed and CanCreateChildren. In most cases, these weren't
implemented or they were just stubs.  I added CanRename and CanCreateSubfolder
(which follow the naming convention, so we'll keep them) without knowing these were there.  I move over the additional logic for special folders (like INBOX, TRASH, etc) in CanBeRenamed to CanRename, and put the logic in one place, in nsMsgFolder::CanRename(), instead of in multiple places.  thanks to alecf for pointing out that CanBeRenamed and CanCreateChildren were already there.
1999-12-04 19:56:06 +00:00
warren%netscape.com 6af4802e75 Added buffer size parameters to NewChannel. Allows for optimization of amount of image data consumed. Bug #20408 1999-12-04 10:01:32 +00:00
alecf%netscape.com 04fd04b90f lazily parse the URI so that we never loose the server information before the account manager can load the prefs.
helps to fix #20607 for bienvenu
r=sspitzer, design discussed w/sspitzer and putterman
1999-12-04 03:00:22 +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 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 649eebb923 oops, forgot to check this file in with my last checkin 1999-12-02 07:25:39 +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
mscott%netscape.com 7d23985437 stub implementation of AsyncOpen. 1999-12-01 06:17:49 +00:00
warren%netscape.com 96ec037ac6 Eliminated the libs build pass. 1999-11-28 03:05:01 +00:00
mscott%netscape.com 78d8686508 Bug #19955 --> QueryInterface was going to the RDFResource base class
if it couldn't handle it. It should go to nsMsgFolder which is the next class in the hierarchy.
r=alecf
1999-11-24 00:39:26 +00:00
mscott%netscape.com 4227a77d40 Bug #1966 --> be safe...when you get an OnStopRunningUrl,
remove yourself as a url listener because you don't care anymore.
r=rhp
1999-11-22 23:32: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 8efa7d5934 fixed bug 8889 - cannot post messages with attachments to the news server; rv=mscott; Added base PostMessage() method to remove duplicate code in smtp and nntp protocol 1999-11-22 14:41:20 +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
warren%netscape.com 59ef7fadbf Removed the nsICapabilities interface in favor of nsIInterfaceRequestor. 1999-11-18 07:36:41 +00:00
putterman%netscape.com 0b1644bae6 Fixes various message count updating bugs. reviewed by bienvenu. 1999-11-18 04:31:01 +00:00
bienvenu%netscape.com 1553bd082f only send change notification for pending filtered messages if the count changed - performance tweak 1999-11-18 02:36:22 +00:00
warren%netscape.com 34ecf73507 Necko API and implementation changes for retargeting. Needed for URL dispatching. r=mscott 1999-11-17 08:14:52 +00:00
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
nhotta%netscape.com a079345422 Changed to resolve charset alias before unicode conversion, made charset name to case sensitive, consolidated conversion wrapper functions, bug 18264,
r=ftang.
1999-11-11 22:05:10 +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
sspitzer%netscape.com 1ad9b6ee38 check in patch from cls@seawood.org
add comment.
1999-11-10 23:53:40 +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
alecf%netscape.com 25b6456d26 fix for blocker #17882
a=leaf
1999-11-03 19:47:17 +00:00
gagan%netscape.com df88140573 Modified the call to match the new signature of CreateTransport. a=mcafee. 1999-11-03 08:52:04 +00:00
alecf%netscape.com 5b487df4b2 fix for #17214 - consolidate all username and hostname handling so that escaping/unescaping happens logically 1999-11-03 07:16:59 +00:00
warren%netscape.com d3b9c9c3cc Structural changes for MakeAbsolute performance. bug#10736 r=valeski 1999-11-03 05:13:44 +00:00
bienvenu%netscape.com e29f314bcf fix build warnings, r=putterman, add cancel method to protocol r=mscott 1999-11-03 03:16:26 +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 10e0f64b8b add support for pending counts for imap folders r=mscott 1999-11-01 01:06:29 +00:00
mscott%netscape.com 2c586468ca remove shut down listener stuff.
r=bienvenu
1999-11-01 00:57:49 +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
alecf%netscape.com abead569d2 fix casting problem on solaris 1999-10-28 21:13:06 +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
alecf%netscape.com 07e6ba4f2e more cleanup work - now retrieve the server at URI creation time, so that GetServer() is really fast, and just forward calls to GetUsername and GetPassword() to the server. r=sspitzer 1999-10-28 20:19:57 +00:00
mscott%netscape.com 58e1b51338 added a url dispatching comment. 1999-10-27 06:48:19 +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
nhotta%netscape.com 35df054c4f Unicode encoder related change for unmapped characters.
If unicode encoder cannot map a character to the target encoding, it returns used unicode length including the unmapped character.
That is true for all encoder except ISO-2022-JP (bug #15706). Changed the callers to match the encoder behavior. bug 8865, r=cata.
1999-10-26 20:16:11 +00:00
warren%netscape.com f50d3df7c0 Added nsIChannel::GetOriginalURI so that we can get back to the original chrome file (bug#17144). r=rpotts,mscott 1999-10-26 09:16:24 +00:00
alecf%netscape.com 4bd03fe287 start to consolidate URL and URI parsing into the base classes: remove a whole bunch of protocol-specific code in favor of generalization
basically, more fixes for #14437
r=scottip
1999-10-22 01:02:08 +00:00
nhotta%netscape.com 73e800ef37 Adding a wrapper function for a new i18n interface, part of bug fix 15475, r=rhp. 1999-10-20 23:51:25 +00:00
alecf%netscape.com a33565470d clean up nsIMsgFolder API in preparation for fixing a number of bugs, most importantly #14437
r=scottip
1999-10-20 21:58:21 +00:00
mscott%netscape.com 860d40cd8b Bug #16814 --> i found a problem which may be causing us to block in the imap protocol when downloading larger
attachments or images. Basically, the nsMsgLineStreamBuffer class had a fence post bug when determining
if it had enough room to read in more bytes. If the # of free bytes in the stream buffer was 1 byte and we
had just one byte of data left to read in from the incoming stream, we would fail to read in that one byte.
r=sspitzer
1999-10-20 21:01:58 +00:00
nhotta%netscape.com 49eae1bcac Checking in a fix for the linux build bastage, 1999-10-18 23:32:45 +00:00
nhotta%netscape.com b5873913b7 Changed interface and implementation of nsIEntityConverter,
more entity support (before Latin1 only), added a string based interface. Bug fix 8865, r=ftang.
1999-10-18 22:33:14 +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
gagan%netscape.com f1203c259d Fix for bug # 10333. Made webshell a progress event sink as well so that now it redirects all progress messages from necko land to the appropriate docloader observer. The hack to delete strings which are being received in the status messages is a work around the current limitation of the proxy event code. When bug # 16273 is fixed that delete wont be necessary. In fixing this I also noticed that the nsFileTransport wasn't using the proxy events and was incorrectly firing status messages directly onto the UI thread. Fixed that as well. r=rpotts,warren 1999-10-13 10:24:12 +00:00
sspitzer%netscape.com 872b817711 add more comments about what's left to do, and why this is a little scary. 1999-10-13 05:33:26 +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
jefft%netscape.com 64fe1a5593 added files: mozilla/mailnews/base/util/nsMsgI18N.cpp 1999-10-12 05:21:21 +00:00
jefft%netscape.com 57a2c2ac1e fixed bug 15676 - Display problem in Subject header with non-ascii when Forwarding; decode the subject string based on character prior setting it to nsMsgComposeFields; move nsMsgI18N.h, nsMsgI18N.cpp from compose/src to base/util; r=rhp, nhotta 1999-10-12 05:18:27 +00:00
warren%netscape.com 641f3b5442 Lowercased idl method names for scriptability. Cleaned up nsIURL interface. 1999-10-12 01:39:37 +00:00
mscott%netscape.com c73e972de5 support nsIStreamObserver to get rid of an assert in necko.
r=sspitzer
1999-10-12 00:13:45 +00:00
putterman%netscape.com df01d32703 Remove ctor/dtor counter macros I added before it was determined we shouldn't
use them for xpcom classes.
1999-10-10 22:52:49 +00:00
putterman%netscape.com 6a6fa70abd Use ctor/dtor counter macros on non xpcom classes. reviewed by mscott. no bug. 1999-10-10 22:32:54 +00:00
putterman%netscape.com d73cfc95db Added constructor/destructor counting macros for various mailnews
classes.  reviewed by bienvenu.  no bug.
1999-10-06 20:32:25 +00:00
valeski%netscape.com 43edbee475 r=warren, 15457. Added file extension attribute to URL implementations 1999-10-06 14:36:22 +00:00
warren%netscape.com 8603974025 Added AsyncOpen to nsIChannel for URL dispatching. Added ContentLength to InputStreamChannel. (r=rpotts,valeski) 1999-10-06 08:26:01 +00:00
mscott%netscape.com dbd7050065 Bug #0000 --> (no bug necessary)....add a #ifdef guard around this header file
so we don't try to include the contents multiple times!!
r=sspitzer
1999-10-05 05:53:31 +00:00
bienvenu%netscape.com 5f056b6037 add method to shut down connections 1999-09-30 01:44:30 +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
putterman%netscape.com c3de5f7fdb Implement init ins nsMessage. 1999-09-21 20:03:37 +00:00
alecf%netscape.com 95f9061092 depricate old SMTP API. 1999-09-20 06:50:21 +00:00
sspitzer%netscape.com ca2ce65b99 check in work around for #10235
check in start of work for #14312
fix a couple warnings
comment out some dump() calls
1999-09-20 02:12:28 +00:00
mccabe%netscape.com 4f7990cd94 Fix to 7610. Modify xpidl compiler to add 'const' to the method signature for generated attribute setter methods for string, wstring and nsid attributes.
As this changed the generated interface signatures, I had to change all of the uses to avoid bustage.  Any corners of the browser that aren't built by default, or that I haven't discovered how to build, may be at risk of bustage if they use string or wstring attributes.  (This could mean blackwood; sorry, guys!)

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

Also removed extraneous space from generated method signatures, leftover from Brendan's capitalization spam, and made 'const decl must be of type short or long' an error rather than just a warning.
1999-09-19 23:46:35 +00:00
bienvenu%netscape.com 300285c838 check for null before addreffing 1999-09-18 17:42:51 +00:00
alecf%netscape.com 09558ecb98 it's ok to return null from a pref read 1999-09-17 23:56:39 +00:00
jefft%netscape.com 8e557400ac add CreateStartupUrl() utility routine 1999-09-17 23:17:03 +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
mscott%netscape.com 008d364cfc Bug #14021 --> convert nsIURI into a nsISupports before passing in to avoid an nsCOMPtr assert later on. 1999-09-17 20:13:59 +00:00
alecf%netscape.com 93750d1ed6 make the signature an nsIFileSpec for right now 1999-09-17 06:43:27 +00:00
beard%netscape.com ab95fb6cf4 Added QueryElementAt() which combines GetElementAt() and QueryInterface(). Rationale: combining operations saves a call to AddRef/Release, since it's done by QI. Approved by dp. 1999-09-16 21:29:22 +00:00
putterman%netscape.com 2ad6180b7c Add NotifyFolderLoaded. 1999-09-16 21:07:56 +00:00
cls%seawood.org cb3abff6ef Remove unnecessary -D_BSD_SOURCE now that __STRICT_ANSI__ is set in <prinet.h> 1999-09-16 14:50:19 +00:00
sspitzer%netscape.com 68d0a7b530 don't need this code anymore, as we don't need to hash the hostname to get a suitable directory name. see #13480 1999-09-15 07:31:27 +00:00
bienvenu%netscape.com 1120b750bf add folder loaded notifications 1999-09-15 00:59:03 +00:00
sspitzer%netscape.com b1a85f548a fix for #13833
now we support multiple accounts of the same type on the same server.
1999-09-15 00:04:47 +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
alecf%netscape.com 43d4c32346 use new protocolinfo service 1999-09-14 00:36:37 +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
bienvenu%netscape.com 4f5af29de4 return error from writing out folder cache if any, add code to turn off rdf notifications 1999-09-12 21:36:51 +00:00
cls%seawood.org a87b20551f Fix my bustage using -D_BSD_SOURCE 1999-09-12 17:15:57 +00:00
mscott%netscape.com fd311c0688 Fix build breakage across the board!!!! 1999-09-12 06:28:20 +00:00
mscott%netscape.com 983a6c8ddf Include nsIPrincipal.h just to be safe. (The unix tree turned red, but I don't know if it was a midcheckin problem
or if it really needs this).
1999-09-12 05:30:25 +00:00
mscott%netscape.com 68858a62a7 support nsIChannel interface. Part of Bug #10933 --> improve message display performance. 1999-09-12 05:05:28 +00:00
warren%netscape.com 40ed9d6ad2 Removed NS_BASE_STREAM_EOF in favor of returning a count of 0 from Read to indicate EOF. Renamed GetLength to Available. Fixed a number of places where AppendElement's broken error code wasn't checked. 1999-09-09 22:05:05 +00:00
sspitzer%netscape.com 8457354b34 do some clean up in preperation of migrating the fcc prefs. (for bug #10583)
change the newsrcFilePath attribute to be a nsIFileSpec, instead of a string.(bug #13306)
add code to do hashing of hostname. [not turned on yet].  (for bug #13480)
remove the obsolete GetRootFolderPath() code from the incoming servers.
1999-09-09 21:17:32 +00:00
arielb%rice.edu a5c4082159 spamming tree with NS_DECL_IFOO's. generated code from macros replacing code in .h files 1999-09-09 06:02:05 +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
alecf%netscape.com 8c203fba2a switch to nsCRT routines and PR_TRUE/PR_FALSE to reduce include dependancy 1999-09-08 03:08:27 +00:00
bruce%cybersight.com ea2a483a36 Use nsCRT::free() on result of nsEscape(). 1999-09-04 17:32:36 +00:00
sspitzer%netscape.com 2e20b1a044 fix for #13062. prevent infinite loop when reading news. 1999-09-02 22:07:48 +00:00
tonyr%fbdesigns.com 52e5ad25fd Added NS_ADDREF to child returned from GetChildNamed 1999-09-02 21:23:26 +00:00
mscott%netscape.com 3110bc82ef Bug #8076/9836 --> use specialDirectory::OS_TemporaryDirectory to determine the directory to write tempMessage.eml out to. 1999-09-01 04:09:07 +00:00
alecf%netscape.com d651af4ec5 it's ok to clear a user pref that isn't there. 1999-09-01 00:45:15 +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
alecf%netscape.com 9d390186f0 remove the second most common FMM in mail/news 1999-08-31 06:13:42 +00:00
mscott%netscape.com 58ce8728d2 migrate smarts about getting password from pop3 protocol to incoming server
so everyone can share in the logic including imap and eventually news.
Bug #7444 --> Add remember password smarts
1999-08-31 04:39:43 +00:00
alecf%netscape.com 2d544a12eb add a bunch of new attributes for identities 1999-08-31 00:19:08 +00:00
putterman%netscape.com 82d604a5a0 msgbaseutil.dll isn't 8.3 so change to msgbsutl.dll 1999-08-30 22:17:13 +00:00
putterman%netscape.com 6c0316033c If there's no root folder in GetRootFolder, create one. 1999-08-30 22:12:20 +00:00
alecf%netscape.com eabcd7839d implement toString() for identities (for debugging) 1999-08-27 20:57:07 +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
rpotts%netscape.com 0085d83ab0 M9 BRANCH landing... 1999-08-26 22:45:55 +00:00
bienvenu%netscape.com 922a55a1b7 replace nsIEnumerator with nsISimpleEnumerator 1999-08-26 04:41:07 +00:00
putterman%netscape.com 58d47cf74a work on MarkFlagged. 1999-08-24 21:47:22 +00:00
bienvenu%netscape.com be96b97427 clear progress when it meteors stop 1999-08-24 04:24:19 +00:00
alecf%netscape.com 109da3ad7b fix leak from redundant SetKey calls 1999-08-24 00:29:55 +00:00
mccabe%netscape.com a900e17559 Replace declarations of interface methods in implementation classes with xpidl-generated NS_DECL_NSIFOO.
Remainder of the netwerk portion of the NS_DECL_NSIFOO spam.
1999-08-22 23:52:07 +00:00
mccabe%netscape.com 381fb81c4f Replace manual method declarations in implementations of xpcom/ interfaces with NS_DECL_NSIFOO. 1999-08-22 11:25:50 +00:00
ramiro%netscape.com 2c19866af3 cleanup linking of libmozreg. 1999-08-21 15:41:53 +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 ce0f3e0ba2 Use nsISupports. 1999-08-20 22:47:55 +00:00
alecf%netscape.com 0bdba7f2fc add new isServer attribute 1999-08-20 22:41:38 +00:00
alecf%netscape.com 672767ddb5 make identity more robust to the prefs service going up and down 1999-08-18 02:40:08 +00:00
gagan%netscape.com d418cf6936 Added the Param field for a URL. Fixes the bugs being seen by semicolons in URL. 1999-08-12 10:01:33 +00:00
sspitzer%netscape.com b3d7f66956 change API to avoid using NS_COMFALSE. As jband puts it: NS_COMFALSE generally sucks. NS_COMFALSE is going away. fixes bug #11579 1999-08-11 03:44:32 +00:00
mscott%netscape.com e79d4ee94c add get server support. 1999-08-10 18:17:25 +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 88bba45875 more work on meteors when loading imap folders 1999-08-10 03:28:30 +00:00
alecf%netscape.com 9694f7aa53 fix naming of folder by caching in mName 1999-08-10 00:03:46 +00:00
bienvenu%netscape.com b83ba56403 more bulletproofing for those who assume nsMsgDBFolder was including nsIMessage 1999-08-07 03:53:12 +00:00
bienvenu%netscape.com bbf4cffcd7 get rid of nsString2, more hooking up of status 1999-08-07 02:30:11 +00:00
putterman%netscape.com 0ce25d7084 UpdateSummaryTotals when adding messages. 1999-08-07 00:24:25 +00:00
jefft%netscape.com 1f687f996d added base folder EmptyTrash() method 1999-08-06 18:24:39 +00:00
jefft%netscape.com 1f85f838f6 implement message folder base Compact() method 1999-08-06 13:40:08 +00:00
mscott%netscape.com 073b668253 Correctly handle ref counting for nsMsgStatusFeedback member variable. 1999-08-05 22:25:03 +00:00
mscott%netscape.com 5d87ebf97e Cast nsCSTring as a const char * before passing as an argument. 1999-08-05 05:13:15 +00:00
mscott%netscape.com 16f3cd4cc3 Changes for:
nsString(eOneByte) --> nsCString
nsString(eTwoByte) nsString
nsString2 --> nsString
1999-08-05 04:28:28 +00:00
mscott%netscape.com 11da7e4372 Fix linux warning. 1999-08-04 20:35:58 +00:00
mscott%netscape.com af877474fd SetErrorMessage takes a const char *, stub out Set/GetErrorMessage
add accessors for nsIMsgStatusFeedback.
1999-08-04 20:29:22 +00:00
bienvenu%netscape.com 3618d8c8bf fix notification of filter folders 1999-08-02 21:33:00 +00:00
sspitzer%netscape.com 8035a9d87c turn of my debugging printfs. 1999-07-31 19:07:05 +00:00
mscott%netscape.com 068523d268 Fix pedantic breakage on the linux tinderbox build. 1999-07-29 02:05:03 +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
briano%netscape.com 007ea62765 Cleaned it up and changed the name of libreg.{a,so} to libmozreg.{a,so} to fix the conflict reported in bug 8568. 1999-07-27 23:27:44 +00:00
waterson%netscape.com 2731c5c46a Fix recounting bug. 1999-07-27 18:18:52 +00:00