52 Commits

Author SHA1 Message Date
sspitzer%netscape.com
8b51551b5a fix warnings
git-svn-id: svn://10.0.0.236/trunk@38205 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-03 00:39:28 +00:00
warren%netscape.com
8b1231e0ae Renamed OnStartBinding/OnStopBinding to OnStartRequest/OnStopRequest (removing the redundant ones from necko). Numerous necko fixes. Necko now using nsIPrompt interface instead of nsINetSupport.
git-svn-id: svn://10.0.0.236/trunk@37754 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-01 19:30:20 +00:00
mcafee%netscape.com
c8b6811625 BeOS changes
git-svn-id: svn://10.0.0.236/trunk@37406 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-29 11:36:21 +00:00
ducarroz%netscape.com
9fb73e455e replace pref "mail.identity.<idn>.send_html" by "mail.identity.id1.compose_html".
replace pref "mail.identity.<idn>.wrap_column" by "mail.wraplength"


git-svn-id: svn://10.0.0.236/trunk@36945 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-25 21:47:43 +00:00
mcmullen%netscape.com
bec0ad9788 Removing the use of the convenient factory method for nsIFileSpec, since I'm about to remove that, too.
git-svn-id: svn://10.0.0.236/trunk@36219 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-22 03:48:26 +00:00
mcmullen%netscape.com
d019f9ce2b Fixing the broken situation when no prefs file exists. Since there is a problem with stream closing after nsFileStream(nsIFileSpec*), cleaning up this code so that we dont write/read/init/write the prefs. Now we simply init/write. Part of a fix for bug #8237. r=slamm@netscape.com, a=chofmann@netscape.com
git-svn-id: svn://10.0.0.236/trunk@35880 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-18 22:11:35 +00:00
putterman%netscape.com
0ede68b054 Close the filespec's stream so we don't keep appending to pref file. Approved by
mcmullen.


git-svn-id: svn://10.0.0.236/trunk@35468 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 23:19:58 +00:00
putterman%netscape.com
24b6e72c12 Fix for 8197. Can't read pref file. Approved by leaf and reviewed by mscott.
git-svn-id: svn://10.0.0.236/trunk@35454 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 18:39:33 +00:00
mcmullen%netscape.com
88a6f93e78 Alias resolution makes directory iteration tricky: You can't use SetLeafName to convert one sibling to another. Fixing parsing of pref-init files, which broke when I fixed aliases a while back.
git-svn-id: svn://10.0.0.236/trunk@35425 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 10:42:05 +00:00
mcmullen%netscape.com
4964d69d07 Fix windows bustage.
git-svn-id: svn://10.0.0.236/trunk@35424 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 09:35:20 +00:00
mcmullen%netscape.com
82b6f8f370 Using nsIFileSpec, leaks and stuff now become possible. Fixing one problem...
git-svn-id: svn://10.0.0.236/trunk@35421 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 09:09:17 +00:00
mcmullen%netscape.com
bfc8154d7d My fix collided with somebody else's. Fixing it the way I want it.
git-svn-id: svn://10.0.0.236/trunk@35403 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 06:30:33 +00:00
mcafee%netscape.com
78a4313ef0 Moving worked declaration to the beginning of function to get around goto error. Fixes linux bustage.
git-svn-id: svn://10.0.0.236/trunk@35401 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 06:24:34 +00:00
mcafee%netscape.com
458004adb3 Fixing some of the Linux breakage.
git-svn-id: svn://10.0.0.236/trunk@35399 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 06:22:35 +00:00
mcmullen%netscape.com
f5e5ff2fe2 Use nsIFileSpec. Also added ReadUserPrefs() method.
git-svn-id: svn://10.0.0.236/trunk@35361 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 05:17:55 +00:00
mcmullen%netscape.com
df063c42e1 Fix the typo in the name of unix.js, and fix the asserts.
git-svn-id: svn://10.0.0.236/trunk@34314 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 23:31:15 +00:00
mcmullen%netscape.com
63a1fe6509 Fix one last case of uint (and I had removed the typedef, breaking photon). Approved leaf.
git-svn-id: svn://10.0.0.236/trunk@33754 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 17:43:37 +00:00
chuang%netscape.com
4a147a3a33 Port PREF_CreateChildList and PREF_NextChild into nsIpref.
git-svn-id: svn://10.0.0.236/trunk@33590 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 21:25:25 +00:00
mcmullen%netscape.com
40e8a964a4 Patches for OpenVMS and conversions to nsQuickSort(). Thanks to Colin Blake and James Lewis Nance (resp)
git-svn-id: svn://10.0.0.236/trunk@33533 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 18:15:53 +00:00
mcmullen%netscape.com
79b29b038e Implemented XP default prefs
git-svn-id: svn://10.0.0.236/trunk@33443 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 00:34:20 +00:00
mcmullen%netscape.com
31bb6d7d91 Implemented XP default prefs.
git-svn-id: svn://10.0.0.236/trunk@33442 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 00:31:40 +00:00
alecf%netscape.com
c416cb0b7f oops, missed a few more size_t's
git-svn-id: svn://10.0.0.236/trunk@33174 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 22:30:30 +00:00
alecf%netscape.com
ebae6f9e6a fix mac bustage - missed this size_t when switching to XPIDL syntax
git-svn-id: svn://10.0.0.236/trunk@33173 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 22:29:53 +00:00
alecf%netscape.com
38f7a21ce8 make nsIPref scriptable, and turn on XPIDL compiling on unix
(windows is on the way)


git-svn-id: svn://10.0.0.236/trunk@33161 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 22:01:07 +00:00
sspitzer%netscape.com
ee971c748b make unix like the other platforms (use ImapMail as the imap mail dir)
git-svn-id: svn://10.0.0.236/trunk@33107 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 05:20:32 +00:00
sspitzer%netscape.com
33f48b3ff6 remove my comment
git-svn-id: svn://10.0.0.236/trunk@33094 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 03:36:04 +00:00
sspitzer%netscape.com
e887d056c5 whoops, I should only be setting some prefs if they didn't have a prefs file
git-svn-id: svn://10.0.0.236/trunk@33092 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 03:24:30 +00:00
sspitzer%netscape.com
82bc367b26 make my hack less of a hack. use the pref api instead of writing out the the
stream.

this is much better.  (thanks to alecf for the suggestion).


git-svn-id: svn://10.0.0.236/trunk@33089 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 03:16:03 +00:00
sspitzer%netscape.com
31cf7f4f21 if no prefs file exists, take a stab at creating a useful one for those inside netscape.
there aren't enough getter methods in the profile code to get the smtp server and the other info.
for now, all I can get is the default profile name


git-svn-id: svn://10.0.0.236/trunk@33040 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 00:03:43 +00:00
dp%netscape.com
f015deb427 Converting stray UnregisterFactory calls to UnregisterComponent
git-svn-id: svn://10.0.0.236/trunk@30485 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 01:37:04 +00:00
mcmullen%netscape.com
66296c0260 Adding default preference javascript files to the macintosh build. Also, fixing a line termination bug (#5508)
git-svn-id: svn://10.0.0.236/trunk@30146 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 19:12:37 +00:00
mcmullen%netscape.com
e6f8269f4c Make preferences work even if there is no file locator service, by using "default_prefs.js" in the current working directory.
git-svn-id: svn://10.0.0.236/trunk@29526 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-27 21:38:13 +00:00
mcmullen%netscape.com
eb74bbff62 Fix an error return value.
git-svn-id: svn://10.0.0.236/trunk@29203 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 18:46:13 +00:00
mcmullen%netscape.com
74fa93c92a Call ShutDown automatically on destruction.
git-svn-id: svn://10.0.0.236/trunk@28556 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 22:17:28 +00:00
mcmullen%netscape.com
1f9e08b3dd Prefs API changed to use filespecs instead of string paths. Added Get/SetFilePref. Cleaned up the API so that StartUp() does not need to be called.
git-svn-id: svn://10.0.0.236/trunk@28550 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 22:04:35 +00:00
alecf%netscape.com
eb4d499266 add ClearUserPref() to the nsIPref interface (needed for mail/news work)
git-svn-id: svn://10.0.0.236/trunk@27047 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 20:58:50 +00:00
mcmullen%netscape.com
4880f78850 I changed prefapi.h to use prtypes instead of the obsolete XP_ things
git-svn-id: svn://10.0.0.236/trunk@26076 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 20:39:14 +00:00
hshaw%netscape.com
e399b98073 Make destructors for nsPref and nsPrefFactory so we don't have uninitialization problems. Thanks bruce@cybersight.com
git-svn-id: svn://10.0.0.236/trunk@24615 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-21 09:03:26 +00:00
hshaw%netscape.com
4c5667fdce Changes to call Startup() from main() so we don't have thread problems in javascript
git-svn-id: svn://10.0.0.236/trunk@24228 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-16 22:03:03 +00:00
hshaw%netscape.com
7236a2582a To reduce confusion, read 'Netscape Preferences' for Mac, M3 bug #2343, approved dp
git-svn-id: svn://10.0.0.236/trunk@24213 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-16 18:31:40 +00:00
hshaw%netscape.com
c6b6bb0e47 To reduce confusion, read preferences.js for UNIX, prefs.js for Win/Mac, M3 bug #2343, approved dp
git-svn-id: svn://10.0.0.236/trunk@24210 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-16 17:59:11 +00:00
hshaw%netscape.com
a8d2897d6f load up default pref file, more detailed version requires mac project file changes
git-svn-id: svn://10.0.0.236/trunk@24167 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-15 06:12:17 +00:00
hshaw%netscape.com
7791b67a3a Replace NS_DECLARE_CID with NS_DEFINE_IID for kIPrefIID and KPrefCID
git-svn-id: svn://10.0.0.236/trunk@23560 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 20:33:18 +00:00
warren%netscape.com
e082c74dc0 Backed out the nsService template stuff.
git-svn-id: svn://10.0.0.236/trunk@23320 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 11:49:41 +00:00
warren%netscape.com
0b33372d99 nsRepository -> nsIComponentManager changes.
git-svn-id: svn://10.0.0.236/trunk@23300 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 09:44:27 +00:00
warren%netscape.com
49ed8e046f Changes for RDF component registration using nsRepository. Also changed args to NSGetFactory and friends.
git-svn-id: svn://10.0.0.236/trunk@22094 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 10:17:14 +00:00
ebina%netscape.com
989ce33bbf Change old RegisterFactory call to use the new API.
git-svn-id: svn://10.0.0.236/trunk@21934 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 18:37:30 +00:00
sudu%netscape.com
d3239a027a OJI MozClassic to raptor merge
git-svn-id: svn://10.0.0.236/trunk@18465 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 08:05:00 +00:00
mcmullen%netscape.com
629f7e6755 These include fixes of crashing bugs that were in the Nova tree and made since the last merge point (April 98), along with some bug prevention efforts, such as unobfuscating the return types. For example, some JSBools were being simply cast to a return value of "int", reversing their sense (success = JS_TRUE = 1 != 0)! In a world where everybody returns "int", the hidden bug is king.
git-svn-id: svn://10.0.0.236/trunk@17640 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-13 02:32:09 +00:00
brade%netscape.com
2041e6a41f fix unnecessary ifdefs (and reduce Macintosh compiler warnings)
git-svn-id: svn://10.0.0.236/trunk@17389 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-08 21:53:11 +00:00