139 Commits

Author SHA1 Message Date
darin%meer.net
e261c5b10b fixing typo in last checkin
git-svn-id: svn://10.0.0.236/trunk@147179 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-23 18:38:49 +00:00
darin%meer.net
864739cabe fixes bug 219479 "further cleanup for pref backend" patch=alfredkayser@nl.ibm.com r=darin sr=alecf
git-svn-id: svn://10.0.0.236/trunk@147176 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-23 17:57:22 +00:00
darin%meer.net
9fe4383188 fixes bug 219456 "proxy browsing broken on todays cvs 20030917" r=dougt sr=alecf
git-svn-id: svn://10.0.0.236/trunk@147125 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-22 22:30:29 +00:00
darin%meer.net
090f20313a fixes bug 98533 "use lightweight parser to read pref files" r=dougt sr=brendan
git-svn-id: svn://10.0.0.236/trunk@146958 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-16 16:19:00 +00:00
mkaply%us.ibm.com
ea2071d85d rs=leaf
Remove XP_OS2_VACPP from the tree


git-svn-id: svn://10.0.0.236/trunk@145037 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-21 22:10:08 +00:00
arougthopher%lizardland.net
97ed3d69c3 Bug#173469
Implement a BeOS native dialog for pref_Alert

r=timeless
sr=alecf


git-svn-id: svn://10.0.0.236/trunk@144132 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-25 02:25:44 +00:00
ccarlen%netscape.com
b34d8cc536 Profile sharing - use in prefs. bug=202474, r=jgaunt/sr=alecf/a=asa
git-svn-id: svn://10.0.0.236/trunk@142042 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-02 04:00:19 +00:00
alecf%netscape.com
067dd808b0 fix for bug 200524, use arenas to allocate pref names
r=dveditz, sr=jag


git-svn-id: svn://10.0.0.236/trunk@140668 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-04 02:19:25 +00:00
dbaron%dbaron.org
9ab3dd31bb Fix nsPrintfCString usage inside NS_WARNING (debug code only) so that the full warning is printed. r+sr=mozbot
git-svn-id: svn://10.0.0.236/trunk@138206 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 17:23:17 +00:00
alecf%netscape.com
6cda6d10ed fix for bug 160377 - only write prefs when they are dirty.
sr=dveditz, r=timeless


git-svn-id: svn://10.0.0.236/trunk@136690 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-20 19:08:54 +00:00
dveditz%netscape.com
f2f1b42a6b Correct preference escaping for bug 143459, r=bnesse,mstoltz sr=alecf, a=asa
git-svn-id: svn://10.0.0.236/trunk@125273 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-16 02:09:34 +00:00
dougt%netscape.com
d6cc711878 Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756
git-svn-id: svn://10.0.0.236/trunk@121534 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 18:55:21 +00:00
bnesse%netscape.com
48665497a5 Fix for bug 141552. Remove unused static functions from prefs. r=blythe, sr=jsg.
git-svn-id: svn://10.0.0.236/trunk@120564 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 20:34:17 +00:00
bnesse%netscape.com
eb5b29bb76 Fix for bug 141552. Remove build warnings from prefs. r=jag, sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@120466 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 22:12:01 +00:00
bnesse%netscape.com
32ce7d6556 Fix for bug 132140. Clean up prefs backend. r=dveditz, sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@119126 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 18:48:19 +00:00
bnesse%netscape.com
5395eb726a Fix for bug 123787. Insure gRoot is allocated before attempting to free it. r=sfraser, sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@119121 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 18:32:31 +00:00
seawood%netscape.com
bfd788cd4d Remove xp_core.h & xp_mem.h and all build references to them.
Remove cruft from xp_mcom.h & xp_str.h.
Bug #38061 r=brendan sr=alecf a=valeski


git-svn-id: svn://10.0.0.236/trunk@117612 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-27 06:02:39 +00:00
ccarlen%netscape.com
729dbf9f2e Bug 99117 - mailnews problems using turbo. This is the cause of one of them anyway. When clearing user prefs on a profile switch, don't unhash (destroy) the pref because it may also have a default value which needs to remain. r=bnesse/sr=alecf/a=dbaron
git-svn-id: svn://10.0.0.236/trunk@117610 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-27 05:52:48 +00:00
bnesse%netscape.com
c2f0ad7960 Backing this out again... I'm beginning to hate this patch.
git-svn-id: svn://10.0.0.236/trunk@114898 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 06:29:41 +00:00
bnesse%netscape.com
ca7c6cfe6b Fix for bug 98476. Add safe save and redundant backup support for preferences. r=sfraser, sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@114895 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 05:55:08 +00:00
bnesse%netscape.com
85d89ecb4f Backing out the BE portion of my checkin to attempt to clear up the orange.
git-svn-id: svn://10.0.0.236/trunk@114710 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-17 00:23:36 +00:00
bnesse%netscape.com
d45f1774d0 Fix for bug 98476. Add safe save & redundant backup support for prefs.js. r=sfraser, sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@114704 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 21:18:38 +00:00
dbaron%fas.harvard.edu
65120036dc Using PR_ALIGN_OF_POINTER instead of sizeof(void*) since the preprocessor can't do math on a sizeof expression. Still fixing the same bustage.
git-svn-id: svn://10.0.0.236/trunk@111418 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-05 16:40:21 +00:00
dbaron%fas.harvard.edu
a16848c716 Fix bustage (really?) since NSPR defines ALIGN_OF_WORD to PR_ALIGN_OF_WORD even when PR_ALIGN_OF_WORD isn't defined.
git-svn-id: svn://10.0.0.236/trunk@111417 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-05 15:53:51 +00:00
dbaron%fas.harvard.edu
75ff2da8f4 Fix typo in alecf's previous bustage fix.
git-svn-id: svn://10.0.0.236/trunk@111414 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-05 14:59:05 +00:00
alecf%netscape.com
4eeea60a15 fix non-Mac/Win/Unix platforms by defining my own alignment where it isn't already defined
git-svn-id: svn://10.0.0.236/trunk@111410 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-05 08:29:55 +00:00
alecf%netscape.com
3ba0353391 final fix for bug 112708 - reduce number pref allocations by using a few large buffers to hold all the prefnames
sr=brendan r=bnesse, dp
Also, clean more unnecessary routines..


git-svn-id: svn://10.0.0.236/trunk@111376 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-05 00:09:53 +00:00
bnesse%netscape.com
9e704846ef Fix for bug 89137. Remove autoconfig from preferences library. Patch by mitesh, r=bnesse/dmose. sr = alecf.
git-svn-id: svn://10.0.0.236/trunk@110998 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-21 22:29:31 +00:00
alecf%netscape.com
a8957c032d big libpref cleanup: remove lots and lots of unused functions
git-svn-id: svn://10.0.0.236/trunk@110304 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-11 22:41:19 +00:00
alecf%netscape.com
3b26228e2a fix bug 112708, take two
use nsCAutoString instead of PR_smprintf to reduce pref shutdown notifications by 3x
r=bnesse, sr=brendan


git-svn-id: svn://10.0.0.236/trunk@109667 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 22:01:22 +00:00
alecf%netscape.com
3207e85edb back myself out to fix blocker 113482
git-svn-id: svn://10.0.0.236/trunk@109651 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 20:34:03 +00:00
alecf%netscape.com
9500bda665 further fixes for bug 112708 r=bnesse sr=dveditz
instead of using PR_smprintf to construct each user_pref line to the preferences, store it all in a smart cconcatination string - reduces pref allocations at shutdown by 3x


git-svn-id: svn://10.0.0.236/trunk@109629 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 15:44:38 +00:00
alecf%netscape.com
55466e06c9 first part of fix for bug 112708 r=bnesse, sr=brendan
switch prefs from PLHash to PLDHash


git-svn-id: svn://10.0.0.236/trunk@109596 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 01:52:44 +00:00
jdunn%netscape.com
e043336604 fixing hp-ux tinderbox orange and aix build bustage
when functions are defined they shouldn't be defined extern
and when declaring externs, they should be declared globably

r=bnesse@netscape.com
sr=alecf@netscape.com
# 113319


git-svn-id: svn://10.0.0.236/trunk@109559 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-03 23:04:29 +00:00
mkaply%us.ibm.com
864d999137 put PL_strtok_r in to try to fix HPUX bustage
git-svn-id: svn://10.0.0.236/trunk@109459 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-01 14:58:54 +00:00
mkaply%us.ibm.com
4d79330194 Taking cls suggestion - just include string.h
git-svn-id: svn://10.0.0.236/trunk@109372 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 20:48:13 +00:00
mkaply%us.ibm.com
4858a05464 Attempt to fix HPUX bustage - use PL_strtok_r instead of strtok_r
git-svn-id: svn://10.0.0.236/trunk@109369 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 20:41:49 +00:00
mkaply%us.ibm.com
0780022acc Preemptively fix OS/2 bustage that will be caused by prefapi change
git-svn-id: svn://10.0.0.236/trunk@109368 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 18:56:56 +00:00
alecf%netscape.com
0d76157146 for bug 112708, add a bunch of casts so this file can also be compiled as C++
sr=dveditz, r=bnesse


git-svn-id: svn://10.0.0.236/trunk@109276 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 23:55:27 +00:00
ccarlen%netscape.com
c11a56bbb0 Bug 89465 - Infinite loop in PL_HashTableEnumerateEntries. Added code to use PL_HashTableLookupConst when enumerating the hash table. r=bnesse/sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@106968 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-01 15:41:53 +00:00
dbaron%fas.harvard.edu
891820b86a Fix incorrect parameter to strtok_r. b=99245 r=bnesse sr=alecf
git-svn-id: svn://10.0.0.236/trunk@104207 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 05:55:53 +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
gerv%gerv.net
ae1d5501a1 Oops.
git-svn-id: svn://10.0.0.236/trunk@103236 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 00:02:59 +00:00
scc%mozilla.org
52c8d09e03 bug #98089: ripped new license
git-svn-id: svn://10.0.0.236/trunk@103219 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 20:09:47 +00:00
stephend%netscape.com
e437e5da57 Bug 99245. Using strtok is evil. Patch by Ulrich Drepper <drepper@cygnus.com> r=bnesse@netscape.com, sr=alecf@netscape.com
git-svn-id: svn://10.0.0.236/trunk@103014 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-17 20:39:31 +00:00
bnesse%netscape.com
928bf74900 Fix for bug 96514. Don't return bogus values from preferences when no default preference exists. patch=ccarlen, r=bnesse,sr=sfraser,a=dbaron.
git-svn-id: svn://10.0.0.236/trunk@101979 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-29 22:22:52 +00:00
ccarlen%netscape.com
b1ff363939 Bug 89160 - Clearing user prefs can go into infinite loop. r=bnesse,valeski, sr=vidur
git-svn-id: svn://10.0.0.236/trunk@98806 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-06 14:07:37 +00:00
bnesse%netscape.com
ce8b81a75c Fix for bug 51507. Remove "Netscape" from warning dialog. r=timeless, sr=slecf,a=dbaron.
git-svn-id: svn://10.0.0.236/trunk@96737 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-08 20:45:07 +00:00
bnesse%netscape.com
dafc550c45 Fix for bug 80108. Fix PREF_DeleteBranch so it doesn't append a "." if one is already there. r=chipc, sr=alecf, a=dbaron.
git-svn-id: svn://10.0.0.236/trunk@96735 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-08 20:35:01 +00:00
bnesse%netscape.com
bdc99b7f76 Removed 2k limit on user preference strings by using dynamic allocation instead of buffer based allocation. Bug 69744. r=dveditz, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@95423 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-18 21:46:35 +00:00