Commit Graph

379 Commits

Author SHA1 Message Date
Ronnie Sahlberg 6ecf2ccc7b older versions of gcc do not check -W parameters when only running the preprocessor.
change the test for whether -Wdeclaration-after-statement so that it also works for ancient gcc



svn path=/trunk/; revision=21205
2007-03-26 06:52:04 +00:00
Jeff Morriss d14c5ba107 If we're using gcc, try to use -Wdeclaration-after-statement to catch more non-portable commits. I'm not sure if this is the Right Way to test to see if the compiler can handle a specific option but it's simple and efficient enough.
svn path=/trunk/; revision=21195
2007-03-26 00:32:13 +00:00
Stephen Fisher 62f88a4a04 From Sebastien Tandel:
(Temporarily disable the warnings as errors default on Unix to get
to get the buildbots and people with gcc40 going again until those
additional warnings gcc40 generates can be fixed-I'm working on it
ASAP)

   Patch for configure.in which disables by default the treatment of
warnings as errors.
It can be enabled with './configure --with-warnings-as-errors'.
The macro will test first if GCC is present. If it's the case,
HAVE_WARNINGS_AS_ERRORS is defined. All the USING_GCC have been replaced
by HAVE_WARNINGS_AS_ERRORS.
With this switch, people won't suffer from unexpected warnings when
downloading svn sources during the transition time ;)


svn path=/trunk/; revision=21153
2007-03-23 17:49:59 +00:00
Stephen Fisher cdf47e536b Add -Werror when using GCC only to the Makefile.am of the base
directory and most of the plugins to match the same command 
put in the Makefile.nmake files for Windows compliations.  Fix
a few warnings when compiling under gcc 3.4.4 on FreeBSD.  Create
new automake file variable called USING_GCC in configure.in and
wiretap/configure.in to acomplish the above -Werror addition. 


svn path=/trunk/; revision=21127
2007-03-22 23:03:39 +00:00
Gerald Combs 9f8fa9cfe2 Bump the trunk version to 0.99.6.
svn path=/trunk/; revision=20526
2007-01-22 22:57:32 +00:00
Guy Harris bbdb2dd733 Automake variables ending with _LDFLAGS are special:
http://sources.redhat.com/ml/automake/2001-08/msg00046.html

so call it LDFLAGS_SHAREDLIB rather than SHAREDLIB_LDFLAGS.

svn path=/trunk/; revision=20410
2007-01-12 21:04:33 +00:00
Guy Harris 405b7189a4 On Darwin, build shared libraries with -Wl,-single_module to the LDFLAGS
used with shared libraries, to fix some error that shows up in some
cases; some Apple documentation recommends it for most shared libraries.

svn path=/trunk/; revision=20312
2007-01-04 20:47:43 +00:00
Guy Harris fb85064c5e -Wl,-single_module breaks the configure script.
svn path=/trunk/; revision=20302
2007-01-04 11:55:05 +00:00
Guy Harris 461d5cc45f Add -Wl,-single_module to the linker flags in Darwin. The page at
http://developer.apple.com/releasenotes/DeveloperTools/RN-dyld/index.html

says

	The static linker ld(1) supports building dylibs as either
	-multi_module or -single_module.  Conceptually, a multi-module
	dylib is like a group of smaller dylibs - one per source file. 
	The extra meta-data in a multi-module dylib allowed (pre-10.4)
	dyld to delay binding and running initializers on the individual
	modules.  In Mac OS X 10.4 dyld ignores all multi-module
	meta-data and completely binds and runs all initializers the
	same as if it were built single-module.  In general, building
	dylibs -single_module is preferred.  The one case where
	multi-module is still useful is it allows internal functions of
	a dylib to be interposable.  For instance, libSystem.dylib is
	built multi_module so that malloc() can be overridden and all
	uses of malloc in libSystem (e.g.  strdup) would be redirected
	to use the overridden version.

and we don't need the interposability for our dylibs, and Andreas Fink
indicates that it's necessary for the packaged Wireshark builds he's
doing.

svn path=/trunk/; revision=20301
2007-01-04 11:50:41 +00:00
Guy Harris 3c26f89630 When building for Darwin, link with -search_paths_first, so that
--with-pcap=/usr/local will, if there's only a static libpcap in
/usr/local/lib, link with that rather than the system's dynamic version.

Move the check for Cygwin that adds -no-undefined to LDFLAGS to the
section checking for linker flags to add.

svn path=/trunk/; revision=20241
2006-12-30 00:13:00 +00:00
Gerald Combs bd282b4114 Move the contents of airpdcap to epan/crypt. Try to fix the current
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-28 17:22:12 +00:00
Gerald Combs 2437fd2e77 Prepare to move the airpdcap code to epan/crypt (SVN won't let me actually
move the files until these changes are checked in).  Add an AC_DEFINE
for airpdcap (which will be removed once the changes have settled).
Update the airpdcap code to compile on non-Windows systems.  Fix up
comments and whitespace to conform more closely to the rest of the
code base.  Verified to compile under Windows and OS X.

svn path=/trunk/; revision=20227
2006-12-27 23:05:55 +00:00
Jaap Keuter 20e6c8c66f Remove mention of UCD SNMP completely.
svn path=/trunk/; revision=20081
2006-12-09 16:37:54 +00:00
Jörg Mayer e26860607d Get rid of UCD SNMP support (it's not longer supported and
superseeded by net-snmp). Replace some_snmp by net_snmp
where appropriate.


svn path=/trunk/; revision=20071
2006-12-08 15:05:41 +00:00
Gerald Combs c77637f7fa Fix an inadvertent change.
svn path=/trunk/; revision=19837
2006-11-06 23:08:11 +00:00
Gerald Combs 7a6159175f Remove ACN.
svn path=/trunk/; revision=19836
2006-11-06 23:04:53 +00:00
Gerald Combs a076a8731d Bump the version to 0.99.5.
svn path=/trunk/; revision=19781
2006-11-03 06:55:30 +00:00
Jörg Mayer 760e4dfc18 Repeat after me: Test submission before sending.
Repeat after me: Test patches before committing.

svn path=/trunk/; revision=19755
2006-10-31 14:47:34 +00:00
Jörg Mayer 63f00dfdc7 Robert Schwebel:
Fix for http://bugs.wireshark.org/bugzilla/attachment.cgi?id=419&action=view
  cross compilation fails

With the following change: Use only AC_CANONICAL_TARGET

From the autoconf manual:
     The user is encouraged to use either `AC_CANONICAL_BUILD', or
     `AC_CANONICAL_HOST', or `AC_CANONICAL_TARGET', depending on the
     needs.  Using `AC_CANONICAL_TARGET' is enough to run the two other
     macros.


svn path=/trunk/; revision=19753
2006-10-31 11:35:55 +00:00
Jörg Mayer 1069b24680 carsten.prescher@eads.com:
Fix for http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1114
@SHELL@ not replaced in idl2wrs

svn path=/trunk/; revision=19742
2006-10-30 18:17:10 +00:00
Guy Harris 9083d00ccf Line up the colons in the list of configure options.
svn path=/trunk/; revision=19637
2006-10-20 18:51:51 +00:00
Jaap Keuter a3f017648f From Shaun Jackman
The RDM protocol has been accepted as ANSI standard E1.20-2006. The following patch updates the decoder to that spec. 
At the same time it is promoted to a build-in dissector.

svn path=/trunk/; revision=19596
2006-10-18 19:29:05 +00:00
Gerald Combs fbc440bc8b Fix the version.
svn path=/trunk/; revision=19433
2006-10-04 20:53:18 +00:00
Gerald Combs 2649d26145 Fix WEP key bug in the AirPcap code that could cause a crash. Enable
AirPcap by default. Add initial support for the "Any" device in AirPcap
(more to come).

svn path=/trunk/; revision=19401
2006-10-02 23:44:10 +00:00
Luis Ontanon 6462d05044 Move the Lua interface into epan... (not a plugin anymore).
- Rename Tap into Listener
- add a mechanism to pass protocols' tap data to the Listener


svn path=/trunk/; revision=19319
2006-09-25 01:09:00 +00:00
Jörg Mayer 56934c59cb Use portaudio if it's there. Check that we have the right version.
Note: This check is currently carried out by checking that the include
defines PortAudioStream. If you know of any better check, please let
me know.

acinclude.m4:
	Replace sequences of 8 spaces by tab

svn path=/trunk/; revision=19131
2006-09-04 13:34:48 +00:00
Guy Harris 0ec3e5661f Move the codecs into a top-level "codecs" subdirectory; there's no
guarantee that all programs using the codecs will necessarily be using
GTK+.

svn path=/trunk/; revision=19117
2006-09-02 06:39:43 +00:00
Anders Broman 7eac3c2879 From Alejandro Vaquero:
- Change the "listen_rtp" to "rtp_player"
- Change from a plugin to be part of the core
- By default it will not compile with the rtp_player. In order to 
compile it is necessary to:
       + For windows: uncomment the line 
"PORTAUDIO_DIR=$(WIRESHARK_LIBS)\portaudio_v18_1" in config.nmake
       + For linux: using the "--with-portaudio=yes"

svn path=/trunk/; revision=19094
2006-08-30 21:51:31 +00:00
Gerald Combs 52e5d6bb19 Bump the version to 0.99.4.
svn path=/trunk/; revision=19014
2006-08-24 16:23:32 +00:00
Jörg Mayer f311c0817e # Ugly hack, but I don't see how this problem can be solved
# properly that DATAFILE_DIR had a value starting with
# "${prefix}/" instead of e.g. "/usr/local/"

That problem occurs only with current versions of autoconf


svn path=/trunk/; revision=18814
2006-08-01 20:28:32 +00:00
Jörg Mayer 5fe867f085 Jeff Morriss:
According to this page:
	http://lists.gnupg.org/pipermail/gnupg-announce/2003q3/000155.html
	the 'gcry_cipher_hd_t' structure didn't show up until 1.1.42.

svn path=/trunk/; revision=18789
2006-07-25 05:15:00 +00:00
Ronnie Sahlberg 950bd73948 we dont need our own snprintf any more since we always use g_snprintf() instead.
svn path=/trunk/; revision=18771
2006-07-20 10:19:47 +00:00
Gerald Combs 6c787afdb4 Bump the trunk version to 0.99.3.
svn path=/trunk/; revision=18749
2006-07-17 16:05:58 +00:00
Gerald Combs a832d689c6 Under Solaris (9, at least) the "iconv.h" header supplied with GNU libiconv
is incompatible with the iconv routines in libc.  Add an aclocal macro from
Bruno Haible that sorts everything out.

svn path=/trunk/; revision=18729
2006-07-13 18:17:32 +00:00
Jörg Mayer 5a73ccd786 Undo previous patch, it didn't help
svn path=/trunk/; revision=18721
2006-07-12 16:10:28 +00:00
Jörg Mayer 5d7aa867e4 Bugfix:
Variables should *not* be addressed as ${prefix} but as $prefix instead.
  That way they will get substituted and we will not try to open
  '${prefix}/share/wireshark/radius' which might not exist on some
  systems.

svn path=/trunk/; revision=18720
2006-07-12 15:15:21 +00:00
Gerald Combs 1f4873db0b Add the asn1 directory to the distribution.
svn path=/trunk/; revision=18676
2006-07-06 22:34:41 +00:00
Gerald Combs f357915f4c Set the version to 0.99.2, since we're building releases from /trunk again.
svn path=/trunk/; revision=18674
2006-07-06 20:19:01 +00:00
Jaap Keuter 1205ee2a14 From Christian Durrer:
I hope this is the right place to send a patch for a new dissector
plugin. The telegram it dissects are for the communication between PLCs
(Programmable logic controller) from the company Saia Burgess Controls
Ltd. (http://www.start-controls.com, http://www.saia-burgess.com or
http://www.sbc-support.ch). The protocol is named Ether-S-Bus (the PLCs
are called PCD2, PCD3, PCD4).

svn path=/trunk/; revision=18526
2006-06-21 06:31:06 +00:00
Gerald Combs f7e38bd5e6 Change ETH_VAR_IMPORT to WS_VAR_IMPORT. Try to fix a duplicate variable
definition in the Catapult DCT2000 code.

svn path=/trunk/; revision=18524
2006-06-20 18:30:54 +00:00
Jörg Mayer 49e50f70d0 configure.in:
Check for libgcrypt 1.1.0 (note: I don't know which version
        is required, so maybe the version number needs to be changed
        for this test to work reliably).

packet-ipsec.c:
        - Replace __USE_LIBGCRYPT__ by HAVE_LIBGCRYPT to follow
          conventions.
        - Warning fixes: signedness in sscanf (%i -> %u)
        - Warning fixes: mixed declaration and code


svn path=/trunk/; revision=18460
2006-06-14 08:04:43 +00:00
Jörg Mayer eca3662b38 Remove some trailing whitespace
svn path=/trunk/; revision=18452
2006-06-13 15:48:35 +00:00
Michael Tüxen df77e1f0f5 Ethereal->Wireshark
svn path=/trunk/; revision=18300
2006-06-01 10:41:29 +00:00
Gerald Combs 8d6c73e567 More ethereal -> wireshark.
svn path=/trunk/; revision=18292
2006-05-31 22:34:21 +00:00
Gerald Combs eb71f7fb96 Rename the main executable to "wireshark", along with more conversions:
ethereal.com -> wireshark.org
  mailing lists and addresses
  ETHEREAL -> WIRESHARK
  Man pages
  Automake/Autoconf names


svn path=/trunk/; revision=18271
2006-05-31 19:12:15 +00:00
Gerald Combs 8958bab6de Tethereal/tethereal -> TShark/tshark.
svn path=/trunk/; revision=18268
2006-05-31 17:38:42 +00:00
Gerald Combs b15974d094 libethereal -> libwireshark. idl2eth -> idl2wrs. There are a _lot_ of
changes here.  It compiles OK on OS X, but hasn't been tested anywhere else.

svn path=/trunk/; revision=18260
2006-05-31 00:23:01 +00:00
Ronnie Sahlberg 18ffc28bb1 ethereal->wireshark
svn path=/trunk/; revision=18208
2006-05-22 09:05:24 +00:00
Gerald Combs 08dea4588e Bump the version number to 1.1. Clean up the release notes.
svn path=/trunk/; revision=18062
2006-05-01 19:21:00 +00:00
Gerald Combs e9fb9fe971 0.10.14 -> 0.99.0.
svn path=/trunk/; revision=17849
2006-04-12 20:54:40 +00:00