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

65 Коммитов

Автор SHA1 Сообщение Дата
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
shaver%netscape.com 00741083fe fix up XPT_PREAMBLE booboo 1999-01-18 17:58:34 +00:00
shaver%netscape.com 7c8b3fd275 make goop (Win and Unix) 1999-01-18 17:44:06 +00:00
shaver%netscape.com 4d0a0a61c3 make goop (Windows and Unix) and header fixes 1999-01-18 17:43:36 +00:00
coop%netscape.com d557721c1f NOT YET PART OF SEAMONKEY:
* updated XPT_Do code to match in-memory structs
1999-01-18 17:26:04 +00:00
shaver%netscape.com 9836a9165b new API stuff, and start on primitive implementations 1999-01-18 16:54:57 +00:00
coop%netscape.com 95fe556feb NOT YET PART OF SEAMONKEY:
* Added at least basic comments for all structs.
* Added #defines for struct sizes.
1999-01-18 15:00:03 +00:00
shaver%netscape.com 1d651befd8 more primitives and over-complex macros. next stop: bit-handling (not yet part of seamonkey) 1999-01-15 21:14:48 +00:00
coop%netscape.com 851b2c9b09 NOT PART OF SEAMONKEY
- updated and streamlined in-memory structure to coincide with typelib specification.
- added comments for more obtuse structures
1999-01-15 19:23:40 +00:00
coop%netscape.com 8974b59b09 Fleshed out XDR code for in-memory structs.
To do:
- still need to track data pool offsets for most structs
1999-01-15 00:06:44 +00:00
coop%netscape.com 084afe2ada Made necessary modifications to in-memory structs after writing some of
the XDR code for them.
1999-01-15 00:04:56 +00:00
shaver%netscape.com fe030ddb6e updated API example in XPT_DoIDE 1999-01-14 17:35:14 +00:00
shaver%netscape.com ce7e4abb48 start of per-struct XDR code; a: leaf 1999-01-13 21:52:02 +00:00
shaver%netscape.com 82abed2f8f more header goo, xdr implementation stubs 1999-01-13 15:20:25 +00:00
shaver%netscape.com 73c8b0241d initial XDR primitives 1999-01-12 21:36:11 +00:00
coop%netscape.com 43fc399a47 Removed references to xpidl_typelib.h 1999-01-12 19:26:37 +00:00
shaver%netscape.com 840f5d9ec3 initial typelib structures 1999-01-12 19:17:25 +00:00
shaver%netscape.com 2fe4a733a3 Update to (and require!) libIDL 0.5.8.
Fix silly argument processing brokenness.
Prepare for IDL_tree_to_IDL when it arrives.
Proper basename stuff for #ifdef __gen_nsIFoo_h__ and others.
Handle empty interfaces.
Dead code trimming (ident, etc.).
Typedef support, including arrays.
nsVarArgs instead of ... in C++ headers.
Fix #include scanning bug that caused pain when we skipped an include that
had already been processed.
1999-01-11 16:56:45 +00:00
coop%netscape.com 21ec63486f Added binary file open as first step for creating typelib files. 1999-01-06 23:47:45 +00:00
coop%netscape.com b4f9c6bb84 Updated struc for ParamDescriptor 1999-01-06 22:07:16 +00:00
coop%netscape.com 445151ea1c Added reference to xpidl_typelib.h 1998-12-31 22:11:39 +00:00
coop%netscape.com 5f1e87dfb3 Initial pass at declarations required for building typelib files. 1998-12-31 22:11:05 +00:00
shaver%netscape.com f695bdad8d invoke -> typelib 1998-12-18 17:12:07 +00:00
alecf%netscape.com ad42830c67 certain methods were not spitting out = 0 at the end of the header 1998-12-17 19:39:10 +00:00
shaver%netscape.com ec05dde4ba Now use MODULE instead of MODULE_NAME.
Update README for new libIDL version.
Add -o basename option and use proper output.
Eradicate some final stdout references.
Pretty printing, whee.
New |operator delete| and |IID| stuff for scc.
Support for raw codefrags (``%{ C++\n ... \n%}\n'') and more bufmgmt debugging.
Use IDL_file_set everywhere.
1998-12-14 18:47:39 +00:00