Commit Graph

121 Commits

Author SHA1 Message Date
ccarlen%netscape.com
0ff733de33 Convert use of nsIFileLocator to nsIDirectoryService
r=alecf


git-svn-id: svn://10.0.0.236/trunk@76827 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 00:41:16 +00:00
alecf%netscape.com
a98365dfed fix for #46379 by dougt@netscape.com, r=alecf
fix some leaked interface pointers in nsPref


git-svn-id: svn://10.0.0.236/trunk@75250 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-31 20:56:54 +00:00
alecf%netscape.com
8934b0b4a8 #36965: make prefs use nsIFile - first part is to add APIs that will eventually replace GetFilePref
r=conrad@ingress.com


git-svn-id: svn://10.0.0.236/trunk@75242 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-31 20:27:22 +00:00
mstoltz%netscape.com
6bfe9c11ce Fixing 40159, nasty infinite recursion on startup. r&a=beard
git-svn-id: svn://10.0.0.236/trunk@74797 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-26 04:53:01 +00:00
mstoltz%netscape.com
0d04dfcd48 fix for 42387, r=dveditz
git-svn-id: svn://10.0.0.236/trunk@74510 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-20 01:16:15 +00:00
mstoltz%netscape.com
9e2ab39e7d Fixing 40159 and 44822, both [nsbeta2+] regressions on signed scripts. r=sgehani
git-svn-id: svn://10.0.0.236/trunk@74078 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 03:10:33 +00:00
dougt%netscape.com
162fc83684 44046
r=dveditz@netscape.com
pdt+


git-svn-id: svn://10.0.0.236/trunk@73750 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 06:58:28 +00:00
dougt%netscape.com
6515a284db 44046
r=dveditz@netscape.com
pdt+


git-svn-id: svn://10.0.0.236/trunk@73734 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 02:05:51 +00:00
tao%netscape.com
19e741ee13 39790: [L12y] Move all localizable prefs into chrome://.r=alecf.
git-svn-id: svn://10.0.0.236/trunk@73339 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 22:13:23 +00:00
neeti%netscape.com
2884ab4c55 fix for bug 40581. a=leaf. Turning off netscape.cfg feature.
git-svn-id: svn://10.0.0.236/trunk@70958 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 22:47:39 +00:00
neeti%netscape.com
83c30253b0 fix for 5132. Enabling netscape.cfg. r=dp@netscape.com
git-svn-id: svn://10.0.0.236/trunk@70839 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 14:26:32 +00:00
neeti%netscape.com
fd5804c71d netscape.cfg support for prefs.bug 5132,r=alecf.This is currently disabled
git-svn-id: svn://10.0.0.236/trunk@70120 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 22:15:13 +00:00
brendan%mozilla.org
18ba83921b Remove JS request API usage, it's wrong and unnecessary in the main thread (38780, r=alecf).
git-svn-id: svn://10.0.0.236/trunk@69947 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 02:40:38 +00:00
sspitzer%netscape.com
84ffeba8a9 fix for #37239. fix OS/2 build problems. patch from snizinsk@us.ibm.com
git-svn-id: svn://10.0.0.236/trunk@68962 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 01:57:35 +00:00
alecf%netscape.com
279b2e95ed remove the last of the extern symbols!
git-svn-id: svn://10.0.0.236/trunk@68822 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 06:07:02 +00:00
alecf%netscape.com
7a38d3a548 whack prefs with a medium sized-stick.
also fix #33668, allow localized prefs to come from stringbundles


git-svn-id: svn://10.0.0.236/trunk@68298 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 00:22:20 +00:00
mstoltz%netscape.com
1aebd93c62 Fixes for 27010, 32878, and 32948.
git-svn-id: svn://10.0.0.236/trunk@67181 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 03:50:07 +00:00
mstoltz%netscape.com
a8b220b370 Backing out changes until I can figure out why it's crashing on startup.
git-svn-id: svn://10.0.0.236/trunk@66937 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 21:25:39 +00:00
mstoltz%netscape.com
85e8a5b8e2 Fixes for bugs 27010, 32878, 32948.
git-svn-id: svn://10.0.0.236/trunk@66935 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 20:30:29 +00:00
mstoltz%netscape.com
e8a0e8479c Made prefapi.h private and removed all #includes of it outside of libpref. r=norris
git-svn-id: svn://10.0.0.236/trunk@66060 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 03:43:09 +00:00
alecf%netscape.com
2631283d4e fix for #34199 r=sspitzer a=leaf
when enumerating preferences, build up the list before the callback is called, instead of while the hash table is being enumerated


git-svn-id: svn://10.0.0.236/trunk@65384 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 23:09:04 +00:00
mkaply%us.ibm.com
d235fa9b63 # 34082
r= alecf@netscape.com
OS/2 Visual Age build - Adding PR_CALLBACK to some functoins for linkage


git-svn-id: svn://10.0.0.236/trunk@65295 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 02:35:25 +00:00
neeti%netscape.com
ba594f9c4e bug 12423,Read user.js on startup after prefs.js is read.r=alecf
git-svn-id: svn://10.0.0.236/trunk@64567 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 04:25:07 +00:00
alecf%netscape.com
b2d837f227 further fix prefs saving problem by not recording error when ANY prefs file failes to open, just when evaluation fails
git-svn-id: svn://10.0.0.236/trunk@64479 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 10:07:39 +00:00
alecf%netscape.com
de0f969f17 fix my stupid redness
git-svn-id: svn://10.0.0.236/trunk@64418 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 01:09:56 +00:00
alecf%netscape.com
bdf03fd66e fix regression #33625 - back out removal of Exists() for now (eventually there will be a better fix here)
git-svn-id: svn://10.0.0.236/trunk@64409 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 00:39:47 +00:00
alecf%netscape.com
cfd3e66915 trim down nsIPref and begin to cleanup nsIPref
- remove extra calls to nsFileSpec::Exists()
- get rid of PREF_SUPPORT_OLD_PATH_STRINGS
- don't expose nearly so much from the nsIPref interface
r=neeti


git-svn-id: svn://10.0.0.236/trunk@64322 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 04:50:47 +00:00
warren%netscape.com
d100457780 Bug 21556: Making linux be thread-safe. Making tons of classes implement threadsafe AddRef/Release. a=jar
git-svn-id: svn://10.0.0.236/trunk@62243 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-05 21:26:01 +00:00
mkaply%us.ibm.com
18cabebf7f # 25555
r= sspitzer@netscape.com
OS/2 changes for Mozilla - add #ifdef, change #ifdef


git-svn-id: svn://10.0.0.236/trunk@61786 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-28 15:07:12 +00:00
sspitzer%netscape.com
1e438624c6 use and XPIDLCString and prevent a leak. r=alecf
git-svn-id: svn://10.0.0.236/trunk@59879 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-05 08:24:07 +00:00
sspitzer%netscape.com
5fc9fc968f make it so when we read in a prefs file, we call any callbacks.
we need this because if you go through the profile manager, and you have
pref call backs set up (like disabling the xul cache), the call backs won't
fire when you pick a profile.  r=alecf


git-svn-id: svn://10.0.0.236/trunk@59872 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-05 07:17:44 +00:00
sspitzer%netscape.com
c15c3507a0 turning off my debug printfs.
git-svn-id: svn://10.0.0.236/trunk@58540 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 03:19:53 +00:00
alecf%netscape.com
41d8948966 fix for #21425
r=dp
add Get/SetDefaultUnicharPref() to API


git-svn-id: svn://10.0.0.236/trunk@58130 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-18 22:02:24 +00:00
sfraser%netscape.com
963a9e2635 Fix for bug 24232 -- ensure that we resolve aliases when loading defaulprefs files. r=alecf
git-svn-id: svn://10.0.0.236/trunk@58122 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-18 21:48:16 +00:00
sford3%swbell.net
09c9265da7 Replace instances of nsTextFormater with nsTextFormatter, r=jst@citec.fi
git-svn-id: svn://10.0.0.236/trunk@58041 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-17 22:32:13 +00:00
sspitzer%netscape.com
78531ab39a fix for #23573
sort the non-special default js files in reverse alphabetical order before parsing them.
r=alecf


git-svn-id: svn://10.0.0.236/trunk@57480 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-12 00:53:38 +00:00
pp%ludusdesign.com
b5787cf895 Converting usage of ::GetIID() to NS_GET_IID().
Bug #20232, r=scc@netscape.com


git-svn-id: svn://10.0.0.236/trunk@57423 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 20:49:15 +00:00
mcafee%netscape.com
a8aa37d870 DEBUG_mcafee debug info. r=pavlov
git-svn-id: svn://10.0.0.236/trunk@57158 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-08 03:28:04 +00:00
mcafee%netscape.com
c42b9e42a4 ifdef-ing out LI (Location Independence) code that's not being used. There is intent to re-implement this later, hence the ifdef and not code-removal. r=alecf,neeti
git-svn-id: svn://10.0.0.236/trunk@57089 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-07 08:29:50 +00:00
sspitzer%netscape.com
a9ac48d020 fix for 15483. return an error when we are about to return the default value for a pref that hasn't been initialized. r=putterman. mail sent to netscape.public.mozilla.xpfe and to various XUL / JS authors who may be affected by this change.
git-svn-id: svn://10.0.0.236/trunk@55786 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-09 01:49:19 +00:00
waterson%netscape.com
e4df3888e3 Bug 20714. Get rid of prefs 'special' JSRuntime. Never, EVER cross the beams. r=brendan
git-svn-id: svn://10.0.0.236/trunk@55742 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 06:49:04 +00:00
alecf%netscape.com
5eb28b95bc add new unicode-friendly pref accessors
(prefs will be stored in UTF8)
preparation for #20405, r=nhotta


git-svn-id: svn://10.0.0.236/trunk@54988 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 01:18:24 +00:00
dp%netscape.com
fbd0e803f5 - Converting to GenericModule
- Using NS_IMPL_ISUPPORTS1
- Removing a bunch of NS_DEFINE_IID


git-svn-id: svn://10.0.0.236/trunk@54056 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-20 07:34:03 +00:00
norris%netscape.com
01fb538344 * Modify nsIPref to support security policy work.
r=neeti@netscape.com
* Close security holes by tightening prefs.
r=mstoltz@netscape.com


git-svn-id: svn://10.0.0.236/trunk@53308 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-12 02:50:18 +00:00
dmose%mozilla.org
0efb7c174c updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52910 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:43:54 +00:00
cls%seawood.org
3e1a9ca95a Removed unused NECKO ifdefs.
a=leaf


git-svn-id: svn://10.0.0.236/trunk@52607 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-02 23:34:03 +00:00
tbogard%aol.net
ae3cd9e2ce Changed NS_ENSURE_NOT to NS_ENSURE_FALSE to reflect API change. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@52417 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-01 21:43:56 +00:00
brendan%mozilla.org
f980be0221 (13163, r=alecf, scc, waterson, others; names available on request)
- Fix most of bug 13163 (see TODO for rest).  This entails adding a version-string argument to nsIScriptContext::EvaluateString and passing it around lots of places in content sinks. 

- Fix leaks and confusion about mSecurityManager and mNameSpaceManager in nsJSEnvironment.cpp.  These still need to move from nsJSContext to nsGlobalWindow or thereabouts, jband and vidur are looking at that. 

- Added comments and expanded tabs in nsJSEnvironment.cpp, esp. to EvaluateString.  Also changed various nsresult vars to be named rv.  Also restored brace/style conformity to nsJSProtocolHandler.cpp. 

- Factored CompileFunction from AddScriptEventListener to pave the way for brutal sharing of compiled JS event handlers via JS_CloneFunctionObject. 

- Lots of nsCOMPtr uses added.  I'm using one for mNameSpaceManager.  Hold mSecurityManager as a service explicitly, on the other hand (awaiting scc's fix to allow comptrs for services), and release in nsJSContext's dtor (fixing a leak).  These two managers should be moved to the window object -- TODO item below. 

- Hold JSRuntimeService along with JSRuntime for live of nsJSEnvironment, fix for shaver. 

- Fix window.setTimeout etc. so the filename and line number of the timeout expr is propagated.  This meant factoring nsJSUtils.cpp code. 

- Fix all content sinks to use the same, and up-to-date JavaScript version parsing (whether for script type or for old language attribute); also fix SplitMimeType clones to strip whitespace. 

- With waterson, fix bug in brutal-sharing version of XUL content sink: script src= should not evaluate the inline content of its tag.


git-svn-id: svn://10.0.0.236/trunk@52347 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-31 00:43:30 +00:00
bienvenu%netscape.com
b205486bc1 fix memory leak of default pref dir file spec r=sspitzer
git-svn-id: svn://10.0.0.236/trunk@51267 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-20 18:42:30 +00:00
sspitzer%netscape.com
01d0e55136 fix for #16259, r=alecf. use the right line endings on the mac. now, instead of putting the LINEBREAK in every string, and then
writing every string to the stream, we do the line ending when we write to the stream.


git-svn-id: svn://10.0.0.236/trunk@51046 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-18 22:38:53 +00:00