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
dp%netscape.com
4d1fcf6b4a
Converting to nsIModule as a prelude to fixing memory leaks.
...
bug# 14034 r=neeti
git-svn-id: svn://10.0.0.236/trunk@49551 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-01 06:51:55 +00:00
neeti%netscape.com
59011d5197
read user.js on startup after prefs.js is read. #12423
...
git-svn-id: svn://10.0.0.236/trunk@48587 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 18:59:41 +00:00
neeti%netscape.com
4ab75d8495
moved *.js files from components to bin/defaults/pref
...
git-svn-id: svn://10.0.0.236/trunk@48074 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-17 23:27:15 +00:00
warren%netscape.com
27b1b788a1
Squelched leak.
...
git-svn-id: svn://10.0.0.236/trunk@48029 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-17 21:02:34 +00:00
chuang%netscape.com
6001a71296
Fix bug 13992 Personal address book shows up more than one time
...
git-svn-id: svn://10.0.0.236/trunk@47842 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-16 21:12:32 +00:00
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