129 Commits

Author SHA1 Message Date
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
bnesse%netscape.com
ed8612765b Added sanity check to insure that a valid JSRuntime was found before passing it to JS_NewContext. Bug 73491. r=mcafee,timeless. sr=alefc.
git-svn-id: svn://10.0.0.236/trunk@95325 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-17 22:17:03 +00:00
dbaron%fas.harvard.edu
b6a5197edf Make "Runtime mismatch, so leaking context!" error message from fix for 71237 |#ifdef DEBUG|. r=disttsc@bart.nl sr=shaver@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@91790 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-09 23:08:37 +00:00
shaver%mozilla.org
446f1ad3f6 39373 and 71237: make prefs use JS_*Request to defend against off-thread calls
and ensure that we don't destroy a context after the runtime has gone away.
(r=alecf, sr=brendan, assist=dbaron)


git-svn-id: svn://10.0.0.236/trunk@89906 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-20 14:34:56 +00:00
blakeross%telocity.com
6df9558b00 Removing old prefs code (68964). r=mcafee sr=ben
git-svn-id: svn://10.0.0.236/trunk@87248 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-17 01:55:32 +00:00
mcafee%netscape.com
38615556e3 Removing unuxed MOZ_OLD_LI_STUFF ifdef & code (68964). r=blake, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@87157 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-16 00:23:56 +00:00
alecf%netscape.com
f119a15095 back myself out to see if I'm causing orange
git-svn-id: svn://10.0.0.236/trunk@86896 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-13 04:08:26 +00:00
alecf%netscape.com
b8bf57494c fix for #62401, attempt #2 - only cleanup prefs JSContext when the shutdown event comes in, so we
don't fiddle with pointers to freed objects
sr=brendan


git-svn-id: svn://10.0.0.236/trunk@86876 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-13 02:23:17 +00:00
blakeross%telocity.com
ebcfd71f5b Fix 33115: attempt to shave milliseconds off of startup time by removing obsolete/unused prefs. more to come. r=timeless sr=alecf
git-svn-id: svn://10.0.0.236/trunk@85218 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-21 03:44:15 +00:00
ccarlen%netscape.com
3fbb4818f5 Part of 35559 - dynamic profile switching
sr=alecf


git-svn-id: svn://10.0.0.236/trunk@84733 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 20:25:52 +00:00
mkaply%us.ibm.com
b392b94a90 #56767
r/a=cls,leaf
Remove XP_PC - use XP_WIN or XP_OS2 explicitly


git-svn-id: svn://10.0.0.236/trunk@83088 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 23:28:04 +00:00