Commit Graph

42690 Commits

Author SHA1 Message Date
Jörg Mayer af53ae35b5 Remove trailing whitespace
svn path=/trunk/; revision=45118
2012-09-25 01:20:51 +00:00
Evan Huus b409efefce Touch the file in make-dissector-reg.py if it hasn't changed, so that
we don't try and regenerate it every single subsequent build.

Also, add modelines.

svn path=/trunk/; revision=45117
2012-09-25 01:06:13 +00:00
Chris Maynard 410fdcd065 We're downloading the user-guide as part of the setup, so we might as well copy it to the install directory. If someone has built a more up-to-date version of the user-guide in the docbook directory, then it will just overwrite this one, but for most developers, I don't think they're building their own, so at least this way they'll still have a local copy of the user-guide. If optional is the preferred default, then we can change config.nmake and just comment out UG_DIR and mark as "optional" instead of "recommended".
svn path=/trunk/; revision=45116
2012-09-25 01:03:21 +00:00
Michael Mann 4f9707469d replaced decode_boolean_bitfield calls with itemized filters
added tfs_no_yes to tfs.[ch]

svn path=/trunk/; revision=45115
2012-09-25 01:00:41 +00:00
Gerald Combs af176b4c36 Update regexes to match the version string changes in r45112.
svn path=/trunk/; revision=45114
2012-09-24 23:40:59 +00:00
Gerald Combs 878f93804f Look in $(WIRESHARK_LIB_DIR)\vcredist_$(MSVC_VARIANT) for
the MSVC redistributable package, then look in the top-level
$(WIRESHARK_LIB_DIR). This lets us more easily use multiple compilers
with the same library directory.

svn path=/trunk/; revision=45113
2012-09-24 22:57:54 +00:00
Gerald Combs 196dbce3d2 Add back extra packaging information if it's present.
svn path=/trunk/; revision=45112
2012-09-24 21:57:52 +00:00
Pascal Quantin 3f16280e9b From Steve Magnani via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7753 :
Fix display of WRITE BUFFER and SEND DIAGNOSTIC fields in SCSI dissector

svn path=/trunk/; revision=45111
2012-09-24 19:42:12 +00:00
Jakub Zawadzki 7a9d27c33f Regenerate asn.1 dissectors.
svn path=/trunk/; revision=45110
2012-09-24 19:38:46 +00:00
Martin Kaiser 47cf08409d change the capture comment icon in the statusbar from "add" to "edit"
when a comment was added

(deletion of a comment is not recognized correctly)

svn path=/trunk/; revision=45109
2012-09-24 19:30:23 +00:00
Martin Kaiser eea9174bcf allow setting a capture comment from the statusbar when a capture was started
for the decision to allow input of a capture comment, we should make no
difference between the statusbar icon and Statistics / Summary menu item

svn path=/trunk/; revision=45108
2012-09-24 19:12:01 +00:00
Martin Kaiser 82654a12f0 fix compilation on linux
ui/gtk/capture_file_dlg.c needs ui/file_dialog.h

svn path=/trunk/; revision=45107
2012-09-24 18:59:44 +00:00
Gerald Combs e9d4c115b5 Fix compilation on Windows.
svn path=/trunk/; revision=45106
2012-09-24 17:44:11 +00:00
Gerald Combs 25eab1c383 Unify some of the GTK+ and Win32 "Save As" code and behavior. This will
likely break compilation on Windows. I'll take care of it shortly.

svn path=/trunk/; revision=45105
2012-09-24 17:04:50 +00:00
Gerald Combs c3f2dbdb8d Update make-dissector-reg.py to match r45083. Instead of writing the new
plugin.c or register.c content to a temporary file build a giant string
in memory and only write it if the current and new hashes differ.

This requires hashlib which was added in Python 2.5; hopefully that's
not a problem.

svn path=/trunk/; revision=45104
2012-09-24 16:21:56 +00:00
Jörg Mayer 8499871d96 Beginnings of the Foundry Discovery Protocol (FDP) dissector.
While FDP is (mostly) deprecated, it is still in use.

svn path=/trunk/; revision=45103
2012-09-24 16:20:31 +00:00
Anders Broman d424f3949a Get rid of ../../epan/address.h:65:19: warning: comma at end of enumerator list [-pedantic]
svn path=/trunk/; revision=45102
2012-09-24 15:08:46 +00:00
Anders Broman 0bbd6d4616 Try to passify the buildbots by:
- Using G_GINT64_CONSTANT for 64 bit constants.
- Using guint64 and G_GINT64_MODIFIER where apropriate
- set individual struct members.
-  cast time_t to guint i two places.

svn path=/trunk/; revision=45101
2012-09-24 13:54:45 +00:00
Anders Broman 44e5ddb9c9 packet-btavctp.c:107: warning: 'number_of_packets' may be used uninitialized in this function
packet-btavctp.c:105: warning: 'pid' may be used uninitialized in this function

svn path=/trunk/; revision=45100
2012-09-24 12:51:34 +00:00
Anders Broman 3bc8e5ff68 From Michal Labedzki:
Add Bluetooth Profile AVRCP. Supported version: 1.5.

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

svn path=/trunk/; revision=45099
2012-09-24 12:46:30 +00:00
Anders Broman b6360ae35a From Michal Labedzki:
Bluetooth: Add colorfilter for SAP dissector.


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

svn path=/trunk/; revision=45098
2012-09-24 12:35:45 +00:00
Anders Broman 577dec01c5 From Michal Labedzki:
Add Bluetooth Protocol AVCTP. Supported version: 1.4.


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

svn path=/trunk/; revision=45097
2012-09-24 12:30:30 +00:00
Martin Mathieson 05570017ba Include reordercap.exe.
svn path=/trunk/; revision=45096
2012-09-24 11:59:49 +00:00
Jörg Mayer a64c8ab1ac Whitespace fixes
svn path=/trunk/; revision=45095
2012-09-24 11:39:28 +00:00
Martin Mathieson 5a10de0446 Add reordercap to this makefile too.
svn path=/trunk/; revision=45094
2012-09-24 11:25:40 +00:00
Martin Mathieson 95cbbe48d4 Fix mispelling of reordercap.exe target.
svn path=/trunk/; revision=45093
2012-09-24 10:53:06 +00:00
Martin Mathieson 516f0c6e5c Also avoid some unnecessary calls to strcmp() here, where the release
number at the end isn't important to know.

svn path=/trunk/; revision=45092
2012-09-24 10:34:27 +00:00
Martin Mathieson 5809e2cfdf Some improvements after looking at profile of large reordercap run.
- speed up writing timestamp by avoiding g_snprintf()
- avoid call to strstr()
- don't use g_snprintf() for writing a liternal string
- avoid atio() for single-digit strings
- avoid some strcmp() calls where the release number at the end wasn't
  important

svn path=/trunk/; revision=45091
2012-09-24 10:29:19 +00:00
Martin Mathieson 60fb63783a From Jim Young, bug 7745.
Add Makefile support for reordercap.

svn path=/trunk/; revision=45090
2012-09-24 10:23:20 +00:00
Martin Mathieson d06c9779a2 Fix count of out-of-order frames reported at end of run.
svn path=/trunk/; revision=45089
2012-09-24 09:42:22 +00:00
Martin Mathieson 21a21a6994 Fix for bug 7746 (from Jim Young)
Use G_GINT64_MODIFIER when REORDER_DEBUG is defined.

svn path=/trunk/; revision=45088
2012-09-24 09:21:16 +00:00
Anders Broman ef4ecaa38b Use proto_tree_add_item() and value_strings in a couple of more places.
svn path=/trunk/; revision=45087
2012-09-24 08:38:45 +00:00
Guy Harris 8c174d2ae7 Just as we don't show the "Wireless Settings" button for non-AirPcap
adapters, we don't show the "Remote Settings" button for local adapters.
(Back when the buttons were in the Capture Options dialog, always having
the button there and making it sensitive or insensitive based on the
interface you specified may have made sense; now that it's in a dialog
popped up when you double-click on a particular interface, so the dialog
always applies to a particular interface, it no longer makes sense.)

Get rid of the unused E_OPT_REMOTE_BT_KEY key.

svn path=/trunk/; revision=45085
2012-09-24 07:41:19 +00:00
Jörg Mayer a9ddd42c28 make-dissector-reg
Only update outfile if it differs from newly created outfile
make-dissector-reg.py
	Add a comment that we should do the same here (probably a small
	task for python knowledeable people).

svn path=/trunk/; revision=45083
2012-09-24 05:59:56 +00:00
Michael Mann 88ee7291cf replaced decode_boolean_bitfield calls with itemized filters
svn path=/trunk/; revision=45082
2012-09-24 01:59:34 +00:00
Evan Huus 69905db57c Move potential dereference until *after* the null-check.
Caught by cppcheck.

svn path=/trunk/; revision=45081
2012-09-23 21:02:32 +00:00
Pascal Quantin 7dd916459e Let's be consistent and display lte_rrc root for all LTE RRC messages
svn path=/trunk/; revision=45080
2012-09-23 21:01:05 +00:00
Guy Harris 20c7cf091e We have one assembler-language module, so note that the assembler is
needed - and that there are separate 32-bit-target and 64-bit-target
assemblers.

svn path=/trunk/; revision=45079
2012-09-23 20:49:18 +00:00
Guy Harris 53e6306b70 Fix a capitalization error.
More "Platform SDK" -> "SDK".

svn path=/trunk/; revision=45078
2012-09-23 20:44:21 +00:00
Guy Harris 90552831fc Fix copy-and-pasteo.
Refer to the SDK as just the SDK, not the Platform SDK - Microsoft
dropped the "Platform" with the Vista SDK.

Update the section on the SDK to reflect that and to reflect that Vista
isn't the current version.

svn path=/trunk/; revision=45077
2012-09-23 20:35:09 +00:00
Pascal Quantin 359335be9a Add AlcatelLucent.xml to NSIS installer
svn path=/trunk/; revision=45075
2012-09-23 20:12:46 +00:00
Guy Harris dc4542a435 Give information on setting up cmd.exe environment variables to build
64-bit Wireshark.

svn path=/trunk/; revision=45074
2012-09-23 20:12:19 +00:00
Jakub Zawadzki 29235b9d10 Glib type checking might be cheap, but there's no need to do it twice.
(Actually many GtkTreeModel don't check types at all).

svn path=/trunk/; revision=45073
2012-09-23 18:20:42 +00:00
Bill Meier c4d449cbff expert_add...() shouldn't be called under 'if (tree)'.
svn path=/trunk/; revision=45072
2012-09-23 18:15:09 +00:00
Jakub Zawadzki 72ca9d0e61 Store pointers to previously displayed and captured packet, not nstime_t deltas.
This commit reduces size (from 144B to 128B on AMD64) of frame_data structure.

Part of bug 5821: Reduce per-packet memory requirements.

svn path=/trunk/; revision=45071
2012-09-23 16:25:28 +00:00
Jakub Zawadzki 9cde3e1a44 Add lua_nstime_to_sec()
svn path=/trunk/; revision=45070
2012-09-23 15:57:11 +00:00
Evan Huus bebce51b6b Display the "no interfaces" message in qtshark on any type of error,
as otherwise certain errors result in just a blank box. Also be sure to
free the error string after QT's got its own copy.

svn path=/trunk/; revision=45068
2012-09-23 14:54:53 +00:00
Jakub Zawadzki 7719d4e84a Cleanup wslua PINFO_GET_* macros. It's portable, right?
svn path=/trunk/; revision=45067
2012-09-23 14:46:43 +00:00
Gerald Combs 2fc8270439 [Automatic manuf, services and enterprise-numbers update for 2012-09-23]
svn path=/trunk/; revision=45065
2012-09-23 14:03:25 +00:00
Evan Huus a9bb9186dd Fix some unused variable warnings from GCC.
svn path=/trunk/; revision=45064
2012-09-23 12:45:03 +00:00