metze/wireshark/wip.git
10 years agoSet the progress bar animation behavior to match other parts of the
Gerald Combs [Thu, 31 Oct 2013 00:05:59 +0000 (00:05 -0000)]
Set the progress bar animation behavior to match other parts of the
program.

svn path=/trunk/; revision=52993

10 years agoTry to make the animation a little more natural.
Gerald Combs [Thu, 31 Oct 2013 00:01:51 +0000 (00:01 -0000)]
Try to make the animation a little more natural.

svn path=/trunk/; revision=52992

10 years agoMove the geometry shenanigans a bit further ahead in the startup
Gerald Combs [Wed, 30 Oct 2013 23:54:46 +0000 (23:54 -0000)]
Move the geometry shenanigans a bit further ahead in the startup
sequence. Fix some prefs logic.

svn path=/trunk/; revision=52991

10 years agoFix maximized geometry behavior on non-OS X systems.
Gerald Combs [Wed, 30 Oct 2013 23:23:24 +0000 (23:23 -0000)]
Fix maximized geometry behavior on non-OS X systems.

svn path=/trunk/; revision=52990

10 years agoFix a comparison.
Gerald Combs [Wed, 30 Oct 2013 23:14:11 +0000 (23:14 -0000)]
Fix a comparison.

svn path=/trunk/; revision=52989

10 years agoAdd initial support for geometry settings in the main window.
Gerald Combs [Wed, 30 Oct 2013 22:39:52 +0000 (22:39 -0000)]
Add initial support for geometry settings in the main window.

In the current Qt startup sequence the main window + splash screen is
displayed before the main preferences are loaded which means we can't
immediately apply the correct geometry. For now, use an animation to
morph from the default to the saved geometry after the prefs are loaded.

Get rid of main_do_quit() (Qt) and main_window_exit() (Qt+GTK). It looks
like they were unused.

Add wsApp->isInitialized() and use it to see if we should exit() when
the main window is closed. Otherwise we won't shut the application down
and clean up properly.

svn path=/trunk/; revision=52988

10 years agoBAT has a Bouquet ID, no Service ID
Martin Kaiser [Wed, 30 Oct 2013 22:34:16 +0000 (22:34 -0000)]
BAT has a Bouquet ID, no Service ID

svn path=/trunk/; revision=52987

10 years agoadd one more private data specifier
Martin Kaiser [Wed, 30 Oct 2013 22:18:55 +0000 (22:18 -0000)]
add one more private data specifier

svn path=/trunk/; revision=52986

10 years agoRemove an extraneous semicolon.
Chris Maynard [Wed, 30 Oct 2013 18:16:22 +0000 (18:16 -0000)]
Remove an extraneous semicolon.

svn path=/trunk/; revision=52985

10 years agoAdd some documentation to hopefully help dissector writers avoid the problem
Jeff Morriss [Wed, 30 Oct 2013 15:56:01 +0000 (15:56 -0000)]
Add some documentation to hopefully help dissector writers avoid the problem
in https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9323 :

The string added to proto_tree_add_string*() must be NULL terminated.

svn path=/trunk/; revision=52984

10 years agoInitialise current_security to NULL, to avoid possibly using uninitialised
Martin Mathieson [Wed, 30 Oct 2013 13:45:28 +0000 (13:45 -0000)]
Initialise current_security to NULL, to avoid possibly using uninitialised

svn path=/trunk/; revision=52983

10 years agoGet rid of value_strings that appear to be a throwback to when ROHC appeared in this...
Martin Mathieson [Wed, 30 Oct 2013 13:18:15 +0000 (13:18 -0000)]
Get rid of value_strings that appear to be a throwback to when ROHC appeared in this dissector

svn path=/trunk/; revision=52982

10 years agoDon't call RRC dissector if should be ciphered. Take care to allow SecurityModeCompl...
Martin Mathieson [Wed, 30 Oct 2013 12:58:03 +0000 (12:58 -0000)]
Don't call RRC dissector if should be ciphered.  Take care to allow SecurityModeComplete to be shown though (i.e. the next UL frame after security is configured)

svn path=/trunk/; revision=52981

10 years agoAllow string-based dissector tables to pass data between dissectors.
Michael Mann [Wed, 30 Oct 2013 04:06:54 +0000 (04:06 -0000)]
Allow string-based dissector tables to pass data between dissectors.

svn path=/trunk/; revision=52980

10 years agoReplace some proto_tree_add_string_format with proto_tree_add_item +
Evan Huus [Wed, 30 Oct 2013 02:09:34 +0000 (02:09 -0000)]
Replace some proto_tree_add_string_format with proto_tree_add_item +
proto_tree_set_text - the string was not the important part, the formatting was.
We were passing the string directly from tvb_get_ptr, but this meant that if the
packet didn't contain a null-terminator we would run off the end. Since the
string comes straight from the packet, just let _add_item handle the length
calculations etc efficiently, and set the display later.

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

I'm a bit confused honestly why most of these are being set hidden after being
added and formatted, but at least there are no memory errors anymore.

svn path=/trunk/; revision=52979

10 years agoUpdate the ASN.1 generated dissectors that were missed as part of the patches in...
Michael Mann [Wed, 30 Oct 2013 02:02:08 +0000 (02:02 -0000)]
Update the ASN.1 generated dissectors that were missed as part of the patches in bug 9344 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9344)

svn path=/trunk/; revision=52978

10 years agoWhen adding an entry to a dissector string table, take a copy of the pattern
Evan Huus [Wed, 30 Oct 2013 01:42:11 +0000 (01:42 -0000)]
When adding an entry to a dissector string table, take a copy of the pattern
string (and pass g_free to g_hash_table_new_full to free it).

This means callers don't have to worry about the scope of the memory they pass
in, and fixes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9296

svn path=/trunk/; revision=52977

10 years agoSet SVN properties.
Jeff Morriss [Wed, 30 Oct 2013 00:43:46 +0000 (00:43 -0000)]
Set SVN properties.

svn path=/trunk/; revision=52976

10 years agoFix proto.c:4498: warning: 'compare_filter_name' defined but not used
Anders Broman [Tue, 29 Oct 2013 23:18:26 +0000 (23:18 -0000)]
Fix proto.c:4498: warning: 'compare_filter_name' defined but not used

svn path=/trunk/; revision=52975

10 years agoOptimize proto_get_id_by_filter_name() by using the existing hastable for proto_filte...
Anders Broman [Tue, 29 Oct 2013 22:17:18 +0000 (22:17 -0000)]
Optimize proto_get_id_by_filter_name() by using the existing hastable for proto_filter_names.

svn path=/trunk/; revision=52972

10 years agoMark an unused parameter as such
Martin Mathieson [Tue, 29 Oct 2013 22:16:32 +0000 (22:16 -0000)]
Mark an unused parameter as such

svn path=/trunk/; revision=52971

10 years agoif pointer==0, the section starts immediately
Martin Kaiser [Tue, 29 Oct 2013 21:50:21 +0000 (21:50 -0000)]
if pointer==0, the section starts immediately
don't add an empty fragment to the list

this should fix the asserts reported in
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9325
and
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8352

svn path=/trunk/; revision=52969

10 years agoseparate function for dissecting the adaptation field
Martin Kaiser [Tue, 29 Oct 2013 21:40:09 +0000 (21:40 -0000)]
separate function for dissecting the adaptation field

svn path=/trunk/; revision=52967

10 years agoRevert r52905 and r52908: they're causing plenty of fuzz failures.
Jeff Morriss [Tue, 29 Oct 2013 21:18:22 +0000 (21:18 -0000)]
Revert r52905 and r52908: they're causing plenty of fuzz failures.

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9323 is tracking the fix.

svn path=/trunk/; revision=52966

10 years agoRemove no-longer-used parameter.
Jeff Morriss [Tue, 29 Oct 2013 21:16:50 +0000 (21:16 -0000)]
Remove no-longer-used parameter.

svn path=/trunk/; revision=52965

10 years agoPass T.38 data to subdissectors directly instead of using pinfo->private_data.
Michael Mann [Tue, 29 Oct 2013 21:12:50 +0000 (21:12 -0000)]
Pass T.38 data to subdissectors directly instead of using pinfo->private_data.

svn path=/trunk/; revision=52964

10 years agoRemove use of pinfo->private_data
Michael Mann [Tue, 29 Oct 2013 20:04:50 +0000 (20:04 -0000)]
Remove use of pinfo->private_data

svn path=/trunk/; revision=52963

10 years agoAdd casts to results of g_hash_table_lookup() calls
Martin Mathieson [Tue, 29 Oct 2013 17:57:56 +0000 (17:57 -0000)]
Add casts to results of g_hash_table_lookup() calls

svn path=/trunk/; revision=52955

10 years agoShow security config settings in each PDCP PDU. Don't call IP dissector for ciphered...
Martin Mathieson [Tue, 29 Oct 2013 17:46:50 +0000 (17:46 -0000)]
Show security config settings in each PDCP PDU.  Don't call IP dissector for ciphered userplane frames. SRB messages are more complicated - need to keep track of SecurityModeRequest and SecurityModeResponse as they are not ciphered

svn path=/trunk/; revision=52953

10 years agoAdd some items to the list of things still to be done.
Jeff Morriss [Tue, 29 Oct 2013 15:28:49 +0000 (15:28 -0000)]
Add some items to the list of things still to be done.

svn path=/trunk/; revision=52952

10 years agoAdjust when dissect_diameter_avp loop is called to avoid access violations.
Michael Mann [Tue, 29 Oct 2013 15:18:05 +0000 (15:18 -0000)]
Adjust when dissect_diameter_avp loop is called to avoid access violations.

from Lukasz Markowski

svn path=/trunk/; revision=52951

10 years agoWhitespace fixes: Replace some tabs by spaces & etc
Bill Meier [Tue, 29 Oct 2013 15:00:32 +0000 (15:00 -0000)]
Whitespace fixes: Replace some tabs by spaces & etc

svn path=/trunk/; revision=52950

10 years agoFrom Marko Hrastovec via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9347 :
Jeff Morriss [Tue, 29 Oct 2013 14:48:08 +0000 (14:48 -0000)]
From Marko Hrastovec via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9347 :

Asterix dissector had two #if 0 ... #endif blocks because it obviously did not
compile on some systems.

Blocks were created because of mistyped variable names and variable not used
warning/error.

The errors were corrected.

svn path=/trunk/; revision=52949

10 years agoFrom didier gautheron: remove redundant or use faster col_xxx functions
Bill Meier [Tue, 29 Oct 2013 14:09:20 +0000 (14:09 -0000)]
From didier gautheron: remove redundant or use faster col_xxx functions

- when the text parameter is constant col_add_str() and col_set_str() are equivalent but col_set_str() is faster.
- same for  replace col_append_fstr and col_append_str
- remove col_clear() when it's redundant:
    + before a col_set/col_add if the dissector can't throw an exception.
- replace col_append() after a col_clear() with faster col_add... or col_set

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

svn path=/trunk/; revision=52948

10 years agoAdd a cast to try to fix OSX buildbot
Martin Mathieson [Tue, 29 Oct 2013 14:08:19 +0000 (14:08 -0000)]
Add a cast to try to fix OSX buildbot

svn path=/trunk/; revision=52947

10 years agoPass security command details (integrity and ciphering algorithms) to PDCP (which...
Martin Mathieson [Tue, 29 Oct 2013 13:49:14 +0000 (13:49 -0000)]
Pass security command details (integrity and ciphering algorithms) to PDCP (which doesn't yet do much with them)

svn path=/trunk/; revision=52946

10 years agoMake the packet analysis for SCTP independent from GTK and QT.
Irene Rüngeler [Tue, 29 Oct 2013 12:11:23 +0000 (12:11 -0000)]
Make the packet analysis for SCTP independent from GTK and QT.

svn path=/trunk/; revision=52945

10 years agosimplify file_error()
Martin Kaiser [Tue, 29 Oct 2013 11:04:03 +0000 (11:04 -0000)]
simplify file_error()

svn path=/trunk/; revision=52944

10 years agoallow err_info==NULL in file_error()
Martin Kaiser [Tue, 29 Oct 2013 09:15:02 +0000 (09:15 -0000)]
allow err_info==NULL in file_error()

this fixes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9309
reported by Peter Wu

svn path=/trunk/; revision=52943

10 years agoFrom Peter Wu
Martin Kaiser [Tue, 29 Oct 2013 08:34:35 +0000 (08:34 -0000)]
From Peter Wu

write editcap debug infos to stderr
print some of those messages only in verbose mode

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

svn path=/trunk/; revision=52942

10 years agoRevert part of 52896 and (for now) all of 52935. As Jeff pointed out,
Gerald Combs [Tue, 29 Oct 2013 04:05:27 +0000 (04:05 -0000)]
Revert part of 52896 and (for now) all of 52935. As Jeff pointed out,
the PortableApps version relies on U3_-prefixed environment variables.

svn path=/trunk/; revision=52941

10 years agoMake it so out-of-tree builds (autofoo and cmake) have access to the various
Jeff Morriss [Tue, 29 Oct 2013 02:28:16 +0000 (02:28 -0000)]
Make it so out-of-tree builds (autofoo and cmake) have access to the various
data files (diameter/*, COPYING, manuf) when running *shark from the
build directory.

Do this by passing in the top-level source directory as a compile-time
definition (unfortunately this has to be in the top-level Makefile too because
some programs link directly with epan/filesystem.c).

The plugins dir is no longer below the datafile directory but rather the
progfile directory (if we have one).  Handle the special case of AUTHORS-SHORT
(a data file but a generated one) by checking the file name before building
the path.

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

svn path=/trunk/; revision=52940

10 years agoSupport building and installing both Qt and GTK+.
Guy Harris [Tue, 29 Oct 2013 01:49:59 +0000 (01:49 -0000)]
Support building and installing both Qt and GTK+.

When forcing CFLAGS and CXXFLAGS, add -g and -O2; newer versions of
autoconf do so for GCC-compatible compilers (clang is GCC-compatible in
that sense), but only do so when those variables aren't forced.

svn path=/trunk/; revision=52939

10 years agoHave GTPv2 pass its "instance ID" to "private extension" subdissectors rather than...
Michael Mann [Tue, 29 Oct 2013 00:25:57 +0000 (00:25 -0000)]
Have GTPv2 pass its "instance ID" to "private extension" subdissectors rather than use pinfo->private_data.  There are no "private extension" subdissectors in the Wireshark source, so I assume it's all done by third-party plugins.  They must now update their dissectors to get the "instance ID" from the dissector data parameter.

svn path=/trunk/; revision=52938

10 years agoFix scroll bar ranges.
Gerald Combs [Mon, 28 Oct 2013 23:57:57 +0000 (23:57 -0000)]
Fix scroll bar ranges.

svn path=/trunk/; revision=52937

10 years agoAdd c-ares. Untested, but it *should* work.
Gerald Combs [Mon, 28 Oct 2013 22:38:23 +0000 (22:38 -0000)]
Add c-ares. Untested, but it *should* work.

svn path=/trunk/; revision=52936

10 years agoRemove some (but not all) U3 remnants.
Gerald Combs [Mon, 28 Oct 2013 22:11:51 +0000 (22:11 -0000)]
Remove some (but not all) U3 remnants.

svn path=/trunk/; revision=52935

10 years agoTABs -> spaces
Martin Kaiser [Mon, 28 Oct 2013 21:49:56 +0000 (21:49 -0000)]
TABs -> spaces
add editor modelines

svn path=/trunk/; revision=52934

10 years agoAdd Tinkerforge to the list of new protocols
Pascal Quantin [Mon, 28 Oct 2013 21:19:21 +0000 (21:19 -0000)]
Add Tinkerforge to the list of new protocols

svn path=/trunk/; revision=52933

10 years agoFIX compiler warning:
Bill Meier [Mon, 28 Oct 2013 20:37:58 +0000 (20:37 -0000)]
FIX compiler warning:
  packet-gtp.c: In function 'dissect_gtp_common':
  packet-gtp.c:7838: warning: unused variable 'pd_save'

svn path=/trunk/; revision=52932

10 years agoFrom Ishraq Ibne Ashraf: Tinkerforge protocol dissector
Bill Meier [Mon, 28 Oct 2013 20:07:58 +0000 (20:07 -0000)]
From Ishraq Ibne Ashraf: Tinkerforge protocol dissector

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

From me:

1. Move certain global vars to local storage in dissect_tfp_common()

2. Declare all remaining global vars as static;

3. Fix some bugs:
    - base58_encode() needed to be called before call to col_add_fstr()
    - display of UID string in tree was being truncated to 4 characters

4. Cleanup whitespace: use consistent indentation (tabs); remove trailing whitespace;

5. Add editor modelines

svn path=/trunk/; revision=52931

10 years agoAdd an extra parameter to gtp_match_response() so pinfo->private_data doesn't need...
Michael Mann [Mon, 28 Oct 2013 20:00:04 +0000 (20:00 -0000)]
Add an extra parameter to gtp_match_response() so pinfo->private_data doesn't need to be used.

svn path=/trunk/; revision=52930

10 years agoAdd some verbosity.
Gerald Combs [Mon, 28 Oct 2013 19:09:58 +0000 (19:09 -0000)]
Add some verbosity.

svn path=/trunk/; revision=52929

10 years agoFix the compilation.
Michael Tüxen [Mon, 28 Oct 2013 18:59:33 +0000 (18:59 -0000)]
Fix the compilation.
I guess this is what is meant. Only compile tested...

svn path=/trunk/; revision=52928

10 years agoAdd an if(tree) and tweek col_add_fstr().
Anders Broman [Mon, 28 Oct 2013 18:10:16 +0000 (18:10 -0000)]
Add an if(tree) and tweek col_add_fstr().

svn path=/trunk/; revision=52927

10 years agoFrom Peter Wu via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9341 :
Jeff Morriss [Mon, 28 Oct 2013 18:01:09 +0000 (18:01 -0000)]
From Peter Wu via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9341 :

SVN rev 50525 tried to fix out-of-source-tree builds, but did so by
writing the .rcc.cpp files to the source tree. This was noticed when
running `make distcheck`. This patch reverts that behavior, and creates
the image/ directory to fix out-of-tree builds.

In other words, fix things so "make distcheck" with Qt works in out-of-tree
builds too.

svn path=/trunk/; revision=52926

10 years agomake Pointer filterable
Martin Kaiser [Mon, 28 Oct 2013 17:16:43 +0000 (17:16 -0000)]
make Pointer filterable

svn path=/trunk/; revision=52925

10 years agopacked_analysis_data_t -> packet_analysis_data_t
Martin Kaiser [Mon, 28 Oct 2013 17:13:13 +0000 (17:13 -0000)]
packed_analysis_data_t -> packet_analysis_data_t

svn path=/trunk/; revision=52924

10 years agocorrect typos
Martin Kaiser [Mon, 28 Oct 2013 17:10:09 +0000 (17:10 -0000)]
correct typos

svn path=/trunk/; revision=52923

10 years agoremove unnecessary return; lines
Martin Kaiser [Mon, 28 Oct 2013 17:08:55 +0000 (17:08 -0000)]
remove unnecessary return; lines

svn path=/trunk/; revision=52922

10 years agoadd tags file to .gitignore
Martin Kaiser [Mon, 28 Oct 2013 17:07:14 +0000 (17:07 -0000)]
add tags file to .gitignore

svn path=/trunk/; revision=52921

10 years agoinitialize tree variables
Martin Kaiser [Mon, 28 Oct 2013 16:59:57 +0000 (16:59 -0000)]
initialize tree variables

svn path=/trunk/; revision=52920

10 years agoPass diam_sub_dis_t directly to the subdissectors instead of using pinfo->private_data.
Michael Mann [Mon, 28 Oct 2013 15:59:26 +0000 (15:59 -0000)]
Pass diam_sub_dis_t directly to the subdissectors instead of using pinfo->private_data.

svn path=/trunk/; revision=52919

10 years agoRemove accidentally-added private dissectors from Makefile
Martin Mathieson [Mon, 28 Oct 2013 14:26:13 +0000 (14:26 -0000)]
Remove accidentally-added private dissectors from Makefile

svn path=/trunk/; revision=52918

10 years agoComment changes only
Martin Mathieson [Mon, 28 Oct 2013 14:09:39 +0000 (14:09 -0000)]
Comment changes only

svn path=/trunk/; revision=52917

10 years agoPass tcap_private into the dissectors that need it rather than use private_data....
Michael Mann [Mon, 28 Oct 2013 13:36:49 +0000 (13:36 -0000)]
Pass tcap_private into the dissectors that need it rather than use private_data.  Not sure if value_ptr is the "proper" place to pass tcap_private "internally" within the TCAP dissector, but it gets away from (potential) private_data (ab)use.

svn path=/trunk/; revision=52916

10 years agoRevert SVN #52914;
Bill Meier [Mon, 28 Oct 2013 04:07:52 +0000 (04:07 -0000)]
Revert SVN #52914;
OSX-10.6-x64 buildbot still givs an error
(At least we now know which line of code gives the error).

svn path=/trunk/; revision=52915

10 years agoFrom Shekhar Chandra: support for version 3.0 of netscaler packet wire format.
Bill Meier [Mon, 28 Oct 2013 03:16:31 +0000 (03:16 -0000)]
From Shekhar Chandra: support for version 3.0 of netscaler packet wire format.
  https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9280

(Revised patch: let's see if this version compiles w/o error
                on all the buildbots)

svn path=/trunk/; revision=52914

10 years agoMore size and position tweaks.
Gerald Combs [Mon, 28 Oct 2013 01:39:20 +0000 (01:39 -0000)]
More size and position tweaks.

svn path=/trunk/; revision=52913

10 years agoUse _add_item not _add_uint as pointed out by checkAPI
Evan Huus [Mon, 28 Oct 2013 00:43:18 +0000 (00:43 -0000)]
Use _add_item not _add_uint as pointed out by checkAPI

svn path=/trunk/; revision=52912

10 years agoFix up some formatting.
Jeff Morriss [Mon, 28 Oct 2013 00:25:20 +0000 (00:25 -0000)]
Fix up some formatting.

svn path=/trunk/; revision=52911

10 years agoRemove "Cisco MDS-specific" fields from packet_info. 2 of the 3 fields were used...
Michael Mann [Sun, 27 Oct 2013 23:18:19 +0000 (23:18 -0000)]
Remove "Cisco MDS-specific" fields from packet_info.  2 of the 3 fields were used strictly for columns that are considered "deprecated" and I think the third could be put in that category as well.

I assume the column enumerations haven't already been removed because of legacy "indexing issues", but if I'm wrong, we should definitely remove the columns altogether.  Could also see renaming columns to DEPRECATED_[X].

svn path=/trunk/; revision=52910

10 years agoDissect Kafka "fetch" requests and responses.
Evan Huus [Sun, 27 Oct 2013 23:08:01 +0000 (23:08 -0000)]
Dissect Kafka "fetch" requests and responses.

svn path=/trunk/; revision=52909

10 years agoAs pointed by Evan: don't leak memory when the string pointer is NULL.
Jeff Morriss [Sun, 27 Oct 2013 22:40:55 +0000 (22:40 -0000)]
As pointed by Evan: don't leak memory when the string pointer is NULL.

svn path=/trunk/; revision=52908

10 years agoFrom Michal Labedzki via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9333 :
Pascal Quantin [Sun, 27 Oct 2013 22:40:45 +0000 (22:40 -0000)]
From Michal Labedzki via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9333 :
NFC: Add PN532 HCI dissector

svn path=/trunk/; revision=52907

10 years agoTry to improve the appearance of the sequence diagram.
Gerald Combs [Sun, 27 Oct 2013 22:23:27 +0000 (22:23 -0000)]
Try to improve the appearance of the sequence diagram.

Use integer coordinates for the arrows and text. Add smooth_font_size()
to qt_ui_utils which will hopefully adjust the size on Windows to
something more readable.

svn path=/trunk/; revision=52906

10 years agoFix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9323 :
Jeff Morriss [Sun, 27 Oct 2013 21:56:58 +0000 (21:56 -0000)]
Fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9323 :

Actually handle non-NULL-terminated FT_STRINGs properly.

svn path=/trunk/; revision=52905

10 years agoInitialise a couple of variables to avoid bogus may-be-used-uninitialised warnings...
Martin Mathieson [Sun, 27 Oct 2013 21:52:35 +0000 (21:52 -0000)]
Initialise a couple of variables to avoid bogus may-be-used-uninitialised warnings with my version of gcc

svn path=/trunk/; revision=52904

10 years agoFrom Michal Labedzki via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9333 :
Pascal Quantin [Sun, 27 Oct 2013 21:32:32 +0000 (21:32 -0000)]
From Michal Labedzki via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9333 :
USB: Decode HID interface subclasses and protocols

svn path=/trunk/; revision=52903

10 years agoFrom Michal Labedzki via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9333 :
Pascal Quantin [Sun, 27 Oct 2013 21:14:22 +0000 (21:14 -0000)]
From Michal Labedzki via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9333 :
USB: CDC: Decode ACM, CM and Union Functional Descriptors

svn path=/trunk/; revision=52902

10 years agoFrom Michal Labedzki via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9333 :
Pascal Quantin [Sun, 27 Oct 2013 20:59:43 +0000 (20:59 -0000)]
From Michal Labedzki via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9333 :
USB: Decode CDC subclasses and protocols

svn path=/trunk/; revision=52901

10 years agoMark unused parameters.
Evan Huus [Sun, 27 Oct 2013 20:58:00 +0000 (20:58 -0000)]
Mark unused parameters.

svn path=/trunk/; revision=52900

10 years agoRemove iplen and iphdrlen from struct _packet_info.
Michael Mann [Sun, 27 Oct 2013 20:38:42 +0000 (20:38 -0000)]
Remove iplen and iphdrlen from struct _packet_info.
Dissectors should just use (reported) tvb length and taps have other ways to get the data.

svn path=/trunk/; revision=52899

10 years agoFix relative path now that u3 folder has been removed
Pascal Quantin [Sun, 27 Oct 2013 19:45:30 +0000 (19:45 -0000)]
Fix relative path now that u3 folder has been removed

svn path=/trunk/; revision=52898

10 years agoDo not reset pinfo->curr_layer_num in packet-frame.c
Pascal Quantin [Sun, 27 Oct 2013 19:33:55 +0000 (19:33 -0000)]
Do not reset pinfo->curr_layer_num in packet-frame.c
Before this change, curr_layer_num could be off by 1 depending on whether we
generated items for Frame protocol or not, leading to a failure to get the
UDP heuristic dissector identified during first pass

svn path=/trunk/; revision=52897

10 years agoRemove U3 code and packaging.
Gerald Combs [Sun, 27 Oct 2013 17:15:39 +0000 (17:15 -0000)]
Remove U3 code and packaging.

svn path=/trunk/; revision=52896

10 years agoAdd Gettext to PACKAGELIST. Homebrew puts it in a nonstandard location.
Gerald Combs [Sun, 27 Oct 2013 17:14:12 +0000 (17:14 -0000)]
Add Gettext to PACKAGELIST. Homebrew puts it in a nonstandard location.

svn path=/trunk/; revision=52895

10 years agoHave X.25 dissector pass boolean q_bit_set value through dissector data rather than...
Michael Mann [Sun, 27 Oct 2013 16:03:11 +0000 (16:03 -0000)]
Have X.25 dissector pass boolean q_bit_set value through dissector data rather than pinfo->private_data.

Other "related" dissectors weren't manipulating pinfo->private_data, so it doesn't make sense for them to bother saving/restore it (now that q_bit_set isn't being used)

svn path=/trunk/; revision=52894

10 years agoAllow "circuit dissectors" to pass data between dissectors. Not sure if this is...
Michael Mann [Sun, 27 Oct 2013 15:00:11 +0000 (15:00 -0000)]
Allow "circuit dissectors" to pass data between dissectors.  Not sure if this is immediately useful (ie remove need for packet_info (private_)data), but opens the possibility.

svn path=/trunk/; revision=52893

10 years ago[Automatic manuf, services and enterprise-numbers update for 2013-10-27]
Gerald Combs [Sun, 27 Oct 2013 14:03:42 +0000 (14:03 -0000)]
[Automatic manuf, services and enterprise-numbers update for 2013-10-27]

svn path=/trunk/; revision=52890

10 years agoFrom Zoltán Lajos Kis:
Anders Broman [Sun, 27 Oct 2013 13:02:05 +0000 (13:02 -0000)]
From Zoltán Lajos Kis:

dissect flow_removed and port_status messages

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

svn path=/trunk/; revision=52889

10 years agoFrom Zoltán Lajos Kis:
Anders Broman [Sun, 27 Oct 2013 12:55:56 +0000 (12:55 -0000)]
From Zoltán Lajos Kis:

dissect experimenter, get/set config, packet in and packet out messages

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

svn path=/trunk/; revision=52888

10 years agoVarious updates - go into a little depth now.
Jörg Mayer [Sun, 27 Oct 2013 02:18:57 +0000 (02:18 -0000)]
Various updates - go into a little depth now.

svn path=/trunk/; revision=52887

10 years agoTreat IE 173 (symbol proprietary) like we treat the vendor IE
Jörg Mayer [Sun, 27 Oct 2013 02:18:00 +0000 (02:18 -0000)]
Treat IE 173 (symbol proprietary) like we treat the vendor IE

svn path=/trunk/; revision=52886

10 years agoHave ANSI TCAP dissector pass data through subdissector parameter instead of using...
Michael Mann [Sun, 27 Oct 2013 02:00:18 +0000 (02:00 -0000)]
Have ANSI TCAP dissector pass data through subdissector parameter instead of using struct _packet_info.

svn path=/trunk/; revision=52885

10 years agoMore SVN properties cleanup.
Jeff Morriss [Sun, 27 Oct 2013 01:11:15 +0000 (01:11 -0000)]
More SVN properties cleanup.

svn path=/trunk/; revision=52884

10 years agoRemove use of pinfo->private_data and just pass the data around through function...
Michael Mann [Sun, 27 Oct 2013 01:06:44 +0000 (01:06 -0000)]
Remove use of pinfo->private_data and just pass the data around through function parameters

Remove g_pinfo from packet-ansi_637.c and add packet_info* as a function parameter while we're at it.

svn path=/trunk/; revision=52883

10 years agoFix up some more svn properties.
Jeff Morriss [Sun, 27 Oct 2013 00:51:54 +0000 (00:51 -0000)]
Fix up some more svn properties.

svn path=/trunk/; revision=52882

10 years agoDon't set svn:keywords on .pod files. Remove it from those that have it.
Jeff Morriss [Sun, 27 Oct 2013 00:50:26 +0000 (00:50 -0000)]
Don't set svn:keywords on .pod files.  Remove it from those that have it.
Reorganize svnadd a little bit.

svn path=/trunk/; revision=52881

10 years agoFrom robionekenobi via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9328 :
Pascal Quantin [Sat, 26 Oct 2013 21:04:53 +0000 (21:04 -0000)]
From robionekenobi via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9328 :
Suppress some VS2013 warnings when compiling gtk ui

svn path=/trunk/; revision=52880