Qt: Add Decode as in Show Packet Bytes
authorStig Bjørlykke <stig@bjorlykke.org>
Sun, 14 Feb 2016 22:01:09 +0000 (23:01 +0100)
committerAlexis La Goutte <alexis.lagoutte@gmail.com>
Tue, 16 Feb 2016 21:43:14 +0000 (21:43 +0000)
commit989739c4fcb229f51389997e0a5e2947b97c68d2
tree701930a3739f9cc5c368d57aa73b048f31ef4d8b
parenta6118997ff3a1ebbeb816d50daf6d15247b8bd52
Qt: Add Decode as in Show Packet Bytes

Add an option to decode the packet bytes from base64 or zlib compressed.
Also add configurable start byte and end byte to make it possible to
decode a subset of bytes.  It's also possible to select a range in ASCII
view and select "Show selected" from the context menu to make a subset.

In ASCII view a null terminator is replaced by UTF8 symbol for NULL,
and a CR is replaced by UTF8 symbol for carriage return.  This is done
to make it possible to "Show selected" from the context menu.

Change-Id: Ie03c9912c304c121af6ca9e998a6e8445b5382c5
Reviewed-on: https://code.wireshark.org/review/13958
Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
docbook/wsug_src/WSUG_chapter_advanced.asciidoc
ui/qt/show_packet_bytes_dialog.cpp
ui/qt/show_packet_bytes_dialog.h
ui/qt/show_packet_bytes_dialog.ui
ui/qt/wireshark_en.qm
ui/qt/wireshark_en.ts
wsutil/utf8_entities.h