seawood%netscape.com
18593c4931
Make user-specific application directory name configurable using --with-user-appdir.
...
Thanks to Ben Bucksch <ben.bucksch@beonex.com> for the original patch.
Bug #58327 r=dougt
git-svn-id: svn://10.0.0.236/trunk@144350 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-01 18:32:49 +00:00
bsmedberg%covad.net
03384bfad0
Bug 210337 - Spring cleaning of unused XPCOM code and callers r/sr=alecf/bz
...
git-svn-id: svn://10.0.0.236/trunk@144063 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-23 20:31:43 +00:00
timeless%mozdev.org
c4702398f4
Bug 209681 improve XPCOM_CHECK_PENDING_CIDS: prevent some crashes, enable component manager to block components by contract
...
r=dougt
git-svn-id: svn://10.0.0.236/trunk@143894 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-18 23:03:08 +00:00
timeless%mozdev.org
9d9cca287d
Bug 209808 Mismatched delete / delete [] in nsCategoryManager.cpp
...
r=dougt
git-svn-id: svn://10.0.0.236/trunk@143875 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-18 18:55:35 +00:00
bsmedberg%covad.net
e3c168a346
Bug 193031 fix category manager to use aPersist parameter. Bug 54639 Category Manager is not thread-safe. Bug 208437 separate threadsafe nsBaseHashtable into super-class nsBaseHashtableMT. r=dougt/alecf I know Sun Workshop builds are still broken... working on it.
...
git-svn-id: svn://10.0.0.236/trunk@143853 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-18 11:26:27 +00:00
bryner%netscape.com
989e15c152
Fix a debug-only crash when requesting a non-existant contractid. Bug 209680, r=dougt, sr=alecf.
...
git-svn-id: svn://10.0.0.236/trunk@143814 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-17 21:12:11 +00:00
timeless%mozdev.org
6fef9261cd
Bug 204146 Undefined symbols during autoregistration should go to stdout
...
r=dougt
git-svn-id: svn://10.0.0.236/trunk@143808 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-17 18:19:40 +00:00
timeless%mozdev.org
5a16dcbfd7
Bug 204146 Undefined symbols during autoregistration should go to stdout
...
Change output for NSPR_LOG_MODULES=nsComponentManager:1 .. 4 to be useful
r=dougt
git-svn-id: svn://10.0.0.236/trunk@143805 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-17 17:50:00 +00:00
seawood%netscape.com
06e1507b0c
Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev
...
git-svn-id: svn://10.0.0.236/trunk@143527 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-10 21:18:27 +00:00
dougt%meer.net
7cd096195a
fixing bustage
...
git-svn-id: svn://10.0.0.236/trunk@142870 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-23 22:38:41 +00:00
dougt%meer.net
219c826785
removing dynamically allocated hashtable in xpcom where possible. r=alecf, b=204634
...
git-svn-id: svn://10.0.0.236/trunk@142864 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-23 22:23:10 +00:00
timeless%mozdev.org
73b4b6518b
Bug 206287 things Will be re-ordered to match declaration order
...
r=roc+moz sr=roc+moz a=roc+moz
git-svn-id: svn://10.0.0.236/trunk@142636 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-20 02:02:56 +00:00
dougt%meer.net
51658eb14b
disabling unloading of dependent libraries on HPUX. On tihs and possibly other platforms there is no reference count on dso's. This means that when unload is called, the libraries is actually unloaded causing a crash. b=204804, r=blizzard
...
git-svn-id: svn://10.0.0.236/trunk@142544 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-16 13:24:55 +00:00
dougt%meer.net
ca6e5be051
Stacks nsFactoryEntry's so that we can support overloading factories a bit better. r=darin, a=blizzard, b=204870
...
git-svn-id: svn://10.0.0.236/trunk@142385 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-13 22:50:03 +00:00
dougt%meer.net
6054d2e34d
Backing out dependent library loading on windows. Fixes 204676.
...
git-svn-id: svn://10.0.0.236/trunk@142185 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-07 18:39:47 +00:00
dougt%meer.net
9ced948c20
Missed this checkin when I landed. It is required to prevent a hang. I am also disabling some DEBUG_dougt code. r=darin, a=seth, bug=193442
...
git-svn-id: svn://10.0.0.236/trunk@142115 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-05 06:06:57 +00:00
dougt%meer.net
a407117851
Adding a dependent_libs cache. b=193442, r=darin, a=seth
...
git-svn-id: svn://10.0.0.236/trunk@142087 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-03 00:54:20 +00:00
dougt%meer.net
2601a2db79
Fixing up the comment so that it doesn't include params which are not there. r=me. Thanks to Ellen Evans for pointing this out.
...
git-svn-id: svn://10.0.0.236/trunk@142025 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-01 23:28:38 +00:00
dougt%netscape.com
c19388fec5
bug 201711. We were not uninstalling the component. r=darin
...
git-svn-id: svn://10.0.0.236/trunk@141348 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-18 00:46:34 +00:00
dougt%netscape.com
89089054dc
now correctly determines when two services race on a single cid. patch by mscott+dougt, r=dbaron, b=194568.\nalso removes xpcom component release location sr=alecf b=201263
...
git-svn-id: svn://10.0.0.236/trunk@141128 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-14 20:50:14 +00:00
dougt%netscape.com
539f10d62a
Removing obsolete files r=dougt
...
git-svn-id: svn://10.0.0.236/trunk@140854 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-08 20:40:05 +00:00
dougt%netscape.com
fdffcd9198
removing removed NS_DEF_FACTORY and nsXPComFactory.h. r=alecf b=200750
...
git-svn-id: svn://10.0.0.236/trunk@140853 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-08 20:37:02 +00:00
dougt%netscape.com
4153606096
removing status and registry locations from xcdll. These two members are not being used. r=alecf. b=200722
...
git-svn-id: svn://10.0.0.236/trunk@140851 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-08 20:29:43 +00:00
dbradley%netscape.com
dc3c50a5a2
Fix for alecf's const bustage at line 1548
...
git-svn-id: svn://10.0.0.236/trunk@140704 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-04 16:39:31 +00:00
alecf%netscape.com
8d4f1935a6
fix for bug 195298 - pldhash ops tables should be const.. r=dougt, sr=sfraser
...
git-svn-id: svn://10.0.0.236/trunk@140696 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-04 15:10:37 +00:00
dougt%netscape.com
1f77942025
Removing dead code. b=198023, r=darin, sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@139694 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-18 20:34:19 +00:00
dougt%netscape.com
fed2927b2c
Create a new xpcom obsolete library (and component library).
...
Moved nsFileSpec and related classes into this obsolete library.
Moved nsRegistry and related libreg functionality into the obsolete library.
Updated many callers using the obsolete nsFile spec to use nsIFile and Necko to do file IO.
Combined the following DLLs (source -> dest)
uriloader -> docshell
shistory -> docshell
jsurl -> jsdom
gkview -> gklayout
Moved nsAdapterEnumerator out of xpcom/ds and into mailnews, since they're the only consumer
Modifed the xpt_link tool so that you can specify a only include cid list that can mask CIDs that you are not interested in.
Added build options:
Prevent the building of xpinstall (--disable-xpinstall)
Prevent the building js component loader (--disable-jsloader)
A build option to only build a single profile (--enable-single-profile)
A build flag to only built the required xpfe components (--disable-xpfe-components).
Removal or hiding of unused functions and classes including nsEscape*, nsDequeIterator, nsRecyclingAllocatorImpl, nsDiscriminatedUnion, nsOpaqueKey, nsCRT::strlen, NS_NewCommandLineService
Bug 194240, r/sr = darin, alec.
git-svn-id: svn://10.0.0.236/trunk@139480 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-15 01:04:32 +00:00
alecf%netscape.com
ab3b9db8cd
fix for bug 196210, component manager is malloc-happy:
...
- use custom non-allocating CID formatter when writing out compreg.dat
- arena allocate category names and keys
- pass around string lengths so we don't keep calling strlen
r=dougt
git-svn-id: svn://10.0.0.236/trunk@139432 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-14 05:07:24 +00:00
dougt%netscape.com
f1e172a2b3
Adding debug support to detect reentrant create instance patterns, r+sr=alecf@netscape.com, b=194568
...
git-svn-id: svn://10.0.0.236/trunk@139311 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-12 03:58:33 +00:00
dougt%netscape.com
928f8738d9
Converting the file location of the component registry and the xpti manifest file to use the directory service. r=darin, b=191055
...
git-svn-id: svn://10.0.0.236/trunk@139289 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-11 21:36:59 +00:00
cls%seawood.org
609a196b54
XP code changes required for mingw landing.
...
Add NS_STDCALL macros for functions that require stdcall declarations.
Add NS_STDCALL_FUNCPROTO macro for stdcall function prototype typedefs.
Bug #134113 r=dougt sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@139083 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-07 06:07:56 +00:00
dougt%netscape.com
265d430432
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.
...
git-svn-id: svn://10.0.0.236/trunk@138914 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-05 03:22:12 +00:00
dougt%netscape.com
fc48737a7d
not part of build, yet
...
git-svn-id: svn://10.0.0.236/trunk@138819 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-04 00:35:27 +00:00
tor%cs.brown.edu
c4dd047dc5
Backout of 193442/191415. a=brade,dougt
...
git-svn-id: svn://10.0.0.236/trunk@138808 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-03 21:00:07 +00:00
brade%netscape.com
3b200d48b4
change ifdefs per cathleen, sfraser, bryner (bug 195654)
...
git-svn-id: svn://10.0.0.236/trunk@138805 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-03 19:06:31 +00:00
dougt%netscape.com
3fd622cba7
backing out last change - using linear list does not change the start up time.
...
git-svn-id: svn://10.0.0.236/trunk@138786 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-03 03:26:02 +00:00
dougt%netscape.com
ffaba2352d
Reverting mAutoRegEntries hashtable change. I believe it was responsible for the bulk of the 200ms spike. b=195494.
...
git-svn-id: svn://10.0.0.236/trunk@138784 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-03 01:19:58 +00:00
dougt%netscape.com
555ccf142c
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.
...
git-svn-id: svn://10.0.0.236/trunk@138725 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-28 21:30:35 +00:00
dougt%netscape.com
6684eeb0e6
xpcom is unable to always load .js component file. r=ssu, sr=alecf, a=rjesup, b=190560 build/nsXPComInit.cpp
...
git-svn-id: svn://10.0.0.236/trunk@137042 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-28 22:07:53 +00:00
dbaron%dbaron.org
a81104697d
Fix leak in AutoRegisterComponent. b=189811 r=dougt sr=bzbarsky a=asa
...
git-svn-id: svn://10.0.0.236/trunk@137011 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-28 01:42:56 +00:00
bryner%netscape.com
cb45a9e50a
remove unused xcDllStore (bug 187876). r=dougt, rs=brendan.
...
git-svn-id: svn://10.0.0.236/trunk@136225 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-13 06:08:00 +00:00
dbaron%dbaron.org
6ed727cbe8
Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
...
git-svn-id: svn://10.0.0.236/trunk@136028 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 23:19:20 +00:00
seawood%netscape.com
0a7c7a98f9
nobrainer changes while thinking about mingw support
...
Bug #134113 r=dmose
git-svn-id: svn://10.0.0.236/trunk@135809 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-03 08:58:59 +00:00
seawood%netscape.com
f8f86e7f05
Start installing GRE libraries & components into a separate dist/gre directory as part of the default build.
...
Bug #186241 r=dougt
git-svn-id: svn://10.0.0.236/trunk@135661 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-28 01:15:07 +00:00
dougt%netscape.com
6349379fdb
adding better comments to idl per newsgroup comment
...
git-svn-id: svn://10.0.0.236/trunk@135411 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-17 19:11:59 +00:00
dougt%netscape.com
8ee6126b8f
Fixes loss of category information when using regxpcom, r=darin, sr=alec, b=182771
...
git-svn-id: svn://10.0.0.236/trunk@134732 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-03 23:17:03 +00:00
sicking%bigfoot.com
6f8753e832
Bug 8929: Kill NS_COMFALSE
...
r=peterv sr=bz
git-svn-id: svn://10.0.0.236/trunk@134398 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-25 11:21:22 +00:00
dougt%netscape.com
c278ddc80d
Autoreg is posting a failure for regxpcom of xpcom component. sr=alecf@netscape.com, r=dveditz@netscape.com, b=180821
...
git-svn-id: svn://10.0.0.236/trunk@134237 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-21 02:36:50 +00:00
mkaply%us.ibm.com
dca2e1ea1b
#179508
...
r=cls, sr=alecf
Get OS/2 static build working again
git-svn-id: svn://10.0.0.236/trunk@133833 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-14 19:02:05 +00:00
alecf%netscape.com
71b2ee7677
fix for bug 173291 - use nsISimpleEnumerator for nsHashtableEnumerator, rather than nsIEnumerator
...
r=dougt, sr=jag
git-svn-id: svn://10.0.0.236/trunk@133780 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-13 22:40:10 +00:00