aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/dcerpc_stat.c
AgeCommit message (Collapse)AuthorFilesLines
2011-08-22dcerpc_stat.c:525: warning: unused parameter 'action'Anders Broman1-1/+1
svn path=/trunk/; revision=38660
2011-08-22Add missing menus.Anders Broman1-0/+7
svn path=/trunk/; revision=38655
2011-08-18GTK 3.0 fix a couple of gtk_style_context_get().Anders Broman1-1/+1
svn path=/trunk/; revision=38603
2011-08-18Fix a typo in the gtk3 caseJörg Mayer1-1/+1
svn path=/trunk/; revision=38597
2011-08-18GTK 3.0 version of modify forground.Anders Broman1-0/+15
svn path=/trunk/; revision=38596
2011-07-21Fix almost all accesses to ->windowJörg Mayer1-1/+3
svn path=/trunk/; revision=38151
2011-07-08Avoid 'variable set but no used' error from compiler.Jaap Keuter1-1/+4
svn path=/trunk/; revision=37935
2011-06-07Fix gcc 4.6 "set but not used [-Wunused-but-set-variable]" warnings;Bill Meier1-0/+4
Also: whitespace cleanup in some cases. svn path=/trunk/; revision=37601
2010-08-30Remove some unnecessary includes: a lot of things don't need globals.h and ↵Jeff Morriss1-5/+3
register.h svn path=/trunk/; revision=34017
2010-08-23(Minor) Cleanup signal callbak signatures and related:Bill Meier1-2/+2
- Don't mark callback arg as _U_ if actually used (and vice-versa); - Use Null as user_data in g_signal_callback if unused in callback; - Use correct signature for certain event callbacks. svn path=/trunk/; revision=33895
2010-07-20GtkOptionMenu ==> GtkComboBoxBill Meier1-199/+213
(Let's see if the UI seems OK or should be replaced with something simpler. (See comments in thecode)). svn path=/trunk/; revision=33592
2010-07-13Minor cleanup: Bill Meier1-46/+45
- rename rpcstat_t to dcerpcstat_t since a different definition of rpcstat_t in another Wireshark source file apparently confuses the Windows debugger; - GHFunc's return void not void *; - Use gboolean where apropriate. svn path=/trunk/; revision=33499
2009-08-27Add #include <stdio.h> in a few more places ....Bill Meier1-0/+1
svn path=/trunk/; revision=29578
2009-06-21Change window_new() to dlg_window_new() and destroy the window with the top ↵Anders Broman1-1/+3
level window. svn path=/trunk/; revision=28796
2009-06-05Have tap listeners specify whether the "packet" routine requiresGuy Harris1-2/+2
a protocol tree; the column values. This includes stats-tree listeners. Have the routines to build the packet list, and to retap packets, honor those requirements. This means that cf_retap_packets() no longer needs an argument to specify whether to construct the column values or not, so get rid of that argument. This also means that there's no need for a tap to have a fake filter to ensure that the protocol tree will be built, so don't set up a fake "frame" filter. While we're at it, clean up some cases where "no filter" was represented as a null string rather than a null pointer. Have a routine to return an indication of the number of tap listeners with filters; use that rather than the global num_tap_filters. Clean up some indentation and some gboolean vs. gint items. svn path=/trunk/; revision=28645
2009-03-19As suggested by Jakub Zawadzki: actually use sizeof(...) rather than a ↵Bill Meier1-3/+3
numeric constant in various places; svn path=/trunk/; revision=27800
2008-10-31Fix some "format not a string literal and no format arguments" warnings.Stig Bjørlykke1-1/+1
svn path=/trunk/; revision=26641
2008-10-19Add filter autocomplete for more places we use filter entries.Stig Bjørlykke1-0/+4
svn path=/trunk/; revision=26491
2008-10-13Bring the windows to front when rescanning of packets are done.Stig Bjørlykke1-0/+1
svn path=/trunk/; revision=26438
2008-10-11Ensure we initialize all colorized filter text entries before we show theStig Bjørlykke1-0/+2
widget, so we don't get wrong foreground color when using a dark theme. svn path=/trunk/; revision=26414
2008-08-05Don't put (non-extern'd) prototypes for protect_thread_critical_region() andJeff Morriss1-10/+9
unprotect_thread_critical_region() in every module in gtk/: instead have those modules include main.h (which has the properly extern'd prototype). This should fix the link error on HP-UX described in https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2702 svn path=/trunk/; revision=25933
2008-06-29Fix some simple cases of GTK2 deprecated API usage by using a renamed or ↵Bill Meier1-4/+4
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-05-06Fix some of the Errors/warnings detected by checkapi.Anders Broman1-2/+2
svn path=/trunk/; revision=25244
2008-04-13sort #includes by directoriesUlf Lamping1-12/+12
svn path=/trunk/; revision=24968
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-11second round to replace SIGNAL_CONNECT with g_signal_connectUlf Lamping1-1/+1
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=24913
2008-04-11first round to replace SIGNAL_CONNECT with g_signal_connectUlf Lamping1-8/+8
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 all appearances of BUTTON_NEW_FROM_STOCK with GTK2's ↵Ulf Lamping1-1/+1
gtk_button_new_from_stock svn path=/trunk/; revision=24904
2008-04-11OBJECT_..._DATA --> g_object_..._dataBill Meier1-2/+2
svn path=/trunk/; revision=24898
2008-04-11OBJECT_..._DATA --> g_object_..._dataBill Meier1-12/+12
svn path=/trunk/; revision=24895
2008-04-11Replace all instances of the SIGNAL_CONNECT_OBJECT() macro with the actualStephen Fisher1-2/+3
function name. svn path=/trunk/; revision=24888
2007-11-28Fix bug #954 for LDAP SRT stats along with the same problem in all the otherStephen Fisher1-2/+4
SRT code. svn path=/trunk/; revision=23640
2007-05-29From David Howells :Sebastien Tandel1-2/+2
Fix compilation failures when building wireshark-0.99.6-SVN-21916 on an x86_64-unknown-linux-gnu target with gcc version 4.1.2 20070403 (Red Hat 4.1.2-8). The failures fall into two categories: (1) Casts between pointers and 32-bit integers without an intermediary cast via 'long' or 'unsigned long'. This results in a compiler warning complaining about casts between a pointer and an integer of a different size. (2) Passing values to "%lld" or similar printf-style format options that the compiler thinks are a different size. Such values need to be cast to 'long long' or 'unsigned long long'. svn path=/trunk/; revision=21975
2006-05-31Tethereal/tethereal -> TShark/tshark.Gerald Combs1-1/+1
svn path=/trunk/; revision=18268
2006-05-28Ethereal->WiresharkAnders Broman1-8/+8
svn path=/trunk/; revision=18232
2006-05-22Get rid of a bunch of "Ethereal"s and "ethereal"s in comments, GUIGuy Harris1-3/+3
strings, and function names. svn path=/trunk/; revision=18205
2006-05-21name changeRonnie Sahlberg1-2/+2
svn path=/trunk/; revision=18197
2006-02-11 add an userdata argument to register_stat_cmd_arg() and its callback to use ↵Luis Ontanon1-3/+3
the callback for multiple registrations. svn path=/trunk/; revision=17252
2005-12-31fix #152Ulf Lamping1-1/+2
set the read filter dialog modal and transient to the parent window if requested. This way, it will receive input signals (solving problems with GTK2's gtk_file_chooser). To do this, add another construct_args flag, so it will be modal only if really needed ... svn path=/trunk/; revision=16926
2005-09-14Have cf_retap_packets() take an argument that indicates whether toGuy Harris1-1/+1
generate columns; use cf_retap_packets instead of cf_redissect_packets() when running taps (the general flow graph stat uses the Info column). svn path=/trunk/; revision=15793
2005-08-21As per a suggestion by Ulf Lamping, rename gtk_*.[ch] to gui_*.[ch], soGuy Harris1-1/+1
that it doesn't appear to be part of GTK+. svn path=/trunk/; revision=15501
2005-08-21Add a "register_dfilter_stat()", to register stats that take a displayGuy Harris1-1/+2
filter as an argument on the command line and have a dialog box to enter the display filter through the GUI. Use it for all stats using "gtk_tap_dfilter_dlg_cb()". Add a top-level "stat_menu.h" file to declare "REGISTER_STAT_GROUP_E" for the benefit of the declaration of "register_dfilter_stat()" in the top-level "tap_dfilter_dlg.h". Rename the "stat_menu.h" in the gtk directory to "gtk_stat_menu.h", so as not to have two headers with the same name. Get rid of headers not declaring any functions not being used in the module. svn path=/trunk/; revision=15493
2005-08-20Rename epan/stat.[ch] to epan/stat_cmd_args.[ch] - it only deals withGuy Harris1-1/+1
implementing the "-z" command-line arguments, it doesn't deal with *all* issues for stats. svn path=/trunk/; revision=15483
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-08-19Move the stats.[ch] stuff into epan, so plugins can use it.Guy Harris1-1/+1
svn path=/trunk/; revision=15429
2005-08-19Move the APIs for registering and processing "-z" command-line argumentsGuy Harris1-3/+4
and "Statistics" menu items into "stat.h" and "stat.c", to separate them from the core tapping APIs. A tap could conceivably not register as a "-z" command-line argument or "Statistics" menu item, and a stat could conceivably not be implemented as a tap, and dissectors that implement tapping points don't need the UI-related stuff from "stat.h", they just want the tap-related stuff in <epan/tap.h>. svn path=/trunk/; revision=15427
2005-08-06Squelch more const warnings (and fix some memory leaks that found).Guy Harris1-7/+7
_U_-ify some unused arguments, rather than assigning them to themselves. Un-constify one variable that gets assigned a mallocated pointer. Clean up indentation. svn path=/trunk/; revision=15236
2005-07-24Constify to remove a bunch of warnings. Add some casts to squelchGuy Harris1-5/+5
(presumably-)harmless-but-otherwise-unremovable const-to-nonconst warnings. In the TACACS dissector, clean up the variables used in option parsing to avoid some const-to-nonconst warnings. Clean up some white space. svn path=/trunk/; revision=15043
2005-04-01Rename "register_ethereal_tap()" to "register_tap_listener_cmd_arg()" asGuy Harris1-1/+1
it's used to register a callback for a tap listener invoked if the specified command line argument is specified to the "-z" flag. Move it, along with routines to: look up a "-z" argument in the table constructed by "register_tap_listener_cmd_arg()" and either save the full argument to "-z" and the corresponding listener if it's found or return a failure indication if it isn't; list the available tap listeners; call the "init" routines for the tap listeners saved in the table above; and have Ethereal and Tethereal use those routines. svn path=/trunk/; revision=13993
2005-02-04huge cleanup of capture file API (functions in file.c/file.h).Ulf Lamping1-1/+1
This includes: all functions in file.h now have a cf_ prefix, will have doxygen tags, will have the capture_file *cf as the first parameter and I tried to generalize the return values for non trivial functions. Hopefully, I didn't introduced any new bugs, as I had to change a lot of files... svn path=/trunk/; revision=13289