alecf%netscape.com
86b6d45c5d
fix for bug 152929 - we were leaking 900+ nsFactoryEntry objects because they were not always allocated in an arena
...
(fixes a 75k leak on my system)
r=dougt, sr=dveditz
git-svn-id: svn://10.0.0.236/trunk@123718 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-20 21:22:50 +00:00
seawood%netscape.com
eee428afe5
Use macros to declare static callback functions to make OS/2 happy.
...
Fixing tinderbox bustage.
git-svn-id: svn://10.0.0.236/trunk@123385 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-15 05:56:20 +00:00
dougt%netscape.com
3d5dfe1810
fixing a uninitialized var
...
git-svn-id: svn://10.0.0.236/trunk@123381 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-15 03:58:10 +00:00
dougt%netscape.com
0fa36f3315
strdup is not defined on the mac...
...
git-svn-id: svn://10.0.0.236/trunk@123356 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-14 22:25:24 +00:00
dougt%netscape.com
90166a6762
48888 missing makefile.win change
...
git-svn-id: svn://10.0.0.236/trunk@123352 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-14 21:50:50 +00:00
dougt%netscape.com
dffd6e4f8a
Fixes 48888 - xpcom flat file backend. r=dp@netscape.com sr=waterson@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@123350 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-14 21:33:05 +00:00
seawood%netscape.com
87c856e6bd
Use the same name for the application profile directory in the registry as the profile manager does.
...
Bug #146150 r=arougthopher
git-svn-id: svn://10.0.0.236/trunk@123299 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-14 05:08:05 +00:00
chak%netscape.com
017113fab2
Fix for #130877 - Chnages to create app specific component registries
...
r=dougt, sr=shaver, a=drivers
git-svn-id: svn://10.0.0.236/trunk@123064 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-11 20:38:01 +00:00
bryner%netscape.com
3faacf9598
Bug 149225 - fix a crash on exit caused by shaver's checkin for bug 128335. r=pinkerton, sr=shaver, a=asa.
...
git-svn-id: svn://10.0.0.236/trunk@122796 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-06 03:04:56 +00:00
dougt%netscape.com
12a170e07e
synchronizing component registration output with xpcom shutdown. b=138667 r=jband sr=shaver
...
git-svn-id: svn://10.0.0.236/trunk@121337 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-11 21:15:06 +00:00
darin%netscape.com
24feadaaed
fixes bug 142870 "nsIFile should use UCS-2 instead of UTF-8"
...
r=dougt sr=alecf
git-svn-id: svn://10.0.0.236/trunk@121010 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 23:07:19 +00:00
dp%netscape.com
3bf7d05b91
bug 130381 Using arena for registry prepopulation r=dougt sr=alecf a=asa
...
git-svn-id: svn://10.0.0.236/trunk@120580 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 21:25:08 +00:00
shaver%mozilla.org
1e6dd7e839
Use a dhash instead of a vector and linear search for storing module data
...
in the static component loader. BUg 128335, r=dougt, sr=waterson.
git-svn-id: svn://10.0.0.236/trunk@120227 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 21:29:38 +00:00
darin%netscape.com
824def02af
fixes bug 129279 "nsIFile unicode/utf8/ascii task"
...
r=dougt sr=alecf
git-svn-id: svn://10.0.0.236/trunk@120092 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 05:33:09 +00:00
dougt%netscape.com
ae02918975
Addresses some native component loader thread issues. Makes use of the threadsafe version of nsISupports. Adds comments to IDL it indicate that AutoRegister can only be called from the main thread. See 98755 for details. r=jband@netscape.com, sr=waterson@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@119002 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 22:36:59 +00:00
dougt%netscape.com
b530f8011e
Fix for shutdown crash [@PR_EnterMonitor] called with a deleted monitor on the MemoryFlusher thread. 135330. r=brendan@mozilla.org, sr=jband@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@118999 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 22:33:03 +00:00
dougt%netscape.com
1c9f84ac1e
Fixes 135966. Fix by cbiesinger@web.de, r=dougt@netscape.com, sr=jband@netscape.com, a=rjesup@wgate.com
...
git-svn-id: svn://10.0.0.236/trunk@118454 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-08 00:18:14 +00:00
dougt%netscape.com
b32371dac1
Freezes nsIComponentRegistrar.idl for mozilla 1.0. bug 98755 r=dp, sr=rpotts, a=shaver + asa
...
git-svn-id: svn://10.0.0.236/trunk@117950 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-02 21:10:39 +00:00
cbiesinger%web.de
42706e7c92
bug 132126 r=dougt sr=hewitt a=scc
...
nsFactoryEntry::ReInit leaks memory
git-svn-id: svn://10.0.0.236/trunk@117474 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-26 09:48:44 +00:00
dougt%netscape.com
d300f5b795
Modifiy comments for 115853. Have not committed the UNDER_REVIEW -> FROZEN change yet. Will wait one week or so. r=dp@netscape.com, sr=rpotts@netscape.com, a=shaver@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@117217 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-22 21:15:50 +00:00
seawood%netscape.com
21d6c755b4
Remove files that have been repo-copied to xpcom/glue.
...
Bug #120474 r=dougt a=asa
git-svn-id: svn://10.0.0.236/trunk@117147 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-22 04:05:09 +00:00
dougt%netscape.com
4a9dceaf11
fixing build bustage
...
git-svn-id: svn://10.0.0.236/trunk@117133 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-22 00:41:48 +00:00
dougt%netscape.com
533be76398
fixing build bustage. need to export a header on the mac
...
git-svn-id: svn://10.0.0.236/trunk@117129 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-22 00:13:38 +00:00
dougt%netscape.com
afb5558701
130405. Committing new files. r=alec, sr=brendan@mozilla.org, a=asa@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@117119 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-21 23:47:46 +00:00
dougt%netscape.com
a288cd7893
130405. Makes the xpcom glue library usable. Updates XPCOM Samples. Adds requires lines to a few implict string/category consumers sr=alecf, sr=brendan@mozilla.org a=asa@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@117113 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-21 23:43:21 +00:00
seawood%netscape.com
56dfa1e260
Move the following files into the xpcom/glue dir:
...
nsGenericFactory.cpp
nsIGenericFactory.h
nsIInterfaceRequestorUtils.h
nsISupportsImpl.h
nsISupportsutils.h
nsIWeakReferenceUtils.h
Bug #120474 r=dougt a=asa
git-svn-id: svn://10.0.0.236/trunk@117046 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-21 09:36:47 +00:00
timeless%mac.com
69ae314807
Bug 106386 rid source of misspellings
...
r=db48x sr=blake a=asa
git-svn-id: svn://10.0.0.236/trunk@116832 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 04:30:17 +00:00
dougt%netscape.com
32fbf8f488
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
...
git-svn-id: svn://10.0.0.236/trunk@115929 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 04:22:27 +00:00
jband%netscape.com
8d3b264218
Replace NS_REINTERPRET_CAST with an NS_STATIC_CAST so that the wrong interface on the enumerator is not returned to callers. Fixes bug 128858. r=rginda sr=shaver a=dbaron (on trunk and 0.9.9 branch)
...
git-svn-id: svn://10.0.0.236/trunk@115803 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 08:07:17 +00:00
peterv%netscape.com
4816045c3f
Fix for bug 5794 ([MAC]Aliasing NGLayoutConfigInclude.h to MacConfigInclude.h is evil). sr=sfraser, a=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@115674 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-03 10:57:06 +00:00
dougt%netscape.com
6ed0398082
Disables NSGetFactory support from XPCOM. sr=shaver@mozilla.org, r=dp@netscape.com, a=shaver@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@115532 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-01 00:06:35 +00:00
dougt%netscape.com
ffacd7bc78
Adding build SDK support. r=dougt, sr=alecf, submitted by seawood, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@115326 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-25 23:20:01 +00:00
cathleen%netscape.com
6a0e426e6c
eliminate nsCRT::strlen for char* strings (part 5), bug 124536 r=dp sr=brendan
...
git-svn-id: svn://10.0.0.236/trunk@115070 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 06:38:38 +00:00
alecf%netscape.com
057eaef9e2
remove a bunch of dead code, and remove NS_COM from a bunch of concrete classes that weren't being used previously
...
r=jag, sr=shaver
git-svn-id: svn://10.0.0.236/trunk@114820 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 22:57:47 +00:00
neeti%netscape.com
911a154626
fix for bug 122438 - ConvertContractIDKeyToString(...) optimization, r=dougt,sr=alecf
...
git-svn-id: svn://10.0.0.236/trunk@114424 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 20:34:14 +00:00
dougt%netscape.com
408ba7a40c
Fix for 103518. Call module destructor function *after* destroying factories. submitted by Henry.Jia@sun.com, r=dp/dougt, sr=alecf
...
git-svn-id: svn://10.0.0.236/trunk@113819 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 20:47:37 +00:00
cathleen%netscape.com
ec77313291
eliminates 107 nsCRT::memset calls to use memset instead. removed nsCRT::memset() function. bug 118135 r=dp sr=brendan
...
git-svn-id: svn://10.0.0.236/trunk@113659 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 01:41:13 +00:00
dougt%netscape.com
37a71e53f5
Adding comments to the nsIGenericFactory file. bug 123442. r=gagan@netscape.com, sr=alecf@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@113657 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 01:38:43 +00:00
alecf%netscape.com
f7ee18f044
one more part of fix for bug 107575, including the much coveted whitespace
...
remove aIgnoreCase parameter from all nsString and nsCString consumers
sr=jag, r=shaver
git-svn-id: svn://10.0.0.236/trunk@113390 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-01 01:53:09 +00:00
dougt%netscape.com
9fad99d1de
adding @return comments.
...
git-svn-id: svn://10.0.0.236/trunk@113231 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 21:56:34 +00:00
sfraser%netscape.com
a58abd053a
Chamnges to allow for making every module's nsModuleComponentInfo data const; bug 74803. r=dp, sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@113190 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 04:05:47 +00:00
seawood%netscape.com
18da129413
Use .get() when assigning nsXPIDLCString to const char*. Fixing OS/2 & AIX bustage.
...
git-svn-id: svn://10.0.0.236/trunk@113189 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 03:51:47 +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
pete%alphanumerica.com
f66db985f6
reverting back to original
...
define is not needed here
--pete
git-svn-id: svn://10.0.0.236/trunk@113000 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-27 18:56:02 +00:00
pete%alphanumerica.com
a6eeb89003
seeing if this fixes the linux bustage
...
--pete
git-svn-id: svn://10.0.0.236/trunk@112999 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-27 18:47:17 +00:00
waterson%netscape.com
5b39ccda93
Fix static build bustage.
...
git-svn-id: svn://10.0.0.236/trunk@112735 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 21:45:46 +00:00
dougt%netscape.com
5d273d8abe
Adding nsIComponentRegistrar interface to the build. See 115853. r=dp@netscape.com, sr=jband@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@112620 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 01:50:35 +00:00
dougt%netscape.com
d383a669af
Cleanup of nsIModule. See 99154. r=dp@netscape.com, sr=jband@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@112613 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 01:29:40 +00:00
dougt%netscape.com
f923afa8bf
Removing monitor from FreeService() call. See bug 117218 for details, but basically we can run into a deadlock at shutdown. This patch assumes that (a) gXPCOMShuttingDown is set only by the UI thread during xpcom shutdown and (b) that all public API's check this flag before calling into the hashtable. r=dbaron@fas.harvard.edu, sr=brendan@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@112035 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-12 23:35:57 +00:00
cathleen%netscape.com
ea31156ed0
converted 271 references to nsCRT::memcpy to memcpy, bug 118135 r=dp
...
git-svn-id: svn://10.0.0.236/trunk@112013 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-12 03:18:55 +00:00