Граф коммитов

254 Коммитов

Автор SHA1 Сообщение Дата
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
alecf%netscape.com f62beefae6 make prefs a component on windows 1999-09-11 01:26:37 +00:00
alecf%netscape.com 298d8ed7c8 make prefs a component on unix 1999-09-09 04:21:21 +00:00
sspitzer%netscape.com a2622774f3 removing these defaults. they are not used in 5.0. now we have mail.root.imap, mail.root.pop3, mail.root.none, mail.root.nntp. there is also a mail.newsrc_root. part of the work for #13305 1999-09-08 22:12:00 +00:00
morse%netscape.com 2f29951965 fetch wallet files from netcenter 1999-09-07 18:28:50 +00:00
cyeh%netscape.com 1729151e74 Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people. 1999-09-01 01:24:51 +00:00
ramiro%netscape.com 18b5e04d18 Cleanup linkin of mozdbm. 1999-08-31 14:31:50 +00:00
morse%netscape.com 954bf7212f fetch server location from a pref 1999-08-31 02:48:28 +00:00
norris%netscape.com d8507f844e * clean up nsScriptSecurityManager
* remove nsJSSecurityManager
* save principals in nsIChannels and nsIDocuments
1999-08-29 21:58:42 +00:00
neeti%netscape.com b9758e25ce implemented ResetPrefs feature 1999-08-28 05:19:29 +00:00
sspitzer%netscape.com 1654cf2872 fix for #12556. change homepage back to www.mozilla.org now that bug #7417 is fixed 1999-08-27 06:09:25 +00:00
vidur%netscape.com ac58d4a6f3 Added nsIPref::GetPrefType. 1999-08-27 06:05:04 +00:00
neeti%netscape.com 8a390ae229 Implemented special processing required to handle # in prefs.js,
write out prefs file with #, fixed memory leak bug 10629
1999-08-26 12:54:52 +00:00
brendan%mozilla.org defeffaabd Massive spankage to capitalize C++ method and attribute name bindings, per
Architecture Item 6.3 (news://news.mozilla.org/37BA89CF.3823D6F9%40meer.net).
1999-08-25 05:26:25 +00:00