Commit Graph

16 Commits

Author SHA1 Message Date
Guy Harris 364261f0ad From Olivier Biot:
* Add a "match_string" field to the "packet_info" structure,
	  saving the string value that matched in a string dissector
	  lookup, by analogy to "match_port" - this was required for
	  dissection with token rendering of WBXML content when no public
	  ID was given (e.g. Nokia/Ericsson OTA provisioning data).
	* Add support for textual content type based WBXML token
	  mapping.
	* Add extra WBXML public identifiers.
	* Add the Nokia/Ericsson OTA provisioning (version 7) token
	  definitions.
	* Inform the user when a content-type based token match is found.

svn path=/trunk/; revision=9061
2003-11-21 21:58:55 +00:00
Guy Harris 7005a5f725 From Olivier Biot: add support for media type
"application/x-prov.syncset+wbxml".

svn path=/trunk/; revision=9049
2003-11-20 22:50:56 +00:00
Guy Harris e4080b8a02 From Olivier Biot:
* Fix an incorrectly #ifdef'ed return introduced by the previous
	  patch
	* Remove the parsed_length parameter from the function signature
	  of the tag and attribute dissectors - have it return the
	  parsed length, instead
	* Throw ReportedBoundsError exceptions if we run past the end of
	  the tvbuff, rather than putting a special entry in
	* Produce consistent and extensive debug logging (enabled by
	  defining DEBUG_wbxml)
	* Get rid of the dozens of "#ifdef DEBUG ... #endif" constructs
	  for debug logging

svn path=/trunk/; revision=9047
2003-11-20 22:24:15 +00:00
Guy Harris 674c756e6d From Olivier Biot: fix the WBXML dissector in cases where dissection is
interrupted because of a short frame or packets not being reassembled,
and provide additional debug logging.

svn path=/trunk/; revision=9040
2003-11-19 22:55:27 +00:00
Guy Harris 98b0611239 From Biot Olivier:
Rename WSP defines to avoid collisions with Windows defines.

	Rename WSP dissector table for integer-value content types.

	Add WSP dissector table for literal content types.

	Add WSP dissection registration for literal content types.

	Register literal and extra WBXML content types to WSP dissector.

	Register textual MMS content type to WSP dissector.

svn path=/trunk/; revision=8648
2003-10-09 18:54:06 +00:00
Guy Harris 19568c0901 From Biot Olivier: get rid of unused value_string table, and allow WBXML
1.0 dissection.

svn path=/trunk/; revision=7946
2003-06-26 18:28:12 +00:00
Guy Harris 202ee2ce25 Use "tvb_format_text()" to display strings, so that non-printable
characters don't show up.  (We really need to handle strings better in
Ethereal, so that we can handle various character encodings in the
packets; GTK+ 2.x uses UTF-8 internally, so we could at least map
everything to that when displaying, and I think GTK+ 1.x for Win32 does
so as well, and but we need to clean up the GTK+ 1.x-for-X11 stuff to
handle the various font encodings.)

Get rid of "strtbl_lookup()" in favor of the appropriate direct calls.

svn path=/trunk/; revision=7800
2003-06-06 20:31:45 +00:00
Guy Harris 72cc048ae1 From Olivier Biot:
* Support correct processing of code page switches
* Provide a new datatype containing scarce array of
  const value_string arrays (value_valuestring)
  allowing an efficient support for WBXML code pages.
* Minor fix (XML PI was always decoded without
  mapping known tokens)
* Add support for decoding of more WBXML content
  types (SyncML 1.0, SyncML 1.1, CHANNEL 1.0, EMN 1.0).

svn path=/trunk/; revision=7626
2003-05-01 18:18:20 +00:00
Guy Harris 9137608763 From Olivier Biot: add more (WB)XML DTDs from WINA.
svn path=/trunk/; revision=7472
2003-04-16 18:29:38 +00:00
Guy Harris d85fbe9cdb From Olivier Biot: fix quotation of attibute values for the WAP
Provisioning DTD representation.

svn path=/trunk/; revision=7377
2003-03-27 19:23:10 +00:00
Guy Harris 1837c71d7d From Olivier Biot: fix up various field names and descriptions, add a
URL for WAP specifications, and clean up some other stuff.

svn path=/trunk/; revision=7211
2003-02-27 02:52:50 +00:00
Guy Harris 44fed5407e From Olivier Biot:
- Move all static definitions from packet-wbxml.h to packet-wbxml.c
 - Comment out inclusion of packet-wbxml.h in packet-wbxml.c
 - Append WBXML + version + public ID to the Info column

Then, while we're at it, get rid of packet-wbxml.h (we can reinstate it
if there's any functionality to export other than the dissector) and get
rid of the include of packet-wbxml.h (and update comments not to refer
to it).

svn path=/trunk/; revision=7153
2003-02-14 19:39:54 +00:00
Jörg Mayer 8f75637e6f Mark pinfo parameter as unused
svn path=/trunk/; revision=7136
2003-02-13 22:00:53 +00:00
Guy Harris 699e4314d5 From Olivier Biot:
add string table parsing and displaying;

	add registration to more content types;

	LITERAL tag indentation fix;

	add and a change in unrendered WBXML: from confusing "<Tag
	0x37>" type display to "<Tag_0x37>" (and same in attribute
	state).

svn path=/trunk/; revision=7129
2003-02-12 21:46:15 +00:00
Guy Harris eb9a181518 WBXML updates, and e-mail address update, from Olivier Biot.
svn path=/trunk/; revision=7126
2003-02-12 01:17:07 +00:00
Guy Harris d48ec06a6a From Olivier Biot: WBXML/WMLC support.
svn path=/trunk/; revision=7084
2003-02-06 01:23:32 +00:00