Commit Graph

2416 Commits

Author SHA1 Message Date
Irene Rüngeler b26c445910 Limit the range to the TSNs provided.
Change-Id: Ibf72fb60d06baa7a9590a303f2e10e5a86c61093
Reviewed-on: https://code.wireshark.org/review/254
Reviewed-by: Michael Tüxen <tuexen@wireshark.org>
2014-02-20 17:22:56 +00:00
Alexis La Goutte 1115889c0b Fix Branch condition evaluates to a garbage value found by Clang Analyzer
Change-Id: I745f838a763e5cc89e1b9c0536ad3cb299b00786
Reviewed-on: https://code.wireshark.org/review/245
Reviewed-by: Evan Huus <eapache@gmail.com>
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2014-02-18 13:50:58 +00:00
Michal Labedzki ff0468f6d3 Add Logcat to Exported PDU
Logcat can be exported from ADB over USB or ADB over TCP where can occur
multiple Logcat PDUs in one frame.

Change-Id: I290fa131e5600c62357e5be4e76096ea5c35364b
Reviewed-on: https://code.wireshark.org/review/234
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2014-02-18 11:14:01 +00:00
Alexis La Goutte 4cea550c32 <Ctrl>R to restart does not work [Wireshark Qt]
From me : Add reload action

Change-Id: Ic47e3ff1ae0c1cc0ae8c40e5019dea9906612f90
Partial-Bug: 9003
Reviewed-on: https://code.wireshark.org/review/238
Reviewed-by: Evan Huus <eapache@gmail.com>
2014-02-17 21:46:58 +00:00
Alexis La Goutte 3aaa131000 On 'You have unsaved packets' dialog, expected D or <Alt>D to use as accelerator to discard and S or <Alt>S of save [Wireshark Qt].
From me : Add window title and fix missing text (Do you want to ....)

Change-Id: I1448d7b85ad9490a92dac7e89d9fd2fdb51a145e
Partial-Bug: 9003
Reviewed-on: https://code.wireshark.org/review/239
Reviewed-by: Evan Huus <eapache@gmail.com>
2014-02-17 21:46:06 +00:00
Alexis La Goutte 7447cd86e3 Menu cannot be reached using accelerators, for example <Alt-F> does not open File [Wireshark Qt].
Change-Id: I8a67d435510d5604bb501872f264cce4ba23595d
Partial-Bug: 9003
Reviewed-on: https://code.wireshark.org/review/237
Reviewed-by: Evan Huus <eapache@gmail.com>
2014-02-17 21:45:18 +00:00
Alexis La Goutte 1995e424df Stack overflow after selecting data when filter is applied that has no results (Wireshark Qt)
Fix
0x00000000004a480e in PacketList::contextMenuEvent (this=0xbbb460, event=0x7fffffffd270)
    at ui/qt/packet_list.cpp:485
485	            if (cap_file_->edt->pi.ipproto == IP_PROTO_SCTP)

Closed-bug : 9769

Change-Id: I1a657d7208a10c829b2dfe90abb168eff93cd268
Reviewed-on: https://code.wireshark.org/review/224
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Reviewed-by: Evan Huus <eapache@gmail.com>
2014-02-16 14:07:37 +00:00
Evan Huus 4ca528f549 Add explicit casts to fix OSX10.5 Buildbot
Change-Id: I13fa3d6af3d0fddc367835fc05efdbe106b991e6
Reviewed-on: https://code.wireshark.org/review/228
Reviewed-by: Evan Huus <eapache@gmail.com>
2014-02-16 14:06:13 +00:00
Evan Huus f7d2163b83 Replace last use of emem trees with GHashTables
Change-Id: I1cedc611c9b7888eb671cf858c6f7819d37afba9
Reviewed-on: https://code.wireshark.org/review/219
Reviewed-by: Michael Mann <mmann78@netscape.net>
2014-02-16 03:47:39 +00:00
Gerald Combs fd5e882fec About box: make sure we read AUTHORS-SHORT as UTF-8.
Use the application monospace font for the "Authors" and "License"
tabs similar to the GTK+ UI.

Change-Id: Ibca481562d7a9957ce603441c1e98b564e5bf389
Reviewed-on: https://code.wireshark.org/review/194
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2014-02-13 07:46:36 +00:00
Michal Labedzki 10084c344c RTP: Add support for SBC codec in RTP Player
Add optional dependancy to libsbc to play Bluetooth SBC in
A2DP payload. Also simplify RTP Player and extent codec interface.

Change-Id: I52e1fce9c82e2885736354fe73c6c37168a4fda3
Reviewed-on: https://code.wireshark.org/review/19
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Reviewed-by: Evan Huus <eapache@gmail.com>
2014-02-12 01:36:02 +00:00
Gerald Combs 648769497a Fix a Qt version comparison.
Change-Id: I7df90d53a2d8f29042994bd0c2bc7bf4450fab10
Reviewed-on: https://code.wireshark.org/review/177
Reviewed-by: Gerald Combs <gerald@wireshark.org>
2014-02-11 19:46:10 +00:00
David Ameiss d49485e191 Statistics->Flow Graph in qtshark crashes with a segfault
What appears to be happening is SequenceDiagram::draw() is iterating over the stored seq_analysis_item_t elements - but at the same time SequenceDialog::fillDiagram() is running - which destroys the old seq_analysis_info_t (which SequenceDiagram has stored a copy of and is referencing items in the list) then reloads it.

I'll attach a patch to SequenceDialog::fillDiagram() which fixes the problem - essentially calling sequence_analysis_list_get() with a new seq_analysis_info_t, calling SequenceDialog::setData() with the new one, then destroying the current seq_analysis_info_t and replacing it with the new on

Change-Id: I14f7b5dc64018ba5b81fe8d874a701e021401859
Closed-bug:9506
Reviewed-on: https://code.wireshark.org/review/175
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2014-02-11 18:11:04 +00:00
Gerald Combs 2a5618b5d1 Qt 5.2.1 for Mac has QtMacExtras but not QMacNativeToolBar.
Change-Id: I55e68a7fd84d36b50e6084cd82b51df7c91c6476
Reviewed-on: https://code.wireshark.org/review/159
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Tested-by: Gerald Combs <gerald@wireshark.org>
2014-02-10 20:07:57 +00:00
Gerald Combs f966980937 Replace "svn" with "git" all over the place.
Rename "SVNPATH" to "GITBRANCH" since that seems more appropriate.
Rename "svnversion.h" to "version.h" as Evan suggested. Update some
URLs. In make-version.pl, make sure we don't set an improper upstream
branch name. Use the number of commits + short hash from `git describe`
for package names by default.

Change-Id: I922bba8d83eabdf49284a119f55b4076bc469b96
Reviewed-on: https://code.wireshark.org/review/139
Reviewed-by: Gerald Combs <gerald@wireshark.org>
2014-02-07 23:03:03 +00:00
Gilbert Ramirez 4cc694839d Fix all -fstrict-alias warnings found by gcc 4.1.2
The majority of the fixes are for calls to uat_new(). Instead of
having each caller cast its private data to (void**), we use void*
in the uat_new() API itself. Inside uat_new(), we cast the void*
to void**.

Some dissectors use val64_string arrays, so a VALS64() macro was
added for those, to avoid using VALS(), which is useful only for
value_string arrays.

packet-mq.c was changed because dissect_nt_sid() requires
a char**, not a guint**. All other callers of dissect_nt_sid() use
char*'s (and take the address of it) for their local storage. So,
this was changed to follow the other practices.

A confusion between gint and absolute_time_display_e in packet-time.c
was cleared up.

The ugliest fix is the addition of ip6_guint8_to_str(), for exactly
one caller. The caller uses one type of ip6 address byte array,
while ip6_to_str() expects another. This new function is in place
until the various address implementations can be consolidated.

Add VALS64() to the developer documentation.

Change-Id: If93ff5c6c8c7cc3c9510d7fb78fa9108e4552805
Reviewed-on: https://code.wireshark.org/review/48
Reviewed-by: Evan Huus <eapache@gmail.com>
Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2014-02-03 09:26:10 +00:00
Alexis La Goutte 5982c6179b Merge "Apply layouts in Qt Creator. Fix a tooltip." 2014-01-29 17:44:54 +00:00
Alexis La Goutte bdcf5496b3 lupdate / lrelease ui/qt/Qtshark.pro
svn path=/trunk/; revision=54968
2014-01-26 18:24:56 +00:00
Alexis La Goutte c6022b3b85 Drop support of Visual Studio 2005
* Remove _MSC_VER < 1500 check
* Cleanup config.nmake

See http://www.wireshark.org/lists/wireshark-dev/201305/msg00159.html

svn path=/trunk/; revision=54965
2014-01-26 12:56:32 +00:00
Alexis La Goutte 47f50d13ce Fix indent (Use 4 spaces) and add modelines
svn path=/trunk/; revision=54964
2014-01-26 12:56:16 +00:00
Bill Meier 9c953985a1 Clean up whitespace: use consistent indentation, etc;
Add editor modelines.

svn path=/trunk/; revision=54883
2014-01-22 01:10:31 +00:00
Alexis La Goutte c80e021e6f Add modelines info
svn path=/trunk/; revision=54855
2014-01-20 09:42:52 +00:00
Alexis La Goutte fdee928692 Fix indent (use 4 spaces) and remove trailing whitespace
svn path=/trunk/; revision=54854
2014-01-20 09:42:45 +00:00
Alexis La Goutte 663ddb38d2 Fix build with CMake (Missing tap_export_pdu in ui/CMakeLists.txt
svn path=/trunk/; revision=54853
2014-01-20 07:53:42 +00:00
Alexis La Goutte 18d3a7010f Fix typo (only need one comma)
svn path=/trunk/; revision=54852
2014-01-20 07:53:00 +00:00
Anders Broman e45896cafc Split the GUI and the tap part to make it possible to adapt to Qt.
svn path=/trunk/; revision=54850
2014-01-20 05:51:10 +00:00
Anders Broman 90ea235292 Fix [-Wmissing-prototypes]
svn path=/trunk/; revision=54834
2014-01-17 19:35:57 +00:00
Anders Broman 43595fa3f0 Fix [-Wmissing-prototypes]
svn path=/trunk/; revision=54833
2014-01-17 19:21:41 +00:00
Gerald Combs 7649011c91 Apply layouts in Qt Creator. Fix a tooltip.
Change-Id: I02759cb83ef970395a80acaafb9a28c630000000
2014-01-17 09:33:45 -08:00
Anders Broman 8c608ca3d1 Fix [-Wmissing-prototypes]
svn path=/trunk/; revision=54826
2014-01-16 07:30:22 +00:00
Guy Harris 9374ede4ff Don't cast away constness.
svn path=/trunk/; revision=54818
2014-01-15 08:38:14 +00:00
Alexis La Goutte 62aef67720 Fix typo (Direcly => Directly)
svn path=/trunk/; revision=54804
2014-01-14 20:48:30 +00:00
Guy Harris 2e5c54935b In a source file that defines external functions, the header file that
declares the functions must be included, in order to make sure the
declarations match the function signature.  Make it so.

Don't cast away constness when passing something to a routine that takes
a const pointer argument.

svn path=/trunk/; revision=54747
2014-01-14 01:35:13 +00:00
Guy Harris 6a37db92d1 Make a routine not used outside this file static.
svn path=/trunk/; revision=54746
2014-01-14 01:31:49 +00:00
Guy Harris 205162061e In a source file that defines external functions, the header file that
declares the functions must be included, in order to make sure the
declarations match the function signature.  Make it so.

svn path=/trunk/; revision=54745
2014-01-14 01:29:16 +00:00
Guy Harris 91ad2eadb8 Include ui/progress_dlg.h to get the declaration of
delayed_create_progress_dlg().

svn path=/trunk/; revision=54744
2014-01-14 01:26:51 +00:00
Guy Harris d041ec61af #if 0 out an unused routine.
svn path=/trunk/; revision=54743
2014-01-14 01:23:49 +00:00
Guy Harris 5a43b704c8 In a source file that defines external functions, the header file that
declares the functions must be included, in order to make sure the
declarations match the function signature.  Make it so.

svn path=/trunk/; revision=54742
2014-01-14 01:16:55 +00:00
Guy Harris 8642c3f473 Make a routine used only in this file static.
svn path=/trunk/; revision=54741
2014-01-14 01:11:42 +00:00
Alexis La Goutte e2cec3b990 Remove (ugly) hack in about_dialog.cpp (include main.cpp to have function to set comp_info_str and runtime_info_str variable)
Now About Dialog is start after main() and variables is set by main(), only extern variable in wireshark_applicatin.h

svn path=/trunk/; revision=54696
2014-01-11 12:16:56 +00:00
Alexis La Goutte bf95d60829 Fix indent (use 4 spaces) and add modelines
svn path=/trunk/; revision=54695
2014-01-11 11:16:49 +00:00
Martin Mathieson 4debda5779 Note in a comment that with Gtk 3.4.4 reselecting UE+channel doesn't work as other UEs seem to get selected while list is being repopulated during retapping
svn path=/trunk/; revision=54690
2014-01-10 12:36:17 +00:00
Alexis La Goutte 7cbbf32324 Don't create About window when Wireshark Qt start
svn path=/trunk/; revision=54662
2014-01-08 14:43:41 +00:00
Martin Kaiser 9979ebf12d Coverity 280335, 280336
check the return value of gtk_tree_selection_get_selected()

svn path=/trunk/; revision=54657
2014-01-08 12:38:27 +00:00
Martin Kaiser 0b4aeb3b63 Coverity 280334
check the return value of gtk_tree_selection_get_selected()
    
if there was no selected item, wireshark would crash
but this is very unlikely in practice

svn path=/trunk/; revision=54656
2014-01-08 11:06:31 +00:00
Jakub Zawadzki 2abbb53d67 Remove svn:executable attribute.
svn path=/trunk/; revision=54637
2014-01-07 22:55:03 +00:00
Jörg Mayer 1df5d94c67 include config.h at the top of the file.
A used parameter was marked unused.

svn path=/trunk/; revision=54629
2014-01-07 21:09:03 +00:00
Alexis La Goutte bcacd60c1c Fix indent (use 4 spaces)
svn path=/trunk/; revision=54612
2014-01-05 18:40:07 +00:00
Alexis La Goutte f27990cfbb Fix indent (use 4 spaces)
svn path=/trunk/; revision=54609
2014-01-05 18:39:43 +00:00
Alexis La Goutte 88dcc80aad Enhance NSIS Windows installer (Wireshark Qt support)
* Add Radiobox to choose File Association (Wireshark GTK or Qt)
* Add Checkbox to choose Wireshark Qt icon will be installed (Startup, Desktop...)
* Fix unistaller (don't remove all icons...)
* ...

svn path=/trunk/; revision=54605
2014-01-05 18:16:14 +00:00