gecko-dev/webshell
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
..
embed Fixed some bugs in the copy to clipboard operation. 1999-10-27 23:19:27 +00:00
macbuild Enabled MOZ_PERF_METRICS in the Mac build: - updated DefinesMozilla.h - fixed stopwatch.cpp - created libutilIDL.mcp - added StopWatch exports to libutil.exp - added xpcom.shlb to libutil.mcp - added libutil.shlb to htmlparser.mcp, layout.mcp, webshell.mcp 1999-10-21 05:41:45 +00:00
public add accessor for load group on doc loader r=rpotts 1999-10-27 04:44:42 +00:00
src Folded reflow functions into nsIFrame and eliminated nsIFrameReflow and 1999-10-30 02:52:11 +00:00
tests (13163, r=alecf, scc, waterson, others; names available on request) 1999-10-31 00:43:30 +00:00
.cvsignore Add cvsignore entries for makefiles generated bu autoconf. 1998-12-05 09:07:33 +00:00
Makefile.in General cleanup. 1999-09-16 00:03:08 +00:00
makefile.win Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people. 1999-09-01 01:24:51 +00:00