Commit Graph

122 Commits

Author SHA1 Message Date
dougt%netscape.com
c50ca402ad 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
2002-01-29 21:22:13 +00:00
dbaron%fas.harvard.edu
7a72f2d9f4 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
dougt%netscape.com
849d297364 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
2001-12-19 00:12:41 +00:00
seawood%netscape.com
45bfbf0658 Landing the rest of the win32 gmake changes:
* Adds Makefile.ins to win32 specific dirs
* Adds WINNT ifdefs to Makefile.ins
* Causes NSPR to be compiled with --with-mozilla
* Misc general Makefile.in cleanup

Bug #58981 r=mcafee
2001-12-18 09:14:29 +00:00
jaggernaut%netscape.com
ee12112b29 Remove timer from REQUIRES, the makefile.win edition 2001-12-16 18:08:20 +00:00
pavlov%netscape.com
15273ea50a bug 78611. New XP threadsafe timer implementation. r=dougt sr=brendan 2001-12-16 06:13:17 +00:00
ccarlen%netscape.com
993cd4c06f Bug 98349 - Convert Mac build to CW7 and XML projects. Removing obsolete .mcp files. r=pink/sr=sfraser 2001-12-11 04:54:47 +00:00
ccarlen%netscape.com
6d8ea78b52 Adding new files for conversion to CW7 and XML project files. Bug 98349 r=pink/sr=sfraser. 2001-12-10 20:25:12 +00:00
seawood%netscape.com
7733357d51 Rename 'install' build phase to 'libs'.
Bug #56601 r=pavlov
2001-11-21 09:49:41 +00:00
jaggernaut%netscape.com
ee4f787321 Clean up REQUIRES lines. r/sr=alecf 2001-11-16 01:54:59 +00:00
alecf%netscape.com
d49a4ba867 win32 REQUIRES cleanup 2001-11-15 03:49:13 +00:00
dbaron%fas.harvard.edu
8cd8d91750 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
locka%iol.ie
74ba992337 Removed chrome registry code from embedding API to improve startup performance. r=ccarlen@netscape.com sr=hyatt@netscape.com r=105462 2001-10-19 12:43:05 +00:00
jaggernaut%netscape.com
c39b98b2a4 Clean up REQUIRES lines. 2001-10-07 10:35:41 +00:00
alecf%netscape.com
c7840ee904 bug 101761 - clean up embed components so we can better understand REQUIRES r=cls 2001-09-26 20:17:35 +00:00
gerv%gerv.net
6416d50b50 License changes, take 2. Bug 98089. mozilla/embedding/. 2001-09-25 22:58:40 +00:00
locka%iol.ie
dabd2185d7 NS_InitEmbedding & NS_TermEmbedding become frozen APIs. Updated documentation. b=99181 r=chak@netscape.com sr=rpotts@netscape.com 2001-09-20 12:08:04 +00:00
gerv%gerv.net
1856815ff1 Oops. 2001-09-20 00:02:59 +00:00
scc%mozilla.org
bc444f528a bug #98089: ripped new license 2001-09-19 22:39:41 +00:00
jaggernaut%netscape.com
d1a7bfa843 One module per line for REQUIRES. r=/sr=alecf 2001-09-18 22:01:13 +00:00
jaggernaut%netscape.com
dc40187223 Bug 73353: splitting the modules on the REQUIRES lines in Makefile.in across multiple lines to more clearly show the changes made. sr=alecf 2001-09-18 13:41:47 +00:00
jaggernaut%netscape.com
25856c9451 Bug 73353: move gfx from module layout to module gfx and fix up REQUIRES lines. r=cls 2001-09-14 05:37:29 +00:00
alecf%netscape.com
1e0e7dd033 Add REQUIRES to many modules for win32 support, bug 98372 r=cls 2001-09-12 20:32:40 +00:00
locka%iol.ie
ec522635d6 Fix for fallout in embedding from component/service manager merge. b=98721 r=ccarlen@netscape.com sr=blizzard@mozilla.org 2001-09-07 18:05:50 +00:00
chak%netscape.com
26539376e9 Fix for #92798 - Asserts in nsParser.cpp when registering JS components
r=valseki, sr=blizzard
2001-08-02 20:31:54 +00:00
jaggernaut%netscape.com
e91f8a147e Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa 2001-07-25 07:54:28 +00:00
jaggernaut%netscape.com
cb0faab070 Bug 73353: clean up the REQUIRES lines in Makefiles. 2001-07-23 22:36:12 +00:00
locka%iol.ie
fba5b8169b Remove event queue destruction code from NS_TermEmbedding to prevent assertions later on. b=79181 r=rpotts@netscape.com sr=blizzard@mozilla.org 2001-07-02 19:23:40 +00:00
cls%seawood.org
bf5fb48486 Replaced NO_SHARED_LIB & NO_STATIC_LIB with BUILD_SHARED_LIBS, BUILD_STATIC_LIBS, FORCE_STATIC_LIB & FORCE_SHARED_LIB. Added FORCE_USE_PIC.
Changes allow us to have a finer control over which parts of the tree are built with PIC.  Part of the static build branch landing.
Bug #46775 r=mcafee a=leaf
2001-06-18 22:10:38 +00:00
valeski%netscape.com
00bca056ef 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
sfraser%netscape.com
245d4eb76f Backing out valeski 2001-04-27 05:53:22 +00:00
valeski%netscape.com
54db7dffa3 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
disttsc%bart.nl
8768d91961 Fix senna bustage (MOZ_TRACK_MODULE_DEPS) 2001-04-13 03:30:51 +00:00
disttsc%bart.nl
f595ed19f3 Clean up REQUIRES lines. r=cls 2001-03-25 22:59:27 +00:00
disttsc%bart.nl
efba48a312 Fix MOZ_TRACK_MODULE_DEPS builds (e.g. senna) bustage, add "embedcomponents" to REQUIRES line in embedding/base/Makefile.in, r=cls 2001-03-19 23:30:29 +00:00
chak%netscape.com
eaae9499a0 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
attinasi%netscape.com
edb0425331 Trying to fix bustage: removing references to appstartup stuff. 2001-03-13 08:39:37 +00:00
chak%netscape.com
6af6ab8297 Last Fix for #68720 - EmbedAPI should use generic startup observers
r=ccarlen,sr=alecf
2001-03-13 06:35:48 +00:00
danm%netscape.com
38a93a8cef change name of WindowCreator function to fix inexplicable Windows error necessitating careful ordering of includes files 2001-02-26 02:17:02 +00:00
disttsc%bart.nl
a6f2f5861a Mass REQUIRES update to synch up with string lib and xul changes in an attempt to fix senna bustage. r=jst, sr=cls 2001-02-22 09:35:51 +00:00
danm%netscape.com
1bc94a1177 adding ability to WindowWatcher to open windows without parents. bug 67368 r=hyatt,pinkerton 2001-02-17 02:45:42 +00:00
danm%netscape.com
1a86622cb0 First Checked In. 2001-02-17 02:27:36 +00:00
danm%netscape.com
be7505e6ca adding a window creator callback. r=hyatt,pinkerton,(valeski didn't complain) 2001-02-17 02:22:51 +00:00
ccarlen%netscape.com
d9dd3b5321 Fix for bug 64501 - allow embedding apps to specify app registry location. Moves appfilelocprovider into xpcom. r=dougt@netscape.com, sr=brendan@mozilla.org 2001-01-18 22:51:57 +00:00
locka%iol.ie
857c121222 New embedding routines to be called by host apps during message processing and idle time. b=44120. 2001-01-17 21:15:17 +00:00
locka%iol.ie
4bc897076e New embedding routines to be called by host apps during message processing and idle time. b=44120. NOT PART OF BUILD (yet) 2001-01-17 21:10:46 +00:00
cls%seawood.org
66a18fcbbf Resurrect REQUIRES so that we have some sort of means to track intermodule dependencies. Bug #59454 r=blizzard@mozilla.org 2000-11-20 07:16:06 +00:00
dougt%netscape.com
44ba6115cb Removes need for chrome r/a=blizzard@redhat.com b=54428 2000-10-01 05:26:26 +00:00
locka%iol.ie
b78abdf560 Changes to loadURI & reload methods on nsIDocShell, nsIWebNavigation. b=50949, r=radha, a=radha 2000-09-20 12:23:53 +00:00
dougt%netscape.com
c2923c8476 + 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
rayw%netscape.com
0257791053 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
conrad%ingress.com
951422d4e5 Not part of the build! 2000-08-14 02:49:08 +00:00
conrad%ingress.com
ef5c0e00fb 1. Removed NS_Init which took a path. 2. Added appfilelocation provider param. r=dougt 2000-08-11 20:10:06 +00:00
conrad%ingress.com
ccd4d7da0f 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-11 20:09:05 +00:00
valeski%netscape.com
0458b909bd backing out 2000-08-10 06:46:00 +00:00
valeski%netscape.com
c0d62b4aeb fixing build bustage on linux 2000-08-10 03:37:36 +00:00
valeski%netscape.com
1b88c9cdf0 temp fix for build problem 2000-08-10 03:15:57 +00:00
conrad%ingress.com
856f8ed033 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
dougt%netscape.com
a6349dde4f Minor changes. Using service manager returned from NS_InitXPCOM. 2000-08-01 01:37:44 +00:00
dougt%netscape.com
d84c495203 bug 40750.
Adding followSymlink flag to nsILocalFile.
Adjusting callers.
windows shortcut optimizations.
r=blizzard@mozilla.org.
a=brendan@mozilla.org
2000-07-12 23:31:31 +00:00
cls%seawood.org
19691bf001 Fix for BeOS bustage. 2000-07-12 06:08:19 +00:00
blizzard%redhat.com
0a247620b4 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
mcafee%netscape.com
101cd2bb2e Ignore generated files 2000-07-07 23:27:47 +00:00
dougt%netscape.com
8cc0076ed5 44113, 44190, 44191.
r/a=valeski@netscape.com

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
blizzard%redhat.com
eedbd4534a 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
locka%iol.ie
7987d5a2ce 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
locka%iol.ie
765cfbc2d5 NOT PART OF BUILD. Moved API declarations into nsEmbedAPI.h 2000-06-21 13:05:49 +00:00
locka%iol.ie
f79e5690f7 NOT PART OF BUILD. Added exports for nsEmbedAPI.h, fixed a duff dependency rule 2000-06-21 13:05:21 +00:00
locka%iol.ie
37bde33290 NOT PART OF BUILD. Added preliminary header file for embedding API 2000-06-21 13:03:05 +00:00
locka%iol.ie
18134a8655 Commented out both embedding hacks by default 2000-06-21 12:48:11 +00:00
locka%iol.ie
2b0e2115c8 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
locka%iol.ie
d9d7e2e3d7 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