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

222 Коммитов

Автор SHA1 Сообщение Дата
shaver%netscape.com a913fc8d8c ignore generated files 1999-03-08 21:27:03 +00:00
coop%netscape.com e7e101fcc1 NOT YET PART OF SEAMONKEY:
* linker now sorts based on IIDs
* xpt_dump no longer complains about md->result if it is of the correct retval type
1999-03-08 21:13:58 +00:00
shaver%netscape.com fcc5df1473 display method flags, handle bogus indices 1999-03-08 21:11:08 +00:00
shaver%netscape.com bc2cbd6fe5 Make params include the name of the interface referenced. 1999-03-08 20:33:35 +00:00
coop%netscape.com faab5fe4e4 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 d3216bb70e fix remnant of 32-bit interface references 1999-03-08 03:56:14 +00:00
shaver%netscape.com bbdbbbbd5d Add XPT_InterfaceDescriptorAddConsts to API. 1999-03-06 19:40:34 +00:00
jband%netscape.com 8165a55acc makefile fixups to get xptinfo working on Win32. Added xptinfo.h for public dll declarations 1999-03-02 07:59:53 +00:00
mccabe%netscape.com 5625b110db Not yet part of Seamonkey.
Changed from using malloc to (much less, but still slightly) hacked
nsIAllocator service.
1999-03-02 05:38:27 +00:00
mccabe%netscape.com 5f572e6d7e 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 bd35705ad7 Initial checkin of typelib loading service. 1999-02-25 22:56:43 +00:00
coop%netscape.com 129cd15bde NOT YET PART OF SEAMONKEY:
* first pass at typelib linker
* parent_interface modification is untested
* interface offset management is unimplemented
* what to do about annotations?
1999-02-25 17:45:11 +00:00
coop%netscape.com 403a332ab2 NOT YET PART OF SEAMONKEY:
* fixed casting problem in calls to Do8
1999-02-23 16:17:37 +00:00
alecf%netscape.com 36d35faa8f make these libraries build during the export phase 1999-02-18 22:36:27 +00:00
coop%netscape.com 340caebc15 NOT YET PART OF SEAMONKEY:
* now close input file in all cases
* warn user about params with no in/out flag information
* more internal error checking
1999-02-18 22:29:59 +00:00
shaver%netscape.com 5f986c1b54 fix InterfaceDescriptorAddMethods to not randomly overwrite memory, and fix
DoMethodDescriptor to not randomly overwrite md->result
1999-02-18 17:36:46 +00:00
shaver%netscape.com 2511329d80 binary files are required (thanks, jband). also fix typo 1999-02-18 02:53:08 +00:00
shaver%netscape.com a2bc4ae0d7 Report read failure and short reads (should handle short reads better! RSN!).
File length is a size_t now, not an int.
1999-02-18 00:42:01 +00:00
coop%netscape.com b79755973f NOT YET PART OF SEAMONKEY:
* replaces reference to unistd.h by stdlib.h
1999-02-17 17:36:01 +00:00
jband%netscape.com 7be417bb2e get this code compiling in win32 1999-02-17 07:05:36 +00:00
coop%netscape.com 44992d0a27 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 b0aeee1bf1 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 b67985862a 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 51a75b5de2 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 f856bd0e7e move includes outside #ifdef for precompiled-header love, also PR_EXTERN_C 1999-02-08 19:48:48 +00:00
shaver%netscape.com 34bbed0ee7 Windows make goop 1999-02-08 18:34:54 +00:00
shaver%netscape.com 0794ace0b2 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
coop%netscape.com 4a94bde961 NOT YET PART OF SEAMONKEY:
* added support for non-verbose mode as default for typelib dumper.
1999-02-04 03:16:07 +00:00
coop%netscape.com 49961011bc NOT YET PART OF SEAMONKEY:
* add command-line flag for verbose mode, which will soon not be the default
* now outputs to stdout
* added output for int64, uint64, and wchar
1999-02-04 00:31:59 +00:00
shaver%netscape.com dda8be52bc (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
mcafee%netscape.com c3dcdbc36c Ignore generated SimpleTypeLib, PrimitiveTestexecutables 1999-02-02 06:20:46 +00:00
mcafee%netscape.com 335b01b913 Ignore generated xpt_dump executable 1999-02-02 06:19:50 +00:00
coop%netscape.com e584d03088 NOT YET PART OF SEAMONKEY:
* fixed header pointer assignment problem
* removed useless defines
* added correct level of indirection for sub-structs of header
1999-02-02 01:26:36 +00:00
coop%netscape.com 07523340a1 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
1999-01-30 01:10:01 +00:00
coop%netscape.com eb37fa5481 NOT YET PART OF SEAMONKEY:
* committing fixes for shaver
* header pointer is now set XPT_DoHeader
* fixed assertion error in CHECK_COUNT macro
1999-01-30 01:03:54 +00:00
coop%netscape.com d317a33504 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 5e0157c3b0 fix header.data_pool writing 1999-01-28 01:55:24 +00:00
coop%netscape.com b0a2795c3e 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 e65923e774 Fixed method and type descriptors, made const descriptors go. 1999-01-26 19:31:25 +00:00
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