metze/wireshark/wip.git
11 years agoFix the leaking of packet comments, i.e. the rest of
Evan Huus [Fri, 15 Mar 2013 18:04:50 +0000 (18:04 -0000)]
Fix the leaking of packet comments, i.e. the rest of
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7530

The frame_data_cleanup function was ambiguous; it was being used for two
different purposes, and did neither of them quite properly. Split it instead
into frame_data_reset and frame_data_destroy, and call the correct one depending
on why we were originally calling frame_data_cleanup.

svn path=/trunk/; revision=48324

11 years agoRevert warning that seems to have been accidentally included in r48319.
Evan Huus [Fri, 15 Mar 2013 17:56:27 +0000 (17:56 -0000)]
Revert warning that seems to have been accidentally included in r48319.

svn path=/trunk/; revision=48323

11 years agoAdd asn2deb idl2deb to dist
Balint Reczey [Fri, 15 Mar 2013 17:37:48 +0000 (17:37 -0000)]
Add asn2deb idl2deb to dist

svn path=/trunk/; revision=48322

11 years agoGet release note conversion working on Windows.
Gerald Combs [Fri, 15 Mar 2013 17:00:21 +0000 (17:00 -0000)]
Get release note conversion working on Windows.

svn path=/trunk/; revision=48321

11 years agoAdd -W option to valgrind script that just runs the gui without any capture
Evan Huus [Fri, 15 Mar 2013 16:42:05 +0000 (16:42 -0000)]
Add -W option to valgrind script that just runs the gui without any capture
files.

svn path=/trunk/; revision=48320

11 years ago[-Wmissing-prototypes]
Anders Broman [Fri, 15 Mar 2013 16:39:30 +0000 (16:39 -0000)]
[-Wmissing-prototypes]
Use explicit casts.

svn path=/trunk/; revision=48319

11 years agoFrom beroset:
Anders Broman [Fri, 15 Mar 2013 16:36:31 +0000 (16:36 -0000)]
From beroset:
remove C++ incompatibilities
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8416

svn path=/trunk/; revision=48318

11 years agoMake the default port zero.
Anders Broman [Fri, 15 Mar 2013 16:35:54 +0000 (16:35 -0000)]
Make the default port zero.

svn path=/trunk/; revision=48317

11 years agoUpdate Lua BitOp to version 1.0.2
Stig Bjørlykke [Fri, 15 Mar 2013 15:15:00 +0000 (15:15 -0000)]
Update Lua BitOp to version 1.0.2

svn path=/trunk/; revision=48316

11 years agoAdd missing Asciidoc configuration.
Gerald Combs [Fri, 15 Mar 2013 15:05:51 +0000 (15:05 -0000)]
Add missing Asciidoc configuration.

svn path=/trunk/; revision=48315

11 years agoBuild easy codec plugin as a DLL
Balint Reczey [Fri, 15 Mar 2013 13:00:51 +0000 (13:00 -0000)]
Build easy codec plugin as a DLL

This fixes compilation on Windows.

From Gisle Vanem <gvanem@broadpark.no> with a minor change by me.

svn path=/trunk/; revision=48314

11 years ago[-Wmissing-prototypes]
Anders Broman [Fri, 15 Mar 2013 06:26:47 +0000 (06:26 -0000)]
[-Wmissing-prototypes]
Use explicit casts.

svn path=/trunk/; revision=48313

11 years agoFrom beroset:
Anders Broman [Fri, 15 Mar 2013 05:42:50 +0000 (05:42 -0000)]
From beroset:
remove C++ incompatibilities
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8416

svn path=/trunk/; revision=48312

11 years agoFrom beroset:
Anders Broman [Fri, 15 Mar 2013 05:42:24 +0000 (05:42 -0000)]
From beroset:
remove C++ incompatibilities
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8416

svn path=/trunk/; revision=48311

11 years ago[-Wmissing-prototypes]
Anders Broman [Fri, 15 Mar 2013 04:52:42 +0000 (04:52 -0000)]
[-Wmissing-prototypes]
explicit casts.

svn path=/trunk/; revision=48310

11 years agoAdd the new release notes.
Gerald Combs [Fri, 15 Mar 2013 01:33:46 +0000 (01:33 -0000)]
Add the new release notes.

svn path=/trunk/; revision=48309

11 years agoBugfix Decryption Key Management dialog, bug 8446 (https://bugs.wireshark.org/bugzill...
Michael Mann [Fri, 15 Mar 2013 01:31:53 +0000 (01:31 -0000)]
Bugfix Decryption Key Management dialog, bug 8446 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8446)

Needed to convert use of old IEEE802.11 preference strings to UAT.  Since UAT is self-contained within its own file, the entire preference file doesn't need to be rewritten/saved when UAT values are changed.

svn path=/trunk/; revision=48308

11 years agoSwitch to Asciidoc for the release notes. The initial conversion from
Gerald Combs [Fri, 15 Mar 2013 00:08:18 +0000 (00:08 -0000)]
Switch to Asciidoc for the release notes. The initial conversion from
Docbook was done using Pandoc and cleaned up by hand. Add an
asciidoc.conf which contains macros for linking to Wireshark bugs and
CVE IDs.

Remove the release-notes.chm target. I don't think we ever used it and
we're probably better off generating PDF or HTML if we need something
fancier than plain text.

In configure.ac, consolidate program path discovery a bit and add a2x
discovery.

svn path=/trunk/; revision=48307

11 years agoFrom Tyson Key:
Jaap Keuter [Thu, 14 Mar 2013 23:09:58 +0000 (23:09 -0000)]
From Tyson Key:
I have just finished slightly refactoring part of the PN532 dissector's
with InListPassiveTarget Response handler, to resolve some issues where
ISO 14443-A UIDs of various lengths in the aforementioned packet types
are incorrectly dissected.

The patch also introduces basic support for identifying, and dissecting
InListPassiveTarget Responses from cards/tokens with variable-length
Answer To Select (ATS) payloads, such as contactless EMV payment smartcards.

svn path=/trunk/; revision=48306

11 years agoFrom beroset:
Anders Broman [Thu, 14 Mar 2013 22:10:59 +0000 (22:10 -0000)]
From beroset:

remove C++ incompatibilities from packet-catapult-dct2000.c

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

svn path=/trunk/; revision=48305

11 years agoRemove the tool string if all you do is free it in the end.
Jaap Keuter [Thu, 14 Mar 2013 22:01:48 +0000 (22:01 -0000)]
Remove the tool string if all you do is free it in the end.

svn path=/trunk/; revision=48304

11 years ago[-Wmissing-prototypes]
Anders Broman [Thu, 14 Mar 2013 19:01:06 +0000 (19:01 -0000)]
[-Wmissing-prototypes]
explicit casts.

svn path=/trunk/; revision=48302

11 years agofrom Katrina Zhang:
Anders Broman [Thu, 14 Mar 2013 19:00:40 +0000 (19:00 -0000)]
from Katrina Zhang:
According to the latest TS29.274 -- adding 4 IE support: H(e)NB Information Reporting[165]; IPv4 Configuration Parameters (IP4CP)[166]; Change to Report Flags[167]; Action Indication[168]

 -- cause values of IE(Cause)

svn path=/trunk/; revision=48301

11 years agofrom Katrina Zhang:
Anders Broman [Thu, 14 Mar 2013 18:59:56 +0000 (18:59 -0000)]
from Katrina Zhang:
Adding Bit 5 support of AVP(IDR-Flags)

svn path=/trunk/; revision=48300

11 years agoFrom beroset:
Anders Broman [Thu, 14 Mar 2013 18:58:42 +0000 (18:58 -0000)]
From beroset:

patch to remove C++ incompatibilities from packet-lmp.c
renamed class to lmp_class

remove C++ incompatibilities from packet-rcpap.c
renamed class to inst_class (instruction class).

remove C++ incompatibilities from emem.c and oids.c

remove C++ incompatibilities from packet-radius.c

remove C++ incompatibilities from packet-enip.c

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

svn path=/trunk/; revision=48299

11 years agoSuSE's suse_update_desktop_file macro BuildRequires update-desktop-files.
Jeff Morriss [Thu, 14 Mar 2013 16:56:19 +0000 (16:56 -0000)]
SuSE's suse_update_desktop_file macro BuildRequires update-desktop-files.

svn path=/trunk/; revision=48298

11 years agoChange "4 space tabs" indentation to use "4 spaces" indentation.
Bill Meier [Thu, 14 Mar 2013 14:42:12 +0000 (14:42 -0000)]
Change "4 space tabs" indentation to use "4 spaces" indentation.

Also:
- remove some unneeded initializers;
- remove several unneeded 'col_clear()' calls;
- guint8 --> guint to prevent a possible overflow;
- reformat for style in some cases.

svn path=/trunk/; revision=48297

11 years agoSet correct item lengths. They cannot all be until end of buffer.
Stig Bjørlykke [Thu, 14 Mar 2013 12:23:05 +0000 (12:23 -0000)]
Set correct item lengths.  They cannot all be until end of buffer.

svn path=/trunk/; revision=48296

11 years agoUse pragma diagnostic also when compiling with clang.
Stig Bjørlykke [Thu, 14 Mar 2013 08:42:51 +0000 (08:42 -0000)]
Use pragma diagnostic also when compiling with clang.

svn path=/trunk/; revision=48295

11 years agoFixed an indent to avoid a warning: for loop has empty body [-Wempty-body]
Stig Bjørlykke [Thu, 14 Mar 2013 08:41:11 +0000 (08:41 -0000)]
Fixed an indent to avoid a warning: for loop has empty body [-Wempty-body]

svn path=/trunk/; revision=48294

11 years ago[-Wmissing-prototypes]
Anders Broman [Thu, 14 Mar 2013 07:37:13 +0000 (07:37 -0000)]
[-Wmissing-prototypes]
explicit casts.

svn path=/trunk/; revision=48293

11 years agoFrom Weston Schmidt
Martin Kaiser [Thu, 14 Mar 2013 07:01:37 +0000 (07:01 -0000)]
From Weston Schmidt
fix DSM-CC CRC calculation
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8466

svn path=/trunk/; revision=48292

11 years agoFrom beroset:
Anders Broman [Thu, 14 Mar 2013 06:47:05 +0000 (06:47 -0000)]
From beroset:

remove C++ incompatibilities from gcp.c

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

svn path=/trunk/; revision=48291

11 years agoFrom beroset:
Anders Broman [Thu, 14 Mar 2013 06:46:29 +0000 (06:46 -0000)]
From beroset:

changed implicit casts to explicit casts and changed name of field from new to new_d (new dissector)

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

svn path=/trunk/; revision=48290

11 years agoFrom beroset:
Anders Broman [Thu, 14 Mar 2013 06:45:55 +0000 (06:45 -0000)]
From beroset:

made implicit casts explicit and changed a number of fields and function return values from base_display_e to unsigned because the enum was not a comprehensive list of all possible values

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

svn path=/trunk/; revision=48289

11 years agoFrom beroset:
Anders Broman [Thu, 14 Mar 2013 06:45:23 +0000 (06:45 -0000)]
From beroset:

changed implicit casts to explicit and substituted se_new for se_alloc

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

svn path=/trunk/; revision=48288

11 years agoFrom beroset:
Anders Broman [Thu, 14 Mar 2013 06:31:31 +0000 (06:31 -0000)]
From beroset:

converted implicit casts to explicit casts, moved nested structure definition outside, and changed se_alloc to se_new.

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

svn path=/trunk/; revision=48287

11 years agoFrom beroset:
Anders Broman [Thu, 14 Mar 2013 06:26:55 +0000 (06:26 -0000)]
From beroset:
changed implicit casts to explicit casts and corrected one erroneous cast (from void* to void**)

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

svn path=/trunk/; revision=48286

11 years agodissect more descriptors in the AIT
Martin Kaiser [Wed, 13 Mar 2013 23:26:09 +0000 (23:26 -0000)]
dissect more descriptors in the AIT

svn path=/trunk/; revision=48285

11 years agoactx is used, remove _U_
Martin Kaiser [Wed, 13 Mar 2013 22:54:46 +0000 (22:54 -0000)]
actx is used, remove _U_

svn path=/trunk/; revision=48284

11 years ago add missing NULL check
Martin Kaiser [Wed, 13 Mar 2013 22:39:50 +0000 (22:39 -0000)]
 add missing NULL check
http://www.wireshark.org/download/automated/analysis/scan-build-2013-03-12-1/report-q1cLLC.html#EndPath

svn path=/trunk/; revision=48283

11 years ago- [-Wmissing-prototypes]
Anders Broman [Wed, 13 Mar 2013 21:14:20 +0000 (21:14 -0000)]
- [-Wmissing-prototypes]
- explicit casts.

svn path=/trunk/; revision=48282

11 years agogtk_widget_set_vexpand() is only for GTK3.
Bill Meier [Wed, 13 Mar 2013 20:25:28 +0000 (20:25 -0000)]
gtk_widget_set_vexpand() is only for GTK3.

svn path=/trunk/; revision=48281

11 years agoCertain prefs window contents should not be centered vertically in GTK3.
Bill Meier [Wed, 13 Mar 2013 20:04:48 +0000 (20:04 -0000)]
Certain prefs window contents should not be centered vertically in GTK3.
(Fix: prevent vertical expand/fill of grid widget in certain cases).

(This stuff in GTK3 about "parents inheriting expand/fill properties from children"
is driving me crazy).

svn path=/trunk/; revision=48280

11 years agoFix compilation under Linux ../../../ui/gtk/prefs_capture.c: In function ‘ifopts_writ...
Alexis La Goutte [Wed, 13 Mar 2013 15:56:35 +0000 (15:56 -0000)]
Fix compilation under Linux ../../../ui/gtk/prefs_capture.c: In function ‘ifopts_write_new_pmode’: ../../../ui/gtk/prefs_capture.c:2055:18: error: variable ‘all_pmode’ set but not used [-Werror=unused-but-set-variable]

svn path=/trunk/; revision=48279

11 years agoRemove unused bgp_route_refresh struct
Alexis La Goutte [Wed, 13 Mar 2013 15:02:17 +0000 (15:02 -0000)]
Remove unused bgp_route_refresh struct

svn path=/trunk/; revision=48278

11 years agoAdd a feature blurb for HTTP response times (added via bug 8287).
Jeff Morriss [Wed, 13 Mar 2013 14:52:24 +0000 (14:52 -0000)]
Add a feature blurb for HTTP response times (added via bug 8287).

svn path=/trunk/; revision=48277

11 years agoFrom chaitanya via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8354 Add suppo...
Alexis La Goutte [Wed, 13 Mar 2013 14:49:46 +0000 (14:49 -0000)]
From chaitanya via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8354 Add support for WAPI parameter set IE dissection

Need to add support for WAPI parameter set IE in management frames.
We already have WAI frames dissection support in place.

From me:
Small changes...
- Add links to WAPI specs
- Replace tabs by space
- Remove whitespaces

svn path=/trunk/; revision=48276

11 years agoAdd interface options preferences.
Irene Rüngeler [Wed, 13 Mar 2013 12:38:08 +0000 (12:38 -0000)]
Add interface options preferences.

svn path=/trunk/; revision=48275

11 years ago- [-Wmissing-prototypes]
Anders Broman [Tue, 12 Mar 2013 23:09:37 +0000 (23:09 -0000)]
- [-Wmissing-prototypes]
- explicit casts.

svn path=/trunk/; revision=48274

11 years agodissect Application Signalling Descriptor
Martin Kaiser [Tue, 12 Mar 2013 22:04:09 +0000 (22:04 -0000)]
dissect Application Signalling Descriptor

svn path=/trunk/; revision=48273

11 years agosvn path=/trunk/; revision=48272
Anders Broman [Tue, 12 Mar 2013 21:58:04 +0000 (21:58 -0000)]
svn path=/trunk/; revision=48272

11 years ago1.9.1 → 1.9.2.
Gerald Combs [Tue, 12 Mar 2013 21:36:13 +0000 (21:36 -0000)]
1.9.1 → 1.9.2.

svn path=/trunk/; revision=48271

11 years agoBuild 1.9.1.
Gerald Combs [Tue, 12 Mar 2013 21:05:23 +0000 (21:05 -0000)]
Build 1.9.1.

svn path=/trunk/; revision=48270

11 years agoAdd a few new features.
Gerald Combs [Tue, 12 Mar 2013 20:23:46 +0000 (20:23 -0000)]
Add a few new features.

svn path=/trunk/; revision=48269

11 years agoMinor updates.
Gerald Combs [Tue, 12 Mar 2013 20:23:23 +0000 (20:23 -0000)]
Minor updates.

svn path=/trunk/; revision=48268

11 years agoThe merge dialog should probably say "Read filter" as well.
Gerald Combs [Tue, 12 Mar 2013 20:23:02 +0000 (20:23 -0000)]
The merge dialog should probably say "Read filter" as well.

svn path=/trunk/; revision=48267

11 years agouse correct data type in the cast
Martin Kaiser [Tue, 12 Mar 2013 20:14:45 +0000 (20:14 -0000)]
use correct data type in the cast

this fixes
packet-afs.c: In function 'dissect_afs':
packet-afs.c:1539:35: error: expected expression before ')' token

svn path=/trunk/; revision=48266

11 years ago- [-Wmissing-prototypes]
Anders Broman [Tue, 12 Mar 2013 20:00:50 +0000 (20:00 -0000)]
- [-Wmissing-prototypes]
- explicit casts.

svn path=/trunk/; revision=48265

11 years agoIntroduce a preference to select how Websocket text should be dissected.
Anders Broman [Tue, 12 Mar 2013 19:16:35 +0000 (19:16 -0000)]
Introduce a preference to select how Websocket text should be dissected.

svn path=/trunk/; revision=48264

11 years agoDetect HTTP/1.1 heuristically.
Anders Broman [Tue, 12 Mar 2013 19:15:39 +0000 (19:15 -0000)]
Detect HTTP/1.1 heuristically.

svn path=/trunk/; revision=48263

11 years agoUpdate Gtk info:
Bill Meier [Tue, 12 Mar 2013 16:49:23 +0000 (16:49 -0000)]
Update Gtk info:
- remove Gtk1 related material;
- add info as to Wireshark 1.10 & newer supporting Gtk3.

svn path=/trunk/; revision=48262

11 years agoFrom David Arnold:
Jaap Keuter [Tue, 12 Mar 2013 06:53:39 +0000 (06:53 -0000)]
From David Arnold:
Replace use of INCLUDES with AM_CPPFLAGS in all Makefiles to placate recent autotools.

svn path=/trunk/; revision=48261

11 years agoUse explicit casts.
Anders Broman [Tue, 12 Mar 2013 06:41:00 +0000 (06:41 -0000)]
Use explicit casts.

svn path=/trunk/; revision=48260

11 years agoFrom beroset:
Anders Broman [Tue, 12 Mar 2013 06:40:13 +0000 (06:40 -0000)]
From beroset:

remove C++ incompatibilities from UAT_VS_DEF macro and all uses

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

svn path=/trunk/; revision=48259

11 years agoSPC-3 and later has a 16-bit allocation length for the INQUIRY allocation
Ronnie Sahlberg [Tue, 12 Mar 2013 01:25:06 +0000 (01:25 -0000)]
SPC-3 and later has a 16-bit allocation length for the INQUIRY allocation
length.

While SPC-2 only has one byte for allocation length

Change this to treat allocation length as a 16 bit quantity starting one byte prior to the current single byte that wireshark dissects.
This makes it correct for SPC-3 and later  and still works for SPC-2 since that first byte is reserverd, == must be 0, in SPC-2 and prior.

svn path=/trunk/; revision=48258

11 years agoFix Coverity CID 989732: Structurally dead code.
Chris Maynard [Mon, 11 Mar 2013 20:50:19 +0000 (20:50 -0000)]
Fix Coverity CID 989732: Structurally dead code.
Also, change a few tabs -> spaces.  Add modelines.

svn path=/trunk/; revision=48257

11 years agoFix Coverity CID 990224 and 990225: Unused pointer value.
Chris Maynard [Mon, 11 Mar 2013 20:43:52 +0000 (20:43 -0000)]
Fix Coverity CID 990224 and 990225: Unused pointer value.

svn path=/trunk/; revision=48256

11 years agoImprove heuristics for gmtrailer.
Anders Broman [Mon, 11 Mar 2013 19:32:33 +0000 (19:32 -0000)]
Improve heuristics for gmtrailer.

svn path=/trunk/; revision=48255

11 years agoDissect GRE Key and Service Selection.
Anders Broman [Mon, 11 Mar 2013 19:31:59 +0000 (19:31 -0000)]
Dissect GRE Key and Service Selection.

svn path=/trunk/; revision=48254

11 years agoDissect Contractor Number digits.
Anders Broman [Mon, 11 Mar 2013 19:30:59 +0000 (19:30 -0000)]
Dissect Contractor Number digits.

svn path=/trunk/; revision=48253

11 years agoMinor improvements to block allocator debugging.
Evan Huus [Mon, 11 Mar 2013 19:24:51 +0000 (19:24 -0000)]
Minor improvements to block allocator debugging.

svn path=/trunk/; revision=48252

11 years agoDocument the wmem override environment variable in the man pages, and improve
Evan Huus [Mon, 11 Mar 2013 19:17:26 +0000 (19:17 -0000)]
Document the wmem override environment variable in the man pages, and improve
README.wmem in a couple of places.

svn path=/trunk/; revision=48251

11 years agoPrettify the WinPcap version display.
Gerald Combs [Mon, 11 Mar 2013 19:12:17 +0000 (19:12 -0000)]
Prettify the WinPcap version display.

svn path=/trunk/; revision=48250

11 years agoFollowup to r48218: remove documentation of the WIRESHARK_DEBUG_USE_SLICES environmen...
Jeff Morriss [Mon, 11 Mar 2013 18:04:46 +0000 (18:04 -0000)]
Followup to r48218: remove documentation of the WIRESHARK_DEBUG_USE_SLICES environment variable.

svn path=/trunk/; revision=48249

11 years agoAdd Peter Hatina;
Bill Meier [Mon, 11 Mar 2013 17:33:41 +0000 (17:33 -0000)]
Add Peter Hatina;
Do a few other minor edits.

svn path=/trunk/; revision=48247

11 years agoUpdate GTK3 port status.
Bill Meier [Mon, 11 Mar 2013 17:26:03 +0000 (17:26 -0000)]
Update GTK3 port status.

svn path=/trunk/; revision=48245

11 years agoGTK3 "expand" handling changes.
Bill Meier [Mon, 11 Mar 2013 17:15:54 +0000 (17:15 -0000)]
GTK3 "expand" handling changes.

As suggested by Peter Hatini in the patch attached to Bug #8315.

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

svn path=/trunk/; revision=48244

11 years agoRemove leftover "//".
Bill Meier [Mon, 11 Mar 2013 16:28:11 +0000 (16:28 -0000)]
Remove leftover "//".

svn path=/trunk/; revision=48242

11 years agoFrom the proposed patch by Peter Hatina in Bug #8315.
Bill Meier [Mon, 11 Mar 2013 16:18:41 +0000 (16:18 -0000)]
From the proposed patch by Peter Hatina in Bug #8315.

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

svn path=/trunk/; revision=48241

11 years agoSet the "Capture Options" window as the parent ('transient_for') of the "Interface...
Bill Meier [Mon, 11 Mar 2013 15:46:04 +0000 (15:46 -0000)]
Set the "Capture Options" window as the parent ('transient_for') of the "Interface Management" window.

svn path=/trunk/; revision=48240

11 years agoUse explicit casts.
Anders Broman [Mon, 11 Mar 2013 06:47:34 +0000 (06:47 -0000)]
Use explicit casts.

svn path=/trunk/; revision=48239

11 years agoFrom: Erik Hugne
Anders Broman [Mon, 11 Mar 2013 06:34:34 +0000 (06:34 -0000)]
From: Erik Hugne

tipc: update link header according to spec
The bcastsequence gap have been removed, and the sequence field is now 13 bits.

svn path=/trunk/; revision=48238

11 years ago"Capture ! Options ! Manage Interfaces": Cleanup handling of Window epansion.
Bill Meier [Mon, 11 Mar 2013 01:11:38 +0000 (01:11 -0000)]
"Capture ! Options ! Manage Interfaces": Cleanup handling of Window epansion.

Improves 'expand' handling for both Gtk2 & Gtk3;

Adapted (with additions by me) from a proposed patch by Peter Hatina (Bug #8315).

Also:

1. Don't use gtk_widget_set_size() in several cases when a single use of
   gtk_window_set_default_size() for the "Manage Interfaces" window is sufficient.

2. Add an XXX comment as to a specific call to 'gtk_window_destroy_with_parent'
   actually being a no-op on Windows.

svn path=/trunk/; revision=48237

11 years agoAllocate zeroed memory instead of manually zeroing some of the fields. We were
Evan Huus [Sun, 10 Mar 2013 22:02:07 +0000 (22:02 -0000)]
Allocate zeroed memory instead of manually zeroing some of the fields. We were
missing a few anyways.

Fixes the rest of https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8456

Also, add modelines.

svn path=/trunk/; revision=48236

11 years agoUse col_append_sep_str instead of col_set_str. Fixes another piece of
Evan Huus [Sun, 10 Mar 2013 21:42:16 +0000 (21:42 -0000)]
Use col_append_sep_str instead of col_set_str. Fixes another piece of

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

Fix suggested by Jakub in comment #5.

svn path=/trunk/; revision=48235

11 years agoOff by one error in name length.
Anders Broman [Sun, 10 Mar 2013 18:32:59 +0000 (18:32 -0000)]
Off by one error in name length.

svn path=/trunk/; revision=48234

11 years agor30032 again, actually make emem_verify_pointer() works with glib chunks.
Jakub Zawadzki [Sun, 10 Mar 2013 17:49:53 +0000 (17:49 -0000)]
r30032 again, actually make emem_verify_pointer() works with glib chunks.

after allocating glib chunk, amount_free should be 0,
and free_offset should be set to chunk size.

svn path=/trunk/; revision=48233

11 years agoUse explicit casts.
Anders Broman [Sun, 10 Mar 2013 16:56:40 +0000 (16:56 -0000)]
Use explicit casts.

svn path=/trunk/; revision=48232

11 years agoActually remove slab.h from the makefile.
Evan Huus [Sun, 10 Mar 2013 15:10:27 +0000 (15:10 -0000)]
Actually remove slab.h from the makefile.

svn path=/trunk/; revision=48231

11 years agoUpdate usage info for valgrind script. We almost need a proper man page for
Evan Huus [Sun, 10 Mar 2013 15:07:42 +0000 (15:07 -0000)]
Update usage info for valgrind script. We almost need a proper man page for
this now.

svn path=/trunk/; revision=48230

11 years agoGlib docs recommend using the slice API if you know you won't need to realloc.
Evan Huus [Sun, 10 Mar 2013 15:04:04 +0000 (15:04 -0000)]
Glib docs recommend using the slice API if you know you won't need to realloc.

svn path=/trunk/; revision=48228

11 years agoRemove slab.h and replace its last remaining usage with glib slices.
Evan Huus [Sun, 10 Mar 2013 14:52:14 +0000 (14:52 -0000)]
Remove slab.h and replace its last remaining usage with glib slices.

Take the opportunity to deduplicate some code that was common to both an
if block and its else block.

svn path=/trunk/; revision=48227

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

svn path=/trunk/; revision=48225

11 years agoAdd two missing NULL checks, fixes most of
Evan Huus [Sun, 10 Mar 2013 13:40:50 +0000 (13:40 -0000)]
Add two missing NULL checks, fixes most of

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

svn path=/trunk/; revision=48224

11 years agoMake the memory limit (in bytes or packets) used for storing packets
Michael Tüxen [Sun, 10 Mar 2013 11:57:40 +0000 (11:57 -0000)]
Make the memory limit (in bytes or packets) used for storing packets
configurable via command line options and print specific drop numbers
at the end. This allows to tune the buffering when using multiple
threads.
This also fixes a logic arrow in enforcing the limits.
The patch for the enhanced counters is from Anders Broman.

svn path=/trunk/; revision=48223

11 years agoOnly cast the variable after checking it.
Michael Tüxen [Sun, 10 Mar 2013 11:51:25 +0000 (11:51 -0000)]
Only cast the variable after checking it.

svn path=/trunk/; revision=48222

11 years agoAdd -t to synopsis.
Michael Tüxen [Sun, 10 Mar 2013 11:40:46 +0000 (11:40 -0000)]
Add -t to synopsis.

svn path=/trunk/; revision=48221

11 years agoAdd the appropriate new WS_DLL_* declarations to the wmem API.
Evan Huus [Sat, 9 Mar 2013 20:25:44 +0000 (20:25 -0000)]
Add the appropriate new WS_DLL_* declarations to the wmem API.

svn path=/trunk/; revision=48220

11 years agoRemove the wmem slab. It was an optimization mimicking the emem slab
Evan Huus [Sat, 9 Mar 2013 20:16:33 +0000 (20:16 -0000)]
Remove the wmem slab. It was an optimization mimicking the emem slab
(removed in r48218) which did nothing particularly useful. Also lets us remove
another debugging environment variable.

svn path=/trunk/; revision=48219