Граф коммитов

1006 Коммитов

Автор SHA1 Сообщение Дата
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
darin%meer.net 950a78482d fixes bug 219400 "remove callers of nsServiceManager:: methods" r=bsmedberg 2004-11-07 23:59:35 +00:00
darin%meer.net 189ba5e5c4 eliminating uses of deprecated nsComponentManager:: methods (bug 267040), r=bsmedberg 2004-11-01 18:50:36 +00:00
dbaron%dbaron.org fabeac3176 Reduce code size of do_GetService by moving an nsCOMPtr and QueryInterface out of the part that's done inline. b=264456 r=darin 2004-10-15 17:44:30 +00:00
kjh-5727%comcast.net c52fe66842 Bug 258321 - copy + paste error in comment. Patch by Justin Wood (116057@bacon.qcc.mass.edu), comment change only. 2004-10-07 18:20:19 +00:00
dbaron%dbaron.org 338d2bb649 Add helper functions that make it easier to cache factories. b=261310 r=darin 2004-10-02 00:44:13 +00:00
dbaron%dbaron.org 0bfe106289 Make printfs easier to understand. b=261310 r=darin 2004-10-02 00:43:21 +00:00
bryner%brianryner.com c25cd050f3 Make static components support deferred registration to fix bug 254967. Follow-on to bug 123197. r=shaver, a=asa. 2004-08-11 21:14:51 +00:00
bryner%brianryner.com 23089547be Add a NS_FASTCALL macro that specifies regparm(3) and stdcall on gcc/x86 to improve performance (passing up to 3 arguments in registers instead of on the stack, and having the caller pop any stack arguments). Apply NS_FASTCALL to our most frequently called non-public methods and functions. Also add NS_CDECL to explicitly specify the default calling convention and make it part of NS_IMETHOD, since xptcall can't deal with NS_FASTCALL. Bug 249652, r=darin, sr=dbaron. 2004-07-14 22:14:34 +00:00
roc+%cs.cmu.edu 0f4150a4e5 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin 2004-06-17 00:13:25 +00:00
akkzilla%shallowsky.com 4bfbb02f86 243870: Suppress output to stdout in non-debug builds. r=cls sr=shaver 2004-05-27 20:54:46 +00:00
roc+%cs.cmu.edu 0e3ff503fb Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin 2004-05-22 22:15:22 +00:00
darin%meer.net 09b6471187 landing patch for bug 243169 "nsStaticComponent.h should be standalone friendly" patch by marco@gnome.org r=darin sr=dougt 2004-05-18 06:18:15 +00:00
darin%meer.net d38695483f landing patch for bug 243169 "nsStaticComponent.h should be standalone friendly" patch by marco@gnome.org r=darin sr=dougt 2004-05-18 05:39:45 +00:00
bzbarsky%mit.edu a59c28f736 Don't store "no such component" entries in the hashtable when a contractid
lookup fails.  Now that we preload the registry, that serves no purpose.  Bug
230776, patch by Malcolm Rowe <malcolm-bmo@farside.org.uk>, r=dougt, sr=alecf
2004-04-18 17:35:29 +00:00
gerv%gerv.net 31625ba2b1 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
scott%scott-macgregor.org 819efeac2a Back out the backout of Bug #235882. It looks like dbaron's leak fix actually fixed the regressions the component manager
changes caused for JS components.
2004-03-10 06:40:36 +00:00
scott%scott-macgregor.org 5ed82ec38c Backout Bug #235882. This broke the component manager's ability to load JS components leading to several regressions,
most noticeably: Bug #236952.
2004-03-10 06:11:10 +00:00
dbaron%dbaron.org d775fce404 Fix leak regression from timeless's checkin yesterday. b=235882 r=caillon sr=jst 2004-03-09 23:17:19 +00:00
timeless%mozdev.org 666079e2c3 Bug 235882 Make nsComponentManagerImpl::AddLoaderType return only one type of value
r=dougt
2004-03-09 07:09:52 +00:00
timeless%mozdev.org 014f0b61a7 Bug 235875 Replace NS_ERROR_SERVICE_NOT_FOUND
r=dougt
2004-02-29 08:04:46 +00:00
darin%meer.net 8d65e087ae landing string defragmentation patch for bug 231995, r/sr=dbaron,jst,dougt 2004-02-19 02:44:03 +00:00
jst%mozilla.jstenback.com 90431d8022 Fixing bug 232503. Start using Empty[C]String() to save a bit on code-size. r+sr=peterv@propagandism.org 2004-01-29 22:04:45 +00:00
bryner%brianryner.com a10a5e8383 Continuing removal of unneeded virtual destructors (bug 229875). r=dougt, sr=dbaron. 2004-01-22 01:01:19 +00:00
bryner%brianryner.com 0c7c3a2ff3 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
cbiesinger%web.de c4b48c036f remove unnecessary semicolon which breaks the build for some gcc versions.
no bug, rs=bsmedberg
2003-11-04 20:51:08 +00:00
darin%meer.net a9ab636750 fixes bug 224505 "slight static component loader cleanup" r=bsmedberg sr=dougt 2003-11-03 05:31:14 +00:00
darin%meer.net 6affba1504 backing out my last change. it wasn't right. see bug 223084 and bug 224505 for details. 2003-11-03 02:44:23 +00:00
darin%meer.net cc7db1de31 fixing static build orangeness, b=223084, r=timeless 2003-11-03 02:13:08 +00:00
bsmedberg%covad.net 5346dbdacf Followup on bug 223084, fix bustage of static builds. Pass a null nsIFile* to the static component loader during autoregistration. 2003-11-01 14:46:08 +00:00
bsmedberg%covad.net 2923bed5da Fix static build bustage from bug 223084 - r=bryner Sorry about that! 2003-10-31 20:50:22 +00:00
bsmedberg%covad.net b5a2a67987 Bug 223084 - enable the static component loader by default r/sr=dougt 2003-10-30 21:11:07 +00:00
bryner%brianryner.com 06c7c1b2b4 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
brendan%mozilla.org b7cdb7debb Add shared DHashTableOps for [const] char *key use-cases, clean up dhash API abusages (214839, r=dougt, sr=dbaron). 2003-08-05 20:09:21 +00:00
dougt%meer.net ed09f93043 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
timeless%mozdev.org b719e8300f Bug 213549 regxpcom thinks SelfRegisterDll FAILED = successful registration.
r=dougt
2003-08-03 09:59:05 +00:00
jaggernaut%netscape.com 2d7ed90a69 Bug 73353: clean up MODULE/REQUIRES story. r=cls, sr=bryner 2003-07-13 22:29:00 +00:00
dougt%meer.net a856820d8e Enables debug stackcrawl support in GRE builds. b=208098. r=dbaron. 2003-07-07 22:11:36 +00:00
seawood%netscape.com 8fdbbdff1d Make user-specific application directory name configurable using --with-user-appdir.
Thanks to Ben Bucksch <ben.bucksch@beonex.com> for the original patch.
Bug #58327 r=dougt
2003-07-01 18:32:49 +00:00
bsmedberg%covad.net 1a9cab373f Bug 210337 - Spring cleaning of unused XPCOM code and callers r/sr=alecf/bz 2003-06-23 20:31:43 +00:00
timeless%mozdev.org a72dfd67dd Bug 209681 improve XPCOM_CHECK_PENDING_CIDS: prevent some crashes, enable component manager to block components by contract
r=dougt
2003-06-18 23:03:08 +00:00
timeless%mozdev.org 60b80117e3 Bug 209808 Mismatched delete / delete [] in nsCategoryManager.cpp
r=dougt
2003-06-18 18:55:35 +00:00
bsmedberg%covad.net a82cd52521 Bug 193031 fix category manager to use aPersist parameter. Bug 54639 Category Manager is not thread-safe. Bug 208437 separate threadsafe nsBaseHashtable into super-class nsBaseHashtableMT. r=dougt/alecf I know Sun Workshop builds are still broken... working on it. 2003-06-18 11:26:27 +00:00
bryner%netscape.com 0e8aa09510 Fix a debug-only crash when requesting a non-existant contractid. Bug 209680, r=dougt, sr=alecf. 2003-06-17 21:12:11 +00:00
timeless%mozdev.org 45fde5c69a Bug 204146 Undefined symbols during autoregistration should go to stdout
r=dougt
2003-06-17 18:19:40 +00:00
timeless%mozdev.org f6516c3e12 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
seawood%netscape.com 97649bab86 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-10 21:18:27 +00:00
dougt%meer.net 6ba4b45490 fixing bustage 2003-05-23 22:38:41 +00:00
dougt%meer.net ad4efabeb5 removing dynamically allocated hashtable in xpcom where possible. r=alecf, b=204634 2003-05-23 22:23:10 +00:00
timeless%mozdev.org 46bd47de9e 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
dougt%meer.net 78d341b0c4 disabling unloading of dependent libraries on HPUX. On tihs and possibly other platforms there is no reference count on dso's. This means that when unload is called, the libraries is actually unloaded causing a crash. b=204804, r=blizzard 2003-05-16 13:24:55 +00:00
dougt%meer.net 3c693caabd Stacks nsFactoryEntry's so that we can support overloading factories a bit better. r=darin, a=blizzard, b=204870 2003-05-13 22:50:03 +00:00
dougt%meer.net be2a8f6235 Backing out dependent library loading on windows. Fixes 204676. 2003-05-07 18:39:47 +00:00
dougt%meer.net 55d29a7c7b Missed this checkin when I landed. It is required to prevent a hang. I am also disabling some DEBUG_dougt code. r=darin, a=seth, bug=193442 2003-05-05 06:06:57 +00:00
dougt%meer.net 9fa187d6ab Adding a dependent_libs cache. b=193442, r=darin, a=seth 2003-05-03 00:54:20 +00:00
dougt%meer.net 61f22d315f Fixing up the comment so that it doesn't include params which are not there. r=me. Thanks to Ellen Evans for pointing this out. 2003-05-01 23:28:38 +00:00
dougt%netscape.com 899eaaa107 bug 201711. We were not uninstalling the component. r=darin 2003-04-18 00:46:34 +00:00
dougt%netscape.com 9a96f1f937 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
dougt%netscape.com 51d7281d32 Removing obsolete files r=dougt 2003-04-08 20:40:05 +00:00
dougt%netscape.com ef09d77cea removing removed NS_DEF_FACTORY and nsXPComFactory.h. r=alecf b=200750 2003-04-08 20:37:02 +00:00
dougt%netscape.com d2fa1050d2 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
dbradley%netscape.com 41c00fb6af Fix for alecf's const bustage at line 1548 2003-04-04 16:39:31 +00:00
alecf%netscape.com 6c75920da1 fix for bug 195298 - pldhash ops tables should be const.. r=dougt, sr=sfraser 2003-04-04 15:10:37 +00:00
dougt%netscape.com 59e5eb0421 Removing dead code. b=198023, r=darin, sr=dbaron 2003-03-18 20:34:19 +00:00
dougt%netscape.com 0d2808c511 Create a new xpcom obsolete library (and component library).
Moved nsFileSpec and related classes into this obsolete library.
  Moved nsRegistry and related libreg functionality into the obsolete library.

Updated many callers using the obsolete nsFile spec to use nsIFile and Necko to do file IO.

Combined the following DLLs (source -> dest)
  uriloader -> docshell
  shistory -> docshell
  jsurl -> jsdom
  gkview -> gklayout

Moved nsAdapterEnumerator out of xpcom/ds and into mailnews, since they're the only consumer

Modifed the xpt_link tool so that you can specify a �only include� cid list that can mask CID�s that you are not interested in.

Added build options:
Prevent the building of xpinstall (--disable-xpinstall)
Prevent the building js component loader (--disable-jsloader)
A build option to only build a single profile (--enable-single-profile)
A build flag to only built the required xpfe components (--disable-xpfe-components).

Removal or hiding of unused functions and classes including nsEscape*, nsDequeIterator, nsRecyclingAllocatorImpl, nsDiscriminatedUnion, nsOpaqueKey, nsCRT::strlen, NS_NewCommandLineService

Bug 194240, r/sr = darin, alec.
2003-03-15 01:04:32 +00:00
alecf%netscape.com 8e11ceab33 fix for bug 196210, component manager is malloc-happy:
- use custom non-allocating CID formatter when writing out compreg.dat
- arena allocate category names and keys
- pass around string lengths so we don't keep calling strlen
r=dougt
2003-03-14 05:07:24 +00:00
dougt%netscape.com 2ccd3b4f03 Adding debug support to detect reentrant create instance patterns, r+sr=alecf@netscape.com, b=194568 2003-03-12 03:58:33 +00:00
dougt%netscape.com a4c7c7573f Converting the file location of the component registry and the xpti manifest file to use the directory service. r=darin, b=191055 2003-03-11 21:36:59 +00:00
cls%seawood.org d1079607df XP code changes required for mingw landing.
Add NS_STDCALL macros for functions that require stdcall declarations.
Add NS_STDCALL_FUNCPROTO macro for stdcall function prototype typedefs.
Bug #134113 r=dougt sr=dbaron
2003-03-07 06:07:56 +00:00
dougt%netscape.com 939bb1e75c 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. 2003-03-05 03:22:12 +00:00
dougt%netscape.com 25b0a81f34 not part of build, yet 2003-03-04 00:35:27 +00:00
tor%cs.brown.edu db50a85d91 Backout of 193442/191415. a=brade,dougt 2003-03-03 21:00:07 +00:00
brade%netscape.com 95f4289849 change ifdefs per cathleen, sfraser, bryner (bug 195654) 2003-03-03 19:06:31 +00:00
dougt%netscape.com 41a7079693 backing out last change - using linear list does not change the start up time. 2003-03-03 03:26:02 +00:00
dougt%netscape.com 2fbb3eb669 Reverting mAutoRegEntries hashtable change. I believe it was responsible for the bulk of the 200ms spike. b=195494. 2003-03-03 01:19:58 +00:00
dougt%netscape.com dccf8bcbee 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. 2003-02-28 21:30:35 +00:00
dougt%netscape.com 1953de132a xpcom is unable to always load .js component file. r=ssu, sr=alecf, a=rjesup, b=190560 build/nsXPComInit.cpp 2003-01-28 22:07:53 +00:00
dbaron%dbaron.org 8de25b9b7f Fix leak in AutoRegisterComponent. b=189811 r=dougt sr=bzbarsky a=asa 2003-01-28 01:42:56 +00:00
bryner%netscape.com 7bc3c2d0c1 remove unused xcDllStore (bug 187876). r=dougt, rs=brendan. 2003-01-13 06:08:00 +00:00
dbaron%dbaron.org b9083989bb 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
seawood%netscape.com 16e7da2837 nobrainer changes while thinking about mingw support
Bug #134113 r=dmose
2003-01-03 08:58:59 +00:00
seawood%netscape.com d5efcdfb6d Start installing GRE libraries & components into a separate dist/gre directory as part of the default build.
Bug #186241 r=dougt
2002-12-28 01:15:07 +00:00
dougt%netscape.com 19f33d7732 adding better comments to idl per newsgroup comment 2002-12-17 19:11:59 +00:00
dougt%netscape.com 9b6c970217 Fixes loss of category information when using regxpcom, r=darin, sr=alec, b=182771 2002-12-03 23:17:03 +00:00
sicking%bigfoot.com 8d87d5e285 Bug 8929: Kill NS_COMFALSE
r=peterv sr=bz
2002-11-25 11:21:22 +00:00
dougt%netscape.com 041c5805c3 Autoreg is posting a failure for regxpcom of xpcom component. sr=alecf@netscape.com, r=dveditz@netscape.com, b=180821 2002-11-21 02:36:50 +00:00
mkaply%us.ibm.com f08b4d097c #179508
r=cls, sr=alecf
Get OS/2 static build working again
2002-11-14 19:02:05 +00:00
alecf%netscape.com de2d41b288 fix for bug 173291 - use nsISimpleEnumerator for nsHashtableEnumerator, rather than nsIEnumerator
r=dougt, sr=jag
2002-11-13 22:40:10 +00:00
dougt%netscape.com 8b8ebdf639 fix to make unregistering a category work. r=rginda, sr=dveditz, b=177176 m a=robert@ocallahan.org 2002-10-30 00:57:40 +00:00
seawood%netscape.com 57e08a3f3a Define WIN32_LEAN_AND_MEAN globally for win32 builds.
Thanks to Stephen Walker <walk84@yahoo.com> for the patch.
Bug #172898 r=cls a=asa
2002-10-17 06:47:01 +00:00
timeless%mac.com 09fcb732df Bug 172131 FMM, Comments which suggest the wrong (De)Allocator, and Style
r=dougt sr=darin
2002-10-08 06:12:00 +00:00
timeless%mac.com 8562139c08 Bug 172416 Consistency for nsComponentManager.cpp
r=dbradley, sr=scc
2002-10-05 23:59:57 +00:00
dougt%netscape.com 1fc52e1325 170369 - autoload xpcom components. r=dveditz@netscape.com, sr=rpotts@netscape.com 2002-09-23 21:46:25 +00:00
dougt%netscape.com 91b877ae7e Freeze nsICategoryManager. b=154047 r=alecf@netscape.com, sr=rpotts@netscape.com 2002-09-14 17:14:02 +00:00
dougt%netscape.com 3c31766ec0 Moves nsIComponentRegistrar into the SDK. r=darin, sr=alecf, a=asa, b=167577 2002-09-09 21:35:25 +00:00
dougt%netscape.com 68faeb5241 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2002-09-07 17:13:19 +00:00
dougt%netscape.com f2a00efc93 Move FROZEN ContractID into nsXPCOM.h and define r=rpotts, sr=alec, b=166426 2002-09-03 23:36:13 +00:00
jkeiser%netscape.com 32844f7719 Make anonymous content inaccessible to web content (bug 164086), r=sicking@bigfoot.com, sr=jst@netscape.com 2002-08-29 04:05:39 +00:00
bbaetz%student.usyd.edu.au e1742b6500 Backing out jkeiser's checkin for bug 164086 (not bug 96537) because he
left a file out, and the tree turned red....
2002-08-28 10:13:28 +00:00
jkeiser%netscape.com 8aa6968431 Make anonymous content inaccessible to web content (bug 96537), r=sicking@bigfoot.com, sr=jst@netscape.com 2002-08-28 08:19:43 +00:00
alecf%netscape.com 94704f6773 fix for bug 164577 - make the nsManifestLineReader include lengths from ParseLine() so that consumers can avoid calling strlen() on them
(tiny startup perf fix for reading in xpti.dat)
r=dougt, sr=darin
2002-08-27 18:32:12 +00:00
alecf%netscape.com dc6d6e3736 bug 157624 - freeze nsISupportsPrimitives, which includes changing nsISupport[C]String over to using A[C]String and fixing consumers
r=dougt, sr=darin
2002-08-26 21:20:34 +00:00
dougt%netscape.com 4f8934ad1d Freezes the nsIProperties interface. 162114. r=ccarlen, sr=alecf. Freezes the mozIJSSubScriptLoader interface. 157136. r=rginda, sr=alec. 2002-08-26 20:36:44 +00:00
bryner%netscape.com fd98e0941c Missed one instance of <new.h> for bug 155852. r=cls. 2002-08-19 05:19:22 +00:00
seawood%netscape.com 67c2c5b3c0 Removing unused defines:
_IMPL_NS_BASE (bug #162142)
_IMPL_NS_GFXONXP (bug #162145)
_IMPL_NS_UI (bug #162183)
B_ONE_M (bug #162196)
XP_NEW_SELECTION (bug #162230)
r=cls
Thanks to Stephen Walker <walk84@yahoo.com> for the patches.
2002-08-12 13:35:18 +00:00
seawood%netscape.com 322da773fb Removing old nmake build makefiles. Bug #158528 r=pavlov 2002-08-10 07:55:43 +00:00
alecf%netscape.com f7ad4265ef bug 157624 - prep for freezing nsISupports* primitives by renaming the string classes appropriately
nsISupportsString  -> nsISupportsCString
nsISupportsWString -> nsISupportsString
r=dougt, sr=jag
2002-08-06 00:53:19 +00:00
bryner%netscape.com d0cfcc1da2 Remove obsolete NS_BASE and _IMPL_NS_BASE, and unused/obsolete source files nsStdFileStream.* (bug 160052). r=cls, sr=alecf, a=asa. 2002-07-30 21:30:05 +00:00
dougt%netscape.com 0868d2b66c compreg.tmp is written out on every startup. r=rjc, sr=alec, a=scc 2002-07-19 21:12:04 +00:00
dougt%netscape.com c2ec17237f Fixes the following:
154047
This change cleans up the category manager in hopes to freeze it for 1.1 final.  This change removes dead and unsupported methods from the interface as well as removes the C++ code from the interface.  This should land for 1.1b since users of the current category manager will have to update their components.

157597
Make embedding base and examples use XPCOM Glue
This change makes our embedding samples use the XPCOM glue.

157625
nsLocalFile::Remove's file pointer is sometimes null afte...
This fixes a crash when we dereference null.  It is a bandaide fix as the real problems involves retooling the directory enumerator.

157801
This fixes a terrible state which you can get into whereby XPCOM will fail to startup regardless of what you do.  The fix is to cause autoreg to happen if the component registry (compreg.dat) is not found.

r/sr=alecf@netscape.com, rpotts@netscape.com.  a=scc@mozilla.org
2002-07-18 05:09:10 +00:00
dougt%netscape.com c327e1c6c3 More XPCOM Glue changes and fixes. r=waterson, sr=rpotts, 154262. 2002-07-01 20:37:17 +00:00
dougt%netscape.com c213112dac Fixing Mismatched new [] / delete []. r=me. bug=153584. patch from pj@ludd.luth.se. 2002-06-22 19:03:11 +00:00
dougt%netscape.com 9effd97abe 151604 - XPCOM Glue standalone stupport of dynamically loading symbols. r=dp/rpotts sr=alecf 2002-06-21 19:58:54 +00:00
alecf%netscape.com 1dbe5517cd fix for bug 152929 - we were leaking 900+ nsFactoryEntry objects because they were not always allocated in an arena
(fixes a 75k leak on my system)
r=dougt, sr=dveditz
2002-06-20 21:22:50 +00:00
seawood%netscape.com 466c6dd441 Use macros to declare static callback functions to make OS/2 happy.
Fixing tinderbox bustage.
2002-06-15 05:56:20 +00:00
dougt%netscape.com 36400cfcd3 fixing a uninitialized var 2002-06-15 03:58:10 +00:00
dougt%netscape.com fc76c6e218 strdup is not defined on the mac... 2002-06-14 22:25:24 +00:00
dougt%netscape.com 6cab4354a7 48888 missing makefile.win change 2002-06-14 21:50:50 +00:00
dougt%netscape.com f93a81bfcb Fixes 48888 - xpcom flat file backend. r=dp@netscape.com sr=waterson@netscape.com 2002-06-14 21:33:05 +00:00
seawood%netscape.com d3d6e929f1 Use the same name for the application profile directory in the registry as the profile manager does.
Bug #146150 r=arougthopher
2002-06-14 05:08:05 +00:00
chak%netscape.com c2bcdc4a98 Fix for #130877 - Chnages to create app specific component registries
r=dougt, sr=shaver, a=drivers
2002-06-11 20:38:01 +00:00
bryner%netscape.com eb55d35756 Bug 149225 - fix a crash on exit caused by shaver's checkin for bug 128335. r=pinkerton, sr=shaver, a=asa. 2002-06-06 03:04:56 +00:00
dougt%netscape.com a54b6aec9e synchronizing component registration output with xpcom shutdown. b=138667 r=jband sr=shaver 2002-05-11 21:15:06 +00:00
darin%netscape.com 6fd5862e6e fixes bug 142870 "nsIFile should use UCS-2 instead of UTF-8"
r=dougt sr=alecf
2002-05-07 23:07:19 +00:00
dp%netscape.com 65a183cd7a bug 130381 Using arena for registry prepopulation r=dougt sr=alecf a=asa 2002-05-02 21:25:08 +00:00
shaver%mozilla.org 5d7b5f9a26 Use a dhash instead of a vector and linear search for storing module data
in the static component loader.  BUg 128335, r=dougt, sr=waterson.
2002-04-29 21:29:38 +00:00
darin%netscape.com e554d83626 fixes bug 129279 "nsIFile unicode/utf8/ascii task"
r=dougt sr=alecf
2002-04-27 05:33:09 +00:00
dougt%netscape.com cfa91392a7 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 2002-04-15 22:36:59 +00:00
dougt%netscape.com 2f4ef19ec5 Fix for shutdown crash [@PR_EnterMonitor] called with a deleted monitor on the MemoryFlusher thread. 135330. r=brendan@mozilla.org, sr=jband@netscape.com 2002-04-15 22:33:03 +00:00
dougt%netscape.com 0cbb9d7481 Fixes 135966. Fix by cbiesinger@web.de, r=dougt@netscape.com, sr=jband@netscape.com, a=rjesup@wgate.com 2002-04-08 00:18:14 +00:00
dougt%netscape.com 9d057fffdc Freezes nsIComponentRegistrar.idl for mozilla 1.0. bug 98755 r=dp, sr=rpotts, a=shaver + asa 2002-04-02 21:10:39 +00:00
cbiesinger%web.de 215d997798 bug 132126 r=dougt sr=hewitt a=scc
nsFactoryEntry::ReInit leaks memory
2002-03-26 09:48:44 +00:00
dougt%netscape.com d1966e4e51 Modifiy comments for 115853. Have not committed the UNDER_REVIEW -> FROZEN change yet. Will wait one week or so. r=dp@netscape.com, sr=rpotts@netscape.com, a=shaver@mozilla.org 2002-03-22 21:15:50 +00:00
seawood%netscape.com c7bcd39c35 Remove files that have been repo-copied to xpcom/glue.
Bug #120474 r=dougt a=asa
2002-03-22 04:05:09 +00:00
dougt%netscape.com 4985540c6f fixing build bustage 2002-03-22 00:41:48 +00:00
dougt%netscape.com ff2ce02571 fixing build bustage. need to export a header on the mac 2002-03-22 00:13:38 +00:00
dougt%netscape.com c956bbd484 130405. Committing new files. r=alec, sr=brendan@mozilla.org, a=asa@mozilla.org 2002-03-21 23:47:46 +00:00
dougt%netscape.com 40642fc34c 130405. Makes the xpcom glue library usable. Updates XPCOM Samples. Adds requires lines to a few implict string/category consumers sr=alecf, sr=brendan@mozilla.org a=asa@mozilla.org 2002-03-21 23:43:21 +00:00
seawood%netscape.com e1fb9d3dce Move the following files into the xpcom/glue dir:
nsGenericFactory.cpp
nsIGenericFactory.h
nsIInterfaceRequestorUtils.h
nsISupportsImpl.h
nsISupportsutils.h
nsIWeakReferenceUtils.h
Bug #120474 r=dougt a=asa
2002-03-21 09:36:47 +00:00
timeless%mac.com dec943eb10 Bug 106386 rid source of misspellings
r=db48x sr=blake a=asa
2002-03-19 04:30:17 +00:00
dougt%netscape.com ac4c06738b Make generic module support usable by component and plugin developers. This patch removes the dependency on nsHashtable. bug 108233. sr=alecf@netscape.com, sr=jband@netscape.com, a=asa@mozilla.org 2002-03-06 04:22:27 +00:00
jband%netscape.com ececdc7506 Replace NS_REINTERPRET_CAST with an NS_STATIC_CAST so that the wrong interface on the enumerator is not returned to callers. Fixes bug 128858. r=rginda sr=shaver a=dbaron (on trunk and 0.9.9 branch) 2002-03-05 08:06:25 +00:00
peterv%netscape.com f0ea3558c8 Fix for bug 5794 ([MAC]Aliasing NGLayoutConfigInclude.h to MacConfigInclude.h is evil). sr=sfraser, a=dbaron. 2002-03-03 10:57:06 +00:00
dougt%netscape.com 030416d58c Disables NSGetFactory support from XPCOM. sr=shaver@mozilla.org, r=dp@netscape.com, a=shaver@mozilla.org 2002-03-01 00:06:35 +00:00
dougt%netscape.com 874111f277 Adding build SDK support. r=dougt, sr=alecf, submitted by seawood, a=asa 2002-02-25 23:20:01 +00:00
cathleen%netscape.com 8baf662f08 eliminate nsCRT::strlen for char* strings (part 5), bug 124536 r=dp sr=brendan 2002-02-20 06:38:38 +00:00
alecf%netscape.com 8c0ab1d965 remove a bunch of dead code, and remove NS_COM from a bunch of concrete classes that weren't being used previously
r=jag, sr=shaver
2002-02-18 22:57:47 +00:00
neeti%netscape.com d4f5ed4527 fix for bug 122438 - ConvertContractIDKeyToString(...) optimization, r=dougt,sr=alecf 2002-02-13 20:34:14 +00:00
dougt%netscape.com 3a76d52712 Fix for 103518. Call module destructor function *after* destroying factories. submitted by Henry.Jia@sun.com, r=dp/dougt, sr=alecf 2002-02-06 20:47:37 +00:00
cathleen%netscape.com 740d95a0a9 eliminates 107 nsCRT::memset calls to use memset instead. removed nsCRT::memset() function. bug 118135 r=dp sr=brendan 2002-02-05 01:41:13 +00:00
dougt%netscape.com 1c3dc6d749 Adding comments to the nsIGenericFactory file. bug 123442. r=gagan@netscape.com, sr=alecf@netscape.com 2002-02-05 01:38:43 +00:00
alecf%netscape.com 5483b6f627 one more part of fix for bug 107575, including the much coveted whitespace
remove aIgnoreCase parameter from all nsString and nsCString consumers
sr=jag, r=shaver
2002-02-01 01:53:09 +00:00
dougt%netscape.com 8165e8283e adding @return comments. 2002-01-30 21:56:34 +00:00
sfraser%netscape.com dd30842c5a Chamnges to allow for making every module's nsModuleComponentInfo data const; bug 74803. r=dp, sr=waterson 2002-01-30 04:05:47 +00:00
seawood%netscape.com 7cb3b6dd58 Use .get() when assigning nsXPIDLCString to const char*. Fixing OS/2 & AIX bustage. 2002-01-30 03:51:47 +00:00
dougt%netscape.com c50ca402ad 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
2002-01-29 21:22:13 +00:00
pete%alphanumerica.com b0aca6b298 reverting back to original
define is not needed here

--pete
2002-01-27 18:56:02 +00:00
pete%alphanumerica.com b7e75c570b seeing if this fixes the linux bustage
--pete
2002-01-27 18:47:17 +00:00
waterson%netscape.com 148a6b34f1 Fix static build bustage. 2002-01-24 21:45:46 +00:00
dougt%netscape.com 0d29a55b5a Adding nsIComponentRegistrar interface to the build. See 115853. r=dp@netscape.com, sr=jband@netscape.com 2002-01-24 01:50:35 +00:00
dougt%netscape.com 994af73b5d Cleanup of nsIModule. See 99154. r=dp@netscape.com, sr=jband@netscape.com 2002-01-24 01:29:40 +00:00
dougt%netscape.com e99ddaaeee Removing monitor from FreeService() call. See bug 117218 for details, but basically we can run into a deadlock at shutdown. This patch assumes that (a) gXPCOMShuttingDown is set only by the UI thread during xpcom shutdown and (b) that all public API's check this flag before calling into the hashtable. r=dbaron@fas.harvard.edu, sr=brendan@mozilla.org 2002-01-12 23:35:57 +00:00
cathleen%netscape.com 92d4fbf218 converted 271 references to nsCRT::memcpy to memcpy, bug 118135 r=dp 2002-01-12 03:18:55 +00:00
jaggernaut%netscape.com 7fe1a20d15 Duh. Made a thinko on commenting out the ifdef. 2002-01-10 06:55:18 +00:00
jaggernaut%netscape.com d4e8a91886 Bug 115854: Clean up shutdown warnings in service manager, add IID, CID and ContractID info. r=dougt, sr=alecf 2002-01-10 02:10:37 +00:00
ccarlen%netscape.com 525230cf76 Bug 100828 - nsLocalFileMac reworking. r=rjc@netscape.com/sr=sfraser@netscape.com 2002-01-07 14:35:04 +00:00
dougt%netscape.com ba4a1e2256 fixing build bustage 2001-12-19 00:59:25 +00:00
dougt%netscape.com 849d297364 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
2001-12-19 00:12:41 +00:00
kmcclusk%netscape.com d63ec3efab Backing out the fix for Bad use of nsIFile in component manager to fix spell checker. bug 106949 r=jband a=brendan 2001-12-14 01:27:16 +00:00
pete%alphanumerica.com 7c2ab7cf47 b=106949, r=ccarlen, sr=jband
Bad use of nsIFile in component manager

--pete
2001-12-11 03:25:32 +00:00
seawood%netscape.com 33ab7a9398 Add win32 support to xpcom Makefile.ins
Bug #58981 r=bryner
2001-12-09 07:05:12 +00:00
dveditz%netscape.com 44bcc01fd8 Free bloated component registry buffer after XPCOM init (bug 76329)
r=dougt, sr=shaver
2001-11-30 07:50:03 +00:00
dbaron%fas.harvard.edu 2d9af9f029 Make XPCOM_BREAK_ON_LOAD work on mach-o build. b=111519 r=beard sr=sfraser 2001-11-28 03:52:34 +00:00
dougt%netscape.com 0afe20e5ae remove nsIShutdownListener. r=dbaron, sr=alecf, bug 99152 2001-11-28 00:57:53 +00:00
dp%netscape.com c76ccb2f79 Removing timeline marks. These dont provide much information 2001-11-27 01:55:55 +00:00
timeless%mac.com 51a4520c4a Bugzilla Bug 107823 change nsIFile
to use 'Modified' instead of 'Modification'
r=akkana sr=brendan
2001-11-26 08:05:05 +00:00
seawood%netscape.com 7733357d51 Rename 'install' build phase to 'libs'.
Bug #56601 r=pavlov
2001-11-21 09:49:41 +00:00
timeless%mac.com 060425ec59 Bugzilla Bug 110080 change !NS_SUCCEEDED(status) to NS_FAILED(status)
s/!NS_SUCCEEDED/NS_FAILED/g;s/!NS_FAILED/NS_SUCCEEDED/g;
r=dougt sr=hewitt
2001-11-19 06:45:00 +00:00
dougt%netscape.com cde157b545 fixing bug 108573. Calling AutoRegisterComponents when any registered loaders do not exists will crash. r=dp,sr=rpotts 2001-11-18 20:19:44 +00:00
neeti%netscape.com 0edebe6c41 bug 106466 - Removed nsServiceEntry from ComponentManager, r=dougt, sr=brendan 2001-11-16 13:53:04 +00:00
dp%netscape.com c093068018 Satisfying compilers... 2001-11-16 03:37:15 +00:00
dp%netscape.com f9950de713 bug 108071 Eliminate 4000 calls to malloc by using copy getters of
registry. r=dveditz, sr=sfraser
2001-11-16 02:38:23 +00:00
bzbarsky%mit.edu f2ee8260a0 Use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2 where possible
(i.e. where the string is a literal).  Bug 104159, r=jag, sr=alecf
2001-11-14 01:33:42 +00:00
pete%alphanumerica.com b52992027b b=107823, r=ccarlen, sr=brendan
--pete
2001-11-01 00:11:15 +00:00
rginda%netscape.com 1d47cc3acb Bug 104168, "xpcom-autoregistration notification never fires"
r=dougt, sr=brendan
notify category observers when xpcom registration occurs
2001-10-31 23:17:30 +00:00
dougt%netscape.com 80a163df0e ugh. I did not mean to commit these changes. Backing out 2001-10-30 22:19:32 +00:00
dougt%netscape.com e03c679302 Moving nsISimpleEnumeratory interface into a seperate idl file. bug 99136. r=alecf@netscape.com, sr=rpotts@netscape.com 2001-10-30 22:03:05 +00:00
dbradley%netscape.com 1b2af580fb Bug 106671 - PLDHashTableEnumeratorImpl::IsDone will never return true, patch makes mCurrent == mCount the done condition. r=dougt, sr=jband 2001-10-29 22:08:42 +00:00
seawood%netscape.com 9b5ae05e33 Landing the rest of the mach-o OSX changes.
Bug #75653 r=cls sr=waterson
2001-10-27 07:38:18 +00:00
jaggernaut%netscape.com f05776cedf Bug 53057: [API] turn off implicit |CharT*| conversion operators for nsCString, rr=dbaron, rs=scc 2001-10-24 09:06:49 +00:00
seawood%netscape.com fb2f6b8e34 Add PR_CALLBACK to declaration of PLDHashTableEnumeratorImpl::Enumerator as well. 2001-10-23 08:09:56 +00:00
seawood%netscape.com 3a4a734422 Declare PLDHashTableEnumeratorImpl::Enumerator as a callback function.
Blind fix for OS/2 bustage
2001-10-23 06:52:07 +00:00
neeti%netscape.com 04ab881373 fix for bug 96461 - using PLDHash for ComponentManager,r=shaver@mozilla.org, sr=brendan@mozilla.org 2001-10-23 02:28:12 +00:00
dougt%netscape.com 0a62d4e8d5 99163 - removing nsObserverService.h includes. Also fixing 106090, extra methods on nsObserverService. r=shaver@mozilla.org, sr=jband@netscape.com 2001-10-22 22:01:27 +00:00
dougt%netscape.com d18d7e2b17 nsIObserver and nsIObserverService API freeze. r=rpotts@netscape.com, alecf@netscape.com. bug 99163 2001-10-19 20:52:59 +00:00
dougt%netscape.com 004836dcaf Allows a QI from nsIServiceManager to nsIServiceManagerObsolete. b=105136, r=beard, sr=darin 2001-10-16 23:39:20 +00:00
dougt%netscape.com 4f3a44d63b API Freeze for nsIServiceManager r=shaver@mozilla.org, sr=rpotts@netscape.com bug 99147 2001-10-16 03:35:52 +00:00
dougt%netscape.com 0b0bf127b2 Freezing nsIClassInfo interface. r=dbradley sr=shaver bug=99158 2001-10-12 20:21:18 +00:00
gerv%gerv.net 4e12e44b2f Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
dp%netscape.com a682729604 bug 100682 temporary way to get service without creating a new
one. This will get fixed the right way along with other api changes
for component and servicemanager r=sfraser/dougt, sr=mscott
2001-09-25 00:38:44 +00:00
dp%netscape.com 7a25a41203 bug 29063 Removing unneccessary stat() r/sr=waterson/alecf 2001-09-25 00:19:52 +00:00
jaggernaut%netscape.com d1a7bfa843 One module per line for REQUIRES. r=/sr=alecf 2001-09-18 22:01:13 +00:00
chak%netscape.com 7a73e687f5 Fix for #99144 - Marking nsIFactory as frozen
r=dougt, sr=rpotts
2001-09-18 21:40:42 +00:00
jaggernaut%netscape.com dc40187223 Bug 73353: splitting the modules on the REQUIRES lines in Makefile.in across multiple lines to more clearly show the changes made. sr=alecf 2001-09-18 13:41:47 +00:00
alecf%netscape.com 62424ee7b2 Final REQUIRES changes for bug 98371, adding support for MOZ_TRACK_MODULE_DEPS to win32. r=cls (and tested by cls!) 2001-09-17 19:06:35 +00:00
dp%netscape.com a2b2565a87 letting factories overrride native components. Fixes embedding
smoketest blocker bug# 99130 r=adamlock
2001-09-11 18:10:31 +00:00
dp%netscape.com 9976710ad3 bug# 96457 Fixing ReInit() to account for the new factory entry type
r=gagan, sr=jband
2001-09-08 00:01:03 +00:00
jaggernaut%netscape.com f7e24bf771 Bug 93071: Incorrect test in UnregisterComponent: we want to unregister if the registry name matches. r=bryner, sr=shaver 2001-09-07 03:48:37 +00:00
mkaply%us.ibm.com 3391fae772 OS/2 build bustage - thanks gerv 2001-09-06 22:10:51 +00:00
dougt%netscape.com f72e52e830 Merge ServiceManager and ComponentManager. Bug 96457. r=dp@netscape.com, sr=wat
erson@netscape.com
2001-09-06 21:13:11 +00:00
alecf%netscape.com c20ca03a02 dumb
CVS :nd string makefile updates for 98371 r=cls----------------------------------------------------------------------
2001-09-06 03:56:35 +00:00
valeski%netscape.com 93959d48cc r=dbaron, sr=dougt. 97667. nsIInterfaceRequestor is now frozen. nsIInterfaceRequestorUtils.h is now required if you want to use do_GetInterface() for convenience. The two were split because the stuff that is now in nsIInterfaceRequestorUtils.h wasn't ready for freezing. Also, .idl files should just contain interface defs anyway. 2001-09-05 21:28:38 +00:00
jaggernaut%netscape.com 3b3680c17e Bug 98153: Remove SubsumeStr. r=dbaron, sr=scc 2001-09-05 10:46:45 +00:00
waterson%netscape.com a7c5472ce1 Bug 97828. Be sure to create the static component loader before putting it into mLoaderData array. r=dp, sr=jband/sfraser, a=asa 2001-08-31 21:45:58 +00:00
dp%netscape.com 58b3da2562 bug# 97770 fixing tree orange due to crash on unload 2001-08-31 17:45:51 +00:00
dp%netscape.com 1bd12536d8 bug #97658 Fixing build blocker. fixing js components after component registry has been
created r=gagan
2001-08-30 22:59:12 +00:00
dp%netscape.com 80feb5b38b bug# 96701 Using an array instead of hash table to store loader
data. Storing index into loader data array rather than allocating and
copying the type string. r=dougt, sr=jband, a=asa
2001-08-30 14:10:41 +00:00
waterson%netscape.com fe14ff8338 Bug 96910. Restore NS_NewGenericModule() entry point for backwards compatibility. r=dougt, sr=jband, a=asa 2001-08-29 21:59:43 +00:00
dp%netscape.com 786ae7cdf5 bug #14889 Lazy loading wallet dll r=morse,gagan sr=jband a=asa 2001-08-28 22:05:30 +00:00
jband%netscape.com 1e2e8127fd Restore old method order so that newer components implmenting this interface are still callable by 0.9.2/NS6.1 browsers. bug 96917. sr=vidur r=brendan a=drivers 2001-08-28 21:46:08 +00:00
thesteve%netscape.com 2c4d10428d Bug#81373 (mac static build)
added nsStaticComponent.h
r=jfrancis
sr=sfraser
a=asa on behalf of drivers
2001-08-27 23:48:03 +00:00
dbradley%netscape.com d823328c42 Bug 93792: This is the part to make passing nsID by value illegal in xpidl without notxpcom, see bug for a better explanation. sr=brendan, r=jband 2001-08-22 01:04:26 +00:00
dp%netscape.com b27e59a919 bug 94883 nsCreateInstanceByContractID() performance improvement 2001-08-21 22:42:35 +00:00
waterson%netscape.com b2442974aa Bug 93100. Change NS_DECL_NSGETMODULE to be table driven so we can get at module ctor & dtor callbacks. Update meta-module and static-module stuff for this change, fix meta-module to not register stuff twice. r=cls,leaf 2001-08-21 00:55:20 +00:00
cathleen%netscape.com be72d98064 enable MOZ_TIMELINE tool, bug 78793, r=rogc, sr=waterson 2001-08-17 02:03:34 +00:00
brendan%mozilla.org 49c0102cdf Restore scriptable nsIClassInfo.classID but add fast/C++-only classIDNoAlloc; define and use nsIClassInfo::EAGER_CLASSINFO in caps (93792, sr=waterson&jst). 2001-08-07 03:59:29 +00:00
waterson%netscape.com 9abf7984af Bug 71248. Convert content, layout, parser, and uconv to generic modules so that they can be linked into a meta-module. r=cathleen, sr=brendan 2001-08-07 02:55:54 +00:00
vidur%netscape.com c8aff8704f Temporary fix for bug 92859. Components can now be registered with the generic module macros to have class info, but not be instantiable via the component manager. Currently, the class object of such components are created eagerly at module initialization time. A future fix might create them lazily. r/sr=jband, jst 2001-08-06 07:05:22 +00:00
brendan%mozilla.org dbd7fed5b1 FASTLOAD_20010703_BRANCH landing, r=dbaron, sr=shaver. 2001-07-31 19:05:34 +00:00
jaggernaut%netscape.com e91f8a147e Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa 2001-07-25 07:54:28 +00:00
jaggernaut%netscape.com cb0faab070 Bug 73353: clean up the REQUIRES lines in Makefiles. 2001-07-23 22:36:12 +00:00
cathleen%netscape.com 04a2d87fea fixed bug 87004, for win static build, changed libjar and xpinstall to be
dynamic, updated static packager list, added build_static.pl, fixed static
component loader to handle no static component cases, updated and added
.cvsignore for extra files generated by static build
2001-07-19 22:43:14 +00:00
av%netscape.com 3ee52d160b Backing out existing fix for 87193 -- r=mstolz, sr=shaver, attinasi 2001-07-17 02:24:16 +00:00
dbaron%fas.harvard.edu aa4fec2b67 Header include dependency cleanup. b=64023 r=jag rs=brendan 2001-07-16 02:40:48 +00:00
mstoltz%netscape.com 548e6eb3dd Fixing blocker bug 90197 by backing out fix for 87913 that changed the behavior of
ComponentManager::AutoRegister and instead using patch v2 from 87913 which
adds a new function rather than changing the existing one. r=mstoltz, dveditz.
2001-07-12 03:58:32 +00:00
jaggernaut%netscape.com d589f328f9 Add "js" to REQUIRES to fix Senna bustage 2001-07-11 12:37:01 +00:00
jaggernaut%netscape.com 9886ba7f87 Add "xpconnect" to REQUIRES to fix Senna bustage 2001-07-11 10:50:04 +00:00
jaggernaut%netscape.com 2ff63310ec Add to REQUIRES "caps" to fix senna bustage 2001-07-11 07:49:25 +00:00
mstoltz%netscape.com 755eb0ae93 Checking in bug 87913 for jesse@netscape.com - Allow untrusted scripts
to call Components.manager.autoRefresh, but only with default params.
r=mstoltz, sr=jst.
2001-07-11 04:48:55 +00:00
dbaron%fas.harvard.edu d8c954e551 Some compilers don't support default parameters on templates, so split CallGetService and use what would have been a better solution in the first place. sr=scc b=87735 2001-07-04 20:26:31 +00:00
dbaron%fas.harvard.edu 1758134ebc Add CallCreateInstance and CallGetService. b=87735 r=jaggernaut sr=scc 2001-07-04 18:55:14 +00:00
cls%seawood.org 66d937045b Landing static build changes for OS2
Thanks to Javier Pedemonte <pedemont@us.ibm.com> for the patch.
Bug #85283 r=mkaply r=waterson
2001-07-01 12:11:13 +00:00
jaggernaut%netscape.com 5a6317b8a5 Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.

nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)
2001-06-30 11:02:25 +00:00
dbaron%fas.harvard.edu d5460d02ef Remove nsCStringKey-related bustage fixes from this morning that are no longer needed. r=jaggernaut sr=waterson b=88411 2001-06-29 23:16:52 +00:00
scc%mozilla.org 30f97813ad fix linux build bustage by adding a |.get()| to resolve ambiguity 2001-06-29 13:50:22 +00:00
cathleen%netscape.com e8ed84659e fix autoreg components always get called on startup. bug#85770 r=ssu sr=alecf 2001-06-28 00:06:16 +00:00
waterson%netscape.com b74d6e1c8b Land STATIC_BUILD_20010612_BRANCH, which supports building mozilla with components statically linked into the executable, as well as 'meta modules' that combine components into uber-DLLs. 2001-06-20 20:21:49 +00:00
cls%seawood.org bf5fb48486 Replaced NO_SHARED_LIB & NO_STATIC_LIB with BUILD_SHARED_LIBS, BUILD_STATIC_LIBS, FORCE_STATIC_LIB & FORCE_SHARED_LIB. Added FORCE_USE_PIC.
Changes allow us to have a finer control over which parts of the tree are built with PIC.  Part of the static build branch landing.
Bug #46775 r=mcafee a=leaf
2001-06-18 22:10:38 +00:00
scc%mozilla.org a8fb409c6e bug #85271: sr=waterson, r={beard, jag, dbaron}, a=asa. Eliminate features of |nsXPIDLC?String| that keep it out of the string hierarchy (i.e., using assigment to rebind ownership, static |Copy| members, and |getter_Shares|), fixing some leaks in the process. 2001-06-17 05:23:38 +00:00
valeski%netscape.com 5892765fc6 r=chak, sr=vidur, a=tor. 82000. removing unused arg from nsICategoryManager. 2001-06-05 21:25:57 +00:00
kandrot%netscape.com 6bf35cb255 Check in for bug #75764 to elminate non-static globals. r=kandrot, sr=jband 2001-05-15 05:50:24 +00:00
jst%netscape.com ea706038cf Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com. 2001-05-08 17:42:36 +00:00
cls%seawood.org 6f256984a9 Let the use of PR_Log() be controlled by a toplevel build option. All places that set FORCE_PR_LOG to force logging on need to wrap that #define FORCE_PR_LOG in a MOZ_LOGGING ifdef.
It's on by default. Set
--disable-logging (unix)
NO_LOGGING=1 (win32)
moz_logging = 0  (mac)
to turn it off globally.

Bug #53226 r=sspitzer,leaf,sfraser
2001-05-05 10:18:53 +00:00
kandrot%netscape.com afdac97c93 Check in for Ron Guilmette. r=shaver, sr=waterson. For intl r=nhotta. Changes for NS_IMPL_NSGETMODULE. bug #46775. 2001-05-05 05:33:37 +00:00
sdagley%netscape.com 91599490da #70543 - Mac OS running out of FCBs when loading libraries. Now yield time to OS to allow it to grow the FCB table (shouldn't be necessary, apparently is). sr=sfraser,r=macdev 2001-05-04 09:01:06 +00:00
dveditz%netscape.com 0891610be0 fix for 15115, registry reading speedup 2001-04-17 14:25:19 +00:00
disttsc%bart.nl 21a52124e0 Fix some inefficiency in nsNativeComponentLoader.cpp, bug=51210, author=Mark Stankus <mstankus@calpoly.edu>, r=bzbarsky@mit.edu, sr=shaver. 2001-03-23 07:34:34 +00:00
shaver%mozilla.org fcf7cd0d9f 67699: all your nsIClassInfo is belong to us
- teach nsGenericFactory about nsIClassInfo, and nsIClassInfo.idl to the
  builds
- add a heaping serving of macro love for classes that want to support it
- convert many modules to use nsGenericModule the new way
- handful of warning and modeline fixes
- nsSample and some XPConnect test classes now have nsIClassInfo support for
  testing
2001-03-12 20:43:02 +00:00
disttsc%bart.nl a6f2f5861a Mass REQUIRES update to synch up with string lib and xul changes in an attempt to fix senna bustage. r=jst, sr=cls 2001-02-22 09:35:51 +00:00
timeless%mac.com 72a1f5c4f6 fix for bug 52653 regxpcom creates .mozilla in Real User's home
fix by shaver, r=dveditz, sr=scc
2001-02-16 21:35:34 +00:00
jband%netscape.com 0397fb7a41 not part of the build - to be used in xpconnect flattening etc. 2001-02-14 04:26:03 +00:00
pinkerton%netscape.com d465909997 carbon changes. r=pink/sdagley/beard. a=sfraser. 2001-02-13 21:48:26 +00:00
blakeross%telocity.com 22ff746771 Minor QI optimization. r=blake sr=scc 2001-01-31 22:05:28 +00:00