Commit graph

2633 commits

Author SHA1 Message Date
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
Jörg Mayer
63ae8f775f - Add svn:ignore
- Replace the completely wrong Makefile.am (was a copy of makefile.nmake)
  by the version the author sent. As I needed to retrieve it from the ML
  archives, it may be different from the originally sent version. If
  someone still has the original version in his inbox, please send it to
  me.

svn path=/trunk/; revision=19107
2006-09-01 04:26:53 +00:00
Ulf Lamping
d4499eb9a7 move value_strings from expert_dialogs into expert.c to remove duplicates
keep the highest severity level of the current file (experimental)

svn path=/trunk/; revision=19104
2006-08-31 22:56:38 +00:00
Ronnie Sahlberg
607f73cd71 dont include config.nmake in the codecs makefile it appears it is not needed
dont link with libcodec.a
1, this should be a shared library not a static one?
2, its not built on unix so it is missing


making unix/linux build work again



svn path=/trunk/; revision=19101
2006-08-31 12:13:12 +00:00
Ronnie Sahlberg
d1040bd39a the commands for a rule in a amkefile must in classical makefiles start with a TAB not with spaces.
svn path=/trunk/; revision=19100
2006-08-31 09:37:02 +00:00
Jaap Keuter
503bf26e98 Remove trailing backslash from CFLAGS
svn path=/trunk/; revision=19099
2006-08-31 06:58:29 +00:00
Anders Broman
7eac3c2879 From Alejandro Vaquero:
- Change the "listen_rtp" to "rtp_player"
- Change from a plugin to be part of the core
- By default it will not compile with the rtp_player. In order to 
compile it is necessary to:
       + For windows: uncomment the line 
"PORTAUDIO_DIR=$(WIRESHARK_LIBS)\portaudio_v18_1" in config.nmake
       + For linux: using the "--with-portaudio=yes"

svn path=/trunk/; revision=19094
2006-08-30 21:51:31 +00:00
Anders Broman
55ddc3dd59 From Alejandro Vaquero:
- Change the "listen_rtp" to "rtp_player"
- Change from a plugin to be part of the core
- By default it will not compile with the rtp_player. In order to 
compile it is necessary to:
       + For windows: uncomment the line 
"PORTAUDIO_DIR=$(WIRESHARK_LIBS)\portaudio_v18_1" in config.nmake
       + For linux: using the "--with-portaudio=yes"

svn path=/trunk/; revision=19093
2006-08-30 20:50:37 +00:00
Anders Broman
7577c1a2d8 From Alejandro Vaquero:
The "codecs"

svn path=/trunk/; revision=19092
2006-08-30 20:47:16 +00:00
Ulf Lamping
ad75ee95dd Remove a lot of XXX:
- add help buttons to the dialogs
- the read filter fields are now working (the filter button still not)
- PDML export don't need "Packet Format" settings, grey them out
- fix a bug in the filter fields coloring function (g_alloc space was too small)

svn path=/trunk/; revision=19091
2006-08-30 20:45:13 +00:00