58 Commits

Author SHA1 Message Date
timeless%mac.com
254ce23d7b Bug 153324 user.js not loaded if prefs.js doesn't exist.
patch by tranquil@mail.dk r=bnesse sr=alecf


git-svn-id: svn://10.0.0.236/trunk@127077 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-12 14:52:32 +00:00
dougt%netscape.com
ecdd8ab65f Fixes the following:
154047
This change cleans up the category manager in hopes to freeze it for 1.1 final.  This change removes dead and unsupported methods from the interface as well as removes the C++ code from the interface.  This should land for 1.1b since users of the current category manager will have to update their components.

157597
Make embedding base and examples use XPCOM Glue
This change makes our embedding samples use the XPCOM glue.

157625
nsLocalFile::Remove's file pointer is sometimes null afte...
This fixes a crash when we dereference null.  It is a bandaide fix as the real problems involves retooling the directory enumerator.

157801
This fixes a terrible state which you can get into whereby XPCOM will fail to startup regardless of what you do.  The fix is to cause autoreg to happen if the component registry (compreg.dat) is not found.

r/sr=alecf@netscape.com, rpotts@netscape.com.  a=scc@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@125444 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-18 05:09:10 +00:00
bnesse%netscape.com
acbe281411 Fix for bug 153622. Remove macxprefs (no longer used) from the build. r=ccarlen, sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@124013 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-25 20:05:48 +00:00
mkaply%us.ibm.com
7e4d76ba50 #149422
r=bnesse, sr=jst
OS/2 only - skip over EOF character on JS files in prefs


git-svn-id: svn://10.0.0.236/trunk@123720 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-20 21:37:21 +00:00
bnesse%netscape.com
6875060a29 Fix for bug 148191. Remove now obsolete references to 'session-logout'. r=morse, sr= alecf.
git-svn-id: svn://10.0.0.236/trunk@122439 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-31 20:55:21 +00:00
bnesse%netscape.com
907a0675c6 Fix for bug 98476. Add safe saving support to preferences. r=alecf, sr=jag.
git-svn-id: svn://10.0.0.236/trunk@122263 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-29 18:04:41 +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
darin%netscape.com
24feadaaed fixes bug 142870 "nsIFile should use UCS-2 instead of UTF-8"
r=dougt sr=alecf


git-svn-id: svn://10.0.0.236/trunk@121010 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 23:07:19 +00:00
darin%netscape.com
824def02af fixes bug 129279 "nsIFile unicode/utf8/ascii task"
r=dougt sr=alecf


git-svn-id: svn://10.0.0.236/trunk@120092 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 05:33:09 +00:00
morse%netscape.com
0e645dfb8e bug 123633, save prefs when closing last window, r=sgehani, sr=jag
git-svn-id: svn://10.0.0.236/trunk@119585 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-23 00:50:24 +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
dcone%netscape.com
e7dc263623 119574 r=rods sr=attinasi a=asa. XP printprogress should not come up. I added new prefs to
keep the dialog from being put up.


git-svn-id: svn://10.0.0.236/trunk@116677 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-16 02:01:38 +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
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
bnesse%netscape.com
d620fb69af Fix for bug 113927. Remove use of nsIFileSpec's when reading preferences files. r=alecf, sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@110296 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-11 22:19:53 +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
alecf%netscape.com
f803585f96 for bug 112708, sr=dveditz, r=bnesse convert prefapi.c to C++
git-svn-id: svn://10.0.0.236/trunk@109365 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 18:42:41 +00:00
dp%netscape.com
699a283d5d marking pref file load times in timeline. For timeline builds only.
git-svn-id: svn://10.0.0.236/trunk@108957 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-27 01:39:09 +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
alecf%netscape.com
96cefc42e2 NS_LITERAL_STRING cruft that's needed for 100214, got left over from dougt's patch
git-svn-id: svn://10.0.0.236/trunk@106066 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 22:07:29 +00:00
dougt%netscape.com
fa2d0b7e98 99163 - removing nsObserverService.h includes. Also fixing 106090, extra methods on nsObserverService. r=shaver@mozilla.org, sr=jband@netscape.com
git-svn-id: svn://10.0.0.236/trunk@105973 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 22:01:27 +00:00
bnesse%netscape.com
7f9fa9521d Fix for bug 103883. Add weak ref support for prefs observers to help reduce MLK cycles with preferences. r=ccarlen, darin, gordon, hewitt, mstoltz, srilatha, sspitzer. sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@105960 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 20:54:48 +00:00
dougt%netscape.com
cf60fc042e nsIObserver and nsIObserverService API freeze. r=rpotts@netscape.com, alecf@netscape.com. bug 99163
git-svn-id: svn://10.0.0.236/trunk@105800 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 20:52:59 +00:00
dinglis%qnx.com
d481e567e4 fixed bug#91955
default preferences for photon
r=bnesse sr=jst


git-svn-id: svn://10.0.0.236/trunk@105703 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-18 13:46:18 +00:00
bnesse%netscape.com
c95be0de1b Bug 99611, Freeze nsIPrefService, nsIPrefBranch, (and nsIPrefLocalizedString) interfaces. r=dveditz, sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@104810 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 19:52:17 +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
mitesh%netscape.com
f9c9f59b2d Fix for bug 80789 Changing hashing algorithm for netscape.cfg
r=bnesse and sr=alecf
checking in for chipc@netscape.com


git-svn-id: svn://10.0.0.236/trunk@103118 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 22:05:57 +00:00
bnesse%netscape.com
dec4d71678 Fix for bug 92447. Internalize loading of config file so it can be re-read if the preferences are reset. r=chipc, mitesh. sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@102312 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 18:22:10 +00:00
mitesh%netscape.com
025e68f211 Fix for Bug 87661 - moving AutoConfig creation after reading of netscape.cfg
r=bnesse, sr=shaver and a=asa


git-svn-id: svn://10.0.0.236/trunk@101766 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-24 19:44:45 +00:00
dbaron%fas.harvard.edu
07ebb63af8 Fix leak of preferences JS context by making prefs hold a reference to the JS runtime service and using that reference to avoid "runtime mismatch, leaking context" under normal conditions. b=76288 r=shaver, bnesse sr=waterson
git-svn-id: svn://10.0.0.236/trunk@100254 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-03 02:35:32 +00:00
jaggernaut%netscape.com
2b3b3b2586 Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa
git-svn-id: svn://10.0.0.236/trunk@99906 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-25 07:54:28 +00:00
pete%alphanumerica.com
63991fa7da Fix for nsIFile delete conflicts with JS reserved name b=37406, r=dougt, sr=jst
Renamed all Delete methods to Remove.

--pete


git-svn-id: svn://10.0.0.236/trunk@99803 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-24 18:38:25 +00:00
rbs%maths.uq.edu.au
1129d303bc create a debug-developer.js to catch strict javascript errors & warnings during development, and to avoid receiving bugs from gemal for the fixup
git-svn-id: svn://10.0.0.236/trunk@97596 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-20 07:44:17 +00:00
ccarlen%netscape.com
b539354e4b Bug 86021 - enable multiple profiles in -turbo mode. r=racham/sr=alecf/a=chofmann
git-svn-id: svn://10.0.0.236/trunk@97581 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-20 06:49:22 +00:00
bnesse%netscape.com
b77b3c10e7 Fix for bug 86107. Preferences needs to implement nsISupportsWeakReference. r=mitesh, sr=alecf, a=asa.
git-svn-id: svn://10.0.0.236/trunk@97395 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-19 01:40:19 +00:00
bnesse%netscape.com
c375617550 Fix for bug 77975. Don't skip the first line when processing user.js. r=chipc, sr=alecf, a=dbaron.
git-svn-id: svn://10.0.0.236/trunk@96736 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-08 20:36:58 +00:00
mitesh%netscape.com
c8aa073ccd Checking in for chipc@netscape.com
Bug 5132 - cfg implementation
r=bnesse and sr=alecf


git-svn-id: svn://10.0.0.236/trunk@93701 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-02 23:00:22 +00:00
bnesse%netscape.com
2aa7f04c35 Fix for bug 77975, user.js support broken. r=srilatha, sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@93605 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-02 01:37:33 +00:00
bnesse%netscape.com
ee257ebfab Prefs API refactoring. Bug #46863. r=valeski, sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@93158 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-26 18:41:11 +00:00
bnesse%netscape.com
aefa450b9f Replacing changes that were backed out and adding fixes for bugs which were found while this code was active.
[Not part of the build]


git-svn-id: svn://10.0.0.236/trunk@93008 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-24 20:32:16 +00:00
bryner%uiuc.edu
607c3ab676 Backing out bnesse's fix for bug 46863 due to numerous types of runtime bustage on linux and windows. a=brendan.
git-svn-id: svn://10.0.0.236/trunk@92818 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-20 06:45:56 +00:00
bnesse%netscape.com
e8c7f4a0a7 Landing PrefAPI refactoring bug 46863. r=valeski, sr=alecf, a=blizzard.
git-svn-id: svn://10.0.0.236/trunk@92761 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-19 22:21:39 +00:00