45 Commits

Author SHA1 Message Date
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
dbaron%fas.harvard.edu
ac6b721449 Remove more no-longer-needed nsComponentManager::RegisterComponent calls. Remove remnants of NS_IMPL_IDS macro, associated with long-gone NS_DECLARE_ID. b=125782 r=dougt rs=jag
git-svn-id: svn://10.0.0.236/trunk@114693 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 16:18:13 +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
dbaron%fas.harvard.edu
1604f09dd2 Remove the many forms of NS_SetupRegistry since the classes registered are all now part of proper components. r=dougt, jag sr=rpotts b=81527
git-svn-id: svn://10.0.0.236/trunk@110840 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-20 02:09:49 +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
jaggernaut%netscape.com
51e0dc7a6c Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@104212 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 08:28:41 +00:00
gerv%gerv.net
13afb6d0f9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
jaggernaut%netscape.com
2b3b3b2586 Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa
git-svn-id: svn://10.0.0.236/trunk@99906 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-25 07:54:28 +00:00
darin%netscape.com
9d03c579d0 Necko API changes, bug 74221. r=valeski, sr=rpotts.
git-svn-id: svn://10.0.0.236/trunk@91842 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-10 06:01:08 +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
jband%netscape.com
a01b2be7a8 patches from madams@janna.com to build xpconnect standalone. bug 42026. r=leaf@mozilla.org a=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@74440 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 03:36:27 +00:00
jbetak%netscape.com
accd2b59b2 37408
String bundle doesn't offer a scriptable enumerator
r=be


git-svn-id: svn://10.0.0.236/trunk@67875 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 05:52:50 +00:00
jbetak%netscape.com
88df138133 37408
String bundle doesn't offer a scriptable enumerator
r=be


git-svn-id: svn://10.0.0.236/trunk@67870 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 05:08:39 +00:00
mjudge%netscape.com
f74ce25354 scc string fixes
git-svn-id: svn://10.0.0.236/trunk@67148 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 00:55:37 +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
warren%netscape.com
070a48ce2a Made nsIProperties scriptable. Bug #21982
git-svn-id: svn://10.0.0.236/trunk@56832 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-05 09:29:25 +00:00
warren%netscape.com
c7d8a4a439 Added buffer size parameters to NewChannel. Allows for optimization of amount of image data consumed. Bug #20408
git-svn-id: svn://10.0.0.236/trunk@55285 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-04 10:01:32 +00:00
dp%netscape.com
694b0720be NS_GET_IID(). Thanks to patch from pp@ludasdesign.com r=dp@netscape.com
git-svn-id: svn://10.0.0.236/trunk@54828 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 00:21:53 +00:00
dougt%netscape.com
0c53e29d87 fix for 18078. r=mstoltz,warren
git-svn-id: svn://10.0.0.236/trunk@54648 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 00:32:43 +00:00
warren%netscape.com
d8627fe912 Necko API and implementation changes for retargeting. Needed for URL dispatching. r=mscott
git-svn-id: svn://10.0.0.236/trunk@53761 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-17 08:14:52 +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
cls%seawood.org
3e1a9ca95a Removed unused NECKO ifdefs.
a=leaf


git-svn-id: svn://10.0.0.236/trunk@52607 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-02 23:34:03 +00:00
warren%netscape.com
7230bc55ee Fixed NewChannel to pass null for new originalURL argument.
git-svn-id: svn://10.0.0.236/trunk@51843 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-26 10:37:37 +00:00
erik%netscape.com
12b9c786ff Fixing warnings.
git-svn-id: svn://10.0.0.236/trunk@45168 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-30 21:59:42 +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
tao%netscape.com
e190b593e4 Adopt new str res api prototype.
git-svn-id: svn://10.0.0.236/trunk@40601 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-22 04:41:11 +00:00
rickg%netscape.com
bfbde89eb5 trying to remove iostreams
git-svn-id: svn://10.0.0.236/trunk@39850 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-17 08:17:54 +00:00
warren%netscape.com
06d707be48 Renamed nsIURL to nsIURI in preperation for necko. More NECKO ifdefs too.
git-svn-id: svn://10.0.0.236/trunk@36440 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-23 03:29:44 +00:00
valeski%netscape.com
4fa4e2e84d NECKO ifdef (ifdef'd _off_ by default) this checkin should not impact anything. checkin approved. If someone runs into a problem, call me at 303.546.0061.
git-svn-id: svn://10.0.0.236/trunk@35863 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-18 17:34:08 +00:00
dp%netscape.com
e7840a0ada Using default autoregistration.
git-svn-id: svn://10.0.0.236/trunk@35573 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 00:29:34 +00:00
sgehani%netscape.com
8997c2364f Updated tests to reflect newly added enumeration service in PersistentProperties.
git-svn-id: svn://10.0.0.236/trunk@34738 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 02:21:34 +00:00
briano%netscape.com
a5a074461d Handle the (Unix) platform-specific DLL naming conventions properly.
git-svn-id: svn://10.0.0.236/trunk@33800 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 22:17:30 +00:00
dp%netscape.com
05ab725ffe Patch from andreas.otte@primus-online.de Thanks Andreas
git-svn-id: svn://10.0.0.236/trunk@32926 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 08:50:52 +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
erik%netscape.com
82c0af4c30 Fixed the test file name, added registration for event queue and
persistent properties. This test program now works again. Groan.


git-svn-id: svn://10.0.0.236/trunk@31869 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-16 22:59:02 +00:00
erik%netscape.com
1976415313 Added code to check return values. Cleaned up a bit.
git-svn-id: svn://10.0.0.236/trunk@31860 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-16 20:47:59 +00:00
warren%netscape.com
a16789b734 Started factoring nsIPersistentProperties from nsIProperties.
git-svn-id: svn://10.0.0.236/trunk@28686 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 07:32:51 +00:00
bruce%cybersight.com
6b05bb377c Fix library name. Still coredumps on execution.
git-svn-id: svn://10.0.0.236/trunk@28232 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 05:36:36 +00:00
ramiro%netscape.com
52ef5e02cd delete vs. delete[] vs. free fixes.
Thanks to "Bruce Mitchener, Jr." <bruce@cybersight.com for finding all these
and making patches.


git-svn-id: svn://10.0.0.236/trunk@25592 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 05:26:59 +00:00
warren%netscape.com
0b33372d99 nsRepository -> nsIComponentManager changes.
git-svn-id: svn://10.0.0.236/trunk@23300 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 09:44:27 +00:00
ebina%netscape.com
f3c0c2ca83 Changing RegisterFactory to use the new API.
git-svn-id: svn://10.0.0.236/trunk@22111 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 15:59:52 +00:00
ftang%netscape.com
3dcda91510 calling nsSetupRegistry for mac. Need to try UNIX and Window before turn out the #ifdef XP_MAC
git-svn-id: svn://10.0.0.236/trunk@19385 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 01:50:15 +00:00
erik%netscape.com
cc32d390c7 Added test program and test file for new nsIProperties stuff.
(Like Java properties.)


git-svn-id: svn://10.0.0.236/trunk@18657 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 23:51:18 +00:00