166 Commits

Author SHA1 Message Date
chuang%netscape.com
1ebdb68663 Fic bug 13992 Personal address book shows up more than one time
git-svn-id: svn://10.0.0.236/trunk@47831 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-16 20:48:52 +00:00
ducarroz%netscape.com
34ca87f82b Fix for bug 13778, GetFilePrefs now accept also a native path to let users write manually their prefs
git-svn-id: svn://10.0.0.236/trunk@47587 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 14:51:40 +00:00
neeti%netscape.com
09e423faf4 implemented ResetPrefs feature
git-svn-id: svn://10.0.0.236/trunk@44980 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-28 05:19:29 +00:00
vidur%netscape.com
cb989d08ff Added nsIPref::GetPrefType.
git-svn-id: svn://10.0.0.236/trunk@44756 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 06:05:04 +00:00
neeti%netscape.com
01660f0a39 Implemented special processing required to handle # in prefs.js,
write out prefs file with #, fixed memory leak bug 10629


git-svn-id: svn://10.0.0.236/trunk@44668 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-26 12:54:52 +00:00
brendan%mozilla.org
d87f3f7b04 Massive spankage to capitalize C++ method and attribute name bindings, per
Architecture Item 6.3 (news://news.mozilla.org/37BA89CF.3823D6F9%40meer.net).


git-svn-id: svn://10.0.0.236/trunk@44456 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-25 05:26:25 +00:00
mccabe%netscape.com
91543218bc First cut at removing manual declaration of interface methods in implementation classes and replacing with xpidl-generated NS_DECL_NSIFOO macro.
Hopefully this'll help turn the copy-n-paste tide towards using this macro.


git-svn-id: svn://10.0.0.236/trunk@43988 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-21 08:54:47 +00:00
mscott%netscape.com
0354de99f5 Fix for Bug #12151 on behalf of sspitzer.
git-svn-id: svn://10.0.0.236/trunk@43882 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-20 22:59:16 +00:00
sspitzer%netscape.com
674e1d96bd remove my old, temporary code to generate a prefs.js file with some default mail-news prefs. we don't need this anymore. fixes #12064
git-svn-id: svn://10.0.0.236/trunk@43570 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 06:28:39 +00:00
neeti%netscape.com
ac4091c162 fix for bug 9853
git-svn-id: svn://10.0.0.236/trunk@41637 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-30 23:56:51 +00:00
warren%netscape.com
b096de8cbe Fix for prefs crash.
git-svn-id: svn://10.0.0.236/trunk@41596 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-30 17:51:21 +00:00
warren%netscape.com
462380bd8a Fixed leak.
git-svn-id: svn://10.0.0.236/trunk@41590 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-30 08:00:45 +00:00
sspitzer%netscape.com
695d359ba6 change the nsIDirectoryIterator::Init interface to match the nsDirectoryIterator ctor: two paramenters, a file spec and a bool for resolveSymlinks. pass in PR_TRUE in the pref and component manager code. this fixes the problem where prefs wouldn't get loaded on the mac!
git-svn-id: svn://10.0.0.236/trunk@41358 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 23:33:54 +00:00
sspitzer%netscape.com
9d7a392839 don't create these values. rely on the default prefs for that.
git-svn-id: svn://10.0.0.236/trunk@38428 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-06 22:42:48 +00:00
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