19 Commits

Author SHA1 Message Date
jband%netscape.com
9da670ea9b makefile fixups to get xptinfo working on Win32. Added xptinfo.h for public dll declarations
git-svn-id: svn://10.0.0.236/trunk@22545 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 07:59:53 +00:00
mccabe%netscape.com
0217662ca2 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.


git-svn-id: svn://10.0.0.236/trunk@22533 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 05:21:31 +00:00
mccabe%netscape.com
5a91ac81df Initial checkin of typelib loading service.
git-svn-id: svn://10.0.0.236/trunk@21981 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 22:56:43 +00:00
shaver%netscape.com
7f3aa35988 binary files are required (thanks, jband). also fix typo
git-svn-id: svn://10.0.0.236/trunk@21093 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 02:53:08 +00:00
jband%netscape.com
de84b5da7e get this code compiling in win32
git-svn-id: svn://10.0.0.236/trunk@20902 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 07:05:36 +00:00
coop%netscape.com
2e906139b0 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


git-svn-id: svn://10.0.0.236/trunk@20801 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-16 18:41:30 +00:00
shaver%netscape.com
22f1e69f02 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.


git-svn-id: svn://10.0.0.236/trunk@19992 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-08 16:30:22 +00:00
coop%netscape.com
974dbf9b53 NOT YET PART OF SEAMONKEY:
* fixed header pointer assignment problem
* removed useless defines
* added correct level of indirection for sub-structs of header


git-svn-id: svn://10.0.0.236/trunk@19259 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 01:26:36 +00:00
coop%netscape.com
6e4af8f9ef 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


git-svn-id: svn://10.0.0.236/trunk@19068 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-30 01:10:01 +00:00
coop%netscape.com
49a193f463 NOT YET PART OF SEAMONKEY:
* added macros for checking bitflag values
* dump code is complete, minus actually reading from disk.


git-svn-id: svn://10.0.0.236/trunk@18912 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 06:01:56 +00:00
coop%netscape.com
d91301c106 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.


git-svn-id: svn://10.0.0.236/trunk@18752 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 06:32:57 +00:00
shaver%netscape.com
50af4f507e Fixed method and type descriptors, made const descriptors go.
git-svn-id: svn://10.0.0.236/trunk@18633 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 19:31:25 +00:00
shaver%netscape.com
d08f3acd1b 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!


git-svn-id: svn://10.0.0.236/trunk@18505 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 19:36:48 +00:00
mcafee%netscape.com
88a347ab56 Switching to SIMPLE_PROGRAMS
git-svn-id: svn://10.0.0.236/trunk@18447 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 12:21:27 +00:00
shaver%netscape.com
2d41ee208d 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.


git-svn-id: svn://10.0.0.236/trunk@18317 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 17:53:35 +00:00
mcafee%netscape.com
bec9fa4dee Yanked rules that are in rules.mk
git-svn-id: svn://10.0.0.236/trunk@18294 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 12:14:51 +00:00
shaver%netscape.com
07a4b636fb test DoString
git-svn-id: svn://10.0.0.236/trunk@18193 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 20:05:58 +00:00
shaver%netscape.com
ec12610954 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.


git-svn-id: svn://10.0.0.236/trunk@18176 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 17:37:54 +00:00
shaver%netscape.com
b7788d4156 added some tests (we don't pass yet =) ), wrote some primitives
git-svn-id: svn://10.0.0.236/trunk@18087 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-20 23:17:05 +00:00