aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/airpcap_gui_utils.c
AgeCommit message (Collapse)AuthorFilesLines
2009-07-17Set the extension channel correctly. Fixup whitespace.Gerald Combs1-32/+35
svn path=/trunk/; revision=29135
2009-07-01Fix a key entry bug in the decryption key dialog. Remove some unused /Gerald Combs1-71/+0
unnecessary functions. Clean up code in a couple of places. svn path=/trunk/; revision=28908
2009-06-30Put in missing newline at the end.Guy Harris1-1/+1
svn path=/trunk/; revision=28887
2009-06-29Fix a couple of AirPcap channel/offset bugs. Remove an unusedGerald Combs1-30/+67
routine. Fixup whitespace in a couple of places. svn path=/trunk/; revision=28886
2009-06-09For interfaces that don't support PacketOpenAdapter (such as TurboCap),Gerald Combs1-1/+1
disable the "Details" button in the interface list. Update an error dialog to try to be more helpful. svn path=/trunk/; revision=28675
2009-05-13Remove airpcap_get_all_channels_list, it isn't usedJörg Mayer1-42/+0
anywhere. svn path=/trunk/; revision=28354
2009-05-13Forgot to convert the types in these files as well.Jörg Mayer1-13/+13
svn path=/trunk/; revision=28353
2009-05-13Don't check if unsigned values are > 0.Stig Bjørlykke1-4/+4
Removed some unused variables and marked some unused arguments. svn path=/trunk/; revision=28351
2009-05-13Migrate the Airpcap UI code from GtkCombos (deprecated) to GtkComboBoxes.Gerald Combs1-177/+187
Consolidate some common code. Rename a bunch of variables. Remove some unused code. Fix an offset flag bug in airpcap_loader.c. This had to be merged by hand with r28349. Hopefully none of those changes were clobbered. svn path=/trunk/; revision=28350
2009-05-13Fixed some compiler warnings on OSX.Stig Bjørlykke1-9/+5
Removed some unused variables. svn path=/trunk/; revision=28347
2009-03-19As suggested by Jakub Zawadzki: actually use sizeof(...) rather than a ↵Bill Meier1-2/+2
numeric constant in various places; svn path=/trunk/; revision=27800
2008-10-17When we set the channel and offset entries in the wireless toolbar,Gerald Combs1-5/+5
set the offset first. This makes sure the offset entry is initialized correctly. In the advanced wireless settings dialog, don't bother enabling/disabling the toolbar. Remove some leftover debugging code. Remove some checks for data we don't use (and mark it as unused). Fixup whitespace. svn path=/trunk/; revision=26487
2008-08-14Fix a spelling errorBill Meier1-2/+2
svn path=/trunk/; revision=26016
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-1/+1
svn path=/trunk/; revision=25244
2008-04-13sort #includes by directoriesUlf Lamping1-6/+7
svn path=/trunk/; revision=24967
2008-04-12remove unrequired "references" to gtkglobals.hUlf Lamping1-1/+0
svn path=/trunk/; revision=24938
2008-04-12where it's not necessary, remove #include "compat_macros.h"Ulf Lamping1-1/+0
svn path=/trunk/; revision=24922
2008-04-09Get the Windows build going again(?).Anders Broman1-1/+1
svn path=/trunk/; revision=24869
2008-04-09Remove:Anders Broman1-4/+0
#ifdef NEED_G_ASCII_STRCASECMP_H #include "g_ascii_strcasecmp.h" #endif svn path=/trunk/; revision=24868
2008-04-09Start getting rid of the uses of compat_macro.h's macros.Stephen Fisher1-39/+39
svn path=/trunk/; revision=24860
2008-02-01Rewrote some prohibited APIs in gtk/ (sprintf, strcpy, strcat).Stig Bjørlykke1-2/+2
If we get some truncated strings we probably overwrote some buffers... svn path=/trunk/; revision=24239
2008-01-24Fix various small memory leaks & 1 invalid g_free (airpcap_gui_utils.c)Bill Meier1-8/+26
svn path=/trunk/; revision=24185
2007-11-27strcasecmp(), strncasecmp(), g_strcasecmp(), and g_strncasecmp() delendaGuy Harris1-17/+21
est. Use g_ascii_strcasecmp() and g_ascii_strncasecmp(), and supply our own versions if they're missing from GLib (as is the case with GLib 1.x). In the code to build the list of named fields for Diameter, don't use g_strdown(); do our own g_ascii_-style upper-case to lower-case mapping in the hash function and use g_ascii_strcasecmp() in the compare function. We do this because there is no guarantee that toupper(), tolower(), and functions that use them will, for example, map between "I" and "i" in all locales; in Turkish locales, for example, there are, in both upper case and lower case, versions of "i" with and without a dot, and the upper-case version of "i" is "I"-with-a-dot and the lower-case version of "I" is "i"-without-a-dot. This causes strings that should match not to match. This finishes fixing bug 2010 - an earlier checkin prevented the crash (as there are other ways to produce the same crash, e.g. a bogus dictionary.xml file), but didn't fix the case-insensitive string matching. svn path=/trunk/; revision=23623
2007-08-17Instead of converting between 802.11 frequencies and channels umpteenGerald Combs1-64/+57
different ways, add a set of common conversion routines. Add a "Frequency/Channel" column and fill it in where we can. Fix RSSI column printing in PPI. Fix up whitespace along the way. svn path=/trunk/; revision=22538
2007-07-09From Dustin Johnson: AirPcap display update.Gerald Combs1-1/+5
svn path=/trunk/; revision=22278
2007-05-18From Dustin Johnson:Gerald Combs1-136/+318
- Update the wireless/AirPcap GUI code to support 802.11n as well as some related upcoming code changes. - Remove airpcap.h from the repository, since it exists in the AirPcap devpack (and will be superseded Real Soon Now). - Show the individual channel flag bits in radiotap. Fix the 802.11n MCS set display. This is a partial checkin, so hopefully nothing is broken. svn path=/trunk/; revision=21831
2007-01-26Spelling fixes.Gerald Combs1-2/+2
svn path=/trunk/; revision=20561
2007-01-11Fix compilation problems under Windows. In the GTK code, convert SSIDsGerald Combs1-599/+601
to GByteArrays. Add format_uri() to strutil, which formats a byte string with percent-escapes. Fixup whitespace and indentation. svn path=/trunk/; revision=20397
2006-12-28Move the contents of airpdcap to epan/crypt. Try to fix the currentGerald Combs1-48/+47
distcheck failure. Move the nmake build targets for airpdcap from epan/dissectors to epan. This will probably break the Windows build. svn path=/trunk/; revision=20231
2006-12-12Remove svn:executable property from a few more .[hc] filesBill Meier1-0/+0
svn path=/trunk/; revision=20122
2006-12-05From Davide Schiera and Giorgio Tino: Add initial WPA/WPA2 decryptionGerald Combs1-100/+236
support. WEP key preferences have been overloaded to allow WPA keys. The decryption code currently uses Windows-specific data types, but can be converted to use glib equivalents. Add a few text and whitespace fixups. svn path=/trunk/; revision=20049
2006-10-30From Giorgio Tino: Add support for version 2.0 of the AirPcap driver, Gerald Combs1-20/+193
which has an updated API for WEP key handling. svn path=/trunk/; revision=19736
2006-10-25the labels of the airpcap toolbar, e.g. "Not a valid Wireless Interface" are ↵Ulf Lamping1-6/+8
pretty misleading. I've changed it to "AirPcap interface: Not selected" which might be more helpful svn path=/trunk/; revision=19693
2006-10-19Add support for:Gerald Combs1-26/+372
- The AirPcap Multi-Channel Aggregator (which is marketspeak for an "any" device) - Merging the 802.11 dissector WEP key list with AirPcap's - Decrypting WEP in the adapter, in Wireshark, or not at all Update the release notes. svn path=/trunk/; revision=19599
2006-10-02Fix WEP key bug in the AirPcap code that could cause a crash. EnableGerald Combs1-4/+40
AirPcap by default. Add initial support for the "Any" device in AirPcap (more to come). svn path=/trunk/; revision=19401
2006-08-21Fix up copyrights and whitespace.Gerald Combs1-1/+2
svn path=/trunk/; revision=18981
2006-08-16Add support for AirPcap, an upcoming wireless product from CACE. SupportGerald Combs1-0/+400
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