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

12 Коммитов

Автор SHA1 Сообщение Дата
dmose%mozilla.org 8535dda53e updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
brendan%mozilla.org fe51b61664 (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
waterson%netscape.com a5f0e98c42 Sheesh. After doing this once today, you'd think I'd learn. 1999-09-07 03:26:54 +00:00
waterson%netscape.com 8a24034b83 Fix unix bustage; these two functions have been promoted to real interface methods on the RDF service. 1999-09-06 20:46:25 +00:00
waterson%netscape.com f6b84db71a Land TEMPLATE_19990726_BRANCH; RDF C++ content model builder exorcism. 1999-07-27 17:20:28 +00:00
waterson%netscape.com 44f829a61f Add nsRDFContentUtils fns to dlldeps, as they are used from rdfdatasource_s.lib now. 1999-06-09 08:32:17 +00:00
waterson%netscape.com 29763928bf Let's try that again. Made sure that the nsIRDFContainer header file is there. 1999-04-27 06:37:41 +00:00
waterson%netscape.com 91ce488e60 Removed a obsolete container routines. 1999-04-27 06:27:52 +00:00
waterson%netscape.com e545139879 The Great Cursor Excorcism. Removed cursors in favor of enumerators. Misc updates to purge the xpidl stubs stuff in preparation for XPConnect. Details on RDF_19990422_BRANCH. 1999-04-24 02:41:02 +00:00
warren%netscape.com ea6b8493f6 Fixed XXXNeverCalled 1999-02-26 12:18:19 +00:00
waterson%netscape.com ada729b81c Added nsRDFResource constructor to dlldeps.cpp to avoid runtime link problems on Linux. 1999-02-25 01:35:34 +00:00
waterson%netscape.com 02f3d9b924 Landed RDF_19990217_BRANCH. This includes a bunch of changes to get XUL scriptability up and running; also, nsRDFResourceElement and nsRDFGenericElement have been collapsed into a single class, and most of the state has been turned into attributes on the class. 1999-02-17 11:09:57 +00:00