73 Commits

Author SHA1 Message Date
neil%parkwaycc.co.uk
a71c042d15 Bug 273311 Deleting an account/identity/server also deletes some higher numbered accounts/identities/servers p=t.bugz@lament.cjb.net r=me sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@169373 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-18 11:19:10 +00:00
timeless%mozdev.org
c3f4694a93 Bug 264765 nsMsgAccount.cpp cleanup
patch by mikael@parknert.se r=neil sr=darin


git-svn-id: svn://10.0.0.236/trunk@163969 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-18 18:24:24 +00:00
cbiesinger%web.de
5de2d0ee90 Bug 226005 replace some users of nsIPref with nsIPrefService/nsIPrefBranch in
mailnews
patch by Mikael Parknert <mikael@parknert.se> r=bienvenu sr=darin


git-svn-id: svn://10.0.0.236/trunk@160180 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-31 18:04:18 +00:00
roc+%cs.cmu.edu
0b0fa89131 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@157992 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-17 00:13:25 +00:00
bienvenu%nventure.com
e7755520ae add UI for global pop3 inbox in account wizard and account settings, r=mscott, sr=sspitzer, 243837
git-svn-id: svn://10.0.0.236/trunk@157709 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-10 14:04:32 +00:00
scott%scott-macgregor.org
383c681248 Bug #44863 --> in order to support a UI for multiple identities, we need to implement
::RemoveIdentity to remove an identity from an account.

sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@156322 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-12 21:59:19 +00:00
gerv%gerv.net
17661ae2d9 Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155034 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-17 18:33:16 +00:00
darin%meer.net
af98e4f306 landing dbaron's patch for bug 235735 "fix callers that cast away const on result of ns[C]String::get" r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@153357 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-28 22:34:07 +00:00
scott%scott-macgregor.org
227b500ef8 Bug #226580 --> Add back end support to handle multiple identities per account. Patch by Alec Flett.
r/sr=mscott


git-svn-id: svn://10.0.0.236/trunk@150519 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-19 18:57:06 +00:00
bryner%brianryner.com
a4342aad58 Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan.
git-svn-id: svn://10.0.0.236/trunk@146622 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-07 22:56:05 +00:00
jaggernaut%netscape.com
f34216bf2d Bug 25886: Get rid of a bunch of unused NS_DEFINE_IID, NS_DEFINE_CID. r=caillon, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@144992 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-20 07:47:59 +00:00
caillon%returnzero.com
1c1e0c7bb4 Bug 209852. Remove |dont_QueryInterface|.
r=dbaron, sr=jag


git-svn-id: svn://10.0.0.236/trunk@144011 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-21 00:15:41 +00:00
dbaron%dbaron.org
9ec37710b7 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@136012 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 21:40:14 +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
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
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
alecf%netscape.com
30649c62ba remove some DEBUG_alecf's - no bug, not affecting anything...
git-svn-id: svn://10.0.0.236/trunk@107946 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-13 05:46:51 +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
bf7774eb72 Bug 81444: eliminate |null_nsCOMPtr|. Eliminating all callers, r=syd, rs=mozbot.
git-svn-id: svn://10.0.0.236/trunk@104764 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-07 10:58:39 +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
scc%mozilla.org
90f810b66a bug #85271: sr=waterson, r={beard, jag, dbaron}, a=asa. Eliminate features of |nsXPIDLC?String| that keep it out of the string hierarchy (i.e., using assigment to rebind ownership, static |Copy| members, and |getter_Shares|), fixing some leaks in the process.
git-svn-id: svn://10.0.0.236/trunk@97289 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-17 05:23:38 +00:00
alecf%netscape.com
6e8ceeb034 fix for #45797 - remove deprecated NS_IMPL_ISUPPORTS from mail
r=sspitzer
sr=mscott
iho=warren


git-svn-id: svn://10.0.0.236/trunk@83329 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-06 22:24:41 +00:00
warren%netscape.com
a8b9664a8c Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
git-svn-id: svn://10.0.0.236/trunk@81967 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 22:17:53 +00:00
warren%netscape.com
c6b67eceeb Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
git-svn-id: svn://10.0.0.236/trunk@81885 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 22:43:51 +00:00
rayw%netscape.com
d9228441a4 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren


git-svn-id: svn://10.0.0.236/trunk@79036 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 23:57:52 +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
scc%netscape.com
6bee853362 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66884 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 23:23:43 +00:00
scc%netscape.com
cc097bbbeb small changes to clients of string converting APIs
git-svn-id: svn://10.0.0.236/trunk@64178 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 12:25:21 +00:00
alecf%netscape.com
06273f3e18 fix solaris bustage
git-svn-id: svn://10.0.0.236/trunk@64035 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 09:39:12 +00:00
alecf%netscape.com
c9804c58b2 minor usage fix for code that was probably never ever called anyway
git-svn-id: svn://10.0.0.236/trunk@64016 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 08:06:02 +00:00
alecf%netscape.com
fd3c7db60d fix biff, bug #28718 - send notifications when servers are loaded, not just when they are newly created
r=putterman a=phil


git-svn-id: svn://10.0.0.236/trunk@61485 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-23 09:16:32 +00:00
alecf%netscape.com
dd532535f5 fix for #27913 r=sspitzer, a=phil, chofmann
delay the firing of NotifyServer until after an incoming server has been assigned to an account
also fix exceptions thrown by GetIncomingServer by returning nsnull and throwing an assertion instead


git-svn-id: svn://10.0.0.236/trunk@61289 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-18 07:41:58 +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
alecf%netscape.com
71475ca5f6 use some new macros to bulletproof and add assertions
(had some wierd problems that this helped debug)


git-svn-id: svn://10.0.0.236/trunk@59638 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-03 08:15:03 +00:00
sspitzer%netscape.com
d5a9bbf08b fix crasher. now that there are no identities associated with
"local folders", we have to plug this hole.


git-svn-id: svn://10.0.0.236/trunk@58771 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 10:18:23 +00:00
alecf%netscape.com
3fd93a33f0 still more nsString->nsAutoString cleanup
git-svn-id: svn://10.0.0.236/trunk@56803 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-05 03:06:03 +00:00
alecf%netscape.com
40067e21e4 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


git-svn-id: svn://10.0.0.236/trunk@55040 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 06:59:28 +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
3c8f842dd1 remove shutdown listener code.
r=bienvenu


git-svn-id: svn://10.0.0.236/trunk@52366 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-01 00:55:06 +00:00
putterman%netscape.com
d468916c06 Remove ctor/dtor counter macros I added before it was determined we shouldn't
use them for xpcom classes.


git-svn-id: svn://10.0.0.236/trunk@50331 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-10 22:52:49 +00:00
putterman%netscape.com
7f3afb38db Switch over mailnews/base to use nsIModule.
git-svn-id: svn://10.0.0.236/trunk@50328 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-10 22:31:48 +00:00
putterman%netscape.com
12980882c5 Added constructor/destructor counting macros for various mailnews
classes.  reviewed by bienvenu.  no bug.


git-svn-id: svn://10.0.0.236/trunk@50005 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-06 20:32:25 +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
d51dda1135 implement toString() for accounts (for debugging)
git-svn-id: svn://10.0.0.236/trunk@44868 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 20:55:35 +00:00
alecf%netscape.com
4522f95cba fix for #12639
git-svn-id: svn://10.0.0.236/trunk@44852 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 18:23:59 +00:00
alecf%netscape.com
1b4bfb21d3 for some reason m_defaultIdentity keeps getting corrupted. for now just return null instead of an invalid pointer
git-svn-id: svn://10.0.0.236/trunk@44785 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 07:57:58 +00:00
sspitzer%netscape.com
05d5d78dfc fix for #12595, #12596, #12570, and #10672. migrate some more 4.x prefs, and fix some crashers, and clear 4.x prefs after migrating.
git-svn-id: svn://10.0.0.236/trunk@44765 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 06:16:14 +00:00
alecf%netscape.com
f96f5aa0e1 save results of setIncomingServer and AddIdentity to the prefs file
git-svn-id: svn://10.0.0.236/trunk@44657 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-26 09:08:28 +00:00