metze/wireshark/wip.git
13 years agoFix a typo in a comment
Bill Meier [Wed, 20 Oct 2010 15:14:56 +0000 (15:14 -0000)]
Fix a typo in a comment

svn path=/trunk/; revision=34586

13 years agoFrom Vincent Helfre:
Anders Broman [Wed, 20 Oct 2010 12:40:13 +0000 (12:40 -0000)]
From Vincent Helfre:
various bug fix and enhancement for Release 8 additionnal parameters.

svn path=/trunk/; revision=34585

13 years agoAdd longer desriptions of SOStart and SOEnd fields.
Martin Mathieson [Wed, 20 Oct 2010 12:08:22 +0000 (12:08 -0000)]
Add longer desriptions of SOStart and SOEnd fields.

svn path=/trunk/; revision=34584

13 years agoCopy GDK pixbuf loaders libs to the Wireshark.app.
Stig Bjørlykke [Wed, 20 Oct 2010 10:37:11 +0000 (10:37 -0000)]
Copy GDK pixbuf loaders libs to the Wireshark.app.

svn path=/trunk/; revision=34583

13 years agoIn heuristic dissector, don't check/allocate struct until/unless signature pattern...
Martin Mathieson [Wed, 20 Oct 2010 09:58:40 +0000 (09:58 -0000)]
In heuristic dissector, don't check/allocate struct until/unless signature pattern matches.

svn path=/trunk/; revision=34582

13 years agoFix SE memory corruption reported in https://bugs.wireshark.org/bugzilla/show_bug...
Jeff Morriss [Wed, 20 Oct 2010 01:49:32 +0000 (01:49 -0000)]
Fix SE memory corruption reported in  https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5318 :

Ensure the digest is smaller than our buffer before copying it.

svn path=/trunk/; revision=34581

13 years agoUse while loops instead of goto's.
Jeff Morriss [Wed, 20 Oct 2010 01:37:03 +0000 (01:37 -0000)]
Use while loops instead of goto's.

svn path=/trunk/; revision=34580

13 years agoFrom Colin O'Flynn and Owen Kirby via https://bugs.wireshark.org/bugzilla/show_bug...
Jeff Morriss [Wed, 20 Oct 2010 01:23:32 +0000 (01:23 -0000)]
From Colin O'Flynn and Owen Kirby via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5266 :

The attached patch begins to add support for RPL to the ICMPv6 file. All
locations that RPL code have been added are marked with a comment allowing this
patch to be reverted at a future time if it is decided to e.g. move all the RPL
code to it's own dissector.

A few values await IANA assignment and are also clearly marked (in
packet-ipv6.h).

Only the 'metric' option is left unsupported, as it is primarily defined in
another I-D.

svn path=/trunk/; revision=34579

13 years agoFrom Hadriel Kaplan: Update wiretap/README.developer
Bill Meier [Wed, 20 Oct 2010 01:15:12 +0000 (01:15 -0000)]
From Hadriel Kaplan: Update wiretap/README.developer

svn path=/trunk/; revision=34578

13 years agoUse DISSECTOR_ASSERT (not g_assert) in dissectors...
Bill Meier [Wed, 20 Oct 2010 00:47:23 +0000 (00:47 -0000)]
Use DISSECTOR_ASSERT (not g_assert) in dissectors...

svn path=/trunk/; revision=34577

13 years agoFrom Hadriel Kaplan: IPFIX file format support.
Bill Meier [Wed, 20 Oct 2010 00:36:53 +0000 (00:36 -0000)]
From Hadriel Kaplan: IPFIX file format support.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5242

svn path=/trunk/; revision=34576

13 years agoFrom Fred Fierling:
Anders Broman [Tue, 19 Oct 2010 19:19:42 +0000 (19:19 -0000)]
From Fred Fierling:
Infinite loop in ZCL Discover Attributes dissection

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

svn path=/trunk/; revision=34575

13 years agoFrom Alexis La Goutte:
Anders Broman [Tue, 19 Oct 2010 18:28:29 +0000 (18:28 -0000)]
From Alexis La Goutte:
GRE Enhancements

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

svn path=/trunk/; revision=34574

13 years agoFrom Alexis La Goutte:
Anders Broman [Tue, 19 Oct 2010 18:28:00 +0000 (18:28 -0000)]
From Alexis La Goutte:
GRE Enhancements

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

svn path=/trunk/; revision=34573

13 years agoRemove some #if 0'd code I left in by mistake a while back....
Bill Meier [Tue, 19 Oct 2010 17:43:52 +0000 (17:43 -0000)]
Remove some #if 0'd code I left in by mistake a while back....

svn path=/trunk/; revision=34572

13 years agoChange dummy MAC addresses so we don't get Wireshark expert message:
Bill Meier [Tue, 19 Oct 2010 16:13:48 +0000 (16:13 -0000)]
Change dummy MAC addresses so we don't get Wireshark expert message:
"[...] Source MAC must not be a group address: IEEE 802.3-2002, Section 3.2.3(b)"
Specifically: use 0a:01:01:01:01:01 and 0a:02:02:02;02:02 (and dummy IP addresses
10.1.1.1 and 10.2.2.2).

svn path=/trunk/; revision=34571

13 years agoFrom Tamás Regõs:
Anders Broman [Tue, 19 Oct 2010 15:21:05 +0000 (15:21 -0000)]
From Tamás Regõs:
Make application ID readable from sub dissectors.

svn path=/trunk/; revision=34570

13 years agoUse dynamically created value_string_ext to store hash/symbol value_strings;
Bill Meier [Tue, 19 Oct 2010 14:31:05 +0000 (14:31 -0000)]
Use dynamically created value_string_ext to store hash/symbol value_strings;
Also: minor code reformatting and re-arrangement.

svn path=/trunk/; revision=34569

13 years agoFrom Shoichi Sakane via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5270 :
Jeff Morriss [Tue, 19 Oct 2010 13:30:40 +0000 (13:30 -0000)]
From Shoichi Sakane via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5270 :

Remove some unused hf variables.

svn path=/trunk/; revision=34568

13 years agoFix problem with creating filter expressions (where stats window is limited by existi...
Martin Mathieson [Tue, 19 Oct 2010 09:19:53 +0000 (09:19 -0000)]
Fix problem with creating filter expressions (where stats window is limited by existing filter).

svn path=/trunk/; revision=34567

13 years agoInit ett_coap_noop, another fix for bug 5305.
Stig Bjørlykke [Tue, 19 Oct 2010 06:58:08 +0000 (06:58 -0000)]
Init ett_coap_noop, another fix for bug 5305.

svn path=/trunk/; revision=34566

13 years agoDon't use g_strcmp0(): it only exists in glib > 2.16.
Jeff Morriss [Mon, 18 Oct 2010 21:55:56 +0000 (21:55 -0000)]
Don't use g_strcmp0(): it only exists in glib > 2.16.

Make read_length() static.

Start function names at column 0.

svn path=/trunk/; revision=34565

13 years agoFix the win64 build
Jeff Morriss [Mon, 18 Oct 2010 21:36:41 +0000 (21:36 -0000)]
Fix the win64 build

svn path=/trunk/; revision=34564

13 years agoFix progress bar when loading compressed files.
Jeff Morriss [Mon, 18 Oct 2010 20:52:54 +0000 (20:52 -0000)]
Fix progress bar when loading compressed files.

Continue to use the data offset ((uncompressed) bytes read) as our progress
indicator, at least until we get a progress value greater than 1.0.  Then,
in addition to checking if the size of the file changed, check our position in
the file and use that as our progress indicator.

This optimizes uncompressed file accesses (avoiding an lseek()) at the "expense"
of switching progress measures (from data read to position in the file) while
loading a file.  Tests have shown that the progress bar never shows the data
offset number when loading a compressed file, so this should be okay.

svn path=/trunk/; revision=34563

13 years ago(GUIManager) Make opening a recent file work from the recent files menu.
Anders Broman [Mon, 18 Oct 2010 19:19:27 +0000 (19:19 -0000)]
(GUIManager) Make opening a recent file work from the recent files menu.

svn path=/trunk/; revision=34562

13 years agoTry to fix compile errors on 64 bit systems.
Bill Meier [Mon, 18 Oct 2010 18:37:07 +0000 (18:37 -0000)]
Try to fix compile errors on 64 bit systems.

svn path=/trunk/; revision=34561

13 years agoRemove some unneeded #includes ...
Bill Meier [Mon, 18 Oct 2010 17:46:12 +0000 (17:46 -0000)]
Remove some unneeded #includes ...

svn path=/trunk/; revision=34560

13 years agoDon't clear info column when showing MAC or RLC-level info.
Martin Mathieson [Mon, 18 Oct 2010 17:02:19 +0000 (17:02 -0000)]
Don't clear info column when showing MAC or RLC-level info.

svn path=/trunk/; revision=34559

13 years agoFrom Holger Grandy: ETCH dissector
Bill Meier [Mon, 18 Oct 2010 16:15:12 +0000 (16:15 -0000)]
From Holger Grandy: ETCH dissector
  See: https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5095

From me: Fix a bug in add_symbol which caused occasional Wireshark crashes;
         Add additional checking during parse of symbol hash file;
         Improve "directory not found" error message;
         Do misc code cleanup and simplification.

svn path=/trunk/; revision=34558

13 years agoUse port range for SCTP too.
Jeff Morriss [Mon, 18 Oct 2010 15:56:06 +0000 (15:56 -0000)]
Use port range for SCTP too.

svn path=/trunk/; revision=34557

13 years ago(GTKUImanger)
Anders Broman [Mon, 18 Oct 2010 15:40:51 +0000 (15:40 -0000)]
(GTKUImanger)
- Make Open file from the welocme screen work again.

svn path=/trunk/; revision=34556

13 years agoAdd SVN:Id tag. Copy copyright notice to the header file.
Jeff Morriss [Mon, 18 Oct 2010 13:26:35 +0000 (13:26 -0000)]
Add SVN:Id tag. Copy copyright notice to the header file.

svn path=/trunk/; revision=34555

13 years agoAdd SVN:Id tag.
Jeff Morriss [Mon, 18 Oct 2010 13:24:10 +0000 (13:24 -0000)]
Add SVN:Id tag.

svn path=/trunk/; revision=34554

13 years agoAdd fuzz-test option (-C) to specify a configuration profile.
Bill Meier [Mon, 18 Oct 2010 13:21:04 +0000 (13:21 -0000)]
Add fuzz-test option (-C) to specify a configuration profile.

svn path=/trunk/; revision=34553

13 years agoRemove "Obsolete" as it may be confusing in erarlier applications.
Anders Broman [Mon, 18 Oct 2010 08:56:51 +0000 (08:56 -0000)]
Remove "Obsolete" as it may be confusing in erarlier applications.

svn path=/trunk/; revision=34552

13 years agoRemove blurbs equal to name.
Stig Bjørlykke [Mon, 18 Oct 2010 07:41:47 +0000 (07:41 -0000)]
Remove blurbs equal to name.

svn path=/trunk/; revision=34551

13 years agoAdded some length checks for integers.
Stig Bjørlykke [Mon, 18 Oct 2010 07:13:45 +0000 (07:13 -0000)]
Added some length checks for integers.

This fixes bug 5305.

svn path=/trunk/; revision=34550

13 years agoRemove some unused hf entries.
Stig Bjørlykke [Sun, 17 Oct 2010 20:57:11 +0000 (20:57 -0000)]
Remove some unused hf entries.

svn path=/trunk/; revision=34549

13 years agoAdd expert info if the eth src mac has the I/G bit set
Jörg Mayer [Sun, 17 Oct 2010 20:28:20 +0000 (20:28 -0000)]
Add expert info if the eth src mac has the I/G bit set

svn path=/trunk/; revision=34548

13 years agoUse correct abbrev for fragment entries.
Stig Bjørlykke [Sun, 17 Oct 2010 18:33:50 +0000 (18:33 -0000)]
Use correct abbrev for fragment entries.

svn path=/trunk/; revision=34547

13 years agoRemoved unused entries.
Stig Bjørlykke [Sun, 17 Oct 2010 18:16:44 +0000 (18:16 -0000)]
Removed unused entries.

svn path=/trunk/; revision=34546

13 years agoRemoved unused hf_pn_dcp and hf_pn_ptcp.
Stig Bjørlykke [Sun, 17 Oct 2010 16:49:10 +0000 (16:49 -0000)]
Removed unused hf_pn_dcp and hf_pn_ptcp.

svn path=/trunk/; revision=34544

13 years agoRemoved unused hf_ecat_mailbox.
Stig Bjørlykke [Sun, 17 Oct 2010 16:43:07 +0000 (16:43 -0000)]
Removed unused hf_ecat_mailbox.

svn path=/trunk/; revision=34543

13 years agoRemoved unused hf_xcsl.
Stig Bjørlykke [Sun, 17 Oct 2010 16:38:15 +0000 (16:38 -0000)]
Removed unused hf_xcsl.

svn path=/trunk/; revision=34542

13 years agoRemoved unused hf_sasp.
Stig Bjørlykke [Sun, 17 Oct 2010 16:36:32 +0000 (16:36 -0000)]
Removed unused hf_sasp.

svn path=/trunk/; revision=34541

13 years agoFixed typo in "Reason" abbrev.
Stig Bjørlykke [Sun, 17 Oct 2010 16:33:28 +0000 (16:33 -0000)]
Fixed typo in "Reason" abbrev.

svn path=/trunk/; revision=34540

13 years ago[Automatic manuf, services and enterprise-numbers update for 2010-10-17]
Gerald Combs [Sun, 17 Oct 2010 15:03:47 +0000 (15:03 -0000)]
[Automatic manuf, services and enterprise-numbers update for 2010-10-17]

svn path=/trunk/; revision=34538

13 years agoFixed typo in "SSI Noise (dBm)" abbrev.
Stig Bjørlykke [Sun, 17 Oct 2010 14:30:11 +0000 (14:30 -0000)]
Fixed typo in "SSI Noise (dBm)" abbrev.

svn path=/trunk/; revision=34537

13 years agoFrom Pascal Quantin via bug 5301:
Stig Bjørlykke [Sun, 17 Oct 2010 14:07:05 +0000 (14:07 -0000)]
From Pascal Quantin via bug 5301:
Make the PER constaints check like in the BER dissector.

svn path=/trunk/; revision=34536

13 years agoFrom Pascal Quantin:
Anders Broman [Sun, 17 Oct 2010 14:04:59 +0000 (14:04 -0000)]
From Pascal Quantin:
[NAS EPS] Enhance dissection of APN-AMBR IE

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

svn path=/trunk/; revision=34535

13 years agoFrom Benjamin Roch via bug 3418:
Stig Bjørlykke [Sun, 17 Oct 2010 14:02:06 +0000 (14:02 -0000)]
From Benjamin Roch via bug 3418:
Use eth.src, eth.dst and eth.type from the ethernet dissector.

From me:
Removed unused code inside #if 0.

svn path=/trunk/; revision=34534

13 years agoFrom Benjamin Roch via bug 3418:
Stig Bjørlykke [Sun, 17 Oct 2010 13:59:46 +0000 (13:59 -0000)]
From Benjamin Roch via bug 3418:
Added string values to tte.pcf.type.

svn path=/trunk/; revision=34533

13 years agocoap_handle is only used in proto_reg_handoff_coap.
Stig Bjørlykke [Sun, 17 Oct 2010 12:20:25 +0000 (12:20 -0000)]
coap_handle is only used in proto_reg_handoff_coap.

svn path=/trunk/; revision=34532

13 years agoFrom Pascal Quantin via bug 5301:
Stig Bjørlykke [Sun, 17 Oct 2010 11:59:10 +0000 (11:59 -0000)]
From Pascal Quantin via bug 5301:
Add expert info when ASN.1 PER constrained integer does not match range.

svn path=/trunk/; revision=34531

13 years agoFrom Shoichi Sakane via bug 5270:
Stig Bjørlykke [Sun, 17 Oct 2010 11:48:40 +0000 (11:48 -0000)]
From Shoichi Sakane via bug 5270:
Added COAP protocol support.

From me:
Made the port number configurable.

svn path=/trunk/; revision=34530

13 years agoImprove info column when showing PHY info for MAC frames.
Martin Mathieson [Fri, 15 Oct 2010 21:32:35 +0000 (21:32 -0000)]
Improve info column when showing PHY info for MAC frames.

svn path=/trunk/; revision=34529

13 years agoTrack and give link back to frame containing previous NACK.
Martin Mathieson [Fri, 15 Oct 2010 21:07:45 +0000 (21:07 -0000)]
Track and give link back to frame containing previous NACK.

svn path=/trunk/; revision=34528

13 years agoMake the telnet data lines filterable elements.
Jörg Mayer [Fri, 15 Oct 2010 21:02:30 +0000 (21:02 -0000)]
Make the telnet data lines filterable elements.

svn path=/trunk/; revision=34527

13 years agoAdd volatile in several places to gcc warnings.
Martin Mathieson [Fri, 15 Oct 2010 18:41:12 +0000 (18:41 -0000)]
Add volatile in several places to gcc warnings.

svn path=/trunk/; revision=34526

13 years agoFrom Alexis La Goutte via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5295 :
Jeff Morriss [Fri, 15 Oct 2010 17:48:35 +0000 (17:48 -0000)]
From Alexis La Goutte via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5295 :

Use macros for message type values and add an expert info for an incorrect
Magic Cookie.

svn path=/trunk/; revision=34525

13 years agoFrom ToddS via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5300 :
Jeff Morriss [Fri, 15 Oct 2010 17:17:04 +0000 (17:17 -0000)]
From ToddS via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5300 :

In the profinet plugin, the decoding of the MRP LinkUp and MRP LinkDown
messages is missing the MRP_SA field which garbles the decode of the rest of
the packet.

This fix adds the decoding of the MRP_SA field to the MRP LinkUp and MRP
LinkDown dissectors.

svn path=/trunk/; revision=34524

13 years agoFrom ToddS via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5299 :
Jeff Morriss [Fri, 15 Oct 2010 17:10:29 +0000 (17:10 -0000)]
From ToddS via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5299 :

In profinet plugin, there is a dissection based on whether the read data
returned is expected to contain a single or multiple blocks. Currently, the
I&M0FilterData case assumes only a single block is returned. Profinet specifies
two optional additional blocks.

This change moves I&M0FilterData to expect multiple blocks to correct decode
the optional information.

svn path=/trunk/; revision=34523

13 years agoRevision 27919 added the ability to feed a libpcap-formatted file to
Gerald Combs [Fri, 15 Oct 2010 16:05:06 +0000 (16:05 -0000)]
Revision 27919 added the ability to feed a libpcap-formatted file to
rawshark but broke the ability to feed it live packets with a
pcap_pkthdr prefix on some 64-bit architectures.

Add a "-p" flag which lets us explicitly handle file-based or
memory-based packet record headers.

svn path=/trunk/; revision=34522

13 years agoAvoid getting BoundsError when trying to decode OCTET STRING or
Stig Bjørlykke [Fri, 15 Oct 2010 11:10:20 +0000 (11:10 -0000)]
Avoid getting BoundsError when trying to decode OCTET STRING or
unknown primitive as constructed ASN.1 BER encoded data.

svn path=/trunk/; revision=34520

13 years agoAdded info column descriptions for AARQ and AARE.
Stig Bjørlykke [Fri, 15 Oct 2010 08:39:48 +0000 (08:39 -0000)]
Added info column descriptions for AARQ and AARE.

svn path=/trunk/; revision=34519

13 years agoAdded packet-radiotap-iter.c
Stig Bjørlykke [Thu, 14 Oct 2010 18:13:39 +0000 (18:13 -0000)]
Added packet-radiotap-iter.c

svn path=/trunk/; revision=34517

13 years agoTighten up our data rate check. This should fix bug 5280 (mostly).
Gerald Combs [Thu, 14 Oct 2010 18:09:57 +0000 (18:09 -0000)]
Tighten up our data rate check. This should fix bug 5280 (mostly).

svn path=/trunk/; revision=34516

13 years agoFrom Johannes Berg via bug 4421:
Gerald Combs [Thu, 14 Oct 2010 17:56:06 +0000 (17:56 -0000)]
From Johannes Berg via bug 4421:

radiotap: new parser

The current parser has a number of bugs, most
importantly not being able to parse radiotap
files with multiple presence bitmaps. It is
also rather hard extend. Use a generic library
for parsing radiotap that can be extended very
easily.

From me:

Dumb down some initializers and add some casts to make Visual C++ happy.

svn path=/trunk/; revision=34515

13 years agoRework "extended value strings":
Bill Meier [Thu, 14 Oct 2010 17:50:35 +0000 (17:50 -0000)]
Rework "extended value strings":
- Allow direct access when a range of values begins with a value other than 0;
- Provide value_string_ext_new() for creating extended value strings at runtime;
- Do access to value_string_ext members via a macro (all but value_string.c);
- Update documentation.

svn path=/trunk/; revision=34514

13 years agoSupport multiple header fields with the same abbreviation in custom columns.
Stig Bjørlykke [Thu, 14 Oct 2010 13:11:03 +0000 (13:11 -0000)]
Support multiple header fields with the same abbreviation in custom columns.

We have some different fields using the same abbreviation (e.g "eth.dst"
used in both eth and tte), and this patch will fetch values from all fields.
When using occurrences the entries listed first is from the field registered
last when starting Wireshark, and not ordered from the occurrence in the
packet, but I don't see how we can easily fix this.

svn path=/trunk/; revision=34513

13 years agoMake variables used only in file_dlg_win32.c static.
Guy Harris [Thu, 14 Oct 2010 09:01:12 +0000 (09:01 -0000)]
Make variables used only in file_dlg_win32.c static.

svn path=/trunk/; revision=34512

13 years agoMake routines unused outside file_dlg_win32.c static.
Guy Harris [Thu, 14 Oct 2010 08:59:35 +0000 (08:59 -0000)]
Make routines unused outside file_dlg_win32.c static.

svn path=/trunk/; revision=34511

13 years agoFix AVP:s
Anders Broman [Thu, 14 Oct 2010 07:55:42 +0000 (07:55 -0000)]
Fix AVP:s

svn path=/trunk/; revision=34508

13 years agoFix crash for 'tshark -G values' when printing "extended value string" value.
Bill Meier [Thu, 14 Oct 2010 04:53:07 +0000 (04:53 -0000)]
Fix crash for 'tshark -G values' when printing "extended value string" value.
Fixes bug #5296 [ https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5296 ]

svn path=/trunk/; revision=34507

13 years agoFrom Fulko Hew via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4615 :
Jeff Morriss [Thu, 14 Oct 2010 01:44:27 +0000 (01:44 -0000)]
From Fulko Hew via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4615 :

The attached patch adds the missing decoded fields
by moving the proto_tree_add_item() call so that it
is no longer within an error handler and will be
called under normal circumstances (as well as error conditions.

From me: Apply the change to the ASN.1 source.  Also some white space
indentation cleanup.

svn path=/trunk/; revision=34505

13 years agoFrom Alexis La Goutte via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5295 :
Jeff Morriss [Thu, 14 Oct 2010 01:10:51 +0000 (01:10 -0000)]
From Alexis La Goutte via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5295 :

Hi a patch to enchance the PPTP Dissector
It is a rework of PPTP dissector
- Replace proto_tree_add_text by proto_tree_add_item
- Replace not standard table and function by standard value_string
- ....

The code is checked and fuzzed (more 200 pass) ! with personnal PPTP Sample and
PPTP Sample from pcapr.net

svn path=/trunk/; revision=34504

13 years agoFrom Johannes Berg via bug 4421:
Gerald Combs [Wed, 13 Oct 2010 21:30:27 +0000 (21:30 -0000)]
From Johannes Berg via bug 4421:

radiotap: re-indent

The current file has very strange mix of various
indentation sometimes using spaces and sometimes
using tabs which is rather hard to keep intact,
so reindent it completely.

svn path=/trunk/; revision=34503

13 years agoFrom Jörg Mayer:
Anders Broman [Wed, 13 Oct 2010 19:04:14 +0000 (19:04 -0000)]
From Jörg Mayer:
(UIManger) Fix compilation warnings.

svn path=/trunk/; revision=34502

13 years agoAccess several large value-string arrays via extended value-string functions.
Bill Meier [Wed, 13 Oct 2010 18:51:23 +0000 (18:51 -0000)]
Access several large value-string arrays via extended value-string functions.

svn path=/trunk/; revision=34501

13 years agoUse extended value string functions to access dce_error_vals (which has 4397 entries)
Bill Meier [Wed, 13 Oct 2010 17:56:05 +0000 (17:56 -0000)]
Use extended value string functions to access dce_error_vals (which has 4397 entries)

svn path=/trunk/; revision=34500

13 years agoUse val_to_str_ext_const for refs to the extended value strings;
Bill Meier [Wed, 13 Oct 2010 16:47:13 +0000 (16:47 -0000)]
Use val_to_str_ext_const for refs to the extended value strings;
Extern the extended value strings struct (not the value_string arrays themselves) so
 any external use of these arrays is via the extended value string functions.

svn path=/trunk/; revision=34499

13 years ago(GTKUImanger)
Anders Broman [Wed, 13 Oct 2010 15:52:10 +0000 (15:52 -0000)]
(GTKUImanger)
- Open file from the welocme screen.

svn path=/trunk/; revision=34498

13 years ago(GTKUImanger)
Anders Broman [Wed, 13 Oct 2010 11:22:23 +0000 (11:22 -0000)]
(GTKUImanger)
- Make use of the new WIRESHARK_FILE_STOCK icon.
- Make clearing of recent files work.
- Make the recent file list in the Welcome menu work again.

svn path=/trunk/; revision=34497

13 years agoAdd a wireshark file stock icon.
Anders Broman [Wed, 13 Oct 2010 11:15:11 +0000 (11:15 -0000)]
Add a wireshark file stock icon.

svn path=/trunk/; revision=34496

13 years agoTry to get the build going again.
Anders Broman [Wed, 13 Oct 2010 04:29:07 +0000 (04:29 -0000)]
Try to get the build going again.

svn path=/trunk/; revision=34495

13 years ago(GUIManager) Base code to get recent files to work with GUIManager.
Anders Broman [Tue, 12 Oct 2010 21:33:08 +0000 (21:33 -0000)]
(GUIManager) Base code to get recent files to work with GUIManager.
Based on code from http://people.gnome.org/~ebassi/recent-uimanager-inline.c by Emmanuele Bassi.

svn path=/trunk/; revision=34493

13 years agoDefine some vars & fcns as static;
Bill Meier [Tue, 12 Oct 2010 19:26:07 +0000 (19:26 -0000)]
Define some vars & fcns as static;
Also: do some minor reformmating and cleanup of whitespace.

svn path=/trunk/; revision=34492

13 years agoFix comments (not all platforms on which we run support dlopen(), but
Guy Harris [Tue, 12 Oct 2010 18:25:42 +0000 (18:25 -0000)]
Fix comments (not all platforms on which we run support dlopen(), but
GLib handles that with g_module_open() as a platform-independent "load a
module at run time" wrapper).

svn path=/trunk/; revision=34491

13 years agoDefine some fcns & vars as static;
Bill Meier [Tue, 12 Oct 2010 17:39:44 +0000 (17:39 -0000)]
Define some fcns & vars as static;
Rename g_capture_in_progress to gbl_capture_in_progress (capture_if_dlg.c)
Do some whitespace cleanup.

svn path=/trunk/; revision=34490

13 years agoMinor cleanup of the global name space:
Bill Meier [Tue, 12 Oct 2010 16:42:02 +0000 (16:42 -0000)]
Minor cleanup of the global name space:
- Define some vars as static;
- Rename some externs to be less generic;
Also: cleanup some whitespace.

svn path=/trunk/; revision=34489

13 years agoMinor cleanup of the global namespace:
Bill Meier [Tue, 12 Oct 2010 16:05:19 +0000 (16:05 -0000)]
Minor cleanup of the global namespace:
- Define some fcns and vars as static;
- Use less generic names for certain externs;
Also: Remove some usused #defines & cleanup some whitespace

svn path=/trunk/; revision=34488

13 years agoRename g_resolv_flags --> gbl_resolv_flags; Also: cleanup some whitespace & indentation.
Bill Meier [Tue, 12 Oct 2010 13:15:08 +0000 (13:15 -0000)]
Rename g_resolv_flags --> gbl_resolv_flags; Also: cleanup some whitespace & indentation.

svn path=/trunk/; revision=34487

13 years agoIt's no longer neccesarry to set the E_DFILTER_TE_KEY on the popup_menu objects.
Anders Broman [Tue, 12 Oct 2010 07:41:18 +0000 (07:41 -0000)]
It's no longer neccesarry to set the E_DFILTER_TE_KEY on the popup_menu objects.

svn path=/trunk/; revision=34486

13 years agoGet rid of C++-style comments; use #if 0/#endif to remove code.
Guy Harris [Tue, 12 Oct 2010 01:27:58 +0000 (01:27 -0000)]
Get rid of C++-style comments; use #if 0/#endif to remove code.

svn path=/trunk/; revision=34485

13 years agoFix an error in a comment I added last week.
Jeff Morriss [Mon, 11 Oct 2010 20:16:35 +0000 (20:16 -0000)]
Fix an error in a comment I added last week.

svn path=/trunk/; revision=34480

13 years agomenus.c: In function 'add_menu_recent_capture_file_absolute':
Anders Broman [Mon, 11 Oct 2010 20:05:49 +0000 (20:05 -0000)]
menus.c: In function 'add_menu_recent_capture_file_absolute':
menus.c:4583: warning: unused variable 'recent_files_list'

svn path=/trunk/; revision=34479

13 years agoGet filter_te from top_level rather then from the widget.
Anders Broman [Mon, 11 Oct 2010 19:29:52 +0000 (19:29 -0000)]
Get filter_te from top_level rather then from the widget.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5288

svn path=/trunk/; revision=34478

13 years agoDefine some fcns & vars as static;
Bill Meier [Mon, 11 Oct 2010 19:00:55 +0000 (19:00 -0000)]
Define some fcns & vars as static;
Minor whitespace and comments cleanup.

svn path=/trunk/; revision=34477

13 years agoUse the latest User's Guide.
Gerald Combs [Mon, 11 Oct 2010 16:01:48 +0000 (16:01 -0000)]
Use the latest User's Guide.

svn path=/trunk/; revision=34470

13 years agoWe set sensitivity on the map button in ct_nb_map_switch_page_cb().
Stig Bjørlykke [Mon, 11 Oct 2010 08:29:25 +0000 (08:29 -0000)]
We set sensitivity on the map button in ct_nb_map_switch_page_cb().

svn path=/trunk/; revision=34469