172 Commits

Author SHA1 Message Date
beard%netscape.com
0fb1d486ad backed out XP_MAC crash test, since it does work with checked in .xpt files. 1999-04-04 03:40:20 +00:00
beard%netscape.com
a56efec958 turned off relaxed pointer checking, now that jband has fixed the sources. 1999-04-04 03:33:43 +00:00
jband%netscape.com
432690b3a0 fix the struct member column alignment (in the source code) after mass type renaming 1999-04-04 03:13:47 +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
9d1f0c8225 added xptinfo interfaces, base, and xpcom. 1999-04-04 01:51:47 +00:00
beard%netscape.com
ddc5cba9f7 First Checked In. 1999-04-04 01:30:58 +00:00
beard%netscape.com
c74304e962 made it compile on XP_MAC, still needs a user interface to choose multiple files. 1999-04-04 01:30:45 +00:00
beard%netscape.com
f0a852fade added interactive choosing of a file to dump on XP_MAC, worked around a crash in XPT_DumpInterfaceDescriptor. 1999-04-04 01:25:44 +00:00
beard%netscape.com
b4181be75d Added a strdup function for XP_MAC. 1999-04-04 01:20:34 +00:00
beard%netscape.com
b69769c250 First Checked In. 1999-04-04 00:13:40 +00:00
beard%netscape.com
32df35f453 added default args for XP_MAC. 1999-04-04 00:13:28 +00:00
beard%netscape.com
3024d12e09 First Checked In. 1999-04-03 23:36:11 +00:00
jband%netscape.com
fafe628163 set MOZ_NO_DEBUG_RTL in makefile.win for this exe 1999-04-03 21:02:45 +00:00
waterson%netscape.com
990bef22e5 Fixed long-long codegen to use prlong macros (so it works on Mac). 1999-04-01 22:03:25 +00:00
jband%netscape.com
7f712c54a8 make -m stubs not crash on interfaces without parents 1999-03-31 07:56:36 +00:00
waterson%netscape.com
cff85cdb02 Fixes to the stub generator to uncripple stub-based XPConnect a little bit: use JSObjects to get args from JS stack, then pull the privs out; handle error codes and null returns a bit more cleanly. 1999-03-31 06:08:22 +00:00
jband%netscape.com
7845b97d17 fixing typedef bug that I introduced with previous checkin 1999-03-29 22:33:38 +00:00
jband%netscape.com
c5e8747649 many changes to xpidl:
- Removed '-n' from usage message.
- Added name_space (if declared) to comment in generated C++ header.
- Added [ptr], [ref], and [nsid] support for native declarations.
- Added support for [const] on 'in' params.
- Now add 'const' automatically for nsID in params.
- Added support for [shared] on 'out' params.
- Added -w warnings support for non-support of sequences.
- Removed support for enum and added -w wrning that they are ignored.
- Added support in header and typelib output for constants (short and long only).
1999-03-28 22:01:33 +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
danm%netscape.com
9d90b52b72 removing glowcode. a:jband 1999-03-26 02:37:22 +00:00
mccabe%netscape.com
4450173143 Move xptinfo, xptcall from export phase (erroneously copied from libxpt Makefile.in) to libs and back out previous temporary fix.
Finishing checkin.  Hopefully all is OK.
1999-03-25 10:35:19 +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
mccabe%netscape.com
0d46aaa627 Adding libxpt and xpconnect to the build. 1999-03-25 07:50:11 +00:00
jband%netscape.com
843e4d0212 added support for namespace attribute of interface 1999-03-25 03:24:32 +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
jband%netscape.com
42c71b1afc fail gracefully on badly formed uuid 1999-03-19 04:54:47 +00:00
jband%netscape.com
c7d0c3e048 added octet for unsigned 8bit, made float and double work, added a Win32 batfile to build against the right MS runtime dll, added hacked temporary support for nsID expresed as nsIIDRef, added GOTO support for iid_is being native rather than an interface type; i.e. for QueryInterface style sig where a void* is used as the out type 1999-03-14 02:59:43 +00:00
jband%netscape.com
a6e22fd8aa more to fix assumption that interfaces don't have the pointer bit set 1999-03-13 09:09:26 +00:00
jband%netscape.com
2e3f289396 support float and double in headers and typelibs 1999-03-13 01:43:19 +00:00
jband%netscape.com
318cbab4df fix assumption that interfaces don't have the poointer bit set 1999-03-13 01:31:48 +00:00
jband%netscape.com
4788fda605 strings are TD_PSTRING | XPT_TDP_POINTER 1999-03-11 08:01:02 +00:00
jband%netscape.com
0ed6b5c0ec interfaces are pointers and getters return retvals 1999-03-11 07:12:18 +00:00
coop%netscape.com
c6c0714f4f NOT YET PART OF SEAMONKEY:
* added improved error message for IID collision.
1999-03-11 02:15:53 +00:00
coop%netscape.com
bec672cfc0 NOT YET PART OF SEAMONKEY:
* one character fix (D'oh!) to make InterfaceTypeDescriptor indices update properly.
1999-03-10 23:41:04 +00:00
shaver%netscape.com
4e97c87ca2 generate meaningful annotation 1999-03-10 21:09:01 +00:00
coop%netscape.com
8d12155d19 NOT YET PART OF SEAMONKEY:
* first annotation indicates that resulting typelib was created by the linker.
* annotations from files being linked in are now preserved.
1999-03-10 20:40:17 +00:00
coop%netscape.com
3c25f1eef4 NOT YET PART OF SEAMONKEY:
* xpt_dump now checks num_methods and num_constants before trying to walk the arrays.
* xpt_link now actually links. It even updates interfaces indices. Tested using all the idl files in mozilla/xpcom/idl.
1999-03-10 19:44:36 +00:00
shaver%netscape.com
be86a9ee70 Handle nsID, nsIID and nsCID via a custom string-compare hack. (Ugly, but we
need 0.6.3 for a better fix, and this'll do for now.)
When sorting IDEs, sort entries with identical IIDs by namespace::name.
1999-03-09 19:59:42 +00:00
shaver%netscape.com
58164daf67 turn off more debugging noise and prepare for 0.6.2's forward handling 1999-03-09 08:23:00 +00:00
mccabe%netscape.com
9ad7c135d1 Chop xptinfo from the list of sub-Makes built by libxpt during coding
thrash.
1999-03-09 04:10:30 +00:00
coop%netscape.com
a356faf7da NOT YET PART OF SEAMONKEY:
* initial pass at handling the update of interface indices.
1999-03-09 02:51:22 +00:00
shaver%netscape.com
5346cd6379 Turn off debugging noise for myself.
Parse IIDs, and handle the unspecified case (= 0).
Sort IDE block like a good boy (all hail qsort).
Follow typedefs to make the right thing happen.
Hide [notxpcom] methods, and don't munge their signatures with _retval, etc.
1999-03-08 21:22:29 +00:00
coop%netscape.com
244b59ee4f NOT YET PART OF SEAMONKEY:
* linker now sorts based on IIDs
* xpt_dump no longer complains about md->result if it is of the correct retval type
1999-03-08 21:13:58 +00:00
shaver%netscape.com
df77619c4a display method flags, handle bogus indices 1999-03-08 21:11:08 +00:00
shaver%netscape.com
2636f0fba1 Make params include the name of the interface referenced. 1999-03-08 20:33:35 +00:00
coop%netscape.com
23aac1de6d NOT YET PART OF SEAMONKEY:
* changing references to interfaces (within structs) to be indices rather than pointers
* updated xpt_dump and xpt_link code to reflect above change
1999-03-08 19:47:09 +00:00
shaver%netscape.com
d55deef772 fix remnant of 32-bit interface references 1999-03-08 03:56:14 +00:00
jband%netscape.com
5de5ba19b3 fix fopen mode for binary files - I'm starting to think that shaver, coop, and mccabe are doing this to me on purpose :) 1999-03-07 20:48:37 +00:00
shaver%netscape.com
07e853ae36 we do windows, but still wait on Mac 1999-03-07 02:37:17 +00:00
jband%netscape.com
a1ccd8bd8a getting shaver's changes compiling on Win32 - (and linking - dependency on nspr was added) 1999-03-06 21:39:45 +00:00