gecko-dev/dom/public
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
..
base Added a version of window.close, which when alled from script that defers actual closure if it is invoked from the script context of the window itself. Fixes bug 15261. R=joki. 1999-10-28 14:12:56 +00:00
coreDom Added document.width/document.height to nsIDOMNSDocument. Bug 961. R: troy 1999-10-06 20:33:58 +00:00
coreEvents fix bustage. 1999-10-28 22:38:58 +00:00
css General cleanup. 1999-09-11 00:59:11 +00:00
events General cleanup. 1999-09-11 00:59:11 +00:00
html Fix the following bugs: 1999-10-02 03:41:37 +00:00
idl Added a version of window.close, which when alled from script that defers actual closure if it is invoked from the script context of the window itself. Fixes bug 15261. R=joki. 1999-10-28 14:12:56 +00:00
range Adding CollapseToStart and CollapseToEnd methods to selection 1999-09-21 01:27:59 +00:00
xul Landing re-architected command dispatcher. r=hangas(XUL/JS), saari(C++) 1999-10-14 10:58:25 +00:00
.cvsignore Add cvsignore entries for makefiles generated bu autoconf. 1998-12-05 09:07:33 +00:00
domstubs.idl Add forward decls to resolve references in generated .h files 1999-09-02 01:07:55 +00:00
Makefile.in General cleanup. 1999-09-11 00:59:11 +00:00
makefile.win Added JS exceptions to DOM glue. Added implementation for nsIDOMDOMException. Added nsIScriptContextOwner::ReportScriptError. 1999-09-08 23:14:30 +00:00
MANIFEST Added JS exceptions to DOM glue. Added implementation for nsIDOMDOMException. Added nsIScriptContextOwner::ReportScriptError. 1999-09-08 23:14:30 +00:00
MANIFEST_IDL First Checked In. 1999-06-03 20:57:17 +00:00
nsDOMCID.h nsRepository -> nsIComponentManager changes. 1999-03-09 09:44:27 +00:00
nsDOMError.h Fix the following bugs: 1999-10-02 03:41:37 +00:00
nsIDOMNativeObjectRegistry.h Added static GetIID accessor to DOM interfaces 1999-06-29 23:42:51 +00:00
nsIDOMScriptObjectFactory.h Checking in patch from Johnny Stenback (jst@citec.fi) that exposes notation and entity creation DOM interfaces. 1999-08-24 22:15:45 +00:00
nsIJSNativeInitializer.h Added static GetIID accessor to DOM interfaces 1999-06-29 23:42:51 +00:00
nsIJSScriptObject.h Relative URLs specified for window.location.href are now resolved relative to the calling location. 1999-08-03 23:16:48 +00:00
nsIScriptContext.h (13163, r=alecf, scc, waterson, others; names available on request) 1999-10-31 00:43:30 +00:00
nsIScriptContextOwner.h Added a version of window.close, which when alled from script that defers actual closure if it is invoked from the script context of the window itself. Fixes bug 15261. R=joki. 1999-10-28 14:12:56 +00:00
nsIScriptEventListener.h includes updates to codbase matching security checks currently turned off 1999-08-20 09:51:02 +00:00
nsIScriptExternalNameSet.h add static IID() method 1999-02-26 17:50:59 +00:00
nsIScriptGlobalObject.h includes updates to codbase matching security checks currently turned off 1999-08-20 09:51:02 +00:00
nsIScriptGlobalObjectData.h Fix the following bugs: 1999-10-02 03:41:37 +00:00
nsIScriptNameSetRegistry.h add IID() method 1999-02-27 03:16:56 +00:00
nsIScriptNameSpaceManager.h Added static GetIID accessor to DOM interfaces 1999-06-29 23:42:51 +00:00
nsIScriptObjectOwner.h includes updates to codbase matching security checks currently turned off 1999-08-20 09:51:02 +00:00