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

33 Коммитов

Автор SHA1 Сообщение Дата
shaver%netscape.com 2a01e88f2b fixed fencepost in XPT_DoHeader, along with more error-checking 1999-01-26 01:34:21 +00:00
shaver%netscape.com 5404dc4ed8 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 71af8d624c Switching to SIMPLE_PROGRAMS 1999-01-23 12:21:27 +00:00
shaver%netscape.com f6c3dba4c0 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 e2069a22be Yanked rules that are in rules.mk 1999-01-22 12:14:51 +00:00
shaver%netscape.com fff6565b1a 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 0d5aa093e0 Ignore generated files. 1999-01-22 06:33:54 +00:00
shaver%netscape.com 1f42a5157a test DoString 1999-01-21 20:05:58 +00:00
shaver%netscape.com ac5a6c9d29 allocate memory for str->bytes in DoString decode, duh 1999-01-21 20:05:27 +00:00
shaver%netscape.com 857db3bb78 fix dumb DBG thing 1999-01-21 19:21:58 +00:00
coop%netscape.com 420a827ed2 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 609870e50a 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 5896d14ab3 added some tests (we don't pass yet =) ), wrote some primitives 1999-01-20 23:17:05 +00:00
coop%netscape.com 09033092d6 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 4624585ca4 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 3effe042a4 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 5c5b49e703 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 335dd2eba5 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 df30cb9f39 fix up XPT_PREAMBLE booboo 1999-01-18 17:58:34 +00:00
shaver%netscape.com d05f995134 make goop (Win and Unix) 1999-01-18 17:44:06 +00:00
shaver%netscape.com ad7266421e make goop (Windows and Unix) and header fixes 1999-01-18 17:43:36 +00:00
coop%netscape.com 4a1a95190f 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 933c99335d new API stuff, and start on primitive implementations 1999-01-18 16:54:57 +00:00
coop%netscape.com 3f5a8aec64 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 77a5ac0f52 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 d5c1d3054d 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 eafc501a03 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 de1fdcb6be 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 9af46bff3c updated API example in XPT_DoIDE 1999-01-14 17:35:14 +00:00
shaver%netscape.com 29f219b4cf start of per-struct XDR code; a: leaf 1999-01-13 21:52:02 +00:00
shaver%netscape.com fa18af5aad more header goo, xdr implementation stubs 1999-01-13 15:20:25 +00:00
shaver%netscape.com dcc157010e initial XDR primitives 1999-01-12 21:36:11 +00:00
shaver%netscape.com 6d6a00d9ea initial typelib structures 1999-01-12 19:17:25 +00:00