23 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
warren%netscape.com
82ba7cc6a4 2 fixes for directory listings: I added arguments to NewChannel which needed to be added in directory.js. Travis wacked nsHTTPIndexParser::OnStartRequest and didn't preserve the 'call once' stuff. r=waterson
git-svn-id: svn://10.0.0.236/trunk@55482 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-06 23:45:34 +00:00
tbogard%aol.net
067920c238 1.) WebShell no longer implements nsIScriptContextOwner.
2.)  WebShell now implements the new nsIScriptGlobalObjectOwner.
3.)  WebShell supports GetInterface to nsIScriptGlobalObject.
4.)  Documents no longer carry around a reference to nsIScriptContextOwner.  Instead they hold on to a nsIScriptGlobalObject.  nsIDocument::GetScriptContextOwner has now become nsIDocument::GetScriptGlobalObject().  Same change to the set methods.


git-svn-id: svn://10.0.0.236/trunk@55175 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 09:24:22 +00:00
warren%netscape.com
51881fbcea Landing no_neckoutil2_branch. Bug #11159. Removes neckoutil_s.lib from build which helps beos and openvms.
git-svn-id: svn://10.0.0.236/trunk@54722 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 04:50:42 +00:00
tbogard%aol.net
3332c74e48 Changed references to nsIContentViewerContainer to nsISupports in the march to get rid of nsIContentViewerContainer. r=pavlov
git-svn-id: svn://10.0.0.236/trunk@53492 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-15 07:29:23 +00:00
tbogard%aol.net
52c3ea73a7 Changed storage of of the container to hold simply nsISupports as the mContainer instead of nsIContentViewerContainer. Changed calls to QueryCapability to use the nsIInterfaceRequestor::GetInterface(). r=scc
git-svn-id: svn://10.0.0.236/trunk@53419 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-13 07:36:28 +00:00
rjc%netscape.com
577cd4ac84 Check in real fix. Review: me
git-svn-id: svn://10.0.0.236/trunk@53114 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-10 23:56:29 +00:00
rjc%netscape.com
c1eba56c75 Comment out problem.
git-svn-id: svn://10.0.0.236/trunk@53112 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-10 23:54:24 +00:00
rjc%netscape.com
1c6454fbce Small improvements to HTTP-INDEX datasource. Review: me
git-svn-id: svn://10.0.0.236/trunk@53105 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-10 23:51:10 +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
tbogard%aol.net
ae3cd9e2ce Changed NS_ENSURE_NOT to NS_ENSURE_FALSE to reflect API change. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@52417 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-01 21:43:56 +00:00
rjc%netscape.com
31eba671e2 Bug # 14034: Convert to nsIModule to prepare for memory leak fixing. Review: dp@netscape.com
git-svn-id: svn://10.0.0.236/trunk@49886 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-05 23:39:48 +00:00
waterson%netscape.com
3bfad57036 Add animation to directory viewer.
git-svn-id: svn://10.0.0.236/trunk@48639 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 21:43:41 +00:00
waterson%netscape.com
0d59690969 Deal with case where a load has failed.
git-svn-id: svn://10.0.0.236/trunk@48477 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 01:41:29 +00:00
warren%netscape.com
556cf8505e Factored file transport service out of file: protocol.
git-svn-id: svn://10.0.0.236/trunk@47704 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-16 01:16:22 +00:00
warren%netscape.com
de60d2685c Removed NS_BASE_STREAM_EOF in favor of returning a count of 0 from Read to indicate EOF. Renamed GetLength to Available. Fixed a number of places where AppendElement's broken error code wasn't checked.
git-svn-id: svn://10.0.0.236/trunk@46637 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-09 22:05:05 +00:00
rpotts%netscape.com
c1eed107d9 M9 BRANCH landing...
git-svn-id: svn://10.0.0.236/trunk@44701 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-26 22:45:55 +00:00
waterson%netscape.com
3e34e7981a Fix gcc-2.7.2.3 bustage.
git-svn-id: svn://10.0.0.236/trunk@44651 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-26 06:43:03 +00:00
waterson%netscape.com
1e369cdd46 Use date and integer literals where appropriate.
git-svn-id: svn://10.0.0.236/trunk@44648 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-26 05:54:04 +00:00
waterson%netscape.com
19604ac4b6 Make open/close folder work.
git-svn-id: svn://10.0.0.236/trunk@44425 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-25 01:32:40 +00:00
waterson%netscape.com
007e6c3720 Fix refcounting bug that was causing crash; get rid of aggregation cruft; use nsEscape instead of home-rolled stuff.
git-svn-id: svn://10.0.0.236/trunk@44235 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 04:16:33 +00:00
waterson%netscape.com
f9dacb03b1 Clean up Unix compiler warnings.
git-svn-id: svn://10.0.0.236/trunk@44112 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-23 04:19:48 +00:00
waterson%netscape.com
0c5c5d2171 Initial revision. Not yet part of the build.
git-svn-id: svn://10.0.0.236/trunk@44110 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-23 03:48:53 +00:00