aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2013-12-21include header file.Jakub Zawadzki1-1/+1
svn path=/trunk/; revision=54331
2013-12-21New functions: str_to_ip6(), str_to_ip()Jakub Zawadzki10-143/+34
This way we can avoid including lot of system header files in some dissectors and it might fix bug #9581 svn path=/trunk/; revision=54330
2013-12-21ui/gtk/follow_stream.c was using isprint.h hack, change all isprint()Jakub Zawadzki1-2/+2
svn path=/trunk/; revision=54329
2013-12-21isascii(x) && isprint(x) -> g_ascii_isprint(x)Jakub Zawadzki6-8/+8
svn path=/trunk/; revision=54328
2013-12-21Drop isprint.h use g_ascii_isprint() when this include hack was enabled.Jakub Zawadzki14-82/+23
svn path=/trunk/; revision=54327
2013-12-21Move epan/base64.[ch] to wsutil/ with function name change.Jakub Zawadzki10-21/+21
svn path=/trunk/; revision=54326
2013-12-21Move base64_to_tvb() to tvbuff_base64.cJakub Zawadzki10-25/+56
svn path=/trunk/; revision=54325
2013-12-21Commit sample program to generate charsets.c tables using iconv()Jakub Zawadzki1-0/+126
For now only single-byte, and it must be possible to encode whole charset as UCS-2 svn path=/trunk/; revision=54324
2013-12-21make it possible to compile the sample dissector.Jörg Mayer1-2/+6
Fix one trivial error found. Add a missing forward declaration. svn path=/trunk/; revision=54323
2013-12-21Fix compilation without HAVE_HFI_SECTION_INIT defined.Jörg Mayer1-1/+1
svn path=/trunk/; revision=54322
2013-12-21Update documentation to reflect the non-existence ofGuy Harris1-3/+0
proto_tree_add_unicode_string(). svn path=/trunk/; revision=54321
2013-12-21Update documentation to reflect removal of tvb_get_unicode_string*, fullGuy Harris1-20/+16
support for (correct) UTF-16, and new string encodings. svn path=/trunk/; revision=54320
2013-12-21Convert to NEW_PROTO_TREE_APIJörg Mayer1-64/+74
svn path=/trunk/; revision=54319
2013-12-21Get rid of tvb_get_unicode_string() and tvb_get_unicode_stringz();Guy Harris2-101/+212
instead, have static routines to get UCS-2 (no surrogate pairs) and UTF-16 (with surrogate pairs) strings, with the routines to handle UTF-16 actually handling surrogate pairs. Update some out-of-date comments while we're at it. svn path=/trunk/; revision=54318
2013-12-21unknown5 is probably the speed in 500kHzJörg Mayer1-4/+4
svn path=/trunk/; revision=54317
2013-12-20Try to guess some more values looking at the decoded values fromJörg Mayer1-15/+21
a (version 2) screenshot svn path=/trunk/; revision=54316
2013-12-20Avoid including <epan/range.h> in dissectors.Jakub Zawadzki3-4/+6
svn path=/trunk/; revision=54315
2013-12-20Change G_GINT64_CONSTANT(xxxxU) to G_GUINT64_CONSTANT(xxxx)Jakub Zawadzki31-48/+48
svn path=/trunk/; revision=54314
2013-12-20Copy Evan r54250 changes to asn/Jakub Zawadzki3-6/+6
Rename more to_str functions to have ep_ in the name if they return ephemeral buffers. svn path=/trunk/; revision=54313
2013-12-20unknown2/3 -> capturelen1/2Jörg Mayer2-10/+14
NEWS got updated svn path=/trunk/; revision=54312
2013-12-20Improved the valuestring documentation.Stig Bjørlykke1-7/+7
svn path=/trunk/; revision=54311
2013-12-20Add new string_enc and stringz_enc methods that take an encoding valueGuy Harris1-4/+64
as an argument, just as the add_packet_field method for a tree does. Use tvb_get_string_enc() and tvb_get_stringz_enc() rather than tvb_get_string(), tvb_get_stringz(), tvb_get_unicode_string(), and tvb_get_unicode_stringz(). Treat "ustring" as meaning "UTF-16-encoded Unicode string" rather than "UCS-2-encoded subset-of-Unicode string". svn path=/trunk/; revision=54310
2013-12-20- Change guint32 array initializer constants to use 'U' rather than 'L'Bill Meier1-172/+185
(not that it actally makes any difference); - Change 'guint crc32_0AA725CF_reverse[]' to 'guint32 ...' (no actual difference); - Fix some indentation; - Add editor modelines. svn path=/trunk/; revision=54309
2013-12-20'guint32 crc_c[256]' array initializer constants should be unsigned 32bit; ↵Bill Meier1-64/+64
Replace 'L' by 'U'. (not that it makes any difference in this case). (I note that in https://tools.ietf.org/id/draft-ietf-tsvwg-sctpcsum-01.txt the definition was 'unsigned long crc_c[256] = {0x...L, ...} presumably from the days when LP32 was still in use. svn path=/trunk/; revision=54308
2013-12-20#if 0 a group of unused #defines;Bill Meier1-8/+23
Remove some trailing whitespace; Add editor modelines. svn path=/trunk/; revision=54307
2013-12-20#if 0 some unused #defines.Bill Meier1-0/+2
svn path=/trunk/; revision=54306
2013-12-20#if 0 some unused #defines;Bill Meier1-0/+15
Add editor modelines. svn path=/trunk/; revision=54305
2013-12-20nnn'ULL' ==> G_GUINT64_CONSTANT(nnn)Bill Meier1-26/+29
svn path=/trunk/; revision=54304
2013-12-20The payload of a compressed Kafka message is supposed to be itself aEvan Huus1-1/+6
message-set, so dissect it as such. I don't have a capture demonstrating this at the moment, but it ought to work. svn path=/trunk/; revision=54303
2013-12-20Simplify dissect_kafka_metadata_request() to not add an unnecessary tree andEvan Huus1-13/+2
match the rest of the protocol dissection in style. svn path=/trunk/; revision=54301
2013-12-20use small negative values for the error definesMartin Kaiser2-27/+26
(such constants are signed ints by default) svn path=/trunk/; revision=54300
2013-12-20we can display UTF-8 encoded ISO 10646 BMP without any mappingMartin Kaiser1-0/+3
svn path=/trunk/; revision=54299
2013-12-20add Asian DVB-SI character tablesMartin Kaiser2-28/+46
minor whitespace changes svn path=/trunk/; revision=54298
2013-12-20simplify the defines for DVB chartablesMartin Kaiser2-54/+29
there's no need for their values to match the values in the DVB-SI spec we can summarize basic and extended table definitions svn path=/trunk/; revision=54297
2013-12-20Replace one more g_memmove with memmove, add a cast to make the Lua stuffEvan Huus2-2/+2
compile. svn path=/trunk/; revision=54296
2013-12-20g_memmove has been removed in favour of normal memmove in the latest glibEvan Huus1-2/+2
versions, so do the same. Plain old memmove appears to be specified in C90, so I'm not sure why they ever needed a compat function in the first place... svn path=/trunk/; revision=54295
2013-12-20As pointed out in ↵Jeff Morriss1-2/+2
http://ask.wireshark.org/questions/28304/questions-on-packet-kafkac : ett_kafka_metadata_topics is defined (and registered) but not used. Use it. svn path=/trunk/; revision=54294
2013-12-20Build correct base table in init.lua after changes in epan/proto.hStig Bjørlykke1-5/+2
svn path=/trunk/; revision=54293
2013-12-20Rewrote ProtoField_new to:Stig Bjørlykke1-47/+115
- Allow both string and integer for type and base (improve usability). - Check valid base and mask for different types (avoid crashes). - Remove ftypes.PROTOCOL from valid types. This should fix bug #9549. svn path=/trunk/; revision=54292
2013-12-20use STR_ASCII instead of BASE_NONE for stringsMartin Kaiser1-13/+13
svn path=/trunk/; revision=54291
2013-12-20don't assert if an FT_BYTES entry is emptyMartin Kaiser1-3/+2
svn path=/trunk/; revision=54290
2013-12-20Fix indentation.Guy Harris1-1/+1
svn path=/trunk/; revision=54289
2013-12-20bytes_to_hexstr_punct() does not add a null terminator, so we must addGuy Harris1-1/+4
it ourselves. svn path=/trunk/; revision=54288
2013-12-20Strip leading spaces in unknown-extension value.Stig Bjørlykke1-1/+1
svn path=/trunk/; revision=54287
2013-12-20fixMartin Kaiser1-0/+1
CC packet-ecatmb.lo packet-ecatmb.c: In function 'dissect_ecat_mailbox': packet-ecatmb.c:877:64: error: 'info.anSdoInfoUnion.Entry.ValueInfo' may be used uninitialized in this function [-Werror=uninitialized] packet-ecatmb.c:796:38: note: 'info.anSdoInfoUnion.Entry.ValueInfo' was declared here packet-ecatmb.c:884:34: error: 'info.anSdoInfoUnion.Entry.Res.BitLen' may be used uninitialized in this function [-Werror=uninitialized] packet-ecatmb.c:796:38: note: 'info.anSdoInfoUnion.Entry.Res.BitLen' was declared here svn path=/trunk/; revision=54286
2013-12-20Fix a "'str' may be used uninitialized in this function" errorPascal Quantin1-1/+1
svn path=/trunk/; revision=54285
2013-12-20comment out unused functionMartin Kaiser1-1/+2
svn path=/trunk/; revision=54284
2013-12-20fix compilation without libgcryptMartin Kaiser1-6/+15
svn path=/trunk/; revision=54283
2013-12-20Fix time dissection broken in r54274Pascal Quantin1-14/+15
svn path=/trunk/; revision=54282
2013-12-20Try to please the buildbot.Anders Broman1-1/+1
svn path=/trunk/; revision=54281