Evan Huus
a6415ece0a
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
2013-12-19 15:49:09 +00:00
Evan Huus
b7ab4db210
Modelines and consistent indentation.
...
svn path=/trunk/; revision=54248
2013-12-19 15:27:44 +00:00
Stig Bjørlykke
3b73e8b479
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
2013-12-19 15:26:31 +00:00
Stig Bjørlykke
891b2372a0
Improved compressed user data handling.
...
svn path=/trunk/; revision=54246
2013-12-19 11:24:55 +00:00
Guy Harris
317b828986
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
2013-12-19 09:19:33 +00:00
Guy Harris
4a346b7188
Use tvb_get_string_enc(), or proto_tree_add_item(), rather than
...
tvb_get_unicode_string() or g_iconv stuff.
svn path=/trunk/; revision=54244
2013-12-19 03:12:59 +00:00
Guy Harris
30129013b0
Use proto_tree_add_item() in cases where we don't actually look at the
...
value.
svn path=/trunk/; revision=54243
2013-12-19 02:41:27 +00:00
Jeff Morriss
6762f7e0c8
Some patches from Peter Harris:
...
[PATCH 1/5] X11 dissector: Sort declarations
This prevents pointless changes showing up in the diff when evaluating
unrelated changes to the generator.
See http://search.cpan.org/dist/perl-5.18.0/pod/perldelta.pod#Hash_randomization
[PATCH 2/5] X11 dissector: Silence warnings on perl 5.18, prevent 5.20
Perl 5.18 retroactively marked "given/when" experimental, with a
promise to remove or dramatically change it in 5.20.
Since there is no perl 5.20 yet, there is no way to make this script
compatible with it.
[PATCH 3/5] X11 dissector: Support variable_param (at least for glCallLists)
(This patch makes the change in r54232 unnecessary by using the previously-
unused variable.)
[PATCH 4/5] X11 dissector: Remove obsolete TODO item
This item was done in r53531 PATCH 09/11
svn path=/trunk/; revision=54242
2013-12-19 02:32:21 +00:00
Michael Mann
cc152029f3
Exposing a couple of more constant arrays for ANSI-637. Bug 9471 ( https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9471 )
...
From Michael Lum
svn path=/trunk/; revision=54241
2013-12-19 01:37:54 +00:00
Jeff Morriss
10670dc875
Regenerate the X11 dissector in order to pick up the change from r54232. Also update to the latest mesa (though this resulted in no changes).
...
svn path=/trunk/; revision=54240
2013-12-18 23:45:09 +00:00
Jakub Zawadzki
099294dd16
Add charset table for ISO/IEC 8859-9 (ENC_ISO_8859_9)
...
svn path=/trunk/; revision=54239
2013-12-18 23:32:06 +00:00
Jakub Zawadzki
e49da695a1
Use ws_sign_ext64()
...
svn path=/trunk/; revision=54238
2013-12-18 22:25:18 +00:00
Martin Kaiser
424fae1228
initialize info_flags, fix compile error
...
svn path=/trunk/; revision=54237
2013-12-18 22:15:56 +00:00
Michael Mann
f882b63d97
Some proto_tree_add_xxx functions have a '_' in the function name so make sure they get counted in the proto_tree_add_text percentage.
...
Makes a few dissectors look a little better.
svn path=/trunk/; revision=54236
2013-12-18 22:10:59 +00:00
Guy Harris
4c4af5415f
Use FT_STRING for string-valued fields.
...
Have RDP_FI_STRING set for all string-valued fields, with:
RDP_FI_UNICODE set if the string is always "Unicode" (assumed to
be UTF-16-encoded);
RDP_FI_ANSI set if the string is always "ANSI" (we should try to
use the code page indication);
neither set if the string is "Unicode" or "ANSI" depending on
the INFO_UNICODE flag in the packet (the only strings that work
that way are in TS_INFO_PACKET or TS_EXTENDED_INFO_PACKET
packets, which also have the flags field with INFO_UNICODE).
Use proto_tree_add_item() to add the string items.
While we're at it, pull the code to get conversation data, creating it
if necessary, into a routine.
svn path=/trunk/; revision=54235
2013-12-18 21:36:15 +00:00
Alexis La Goutte
fe7e1783f7
Remove unneeded #include epan/dissectors/packet-scsi.h
...
svn path=/trunk/; revision=54234
2013-12-18 21:21:08 +00:00
Alexis La Goutte
3b519432dc
Add extern C for stat_cmd_args (for future use in Wireshark Qt)
...
svn path=/trunk/; revision=54233
2013-12-18 21:20:57 +00:00
Gerald Combs
5385c2d5f8
Instead of assigning a variable to itself, avoid unused warnings similar
...
to the Q_UNUSED macro.
svn path=/trunk/; revision=54232
2013-12-18 20:53:01 +00:00
Gerald Combs
b834b2ae18
"unsigned long" is not necessarily the same as "guint".
...
svn path=/trunk/; revision=54231
2013-12-18 20:38:05 +00:00
Chris Maynard
0c73eb6808
Update the example to match the ohter plugins in wireshark.nsi.
...
svn path=/trunk/; revision=54230
2013-12-18 20:00:06 +00:00
Evan Huus
3947343ca3
Remove unused variable.
...
svn path=/trunk/; revision=54229
2013-12-18 19:22:24 +00:00
Michael Mann
00eb735a31
Remove other_decode_bitfield_value in favor of bitmasks in hf_ entry.
...
Replace "home grown" APIs for string->int conversions with more standard ones.
svn path=/trunk/; revision=54228
2013-12-18 19:19:17 +00:00
Chris Maynard
f0a58ef523
Call ptvcursor_new() to initialize cursor whether tree is NULL or not.
...
Fixes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9578
#BACKPORT(1.10, 1.8)
svn path=/trunk/; revision=54227
2013-12-18 18:27:07 +00:00
Bill Meier
72e5288fdd
Per user request, revert reformatting of hf[] entries done in SVN #54005 .
...
See wireshark-dev message thread begining at:
https://wireshark.org/lists/wireshark-dev/201312/msg00156.html
svn path=/trunk/; revision=54226
2013-12-18 16:52:51 +00:00
Evan Huus
8f665d9b36
Add a sixteenth element to all BCD digit sets to avoid garbage values when
...
decoding corrupt bytes. Some of these digit sets could probably be
deduplicated...
svn path=/trunk/; revision=54224
2013-12-18 15:54:32 +00:00
Michael Mann
197c2ffac6
CIMD Error Code Dissection. Bug 9570 ( https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9570 )
...
From Vineeth
from me - make a few of the value_strings value_string_exts
svn path=/trunk/; revision=54223
2013-12-18 15:15:39 +00:00
Alexis La Goutte
c1ceac58cd
Fix -Wunused-const-variable found by Clang
...
svn path=/trunk/; revision=54222
2013-12-18 14:31:14 +00:00
Stig Bjørlykke
ad531c5bfc
Added Column clear_fence().
...
svn path=/trunk/; revision=54221
2013-12-18 14:19:12 +00:00
Stig Bjørlykke
80150e196a
Added col_clear_fence().
...
svn path=/trunk/; revision=54220
2013-12-18 14:18:45 +00:00
Irene Rüngeler
4729c083ac
Add 'Filter Association' to context menu in packet list.
...
svn path=/trunk/; revision=54219
2013-12-18 13:49:10 +00:00
Martin Mathieson
485faca86d
Add cast to try to fix buildbot failure
...
svn path=/trunk/; revision=54218
2013-12-18 13:37:20 +00:00
Martin Mathieson
ae50f1d21e
Fix a test to allow deciphering to happen on the first pass, and close the gcrypt handles after use.
...
svn path=/trunk/; revision=54216
2013-12-18 13:08:57 +00:00
Stig Bjørlykke
52a05e6275
Added ByteArray base64_decode().
...
svn path=/trunk/; revision=54215
2013-12-18 12:55:43 +00:00
Stig Bjørlykke
aa2961280f
Added support for continuation line in content type.
...
svn path=/trunk/; revision=54214
2013-12-18 12:54:18 +00:00
Martin Mathieson
d536d5fb7d
Remove unused variables to try to unbreak MAC buildbots
...
svn path=/trunk/; revision=54213
2013-12-18 12:19:42 +00:00
Martin Mathieson
17e31af34f
Only convert string key once, during update uat callback
...
svn path=/trunk/; revision=54212
2013-12-18 12:05:11 +00:00
Irene Rüngeler
d54801bff5
Fix warning because of functions defined but not used.
...
svn path=/trunk/; revision=54211
2013-12-18 09:53:25 +00:00
Irene Rüngeler
d65cb2e9ab
Ignore the first line of the chunk statistics file.
...
svn path=/trunk/; revision=54210
2013-12-18 08:04:01 +00:00
Anders Broman
e8b935ad6e
Fix [-Wmissing-prototypes]
...
svn path=/trunk/; revision=54209
2013-12-18 06:51:09 +00:00
Jeff Morriss
7dfbe304a7
Translate a little leftover German to English.
...
svn path=/trunk/; revision=54208
2013-12-18 02:25:53 +00:00
Jeff Morriss
189a80048a
Fix compilation when we don't HAVE_GCRYPT.
...
svn path=/trunk/; revision=54207
2013-12-18 02:16:42 +00:00
Jeff Morriss
5c8e65009e
Presumably ansi_tsb58_language_ind_vals shouldn't be static (since it's listed in the header file).
...
svn path=/trunk/; revision=54206
2013-12-18 02:08:17 +00:00
Michael Mann
88b9db9bd6
ANSI A-interface improvements. Bug 9471 ( https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9471 )
...
From Michael Lum
svn path=/trunk/; revision=54205
2013-12-18 01:30:50 +00:00
Evan Huus
01c048b838
Add two missing BASE_EXT_STRING flags as caught by Alexis's ASAN fuzzing.
...
svn path=/trunk/; revision=54204
2013-12-17 23:03:27 +00:00
Evan Huus
a2bb473ead
Fix what appears to be a misuse of pointers in the LLDP dissector as caught by
...
Alexis's ASAN fuzzing. Pass the address of a guid on the stack, not the address
of a pointer to a guid which doesn't actually point to anything...
svn path=/trunk/; revision=54203
2013-12-17 22:38:40 +00:00
Jakub Zawadzki
ff2a5847b9
sign_ext.h: use G_GINT64_CONSTANT(), add sample for alternative method of sign extension.
...
Alternative method looks much nicer in dissasembly.
svn path=/trunk/; revision=54202
2013-12-17 22:16:06 +00:00
Anders Broman
e6d09c1634
Make local functions static. Include *.h when needed.
...
svn path=/trunk/; revision=54201
2013-12-17 22:07:32 +00:00
Jeff Morriss
be09c39208
Add SVN properties.
...
svn path=/trunk/; revision=54200
2013-12-17 22:03:37 +00:00
Guy Harris
9628624867
Get rid of trailing periods in some error messages for consistency; the
...
others don't have trailing periods, and the caller adds a period as
desired.
svn path=/trunk/; revision=54199
2013-12-17 21:51:45 +00:00
Jakub Zawadzki
c8716a45ee
Put sign_ext.h in Makefile.
...
svn path=/trunk/; revision=54198
2013-12-17 21:38:59 +00:00