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

447 Коммитов

Автор SHA1 Сообщение Дата
shaver%netscape.com 694400cae3 forgot an IDL file 1999-09-05 07:18:18 +00:00
shaver%netscape.com 6cecf4c569 convert to CreateInstanceFromProgID 1999-09-05 06:27:42 +00:00
dveditz%netscape.com ee89552282 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 942e382e8a properly initialize loaders on creation, and remove code that's now in nsFileSpec 1999-09-03 23:51:31 +00:00
shaver%netscape.com c8ebe122e6 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 2b270b1823 um, didn't mean to check that in 1999-09-02 05:21:10 +00:00
shaver%netscape.com 769fcf3a54 *** empty log message *** 1999-09-02 05:18:09 +00:00
waterson%netscape.com c1c6e5faeb Create a monitor as a member variable instead of using cached monitor. 1999-09-02 04:12:08 +00:00
shaver%netscape.com 58e1e16a1c missed an EXPORT removal 1999-09-02 01:30:17 +00:00
dp%netscape.com 908e04e95e 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 310c55dceb Added Sync().
Prepares for fixing registration.
1999-09-01 06:22:54 +00:00
cyeh%netscape.com 9577b5cefa Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people. 1999-09-01 00:54:34 +00:00
shaver%netscape.com 7442945b05 missed nsIFactory.idl export, damn 1999-08-31 22:25:59 +00:00
shaver%netscape.com 655710510e forgot to remove now-generated nsIFactory.h 1999-08-31 22:00:27 +00:00
shaver%netscape.com 1db9afa25d 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 b560029264 removing obsolete files 1999-08-26 05:14:09 +00:00
dp%netscape.com 88a4943bfd 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 8d036420a9 Removed default parameter to Open() to facilitate IDLification. 1999-08-26 03:22:26 +00:00
brendan%mozilla.org defeffaabd 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 68340a37ef 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 7981dba18d Added |GetIID| 1999-08-22 20:54:08 +00:00
mccabe%netscape.com 381fb81c4f Replace manual method declarations in implementations of xpcom/ interfaces with NS_DECL_NSIFOO. 1999-08-22 11:25:50 +00:00
dp%netscape.com e3d3ff58c6 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 d42f5605f4 - Adding nsComponentMangager::GetClassObject()
- Adding a nsIID parameter to the nsIModule:GetClassObject()
1999-08-19 14:54:12 +00:00
dp%netscape.com a5018908e2 Calling shutdown listeners on XPCOM Shutdown. Fix bug #11790 1999-08-14 21:32:29 +00:00
sfraser%netscape.com dab07c139c 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 967a7ea8e9 - 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 0019c0fba2 Dll unloading support. These are not used yet. 1999-08-13 19:27:58 +00:00
shaver%netscape.com 38f90b75e4 defend against NULL GlobalServiceManager 1999-08-11 04:08:44 +00:00
dp%netscape.com 2af3f14ead Caching persistentDescriptor and nativePath; Released when dll goes
away.
1999-08-11 01:46:43 +00:00
dp%netscape.com 3370809f6a Logging error from canunload 1999-08-10 23:06:33 +00:00
dp%netscape.com 89a8cf7fd3 dummy 1999-08-09 05:40:51 +00:00
jband%netscape.com c153f122e9 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 03345897e4 Create the module object and caching it in the Dll abstraction. 1999-08-09 00:19:08 +00:00
dp%netscape.com 45f122e177 Changing name from nsIComponent.idl to nsIModule.idl 1999-08-08 22:27:28 +00:00
dp%netscape.com 01767f42a8 Fixing addition of nsIModule.idl 1999-08-08 22:16:53 +00:00
dp%netscape.com eafe93ca1f Adding nsIModule.idl 1999-08-08 21:58:53 +00:00
dp%netscape.com fd465dc33e 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 0b9f7ca8a1 Use GetFileSpec() correctly. 1999-08-07 11:23:54 +00:00
rjc%netscape.com 014212dbee 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 3ef823214e Fixed typo. 1999-08-05 12:58:04 +00:00
dp%netscape.com 7e2f23ac4e Adding consistency checks on ReleaseService. 1999-08-04 09:36:12 +00:00
dp%netscape.com 345a893929 - 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 04fdcf4983 Using nsObjectHashtable::RemoveAndDelete() 1999-08-03 00:03:38 +00:00
dp%netscape.com 7e30331770 VMS changes from Colin Blake <colin@theblakes.com> 1999-07-31 19:39:23 +00:00
dp%netscape.com 759351891f - 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 6e7f78ba22 - 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 ba5c8a9d98 Using nsCRT instead of PL_str*() 1999-07-31 00:28:51 +00:00
jband%netscape.com ff192b13a2 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 9b00e5191d Fixed leak in nsObserverList. Used nsObjectHashtable in service mgr implementation. 1999-07-30 07:58:55 +00:00
sspitzer%netscape.com b9a86e618c 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 2b0131b77e work around for startup crash on linux. checkin approved by cyeh and leaf. 1999-07-28 20:25:02 +00:00
warren%netscape.com 334c7b3f3e Added destructor/cleanup code. 1999-07-28 08:01:03 +00:00
sspitzer%netscape.com 17a4c1fb71 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 007ea62765 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 ad4cdd8e64 mem leak - rev'd by dp 1999-07-25 13:37:16 +00:00
tbogard%aol.net 8fced9fa19 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 0387f5e679 removed redundant registry locking to improve performance 1999-07-20 22:50:26 +00:00
dp%netscape.com 7bb3b9548f Removed delete of void *. HP doesn't like it. 1999-07-15 00:11:20 +00:00
dp%netscape.com 31be79266a 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 184311e084 Fixing memory leak. bug# 9005 Thanks to <david.gardiner@unisa.edu.au> 1999-07-09 03:43:29 +00:00
dp%netscape.com cc376e10ad 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 c43c4ec143 Landing XPCOM_M8_PERF_BRANCH. Speeding up GetString(). 1999-07-07 07:42:03 +00:00
dp%netscape.com 0fc11b859d PlatformPrePopulateRegistry() 1999-07-02 03:35:09 +00:00
dp%netscape.com 6617ee15f9 Caching of node names in nsIRegistryNode
Adding nsIRegistryNode::GetIID()
        - Thanks Dan Veditz
1999-07-02 03:34:08 +00:00
scc%netscape.com f79508bc68 |nsISupports::GetIID()| --> |nsCOMTypeInfo<nsISupports>::GetIID()| 1999-06-29 21:01:31 +00:00
mcafee%netscape.com 7f42e390e5 BeOS changes 1999-06-29 10:27:58 +00:00
dp%netscape.com b128f5296b Enable PR_LOGs on release builds. 1999-06-28 21:51:46 +00:00
dp%netscape.com 0138944633 Removing course grain locking since finer grain locking is implemented
in nsRegistry.
1999-06-22 21:49:26 +00:00
dp%netscape.com 65fc0e7499 XPCOM switched to using nsIFileSpec. 1999-06-22 14:02:58 +00:00
dp%netscape.com 7cc37791bf 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 c8a1554978 - 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 ec7f1d00a9 Fixed crash due to multi-threading. bug# 7308, bug# 8150 1999-06-18 23:27:09 +00:00
dp%netscape.com beb9e00fa7 Removing xcDllStore.cpp from the build. 1999-06-16 00:27:13 +00:00
bruce%cybersight.com 26e044b8e0 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 462e42b5b3 - NS_RegistryGetFactory API Change
- QuickRegister eliminated
1999-06-14 02:07:03 +00:00
dp%netscape.com 3fa056d7b0 Using new Component Registry 1999-06-09 19:18:24 +00:00
dp%netscape.com 891afaf041 Well Known Component Registry in <exedir>/component.reg implemented. 1999-06-09 19:16:38 +00:00
waterson%netscape.com 402b1dcdaa 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 fc72cdd605 Remove NS_ASSERTION calls from nsService class. 1999-06-05 02:44:40 +00:00
briano%netscape.com 8699ea0019 Handle the (Unix) platform-specific DLL naming conventions properly. 1999-06-04 22:17:30 +00:00
warren%netscape.com 9e109c9eb6 Fixed GenericFactory linkage problems. 1999-06-03 21:51:14 +00:00
dp%netscape.com 98d11bbae8 Checking for NULL progid. This should return correct error values from RegisterComponent() 1999-05-28 06:06:14 +00:00
bruce%cybersight.com 442b3d4f6e Remove local shadowing of variable. 1999-05-28 05:29:26 +00:00
dp%netscape.com 87abaa38bd Adding progid and classname 1999-05-27 22:47:27 +00:00
sspitzer%netscape.com c6e0e5e2df cvs ignorage for xpcom2 landing 1999-05-26 17:51:05 +00:00
dp%netscape.com 94344009c8 Landing xpcom20/21 branch. 1999-05-26 01:38:36 +00:00
dp%netscape.com 34b30431ba Initial version 1999-05-18 09:11:01 +00:00
waterson%netscape.com 3ea7cf781b 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 f0a87da737 Removing old files now generated by IDL (to avoid future screw ups). 1999-05-13 08:48:47 +00:00
beard%netscape.com e61c14bbeb 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 ff6dae2ffa 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 f515159591 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 2f513cd724 Landing M6 XPCOM Code cleanup branch 1999-05-06 13:29:37 +00:00
dveditz%netscape.com e90a239bae minor startup performance improvement 1999-05-06 04:19:06 +00:00
alecf%netscape.com bc86f401e7 back out my warning fix (proper fix on the way) 1999-05-04 22:33:10 +00:00
alecf%netscape.com afcaf48d54 fix some warnings about initializing variables in constructors 1999-05-04 21:09:03 +00:00
warren%netscape.com dbb21cf3e6 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 0efe747731 Added better comment about NS_WITH_SERVICE. 1999-04-21 21:28:16 +00:00
dp%netscape.com f562822847 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 4c4cf91bec 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 10c331806e 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 e6ced9c464 output results of new factory's CreateInstance() 1999-04-06 05:06:47 +00:00
dp%netscape.com 5c8e1841b2 Log message on RegisterFactory() change. 1999-04-05 04:32:36 +00:00
dp%netscape.com 11e97a3f9f Returning servicemanager from NS_InitXPCOM() 1999-04-05 04:32:08 +00:00
dp%netscape.com 7dabd08e7f Registry strings cleanup. Thanks to Nicholas Ambrose <nick87@hotmail.com> 1999-04-05 00:07:18 +00:00
waterson%netscape.com 0c12345a07 Fix build bustage on Win32. 1999-04-02 21:13:20 +00:00
dp%netscape.com 146db3b3fb API Cleanup. 1999-04-02 20:28:22 +00:00
warren%netscape.com 12179cbf41 Added progID versions of methods to nsServiceManager (the static interface). 1999-04-02 05:17:42 +00:00
dp%netscape.com b034a8fa51 More threadsafeness. 1999-04-01 06:45:50 +00:00
dp%netscape.com a855a3539a XPCOM used nsIRegistry. Thanks to Nicholas Ambrose <nick87@hotmail.com> 1999-03-31 07:04:12 +00:00
dp%netscape.com 1c9c3e6b34 Fixed nsIRegistry implementation. ready for use. Thanks to Nicholas Ambrose <nick87@hotmail.com> 1999-03-31 06:28:36 +00:00
dp%netscape.com 57d0fe1bd0 Removing xcDllStore.cpp 1999-03-31 06:18:51 +00:00
sspitzer%netscape.com 02f6ac9eb9 remove a warning
too many warnings and people will ignore them
1999-03-30 15:11:30 +00:00
dp%netscape.com c2937307d6 Thread Safe nsHashtable (on demand only) 1999-03-30 08:15:39 +00:00
waterson%netscape.com 89e53b21e2 Changed RDF progids to use forward-slashes instead of pipes. 1999-03-30 01:09:24 +00:00
warren%netscape.com 895cbeb457 Added ShutdownGlobalServiceManager 1999-03-27 02:22:33 +00:00
dp%netscape.com d56049e04f One more point where load fail is detected. Adding error message 1999-03-26 18:49:46 +00:00
dp%netscape.com e421ba61c2 Showing a error message when lib loading fails. 1999-03-26 18:23:04 +00:00
ftang%netscape.com 5fc6e9fb4c 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 c9dfe1ee12 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 fc4196f07a Added ProgID versions of RegisterService and UnregisterService. 1999-03-24 00:40:29 +00:00
dp%netscape.com b900869c23 InitXPCOM() : For a defined initialization sequence of xpcom global objects and components. 1999-03-23 23:28:32 +00:00
dp%netscape.com d91f32f0f5 Adding PROGID and CLASSNAME to the header.
Adding GetIID()
1999-03-23 23:00:45 +00:00
dp%netscape.com 13372716ec Patch for unsigned vs signed warnings. Thanks to <bruce@cybersight.com> 1999-03-21 19:26:32 +00:00
warren%netscape.com a1de56ad0d Added nsHashtable::Exists. Renamed nsProgIDKey to nsCStringKey (what it is). 1999-03-19 05:51:49 +00:00
warren%netscape.com f169d7579e Added NS_WITH_SERVICE1 macro. 1999-03-19 05:48:49 +00:00
dp%netscape.com f40fa2de73 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 3bd88c9bdf 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 bfad54a2ee Descriptor Leak fixed. Thanks to bruce@cybersight.com 1999-03-12 19:49:31 +00:00
dp%netscape.com 82188ec99d Using nsHashtable and nsProgIDKey for dll hashing 1999-03-12 11:25:17 +00:00
dp%netscape.com 38a1ba3588 Forcing XPCOM registry recreation 1999-03-12 08:53:45 +00:00
dp%netscape.com a7a1e56945 PC: Disabling autoregistration at initialization. It will be done by the app. 1999-03-12 08:52:56 +00:00
dp%netscape.com 63ec363dda Unix: Autoregistration disabled at initialization. This should be done by app. 1999-03-12 00:05:54 +00:00
dp%netscape.com e11be739ca creating ~/.mozilla under unix if not already there. 1999-03-11 07:44:23 +00:00
dp%netscape.com 1f0706e2d1 Removing unused variable. 1999-03-10 23:30:25 +00:00
warren%netscape.com 15c5137cf6 Added progID version of GetService. Fixed up nsService to not be a template. 1999-03-10 22:53:17 +00:00
dp%netscape.com f6148529ea Adding error messages when loading fails. 1999-03-10 22:07:34 +00:00
dp%netscape.com c64e0b5054 changing to correct indent style and tabs. Beautify... 1999-03-10 09:53:25 +00:00
dp%netscape.com c3220b48e7 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 5a4c5d7eac 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 c2192b4a62 registry version to 0.40 for component manager change 1999-03-09 21:31:33 +00:00
ramiro%netscape.com eb2ce0674f 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 44568143d6 Backed out the nsService template stuff. 1999-03-09 11:49:41 +00:00
warren%netscape.com 088146892f Commented out template because linux isn't happy with it. 1999-03-09 11:12:23 +00:00
warren%netscape.com f9997f752e Fixed path separator. 1999-03-09 10:20:01 +00:00
warren%netscape.com a8bace7801 Trying a hack to see if I can make linux happy. 1999-03-09 10:15:54 +00:00
warren%netscape.com f1e85d538a Workaround for sun386i breakage. 1999-03-09 10:07:02 +00:00
warren%netscape.com 4b2d56fbaa nsRepository -> nsIComponentManager changes. 1999-03-09 09:44:27 +00:00
dp%netscape.com 18ad8fba88 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 8a849f863a 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 283928a5a6 Bumping nsRepository version string to force registry to be cleaned 1999-03-06 09:11:05 +00:00
dp%netscape.com 1576712e2f dist/bin/components is where all loadable components will be installed. 1999-03-06 09:04:53 +00:00
rjc%netscape.com e123cebbe9 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 2ec0a397ea rename |IID()| --> |GetIID()| 1999-03-03 19:48:57 +00:00
brade%netscape.com b3ff8e7d90 remove unused local variable in #ifdef XP_MAC section 1999-03-03 15:29:56 +00:00
beard%netscape.com 19dc7e5b59 moved NS_CALLBACK to nsCom.h. 1999-03-03 04:09:33 +00:00
dp%netscape.com 1daed4fa4c 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 06a110237c Installing loadable components in components/ directory 1999-03-03 01:25:21 +00:00
waterson%netscape.com c361814ef3 Added ProgIDToCLSID cache. 1999-03-03 01:18:15 +00:00
cyeh%netscape.com d9f55cbdaf 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 cb747fecb4 (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 f8887c33ae SetDestructor 1999-02-28 19:04:47 +00:00
mcmullen%netscape.com ad100ee7aa REALLY add nsRegistry and libreg to the Mac build. 1999-02-28 00:24:53 +00:00
dp%netscape.com def5708745 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 2880dab2be 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 ffbd0ef6da 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 6756268744 add IID() method 1999-02-27 03:16:56 +00:00
ebina%netscape.com 89821bbf93 Remove support for the old RegisterFactory API. 1999-02-27 02:06:54 +00:00
dp%netscape.com ede16838d2 Adding platformVersionCheck() into USE_REG ifdef 1999-02-26 19:28:42 +00:00
dp%netscape.com 4d29306696 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 8bbb442e62 Fixed #endif for non-registry builds. 1999-02-26 10:55:07 +00:00
warren%netscape.com 44cae3cd3f 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 98702cb2df 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 7177b7546d now implements nsIGenericFactory. 1999-02-26 04:08:26 +00:00
beard%netscape.com 2f1f98057b First Checked In. 1999-02-26 04:05:14 +00:00
law%netscape.com ce6acb6643 Adding nsRegistry to win32 build 1999-02-25 19:20:39 +00:00
alecf%netscape.com 5bac967f53 forgot to capitalize a variable 1999-02-25 17:52:33 +00:00
alecf%netscape.com 265a6ea2ce fix for BSD/OS 3.1 1999-02-25 17:26:22 +00:00
ebina%netscape.com c52ac55676 Stub in the new RegisterFactory API in preparation for removing the old one. 1999-02-25 16:07:31 +00:00
beard%netscape.com 289f70aaba First Checked In. 1999-02-25 04:41:02 +00:00
alecf%netscape.com ad633f93cb fix BSD/OS 3.1 bustage 1999-02-24 18:23:26 +00:00
alecf%netscape.com 5d552b3ccf update to use new nsCID type 1999-02-24 02:07:28 +00:00
alecf%netscape.com 5428094f00 update uuid's to match real definitions 1999-02-23 19:36:23 +00:00
warren%netscape.com 01dd4f0ed6 Cleaned up nsICollection and nsIEnumerator. Broke out nsIBidirectionalEnumerator. Added ISupportsArray enumerator. Cleaned nsISupportsArray. 1999-02-23 08:10:24 +00:00
mcmullen%netscape.com 23ae585495 Remove the illegal semicolon after extern "C" {} 1999-02-22 22:25:10 +00:00
alecf%netscape.com 31a264e038 update IDL files to be closer to real headers 1999-02-20 03:11:52 +00:00
sfraser%netscape.com 5c257742fe 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 fbcb42974f changing nsIEnumerator to use NS_IMETHOD not virtual nsresult 1999-02-19 23:43:20 +00:00
sfraser%netscape.com ed07fb174e 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 1581c74987 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 e6a074a940 Forgot to ifdef USE_REGISTRY which was breaking the MAC. 1999-02-18 17:18:06 +00:00
ebina%netscape.com b01dc22f0f Add public functions RegisterComponent, UnregisterComponent, and ProgIDToCLSID 1999-02-18 16:58:22 +00:00
rjc%netscape.com 429e50b781 Small fix for path separators. 1999-02-18 01:43:22 +00:00
rjc%netscape.com 3c55ff2cfd Fix XPCom on Mac so that autoregistration of .shlb files work. 1999-02-18 00:24:38 +00:00
dp%netscape.com e8140685fb 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 6e62333865 moz->ns 1999-02-10 23:27:09 +00:00
law%netscape.com 468d400a24 Cleaned up i/f, XPCOM-wise 1999-02-10 19:47:56 +00:00
dp%netscape.com a2ba024f99 Removing wrong delete. 1999-02-09 21:21:30 +00:00
dp%netscape.com dacc61684c Commenting FACTORY2 1999-02-09 21:06:34 +00:00
dp%netscape.com 9c7afd4d32 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 2a44b3393f Added new constructor that takes lastmodtime and size 1999-02-09 20:30:34 +00:00
dp%netscape.com 657b0a8124 variable id changes + commenting CreateInstance2() 1999-02-09 20:29:46 +00:00
kipp%netscape.com 648d55615b Disable auto-registration of dll's for unix for now 1999-02-08 19:16:29 +00:00
dp%netscape.com b5fed16bfa 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 afa1d5e94f Beauty is the essence of life 1999-02-06 23:23:58 +00:00
dp%netscape.com 7d9b25cacf PRTime is 64 bit. Cant use ==. Using LL_EQ macro. 1999-02-06 21:24:52 +00:00
dp%netscape.com ff1f3604d3 satisfy mac compiler 1999-02-06 21:19:11 +00:00
dp%netscape.com ed8a9c890c Fixing ptr==int comparisons to satify linux compilers 1999-02-06 20:53:42 +00:00
dp%netscape.com 7ab04f5177 Auto registration of xpcom components 1999-02-06 20:43:10 +00:00
dp%netscape.com 523f5aed85 Auto registration of xpcom components. 1999-02-06 20:39:40 +00:00
dp%netscape.com d8c00bb62e Fixing warnings on order of default initialization 1999-02-06 20:27:16 +00:00
dp%netscape.com fed7917048 Fixing linux orange tree. 1999-02-03 18:49:04 +00:00
dp%netscape.com 929c20bb9f adding ns prefix to private classes namespace 1999-02-03 15:39:13 +00:00
dp%netscape.com 704fe62ecb landing XPCOM_19990201_BRANCH 1999-02-03 07:03:17 +00:00
law%netscape.com 4b529759cc Fixed off-by-one bug in Next() 1999-02-02 07:43:23 +00:00
dp%netscape.com 2e680185ec Dll Hash table 1999-02-01 22:41:22 +00:00
dp%netscape.com c1ff8cabbd Dll abstraction 1999-02-01 22:40:48 +00:00
law%netscape.com 84d13fa13f new mozIRegistry interface 1999-01-28 03:36:37 +00:00
warren%netscape.com e14885b342 Added nsIAllocator and implementation. Made service manager services sticky'. 1999-01-27 02:02:22 +00:00
sudu%netscape.com c94385ee94 OJI MozClassic to raptor merge 1999-01-25 08:05:00 +00:00
law%netscape.com 2072da48f3 Updated with new enumerator protocols 1999-01-14 23:30:44 +00:00
rpotts%netscape.com 8878cbd2b4 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 6e266b92a5 Added new interface header; not yet building it 1999-01-07 21:04:21 +00:00
rpotts%netscape.com 9b80dfefd6 This is a templatized implementation of an XPCOM factory... 1999-01-04 08:44:26 +00:00
warren%netscape.com 0580a8e5c4 Networking changes: Reworked nsIURL, adding setters, factoring Open. Unsigned arguments for nsIStreamListener. 1998-12-16 05:40:20 +00:00
mjudge%netscape.com e404a37aab 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 e691ee06e5 Making nsMacRepository.h obsolete: the shared lib conversion is done. 1998-12-03 01:06:00 +00:00
beard%netscape.com c0c7bc482d Mac shared library migration. 1998-11-30 22:15:00 +00:00
jfrancis%netscape.com 8f3f49279e [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 4194c1b24a 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 5f168b14a3 Migrate mac hack, too. 1998-10-19 18:54:44 +00:00
scullin%netscape.com 25177cc6f6 Migrating public header files to public 1998-10-19 17:48:55 +00:00
pinkerton%netscape.com 54ab1acd23 fix link problems on mac. 1998-09-29 17:16:06 +00:00
kipp%netscape.com 78e46713a2 Register libraries with the refcnt tracer 1998-09-12 19:25:28 +00:00
warren%netscape.com b89e7efaca Renamed NSRepository to nsRepository. 1998-09-01 00:26:28 +00:00
warren%netscape.com 71e9f3f5ea Changed NSServiceManager to nsServiceManager. 1998-09-01 00:17:47 +00:00
warren%netscape.com 9b1d14ae7e Added class ID to OnShutdown. 1998-08-28 21:47:44 +00:00
warren%netscape.com 6587ecb0af Added service manager mechanism. 1998-08-28 21:28:35 +00:00
warren%netscape.com dff0de499c Added service manager mechanism. 1998-08-28 21:25:34 +00:00
troy%netscape.com 9359a28c94 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 727af6158b include nsMacRepository.h 1998-08-05 08:22:38 +00:00
warren%netscape.com c9bd5d8074 Landing changes in the OJI_19980727_BRANCH since the OJI_19980727_TIP_MERGE tag. 1998-07-31 20:19:50 +00:00
scullin ccfef80b32 Added NSPR logging. Set NSPR_LOG_MODULES=NSRepository:4 to get
bunches o' logging.
1998-06-02 19:54:52 +00:00
hardts 6bcb19ce6f landing XPCOM_BRANCH 1998-05-22 21:56:30 +00:00
scullin 667151e787 NSPR related changes submitted by wtc. 1998-04-22 00:05:08 +00:00
ltabb 3b56a9af51 Free the lizard 1998-03-28 02:44:41 +00:00