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

409 Коммитов

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