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

760 Коммитов

Автор SHA1 Сообщение Дата
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