55 Commits

Author SHA1 Message Date
dbaron%dbaron.org
e071c7ff2a Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
git-svn-id: svn://10.0.0.236/trunk@136017 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 22:05:52 +00:00
caillon%returnzero.com
790c7e866a 182982 - Mailnews utility library needs to use nsIPrefBranch, nsIPrefService, et alia
r=timeless/nhotta sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@135074 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-10 23:52:28 +00:00
sspitzer%netscape.com
bac2696b35 fix for #42105.
when creating a news account, don't set the username to be the username
part of the email address (from the wizard).

this fixes bug #154213, a problem with the account picker in the subscribe dialog
cause by the bogus username

also, some code cleanup

r/sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@134565 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-28 06:51:10 +00:00
timeless%mac.com
5f0487a016 Bug 170430 trunk topcrash [@ nsMsgIdentity::ClearAllValues]
r=blizzard, sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@130710 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-29 04:21:28 +00:00
sspitzer%netscape.com
82e628aef9 land spam UI: control panel UI, spam log UI, toolbar button, tools menu, thread pane UI.
currently, hidden by default.  more work to come.  r/sr=bienvenu.  bug #169638


git-svn-id: svn://10.0.0.236/trunk@130091 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-20 00:04:01 +00:00
dougt%netscape.com
e289284076 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
git-svn-id: svn://10.0.0.236/trunk@129050 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 17:13:19 +00:00
jefft%netscape.com
29232d5604 fixed bug 129418 - MDN:Switching identity should retain request for MDN receipt options; r=ducarroz,sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@121623 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 14:01:21 +00:00
cathleen%netscape.com
b8cedf8e73 eliminate nsCRT::strlen for char* strings (part 3), bug 124536 r=dp sr=brendan
git-svn-id: svn://10.0.0.236/trunk@114908 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 08:42:48 +00:00
jaggernaut%netscape.com
436d43f211 Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf
git-svn-id: svn://10.0.0.236/trunk@110579 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-16 11:58:03 +00:00
mscott%netscape.com
dcde2c8b00 Bug #107608 --> allow generic extensions to account manager,
nsIMsgIdentity and nsIMsgIncomingServer. checking in for Seth.
r=bhuvan
sr=mscott


git-svn-id: svn://10.0.0.236/trunk@106803 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-31 03:45:24 +00:00
jaggernaut%netscape.com
e4b4c0231a Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@106534 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-29 09:27:57 +00:00
jaggernaut%netscape.com
51e0dc7a6c Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@104212 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 08:28:41 +00:00
gerv%gerv.net
13afb6d0f9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
jaggernaut%netscape.com
2b3b3b2586 Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa
git-svn-id: svn://10.0.0.236/trunk@99906 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-25 07:54:28 +00:00
dbaron%fas.harvard.edu
9359000a40 Header include dependency cleanup. b=64023 r=jag rs=brendan
git-svn-id: svn://10.0.0.236/trunk@99299 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-16 02:40:48 +00:00
racham%netscape.com
8164360357 Fixing bugs 23625 and 62433. Bug 23625 is about creation of special folders for new IMAP accounts. Fix to that bug includes the rearrangment of copies and folder UI panel which is a bit similar to 4.x model now. Panel UI allows user to select a special folder on the IMAP server and the folder is then created at runtime as needed. Today, IMAP account special folders point to Local folders which is confusing. Bug 62433 takes care of migration of multiple 4.x imap servers under single identity to get migrated properly with unique account names based on username, hostname and the port value if needed. r=naving, s=sspitzer a=asa
git-svn-id: svn://10.0.0.236/trunk@97564 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-20 06:13:27 +00:00
srilatha%netscape.com
263b77f3aa LDAP UI implementation.
Bug# 31881. r=chuang, bhuvan.
sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@93844 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-03 21:24:48 +00:00
sspitzer%netscape.com
487825ffa9 fix #78289. if special folder prefs are not set, we can crash on saving
drafts and templates.

if those aren't set, we use the default values specified in mailnews.js

fix by cavin@netscape.com, r/sr=sspitzer@netscape.com


git-svn-id: svn://10.0.0.236/trunk@93731 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-03 00:31:36 +00:00
varada%netscape.com
8d1ce69208 fixes for bugs# 70615 70626;r=ducarroz;sr=mscott
git-svn-id: svn://10.0.0.236/trunk@89322 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 05:30:11 +00:00
timeless%mac.com
2f43c71a22 fix bug 41083 Signature path not stored correctly when containing non-english characters
patch by alecf, updated by timeless and bz. r=sspitzer,alecf sr=mscott,alecf


git-svn-id: svn://10.0.0.236/trunk@87658 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 10:18:54 +00:00
alecf%netscape.com
562414f7a2 fix for 44633, 44634, and more threadpane performance work - use NS_LITERAL_STRING
where appropriate, avoid excess conversion of integer resources, etc.
r=putterman,mscott


git-svn-id: svn://10.0.0.236/trunk@75342 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-01 22:38:52 +00:00
alecf%netscape.com
54e10440ff 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


git-svn-id: svn://10.0.0.236/trunk@70588 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-22 05:33:49 +00:00
scc%netscape.com
22fed30c55 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66850 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 08:43:34 +00:00
sspitzer%netscape.com
27de60ef5a 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


git-svn-id: svn://10.0.0.236/trunk@66609 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 00:03:02 +00:00
alecf%netscape.com
e9729d5fa7 fix for #33310 - weakref leaks
r=bruce
thanks to beard for finding this broken pattern


git-svn-id: svn://10.0.0.236/trunk@64129 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 20:41:26 +00:00
jefft%netscape.com
718a90de2d 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
git-svn-id: svn://10.0.0.236/trunk@62930 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 13:37:54 +00:00
tonyr%fbdesigns.com
a59ef142a5 nsISupports interfaces need to be threadsafe for import. r=sspitzer
git-svn-id: svn://10.0.0.236/trunk@62744 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-13 00:14:25 +00:00
alecf%netscape.com
30558059dc 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


git-svn-id: svn://10.0.0.236/trunk@61486 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-23 09:42:54 +00:00
alecf%netscape.com
b57f370e2e fix for #26413 - new accounts were picking up old accounts's values, so clear them all out of the prefs r=putterman
git-svn-id: svn://10.0.0.236/trunk@60353 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 00:55:54 +00:00
pp%ludusdesign.com
56f8ec1f57 Converting ::GetIID() to NS_GET_IID(). Bug #20232, r=scc@netscape.com
git-svn-id: svn://10.0.0.236/trunk@59926 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-06 03:18:27 +00:00
alecf%netscape.com
b54cd5d4a0 fix missing space from complete identity line (too simple for a reviewer!)
git-svn-id: svn://10.0.0.236/trunk@58464 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-24 06:11:36 +00:00
alecf%netscape.com
0f46623f5b 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


git-svn-id: svn://10.0.0.236/trunk@57899 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-15 03:06:39 +00:00
sspitzer%netscape.com
7c991ee859 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.


git-svn-id: svn://10.0.0.236/trunk@56590 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-29 02:17:07 +00:00
sspitzer%netscape.com
20ef5057f7 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


git-svn-id: svn://10.0.0.236/trunk@55172 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 08:10:09 +00:00
alecf%netscape.com
6e662dbdaa fix for #20405 - change Organization, Identity Name and FullName to be unicode, using new unicode prefs
r=rhp


git-svn-id: svn://10.0.0.236/trunk@55010 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 03:11:52 +00:00
dmose%mozilla.org
0efb7c174c updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52910 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:43:54 +00:00
mscott%netscape.com
059b0b18ff remove shut down listener stuff.
r=bienvenu


git-svn-id: svn://10.0.0.236/trunk@52368 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-01 00:57:49 +00:00
alecf%netscape.com
1befc84543 depricate old SMTP API.
git-svn-id: svn://10.0.0.236/trunk@48330 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-20 06:50:21 +00:00
mccabe%netscape.com
69a8cf7c7b 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.


git-svn-id: svn://10.0.0.236/trunk@48284 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-19 23:46:35 +00:00
alecf%netscape.com
bb264ee20b it's ok to return null from a pref read
git-svn-id: svn://10.0.0.236/trunk@48094 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-17 23:56:39 +00:00
alecf%netscape.com
52d40f2fe6 make the signature an nsIFileSpec for right now
git-svn-id: svn://10.0.0.236/trunk@47936 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-17 06:43:27 +00:00
alecf%netscape.com
fb095c700c it's ok to clear a user pref that isn't there.
git-svn-id: svn://10.0.0.236/trunk@45367 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 00:45:15 +00:00
alecf%netscape.com
e2e2ed6604 add a bunch of new attributes for identities
git-svn-id: svn://10.0.0.236/trunk@45231 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 00:19:08 +00:00
alecf%netscape.com
4ab1de51c9 implement toString() for identities (for debugging)
git-svn-id: svn://10.0.0.236/trunk@44870 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 20:57:07 +00:00
alecf%netscape.com
07e890d521 fix leak from redundant SetKey calls
git-svn-id: svn://10.0.0.236/trunk@44176 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 00:29:55 +00:00
alecf%netscape.com
f3c807b32e make identity more robust to the prefs service going up and down
git-svn-id: svn://10.0.0.236/trunk@43456 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-18 02:40:08 +00:00
ducarroz%netscape.com
880e9ed48f Look for the default value when a pref doesn't exist. Fix problem with actual code, we passed the wrong name to GetDefaultName.
git-svn-id: svn://10.0.0.236/trunk@37885 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-01 21:56:54 +00:00
alecf%netscape.com
853a05705a initialize these variables to null!
git-svn-id: svn://10.0.0.236/trunk@37649 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-01 05:47:56 +00:00
putterman%netscape.com
2c5afbbd59 Use nsCOMTypeInfo
git-svn-id: svn://10.0.0.236/trunk@37592 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-01 00:16:39 +00:00
alecf%netscape.com
fe81bb2b77 - make getCharPref() return null when there is no such pref, instead of returning an error
- make identityName default to Full Name <email@address.com> if the identityName is missing


git-svn-id: svn://10.0.0.236/trunk@37330 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-29 02:59:06 +00:00