Anders Broman
761149722e
Remove the depricated GtkItemFactory code.
...
svn path=/trunk/; revision=34029
2010-08-31 05:48:12 +00:00
Jeff Morriss
b4c2ed1b86
Remove some unnecessary includes: a lot of things don't need globals.h and register.h
...
svn path=/trunk/; revision=34017
2010-08-30 16:10:01 +00:00
Anders Broman
819f0ab85c
Switch wlan_stat_dlg to use GUIManager step 2.
...
svn path=/trunk/; revision=33860
2010-08-20 14:19:06 +00:00
Stig Bjørlykke
4511d518b6
Use defined functions.
...
svn path=/trunk/; revision=33859
2010-08-20 12:05:44 +00:00
Anders Broman
383d3d3da9
Switch wlan_stat_dlg to use GUIManager step 1.
...
svn path=/trunk/; revision=33856
2010-08-20 11:54:18 +00:00
Bill Meier
6cdec04e59
(Minor) Cleanup some "event callback" function declarations/definitions:
...
- Add missing 'user_data' arg as needed;
- Use gboolean rather than int as the type of the value returned.
Also: Cleanup whitespace & reformat long lines in a few cases.
svn path=/trunk/; revision=33679
2010-07-30 12:41:56 +00:00
Bill Meier
32625e0329
Fix some gcc -Wshadow warnings.
...
svn path=/trunk/; revision=31756
2010-02-01 16:22:17 +00:00
Anders Broman
ca43f3cb6a
From Didier Gautheron:
...
Wlan stat: sorting on broadcast is broken if MAC name resolution is disabled.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4398
svn path=/trunk/; revision=31530
2010-01-15 07:01:19 +00:00
Kovarththanan Rajaratnam
8c48c6835f
Rename address_to_str() to ep_address_to_str() because:
...
1) This indicates that the string has ephemeral lifetime
2) More consistent with its existing seasonal counterpart, se_address_to_str().
svn path=/trunk/; revision=29747
2009-09-06 14:25:47 +00:00
Stig Bjørlykke
9c1f832cb4
Remove the three dots in the menu item.
...
svn path=/trunk/; revision=29584
2009-08-27 11:58:03 +00:00
Gerald Combs
65be9b68bd
Squelch a couple of Clang Static Analyzer warnings.
...
svn path=/trunk/; revision=29304
2009-08-05 15:39:29 +00:00
Guy Harris
cf91fdf16b
Have tap listeners specify whether the "packet" routine requires
...
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-06-05 22:42:47 +00:00
Bill Meier
8b47fcfdc0
wlan_stat: fix a memory leak
...
svn path=/trunk/; revision=28562
2009-06-01 17:01:42 +00:00
Guy Harris
54c159cb41
Turn on -Wshorten-64-to-32 by default, and fix some issues that turned
...
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-04-21 16:57:52 +00:00
Bill Meier
27024a1d5a
As suggested by Jakub Zawadzki: actually use sizeof(...) rather than a numeric constant in various places;
...
svn path=/trunk/; revision=27800
2009-03-19 17:49:11 +00:00
Stig Bjørlykke
18c5caa3d4
From Jakub Zawadzki:
...
Use non-formatting functions when appropriate.
svn path=/trunk/; revision=27709
2009-03-12 07:56:42 +00:00
Bill Meier
6fee0f704e
Fix some typos and spelling
...
svn path=/trunk/; revision=27070
2008-12-20 01:39:16 +00:00
Stig Bjørlykke
8608c8f1de
Fix some "format not a string literal and no format arguments" warnings.
...
svn path=/trunk/; revision=26641
2008-10-31 09:53:56 +00:00
Stephen Fisher
e103054f47
Fix a few (not all) of the current checkapi errors in gtk/
...
- Non-ASCII characters in a few filess
- Missing $Id$ tag in one file
svn path=/trunk/; revision=26616
2008-10-29 07:31:45 +00:00
Stig Bjørlykke
6d6288fae9
Bring the windows to front when rescanning of packets are done.
...
svn path=/trunk/; revision=26434
2008-10-13 17:28:48 +00:00
Jeff Morriss
dd6a15e1c7
Don't put (non-extern'd) prototypes for protect_thread_critical_region() and
...
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-08-05 17:33:14 +00:00
Bill Meier
56206e0002
Fix some simple cases of GTK2 deprecated API usage by using a renamed or 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-29 15:51:43 +00:00
Stig Bjørlykke
860028c634
Removed the usage of topic_available() as we now have all topics.
...
svn path=/trunk/; revision=25505
2008-06-21 13:36:31 +00:00
Stig Bjørlykke
476fa1e315
Fixed percent sorting and export to csv after text-value switch in last commit.
...
svn path=/trunk/; revision=25320
2008-05-19 11:51:48 +00:00
Stig Bjørlykke
9612193cec
Added check for GTK 2.6.0 for gtk_cell_render_progress_new()
...
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.
svn path=/trunk/; revision=25319
2008-05-18 20:09:03 +00:00
Stig Bjørlykke
428c5e1eb8
- Rewrote to use GtkTreeView instead of GtkCList.
...
- 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.
svn path=/trunk/; revision=25316
2008-05-17 23:08:36 +00:00
Stig Bjørlykke
355dfa770d
Added an option to limit the list to match the current display filter.
...
svn path=/trunk/; revision=25281
2008-05-12 22:45:08 +00:00
Stig Bjørlykke
319f71c537
Sort list before thaw to avoid flicker when doing capture.
...
Save pane size in recent.
svn path=/trunk/; revision=25275
2008-05-11 18:03:22 +00:00
Stig Bjørlykke
f51d73bb5d
Handle SSID as binary in WLAN Traffic Statistics.
...
svn path=/trunk/; revision=25237
2008-05-05 19:35:16 +00:00
Stig Bjørlykke
b77e2466b8
Improved the WLAN Traffic Statistics:
...
- 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
svn path=/trunk/; revision=25226
2008-05-04 22:37:05 +00:00
Ulf Lamping
85e14ceb86
rename REGISTER_xxx_GROUP_NONE to REGISTER_xxx_GROUP_UNSORTED, as NONE seems a bit misleading
...
svn path=/trunk/; revision=25086
2008-04-17 02:16:39 +00:00
Ulf Lamping
644a474c95
sort #includes by directories
...
svn path=/trunk/; revision=24969
2008-04-13 03:32:24 +00:00
Ulf Lamping
d4ccf577a8
where it's not necessary, remove #include "compat_macros.h"
...
svn path=/trunk/; revision=24922
2008-04-12 01:02:59 +00:00
Ulf Lamping
8e58ec7085
last round to replace SIGNAL_CONNECT with g_signal_connect
...
svn path=/trunk/; revision=24918
2008-04-11 23:16:06 +00:00
Ulf Lamping
4de04eae27
replace CHECK_BUTTON_NEW_WITH_MNEMONIC with gtk_check_button_new_with_mnemonic
...
svn path=/trunk/; revision=24905
2008-04-11 19:04:34 +00:00
Bill Meier
ab9c1b68fd
OBJECT_..._DATA --> g_object_..._data
...
svn path=/trunk/; revision=24899
2008-04-11 17:26:09 +00:00
Ulf Lamping
49ad47d477
remove GTK1 code
...
svn path=/trunk/; revision=24824
2008-04-07 01:05:55 +00:00
Michael Tüxen
4306c7037d
Include epan/strutil.h for gtk-1.2 builds.
...
svn path=/trunk/; revision=24513
2008-03-01 10:23:57 +00:00
Stig Bjørlykke
7deec480ff
Next attempt to cleanup some string functions, including:
...
strncpy -> g_strlcpy, strncat -> g_strlcat
svn path=/trunk/; revision=24504
2008-02-29 13:33:37 +00:00
Stig Bjørlykke
ba11df88da
Added option to turn off name resolution.
...
Added help button (documentation TBD).
svn path=/trunk/; revision=24329
2008-02-14 09:33:57 +00:00
Stig Bjørlykke
5df0b2fe77
Do not update window title when destroying the dialog.
...
svn path=/trunk/; revision=24314
2008-02-13 00:31:54 +00:00
Stig Bjørlykke
f410d0b781
Fixed an incorrect free loop.
...
svn path=/trunk/; revision=24311
2008-02-12 15:18:01 +00:00
Stig Bjørlykke
a356f552b4
Added WLAN Traffic Statistics dialog.
...
svn path=/trunk/; revision=24310
2008-02-12 14:17:18 +00:00