Arpad Borsos
4fc5b38c9d
Bug 474369 - get rid of nsVoidArray, xpcom part; r=bsmedberg
2009-04-03 18:43:08 +02:00
Neil Rashbrook
56f8f9628c
Bug 484309 Switch component manager logging over to NS_Free c.f. bug 331165 r+sr=bsmedberg
2009-04-01 17:08:03 +01:00
Neil Rashbrook
a3cb4f1f32
Fix allocator abuses: bug 331165 r+sr=bsmedberg; bug 484309 r+sr=bsmedberg; bug 484312 r+sr=biesi
2009-03-25 13:19:08 +00:00
Benjamin Smedberg
7029b163e2
Bug 463289 - nsNativeModuleLoader doesn't protect its internal data structures, and is accessed on multiple threads (symptom is RECURSION_LEVEL assertions in pldhash.c). This patch is the simple-but-slow path: proxy all non-main-thread requests to the main thread. This is probably sufficient because asking for modules is a relatively rare activity: the component manager caches the factory objects after a lookup, r=brendan
...
--HG--
extra : rebase_source : 3118096536b6271886d5c35a3486bb278dc0fd86
2008-11-26 14:39:36 -05:00
Sergey Yanovich
40952ed115
Bug 462497. Don't reacquire a monitor in nsComponentManagerImpl::HashContractID that we already hold. r=bsmedberg
...
--HG--
extra : rebase_source : 5a024be37b8d28025f24b207d9622c1b597daea0
2009-01-08 21:41:55 +13:00
timeless@mozdev.org
65a8d44305
Bug 470595 - crash [@ strlen - nsComponentManagerImpl::IsContractIDRegistered], r=bsmedberg
2009-01-07 20:42:15 -08:00
Taras Glek
c145993f88
Bug 470859: speed things up by getting rid of dead nsID callsites r=bsmedberg
2009-01-05 14:48:25 -08:00
Peter Van der Beken
d30dca0b1b
Fix for bug 457897 (Remove QI on 'this' object when calling from JS to C++). Patch by jorendorff and me, r/sr=jst.
2008-11-03 11:31:47 +01:00
Arpad Borsos
c72ef7d248
Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan
2008-10-10 17:04:34 +02:00
Daniel Holbert
5492039225
Bug 458167 - (comments-only changes) Grammar Nazi Vol1: s/it's/its/ for the posessive version of the word, and a few other misc comment-typos, in these directories: accessible browser config profile rdf toolkit tools xpcom xpfe
2008-10-01 23:49:45 -07:00
Ben Turner
9ecb398b01
Bug 449822 - "Service manager can create two instances of a service". r=bsmedberg.
2008-09-04 15:44:41 -07:00
Uli Link
0296770901
Bug 445951 - missing keyword 'public' in xpcom/glue/nsAutoLock.h, r=bsmedberg
2008-08-18 20:39:19 +02:00
Jesse Ruderman
a1dd1f31eb
Fix spelling error in a log message (bug 443520).
2008-07-05 18:09:24 -07:00
Sudheer Kumar Peddireddy
e620026ed6
Increase the initial sizes of hash tables that are guaranteed to grow. b=432633 r=dbaron
2008-06-03 15:25:31 -07:00
brade@comcast.net
a9022666e1
Bug #416886 ; r=bsmedberg, a=beltzner Preserve original order when processing deferred components. Add TestRegistrationOrder automated test.
2008-03-31 07:40:10 -07:00
benjamin@smedbergs.us
1141ded71b
Back out bug 412320 and various followups because the perf impact was minimal and the code is more complicated
2008-02-21 12:39:20 -08:00
benjamin@smedbergs.us
86efff4ec1
Bug 416886 - Find module loaders which are part of the static component list early, and process components which end up in the leftovers list in forwards instead of reverse order. This means that JS component in extensions can correctly override JS components in the core app. r=dougt a=schrep
2008-02-21 08:23:06 -08:00
benjamin@smedbergs.us
adac3963d9
Bug 412320 - Try code-generation for QI impls, r=roc+luser
2008-01-25 09:14:48 -08:00
bugzilla@standard8.plus.com
c76cefc88d
Bug 410326 do_CreateInstanceFromCategory is no longer used. r/sr=benjamin,a1.9=dsicore
2008-01-04 10:08:34 -08:00
dbaron@dbaron.org
e1b4390a58
Remove nsTraceRefcnt::LoadLibrarySymbols, which is no longer needed due to the error handling in SymGetModuleInfoEspecial. b=391793 r+a=bsmedberg
2007-08-13 12:36:57 -07:00
jwalden@mit.edu
6d7584839a
Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros.
2007-07-08 00:08:04 -07:00
philringnalda@gmail.com
f3f6213b5f
Bug 374754 - nsCategoryManager::AddCategoryEntry should notify about removal of the previous value, patch by Wladimir Palant <trev.moz@adblockplus.org>, r+sr=darin
2007-06-10 23:10:27 -07:00
joshmoz@gmail.com
066729b99b
fix some gcc 4 warnings in xpcom. patch by Christian Haberstroh. b=382753 r=bent sr=bsmedberg
2007-06-04 08:44:43 -07:00
bent.mozilla@gmail.com
2c4edbd812
Bug 37795 - "Move nsCategoryCache to the XPCOM Glue". nsCategoryCache was initially created as part of Bug 315598 by Christian Biesinger <cbiesinger@gmx.at>. r=bsmedberg.
2007-04-26 06:53:48 -07:00
dbaron@dbaron.org
d98d9fdec5
Remove unused getKey callback from PLDHashTableOps/JSDHashTableOps. b=374906 r=bsmedberg
2007-03-27 08:33:38 -07:00
hg@mozilla.com
05e5d33a57
Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT,
2007-03-22 10:30:00 -07:00
joshmoz%gmail.com
e8b317b9f3
Since some platforms do string operations within local file ::Load, we shouldn't declare that objects being created/destroyed from static ctor/dtor is not legal throughout the entire ::Load function. That only needs to be true around the actual PR_LoadLibrary calls. Fixing this stops the ridiculous amount of warning output that we get from every debug mac build. Also removing unused old mac local file impls. b=326837 r=bsmedberg
2006-11-14 22:06:00 +00:00
dbaron%dbaron.org
3c8ac979e5
Revert previous change since nsRegistry still uses it. b=359512
2006-11-04 17:06:32 +00:00
dbaron%dbaron.org
bfc25c8481
Remove unneded NS_COM. b=358953 r=bsmedberg
2006-11-03 23:04:15 +00:00
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