24 Commits

Author SHA1 Message Date
jband%netscape.com
191411b358 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


git-svn-id: svn://10.0.0.236/trunk@56202 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-18 20:29:29 +00:00
dmose%mozilla.org
0efb7c174c updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52910 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:43:54 +00:00
danm%netscape.com
4e8be85212 removing (unused) references to nsIWebShell.h. requested by buster@netscape.com, bug 16510, r:me
git-svn-id: svn://10.0.0.236/trunk@51447 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-21 22:47:50 +00:00
briano%netscape.com
1f53a4dd3f General cleanup.
git-svn-id: svn://10.0.0.236/trunk@48168 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-18 03:45:06 +00:00
cyeh%netscape.com
cfce14ff56 Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people.
git-svn-id: svn://10.0.0.236/trunk@45405 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 01:13:14 +00:00
ramiro%netscape.com
d43e5b92ea Cleanup zlib cruft.
git-svn-id: svn://10.0.0.236/trunk@44504 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-25 14:39:53 +00:00
mccabe%netscape.com
11fd6c8b36 Remove unused explicit NS_DECL_IFOO declarations from %{C++ blocks in the header files; these are replaced by xpidl-generated NS_DECL_NSIFOO macros.
git-svn-id: svn://10.0.0.236/trunk@44106 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-23 01:41:52 +00:00
mccabe%netscape.com
21c708fc47 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.
git-svn-id: svn://10.0.0.236/trunk@44102 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-23 01:07:33 +00:00
ramiro%netscape.com
1784612f6b cleanup linking of libmozreg.
git-svn-id: svn://10.0.0.236/trunk@44002 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-21 15:41:53 +00:00
law%netscape.com
f12255727f Enable overriding initialization
git-svn-id: svn://10.0.0.236/trunk@41440 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 05:51:43 +00:00
briano%netscape.com
684f6b2907 Cleaned it up and changed the name of libreg.{a,so} to libmozreg.{a,so} to fix the conflict reported in bug 8568.
git-svn-id: svn://10.0.0.236/trunk@41354 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 23:27:44 +00:00
law%netscape.com
3aa02b0e09 Delay loading of app shell components till required
git-svn-id: svn://10.0.0.236/trunk@38206 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-03 00:39:37 +00:00
briano%netscape.com
1e6547d545 Fix for OpenBSD.
git-svn-id: svn://10.0.0.236/trunk@37218 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-28 20:19:58 +00:00
law%netscape.com
157bd41438 Revert to proper code to get it working with current JS
git-svn-id: svn://10.0.0.236/trunk@36967 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-26 00:05:17 +00:00
law%netscape.com
4fac69383c Fixes to sort of get OpenDialog to work from C++
git-svn-id: svn://10.0.0.236/trunk@36627 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-23 23:12:10 +00:00
law%netscape.com
dd0df766ff Enhanced to demonstrate use of nsIDOMWindow::OpenDialog
git-svn-id: svn://10.0.0.236/trunk@36512 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-23 05:33:03 +00:00
law%netscape.com
45ed3c204e Switching xpfe components to use XPIDL
git-svn-id: svn://10.0.0.236/trunk@34676 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 22:43:08 +00:00
law%netscape.com
e35d7746b7 Switching to XPIDL (this isn't actually used quite yet)
git-svn-id: svn://10.0.0.236/trunk@34626 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 20:20:21 +00:00
law%netscape.com
2394f4f4a9 Switching to XPIDL (this isn't actually used quite yet)
git-svn-id: svn://10.0.0.236/trunk@34540 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 02:15:58 +00:00
dp%netscape.com
befa259a88 Landing xpcom20/21 branch.
git-svn-id: svn://10.0.0.236/trunk@32644 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 01:38:36 +00:00
mcmullen%netscape.com
999ece26b5 Initialized this to the right files etc.
git-svn-id: svn://10.0.0.236/trunk@31508 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 23:22:00 +00:00
law%netscape.com
eaf6957603 Adding to mac build
git-svn-id: svn://10.0.0.236/trunk@31486 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 22:46:44 +00:00
law%netscape.com
3acd77bd56 New and improved
git-svn-id: svn://10.0.0.236/trunk@31416 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 05:38:38 +00:00
law%netscape.com
af6912171f New sample component
git-svn-id: svn://10.0.0.236/trunk@31094 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 18:41:01 +00:00