Commit Graph
128 Commits
Author SHA1 Message Date
Benjamin Smedberg 58726f8041 Fix non-debug bustage in nsNativeComponentLoader, this variable should not be debug-only. 2010-06-22 16:22:17 -04:00
Benjamin Smedberg 2ebeafd362 Merge mozilla-central into the "branch" for but 568691. The omnijar XPT/component/chrome registration was removed during this merge, and will be re-added to the component manager shortly. 2010-06-21 11:41:42 -04:00
Benjamin Smedberg 0e824d90bb Bug 568691 part A - register static and binary components using data tables rather than programmatic nsIComponentRegistrar methods. This part contains the important needs-review bits of the change: part B contains the mechanical changes to each module in order to actually get a working build. Part C will contain changes necessary to register JS components from .manifest files 2010-06-10 14:11:11 -04:00
Michael Wu e1047fa362 Bug 552121 - Load js modules and components from the omnijar [7/7], r=bsmedberg 2010-06-15 12:38:46 -07:00
Daniel Holbert f191f9f83d Bug 560393, part 2: (xpcom directory) Fix compile warning: format $f expects type $t1, but argument 2 has type $t2. r=bsmedberg 2010-05-17 16:36:31 -07:00
Benjamin Smedberg 77bb95e13d 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 2008-11-26 14:39:36 -05:00
7b34ae7602 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
db8d572868 Bug 412320 - Try code-generation for QI impls, r=roc+luser 2008-01-25 09:14:48 -08:00
509219301a 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
[email protected] 1e97d4c2ce 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
[email protected] 92c6262044 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
[email protected] d980304e94 bug 316416 patch by [email protected] r=bryner
make activity legal even if a load fails
2006-02-14 14:45:32 +00:00
[email protected] 4a0bb05f81 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
[email protected] e97a1cc71b fixes bug 243429 "XPCOM_BREAK_ON_LOAD no longer works" patch by [email protected], r+sr=darin 2006-01-12 01:19:05 +00:00
[email protected] 8e60d2c8d4 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
[email protected] 6bad7c90d3 Reverting bug 316416 due to Ts regression and mysterious monkey orange :-( 2005-12-03 15:27:17 +00:00
[email protected] 5952de8d80 Go back to not-unloading component DLLs because of balsa orange :-( 2005-12-02 20:27:52 +00:00
[email protected] 559f79c645 Fix a logic error caught by the MSVC compiler and an initializer error, bug 316416 2005-12-02 17:38:18 +00:00
[email protected] 489c776123 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
[email protected] 21af79fe88 Bug 106386 Correct misspellings in source code
patch by [email protected] r=timeless rs=brendan
2005-11-25 21:57:13 +00:00
[email protected] 3bc8a1937c Bug 106386 Correct misspellings in source code
patch by [email protected] r=timeless rs=brendan
2005-11-25 19:48:04 +00:00
[email protected] 80b2105bff Make XPCOM broadcast any LoadLibrary Load() error failures. b=308716 r=bsmedberg 2005-09-15 19:53:01 +00:00
[email protected] 4aa5f42881 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
[email protected] c5af544403 Make printfs easier to understand. b=261310 r=darin 2004-10-02 00:43:21 +00:00
[email protected] d9edea9d71 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin 2004-06-17 00:13:25 +00:00
[email protected] 8c99cc3e58 243870: Suppress output to stdout in non-debug builds. r=cls sr=shaver 2004-05-27 20:54:46 +00:00
[email protected] c0cd46fc51 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
[email protected] 3736b6e206 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
[email protected] 1ffa7062d9 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
[email protected] af957888be 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
[email protected] 3d985d5593 Bug 213549 regxpcom thinks SelfRegisterDll FAILED = successful registration.
r=dougt
2003-08-03 09:59:05 +00:00
[email protected] de6e481b1f Bug 210337 - Spring cleaning of unused XPCOM code and callers r/sr=alecf/bz 2003-06-23 20:31:43 +00:00
[email protected] aad64454cd Bug 204146 Undefined symbols during autoregistration should go to stdout
r=dougt
2003-06-17 18:19:40 +00:00
[email protected] d19ec7d806 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
[email protected] 582ebf712d removing dynamically allocated hashtable in xpcom where possible. r=alecf, b=204634 2003-05-23 22:23:10 +00:00
[email protected] 57eef7e6f7 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
[email protected] d00b955096 Adding a dependent_libs cache. b=193442, r=darin, a=seth 2003-05-03 00:54:20 +00:00
[email protected] 691c628a6b 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
[email protected] 7a1a0e1a7f 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
[email protected] 6a0e2d5228 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 [email protected] 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. 2003-03-05 03:22:12 +00:00
[email protected] d0bca9a770 Backout of 193442/191415. a=brade,dougt 2003-03-03 21:00:07 +00:00
[email protected] 6f1eaa830d 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 [email protected] 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. 2003-02-28 21:30:35 +00:00
[email protected] 8c37890522 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2003-01-08 23:19:20 +00:00
[email protected] 5982946c03 Autoreg is posting a failure for regxpcom of xpcom component. [email protected], [email protected], b=180821 2002-11-21 02:36:50 +00:00
[email protected] 46ce738546 166917. Clean up xpcom SDK includes. [email protected], [email protected], [email protected] 2002-09-07 17:13:19 +00:00
[email protected] 013fcc43be Fixes 48888 - xpcom flat file backend. [email protected] [email protected] 2002-06-14 21:33:05 +00:00
[email protected] 555ffb8f03 synchronizing component registration output with xpcom shutdown. b=138667 r=jband sr=shaver 2002-05-11 21:15:06 +00:00
[email protected] 09c17695e3 fixes bug 142870 "nsIFile should use UCS-2 instead of UTF-8"
r=dougt sr=alecf
2002-05-07 23:07:19 +00:00
[email protected] cdd08719da fixes bug 129279 "nsIFile unicode/utf8/ascii task"
r=dougt sr=alecf
2002-04-27 05:33:09 +00:00
[email protected] 97bd00fdc6 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. [email protected], [email protected] 2002-04-15 22:36:59 +00:00