Ulf Lamping
0b97c4211e
sort #includes by directories
...
svn path=/trunk/; revision=24967
2008-04-13 00:55:59 +00:00
Ulf Lamping
b4f3c5fd40
compat_macros.h is gone now!!!
...
all GTK1 compatibility code was removed, so this file can simply be dropped
svn path=/trunk/; revision=24923
2008-04-12 01:41:53 +00:00
Ulf Lamping
9af9a0e619
first round to replace SIGNAL_CONNECT with g_signal_connect
...
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-11 21:20:51 +00:00
Ulf Lamping
c6d13dc2c8
replace WIDGET_SET_SIZE with gtk_widget_set_size_request
...
svn path=/trunk/; revision=24910
2008-04-11 20:31:05 +00:00
Bill Meier
0502078a1b
OBJECT_..._DATA --> g_object_..._data
...
svn path=/trunk/; revision=24898
2008-04-11 17:14:11 +00:00
Ulf Lamping
2ddd2d6b6e
remove GTK1 code
...
svn path=/trunk/; revision=24812
2008-04-06 22:44:20 +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
10a8f59e03
Rewrote some prohibited APIs in gtk/ (sprintf, strcpy, strcat).
...
If we get some truncated strings we probably overwrote some buffers...
svn path=/trunk/; revision=24239
2008-02-01 01:07:58 +00:00
Ulf Lamping
d6f78c3457
from Gisle Vanem:
...
add " && defined(_MSC_VER)", as MingW doesn't need it
svn path=/trunk/; revision=21231
2007-03-27 21:32:14 +00:00
Ulf Lamping
c7ba9e25b3
hmmm, _WINSOCK2API_ is not the way to go, the PSDK that comes with MSVC 6.0 also defines this - but not sockaddr_storage :-(
...
Next try is to use the WINVER #define. AFAIK, this depends on the Platform SDK version used, which is actually our problem here. So this fix *might* work ...
svn path=/trunk/; revision=21168
2007-03-24 18:26:34 +00:00
Ulf Lamping
473f4c3b64
as mentioned by Graham Bloice:
...
sockaddr_storage doesn't depend on the MSVC version used, but the version of the Winsock API, which might be updated by the Platform SDK even on MSVC 6 - so depending on the _MSC_VER is not the way to go
svn path=/trunk/; revision=21162
2007-03-24 02:45:45 +00:00
Gerald Combs
744d6644b8
Instead of checking for WinPcap 4.x versions, assume that if the version
...
is greater than 3 we can get detailed interface information. This should
limit the amount of work we have to do when new WinPcap releases come out.
svn path=/trunk/; revision=20542
2007-01-24 01:16:45 +00:00
Ulf Lamping
e71b416608
fix compilation for:
...
- Visual Studio .NET (2002)
- Visual Studio .NET 2003
svn path=/trunk/; revision=20349
2007-01-08 22:29:18 +00:00
Ulf Lamping
d0724fc02f
fix sockaddr_storage problem for MSVC 7.1 (hmmm, maybe it's a platform SDK issue - time will tell)
...
svn path=/trunk/; revision=20331
2007-01-06 00:48:11 +00:00
Ulf Lamping
bcf21a35d6
MSVC2006 defines sockaddr_storage, so we shouldn't define this on our own for MSVC2006
...
this might be depending on the Platform SDK and not on MSVC version - I don't really know
svn path=/trunk/; revision=20259
2007-01-02 01:52:47 +00:00
Ulf Lamping
57f05a42e6
add WinPcap beta 2 and 3 to the details version check
...
svn path=/trunk/; revision=20080
2006-12-09 10:09:48 +00:00
Ulf Lamping
a1b7a22a8e
from Stephen Fisher:
...
Here is a patch for spelling typos in comments and strings in the gtk/
directories.
svn path=/trunk/; revision=19568
2006-10-17 01:29:55 +00:00
Ulf Lamping
9e4bcdc764
GTK2: add an analog VU meter like display widget
...
Win32: use the widget to display the RSSI and Link Speed values as this is far better understandable than the raw numerical values (especially if you don't know the values well).
the GTK VU meter widget is based on LGPL'ed code from http://www.mumblelina.com/index.php?gtkvumeter=1
... and I've heavily changed and extended it to fit the problem here.
We might use the VU meter widget later at other places as well ...
svn path=/trunk/; revision=19298
2006-09-23 00:14:48 +00:00
Ulf Lamping
de8da839c0
add WinPcap 4.0 beta 1 to the list of known and tested versions
...
svn path=/trunk/; revision=19021
2006-08-24 21:44:30 +00:00
Ulf Lamping
c6c15e8b6b
Slight changes suggested by Jörg Mayer:
...
2,412,000 kHz -> 2412 MHz
Available networks -> Available networks (BSSID list)
svn path=/trunk/; revision=18893
2006-08-13 17:49:58 +00:00
Ulf Lamping
e4f0c6aa3a
some enhancements to the WLAN details
...
svn path=/trunk/; revision=18887
2006-08-12 23:12:21 +00:00
Guy Harris
92552c2d76
Get rid of a bunch of "Ethereal"s and "ethereal"s in comments, GUI
...
strings, and function names.
svn path=/trunk/; revision=18205
2006-05-22 07:29:40 +00:00
Ronnie Sahlberg
89f022b12b
name change
...
svn path=/trunk/; revision=18197
2006-05-21 05:12:17 +00:00
Ulf Lamping
8ff5e909bb
WinPcap 3.2 beta 1 (3, 2, 0, 29) seems to be working with the packet.dll, so don't warn the user about it
...
svn path=/trunk/; revision=17990
2006-04-25 01:22:05 +00:00
Ulf Lamping
3333c5e35d
various changes:
...
mention informational URLs at the beginning and not at each element
replace some // by /**/
start to decode the informational elements in the BSSID list
add a privacy tab to the BSSID list (None, WEP, WPA, WPA2)
various minor label changes
svn path=/trunk/; revision=17988
2006-04-25 00:25:41 +00:00
Ulf Lamping
b02c428877
bugifx (should be copied to the 1.0 trunk): don't crash, if the interface hardware in question was removed since the list of interfaces was generated (NULL pointer returned from wpcap_packet_open() caused a crash)
...
svn path=/trunk/; revision=17987
2006-04-25 00:18:06 +00:00
Jörg Mayer
f1b4e85ee4
Make some /******...*/ lines less wide: They make svn-diffs on the web page
...
unreadable unless you have a 2000xsomething display.
svn path=/trunk/; revision=17978
2006-04-24 16:43:22 +00:00
Ulf Lamping
9f05b7368f
add various OID's and a value_string for all of them
...
add output of some MAC_OPTIONS fields
enhance some 802.11 output labels
svn path=/trunk/; revision=17962
2006-04-22 20:34:14 +00:00
Ulf Lamping
6ee4c7c720
the "Generic dialup adapter" interface doesn't support any OID's at all, extend the tab insensitive mechanism to all tabs
...
svn path=/trunk/; revision=17959
2006-04-22 13:44:11 +00:00
Ulf Lamping
bc8e67a7f1
add a new tab with TCP/IP offloading capabilities
...
add some debug functions to show available OID's
clarify some 802.11 item labels
svn path=/trunk/; revision=17958
2006-04-22 13:21:39 +00:00
Ulf Lamping
9f0bf98861
fix help button settings
...
svn path=/trunk/; revision=17938
2006-04-20 20:40:29 +00:00
Ulf Lamping
fdf555a9cf
From Jaap Keuter, fix for 871: split interface details statistics into it's own tab, making the dialog a lot smaller.
...
svn path=/trunk/; revision=17850
2006-04-12 20:58:20 +00:00
Ulf Lamping
79053183c5
remove dependencies to pcap.h, so getting an idea what needs to be done by 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
2006-02-17 02:18:48 +00:00
Ulf Lamping
89a40818e2
bugfix #709 : don't g_assert returned (mandatory) length of some NDIS driver functions.
...
simply ignore the length returned in that cases
this way, we may "print" buggy data, but that's what the driver returned ...
svn path=/trunk/; revision=17066
2006-01-21 14:36:04 +00:00
Guy Harris
2bccfcd3c4
Squelch a compiler warning.
...
svn path=/trunk/; revision=15888
2005-09-20 08:01:00 +00:00
Ulf Lamping
d0bf73d13d
the buildbot has a problem not knowing sa_family_t, define eth_sa_family_t and use it here (ok, this *is* a dirty hack)
...
don't know why the last commit compiled on my machine and not on the buildbot.
svn path=/trunk/; revision=15887
2005-09-20 02:10:48 +00:00
Ulf Lamping
692ae2c6cb
fix #340 : define the missing sockaddr_storage struct to be able to use Packet32.h even with WinPcap 3.1 and without the platform SDK
...
svn path=/trunk/; revision=15878
2005-09-19 20:59:50 +00:00
Ulf Lamping
eafbbbcabb
renamed ui_util.c/.h to gui_utils.c/.h to prevent confusion with identical named ui_util.h in / dir
...
svn path=/trunk/; revision=15465
2005-08-20 12:09:48 +00:00
Ulf Lamping
c38d160321
don't warn the user about the WinPcap 3.1 release version as being unknown
...
svn path=/trunk/; revision=15283
2005-08-10 19:34:09 +00:00
Anders Broman
06067ecc7c
Add som more const qualifiers.
...
svn path=/trunk/; revision=14795
2005-06-27 08:13:41 +00:00
Ulf Lamping
4eec579041
don't crash if packet.dll is not available, add some more packet.dll version numbers
...
svn path=/trunk/; revision=14414
2005-05-21 11:10:16 +00:00
Ulf Lamping
b5d1f77046
as suggested by Loris: add wpcap_packet_get_version() and check the packet.dll version before using it (very restrictive for now, will check for exact DLL version strings). If version is unknown, ask user to continue or not.
...
svn path=/trunk/; revision=14411
2005-05-21 09:41:57 +00:00
Ulf Lamping
bfbb46de43
win32 only: get interface details from WinPcap's packet.dll (direct access to NDIS specific driver information, upper second GTK part)
...
svn path=/trunk/; revision=14407
2005-05-20 22:23:00 +00:00