Commit Graph

267 Commits

Author SHA1 Message Date
dp%netscape.com
c36b6edecb - 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
eb2bc7aaf9 Adding pref classname 1999-11-20 07:33:09 +00:00
norris%netscape.com
24778bda71 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
0ea4864d1d Removing dependency upon security/freenav module. r=alecf 1999-11-13 23:51:49 +00:00
sspitzer%netscape.com
70bc2b5e0f really fix the warning this time. 1999-11-13 03:49:30 +00:00
sspitzer%netscape.com
c60e6d440a fix warning by casting. r=slamm 1999-11-13 01:59:19 +00:00
slamm%netscape.com
0fc73fa43d Fix build warnings. r=sspitzer 1999-11-13 01:36:34 +00:00
norris%netscape.com
3bef1cd94e * 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
b474e20c80 default for keywords enabled field is false 1999-11-11 01:13:51 +00:00
valeski%netscape.com
d1048dde78 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
dcb3aa39d9 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
142ac52eaf 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
bee74e223b Removed unused NECKO ifdefs.
a=leaf
1999-11-02 23:34:03 +00:00
tbogard%aol.net
10ded258a5 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
f81d5969c6 (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
c614d3d7c0 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
b14d0a9695 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
f0ddb93dbc fix memory leak of default pref dir file spec r=sspitzer 1999-10-20 18:42:30 +00:00
norris%netscape.com
ac9a073c8b 7261 Connect XPConnect visibility filter to query principals
Reviewed by mstoltz.
1999-10-19 20:28:24 +00:00
sspitzer%netscape.com
81220a5314 other part of fix for #15235. fix send later. r=alecf 1999-10-19 01:24:25 +00:00
sspitzer%netscape.com
3ac84e0b8d 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
83273d29bf Fix 7254 Implement DOM security
Reviewed by mstoltz@netscape.com
1999-10-12 22:55:25 +00:00
evaughan%netscape.com
f3a2112f38 Integrated Gfx scrollbars. 1999-10-12 00:16:06 +00:00
norris%netscape.com
b34db65450 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
9eae33066d 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
65d1fd6d5a 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
9f0d86a5b3 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
37d3c7c600 got the logic backwards... 1999-09-28 01:20:48 +00:00
sspitzer%netscape.com
75af0e9ea8 fix crasher caused by calling ResetPrefs() more than once, which should be legal. 1999-09-28 01:08:03 +00:00
neeti%netscape.com
3abee225ec read user.js on startup after prefs.js is read. #12423 1999-09-21 18:59:41 +00:00
warren%netscape.com
1586ede91e freed gSavedLine in prefapi 1999-09-20 20:52:48 +00:00
beard%netscape.com
3bec7d3a15 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
8b085ecf53 First Checked In. 1999-09-17 23:29:19 +00:00
sfraser%netscape.com
f8a226db72 Remove .js files that are now exported by other MANIFEST files. 1999-09-17 23:28:42 +00:00
neeti%netscape.com
20aedd5817 moved *.js files from components to bin/defaults/pref 1999-09-17 23:27:15 +00:00
warren%netscape.com
dbb2a8fdac Squelched leak. 1999-09-17 21:02:34 +00:00
briano%netscape.com
3086b53626 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
4e56d39a03 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
9b5ba0b0f0 Fix bug 13992 Personal address book shows up more than one time 1999-09-16 21:12:32 +00:00
chuang%netscape.com
917956e5b3 Fic bug 13992 Personal address book shows up more than one time 1999-09-16 20:48:52 +00:00
sspitzer%netscape.com
bdf359ce6b remove the default prefs for conference and netcrapper. 1999-09-16 06:44:35 +00:00
ducarroz%netscape.com
b853afd7a7 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
0865f1cdaa 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
0aef50bca8 define the PROGID and declare the enums in IDL 1999-09-14 04:09:28 +00:00
briano%netscape.com
775e13bce8 General cleanup. 1999-09-14 02:51:42 +00:00
mcafee%netscape.com
f3cd9ba86e Turing on gfx widgets with default pref. 1999-09-13 22:21:28 +00:00
sspitzer%netscape.com
66a06004ba fix warnings. 1999-09-13 08:12:31 +00:00
sspitzer%netscape.com
7a52aab453 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
sspitzer%netscape.com
87957ce0af mailnews/base/src/nsMsgAccountManager.cpp 1999-09-11 19:10:30 +00:00
alecf%netscape.com
c69bd02e2f remove mail.server_type so that the account manager can tell if we're starting a fresh profile or upgrading from 4.x 1999-09-11 01:54:49 +00:00