20 Commits

Author SHA1 Message Date
timeless%mozdev.org
3b37fe48cc Bug 186720 xmlterm NewURI should not return null
patch by andersma@luther.edu r=timeless sr=darin


git-svn-id: svn://10.0.0.236/trunk@135997 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 20:32:12 +00:00
alecf%netscape.com
868ac4081c Fix for bug 138299 - switch consumers of nsIWindowMediator service to use the non-RDF contractID, in preparation for bug 132175
r=danm, sr=jag


git-svn-id: svn://10.0.0.236/trunk@120272 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 01:36:59 +00:00
seawood%netscape.com
18248a8c6e Use debug() instead of dump() so that js component registration output only shows up in debug builds.
Bug #138726 r=rginda sr=alecf


git-svn-id: svn://10.0.0.236/trunk@119603 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-23 07:30:11 +00:00
darin%netscape.com
04849998e1 fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa
git-svn-id: svn://10.0.0.236/trunk@115936 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 07:48:55 +00:00
dougt%netscape.com
011f9b10e5 1. Converts callers of nsIComponentManagerObsolete to use
nsIComponentRegistrar.

2. Converts callers of nsComponentManager::AutoRegister to use
nsIComponentRegistrar's autoRegistrar method.

3. Add nsIComponentRegistrar implmentation to nsComponentManagerImpl.

4. Rearrange nsComponentManager.cpp so that related methods are in the same
place.

5. Added a C-style function NS_GetComponentRegistrar so that getting the
registrar is easier in some places.

6. Added a nsISimpleEnumerator interface on PLDHashTableEnumeratorImpl.  in
this way, the same base class can support both old style and new style
enumerations.

7. Fixed a nasty bug where unregistring factories will leave the contract id
hash with a dangling pointer.  Now, when unregister is called we search the
contract id hash for entries which have the given doomned cid and remove them.


Bug 115853.  r=dp@netscape.com, sr=rpotts@netscape.com


git-svn-id: svn://10.0.0.236/trunk@113143 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-29 21:22:13 +00:00
dougt%netscape.com
c01e94cad7 nsIComponentManager API Changes (bug 98553)
a) create a new nsIComponentManager with only four functions on it:
CreateInstance CreateInstanceByContractID GetClassInfo GetClassInfoByContractID.

b) rename the old nsIComponentManager to nsIComponentManagerObsolete.

c) fixes callers which use to access the nsIComponentManager for component
registration functionality.  These callers will temporary use the
nsIComponentManagerObsolete interface.

d) Create a new API NS_GetComponentManager() which mirrors the
NS_GetServiceManager()

e) Perserves the old NS_GetGlobalComponentManager().  Note the cast usage.

r/sr = rpotts@netscape.com  alecf@netscape.com  brendan@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@110748 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-19 00:12:41 +00:00
dbaron%fas.harvard.edu
fdc3365574 Clean up nsIAppShellService.idl. b=98026 r=danm sr=alecf
git-svn-id: svn://10.0.0.236/trunk@102655 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-10 19:42:54 +00:00
andreas.otte%primus-online.de
e9654a3ac3 bug 40670 [URL: resolution of protocol:/path] checking in the groundwork to have an easy fix if we ever decide to support these kind of deprecated relative urls. For that a new attribute URIType is added to nsIProtocolHandler and its implementations to store some protocol/scheme dependend information to have enough information to allow correct parsing. r=darin@netscape.com sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@100515 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-07 20:42:57 +00:00
svn%xmlterm.org
43b626195e --NOT PART OF DEFAULT BUILD--
XMLterm changes only.
Fixed xmlterm bustage due to build and nsIContentHandler changes (bug 91815).
Also modified xmlterm to handle terminal: protocol rather than telnet:,
to avoid conflict with telnet implementations (such as protozilla).


git-svn-id: svn://10.0.0.236/trunk@100218 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-02 20:08:15 +00:00
dougt%netscape.com
175245e2de Relanding Necko Changes.
Revising nsIChannel to allow for overlapped i/o. This consists of three parts:

1. Factoring nsIChannel into a protocol specific part, the nsIChannel, and a socket specific, the nsITransport.
2. Derive the nsIChannel from a nsIRequest.
2. Changes the notification system from necko and the URILoader to pass the nsIRequest interface instead of nsIChannel interface.

This goal stems from wanting to be able to have active AsyncRead and AsyncWrite operations on nsSocketTransport.
This is desired because it would greatly simplify the task of maintaining persistent/reusable socket connections
for FTP, HTTP, and Imap (and potentially other protocols). The problem with the existing nsIChannel interface is
that it does not allow one to selectively suspend just one of the read or write operations while keeping the other active.

r=darin@netscape.com
sr=rpotts@netscape.com


git-svn-id: svn://10.0.0.236/trunk@87587 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-21 20:38:08 +00:00
disttsc%bart.nl
03f69c5003 Back out dougt's channel changes
git-svn-id: svn://10.0.0.236/trunk@86793 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-12 03:14:23 +00:00
dougt%netscape.com
7af79c83df Revising nsIChannel to allow for overlapped i/o. This consists of three parts:
1. Factoring nsIChannel into a protocol specific part, the nsIChannel, and a socket specific, the nsITransport.
2. Derive the nsIChannel from a nsIRequest.
2. Changes the notification system from necko and the URILoader to pass the nsIRequest interface instead of nsIChannel interface.

This goal stems from wanting to be able to have active AsyncRead and AsyncWrite operations on nsSocketTransport.
This is desired because it would greatly simplify the task of maintaining persistent/reusable socket connections
for FTP, HTTP, and Imap (and potentially other protocols).  The problem with the existing nsIChannel interface is
that it does not allow one to selectively suspend just one of the read or write operations while keeping the other active.

The full details of the change on written up in the netlib newsgroup.

r=darin@netscape.com
sr=rpotts@netscape.com


git-svn-id: svn://10.0.0.236/trunk@86717 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-10 00:16:26 +00:00
svn%xmlterm.org
275dd9d859 --NOT PART OF DEFAULT BUILD--
XMLterm changes only.
Code cleanup: disabled diagnostic output.


git-svn-id: svn://10.0.0.236/trunk@82917 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-27 21:38:14 +00:00
svn%xmlterm.org
f23913f9f8 --NOT PART OF DEFAULT BUILD--
XMLterm changes only.
Using file: scheme rather thank resource: or chrome: scheme for jar url
to allow xmlterm to load other file: urls in IFRAMEs


git-svn-id: svn://10.0.0.236/trunk@82681 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-16 18:27:16 +00:00
svn%xmlterm.org
b782bca0ee --NOT PART OF DEFAULT BUILD--
XMLterm changes only.
Recent changes to nsChromeProtocolHandler.cpp have caused chrome HTML files to lose their XPConnect privileges. This meant that content/xmlterm.html could no longer access the XMLTermShell object. This checkin provides a somewhat clumsy workaround for that problem, to get XMLterm working with NS PR3/6.0.


git-svn-id: svn://10.0.0.236/trunk@79936 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-24 14:22:11 +00:00
rayw%netscape.com
31f9bce979 Bug fix for 52648 -- remaining stash of progids which I missed on
the mega-change yesterday.  This will fix a few more issues.

r=warren


git-svn-id: svn://10.0.0.236/trunk@79224 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 23:20:49 +00:00
rayw%netscape.com
d9228441a4 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren


git-svn-id: svn://10.0.0.236/trunk@79036 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 23:57:52 +00:00
rayw%netscape.com
b02b43d396 Changed case of nsIFactory.idl methods to start with lower case to be like other
interfaces.  Since the C++ generated code upper-cases the method names, this
affects no C++ code, but only a few javascript methods.

Bug 46771.

r=waterson.

I am in today and tomorrow.


git-svn-id: svn://10.0.0.236/trunk@76014 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 20:12:08 +00:00
svn%xmlterm.org
f8d58bd7ec --NOT PART OF DEFAULT BUILD--
XMLterm changes only.
Re-structured chrome directories.


git-svn-id: svn://10.0.0.236/trunk@75655 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-05 17:19:44 +00:00
svn%xmlterm.org
6645bbc669 --NOT PART OF DEFAULT BUILD--
XMLterm changes only. Implemented chrome overlay a la Chatzilla to insert
XMLterm into the Tasks menu. Also implemented command line option "-terminal"
and URL handler "telnet://" to invoke XMLterm.


git-svn-id: svn://10.0.0.236/trunk@73819 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-07 14:44:26 +00:00