Commit graph

17 commits

Author SHA1 Message Date
Anders Broman
6bde918078 From beroset:
remove C++ incompatibilities 
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8416

svn path=/trunk/; revision=48426
2013-03-19 20:00:52 +00:00
Guy Harris
8ed7a73e22 Fix a bunch of warnings.
Cast away some implicit 64-bit-to-32-bit conversion errors due to use of
sizeof.

Cast away some implicit 64-bit-to-32-bit conversion errors due to use of
strtol() and strtoul().

Change some data types to avoid those implicit conversion warnings.

When assigning a constant to a float, make sure the constant isn't a
double, by appending "f" to the constant.

Constify a bunch of variables, parameters, and return values to
eliminate warnings due to strings being given const qualifiers.  Cast
away those warnings in some cases where an API we don't control forces
us to do so.

Enable a bunch of additional warnings by default.  Note why at least
some of the other warnings aren't enabled.

randpkt.c and text2pcap.c are used to build programs, so they don't need
to be in EXTRA_DIST.

If the user specifies --enable-warnings-as-errors, add -Werror *even if
the user specified --enable-extra-gcc-flags; assume they know what
they're doing and are willing to have the compile fail due to the extra
GCC warnings being treated as errors.

svn path=/trunk/; revision=46748
2012-12-26 05:57:06 +00:00
Jeff Morriss
2552c750e5 We always HAVE_CONFIG_H so don't bother checking whether we have it or not.
svn path=/trunk/; revision=45017
2012-09-20 02:03:38 +00:00
Jakub Zawadzki
9f92dc93c5 Add data parameter to call_dissector_only.
svn path=/trunk/; revision=44872
2012-09-11 08:28:07 +00:00
Jakub Zawadzki
5a8783f5b1 Initial commit to support yet another method of passing data between dissectors.
Add new parameter 'data' to heur_dissector_t and new_dissector_t, for now it's always NULL

svn path=/trunk/; revision=44860
2012-09-10 21:40:21 +00:00
Michael Mann
493516fd6c Convert GString to emem_strbuf_t in packet-gadu-gadu.c
Required an additional function, ep_strbuf_append_unichar, in emem module

svn path=/trunk/; revision=44564
2012-08-18 19:20:31 +00:00
Jakub Zawadzki
b0e44929a3 Gadu-Gadu: dissect more packets.
svn path=/trunk/; revision=43753
2012-07-16 14:34:35 +00:00
Jakub Zawadzki
a898b392e2 Gadu-Gadu: dissect more packets.
svn path=/trunk/; revision=43589
2012-07-06 21:24:16 +00:00
Jakub Zawadzki
b18e880040 Update FSF address - part II.
svn path=/trunk/; revision=43538
2012-06-28 23:18:38 +00:00
Jakub Zawadzki
85aad38347 Add proto_tree_add_unicode_string() to add UTF-8 string to tree.
Convert some proto_tree_add_string_format_value(..., val, "%s", val); to use new function.

svn path=/trunk/; revision=43363
2012-06-19 14:32:24 +00:00
Jakub Zawadzki
11e584f4cf packet-gadu-gadu: set COL_INFO in undissected/unknown packet types.
svn path=/trunk/; revision=43068
2012-06-04 14:37:24 +00:00
Jakub Zawadzki
dfa5a78130 Fix bug #7304, stupid mistake.
svn path=/trunk/; revision=42900
2012-05-29 20:27:22 +00:00
Chris Maynard
06606bb68f tvb_reported_length_remaining() can return a negative number. In dissect_gadu_gadu_userlist80_compressed(), bail out if it does. Fixes Coverity CID 703085. In dissect_gadu_gadu_stringz_cp1250(), be sure to compare against its return value as being only positve rather than non-zero. Also, fixed a couple of typos.
svn path=/trunk/; revision=42837
2012-05-24 23:14:30 +00:00
Jakub Zawadzki
1d510f0616 Improve Gadu-Gadu dissector (part III)
svn path=/trunk/; revision=42742
2012-05-21 13:07:33 +00:00
Jakub Zawadzki
aaa9b34c86 Improve Gadu-Gadu dissector and fix some comments.
svn path=/trunk/; revision=42711
2012-05-19 07:57:45 +00:00
Jakub Zawadzki
3bb88a972b Improve Gadu-Gadu dissector.
svn path=/trunk/; revision=42709
2012-05-18 17:43:48 +00:00
Anders Broman
7b75e49da5 From Jakub Zawadzki:
Minimal version of Gadu-Gadu dissector (header only).

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

svn path=/trunk/; revision=40858
2012-02-05 12:15:12 +00:00