bsmedberg%covad.net
b7271f1273
Bug 296561 - rework static component loading so that nsIXULAppInfo/Runtime/etc are available during autoregistration/xpcom-startup notification (and make static component loading saner in general) - r=shaver+dougt, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@176383 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-21 13:33:43 +00:00
bsmedberg%covad.net
b0741b74a7
Bug 298044 - Dynamically load XPCOM dependent libs as part of the XPCOM standalone glue bootstrap process, r=darin a=asa
...
git-svn-id: svn://10.0.0.236/trunk@176104 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-14 18:42:59 +00:00
cbiesinger%web.de
0f728f0e37
bug 246085 nsCategoryManager should notify observers when items are added/removed from categories
...
r=dougt sr=darin a=asa
git-svn-id: svn://10.0.0.236/trunk@174800 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-17 21:07:47 +00:00
bsmedberg%covad.net
8014e29410
Bug 297315 - sorts the XPCOM implementation of nsICategoryManager.enumerateCategory alphabetically r=darin a=asa
...
git-svn-id: svn://10.0.0.236/trunk@174516 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-13 18:39:19 +00:00
timeless%mozdev.org
6f0bfe9a31
Bug 208909 compreg.dat protection problem [OpenVMS status is decimal 114690]
...
lock down permissions and sanitize with comments
r=dougt sr=dveditz a=asa
git-svn-id: svn://10.0.0.236/trunk@174413 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-10 17:32:48 +00:00
bsmedberg%covad.net
052cd76014
Bug 296430, part "xpcom" - Add a category for directory-service providers which will be registered after autoregistration but before xpcom-startup r=darin a=asa
...
git-svn-id: svn://10.0.0.236/trunk@174225 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-07 19:35:20 +00:00
shaver%mozilla.org
c6fb08a2e1
Bug 290247: fix 3 long-standing do_CreateInstanceFromCategory bugs:
...
- initialize mOuter so we don't always try to aggregate against a random
stack pointer;
- don't try to store through the oft-null mErrorPtr
- set rv so that we actually check CreateInstanceByContractID's return
r=bsmedberg, sr=darin, a=brendan
git-svn-id: svn://10.0.0.236/trunk@172105 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-13 23:56:54 +00:00
bsmedberg%covad.net
f0ad878c0e
Bug 288626 - Switch the strict API from opt-in (MOZILLA_STRICT_API) to opt-out (MOZILLA_INTERNAL_API) r=darin
...
git-svn-id: svn://10.0.0.236/trunk@171774 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-06 03:35:24 +00:00
bsmedberg%covad.net
06d0e4ec39
Bug 288626 - Begin switch from MOZILLA_STRICT_API to MOZILLA_INTERNAL_API rs=darin for the Makefile var additions. Should not affect the build yet, until we flip a few switches at the end.
...
git-svn-id: svn://10.0.0.236/trunk@171465 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-01 18:22:57 +00:00
bsmedberg%covad.net
2b789b4c5a
Other part of bug 267040
...
git-svn-id: svn://10.0.0.236/trunk@171001 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-22 20:53:17 +00:00
bsmedberg%covad.net
478a8a0994
Bug 267040 - Remove obsolete XPCOM dllexports for the old component manager r=darin
...
git-svn-id: svn://10.0.0.236/trunk@171000 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-22 20:37:18 +00:00
darin%meer.net
5969d17b78
fixes bug 284943 "Reduce debug noise from static component loader" r=bsmedberg
...
git-svn-id: svn://10.0.0.236/trunk@170454 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-09 19:23:28 +00:00
timeless%mozdev.org
e272c49d20
Bug 283131 Leaking fd/registry in OOM cases
...
r=dougt
git-svn-id: svn://10.0.0.236/trunk@169958 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-27 21:32:52 +00:00
timeless%mozdev.org
a952273ea6
Bug 282743 ABBA deadlock componentmanager monitor/jsgc claimscope
...
whitespace change to accentuate comment per brendan
git-svn-id: svn://10.0.0.236/trunk@169592 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-22 08:00:20 +00:00
bsmedberg%covad.net
2b651d90dc
Bug 282761 - crash if getClassObject "succeeds" but returns null r=dougt
...
git-svn-id: svn://10.0.0.236/trunk@169491 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-19 14:43:42 +00:00
timeless%mozdev.org
80f9d22beb
Bug 282743 ABBA deadlock componentmanager monitor/jsgc claimscope
...
r=dougt sr=bz
git-svn-id: svn://10.0.0.236/trunk@169440 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-18 22:46:24 +00:00
timeless%mozdev.org
eb7a909eba
Bug 240589 hasMoreElements is off by one for simple enumerators returned by the component registrar
...
patch by cmlenz@gmx.de r=alecf sr=alecf
git-svn-id: svn://10.0.0.236/trunk@167881 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-17 09:26:42 +00:00
timeless%mozdev.org
94f4f10868
Bug 277841 ###!!! ASSERTION: Potential deadlock between nsComponentManagerImplMonitor@959108 and Monitor@22d1550: 'Error', file r:/cenzic/mozilla/xpcom/threads/nsAutoLock.cpp, line 302
...
r=shaver
git-svn-id: svn://10.0.0.236/trunk@167711 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-14 07:03:16 +00:00
shaver%mozilla.org
9101a1f696
Bug 275075: fix 100%-chance crash when using two-arg form of
...
do_GetServiceFromCategory. r=bsmedberg, sr=darin.
git-svn-id: svn://10.0.0.236/trunk@166821 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-17 20:16:50 +00:00
bryner%brianryner.com
59c875f83e
Add support for using gcc's visibility pragma to treat all function and method declarations as "hidden" unless declared otherwise. Create wrappers for system headers that cause them to be treated as default-visibility declarations. This gives a substantial code size and performance win on compilers that support it, and should show up on the gruff tinderbox. Bug 273336, r=darin sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@166738 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-15 05:52:44 +00:00
bsmedberg%covad.net
d2c4aa852f
Bug 272283 - initial work for --enable-libxul r=bryner+darin This is on by default for xulrunner and off by default for all other apps.
...
git-svn-id: svn://10.0.0.236/trunk@166350 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-06 22:39:54 +00:00
bryner%brianryner.com
e1daca3ce3
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.
...
git-svn-id: svn://10.0.0.236/trunk@165757 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-24 22:48:45 +00:00
darin%meer.net
86a93a5874
fixes bug 263360 "Make CallCreateInstance use NS_GetComponentManager instead of nonfrozen/deprecated nsComponentManager symbols" r=bsmedberg sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@165662 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-23 20:53:38 +00:00
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