metze/wireshark/wip.git
12 years agoMake packet comments editable from the expert info tab.
Anders Broman [Fri, 9 Mar 2012 13:36:29 +0000 (13:36 -0000)]
Make packet comments editable from the expert info tab.

svn path=/trunk/; revision=41451

12 years agoFrom Sylvain Munaut:
Anders Broman [Fri, 9 Mar 2012 12:45:19 +0000 (12:45 -0000)]
From Sylvain Munaut:
packet-gmr1_dtap: Add dissector for GMR1 DTAP messages (Step 4(4)).
Added to Cmalelists.txt and #if 0 zero lenght hf array which windows
build did not like.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6921

svn path=/trunk/; revision=41450

12 years agoFrom Sylvain Munaut:
Anders Broman [Fri, 9 Mar 2012 12:33:16 +0000 (12:33 -0000)]
From Sylvain Munaut:
packet-gsmtap: Call the GMR-1 CCCH dissector when appropriate  (Step 3).

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

svn path=/trunk/; revision=41449

12 years agoFrom Sylvain Munaut:
Anders Broman [Fri, 9 Mar 2012 12:15:08 +0000 (12:15 -0000)]
From Sylvain Munaut:
packet-gmr1_rr: Add dissector for GMR-1 RR elements and CCCH messages (Step 2).

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

svn path=/trunk/; revision=41448

12 years agoFrom Jose Pedro Oliveira:
Anders Broman [Fri, 9 Mar 2012 11:47:55 +0000 (11:47 -0000)]
From Jose Pedro Oliveira:
pcapio.c: write IDB options in numeric order and corrects the IDB block_total_length.

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

svn path=/trunk/; revision=41447

12 years agoFrom Sylvain Munaut:
Anders Broman [Fri, 9 Mar 2012 09:38:21 +0000 (09:38 -0000)]
From Sylvain Munaut:
GMR-1: Add dissections for various GMR 04.08 elements (Step1).

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

svn path=/trunk/; revision=41446

12 years agoFrom Sylvain Munaut: gsm_a_common: ELEM_MAND_VV_SHORT doesn't support IEs of differen...
Anders Broman [Fri, 9 Mar 2012 05:08:30 +0000 (05:08 -0000)]
From Sylvain Munaut: gsm_a_common: ELEM_MAND_VV_SHORT doesn't support IEs of different types. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6924

svn path=/trunk/; revision=41445

12 years agoFrom Jose Pedro Oliveira: Make dumpcap write the if_tsresol option (using the default...
Anders Broman [Fri, 9 Mar 2012 05:02:27 +0000 (05:02 -0000)]
From Jose Pedro Oliveira: Make dumpcap write the if_tsresol option (using the default value) https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6718

svn path=/trunk/; revision=41444

12 years agoFrom Jose Pedro Oliveira: Corrects several 'wdh->bytes_dumped += ...' lines. https...
Anders Broman [Fri, 9 Mar 2012 04:50:43 +0000 (04:50 -0000)]
From Jose Pedro Oliveira: Corrects several 'wdh->bytes_dumped += ...' lines. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6718

svn path=/trunk/; revision=41443

12 years agoConvert 4-space tabs to spaces.
Guy Harris [Thu, 8 Mar 2012 20:02:10 +0000 (20:02 -0000)]
Convert 4-space tabs to spaces.

svn path=/trunk/; revision=41442

12 years agoConvert 4-space tabs to spaces.
Guy Harris [Thu, 8 Mar 2012 20:00:49 +0000 (20:00 -0000)]
Convert 4-space tabs to spaces.

svn path=/trunk/; revision=41441

12 years agoUpdate the comment icons and tooltips.
Gerald Combs [Thu, 8 Mar 2012 19:07:02 +0000 (19:07 -0000)]
Update the comment icons and tooltips.

svn path=/trunk/; revision=41440

12 years agoSet svn:keywords & svn:eol-style properties
Bill Meier [Thu, 8 Mar 2012 18:11:35 +0000 (18:11 -0000)]
Set svn:keywords & svn:eol-style properties

svn path=/trunk/; revision=41439

12 years agoRemove duplicate copy of contents appended to the end of the file;
Bill Meier [Thu, 8 Mar 2012 17:48:46 +0000 (17:48 -0000)]
Remove duplicate copy of contents appended to the end of the file;
Fix $Id so it works: '$ID: $' ==> '$ID$';
Convert '4-space' tabs to spaces.

svn path=/trunk/; revision=41438

12 years agoReflect the move of alert_box.c to the ui directory.
Guy Harris [Thu, 8 Mar 2012 17:43:34 +0000 (17:43 -0000)]
Reflect the move of alert_box.c to the ui directory.

svn path=/trunk/; revision=41437

12 years agoMove alert_box.c to the ui directory.
Guy Harris [Thu, 8 Mar 2012 17:30:02 +0000 (17:30 -0000)]
Move alert_box.c to the ui directory.

svn path=/trunk/; revision=41436

12 years agoWant to write RRC info column info always. Also save and restore writable
Martin Mathieson [Thu, 8 Mar 2012 16:30:39 +0000 (16:30 -0000)]
Want to write RRC info column info always.  Also save and restore writable
flag.

svn path=/trunk/; revision=41435

12 years agoChange the way the count of subheaders is displayed in the header.
Martin Mathieson [Thu, 8 Mar 2012 13:20:33 +0000 (13:20 -0000)]
Change the way the count of subheaders is displayed in the header.

svn path=/trunk/; revision=41434

12 years agoAdd a preference to show in the info column RLC, PDCP or traffic
Martin Mathieson [Thu, 8 Mar 2012 13:19:41 +0000 (13:19 -0000)]
Add a preference to show in the info column RLC, PDCP or traffic
details.

svn path=/trunk/; revision=41433

12 years agoFrom Sylvain Munaut: gsm_a_common: elem_v_short doesn't create subtree for the IE...
Anders Broman [Thu, 8 Mar 2012 11:09:39 +0000 (11:09 -0000)]
From Sylvain Munaut: gsm_a_common: elem_v_short doesn't create subtree for the IE https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6923

svn path=/trunk/; revision=41432

12 years agoPut UM and AM extension headers inside the header tree.
Martin Mathieson [Thu, 8 Mar 2012 11:08:17 +0000 (11:08 -0000)]
Put UM and AM extension headers inside the header tree.

svn path=/trunk/; revision=41431

12 years agoWrite UEID to info column using left-justified, fixed width.
Martin Mathieson [Thu, 8 Mar 2012 10:59:49 +0000 (10:59 -0000)]
Write UEID to info column using left-justified, fixed width.

svn path=/trunk/; revision=41430

12 years agoFix dissecton of speech codec list
Anders Broman [Thu, 8 Mar 2012 10:23:04 +0000 (10:23 -0000)]
Fix dissecton of speech codec list

svn path=/trunk/; revision=41429

12 years agoAdd capture_comment_icons.h
Anders Broman [Thu, 8 Mar 2012 10:16:30 +0000 (10:16 -0000)]
Add capture_comment_icons.h

svn path=/trunk/; revision=41428

12 years agoFrom Robin Seggelmann: Add support for the New Session Ticket
Michael Tüxen [Thu, 8 Mar 2012 09:25:13 +0000 (09:25 -0000)]
From Robin Seggelmann: Add support for the New Session Ticket
message according to RFC 5077.

svn path=/trunk/; revision=41427

12 years agoAnd fix some other ../../image/...s for out-of-tree builds.
Guy Harris [Thu, 8 Mar 2012 08:46:52 +0000 (08:46 -0000)]
And fix some other ../../image/...s for out-of-tree builds.

svn path=/trunk/; revision=41426

12 years agoFix to handle out-of-tree builds - use $(top_srcdir) rather than a
Guy Harris [Thu, 8 Mar 2012 08:45:20 +0000 (08:45 -0000)]
Fix to handle out-of-tree builds - use $(top_srcdir) rather than a
string of ../ items to get to another directory in the source tree, as,
when doing an out-of-tree build, the source tree is a separate tree from
the build tree.

svn path=/trunk/; revision=41425

12 years agosummary_dlg.c:419: error: 'dl_description' undeclared (first use in this function)
Anders Broman [Thu, 8 Mar 2012 08:07:21 +0000 (08:07 -0000)]
summary_dlg.c:419: error: 'dl_description' undeclared (first use in this function)

svn path=/trunk/; revision=41424

12 years agoDon't show expert info or comments icons unless we have a file loaded
Anders Broman [Thu, 8 Mar 2012 08:04:39 +0000 (08:04 -0000)]
Don't show expert info or comments icons unless we have a file loaded

svn path=/trunk/; revision=41423

12 years agoPut a frame around capture comments, don't depend on LIBPCAP to print dl_description...
Anders Broman [Thu, 8 Mar 2012 07:28:26 +0000 (07:28 -0000)]
Put a frame around capture comments, don't depend on LIBPCAP to print dl_description or capture filter info

svn path=/trunk/; revision=41422

12 years agoUse an OK button rather than save for consistency, wouldapply be more apropriate?
Anders Broman [Thu, 8 Mar 2012 06:59:38 +0000 (06:59 -0000)]
Use an OK button rather than save for consistency, wouldapply be more apropriate?

svn path=/trunk/; revision=41421

12 years agoPut more stuff from images into the release tarball.
Guy Harris [Thu, 8 Mar 2012 06:19:09 +0000 (06:19 -0000)]
Put more stuff from images into the release tarball.

svn path=/trunk/; revision=41420

12 years agoFrom Sylvain Munaut: proto_tree_add_split_bits_item_ret_val doesn't handle signed...
Anders Broman [Thu, 8 Mar 2012 06:11:20 +0000 (06:11 -0000)]
From Sylvain Munaut: proto_tree_add_split_bits_item_ret_val doesn't handle signed value properly https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6920

svn path=/trunk/; revision=41419

12 years agoInclude direction in some malformed expert info strings.
Martin Mathieson [Thu, 8 Mar 2012 04:49:59 +0000 (04:49 -0000)]
Include direction in some malformed expert info strings.

svn path=/trunk/; revision=41418

12 years agoFrom Weston Andros Adamson via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id...
Jeff Morriss [Thu, 8 Mar 2012 03:57:48 +0000 (03:57 -0000)]
From Weston Andros Adamson via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6919 :

Both deviceid4 and sessionid4 are currently decoded as rpc_opaque_data - this
means their values are never displayed in the "Packet Detail" section and to
see them you have to select the name in the "Packet Detail" section and look at
the byte range in the "Packet Bytes" section.

The attached patch (against today's SVN) adds dissectors for both so these
values are displayed in the "Packet Detail" section.

svn path=/trunk/; revision=41417

12 years agoFollowup to r41415: don't enable *any* of the file operations during a live
Jeff Morriss [Thu, 8 Mar 2012 02:33:14 +0000 (02:33 -0000)]
Followup to r41415: don't enable *any* of the file operations during a live
capture.

svn path=/trunk/; revision=41416

12 years agoAs reported by Joerg on -dev: don't enable File->Save if we're still reading
Jeff Morriss [Thu, 8 Mar 2012 02:18:12 +0000 (02:18 -0000)]
As reported by Joerg on -dev: don't enable File->Save if we're still reading
the file (as is the case during a live capture).

Replace tabs with spaces (for consistency with the rest of the file).

svn path=/trunk/; revision=41415

12 years agoRewrite this shell script so that it sets the appropriate SVN properties based
Jeff Morriss [Thu, 8 Mar 2012 02:06:44 +0000 (02:06 -0000)]
Rewrite this shell script so that it sets the appropriate SVN properties based
on the file name that is being added.

Add a copyright notice.

svn path=/trunk/; revision=41414

12 years agoFix up SVN properties
Jeff Morriss [Thu, 8 Mar 2012 01:33:47 +0000 (01:33 -0000)]
Fix up SVN properties

svn path=/trunk/; revision=41413

12 years agoCreate some standard definitions for dialog control spacing. Use them in
Gerald Combs [Thu, 8 Mar 2012 01:24:31 +0000 (01:24 -0000)]
Create some standard definitions for dialog control spacing. Use them in
the comment dialog.

svn path=/trunk/; revision=41412

12 years agoRename the functions and variables to go along with r41410.
Jeff Morriss [Wed, 7 Mar 2012 23:04:15 +0000 (23:04 -0000)]
Rename the functions and variables to go along with r41410.

svn path=/trunk/; revision=41411

12 years agoUse OK, Clear, and Cancel in the comment dialogs (instead of Save, Clear, and Close...
Jeff Morriss [Wed, 7 Mar 2012 22:38:02 +0000 (22:38 -0000)]
Use OK, Clear, and Cancel in the comment dialogs (instead of Save, Clear, and Close).  This makes the UI similar to our Preferences dialog.  And it avoids confusion about whether Save will save the file or not.

svn path=/trunk/; revision=41410

12 years agoSet File->Save sensitivity after file or packet comments are changed.
Jeff Morriss [Wed, 7 Mar 2012 22:19:06 +0000 (22:19 -0000)]
Set File->Save sensitivity after file or packet comments are changed.

svn path=/trunk/; revision=41409

12 years agoAnd one more image file.
Guy Harris [Wed, 7 Mar 2012 21:48:08 +0000 (21:48 -0000)]
And one more image file.

svn path=/trunk/; revision=41408

12 years agoInclude the new images in the release tarball.
Guy Harris [Wed, 7 Mar 2012 21:46:58 +0000 (21:46 -0000)]
Include the new images in the release tarball.

svn path=/trunk/; revision=41407

12 years agoUpdate and add icons for capture comments / annotations.
Gerald Combs [Wed, 7 Mar 2012 20:56:01 +0000 (20:56 -0000)]
Update and add icons for capture comments / annotations.

svn path=/trunk/; revision=41406

12 years agoFrom Sylvain Munaut: Call the new dissector from the GSMTap dissector for GMR-1 chann...
Anders Broman [Wed, 7 Mar 2012 20:09:48 +0000 (20:09 -0000)]
From Sylvain Munaut: Call the new dissector from the GSMTap dissector for GMR-1 channels using LAPSat

svn path=/trunk/; revision=41405

12 years agoFrom Sylvain Munaut: Add support LAPSat : GMR-1 Datalink layer https://bugs.wireshark...
Anders Broman [Wed, 7 Mar 2012 19:53:03 +0000 (19:53 -0000)]
From Sylvain Munaut: Add support LAPSat : GMR-1 Datalink layer https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6918

svn path=/trunk/; revision=41404

12 years agoIEEE1588 PTPv2 over IPv6 -> Padding issue. https://bugs.wireshark.org/bugzilla/show_b...
Anders Broman [Wed, 7 Mar 2012 18:17:07 +0000 (18:17 -0000)]
IEEE1588 PTPv2 over IPv6 -> Padding issue. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6836

svn path=/trunk/; revision=41403

12 years agoThe User & Network direction is reversed https://bugs.wireshark.org/bugzilla/show_bug...
Anders Broman [Wed, 7 Mar 2012 17:02:27 +0000 (17:02 -0000)]
The User & Network direction is reversed https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6656

svn path=/trunk/; revision=41402

12 years agoFix incorrect packet-details display of certain 1 bit FT_BOOLEAN fields.
Bill Meier [Wed, 7 Mar 2012 16:54:12 +0000 (16:54 -0000)]
Fix incorrect packet-details display of certain 1 bit FT_BOOLEAN fields.
 (Use a valid 'parent field width' in the hf[] 'display' field.

svn path=/trunk/; revision=41401

12 years agoUpdate descriptions of hf[] FIELDDISPLAY and BITMASK fields.
Bill Meier [Wed, 7 Mar 2012 16:38:08 +0000 (16:38 -0000)]
Update descriptions of hf[] FIELDDISPLAY and BITMASK fields.

svn path=/trunk/; revision=41400

12 years agoRevise and enable test for hf[] FT_BOOLEAN fields with a non-zero bit mask and with...
Bill Meier [Wed, 7 Mar 2012 16:19:24 +0000 (16:19 -0000)]
Revise and enable test for hf[] FT_BOOLEAN fields with a non-zero bit mask and with BASE_... in the 'display' field.

svn path=/trunk/; revision=41399

12 years ago Fix incorrect packet-details display of certain 1 bit FT_BOOLEAN fields.
Bill Meier [Wed, 7 Mar 2012 16:02:48 +0000 (16:02 -0000)]
 Fix incorrect packet-details display of certain 1 bit FT_BOOLEAN fields.
 (Use a valid 'parent field width' in the hf[] 'display' field.

svn path=/trunk/; revision=41398

12 years agoAdd editor modelines; Fix some indentation.
Bill Meier [Wed, 7 Mar 2012 16:01:31 +0000 (16:01 -0000)]
Add editor modelines; Fix some indentation.

svn path=/trunk/; revision=41397

12 years agoFix incorrect packet-details display of certain 1 bit FT_BOOLEAN fields.
Bill Meier [Wed, 7 Mar 2012 15:39:39 +0000 (15:39 -0000)]
Fix incorrect packet-details display of certain 1 bit FT_BOOLEAN fields.
(Use a valid 'parent field width' in the hf[] 'display' field.

svn path=/trunk/; revision=41396

12 years agoISO SSAP: ActivityStart: Invalid decoding the activity parameter as a BER Integer...
Anders Broman [Wed, 7 Mar 2012 15:18:22 +0000 (15:18 -0000)]
ISO SSAP: ActivityStart: Invalid decoding the activity parameter as a BER Integer - decode as bytes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2873

svn path=/trunk/; revision=41395

12 years agoFrom Yegor Yefremov: Add dissector for CANopen protocol https://bugs.wireshark.org...
Anders Broman [Wed, 7 Mar 2012 14:28:29 +0000 (14:28 -0000)]
From Yegor Yefremov: Add dissector for CANopen protocol https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6651 with some modifications

svn path=/trunk/; revision=41394

12 years agoLocation Number not decoded as per Q.763 https://bugs.wireshark.org/bugzilla/show_bug...
Anders Broman [Wed, 7 Mar 2012 12:06:16 +0000 (12:06 -0000)]
Location Number not decoded as per Q.763 https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6781

svn path=/trunk/; revision=41393

12 years agoComment fix: i10n -> i18n
Jörg Mayer [Wed, 7 Mar 2012 11:58:05 +0000 (11:58 -0000)]
Comment fix: i10n -> i18n

svn path=/trunk/; revision=41392

12 years agoUpdate Qt Documentation about translation/i18n
Alexis La Goutte [Wed, 7 Mar 2012 10:41:15 +0000 (10:41 -0000)]
Update Qt Documentation about translation/i18n

svn path=/trunk/; revision=41391

12 years agoFrom Joerg Mayer
Alexis La Goutte [Wed, 7 Mar 2012 10:23:50 +0000 (10:23 -0000)]
From Joerg Mayer
Add i18n to Cmake

svn path=/trunk/; revision=41390

12 years agoAdd i18n to QtShark
Alexis La Goutte [Wed, 7 Mar 2012 10:16:33 +0000 (10:16 -0000)]
Add i18n to QtShark
The goal is only to translate the Gui (Not dissector)
Actually, there is only a french translation.

To try, (if you are not French) launch qtshark with LANG=fr ./qtshark (in ui/qt folder)

Missing some feature :
* Add preference to select (force) your language
* Some Gui Text, it no available for translation
* Documentation about how to translate (Coming soon...)
* Your translation !

svn path=/trunk/; revision=41389

12 years agoUSB: unknown GET DESCRIPTOR response triggers assert failure https://bugs.wireshark...
Anders Broman [Wed, 7 Mar 2012 09:35:44 +0000 (09:35 -0000)]
USB: unknown GET DESCRIPTOR response triggers assert failure https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6826

svn path=/trunk/; revision=41388

12 years agoFrom Martin Kaiser: correct sorting for wiretap's file type list
Anders Broman [Wed, 7 Mar 2012 08:03:42 +0000 (08:03 -0000)]
From Martin Kaiser: correct sorting for wiretap's file type list

svn path=/trunk/; revision=41387

12 years agoWhitespace cleanup.
Bill Meier [Tue, 6 Mar 2012 22:29:42 +0000 (22:29 -0000)]
Whitespace cleanup.

svn path=/trunk/; revision=41386

12 years agoFix benign issue: For FT_BOOLEAN fields with a zero bitmask, use BASE_NONE for 'display'
Bill Meier [Tue, 6 Mar 2012 22:12:42 +0000 (22:12 -0000)]
Fix benign issue: For FT_BOOLEAN fields with a zero bitmask, use BASE_NONE for 'display'

svn path=/trunk/; revision=41385

12 years agoReformat long lines...
Bill Meier [Tue, 6 Mar 2012 22:00:59 +0000 (22:00 -0000)]
Reformat long lines...

svn path=/trunk/; revision=41384

12 years agoFix incorrect packet-details display of certain 1 bit FT_BOOLEAN fields.
Bill Meier [Tue, 6 Mar 2012 21:12:43 +0000 (21:12 -0000)]
Fix incorrect packet-details display of certain 1 bit FT_BOOLEAN fields.
Also: reformat a few lines.

svn path=/trunk/; revision=41383

12 years agoAdd a note about using GetSystemTimePreciseAsFileTime.
Gerald Combs [Tue, 6 Mar 2012 21:11:31 +0000 (21:11 -0000)]
Add a note about using GetSystemTimePreciseAsFileTime.

svn path=/trunk/; revision=41382

12 years agoAdd an entry for annotations.
Gerald Combs [Tue, 6 Mar 2012 21:11:08 +0000 (21:11 -0000)]
Add an entry for annotations.

svn path=/trunk/; revision=41381

12 years agoAdd test for correct usage of hf[] FT_BOOLEAN 'display' field;
Bill Meier [Tue, 6 Mar 2012 20:56:51 +0000 (20:56 -0000)]
Add test for correct usage of hf[] FT_BOOLEAN 'display' field;
(Commented out until all the incorrect usages in Wireshark have been fixed).

svn path=/trunk/; revision=41380

12 years agoEmphasize corrext usage of FT_BOOLEAN 'display' field.
Bill Meier [Tue, 6 Mar 2012 20:51:50 +0000 (20:51 -0000)]
Emphasize corrext usage of FT_BOOLEAN 'display' field.
Specificaly:
 For a field type FT_BOOLEAN:
 - If the bitmask field is zero, then the 'display' field
   must be 'BASE_NONE';
 - If the bitmask field is non-zero, then the 'display' field
   must be the field-width of the parent bit field.

svn path=/trunk/; revision=41379

12 years agoFix incorrect packet-details display of a 1 bit FT_BOOLEAN field.
Bill Meier [Tue, 6 Mar 2012 20:11:43 +0000 (20:11 -0000)]
Fix incorrect packet-details display of a 1 bit FT_BOOLEAN field.

svn path=/trunk/; revision=41378

12 years agoUse tvb_new_subset_remaining(...) rather than tvb_new_subset(...,-1,-1);
Bill Meier [Tue, 6 Mar 2012 17:33:35 +0000 (17:33 -0000)]
Use tvb_new_subset_remaining(...) rather than tvb_new_subset(...,-1,-1);
Fix up a number of the comments;
Use #if 0/#endif rather than /* */ to comment out code;
Do some minor reformatting.

svn path=/trunk/; revision=41377

12 years agoUse tvb_new_subset_remaining(...) rather than tvb_new_subset(...,-1,-1).
Bill Meier [Tue, 6 Mar 2012 17:24:21 +0000 (17:24 -0000)]
Use tvb_new_subset_remaining(...) rather than tvb_new_subset(...,-1,-1).

svn path=/trunk/; revision=41376

12 years agoUse tvb_new-subset_remaining(...) rather than tvb_new_subset(...,-1,-1);
Bill Meier [Tue, 6 Mar 2012 17:11:01 +0000 (17:11 -0000)]
Use tvb_new-subset_remaining(...) rather than tvb_new_subset(...,-1,-1);
Add an additional note about duplicate filter names in the hf[] array;
Convert "4 space tabs" to 4 spaces.

svn path=/trunk/; revision=41375

12 years agoUse tvb_new_subset_remaining() rather than tvb_new_subset();
Bill Meier [Tue, 6 Mar 2012 16:58:09 +0000 (16:58 -0000)]
Use tvb_new_subset_remaining() rather than tvb_new_subset();
#include <styring.h> not req'd (in a few cases);
Minor reformating & whitespace cleanup.

svn path=/trunk/; revision=41374

12 years agoCall X2AP dissector.
Martin Mathieson [Tue, 6 Mar 2012 13:56:02 +0000 (13:56 -0000)]
Call X2AP dissector.

svn path=/trunk/; revision=41373

12 years agoFrom Steve Magnani: USB: incorrect decoding of Endpoint-targeted class-specific SETUP...
Anders Broman [Tue, 6 Mar 2012 09:25:53 +0000 (09:25 -0000)]
From Steve Magnani: USB: incorrect decoding of Endpoint-targeted class-specific SETUP https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6910

svn path=/trunk/; revision=41371

12 years agoTry to make the buildbot happy
Anders Broman [Tue, 6 Mar 2012 09:24:49 +0000 (09:24 -0000)]
Try to make the buildbot happy

svn path=/trunk/; revision=41370

12 years agoFrom Martin Kaiser: capture dialogue: unitialized pointer is dereferenced, assigning...
Anders Broman [Tue, 6 Mar 2012 09:16:50 +0000 (09:16 -0000)]
From Martin Kaiser: capture dialogue: unitialized pointer is dereferenced, assigning an arbitrary dlt to a capture interface https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6914

svn path=/trunk/; revision=41369

12 years agoFrom Mike Wakerly: Add wiretap suport for LINKTYPE_NFC_LLCP
Anders Broman [Tue, 6 Mar 2012 09:02:06 +0000 (09:02 -0000)]
From Mike Wakerly: Add wiretap suport for LINKTYPE_NFC_LLCP

svn path=/trunk/; revision=41368

12 years agoFrom Cal Turney: Try to fix the remaining warnings. https://bugs.wireshark.org/bugzil...
Anders Broman [Tue, 6 Mar 2012 08:45:54 +0000 (08:45 -0000)]
From Cal Turney: Try to fix the remaining warnings. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6883

svn path=/trunk/; revision=41367

12 years agoUse tvb_new_subset_remaining() rather than tvb_new_subset();
Bill Meier [Tue, 6 Mar 2012 03:20:17 +0000 (03:20 -0000)]
Use tvb_new_subset_remaining() rather than tvb_new_subset();
Do minir whitespace cleanup.

svn path=/trunk/; revision=41366

12 years agoUse tvb_new_subset_remaining() instead of tvb_new_subset();
Bill Meier [Tue, 6 Mar 2012 02:28:04 +0000 (02:28 -0000)]
Use tvb_new_subset_remaining() instead of tvb_new_subset();
Reformat some long lines.

svn path=/trunk/; revision=41365

12 years agoProhibit using anything other than FT_BOOLEANs with true_false_strings.
Jeff Morriss [Tue, 6 Mar 2012 02:27:29 +0000 (02:27 -0000)]
Prohibit using anything other than FT_BOOLEANs with true_false_strings.
Prohibit using FT_BOOLEANS with value_strings.

svn path=/trunk/; revision=41364

12 years agoDon't use FT_BOOLEAN with value_strings: the code to generate
Jeff Morriss [Tue, 6 Mar 2012 02:19:23 +0000 (02:19 -0000)]
Don't use FT_BOOLEAN with value_strings: the code to generate
representations of former is expecting true_false_strings--which are quite
different than the latter.

svn path=/trunk/; revision=41363

12 years agoDon't use FT_*INT with true_false strings: the code to generate
Jeff Morriss [Tue, 6 Mar 2012 02:04:10 +0000 (02:04 -0000)]
Don't use FT_*INT with true_false strings: the code to generate
representations of former is expecting value_strings--which are quite
different than the latter.

svn path=/trunk/; revision=41362

12 years agoDon't use FT_*INT with true_false strings: the code to generate
Jeff Morriss [Tue, 6 Mar 2012 01:55:21 +0000 (01:55 -0000)]
Don't use FT_*INT with true_false strings: the code to generate
representations of former is expecting value_strings--which are quite
different than the latter.

svn path=/trunk/; revision=41361

12 years agoBinary and source tarballs should be compressed with bzip2 only
Jörg Mayer [Mon, 5 Mar 2012 22:13:09 +0000 (22:13 -0000)]
Binary and source tarballs should be compressed with bzip2 only
(xz is not an options that cmake offers).

svn path=/trunk/; revision=41360

12 years agoFix the infinite-loop fuzz failure reported in https://bugs.wireshark.org/bugzilla...
Jeff Morriss [Mon, 5 Mar 2012 21:59:52 +0000 (21:59 -0000)]
Fix the infinite-loop fuzz failure reported in https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6907 :

Don't try to display tone entries if there are none (but there is length for
them).  Could/should be an expert_info.

svn path=/trunk/; revision=41359

12 years agoFix filter name: "iee17221.channels" --> "ieee17221.channels"
Bill Meier [Mon, 5 Mar 2012 20:50:25 +0000 (20:50 -0000)]
Fix filter name: "iee17221.channels" --> "ieee17221.channels"

svn path=/trunk/; revision=41358

12 years agoVarious changes:
Bill Meier [Mon, 5 Mar 2012 18:57:18 +0000 (18:57 -0000)]
Various changes:
- Use proper proto_tree_add_item() 'encoding' arg (instead of TRUE/FALSE);
- Call col_append_fstr() even when 'tree==NULL';
- Use value_string_ext to access the larger value_string tables;
- Handle tvb_reported_length() can return -1;
- Remove 'set but never used' variable and associated line of code;
- Remove unneeded #include <prefs.h>;
- Remove empty proto_reg_handoff();
- Do minor whitespace cleanup.

svn path=/trunk/; revision=41357

12 years agoUse a dedicated treview for packet comments.
Anders Broman [Mon, 5 Mar 2012 13:34:55 +0000 (13:34 -0000)]
Use a dedicated treview for packet comments.

svn path=/trunk/; revision=41356

12 years agoFrom Cal Turney:
Anders Broman [Mon, 5 Mar 2012 12:06:26 +0000 (12:06 -0000)]
From Cal Turney:
Bugs in the tshark '-z io,stat' output:
1: The LOAD stat in the last row of the output is inaccurate because rpc.time
is divided by the full interval rather than limiting it to the capture
duration.
2: An The empty comma field (for outputting total frames and bytes) is ignored
when it is the first field in the command.
3: Intervals at the end of capture that contain no data are not displayed. Such
intervals are as important to see as those (zero data intervals) that occur
earlier in the capture.
4: Floating point numbers are not properly aligned under their column headers.

Enhancements to '-z io,stat' output:
1. Column widths are determined by the maximum magnitude of their values rather
than set to a fixed width of 15 chars which allows for more stats to be
displayed per row without wrapping.
2. To improve readability, filters wrap at 102 chars or the table width,
whichever is greater, and wrap on the nearest space. An option can be added to
alter the 102-char limit.
3. Column numbers begin at 1 instead of 0.
4. The columns and entire output are enclosed in a border for improved
presentability in reports. The table can be imported into a spreadsheet by
specifying the vertical bar as the data delimiter.

"Fixed" compiling on Ubuntu

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

svn path=/trunk/; revision=41355

12 years agoFix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
Alexis La Goutte [Mon, 5 Mar 2012 09:50:42 +0000 (09:50 -0000)]
Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang

svn path=/trunk/; revision=41354

12 years agoFrom Ryan Doyle via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6874
Alexis La Goutte [Mon, 5 Mar 2012 09:49:37 +0000 (09:49 -0000)]
From Ryan Doyle via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6874
New dissector: performance co-pilot protocol

Attached patch implements dissection of the Performance Co-Pilot (PCP) protocol.

From me :
* Add Wireshark Modelines
* Fix encoding args
* Fix Clang Warning

svn path=/trunk/; revision=41353

12 years agoUse correct lenght when writing if_filter_str.
Anders Broman [Mon, 5 Mar 2012 09:32:21 +0000 (09:32 -0000)]
Use correct lenght when writing if_filter_str.

svn path=/trunk/; revision=41352

12 years agoFix calculation of pading for if_filter_str.
Anders Broman [Mon, 5 Mar 2012 09:21:36 +0000 (09:21 -0000)]
Fix calculation of pading for if_filter_str.

svn path=/trunk/; revision=41351