Chris Maynard
47c271fa74
No need to define USE_THREADS twice.
...
svn path=/trunk/; revision=38037
2011-07-15 01:30:06 +00:00
Gerald Combs
a533d70be0
On Windows enable threads everywhere instead of just in dumpcap. If
...
threads are enabled use them to check the recent file list. Fixes bug
3810.
svn path=/trunk/; revision=38033
2011-07-14 23:18:02 +00:00
Stig Bjørlykke
8443bbbf75
Replace all strerror() with g_strerror().
...
Remove our local strerror implementation.
Mark strerror as locale unsafe API.
This fixes bug 5715.
svn path=/trunk/; revision=37812
2011-06-28 09:00:11 +00:00
Gerald Combs
0501a48552
Remove old PCRE references from the Windows build environment. We're not
...
likely to add it back to wireshark-win32-libs and it was never available
in wireshark-win64-libs.
svn path=/trunk/; revision=37778
2011-06-23 23:04:03 +00:00
Stig Bjørlykke
440d1c4e11
AttachConsole() needs _WIN32_WINNT 0x0500.
...
svn path=/trunk/; revision=37730
2011-06-20 08:58:59 +00:00
Stig Bjørlykke
8f7cbf3a8b
Add back support for building with MSVC2005 (and older).
...
svn path=/trunk/; revision=37728
2011-06-20 07:14:57 +00:00
Gerald Combs
8d88f3a790
Make pcap-ng the default. Add a compile-time option to prefer pcap-ng or
...
pcap. Add a "-P" capture option which tries to use pcap instead of
pcap-ng ("-P" seemed to be the best option but we may want to use a
different letter).
Update the documentation and release notes.
svn path=/trunk/; revision=37696
2011-06-17 17:52:31 +00:00
Anders Broman
4f525e3a78
Remove HAVE_AIRPDCAP
...
svn path=/trunk/; revision=37495
2011-05-31 21:38:39 +00:00
Chris Maynard
10ed235707
WANT_PACKET_EDITOR fixups for Windows.
...
svn path=/trunk/; revision=37091
2011-05-12 17:46:54 +00:00
Jakub Zawadzki
b680407847
Conditional support for packet-editor [default=no].
...
svn path=/trunk/; revision=37084
2011-05-12 17:14:59 +00:00
Anders Broman
50e30e3c70
Make the use of UIManager a configure option.
...
NOTE Only for Windows.
Additional moves to UIManager.
svn path=/trunk/; revision=37072
2011-05-12 10:56:26 +00:00
Jeff Morriss
6ff4737f44
On Windows: don't (try but fail--the code did not work) to define
...
HAVE_GZLCEARERR. Define HAVE_INFLATEPRIME if we HAVE_LIBZ.
svn path=/trunk/; revision=36954
2011-04-29 17:30:23 +00:00
Bill Meier
dbc7c80782
Remove the 'NEW_PACKET_LIST' defines & etc (since the code no longer supports the old packet list)
...
svn path=/trunk/; revision=36165
2011-03-08 14:55:07 +00:00
Gerald Combs
cb3aa2b633
Disable Code Analysis warning C6011 for now. Hopefully Clang can pick
...
up the slack.
svn path=/trunk/; revision=35994
2011-02-18 00:33:35 +00:00
Guy Harris
b4f663a29b
On Windows, try putting __declspec(noreturn) in front of declarations of
...
routines that don't return. (This requires that some files include
config.h to get WS_MSVC_NORETURN declared properly.)
svn path=/trunk/; revision=35989
2011-02-17 23:11:49 +00:00
Stephen Fisher
d98194ca3e
Fix typo in comment
...
svn path=/trunk/; revision=35037
2010-11-27 01:13:25 +00:00
Stephen Fisher
6b7aa68613
Define HAVE_GTK in config.h when compiling with GTK for the GUI
...
svn path=/trunk/; revision=35036
2010-11-26 23:50:56 +00:00
Sake Blok
6c97a708c9
Make "bpf_image" available on Windows. This enables the "Compile BPF" button and "dumpcap -d" on Windows.
...
svn path=/trunk/; revision=34357
2010-10-03 22:42:27 +00:00
Sake Blok
f3e94f6753
Retry of SVN 34338, now tested on my WinXP dev VM:
...
Use pcap_open_dead instead of pcap_create for the compile BPF button.
svn path=/trunk/; revision=34340
2010-10-03 12:04:18 +00:00
Bill Meier
45964ddc65
New packet list is no longer experimental.
...
svn path=/trunk/; revision=33876
2010-08-21 13:48:52 +00:00
Gerald Combs
fe79af8f42
From Kovarththanan Rajaratnam via bug 3500:
...
Sébastien's initial commit [1] didn't contain support for embedding Python on
Windows.
[1] http://anonsvn.wireshark.org/viewvc?view=rev&revision=28529
From me:
Comment out PYTHON_EMBED for now.
Start a list of known Python+CRT versions.
Add get_wspython_dir to libwireshark.def.
svn path=/trunk/; revision=33036
2010-06-01 22:20:15 +00:00
Bill Meier
808a95b14e
Some changes req'd to build Wireshark with VS 2010 (VC10). [More changes still needed].
...
svn path=/trunk/; revision=32468
2010-04-14 21:56:00 +00:00
Guy Harris
4827f975cb
Add HAVE_PCAP_FREE_DATALINKS to config.h.win32, as we've added it to
...
config.nmake and Makefile.nmake.
svn path=/trunk/; revision=32224
2010-03-17 19:31:19 +00:00
Gerald Combs
8fc1491a60
Switch to using a bundled version of the openSUSE Build Service packages
...
for GNUTLS since they provide 32-bit and 64-bit Windows packages. We no
longer have winposixtype.h, so remove its #includes and add a ssize_t
typedef to config.h.win32.
svn path=/trunk/; revision=31341
2009-12-21 21:06:01 +00:00
Gerald Combs
7046509b99
Use the WinPcap version of pcap_datalink_val_to_description if it's
...
present. Add an entry for DLT_PPI in case it's not.
svn path=/trunk/; revision=31316
2009-12-18 20:36:36 +00:00
Guy Harris
488253bfe7
Add the time zone abbreviation to the result of abs_time_to_str() and
...
abs_time_secs_to_str().
svn path=/trunk/; revision=31234
2009-12-11 03:39:17 +00:00
Stig Bjørlykke
98024a007f
Invert check for getopt: NEED_GETOPT_H -> HAVE_GETOPT_H
...
Rename getopt.[ch] -> wsgetopt.[ch] to avoid name collision.
svn path=/trunk/; revision=30370
2009-10-06 16:01:18 +00:00
Kovarththanan Rajaratnam
2547ce21bf
We no longer support the old plugin API so remove it completely from the build system
...
svn path=/trunk/; revision=29821
2009-09-09 14:01:57 +00:00
Kovarththanan Rajaratnam
974849a9a0
Remove strcasecmp. We use g_ascii_strcasecmp exclusively
...
svn path=/trunk/; revision=29643
2009-08-31 19:47:50 +00:00
Kovarththanan Rajaratnam
612f839c1f
Reorder (no functionality change)
...
svn path=/trunk/; revision=29640
2009-08-31 18:59:21 +00:00
Kovarththanan Rajaratnam
dc958a440b
Remove PRId64, PRIu64, PRIx64, PRIX64, and PRIo64 which are unused
...
svn path=/trunk/; revision=29638
2009-08-31 18:38:07 +00:00
Kovarththanan Rajaratnam
499695595e
Remove superfluous config parameters
...
svn path=/trunk/; revision=29633
2009-08-30 18:30:14 +00:00
Kovarththanan Rajaratnam
b4e821bf0f
Remove outdated comments regarding ZLIB_DLL. We don't have to define this before including zlib.h. This is automatically done if _WIN32 is defined
...
svn path=/trunk/; revision=29632
2009-08-30 17:23:47 +00:00
Kovarththanan Rajaratnam
59a1af9c99
Add a couple of comments to HAVE_DIRECT_H, HAVE_WINDOWS_H and HAVE_WINSOCK2_H
...
svn path=/trunk/; revision=29631
2009-08-30 17:09:40 +00:00
Kovarththanan Rajaratnam
42c0ca3ca7
We require WinPcap > 3.0 so get rid of WPCAP_CONSTIFIED_CONFIG
...
svn path=/trunk/; revision=29616
2009-08-29 08:19:16 +00:00
Gerald Combs
72a20c1695
Pull mkstemp() into tempfile.c. That's the only place we use it now, and
...
it's arguably the only place we _should_ use it. Add create_tempdir() to
tempfile.c and use it to create a temp directory for IP maps. This
should fix bug 3530.
(This still doesn't work on IE 8 / Vista here. IE gives an access denied
error in OpenLayers.js, but this is a separate issue).
svn path=/trunk/; revision=28920
2009-07-02 17:20:27 +00:00
Anders Broman
ddad90c3e3
Make it possible to configure use of NEW_PACKET_LIST and fix
...
one compile error. It still fails in file.c trying to include gtk/gtk.h in new_packet_list.h
svn path=/trunk/; revision=28903
2009-07-01 08:23:32 +00:00
Tomas Kukosa
0a101aacf6
Make gtk/capture_if_details_dlg_win32.c compileable using MSVC6 with SDK
...
svn path=/trunk/; revision=28314
2009-05-08 19:53:41 +00:00
Gerald Combs
c30c410fa5
Add GeoIP to the Windows build. Fix a remaining geoip_ -> geoip_db_
...
conversion.
svn path=/trunk/; revision=27098
2008-12-23 18:56:31 +00:00
Gerald Combs
5906f69b88
On Windows, if we're running anything but plain Visual C++ 6 (including
...
VC6 plus a platform SDK), set INET6. Use that to figure out if we need
to define socklen_t for c-ares. This should fix bug 2797.
svn path=/trunk/; revision=25985
2008-08-11 21:59:59 +00:00
Gerald Combs
021a926793
Add support for the c-ares asynchronous DNS resolution library to the
...
Windows build. Add support for async IPv6 lookups. Update the ADNS
code slightly.
This is not supported (yet) on the UNIX side.
svn path=/trunk/; revision=25953
2008-08-07 21:41:48 +00:00
Gerald Combs
48c21706f2
Add TurboCap-related changes from /trunk-1.0:
...
From Dustin Johnson: Add support for TurboCap.
- packet-ppi.c: Add aggregation and 802.3 extended information.
- capture-wpcap.c: Add support for pcap_list_datalinks and pcap_set_datalink.
Make pcap_list_datalinks and pcap_set_datalink mandatory on Windows.
svn path=/trunk/; revision=25593
2008-06-24 21:16:22 +00:00
Anders Broman
79de16f83c
Flex (v 2.5.35) uses this symbol to "exclude" unistd.h
...
svn path=/trunk/; revision=25170
2008-04-25 06:42:37 +00:00
Guy Harris
947e70b4b7
Delete the *right* config.h.win32.
...
Copy the MSVC++-version-checking stuff from it into the top-level
config.h.win32, and try to set up config.nmake so that MSC_VER_REQUIRED
is defined in all Makefiles that include config.nmake.
svn path=/trunk/; revision=23802
2007-12-07 23:58:46 +00:00
Guy Harris
8b87d048e9
Deleted the wrong config.h.win32.
...
svn path=/trunk/; revision=23801
2007-12-07 23:52:42 +00:00
Guy Harris
034bdaeb9b
That's not the right way to resuscitate a file.
...
svn path=/trunk/; revision=23800
2007-12-07 23:52:21 +00:00
Guy Harris
af15ea1ca7
Deleted the wrong config.h.win32.
...
svn path=/trunk/; revision=23799
2007-12-07 23:48:18 +00:00
Guy Harris
8b14380c28
Run runlex.sh from the tools directory. Get rid of the extra copy in
...
the top-level directory.
Don't build config.h in the wiretap directory - it now uses config.h
from the top-level directory. Get rid of the template config.h.win32 in
that directory.
Get rid of files that are no longer in the wiretap directory or are no
longer constructed in that directory.
svn path=/trunk/; revision=23797
2007-12-07 23:38:59 +00:00
Tomas Kukosa
08bbd29c71
Support for RPCAP features in GUI (from Boris Misenov, see Bug 1366)
...
- retrieving the list of remote PCAP interfaces
- password authentication support
- UDP data fransfer
- packet sampling (available in WinPcap 4.x)
etc.
fix problem if non-default rpcap port is used
svn path=/trunk/; revision=23750
2007-12-04 11:19:29 +00:00
Ulf Lamping
99d60cce59
first steps to support MSVC 2008 Express Edition
...
svn path=/trunk/; revision=23691
2007-11-30 22:01:05 +00:00