Commit Graph

36 Commits

Author SHA1 Message Date
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
shaver%netscape.com
a64e54446d Fixed method and type descriptors, made const descriptors go. 1999-01-26 19:31:25 +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
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
shaver%netscape.com
840f5d9ec3 initial typelib structures 1999-01-12 19:17:25 +00:00