Commit Graph
33 Commits
Author SHA1 Message Date
[email protected] c3e0a303eb 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.  [email protected], [email protected]
2002-01-29 21:22:13 +00:00
[email protected] 004cf1e6eb 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 2001-12-20 02:09:49 +00:00
[email protected] 32ebf7f11f 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 = [email protected]  [email protected]  [email protected]
2001-12-19 00:12:41 +00:00
[email protected] 1d843feacf Ensure that string literals are used as |const char*| rather than |char*|. r=jag sr=brendan b=107052 2001-11-07 06:24:10 +00:00
[email protected] 57ef8e5e77 Removed chrome registry code from embedding API to improve startup performance. [email protected] [email protected] r=105462 2001-10-19 12:43:05 +00:00
[email protected] bd2eae398d bug 101761 - clean up embed components so we can better understand REQUIRES r=cls 2001-09-26 20:17:35 +00:00
[email protected] 6e786992a6 Fix for fallout in embedding from component/service manager merge. b=98721 [email protected] [email protected] 2001-09-07 18:05:50 +00:00
[email protected] f2c49cf03a Fix for #92798 - Asserts in nsParser.cpp when registering JS components
r=valseki, sr=blizzard
2001-08-02 20:31:54 +00:00
[email protected] bf6a4236f1 Remove event queue destruction code from NS_TermEmbedding to prevent assertions later on. b=79181 [email protected] [email protected] 2001-07-02 19:23:40 +00:00
[email protected] 2ef69a8203 mozilla diffs r=tao, sr=alecf, commercial diffs r=syd, sr=syd/shaver. lower-casing JS calls to createBundle. removing un-used nsILocale param from nsIStringBundle::CreateBundle(). 76332 2001-04-27 21:30:24 +00:00
[email protected] 9ed868e27a Backing out valeski 2001-04-27 05:53:22 +00:00
[email protected] 51fefdf584 mozilla tree r=tao, sr=alecf. commercial tree r=syd, sr=syd/shaver. lowercasing the first char in JS method calls to createBundle. removing the dead locale parameter in the CreateBundle() method call. 76332 2001-04-27 04:16:22 +00:00
[email protected] ea011dc985 Remaining Fixes for #68720 - EmbedAPI should use generic startup observers
r=ccarlen,sr=alecf

Fix for #71994
MfcEMbed must implement Get/SetVisibility of nsIEmbeddingSiteWindow
r=chak
2001-03-19 21:57:57 +00:00
[email protected] ce2ff7d73a Trying to fix bustage: removing references to appstartup stuff. 2001-03-13 08:39:37 +00:00
[email protected] 311043a27b Last Fix for #68720 - EmbedAPI should use generic startup observers
r=ccarlen,sr=alecf
2001-03-13 06:35:48 +00:00
[email protected] f70959a99b Fix for bug 64501 - allow embedding apps to specify app registry location. Moves appfilelocprovider into xpcom. [email protected], [email protected] 2001-01-18 22:51:57 +00:00
[email protected] 3e2d02f95b Removes need for chrome r/[email protected] b=54428 2000-10-01 05:26:26 +00:00
[email protected] 69c6964d59 + Added OnSecurityChange() to nsIWebProgressListener interface.
+ Added dummy function to all users of nsIWebProgressListener
+ Added new security event sink.
+ Hooked up new event sink to docloader and friends.
+ Fixed memory leaks and crashes in nsSecureBrowserImpl.
+ Added AlertPrompt to nsIPrompt Interface.
+ Enabling xpcom test on unix.

Fixes bug 46872.  r=valeski/rpotts
2000-09-14 22:56:56 +00:00
[email protected] c6334366cb Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren
2000-09-13 23:57:52 +00:00
[email protected] f97d0ff723 1. Removed NS_Init which took a path. 2. Added appfilelocation provider param. r=dougt 2000-08-11 20:10:06 +00:00
[email protected] 0e2454f0e5 backing out 2000-08-10 06:46:00 +00:00
[email protected] 4b965056c9 temp fix for build problem 2000-08-10 03:15:57 +00:00
[email protected] 7d5b87fa9a 1. Uses appfilelocationprovider. Can pass one in or pass nsnull and default is made. 2. Removed version of NS_InitEmbedding which took char* path. r=dougt 2000-08-10 03:07:25 +00:00
[email protected] 1722abc440 Minor changes. Using service manager returned from NS_InitXPCOM. 2000-08-01 01:37:44 +00:00
[email protected] 571c5403a5 bug 40750.
Adding followSymlink flag to nsILocalFile.
Adjusting callers.
windows shortcut optimizations.
[email protected].
[email protected]
2000-07-12 23:31:31 +00:00
[email protected] b6e4fc4be2 fix for bug #44790. Fix TestGtkEmbed crash on startup. Ignore the return value from nsIChromeRegistry::CheckForNewChrome(). Also, clean up event queue start up and shut down, fix tabs in file, some 80 col violations and some other code formatting cleanups. r,a=brendan 2000-07-08 02:16:34 +00:00
[email protected] 3f3b4a10db 44113, 44190, 44191.
r/[email protected]

nsDocShellTreeOwner not handling chrome/content correctly.
Asserts when no toplevel window set.
Need to start chrome up from NS_InitEmbedding()
Test App changes.
2000-07-04 21:53:27 +00:00
[email protected] 39ef68053a build the embedding/base code on unix. fix trailing newline in nsEmbedBase.h and put the thread hack back in until we get a long term solution. bug #43952. r=adamlock,valeski a=brendan 2000-06-27 20:54:15 +00:00
[email protected] 11a56b44a8 NOT PART OF BUILD. Created variant of NS_InitEmbedding that accepts an nsILocalFile object as a parameter 2000-06-21 13:19:12 +00:00
[email protected] 6e24195111 NOT PART OF BUILD. Moved API declarations into nsEmbedAPI.h 2000-06-21 13:05:49 +00:00
[email protected] 078bd2f3f4 Commented out both embedding hacks by default 2000-06-21 12:48:11 +00:00
[email protected] b966a5d474 NOT PART OF BUILD
Added refcounting to Init/Term for balanced calling. Added a bogus call to create a string bundle on the main thread.
2000-06-12 15:39:43 +00:00
[email protected] 343000ed33 NOT PART OF BUILD!
New embedding APIs for *simple* initialisation by hiding all the XPCOM initialisation and kludges that embedding apps have to do.
2000-06-06 18:28:01 +00:00