Commit Graph

36628 Commits

Author SHA1 Message Date
Anders Broman b74ac5f4c7 Start using Cairo for drawing.
svn path=/trunk/; revision=38433
2011-08-09 18:29:19 +00:00
Alexis La Goutte ed2036d942 From Allison via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6157
Add Dissector for HDFS Data

svn path=/trunk/; revision=38432
2011-08-09 16:38:15 +00:00
Alexis La Goutte 2179d3ddc1 From Allison via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6156
Add Dissector for HDFS

svn path=/trunk/; revision=38431
2011-08-09 16:34:04 +00:00
Jeff Morriss 0315937427 Fix the fuzz failure reported in
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6139 :

Properly initialize the CSN_DESCR type before recursively calling
csnStreamDissector().

svn path=/trunk/; revision=38430
2011-08-09 15:43:42 +00:00
Anders Broman 56a7831d2a Get rid of deprecated gdk_pixmap_create_from_xpm_d().
svn path=/trunk/; revision=38429
2011-08-09 14:53:20 +00:00
Alexis La Goutte f53bdb659f From Martin Kaiser via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6220
DVB-CI dissector: fix buildbot warnings

svn path=/trunk/; revision=38428
2011-08-09 14:42:33 +00:00
Anders Broman 1a3e596609 Remove no longer used include.
svn path=/trunk/; revision=38427
2011-08-09 14:36:00 +00:00
Anders Broman 4673bd0066 Use cairo for the background colors, invert text color when selected.
svn path=/trunk/; revision=38426
2011-08-09 14:32:41 +00:00
Anders Broman ac323b73ef Use Cairo for the column headers.
svn path=/trunk/; revision=38425
2011-08-09 13:08:20 +00:00
Anders Broman 69cc65936a Use cairo in a couple of more places.
svn path=/trunk/; revision=38424
2011-08-09 12:17:06 +00:00
Martin Mathieson 37b86bd1d3 'color_div_line' is not being used.
svn path=/trunk/; revision=38423
2011-08-09 09:00:00 +00:00
Anders Broman 42e834b1ee Use cairo in a couple of more places.
svn path=/trunk/; revision=38422
2011-08-09 08:15:04 +00:00
Tomas Kukosa 733452afd7 Support for Extension Addition Group in PER encoding
Fix for bug 6196 https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6199

svn path=/trunk/; revision=38421
2011-08-09 08:00:06 +00:00
Jörg Mayer e22f19f645 MAIN_MENU_USE_UIMANAGER is also used in some includes, not only
in .c files, so the aproach to #undef GTK_DISABLE_DEPRECATED was
wrong.
Only enable GTK_DISABLE_DEPRECATED if MAIN_MENU_USE_UIMANAGER is
defined.

svn path=/trunk/; revision=38420
2011-08-08 20:35:36 +00:00
Chris Maynard 5d2ba02113 From Andrew Feren via bug 6219: Offset calculated incorrectly for sFlow extended data.
svn path=/trunk/; revision=38419
2011-08-08 20:34:18 +00:00
Chris Maynard 87704160b7 Fix Coverity CID 1242: Pointer "ti" returned by proto_tree_add_uint64() is never used.
svn path=/trunk/; revision=38418
2011-08-08 20:16:45 +00:00
Chris Maynard 3037a852a8 No need to check that usb_trans_info is not NULL here. The only way it could have been NULL is if se_alloc0() returned NULL, but then it would have already been dereferenced before now. Fixes Coverity CID 612, "REVERSE INULL".
svn path=/trunk/; revision=38417
2011-08-08 20:08:24 +00:00
Chris Maynard e59bb0ad72 Fix Coverity CID 1062: Pointer "ti" returned by proto_tree_add_item() is never used.
svn path=/trunk/; revision=38416
2011-08-08 19:27:14 +00:00
Bill Meier 6bc757db32 Remove 2 usages of deprecated gtk_quit_add_destroy() which, AFAIKT, weren't needed.
svn path=/trunk/; revision=38415
2011-08-08 19:20:07 +00:00
Gerald Combs b9d13c328d Load console.lua and dtd-gen.lua from an explicit path.
svn path=/trunk/; revision=38414
2011-08-08 19:10:19 +00:00
Bill Meier 2bf572bc41 Remove unneeded #includes: proto.h,tvbuff.h,value_string.h,stdlib.h,...
svn path=/trunk/; revision=38413
2011-08-08 17:59:32 +00:00
Chris Maynard fc83c4cfc7 Fix SVN Id.
svn path=/trunk/; revision=38412
2011-08-08 17:47:05 +00:00
Chris Maynard 237cfb674f From Michael Mann via bug 2794: A Perl script to expose "questionable" display filter field names.
svn path=/trunk/; revision=38411
2011-08-08 17:42:26 +00:00
Gerald Combs 713a85de8a Make sure our root tvb is initialized in case its creation fails.
Untested fix for bug 6135.

svn path=/trunk/; revision=38410
2011-08-08 17:25:35 +00:00
Bill Meier b708c2892b Dissectors don't need to #include <gmodule.h>
Also: #include <stdlib.h> not req'd in some cases.

svn path=/trunk/; revision=38409
2011-08-08 15:41:09 +00:00
Chris Maynard 3f8edaa2d1 From Jim Young via bug 3196: Add preference for displaying expert infos LEDs.
Reference: https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3196

svn path=/trunk/; revision=38408
2011-08-08 15:27:59 +00:00
Anders Broman 56f621ad68 Use GTK's G_PI
svn path=/trunk/; revision=38407
2011-08-08 14:57:11 +00:00
Jörg Mayer 8fe667d16b Proto help also doesn't like GTK_DISABLE_DEPRECATED
svn path=/trunk/; revision=38406
2011-08-08 14:06:12 +00:00
Jörg Mayer a28af865bc Looks like the Windows code isn't as clean as the Unix path:
Comment out GTK_DISABLE_DEPRECATED

svn path=/trunk/; revision=38405
2011-08-08 14:03:53 +00:00
Jörg Mayer 6ef6042641 GTK3 stuff:
- Update Status file
- configure.in: start GSEALing with 2.20 and not 2.22
- configure.in/config.nmake/CMakeLists.txt: enable GTK_DISABLE_SINGLE_INCLUDE
    and GTK_DISABLE_DEPRECATED
- menus.c: If not building with UI_MANAGER, disable GTK_DISABLE_DEPRECATED

svn path=/trunk/; revision=38404
2011-08-08 13:39:21 +00:00
Jörg Mayer 8b8025c5d0 Add a comment about the uncommented glib deprecated warnings.
svn path=/trunk/; revision=38403
2011-08-08 09:39:30 +00:00
Anders Broman 210c311209 Don't include color.h
svn path=/trunk/; revision=38402
2011-08-08 08:55:42 +00:00
Anders Broman ad0ee6a542 Include Cairo and Pango version in "compiled with"
svn path=/trunk/; revision=38401
2011-08-08 06:08:27 +00:00
Anders Broman b935efe1e1 #include "../color.h" not needed.
svn path=/trunk/; revision=38400
2011-08-08 06:01:58 +00:00
Chris Maynard 352cc7a410 Fix bug 5848, "https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5848", which was apparently introduced with r27287 (http://anonsvn.wireshark.org/viewvc/trunk/epan/dissectors/packet-h225.c?r1=26698&r2=27287). Regenerate the packet-h225.c dissector. Patch from ericn1234@yahoo.com.
Reference: https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5848

svn path=/trunk/; revision=38399
2011-08-07 20:50:31 +00:00
Stig Bjørlykke c98835cc92 Untabify.
svn path=/trunk/; revision=38398
2011-08-07 20:18:51 +00:00
Anders Broman 3ff91f8147 g_ascii_strdown Returns a newly-allocated string.
svn path=/trunk/; revision=38397
2011-08-07 20:08:08 +00:00
Anders Broman c11c8b0ee0 svn path=/trunk/; revision=38396 2011-08-07 19:58:13 +00:00
Anders Broman 79501e9198 Revert previous commit.
(Note to self read the description first)

"Returns :
 
a newly-allocated string, with all the upper case characters in str converted to lower case, with semantics that exactly match g_ascii_tolower(). (Note that this is unlike the old g_strdown(), which modified the string in place.)"

svn path=/trunk/; revision=38395
2011-08-07 19:15:17 +00:00
Anders Broman e48dcbaf15 Replace deprecated glib functions.
set DG_DISABLE_DEPRECATED for windows build.

svn path=/trunk/; revision=38394
2011-08-07 19:08:41 +00:00
Jörg Mayer 553c565699 mate_grammar.lemon:
- Fix a bug my previous patch introduced.

mate/:
- Unset G_DISABLE_DEPRECATED for the mate files.

CMakeLists.txt
configure.in:
- Build with -DG_DISABLE_DEPRECATED so further usage of
  deprecated glib functions will be detected.

svn path=/trunk/; revision=38393
2011-08-07 18:35:36 +00:00
Jörg Mayer c15ff441c6 Replace deprecated glib functions.
In order to compile the whole project with -DG_DISABLE_DEPRECATED
the mate plugin needs to replace its usage of GMemChunk.
All other places should be clean.

svn path=/trunk/; revision=38392
2011-08-07 18:15:45 +00:00
Bill Meier 9e61dfeb33 Remove some unused 'GMemChunk *' variables and se_alloc() to same.
(Found by using -DG_DISABLE_DEPRECATED when compiling dissectors).

svn path=/trunk/; revision=38390
2011-08-07 15:16:35 +00:00
Michael Tüxen 055f20b798 Use "%" G_GINT64_MODIFIER "u" instead of G_GINT64_MODIFIER "%u".
svn path=/trunk/; revision=38388
2011-08-07 15:01:10 +00:00
Chris Maynard f59ddbef68 Life duration is a variable length TLV, and not always a 2 byte value. Hopefully fixes bug 6206 (no relevant capture file available to test).
Reference: https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6206

svn path=/trunk/; revision=38387
2011-08-07 14:49:49 +00:00
Bill Meier 5eaad4ecd3 Fix gcc 4.6 "set but not used [-Wunused-but-set-variable]" warnings.
svn path=/trunk/; revision=38386
2011-08-07 14:36:19 +00:00
Chris Maynard 1bcd41cf18 Expand summary column. Fixed bug 6209.
Reference: https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6209

svn path=/trunk/; revision=38385
2011-08-07 14:07:52 +00:00
Gerald Combs ee925e0444 [Automatic manuf, services and enterprise-numbers update for 2011-08-07]
svn path=/trunk/; revision=38384
2011-08-07 14:03:28 +00:00
Guy Harris d4c6d19cd3 If you have a loop that iterates over packet contents, you absolutely
must not just do a "continue" if the offset into the packet has not been
advanced, as you will get an infinite loop if you do.

svn path=/trunk/; revision=38383
2011-08-07 08:26:29 +00:00
Guy Harris 5a885f1a91 Get rid of HAVE_PCAP_SET_BUFFER_SIZE - nobody checks for
pcap_set_buffer_size() (if *pcap has pcap_create() it has
pcap_set_buffer_size(), as they were both introduced in libpcap 1.0.0),
and nobody looks at HAVE_PCAP_SET_BUFFER_SIZE.

svn path=/trunk/; revision=38382
2011-08-06 19:12:31 +00:00