Commit graph

2642 commits

Author SHA1 Message Date
Anders Broman
12819c3b19 Finally got it to complie.
svn path=/trunk/; revision=19427
2006-10-04 16:02:59 +00:00
Anders Broman
ad50bdf507 From Florent.Drouin@alcatel.fr:
Please find two new TAP for Camel Statistics.
The first one updates  counters related to camel operations. It is located in the GSM submenu. The second one , named Camel Service Response Time, gives the time ellapsed between a couple of camel specifics operations. (For example InitialDP/Continue or InitialDP GPRS/Continue GPRS). With Wireshark, you can have the Min/Max/Mean delay time for your traces files, and with Tshark, you have the additional information for percentile (1%,95% 99% etc )

To enable the use of the Camel statistics, you have 2 new parameters in the preferences,
- SRT, enable the service Response Time calculation.
- persistentSRT, keep the data in a context, even after the  camel session has been closed. This is mandatory with Wireshark, to have a clean display of the stats.

Only the new files checked in for now because of include problems.

svn path=/trunk/; revision=19420
2006-10-03 22:12:47 +00:00
Ulf Lamping
57be028caf As Stephen Fisher noted, the Apply button should also save the changed settings (if the Save button is disabled)
svn path=/trunk/; revision=19418
2006-10-03 21:03:08 +00:00
Ulf Lamping
1468c0b253 fix a bug in the export function
svn path=/trunk/; revision=19417
2006-10-03 20:11:08 +00:00
Ulf Lamping
9e063e0572 the whole ARGUMENT_CL mimic isn't required any longer - remove it. This should fix compile problems under Unix.
svn path=/trunk/; revision=19416
2006-10-03 20:01:39 +00:00
Ulf Lamping
cdb57f37a2 now: Don't have a Save button in the following settings dialogs:
- Edit/Preferences
- View/Coloring Rules
- Capture/Capture Filters
- Analyze/Display Filters
- Analyze/Enabled Protocols

The settings will be automatically saved when pressing the Ok button.

If someone really wants the explicit Save buttons as before - you can get them back at the Edit/Preferences/User Interface page.

svn path=/trunk/; revision=19415
2006-10-03 19:53:10 +00:00
Ulf Lamping
9e6c7b11ae Implement a real "Cancel" button for the coloring rules dialog - this was a hard one! It seems to be working without bugs and as designed now.
As this was a huge internal change, new bugs are very probable - please report.

The implementation isn't still perfect, a new dialog internal list could possibly be removed again. 

However, I want to check in at this condition, just in case I make things worse - again.

svn path=/trunk/; revision=19413
2006-10-03 18:39:36 +00:00
Luis Ontanon
e23201c62a - Make sure that the registration files are created whenever there's a change
- get rid of 5.0.2 stuff
- add the apply_filter() API


svn path=/trunk/; revision=19406
2006-10-03 14:27:45 +00:00
Luis Ontanon
161b9a55ea more Lua APIs:
- set_filter() : sets the main window filter
- reload() : reloads the current capture file
- copy_to_clipboard() : copies its first arfg to the clipboard
- open_capture_file() : opens a capture file for viewing (still broken)


svn path=/trunk/; revision=19404
2006-10-03 12:07:10 +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
Ulf Lamping
6cde05da1b missing mark -> select changes
svn path=/trunk/; revision=19400
2006-10-02 23:11:55 +00:00
Ulf Lamping
59d206d18e further code cleanup: don't use the term "marked" for the color filters, the right term is "selected". That caused me "concerns" wether the marked feature of the packet list was involved - which is actually not
svn path=/trunk/; revision=19399
2006-10-02 23:01:33 +00:00
Ulf Lamping
765835ac7a instead of reverting the whole changes by the *first* cancelled dialog box, revert them by clicking "Cancel" on the *last* dialog - this behaviour just makes more sense.
svn path=/trunk/; revision=19397
2006-10-02 20:59:38 +00:00
Martin Mathieson
d0c38312a4 Don't show Tools menu at all if Lua not present
svn path=/trunk/; revision=19394
2006-10-02 13:38:13 +00:00
Ulf Lamping
589b473e41 various (huge) code cleanup incl. splitting of the coloring dialog and the actual color rule edit dialog into two files - this makes the things much more clearer now (at least for me)
svn path=/trunk/; revision=19392
2006-10-02 00:13:14 +00:00
Ulf Lamping
2cf4d327f2 If the Cancel button was clicked and another filter dialog is still open - yes that's possible - reverse the changes on it as well to reflect the current internal list.
svn path=/trunk/; revision=19391
2006-10-01 19:34:03 +00:00
Ulf Lamping
889a082501 Change the filter dialog (capture and display filters), so it has a real Cancel button now - the former Close button didn't reverted the changes done.
svn path=/trunk/; revision=19390
2006-10-01 17:59:30 +00:00
Ulf Lamping
1c93482ec7 add a missing #include
svn path=/trunk/; revision=19384
2006-09-30 14:57:50 +00:00
Graeme Lunt
23937f82c7 A new field information flag, FI_URL, to indicate a field contains a URL.
This is used to display the field underlined and to allow the user to double-click on it (like FT_FRAMENUM) to open the URL in the configured browser. 
Example usage in the x509ce and logotype certificate extensions. 


svn path=/trunk/; revision=19383
2006-09-30 14:37:09 +00:00
Ulf Lamping
e940ff36b4 from Stephen Fisher:
Attached is a patch for consideration that changes the title in the 
preferences notebook to be the full description of the preference (but 
leaves the short name in the preferences list on the left).

svn path=/trunk/; revision=19370
2006-09-29 22:48:38 +00:00
Ulf Lamping
736bf234e8 fix the context menu "Protocol Preferences" bug AGAIN (bug introduced again in 19291)
svn path=/trunk/; revision=19369
2006-09-29 22:40:55 +00:00
Luis Ontanon
dc6b87bd2a Avoid to add an empty menu if there's no Lua.
svn path=/trunk/; revision=19346
2006-09-28 08:57:29 +00:00
Luis Ontanon
2e7726b3ff * rename REGISTER_STAT_GROUP_E -> register_stat_group_t
* Add a "Tools" menu
* allow wslua's register_menu to register menu items into more menus


svn path=/trunk/; revision=19338
2006-09-27 17:12:42 +00:00
Ulf Lamping
8439211e71 instead of simply removing G_BEGIN_DECLS (maybe someone wants to use it in a c++ project), use an #if GTK_MAJOR_VERSION >= 2 around all definitions. This will also make it clear that this widget won't work with gtk 1.x
svn path=/trunk/; revision=19317
2006-09-24 20:37:30 +00:00
Guy Harris
4f59f626d6 Squelch some compiler warnings.
svn path=/trunk/; revision=19313
2006-09-24 20:27:25 +00:00
Ronnie Sahlberg
6b0c264898 we dont have G_BEGIN_DECLS on old gtk/glib versions
since we dont use c++ anyway we dont need these macros



svn path=/trunk/; revision=19310
2006-09-24 20:21:27 +00:00
Luis Ontanon
3310b0d94f Get rid of a tab after a / that caused make on MacOS X to believe that \t was another target
svn path=/trunk/; revision=19305
2006-09-23 14:24:22 +00:00
Ulf Lamping
ee0f84c846 rtp_player.c is already included in WIRESHARK_GTK_SRC, no need to mention it twice
svn path=/trunk/; revision=19299
2006-09-23 00:28:04 +00:00
Ulf Lamping
9e4bcdc764 GTK2: add an analog VU meter like display widget
Win32: use the widget to display the RSSI and Link Speed values as this is far better understandable than the raw numerical values (especially if you don't know the values well).

the GTK VU meter widget is based on LGPL'ed code from http://www.mumblelina.com/index.php?gtkvumeter=1 

... and I've heavily changed and extended it to fit the problem here.

We might use the VU meter widget later at other places as well ...

svn path=/trunk/; revision=19298
2006-09-23 00:14:48 +00:00
Ulf Lamping
cdb790c0b2 experimental: append the current maximum expert warning level to the "File" statusbar, e.g. "[Expert: Chat]".
I'm still looking for a good way to display the current expert level and this seems to be the best place.

However, ideas are still welcome ...

svn path=/trunk/; revision=19297
2006-09-22 23:49:08 +00:00
Gerald Combs
b18c049226 Don't complain if we can't find airpcap.dll.
svn path=/trunk/; revision=19296
2006-09-22 23:26:52 +00:00
Jaap Keuter
34dcddd3d0 Move Copy below the tree manipulation options.
svn path=/trunk/; revision=19292
2006-09-22 21:18:51 +00:00
Gerald Combs
9e23f31e5f Add support for reading from stdin under Windows. Based on a patch sent
in last year by Gianluca Varenni.

Add partial support for reading from named pipes (currently disabled).

Move utf_8to16() and utf_16to8() to a separate module (unicode-utils.[ch])
so that we don't have to cut and paste code in dumpcap.c.

Fix up whitespace.

svn path=/trunk/; revision=19291
2006-09-22 21:14:54 +00:00
Guy Harris
2ac8761978 Include "rtp_player.h" in "voip_calls.c" if we're supporting the RTP
player, so that we get declartions of rtp_player_init() and
add_rtp_packet().

Constify the first argument to add_rtp_packet(), as it's passed a
pointer to a const value.

svn path=/trunk/; revision=19272
2006-09-21 17:39:17 +00:00
Gerald Combs
ea0b3b5d10 Fix protocol reference link URL.
svn path=/trunk/; revision=19256
2006-09-18 22:22:44 +00:00
Ulf Lamping
98b0a4c548 Use the same caption in the Win32 version as in the GTK dialogs: "Wireshark: Select a capture file" -> "Wireshark: Open Capture File"
svn path=/trunk/; revision=19238
2006-09-15 22:03:20 +00:00
Guy Harris
c577480d71 Move the PortAudio stuff to from version_info.c to gtk/main.c, so it can
use Pa_GetVersionText().

(The word-wrapping stuff appears to work.)

svn path=/trunk/; revision=19222
2006-09-12 20:23:57 +00:00
Ulf Lamping
04fe34d711 various nmake related build file cleanups
svn path=/trunk/; revision=19198
2006-09-12 00:27:03 +00:00
Anders Broman
a1f8b7e084 From Alejandro Vaquero:
Need to use HAVE_LIBPORTAUDIO instead 
of PORTAUDIO_DIR in voip_calls.c

And build the windows version with Port audio.

svn path=/trunk/; revision=19187
2006-09-10 18:03:22 +00:00
Bill Meier
9568b76a63 minor cleanup for making codecs
svn path=/trunk/; revision=19184
2006-09-10 13:37:42 +00:00
Jörg Mayer
72651ba02d rtp_player.c will now compile with the new API, although it will not
actually do something useful except to print that the new API is not
supported.

Adapt acinclude.m4 to provide PORTAUDIO_API_1 and add back the
check_message to indicate *why* we are checking for the type.


svn path=/trunk/; revision=19148
2006-09-05 09:17:55 +00:00
Guy Harris
2dbe62270f Move the include of rtp_player.h after the include of stuff it needs,
and include rtp_analysis.h as well, as it declares something else
rtp_player.h needs.

svn path=/trunk/; revision=19146
2006-09-05 07:58:14 +00:00
Guy Harris
bec8422102 Comment #endifs so you can tell what they match.
svn path=/trunk/; revision=19144
2006-09-04 23:23:16 +00:00
Guy Harris
add86b5f3c Build with rtp_player.c.
svn path=/trunk/; revision=19143
2006-09-04 23:22:39 +00:00
Anders Broman
9c3b0ae91e Correct some typos and add some comments.
svn path=/trunk/; revision=19135
2006-09-04 18:04:10 +00:00
Jörg Mayer
abb600e95b The previous way of (not) including portaudio support didn't
work reliably (at least it didn't work on my system).
Change it to just wrap the rtp_player.[hc] files into a
#if defined(...) #endif.


svn path=/trunk/; revision=19134
2006-09-04 14:19:12 +00:00
Jörg Mayer
cdc492554c Ad $Id: § and reorder and reformat some comments in the header.
svn path=/trunk/; revision=19127
2006-09-03 15:41:42 +00:00
Anders Broman
9ea41277f9 Fix path and name.
svn path=/trunk/; revision=19120
2006-09-02 14:18:47 +00:00
Guy Harris
14a7431051 Squelch compiler warnings, and get rid of unused variables and
declarations.

Define functions with no arguments as such.

Clean up white space.

Declare tables in the codec .h files.

svn path=/trunk/; revision=19118
2006-09-02 07:18:16 +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