Commit Graph

877 Commits

Author SHA1 Message Date
Jeff Morriss 77327f1b6f Tighten the blurb regexp. Check for leading/trailing white space in blurbs. Check for any white space in the abbreviation.
svn path=/trunk/; revision=34405
2010-10-07 16:40:22 +00:00
Tomas Kukosa 5fbdb1c378 Generate proper extension flags for empty constructed types SEQUENCE { ... } and CHOICE { ... }
svn path=/trunk/; revision=34400
2010-10-07 14:24:04 +00:00
Jeff Morriss 8947fc6a89 Enable hf checks by default. Add a check to see if the abbreviation is equal to the hf_variable_name.
svn path=/trunk/; revision=34398
2010-10-06 21:54:01 +00:00
Anders Broman dd551b6585 Use the new GTK bundles.
svn path=/trunk/; revision=34382
2010-10-05 15:46:13 +00:00
Stephen Fisher 7b35e1195c Stop the MS-DOS style path name warnings when compiling on Windows.
svn path=/trunk/; revision=34375
2010-10-04 22:00:50 +00:00
Gerald Combs 617864a070 Fix the minimum length.
svn path=/trunk/; revision=34374
2010-10-04 20:52:02 +00:00
Gerald Combs 5769b521bd Stig pointed out that we need to exclude some entries.
svn path=/trunk/; revision=34372
2010-10-04 20:15:48 +00:00
Gerald Combs 3e84ad5147 Copy make-sminmpec.pl to make-services.pl and modify it to fetch the
IANA port-numbers file and save it to "services". Use it to update
"services".

svn path=/trunk/; revision=34371
2010-10-04 18:53:39 +00:00
Guy Harris b6431b4a1f Don't attempt to put into the release tarball something that no longer
exists.

svn path=/trunk/; revision=34370
2010-10-04 18:53:02 +00:00
Gerald Combs f6f4b46ef3 We haven't used CVS in a good long while.
svn path=/trunk/; revision=34367
2010-10-04 18:13:01 +00:00
Jeff Morriss 4dc93213e3 Don't use a regexp to compare the name to the blurb, just convert them both to lower case before doing the comparison.
svn path=/trunk/; revision=34324
2010-10-02 01:47:16 +00:00
Jeff Morriss c39f840519 When checking hf, do a case-insensitive comparison between the name and the blurb.
svn path=/trunk/; revision=34323
2010-10-02 01:34:31 +00:00
Ronnie Sahlberg 34c9bd4fe6 The array sminmpec_values should not be declated static since it is
referenced from several dissectors


svn path=/trunk/; revision=34269
2010-09-28 03:31:03 +00:00
Jeff Morriss 9ba7c5f9df A simple tool to remove bogus blurbs from hf entries.
This has already been run so it may not be necessary any more, but
may as well check it in in case it can serve as a base for other, future,
global hf changes.

svn path=/trunk/; revision=34242
2010-09-24 20:40:03 +00:00
Jeff Morriss d7b10fbe55 Inspired by https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3548 :
Add the option to check hf entries for various problems.  This is disabled by
default for the moment as it's quite noisy.

The regexps may need some additional fine tuning (or maybe simplification),
but they seem to work pretty well.

Arguably this might make more sense in checkhf.pl but it was easier to integrate
into this script.

svn path=/trunk/; revision=34240
2010-09-24 20:26:29 +00:00
Jeff Morriss cca3ba3ce2 (Refining the regexp...) Replace blurbs that match the name (case insensitive) with NULL.
svn path=/trunk/; revision=34230
2010-09-24 02:51:40 +00:00
Bill Meier 55620b5b75 Generate the value_string array sminmpec_values[] with "gaps"
filled in (using name "(Unknown)" so that direct (indexed)
access to the value_string is possible.

Note that this represents a slight API change in that
match_strval() on sminmpec_values  will no longer return NULL for
missing enterprise numbers (less than the maximum in the array)
but will return the string "(Unknown)".

AFAIKT this change does not materially affect existing Wireshark
use of the sminmpec value_string array.

svn path=/trunk/; revision=34218
2010-09-23 18:48:19 +00:00
Bill Meier 7219ee2a49 Use val_to_str_ext() & friends to access sminmpec_values[];
Also: packet-nhrp.c: #include sminmpec.h not req'd;

svn path=/trunk/; revision=34143
2010-09-17 04:51:21 +00:00
Jeff Morriss 2b52159449 Follow up to bug 5209 and rev 34115:
%hh is C99 so remove it from packet-ssl-utils and add it to the banned list
(similar to %ll) in checkAPIs.pl .


svn path=/trunk/; revision=34120
2010-09-15 14:10:25 +00:00
Jeff Morriss 7d20440ff0 Introduce 2 new environment variables: WIRESHARK_EP_VERIFY_POINTERS and
WIRESHARK_SE_VERIFY_POINTERS that control whether or not we verify if a given
pointer is ep_ or se_ allocated, respectively.

Turn the behavior off by default for speed reasons (the speed difference isn't
huge, but...).

Turn the behavior on when fuzz testing.

Document these two new variables in the man pages.

svn path=/trunk/; revision=34046
2010-09-02 18:02:06 +00:00
Jeff Morriss 43af5f6344 Update the WinPcap developer's pack to 4.1.2. Update PCAP_VERSION to 4.1.2 on Win64 too (for consistency more than anything I think).
svn path=/trunk/; revision=33923
2010-08-25 18:20:56 +00:00
Tomas Kukosa 7c60d30dc5 - fix using hex values as constraint
- avoid crash if unknown type is used in type assignment

svn path=/trunk/; revision=33905
2010-08-24 05:53:17 +00:00
Bill Meier df29b59def All use of deprecated GtkOptionMenu functions fixed: Error if any usage found.
Warn instead of Error for several deprecated GTK functions used recently
 in Wireshark source (1 GtkCombo function and 2 GtkItemFactory functions).
 (ToDo: replace remaining use of GtkCombo and all use of GtkItemFactory).

svn path=/trunk/; revision=33598
2010-07-20 23:58:56 +00:00
Gerald Combs 334f5715cd Dump the error output when we have a problem.
svn path=/trunk/; revision=33594
2010-07-20 15:49:57 +00:00
Gerald Combs 6a49671fa2 Make sure we use the "randpkt-" prefix everywhere.
svn path=/trunk/; revision=33468
2010-07-07 19:53:40 +00:00
Gerald Combs 3bc24f2d98 Try limiting our stack size.
svn path=/trunk/; revision=33466
2010-07-07 16:55:42 +00:00
Graeme Lunt 5aa05c8559 New "#.SYNTAX" section for the asn2wrs conformance file.
This allows syntaxes to be registered separately from PDUs.
Within the new section, the ASN.1 types to be used as syntaxes should be iterated. 
An optional second parameter on each line may be provided to provide an alternative name for the syntax (that the user will see). This name must be in double quotes.



svn path=/trunk/; revision=33370
2010-06-29 12:16:10 +00:00
Graeme Lunt 0d9ad5016e Remove the -R flag (used to generate syntax registrations) and replace with a
packet-<proto>-syn-reg.c output file. This is more generic and allows the 
syntax registrations to the directed from the template file.


svn path=/trunk/; revision=33342
2010-06-28 09:26:41 +00:00
Graeme Lunt 2e28eb7b5f New option (-r) to allow a prefix to be removed from type names.
Usage: asn2wrs.py -r prefix

This is used by x509sat where a prefix is used in type names to 
avoid conflicts with built-in types.


svn path=/trunk/; revision=33298
2010-06-23 11:00:46 +00:00
Bill Meier eb232c3954 Add a few deprecated GObject fcns;
Fix some typos and capitalization.

svn path=/trunk/; revision=33254
2010-06-18 22:17:43 +00:00
Bill Meier 459eb4eed7 Add deprecated from GLib 2.24
svn path=/trunk/; revision=33247
2010-06-17 18:12:46 +00:00
Bill Meier e636286b3c Add GTK deprecated from GTK 2.20.
svn path=/trunk/; revision=33246
2010-06-17 17:51:52 +00:00
Graeme Lunt a3300280f2 New option (-R) to asn2wrs to register the PDUs defined in the conformance file as BER syntaxes (register_ber_syntax_dissector()).
svn path=/trunk/; revision=33175
2010-06-09 09:27:28 +00:00
Jeff Morriss 0a7ced6eb4 Add BIN_DIR. If it is '.' then set WIRESHARK_RUN_FROM_BUILD_DIRECTORY so that we test plugins
svn path=/trunk/; revision=33093
2010-06-04 19:57:11 +00:00
Gerald Combs e5def72fe7 If BIN_DIR is ".", set WIRESHARK_RUN_FROM_BUILD_DIRECTORY so that we
test plugins.

svn path=/trunk/; revision=33085
2010-06-04 16:59:49 +00:00
Jeff Morriss 584595fab3 From Peter Harris via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4820 :
Mesa moved its API description file again.

Also, while I'm here, I noticed that they stopped using signed tags, so add
--tags to "git describe" for a better description of the mesa version used to
build the X11 dissector.

svn path=/trunk/; revision=33067
2010-06-03 02:05:52 +00:00
Guy Harris 347e7a0052 More <stdarg.h> cleanup; some are real bugs, some are just "don't do
va_start and va_end unless you're actually going to use the va_list"
(those bring the va_start and va_end closer to the use point, which
makes it a little more obvious that we're using <stdarg.h> correctly and
makes it a little harder to use it incorrectly).

svn path=/trunk/; revision=32963
2010-05-26 02:25:13 +00:00
Tomas Kukosa 2f0c4dde50 Support of value_string_ext in the asn2wrs using new directive #.USE_VALS_EXT
Example usage in NBAP

svn path=/trunk/; revision=32944
2010-05-25 09:07:12 +00:00
Jeff Morriss ca2a2b6298 Fix the value_string regexp so it doesn't match value_string_ext (which we don't have to check for NULL termination and the like)
svn path=/trunk/; revision=32937
2010-05-24 22:31:51 +00:00
Guy Harris 1b444c55fd Refer to the endianness arguments as "encoding" rather than
"representation" - we already use "representation" to refer to the text
representation of fields.

Change some routines with an endianness argument to make it a
representation argument instead; 

svn path=/trunk/; revision=32929
2010-05-24 06:06:17 +00:00
Jeff Morriss 734fb0725f Add a bunch of tools to the source distribution
svn path=/trunk/; revision=32847
2010-05-17 20:38:46 +00:00
Jeff Morriss 54082c6ed0 Add Cmake stuff to the source distribution so more people can try it out.
svn path=/trunk/; revision=32807
2010-05-14 16:27:03 +00:00
Tomas Kukosa 0611ae90a0 Support of AUTOMATIC tagging environment
(necessary for generating e.g. H.248 from original ASN.1 source)

svn path=/trunk/; revision=32782
2010-05-13 13:16:26 +00:00
Tomas Kukosa e32b9b9062 ASN.1 compiler accepts version brackets in SEQUENCE and CHOICE extensions
svn path=/trunk/; revision=32781
2010-05-13 10:00:37 +00:00
Guy Harris 998677339e Create a new REP_NA value for fields where there are no representations
from which to choose; use that for protocol fields in some protocols
(modify the CORBA generator to use it, and manually update the generated
CORBA dissectors accordingly).

svn path=/trunk/; revision=32777
2010-05-13 00:20:40 +00:00
Jeff Morriss a0c858efcd Add a little more code to avoid not-very-useful blurbs:
- Change spaces in the name to underscores before comparing it to the blurb.
  - Check if the type simply as T_ prepended to the name.
  - Don't put in a blurb of "NULL".

and regenerate the dissectors.

svn path=/trunk/; revision=32748
2010-05-11 03:53:31 +00:00
Tomas Kukosa 2de8a5f703 Add missing textify.sh to source distribution
svn path=/trunk/; revision=32732
2010-05-10 06:54:16 +00:00
Jeff Morriss e743c4e101 Try to avoid the user confusion reported in
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3477 by not using blurbs
that look like abbreviations (filter strings).

While we're at it try to avoid giving blurbs that are identical (or nearly so)
to the field name.

Regenerate a couple of dissectors like this to prove out the idea.

svn path=/trunk/; revision=32673
2010-05-05 14:29:55 +00:00
Anders Broman fc0932168f Run deprecated-gtk-todoon all files in the gtk dir.
svn path=/trunk/; revision=32638
2010-05-02 21:42:53 +00:00
Bill Meier 412fc3d5c5 From Chris Maynard: Fix Bug #1292: "Win32: confusing setup target warning if cl.exe is not in path"
See: https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1292

svn path=/trunk/; revision=32614
2010-04-30 20:15:27 +00:00
Jeff Morriss 2dc4b6ae91 Export MALLOC_CHECK_=3 when fuzz testing in case we're on a glibc-based system:
this value will cause glibc to do some memory allocation checking for us and
abort if it finds a problem.

(If we're not on a glibc-based system this will have no effect but should also
do no harm.)

(I think the buildbot already runs with this set but it's better for all of us
to have it set, too.)

svn path=/trunk/; revision=32528
2010-04-21 00:53:24 +00:00
Jeff Morriss ea25410415 From Peter Harris via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4481 :
The XKEYBOARD extension is a pain in the... so XCB had to grow new ways to
describe the protocol.

This patch adds support to the Wireshark dissector, so it can successfully
process the XCB description of the XKEYBOARD extension.

Without this patch, "make x11-dissector" chokes on the current xcbproto from
git.

Also update the script to deal with the new mesa directory structure.

svn path=/trunk/; revision=32520
2010-04-20 00:18:51 +00:00
Jeff Morriss c9b88696c9 Turn on memory scrubbing when fuzz testing.
svn path=/trunk/; revision=32487
2010-04-16 00:56:11 +00:00
Gerald Combs de742b8932 Fix the build.
svn path=/trunk/; revision=32442
2010-04-10 01:45:36 +00:00
Gerald Combs 6cd62e9e65 Rename README.win32 to README.windows and add a 64-bit download link.
Add tools/textify.sh, which makes a Notepad-clickable copy of a text
file. Use it for COPYING, NEWS, README, README.windows, and help/*.txt.

Remove tools/unix2dos.pl and use Cygwin's u2d instead.

svn path=/trunk/; revision=32440
2010-04-09 21:42:51 +00:00
Anders Broman 7cfa27b04b Get rid of a bunch of check_col().
svn path=/trunk/; revision=32388
2010-04-05 20:04:52 +00:00
Gerald Combs 12e2df52e1 Update c-ares to 1.7.1.
svn path=/trunk/; revision=32293
2010-03-26 18:36:27 +00:00
Bill Meier 2b75413d3a Set svn:executable property for some .py and .pl files
svn path=/trunk/; revision=32287
2010-03-25 22:22:45 +00:00
Bill Meier 316a01437f Add svn:eol-style native property
svn path=/trunk/; revision=32285
2010-03-25 20:59:08 +00:00
Bill Meier 264d162f8d (Minor): Improve an output message.
svn path=/trunk/; revision=32277
2010-03-25 18:50:31 +00:00
Guy Harris 19e2f43d79 Update the list of pidl files.
svn path=/trunk/; revision=32181
2010-03-13 19:38:19 +00:00
Jörg Mayer 8d5df4249e Update pidl directory to mirror current samba sources.
I hope we didn't have any local changes in there.

svn path=/trunk/; revision=32179
2010-03-13 10:48:18 +00:00
Balint Reczey eef2b5a361 Revert accidentally committed change
svn path=/trunk/; revision=32031
2010-02-27 13:24:42 +00:00
Balint Reczey 339131d835 Prevent potential crash in libsmi.
From: Vincent Bernat <bernat@debian.org>

svn path=/trunk/; revision=32006
2010-02-25 19:28:58 +00:00
Gerald Combs a5b39ae47a Use the latest GTK+ 2.16 bundle. For the Win32 build this means downgrading
from GTK+ 2.18. According to https://bugzilla.gnome.org/show_bug.cgi?id=598299
we should probably hold off on using 2.18 for a while.

svn path=/trunk/; revision=31992
2010-02-24 21:08:09 +00:00
Kovarththanan Rajaratnam 2bb18bac8b Point to the correct perl script in the autogenerated file + correct tabs
svn path=/trunk/; revision=31984
2010-02-24 12:28:04 +00:00
Guy Harris 7712d64f42 At least part of the problem is that Bash's test command appears not to
do short-circuit evaluation, so you can't do

	if [ {test 1} -a {test that's not safe if test1 is false} ]
	then
		...
	fi

so don't do that.

svn path=/trunk/; revision=31894
2010-02-16 01:08:07 +00:00
Guy Harris ebe8dc121e Close quote.
svn path=/trunk/; revision=31893
2010-02-16 00:41:06 +00:00
Guy Harris 915f1482db More debug crap.
svn path=/trunk/; revision=31892
2010-02-16 00:00:50 +00:00
Guy Harris 0023958937 More debugging - stripping out the newlines didn't suffice.
svn path=/trunk/; revision=31891
2010-02-15 23:47:05 +00:00
Guy Harris cc1e71a2ac The problem was that if you do, for example:
foo=`echo`

$foo won't be empty, it'll include the newline at the end of the output
of "echo".  The same applies for any other command; strip newlines from
the output of regtool to avoid that problem.

svn path=/trunk/; revision=31889
2010-02-15 23:26:43 +00:00
Guy Harris f3e871e659 Eh? It looks blank, but "-n" should catch that. Hopefully we have "od"
and that'll let us see the raw bytes.

svn path=/trunk/; revision=31888
2010-02-15 23:05:04 +00:00
Guy Harris e5fc4b7b4c Add a debugging printout. (What I found in the Intertubes seems to
indicate that ProxyEnabled is an integral value; if it's not a null
string, and if it's not an integral value, what is it?)

svn path=/trunk/; revision=31887
2010-02-15 22:48:51 +00:00
Guy Harris 2a5b733207 Protect against $proxy_enabled being empty.
svn path=/trunk/; revision=31886
2010-02-15 22:31:21 +00:00
Anders Broman c74f13983d Try to fix the win64 build.
svn path=/trunk/; revision=31885
2010-02-15 22:24:40 +00:00
Anders Broman 72cfbf1e01 Use the latest GTK bundle (2.18.7)
svn path=/trunk/; revision=31882
2010-02-15 20:57:50 +00:00
Gerald Combs 5bf311e5e5 Exit normally when we trap a signal so that things like Buildbot don't
generate unnecessary errors when we cancel a fuzz test.

svn path=/trunk/; revision=31803
2010-02-05 21:35:59 +00:00
Anders Broman 984524db42 Fix from Tomas Kukosa to resolve problem with large negative intiger constraints
"packet-rrlp-fn.c:2391: warning: integer constant is too large for 'long' type."

svn path=/trunk/; revision=31777
2010-02-03 16:58:52 +00:00
Guy Harris b535a07ea0 Added protocol name to "Reassembled length" text.
svn path=/trunk/; revision=31775
2010-02-02 23:31:13 +00:00
Guy Harris 05906068a5 Add a field for the reassembled length.
svn path=/trunk/; revision=31769
2010-02-02 17:48:41 +00:00
Guy Harris a1102bf55c Clean up white space.
svn path=/trunk/; revision=31768
2010-02-02 17:45:59 +00:00
Gerald Combs f1958a48f9 Drop our requirement for MSVCR71.DLL.
svn path=/trunk/; revision=31578
2010-01-19 22:58:12 +00:00
Anders Broman d0ced3ccef Fix a comment.
svn path=/trunk/; revision=31545
2010-01-17 12:19:31 +00:00
Bill Meier 66650422de For now: Add hack so \r ignored when win-setup.sh is invoked from a cygwin bash shell.
See: http://www.mail-archive.com/cygwin-announce@cygwin.com/msg01711.html

Note: another way to do this (as described in the above) might be to
"export the environment variable SHELLOPTS with igncr included in it.
It is read-only from within bash, but you can set it before invoking bash; 
once in bash, it auto-tracks the current state of 'set -o igncr' 
or 'shopt -s igncr'.  If exported, then all bash child processes inherit
the same option settings".


svn path=/trunk/; revision=31538
2010-01-15 21:09:54 +00:00
Gerald Combs b5924db6b8 Set some properties.
svn path=/trunk/; revision=31528
2010-01-14 19:48:50 +00:00
Stig Bjørlykke 6a433058f9 Added check for SIZE constraints in bit-string.
svn path=/trunk/; revision=31447
2010-01-05 11:38:33 +00:00
Bill Meier e3fc8e195c gtk_entry_append_text no longer used by Wireshark: Mark as deprecated-gtk ('W" => 'E')
svn path=/trunk/; revision=31387
2009-12-29 19:30:02 +00:00
Bill Meier 06a1aa808c gtk_progress_bar_update no longer used by Wireshark: Mark as deprecated ('W" => 'E').
svn path=/trunk/; revision=31385
2009-12-29 17:50:03 +00:00
Bill Meier 1b15280a40 Mark certain GTK functions now unused by Wireshark as deprecated ("W" ==> 'E');
Rework usage() text slightly;
Clean up whitespace (untabify & etc).

svn path=/trunk/; revision=31381
2009-12-29 15:35:20 +00:00
Bill Meier 5ae2550311 Update GLib/GTK deprecated lists to match current stable Glib/GTK;
Various other minor changes ....

svn path=/trunk/; revision=31374
2009-12-28 20:54:20 +00:00
Gerald Combs 7b42cf5135 Use the official kfw packages.
svn path=/trunk/; revision=31355
2009-12-23 00:22:12 +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
Guy Harris 8e236e55de For fields of type FT_ABSOLUTE_TIME, have the "display" value be one of
ABSOLUTE_TIME_LOCAL or ABSOLUTE_TIME_UTC, indicating whether to display
the date/time in local time or UTC. (int)ABSOLUTE_TIME_LOCAL ==
(int)BASE_NONE, so there's no source or binary compatiblity issue,
although we might want to eliminate BASE_NONE at some point and have the
BASE_ values used with integral types start at 0, so that you can't
specify BASE_NONE for an integral field.

svn path=/trunk/; revision=31319
2009-12-19 03:17:44 +00:00
Stig Bjørlykke e73a89d91a Added option (-C) to check for SIZE constraints in octet-string, integer,
enumerated, sequence-of and set-of types.

Added BER functions to check for SIZE constraints and give expert info warnings.

svn path=/trunk/; revision=31309
2009-12-18 15:18:31 +00:00
Gerald Combs 7524c0b963 Use the latest c-ares and GeoIP libraries. Try to fix the Win32 installer
build.

svn path=/trunk/; revision=31301
2009-12-17 22:01:13 +00:00
Anders Broman 65a85f0fba Use gtk+-bundle_2.16.6-20091215_win32
svn path=/trunk/; revision=31285
2009-12-16 20:54:40 +00:00
Jaap Keuter ff810ee91c Following bug 4302 added ctime() to the deprecated list.
svn path=/trunk/; revision=31210
2009-12-08 22:26:04 +00:00
Jaap Keuter f4cd9164cb Make the check work on hexadecimal bitmasks.
svn path=/trunk/; revision=31208
2009-12-08 22:10:35 +00:00
Anders Broman ba6d7aa766 Handle lenght restriction extension of restricted strings.
Fixes 
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4251

svn path=/trunk/; revision=31048
2009-11-22 17:01:56 +00:00
Gerald Combs 907bf4e36b Switch from individual GLib, GTK+, and related packages to the all-in-one
versions.

svn path=/trunk/; revision=31023
2009-11-19 20:27:08 +00:00
Gerald Combs 23df4e7f01 Update the AirPcap code for Win64 and enable AirPcap for the 64-bit build.
svn path=/trunk/; revision=30945
2009-11-12 23:48:11 +00:00
Tomas Kukosa 6587112659 Ply 3.3
svn path=/trunk/; revision=30931
2009-11-11 11:08:27 +00:00
Tomas Kukosa 7f38b7b889 Update to the GnuTLS 2.8.5
svn path=/trunk/; revision=30930
2009-11-11 09:58:29 +00:00
Tomas Kukosa 0809a44555 add win-setup.sh and win64-setup.sh to source distribution
svn path=/trunk/; revision=30921
2009-11-10 14:22:23 +00:00
Stig Bjørlykke 17f62a4e1d Removed an unused assignment.
svn path=/trunk/; revision=30893
2009-11-09 14:25:29 +00:00
Jörg Mayer 9ee31d1d0e cmake will now honor -Werror if configured (default: on)
svn path=/trunk/; revision=30852
2009-11-07 10:07:00 +00:00
Stig Bjørlykke fd1a8138cb From Eric Sesterhenn via bug 4175:
Fixed fp leakage in error path.

svn path=/trunk/; revision=30757
2009-10-29 11:23:04 +00:00
Anders Broman c5ce562d60 Use pango 1.26
svn path=/trunk/; revision=30687
2009-10-25 09:59:40 +00:00
Gerald Combs 09a0650607 Update WinPcap and the developer's pack to 4.1.1.
svn path=/trunk/; revision=30652
2009-10-21 03:13:42 +00:00
Stig Bjørlykke 39c732d8bf Removed some redundant prototypes and some shadowed variables.
svn path=/trunk/; revision=30632
2009-10-20 09:31:07 +00:00
Kovarththanan Rajaratnam ea9fca6f4b Default to number of CPUs available
svn path=/trunk/; revision=30591
2009-10-18 08:33:40 +00:00
Jeff Morriss 71b8709d52 Use SE canaries when fuzz testing.
svn path=/trunk/; revision=30566
2009-10-15 22:01:59 +00:00
Bill Meier 500a247519 Add some comments about GMemChunk usage;
Enable 'deprecated' checking for some GLib functions 
 Wireshark doesn't currently use.

svn path=/trunk/; revision=30528
2009-10-12 01:38:43 +00:00
Kovarththanan Rajaratnam b2f70634a7 Align value_string array properly
svn path=/trunk/; revision=30513
2009-10-11 15:03:57 +00:00
Kovarththanan Rajaratnam e6486705f7 Move make-sminmpec.pl to tools directory
svn path=/trunk/; revision=30511
2009-10-11 14:39:14 +00:00
Kovarththanan Rajaratnam f1f6777548 Remove temporary directory on shutdown
svn path=/trunk/; revision=30504
2009-10-11 10:45:48 +00:00
Kovarththanan Rajaratnam ba79395fc5 Add an option to randomize file list order
svn path=/trunk/; revision=30503
2009-10-11 10:39:21 +00:00
Kovarththanan Rajaratnam 539980f441 Remember to create a temporary directory before dissecting
svn path=/trunk/; revision=30486
2009-10-11 05:14:04 +00:00
Kovarththanan Rajaratnam ee95203649 Add tools/lemon/CMakeLists.txt which creates the lemon parser executable
svn path=/trunk/; revision=30461
2009-10-10 05:51:08 +00:00
Kovarththanan Rajaratnam 7fd5cf604f Split register_count() into proto_reg_count() and handoff_reg_count()
svn path=/trunk/; revision=30447
2009-10-09 20:47:18 +00:00
Kovarththanan Rajaratnam adf31b356e Concatenate path in a more portable fashion
svn path=/trunk/; revision=30446
2009-10-09 20:38:51 +00:00
Ronnie Sahlberg 0659b21e03 update pidl to the current samba version so we can generate ndr64
compatible dissectors


svn path=/trunk/; revision=30413
2009-10-09 04:31:21 +00:00
Bill Meier c7820529f5 Fix indentation.
svn path=/trunk/; revision=30380
2009-10-07 01:08:13 +00:00
Kovarththanan Rajaratnam 3d1020840a Remove $Id$
svn path=/trunk/; revision=30368
2009-10-06 14:56:43 +00:00
Anders Broman 8fc53b829b Use gtk_image_new_from_pixmap().
svn path=/trunk/; revision=30316
2009-10-04 18:33:23 +00:00
Anders Broman 199330559c Remove #if 0'ed code.
svn path=/trunk/; revision=30312
2009-10-04 18:21:14 +00:00
Anders Broman ecc0cdb162 From GTK docs:
Warning
gtk_window_set_policy is deprecated and should not be used in newly-written code. Use gtk_window_set_resizable() instead.

Changes how a toplevel window deals with its size request and user resize attempts. There are really only two reasonable ways to call this function: 

1.gtk_window_set_policy (GTK_WINDOW (window), FALSE, TRUE, FALSE) means that the window is user-resizable. 

2.gtk_window_set_policy (GTK_WINDOW (window), FALSE, FALSE, TRUE) means that the window's size is program-controlled, and should simply match the current size request of the window's children. 

gtk_window_set_resizable () :
Sets whether the user can resize a window. Windows are user resizable by default.

svn path=/trunk/; revision=30311
2009-10-04 18:11:22 +00:00
Anders Broman fa3b06e9de Get rid of deprecated symblol gtk_widget_draw().
svn path=/trunk/; revision=30305
2009-10-04 15:49:52 +00:00
Kovarththanan Rajaratnam 7d5b5d118f Don't use echo -e
svn path=/trunk/; revision=30297
2009-10-04 10:51:53 +00:00
Kovarththanan Rajaratnam 337f820d3c Some minor whitespace changes in the generated output file
svn path=/trunk/; revision=30287
2009-10-04 08:26:59 +00:00
Kovarththanan Rajaratnam 1b2498d074 Move make-tapreg-dotc to tools/make-tapreg-dotc
svn path=/trunk/; revision=30284
2009-10-04 08:10:54 +00:00
Kovarththanan Rajaratnam f8a47b5459 Add rdps.py to EXTRA_DIST in tools/Makefile.am instead
svn path=/trunk/; revision=30282
2009-10-04 07:57:35 +00:00
Kovarththanan Rajaratnam ac8f637590 Move rdps.py to tools/rdps.py
svn path=/trunk/; revision=30281
2009-10-04 07:50:36 +00:00
Jeff Morriss 37aa66532a From Peter Harris via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4067 :
This patch adds enum support to x11-process-xcb.pl

svn path=/trunk/; revision=30257
2009-10-03 01:56:10 +00:00
Jeff Morriss 6f28135ec8 Add a little script to set up ulimits before testing a capture that failed fuzz testing.
svn path=/trunk/; revision=30251
2009-10-02 18:25:28 +00:00
Kovarththanan Rajaratnam 2f66e4ae29 Delete log files from test runs that were succesful
svn path=/trunk/; revision=30170
2009-09-26 11:48:13 +00:00
Kovarththanan Rajaratnam 0638d407b7 * Redirect stdout/stderr to temporary files
* Do file comparison on stdout/stderr output

svn path=/trunk/; revision=30169
2009-09-26 11:05:59 +00:00
Kovarththanan Rajaratnam d557791862 Start implementing 'compare against baseline'. When fully implemented we'll be able to compare any changes that we've made to the working directory against a clean/baseline version of tshark.
svn path=/trunk/; revision=30168
2009-09-26 09:48:46 +00:00
Kovarththanan Rajaratnam 386a463b32 Add support for running tshark (-d) on a set of files matching a certains protocols (--list-all-proto-files). The index file is used to search for the files matching the given protocol(s)
svn path=/trunk/; revision=30167
2009-09-26 09:03:26 +00:00
Kovarththanan Rajaratnam 0775f97f19 Look for both tshark and tshark.exe
svn path=/trunk/; revision=30166
2009-09-26 07:13:48 +00:00
Kovarththanan Rajaratnam 2f2dc6d571 Add option to dump all files containing a protocol (possibly a comma delimited list of protocols)
svn path=/trunk/; revision=30160
2009-09-26 03:48:04 +00:00
Stephen Fisher 426870cd90 Set the usual properties + executable:
Name: svn:executable
   + *
Name: svn:keywords
   + Id
Name: svn:eol-style
   + native


svn path=/trunk/; revision=30157
2009-09-25 21:12:34 +00:00
Kovarththanan Rajaratnam de10fd22a6 Handle keyboard interrupts gracefully
svn path=/trunk/; revision=30156
2009-09-25 21:01:28 +00:00
Kovarththanan Rajaratnam e45956edbe * Cleanup print
* Remove timeout (this wasn't correctly implemented)

svn path=/trunk/; revision=30155
2009-09-25 20:50:51 +00:00
Kovarththanan Rajaratnam eea92c8b2c Use timeout to keep the file progress printing smooth
svn path=/trunk/; revision=30153
2009-09-25 19:41:54 +00:00
Kovarththanan Rajaratnam 7658f9a43a Use apply_async and print out file progress in the parent process
svn path=/trunk/; revision=30152
2009-09-25 19:02:32 +00:00
Kovarththanan Rajaratnam 8ff8f868c1 Refactoring: add find_capture_files()
svn path=/trunk/; revision=30150
2009-09-25 17:47:25 +00:00
Kovarththanan Rajaratnam 8bd432e940 Add option to dump all files in index file
svn path=/trunk/; revision=30149
2009-09-25 17:43:01 +00:00
Kovarththanan Rajaratnam a56f547bee Add option to dump all protocols in index file
svn path=/trunk/; revision=30148
2009-09-25 17:28:53 +00:00
Kovarththanan Rajaratnam 2216640d8c * Handle some error path more gracefully
* Add more verbose output

svn path=/trunk/; revision=30147
2009-09-25 17:03:44 +00:00