Commit Graph
269 Commits
Author SHA1 Message Date
evaughan@netscape.com b85d05e475 Turned gfx scrollbars on by default. -r Mcaffe 1999-11-24 00:21:12 +00:00
matt@netscape.com 66cbcc2a01 adding offline prefs default for the prefs -r dp 1999-11-22 23:44:54 +00:00
dp@netscape.com 32e8dceaa8 - Converting to GenericModule
- Using NS_IMPL_ISUPPORTS1
- Removing a bunch of NS_DEFINE_IID
1999-11-20 07:34:03 +00:00
dp@netscape.com 3b20402893 Adding pref classname 1999-11-20 07:33:09 +00:00
norris@netscape.com 3a10ca92b3 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
1999-11-20 07:28:34 +00:00
cls@seawood.org cca7d35121 Removing dependency upon security/freenav module. r=alecf 1999-11-13 23:51:49 +00:00
sspitzer@netscape.com aa7a3fff56 really fix the warning this time. 1999-11-13 03:49:30 +00:00
sspitzer@netscape.com 746fc94072 fix warning by casting. r=slamm 1999-11-13 01:59:19 +00:00
slamm@netscape.com e6394258a3 Fix build warnings. r=sspitzer 1999-11-13 01:36:34 +00:00
norris@netscape.com 4a916b0a04 * Modify nsIPref to support security policy work.
r=neeti@netscape.com
* Close security holes by tightening prefs.
r=mstoltz@netscape.com
1999-11-12 02:50:18 +00:00
valeski@netscape.com bcfdf2db93 default for keywords enabled field is false 1999-11-11 01:13:51 +00:00
valeski@netscape.com 798fa89090 11869, r=dagley. added keyword related prefs (1 for enable/disable, and 1 for keyword URL). 1999-11-11 00:26:05 +00:00
cls@seawood.org 9d0ef09d74 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). 1999-11-09 23:13:53 +00:00
dmose@mozilla.org 20621227af updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
cls@seawood.org 824ba18df3 Removed unused NECKO ifdefs.
a=leaf
1999-11-02 23:34:03 +00:00
tbogard@aol.net d9fee9031e Changed NS_ENSURE_NOT to NS_ENSURE_FALSE to reflect API change. r=hyatt 1999-11-01 21:43:56 +00:00
brendan@mozilla.org 9835f2a8ec (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.
1999-10-31 00:43:30 +00:00
sspitzer@netscape.com ae60860e21 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.
1999-10-29 04:49:41 +00:00
sspitzer@netscape.com 5bd0990a83 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.
1999-10-27 22:44:34 +00:00
bienvenu@netscape.com 0037c156b0 fix memory leak of default pref dir file spec r=sspitzer 1999-10-20 18:42:30 +00:00
norris@netscape.com 8e10715684 7261 Connect XPConnect visibility filter to query principals
Reviewed by mstoltz.
1999-10-19 20:28:24 +00:00
sspitzer@netscape.com 891b178f00 other part of fix for #15235. fix send later. r=alecf 1999-10-19 01:24:25 +00:00
sspitzer@netscape.com 74e760d70f 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.
1999-10-18 22:38:53 +00:00
norris@netscape.com b772b3eacf Fix 7254 Implement DOM security
Reviewed by mstoltz@netscape.com
1999-10-12 22:55:25 +00:00
evaughan@netscape.com 59519330d0 Integrated Gfx scrollbars. 1999-10-12 00:16:06 +00:00
norris@netscape.com abf5e690ba Enable URI checks for web JavaScript.
Fixes bug 11462 "Need checks for setting URLs"
Reviewed by mstoltz.
1999-10-07 20:56:49 +00:00
beard@netscape.com c3a82c2a86 changed from directly using "MSL DropInRuntime.Lib" to using "NSComponentStartup.o" to enable GC leak detector. r=smfr 1999-10-03 20:46:23 +00:00
dp@netscape.com c13195dbd8 Converting to nsIModule as a prelude to fixing memory leaks.
bug# 14034 r=neeti
1999-10-01 06:51:55 +00:00
mcafee@netscape.com 625d1fde9c Default for network.proxy.type=3 is undefined, using 1, direct internet connection. r=akkana 1999-09-28 01:27:32 +00:00
sspitzer@netscape.com 9cb8693892 got the logic backwards... 1999-09-28 01:20:48 +00:00
sspitzer@netscape.com 368ae95d04 fix crasher caused by calling ResetPrefs() more than once, which should be legal. 1999-09-28 01:08:03 +00:00
neeti@netscape.com 6ee9bd8f7f read user.js on startup after prefs.js is read. #12423 1999-09-21 18:59:41 +00:00
warren@netscape.com ef8d9189e9 freed gSavedLine in prefapi 1999-09-20 20:52:48 +00:00
beard@netscape.com 86eb429754 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. 1999-09-20 00:08:48 +00:00
sfraser@netscape.com b0646c04ee First Checked In. 1999-09-17 23:29:19 +00:00
sfraser@netscape.com e26c440c8f Remove .js files that are now exported by other MANIFEST files. 1999-09-17 23:28:42 +00:00
neeti@netscape.com 99c16dc95a moved *.js files from components to bin/defaults/pref 1999-09-17 23:27:15 +00:00
warren@netscape.com fa8d3d90df Squelched leak. 1999-09-17 21:02:34 +00:00
briano@netscape.com 0196a5da90 Replaced the C++ comments with C comments, since this is a C file after all.... 1999-09-17 20:13:53 +00:00
alecf@netscape.com 3014a8740e remove assertions (and put comments for future NS_ASSERTIONs for when I finally change this to a C++ file)
fixes #13734
1999-09-17 07:35:34 +00:00
chuang@netscape.com 8f202f02ae Fix bug 13992 Personal address book shows up more than one time 1999-09-16 21:12:32 +00:00
chuang@netscape.com 32436c9e95 Fic bug 13992 Personal address book shows up more than one time 1999-09-16 20:48:52 +00:00
sspitzer@netscape.com a80e1da654 remove the default prefs for conference and netcrapper. 1999-09-16 06:44:35 +00:00
ducarroz@netscape.com 7ba52f9c51 Fix for bug 13778, GetFilePrefs now accept also a native path to let users write manually their prefs 1999-09-15 14:51:40 +00:00
norris@netscape.com 308af419ff Create preferences for security checks.
Add new methods on nsIScriptSecurityManager for capabilities.
Fix 13739 MLK: nsScriptSecurityManager::CreateCodebasePrincipal
Fix 11666 Eliminate plvector (was: [infinite loop] bugs - plvector.c)
1999-09-15 04:05:43 +00:00
alecf@netscape.com 7e35d83c34 define the PROGID and declare the enums in IDL 1999-09-14 04:09:28 +00:00
briano@netscape.com defa34ca4c General cleanup. 1999-09-14 02:51:42 +00:00
mcafee@netscape.com fa689e6e8f Turing on gfx widgets with default pref. 1999-09-13 22:21:28 +00:00
sspitzer@netscape.com e9be826a34 fix warnings. 1999-09-13 08:12:31 +00:00
sspitzer@netscape.com 6040f0654a adding the default value for mail.server_type back.
if the user was using pop in 4.x, this defaults to 0.
a ton of code depends on it being 0, and not undefined.
alecf removed it, using it as a way to tell if we needed to migrate the prefs
or not.  Instead, I'm using other prefs to do that.
see nsMsgAccountManager::ProceedWithMigration() for the logic.
1999-09-11 19:14:15 +00:00