Commit Graph

5402 Commits

Author SHA1 Message Date
Anders Broman 1494865058 Remove two deprecated functions.
svn path=/trunk/; revision=37997
2011-07-13 14:47:31 +00:00
Anders Broman cb98a2b2c2 Fix more tooltips fixes.
svn path=/trunk/; revision=37996
2011-07-13 08:48:13 +00:00
Michael Tüxen 865240b6ba Display interface stuff only when interfaces are available.
svn path=/trunk/; revision=37995
2011-07-12 21:33:11 +00:00
Michael Tüxen a73931eafd This fixes the compile issue reported in
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6111


svn path=/trunk/; revision=37990
2011-07-12 11:06:44 +00:00
Anders Broman baf0396650 Fix more tooltips.
svn path=/trunk/; revision=37988
2011-07-12 06:54:01 +00:00
Anders Broman fb16948f96 Fix more tooltips.
svn path=/trunk/; revision=37987
2011-07-12 06:15:24 +00:00
Anders Broman ef84ed2d32 Fix more tooltips.
svn path=/trunk/; revision=37980
2011-07-11 21:29:47 +00:00
Gerald Combs 49b92440de More GLIB_CHECK_VERSION cleanups. Update the minimum GLib/GTK+ versions
in README.devloper. Remove g_gnuc.h since it's no longer needed. Remove
tvbuff_init(), tvbuff_cleanup(), reassemble_init(), and
reassemble_cleanup() since they were only used for older GLib versions
which didn't support GSlices. Assume we always support the "matches"
operator.

svn path=/trunk/; revision=37978
2011-07-11 20:32:19 +00:00
Anders Broman 1f923105f8 Fix more tooltips, mark gtk_tooltips_new with 'E' in checkapi.
svn path=/trunk/; revision=37976
2011-07-11 20:01:28 +00:00
Anders Broman 3a35b7229c Fix a couple of tooltips.
svn path=/trunk/; revision=37975
2011-07-11 19:34:57 +00:00
Gerald Combs 4608a76a51 Remaining GLIB_CHECK_VERSION and GTK_CHECK_VERSION in the gtk directory.
svn path=/trunk/; revision=37973
2011-07-11 19:10:57 +00:00
Anders Broman 347c71d9a8 GTK_CHECK_VERSION cleanup.
svn path=/trunk/; revision=37972
2011-07-11 18:54:49 +00:00
Gerald Combs 5ad2293f40 More GLIB_CHECK_VERSION and GTK_CHECK_VERSION cleanup.
svn path=/trunk/; revision=37971
2011-07-11 18:35:36 +00:00
Gerald Combs 2c469e3714 More GLIB_CHECK_VERSION, GTK_CHECK_VERSION, and related whitespace
cleanup.

svn path=/trunk/; revision=37970
2011-07-11 18:18:35 +00:00
Gerald Combs f6d7f90c72 Remove a lot of instances of GTK_CHECK_VERSION. Clean up whitespace in a
couple of places.

svn path=/trunk/; revision=37969
2011-07-11 18:08:08 +00:00
Guy Harris 030ec99939 Point to the right place.
svn path=/trunk/; revision=37944
2011-07-09 01:41:09 +00:00
Balint Reczey a2c55f0c17 Show a hint to read http://wiki.wireshark.org/CaptureSetup/CapturePrivileges
when showing the warning about running Wireshark as root
Thanks to Evan Huus for the suggestion.

svn path=/trunk/; revision=37943
2011-07-09 00:20:13 +00:00
Michael Tüxen 8e93cf895f Use a pixbuf for widgets used for icons.
svn path=/trunk/; revision=37942
2011-07-08 18:29:02 +00:00
Michael Tüxen 0472f42af7 If no interface is specified on the command line, use the default
capture interface if given.

This patch is provided by Irene Ruengeler.


svn path=/trunk/; revision=37939
2011-07-08 13:47:16 +00:00
Michael Tüxen b2ab9d134a You can't select/deselct interfaces in the capture/interfaces
dialog while you are capturing.
This patch is provided by Irene Ruengeler.

svn path=/trunk/; revision=37938
2011-07-08 13:40:00 +00:00
Michael Tüxen d56de3d638 Try to make non-libpcap builds compiling.
svn path=/trunk/; revision=37937
2011-07-08 09:26:34 +00:00
Michael Tüxen 15bf360095 Use the interfaces from the last capturing process as a starting point
for the next one.

Obtained from Irene Ruengeler.

svn path=/trunk/; revision=37936
2011-07-08 08:49:06 +00:00
Jaap Keuter 7890ac3667 Avoid 'variable set but no used' error from compiler.
svn path=/trunk/; revision=37935
2011-07-08 07:52:31 +00:00
Michael Tüxen 746ca92b46 The argument of capture_get_if_icon() is used.
svn path=/trunk/; revision=37932
2011-07-07 21:16:03 +00:00
Michael Tüxen 8fac080296 Try to unbreak the Mac OS X 10.5 buildbots.
svn path=/trunk/; revision=37931
2011-07-07 20:20:55 +00:00
Michael Tüxen 3500412973 Bring back interface icons.
Obtained from Irene Ruengeler.

svn path=/trunk/; revision=37929
2011-07-07 13:57:08 +00:00
Michael Tüxen 20ded72bac Use the interface descriptions again.
This patch is from Irene Ruengeler.

svn path=/trunk/; revision=37928
2011-07-07 13:34:40 +00:00
Michael Tüxen 6542687a78 Fix a crash when using hidden interfaces.
svn path=/trunk/; revision=37925
2011-07-06 17:27:42 +00:00
Martin Mathieson c4dd3e5e5c Add
#if defined(_WIN32) || defined(HAVE_PCAP_CREATE)
around access to interface_options.buffer_size

svn path=/trunk/; revision=37920
2011-07-06 14:56:42 +00:00
Michael Tüxen 8180111144 Use g_object_set() instead of gtk_object_set().
svn path=/trunk/; revision=37917
2011-07-06 11:35:52 +00:00
Michael Tüxen b682b5ee01 Get it even linking...
svn path=/trunk/; revision=37916
2011-07-06 11:25:57 +00:00
Michael Tüxen eef7623fb9 Get it compiling when not having libpcap.
svn path=/trunk/; revision=37915
2011-07-06 11:22:38 +00:00
Michael Tüxen 48683778a0 Add support for multiple interface to the main welcome screen.
This patch is from Irene Ruengeler.

svn path=/trunk/; revision=37913
2011-07-06 09:17:06 +00:00
Guy Harris ddc6baabbb Constify to squelch compiler warning.
svn path=/trunk/; revision=37911
2011-07-06 04:45:50 +00:00
Guy Harris fc581f9865 Don't check for "(null)" as the result of a printf operation; don't pass
in a null pointer to %s in the first place!  Not all printf
implementations necessarily emit "(null)" in that case; perhaps GLib's
does, but we shouldn't even depend on that - we should, instead, at
least print something semi-useful in that case (the link-layer type's
numerical value).

Fix syntax errors in the "no libpcap" case.

svn path=/trunk/; revision=37910
2011-07-06 04:09:49 +00:00
Guy Harris 053c583fda Add some additional routine variants that handle string encodings, and
make FT_STRING and FT_UINT_STRING handle string encodings.

Get rid of FT_EBCDIC in favor of FT_STRING with ENC_EBCDIC.

Add some URLs for DRDA.

Clean up some stuff in TN3270 and TN5250, including using ENC_ values
for proto_tree_add_item().

svn path=/trunk/; revision=37909
2011-07-05 23:59:23 +00:00
Michael Tüxen 1c7349022d Don't use strcpy().
svn path=/trunk/; revision=37907
2011-07-05 21:29:06 +00:00
Michael Tüxen 8b5eee3639 (Try to) fix compilation when no libpcap is available.
svn path=/trunk/; revision=37905
2011-07-05 21:11:24 +00:00
Michael Tüxen cb90aa7904 Add initial support for multiple interfaces. More to come after
the capture options dialog box supports also multiple interfaces.

This patch has been developed by Irene Ruengeler.

svn path=/trunk/; revision=37904
2011-07-05 20:34:03 +00:00
Michael Tüxen 4b8f5a1865 Support selecting multiple interfaces in the capture/interfaces
dialog.
Until the capture/options dialog supports multiple interfaces, the
options button is only selectable when 0 or 1 interfaces are selected.
This patch is based on work by Irene Ruengeler.

svn path=/trunk/; revision=37903
2011-07-05 20:29:33 +00:00
Anders Broman 2f05cf4dcf From Michael Mann:
Added ability to display UTC time or UTC time with date.  I liked having the
difference between UTC and local time, not just setting local=UTC.

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

svn path=/trunk/; revision=37898
2011-07-04 21:43:34 +00:00
Bill Meier 16fabcc02c Log:
Fix incorrect usage of gtk_radio_button_new_with_label()/gtk_radio_button_get_group();
 Use gtk_radio_button_new_with_label_from_widget().

 Essentially: gtk_radio_button_get_group() must be called after each gtk_radio_button_new...()
 before using the 'group' GSList pointer in another call to gtk_radio_button_new...().

 In these cases the incorrect usage appears to only have resulted in allowing multiple
 radio buttons to be activated simultaneously.

 (In at least one case elsewhere, the incorrect usage resulted in a Wireshark crash).


svn path=/trunk/; revision=37871
2011-07-02 21:36:25 +00:00
Bill Meier 9e3d46e08b Remove 3 lines of code no longer needed after SVN #37869
svn path=/trunk/; revision=37870
2011-07-02 21:06:51 +00:00
Bill Meier a2e7e3e2e7 Fix incorrect usage of gtk_radio_button_new_with_label()/gtk_radio_button_get_group();
Use gtk_radio_button_new_with_label_from_widget().

Essentially: gtk_radio_button_get_group() must be called after each gtk_radio_button_new...()
before using the 'group' GSList pointer in another call to gtk_radio_button_new...().

In these cases the incorrect usage appears to only have resulted in allowing multiple
radio buttons to be activated simultaneously.

(In at least one case elsewhere, the incorrect usage resulted in a Wireshark crash).



svn path=/trunk/; revision=37869
2011-07-02 21:00:56 +00:00
Bill Meier 0f310b83fe Whitespace cleanup (trailing spaces).
svn path=/trunk/; revision=37868
2011-07-02 20:14:41 +00:00
Bill Meier 6f982ec7c2 Fix: Wireshark crashes after repeating "File -> Import -> Cancel"
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6080

Apparently gtk_radio_button_get_group() must be called after
each addition to the group before the 'group' GSList pointer can be used
again in, for example, a call to get_radio_button_new_with_label().

(Where does it say this in the GTK docs ? It does make sense, tho, given
the way GSLists work).

We'll use gtk_radio_button_new_with_label_from_widget() instead to let GTK
handle the grouping.


svn path=/trunk/; revision=37867
2011-07-02 19:50:41 +00:00
Jörg Mayer 7e0b65ff91 avoid warning about old style function definition
svn path=/trunk/; revision=37863
2011-07-02 11:33:32 +00:00
Stig Bjørlykke 6bdd7eed16 Renamed "___tmp_color_filter___" to "___conversation_color_filter___"
in the coloring rule name to better describe where it comes from.

svn path=/trunk/; revision=37859
2011-07-01 21:13:40 +00:00
Chris Maynard 2d11ac9051 From spamlookup via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6083:
Fix compile error introduced with r37830.


svn path=/trunk/; revision=37851
2011-07-01 15:44:42 +00:00
Michael Tüxen 2b439f46f3 Remove all interfaces when available.
Add a missing g_strdup.

svn path=/trunk/; revision=37843
2011-06-30 11:40:50 +00:00