aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/capture_info_dlg.c
AgeCommit message (Collapse)AuthorFilesLines
2006-08-24capture interfaces dialog: use capture stock icons instead of plain text buttonsUlf Lamping1-3/+17
capture info dialog: add a "Help" and use stock buttons svn path=/trunk/; revision=19020
2006-08-16Add support for AirPcap, an upcoming wireless product from CACE. SupportGerald Combs1-0/+11
is disabled by default, and can be enabled by setting AIRPCAP_CONFIG in config.nmake. The code is currently limited to Windows, but should be adaptable to other platforms. The official announcement won't come until next week, so you'll have to read the source for details. :) svn path=/trunk/; revision=18928
2006-06-08Radek Vokal <rvokal@redhat.com>:Jörg Mayer1-1/+2
Fix for bug 917: segfault when closing caputre dialog Close dialog event have to return gboolean value. svn path=/trunk/; revision=18401
2006-05-22Get rid of a bunch of "Ethereal"s and "ethereal"s in comments, GUIGuy Harris1-1/+1
strings, and function names. svn path=/trunk/; revision=18205
2006-05-21name changeRonnie Sahlberg1-2/+2
svn path=/trunk/; revision=18197
2006-02-17remove dependencies to pcap.h, so getting an idea what needs to be done by ↵Ulf Lamping1-2/+0
dumpcap in addition to the things already done now various dumpcap related code cleanup: mainly #include's and capture engine related stuff svn path=/trunk/; revision=17327
2005-12-14Constify a bunch of arguments and variables, to squelch compilerGuy Harris1-1/+0
warnings. Include "wiretap/libpcap.h" in "capture_loop.h", to get its declarations of data structures for headers in libpcap files. This lets us remove the includes of "wiretap/libpcap.h from files including "capture_loop.h". Make "log_func_ignore()" in "tethereal.c" static, and declare some of its arguments unused. Also get rid of an unused variable. Include <pcap.h> before including "wiretap/wtap-capture.h", to declare "struct pcap_pkthdr". svn path=/trunk/; revision=16791
2005-12-14hmmm, the include sequence might be important too ...Ulf Lamping1-1/+1
svn path=/trunk/; revision=16790
2005-12-14add missing includeUlf Lamping1-0/+2
svn path=/trunk/; revision=16789
2005-12-06rename pcap-....c/.h files to capture-pcap-....c/.hUlf Lamping1-1/+1
this way, the capture prefix will "logically" group the files together and file browsers will also group them we may want to move the files into a subdir capture later svn path=/trunk/; revision=16691
2005-12-04move the complete functionality of the capture info dialog from ↵Ulf Lamping1-7/+26
capture_loop.c to capture_info.c and call it from capture.c (instead of capture_loop.c). This way, the capture child don't need to now any of the packet_counter things (no epan/packet.h and all alike). Currently the capture_info code will always open another wiretap file instance to build it's own counter values. This isn't optimized for now (next step: use data from cf_continue_tail() somehow). svn path=/trunk/; revision=16669
2005-12-03split some parts of the packet counting functions into their own files ↵Ulf Lamping1-4/+5
capture_info(.c/.h), so we can use it from the main program svn path=/trunk/; revision=16668
2005-12-03split capture.h into capture.h, capture_loop.h and capture_opts.h and place ↵Ulf Lamping1-0/+1
the parts into the corresponding files svn path=/trunk/; revision=16664
2005-08-20renamed ui_util.c/.h to gui_utils.c/.h to prevent confusion with identical ↵Ulf Lamping1-1/+1
named ui_util.h in / dir svn path=/trunk/; revision=15465
2005-03-28various (minor) capture code cleanupUlf Lamping1-1/+1
svn path=/trunk/; revision=13957
2005-03-28remove capture_child flag from capture_opts as it's no longer requiredUlf Lamping1-1/+1
svn path=/trunk/; revision=13954
2005-03-07- pcap.h needs to be included before capture.hJörg Mayer1-1/+1
- As capture.h is empty without libpcap defined, only include it in that case and don't protect the file internally against libpcap any more. svn path=/trunk/; revision=13648
2005-02-04(some) redesign of capture data structures.Ulf Lamping1-1/+1
don't use global cfile at all but only an untpyed handle to call the cf_... functions in file.c move the save_file member from capture_file to capture_opts, as it's only used while capturing and while preparing it svn path=/trunk/; revision=13276
2005-01-16Rename capture_combo_utils.{c,h} to capture_ui_utils.{c,h}, as the codeGuy Harris1-1/+1
in there is for UI functions including, but not limited to, the combo box in capture dialogs. svn path=/trunk/; revision=13061
2005-01-16Use a more descriptive name, if available, for the network interface inGuy Harris1-37/+17
window titles even on UN*X, and if the user's specified a description for an interface, use that rather than the description supplied by libpcap. Put the interface name into the main window title when doing a live capture. svn path=/trunk/; revision=13060
2005-01-15Recently the capture interface name was added to the title of the capture ↵Ulf Lamping1-1/+35
info dialog. On WIN32, this interface name is in a somehwat unreadable format "\Device\NPF_{242423...", display the interface description on win32 systems instead "Realtek RTL ..." svn path=/trunk/; revision=13048
2004-12-29Don't use a global capture_opts in the capturing engine (this isn't a good ↵Ulf Lamping1-1/+2
idea). Do some more "housekeeping" in the capturing part. Hopefully the unspecified forward declaration of capture_options_t in main.h is portable, but buildbot will tell me. This way I need the internals of that struct only at the places I really use it. svn path=/trunk/; revision=12853
2004-12-02From Nathan Jennings: add a preference that supplies a prefix for windowGuy Harris1-1/+6
titles. svn path=/trunk/; revision=12657
2004-10-30split capture_loop from capture.c, some more code cleanupUlf Lamping1-4/+4
svn path=/trunk/; revision=12451
2004-07-18Set the svn:eol-style property on all text files to "native", so thatGuy Harris1-1/+1
they have LF at the end of the line on UN*X and CR/LF on Windows; hopefully this means that if a CR/LF version is checked in on Windows, the CRs will be stripped so that they show up only when checked out on Windows, not on UN*X. svn path=/trunk/; revision=11400
2004-05-27added a small commentUlf Lamping1-1/+2
svn path=/trunk/; revision=11019
2004-05-26more code cleanup from dialog things:Ulf Lamping1-17/+7
changed window_xy (dialog) function calling in a lot of gtk files cleanup of file selection code cleanup in dlg_utils/file_dlg/ui_util Please report any problems!!! svn path=/trunk/; revision=11003
2004-04-14two memory leaks removedUlf Lamping1-1/+2
svn path=/trunk/; revision=10599
2004-04-13From Jon Oberheide: Add interface name to the capture and ethereal windowMichael Tüxen1-3/+7
while capturing. svn path=/trunk/; revision=10594
2004-03-13replaced sprintf / snprintf by g_snprintf,Ulf Lamping1-3/+3
various other string related changes svn path=/trunk/; revision=10373
2004-02-21rework of capture.c: better seperation of sync and capture pipe by usingUlf Lamping1-7/+7
explicit names and seperated functionality of do_capture(), but no functional change! svn path=/trunk/; revision=10168
2004-01-21implemented dlg_button_row_new to get a standard function forUlf Lamping1-9/+8
layouting the dialog buttons, and use it where appropriate. This will help us with the GTK1/2 conflict on button layouts and will also result in a more consistent look of the dialogs at all. svn path=/trunk/; revision=9771
2004-01-21use stock buttons whereever possible,Ulf Lamping1-6/+2
added some ethereal specific stock icons svn path=/trunk/; revision=9763
2004-01-05removed some MSVC warnings (level 3)Ulf Lamping1-2/+2
svn path=/trunk/; revision=9560
2003-12-21removed some MSVC warnings (moved pcap.h before glib.h)Ulf Lamping1-3/+2
svn path=/trunk/; revision=9393
2003-12-16Use gtk compatibility macros (from compat_macros.h) instead of some gtk+Olivier Abad1-5/+5
v1.2 functions which are deprecated in gtk+ v2. Update OBJECT_SET_DATA macros to cast "data" to (gpointer). svn path=/trunk/; revision=9296
2003-11-28use dlg_window_new instead of gtk_window_newUlf Lamping1-3/+2
svn path=/trunk/; revision=9112
2003-11-28label changed from "Portions" to "% of total" as suggested by GuyUlf Lamping1-6/+6
svn path=/trunk/; revision=9111
2003-11-18removed MSVC warningsUlf Lamping1-3/+2
svn path=/trunk/; revision=8996
2003-11-17Not all compilers allow array/structure/union members of automaticGuy Harris1-20/+26
variables to be initialized to non-constant values (C89 says that "All the expressions in an initializer for an object that has static storage duration or in an initializer list for an object that has aggregate or union type shall be constant expressions"; presumably the intent of the former was to avoid run-time initialization and of the latter was to let the initialization be done by copying from a compile-time-created blob of memory), so we have to initialize "info->counts" by hand. svn path=/trunk/; revision=8984
2003-11-17"capture()" takes a "struct pcap_stat *" argument, so you need toGuy Harris1-2/+3
include <pcap.h> before including "capture.h". Include "dlg_utils.h" to declare "dlg_set_cancel()". svn path=/trunk/; revision=8981
2003-11-15seperated capture dialog from capture.c and put into new gtk/capture_info_dlg.c,Ulf Lamping1-0/+279
added some tiny bars, that will indicate the percentage, added ESC key handler and use of GTK_STOCK button svn path=/trunk/; revision=8970