96 Commits

Author SHA1 Message Date
dp%netscape.com
69df3f9c47 Bumping nsRepository version string to force registry to be cleaned
git-svn-id: svn://10.0.0.236/trunk@23059 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 09:11:05 +00:00
dp%netscape.com
a6d34909ca dist/bin/components is where all loadable components will be installed.
git-svn-id: svn://10.0.0.236/trunk@23058 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 09:04:53 +00:00
rjc%netscape.com
b668b7ec9b 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).
git-svn-id: svn://10.0.0.236/trunk@22761 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-04 03:01:33 +00:00
scc%netscape.com
817f56596f rename |IID()| --> |GetIID()|
git-svn-id: svn://10.0.0.236/trunk@22744 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 19:48:57 +00:00
brade%netscape.com
5ac6f5b4a8 remove unused local variable in #ifdef XP_MAC section
git-svn-id: svn://10.0.0.236/trunk@22730 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 15:29:56 +00:00
beard%netscape.com
320d4de322 moved NS_CALLBACK to nsCom.h.
git-svn-id: svn://10.0.0.236/trunk@22691 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 04:09:33 +00:00
dp%netscape.com
787945c1bd Forcing registry upgrade to alpha0.30 due to autoreg beginning at ./components instead of ./
git-svn-id: svn://10.0.0.236/trunk@22678 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 02:17:57 +00:00
dp%netscape.com
2cce57d913 Installing loadable components in components/ directory
git-svn-id: svn://10.0.0.236/trunk@22666 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 01:25:21 +00:00
waterson%netscape.com
a1cd895bd4 Added ProgIDToCLSID cache.
git-svn-id: svn://10.0.0.236/trunk@22656 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 01:18:15 +00:00
cyeh%netscape.com
85f0f03d2a knod of the head to sfraser, for reminding me that you need to also initialize processInfoRec with the size of the process record.
git-svn-id: svn://10.0.0.236/trunk@22477 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 00:34:49 +00:00
cyeh%netscape.com
51f89d1297 (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.


git-svn-id: svn://10.0.0.236/trunk@22475 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 00:03:30 +00:00
beard%netscape.com
2e0ae08fae SetDestructor
git-svn-id: svn://10.0.0.236/trunk@22403 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 19:04:47 +00:00
mcmullen%netscape.com
1ef728f3b2 REALLY add nsRegistry and libreg to the Mac build.
git-svn-id: svn://10.0.0.236/trunk@22377 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 00:24:53 +00:00
dp%netscape.com
5c7abd2ef9 Code cleanup. Added comments. PR_LOG() cleanup. I think I will do my haircut too...
git-svn-id: svn://10.0.0.236/trunk@22362 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 09:50:19 +00:00
dp%netscape.com
a6760a0dec Clode cleanup. Abstracted registry access code that does ProgID into functions platformProgIDToCLSID() and platformCLSIDToProgID()
git-svn-id: svn://10.0.0.236/trunk@22355 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 08:58:11 +00:00
dp%netscape.com
2d630f0db3 Changed comment to indicate that Quick Registration via the quick register data structure isn't for prime time yet.
git-svn-id: svn://10.0.0.236/trunk@22352 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 08:56:21 +00:00
alecf%netscape.com
8dfc6228f7 add IID() method
git-svn-id: svn://10.0.0.236/trunk@22301 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 03:16:56 +00:00
ebina%netscape.com
acfa7037f5 Remove support for the old RegisterFactory API.
git-svn-id: svn://10.0.0.236/trunk@22283 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 02:06:54 +00:00
dp%netscape.com
61bf5c1e54 Adding platformVersionCheck() into USE_REG ifdef
git-svn-id: svn://10.0.0.236/trunk@22192 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 19:28:42 +00:00
dp%netscape.com
d4b13c8710 Implemented versioning of the repository hieararchy under the registry. Also changed storing longlongs to ints into the registry.
git-svn-id: svn://10.0.0.236/trunk@22175 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 18:41:37 +00:00
warren%netscape.com
513a79704b Fixed #endif for non-registry builds.
git-svn-id: svn://10.0.0.236/trunk@22095 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 10:55:07 +00:00
warren%netscape.com
49ed8e046f Changes for RDF component registration using nsRepository. Also changed args to NSGetFactory and friends.
git-svn-id: svn://10.0.0.236/trunk@22094 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 10:17:14 +00:00
beard%netscape.com
1a8100e0c5 Fixing callback typedef, using new NS_CALLBACK macro which will be moved to nsCom.h when it proves itself.
git-svn-id: svn://10.0.0.236/trunk@22069 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 04:30:17 +00:00
beard%netscape.com
fe425b96af now implements nsIGenericFactory.
git-svn-id: svn://10.0.0.236/trunk@22061 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 04:08:26 +00:00
beard%netscape.com
bf9e88cca3 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@22058 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 04:05:14 +00:00
law%netscape.com
771c27f26f Adding nsRegistry to win32 build
git-svn-id: svn://10.0.0.236/trunk@21950 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 19:20:39 +00:00
alecf%netscape.com
572519680a forgot to capitalize a variable
git-svn-id: svn://10.0.0.236/trunk@21925 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 17:52:33 +00:00
alecf%netscape.com
aa43fb61a4 fix for BSD/OS 3.1
git-svn-id: svn://10.0.0.236/trunk@21912 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 17:26:22 +00:00
ebina%netscape.com
c80f10297f Stub in the new RegisterFactory API in preparation for removing the old one.
git-svn-id: svn://10.0.0.236/trunk@21897 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 16:07:31 +00:00
beard%netscape.com
98967931ba First Checked In.
git-svn-id: svn://10.0.0.236/trunk@21864 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 04:41:02 +00:00
alecf%netscape.com
471aaedbd9 fix BSD/OS 3.1 bustage
git-svn-id: svn://10.0.0.236/trunk@21774 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 18:23:26 +00:00
alecf%netscape.com
aa1a54ce38 update to use new nsCID type
git-svn-id: svn://10.0.0.236/trunk@21669 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 02:07:28 +00:00
alecf%netscape.com
2a1ae998ee update uuid's to match real definitions
git-svn-id: svn://10.0.0.236/trunk@21639 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 19:36:23 +00:00
warren%netscape.com
cb10d9f3a0 Cleaned up nsICollection and nsIEnumerator. Broke out nsIBidirectionalEnumerator. Added ISupportsArray enumerator. Cleaned nsISupportsArray.
git-svn-id: svn://10.0.0.236/trunk@21585 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 08:10:24 +00:00
mcmullen%netscape.com
2f12896d48 Remove the illegal semicolon after extern "C" {}
git-svn-id: svn://10.0.0.236/trunk@21489 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 22:25:10 +00:00
alecf%netscape.com
0b6134db08 update IDL files to be closer to real headers
git-svn-id: svn://10.0.0.236/trunk@21388 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 03:11:52 +00:00
sfraser%netscape.com
83a34ecac9 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.
git-svn-id: svn://10.0.0.236/trunk@21366 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 01:07:31 +00:00
mjudge%netscape.com
a811da51ec changing nsIEnumerator to use NS_IMETHOD not virtual nsresult
git-svn-id: svn://10.0.0.236/trunk@21356 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 23:43:20 +00:00
sfraser%netscape.com
70f30c1dcc This is a temporary fix for the Mac crash on launch; don't call AutoRegister on Mac. Approved by sar
git-svn-id: svn://10.0.0.236/trunk@21352 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 23:28:49 +00:00
dp%netscape.com
30a7157140 Hacked to remove ./ when we PR_LoadLibrary() dlls of the type ./library.so
This improves memory a bit.


git-svn-id: svn://10.0.0.236/trunk@21215 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 22:37:35 +00:00
ebina%netscape.com
c3ed0b23da Forgot to ifdef USE_REGISTRY which was breaking the MAC.
git-svn-id: svn://10.0.0.236/trunk@21154 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 17:18:06 +00:00
ebina%netscape.com
de89022e76 Add public functions RegisterComponent, UnregisterComponent, and ProgIDToCLSID
git-svn-id: svn://10.0.0.236/trunk@21148 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 16:58:22 +00:00
rjc%netscape.com
c5b77f467b Small fix for path separators.
git-svn-id: svn://10.0.0.236/trunk@21086 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 01:43:22 +00:00
rjc%netscape.com
b1a6ff20f0 Fix XPCom on Mac so that autoregistration of .shlb files work.
git-svn-id: svn://10.0.0.236/trunk@21059 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 00:24:38 +00:00
dp%netscape.com
1215f65f26 Fixed dll not being unloaded if registrations filed. Also, returning more appropriate error messages
git-svn-id: svn://10.0.0.236/trunk@20819 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-16 19:34:10 +00:00
law%netscape.com
d385a92372 moz->ns
git-svn-id: svn://10.0.0.236/trunk@20305 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 23:27:09 +00:00
law%netscape.com
f91535f863 Cleaned up i/f, XPCOM-wise
git-svn-id: svn://10.0.0.236/trunk@20282 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 19:47:56 +00:00
dp%netscape.com
79ea35270e Removing wrong delete.
git-svn-id: svn://10.0.0.236/trunk@20171 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 21:21:30 +00:00
dp%netscape.com
d1401ae1e7 Commenting FACTORY2
git-svn-id: svn://10.0.0.236/trunk@20168 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 21:06:34 +00:00
dp%netscape.com
2dec274052 Major repository upgrade to use a presistent regitry. We use libreg/ directly (NR_*() functions) for now.
git-svn-id: svn://10.0.0.236/trunk@20166 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 20:31:24 +00:00