aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk/capture_dlg.h
AgeCommit message (Collapse)AuthorFilesLines
2014-07-11GTK Remote CapturingIrene Ruengeler1-10/+0
Move the GTK files necessary for managing the recnet remote host from capture_dlg.c to recent.c in order to use them in QT, too. Change-Id: I3f3fd31ce928162de08c6db7309ef2a9b1e97760 Reviewed-on: https://code.wireshark.org/review/2955 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-03-04Remove all $Id$ from top of fileAlexis La Goutte1-2/+0
(Using sed : sed -i '/^ \* \$Id\$/,+1 d') Fix manually some typo (in export_object_dicom.c and crc16-plain.c) Change-Id: I4c1ae68d1c4afeace8cb195b53c715cf9e1227a8 Reviewed-on: https://code.wireshark.org/review/497 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2012-12-26Fix another discarded qualifier error.Guy Harris1-17/+0
Remove some redundant declarations/definitions from ui/gtk/capture_dlg.h. svn path=/trunk/; revision=46780
2012-08-07Add window with notebooks to display bpf compile results.Irene Rüngeler1-0/+2
svn path=/trunk/; revision=44298
2012-08-03Make the columns of the capture options dialog selectable. Changes are ↵Irene Rüngeler1-0/+6
stored in the preferences file. The ordering can be changed by dragging the column. The order is not stored. svn path=/trunk/; revision=44239
2012-08-01Move the common parts of iface_lists.[ch] from ui/gtk/ to ui/. Leave theGerald Combs1-0/+12
GTK+-specific parts behind in capture_dlg.c. svn path=/trunk/; revision=44196
2012-06-29Clarify *which* capture dialogs are handled by capture_dlg.c.Guy Harris1-1/+2
svn path=/trunk/; revision=43548
2012-06-28Update Free Software Foundation address.Jakub Zawadzki1-1/+1
(COPYING will be updated in next commit) svn path=/trunk/; revision=43536
2012-06-28Make more routines static.Guy Harris1-3/+0
svn path=/trunk/; revision=43528
2012-06-28Make some routines static to ui/gtk/capture_dlg.c; they're not usedGuy Harris1-15/+0
outside it. svn path=/trunk/; revision=43527
2012-06-28Detangle the code that manages the interface list on the welcome screen:Guy Harris1-3/+0
fill_capture_box(): if there are interfaces on which to capture, constructs the interface list, otherwise destroys the interface list and puts up a message. update_capture_box(): updates the interface list to reflect current reality. welcome_if_panel_reload(): if there is an interface list, and if there are interfaces on which to capture (so that we still want that list), updates the list by calling update_capture_box(), otherwise creates or destroys it by calling fill_capture_box() (as either it doesn't exist but now needs to or does exist but needs to go away). Have refresh_local_interface_lists(), which re-fetches the list of local interfaces and updates every interface list that includes local interfaces, and refresh_non_local_interface_lists(), which only updates interface lists that (also) include interfaces other than local interfaces (such as pipes and remote interfaces). Call them in the apprpriate places (if we know the list of local interfaces has been updated, call refresh_local_interface_lists(), otherwise, if we know interfaces other than local interfaces have been added or removed, call refresh_non_local_interface_lists()). Don't have any routine that updates the interface list for one widget update the interface list for any other widget; leave the global updating of interface lists up to refresh_local_interface_lists() and refresh_non_local_interface_lists() - only call one of them if any interface lists are to be updated. svn path=/trunk/; revision=43517
2012-06-28From Pontus Fuchs:Guy Harris1-1/+4
add a capture_dlg_refresh_if() routine to redraw the list of interfaces in the Capture -> Interfaces dialog if the lsit of known interfaces is updated, and have it do that not by destroying and reconstructing the entire dialog box, but just by destroying and reconstructing the table containing the interfaces and their statistics. From me: have a refresh_interfaces_cb() routine in ui/gtk/main.c that scans the local interfaces and refreshes *all* the widgets that have interface lists; add a "Refresh Interfaces" item to the Capture menu that calls that; have the "Refresh" button in the "Manage Interfaces" window also call that; rename the Capture Options window routine dlg_window_present() to capture_dlg_window_present() to make it clearer *which* dialog it checks for; fix Pontus' patch to call capture_stat_stop() *before* nulling out the global pointer for the statistics cache - if it's called *after* nulling it out, the argument passed to capture_stat_stop() is null, and it doesn't kill off the dumpcap gathering the statistics so they just pile up (and, at least on OS X, chewing up BPF devices until you run out of BPF devices that have the right ownership and permissions for dumpcap to use as a normal user); if refreshing the interfaces fails to get an interface list, close the Capture Interfaces dialog. svn path=/trunk/; revision=43515
2012-06-21The symbolic names for column indices are unused outside ofGuy Harris1-18/+0
capture_dlg.c; move them there. (There are no routines exported by capture_dlg.c that use them.) svn path=/trunk/; revision=43436
2012-06-19capture_dlg.h:Jörg Mayer1-3/+3
- Replace airpcap_tb in comment - Remove trailing whitespace main.c: - wireless_tb must always be defined now, even if compiling without HAVE_AIRPCAP svn path=/trunk/; revision=43373
2012-02-21From Irene Ruengeler:Michael Tüxen1-16/+20
* Add support in the GUI for pipes. * Allow the local interfaces to be rescanned via the GUI. * Allow remote interfaces to be added and deleted. The GUI can be extended to support other ways of capturing. svn path=/trunk/; revision=41105
2012-01-25Third try. This time pipes and stdin are supported and theMichael Tüxen1-51/+8
test scripts are passed. Use a global list containing all interfaces and only change properties of the entries when changes are made in the GUI. Do not misuse the list of interfaces specified on the command line anymore. This patch does not provide any new functionality, it just provides the base for future extensions like removing remote interface, mulitple airpcap devices and multiple pipes. This patch was provided by Irene Ruengeler. svn path=/trunk/; revision=40715
2012-01-24We need a 3rd try. (After learning how to run the testuite on Windows locally).Michael Tüxen1-8/+51
svn path=/trunk/; revision=40695
2012-01-24Second try. This time pipes and stdin are supported.Michael Tüxen1-51/+8
Use a global list containing all interfaces and only change properties of the entries when changes are made in the GUI. Do not misuse the list of interfaces specified on the command line anymore. This patch does not provide any new functionality, it just provides the base for future extensions like removing remote interface, mulitple airpcap devices and multiple pipes. This patch was provided by Irene Ruengeler. svn path=/trunk/; revision=40693
2012-01-18Restructure the recent file code so that recent.c is GUI-independent;Guy Harris1-19/+0
move it to the top-level source directory for now, and move ui/gtk/recent.h to the ui directory. svn path=/trunk/; revision=40561
2012-01-15Move gtk to ui/gtk.Jörg Mayer1-0/+210
This looses the last checkin to gtk, will add this manually back. svn path=/trunk/; revision=40518