aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/wlan_stat_dlg.c
AgeCommit message (Collapse)AuthorFilesLines
2009-09-06Rename address_to_str() to ep_address_to_str() because:krj1-6/+6
1) This indicates that the string has ephemeral lifetime 2) More consistent with its existing seasonal counterpart, se_address_to_str(). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29747 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-27Remove the three dots in the menu item.stig1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29584 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-05Squelch a couple of Clang Static Analyzer warnings.gerald1-6/+4
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29304 f5534014-38df-0310-8fa8-9805f1628bb7
2009-06-05Have tap listeners specify whether the "packet" routine requiresguy1-4/+5
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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28645 f5534014-38df-0310-8fa8-9805f1628bb7
2009-06-01wlan_stat: fix a memory leakwmeier1-0/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28562 f5534014-38df-0310-8fa8-9805f1628bb7
2009-04-21Turn on -Wshorten-64-to-32 by default, and fix some issues that turnedguy1-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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28108 f5534014-38df-0310-8fa8-9805f1628bb7
2009-03-19As suggested by Jakub Zawadzki: actually use sizeof(...) rather than a ↵wmeier1-5/+5
numeric constant in various places; git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27800 f5534014-38df-0310-8fa8-9805f1628bb7
2009-03-12From Jakub Zawadzki:stig1-9/+9
Use non-formatting functions when appropriate. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27709 f5534014-38df-0310-8fa8-9805f1628bb7
2008-12-20Fix some typos and spellingwmeier1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27070 f5534014-38df-0310-8fa8-9805f1628bb7
2008-10-31Fix some "format not a string literal and no format arguments" warnings.stig1-2/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26641 f5534014-38df-0310-8fa8-9805f1628bb7
2008-10-29Fix a few (not all) of the current checkapi errors in gtk/sfisher1-1/+1
- Non-ASCII characters in a few filess - Missing $Id$ tag in one file git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26616 f5534014-38df-0310-8fa8-9805f1628bb7
2008-10-13Bring the windows to front when rescanning of packets are done.stig1-0/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26434 f5534014-38df-0310-8fa8-9805f1628bb7
2008-08-05Don't put (non-extern'd) prototypes for protect_thread_critical_region() andmorriss1-34/+33
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 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25933 f5534014-38df-0310-8fa8-9805f1628bb7
2008-06-29Fix some simple cases of GTK2 deprecated API usage by using a renamed or ↵wmeier1-5/+5
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() git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25634 f5534014-38df-0310-8fa8-9805f1628bb7
2008-06-21Removed the usage of topic_available() as we now have all topics.stig1-12/+7
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25505 f5534014-38df-0310-8fa8-9805f1628bb7
2008-05-19Fixed percent sorting and export to csv after text-value switch in last commit.stig1-7/+6
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25320 f5534014-38df-0310-8fa8-9805f1628bb7
2008-05-18Added check for GTK 2.6.0 for gtk_cell_render_progress_new()stig1-33/+43
Switched columns for percent text and percent value. Fixed generated filter for BSSID and/or SSID. Fix for merging elements with only BSSID or SSID. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25319 f5534014-38df-0310-8fa8-9805f1628bb7
2008-05-17- Rewrote to use GtkTreeView instead of GtkCList.stig1-588/+561
- Use the common function for applying a selected filter. - Put a frame around the two tables. - Enhanced the percent columns to show a progress bar. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25316 f5534014-38df-0310-8fa8-9805f1628bb7
2008-05-12Added an option to limit the list to match the current display filter.stig1-4/+47
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25281 f5534014-38df-0310-8fa8-9805f1628bb7
2008-05-11Sort list before thaw to avoid flicker when doing capture.stig1-15/+17
Save pane size in recent. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25275 f5534014-38df-0310-8fa8-9805f1628bb7
2008-05-05Handle SSID as binary in WLAN Traffic Statistics.stig1-33/+26
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25237 f5534014-38df-0310-8fa8-9805f1628bb7
2008-05-04Improved the WLAN Traffic Statistics:stig1-15/+751
- Added details for each network - Added context menu for adding a filter - Keep the selected network when capturing - Show probe requests with broadcast ssid - Print '.' for non-printable characters in ssid git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25226 f5534014-38df-0310-8fa8-9805f1628bb7
2008-04-17rename REGISTER_xxx_GROUP_NONE to REGISTER_xxx_GROUP_UNSORTED, as NONE seems ↵ulfl1-1/+1
a bit misleading git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25086 f5534014-38df-0310-8fa8-9805f1628bb7
2008-04-13sort #includes by directoriesulfl1-7/+12
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@24969 f5534014-38df-0310-8fa8-9805f1628bb7
2008-04-12where it's not necessary, remove #include "compat_macros.h"ulfl1-1/+0
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@24922 f5534014-38df-0310-8fa8-9805f1628bb7
2008-04-11last round to replace SIGNAL_CONNECT with g_signal_connectulfl1-7/+7
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@24918 f5534014-38df-0310-8fa8-9805f1628bb7
2008-04-11replace CHECK_BUTTON_NEW_WITH_MNEMONIC with gtk_check_button_new_with_mnemoniculfl1-2/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@24905 f5534014-38df-0310-8fa8-9805f1628bb7
2008-04-11OBJECT_..._DATA --> g_object_..._datawmeier1-3/+3
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@24899 f5534014-38df-0310-8fa8-9805f1628bb7
2008-04-07remove GTK1 codeulfl1-14/+0
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@24824 f5534014-38df-0310-8fa8-9805f1628bb7
2008-03-01Include epan/strutil.h for gtk-1.2 builds.tuexen1-0/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@24513 f5534014-38df-0310-8fa8-9805f1628bb7
2008-02-29Next attempt to cleanup some string functions, including:stig1-4/+4
strncpy -> g_strlcpy, strncat -> g_strlcat git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@24504 f5534014-38df-0310-8fa8-9805f1628bb7
2008-02-14Added option to turn off name resolution.stig1-5/+46
Added help button (documentation TBD). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@24329 f5534014-38df-0310-8fa8-9805f1628bb7
2008-02-13Do not update window title when destroying the dialog.stig1-4/+6
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@24314 f5534014-38df-0310-8fa8-9805f1628bb7
2008-02-12Fixed an incorrect free loop.stig1-1/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@24311 f5534014-38df-0310-8fa8-9805f1628bb7
2008-02-12Added WLAN Traffic Statistics dialog.stig1-0/+547
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@24310 f5534014-38df-0310-8fa8-9805f1628bb7