Commit Graph

19 Commits

Author SHA1 Message Date
Guy Harris 887799e01a From Bernd Becker: don't clear COL_INFO until the GIOP subdissecrors are
fixed to put something interesting there, fix the GIOP dissector to
restore the Protocol column if no heuristic dissector succeeded, and fix
up the plugin GIOP subdissectors to use "col_set_str()" to set the
Protocol column.

svn path=/trunk/; revision=4424
2001-12-19 08:59:08 +00:00
Guy Harris ee04f7826f Now that the GIOP dissector sets "pinfo->current_proto" before calling
subdissectors, the subdissectors don't have to set it themselves.

svn path=/trunk/; revision=4417
2001-12-17 22:51:42 +00:00
Guy Harris b2533029da From Frank Singleton: change ethereal_gen.py to match the current
calling sequence for "check_col()" and "col_add_str()".

While we're at it, change it to use "col_set_str()" rather than
"col_add_str()", and to clear the Info column as well.

svn path=/trunk/; revision=4415
2001-12-17 22:31:42 +00:00
Guy Harris a9b1809b0f From Frank Singleton:
- accept struct and union lists passed in via ethereal_be.py
	- these lists are unused until I add the templates for struct
	  and union helper functions. So code generation is unchanged
	  for the moment.

svn path=/trunk/; revision=4227
2001-11-19 23:00:12 +00:00
Guy Harris 97a05828cd Sigh. Well, if you make the function declarations external, that means
that they're external when the plugin is compiled, and there's no
definition to satisfy the extern, so plugins fail to compile.

Add a "plugins/plugin_api_defs.h" header file that defines them, and
include that in one (and only one) source file for a particular plugin.

svn path=/trunk/; revision=4117
2001-10-31 10:40:58 +00:00
Guy Harris 3820d7e2a5 Update from Frank Singleton:
- Handle "short" as a union discriminant type
 - Handle case where union discriminant may be a typedef
 - Change integer template to long template
 - Initial code for \n and \t as  union case labels.

svn path=/trunk/; revision=4076
2001-10-25 19:57:06 +00:00
Guy Harris 40e944337d From Frank Singleton: catch attempts to use recursive unions or
structures.

svn path=/trunk/; revision=4040
2001-10-18 21:49:58 +00:00
Guy Harris 0ce416f177 From Frank Singleton:
Added some functionality to idl2eth to allow C code generation
	and display of CORBA IDL Enum's as symbolic values, along side
	the numerical value currently being displayed.

svn path=/trunk/; revision=4020
2001-10-12 17:14:41 +00:00
Guy Harris a588428c1b Update from Frank Singleton to
- Add support for CORBA IDL "unions"
	- Update TODO
	- Improve "Operation Return Value" in genOperationReply()

svn path=/trunk/; revision=3833
2001-08-11 04:37:31 +00:00
Guy Harris 4940c97f11 Update from Frank Singleton:
Improve Template and Description for Attribute delegation code

	_get_xxx_at() should only be called for Reply with NO_EXCEPTION
	_set_xxx_at() should only be called for Request

svn path=/trunk/; revision=3813
2001-08-03 20:44:58 +00:00
Guy Harris 7c3f0a260f Updates from Frank Singleton:
- Add support for CORBA attributes
	- Add support for included files, not just main file
	- Fix sequence variable name generation.
	- Add support functions for code warnings etc.
	   i.e.: TODO and WARNING functions, to highlight
	   if we don't [yet] support a particular CORBA type.

svn path=/trunk/; revision=3795
2001-07-27 18:35:22 +00:00
Guy Harris 8caa99f9cc Update from Frank Singleton to put the right file name in the
introductory comment.

svn path=/trunk/; revision=3755
2001-07-20 20:36:31 +00:00
Guy Harris c2c99c8d52 Do not put zero-length arrays into the generated dissector; GCC may let
you get away with them, but other compilers, e.g. Microsoft Visual C++,
don't.

svn path=/trunk/; revision=3752
2001-07-20 09:50:08 +00:00
Olivier Abad 4df3560dfe Changes to generate plugins instead of standard dissectors.
svn path=/trunk/; revision=3732
2001-07-16 20:44:28 +00:00
Olivier Abad c5881bc7b9 Patch to allow the creation of "User Exception decoding" code from
Frank Singleton.

svn path=/trunk/; revision=3700
2001-07-12 19:51:42 +00:00
Guy Harris 93fd74d75e From Frank Singleton: when GIOP sub-dissectors register themselves, have
them supply a protocol ID, and have the code that calls the
subdissectors check if the protocol is enabled and, if it isn't, not
call the sub-dissector.

svn path=/trunk/; revision=3623
2001-06-29 20:49:29 +00:00
Guy Harris 68f6c4d9b9 Improved support for CORBA IDL "fixed" types, and other updates, from
Frank Singleton.

svn path=/trunk/; revision=3616
2001-06-27 20:41:16 +00:00
Guy Harris 37445739b2 From Frank Singleton: add code generation support for IDL array types.
svn path=/trunk/; revision=3570
2001-06-18 19:31:50 +00:00
Guy Harris 995f8522b3 Support for protocols running atop GIOP, from Frank Singleton.
svn path=/trunk/; revision=3563
2001-06-18 05:27:18 +00:00