timeless%mozdev.org
eb9350f619
Bug 106386 Correct misspellings in source code
...
patch by unknown@simplemachines.org r=timeless rs=brendan
2005-11-25 19:48:04 +00:00
bsmedberg%covad.net
18f06c31b3
Bug 316558 - Stop implementing a few old nsIComponentManagerObsolete methods, r=darin
2005-11-15 20:15:05 +00:00
bsmedberg%covad.net
78f6d0683d
Bug 313309 part 2 - change the NS_DEFINE_STATIC_IID_ACCESSOR macro to NS_DECLARE, and make a NS_DEFINE_ macro that's outside the class declaration, r=shaver
2005-11-11 14:36:26 +00:00
bsmedberg%covad.net
a7253270ad
Bug 305949 Part 1 - Separate the frozen XPCOM exports with the XPCOM_API macro; add compatibility methods to the frozen string API; convert most of the tests/tools to use the xpcom glue when appropriate r=darin This checking does not actually stop exporting the nonfrozen methods yet, pending a bunch of test cleanup throughout the tree.
2005-11-08 18:17:49 +00:00
bsmedberg%covad.net
f9df27e754
Bustage fix, bug 312000
2005-10-12 18:20:44 +00:00
bsmedberg%covad.net
25a4129003
Bug 312000 - XPCOM impl of nsICategoryManager doesn't obey the IDL comments, r=darin
2005-10-12 18:01:03 +00:00
darin%meer.net
5a1ce3cd19
fixes bug 246085 "fire category manager notifications on the main thread only" patch by chpe@gnome.org, r=dougt, sr=darin
2005-09-19 17:13:32 +00:00
dougt%meer.net
fd375a636c
Make XPCOM broadcast any LoadLibrary Load() error failures. b=308716 r=bsmedberg
2005-09-15 19:53:01 +00:00
bsmedberg%covad.net
965bd346b8
From bug 296561 (see bug 302099) - remove old static-build remnants that are no longer used r=darin
2005-08-29 19:24:20 +00:00
bsmedberg%covad.net
5fba1c6aea
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
2005-07-21 13:33:43 +00:00
bsmedberg%covad.net
b9720ffcb9
Bug 298044 - Dynamically load XPCOM dependent libs as part of the XPCOM standalone glue bootstrap process, r=darin a=asa
2005-07-14 18:42:59 +00:00
cbiesinger%web.de
98a9a84fcb
bug 246085 nsCategoryManager should notify observers when items are added/removed from categories
...
r=dougt sr=darin a=asa
2005-06-17 21:07:47 +00:00
bsmedberg%covad.net
84a2c9fc02
Bug 297315 - sorts the XPCOM implementation of nsICategoryManager.enumerateCategory alphabetically r=darin a=asa
2005-06-13 18:39:19 +00:00
timeless%mozdev.org
4ffaeafdb9
Bug 208909 compreg.dat protection problem [OpenVMS status is decimal 114690]
...
lock down permissions and sanitize with comments
r=dougt sr=dveditz a=asa
2005-06-10 17:32:48 +00:00
bsmedberg%covad.net
11933987ac
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
2005-06-07 19:35:20 +00:00
shaver%mozilla.org
8aae1b4f86
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
2005-04-13 23:56:54 +00:00
bsmedberg%covad.net
7e03c0b224
Bug 288626 - Switch the strict API from opt-in (MOZILLA_STRICT_API) to opt-out (MOZILLA_INTERNAL_API) r=darin
2005-04-06 03:35:24 +00:00
bsmedberg%covad.net
beadf6cd74
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.
2005-04-01 18:22:57 +00:00
bsmedberg%covad.net
52c3e20b55
Other part of bug 267040
2005-03-22 20:53:17 +00:00
bsmedberg%covad.net
397f575df8
Bug 267040 - Remove obsolete XPCOM dllexports for the old component manager r=darin
2005-03-22 20:37:18 +00:00
darin%meer.net
06c9866f8a
fixes bug 284943 "Reduce debug noise from static component loader" r=bsmedberg
2005-03-09 19:23:28 +00:00
timeless%mozdev.org
e398c75ed1
Bug 283131 Leaking fd/registry in OOM cases
...
r=dougt
2005-02-27 21:32:52 +00:00
timeless%mozdev.org
4ccea79e58
Bug 282743 ABBA deadlock componentmanager monitor/jsgc claimscope
...
whitespace change to accentuate comment per brendan
2005-02-22 08:00:20 +00:00
bsmedberg%covad.net
68e5fbad29
Bug 282761 - crash if getClassObject "succeeds" but returns null r=dougt
2005-02-19 14:43:42 +00:00
timeless%mozdev.org
d5a44a6b73
Bug 282743 ABBA deadlock componentmanager monitor/jsgc claimscope
...
r=dougt sr=bz
2005-02-18 22:46:24 +00:00
timeless%mozdev.org
e190b3b332
Bug 240589 hasMoreElements is off by one for simple enumerators returned by the component registrar
...
patch by cmlenz@gmx.de r=alecf sr=alecf
2005-01-17 09:26:42 +00:00
timeless%mozdev.org
547c573fa6
Bug 277841 ###!!! ASSERTION: Potential deadlock between nsComponentManagerImplMonitor@959108 and Monitor@22d1550: 'Error', file r:/cenzic/mozilla/xpcom/threads/nsAutoLock.cpp, line 302
...
r=shaver
2005-01-14 07:03:16 +00:00
shaver%mozilla.org
443db64016
Bug 275075: fix 100%-chance crash when using two-arg form of
...
do_GetServiceFromCategory. r=bsmedberg, sr=darin.
2004-12-17 20:16:50 +00:00
bryner%brianryner.com
d9626f6746
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.
2004-12-15 05:52:44 +00:00
bsmedberg%covad.net
f23f538920
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.
2004-12-06 22:39:54 +00:00
bryner%brianryner.com
29c70cffe8
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
darin%meer.net
6d8591d85f
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
darin%meer.net
950a78482d
fixes bug 219400 "remove callers of nsServiceManager:: methods" r=bsmedberg
2004-11-07 23:59:35 +00:00
darin%meer.net
189ba5e5c4
eliminating uses of deprecated nsComponentManager:: methods (bug 267040), r=bsmedberg
2004-11-01 18:50:36 +00:00
dbaron%dbaron.org
fabeac3176
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
kjh-5727%comcast.net
c52fe66842
Bug 258321 - copy + paste error in comment. Patch by Justin Wood (116057@bacon.qcc.mass.edu), comment change only.
2004-10-07 18:20:19 +00:00
dbaron%dbaron.org
338d2bb649
Add helper functions that make it easier to cache factories. b=261310 r=darin
2004-10-02 00:44:13 +00:00
dbaron%dbaron.org
0bfe106289
Make printfs easier to understand. b=261310 r=darin
2004-10-02 00:43:21 +00:00
bryner%brianryner.com
c25cd050f3
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
bryner%brianryner.com
23089547be
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
roc+%cs.cmu.edu
0f4150a4e5
Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin
2004-06-17 00:13:25 +00:00
akkzilla%shallowsky.com
4bfbb02f86
243870: Suppress output to stdout in non-debug builds. r=cls sr=shaver
2004-05-27 20:54:46 +00:00
roc+%cs.cmu.edu
0e3ff503fb
Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin
2004-05-22 22:15:22 +00:00
darin%meer.net
09b6471187
landing patch for bug 243169 "nsStaticComponent.h should be standalone friendly" patch by marco@gnome.org r=darin sr=dougt
2004-05-18 06:18:15 +00:00
darin%meer.net
d38695483f
landing patch for bug 243169 "nsStaticComponent.h should be standalone friendly" patch by marco@gnome.org r=darin sr=dougt
2004-05-18 05:39:45 +00:00
bzbarsky%mit.edu
a59c28f736
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
2004-04-18 17:35:29 +00:00
gerv%gerv.net
31625ba2b1
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-18 14:21:17 +00:00
scott%scott-macgregor.org
819efeac2a
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
scott%scott-macgregor.org
5ed82ec38c
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
dbaron%dbaron.org
d775fce404
Fix leak regression from timeless's checkin yesterday. b=235882 r=caillon sr=jst
2004-03-09 23:17:19 +00:00
timeless%mozdev.org
666079e2c3
Bug 235882 Make nsComponentManagerImpl::AddLoaderType return only one type of value
...
r=dougt
2004-03-09 07:09:52 +00:00
timeless%mozdev.org
014f0b61a7
Bug 235875 Replace NS_ERROR_SERVICE_NOT_FOUND
...
r=dougt
2004-02-29 08:04:46 +00:00
darin%meer.net
8d65e087ae
landing string defragmentation patch for bug 231995, r/sr=dbaron,jst,dougt
2004-02-19 02:44:03 +00:00
jst%mozilla.jstenback.com
90431d8022
Fixing bug 232503. Start using Empty[C]String() to save a bit on code-size. r+sr=peterv@propagandism.org
2004-01-29 22:04:45 +00:00
bryner%brianryner.com
a10a5e8383
Continuing removal of unneeded virtual destructors (bug 229875). r=dougt, sr=dbaron.
2004-01-22 01:01:19 +00:00
bryner%brianryner.com
0c7c3a2ff3
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
cbiesinger%web.de
c4b48c036f
remove unnecessary semicolon which breaks the build for some gcc versions.
...
no bug, rs=bsmedberg
2003-11-04 20:51:08 +00:00
darin%meer.net
a9ab636750
fixes bug 224505 "slight static component loader cleanup" r=bsmedberg sr=dougt
2003-11-03 05:31:14 +00:00
darin%meer.net
6affba1504
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
darin%meer.net
cc7db1de31
fixing static build orangeness, b=223084, r=timeless
2003-11-03 02:13:08 +00:00
bsmedberg%covad.net
5346dbdacf
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
bsmedberg%covad.net
2923bed5da
Fix static build bustage from bug 223084 - r=bryner Sorry about that!
2003-10-31 20:50:22 +00:00
bsmedberg%covad.net
b5a2a67987
Bug 223084 - enable the static component loader by default r/sr=dougt
2003-10-30 21:11:07 +00:00
bryner%brianryner.com
06c7c1b2b4
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
brendan%mozilla.org
b7cdb7debb
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
dougt%meer.net
ed09f93043
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
timeless%mozdev.org
b719e8300f
Bug 213549 regxpcom thinks SelfRegisterDll FAILED = successful registration.
...
r=dougt
2003-08-03 09:59:05 +00:00
jaggernaut%netscape.com
2d7ed90a69
Bug 73353: clean up MODULE/REQUIRES story. r=cls, sr=bryner
2003-07-13 22:29:00 +00:00
dougt%meer.net
a856820d8e
Enables debug stackcrawl support in GRE builds. b=208098. r=dbaron.
2003-07-07 22:11:36 +00:00
seawood%netscape.com
8fdbbdff1d
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
2003-07-01 18:32:49 +00:00
bsmedberg%covad.net
1a9cab373f
Bug 210337 - Spring cleaning of unused XPCOM code and callers r/sr=alecf/bz
2003-06-23 20:31:43 +00:00
timeless%mozdev.org
a72dfd67dd
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
timeless%mozdev.org
60b80117e3
Bug 209808 Mismatched delete / delete [] in nsCategoryManager.cpp
...
r=dougt
2003-06-18 18:55:35 +00:00
bsmedberg%covad.net
a82cd52521
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
bryner%netscape.com
0e8aa09510
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
timeless%mozdev.org
45fde5c69a
Bug 204146 Undefined symbols during autoregistration should go to stdout
...
r=dougt
2003-06-17 18:19:40 +00:00
timeless%mozdev.org
f6516c3e12
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
seawood%netscape.com
97649bab86
Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev
2003-06-10 21:18:27 +00:00
dougt%meer.net
6ba4b45490
fixing bustage
2003-05-23 22:38:41 +00:00
dougt%meer.net
ad4efabeb5
removing dynamically allocated hashtable in xpcom where possible. r=alecf, b=204634
2003-05-23 22:23:10 +00:00
timeless%mozdev.org
46bd47de9e
Bug 206287 things Will be re-ordered to match declaration order
...
r=roc+moz sr=roc+moz a=roc+moz
2003-05-20 02:02:56 +00:00
dougt%meer.net
78d341b0c4
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
2003-05-16 13:24:55 +00:00
dougt%meer.net
3c693caabd
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
dougt%meer.net
be2a8f6235
Backing out dependent library loading on windows. Fixes 204676.
2003-05-07 18:39:47 +00:00
dougt%meer.net
55d29a7c7b
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
2003-05-05 06:06:57 +00:00
dougt%meer.net
9fa187d6ab
Adding a dependent_libs cache. b=193442, r=darin, a=seth
2003-05-03 00:54:20 +00:00
dougt%meer.net
61f22d315f
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.
2003-05-01 23:28:38 +00:00
dougt%netscape.com
899eaaa107
bug 201711. We were not uninstalling the component. r=darin
2003-04-18 00:46:34 +00:00
dougt%netscape.com
9a96f1f937
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
dougt%netscape.com
51d7281d32
Removing obsolete files r=dougt
2003-04-08 20:40:05 +00:00
dougt%netscape.com
ef09d77cea
removing removed NS_DEF_FACTORY and nsXPComFactory.h. r=alecf b=200750
2003-04-08 20:37:02 +00:00
dougt%netscape.com
d2fa1050d2
removing status and registry locations from xcdll. These two members are not being used. r=alecf. b=200722
2003-04-08 20:29:43 +00:00
dbradley%netscape.com
41c00fb6af
Fix for alecf's const bustage at line 1548
2003-04-04 16:39:31 +00:00
alecf%netscape.com
6c75920da1
fix for bug 195298 - pldhash ops tables should be const.. r=dougt, sr=sfraser
2003-04-04 15:10:37 +00:00
dougt%netscape.com
59e5eb0421
Removing dead code. b=198023, r=darin, sr=dbaron
2003-03-18 20:34:19 +00:00
dougt%netscape.com
0d2808c511
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
alecf%netscape.com
8e11ceab33
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
dougt%netscape.com
2ccd3b4f03
Adding debug support to detect reentrant create instance patterns, r+sr=alecf@netscape.com, b=194568
2003-03-12 03:58:33 +00:00
dougt%netscape.com
a4c7c7573f
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
cls%seawood.org
d1079607df
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
2003-03-07 06:07:56 +00:00