Commit Graph
45 Commits
Author SHA1 Message Date
[email protected] d6e18bd8a1 Fix missing cast in XPC case. 1999-07-22 21:57:29 +00:00
[email protected] d75ef2b0f7 Remove unused variable (and compiler warning) 1999-07-06 23:38:33 +00:00
[email protected] c1fcf5a572 BeOS changes 1999-06-27 09:34:52 +00:00
[email protected] 4578f169f7 Bug 2195: Make select[n] == select.options[n] (idlc bugfix courtesy of Vidur) 1999-06-15 23:41:30 +00:00
[email protected] d2387976ce Changed reference counting rules for nsGlobalWindow - now its JSObject maintains a reference to it. The root for the global JSObject is now removed in SetWebShell when we're going away. Lots of null checks so that standalone global window doesn't crash. 1999-06-15 03:17:11 +00:00
[email protected] 7335d4d55f JS_GetPrivate calls now go through a nsJSUtils wrapper that checks up the prototype chain. This is useful for applets where the JSClass instance is set as the proto of the LiveConnect-generated object. 1999-06-11 22:38:35 +00:00
[email protected] 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
[email protected] d8b8ef4a97 Added support for noscript qualifier to attributes and methods. When this qualifier is used, the corresponding attribute or method is not reflected in the glue. 1999-05-28 00:17:38 +00:00
[email protected] 60351683f1 Beginnings of JavaScript security bits. 1999-05-26 21:43:28 +00:00
[email protected] 1f3188311f Support for magically detecting whether an argument to an XPConnect'ed function is a dom node with a native nsISupports, and unwrapping it properly.
This'll go live as soon as I can persuade joki or vidur to rebuild the DOM stubs.
1999-05-12 02:05:48 +00:00
[email protected] 6e249a3ee8 Tweaking initializer code so it still works with appcores 1999-05-07 19:37:21 +00:00
[email protected] 116fa32ab8 Added use of the nsIJSNativeInitializer interface in constructors. Work in progress for unknown keyword. 1999-05-04 20:48:50 +00:00
[email protected] 0e67b8514a Bug 5679. Fix leak from XPConnect glue. 1999-05-04 03:32:12 +00:00
[email protected] 317721f206 Fixed a problems with XPIDL parameters and return values ('out' params are stills broken). Got rid of the XPIDL_JS_STUBS defines, as they are obsolete. 1999-04-27 06:14:08 +00:00
[email protected] afa2d43598 Modified JSStubGen to spit out correct code from XPConnect. 1999-04-24 02:38:05 +00:00
[email protected] 8ec32dd842 New DOM2 event api's. 1999-03-28 22:19:42 +00:00
[email protected] 0aa2b632ef Must've missed this file in my merge: support for xpidl keyword. 1999-03-10 20:15:23 +00:00
[email protected] 4d1f72abb7 Added CreateElementWithNameSpace to proprietary document interface. Fixed GetTagName for HTML to uppercase tag names. Hooked up style rule addition and deletion to reconstruct frames. Fixed DOM generation problem 1999-03-10 01:17:49 +00:00
[email protected] 35d5e6e062 nsRepository -> nsIComponentManager changes. 1999-03-09 09:44:27 +00:00
[email protected] af52afc54a Changes to get DOM IDL compiler to build on Mac. 1999-03-06 00:33:35 +00:00
[email protected] 4b21314723 Made NS_InitFooClass() accessable outside of JSDOM.DLL. 1999-02-17 08:32:14 +00:00
[email protected] 40dd3f60d4 Added script namespace management mechanism. This allows external native code to add symbols and constructors to the script global namespace. Added IID() static method generation to IDL generator. 1998-12-22 22:03:20 +00:00
[email protected] 923148849b Added build option for idl tool. Thanks to Tague Griffith <[email protected]> for the patch and the patience while I fumbled this patch. :) 1998-12-15 03:24:59 +00:00
[email protected] cf5db6f03c Slimmed down DOM code by creating a few utility functions for conversion, etc. Fixed bug 1656 - bug in generator with an enum value of 0. 1998-12-03 00:33:00 +00:00
[email protected] 8ea538c90c Updated DOM interfaces to match final W3C recommendation. Modified IDL compiler to take IIDs 1998-10-20 17:07:23 +00:00
[email protected] c8e645cffd Added new style interfaces. Modified property slot id allocation. 1998-09-25 00:49:44 +00:00
[email protected] 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
[email protected] 8dc8c648a8 Got rid of Construct method from nsIJSScriptObject interface. 1998-09-14 23:01:48 +00:00
[email protected] f6c5949c87 Added stopgap code for aliased constructors 1998-09-11 18:05:11 +00:00
[email protected] 81b2fa3fe3 New content code adjusts to getting script objects through a factory interface 1998-09-04 23:03:16 +00:00
[email protected] c87e5623eb Adding window.opener, window.focus, window.blur, event.cancelBubble, and modifying window.open 1998-09-03 01:19:58 +00:00
[email protected] a5525ff965 Implemented document.location and better handling of named lookups that fail. 1998-08-13 19:07:45 +00:00
[email protected] e92d0e5ffd Better support for interface families in the IDL (named elements). Netscape interfaces for HTMLDocument and HTMLFormElement (for backwards compatibility. 1998-08-07 23:01:52 +00:00
[email protected] 907d425165 Added generation of declaration and forwarding macros. Better handling of families of interfaces. 1998-08-04 00:08:29 +00:00
vidur 760a1c80ec Added square-bracket indexing for any interface that has an item() method. 1998-07-14 23:07:26 +00:00
joki 8b9f3464c1 Generated JS from IDL now calls backdoor routine all the time from js getters/setters 1998-07-14 20:19:28 +00:00
vidur 73730b9839 Moved over to a new version of Level 1. NodeIterators and AttributeLists out. NodeLists and NamedNodeMaps in. 1998-07-14 18:44:44 +00:00
vidur ba659cc35a Added setTimeout/setInterval to Window. Added ellipsis special-case to IDL generation code. Slightly better error reporting in generated JavaScript stub classes 1998-07-08 23:44:46 +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 d2a72e6089 Deal with NULL object case before asking if its an object 1998-07-01 18:32:35 +00:00
kipp c95ddd3f5e Fixed a js-stub generating problem with null's vs's objects (vidur told me what to type) 1998-07-01 17:00:18 +00:00
vidur afe94115f0 Added autogeneration of XPCOM headers and JavaScript stub classes. Added better masking of JS-specific structures in generic interfaces. Creation of a scripting global object interface. 1998-06-23 18:43:06 +00:00
vidur 6ba1ff6241 Added error handling to InitClass 1998-06-15 20:35:45 +00:00
vidur c16e1a1fec Added iid generation, dealing with the void keyword and fixed bugs in generation code 1998-06-12 22:34:39 +00:00
vidur adc2749764 Auto-generation of JavaScript stubs 1998-06-03 23:32:26 +00:00