Commit Graph
720 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] 612acbfd30 fixes bug 219400 "remove callers of nsServiceManager:: methods" r=bsmedberg 2004-11-07 23:59:35 +00:00
[email protected] 41edd4cd6e eliminating uses of deprecated nsComponentManager:: methods (bug 267040), r=bsmedberg 2004-11-01 18:50:36 +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] 8d4d269b63 Add helper functions that make it easier to cache factories. b=261310 r=darin 2004-10-02 00:44:13 +00:00
[email protected] c5af544403 Make printfs easier to understand. b=261310 r=darin 2004-10-02 00:43:21 +00:00
[email protected] b89a0e237e Make static components support deferred registration to fix bug 254967. Follow-on to bug 123197. r=shaver, a=asa. 2004-08-11 21:14:51 +00:00
[email protected] 0e308c4434 Add a NS_FASTCALL macro that specifies regparm(3) and stdcall on gcc/x86 to improve performance (passing up to 3 arguments in registers instead of on the stack, and having the caller pop any stack arguments). Apply NS_FASTCALL to our most frequently called non-public methods and functions. Also add NS_CDECL to explicitly specify the default calling convention and make it part of NS_IMETHOD, since xptcall can't deal with NS_FASTCALL. Bug 249652, r=darin, sr=dbaron. 2004-07-14 22:14:34 +00:00
[email protected] d9edea9d71 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin 2004-06-17 00:13:25 +00:00
[email protected] 8c99cc3e58 243870: Suppress output to stdout in non-debug builds. r=cls sr=shaver 2004-05-27 20:54:46 +00:00
[email protected] 6b0210f601 Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin 2004-05-22 22:15:22 +00:00
[email protected] 3565fc7040 landing patch for bug 243169 "nsStaticComponent.h should be standalone friendly" patch by [email protected] r=darin sr=dougt 2004-05-18 06:18:15 +00:00
[email protected] b8143adde0 landing patch for bug 243169 "nsStaticComponent.h should be standalone friendly" patch by [email protected] r=darin sr=dougt 2004-05-18 05:39:45 +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] 14e471acbc landing string defragmentation patch for bug 231995, r/sr=dbaron,jst,dougt 2004-02-19 02:44:03 +00:00
[email protected] 601ac76297 Fixing bug 232503. Start using Empty[C]String() to save a bit on code-size. [email protected] 2004-01-29 22:04:45 +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] 3736b6e206 Bug 229875 - eliminate unnecssary public/virtual destructors. This patch changes all refcounted classes under xpcom/, which aren't inherited from or used on the stack, to have private, nonvirtual destructors. r=dougt, sr=dbaron. 2004-01-15 06:14:18 +00:00
[email protected] 6822469994 remove unnecessary semicolon which breaks the build for some gcc versions.
no bug, rs=bsmedberg
2003-11-04 20:51:08 +00:00
[email protected] 18b1138388 fixes bug 224505 "slight static component loader cleanup" r=bsmedberg sr=dougt 2003-11-03 05:31:14 +00:00
[email protected] 6bdd9ddadb backing out my last change. it wasn't right. see bug 223084 and bug 224505 for details. 2003-11-03 02:44:23 +00:00
[email protected] 507ad1b768 fixing static build orangeness, b=223084, r=timeless 2003-11-03 02:13:08 +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] 4baf331386 Fix static build bustage from bug 223084 - r=bryner Sorry about that! 2003-10-31 20:50:22 +00:00
[email protected] b1fcaab96e Bug 223084 - enable the static component loader by default r/sr=dougt 2003-10-30 21:11:07 +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] af957888be Fix for 205023. Adds nsTraceRefcnt stubs that access a global to allow tracing refcnt to work with the GRE/xpcom glue builds. r=dbaron 2003-08-05 05:29:10 +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] fff827a77e Bug 73353: clean up MODULE/REQUIRES story. r=cls, sr=bryner 2003-07-13 22:29:00 +00:00
[email protected] f09eff5661 Enables debug stackcrawl support in GRE builds. b=208098. r=dbaron. 2003-07-07 22:11:36 +00:00
[email protected] 45303a5858 Make user-specific application directory name configurable using --with-user-appdir.
Thanks to Ben Bucksch <[email protected]> for the original patch.
Bug #58327 r=dougt
2003-07-01 18:32:49 +00:00
[email protected] de6e481b1f Bug 210337 - Spring cleaning of unused XPCOM code and callers r/sr=alecf/bz 2003-06-23 20:31:43 +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] 0b7d1db72a Bug 209808 Mismatched delete / delete [] in nsCategoryManager.cpp
r=dougt
2003-06-18 18:55:35 +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] aad64454cd Bug 204146 Undefined symbols during autoregistration should go to stdout
r=dougt
2003-06-17 18:19:40 +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] 7ed94afd0d Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-10 21:18:27 +00:00
[email protected] a7a076d948 fixing bustage 2003-05-23 22:38:41 +00:00
[email protected] 582ebf712d removing dynamically allocated hashtable in xpcom where possible. r=alecf, b=204634 2003-05-23 22:23:10 +00:00