Commit Graph

38 Commits

Author SHA1 Message Date
mccabe%netscape.com
8be0ea87e3 Remove dependency on NSPR for xpidl, libxpt and tools. 1999-04-13 20:22:02 +00:00
beard%netscape.com
f8327c01f7 First Checked In. 1999-04-10 23:52:55 +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
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
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
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
c31d863018 Add XPT_InterfaceDescriptorAddConsts to API. 1999-03-06 19:40:34 +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
mccabe%netscape.com
6674e1b86b Initial checkin of typelib loading service. 1999-02-25 22:56:43 +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
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
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
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
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
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
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
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
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
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
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
4d0a0a61c3 make goop (Windows and Unix) and header fixes 1999-01-18 17:43:36 +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
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
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