Commit Graph

28 Commits

Author SHA1 Message Date
tbogard%aol.net
d2a51867ff Removing nsIXULWindowCallbacks as they were removed from active use nearly 8 or more months ago. Getting rid of having to pass it around as a parameter and all that fun stuff. r=danm a=jevering 2000-02-29 22:03:49 +00:00
scc%netscape.com
73802d6f2e Pro5 update 2000-02-07 23:06:04 +00:00
jband%netscape.com
eef6de8432 Lots of xpconnect bug fixes...
- fix bug 12954 "should throw when setting non-settable props".

- fix bug 13418 "xpconnect needs to be threadsafe".
I think I filled in the cracks. Tests would be nice :)

- fix bug 22802 "[MLK] XPConnect Leaks".

- fix bug 24119 "[MLK] Reminder about cleaning up maps".

- fix bug 24453 "xpconnect needs default security manager".
I also changed the code in DOM and caps to just install a default secman and
not install a secman for each JSContext.

- fix bug 24687 "xpconect should avoid resolve performance suckage".
Added (modified) patch from shaver to create my JSObjects with the
global object as the temporary proto to avoid losing lookup.

- hack for bug 24688 "runtime errors in wrapped JS are not made obvious"
Added a debug only printf. We still need a JSErrorConsole service for this.

- fix bug 16130 "createInstanace and getService can create wrappers around wrappers"
Fixing this one really entailed changing the semantics of nsIXPConnect::wrapNative
and nsIXPConnect::wrapJS to use common code in xpcconvert that deals with existing
wrappers and DOM objects (with their own schemes for wrapping and unwrapping).
So, I changed the callers because the params changed slightly and some callers
were doing more work than necessary given the new semantics.

- Continued in the crusade to replace manaual refcounting with nsCOMPtrs whenever
touching old code.

- Added myself as first contributor to xpconnect files (vanity prevails!)

- Added new copyright header on some files that were missing it.

- Added some API comments.

- Converted nsXPCWrappedJS to implement nsIXPConnectWrappedJS via MI rather than
the old loser scheme of the nsIXPConnectWrappedJSMethods tearoff object.

- added DumpJSStack as globals to xpconnect and DOM dlls to be callable from
debuggers. I have ideas on how to improve and expand this support soon.

r=mccabe
2000-01-26 08:38:10 +00:00
pp%ludusdesign.com
698852a4f4 Converting usage of ::GetIID() to NS_GET_IID().
Bug #20232, r=scc@netscape.com
2000-01-11 20:49:15 +00:00
jband%netscape.com
ef9c82db1e 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
142ac52eaf updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
danm%netscape.com
38f4b0469b removing (unused) references to nsIWebShell.h. requested by buster@netscape.com, bug 16510, r:me 1999-10-21 22:47:50 +00:00
briano%netscape.com
cd3098a8ae General cleanup. 1999-09-18 03:45:06 +00:00
cyeh%netscape.com
34cd2ddae1 Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people. 1999-09-01 01:13:14 +00:00
ramiro%netscape.com
7ee0e69965 Cleanup zlib cruft. 1999-08-25 14:39:53 +00:00
mccabe%netscape.com
62d42630f9 Remove unused explicit NS_DECL_IFOO declarations from %{C++ blocks in the header files; these are replaced by xpidl-generated NS_DECL_NSIFOO macros. 1999-08-23 01:41:52 +00:00
mccabe%netscape.com
ed5a2f8522 Move uses xpfe/components interfaces to using NS_DECL_NSIFOO macro. Several interfaces in xpfe/components declared their own NS_DECL_IFOO macros; I moved those to generated NS_DECL_NSIFOO and will remove the definitions in a subsequent checkin to prevent any risk of mid-checkin skew. 1999-08-23 01:07:33 +00:00
ramiro%netscape.com
2c19866af3 cleanup linking of libmozreg. 1999-08-21 15:41:53 +00:00
law%netscape.com
a4fc477794 Enable overriding initialization 1999-07-28 05:51:43 +00:00
briano%netscape.com
007ea62765 Cleaned it up and changed the name of libreg.{a,so} to libmozreg.{a,so} to fix the conflict reported in bug 8568. 1999-07-27 23:27:44 +00:00
law%netscape.com
3dcc30c321 Delay loading of app shell components till required 1999-07-03 00:39:37 +00:00
briano%netscape.com
31b0f03f1f Fix for OpenBSD. 1999-06-28 20:19:58 +00:00
law%netscape.com
575185be1d Revert to proper code to get it working with current JS 1999-06-26 00:05:17 +00:00
law%netscape.com
47da48bf59 Fixes to sort of get OpenDialog to work from C++ 1999-06-23 23:12:10 +00:00
law%netscape.com
73c56db7c1 Enhanced to demonstrate use of nsIDOMWindow::OpenDialog 1999-06-23 05:33:03 +00:00
law%netscape.com
8ecbd24288 Switching xpfe components to use XPIDL 1999-06-10 22:43:08 +00:00
law%netscape.com
c4b8d699d0 Switching to XPIDL (this isn't actually used quite yet) 1999-06-10 20:20:21 +00:00
law%netscape.com
164ce90940 Switching to XPIDL (this isn't actually used quite yet) 1999-06-10 02:15:58 +00:00
dp%netscape.com
94344009c8 Landing xpcom20/21 branch. 1999-05-26 01:38:36 +00:00
mcmullen%netscape.com
ec345fd27e Initialized this to the right files etc. 1999-05-13 23:22:00 +00:00
law%netscape.com
4e6f96e88b Adding to mac build 1999-05-13 22:46:44 +00:00
law%netscape.com
0fc6a66d09 New and improved 1999-05-13 05:38:38 +00:00
law%netscape.com
6a1597bb44 New sample component 1999-05-11 18:41:01 +00:00