Commit Graph

40 Commits

Author SHA1 Message Date
rjc%netscape.com
6cd8433000 Fix trivial warning regarding initialization order. 2000-04-17 05:46:13 +00:00
rjc%netscape.com
95e0bbdcad Fix GetURI() to return "rdf:httpindex". 2000-04-17 05:22:50 +00:00
rjc%netscape.com
a2eff0ec69 "HTTP-Index" datasource now allows easy aggregation with out datasources. 2000-04-17 05:07:26 +00:00
warren%netscape.com
727f312b32 Necko API changes: primarily nsIChannel, changing initialization parameters to accessors. Got javascript: evaluation to happen at the right time (when AsyncRead is called) as well as on the right thread. 2000-03-29 03:58:50 +00:00
scc%netscape.com
13fb3320b6 small changes to clients of string converting APIs 2000-03-26 11:48:10 +00:00
andreas.otte%primus-online.de
796d671dd3 fix bug 26003, Files with the percentage (%) sign cannot be viewed via mouse, r=valeski@netscape.com 2000-03-18 11:07:04 +00:00
rickg%netscape.com
ffe78e83e5 removed calls to deprecated string methods 2000-03-12 09:14:14 +00:00
warren%netscape.com
c0497e31be Bug 21556: Making linux be thread-safe. Making tons of classes implement threadsafe AddRef/Release. a=jar 2000-03-05 21:26:01 +00:00
valeski%netscape.com
5b94267bd4 we don't want to default to GMT 2000-02-09 05:08:54 +00:00
dp%netscape.com
d11e914f98 - Converted to Generic Module
- Removed unused CID
r=waterson
2000-02-08 05:39:23 +00:00
waterson%netscape.com
bd07ef4b98 Cleanup: collapse some QueryInterface implementations into macros; re-write ProcessData() to avoid hitting the heap more than necssary. 2000-02-08 01:17:27 +00:00
valeski%netscape.com
41512e1d6a URL Parsing and implementation rewrite landing. Andreas Otte was generous enough to contribute these changes 2000-02-03 03:44:22 +00:00
mscott%netscape.com
7478af3fd0 include nsIDocumentLoaderFactory
r=travis
2000-01-29 06:09:13 +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
dougt%netscape.com
0b0346079c Landing nsIFile. 2000-01-24 21:28:28 +00:00
waterson%netscape.com
b9b0df347d Bug 23799. Add a brief comment to clarify wtf is going on here. r=valeski 2000-01-13 23:25:25 +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
warren%netscape.com
0f39c4f921 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 1999-12-06 23:45:34 +00:00
tbogard%aol.net
eb96099e6d 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.
1999-12-03 09:24:22 +00:00
warren%netscape.com
2db26922a6 Landing no_neckoutil2_branch. Bug #11159. Removes neckoutil_s.lib from build which helps beos and openvms. 1999-11-30 04:50:42 +00:00
tbogard%aol.net
c1c0a44226 Changed references to nsIContentViewerContainer to nsISupports in the march to get rid of nsIContentViewerContainer. r=pavlov 1999-11-15 07:29:23 +00:00
tbogard%aol.net
131348416b 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 1999-11-13 07:36:28 +00:00
rjc%netscape.com
8f9b86dd92 Check in real fix. Review: me 1999-11-10 23:56:29 +00:00
rjc%netscape.com
018975e7a8 Comment out problem. 1999-11-10 23:54:24 +00:00
rjc%netscape.com
cf9f00659e Small improvements to HTTP-INDEX datasource. Review: me 1999-11-10 23:51:10 +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
tbogard%aol.net
10ded258a5 Changed NS_ENSURE_NOT to NS_ENSURE_FALSE to reflect API change. r=hyatt 1999-11-01 21:43:56 +00:00
rjc%netscape.com
d5cc699921 Bug # 14034: Convert to nsIModule to prepare for memory leak fixing. Review: dp@netscape.com 1999-10-05 23:39:48 +00:00
waterson%netscape.com
095f7718ee Add animation to directory viewer. 1999-09-21 21:43:41 +00:00
waterson%netscape.com
191b853be7 Deal with case where a load has failed. 1999-09-21 01:41:29 +00:00
warren%netscape.com
7d5e565fd5 Factored file transport service out of file: protocol. 1999-09-16 01:16:22 +00:00
warren%netscape.com
40ed9d6ad2 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. 1999-09-09 22:05:05 +00:00
rpotts%netscape.com
0085d83ab0 M9 BRANCH landing... 1999-08-26 22:45:55 +00:00
waterson%netscape.com
27e1752503 Fix gcc-2.7.2.3 bustage. 1999-08-26 06:43:03 +00:00
waterson%netscape.com
2b9196907b Use date and integer literals where appropriate. 1999-08-26 05:54:04 +00:00
waterson%netscape.com
8635d6917a Make open/close folder work. 1999-08-25 01:32:40 +00:00
waterson%netscape.com
356cba3831 Fix refcounting bug that was causing crash; get rid of aggregation cruft; use nsEscape instead of home-rolled stuff. 1999-08-24 04:16:33 +00:00
waterson%netscape.com
339b735a22 Clean up Unix compiler warnings. 1999-08-23 04:19:48 +00:00
waterson%netscape.com
1a1fc4263e Initial revision. Not yet part of the build. 1999-08-23 03:48:53 +00:00