Commit Graph

569 Commits

Author SHA1 Message Date
jband%netscape.com
d8830cee22 adding modifications to support enumeration of interfaces from Robert Ginda <rginda@ix.netcom.com> 1999-08-04 06:13:05 +00:00
briano%netscape.com
5ca4aa0b87 Trivial elimination of some pointless macros as discussed in bug 8568. Approved by leaf@mozilla.org. 1999-07-29 01:18:12 +00:00
sfraser%netscape.com
e45ae9e281 Change ResolveAlias to ResolveSymlink. dougt should have done this. 1999-07-27 23:05:53 +00:00
dougt%netscape.com
5adb63dcaf Fix for bug 10177 and 10041. 1999-07-26 22:09:42 +00:00
jband%netscape.com
48912de6ac Adding NT Alpha only makefile rule for asm from bob meader <bob@guiduck.com> 1999-07-24 21:56:17 +00:00
jband%netscape.com
63a9507a57 update to xptcall status page 1999-07-24 21:54:38 +00:00
jband%netscape.com
d5d6f63fa9 transposed two letters in a comment 1999-07-24 21:53:11 +00:00
jband%netscape.com
0a012c1d28 NT Alpha only change to rename misnamed file and to add a bunch of casting. From 1999-07-24 21:20:56 +00:00
jband%netscape.com
a091a7130d adding a mising '$' in the open vms only part 1999-07-22 22:24:59 +00:00
mccabe%netscape.com
459c3adbcb Warning fix. 1999-07-22 10:48:05 +00:00
jband%netscape.com
6ffca71859 changing 'this' adjust scheme for BSD/OS per request from Bert Driehuis <bert_driehuis@nl.compuware.com> 1999-07-20 08:11:41 +00:00
rogerl%netscape.com
c00458de39 Fixed MI dispatch and cleaned up branch slots. 1999-07-19 20:18:02 +00:00
jband%netscape.com
d0bb997153 doing an explict cast of float to double in printf args in test 1999-07-19 19:43:53 +00:00
jband%netscape.com
59c49fd523 adding Linux ARM code contributed by Stefan Hanske <sh990154@mail.uni-greifswald.de> 1999-07-19 02:57:59 +00:00
jband%netscape.com
ef07621383 reducing the count of stubs entries in the xptcstubs* vtbl (down to 128 from 256) to reduce footprint and to make Linux ARM happy 1999-07-19 02:56:39 +00:00
jband%netscape.com
4c6c13185a fix for bug 10033 - failing to resolve at runtime interfaces that were forward declared in one xpt file and resolved in another xpt file. r: mccabe 1999-07-17 03:10:31 +00:00
rogerl%netscape.com
abf95232e0 Return register count from invoke_count so that we can load only the
appropriate registers.
1999-07-16 22:19:34 +00:00
jband%netscape.com
7bb0e677bc just setting the tab-width 1999-07-16 04:21:43 +00:00
jband%netscape.com
3e8f3a99d0 updating status page - not part of the build 1999-07-16 04:00:13 +00:00
scc%netscape.com
ab2352e498 switched over to _not_ using |__comobject|. Adjusted assembly to skip extra vtable header, and fixed inheritance in |nsISupports| 1999-07-15 03:02:01 +00:00
jband%netscape.com
106305d41b lots of xptcall changes:
1) OpenVMS Linux from Colin R. Blake <colin@theblakes.com>.
2) Irix from Jason Heirtzler <jasonh@m7.engr.sgi.com>.
3) Linux Alpha from Glen Nakamura <glen.nakamura@usa.net>.
4) NT Alpha from bob meader <bob@guiduck.com>.
5) x86 'this' adjust code for old or new style from Duncan Wilcox <duncan@be.com>.
6) vtbl layout test from Bert Driehuis <bert_driehuis@nl.compuware.com>.
7) improved invoke test to catch 'this' adjustment errors.
8) updated status page.
1999-07-15 02:43:23 +00:00
briano%netscape.com
0e951ec9de Fix for BSDI. 1999-07-15 02:21:21 +00:00
briano%netscape.com
eeca469d06 Workaround for platforms that don't have --whole-archive (or equivalents). 1999-07-14 22:58:39 +00:00
ramiro%netscape.com
79a75b4320 Use DEFINES instead of CFLAGS. 1999-07-07 08:13:01 +00:00
jband%netscape.com
70263da324 updating xptcall status page 1999-07-06 22:57:45 +00:00
briano%netscape.com
efeff0f1a5 Better way to deal with IRIX-specific problem with xptcstubs_asm_irix.s. 1999-07-06 22:52:20 +00:00
jband%netscape.com
572736fb18 added MultipleInheritence xptcall invoke test 1999-07-05 21:31:25 +00:00
briano%netscape.com
48118e9610 Looks like we'll need IRIX -o32 files as well (for IRIX 5.x and earlier). 1999-07-03 02:58:38 +00:00
dveditz%netscape.com
0eb6c820cf nakefile cleanups 1999-07-02 13:42:17 +00:00
dp%netscape.com
b46fdbf168 Removing old RegisterComponent calls as these are inbuilt into XPCOM 1999-07-02 03:50:44 +00:00
jdunn%netscape.com
2e51fe79aa partical fix for the stubs call on AIX 1999-07-01 18:16:34 +00:00
jband%netscape.com
e06dbc9ea9 doing my part for bug 8227 1999-06-29 21:15:31 +00:00
mcafee%netscape.com
a174d8f82e Changes for OS/2. Patch provided by Eric Olson (eric.olson@sympatico.ca) 1999-06-28 23:11:18 +00:00
briano%netscape.com
703ae26edd Fix for OpenBSD and potentially Solaris/x86. 1999-06-25 01:06:49 +00:00
briano%netscape.com
7d4256d61b Fix for OpenBSD, and potential fix for Solaris/x86. 1999-06-24 03:49:33 +00:00
briano%netscape.com
2d90d87296 Fixed the breakage in the IRIX 6.3 build caused by a problem with the compiler/assembler combination (?). 1999-06-24 01:35:52 +00:00
Jerry.Kirk%Nexwarecorp.com
0ac3189ed5 - Adding code to support Neutrino OS. Had to use the OS_TARGET
- variable instead of OS_ARCH because Neutrino is still cross-compiled.
1999-06-21 19:58:48 +00:00
jband%netscape.com
c38eddc1d0 updating status page 1999-06-14 22:33:18 +00:00
jband%netscape.com
da093b18b7 adding BeOS x86 changes from Duncan Wilcox <duncan@be.com> 1999-06-14 22:17:41 +00:00
mccabe%netscape.com
e77a2e4553 Remove vestiges of BUILD_XPIDL and USE_XPIDL from the build. 1999-06-12 09:29:46 +00:00
jband%netscape.com
f2ca9e4574 fix Mac breakage 1999-06-12 06:00:03 +00:00
jband%netscape.com
ce9447b3ea another try for this code needed to make Irix work (with fixed dll export stuff this time) 1999-06-12 04:29:12 +00:00
mcafee%netscape.com
b12f8322a1 Updating last-changed date to match cvs log. 1999-06-11 04:01:22 +00:00
Jerry.Kirk%Nexwarecorp.com
88ed09eaff - Changing #ifdef to support both GCC 2.7 and 2.8 and adding support
for NTO platform.
1999-06-09 12:34:07 +00:00
jband%netscape.com
e13ebb6f4e Fix build bustage. Will come back and do it right 1999-06-08 22:49:01 +00:00
jband%netscape.com
322f8084b6 Adding Irix implementation from Jason Heirtzler <jasonh@cthulhu.engr.sgi.com> 1999-06-08 21:49:30 +00:00
briano%netscape.com
28e4c7fea6 Oops, forgot to add the braces.... 1999-06-05 01:57:35 +00:00
briano%netscape.com
9a0e6dfc01 Fix for platforms that don't support long longs. 1999-06-05 01:07:50 +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
cbbfa208f8 IDLized stream interfaces. Required rename of overloaded Write method (now WriteFrom). 1999-06-03 21:50:47 +00:00
waterson%netscape.com
b871cd51bb Replace NS_IS_ERROR() with NS_FAILED(): NS_IS_ERROR() is buggy and redundant. 1999-06-03 20:25:15 +00:00
jband%netscape.com
ef883771fc updating status page 1999-06-02 23:28:23 +00:00
jband%netscape.com
746bfe57e4 another patch from khym@bga.com (Dave Huang) 1999-06-02 03:49:30 +00:00
jband%netscape.com
5d03cce510 platform check contributed by Bert Driehuis <bert_driehuis@nl.compuware.com> 1999-06-02 02:35:00 +00:00
jband%netscape.com
464d9eeb86 adding netbsd m68k support contributed by khym@bga.com (Dave Huang) 1999-06-02 02:26:38 +00:00
jband%netscape.com
dd6abc2c4a removing this unused and ill-named file 1999-06-02 01:47:19 +00:00
jband%netscape.com
de6e3b6a69 updated status page 1999-06-02 01:25:08 +00:00
jband%netscape.com
b5eae98789 use only C style comments in these files to make Irix happy 1999-06-02 00:57:32 +00:00
jband%netscape.com
c448b728e4 updating paths to new location of this directory and updating status page 1999-05-31 19:48:25 +00:00
jdunn%netscape.com
589ecce26c Add AIX/ppc source files for compiling 1999-05-27 02:56:47 +00:00
jdunn%netscape.com
11e33bca9a xptcall files for PowerPC/POWER/POWER2 architecture for AIX 1999-05-27 02:56:03 +00:00
beard%netscape.com
ac136c368f added prlog.h, prprf.h since since xpt_xdr.h no longer includes nspr headers. 1999-05-26 23:20:22 +00:00
sspitzer%netscape.com
c6e0e5e2df cvs ignorage for xpcom2 landing 1999-05-26 17:51:05 +00:00
dp%netscape.com
a54a346f39 reversing previous change 'cause I added the missing to xpcom/build/dlldeps.cpp
and things work.
1999-05-26 04:43:01 +00:00
dp%netscape.com
7c7fc290b3 I dont have a clue why I need this. If I dont add the xptinfo.lib
to the link line, I get a undefined for _XPTI_GetInterfaceInfoManager

Some windows dude should fix this.
1999-05-26 04:16:23 +00:00
dp%netscape.com
94344009c8 Landing xpcom20/21 branch. 1999-05-26 01:38:36 +00:00
warren%netscape.com
0142cb7a14 Added 1999-05-18 21:43:13 +00:00
dp%netscape.com
1a52db2035 Rolling over from initial XPCOM 2.0 changes 1999-05-18 09:19:05 +00:00
kipp%netscape.com
93258cd0bc Fix makefile glitch 1999-05-12 00:15:22 +00:00
mcafee%netscape.com
de36a26dbc Class nsprPath has been renamed to nsNSPRPath; straggler references were being converted with a typedef, this was confusing Solaris, so I'm converting all nsprPath references to the new name, hope that's Ok. 1999-05-10 05:34:26 +00:00
rogerl%netscape.com
b8ee8e6ec0 Forced conversion of result for I64 tests to int in call to printf. I
couldn't find a OS-independent format string for handling the I64.
1999-05-07 21:57:23 +00:00
rogerl%netscape.com
d23c738373 Fixed quad-word alignment issues, vTable layout problems. 1999-05-07 21:42:28 +00:00
jband%netscape.com
650d063dc9 updating status - added Digital Unix and notes on PPC code 1999-05-07 21:01:29 +00:00
jband%netscape.com
d8d1df5c50 changing wchar_t to PRUnichar because wchar_t is 32bits on some machines (Solaris) and PRUnichar is what we really mean anyway 1999-05-07 21:00:29 +00:00
beard%netscape.com
c2bdecff98 don't know how, but line endings got whacked. 1999-05-06 15:52:25 +00:00
beard%netscape.com
3d79101951 fixed stores of types smaller than sizeof(PRInt32) 1999-05-06 14:21:08 +00:00
beard%netscape.com
24007a6856 fixed floating point loads, vtable offset, r4 <- r6. 1999-05-06 14:19:34 +00:00
beard%netscape.com
05965b7454 First Checked In. 1999-05-06 14:16:15 +00:00
briano%netscape.com
2360b6da2a Added OpenBSD to the list. 1999-05-06 01:58:22 +00:00
briano%netscape.com
55d517229f This should prevent Solaris/x86 from overriding its CPPSRCS setting with that for sparc. 1999-05-06 01:57:02 +00:00
mcafee%netscape.com
d9cf4219c6 Adding Solaris/sparc and Solaris/intel 1999-05-06 00:49:31 +00:00
mcafee%netscape.com
748f7a4f12 Linker didn't seem to like _ prefix for function names, removing them fixes link errors. Adding license file. 1999-05-06 00:49:02 +00:00
mcafee%netscape.com
eb0004f84f Fixing link error (Solaris). 1999-05-06 00:48:09 +00:00
mcafee%netscape.com
139e241651 Fixing link errors (Solaris). 1999-05-06 00:47:40 +00:00
mcafee%netscape.com
6a2d36fa7a Adding license. 1999-05-05 06:07:50 +00:00
mcafee%netscape.com
e39af7cd0d Adding test to .cvsignore 1999-05-05 06:07:25 +00:00
mcafee%netscape.com
ef768be2fc Adding Makefile for Linux. 1999-05-05 06:06:33 +00:00
mcafee%netscape.com
b0f1e0c37e Adding changes for Solaris, commented-out so we don't break the current build. 1999-05-05 02:06:02 +00:00
mcafee%netscape.com
3f7f7be631 Typo? Fixing Solaris bustage. 1999-05-05 01:59:07 +00:00
mcafee%netscape.com
65bc3a5f88 These files have been renamed with _asm_ to distinguish them from cpp files, this unconfuses gcc. 1999-05-05 01:57:35 +00:00
mcafee%netscape.com
49552aa033 Renaming asm files to be different than cpp files so compiler doesn't get confused. xptcinvoke_sparc_solaris.s _. xptcinvoke_asm_sparc_solaris.s, xptcstubs_sparc_solaris.s -> xptcstubs_asm_sparc_solaris.s 1999-05-05 01:56:01 +00:00
waterson%netscape.com
393a1c1727 Don't set record->typelibRecord until we know that we're actually indexifying the typelib in which the interface lives. 1999-05-04 03:45:55 +00:00
jband%netscape.com
e8aff87d5a Support BSD OS and difference between gcc and egcs (thanks to Bert Driehui <bert_driehuis@nl.compuware.com>) 1999-05-04 03:38:05 +00:00
jband%netscape.com
6f7c0a35c6 Fix comical copy/paste error (thanks to Bert Driehui <bert_driehuis@nl.compuware.com>) 1999-05-04 03:36:21 +00:00
jband%netscape.com
5f290c510e updating status page 1999-05-04 03:34:45 +00:00
jband%netscape.com
47d20e9d19 ***NOT PART OF SEAMONKEY BUILD***. Updated status tracking doc. 1999-05-03 18:50:40 +00:00
jband%netscape.com
21354e122c ***NOT PART OF SEAMONKEY BUILD*** Updating status page to help track and coordinate platform specific code contributors to xptcall (needed for xpconnect) 1999-05-01 09:03:39 +00:00
jband%netscape.com
2abe346cc9 ***NOT PART OF SEAMONKEY BUILD*** Updating status page to help track and coordinate platform specific code contributors to xptcall (needed for xpconnect) 1999-05-01 08:23:36 +00:00
jband%netscape.com
626020fcce *** NOT PART OF SEAMONKEY BUILD*** Adding status page to help track and coordinate platform specific code contributors to xptcall (needed for xpconnect) 1999-04-30 23:25:12 +00:00
rogerl%netscape.com
9680ff220e !!! Not a part of SeaMonkey Build !!!
new sparc stub code + added missing initialization to invoke_copy
1999-04-29 21:34:25 +00:00
waterson%netscape.com
cb6a6ca9b8 Use nsFileSpec and nsDirectoryIterator to make the implementation fully XP. 1999-04-27 17:49:14 +00:00
bruce%cybersight.com
4fdf80796d Fix an array bounds write when writing to this->interfaceRecords[size] in the nsTypelibRecord constructor. 1999-04-27 04:06:33 +00:00
bruce%cybersight.com
c34e1526af Yet another linking error killing the unix tinderboxen. 1999-04-27 03:52:34 +00:00
bruce%cybersight.com
d872a41e60 Fix build bustage for this. 1999-04-27 03:14:57 +00:00
waterson%netscape.com
265cb8db39 Whoops. Don't force linkage: build ordering problem. 1999-04-26 23:59:44 +00:00
waterson%netscape.com
c3bd0744bd Add linker directives to ensure all the libs we need get loaded. 1999-04-26 23:30:59 +00:00
waterson%netscape.com
755eaf1c0f Use nsSpecialSystemFileSpec on Unix to get components dir. 1999-04-26 23:30:40 +00:00
jband%netscape.com
cd509e21b0 ifdef'ing out a much more likely cause for the Mac bustage 1999-04-26 05:50:12 +00:00
jband%netscape.com
e50a30b40d changing a member name in hopes that this has something to do with the Mac bustage. I can't see what else might be wrong. Pure voodoo! 1999-04-26 05:40:18 +00:00
jband%netscape.com
c176dc05a1 Make xptinfo fail more gracefully. Fix a couple of warnings. Get rid of XPTDIR env var hack for XP_PC (other platforms coming soon) 1999-04-26 04:23:29 +00:00
mccabe%netscape.com
ba4f36c065 Backed out my previous checkin.
I realized that:
- we build on more than one build system.
- I'm too tired to fix it.
1999-04-23 09:20:36 +00:00
mccabe%netscape.com
ceb11bcb32 Removed the XPTDIR environment variable requirement; the xpt typelib directory is now constructed by adding 'components' to the executable directory. This adds an -lraptorbase requirement to linking against xptinfo. 1999-04-23 09:10:09 +00:00
toshok%hungry.com
ff0300a8eb use NSPR's LL_ macros to do 64 bit stuff. 1999-04-15 01:40:33 +00:00
toshok%hungry.com
a6f1d9d420 remove LL's to fix windows build. 1999-04-15 01:36:25 +00:00
toshok%hungry.com
bfae0d012d change linux specific blurbs to include netbsd/freebsd, and make sure to update the url to the unixish_x86 file. 1999-04-15 01:06:45 +00:00
toshok%hungry.com
5601c30ae0 add some PRInt64 tests too. 1999-04-15 00:52:40 +00:00
toshok%hungry.com
cce073811f the linux implementation should work for freebsd and netbsd x86. change the name from linux to unixish to reflect this. 1999-04-15 00:50:07 +00:00
beard%netscape.com
3deac81d43 renamed XPTC_InvokeByIndex to _XPTC_InvokeByIndex, to avoid having to have a .exp file for libxpt. #pragma export is used in xptcinvoke_mac.cpp to export XPTC_InvokeByIndex. 1999-04-11 00:31:13 +00:00
beard%netscape.com
f8327c01f7 First Checked In. 1999-04-10 23:52:55 +00:00
jband%netscape.com
7b8c54ca32 making the overloaded assignment operator sig better match the usage in hopes that the ambiguous error on Sun will go away 1999-04-10 08:17:05 +00:00
jband%netscape.com
5b6af6f244 convert fprintf calls to TRACE macros so they can be more easily turned on and off 1999-04-10 06:11:55 +00:00
jband%netscape.com
fd8376fcba added overloaded asingment operator to quiet pedantice warning 1999-04-10 06:09:54 +00:00
rogerl%netscape.com
20c87baa91 # NOT A PART OF SEAMONKEY
New.
1999-04-08 16:54:17 +00:00
jband%netscape.com
52b186b884 Added support for [scriptable] flag in interface descriptor. Added [noscript]. xpconnect now checks for the [scriptable] flag. 1999-04-06 22:42:10 +00:00
jband%netscape.com
01475d8a25 fixed typo so no extra .pdb files get left behind 1999-04-06 00:10:10 +00:00
jband%netscape.com
25cf140c82 prepare makefiles for building libxpt and xpidl before xpcom/public and xpcom/src. Fix warnings and errors in libxpt exposed in Mac port 1999-04-04 03:09:12 +00:00
beard%netscape.com
8004230b40 XP_MAC doesn't have <sys/stat.h>, <stat.h> instead. 1999-04-04 01:51:00 +00:00
jband%netscape.com
462a32f671 fixed typo in doc 1999-04-02 19:51:05 +00:00
jband%netscape.com
7efd72beb7 added porting guide and README docs 1999-04-02 06:15:09 +00:00
rogerl%netscape.com
0378d86caf fixed .global label. 1999-04-02 01:07:59 +00:00
rogerl%netscape.com
58d0a91ecc New. (And, as yet, unbuilt & untested) 1999-04-02 00:47:17 +00:00
briano%netscape.com
a0880a3146 Only descend into tests if ENABLE_TESTS is set. 1999-03-31 22:58:07 +00:00
briano%netscape.com
e6c0eba0bb Only descend into the tests directory if ENABLE_TESTS is set. 1999-03-30 03:07:23 +00:00
jband%netscape.com
a2dfafc766 fix incorrect title comment (copied from another file) 1999-03-29 04:35:35 +00:00
jband%netscape.com
2f094e7206 add support for 'shared' flag in typelibs. This is available for use to indicate pointer type 'out' params which will not follow the xpcom rules of transfering ownership - i.e. they want to share a pointer rather than cloning the underlying data for the caller to delete when finished 1999-03-28 21:48:34 +00:00
jband%netscape.com
3bfd1f867e removing export of removed file 1999-03-27 08:36:20 +00:00
mccabe%netscape.com
a4aefc434d Consolidated xpt_cpp.h with xptinfo.h; removed xpt_cpp.h. Also
modified uses...
1999-03-27 08:02:15 +00:00
jband%netscape.com
1fe94e3b3f removing (yet another!) misplaced semi-colon 1999-03-27 06:20:40 +00:00
jband%netscape.com
4d4fa94952 removing misplaced semi-colonsthat break some platforms 1999-03-27 01:53:40 +00:00
mcafee%netscape.com
43d656ab19 Ignore generated files. 1999-03-27 00:08:06 +00:00
briano%netscape.com
8394a60939 Fixed the bug that was assuming Linux==x86 (only). 1999-03-26 23:06:38 +00:00
danm%netscape.com
9d90b52b72 removing glowcode. a:jband 1999-03-26 02:37:22 +00:00
mccabe%netscape.com
4d4e61a4dd Move xptinfo, xptcall from export phase (erroneously copied from libxpt Makefile.in) to libs and back out previous tree patch. 1999-03-25 10:28:39 +00:00
jband%netscape.com
e0c20dd684 fix build bustage due to use of nscore.h before it is exported - I don't understand why this stuff is being compiled in the export phase. We can that later. 1999-03-25 09:05:28 +00:00
mccabe%netscape.com
0d46aaa627 Adding libxpt and xpconnect to the build. 1999-03-25 07:50:11 +00:00
warren%netscape.com
9ed31cf894 Added GetMethodInfoForName 1999-03-25 07:30:47 +00:00
jband%netscape.com
1b72836b93 use nspr type 1999-03-25 03:37:40 +00:00
jband%netscape.com
9a923d2130 add implementation files for unsupported platforms to allow clean build on all platforms even though we'll have failure at runtime on unsupported platforms 1999-03-23 22:16:14 +00:00
jband%netscape.com
9adc279405 fix test Makefile.in 1999-03-23 07:19:15 +00:00
jband%netscape.com
de37f0faf5 fix test Makefile.in 1999-03-23 07:16:53 +00:00
jband%netscape.com
95bae7cba5 fix filename 1999-03-23 07:04:52 +00:00
jband%netscape.com
4b66e49f5a initial checking of xptcall code. This module allows arbitrary invocation of xpcom methods and also allows an object to impersonate an object of an arbitrary xpcom class. This code is used for XPConnect and will also be used for a scriptable interface to RDF. The build scheme for libxpt, xptinfo, and xpconnect may be a bit screwy on some platforms until this settles down. Luckily, none of these modules are part of the client build yet and very few people should even notice the change 1999-03-23 02:23:29 +00:00
leaf%mozilla.org
4ad9f70d5d Landing nspr library name change, and plevent function call change. 1999-03-17 21:32:03 +00:00
mccabe%netscape.com
44463b458c Another reworking of the loader -
- added a forward declaration of nsIInterfaceInfoManager to xptinfo.h

- reworked and cleaned up most aspects of the loader; typelib files now get associated typelib records, which have arrays of pointers to shared interface records; no hashtable lookup is necessary to resolve index pointers from params, etc to nsInterfaceInfo objects.

- moved to two hashtables in nsInterfaceInfoManager, mapping from name->interface record and iid->interface record.  Still unclear if I handle the different-iid, same-name case correctly.
1999-03-15 05:50:11 +00:00
jband%netscape.com
95c5de89a9 made in params const, added some comments 1999-03-13 01:34:37 +00:00
mccabe%netscape.com
1f415231ec Fixed a place where I was missing an NS_RELEASE, thanks jband. 1999-03-13 00:56:47 +00:00
mccabe%netscape.com
25ebe42e73 Not part of seamonkey.
Removed awkward nsXPTParamInfo::GetInterface and friend, and als removed supporting nsXPTParamInfo.cpp file.  Replace by nsIInterfaceInfo::GetInfoForParam and friend.

Made the constructor for nsInterfaceInfo private, with nsInterfaceInfoManager as a friend class.
1999-03-12 06:49:01 +00:00
jband%netscape.com
41b9e6001a get xptinfo building on Win32 again 1999-03-11 02:21:23 +00:00
mccabe%netscape.com
b625b6aa37 Added tests of getting info assoc'd with params to TestInterfaceInfo.cpp, which uncovered an off-by-one problem due to magic typelib offsets for nsXPTParamInfo. Which makes me wonder if we shouldn't have just said #define XPT_INDEX_NO_PARENT 0xFFFF. 1999-03-10 10:36:13 +00:00
mccabe%netscape.com
1a1a2d5d23 Not yet part of the Monkey.
- Added magic comments to make the LXR browsing experience more pleasant.

- introduced the nsInterfaceRecord class (formerly less formally interface_record).

- changed the XPTInterfaceDirectoryEntry pointer in InterfaceInfoes into nsInterfaceRecord pointers, removing the need for a hash just to go from entries to records to support nsXPTParamInfo::GetInterface.

- made the destructor for InterfaceInfo objects remove null the pointer in the corresponding reference.
1999-03-10 09:30:48 +00:00
mccabe%netscape.com
c95fc2f4b8 Not part of seamonkey.
Added a comment saying preconditions the tests actually needs to
succeed.  (also simplified these some.)
1999-03-10 08:22:17 +00:00
mccabe%netscape.com
4f6e0a7c6e Not part of seamonkey.
Fixed bustage due to improper use of DEBUG_somehacker.
1999-03-10 06:59:53 +00:00
jband%netscape.com
122488c723 making it compile on Win32 1999-03-10 06:36:03 +00:00
mccabe%netscape.com
5a43e6a2dd Not part of seamonkey.
API change - changed nsXPTParamInfo from taking an InterfaceDirectoryEntry* (which really isn't part of the API I want to expose) to taking an nsIInterfaceInfo*, which is.
1999-03-10 06:06:19 +00:00
mccabe%netscape.com
a7a7b4f959 Not yet part of Seamonkey.
Progress on the nsInterfaceInfoManager typelib loader for xpconnect.
Now has complete (I think) functionality, though the implementation is
still probably rusty.

I punted on defining a directory for .xpt files at this point; the
implementation looks at the value of the XPTDIR environment variable
for this value.

Note that the nsXPTParaminfo interface (public/xpt_cpp) has changed
(possibly temporarily) to take an 'entry' parameter.
1999-03-10 04:26:15 +00:00
shaver%netscape.com
bf2718b64b ignore generated files 1999-03-08 21:27:03 +00:00
jband%netscape.com
aae72939cf makefile fixups to get xptinfo working on Win32. Added xptinfo.h for public dll declarations 1999-03-02 07:59:53 +00:00
mccabe%netscape.com
8c24b0a7f5 Not yet part of Seamonkey.
Changed from using malloc to (much less, but still slightly) hacked
nsIAllocator service.
1999-03-02 05:38:27 +00:00
mccabe%netscape.com
40181d78ce Not yet part of the seamonkey build.
Moved nsInterfaceInfoManager files from the libxpt directory (where
they would have precipitated an unpleasant circular dependency between
xpidl and nsISupports.h) into a new subdirectory.

Added corresponding entries to allmakefiles.sh.

nsInterfaceInfoManager is intended to abstract the loading and
management of typelib information generated by xpidl, for use by
xpconnect.
1999-03-02 05:21:31 +00:00