91 Commits

Author SHA1 Message Date
scc%netscape.com
d2a7990448 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66364 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 23:53:10 +00:00
rjc%netscape.com
f1167fd6f1 Fix trivial warning regarding initialization order.
git-svn-id: svn://10.0.0.236/trunk@66180 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-17 05:46:13 +00:00
rjc%netscape.com
e05925b05f Fix GetURI() to return "rdf:httpindex".
git-svn-id: svn://10.0.0.236/trunk@66177 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-17 05:22:50 +00:00
rjc%netscape.com
0e2efedad6 "HTTP-Index" datasource now allows easy aggregation with out datasources.
git-svn-id: svn://10.0.0.236/trunk@66173 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-17 05:07:26 +00:00
warren%netscape.com
9fa657f1cd 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.
git-svn-id: svn://10.0.0.236/trunk@64449 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 03:58:50 +00:00
scc%netscape.com
60839ca9f0 small changes to clients of string converting APIs
git-svn-id: svn://10.0.0.236/trunk@64175 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 11:48:10 +00:00
andreas.otte%primus-online.de
db654a3217 fix bug 26003, Files with the percentage (%) sign cannot be viewed via mouse, r=valeski@netscape.com
git-svn-id: svn://10.0.0.236/trunk@63390 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 11:07:04 +00:00
rickg%netscape.com
1bd57cb94b removed calls to deprecated string methods
git-svn-id: svn://10.0.0.236/trunk@62707 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 09:14:14 +00:00
warren%netscape.com
d100457780 Bug 21556: Making linux be thread-safe. Making tons of classes implement threadsafe AddRef/Release. a=jar
git-svn-id: svn://10.0.0.236/trunk@62243 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-05 21:26:01 +00:00
valeski%netscape.com
4890009be0 we don't want to default to GMT
git-svn-id: svn://10.0.0.236/trunk@60204 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-09 05:08:54 +00:00
dp%netscape.com
54c542a819 - Converted to Generic Module
- Removed unused CID
r=waterson


git-svn-id: svn://10.0.0.236/trunk@60071 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-08 05:39:23 +00:00
waterson%netscape.com
86818defd4 Cleanup: collapse some QueryInterface implementations into macros; re-write ProcessData() to avoid hitting the heap more than necssary.
git-svn-id: svn://10.0.0.236/trunk@60019 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-08 01:17:27 +00:00
valeski%netscape.com
867f16ef2b URL Parsing and implementation rewrite landing. Andreas Otte was generous enough to contribute these changes
git-svn-id: svn://10.0.0.236/trunk@59615 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-03 03:44:22 +00:00
mscott%netscape.com
c753218324 include nsIDocumentLoaderFactory
r=travis


git-svn-id: svn://10.0.0.236/trunk@59169 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-29 06:09:13 +00:00
jband%netscape.com
7ac1267323 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


git-svn-id: svn://10.0.0.236/trunk@58762 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 08:38:10 +00:00
dougt%netscape.com
714da09a59 Landing nsIFile.
git-svn-id: svn://10.0.0.236/trunk@58490 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-24 21:28:28 +00:00
waterson%netscape.com
1dc5a28c4f Bug 23799. Add a brief comment to clarify wtf is going on here. r=valeski
git-svn-id: svn://10.0.0.236/trunk@57718 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-13 23:25:25 +00:00
pp%ludusdesign.com
b5787cf895 Converting usage of ::GetIID() to NS_GET_IID().
Bug #20232, r=scc@netscape.com


git-svn-id: svn://10.0.0.236/trunk@57423 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 20:49:15 +00:00
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