aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/capture_info_dlg.c
AgeCommit message (Collapse)AuthorFilesLines
2012-01-15Move gtk to ui/gtk.Jörg Mayer1-371/+0
This looses the last checkin to gtk, will add this manually back. svn path=/trunk/; revision=40518
2011-07-11Fix a couple of tooltips.Anders Broman1-9/+0
svn path=/trunk/; revision=37975
2011-05-19When capturing from multiple interfaces, indicate this in theMichael Tüxen1-3/+29
capture info dialog. This is based on wirk from Irene Ruengeler. svn path=/trunk/; revision=37280
2011-02-12Traditional GtkTooltips deprecated at GTK+ 2.14 (and removed in 3.0), soStephen Fisher1-0/+6
use the new functions when available. svn path=/trunk/; revision=35926
2010-08-30Remove some unnecessary includes: a lot of things don't need globals.h and ↵Jeff Morriss1-1/+0
register.h svn path=/trunk/; revision=34017
2010-08-17(Trivial) Reword comments about callback function signatures.Bill Meier1-1/+2
svn path=/trunk/; revision=33830
2009-12-29Use gtk_progress_bar_set_fraction instead of the deprecated ↵Bill Meier1-83/+68
gtk_progress_bar_update; Optimize the progress_bar related code a bit; Fix some indentation. svn path=/trunk/; revision=31383
2009-04-21Turn on -Wshorten-64-to-32 by default, and fix some issues that turnedGuy Harris1-1/+1
up (99 44/100% of which were assignments of double-precision floating-point constants to floats). Hopefully this will catch at least some P64 issues on UN*X. svn path=/trunk/; revision=28108
2009-02-26gtk_label_set -> gtk_label_set_textAnders Broman1-3/+3
"gtk_label_set is deprecated and should not be used in newly-written code. Aliases gtk_label_set_text()." svn path=/trunk/; revision=27556
2008-08-12From Alexey Neyman:Anders Broman1-0/+4
Implement dissector for IPMB (DLT_IPMB_LINUX, 209). svn path=/trunk/; revision=25986
2008-08-09From Alexey Neyman (Bug 2786):Sake Blok1-5/+16
Make "stop" button in the capture info dialog work svn path=/trunk/; revision=25966
2008-07-08Fix some simple cases of GTK2 deprecated API usage by using a renamed or ↵Bill Meier1-5/+5
equivalent API gtk_timeout_add() ==> g_timeout_add gtk_timeout_remove() ==> g_source_remove() Also: timer callback should return gboolean (not void or gint) svn path=/trunk/; revision=25672
2008-06-29Fix some simple cases of GTK2 deprecated API usage by using a renamed or ↵Bill Meier1-2/+2
equivalent API gtk_container_border_width() ==> gtk_container_set_border_width() gtk_container_children() ==> gtk_container_get_children() gtk_entry_new_with_max_length() ==> gtk_entry_new(); gtk_entry_set_max_length() gtk_menu_append() ==> gtk_menu_shell_append() gtk_menu_prepend() ==> gtk_menu_shell_prepend() gtk_notebook_set_page() ==> gtk_notebook_set_current_page() gtk_paned_gutter_size() ==> gtk_paned_set_gutter_size() gtk_radio_button_group() ==> gtk_radio_button_get_group() gtk_signal_connect() ==> g_signal_connect() gtk_signal_disconnect() ==> g_signal_handler_disconnect() gtk_signal_emit_by_name() ==> g_signal_emit_by_name() gtk_signal_handler_block_by_data() ==> g_signal_handlers_block_matched() gtk_signal_handler_block_by_func() ==> g_signal_handlers_block_by_func() gtk_signal_handler_unblock_by_data() ==> g_signal-handlers_unblock_matched() gtk_signal_handler_unblock_by_func() ==> g_signal-handlers_unblock_by_func() gtk_spin_button_get_value_as_float() ==> gtk_spin_button_get_value() gtk_toggle_button_set_state() ==> gtk_toggle_button_set_active() svn path=/trunk/; revision=25634
2008-06-24Add gtk/capture_globals.h, to declare global_capture_opts, so files thatGuy Harris1-2/+2
don't need global_capture_opts don't need to have it declared and thus don't need capture_options defined. Include gtk/capture_globals in the files in question. Change some more capture_opts references to refer to global_capture_opts. Change some global_capture_opts references in routines with a capture_opts argument to refer to capture_opts. The structure type is capture_options, not capture_opts; fix some references. Include <sys/types.h>, if it's present, in capture_opts.h, so we get gid_t defined. Clean up indentation. svn path=/trunk/; revision=25574
2008-06-24Have capture_info_ui_create() and capture_info_open() take a pointer toGuy Harris1-3/+4
the capture_opts structure as an argument, rather than just a pointer to the interface name. Don't declare a global "capture_opts" pointer, as we don't define it any more. svn path=/trunk/; revision=25570
2008-06-21Removed the usage of topic_available() as we now have all topics.Stig Bjørlykke1-10/+4
svn path=/trunk/; revision=25505
2008-04-13sort #includes by directoriesUlf Lamping1-14/+15
svn path=/trunk/; revision=24967
2008-04-12move stock icon code from toolbar.c into specific stock_icons file(s)Ulf Lamping1-1/+1
svn path=/trunk/; revision=24921
2008-04-11first round to replace SIGNAL_CONNECT with g_signal_connectUlf Lamping1-5/+3
This requires some casts to be added and I just don't want to add casts at all possible places. So I compile and only add casts where the (MSVC) compiler has a hard time. Unfortunately this won't find any problems in Linux/Unix only code - I'll keep an eye on the buildbot and try to fix things as I'm going on ... svn path=/trunk/; revision=24912
2008-04-11replace WIDGET_SET_SIZE with gtk_widget_set_size_requestUlf Lamping1-1/+1
svn path=/trunk/; revision=24910
2008-04-11OBJECT_..._DATA --> g_object_..._dataBill Meier1-2/+2
svn path=/trunk/; revision=24898
2007-08-30Added #include <sys/types.h>Stig Bjørlykke1-0/+4
svn path=/trunk/; revision=22745
2007-05-10On slow displays (such as RDP sessions), it looks like the "update"Gerald Combs1-2/+12
callback routines might get called before we're ready for them. Add checks to handle this. Fixup whitespace. svn path=/trunk/; revision=21744
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