jband%netscape.com
89e4ae2743
fix for comment spanning the buffer boundary
1999-04-13 00:50:39 +00:00
waqar%netscape.com
9b9df58f66
Changed C++ comment to a C comment to make AIX compiler happy.
1999-04-12 18:28:53 +00:00
beard%netscape.com
72d64a8636
XP_MAC: added local strdup that uses malloc, renamed main to xpidl_main when built as a CodeWarrior plugin.
1999-04-11 00:15:09 +00:00
beard%netscape.com
029f7dcb2a
XP_MAC: added call out to mac_fopen() for simple filenames (no path) to allow the CodeWarrior plugin to search for the file in the access paths.
1999-04-11 00:11:36 +00:00
beard%netscape.com
1bba2e4474
#include <libIDL/IDL.h> -> #include <IDL.h> on XP_MAC.
1999-04-11 00:09:14 +00:00
beard%netscape.com
cdbb982652
strdup -> xpidl_strdup, for consistency
1999-04-11 00:08:18 +00:00
beard%netscape.com
2235f83ae8
added xptcinvoke_mac.s
1999-04-10 23:55:39 +00:00
beard%netscape.com
f8327c01f7
First Checked In.
1999-04-10 23:52:55 +00:00
beard%netscape.com
1bcca42778
added xptinfo, xptcall sources.
1999-04-10 23:47:53 +00:00
jband%netscape.com
3d964bce21
Prepare for not emitting js stubs decls into headers. Emit the macro for GetIID.
1999-04-10 06:17:49 +00:00
jband%netscape.com
5d44387aad
fix misspelling
1999-04-10 06:07:24 +00:00
jband%netscape.com
14e5319e39
battling bitrot in this test program
1999-04-10 06:06:39 +00:00
jband%netscape.com
97149b170a
fix compiler warnings
1999-04-07 00:47:30 +00:00
jband%netscape.com
bf29cbbcf4
use a simpler scheme for handling interface flags in xpidl
1999-04-07 00:29:49 +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
mccabe%netscape.com
55378a7495
- Made xpidl build conditional on BUILD_XPIDL for win32 and unix
...
- Made win32 xpidl use glib-1.2 (instead of 1.1.)
1999-04-06 08:33:40 +00:00
jband%netscape.com
01475d8a25
fixed typo so no extra .pdb files get left behind
1999-04-06 00:10:10 +00:00
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
jband%netscape.com
21119d07b8
getting shaver's changes compiling on Win32
1999-03-06 21:35:01 +00:00
shaver%netscape.com
1a05939593
updated README and fixed 3484 (make in strings const)
1999-03-06 20:59:41 +00:00
shaver%netscape.com
c31d863018
Add XPT_InterfaceDescriptorAddConsts to API.
1999-03-06 19:40:34 +00:00
shaver%netscape.com
87bb504802
Compatibility with libIDL 0.6.x. (now required -- 0.5.x won't work any more)
...
Open absolutely-named files without include-path checking.
Always report errors (duh).
typelib generation: [iid_is()], consts, parse [uuid()], string type change
(will someone please explain our string types to me?), add float support,
handle [retval], IDL return as trailing argument (duh), attributes generate
accessor entries.
Use IDL_tree_error instead of burping at stderr.
1999-03-06 19:26:40 +00:00
scc%netscape.com
2ec0a397ea
rename |IID()| --> |GetIID()|
1999-03-03 19:48:57 +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
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
brendan%netscape.com
a7bea6a1d8
Deal with wstring in .idl files correctly, or at least better.
1999-03-02 03:01:39 +00:00
brendan%netscape.com
b174ed2b63
Use new 'W' format with JS_ConvertArguments to get PRUnichar* out.
1999-03-02 02:51:33 +00:00
alecf%netscape.com
42a42d12dd
put #ifdef's around the interface stub implementation output so that generated files can still
...
be part of the build system.
1999-02-27 03:34:39 +00:00
brendan%netscape.com
3c000de84d
Fix indentation, fiddle to share common fputs string.
1999-02-26 02:48:01 +00:00
mccabe%netscape.com
6674e1b86b
Initial checkin of typelib loading service.
1999-02-25 22:56:43 +00:00
alecf%netscape.com
b5f4372dd4
include jsapi.h whenever we're doing stub work
1999-02-25 18:47:58 +00:00
coop%netscape.com
bca65dbd8e
NOT YET PART OF SEAMONKEY:
...
* first pass at typelib linker
* parent_interface modification is untested
* interface offset management is unimplemented
* what to do about annotations?
1999-02-25 17:45:11 +00:00
alecf%netscape.com
88f29d5194
fix compilation problem on generated code where we had two variables named "result"
...
prepare to handle [nonxpcom] object return values
1999-02-23 19:30:53 +00:00
coop%netscape.com
0c1ab19c56
NOT YET PART OF SEAMONKEY:
...
* fixed casting problem in calls to Do8
1999-02-23 16:17:37 +00:00
shaver%netscape.com
207c08e698
handle new and old libIDL, [notxpcom], #ifdef XPIDL_JS_STUBS
1999-02-23 15:28:58 +00:00
alecf%netscape.com
8ef606dbd7
fix cases where native method wasn't being called on XPIDL void functions.
...
Add cases for methods with and without parameters, and with and without return types.
1999-02-23 02:39:31 +00:00
alecf%netscape.com
f911166782
add a space in between the new native type and the old one.
1999-02-23 02:38:16 +00:00
brendan%netscape.com
4a71eaefa6
- Use write rather than dump consistently (dump has unfortunate connotations).
...
- Avoid gratuitous extra newlines in foo.h compiled from foo.idl.
- Use do-while, not for or while, guarded by if that tests the loop condition.
- Use NS_EXPORT to qualify static InitJSClass and GetJSObject method.
- Turn enum declarations within interfaces into JS class constant numbers.
- Defend against null return from JS_GetPrivate (prototype and user-constructed
objects have no private data).
1999-02-22 00:24:34 +00:00
brendan%netscape.com
228bfb73ef
Fix goofs caught by alecf in GetJSObject generation.
1999-02-20 00:10:22 +00:00
jband%netscape.com
9733ee889d
get xpidl building again on Win32
1999-02-19 21:39:41 +00:00
alecf%netscape.com
e266797a3b
link xpidl statically against libxpt so that dist/bin doesn't need to be in your LD_LIBRARY_PATH
1999-02-18 22:59:17 +00:00
alecf%netscape.com
544d9d773b
make these libraries build during the export phase
1999-02-18 22:36:27 +00:00
coop%netscape.com
4a28ad0dc3
NOT YET PART OF SEAMONKEY:
...
* now close input file in all cases
* warn user about params with no in/out flag information
* more internal error checking
1999-02-18 22:29:59 +00:00
brendan%netscape.com
051bbc0cff
Finish Get and SetProperty, simplify InitJSClass via globalObject.
1999-02-18 19:59:11 +00:00
shaver%netscape.com
7c4aa3b23b
Add dependency on libxpt and NSPR for typelib generation.
...
Only output |static const IID()| if we have an IID defined.
Output forward declarations.
Initial -m typelib stuff (handles methods, barely).
1999-02-18 17:43:38 +00:00
shaver%netscape.com
d96b4c6f50
fix InterfaceDescriptorAddMethods to not randomly overwrite memory, and fix
...
DoMethodDescriptor to not randomly overwrite md->result
1999-02-18 17:36:46 +00:00
brendan%netscape.com
51e07c6b0f
Fixed wrapper management to be self-contained, requiring no extra interfaces.
1999-02-18 03:10:40 +00:00
shaver%netscape.com
7138211132
binary files are required (thanks, jband). also fix typo
1999-02-18 02:53:08 +00:00
shaver%netscape.com
950bd8bad9
Report read failure and short reads (should handle short reads better! RSN!).
...
File length is a size_t now, not an int.
1999-02-18 00:42:01 +00:00
brendan%netscape.com
8d254d72e6
Cope with void return.
1999-02-17 22:45:12 +00:00
brendan%netscape.com
ab4487d5ca
More stub work checkpointing; expand tabs.
1999-02-17 22:13:32 +00:00
coop%netscape.com
14a98b2ab8
NOT YET PART OF SEAMONKEY:
...
* replaces reference to unistd.h by stdlib.h
1999-02-17 17:36:01 +00:00
jband%netscape.com
40ef764595
get this code compiling in win32
1999-02-17 07:05:36 +00:00
brendan%netscape.com
ee53936825
Second checkpoint.
1999-02-17 05:56:30 +00:00
brendan%netscape.com
e5596bb3ed
Checkpoint xpidl -m stub work.
1999-02-17 01:17:52 +00:00
coop%netscape.com
76bdfa96b3
NOT YET PART OF SEAMONKEY:
...
* eliminated compiler warnings on Linux
* added extra error checking for file manipulation in SimpleTypeLib and xpt_dump
* removed erroneous comment from xpt_struct.h
1999-02-16 18:41:30 +00:00
brendan%netscape.com
fe8a88eaf3
prep for -m stub; misc code cleanups.
1999-02-16 05:10:40 +00:00
shaver%netscape.com
c70caa7ec2
make includes work right; support `-\' as stdin for input file
1999-02-16 03:47:24 +00:00
coop%netscape.com
434b53519d
NOT YET PART OF SEAMONKEY:
...
* changed type descriptor tag defines into one big enum
* made corresponding changes to xpt_dump
1999-02-10 17:44:05 +00:00
shaver%netscape.com
ba411b1126
fix #define for generated headers
1999-02-09 15:30:31 +00:00
coop%netscape.com
cc3262e0a5
NOT YET PART OF SEAMONKEY:
...
* added function XPT_GetInterfaceIndexByName
* replaced remaining occurences of 'namespace' with 'name_space' to keep C++ happy
* added xpt_dump display for param types (in/out/retval)
* changed xpt_dump handling for wchar_t strings
* use shaver's print_IID function when displaying type descriptors
* removed DoAnnotations (not used)
1999-02-09 00:14:38 +00:00
jband%netscape.com
7f234de162
NOT PART OF SEAMONKEY - a bunch of fixes to get it building on win32
1999-02-08 21:47:35 +00:00
shaver%netscape.com
e51cd01134
move includes outside #ifdef for precompiled-header love, also PR_EXTERN_C
1999-02-08 19:48:48 +00:00
shaver%netscape.com
886e0b74fd
Windows make goop
1999-02-08 18:34:54 +00:00
shaver%netscape.com
aae15704a1
Fixed native handling.
...
IDL-in-comments works again.
Quell some warnings (now -Wall happy!).
1999-02-08 17:47:44 +00:00
shaver%netscape.com
22cd82efb2
Added XPT_InterfaceDescriptorAddMethods to grow the method table.
...
Removed unused XPT_ALLOC macro.
Move XPT_SetDataOffset calls into XPT_DoHeader so that the API consumer doesn't
need to know about header sizing and IDE layout guck.
Handle NULL namespaces and interface_directory bits snd idents better.
Made xpt_dump show the the IID for interfaces.
1999-02-08 16:30:22 +00:00
coop%netscape.com
daf6598bf9
NOT YET PART OF SEAMONKEY:
...
* added support for non-verbose mode as default for typelib dumper.
1999-02-04 03:16:07 +00:00
coop%netscape.com
5b67c2d922
NOT YET PART OF SEAMONKEY:
...
* add command-line flag for verbose mode, which will soon not be the default
* now outputs to stdout
* added output for int64, uint64, and wchar
1999-02-04 00:31:59 +00:00
shaver%netscape.com
0abc9fdeb8
New back-end switching for whiter teeth and fresher breath.
...
De-const-ipate in params. (Maybe strings should still be const? I await the
outcome of The Great String Debate.)
1999-02-03 23:55:33 +00:00
shaver%netscape.com
7cc025f858
(NOT YET PART OF SEAMONKEY)
...
Update to use 16-bit IDE indices (one-based) instead of header-pool offsets.
Removed debugging cruft.
Added prototypes to get rid of warnings.
Fix many dumb mistakes WRT allocation and index checking.
1999-02-03 21:37:25 +00:00
mcafee%netscape.com
3ebf5bfd31
Ignore generated SimpleTypeLib, PrimitiveTestexecutables
1999-02-02 06:20:46 +00:00
mcafee%netscape.com
a9ba07971c
Ignore generated xpt_dump executable
1999-02-02 06:19:50 +00:00
coop%netscape.com
ad630a62a1
NOT YET PART OF SEAMONKEY:
...
* fixed header pointer assignment problem
* removed useless defines
* added correct level of indirection for sub-structs of header
1999-02-02 01:26:36 +00:00
coop%netscape.com
072c9699f3
NOT YET PART OF SEAMONKEY:
...
* added directory libxpt/tools which currently only contains the typelib dumper
* removed dump code from tests dir
* added/modified appropriate Makefiles and configure scripts
1999-01-30 01:10:01 +00:00
coop%netscape.com
30a0f2ae51
NOT YET PART OF SEAMONKEY:
...
* committing fixes for shaver
* header pointer is now set XPT_DoHeader
* fixed assertion error in CHECK_COUNT macro
1999-01-30 01:03:54 +00:00
coop%netscape.com
98d8567a39
NOT YET PART OF SEAMONKEY:
...
* added macros for checking bitflag values
* dump code is complete, minus actually reading from disk.
1999-01-28 06:01:56 +00:00
shaver%netscape.com
680a29d6cd
private delete isn't the mind-bendingly fun stuff we thought it would be (for scc)
1999-01-28 05:38:14 +00:00
shaver%netscape.com
ff139572c0
fix header.data_pool writing
1999-01-28 01:55:24 +00:00
coop%netscape.com
fc64b44984
NOT YET PART OF SEAMONKEY:
...
* fixed XPT_SizeOfHeader. It wasn't actually walking the annotations, but it does now.
* added some basic dumping code to SimpleTypeLib. Currently only the headers can be dumped. Once XDR read code is up and running, this dumping code will become a separate utility, most likely under a libxpt/tools subdir.
1999-01-27 06:32:57 +00:00
alecf%netscape.com
6834e87439
makefile for XPIDL on Windows
1999-01-26 23:49:43 +00:00
shaver%netscape.com
a64e54446d
Fixed method and type descriptors, made const descriptors go.
1999-01-26 19:31:25 +00:00
alecf%netscape.com
a39aee01fc
stop using IsXXX for boolean Getters
1999-01-26 18:20:30 +00:00
shaver%netscape.com
9feb565d72
fixed fencepost in XPT_DoHeader, along with more error-checking
1999-01-26 01:34:21 +00:00
shaver%netscape.com
adc25a815d
Fixed IID copying (duh -- all the bytes matter).
...
NewString and NewStringZ APIs.
No more bit-fields (nod to jband and fur, thanks).
Cleaned up Annotation structures.
On-disk offsets are 1-based.
Write annotations to disk, and account for them in header size, etc.
Fix sundry cursor-vs-&cursor bugs and don't-allocate-on-decode bugs.
Write MethodDescriptors and InterfaceDescriptors to disk!
Executive Summary: can now write very simple .xpt files!
1999-01-25 19:36:48 +00:00
mcafee%netscape.com
61a7675545
Switching to SIMPLE_PROGRAMS
1999-01-23 12:21:27 +00:00
shaver%netscape.com
aa1ebbaf5b
Added prototypes for Header XDR functions.
...
Minor brace-placement tweaks.
Added SimpleTypeLib test program, although it doesn't build due to Makefile.in
suckage.
Fixed XPT_DoHeader to only write IDEs once (duh).
Added SizeOfHeaderBlock to API.
1999-01-22 17:53:35 +00:00
mcafee%netscape.com
ba84b098cf
Yanked rules that are in rules.mk
1999-01-22 12:14:51 +00:00
shaver%netscape.com
3ffc120748
Added methods to create or fill headers, IDEs, interface descriptors,
...
method descriptors, param descriptors, const descriptors (partial)
and annotations.
Rejigged XPTAnnotation for proper struct nesting and linked-listed-ness.
Implemented SizeOfHeader (partially).
Fixed data_pool handling in XPT_DoHeader.
Implemented XPT_SeekTo and XPT_DoIID.
1999-01-22 09:13:02 +00:00
ramiro%netscape.com
127039e271
Ignore generated files.
1999-01-22 06:33:54 +00:00
shaver%netscape.com
a11e05cc3d
test DoString
1999-01-21 20:05:58 +00:00
shaver%netscape.com
a7561e1c7c
allocate memory for str->bytes in DoString decode, duh
1999-01-21 20:05:27 +00:00
shaver%netscape.com
fc992be11c
fix dumb DBG thing
1999-01-21 19:21:58 +00:00
coop%netscape.com
cebd0d5f18
NOT YET PART OF SEAMONKEY:
...
* removed struct size #defines -> they were just silly anyway.
* replaced references to IDE file offsetsi with uint32 indices.
* first attempt at sorting out order of storage for XPTHeader and XPTInterfaceDirectoryEntry
1999-01-21 19:18:47 +00:00
alecf%netscape.com
45c2ae4f23
changes to make XPIDL compiler work under Windows
1999-01-21 18:59:52 +00:00
shaver%netscape.com
ce42fc0851
Better cursor management stuff.
...
Mild macro renaming.
Debugging output from CHECK_COUNT.
Fixed primitives and PrimitiveTest: we now pass! (32, 16, 8 and CString)
Dynamically link PrimitiveTest.
1999-01-21 17:37:54 +00:00
shaver%netscape.com
5ee98f8ade
added some tests (we don't pass yet =) ), wrote some primitives
1999-01-20 23:17:05 +00:00
coop%netscape.com
4fe4d500ab
NOT YET PART OF SEAMONKEY:
...
* added looping to read/write InterfaceDirectoryEntrys
* InterfaceDescriptors are no longer DECODEd as part of the IDE DECODEing process
* added skeleton for XPT_GetDescriptorByOffset
1999-01-20 17:58:14 +00:00
coop%netscape.com
7d3c473417
NOT YET PART OF SEAMONKEY:
...
* added offset management code in the form of calls to shaver's macros
1999-01-19 23:46:20 +00:00
coop%netscape.com
f2d5cd7054
NOT YET PART OF SEAMONKEY:
...
* added #defines for is_pointer/tag combos used in TypeDescriptors to match table in typelib spec.
* now handle error case in xpt_struct.c using macro
* still must do offset management
1999-01-18 22:04:49 +00:00
coop%netscape.com
5fc06bfca5
NOT YET PART OF SEAMONKEY:
...
* modified in-memory structs slightly to get them to compile
* xpt_strcut.c now compiles, and with no warnings (at no extra charge)
* still must do offset management
1999-01-18 19:53:47 +00:00
shaver%netscape.com
10f4d40c79
Much XDR header whacking. Still need to figure out how the pool management
...
stuff looks.
Fixed XPT_PREAMBLE (again).
xpt_xdr.c now compiles!
1999-01-18 18:28:14 +00:00