Fix Coverity CID 1062616: Unused pointer value.

svn path=/trunk/; revision=51384
Use convert_proto_tree_add_text.pl to make many filterable items.
Also some cleanup since the filterable items remove the need for tvb_memcpy of static structures.

svn path=/trunk/; revision=51385
Add one 'volatile' keyword to fix a -Wclobbered and change the tree used in one
proto_tree call to fix a -Wunused-but-set-variable, both of which show up in GCC
4.8.

svn path=/trunk/; revision=51386
Try to use smarter path resolution and detection in order to work in
environments that are not the build tree (namely the fuzz-bot, but this might
make normal out-of-tree builds easier too).

svn path=/trunk/; revision=51387
From Chris Pane:
More bug fixes and feature additions to IEEE1722.1 dissector.

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9043

svn path=/trunk/; revision=51388
From Wido Kelling:
wrong interpretation of first byte in userdata of profinet data.

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9039

svn path=/trunk/; revision=51389
packet-dcerpc-pn-io.c: In function 'dissect_PNIO_C_SDU':
packet-dcerpc-pn-io.c:9220: warning: unused parameter 'drep'

svn path=/trunk/; revision=51390
Be sure to forward BIN_DIR to the valgrind script, probably also needed on the
fuzz-but.

svn path=/trunk/; revision=51391
Trivial.  Fix warning: Value stored to 'str_index' is never read.

svn path=/trunk/; revision=51392
Fix 5 warnings: Value stored to 'offset' is never read.  Also: misc. whitespace changes, add modelines.

svn path=/trunk/; revision=51393
Make more filterable items courtesy of convert_proto_tree_add_text.pl.

Also converted proto_tree_add_xxx_format into proto_tree_add_xxx_format_value so that label doesn't get out of sync with hf.

svn path=/trunk/; revision=51394
Initialize val_len to avoid Clang warning: The right operand of '-' is a garbage value.  While in there, add some protection against tvb_length_remaining() possibly returning -1, or possibly being less than val_len.

#BACKPORT(1.10)

svn path=/trunk/; revision=51395
Introduce new proto_tree API required for hf_ variables removal.

svn path=/trunk/; revision=51396
Convert my dissectors to new proto API.

svn path=/trunk/; revision=51397
Fix typo (failure to remove a %).

_U_ify some no-longer-used arguments.

Rename all the hf_pipe variables to hf_smb_pipe, and rename the field
names and protocol name to be "smb_pipe.", for consistency.  (Ceci n'est
pas une pipe.)

Treat and label 1-byte parameters as "byte parameters" and multi-byte
opaque parameters as "bytes parameters".

Format machine-added hf[] entries to match other hf[] entries.

Fix indentation.

svn path=/trunk/; revision=51398
Get rid of an unused variable.

For some routines, instead of having them check for -1 as the hf_index
and using a default hf_index in that case, just pass them the default
hf_index instead of -1 and just use the hf_index unconditionally.

svn path=/trunk/; revision=51399
Move "aggregate" fields containing bit subfields before the bit
subfields.  Rename some of their hf_ variable names to match the hf_
variable names of the subfields, and rename one field to be a prefix of
its subfields.

For the 64-bit UNIX capabilities, use proto_tree_add_item() for the
flags.

Get rid of a #if 0'ed out field that is duplicated by one of the
newly-added fields.

svn path=/trunk/; revision=51400
Fix few concept of new api tree:

- (for now) keep ABI, restore prototype of old proto_tree_add_item, add new proto_tree_add_item_new
- add few helpers for boolean, time, string which will do ->id
- don't use HFI_INIT directly, use it by another macro (MSVC has very small limit for section name)

svn path=/trunk/; revision=51401
Fix subtree ett value.

svn path=/trunk/; revision=51402
Convert few more dissectors to new proto API.

svn path=/trunk/; revision=51403