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

633 Коммитов

Автор SHA1 Сообщение Дата
shaver%netscape.com f53bc807b4 nsIRegistry scriptability and beginning of category support, r=dp,alecf,dveditz a=leaf,chofmann 1999-09-29 02:35:42 +00:00
dp%netscape.com aa203a1405 Unloading of dlls on shutdown turned off. 1999-09-28 19:42:06 +00:00
dveditz%netscape.com fcba679114 Make sure componentMgr calls NR_ShutdownRegistry(), fixing MLKs and registry corruption from unflushed registry buffers.
r=dp,a=chofmann
1999-09-26 21:20:21 +00:00
dp%netscape.com 1f335f710b Separating dll Shutdown from unload. Calling dll shutdown
unconditionally on NS_Shutdown.
1999-09-26 18:06:41 +00:00
dp%netscape.com 5479b15e62 Passing down NS_Shutdown to Unloading of libraries. 1999-09-26 18:04:27 +00:00
dp%netscape.com 73b907b3bb Adding NS_Shutdown. 1999-09-26 18:02:52 +00:00
dp%netscape.com cade126469 UnloadAll() on non-native loaders. 1999-09-23 00:14:00 +00:00
dp%netscape.com 7ad2cf949e Enabling xpcom shutdown to call NSCanUnload() on every component. 1999-09-23 00:01:53 +00:00
shaver%netscape.com 1fe19c92b7 add componentType to nsIModule::RegisterSelf 1999-09-22 03:18:27 +00:00
shaver%netscape.com 940f9ecaa3 need to use different module names to avoid overwriting xpcom.xpt 1999-09-21 14:12:26 +00:00
waterson%netscape.com 88220ac198 Fix backwards return values on nsIEnumerator::IsDone(). 1999-09-21 01:28:18 +00:00
warren%netscape.com 5ba5245976 fixed ReleaseService and UnregisterService to work during shutdown 1999-09-20 20:54:09 +00:00
warren%netscape.com 398e934fcf fixed circular references in nsNativeComponentLoader 1999-09-20 20:54:04 +00:00
warren%netscape.com ba00fc54e6 freed mComponentsDir in nsComponentManager 1999-09-20 20:53:57 +00:00
briano%netscape.com 12f9f9743e General cleanup. 1999-09-18 02:12:56 +00:00
dveditz%netscape.com b83b004785 match buffered i/o registry change in XP_MAC section 1999-09-17 07:00:55 +00:00
dp%netscape.com 6cf6be44ee Caching of what registry was opened to improve performance of multiple
opens on the same registry file.
1999-09-17 05:46:25 +00:00
dp%netscape.com 78ee9ec7ec Ability for XPCOM to use non-default component registry and component directory 1999-09-16 19:28:57 +00:00
dp%netscape.com 764fede6dc NS_ADDREF() instead of calling it directly 1999-09-16 19:20:18 +00:00
dp%netscape.com 340ea43d16 Removing DEBUG_dp 1999-09-16 19:11:00 +00:00
dveditz%netscape.com f3deb25a6d expose whether the registry is already open or not, which enables the profile
manager to avoid opening and closing the registry ~20 times at startup.
1999-09-16 05:32:28 +00:00
shaver%netscape.com 86577683ba lose some DEBUG_shaver debugging noise 1999-09-15 14:45:29 +00:00
ramiro%netscape.com 2a3e49d514 Fix for the loser linux tinderbox compiler. 1999-09-14 15:16:31 +00:00
ramiro%netscape.com d8c19f2f5d Add support for demangling undefined symbols. 1999-09-14 13:40:22 +00:00
warren%netscape.com 4deda060c4 Don't hold the service manager lock around CreateInstance -- deadlock potential. 1999-09-14 04:50:48 +00:00
shaver%netscape.com 4a8357cf2a fix UMR 1999-09-13 22:34:42 +00:00
dp%netscape.com fa34aae45d Implemented dll enumeration and prepopulation. Improves startup performance. 1999-09-11 14:49:55 +00:00
dp%netscape.com 462ed66cd7 Typo fixed. AutoRegisterComponent works again. 1999-09-11 07:23:28 +00:00
dveditz%netscape.com 9ef1ec96ed speed startup by avoiding registry look ups that are guaranteed to fail, eliciting worst-case behavior 1999-09-10 05:27:23 +00:00
shaver%netscape.com 44334828d0 fix memory leaks (eep) and add some debugging noise for myself 1999-09-09 00:48:30 +00:00
toshok%hungry.com 1f17564178 remove the dll from mDllStore if we're about to delete it. keeps us from crashing if we try to load a dll after we fail once. 1999-09-09 00:47:22 +00:00
shaver%netscape.com 1f31743781 fix MLK bugs 13285 and 13286 and prevent repeated PrePopulateRegistry calls 1999-09-08 04:22:37 +00:00
shaver%netscape.com df50cccf6f teach component manager that there are non-native entries in the registry 1999-09-07 23:18:47 +00:00
shaver%netscape.com 86f477d409 Moved abs:/rel: handling to ComponentManager.
Made nsIModule::GetClassObject and nsIFactory scriptable for JS components.
Added registryLocation param to nsIModule::(Un)RegisterSelf.
1999-09-07 05:06:37 +00:00
shaver%netscape.com a90b33489c Add nsIComponentManager::registerComponentWithType.
Take advantage of IDLized nsIComponentManager to fix up nsIComponentLoader.idl
and make nsIModule scriptable.
1999-09-06 16:43:09 +00:00
shaver%netscape.com 73fd7a8674 missed an EXPORT =( 1999-09-05 08:07:31 +00:00
shaver%netscape.com 79c7c7e52f forgot an IDL file 1999-09-05 07:18:18 +00:00
shaver%netscape.com 53277f4711 convert to CreateInstanceFromProgID 1999-09-05 06:27:42 +00:00
dveditz%netscape.com a4fc44952f remove xp_file.h from NSReg.h, required minor tweaking elsewhere to include
now missing NSPR types.
1999-09-04 19:46:18 +00:00
shaver%netscape.com 522a04906c properly initialize loaders on creation, and remove code that's now in nsFileSpec 1999-09-03 23:51:31 +00:00
shaver%netscape.com 4bd5ce8e10 Added ComponentLoaders to registry and abandoned the progID suffix strategy
to reduce evil in universe.
Added nsIComponentManager::RegisterComponentLoader.
Dead code removal.
Make AutoRegister eagerly created all as-yet-unloaded component loaders and
AutoRegister with them as well.
Removed much #ifdef DEBUG_shaver noise.
1999-09-02 07:00:29 +00:00
shaver%netscape.com fdd18a1808 um, didn't mean to check that in 1999-09-02 05:21:10 +00:00
shaver%netscape.com 7ae0e45e4b *** empty log message *** 1999-09-02 05:18:09 +00:00
waterson%netscape.com d1b4341738 Create a monitor as a member variable instead of using cached monitor. 1999-09-02 04:12:08 +00:00
shaver%netscape.com 61893c8b39 missed an EXPORT removal 1999-09-02 01:30:17 +00:00
dp%netscape.com 7876685f8e Dll data written to registry. Autoreg fixed to work with relative
pathnames in registry.
1999-09-01 06:25:20 +00:00
dp%netscape.com 97ee0030c9 Added Sync().
Prepares for fixing registration.
1999-09-01 06:22:54 +00:00
cyeh%netscape.com cc2825cbe0 Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people. 1999-09-01 00:54:34 +00:00
shaver%netscape.com 73d117d2b6 missed nsIFactory.idl export, damn 1999-08-31 22:25:59 +00:00
shaver%netscape.com 4f5e09dac5 forgot to remove now-generated nsIFactory.h 1999-08-31 22:00:27 +00:00
shaver%netscape.com c0708ceb89 Removed nsIFactory.h (generated now).
Factored ComponentManager to support multiple ComponentLoaders.
Added support for relative paths in registry.
General cleanup.
(Broke detection of changed DLLs; dp is fixing -- thanks!)
1999-08-31 21:40:21 +00:00
dp%netscape.com f690c2560d removing obsolete files 1999-08-26 05:14:09 +00:00
dp%netscape.com b6ca6e5553 Removing nsIRegistry::GetIntArray() and SetIntArray(). These aren't
being used and block scritability. So if we need then, we will figure
out a way to add them that wont break scritability.
1999-08-26 05:11:40 +00:00
dp%netscape.com 60f12e3b90 Removed default parameter to Open() to facilitate IDLification. 1999-08-26 03:22:26 +00:00
brendan%mozilla.org bbe959f4d1 Massive spankage to capitalize C++ method and attribute name bindings, per
Architecture Item 6.3 (news://news.mozilla.org/37BA89CF.3823D6F9%40meer.net).
1999-08-25 05:26:25 +00:00
scc%netscape.com 0454213f91 got rid of |NS_IMPL_ISUPPORTS|, where possible, in favor of |NS_IMPL_ISUPPORTS0| or ...1 according to the specific use; got rid of |NS_DEFINE_IID| where possible, or where it should have been |NS_DEFINE_CID|; fixed bad implementations of |QueryInterface|, where possible. Built, tested apprunner, reviewed the changes with hyatt (since he was around to look) before checking in 1999-08-23 10:14:16 +00:00
scc%netscape.com 83feff8821 Added |GetIID| 1999-08-22 20:54:08 +00:00
mccabe%netscape.com b95a2bdd54 Replace manual method declarations in implementations of xpcom/ interfaces with NS_DECL_NSIFOO. 1999-08-22 11:25:50 +00:00
dp%netscape.com 4f8136dd2b PlatformFind() changed to return nsDll * instead of FactoryEntry. This
is an internal api change.
1999-08-20 23:06:47 +00:00
dp%netscape.com 8ff4b44481 - Adding nsComponentMangager::GetClassObject()
- Adding a nsIID parameter to the nsIModule:GetClassObject()
1999-08-19 14:54:12 +00:00
dp%netscape.com 889759b581 Calling shutdown listeners on XPCOM Shutdown. Fix bug #11790 1999-08-14 21:32:29 +00:00
sfraser%netscape.com b25977cb8b Part of fix for 11790, crash on quit. Don't try to delete static data. r dp, a chofmann 1999-08-13 23:26:47 +00:00
dp%netscape.com 153c3a6d49 - using ComponentManager instead of service manager in nsIModule
- Adding UnregisterComponentSpec()
All the above are required for xpcom review.
1999-08-13 19:30:13 +00:00
dp%netscape.com 793f8e02bd Dll unloading support. These are not used yet. 1999-08-13 19:27:58 +00:00
shaver%netscape.com d4e1855665 defend against NULL GlobalServiceManager 1999-08-11 04:08:44 +00:00
dp%netscape.com 4042d3a6f6 Caching persistentDescriptor and nativePath; Released when dll goes
away.
1999-08-11 01:46:43 +00:00
dp%netscape.com 95b69a3611 Logging error from canunload 1999-08-10 23:06:33 +00:00
dp%netscape.com c0dea43629 dummy 1999-08-09 05:40:51 +00:00
jband%netscape.com 3f75ebc9ff adding enumeration of CLSIDs and ProgIDs using code from Robert Ginda <rginda@ix.netcom.com> 1999-08-09 05:02:25 +00:00
dp%netscape.com e0799f7257 Create the module object and caching it in the Dll abstraction. 1999-08-09 00:19:08 +00:00
dp%netscape.com d92799422f Changing name from nsIComponent.idl to nsIModule.idl 1999-08-08 22:27:28 +00:00
dp%netscape.com 2c568a0cd6 Fixing addition of nsIModule.idl 1999-08-08 22:16:53 +00:00
dp%netscape.com 40ff09f510 Adding nsIModule.idl 1999-08-08 21:58:53 +00:00
dp%netscape.com 1911b3be38 Adding new interface for Module access. This will replace entry points like
NSRegisterSelf() etc.. in the Module dlls.
1999-08-08 21:54:43 +00:00
rjc%netscape.com 158163c078 Use GetFileSpec() correctly. 1999-08-07 11:23:54 +00:00
rjc%netscape.com 40870414c8 On Mac, check a file's type (skip the creator, so that 3rd party shared libraries can be noticed) to see if its a shared library. 1999-08-06 23:06:07 +00:00
dp%netscape.com 7afa7173a1 Fixed typo. 1999-08-05 12:58:04 +00:00
dp%netscape.com 2a61eca94a Adding consistency checks on ReleaseService. 1999-08-04 09:36:12 +00:00
dp%netscape.com 2bd01df1c4 - Removed calling FreeLibraries()
- ReleaseService() wont delete anymore
- Made ReleaseService() and UnregisterService() simpler
- Shutdown releated Assertion removal.
1999-08-03 00:53:55 +00:00
dp%netscape.com 4b555e2372 Using nsObjectHashtable::RemoveAndDelete() 1999-08-03 00:03:38 +00:00
dp%netscape.com 360e8cfe27 VMS changes from Colin Blake <colin@theblakes.com> 1999-07-31 19:39:23 +00:00
dp%netscape.com e20bfe9359 - Added internal UnloadLibraries() that can take a NULL service
manager too for nsXPComShutdown()'s sake
1999-07-31 05:55:26 +00:00
dp%netscape.com 74581714e5 - Fixing ComponentManager destruction
- CLSIDToProdID() fixed to use the correct subtree in registry
- ProgID() enumneration on startup enabled
- Added internal UnloadLibraries() that can take a NULL service
  manager too for nsXPComShutdown()'s sake
- Setting autoreg DirectoryIterator not to resolve symbolic links
1999-07-31 05:55:04 +00:00
dp%netscape.com 64e5e2d348 Using nsCRT instead of PL_str*() 1999-07-31 00:28:51 +00:00
jband%netscape.com 1d04b3c73c fix this macro that no one is using so that I can use it in my factory in xpconnect 1999-07-31 00:14:55 +00:00
warren%netscape.com 1215da1e30 Fixed leak in nsObserverList. Used nsObjectHashtable in service mgr implementation. 1999-07-30 07:58:55 +00:00
sspitzer%netscape.com 1d299b52b0 other half of fix for #10697. directory iterators work again. r=blizzard. a=leaf. 1999-07-29 04:59:13 +00:00
blizzard%redhat.com cbfe27c7cb work around for startup crash on linux. checkin approved by cyeh and leaf. 1999-07-28 20:25:02 +00:00
warren%netscape.com 44ede8a7bc Added destructor/cleanup code. 1999-07-28 08:01:03 +00:00
sspitzer%netscape.com e2dd59c128 change the nsIDirectoryIterator::Init interface to match the nsDirectoryIterator ctor: two paramenters, a file spec and a bool for resolveSymlinks. pass in PR_TRUE in the pref and component manager code. this fixes the problem where prefs wouldn't get loaded on the mac! 1999-07-27 23:33:54 +00:00
briano%netscape.com d99daeea9b Cleaned it up and changed the name of libreg.{a,so} to libmozreg.{a,so} to fix the conflict reported in bug 8568. 1999-07-27 23:27:44 +00:00
valeski%netscape.com cd09f25002 mem leak - rev'd by dp 1999-07-25 13:37:16 +00:00
tbogard%aol.net eb0dd2815e Changed nsCStringKey to nsStringKey. This new key now has the ability to hash on PRUnichar* strings as well as char* strings. 1999-07-22 02:11:04 +00:00
dveditz%netscape.com 66a4e0d325 removed redundant registry locking to improve performance 1999-07-20 22:50:26 +00:00
dp%netscape.com c11d6c1d19 Removed delete of void *. HP doesn't like it. 1999-07-15 00:11:20 +00:00
dp%netscape.com 29dd23af41 Fixing memory leaks and mismatched memory. bug #8935 bug# 9006
Thanks to david.gardiner@unisa.edu.au for finding the memory leaks
1999-07-09 03:45:19 +00:00
dp%netscape.com 081122d07d Fixing memory leak. bug# 9005 Thanks to <david.gardiner@unisa.edu.au> 1999-07-09 03:43:29 +00:00
dp%netscape.com ac300c878d Landing XPCOM_M8_PERF_BRANCH.
- GetFactoryEntry() factored out into a function
- Factory Cacheing enabled
- deletion of removed factory entries enabled
- Locks removed from FindFactory() and Register*()
1999-07-07 07:47:14 +00:00
dp%netscape.com 54c432d92c Landing XPCOM_M8_PERF_BRANCH. Speeding up GetString(). 1999-07-07 07:42:03 +00:00
dp%netscape.com d71b862e32 PlatformPrePopulateRegistry() 1999-07-02 03:35:09 +00:00
dp%netscape.com 18656b0696 Caching of node names in nsIRegistryNode
Adding nsIRegistryNode::GetIID()
        - Thanks Dan Veditz
1999-07-02 03:34:08 +00:00
scc%netscape.com 54c96baa72 |nsISupports::GetIID()| --> |nsCOMTypeInfo<nsISupports>::GetIID()| 1999-06-29 21:01:31 +00:00
mcafee%netscape.com 4aca8a8246 BeOS changes 1999-06-29 10:27:58 +00:00
dp%netscape.com 8dbc732c42 Enable PR_LOGs on release builds. 1999-06-28 21:51:46 +00:00
dp%netscape.com 61cd841a1d Removing course grain locking since finer grain locking is implemented
in nsRegistry.
1999-06-22 21:49:26 +00:00
dp%netscape.com 3513f3783a XPCOM switched to using nsIFileSpec. 1999-06-22 14:02:58 +00:00
dp%netscape.com 91b957fe2b Adding back member to store error for nsRegistryNode and nsRegistryValue. This gets it working again. 1999-06-22 13:58:12 +00:00
dp%netscape.com 91b58aabba - Threading fixed. Changed member that stored error from nsRegistry
to be an automatic variable.
- Using XPCOM_ComponentRegistry for OpenWellknownRegistry()
1999-06-21 23:40:21 +00:00
dp%netscape.com aee4f0d23f Fixed crash due to multi-threading. bug# 7308, bug# 8150 1999-06-18 23:27:09 +00:00
dp%netscape.com 0bf10f471a Removing xcDllStore.cpp from the build. 1999-06-16 00:27:13 +00:00
bruce%cybersight.com 01f242aaf5 Replace NULL with nsnull in 8 initializations as NULL is void* on Solaris Workshop 4.2 compilers and it dies on using NULL here. 1999-06-15 13:51:50 +00:00
dp%netscape.com 63b3a417da - NS_RegistryGetFactory API Change
- QuickRegister eliminated
1999-06-14 02:07:03 +00:00
dp%netscape.com a51d7035cd Using new Component Registry 1999-06-09 19:18:24 +00:00
dp%netscape.com 2a661d9391 Well Known Component Registry in <exedir>/component.reg implemented. 1999-06-09 19:16:38 +00:00
waterson%netscape.com 8e855e06b9 Add nsService constructor that allows you to get a service by ProgID using the statically linked nsServiceManager API. 1999-06-07 02:24:29 +00:00
waterson%netscape.com 42ed4b166e Remove NS_ASSERTION calls from nsService class. 1999-06-05 02:44:40 +00:00
briano%netscape.com e9e302b454 Handle the (Unix) platform-specific DLL naming conventions properly. 1999-06-04 22:17:30 +00:00
warren%netscape.com 8b32319be8 Fixed GenericFactory linkage problems. 1999-06-03 21:51:14 +00:00
dp%netscape.com 70524be506 Checking for NULL progid. This should return correct error values from RegisterComponent() 1999-05-28 06:06:14 +00:00
bruce%cybersight.com b0efa83056 Remove local shadowing of variable. 1999-05-28 05:29:26 +00:00
dp%netscape.com afdcdd4a15 Adding progid and classname 1999-05-27 22:47:27 +00:00
sspitzer%netscape.com dc6a12ab7d cvs ignorage for xpcom2 landing 1999-05-26 17:51:05 +00:00
dp%netscape.com 0443b20e33 Landing xpcom20/21 branch. 1999-05-26 01:38:36 +00:00
dp%netscape.com f329e74754 Initial version 1999-05-18 09:11:01 +00:00
waterson%netscape.com 5cc7c24f80 Temporarily fix build bustage until we get brave enough to turn XPIDL on for Mac. 1999-05-13 16:41:32 +00:00
warren%netscape.com 5f77ce37ce Removing old files now generated by IDL (to avoid future screw ups). 1999-05-13 08:48:47 +00:00
beard%netscape.com 4e2521577c XP_MAC: improved nsDLL::Load() to not call PL_strlen() each time through a loop from 0 to the length of the string - 1. 1999-05-10 03:45:38 +00:00
jband%netscape.com 98c002f568 checking in generated versions of these xpcom headers. soon we will be generating these at compile time. Sources for these files are in xpcom/idl. They are regenerated from those files using xpidl -m header filename.idl 1999-05-07 01:45:20 +00:00
jband%netscape.com 44f3df2e61 pare down to the idl files that really work. Some can be resurrected later. Many require interface changes with deeper implications. These are the base interfaces that we really need to have xpconnectable at this point 1999-05-07 00:17:58 +00:00
dp%netscape.com 3371f4c197 Landing M6 XPCOM Code cleanup branch 1999-05-06 13:29:37 +00:00
dveditz%netscape.com d94a1bc88f minor startup performance improvement 1999-05-06 04:19:06 +00:00
alecf%netscape.com 2af5504cb9 back out my warning fix (proper fix on the way) 1999-05-04 22:33:10 +00:00
alecf%netscape.com f72f0cb12f fix some warnings about initializing variables in constructors 1999-05-04 21:09:03 +00:00
warren%netscape.com dabc3839ad Added size argument to Free and Realloc (for implementations that can't determine the memory block's size. Needed for nsPageMgr. Hooked allocator up to xpcom initialization. 1999-04-30 22:54:28 +00:00
warren%netscape.com ca71965106 Added better comment about NS_WITH_SERVICE. 1999-04-21 21:28:16 +00:00
dp%netscape.com 213032b91f ProgID hashing fixed. We now hash the progids passed in with RegisterFactory() also. Thanks to Nicholas Ambrose <nick87@hotmail.com> for yet another patch. 1999-04-12 12:32:24 +00:00
dp%netscape.com 931c6a743a Removing (char *) casts. Better error checking in PlatformVersionCheck(). Thanks to Nicholas Ambrose <nick87@hotmail.com> for the patch 1999-04-06 08:52:51 +00:00
dp%netscape.com 25f98b017e Caching of commonly used registry keys. Patch from Nicholas Ambrose <nick87@hotmail.com>. Thanks nick. 1999-04-06 08:26:38 +00:00
alecf%netscape.com 514a36aee8 output results of new factory's CreateInstance() 1999-04-06 05:06:47 +00:00
dp%netscape.com 033f9f07b2 Log message on RegisterFactory() change. 1999-04-05 04:32:36 +00:00
dp%netscape.com d925ea92a9 Returning servicemanager from NS_InitXPCOM() 1999-04-05 04:32:08 +00:00
dp%netscape.com 1368581140 Registry strings cleanup. Thanks to Nicholas Ambrose <nick87@hotmail.com> 1999-04-05 00:07:18 +00:00
waterson%netscape.com 548a19e10f Fix build bustage on Win32. 1999-04-02 21:13:20 +00:00
dp%netscape.com 5dd7838b8c API Cleanup. 1999-04-02 20:28:22 +00:00
warren%netscape.com 9cfa10a728 Added progID versions of methods to nsServiceManager (the static interface). 1999-04-02 05:17:42 +00:00
dp%netscape.com b8dfe78cdd More threadsafeness. 1999-04-01 06:45:50 +00:00
dp%netscape.com 41c4c9a227 XPCOM used nsIRegistry. Thanks to Nicholas Ambrose <nick87@hotmail.com> 1999-03-31 07:04:12 +00:00
dp%netscape.com cabae9cdfc Fixed nsIRegistry implementation. ready for use. Thanks to Nicholas Ambrose <nick87@hotmail.com> 1999-03-31 06:28:36 +00:00
dp%netscape.com deb92777ce Removing xcDllStore.cpp 1999-03-31 06:18:51 +00:00
sspitzer%netscape.com 27f8baa992 remove a warning
too many warnings and people will ignore them
1999-03-30 15:11:30 +00:00
dp%netscape.com aa723aadf5 Thread Safe nsHashtable (on demand only) 1999-03-30 08:15:39 +00:00
waterson%netscape.com 6bbd24c72e Changed RDF progids to use forward-slashes instead of pipes. 1999-03-30 01:09:24 +00:00
warren%netscape.com 83dd072e3f Added ShutdownGlobalServiceManager 1999-03-27 02:22:33 +00:00
dp%netscape.com 4103ca4f8b One more point where load fail is detected. Adding error message 1999-03-26 18:49:46 +00:00
dp%netscape.com a487aa06b9 Showing a error message when lib loading fails. 1999-03-26 18:23:04 +00:00
ftang%netscape.com edc37726f3 take out wrong assertion, we should do QueryInterface to both entry->mService and service with the sand IID and them compare them . approved by warren 1999-03-26 00:49:06 +00:00
sfraser%netscape.com 3d37126cc7 Fix for 4224 -- Mac crash on startup in registry code. sfraser & dp, approved sar. 1999-03-24 19:55:38 +00:00
warren%netscape.com 597c3c5ec4 Added ProgID versions of RegisterService and UnregisterService. 1999-03-24 00:40:29 +00:00
dp%netscape.com d68b82058c InitXPCOM() : For a defined initialization sequence of xpcom global objects and components. 1999-03-23 23:28:32 +00:00
dp%netscape.com 1dbbb52112 Adding PROGID and CLASSNAME to the header.
Adding GetIID()
1999-03-23 23:00:45 +00:00
dp%netscape.com c1ed2b3f33 Patch for unsigned vs signed warnings. Thanks to <bruce@cybersight.com> 1999-03-21 19:26:32 +00:00
warren%netscape.com 6656b2284f Added nsHashtable::Exists. Renamed nsProgIDKey to nsCStringKey (what it is). 1999-03-19 05:51:49 +00:00
warren%netscape.com 8190c412bc Added NS_WITH_SERVICE1 macro. 1999-03-19 05:48:49 +00:00
dp%netscape.com bdd6913861 Forcing xpcom registry recreation after moving appcores.dll from bin/components to bin/ since mailnew links with it 1999-03-16 01:33:46 +00:00
dp%netscape.com 86620360ae Removing unix hack of translation ./libabc.so to libabc.so to prevent multiple loads. This wont be required as we load all dlls absolutely 1999-03-13 08:09:54 +00:00
dp%netscape.com 4a0762723e Descriptor Leak fixed. Thanks to bruce@cybersight.com 1999-03-12 19:49:31 +00:00
dp%netscape.com 2381e84b6d Using nsHashtable and nsProgIDKey for dll hashing 1999-03-12 11:25:17 +00:00
dp%netscape.com 841ac2eeee Forcing XPCOM registry recreation 1999-03-12 08:53:45 +00:00
dp%netscape.com 13097f8d48 PC: Disabling autoregistration at initialization. It will be done by the app. 1999-03-12 08:52:56 +00:00
dp%netscape.com b5b0768068 Unix: Autoregistration disabled at initialization. This should be done by app. 1999-03-12 00:05:54 +00:00
dp%netscape.com e4d775b1e6 creating ~/.mozilla under unix if not already there. 1999-03-11 07:44:23 +00:00
dp%netscape.com 492cf01667 Removing unused variable. 1999-03-10 23:30:25 +00:00
warren%netscape.com b537db91f8 Added progID version of GetService. Fixed up nsService to not be a template. 1999-03-10 22:53:17 +00:00
dp%netscape.com 3fad618644 Adding error messages when loading fails. 1999-03-10 22:07:34 +00:00
dp%netscape.com 76d050c5d7 changing to correct indent style and tabs. Beautify... 1999-03-10 09:53:25 +00:00
dp%netscape.com 7eb59f3dda Recheckin because of loss during ComponentManager Merge
- Using Reg*Raw() interface to support component urls storage in registry.
 - Implemented recursive version of DeleteKey() so that Reg*Raw() interface could be used

 - Fixing memory corruption; access of deleted dll object
1999-03-10 09:16:28 +00:00
akkana%netscape.com 98c2a5c446 fixing merge problem of windows not looking for components in components directory - dp & akkana 1999-03-09 22:18:32 +00:00
dp%netscape.com ac18aec366 registry version to 0.40 for component manager change 1999-03-09 21:31:33 +00:00
ramiro%netscape.com 7e12a4b568 Use the macro on all platforms. Thanks to pierre for helping me make sure
it doesnt break the mac.  I verified that it works on unix and windows.
1999-03-09 19:19:02 +00:00
warren%netscape.com bdcaa63028 Backed out the nsService template stuff. 1999-03-09 11:49:41 +00:00
warren%netscape.com db05d0cffa Commented out template because linux isn't happy with it. 1999-03-09 11:12:23 +00:00
warren%netscape.com 273a5f362a Fixed path separator. 1999-03-09 10:20:01 +00:00
warren%netscape.com 1a48a551dd Trying a hack to see if I can make linux happy. 1999-03-09 10:15:54 +00:00
warren%netscape.com 84ee98f95d Workaround for sun386i breakage. 1999-03-09 10:07:02 +00:00
warren%netscape.com c50687b845 nsRepository -> nsIComponentManager changes. 1999-03-09 09:44:27 +00:00
dp%netscape.com 2adfc1bd23 Using Raw registry interface so that component urls and filename can be stored without transformation of / and = 1999-03-08 20:40:32 +00:00
ramiro%netscape.com 869b29d48d Templates in nsXPComFactory exorcism. Part I.
Replaced the template code with a NS_DEF_FACTORY.
This is temporary.  As soon as I can verify this works on windows and
mac, ill remove the old code.
1999-03-08 09:44:16 +00:00
dp%netscape.com 715e9361b7 Bumping nsRepository version string to force registry to be cleaned 1999-03-06 09:11:05 +00:00
dp%netscape.com 12c0769c82 dist/bin/components is where all loadable components will be installed. 1999-03-06 09:04:53 +00:00
rjc%netscape.com 2a52afbc07 Now store pathnames as strings which prevents nr_MacAliasFromPath() from ever being called (it was being passed a Unix path when it really wanted a Mac path anyway). Also, autoregistration now looks inside the "components" directory (which is in the same folder as the program.) Also, bumped up registry version # due to change. Also, at startup, when building up list of arguments, check argv[0] against NULL as it might be (on the Mac). 1999-03-04 03:01:33 +00:00
scc%netscape.com 31ff626ae9 rename |IID()| --> |GetIID()| 1999-03-03 19:48:57 +00:00
brade%netscape.com 4f9cb30b3b remove unused local variable in #ifdef XP_MAC section 1999-03-03 15:29:56 +00:00
beard%netscape.com b3b02ba0e9 moved NS_CALLBACK to nsCom.h. 1999-03-03 04:09:33 +00:00
dp%netscape.com dc6ed548e6 Forcing registry upgrade to alpha0.30 due to autoreg beginning at ./components instead of ./ 1999-03-03 02:17:57 +00:00
dp%netscape.com e115322998 Installing loadable components in components/ directory 1999-03-03 01:25:21 +00:00
waterson%netscape.com 4463d7305a Added ProgIDToCLSID cache. 1999-03-03 01:18:15 +00:00
cyeh%netscape.com 13e15b33f4 knod of the head to sfraser, for reminding me that you need to also initialize processInfoRec with the size of the process record. 1999-03-02 00:34:49 +00:00
cyeh%netscape.com e06ebadeda (really cyeh) fix crashing bug in optimized builds of viewer, but i'm really suprised that this didn't crash more often. per Inside Macintosh: Processes: you must initialize the ProcessInfoRec with the address to a valid FSSpec and at least 32 bytes of memory if you want the name of the process. if you do not want the name of the process, pass in nil into ProcessInfoRec.processName. We were crashing because the value of PIR.processName was uninitialized, and we were copying the name of the application into random memory. 1999-03-02 00:03:30 +00:00
beard%netscape.com 9093cc3fb4 SetDestructor 1999-02-28 19:04:47 +00:00
mcmullen%netscape.com fe54d94b06 REALLY add nsRegistry and libreg to the Mac build. 1999-02-28 00:24:53 +00:00
dp%netscape.com 9d4ec19bc1 Code cleanup. Added comments. PR_LOG() cleanup. I think I will do my haircut too... 1999-02-27 09:50:19 +00:00
dp%netscape.com be3f140e46 Clode cleanup. Abstracted registry access code that does ProgID into functions platformProgIDToCLSID() and platformCLSIDToProgID() 1999-02-27 08:58:11 +00:00
dp%netscape.com 6825d1d1d1 Changed comment to indicate that Quick Registration via the quick register data structure isn't for prime time yet. 1999-02-27 08:56:21 +00:00
alecf%netscape.com d0cc12e497 add IID() method 1999-02-27 03:16:56 +00:00
ebina%netscape.com dbd00c9b1b Remove support for the old RegisterFactory API. 1999-02-27 02:06:54 +00:00
dp%netscape.com 80aceefbf9 Adding platformVersionCheck() into USE_REG ifdef 1999-02-26 19:28:42 +00:00
dp%netscape.com 9cd352aaaa Implemented versioning of the repository hieararchy under the registry. Also changed storing longlongs to ints into the registry. 1999-02-26 18:41:37 +00:00
warren%netscape.com 830e88fe49 Fixed #endif for non-registry builds. 1999-02-26 10:55:07 +00:00
warren%netscape.com 97781f4c14 Changes for RDF component registration using nsRepository. Also changed args to NSGetFactory and friends. 1999-02-26 10:17:14 +00:00
beard%netscape.com 7b125831fc Fixing callback typedef, using new NS_CALLBACK macro which will be moved to nsCom.h when it proves itself. 1999-02-26 04:30:17 +00:00
beard%netscape.com f4d7d0b552 now implements nsIGenericFactory. 1999-02-26 04:08:26 +00:00
beard%netscape.com 4dfa40b76e First Checked In. 1999-02-26 04:05:14 +00:00
law%netscape.com 50b8f0991e Adding nsRegistry to win32 build 1999-02-25 19:20:39 +00:00
alecf%netscape.com fb222aeb48 forgot to capitalize a variable 1999-02-25 17:52:33 +00:00
alecf%netscape.com 7a1be403df fix for BSD/OS 3.1 1999-02-25 17:26:22 +00:00
ebina%netscape.com 59f91f50e9 Stub in the new RegisterFactory API in preparation for removing the old one. 1999-02-25 16:07:31 +00:00
beard%netscape.com 8d694419b3 First Checked In. 1999-02-25 04:41:02 +00:00
alecf%netscape.com 6a4c7793bb fix BSD/OS 3.1 bustage 1999-02-24 18:23:26 +00:00
alecf%netscape.com d0a5a5a84a update to use new nsCID type 1999-02-24 02:07:28 +00:00
alecf%netscape.com 839a95ca69 update uuid's to match real definitions 1999-02-23 19:36:23 +00:00
warren%netscape.com 3642da81a5 Cleaned up nsICollection and nsIEnumerator. Broke out nsIBidirectionalEnumerator. Added ISupportsArray enumerator. Cleaned nsISupportsArray. 1999-02-23 08:10:24 +00:00
mcmullen%netscape.com db86517473 Remove the illegal semicolon after extern "C" {} 1999-02-22 22:25:10 +00:00
alecf%netscape.com baf47ee27a update IDL files to be closer to real headers 1999-02-20 03:11:52 +00:00
sfraser%netscape.com c2b6483df5 Backing out my previous change, to enable AutoRegister again on the Mac. sdagley checked in a change to NSPR which fixes the crash on launch. 1999-02-20 01:07:31 +00:00
mjudge%netscape.com 3756cba288 changing nsIEnumerator to use NS_IMETHOD not virtual nsresult 1999-02-19 23:43:20 +00:00
sfraser%netscape.com 61e6d44318 This is a temporary fix for the Mac crash on launch; don't call AutoRegister on Mac. Approved by sar 1999-02-19 23:28:49 +00:00
dp%netscape.com fd6b85b9a7 Hacked to remove ./ when we PR_LoadLibrary() dlls of the type ./library.so
This improves memory a bit.
1999-02-18 22:37:35 +00:00
ebina%netscape.com 0b56643b69 Forgot to ifdef USE_REGISTRY which was breaking the MAC. 1999-02-18 17:18:06 +00:00
ebina%netscape.com b1e95cdde7 Add public functions RegisterComponent, UnregisterComponent, and ProgIDToCLSID 1999-02-18 16:58:22 +00:00
rjc%netscape.com 7edaa53680 Small fix for path separators. 1999-02-18 01:43:22 +00:00
rjc%netscape.com 2753cc7cdd Fix XPCom on Mac so that autoregistration of .shlb files work. 1999-02-18 00:24:38 +00:00
dp%netscape.com 138e0d4a61 Fixed dll not being unloaded if registrations filed. Also, returning more appropriate error messages 1999-02-16 19:34:10 +00:00
law%netscape.com 48857f7cbd moz->ns 1999-02-10 23:27:09 +00:00
law%netscape.com 945c60ebf5 Cleaned up i/f, XPCOM-wise 1999-02-10 19:47:56 +00:00
dp%netscape.com 6b61800db4 Removing wrong delete. 1999-02-09 21:21:30 +00:00
dp%netscape.com 156285c767 Commenting FACTORY2 1999-02-09 21:06:34 +00:00
dp%netscape.com 647eabe0fe Major repository upgrade to use a presistent regitry. We use libreg/ directly (NR_*() functions) for now. 1999-02-09 20:31:24 +00:00
dp%netscape.com 185d38ac18 Added new constructor that takes lastmodtime and size 1999-02-09 20:30:34 +00:00
dp%netscape.com 895672f73e variable id changes + commenting CreateInstance2() 1999-02-09 20:29:46 +00:00
kipp%netscape.com 2c1296df1f Disable auto-registration of dll's for unix for now 1999-02-08 19:16:29 +00:00
dp%netscape.com 60a5140c2d library no longer a member of FactoryEntry. Removed windows specific code for operating on windows registry. 1999-02-06 23:45:19 +00:00
dp%netscape.com d2fe4b5dc9 Beauty is the essence of life 1999-02-06 23:23:58 +00:00
dp%netscape.com 027179d0cd PRTime is 64 bit. Cant use ==. Using LL_EQ macro. 1999-02-06 21:24:52 +00:00
dp%netscape.com 47a2110af5 satisfy mac compiler 1999-02-06 21:19:11 +00:00
dp%netscape.com d5592767ba Fixing ptr==int comparisons to satify linux compilers 1999-02-06 20:53:42 +00:00
dp%netscape.com 781207cfe0 Auto registration of xpcom components 1999-02-06 20:43:10 +00:00
dp%netscape.com adc2870e9b Auto registration of xpcom components. 1999-02-06 20:39:40 +00:00
dp%netscape.com d67ec8f4b4 Fixing warnings on order of default initialization 1999-02-06 20:27:16 +00:00
dp%netscape.com dcf56a87cd Fixing linux orange tree. 1999-02-03 18:49:04 +00:00
dp%netscape.com 01e1a19801 adding ns prefix to private classes namespace 1999-02-03 15:39:13 +00:00
dp%netscape.com d542da0c6c landing XPCOM_19990201_BRANCH 1999-02-03 07:03:17 +00:00
law%netscape.com 499a3152f0 Fixed off-by-one bug in Next() 1999-02-02 07:43:23 +00:00
dp%netscape.com d6d7406cae Dll Hash table 1999-02-01 22:41:22 +00:00
dp%netscape.com 79d8e3cd02 Dll abstraction 1999-02-01 22:40:48 +00:00
law%netscape.com cf9b76cd83 new mozIRegistry interface 1999-01-28 03:36:37 +00:00
warren%netscape.com 449f4cb1fe Added nsIAllocator and implementation. Made service manager services sticky'. 1999-01-27 02:02:22 +00:00
sudu%netscape.com 6624efe2b9 OJI MozClassic to raptor merge 1999-01-25 08:05:00 +00:00
law%netscape.com e1ba9368e7 Updated with new enumerator protocols 1999-01-14 23:30:44 +00:00
rpotts%netscape.com 681969df3a bug #2227 - NSPR is not being implicitly initialized when PR_CEnterMonitor() is called. This hack should be removed when NSPR is fixed. 1999-01-08 00:38:56 +00:00
law%netscape.com 2b00047e90 Added new interface header; not yet building it 1999-01-07 21:04:21 +00:00
rpotts%netscape.com c7fcb9d26d This is a templatized implementation of an XPCOM factory... 1999-01-04 08:44:26 +00:00
warren%netscape.com b22a4e72fd Networking changes: Reworked nsIURL, adding setters, factoring Open. Unsigned arguments for nsIStreamListener. 1998-12-16 05:40:20 +00:00
mjudge%netscape.com 1f63a6b997 adding iid to generated file. this is ok we need this for COM ptrs 1998-12-11 23:38:30 +00:00
pierre%netscape.com 66d46171b7 Making nsMacRepository.h obsolete: the shared lib conversion is done. 1998-12-03 01:06:00 +00:00
beard%netscape.com c62b49cafc Mac shared library migration. 1998-11-30 22:15:00 +00:00
jfrancis%netscape.com 6957c5e7a0 [sfraser checking in as jfrancis] Temporarily comment out EDITOR_DLL-related stuff until Mac is building editor, to fix build bustage. 1998-11-30 03:04:00 +00:00
jfrancis%netscape.com 4689ddaf3f adding edtor lib entrty, even though we aren't actually linking it in yet. 1998-11-29 23:57:59 +00:00
scullin%netscape.com b60795da47 Migrate mac hack, too. 1998-10-19 18:54:44 +00:00
scullin%netscape.com 6c1d460ea1 Migrating public header files to public 1998-10-19 17:48:55 +00:00
pinkerton%netscape.com c36d3ef347 fix link problems on mac. 1998-09-29 17:16:06 +00:00
kipp%netscape.com f35fbea133 Register libraries with the refcnt tracer 1998-09-12 19:25:28 +00:00
warren%netscape.com 34f3c0ef88 Renamed NSRepository to nsRepository. 1998-09-01 00:26:28 +00:00
warren%netscape.com a0384c1c20 Changed NSServiceManager to nsServiceManager. 1998-09-01 00:17:47 +00:00
warren%netscape.com b6e4a77024 Added class ID to OnShutdown. 1998-08-28 21:47:44 +00:00
warren%netscape.com a9001af700 Added service manager mechanism. 1998-08-28 21:28:35 +00:00
warren%netscape.com 679e7dedb1 Added service manager mechanism. 1998-08-28 21:25:34 +00:00
troy%netscape.com 86479c1b35 Fixed a memory leak. In some error cases we weren't calling NR_RegClose() 1998-08-11 04:06:28 +00:00
pierre%netscape.com 2e0d995bd8 include nsMacRepository.h 1998-08-05 08:22:38 +00:00
warren%netscape.com 207bbebb65 Landing changes in the OJI_19980727_BRANCH since the OJI_19980727_TIP_MERGE tag. 1998-07-31 20:19:50 +00:00
scullin cdde7f1962 Added NSPR logging. Set NSPR_LOG_MODULES=NSRepository:4 to get
bunches o' logging.
1998-06-02 19:54:52 +00:00
hardts 60cd050946 landing XPCOM_BRANCH 1998-05-22 21:56:30 +00:00
scullin 5f9d63af93 NSPR related changes submitted by wtc. 1998-04-22 00:05:08 +00:00
ltabb 781c480871 Free the lizard 1998-03-28 02:44:41 +00:00