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