Commit Graph

292 Commits

Author SHA1 Message Date
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