25 Commits

Author SHA1 Message Date
dougt%netscape.com
26cb682311 Fixes 126881. LDAP DataSource Component fails to load because Components.interfaces.nsIComponenRegistrar is misspelled. r=stephend@netscape.com a=dbaron
git-svn-id: svn://10.0.0.236/trunk@115143 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 04:30:54 +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
seawood%netscape.com
889469fd27 Rename 'install' build phase to 'libs'.
Bug #56601 r=pavlov


git-svn-id: svn://10.0.0.236/trunk@108684 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-21 09:49:41 +00:00
seawood%netscape.com
f83af44959 Renaming 'install' build phase to 'libs'
Bug #56601 r=pavlov


git-svn-id: svn://10.0.0.236/trunk@108681 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-21 08:55:59 +00:00
realpeterv%mac.com
88938ea93f Fix for bug 83360 (improve LDAP datasource usefulness with XUL templates). r=dmose. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@108299 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-16 14:46:13 +00:00
realpeterv%mac.com
2bef1d2998 Fix for bug 83360 (improve LDAP datasource usefulness with XUL templates). r=dmose. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@108298 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-16 14:40:41 +00:00
leif%netscape.com
fb1a4be4c0 Fix for bug 82412: Preresolve DNS before calling into LDAP C-SDk. SR=bienvenu@netscape.com, r=dmose@netscape.com, patch=leif@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@103035 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-17 23:35:03 +00:00
peter.vanderbeken%pandora.be
c8fe6486de Clean up datasource. Return partial result list to allow progressive display. Don't onAssert for the attributes, let the user ask for them. Not part of the default build. r=dmose.
git-svn-id: svn://10.0.0.236/trunk@90118 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 15:02:24 +00:00
dmose%netscape.com
af8a05701f Fixes various sr= issues turned up in preparation for turning on LDAP in the default builds (bug 70658). Removes obsolete and private interface methods; fixes spacing, and lots of misc cleanups. moa=me, sr=shaver@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@89068 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 03:25:47 +00:00
Peter.VanderBeken%pandora.be
e3134bfbb3 Not part of the build. Adding a QI.
git-svn-id: svn://10.0.0.236/trunk@86917 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-13 14:15:42 +00:00
Peter.VanderBeken%pandora.be
62c334a3f7 Not part of the build. Eliminate JS warning. Correct error in CID. Add debugging info.
git-svn-id: svn://10.0.0.236/trunk@86234 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-05 15:46:51 +00:00
Peter.VanderBeken%pandora.be
20b2c4bb0f Not part of the build. Basic scaffolding for the LDAP datasource.
git-svn-id: svn://10.0.0.236/trunk@86103 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 15:58:09 +00:00
dmose%mozilla.org
ae17ba5bfc LDAP error-handling cleanup, part 1. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@81316 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-17 23:07:38 +00:00
dmose%mozilla.org
ccfb778c6d fix up a progid->contractid conversion that got missed; update a few comments. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@80171 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 22:35:35 +00:00
dmose%mozilla.org
8a7b889861 Migrate from progids to contractids. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@80125 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 01:11:34 +00:00
rayw%netscape.com
c4734d3001 fix to mal-formed contract id introduced in mega-check-in:x
git-svn-id: svn://10.0.0.236/trunk@79048 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 04:18:07 +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
dmose%mozilla.org
acb5ac9d6f remove some useless debugging cruft; implement more callbacks using closures. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@76976 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 21:38:19 +00:00
dmose%mozilla.org
2d67cccf73 refine to assign to the prototype rather than the created objects, and add debugging stuff to help shaver. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@76350 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-15 20:58:17 +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
dmose%mozilla.org
b56488f5ec use lexical closure of JS functions to bind data to a function for use as a callback. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@75753 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 02:56:44 +00:00
waterson%netscape.com
1cc3c3da2d Bug 46053. Add [begin|end]UpdateBatch() to nsIRDFObserver; case-normalize the resot of the nsIRDFObserver methods; update implemetors, users. r=bienvenu,rjc,dmose,slamm
git-svn-id: svn://10.0.0.236/trunk@75742 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 00:22:36 +00:00
dmose%mozilla.org
5b8b7f50cf a per-connection nsILDAPMessageListener is no longer necessary. removed. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@74122 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 23:06:37 +00:00
dmose%mozilla.org
3a9a1aa9d3 initial code for an LDAP datasource; not yet working or complete. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@73946 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 21:22:17 +00:00