dougt%netscape.com
291bed6f90
relanding. Add experimental support to the native component loader so that native components can declare what libraries it depends on. (193442)Fixed a bug where we didn't check return from GetLastModification in nsDll::HasChanged. Thank you ajschult@eos.ncsu.edu for pointing out the problem and suggesting a fix. Converted a linear search of compreg entries to be a hash lookup. Also cleaned up the xcdll class. Reviewers= Alec, Darin.
2003-03-05 03:22:12 +00:00
tor%cs.brown.edu
7d6a0e3ab4
Backout of 193442/191415. a=brade,dougt
2003-03-03 21:00:07 +00:00
dougt%netscape.com
3cdc06fdfe
Add experimental support to the native component loader so that native components can declare what libraries it depends on. (193442) Storing the GRE location in a relative way so that we can change GRE versions between launches assuming that they are compatible (191415). Fixed a bug where we didn't check return from GetLastModification in nsDll::HasChanged. Thank you ajschult@eos.ncsu.edu for pointing out the problem and suggesting a fix. Converted a linear search of compreg entries to be a hash lookup. Also cleaned up the xcdll class. Reviewers= Alec, Darin.
2003-02-28 21:30:35 +00:00
dbaron%dbaron.org
f2cd5e3e66
Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
2003-01-08 23:19:20 +00:00
dougt%netscape.com
a167020474
landing 172512. nsEmbedString for component developers and embeders. r=alec, sr=jag/darin, a=asa@mozilla.org
2002-10-17 23:41:47 +00:00
dougt%netscape.com
e7b353379f
backing out nsGenericFactory.cpp
2002-10-04 23:23:51 +00:00
dougt%netscape.com
3300c73ca0
First cut of the nsIStringService. 172512. r=jag, sr=alecf
2002-10-04 22:25:41 +00:00
dougt%netscape.com
a08bffac6a
Fixes XPCOM Glue on linux, b=168584, sr=rpotts, r=alec
2002-09-27 13:07:01 +00:00
law%netscape.com
cdc8e5a2eb
Backing out timeless's change (plus mine that fixed the build bustage); hopefully will clear orange on Linux builds
2002-09-14 00:18:33 +00:00
law%netscape.com
4713043e58
Fixing build bustage
2002-09-13 23:06:10 +00:00
timeless%mac.com
173d3e4bf1
Bug 155413 nsIClassInfo crash [@nsGenericFactory::GetHelperForLanguage] mInfo is null
...
r=dougt sr=dveditz
2002-09-13 22:36:48 +00:00
dougt%netscape.com
74a68876ce
More XPCOM Glue changes and fixes. r=waterson, sr=rpotts, 154262.
2002-07-01 20:37:17 +00:00
dougt%netscape.com
9df4de4201
synchronizing component registration output with xpcom shutdown. b=138667 r=jband sr=shaver
2002-05-11 21:15:06 +00:00
dougt%netscape.com
2741c14f93
Make generic module support usable by component and plugin developers. This patch removes the dependency on nsHashtable. bug 108233. sr=alecf@netscape.com, sr=jband@netscape.com, a=asa@mozilla.org
2002-03-06 04:22:27 +00:00
dougt%netscape.com
74e6a6c37f
Fix for 103518. Call module destructor function *after* destroying factories. submitted by Henry.Jia@sun.com, r=dp/dougt, sr=alecf
2002-02-06 20:47:37 +00:00
cathleen%netscape.com
bf3e08eb5f
eliminates 107 nsCRT::memset calls to use memset instead. removed nsCRT::memset() function. bug 118135 r=dp sr=brendan
2002-02-05 01:41:13 +00:00
sfraser%netscape.com
a7d960f722
Chamnges to allow for making every module's nsModuleComponentInfo data const; bug 74803. r=dp, sr=waterson
2002-01-30 04:05:47 +00:00
dougt%netscape.com
894fdcfaaf
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
dougt%netscape.com
9a75bc4b8e
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
gerv%gerv.net
f385eb981a
Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
2001-09-28 20:14:13 +00:00
waterson%netscape.com
5fb1910c52
Bug 96910. Restore NS_NewGenericModule() entry point for backwards compatibility. r=dougt, sr=jband, a=asa
2001-08-29 21:59:43 +00:00
waterson%netscape.com
ef1265798d
Bug 93100. Change NS_DECL_NSGETMODULE to be table driven so we can get at module ctor & dtor callbacks. Update meta-module and static-module stuff for this change, fix meta-module to not register stuff twice. r=cls,leaf
2001-08-21 00:55:20 +00:00
brendan%mozilla.org
01289b3afb
Restore scriptable nsIClassInfo.classID but add fast/C++-only classIDNoAlloc; define and use nsIClassInfo::EAGER_CLASSINFO in caps (93792, sr=waterson&jst).
2001-08-07 03:59:29 +00:00
waterson%netscape.com
c5b444c36c
Bug 71248. Convert content, layout, parser, and uconv to generic modules so that they can be linked into a meta-module. r=cathleen, sr=brendan
2001-08-07 02:55:54 +00:00
vidur%netscape.com
b20b9d9523
Temporary fix for bug 92859. Components can now be registered with the generic module macros to have class info, but not be instantiable via the component manager. Currently, the class object of such components are created eagerly at module initialization time. A future fix might create them lazily. r/sr=jband, jst
2001-08-06 07:05:22 +00:00
brendan%mozilla.org
8c7c819206
FASTLOAD_20010703_BRANCH landing, r=dbaron, sr=shaver.
2001-07-31 19:05:34 +00:00
dbaron%fas.harvard.edu
bf82abfd11
Header include dependency cleanup. b=64023 r=jag rs=brendan
2001-07-16 02:40:48 +00:00
waterson%netscape.com
0877b1a573
Land STATIC_BUILD_20010612_BRANCH, which supports building mozilla with components statically linked into the executable, as well as 'meta modules' that combine components into uber-DLLs.
2001-06-20 20:21:49 +00:00
jst%netscape.com
621060c4fd
Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com.
2001-05-08 17:42:36 +00:00
shaver%mozilla.org
89c833fb49
67699: all your nsIClassInfo is belong to us
...
- teach nsGenericFactory about nsIClassInfo, and nsIClassInfo.idl to the
builds
- add a heaping serving of macro love for classes that want to support it
- convert many modules to use nsGenericModule the new way
- handful of warning and modeline fixes
- nsSample and some XPConnect test classes now have nsIClassInfo support for
testing
2001-03-12 20:43:02 +00:00
warren%netscape.com
4189314fdb
Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
2000-10-28 22:17:53 +00:00
warren%netscape.com
6e35f97e31
Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
2000-10-27 22:43:51 +00:00
rayw%netscape.com
6cc70ebd6c
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
sfraser%netscape.com
449d00bd3c
Bump up the intial hash table size in a bunch of places to avoid resizing the hash later. r=scc
2000-03-22 02:43:48 +00:00
warren%netscape.com
7e37f4f478
Bug 21556: Making linux be thread-safe. Making tons of classes implement threadsafe AddRef/Release. a=jar
2000-03-05 21:26:01 +00:00
dougt%netscape.com
fd69a2f423
Landing nsIFile.
2000-01-24 21:28:28 +00:00
dp%netscape.com
9a62ae9b19
Providing register and unregister hook per component in the generic
...
module. r=alecf
2000-01-11 21:18:55 +00:00
jband%netscape.com
8e5c753268
Allow generic module stuff to work with singletons. Needed to fix bug 22922. r=dp
2000-01-07 02:18:13 +00:00
sspitzer%netscape.com
1395314fd6
purify related fixes. first, prevent a crash that was prevent me
...
from running purify in nsGenericFactory.cpp. Second, add support
for "mozilla -pure". Only works if you've build mozilla.bin.pure, of course.
1999-12-15 06:23:50 +00:00
dp%netscape.com
187770cd22
NS_GET_IID(). Thanks to patch from pp@ludasdesign.com r=dp@netscape.com
1999-11-30 23:36:32 +00:00
dp%netscape.com
0b9b87c92c
Eliminating leak of factory when getting it from hashtable.
...
Using NS_IMPL_ISUPPORTS1
Removing NS_DEFINE_IID
r=warren@netscape.com
1999-11-20 07:21:53 +00:00
warren%netscape.com
6770f57524
Fixed generic module factory lookup to look in cache.
1999-11-19 02:46:50 +00:00
warren%netscape.com
98a1f3c523
Minor fix.
1999-11-12 09:10:40 +00:00
warren%netscape.com
4471ddf809
Added NS_NewGenericModule. Made NS_IMPL_NSGETFACTORY use it to save space. r=dp,alecf
1999-11-12 09:07:26 +00:00
dmose%mozilla.org
8535dda53e
updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
1999-11-06 03:43:54 +00:00
scc%netscape.com
0454213f91
got rid of |NS_IMPL_ISUPPORTS|, where possible, in favor of |NS_IMPL_ISUPPORTS0| or ...1 according to the specific use; got rid of |NS_DEFINE_IID| where possible, or where it should have been |NS_DEFINE_CID|; fixed bad implementations of |QueryInterface|, where possible. Built, tested apprunner, reviewed the changes with hyatt (since he was around to look) before checking in
1999-08-23 10:14:16 +00:00
scc%netscape.com
54c96baa72
|nsISupports::GetIID()| --> |nsCOMTypeInfo<nsISupports>::GetIID()|
1999-06-29 21:01:31 +00:00
warren%netscape.com
8b32319be8
Fixed GenericFactory linkage problems.
1999-06-03 21:51:14 +00:00
dp%netscape.com
0443b20e33
Landing xpcom20/21 branch.
1999-05-26 01:38:36 +00:00
scc%netscape.com
31ff626ae9
rename |IID()| --> |GetIID()|
1999-03-03 19:48:57 +00:00