darin%meer.net
3d52b0860b
fixes bug 219400 "remove callers of nsServiceManager:: methods" r=bsmedberg
...
git-svn-id: svn://10.0.0.236/trunk@165089 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-07 23:59:35 +00:00
darin%meer.net
ed9e4d3d7a
eliminating uses of deprecated nsComponentManager:: methods (bug 267040), r=bsmedberg
...
git-svn-id: svn://10.0.0.236/trunk@164735 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-01 18:50:36 +00:00
dbaron%dbaron.org
49198d090c
Reduce code size of do_GetService by moving an nsCOMPtr and QueryInterface out of the part that's done inline. b=264456 r=darin
...
git-svn-id: svn://10.0.0.236/trunk@163831 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-15 17:44:30 +00:00
kjh-5727%comcast.net
61237c94ac
Bug 258321 - copy + paste error in comment. Patch by Justin Wood (116057@bacon.qcc.mass.edu), comment change only.
...
git-svn-id: svn://10.0.0.236/trunk@163371 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-07 18:20:19 +00:00
dbaron%dbaron.org
8552a17451
Add helper functions that make it easier to cache factories. b=261310 r=darin
...
git-svn-id: svn://10.0.0.236/trunk@163132 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-02 00:44:13 +00:00
dbaron%dbaron.org
6789b7186d
Make printfs easier to understand. b=261310 r=darin
...
git-svn-id: svn://10.0.0.236/trunk@163131 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-02 00:43:21 +00:00
bryner%brianryner.com
54d3e2a6c4
Make static components support deferred registration to fix bug 254967. Follow-on to bug 123197. r=shaver, a=asa.
...
git-svn-id: svn://10.0.0.236/trunk@160682 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-11 21:14:51 +00:00
bryner%brianryner.com
e372b2e9a3
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.
...
git-svn-id: svn://10.0.0.236/trunk@159199 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-14 22:14:34 +00:00
roc+%cs.cmu.edu
0b0fa89131
Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@157992 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-17 00:13:25 +00:00
akkzilla%shallowsky.com
26143a193d
243870: Suppress output to stdout in non-debug builds. r=cls sr=shaver
...
git-svn-id: svn://10.0.0.236/trunk@157031 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-27 20:54:46 +00:00
roc+%cs.cmu.edu
bdc7e5f59b
Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin
...
git-svn-id: svn://10.0.0.236/trunk@156785 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-22 22:15:22 +00:00
darin%meer.net
6a813029fe
landing patch for bug 243169 "nsStaticComponent.h should be standalone friendly" patch by marco@gnome.org r=darin sr=dougt
...
git-svn-id: svn://10.0.0.236/trunk@156516 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-18 06:18:15 +00:00
darin%meer.net
16d2672405
landing patch for bug 243169 "nsStaticComponent.h should be standalone friendly" patch by marco@gnome.org r=darin sr=dougt
...
git-svn-id: svn://10.0.0.236/trunk@156515 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-18 05:39:45 +00:00
bzbarsky%mit.edu
135f4a26a4
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 <malcolm-bmo@farside.org.uk>, r=dougt, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@155079 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 17:35:29 +00:00
gerv%gerv.net
210853d71e
Bug 236613: change to MPL/LGPL/GPL tri-license.
...
git-svn-id: svn://10.0.0.236/trunk@155067 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 14:21:17 +00:00
scott%scott-macgregor.org
72c723ac25
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.
git-svn-id: svn://10.0.0.236/trunk@153826 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-10 06:40:36 +00:00
scott%scott-macgregor.org
fb2ac810aa
Backout Bug #235882 . This broke the component manager's ability to load JS components leading to several regressions,
...
most noticeably: Bug #236952 .
git-svn-id: svn://10.0.0.236/trunk@153824 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-10 06:11:10 +00:00
dbaron%dbaron.org
6bb5e72f6d
Fix leak regression from timeless's checkin yesterday. b=235882 r=caillon sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@153775 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-09 23:17:19 +00:00
timeless%mozdev.org
467a5e68f1
Bug 235882 Make nsComponentManagerImpl::AddLoaderType return only one type of value
...
r=dougt
git-svn-id: svn://10.0.0.236/trunk@153738 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-09 07:09:52 +00:00
timeless%mozdev.org
2463c3d411
Bug 235875 Replace NS_ERROR_SERVICE_NOT_FOUND
...
r=dougt
git-svn-id: svn://10.0.0.236/trunk@153373 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-29 08:04:46 +00:00
darin%meer.net
55688e6410
landing string defragmentation patch for bug 231995, r/sr=dbaron,jst,dougt
...
git-svn-id: svn://10.0.0.236/trunk@152905 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-19 02:44:03 +00:00
jst%mozilla.jstenback.com
6629ad58f7
Fixing bug 232503. Start using Empty[C]String() to save a bit on code-size. r+sr=peterv@propagandism.org
...
git-svn-id: svn://10.0.0.236/trunk@152045 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-29 22:04:45 +00:00
bryner%brianryner.com
1bd144eac3
Continuing removal of unneeded virtual destructors (bug 229875). r=dougt, sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@151669 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-22 01:01:19 +00:00
bryner%brianryner.com
b5ccad4460
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.
...
git-svn-id: svn://10.0.0.236/trunk@151359 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-15 06:14:18 +00:00
cbiesinger%web.de
2070383715
remove unnecessary semicolon which breaks the build for some gcc versions.
...
no bug, rs=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@148840 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-04 20:51:08 +00:00
darin%meer.net
82a9a9c7b2
fixes bug 224505 "slight static component loader cleanup" r=bsmedberg sr=dougt
...
git-svn-id: svn://10.0.0.236/trunk@148754 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-03 05:31:14 +00:00
darin%meer.net
5f464cc811
backing out my last change. it wasn't right. see bug 223084 and bug 224505 for details.
...
git-svn-id: svn://10.0.0.236/trunk@148734 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-03 02:44:23 +00:00
darin%meer.net
4906f89b27
fixing static build orangeness, b=223084, r=timeless
...
git-svn-id: svn://10.0.0.236/trunk@148732 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-03 02:13:08 +00:00
bsmedberg%covad.net
3f2c63efd6
Followup on bug 223084, fix bustage of static builds. Pass a null nsIFile* to the static component loader during autoregistration.
...
git-svn-id: svn://10.0.0.236/trunk@148688 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-01 14:46:08 +00:00
bsmedberg%covad.net
2397aa3c81
Fix static build bustage from bug 223084 - r=bryner Sorry about that!
...
git-svn-id: svn://10.0.0.236/trunk@148667 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-31 20:50:22 +00:00
bsmedberg%covad.net
329c7961ce
Bug 223084 - enable the static component loader by default r/sr=dougt
...
git-svn-id: svn://10.0.0.236/trunk@148612 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-30 21:11:07 +00:00
bryner%brianryner.com
c81aa21722
Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan.
...
git-svn-id: svn://10.0.0.236/trunk@146626 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-08 00:31:50 +00:00
brendan%mozilla.org
95220b5330
Add shared DHashTableOps for [const] char *key use-cases, clean up dhash API abusages (214839, r=dougt, sr=dbaron).
...
git-svn-id: svn://10.0.0.236/trunk@145624 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-05 20:09:21 +00:00
dougt%meer.net
6dfc67684a
Fix for 205023. Adds nsTraceRefcnt stubs that access a global to allow tracing refcnt to work with the GRE/xpcom glue builds. r=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@145587 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-05 05:29:10 +00:00
timeless%mozdev.org
e29d6e9e30
Bug 213549 regxpcom thinks SelfRegisterDll FAILED = successful registration.
...
r=dougt
git-svn-id: svn://10.0.0.236/trunk@145513 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-03 09:59:05 +00:00
jaggernaut%netscape.com
95a2235bee
Bug 73353: clean up MODULE/REQUIRES story. r=cls, sr=bryner
...
git-svn-id: svn://10.0.0.236/trunk@144804 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-13 22:29:00 +00:00
dougt%meer.net
62a22c39a4
Enables debug stackcrawl support in GRE builds. b=208098. r=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@144537 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-07 22:11:36 +00:00
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