metze/wireshark/wip.git
11 years agoIf we're compiling for Qt check if we have a working C++ compiler.
Jeff Morriss [Fri, 8 Feb 2013 01:16:27 +0000 (01:16 -0000)]
If we're compiling for Qt check if we have a working C++ compiler.

svn path=/trunk/; revision=47544

11 years agoCheck for QtCore instead of Qt.
Jeff Morriss [Thu, 7 Feb 2013 22:58:38 +0000 (22:58 -0000)]
Check for QtCore instead of Qt.

svn path=/trunk/; revision=47543

11 years agoAdd addition test to reduce false positives for 'ERROR: NO ARRAY: '
Bill Meier [Thu, 7 Feb 2013 22:16:39 +0000 (22:16 -0000)]
Add addition test to reduce false positives for 'ERROR: NO ARRAY: '

Essentially:
 Detect when an hf_... var is effictively initialized
 via the use of proto_registrar_get_id_byname() or
 proto_get_id_by_filter_name() (instead of
 proto_register_field_array()).

svn path=/trunk/; revision=47542

11 years agoUse proto_registrar_get_id_byname() instead of proto_registrar_get_byname();
Bill Meier [Thu, 7 Feb 2013 22:07:49 +0000 (22:07 -0000)]
Use proto_registrar_get_id_byname() instead of proto_registrar_get_byname();

The code is slightly cleaner and the use of proto_registrar_get_id_byname()
 enables an additional checkhf test to reduce false positives.

Also: comment out 2 unused hf_... vars in packet-smb-sidsnooping.c
(found by checkhf)

svn path=/trunk/; revision=47541

11 years agoAdd 'proto_registrar_get_id_byname()' accessor.
Bill Meier [Thu, 7 Feb 2013 22:04:02 +0000 (22:04 -0000)]
Add 'proto_registrar_get_id_byname()' accessor.

svn path=/trunk/; revision=47540

11 years agoAdd note re 'no problems to date' with VS2012 (VC11).
Bill Meier [Thu, 7 Feb 2013 21:59:27 +0000 (21:59 -0000)]
Add note re 'no problems to date' with VS2012 (VC11).

svn path=/trunk/; revision=47539

11 years agoUse a variable for the package name we're querying.
Jeff Morriss [Thu, 7 Feb 2013 20:58:45 +0000 (20:58 -0000)]
Use a variable for the package name we're querying.
Add SVN Id.

svn path=/trunk/; revision=47538

11 years agoQPropertyAnimation is needed for Qt builds and isn't present until Qt 4.6.0.
Jeff Morriss [Thu, 7 Feb 2013 20:51:52 +0000 (20:51 -0000)]
QPropertyAnimation is needed for Qt builds and isn't present until Qt 4.6.0.
Add a (crude) check for the Qt version, making 4.6.0 the minimum.

The existing checks in configure.ac should be moved into into this new module.

svn path=/trunk/; revision=47537

11 years agoAdd a hack to fix false positive 'unused ...' related to use of ..._add_oui().
Bill Meier [Thu, 7 Feb 2013 19:36:29 +0000 (19:36 -0000)]
Add a hack to fix false positive 'unused ...' related to use of ..._add_oui().

svn path=/trunk/; revision=47536

11 years agoAdd proto_tree_set_visible. Also, sort.
Chris Maynard [Thu, 7 Feb 2013 19:12:10 +0000 (19:12 -0000)]
Add proto_tree_set_visible.  Also, sort.
(Ref: http://www.wireshark.org/lists/wireshark-dev/201302/msg00048.html)

Q. Should the addition of proto_tree_set_visible be backported to 1.8?

svn path=/trunk/; revision=47535

11 years agoThere is no longer any need to link wireshark.desktop and wireshark.png into the...
Jeff Morriss [Thu, 7 Feb 2013 17:37:38 +0000 (17:37 -0000)]
There is no longer any need to link wireshark.desktop and wireshark.png into the rpm/SOURCES directory.

svn path=/trunk/; revision=47534

11 years agoMinor tweaks ...
Bill Meier [Thu, 7 Feb 2013 17:24:32 +0000 (17:24 -0000)]
Minor tweaks ...

svn path=/trunk/; revision=47533

11 years agoFix a few minor bugs;
Bill Meier [Thu, 7 Feb 2013 17:17:21 +0000 (17:17 -0000)]
Fix a few minor bugs;
Do some small tweaks for readability & consistency.

svn path=/trunk/; revision=47532

11 years agoPerl is required to build Wireshark, add it to BuildRequires.
Jeff Morriss [Thu, 7 Feb 2013 16:33:17 +0000 (16:33 -0000)]
Perl is required to build Wireshark, add it to BuildRequires.

svn path=/trunk/; revision=47531

11 years agoAdd MIME types for more capture file formats Wireshark understands:
Jeff Morriss [Thu, 7 Feb 2013 03:51:43 +0000 (03:51 -0000)]
Add MIME types for more capture file formats Wireshark understands:
 - AIX iptrace
 - Novell LANalyzer
 - HP-UX nettl

The magic matching comes from Fedora's magic file, the file extensions from
wiretap.

(Yes, I just made the application/x-* MIME types up.)

svn path=/trunk/; revision=47530

11 years agoAdd magic matching to PCAP, PCAPNG, and snoop files (based on Fedora's magic
Jeff Morriss [Thu, 7 Feb 2013 03:24:12 +0000 (03:24 -0000)]
Add magic matching to PCAP, PCAPNG, and snoop files (based on Fedora's magic
file).  That way your files don't need to be named (e.g.) *.pcap for your file
manager to know that they should be opened with Wireshark.

Add *.ntar to the list of patterns for PCAPNG files.

svn path=/trunk/; revision=47529

11 years agoOverhaul to make this file more useful/up to date. Many changes are based on
Jeff Morriss [Thu, 7 Feb 2013 03:09:47 +0000 (03:09 -0000)]
Overhaul to make this file more useful/up to date.  Many changes are based on
Fedora's .spec file.  Changes include:
  - Create a separate wireshark-gnome package (like Redhat).
  - Control some things with variables set at the top of the file.
    - Allow the user to configure how dumpcap is installed.
    - Allow the user to choose some options including GTK2 or GTK3.
  - Greatly expand the BuildRequires entries; get the minimum versions of some
    things from 'configure'.
  - Install freedesktop files for better (free)desktop integration.

svn path=/trunk/; revision=47528

11 years agoRemove more unnecessary defintions.
Gerald Combs [Wed, 6 Feb 2013 21:57:16 +0000 (21:57 -0000)]
Remove more unnecessary defintions.

svn path=/trunk/; revision=47527

11 years agoRemove some unnecessary definitions.
Gerald Combs [Wed, 6 Feb 2013 21:55:58 +0000 (21:55 -0000)]
Remove some unnecessary definitions.

svn path=/trunk/; revision=47526

11 years agoC++-ize filter_expressions.h.
Gerald Combs [Wed, 6 Feb 2013 19:12:14 +0000 (19:12 -0000)]
C++-ize filter_expressions.h.

svn path=/trunk/; revision=47525

11 years agoFix missing hf field array entries:
Bill Meier [Wed, 6 Feb 2013 19:04:24 +0000 (19:04 -0000)]
Fix missing hf field array entries:
 - In two cases, add missing entries to hf[];
 - Other cases: 'if 0' the packages referring to
    the missing entries.

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

ERROR: NO ARRAY: packet-h248_annex_e.c:
Fixed:
  hf_h248_pkg_ct
  hf_h248_pkg_nt

Packages 'if 0'd out:
  hf_h248_pkg_dd
  hf_h248_pkg_root

svn path=/trunk/; revision=47524

11 years agoAdd filter expressions frame entries.
Gerald Combs [Wed, 6 Feb 2013 19:03:23 +0000 (19:03 -0000)]
Add filter expressions frame entries.

svn path=/trunk/; revision=47523

11 years agoAdd Filter Expressions^WButton^WShortcut^WBookmark preferences.
Gerald Combs [Wed, 6 Feb 2013 18:22:54 +0000 (18:22 -0000)]
Add Filter Expressions^WButton^WShortcut^WBookmark preferences.

Add comments noting that

- We might want to do something different when the bookmark button is
  pressed.
- The display filters (dfilters file) and gui.filter_expressions
  preferences should be merged.
- Many buttons on Qt4 + OS X + unifiedTitleAndToolBarOnMac makes the
  main window really wide.

Add a qstring_strdup convenience routine. Add "disabled" display filter
edit icons. Fix up whitespace and descriptions in a couple of places.

svn path=/trunk/; revision=47522

11 years agoUpdate a comment.
Bill Meier [Wed, 6 Feb 2013 15:01:40 +0000 (15:01 -0000)]
Update a comment.

svn path=/trunk/; revision=47521

11 years agoFrom Stefan Allers via
Evan Huus [Wed, 6 Feb 2013 13:33:31 +0000 (13:33 -0000)]
From  Stefan Allers via
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8282

Extended Negotiation support for the DICOM dissector.

svn path=/trunk/; revision=47520

11 years agoFrom Pontus Fuchs:
Anders Broman [Wed, 6 Feb 2013 13:29:08 +0000 (13:29 -0000)]
From Pontus Fuchs:
If a monitor interface exists but is down the Wireless
toolbar fails to bring it up.

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

svn path=/trunk/; revision=47519

11 years agoFrom Tyson Key:
Anders Broman [Wed, 6 Feb 2013 13:23:54 +0000 (13:23 -0000)]
From Tyson Key:
Support for dissection of MiFare command payloads in PN532 InDataExchange packets.

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

svn path=/trunk/; revision=47518

11 years agoFrom Guy Davies:
Anders Broman [Wed, 6 Feb 2013 13:18:25 +0000 (13:18 -0000)]
From Guy Davies:
Update for RADIUS dictionary for Juniper Networks ERX

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

svn path=/trunk/; revision=47517

11 years ago-Werror needs to be applied only to clean files, not to, for example,
Guy Harris [Wed, 6 Feb 2013 10:24:50 +0000 (10:24 -0000)]
-Werror needs to be applied only to clean files, not to, for example,
Flex-generated files.  Comment it out for now.

svn path=/trunk/; revision=47516

11 years agoAdd -Werror if enabled.
Guy Harris [Wed, 6 Feb 2013 09:52:09 +0000 (09:52 -0000)]
Add -Werror if enabled.

Sort EXTRA_DIST.

svn path=/trunk/; revision=47515

11 years agoOnly remove Flex-generated files with "nmake distclean", not all
Guy Harris [Wed, 6 Feb 2013 09:51:33 +0000 (09:51 -0000)]
Only remove Flex-generated files with "nmake distclean", not all
generated files.

Remove all generated files with "nmake maintainer-clean".

svn path=/trunk/; revision=47514

11 years agoDon't bother setting XXX_FILES to empty strings.
Guy Harris [Wed, 6 Feb 2013 09:50:38 +0000 (09:50 -0000)]
Don't bother setting XXX_FILES to empty strings.

svn path=/trunk/; revision=47513

11 years agostrtod() is locale-dependent; use g_ascii_strtod() instead.
Guy Harris [Wed, 6 Feb 2013 04:37:27 +0000 (04:37 -0000)]
strtod() is locale-dependent; use g_ascii_strtod() instead.

If the intent is that floating-point representations be
locale-dependent, change this and somehow arrange that this not fail the
API test.  However, I doubt anybody's actually done anything that uses
this code path, given that...

...it was comparing a value against itself.  Fix it to use op->v.

svn path=/trunk/; revision=47512

11 years agoDon't run Lemon-generated header files through checkAPI, either (they
Guy Harris [Wed, 6 Feb 2013 03:33:45 +0000 (03:33 -0000)]
Don't run Lemon-generated header files through checkAPI, either (they
don't have an RCS ID, and they just define a pile of tokens).

svn path=/trunk/; revision=47511

11 years agoGet rid of extra blank line at the end.
Guy Harris [Wed, 6 Feb 2013 03:33:37 +0000 (03:33 -0000)]
Get rid of extra blank line at the end.

svn path=/trunk/; revision=47510

11 years agoLemon-generated files get API warnings as well.
Guy Harris [Wed, 6 Feb 2013 03:30:02 +0000 (03:30 -0000)]
Lemon-generated files get API warnings as well.

Do, however, run the support files through checkAPI.

svn path=/trunk/; revision=47509

11 years agoFix installation of wireshark.desktop (create the directory first)
Jeff Morriss [Wed, 6 Feb 2013 02:45:22 +0000 (02:45 -0000)]
Fix installation of wireshark.desktop (create the directory first)

svn path=/trunk/; revision=47507

11 years agoDo a bit more splitting and combining of file names, so that we can
Guy Harris [Wed, 6 Feb 2013 02:30:08 +0000 (02:30 -0000)]
Do a bit more splitting and combining of file names, so that we can
avoid running the checkAPI stuff on Flex-generated files.

svn path=/trunk/; revision=47506

11 years agoRename 'hf_h248_package_3GUP' to 'proto_h248_package_3GUP'
Bill Meier [Tue, 5 Feb 2013 21:55:31 +0000 (21:55 -0000)]
Rename 'hf_h248_package_3GUP' to 'proto_h248_package_3GUP'
in keeping with the usual convention for naming the
variable used to store the return value from
proto_register_protocol().
(Fixes checkhf false positive).

svn path=/trunk/; revision=47505

11 years agomate_parser.obj depends on mate_grammar.h, as it's built from
Guy Harris [Tue, 5 Feb 2013 21:49:43 +0000 (21:49 -0000)]
mate_parser.obj depends on mate_grammar.h, as it's built from
mate_parser.c and mate_parser.c includes mate_grammar.h, so we need to
make sure mate_grammar.h is built before we try to compile
mate_parser.c.  However, mate_parser.obj isn't built by trying to
compile mate_grammar.h, so don't use $? in the $(CC) line, as that will
cause it to try to compile *all* the dependencies.

Add a comment to explain why mate_parser_lex.h depends on mate_parser.c.

svn path=/trunk/; revision=47504

11 years agoComment out code which will never be executed in its current state.
Bill Meier [Tue, 5 Feb 2013 21:30:37 +0000 (21:30 -0000)]
Comment out code which will never be executed in its current state.

svn path=/trunk/; revision=47503

11 years agoPut NODIST_ at the beginning of macros containing NODIST, paralleling
Guy Harris [Tue, 5 Feb 2013 21:10:56 +0000 (21:10 -0000)]
Put NODIST_ at the beginning of macros containing NODIST, paralleling
the nodist_ convention for Automake variables.

Regularize the lists of source files, dividing them according to several
attributes.  Build composite lists in a plugins/Makefile.common.inc
file, to be included by plugin Makefile.common files, and use the
composite lists as appropriate in Makefile.am and Makefile.nmake.

svn path=/trunk/; revision=47502

11 years agoremove some unnecessary if(tree) checks
Martin Kaiser [Tue, 5 Feb 2013 20:47:04 +0000 (20:47 -0000)]
remove some unnecessary if(tree) checks

svn path=/trunk/; revision=47501

11 years agoRemove an unneeded set of parens in a macro definition;
Bill Meier [Tue, 5 Feb 2013 20:43:56 +0000 (20:43 -0000)]
Remove an unneeded set of parens in a macro definition;
Fixes checkhf false positive (when scanning the
preprocessed dissector source file).

svn path=/trunk/; revision=47500

11 years agoa DVB-CI session number is not globally unique, it's only unique per
Martin Kaiser [Tue, 5 Feb 2013 20:38:15 +0000 (20:38 -0000)]
a DVB-CI session number is not globally unique, it's only unique per
 transport connection, so it's not a good choice for a circuit id

use (session number|transport connection id) as circuit id

svn path=/trunk/; revision=47499

11 years agoExport dissect_japan_isup_additonal_user_cat()
Anders Broman [Tue, 5 Feb 2013 15:12:54 +0000 (15:12 -0000)]
Export dissect_japan_isup_additonal_user_cat()

svn path=/trunk/; revision=47497

11 years agoExport TBCD-STRING.
Anders Broman [Tue, 5 Feb 2013 15:12:13 +0000 (15:12 -0000)]
Export TBCD-STRING.

svn path=/trunk/; revision=47496

11 years agoAdd missing hf[] entries found by checkhf.
Bill Meier [Tue, 5 Feb 2013 15:04:22 +0000 (15:04 -0000)]
Add missing hf[] entries found by checkhf.

 ERROR: NO ARRAY: packet-fmp_notify.c, hf_fmp_extentList_len
 ERROR: NO ARRAY: packet-fmp_notify.c, hf_fmp_extent_state
 ERROR: NO ARRAY: packet-fmp_notify.c, hf_fmp_numBlks
 ERROR: NO ARRAY: packet-fmp_notify.c, hf_fmp_startOffset
 ERROR: NO ARRAY: packet-fmp_notify.c, hf_fmp_volID

svn path=/trunk/; revision=47494

11 years agoAdd missing hf[] entries found by checkhf.
Bill Meier [Tue, 5 Feb 2013 14:51:59 +0000 (14:51 -0000)]
Add missing hf[] entries found by checkhf.

  ERROR: NO ARRAY: packet-9p.c, hf_9P_dm_exec_group
  ERROR: NO ARRAY: packet-9p.c, hf_9P_dm_read_group
  ERROR: NO ARRAY: packet-9p.c, hf_9P_dm_write_group

svn path=/trunk/; revision=47493

11 years agoAccording to 3GPP TS 32.299 version 10.7.0 Release 10 AVP 846 is
Anders Broman [Tue, 5 Feb 2013 09:33:05 +0000 (09:33 -0000)]
According to 3GPP TS 32.299 version 10.7.0 Release 10 AVP 846 is
7.2.36 CG-Address AVP
The CG-Address AVP (AVP code 846) is of type Address and holds the IP-address of the charging gateway.

svn path=/trunk/; revision=47492

11 years agoDon't forget the .c files that we *don't* distribute.
Guy Harris [Tue, 5 Feb 2013 09:11:37 +0000 (09:11 -0000)]
Don't forget the .c files that we *don't* distribute.

svn path=/trunk/; revision=47491

11 years agomate_parser.c includes mate_grammar.h, so make mate_parser.obj depend on
Guy Harris [Tue, 5 Feb 2013 09:09:12 +0000 (09:09 -0000)]
mate_parser.c includes mate_grammar.h, so make mate_parser.obj depend on
mate_grammar.h.

svn path=/trunk/; revision=47490

11 years agoInclude generated C files that we're *not* distributing.
Guy Harris [Tue, 5 Feb 2013 09:06:39 +0000 (09:06 -0000)]
Include generated C files that we're *not* distributing.

svn path=/trunk/; revision=47489

11 years agodtd_parse.obj depends on dtd_grammar.h, but you can't build
Guy Harris [Tue, 5 Feb 2013 08:57:58 +0000 (08:57 -0000)]
dtd_parse.obj depends on dtd_grammar.h, but you can't build
dtd_parse.obj by handing dtd_parse.c *and* dtd_grammar.h to the C
compiler - dtd_grammar.h gets included by dtd_parse.c.

svn path=/trunk/; revision=47488

11 years agodtd_parse.c includes dtd_grammar.h; make sure we build dtd_grammar.h
Guy Harris [Tue, 5 Feb 2013 08:42:27 +0000 (08:42 -0000)]
dtd_parse.c includes dtd_grammar.h; make sure we build dtd_grammar.h
before trying to compile dtd_parse.c

svn path=/trunk/; revision=47487

11 years agoFix for previous changes.
Guy Harris [Tue, 5 Feb 2013 07:50:57 +0000 (07:50 -0000)]
Fix for previous changes.

svn path=/trunk/; revision=47486

11 years agoDon't distribute the results of running Lemon, as we distribute Lemon
Guy Harris [Tue, 5 Feb 2013 06:09:17 +0000 (06:09 -0000)]
Don't distribute the results of running Lemon, as we distribute Lemon
ourselves.

Clean up various bits of "distribute" vs. "don't distribute" stuff in
the process - use similar names, and make the "distribute vs. don't
distribute" distinction the same as the "don't clean with "make
distclean" vs. clean with "make distclean"" distinction.

svn path=/trunk/; revision=47485

11 years agoPrettify Qt build output.
Gerald Combs [Tue, 5 Feb 2013 05:17:16 +0000 (05:17 -0000)]
Prettify Qt build output.

svn path=/trunk/; revision=47484

11 years agoUse DESTDIR when installing desktop files.
Jeff Morriss [Tue, 5 Feb 2013 03:58:56 +0000 (03:58 -0000)]
Use DESTDIR when installing desktop files.

svn path=/trunk/; revision=47483

11 years agoMisc:
Bill Meier [Tue, 5 Feb 2013 02:25:24 +0000 (02:25 -0000)]
Misc:
- Add col_clear(..., COL_INFO);
- Use val_to_str() (not val_to_str_consr()) with "format" arg;
- Indentation/whitespace;
- Add svn:keywords & svn:eol-style properties.

svn path=/trunk/; revision=47482

11 years agoUse variables for the versions autoconf, GTK{2,3}, and glib we require.
Jeff Morriss [Tue, 5 Feb 2013 02:06:48 +0000 (02:06 -0000)]
Use variables for the versions autoconf, GTK{2,3}, and glib we require.
Use them instead of repeating the same number several times.
AC_SUBST() them so we can pick them up in, for example, wireshark.spec.in .

svn path=/trunk/; revision=47481

11 years agoAdd the warning flags to CFLAGS_FOR_BUILD, so any build tools we build
Guy Harris [Mon, 4 Feb 2013 22:23:19 +0000 (22:23 -0000)]
Add the warning flags to CFLAGS_FOR_BUILD, so any build tools we build
are built with warnings.

Also add compiler-specific flags (in this case, just the flags to enable
ANSI C compilation) to CFLAGS_FOR_BUILD.

svn path=/trunk/; revision=47479

11 years agoFix more verbosity macros.
Gerald Combs [Mon, 4 Feb 2013 20:20:40 +0000 (20:20 -0000)]
Fix more verbosity macros.

svn path=/trunk/; revision=47477

11 years agoAdd checking to verify that global hf_... defs are referenced in hf[] entry in same...
Bill Meier [Mon, 4 Feb 2013 20:06:46 +0000 (20:06 -0000)]
Add checking to verify that global hf_... defs are referenced in hf[] entry in same file.
(Commented out for now since a few false positives are currently generated).

Fix a few minor bugs;
Tweak the calling sequences for various subs.

svn path=/trunk/; revision=47476

11 years ago"make dist" uses uic and moc, so we have to try to find them no matter
Guy Harris [Mon, 4 Feb 2013 20:03:01 +0000 (20:03 -0000)]
"make dist" uses uic and moc, so we have to try to find them no matter
what.  If we don't find them, and the user specified --with-qt, fail (if
we haven't already failed to find Qt at all); if we don't find them, and
the user *didn't* specify --with-qt, just set UIC and MOC to "uic" and
"moc", which will fail on "make dist" but will at least allow the user
to build.

svn path=/trunk/; revision=47475

11 years agoAt least as I read
Guy Harris [Mon, 4 Feb 2013 18:53:50 +0000 (18:53 -0000)]
At least as I read

http://www.gnu.org/software/automake/manual/automake.html#index-g_t_0040code_007bAM_005fDEFAULT_005fVERBOSITY_007d-1018

this is the way to do the silent-rules stuff; using nested variable
expansion in Makefile.am causes warnings when running autogen.sh.

svn path=/trunk/; revision=47474

11 years agoUnwrap lines inadvertenly wrapped in r47472
Gerald Combs [Mon, 4 Feb 2013 18:27:05 +0000 (18:27 -0000)]
Unwrap lines inadvertenly wrapped in r47472

svn path=/trunk/; revision=47473

11 years agoMore silent build support.
Gerald Combs [Mon, 4 Feb 2013 17:49:54 +0000 (17:49 -0000)]
More silent build support.

svn path=/trunk/; revision=47472

11 years agoMake sure AM_DEFAULT_VERBOSITY is defined no matter what.
Gerald Combs [Mon, 4 Feb 2013 17:37:25 +0000 (17:37 -0000)]
Make sure AM_DEFAULT_VERBOSITY is defined no matter what.

svn path=/trunk/; revision=47471

11 years agoFrom me via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8296 Add RPKI-RTR...
Alexis La Goutte [Mon, 4 Feb 2013 17:24:27 +0000 (17:24 -0000)]
From me via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8296 Add RPKI-RTR Dissector (RFC6810)

Support all PDU Type (IPv4/6 Prefix, Serial Notify/Query...)

Not supported the packet with a lot of PDU (fragmentation)

svn path=/trunk/; revision=47470

11 years agoPrettify more build output.
Gerald Combs [Mon, 4 Feb 2013 17:22:32 +0000 (17:22 -0000)]
Prettify more build output.

svn path=/trunk/; revision=47469

11 years agoPrettify the silent build.
Gerald Combs [Mon, 4 Feb 2013 17:00:02 +0000 (17:00 -0000)]
Prettify the silent build.

svn path=/trunk/; revision=47468

11 years agoEnable silent build rules by default.
Gerald Combs [Mon, 4 Feb 2013 16:48:14 +0000 (16:48 -0000)]
Enable silent build rules by default.

svn path=/trunk/; revision=47467

11 years agoFix warning: unused parameter ‘str’ when compiling on a non Windows machine
Pascal Quantin [Mon, 4 Feb 2013 16:35:51 +0000 (16:35 -0000)]
Fix warning: unused parameter ‘str’ when compiling on a non Windows machine

svn path=/trunk/; revision=47466

11 years agoAdd CPUBrandString and memory size to VersionInfo on windows if available.
Anders Broman [Mon, 4 Feb 2013 15:29:43 +0000 (15:29 -0000)]
Add CPUBrandString and memory size to VersionInfo on windows if available.

svn path=/trunk/; revision=47465

11 years ago'#if 0' out an unused hf[] entry;
Bill Meier [Mon, 4 Feb 2013 14:58:04 +0000 (14:58 -0000)]
'#if 0' out an unused hf[] entry;
Do some minor cleanup.

svn path=/trunk/; revision=47464

11 years agoComment out two more case of an unused hf[] entry.
Bill Meier [Mon, 4 Feb 2013 14:43:37 +0000 (14:43 -0000)]
Comment out two more case of an unused hf[] entry.

svn path=/trunk/; revision=47463

11 years agoAdd a FALLTHROUGH comment to fix Coverity CID 745673: Missing break in switch.
Chris Maynard [Mon, 4 Feb 2013 02:50:26 +0000 (02:50 -0000)]
Add a FALLTHROUGH comment to fix Coverity CID 745673: Missing break in switch.
(No need to backport.)

svn path=/trunk/; revision=47462

11 years agoFix Coverity CID 746734: Dead default in switch. (No need to backport)
Chris Maynard [Mon, 4 Feb 2013 02:44:04 +0000 (02:44 -0000)]
Fix Coverity CID 746734: Dead default in switch.  (No need to backport)

svn path=/trunk/; revision=47461

11 years agoTry creating a script for Debian and derivatives that will grab the
Guy Harris [Mon, 4 Feb 2013 00:29:27 +0000 (00:29 -0000)]
Try creating a script for Debian and derivatives that will grab the
packages necessary for Wireshark development, using apt-get.

svn path=/trunk/; revision=47460

11 years ago#if 0 unused hf[] entries & etc.
Bill Meier [Sun, 3 Feb 2013 22:29:48 +0000 (22:29 -0000)]
#if 0 unused hf[] entries & etc.

Note: All (or almost all) unused hf[] entries
       in non-generated Wireshark dissectors
       have been #if 0'd (or commented) out.
       (This applies only to 'static hf_...' vars).
      A number of (non-generated) dissector
       files with *missing* hf[] entries
       still need to be fixed.

svn path=/trunk/; revision=47459

11 years agoImprovements:
Bill Meier [Sun, 3 Feb 2013 22:12:33 +0000 (22:12 -0000)]
Improvements:
- Handle preprocessed (as well as original) .c source files.
  (Running checkhf on the source after it has been pre-processed
   should give few false positives).
- Remove blank lines, comments & quoted text strings before
   doing the hf_... tests: reduces false positives/negatives.

svn path=/trunk/; revision=47458

11 years agoSigh. At least on my Fedora 16 with KDE, the Qt 4 versions of uic and
Guy Harris [Sun, 3 Feb 2013 21:39:11 +0000 (21:39 -0000)]
Sigh.  At least on my Fedora 16 with KDE, the Qt 4 versions of uic and
moc are called uic-qt4 and moc-qt4.  Look for them by names, plural.

svn path=/trunk/; revision=47457

11 years agofix dead increment
Martin Kaiser [Sun, 3 Feb 2013 20:09:46 +0000 (20:09 -0000)]
fix dead increment
http://www.wireshark.org/download/automated/analysis/scan-build-2013-02-02-1/report-JzzXua.html#EndPath

svn path=/trunk/; revision=47456

11 years agodescribe the -t option in the dumpcap manpage
Martin Kaiser [Sun, 3 Feb 2013 20:01:49 +0000 (20:01 -0000)]
describe the -t option in the dumpcap manpage
(use the same text that dumpcap -V prints)

svn path=/trunk/; revision=47455

11 years agoMove the get-runtime-version stuff back outside of #ifdef WIN32.
Jeff Morriss [Sun, 3 Feb 2013 18:31:23 +0000 (18:31 -0000)]
Move the get-runtime-version stuff back outside of #ifdef WIN32.

svn path=/trunk/; revision=47454

11 years agocall load_wpcap before collecting the run-time version information.
Anders Broman [Sun, 3 Feb 2013 15:11:53 +0000 (15:11 -0000)]
call load_wpcap before collecting the run-time version information.

svn path=/trunk/; revision=47451

11 years ago[Automatic manuf, services and enterprise-numbers update for 2013-02-03]
Gerald Combs [Sun, 3 Feb 2013 15:03:20 +0000 (15:03 -0000)]
[Automatic manuf, services and enterprise-numbers update for 2013-02-03]

svn path=/trunk/; revision=47450

11 years agoComment out unused hf[] entry.
Bill Meier [Sat, 2 Feb 2013 18:25:38 +0000 (18:25 -0000)]
Comment out unused hf[] entry.

svn path=/trunk/; revision=47449

11 years agoRestore hf[] entry commented out by mistake in SVN #47389.
Bill Meier [Sat, 2 Feb 2013 17:40:52 +0000 (17:40 -0000)]
Restore hf[] entry commented out by mistake in SVN #47389.

svn path=/trunk/; revision=47448

11 years agoTweaks:
Bill Meier [Sat, 2 Feb 2013 15:13:45 +0000 (15:13 -0000)]
Tweaks:
- Remove comments from the input string before checking hf[] entries;
- Remove code under '#if 0' before doing API checks.

svn path=/trunk/; revision=47447

11 years agoHack: disguise '/*' in text strings to prevent checkAPIs & etc seeing 'start of comme...
Bill Meier [Sat, 2 Feb 2013 14:20:15 +0000 (14:20 -0000)]
Hack: disguise '/*' in text strings to prevent checkAPIs & etc seeing 'start of comment' within a text string.

svn path=/trunk/; revision=47446

11 years agoFix error: declaration of 'j' shadows a previous local
Pascal Quantin [Sat, 2 Feb 2013 13:31:46 +0000 (13:31 -0000)]
Fix error: declaration of 'j' shadows a previous local

svn path=/trunk/; revision=47445

11 years agoIncrease the maximum number of OPTIONAL / DEFAULT components per SEQUENCE to 128...
Pascal Quantin [Sat, 2 Feb 2013 13:13:19 +0000 (13:13 -0000)]
Increase the maximum number of OPTIONAL / DEFAULT components per SEQUENCE to 128 and make it configurable through a define

svn path=/trunk/; revision=47444

11 years agoRevert changes committed by error in r47433
Pascal Quantin [Sat, 2 Feb 2013 09:02:11 +0000 (09:02 -0000)]
Revert changes committed by error in r47433

svn path=/trunk/; revision=47442

11 years agoReflect recent.c moving from the top-level directory to the ui
Guy Harris [Sat, 2 Feb 2013 06:05:59 +0000 (06:05 -0000)]
Reflect recent.c moving from the top-level directory to the ui
directory.

svn path=/trunk/; revision=47441

11 years agoMove the GUI-independent window geometry stuff to ui/recent.c, so we
Guy Harris [Sat, 2 Feb 2013 05:34:31 +0000 (05:34 -0000)]
Move the GUI-independent window geometry stuff to ui/recent.c, so we
only have one copy.

svn path=/trunk/; revision=47440

11 years agoReflect the move of recent.c to the ui directory.
Guy Harris [Sat, 2 Feb 2013 05:25:39 +0000 (05:25 -0000)]
Reflect the move of recent.c to the ui directory.

svn path=/trunk/; revision=47439

11 years agoMove recent.c to the ui directory, as we did with its header file.
Guy Harris [Sat, 2 Feb 2013 04:49:58 +0000 (04:49 -0000)]
Move recent.c to the ui directory, as we did with its header file.

svn path=/trunk/; revision=47438

11 years agoFor Qt 5, we need to link with the QtWidgets and QtPrintSupport
Guy Harris [Sat, 2 Feb 2013 04:00:52 +0000 (04:00 -0000)]
For Qt 5, we need to link with the QtWidgets and QtPrintSupport
libraries as well, at least on OS X.

svn path=/trunk/; revision=47437