Commit graph

858 commits

Author SHA1 Message Date
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
Kovarththanan Rajaratnam
50b7a98610 Use pickle to store the results into the index file
svn path=/trunk/; revision=30146
2009-09-25 15:41:17 +00:00
Kovarththanan Rajaratnam
8f38bae049 Add initial multiprocessing support
svn path=/trunk/; revision=30143
2009-09-25 15:02:57 +00:00
Kovarththanan Rajaratnam
3a56072656 Add win-setup.sh which contains pretty much what used to be in win32-setup.sh and which happens to be generic code
svn path=/trunk/; revision=30130
2009-09-24 20:52:58 +00:00
Kovarththanan Rajaratnam
5b6c7496dc Use warnings
svn path=/trunk/; revision=30128
2009-09-24 20:27:33 +00:00
Kovarththanan Rajaratnam
e77667b2ad The beginning of a Python script/tool that indexes capture files. It currently extracts all protocols that appear in the given capture files.
svn path=/trunk/; revision=30120
2009-09-24 19:02:49 +00:00
Kovarththanan Rajaratnam
760eb47fc1 Add initial support for "two pass analysis" in tshark. This allows tshark to arrive at the same protocol tree as the Wireshark GUI. Before this change tshark only supported a single scan over the file. This effectively means that packets cannot use data that are gathered from frames that appear after the current frame. By scanning twice we give the dissector the opportunity to make forward references.
svn path=/trunk/; revision=30076
2009-09-22 19:28:00 +00:00
Anders Broman
a601aeed88 Use latest GTK suport libs.
svn path=/trunk/; revision=29962
2009-09-17 06:16:24 +00:00
Gerald Combs
fcaa314c61 Try to fix the build.
svn path=/trunk/; revision=29952
2009-09-17 01:18:51 +00:00
Anders Broman
ef2d9da167 Use the latest GTK packages.
svn path=/trunk/; revision=29943
2009-09-16 13:34:37 +00:00
Jeff Morriss
ee8f078374 Move all of the scripts in epan/dissectors/ to tools/ .
Add a target ("x11-dissector") to build the X11 dissector.

Put the X11-related files (back) in the source distribution.

svn path=/trunk/; revision=29871
2009-09-12 23:02:34 +00:00
Jeff Morriss
8c2b702670 Move svnadd to the tools directory.
svn path=/trunk/; revision=29866
2009-09-11 18:15:46 +00:00
Anders Broman
e392e77382 Use GTK+ 2.16.5 and Glib 2.20.4.
svn path=/trunk/; revision=29593
2009-08-28 06:21:16 +00:00
Gerald Combs
4968b876cd Add more information to the comments at the top of the files we generate.
svn path=/trunk/; revision=29550
2009-08-25 17:55:55 +00:00
Kovarththanan Rajaratnam
c48602900a Add error probability command line parameter
svn path=/trunk/; revision=29486
2009-08-20 17:43:56 +00:00
Gerald Combs
3a5270f542 Temporarily disable dissector bug checking. Fixing the ones we've found
so far will take a while and in the meantime looking for dissector
assertions is keeping us from finding more serious bugs.

svn path=/trunk/; revision=29395
2009-08-12 17:08:08 +00:00
Bill Meier
d6925b130e fuzz-test: Fix/change WIRESHARK_ABORT_ON_DISSECTOR_BUG handling:
1. If enabled: the variable must be exported to the env to take effect;
2. Upon reflection: disable this feature:
   tshark has been changed to output WARNING messages to stderr as a
    default; This means that DISSECTOR_BUGs and failed DISSECTOR_ASSERTs
     which cause WARNING log level messages will thus be output to stderr and 
     thus will be detected by the fuzz-test.

svn path=/trunk/; revision=29330
2009-08-07 22:36:14 +00:00
Ronnie Sahlberg
ad5682dc8c update pidl to the newest version from samba
svn path=/trunk/; revision=29214
2009-07-28 13:38:46 +00:00
Anders Broman
568054f777 From Kovarththanan Rajaratnam:
More "Cleanup header_field_info definitions"

svn path=/trunk/; revision=28961
2009-07-06 18:35:05 +00:00
Gerald Combs
c66d0e4a6f Add assert and assert_perror to the 'abort' list.
svn path=/trunk/; revision=28896
2009-06-30 20:28:26 +00:00
Stig Bjørlykke
13201ce6b7 Default to BASE_NONE for FT_BOOLEAN with zero value for display.
svn path=/trunk/; revision=28803
2009-06-22 06:16:39 +00:00
Stig Bjørlykke
7cd1a1d38b Write NULL for empty blurb.
svn path=/trunk/; revision=28773
2009-06-19 03:37:52 +00:00
Stig Bjørlykke
dec6ea57ae Use BASE_NONE for FT_BYTES.
svn path=/trunk/; revision=28769
2009-06-18 21:26:13 +00:00
Gerald Combs
bfe13d8bbe Use upx 303w.
svn path=/trunk/; revision=28748
2009-06-15 22:20:27 +00:00
Jeff Morriss
bbc68754f6 It appears Wireshark now has only ASCII in its source files; Treat non-ASCII chars as an error.
svn path=/trunk/; revision=28738
2009-06-15 15:16:52 +00:00
Tomas Kukosa
40cc6f9108 Update to the GnuTLS 2.8.1
svn path=/trunk/; revision=28689
2009-06-10 21:08:01 +00:00
Gerald Combs
fffb5f5043 Update the GTK+/GLib libraries.
svn path=/trunk/; revision=28688
2009-06-10 20:58:05 +00:00
Gerald Combs
8adf270b5e Update the GTK+/GLib libraries.
svn path=/trunk/; revision=28686
2009-06-10 18:06:33 +00:00
Gerald Combs
cdae660d2a Update KFW to 2.6.5.
svn path=/trunk/; revision=28683
2009-06-09 23:54:07 +00:00
Stig Bjørlykke
7678317238 Move declaration of yymx.
svn path=/trunk/; revision=28660
2009-06-08 11:54:38 +00:00
Stig Bjørlykke
618153d40f Remove resetting useCnt in errsym, as it seems to disable some error checking
we need to validate the filter syntax.

svn path=/trunk/; revision=28659
2009-06-08 10:03:41 +00:00
Gerald Combs
6e689b5adc Update the Windows library tags and documentation filename.
svn path=/trunk/; revision=28527
2009-05-29 18:45:24 +00:00
Jörg Mayer
e78edf4d28 Small comment fixes
svn path=/trunk/; revision=28519
2009-05-29 10:59:27 +00:00
Bill Meier
96505bc99d Version 2: Fix bug: Makefile doesn't detect some out-of-date libraries.
The previous fix (SVN 28504) didn't quite work since
 nmake always errored out if the libraries were not up-to-date; this 
 prevented doing an nmake ... setup.

 This version of the fix:
 1. Gets the library status (checktag) at the beginning of the make.
 2. Effectively does the actual testing of the status whenever 
    a target with $(LIBS_CHECK) as a dependency is invoked.

 Result: nmake ... [all] will error-out while nmake .... setup will
  work properly.

 Note that nmake ... setup will now show an initial error message
  (from checktag) if the libraries are out of date; setup will still 
  proceed normally.
  This is a slight change from the current behavior wherein no
  error message occurs when nmake ... setup is invoked when the
  libraries are out of date.

svn path=/trunk/; revision=28516
2009-05-28 23:20:20 +00:00
Bill Meier
899b857400 gtk_exit(): deprecated and no longer used in Wireshark: 'W' ==> 'E'
svn path=/trunk/; revision=28445
2009-05-22 12:39:00 +00:00
Stig Bjørlykke
cbcd176043 Improved name and abbrev used for sequence of and set of elements.
svn path=/trunk/; revision=28377
2009-05-16 22:01:19 +00:00
Bill Meier
e88bdea0bb gtk_check_menu_item_set_show_toggle() is deprecated and not needed.
[show_toggle is always TRUE].

svn path=/trunk/; revision=28292
2009-05-07 14:35:02 +00:00
Anders Broman
2621fbbdf9 Change W->E for now removed functions.
svn path=/trunk/; revision=28279
2009-05-05 18:38:59 +00:00
Anders Broman
b96b6756c9 Use GTK+ 2.16.1-1
svn path=/trunk/; revision=28180
2009-04-27 16:50:58 +00:00
Bill Meier
866eb54ad4 checkAPIs: check for 'const' in value_string definition.
svn path=/trunk/; revision=28114
2009-04-21 22:26:34 +00:00
Gerald Combs
c0ebf76780 Fix (and likely re-break) the Windows builds:
- Use the latest WinPcap Developer's Pack.
  - In file_dlg_win32.c, try to fix Visual C++ 6.0 compilation.
  - #if 0 out a bunch of definitions in capture_if_details_dlg_win32.c
    that already exist in Ntddndis.h.

svn path=/trunk/; revision=28067
2009-04-16 18:14:38 +00:00
Bill Meier
14980f1592 checkAPIs: Add additional GLib deprecated functions;
Update comments.

svn path=/trunk/; revision=28051
2009-04-14 18:22:43 +00:00
Anders Broman
e5d6ac8615 Use G_GINT64_CONSTANT in stead of G_GUINT4_CONSTANT
svn path=/trunk/; revision=28048
2009-04-14 18:10:45 +00:00
Tomas Kukosa
3d8d91d80c support UINT64 constants for upper value bounds
svn path=/trunk/; revision=28042
2009-04-14 07:34:56 +00:00
Bill Meier
b6366d45f3 gtk_label_get() --> gtk_label_get_text() with related code changes;
Also: Fix indentation to be consistent.

svn path=/trunk/; revision=28034
2009-04-11 18:03:11 +00:00
Anders Broman
b686f1fa30 Get rid of gtk_file_selection_new and gtk_file_selection_get_filename.
svn path=/trunk/; revision=28032
2009-04-11 14:47:55 +00:00
Bill Meier
3224dc5d7a Remove unnecessary use of (deprecated) gtk_button_box_set_child_ipadding();
(In each case the arg values used [4,0] were the same as the defaults).
checkAPIs.pl: gtk_button_box_set_child_ipadding: 'W' --> 'E'

svn path=/trunk/; revision=28030
2009-04-10 18:31:01 +00:00
Bill Meier
ade9f33ac5 gtk_widget_ref: 'W' --> 'E';
Also: Add GTK 2.16.0 deprecated functions

svn path=/trunk/; revision=28028
2009-04-10 14:12:29 +00:00
Bill Meier
bd86780397 gtk_set_usize: W --> E;
Change 'usage' to list groups and default groups.

svn path=/trunk/; revision=28020
2009-04-09 13:04:15 +00:00
Anders Broman
caa4281da4 gtk_widget_ref() -> g_object_ref()
GTK_SIGNAL_FUNC -> G_CALLBACK()

svn path=/trunk/; revision=28017
2009-04-09 05:51:56 +00:00
Anders Broman
99bbe55222 Make it possible to check for extension marker in SEQUENCE OF and SET OF.
Fore some reason  the trace in bug https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3360 does not decode properly
if dissecting the exension marker so leave that code #if 0:ed out for now.

svn path=/trunk/; revision=27848
2009-03-25 22:04:23 +00:00
Tomas Kukosa
c61d3c4bb5 add native-nmake.cmd into EXTRA_DIST
svn path=/trunk/; revision=27838
2009-03-24 07:01:22 +00:00
Anders Broman
db6795dc82 Use GTK 2.16 and glib 2.20.
svn path=/trunk/; revision=27796
2009-03-19 06:42:46 +00:00
Anders Broman
e7ccbd26d1 Revert the changes, it blows up when resizeing windows...
svn path=/trunk/; revision=27764
2009-03-17 21:33:15 +00:00
Anders Broman
2b4be62f25 Yet another typo..
*sigh

svn path=/trunk/; revision=27763
2009-03-17 20:32:19 +00:00
Anders Broman
2a6752e050 Use GTK 2.16 and glib 2.20.
svn path=/trunk/; revision=27762
2009-03-17 20:21:16 +00:00
Gerald Combs
be943c8419 Go a little deeper into the Win64 rabbit-hole. Add tools/native-nmake.cmd
and use it as a wrapper to compile a native version of lemon.
Untested on Win32.

svn path=/trunk/; revision=27734
2009-03-15 22:40:29 +00:00
Bill Meier
510a52b128 Treat any usage of functions in the 'deprecated' group an an Error.
There's no longer any Wireshark usage of these functions.

svn path=/trunk/; revision=27732
2009-03-15 20:50:33 +00:00
Bill Meier
34515ab429 Add complete list of deprecated GTK API's (as of GTK 2.14.7).
Group 'deprecated-gtk' lists all deprecated GTK APIs which
  are not currently used in Wireshark.
  -g deprecated-gtk will 'Error';

 Group 'deprecated-gtk-todo' lists the deprecated GTK APIs
  which are still used in Wireshark (ie: not yet fixed).
  -g deprecated-gtk-todo will 'Warn'.

Also: two new options added:
 -M: -g output is one line per function per file;
 -s summary-group: gives a count of the usage of each function in that group
    [currently: any group used in -s must also be specified with -g option].
   

svn path=/trunk/; revision=27729
2009-03-15 20:09:25 +00:00
Gerald Combs
0d446ae826 Use WIRESHARK_TARGET_PLATFORM instead of PLATFORM.
svn path=/trunk/; revision=27701
2009-03-11 16:13:17 +00:00
Gerald Combs
8f69ddeb00 Add preliminary support for Win64 compilation. Attempt to use the same
set of makefiles and scripts for each platform as much as possible.

svn path=/trunk/; revision=27633
2009-03-07 01:06:40 +00:00
Gerald Combs
e18f0f79da Fix our keyword anchor.
svn path=/trunk/; revision=27578
2009-03-02 18:40:56 +00:00
Gerald Combs
0028a06052 Add a version to register-cache.pkl and use it to rebuild the cache from
scratch when needed.

svn path=/trunk/; revision=27577
2009-03-02 18:30:16 +00:00
Anders Broman
4602e4850d Add GTK deprecated functions.
svn path=/trunk/; revision=27561
2009-02-27 07:09:25 +00:00
Stig Bjørlykke
88b8066be3 Added make-tap-reg.py
svn path=/trunk/; revision=27548
2009-02-25 21:28:40 +00:00
Anders Broman
0e38ede281 From Vincent Helfre:
Build the register routines for wtap plugins.

svn path=/trunk/; revision=27532
2009-02-24 07:04:41 +00:00
Anders Broman
e88a6e5392 Update CheckApi with:
#'gtk_clist_new', should we depriceate?
		# GtkCList has been deprecated since GTK+ 2.0 and should not be used
		# in newly written code. Use GtkTreeView instead. 
		'gtk_file_selection_new',

svn path=/trunk/; revision=27508
2009-02-22 14:47:07 +00:00
Anders Broman
590bc1122c Replace the clists with gtk_list_store
Should fix bug https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3246

svn path=/trunk/; revision=27489
2009-02-20 17:13:44 +00:00
Bill Meier
1eac6ce073 From yamisoe AT gmail.com: appverify: Report all missing applications in one run.
svn path=/trunk/; revision=27402
2009-02-09 17:02:26 +00:00
Tomas Kukosa
fe53605ff9 Update GnuTls to gnutls-2.6.4-1
svn path=/trunk/; revision=27398
2009-02-09 09:38:58 +00:00
Tomas Kukosa
5cc1c25421 Ply parser updated to 3.0
svn path=/trunk/; revision=27397
2009-02-09 07:28:30 +00:00
Tomas Kukosa
33763b7a53 - resolve one reduce/reduce conflict in grammar
- fix obsolete Python constructions

svn path=/trunk/; revision=27367
2009-02-04 13:24:09 +00:00
Anders Broman
7c48128948 Revert previous checkin.
svn path=/trunk/; revision=27356
2009-02-02 22:16:46 +00:00
Anders Broman
d92ab193f5 Use Python to build tshark-tap-register.c
svn path=/trunk/; revision=27355
2009-02-02 21:22:01 +00:00
Anders Broman
7a87962c76 Add html2text.py to distribution.
svn path=/trunk/; revision=27249
2009-01-16 20:08:14 +00:00
Anders Broman
6b72209950 Add Id.
svn path=/trunk/; revision=27241
2009-01-16 07:09:18 +00:00
Anders Broman
2b3540be16 Use Glib 2.18-4 GTK+ 2.14.7 and Cairo 1.8.6.
svn path=/trunk/; revision=27226
2009-01-13 23:21:19 +00:00
Bill Meier
40d6161862 Add svn:executable property to perl script
svn path=/trunk/; revision=27185
2009-01-07 21:37:40 +00:00
Anders Broman
9d86f2759a From Vincent Helfre:
To make it possible to extract the ASN1 files directly from the spec, I wrote a small script.

svn path=/trunk/; revision=27178
2009-01-07 19:57:51 +00:00
Anders Broman
960cd2feee Use GTK+ 2.14.6
svn path=/trunk/; revision=27121
2008-12-27 16:24:16 +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
f49377e0e7 Update html2text.py to suit our needs. Add spaces in the faq.txt target
so to fix a problem with OS X 10.4. Add html2text.py to the end of the
faq.txt target.

svn path=/trunk/; revision=27040
2008-12-17 19:49:18 +00:00
Gerald Combs
79413d1f89 Add html2text.py 2.35 from http://www.aaronsw.com/2002/html2text/.
svn path=/trunk/; revision=27039
2008-12-17 19:41:43 +00:00
Tomas Kukosa
408d562a5c Update GnuTls to gnutls-2.6.3-1
svn path=/trunk/; revision=26998
2008-12-15 11:52:06 +00:00
Gerald Combs
e137f6cb76 Use c-ares 1.6.0.
svn path=/trunk/; revision=26961
2008-12-10 22:16:09 +00:00
Anders Broman
8a1b0a0414 Use GTK 2.14.5 and glib 2.18.2
Overview of Changes from GLib 2.18.2 to GLib 2.18.3
===================================================

* Build with libtool 2.x

* Bugs fixed:
 557087 mem leak in g_content_types_get_registered
 558185 'parent' variable in g_local_file_get_child_for_display_name()
         hits g_object_unref(NULL) assertion
 557210 g_compute_checksum_for_* asserts with less than 2 bytes
 528320 Incorrect icons displayed for files with custom mimetype icons
 557592 Missing include in gwinhttpfile.c
 556415 Crash on Windows 2000 in g_winhttp_vfs_init()
 556910 Memory leak: sub
 561352 Leak of icon description
 561375 Leaks mountpoint description
 560569 gkeyfile doesn't use the set list_separator in some cases
 560568 gkeyfile docs buglet
 559413 g_option_group_set_error_hook docs buglet

Overview of Changes from GTK+ 2.14.4 to 2.14.5
==============================================

* Bugs fixed:
 556578 GIMP windows stay on top of other windows
 557059 crash when compositing emblems with icon
 557266 Window Management Problem
 528320 Incorrect icons displayed for files with custom mimetype icons
 557894 Wrong return value for gdk_pointer_grab_info_libgtk_only
 557316 GtkLinkButton should consider user-defined tooltip
 558323 glitches when popping up combos in treeviews
 558278 Crash when calling a callback set by
gdk_add_client_message_filter
 557212 Problem with which window gains focus and is visible
 541391 Unfocussable Treeview swallows focus
 552956 Should check composite extension version
 554567 warning fixes (missing format specifiers and NULL vs 0)

svn path=/trunk/; revision=26960
2008-12-10 20:30:34 +00:00
Stephen Fisher
1335d05ca4 - Change the expected output of TVB test ck_eq_1 to match actual behavior
- Remove a test that causes tshark to output an error for an invalid filter
   (putting the protocol on the right-hand side of the == operator)


svn path=/trunk/; revision=26860
2008-11-27 06:14:31 +00:00
Tomas Kukosa
c5ecbf6d40 fix all warn_explicit() usages incompatible with Python 2.6
svn path=/trunk/; revision=26788
2008-11-15 19:53:05 +00:00
Anders Broman
f9f80c330e Update GTK packages.
svn path=/trunk/; revision=26786
2008-11-15 16:36:27 +00:00
Tomas Kukosa
e20cfef6f9 - new #.MODULE_EXPORTS directive which exports symbols including module prefix, used to avoid conflicts when two modules have types with the same name and they need to be used together
- fix few Python warnings

svn path=/trunk/; revision=26738
2008-11-10 13:27:41 +00:00
Anders Broman
7ce0cd961e From Pascal Quantin:
ASN.1: display the real name of SEQUENCE/TYPE OF parameters

svn path=/trunk/; revision=26669
2008-11-01 22:28:56 +00:00
Gerald Combs
b6f8143e3b If we auto-discover http_proxy, export it so that wget can pick it up. Change
the shebang to use /bin/bash since we use bash-isms in the script.

svn path=/trunk/; revision=26373
2008-10-07 19:47:28 +00:00
Anders Broman
bc7779c4c4 Use LUA 5.1.4
svn path=/trunk/; revision=26329
2008-10-01 19:38:27 +00:00
Anders Broman
b8140ea604 Yet another GTK+ update...
Overview of Changes from GTK+ 2.14.2 to 2.14.3
==============================================

* Revert problematic GtkAdjustment changes

* Bugs fixed: 
 552837 mem leak in gtkimmulticontext
 553000 incorrect i18n header in gtkfilesystem.c
 553135 eog crash: assertion failed
 552545 leaks GpImage

svn path=/trunk/; revision=26273
2008-09-25 20:32:00 +00:00
Anders Broman
04b710049c Use the latest GTK packages, changes:
Overview of Changes from GLib 2.18.0 to GLib 2.18.1
===================================================

* Bugs fixed:
 550433 g_test_init doesn't recognize --help
 523463 Core dump in gmain.c:2482:IA__g_main_context_check
 551228 G_STRFUNC on recent Sun compiler should be expanded...
 551410 gtestutils.c: using printf without prototype
 551731 g_date_set_time[_t] docs should mention what timezone
 548321 <string.h> is not included in gi18n-lib.h
 551149 xdgmime mem leak
 550647 synchronous pipe I/O when reading mount reply
 551887 Docs for g_desktop_app_info_new_from_filename aren't...
 551681 g_content_type_guess() too naive with filenames
 552352 g_app_info_launch doesn't work if "Path" key...
 551408 gmodule.def generated to builddir...
 552359 g_file_info_get_icon should return GThemedIcon, and...

Overview of Changes from GTK+ 2.14.1 to 2.14.2
==============================================

* Don't use XRRGetScreenResources, since it doesn't work well

* Bugs fixed:
 551063 deprecated marking without a link to what new code should use
 319849 gtkcalendar look in RTL locales
 550989 gdk_display_put_event should call g_main_context_wakeup
 550062 Small update in gdk/gdkkeysyms.h
 551325 Reference to wrong parameter in gtk_editable_insert_text
 551386 gtk_printer_set_is_default() always sets TRUE
 550676 Memory leak, update keyboard layout data structure
 551699 gtk_scrolled_window_destroy() is broken
 551567 DND mark broken
 551378 Print dialog: should try UDS when fetching PPD for localhost
 536542 gtk_list_store_set() documentation doesn't say whether...
 552153 GtkModules loading with XSettings doesn't work...
 552001 gtkimcontextsimple.c: variable is declared at middle...
 551987 GtkPaned redrawing problem
 551722 gtk_widget_set_scroll_adjustments() should check...
 552107 Small libtool fixes
 552500 GtkPrintSettings API doc not precise enough
 408154 Change GtkEntryCompletion max-items to style property
 329593 Entering characters on a line very cpu intensive and slow
 552667 gtkimage containing gicon leaks memory
 552668 format not a string literal and no format arguments...
 346903 gtk_enumerate_printers needs events to complete
 550969 fix a typo which breaks the static build
 517233 Calling gdk_pixbuf_loader_close causes "GError set over...
 551063 deprecated marking without a link to what new code should use
 540967 docs build slowly because of entities

svn path=/trunk/; revision=26255
2008-09-23 20:32:40 +00:00
Gerald Combs
34e87cdf6f Update the Win32 libs download tag to 2008-09-16.
svn path=/trunk/; revision=26220
2008-09-16 22:49:00 +00:00
Anders Broman
ed5f300fd5 New branch
svn path=/trunk/; revision=26152
2008-09-06 18:30:47 +00:00
Anders Broman
ad54e4ed0e Use GTK+ 2.14.1
What's new in GTK+ 2.14
=======================

GTK+ 2.14 adds new functionality while maintaining source and binary 
compatibility with GTK+ 2.12. Highlights of new features and
improvements in GTK+ 2.14 are:

New widgets and objects

 * GdkAppLaunchContext, provides startup notification with 
   g_app_info_launch()
 * GtkMountOperation, can ask for passwords when mounting 
   volumes with g_volume_mount()
 * GtkToolShell, an interface for containers of GtkToolItems

Noteworthy new APIs
 
 * gtk_show_uri(), a replacement for gnome_vfs_url_show() and
   gnome_url_show()
 * gtk_widget_get_snapshot(), using pixmap redirection to render 
   snapshots of widgets

Changes in the file chooser

 The file chooser uses GIO directly, loadable backends are no longer 
 supported. Autocompletion in the file chooser entry has been improved.

Changes in printing support
 
 The print dialog displays printer status information. Support for
 rearranging pages when printing multiple pages per sheet has been
 added to the cups backend. 

Accessibility support
 
 The gail module is shipped with GTK+, GtkBuilder supports
 accessibility attributes and GtkStatusIcon supports keyboard
 navigation.

Internationalization support

 The compose sequences understood by GTK+'s builtin input method
 have been synchronized with recent X.org compose sequences, adding
 a large number of new sequences. GTK+ no longer uses translations
 when an application is not translated to the current locale.

gdk-pixbuf changes

 * Support loading OS X icns format
 * Support loading JPEG 2000 images
 * Support loading and saving to GIO streams
 * Use GIO for mime information
 
GDK changes

 GDK uses Xrandr instead of Xinerama to provide more (and dynamic)
 monitor information. Font configuration changes are now picked up
 at runtime, without an application restart.

For more details and lists of fixed bugs, see the
announcements for the 2.13.x development releases:

http://mail.gnome.org/archives/gtk-devel-list/2008-February/msg00079.html
http://mail.gnome.org/archives/gtk-devel-list/2008-May/msg00112.html
http://mail.gnome.org/archives/gtk-devel-list/2008-June/msg00033.html
http://mail.gnome.org/archives/gtk-devel-list/2008-June/msg00158.html
http://mail.gnome.org/archives/gtk-devel-list/2008-July/msg00044.html
http://mail.gnome.org/archives/gtk-devel-list/2008-July/msg00182.html
http://mail.gnome.org/archives/gtk-devel-list/2008-August/msg00023.html
http://mail.gnome.org/archives/gtk-devel-list/2008-August/msg00153.html

svn path=/trunk/; revision=26148
2008-09-06 15:25:23 +00:00
Anders Broman
0535580316 Use latest glib.
svn path=/trunk/; revision=26141
2008-09-05 05:58:25 +00:00
Gerald Combs
205d47a905 Add proxy detection to win32-setup.sh. Update and clean up some of the
proxy-related documentation.

svn path=/trunk/; revision=26100
2008-08-27 22:06:13 +00:00
Bill Meier
0726ae61dc Search for "(static const|static|const) value_string" when
looking for value_string definitions to validate.

svn path=/trunk/; revision=26026
2008-08-14 23:03:29 +00:00
Gerald Combs
e7a8150c7b Fix a bunch of Win64 compilation errors by cowardly casting size_ts to ints.
svn path=/trunk/; revision=25992
2008-08-12 21:25:19 +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
Luis Ontanon
42c3239a1a luis.ontanon@gmail.com => luis@ontanon.org
svn path=/trunk/; revision=25937
2008-08-05 21:03:46 +00:00
Gerald Combs
811724ce01 Add --settag and --checktag arguments to win32-setup.sh, which respectively
save and verify the current download tag. Add --settag and --checktag calls
to the process_libs target. (This should automatically notify everyone when
wireshark-win32-libs is updated, which I tend to forget to do.)

svn path=/trunk/; revision=25931
2008-08-05 17:00:34 +00:00
Gerald Combs
7d8e29f501 From Pascal Quantin via bug 2719: Fix support for Microsoft Visual C++ 2008.
From me:

Instead of adding adns_config.h, place it a custom adns package in
wireshark-win32-libs. Update tools/win32-setup.sh accordingly.

Split the MSVC2008EE variant into MSVC2008 and MSVC2008EE, similar to
MSVC2005 and MSVC2005EE. We have to worry about vcredist_x86.exe in
both cases.

Add Pascal to AUTHORS.

Update the Developer's Guide.

svn path=/trunk/; revision=25921
2008-08-04 23:05:32 +00:00
Stig Bjørlykke
d255e44bfa From Martin Peylo (bug 2507):
The attached patch enables asn2wrs.py and packet-ber.c to decode UTCTime
according to the definitions in X.680.

svn path=/trunk/; revision=25897
2008-08-01 16:44:06 +00:00
Anders Broman
27111e59f3 Update to sqlite lemon.c 1.60 and lempar.c 1.36
svn path=/trunk/; revision=25858
2008-07-29 12:40:03 +00:00
Tomas Kukosa
4ac15ee6d4 Update Ply to version 2.5
svn path=/trunk/; revision=25838
2008-07-26 15:26:09 +00:00
Jeff Morriss
acd338f422 Remove the (long deprecated) proto_tree_add_*_hidden() functions
svn path=/trunk/; revision=25820
2008-07-24 15:35:29 +00:00
Bill Meier
a4d1eb9ee9 (Minor) Disable un-needed 'capture' in regexp
svn path=/trunk/; revision=25811
2008-07-23 23:15:07 +00:00
Bill Meier
e86d6997c7 Fix double-quoted string regexp to match strings with "line continuation";
Enable value_string check again ....

svn path=/trunk/; revision=25810
2008-07-23 22:50:03 +00:00
Bill Meier
d35d95395a Disable value_string check for now.
Apparently the "regex which matches double-quoted strings"
doesn't work with some versions of Perl (eg: 5.8.8) if the
string contains a 'line-continuation' (\ folowed by a new-line).
(This works for Perl 5.10.0).
So: disable value_string check until I look into this further.

svn path=/trunk/; revision=25802
2008-07-23 11:36:27 +00:00
Bill Meier
ac48c59340 Add test to check if value_string arrays are NULL terminated;
default: test is enabled.
Check for error return from GetOptions

svn path=/trunk/; revision=25800
2008-07-22 22:27:08 +00:00
Anders Broman
8f472c05fb Use the tag...
svn path=/trunk/; revision=25778
2008-07-21 10:05:07 +00:00
Anders Broman
2207fb2aff Use the latest GTK libraries for GTK+ 2.12.11
svn path=/trunk/; revision=25777
2008-07-21 10:03:47 +00:00
Gerald Combs
e26c414928 Use the latest wireshark-win32-libs tag (updated zlib).
svn path=/trunk/; revision=25745
2008-07-15 16:27:30 +00:00
Guy Harris
6b1c9b4948 Push EXTRA_DIST entries into the lowest-level Makefile.am available.
svn path=/trunk/; revision=25661
2008-07-02 07:12:42 +00:00
Guy Harris
b6e20d89be Put printf into a separate "termoutput" API group. For most files,
check for it - but not for TShark plugins, as they are expected to
print to the standard output.

svn path=/trunk/; revision=25653
2008-07-01 21:13:32 +00:00
Gerald Combs
b642ef10fa Have checkAPIs.pl print to stderr, so that its output is colored red in
Buildbot. Make capitalization more consistent. Look for abort functions in
wsutil.

svn path=/trunk/; revision=25619
2008-06-27 22:48:25 +00:00