brendan%mozilla.org
47f8253c72
Use lazy JS class init to save memory and cycles; also expand tabs per Emacs modeline (46703, r=blizzard@mozilla.org).
...
git-svn-id: svn://10.0.0.236/trunk@77725 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 02:59:59 +00:00
dbaron%fas.harvard.edu
38b7ad8d31
Changing C++ comments to C comments. Please do not put C++ comments in C files, since it breaks some compilers. r=jst
...
git-svn-id: svn://10.0.0.236/trunk@76684 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 03:56:25 +00:00
jtaylor%netscape.com
4d256adca6
Additional safeguard for bug #45877 . r=alecf.
...
git-svn-id: svn://10.0.0.236/trunk@76659 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 22:32:05 +00:00
cls%seawood.org
e00c9de47a
Oops. Did a lxr search on the wrong thing. Change -DB1M to -DB_ONE_M since WS5.0 appears to not handle the former properly in all cases.
...
git-svn-id: svn://10.0.0.236/trunk@75470 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 06:07:33 +00:00
alecf%netscape.com
98d754b06b
oops, back out this printf, didn't mean for it to go in
...
git-svn-id: svn://10.0.0.236/trunk@75251 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-31 20:58:08 +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
cls%seawood.org
50a5bb697c
Start tedious process of removing obsolete mozilla/include files from build. This patch should take us down to 19 of 101. Bug #38061
...
git-svn-id: svn://10.0.0.236/trunk@73904 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 07:13:31 +00:00
mcafee%netscape.com
f9fb471e4b
Removing unused 4.x prefs (39812). r=pavlov
...
git-svn-id: svn://10.0.0.236/trunk@73156 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-24 03:32:40 +00:00
mcafee%netscape.com
5318eeba96
Fixing MLK. (33773)
...
git-svn-id: svn://10.0.0.236/trunk@70370 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 07:00:15 +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
alecf%netscape.com
38c1f60e7c
trim the pref DLL by removing lots of exported symbols
...
git-svn-id: svn://10.0.0.236/trunk@68821 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 05:58:29 +00:00
tor%cs.brown.edu
7992cab2b4
C++ comments in C files break native unix compilers.
...
git-svn-id: svn://10.0.0.236/trunk@68318 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 03:07:04 +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
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
f414ec2caa
back out my change until I can build this on windows again
...
git-svn-id: svn://10.0.0.236/trunk@64332 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 05:39:14 +00:00
alecf%netscape.com
e2a6213ae5
clean up the original prefapi.c
...
- make lots of functions static that aren't called from outside libpref
- remove dead code
r=neeti
git-svn-id: svn://10.0.0.236/trunk@64323 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 04:52:52 +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
mcafee%netscape.com
faf2c3743d
Removing old bogus 4.x prefs. r=sspitzer w/ help from alecf.
...
git-svn-id: svn://10.0.0.236/trunk@57219 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-08 19:50:34 +00:00
mcafee%netscape.com
9a9a39421b
Ifdef-ing out LI pref stuff, this is not used. r=alecf
...
git-svn-id: svn://10.0.0.236/trunk@57152 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-08 01:56:50 +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
c2a1156e3a
remove C++ style comments.
...
git-svn-id: svn://10.0.0.236/trunk@55787 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-09 01:59:34 +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
briano%netscape.com
46da1618bb
Build fix. This is a C file, so C++ comments are actually _wrong_ on platforms using competent native compilers.
...
git-svn-id: svn://10.0.0.236/trunk@55784 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-09 01:31:23 +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
sspitzer%netscape.com
ff9a5de363
really fix the warning this time.
...
git-svn-id: svn://10.0.0.236/trunk@53401 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-13 03:49:30 +00:00
sspitzer%netscape.com
f8f296d9bd
fix warning by casting. r=slamm
...
git-svn-id: svn://10.0.0.236/trunk@53395 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-13 01:59:19 +00:00
slamm%netscape.com
65de125a35
Fix build warnings. r=sspitzer
...
git-svn-id: svn://10.0.0.236/trunk@53391 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-13 01:36:34 +00:00
cls%seawood.org
99804f7160
Replaced NO_SECURITY ifdef with MOZ_SECURITY one. This causes pref_VerifyLockFile to always return PR_TRUE rather than linking against the dummy secfree library. This replacement also removed the last dependency upon that dummy library so it will no longer be built (next patch).
...
git-svn-id: svn://10.0.0.236/trunk@53021 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-09 23:13:53 +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
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
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
sspitzer%netscape.com
a874ecd7a2
got the logic backwards...
...
git-svn-id: svn://10.0.0.236/trunk@49177 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-28 01:20:48 +00:00
sspitzer%netscape.com
47900cdcad
fix crasher caused by calling ResetPrefs() more than once, which should be legal.
...
git-svn-id: svn://10.0.0.236/trunk@49175 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-28 01:08:03 +00:00
warren%netscape.com
64ef319f12
freed gSavedLine in prefapi
...
git-svn-id: svn://10.0.0.236/trunk@48360 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-20 20:52:48 +00:00
beard%netscape.com
56919e3f8c
Fixed a memory corrupting bug in PREF_copyTree. strtok would continue scanning off the end of the current string, modifying subsequent non-string blocks, if they contained a ';' before a '\0' byte.
...
git-svn-id: svn://10.0.0.236/trunk@48294 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-20 00:08:48 +00:00
briano%netscape.com
6f1f615870
Replaced the C++ comments with C comments, since this is a C file after all....
...
git-svn-id: svn://10.0.0.236/trunk@47996 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-17 20:13:53 +00:00
alecf%netscape.com
6dc9a95edb
remove assertions (and put comments for future NS_ASSERTIONs for when I finally change this to a C++ file)
...
fixes #13734
git-svn-id: svn://10.0.0.236/trunk@47949 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-17 07:35: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
sspitzer%netscape.com
24840c5280
fix warnings.
...
git-svn-id: svn://10.0.0.236/trunk@47110 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-13 08:12:31 +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
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
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
briano%netscape.com
047aef7665
Fixed the Unix builds. DON'T USE C++ COMMENTS IN C FILES.
...
git-svn-id: svn://10.0.0.236/trunk@33629 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 22:30:39 +00:00
sspitzer%netscape.com
862fc98636
cast to remove compiler warnings. use PL_strlen() instead of strlen()
...
rename index to indx to prevent shadow warnings on Linux.
git-svn-id: svn://10.0.0.236/trunk@33566 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 20:15:38 +00:00
mcmullen%netscape.com
40e8a964a4
Patches for OpenVMS and conversions to nsQuickSort(). Thanks to Colin Blake and James Lewis Nance (resp)
...
git-svn-id: svn://10.0.0.236/trunk@33533 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 18:15:53 +00:00
mcmullen%netscape.com
79b29b038e
Implemented XP default prefs
...
git-svn-id: svn://10.0.0.236/trunk@33443 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 00:34:20 +00:00
mcmullen%netscape.com
58f92b73a7
Removed some "obsolete" functions.
...
git-svn-id: svn://10.0.0.236/trunk@33441 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 00:30:21 +00:00
briano%netscape.com
4b509245d2
Fix for QNX.
...
git-svn-id: svn://10.0.0.236/trunk@31398 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 03:13:14 +00:00
mcmullen%netscape.com
66296c0260
Adding default preference javascript files to the macintosh build. Also, fixing a line termination bug ( #5508 )
...
git-svn-id: svn://10.0.0.236/trunk@30146 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 19:12:37 +00:00