Commit Graph

42156 Commits

Author SHA1 Message Date
Gerald Combs 2fe5163ec3 Lay out the welcome screen using Qt Designer.
svn path=/trunk/; revision=44547
2012-08-17 00:58:50 +00:00
Bill Meier 98eab94319 Cleanup:
- remove/rework some 'if (tree)' usage so that:
  . col_...() not called under same;
  . dissection doesn't change depending upon same;
- simplify some code;
- use consistent indentation & whitespace formatting.

svn path=/trunk/; revision=44546
2012-08-16 23:52:27 +00:00
Bill Meier a9bb084310 Fix (minor ?) memory leak;
General cleanup:
 - use expert...() instead of a 'printf()';
 - #include <stdio.h> only if debug enabled;
 - remove unneeded variable initializations;
 - localize some variables;
 - reformat hf[] entries;
 - use consistent whitespace formatting.

svn path=/trunk/; revision=44545
2012-08-16 19:58:29 +00:00
Gerald Combs f2789cbb34 Copy over the C runtime DLLs if MSVCR_DLL is defined.
svn path=/trunk/; revision=44544
2012-08-16 19:37:01 +00:00
Bill Meier 1b8e41afab General cleanup of whitespace formatting.
svn path=/trunk/; revision=44543
2012-08-16 18:06:57 +00:00
Bill Meier cf706ca547 From Stefan Metzmacher: Updates for the SMB2/3
This patches add some missing things for SMB2/3 and support for decryption
of SMB3 traffic

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

From me: Change an initializer from C99 to C89 style (since the
 Microsoft compiler doesn't support C99).

svn path=/trunk/; revision=44542
2012-08-16 17:03:07 +00:00
Bill Meier 832b999c2c - Don't call col...() under 'if (tree)';
- Move proto_reg_handoff...() to the end of the file;
- Remove some uneeded variable initialization;
- Use consistent indentation (e.g., no 4 space tabs) and whitespace formatting.

svn path=/trunk/; revision=44541
2012-08-16 15:53:39 +00:00
Michael Mann 3329b7f0a7 restore tvb_ensure_bytes_exist checks. There are better ways to do this, but for now, keep the buildbots happy.
Also some other cleanup noticed while trying to fix buildbot fuzz failure.

svn path=/trunk/; revision=44540
2012-08-16 13:58:12 +00:00
Bill Meier 9c7f4006c0 Add editor modelines;
Do minor whitespace reformatting.

svn path=/trunk/; revision=44539
2012-08-16 13:51:54 +00:00
Bill Meier 51cc4887d2 col_...() and expert...() fcns should not be under 'if (tree)';
'tab-width/tabstop/tabSize' in editor modelines should really always be 8;

svn path=/trunk/; revision=44538
2012-08-16 13:44:40 +00:00
Bill Meier f3fe778851 'tab-width/tabstop/tabSize' in editor modelines should really always be 8;
Also:
- In one case #include <epan/prefs.h> not needed;
- Do some minor whitespace reformatting.

svn path=/trunk/; revision=44537
2012-08-16 13:17:48 +00:00
Jörg Mayer 8568c13399 The Id and license header was missing: add it.
svn path=/trunk/; revision=44536
2012-08-15 23:22:20 +00:00
Pascal Quantin 12a705af47 Miscellaneous changes:
- move channel information before header dissection
- add channel information to TM and RLC Control PDUs
- take into account rlc information in rlc_is_ciphered function
- update function prototypes according to the coding rules used in packet-rlc.c

svn path=/trunk/; revision=44535
2012-08-15 21:45:32 +00:00
Pascal Quantin 983d7a543f Remove non ASCCI characters
svn path=/trunk/; revision=44534
2012-08-15 20:50:26 +00:00
Pascal Quantin e5b7968030 Fix some headers fields that were wrongly marked as 64 bits instead of 32 bits
svn path=/trunk/; revision=44533
2012-08-15 20:43:00 +00:00
Martin Kaiser c6cf211ccf dissect ake_send_pairing_info message
svn path=/trunk/; revision=44528
2012-08-15 19:40:22 +00:00
Martin Kaiser af9a518763 move hdcp2 dissector to a separate file
use hdcp2 for protocol name, info column and filter names

(actually, hdcp and hdcp2 have nothing in common -
 hdcp2 was a complete redesign to fix security issues in hdcp)


svn path=/trunk/; revision=44527
2012-08-15 19:22:05 +00:00
Martin Kaiser 168a40cb4d hdcp2: dissect ake_no_stored_km message
svn path=/trunk/; revision=44526
2012-08-15 18:58:07 +00:00
Gerald Combs 77883a8668 Don't clobber PACKAGE_URL or PACKAGE_BUGREPORT.
svn path=/trunk/; revision=44523
2012-08-15 17:31:48 +00:00
Michael Tüxen 91f65904c2 Recommit:
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=44502
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=44511
and do some whitespace cleanups while there.

svn path=/trunk/; revision=44522
2012-08-15 16:02:01 +00:00
Michael Mann 3d40a7b94f Updated MPLS dissectors display filters per checkfiltername.pl
Tried to provide consistency with MPLS dissector filter names

svn path=/trunk/; revision=44521
2012-08-15 15:52:27 +00:00
Michael Tüxen 171e2abe13 Get it compiling.
svn path=/trunk/; revision=44518
2012-08-15 15:28:26 +00:00
Michael Mann 3082032be6 convert GStrings to more "ephemeral friendly" use.
svn path=/trunk/; revision=44515
2012-08-15 13:56:59 +00:00
Michael Mann a3db9aedfb bugfix minor memory leaks with GString use
svn path=/trunk/; revision=44514
2012-08-15 13:55:29 +00:00
Pascal Quantin 870b536e6c Fix field type for some 64 bits header fields
svn path=/trunk/; revision=44513
2012-08-15 13:42:46 +00:00
Irene Rüngeler bb1e018dc7 Fix for bug #7634. Print 'unspecified' in case a string is NULL.
svn path=/trunk/; revision=44512
2012-08-15 08:08:17 +00:00
Michael Tüxen 54e5d13d4b Move registration to a better place.
svn path=/trunk/; revision=44511
2012-08-15 06:14:10 +00:00
Pascal Quantin d34ca4d69d From Jan de Jongh via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7624 :
dissect_per_constrained_integer_64b fails for 64 bits

svn path=/trunk/; revision=44510
2012-08-14 22:12:31 +00:00
Chris Maynard 03a9a37863 Don't add proto_bssap to the tree twice, once as a hidden item and once using proto_tree_add_text(). Instead use proto_tree_add_protocol_format(). Problem reported here: http://article.gmane.org/gmane.network.wireshark.user/14509
svn path=/trunk/; revision=44509
2012-08-14 21:58:36 +00:00
Michael Tüxen 08280810b7 Register DIAMETER/DTLS/SCTP.
svn path=/trunk/; revision=44502
2012-08-14 20:53:39 +00:00
Jeff Morriss 70851c9765 Register for Diameter's SCTP PPID.
svn path=/trunk/; revision=44501
2012-08-14 20:44:58 +00:00
Michael Tüxen e7a645ad9f Update SCTP PPIDs.
This also fixes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7635

svn path=/trunk/; revision=44500
2012-08-14 20:31:49 +00:00
Gerald Combs ac909fa890 Only apply the QWindowsVistaStyle hack when it's the current style.
svn path=/trunk/; revision=44499
2012-08-14 18:36:50 +00:00
Michael Mann c3f223d356 Bug 3725 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3725)
Have giop dissector use more ephemeral memory.
Update idl2wrs dissector generator accordingly.

svn path=/trunk/; revision=44498
2012-08-14 18:33:58 +00:00
Gerald Combs 0d3a203d3e Copy the QtCore and QtGui DLLs to the Qt staging directory.
svn path=/trunk/; revision=44497
2012-08-14 18:16:57 +00:00
Michael Mann 5dd7371960 more ephemeral memory cleanup
svn path=/trunk/; revision=44496
2012-08-14 17:58:41 +00:00
Gerald Combs c8a4832050 Fix compilation with gcc. Remove an unused variable.
svn path=/trunk/; revision=44495
2012-08-14 17:35:50 +00:00
Jakub Zawadzki bc67498fb4 cleanup get_column_format_matches()
fmt_list[format] is set to TRUE on begin of function as 'obvious' thing to do

svn path=/trunk/; revision=44494
2012-08-14 16:58:34 +00:00
Jakub Zawadzki d3537a8905 Use frame_data_compare() to compare frame numbers.
svn path=/trunk/; revision=44493
2012-08-14 16:57:32 +00:00
Gerald Combs fab29eea8d Properly enable and disable "View/Expand Subtrees". Get rid
of ProtoTree::protoItemUnselected and use an empty string in
protoItemSelected to indicate that nothing is selected.

svn path=/trunk/; revision=44492
2012-08-14 16:35:52 +00:00
Michael Mann 4108285179 fix subtle g_strdup_printf() memory leaks with ephemeral memory
svn path=/trunk/; revision=44491
2012-08-14 16:29:38 +00:00
Michael Mann c7a6af44bb convert g_strdup_printf() to ep_strdup_printf()
svn path=/trunk/; revision=44490
2012-08-14 16:13:18 +00:00
Gerald Combs 6f55c03852 Fix compilation warnings.
svn path=/trunk/; revision=44489
2012-08-14 16:01:47 +00:00
Michael Mann f929edfe09 Have strings use ephemeral memory. This dissector appears to need a massive overhaul to using proto_tree_add_item, but for now I'll settle for using ephemeral memory.
svn path=/trunk/; revision=44488
2012-08-14 15:36:13 +00:00
Evan Huus 6960a27c75 From Bodo Petermann via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7632
Fix dissection of ISUP message Generic Numbers with no digits.

svn path=/trunk/; revision=44487
2012-08-14 11:58:20 +00:00
Graham Bloice 5a93983e41 Various DNP3 cleanups and fixes:
1.  Fix time displayed in object values when using relative time from a CTO.
2.  Fix some text for IIN flags regarding Outputs in local control
3.  Try out DNP3 as a heuristic dissector.

svn path=/trunk/; revision=44486
2012-08-14 11:52:46 +00:00
Graham Bloice c0ed3ba818 Added proto_tree_free to the libwireshark expoert definitions for use in plugins
svn path=/trunk/; revision=44485
2012-08-14 11:24:22 +00:00
Irene Rüngeler 3ceddc57d3 Add some explanations for the change Capture options Dialog
svn path=/trunk/; revision=44484
2012-08-14 07:56:36 +00:00
Gerald Combs e0fcd7c21f Add a "View" menu along with actions+slots for expanding and collapsing
packet details. Connect the "Go" menu actions directly to their
corresponding packet list slots.

svn path=/trunk/; revision=44483
2012-08-14 04:12:56 +00:00
Gerald Combs 5a84802a21 Don't copy over the entire contents of the GnuTLS bin directory. Move
wireshark-qt to the top source directory alongside wireshark-gtk2. We
may want to merge them at some point.

svn path=/trunk/; revision=44482
2012-08-14 00:43:10 +00:00