Commit Graph
12 Commits
Author SHA1 Message Date
jband@netscape.com 2e04e1dd4e Landing big set of DOM and XPConnect changes:
DOM: getting rid of JS_GetContextPrivate wherever possible. Use static parent
links where we can. When we do need to find this info about the caller
we call a function that knows how to get that info rather than inline calls
to JS_GetContextPrivate. This is all required for calling DOM objects on
non-DOM JSContexts as we do via xpconnect.

XPConnect: basic refactoring work to disassociate wrappers from the JSContext
that was active when the wrapper was constructed. This allows for calling into
wrapped JS objects on the right JSContext and for proper grouping of wrapped
native objects so that they can share proto objects. This also allows for
better sharing of objects and lays the foundations for threadsafety and
interface flattening.

Also, xpconnect tests are reorganized and improved.

fixes bugs: 13419, 17736, 17746, 17952, 22086

r=vidur r=mccabe r=norris r=cbegle
a=chofmann
1999-12-18 20:29:29 +00:00
dmose@mozilla.org 796280940b updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:40:37 +00:00
kipp@netscape.com db99532fee Make it build on linux at least 1999-09-01 00:54:53 +00:00
vidur@netscape.com 1dbd682463 Fixes for bug 927. JS timer code can deal with the window closing in a timer callback. NamedItem gets called for unknown integer property values as well. Added nsCOMPtr generation option to idlc. Fixed warnings in generated code. 1999-06-11 21:49:41 +00:00
joki@netscape.com 60351683f1 Beginnings of JavaScript security bits. 1999-05-26 21:43:28 +00:00
waterson@netscape.com 7d9e8e21f8 Support for xpidl keyword. 1999-03-10 19:55:00 +00:00
sfraser@netscape.com af52afc54a Changes to get DOM IDL compiler to build on Mac. 1999-03-06 00:33:35 +00:00
vidur@netscape.com f7f5547e37 Added constructors for DOM JS classes. nsIScriptObjectOwner::ResetScriptObject is now SetScriptObject. New factory for layout. New interface nsIDOMNativeObjectRegistry. 1998-09-17 01:53:52 +00:00
vidur@netscape.com 907d425165 Added generation of declaration and forwarding macros. Better handling of families of interfaces. 1998-08-04 00:08:29 +00:00
vidur 9ad66a5253 Added special case for global object. Changed geniid.pl to take multiple directories 1998-07-03 00:48:06 +00:00
vidur adc2749764 Auto-generation of JavaScript stubs 1998-06-03 23:32:26 +00:00
vidur 24ee326c5e New files for XPCOM interface generation 1998-05-19 15:59:53 +00:00