Use proto_tree_add_item() or tvb_get_string_enc() instead of
tvb_get_unicode_string().  If there's an indication that the encoding is
UCS-2, use that, otherwise use UTF-16.  (For example, "BMP" stands for
"Basic Multilingual Plane", which is the part of Unicode that can be
encoded in 16 bits, hence UCS-2.)

In the description of the "Use Heuristics for UDP" preference for the
XML dissector, note that it's not just trying to recognize XML in UCS-2,
it's trying to recognize XML in *big-endian* UCS-2.

svn path=/trunk/; revision=54245
Improved compressed user data handling.

svn path=/trunk/; revision=54246
Renamed new_TvbRange to push_TvbRange and use this when creating a new
TvbRange from a FieldInfo.

This should fix the crash in bug #9483.

svn path=/trunk/; revision=54247
Modelines and consistent indentation.

svn path=/trunk/; revision=54248
Rename a couple of to_str functions to have ep_ in the name. This makes it
obvious that the returned string is ephemeral, and opens up the original names
in the API for versions that take a wmem pool (and thus can work in any scope).

svn path=/trunk/; revision=54249
Rename more to_str functions to have ep_ in the name if they return ephemeral
buffers. Remove two unused functions.

svn path=/trunk/; revision=54250
Cope with spaces or dashes in security keys

svn path=/trunk/; revision=54251
Since we're always calling ptvcursor_new() now, always call ptvcursor_free().

svn path=/trunk/; revision=54254
Fix leaks where ptvcursor_free() wasn't being called.

svn path=/trunk/; revision=54255
Change types and add cast to try to please buildbot

svn path=/trunk/; revision=54256
Need to call ptvcursor_current_offset() BEFORE ptvcursor_free().

svn path=/trunk/; revision=54257
Update file forgotten in r54250

svn path=/trunk/; revision=54264
Try to fix a warning found by, but not related to, the ABI check.

svn path=/trunk/; revision=54265
Cast result of strtol() to guint32;

svn path=/trunk/; revision=54266
Another try at marking the ws_sign_ext functions possibly-unused.

svn path=/trunk/; revision=54267
Add XXX comment as follows:
 /* XXX: GINT_MAX is not defined so #if ... will always be false */
 #if (GINT_MAX >= (1LL << 32))
   ...
 #endif

Remove _U_ on several function parameters.

Do some very minor whitespace changes;
Add editor modelines.


svn path=/trunk/; revision=54268
Remove 'L' and 'LL' from constants; they are all used as 32-bit quantities.
#if 0 an unsed constant definition.

svn path=/trunk/; revision=54269
Add bytestring_to_str() which takes a wmem scope and is otherwise identical to
bytestring_to_ep_str (now deprecated). Use the new one in a few obvious places.

Also just print directly to the buffer when loading ethernet addresses for
resolution. The straight-to-buffer bytes_to_hexstr seems useful, maybe it
shouldn't be in a private header...

svn path=/trunk/; revision=54270
Add System Frame Number to UDP framing protocol and display it in info column

svn path=/trunk/; revision=54272
proto_tree_add_text -> proto_tree_add_xxx conversion.

svn path=/trunk/; revision=54274