Commit Graph
255 Commits
Author SHA1 Message Date
[email protected] 64dca58997 Reduce do_GetService code bloat further by adding specialized assignment to nsCOMPtr and providing a version with no error pointer. Also make CallGetService work the same way as CallGetComponent does, as far as using frozen/non-frozen interface to service manager. Bug 264456, r=darin. 2004-11-24 22:48:45 +00:00
[email protected] b9a22224f6 fixes bug 263360 "Make CallCreateInstance use NS_GetComponentManager instead of nonfrozen/deprecated nsComponentManager symbols" r=bsmedberg sr=dbaron 2004-11-23 20:53:38 +00:00
[email protected] e587993f39 Reduce code size of do_GetService by moving an nsCOMPtr and QueryInterface out of the part that's done inline. b=264456 r=darin 2004-10-15 17:44:30 +00:00
[email protected] 792064c703 Bug 258321 - copy + paste error in comment. Patch by Justin Wood ([email protected]), comment change only. 2004-10-07 18:20:19 +00:00
[email protected] 6b0210f601 Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin 2004-05-22 22:15:22 +00:00
[email protected] 5608945d45 Don't store "no such component" entries in the hashtable when a contractid
lookup fails.  Now that we preload the registry, that serves no purpose.  Bug
230776, patch by Malcolm Rowe <[email protected]>, r=dougt, sr=alecf
2004-04-18 17:35:29 +00:00
[email protected] c0cd46fc51 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
[email protected] 717aefc968 Back out the backout of Bug #235882. It looks like dbaron's leak fix actually fixed the regressions the component manager
changes caused for JS components.
2004-03-10 06:40:36 +00:00
[email protected] 3442c57c9f Backout Bug #235882. This broke the component manager's ability to load JS components leading to several regressions,
most noticeably: Bug #236952.
2004-03-10 06:11:10 +00:00
[email protected] 059e14a22d Fix leak regression from timeless's checkin yesterday. b=235882 r=caillon sr=jst 2004-03-09 23:17:19 +00:00
[email protected] 603ca03a9e Bug 235882 Make nsComponentManagerImpl::AddLoaderType return only one type of value
r=dougt
2004-03-09 07:09:52 +00:00
[email protected] 238923ee07 Bug 235875 Replace NS_ERROR_SERVICE_NOT_FOUND
r=dougt
2004-02-29 08:04:46 +00:00
[email protected] 73c3254bfa Continuing removal of unneeded virtual destructors (bug 229875). r=dougt, sr=dbaron. 2004-01-22 01:01:19 +00:00
[email protected] e908ca0a70 Followup on bug 223084, fix bustage of static builds. Pass a null nsIFile* to the static component loader during autoregistration. 2003-11-01 14:46:08 +00:00
[email protected] 1ffa7062d9 Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan. 2003-09-08 00:31:50 +00:00
[email protected] 365c98466c Add shared DHashTableOps for [const] char *key use-cases, clean up dhash API abusages (214839, r=dougt, sr=dbaron). 2003-08-05 20:09:21 +00:00
[email protected] 3d985d5593 Bug 213549 regxpcom thinks SelfRegisterDll FAILED = successful registration.
r=dougt
2003-08-03 09:59:05 +00:00
[email protected] b3ffac6f4c Bug 209681 improve XPCOM_CHECK_PENDING_CIDS: prevent some crashes, enable component manager to block components by contract
r=dougt
2003-06-18 23:03:08 +00:00
[email protected] 92d9617dd5 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. 2003-06-18 11:26:27 +00:00
[email protected] 8d60631801 Fix a debug-only crash when requesting a non-existant contractid. Bug 209680, r=dougt, sr=alecf. 2003-06-17 21:12:11 +00:00
[email protected] d19ec7d806 Bug 204146 Undefined symbols during autoregistration should go to stdout
Change output for NSPR_LOG_MODULES=nsComponentManager:1 .. 4 to be useful
r=dougt
2003-06-17 17:50:00 +00:00
[email protected] 2e63d94e9d Stacks nsFactoryEntry's so that we can support overloading factories a bit better. r=darin, a=blizzard, b=204870 2003-05-13 22:50:03 +00:00
[email protected] fae1e10948 Backing out dependent library loading on windows. Fixes 204676. 2003-05-07 18:39:47 +00:00
[email protected] d1e071836a bug 201711. We were not uninstalling the component. r=darin 2003-04-18 00:46:34 +00:00
[email protected] 691c628a6b 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 2003-04-14 20:50:14 +00:00
[email protected] 34e78a6f47 Fix for alecf's const bustage at line 1548 2003-04-04 16:39:31 +00:00
[email protected] 80b5831587 fix for bug 195298 - pldhash ops tables should be const.. r=dougt, sr=sfraser 2003-04-04 15:10:37 +00:00
[email protected] d575ba72ae 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 CID�s 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.
2003-03-15 01:04:32 +00:00
[email protected] b119b32b00 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
2003-03-14 05:07:24 +00:00
[email protected] 54b1236275 Adding debug support to detect reentrant create instance patterns, [email protected], b=194568 2003-03-12 03:58:33 +00:00
[email protected] b9e6f9b823 Converting the file location of the component registry and the xpti manifest file to use the directory service. r=darin, b=191055 2003-03-11 21:36:59 +00:00
[email protected] 6a0e2d5228 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 [email protected] 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
[email protected] d0bca9a770 Backout of 193442/191415. a=brade,dougt 2003-03-03 21:00:07 +00:00
[email protected] bde93f77ba backing out last change - using linear list does not change the start up time. 2003-03-03 03:26:02 +00:00
[email protected] d0b57db9ca Reverting mAutoRegEntries hashtable change. I believe it was responsible for the bulk of the 200ms spike. b=195494. 2003-03-03 01:19:58 +00:00
[email protected] 6f1eaa830d 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 [email protected] 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
[email protected] 37bab56a32 xpcom is unable to always load .js component file. r=ssu, sr=alecf, a=rjesup, b=190560 build/nsXPComInit.cpp 2003-01-28 22:07:53 +00:00
[email protected] b8d022605e Fix leak in AutoRegisterComponent. b=189811 r=dougt sr=bzbarsky a=asa 2003-01-28 01:42:56 +00:00
[email protected] 8c37890522 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
[email protected] 91c48f8ae6 Fixes loss of category information when using regxpcom, r=darin, sr=alec, b=182771 2002-12-03 23:17:03 +00:00
[email protected] 4b50c34806 Bug 8929: Kill NS_COMFALSE
r=peterv sr=bz
2002-11-25 11:21:22 +00:00
[email protected] 7398a98140 Bug 172131 FMM, Comments which suggest the wrong (De)Allocator, and Style
r=dougt sr=darin
2002-10-08 06:12:00 +00:00
[email protected] 8e5b57f822 Bug 172416 Consistency for nsComponentManager.cpp
r=dbradley, sr=scc
2002-10-05 23:59:57 +00:00
[email protected] 46ce738546 166917. Clean up xpcom SDK includes. [email protected], [email protected], [email protected] 2002-09-07 17:13:19 +00:00
[email protected] d033b574fe Move FROZEN ContractID into nsXPCOM.h and define r=rpotts, sr=alec, b=166426 2002-09-03 23:36:13 +00:00
[email protected] 2de4b6e6de fix for bug 164577 - make the nsManifestLineReader include lengths from ParseLine() so that consumers can avoid calling strlen() on them
(tiny startup perf fix for reading in xpti.dat)
r=dougt, sr=darin
2002-08-27 18:32:12 +00:00
[email protected] 5918c0bebc bug 157624 - freeze nsISupportsPrimitives, which includes changing nsISupport[C]String over to using A[C]String and fixing consumers
r=dougt, sr=darin
2002-08-26 21:20:34 +00:00
[email protected] dff0269e5b Missed one instance of <new.h> for bug 155852. r=cls. 2002-08-19 05:19:22 +00:00
[email protected] aa1da7db6f bug 157624 - prep for freezing nsISupports* primitives by renaming the string classes appropriately
nsISupportsString  -> nsISupportsCString
nsISupportsWString -> nsISupportsString
r=dougt, sr=jag
2002-08-06 00:53:19 +00:00
[email protected] f5eff11afe compreg.tmp is written out on every startup. r=rjc, sr=alec, a=scc 2002-07-19 21:12:04 +00:00