timeless%mozdev.org
bf613adffe
Bug 345903 Crash in [@ nsComponentManagerImpl::GetService] with broken JS component
...
r=dougt
ComponentManager talks to factories when it's asked to create components or get services. The factories are expected to return success when they provide an object or return a failure code and provide a null pointer.
Unfortunately, it's trivially easy for someone writing a js xpcom component to mess up their factory such that they return success without providing an object.
In this case we will now throw NS_ERROR_SERVICE_NOT_FOUND. I've picked this because we did not find a factory capable of properly servicing our request :) -- and because there's no better result available :(.
This branch eventually deserves PR_LOGGING so that people could see it even if they didn't build debug (but did somehow get prlogging), but that's left for a future patch.
2006-07-26 16:00:16 +00:00
darin%meer.net
0318b8c707
landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb
2006-05-10 17:30:15 +00:00
cls%seawood.org
876c2abe77
Wrap FORCE_PR_LOG with MOZ_LOGGING ifdef so that --disable-logging works.
...
Bug #243870 r=biesi
2006-04-13 17:03:18 +00:00
martijn.martijn%gmail.com
55133c4744
Bug 333307 - signature is wrong for nsComponentManagerImpl::RegisterComponent and nullchecks are improperly handled. Patch by Nickolay Ponomarev, r=timeless, sr=darin
2006-04-10 17:09:48 +00:00
bryner%brianryner.com
4cd1e2b280
Remove dependency on nsIClassInfo.h from nsISupports.h (bug 330420). This adds a new nsIClassInfoImpl.h file which can be included to get the CI implementation macros. Also, removes unneeded inclusion of nsIProgrammingLanguage.h from nsIClassInfo.h. r=darin.
2006-03-15 04:59:42 +00:00
darin%meer.net
2de84e29a4
fixes bug 329450 "EnumerateCategory enumerates deleted entries" patch by chpe@gnome.org, r+sr=darin
2006-03-07 20:48:44 +00:00
cbiesinger%web.de
9ca6a7aab1
Bug 315598 Allow more than one global redirect observer, using the
...
"net-channel-event-sinks" category.
r=darin sr=bz
2006-02-22 14:07:21 +00:00
cbiesinger%web.de
8bf9e9afce
bug 316416 patch by neil@parkwaycc.co.uk r=bryner
...
make activity legal even if a load fails
2006-02-14 14:45:32 +00:00
bsmedberg%covad.net
b27abd6141
Bug 321673 - Make component loader logging more useful and dump to stderr in debug builds, r=darin
2006-01-18 15:55:10 +00:00
darin%meer.net
2389bd0f85
fixes bug 243429 "XPCOM_BREAK_ON_LOAD no longer works" patch by makotoy@ms.u-tokyo.ac.jp, r+sr=darin
2006-01-12 01:19:05 +00:00
bsmedberg%covad.net
9bf056b19d
Bug 320324 - Static modules released too late, assertions in GenerateJavaInterfaces, r=darin
2005-12-21 13:50:13 +00:00
bsmedberg%covad.net
ec7f37f056
Bug 320542 (BeOS bustage from 316416) - add extra #include
2005-12-16 16:47:27 +00:00
bsmedberg%covad.net
75f0b3fd3c
Re-landing bug 316416 with biesi's uninitialized-rv catch and with the windows nsIFile hashing cached (bug 316732)
2005-12-13 17:55:43 +00:00
bsmedberg%covad.net
d54d3d7b09
Reverting bug 316416 due to Ts regression and mysterious monkey orange :-(
2005-12-03 15:27:17 +00:00
bsmedberg%covad.net
448479d2a7
Go back to not-unloading component DLLs because of balsa orange :-(
2005-12-02 20:27:52 +00:00
bsmedberg%covad.net
0064770824
Fix a logic error caught by the MSVC compiler and an initializer error, bug 316416
2005-12-02 17:38:18 +00:00
bsmedberg%covad.net
28e3019754
Bug 316416 - Convert nsIComponentLoader into nsIModuleLoader, xpcom bits r=darin xpconnect bits r=shaver; and bug 318625 - Make a version of nsTArray.AppendElement that doesn't copy-construct, r=darin
2005-12-02 16:34:42 +00:00
timeless%mozdev.org
9b0852aaf7
Bug 106386 Correct misspellings in source code
...
patch by unknown@simplemachines.org r=timeless rs=brendan
2005-11-25 21:57:13 +00:00
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