176 Commits

Author SHA1 Message Date
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
beard%netscape.com
810f6cfdf2 Mac shared library migration.
git-svn-id: svn://10.0.0.236/trunk@15474 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-30 22:15:00 +00:00
cyeh%netscape.com
19df6bd097 checking in conflicts to fix
git-svn-id: svn://10.0.0.236/trunk@14088 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 18:50:31 +00:00