Commit Graph

353 Commits

Author SHA1 Message Date
Michael Tüxen fddc6c386a Fix warnings reported by Bill.
svn path=/trunk/; revision=38519
2011-08-13 20:21:25 +00:00
Michael Tüxen 19c6de7ade Some cleanup.
svn path=/trunk/; revision=38518
2011-08-13 20:12:27 +00:00
Michael Tüxen 9778785d61 Honor command line options in the capture options dialog.
svn path=/trunk/; revision=38516
2011-08-13 19:33:23 +00:00
Guy Harris 2511e53ace Say "none" rather than "unknown" if there are no IP addresses; in most
if not all cases, it's not that we don't know the IP addresses, it's
that there are no IP addresses to know.

svn path=/trunk/; revision=38515
2011-08-13 19:21:02 +00:00
Guy Harris 0bf9fe65da Call the column giving the link-layer header type "Link-layer header",
to describe it a bit more completely.  (Note that it indicates what type
of link -layer headers you'll get, which isn't necessarily what type of
interface you have - an 802.11 interface might have a link-layer header
type of "Ethernet", for example.)

svn path=/trunk/; revision=38514
2011-08-13 19:09:18 +00:00
Michael Tüxen 9af31e0dce Minor cleanup.
svn path=/trunk/; revision=38513
2011-08-13 18:26:19 +00:00
Michael Tüxen 64a6efe5d6 Improve handling of snaplen in capture options window.
svn path=/trunk/; revision=38508
2011-08-13 17:13:50 +00:00
Michael Tüxen 5dd17d9c98 Fix Windows builds (hopefully).
svn path=/trunk/; revision=38507
2011-08-13 16:57:46 +00:00
Michael Tüxen bc90e7bf93 Make the monitor mode selectable only when supported by the interface.
This fixes a bug reported by Stig.

svn path=/trunk/; revision=38506
2011-08-13 15:49:24 +00:00
Michael Tüxen 93ebb2d936 Fix some warnings reported by Bill.
svn path=/trunk/; revision=38484
2011-08-11 12:58:37 +00:00
Michael Tüxen 06e88de947 Fix another issues related to the activity of the start button
in the capture options dialog.

svn path=/trunk/; revision=38483
2011-08-11 12:30:03 +00:00
Michael Tüxen 291fa19fbf Fix a bug where the Start button of the capture options dialog
box was not activated when it should an vice versa.
Reported by Stig.

svn path=/trunk/; revision=38482
2011-08-11 12:06:35 +00:00
Michael Tüxen 2e48084fa6 Fix a bug which show up when enabling the snaplen.
svn path=/trunk/; revision=38480
2011-08-11 10:55:30 +00:00
Michael Tüxen 9986755780 Use only one line for the headers in the capture options dialog box.
Improvement suggested by Stig.

svn path=/trunk/; revision=38458
2011-08-10 20:30:34 +00:00
Michael Tüxen 50665311db Use appropriate tooltip text for the OK button on the Edit Interface Settings dialog box.
Thanks to Stig for reporting the bug.

svn path=/trunk/; revision=38456
2011-08-10 19:49:41 +00:00
Michael Tüxen 45c65a93fa Fix CID 1255.
svn path=/trunk/; revision=38455
2011-08-10 19:13:48 +00:00
Michael Tüxen 2864804064 Fix CID 1250.
svn path=/trunk/; revision=38454
2011-08-10 19:05:15 +00:00
Michael Tüxen e7cebafe9d Fix CID 1253.
svn path=/trunk/; revision=38453
2011-08-10 17:52:44 +00:00
Michael Tüxen 295f138d7b Fix CID 1254.
svn path=/trunk/; revision=38452
2011-08-10 17:49:06 +00:00
Michael Tüxen 6111a7d1b9 Fix CID 1256.
svn path=/trunk/; revision=38451
2011-08-10 17:38:10 +00:00
Michael Tüxen 807d8a4592 Fix CID 1257.
While there clean up the code a bit.

svn path=/trunk/; revision=38450
2011-08-10 17:31:21 +00:00
Jörg Mayer 609b36f938 - Resolve a GTK_CHECK_VERSION(2,6,0) check. It's always true.
- Fix defined but not used warnings (turned errors) by surrounding
  the code with HAVE_PCAP_REMOTE_NEVERTRUE. Let's see what breaks.

svn path=/trunk/; revision=38379
2011-08-06 15:39:50 +00:00
Michael Tüxen 0fdfa575ae Some whitespace cleanups.
svn path=/trunk/; revision=38377
2011-08-06 13:22:51 +00:00
Michael Tüxen 761b0af787 Take out unused functions as reported by Joerg.
svn path=/trunk/; revision=38376
2011-08-06 12:40:19 +00:00
Michael Tüxen 84b0d41dcf This should fix the "else without previous if" error reported by Joerg.
svn path=/trunk/; revision=38375
2011-08-06 12:34:15 +00:00
Jörg Mayer ecdd812a6d Whitespace fixes:
- Remove trailing whitespace
- Remove leading space then tab

svn path=/trunk/; revision=38374
2011-08-06 09:16:00 +00:00
Stig Bjørlykke 7baca95651 Set the activate signal for the capture filter to the ok button.
svn path=/trunk/; revision=38373
2011-08-05 21:56:31 +00:00
Michael Tüxen a5160b94d8 Try to make the clang buildbot happy...
svn path=/trunk/; revision=38370
2011-08-05 17:58:06 +00:00
Michael Tüxen 1a474102c7 Try to make the Mac OS X PPC builder happy.
svn path=/trunk/; revision=38367
2011-08-05 16:37:17 +00:00
Michael Tüxen adbe753411 Fix one instance of strdup() -> g_strdup().
svn path=/trunk/; revision=38363
2011-08-05 13:17:41 +00:00
Michael Tüxen 02b614618f Try to make the Mac OS PPC builder happy.
svn path=/trunk/; revision=38362
2011-08-05 13:11:11 +00:00
Jörg Mayer 4a61660f12 Fix typo
svn path=/trunk/; revision=38358
2011-08-05 10:43:03 +00:00
Jörg Mayer 1d85bcdde1 Replace the deprecated call to gtk_tree_view_column_get_cell_renderers by
gtk_cell_layout_get_cells, which is available since 2.12 (according to docs)
and not 2.18 as one guard indicated.

svn path=/trunk/; revision=38356
2011-08-05 10:38:58 +00:00
Michael Tüxen cef78123cf Fix API issues.
svn path=/trunk/; revision=38355
2011-08-05 10:24:36 +00:00
Michael Tüxen 4a56ebb707 Fix the Mac OS buildbot.
svn path=/trunk/; revision=38354
2011-08-05 10:19:26 +00:00
Michael Tüxen 9bba3fa49f Whitespace changes.
svn path=/trunk/; revision=38353
2011-08-05 10:13:48 +00:00
Michael Tüxen eaffdfeaaa Add support for multiple interfaces to the capture options dialog.
Obtained from Irene Ruengeler.

svn path=/trunk/; revision=38350
2011-08-05 07:19:17 +00:00
Jörg Mayer dd02027e9b Fix some compile errors when building with real gtk-3.
svn path=/trunk/; revision=38178
2011-07-24 07:59:34 +00:00
Jörg Mayer 58d8a2b1b2 Handle more stuff in old-gtk-compat.h to avoid guarding in the code.
svn path=/trunk/; revision=38160
2011-07-21 23:58:08 +00:00
Michael Tüxen f30c3675ec Fix issue reported by Joerg.
svn path=/trunk/; revision=38144
2011-07-21 16:00:38 +00:00
Michael Tüxen 91df20357a Make sure that the interfaces listed in ifaces really exist.
Some protection code in capture / options.
Obtained from Irene Ruengeler.


svn path=/trunk/; revision=38142
2011-07-21 15:23:46 +00:00
Michael Tüxen 5014f11884 strdup -> g_strdup.
svn path=/trunk/; revision=38141
2011-07-21 12:06:18 +00:00
Michael Tüxen dcac95be11 Add some temporary protection code to support the current capture
options dialog box. It will be removed as soon as the capture options
dialog box supports multiple interfaces.

Received from Irene Ruengeler.


svn path=/trunk/; revision=38140
2011-07-21 11:28:16 +00:00
Michael Tüxen 7a16d2fa87 Synchronize the selection of interfaces between the main welcome
window, the capture/interface dialog box and the capture / start
menu item.
Obtained from Irene Ruengeler.


svn path=/trunk/; revision=38133
2011-07-20 12:51:57 +00:00
Michael Tüxen 358fcedaba Get the interfaces list from the Capture / Interfaces list in sync
when using the capture / start menu item.

Obtained from Irene Ruengeler.

svn path=/trunk/; revision=38109
2011-07-19 12:42:18 +00:00
Michael Tüxen f2cbf9239d Ignore interfaces without a name.
svn path=/trunk/; revision=38091
2011-07-18 17:44:26 +00:00
Michael Tüxen 09af2bc6d2 Don't allow capturing from multiple interface when compiled with multiple thread
support.

svn path=/trunk/; revision=38057
2011-07-16 11:07:32 +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
Jörg Mayer 7e0b65ff91 avoid warning about old style function definition
svn path=/trunk/; revision=37863
2011-07-02 11:33:32 +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