282 Commits

Author SHA1 Message Date
mcafee%netscape.com
c8217af351 Adding default for browser.cache.enable. r=syd, a=chofmann,jar
git-svn-id: svn://10.0.0.236/trunk@55979 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-14 07:33:01 +00:00
endico%mozilla.org
c699580d08 change default mail start page to http://www.mozilla.org/mailnews/start.html r=sspitzer, a=brendan
git-svn-id: svn://10.0.0.236/trunk@55978 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-14 05:36:46 +00:00
jefft%netscape.com
1a11f42023 fixed bug 20312 -- [DOGFOOD] [PDT+] Mozilla Mail stalls on specified popmail spool; we failed in handling empty line & dot in the middle of a message; r=bienvenu,mscott a=chofmann
git-svn-id: svn://10.0.0.236/trunk@55874 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-10 23:42:44 +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
erik%netscape.com
618b8789ad bug 8801; adding defaults for the new font prefs; r=ftang
git-svn-id: svn://10.0.0.236/trunk@55639 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 23:25:50 +00:00
mscott%netscape.com
ab7173d18c *cringe* Bug #14928 --> throw the switch for uri loading! With this turned on, all urls which are run through
the webshell will now be run through the uri loader which knows how to dispatch urls based on content.

If any problems do arise, I'm ready to turn it back off again at a moment's notice.


git-svn-id: svn://10.0.0.236/trunk@55052 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 07:54:47 +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
norris%netscape.com
1ffa0ae294 Fix
20257 unable to edit existing images in editor due to JS error
	19933 JavaScript "window.location" core dumps in CAPS
Back out previous changes for enforcing security on listeners and go with a
simple restriction of access to the method for adding listeners.
r=mstoltz


git-svn-id: svn://10.0.0.236/trunk@54940 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 22:23:22 +00:00
alecf%netscape.com
845e776fb1 fix for #17961 - add defaults for some POP settings
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@54820 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 00:05:34 +00:00
pinkerton%netscape.com
54aadbcdf0 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@54637 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 00:12:08 +00:00
warren%netscape.com
eb9a891946 Eliminated the libs build pass.
git-svn-id: svn://10.0.0.236/trunk@54523 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-28 03:05:01 +00:00
evaughan%netscape.com
cd59b4628b Turned gfx scrollbars on by default. -r Mcaffe
git-svn-id: svn://10.0.0.236/trunk@54347 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-24 00:21:12 +00:00
matt%netscape.com
2e0d493a20 adding offline prefs default for the prefs -r dp
git-svn-id: svn://10.0.0.236/trunk@54212 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-22 23:44:54 +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
dp%netscape.com
5aaa3eaf10 Adding pref classname
git-svn-id: svn://10.0.0.236/trunk@54055 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-20 07:33:09 +00:00
norris%netscape.com
f77a65d9d4 Modify generated dom code to use a enum rather than a string for codesize
and efficiency.
Tighten checks on document properties and node properties. Should resolve
several bugs:
18965 document.firstChild vulnerability
19043 document.childNodes vulnerability
19044 document.lastChild vulnerability
r=mstoltz


git-svn-id: svn://10.0.0.236/trunk@54051 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-20 07:28:34 +00:00
cls%seawood.org
3eb07b84ae Removing dependency upon security/freenav module. r=alecf
git-svn-id: svn://10.0.0.236/trunk@53438 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-13 23:51:49 +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
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
valeski%netscape.com
a67d97f104 default for keywords enabled field is false
git-svn-id: svn://10.0.0.236/trunk@53157 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-11 01:13:51 +00:00
valeski%netscape.com
3014976cd0 11869, r=dagley. added keyword related prefs (1 for enable/disable, and 1 for keyword URL).
git-svn-id: svn://10.0.0.236/trunk@53127 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-11 00:26:05 +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
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
sspitzer%netscape.com
1bb663bbef fix for #8717. performance is good enough to bump this back to 500.
still more work to be done, as this is a per-server pref now, I think.


git-svn-id: svn://10.0.0.236/trunk@52193 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-29 04:49:41 +00:00
sspitzer%netscape.com
637de3c1b6 fix for #17285 and #17397. r=mscott.
properly migrate pop and nntp servers from 4.x that were not on the default ports (110 and 119, respectively).
also, set the default port pref to be -1, so that if we don't set the port, it gets set to -1.


git-svn-id: svn://10.0.0.236/trunk@52006 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-27 22:44:34 +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
norris%netscape.com
d201925571 7261 Connect XPConnect visibility filter to query principals
Reviewed by mstoltz.


git-svn-id: svn://10.0.0.236/trunk@51165 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-19 20:28:24 +00:00
sspitzer%netscape.com
ed6cbe944d other part of fix for #15235. fix send later. r=alecf
git-svn-id: svn://10.0.0.236/trunk@51092 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-19 01:24:25 +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
norris%netscape.com
f40460044c Fix 7254 Implement DOM security
Reviewed by mstoltz@netscape.com


git-svn-id: svn://10.0.0.236/trunk@50496 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 22:55:25 +00:00
evaughan%netscape.com
b6c93b5c5c Integrated Gfx scrollbars.
git-svn-id: svn://10.0.0.236/trunk@50385 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 00:16:06 +00:00
norris%netscape.com
15352050f2 Enable URI checks for web JavaScript.
Fixes bug 11462 "Need checks for setting URLs"
Reviewed by mstoltz.


git-svn-id: svn://10.0.0.236/trunk@50134 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 20:56:49 +00:00
beard%netscape.com
da97767078 changed from directly using "MSL DropInRuntime.Lib" to using "NSComponentStartup.o" to enable GC leak detector. r=smfr
git-svn-id: svn://10.0.0.236/trunk@49690 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-03 20:46:23 +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
mcafee%netscape.com
091b0a01d1 Default for network.proxy.type=3 is undefined, using 1, direct internet connection. r=akkana
git-svn-id: svn://10.0.0.236/trunk@49178 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-28 01:27:32 +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
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
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
sfraser%netscape.com
174f34da9f First Checked In.
git-svn-id: svn://10.0.0.236/trunk@48077 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-17 23:29:19 +00:00
sfraser%netscape.com
3c3bb91169 Remove .js files that are now exported by other MANIFEST files.
git-svn-id: svn://10.0.0.236/trunk@48075 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-17 23:28:42 +00:00