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
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
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
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
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
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
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
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
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
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
bryner%brianryner.com
c81aa21722
Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan.
...
git-svn-id: svn://10.0.0.236/trunk@146626 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-08 00:31:50 +00:00
dougt%meer.net
6dfc67684a
Fix for 205023. Adds nsTraceRefcnt stubs that access a global to allow tracing refcnt to work with the GRE/xpcom glue builds. r=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@145587 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-05 05:29:10 +00:00
timeless%mozdev.org
e29d6e9e30
Bug 213549 regxpcom thinks SelfRegisterDll FAILED = successful registration.
...
r=dougt
git-svn-id: svn://10.0.0.236/trunk@145513 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-03 09:59:05 +00:00
bsmedberg%covad.net
03384bfad0
Bug 210337 - Spring cleaning of unused XPCOM code and callers r/sr=alecf/bz
...
git-svn-id: svn://10.0.0.236/trunk@144063 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-23 20:31:43 +00:00
timeless%mozdev.org
6fef9261cd
Bug 204146 Undefined symbols during autoregistration should go to stdout
...
r=dougt
git-svn-id: svn://10.0.0.236/trunk@143808 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-17 18:19:40 +00:00
timeless%mozdev.org
5a16dcbfd7
Bug 204146 Undefined symbols during autoregistration should go to stdout
...
Change output for NSPR_LOG_MODULES=nsComponentManager:1 .. 4 to be useful
r=dougt
git-svn-id: svn://10.0.0.236/trunk@143805 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-17 17:50:00 +00:00
dougt%meer.net
219c826785
removing dynamically allocated hashtable in xpcom where possible. r=alecf, b=204634
...
git-svn-id: svn://10.0.0.236/trunk@142864 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-23 22:23:10 +00:00
timeless%mozdev.org
73b4b6518b
Bug 206287 things Will be re-ordered to match declaration order
...
r=roc+moz sr=roc+moz a=roc+moz
git-svn-id: svn://10.0.0.236/trunk@142636 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-20 02:02:56 +00:00
dougt%meer.net
a407117851
Adding a dependent_libs cache. b=193442, r=darin, a=seth
...
git-svn-id: svn://10.0.0.236/trunk@142087 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-03 00:54:20 +00:00
dougt%netscape.com
89089054dc
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
...
git-svn-id: svn://10.0.0.236/trunk@141128 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-14 20:50:14 +00:00
dougt%netscape.com
4153606096
removing status and registry locations from xcdll. These two members are not being used. r=alecf. b=200722
...
git-svn-id: svn://10.0.0.236/trunk@140851 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-08 20:29:43 +00:00
dougt%netscape.com
265d430432
relanding. Add experimental support to the native component loader so that native components can declare what libraries it depends on. (193442)Fixed a bug where we didn't check return from GetLastModification in nsDll::HasChanged. Thank you ajschult@eos.ncsu.edu for pointing out the problem and suggesting a fix. Converted a linear search of compreg entries to be a hash lookup. Also cleaned up the xcdll class. Reviewers= Alec, Darin.
...
git-svn-id: svn://10.0.0.236/trunk@138914 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-05 03:22:12 +00:00
tor%cs.brown.edu
c4dd047dc5
Backout of 193442/191415. a=brade,dougt
...
git-svn-id: svn://10.0.0.236/trunk@138808 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-03 21:00:07 +00:00
dougt%netscape.com
555ccf142c
Add experimental support to the native component loader so that native components can declare what libraries it depends on. (193442) Storing the GRE location in a relative way so that we can change GRE versions between launches assuming that they are compatible (191415). Fixed a bug where we didn't check return from GetLastModification in nsDll::HasChanged. Thank you ajschult@eos.ncsu.edu for pointing out the problem and suggesting a fix. Converted a linear search of compreg entries to be a hash lookup. Also cleaned up the xcdll class. Reviewers= Alec, Darin.
...
git-svn-id: svn://10.0.0.236/trunk@138725 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-28 21:30:35 +00:00
dbaron%dbaron.org
6ed727cbe8
Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
...
git-svn-id: svn://10.0.0.236/trunk@136028 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 23:19:20 +00:00
dougt%netscape.com
c278ddc80d
Autoreg is posting a failure for regxpcom of xpcom component. sr=alecf@netscape.com, r=dveditz@netscape.com, b=180821
...
git-svn-id: svn://10.0.0.236/trunk@134237 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-21 02:36:50 +00:00
dougt%netscape.com
e289284076
166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
...
git-svn-id: svn://10.0.0.236/trunk@129050 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 17:13:19 +00:00
dougt%netscape.com
dffd6e4f8a
Fixes 48888 - xpcom flat file backend. r=dp@netscape.com sr=waterson@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@123350 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-14 21:33:05 +00:00
dougt%netscape.com
12a170e07e
synchronizing component registration output with xpcom shutdown. b=138667 r=jband sr=shaver
...
git-svn-id: svn://10.0.0.236/trunk@121337 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-11 21:15:06 +00:00
darin%netscape.com
24feadaaed
fixes bug 142870 "nsIFile should use UCS-2 instead of UTF-8"
...
r=dougt sr=alecf
git-svn-id: svn://10.0.0.236/trunk@121010 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 23:07:19 +00:00
darin%netscape.com
824def02af
fixes bug 129279 "nsIFile unicode/utf8/ascii task"
...
r=dougt sr=alecf
git-svn-id: svn://10.0.0.236/trunk@120092 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 05:33:09 +00:00
dougt%netscape.com
ae02918975
Addresses some native component loader thread issues. Makes use of the threadsafe version of nsISupports. Adds comments to IDL it indicate that AutoRegister can only be called from the main thread. See 98755 for details. r=jband@netscape.com, sr=waterson@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@119002 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 22:36:59 +00:00
dougt%netscape.com
6ed0398082
Disables NSGetFactory support from XPCOM. sr=shaver@mozilla.org, r=dp@netscape.com, a=shaver@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@115532 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-01 00:06:35 +00:00
dougt%netscape.com
011f9b10e5
1. Converts callers of nsIComponentManagerObsolete to use
...
nsIComponentRegistrar.
2. Converts callers of nsComponentManager::AutoRegister to use
nsIComponentRegistrar's autoRegistrar method.
3. Add nsIComponentRegistrar implmentation to nsComponentManagerImpl.
4. Rearrange nsComponentManager.cpp so that related methods are in the same
place.
5. Added a C-style function NS_GetComponentRegistrar so that getting the
registrar is easier in some places.
6. Added a nsISimpleEnumerator interface on PLDHashTableEnumeratorImpl. in
this way, the same base class can support both old style and new style
enumerations.
7. Fixed a nasty bug where unregistring factories will leave the contract id
hash with a dangling pointer. Now, when unregister is called we search the
contract id hash for entries which have the given doomned cid and remove them.
Bug 115853. r=dp@netscape.com , sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@113143 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-29 21:22:13 +00:00
ccarlen%netscape.com
021c9dac7f
Bug 100828 - nsLocalFileMac reworking. r=rjc@netscape.com/sr=sfraser@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@111488 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-07 14:35:04 +00:00
dougt%netscape.com
c01e94cad7
nsIComponentManager API Changes (bug 98553)
...
a) create a new nsIComponentManager with only four functions on it:
CreateInstance CreateInstanceByContractID GetClassInfo GetClassInfoByContractID.
b) rename the old nsIComponentManager to nsIComponentManagerObsolete.
c) fixes callers which use to access the nsIComponentManager for component
registration functionality. These callers will temporary use the
nsIComponentManagerObsolete interface.
d) Create a new API NS_GetComponentManager() which mirrors the
NS_GetServiceManager()
e) Perserves the old NS_GetGlobalComponentManager(). Note the cast usage.
r/sr = rpotts@netscape.com alecf@netscape.com brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@110748 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-19 00:12:41 +00:00
dp%netscape.com
a080db14dd
Removing timeline marks. These dont provide much information
...
git-svn-id: svn://10.0.0.236/trunk@108962 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-27 01:55:55 +00:00
bzbarsky%mit.edu
068756d821
Use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2 where possible
...
(i.e. where the string is a literal). Bug 104159, r=jag, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@107987 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 01:33:42 +00:00
seawood%netscape.com
4551221bef
Landing the rest of the mach-o OSX changes.
...
Bug #75653 r=cls sr=waterson
git-svn-id: svn://10.0.0.236/trunk@106461 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-27 07:38:18 +00:00
jaggernaut%netscape.com
238eb280fb
Bug 53057: [API] turn off implicit |CharT*| conversion operators for nsCString, rr=dbaron, rs=scc
...
git-svn-id: svn://10.0.0.236/trunk@106157 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 09:06:49 +00:00
dougt%netscape.com
fa2d0b7e98
99163 - removing nsObserverService.h includes. Also fixing 106090, extra methods on nsObserverService. r=shaver@mozilla.org, sr=jband@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@105973 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 22:01:27 +00:00