dbaron%dbaron.org
d7487e5e64
Remove nsTraceRefcnt::LoadLibrarySymbols, which is no longer needed due to the error handling in SymGetModuleInfoEspecial. b=391793 r+a=bsmedberg
...
git-svn-id: svn://10.0.0.236/trunk@231969 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-13 19:36:57 +00:00
jwalden%mit.edu
dda6ff3c99
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.
...
git-svn-id: svn://10.0.0.236/trunk@229504 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-08 07:08:56 +00:00
philringnalda%gmail.com
b3d90c5ada
Bug 374754 - nsCategoryManager::AddCategoryEntry should notify about removal of the previous value, patch by Wladimir Palant <trev.moz@adblockplus.org>, r+sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@227805 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-11 06:11:01 +00:00
joshmoz%gmail.com
b9f5f419a0
fix some gcc 4 warnings in xpcom. patch by Christian Haberstroh. b=382753 r=bent sr=bsmedberg
...
git-svn-id: svn://10.0.0.236/trunk@227468 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-04 15:44:43 +00:00
bent.mozilla%gmail.com
84bf540501
Bug 377995 - "Move nsCategoryCache to the XPCOM Glue". nsCategoryCache was initially created as part of Bug 315598 by Christian Biesinger <cbiesinger@gmx.at>. r=bsmedberg.
...
git-svn-id: svn://10.0.0.236/trunk@225089 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-26 13:53:48 +00:00
dbaron%dbaron.org
30f83072c5
Remove unused getKey callback from PLDHashTableOps/JSDHashTableOps. b=374906 r=bsmedberg
...
git-svn-id: svn://10.0.0.236/trunk@222462 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-27 15:33:45 +00:00
joshmoz%gmail.com
a124bbcf35
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
...
git-svn-id: svn://10.0.0.236/trunk@215283 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-14 22:06:00 +00:00
dbaron%dbaron.org
9726bb648a
Revert previous change since nsRegistry still uses it. b=359512
...
git-svn-id: svn://10.0.0.236/trunk@214717 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-04 17:06:32 +00:00
dbaron%dbaron.org
a45121c6db
Remove unneded NS_COM. b=358953 r=bsmedberg
...
git-svn-id: svn://10.0.0.236/trunk@214671 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-03 23:04:15 +00:00
timeless%mozdev.org
b3b9a205df
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.
git-svn-id: svn://10.0.0.236/trunk@203727 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-26 16:00:16 +00:00
darin%meer.net
42edf059cf
landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb
...
git-svn-id: svn://10.0.0.236/trunk@196254 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-10 17:30:15 +00:00
cls%seawood.org
d90609ce1c
Wrap FORCE_PR_LOG with MOZ_LOGGING ifdef so that --disable-logging works.
...
Bug #243870 r=biesi
git-svn-id: svn://10.0.0.236/trunk@194324 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-13 17:03:18 +00:00
martijn.martijn%gmail.com
aecac674dd
Bug 333307 - signature is wrong for nsComponentManagerImpl::RegisterComponent and nullchecks are improperly handled. Patch by Nickolay Ponomarev, r=timeless, sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@194008 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-10 17:09:48 +00:00
bryner%brianryner.com
7ec5e10667
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.
...
git-svn-id: svn://10.0.0.236/trunk@192401 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-15 04:59:42 +00:00
darin%meer.net
2e0a1b5e80
fixes bug 329450 "EnumerateCategory enumerates deleted entries" patch by chpe@gnome.org, r+sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@191923 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-07 20:48:44 +00:00
cbiesinger%web.de
511bcaf4c3
Bug 315598 Allow more than one global redirect observer, using the
...
"net-channel-event-sinks" category.
r=darin sr=bz
git-svn-id: svn://10.0.0.236/trunk@190822 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-22 14:07:21 +00:00
cbiesinger%web.de
60202fa246
bug 316416 patch by neil@parkwaycc.co.uk r=bryner
...
make activity legal even if a load fails
git-svn-id: svn://10.0.0.236/trunk@189950 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-14 14:45:32 +00:00
bsmedberg%covad.net
6a8d8dac46
Bug 321673 - Make component loader logging more useful and dump to stderr in debug builds, r=darin
...
git-svn-id: svn://10.0.0.236/trunk@187754 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-18 15:55:10 +00:00
darin%meer.net
7dfc5e768c
fixes bug 243429 "XPCOM_BREAK_ON_LOAD no longer works" patch by makotoy@ms.u-tokyo.ac.jp, r+sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@187452 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-12 01:19:05 +00:00
bsmedberg%covad.net
cb61fd440c
Bug 320324 - Static modules released too late, assertions in GenerateJavaInterfaces, r=darin
...
git-svn-id: svn://10.0.0.236/trunk@186363 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-21 13:50:13 +00:00
bsmedberg%covad.net
c61430e6e9
Bug 320542 (BeOS bustage from 316416) - add extra #include
...
git-svn-id: svn://10.0.0.236/trunk@186166 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-16 16:47:27 +00:00
bsmedberg%covad.net
117197e182
Re-landing bug 316416 with biesi's uninitialized-rv catch and with the windows nsIFile hashing cached (bug 316732)
...
git-svn-id: svn://10.0.0.236/trunk@185996 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-13 17:55:43 +00:00
bsmedberg%covad.net
9c52a8d23a
Reverting bug 316416 due to Ts regression and mysterious monkey orange :-(
...
git-svn-id: svn://10.0.0.236/trunk@185645 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-03 15:27:17 +00:00
bsmedberg%covad.net
2eb4dac2a7
Go back to not-unloading component DLLs because of balsa orange :-(
...
git-svn-id: svn://10.0.0.236/trunk@185598 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-02 20:27:52 +00:00
bsmedberg%covad.net
314dbb16bb
Fix a logic error caught by the MSVC compiler and an initializer error, bug 316416
...
git-svn-id: svn://10.0.0.236/trunk@185579 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-02 17:38:18 +00:00
bsmedberg%covad.net
dc84be3e28
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
...
git-svn-id: svn://10.0.0.236/trunk@185574 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-02 16:34:42 +00:00
timeless%mozdev.org
dae7b0629a
Bug 106386 Correct misspellings in source code
...
patch by unknown@simplemachines.org r=timeless rs=brendan
git-svn-id: svn://10.0.0.236/trunk@185282 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-25 21:57:13 +00:00
timeless%mozdev.org
8a213cf6db
Bug 106386 Correct misspellings in source code
...
patch by unknown@simplemachines.org r=timeless rs=brendan
git-svn-id: svn://10.0.0.236/trunk@185276 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-25 19:48:04 +00:00
bsmedberg%covad.net
5ecf8d2231
Bug 316558 - Stop implementing a few old nsIComponentManagerObsolete methods, r=darin
...
git-svn-id: svn://10.0.0.236/trunk@184708 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-15 20:15:05 +00:00
bsmedberg%covad.net
0217e2f9a9
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
...
git-svn-id: svn://10.0.0.236/trunk@184456 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-11 14:36:26 +00:00
bsmedberg%covad.net
112c33275c
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.
...
git-svn-id: svn://10.0.0.236/trunk@184304 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-08 18:17:49 +00:00
bsmedberg%covad.net
873535eb66
Bustage fix, bug 312000
...
git-svn-id: svn://10.0.0.236/trunk@182099 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-12 18:20:44 +00:00
bsmedberg%covad.net
ce36b7427e
Bug 312000 - XPCOM impl of nsICategoryManager doesn't obey the IDL comments, r=darin
...
git-svn-id: svn://10.0.0.236/trunk@182097 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-12 18:01:03 +00:00
darin%meer.net
77b3789625
fixes bug 246085 "fire category manager notifications on the main thread only" patch by chpe@gnome.org, r=dougt, sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@180573 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-19 17:13:32 +00:00
dougt%meer.net
894a77ccc4
Make XPCOM broadcast any LoadLibrary Load() error failures. b=308716 r=bsmedberg
...
git-svn-id: svn://10.0.0.236/trunk@180308 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-15 19:53:01 +00:00
bsmedberg%covad.net
56640297a6
From bug 296561 (see bug 302099) - remove old static-build remnants that are no longer used r=darin
...
git-svn-id: svn://10.0.0.236/trunk@179223 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-29 19:24:20 +00:00
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