Commit Graph

176 Commits

Author SHA1 Message Date
Guy Harris a04774395f Add Makefile.common files for epan/dfilter and epan/ftypes.
Add checkapi rules to Makefile.am files.

svn path=/trunk/; revision=25656
2008-07-02 01:44:30 +00:00
Stig Bjørlykke 3e55619b8b Attempt to fix the !win32 build.
svn path=/trunk/; revision=25372
2008-05-23 13:14:08 +00:00
Ulf Lamping 2b19b4e07e move noinst_HEADERS and EXTRA_DIST settings from Makefile.am to Makefile.common as it's done in /Makefile.common and elsewhere
svn path=/trunk/; revision=24948
2008-04-12 19:24:25 +00:00
Ulf Lamping b51da2eb77 rename menu -> main_menu
remove old (and unused and confusing) ../menu.h

svn path=/trunk/; revision=24947
2008-04-12 19:18:26 +00:00
Ulf Lamping 4151a40503 rename toolbar to main_toolbar
svn path=/trunk/; revision=24940
2008-04-12 16:38:13 +00:00
Ulf Lamping 72faa680b8 move statusbar related code from main.c into it's own main_statusbar.c
svn path=/trunk/; revision=24937
2008-04-12 15:55:27 +00:00
Ulf Lamping 1dbdc34841 move drag_and_drop declarations into it's own file
svn path=/trunk/; revision=24927
2008-04-12 09:33:59 +00:00
Ulf Lamping b4f3c5fd40 compat_macros.h is gone now!!!
all GTK1 compatibility code was removed, so this file can simply be dropped

svn path=/trunk/; revision=24923
2008-04-12 01:41:53 +00:00
Ulf Lamping 55c2be83db move stock icon code from toolbar.c into specific stock_icons file(s)
svn path=/trunk/; revision=24921
2008-04-12 00:49:20 +00:00
Ulf Lamping 19fa41724f add expert_comp_dlg.h to the distributed files
svn path=/trunk/; revision=24808
2008-04-06 22:07:21 +00:00
Stephen Fisher f3c333e5b9 Remove GTK1 from Unix build process.
svn path=/trunk/; revision=24775
2008-04-04 23:37:31 +00:00
Ulf Lamping 792d18eaee carve out the (currently disabled) welcome page into it's own file to slightly reduce the huge main.c file size
svn path=/trunk/; revision=24773
2008-04-04 23:14:27 +00:00
Jaap Keuter 2e0f8088c3 From Jim Young:
This patch provides a new RTP Player preferences dialog.  It allows one to
select the maximum number of visable channels in the RTP Player window.  The
default is four (4) channels which is the maximum number of usable channels 
that the RTP Player can display and still have access to the bottom row buttons 
on a 1024*768 resolution display.  Specifying a value less than 1 or greater than 
10 will be result in the RTP Player displaying the default 4 channels.

svn path=/trunk/; revision=24112
2008-01-16 07:36:34 +00:00
Stig Bjørlykke a2d1e9005d This patch adds support for configuration profiles, which can be used to
configure and use more than one set of preferences and configuration files.

This can be found in the "Configuration Profiles..." menu item from the Edit
menu, or by pressing Shift-Ctrl-A.  It's also possible to start wireshark
and tshark with a named profile by using the "-C ProfileName" option.
A new status pane in the main window will show the current profile.

The configuration files currently stored in the Profiles are:
- Preferences
- Capture Filters
- Display Filters
- Coloring Rules
- Disabled Protocols
- User Accessible Tables

The recent data are by design not added to the profile.

Planned future enhancements:
- make a more convenient function to switch between profiles
- add a "clone profile" button to copy an existing profile
- make the profiles list active and accept return as OK
- save users "Decode as" in the profile
- make new, clone and deletion of profiles more secure
- make some of the recent values available in the profile

This patch also fixes:
- setting default status pane sizes
- a bug setting status pane for packets when not having main lower pane.

svn path=/trunk/; revision=24089
2008-01-14 16:40:23 +00:00
Stephen Fisher bb71da97df Fix distcheck after my prior 2 commits
svn path=/trunk/; revision=23348
2007-11-03 06:23:02 +00:00
Stephen Fisher a3202ff86b Standardize filenames and function names for Follow TCP & SSL stream functions
svn path=/trunk/; revision=22870
2007-09-13 22:25:20 +00:00
Stephen Fisher 7bef902e14 Initial work on merging common code between follow TCP & SSL stream features
svn path=/trunk/; revision=22520
2007-08-16 03:36:38 +00:00
Stephen Fisher 0ba44094e6 Fix enhancement bug #1337: Export IO Graphs
This new code adds a save button to the Statistics IO Graphs window and
is also reusable by any other code that uses GDK Pixmaps to draw graphs.
The Gdk-pixbuf library included in GTK is used for this save function.


svn path=/trunk/; revision=22166
2007-06-22 22:22:10 +00:00
Stephen Fisher 1909b97d4d Remove all warnings under Unix for the gtk/ directory.
svn path=/trunk/; revision=21160
2007-03-24 00:45:11 +00:00
Ulf Lamping ae89a24c37 add export_object.h so distcheck don't fail
svn path=/trunk/; revision=20954
2007-03-01 09:36:01 +00:00
Luis Ontanon a2a25e7586 revert (most) changes in rev #20753, to avoid items being created on a wrong menu on windows.
svn path=/trunk/; revision=20928
2007-02-25 18:03:05 +00:00
Luis Ontanon ee4cf097ad From Albert Chin:
Gnutls can be located in a different place than the other libs.


svn path=/trunk/; revision=20796
2007-02-12 19:55:54 +00:00
Martin Mathieson 2a6c2284c4 Fix build (at least for me) by removing macros_dlg.h
svn path=/trunk/; revision=20754
2007-02-09 11:24:59 +00:00
Luis Ontanon 6a4a51ffec The UAT gui starts to work
set the macros_dlg to use it

add a dummy dfilter_macros file to supress a warning at startup


svn path=/trunk/; revision=20598
2007-01-29 10:23:38 +00:00
Luis Ontanon 1776daa374 Have build succeed even if portaudio is located somewhere else than any other libraries in use.
svn path=/trunk/; revision=20533
2007-01-23 19:46:55 +00:00
Jaap Keuter bb978e7572 Trying to get buildbot Ubuntu-5.10-x86 to build again.
Fix typo.

svn path=/trunk/; revision=20471
2007-01-18 07:10:02 +00:00
Luis Ontanon 07c083580a NOT for 0.99.5
macro_dlg.h was in this other file!


svn path=/trunk/; revision=20470
2007-01-18 03:21:22 +00:00
Jaap Keuter 96fbec58b6 Trying to get buildbot Ubuntu-5.10-x86 distcheck to build again.
svn path=/trunk/; revision=20425
2007-01-14 13:44:40 +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
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 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
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
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
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
Ulf Lamping fc2c17c6f7 add u3.h to the distribution files (hopefully this fixes ubuntu buildbot distcheck)
svn path=/trunk/; revision=19079
2006-08-29 21:06:36 +00:00
Gerald Combs f9661850d1 Add support for AirPcap, an upcoming wireless product from CACE. Support
is disabled by default, and can be enabled by setting AIRPCAP_CONFIG
in config.nmake.  The code is currently limited to Windows, but should
be adaptable to other platforms.

The official announcement won't come until next week, so you'll have to
read the source for details.  :)

svn path=/trunk/; revision=18928
2006-08-16 18:01:25 +00:00
Jörg Mayer e226affa31 stephentfisher@yahoo.com:
Adds $(LIBGCRYPT_CFLAGS) to two Makefiles
	(fix for http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1005)


svn path=/trunk/; revision=18753
2006-07-17 19:37:21 +00:00
Gerald Combs f53bb927fc Add support for generating firewall ACL rules. MAC, IPv4, port, and
IPv4+port rules are supported along with several syntaxes: IOS standard,
IOS extended, ipfilter, ipfw, pf, and netsh.  IPv6 is currently not
supported, but shouldn't be too difficult to add.

All of the rules were created using the documentation for each product.
None of them have been tested.  For the time being, use them with
caution.

svn path=/trunk/; revision=18737
2006-07-14 20:14:39 +00:00
Gerald Combs eb71f7fb96 Rename the main executable to "wireshark", along with more conversions:
ethereal.com -> wireshark.org
  mailing lists and addresses
  ETHEREAL -> WIRESHARK
  Man pages
  Automake/Autoconf names


svn path=/trunk/; revision=18271
2006-05-31 19:12:15 +00:00
Ronnie Sahlberg 89f022b12b name change
svn path=/trunk/; revision=18197
2006-05-21 05:12:17 +00:00
Guy Harris 84aef00bad Move the file selection dialog routines to file_dlg.c, and give it a
header file.

#if 0 out some includes; if none of the builds have a problem with
that, I'll remove them.

svn path=/trunk/; revision=18036
2006-04-30 01:47:58 +00:00
Guy Harris 0ce9a23b25 Most of the stuff in file_dlg.c is specific to capture files, so rename
it to capture_file_dlg.c, and rename its header file.  We might want to
move the generic file dialog stuff to a file_dlg.c file (it's currently
in dlg_utils.c), and move the non-capture-file dialog stuff in
capture_file_dlg.c to another file.

svn path=/trunk/; revision=18034
2006-04-29 23:03:57 +00:00
Anders Broman 6b33d50f90 From Miha Jemec:
With the new feature we can: 
1. Measure how big the bursts are for a video streams (it uses sliding window algorithm) 2. Measure how big the output buffer should be that no packet drop will occur (it uses Leaky bucket algorithm) 
3. Detect if we have loses inside the MPEG2 video stream (if there are already MPEG2 packets missing) - this part of code is not added yet, see Limitations

The addition is called Multicast streams and works as follows:

- it uses the TAP system
- the main "stream" logic is taken from rtp_strems.* files
- the TAP system checks for UDP packets where the destination MAC address starts with "01:00:5E" (ethernet multicast address)
- it creates an entry for every new multicast stream
- based on sliding window and leaky bucket algorithm it calculates for every stream average BW, max BW, burst size, max buffer needed, some alarms if the limits are exceeded,...
- the same calculation is done for all streams together
- inside the window dialog you can specify the burst interval, the alarm limits and output speeds

To do & limitations:

- Currently the analysis can be done only for multicast streams, it means that VoD (Video on demand) or PayTV streams, which are normally unicast can not be analysed. 

- since the MPEG2 is patended I don't know if decoding of MPEG2 packets is allowed? Can we look inside this packets and calculate packets drops based on some counter information inside the payload? Can someone please answer this question? If we can do this, I will post this part of code too.

-  some more flexibility will be added

svn path=/trunk/; revision=17980
2006-04-24 19:10:36 +00:00
Gerald Combs 80e5e0fb15 Copy over the file open/save code from the Win32 native branch.
The Windows-native routines were integrated by inserting

#if GTK_MAJOR_VERSION >= 2 && _WIN32
  win32_native_routine(GDK_WINDOW_HWND(top_level->window));
  return;
#endif

at the beginning of each GTK+ file routine.  There's probably a prettier
way to do this.

Some of the sizes need to be tweaked in win32-file-dlg.rc, but everything
seems to work.

Fix up whitespace.

svn path=/trunk/; revision=17285
2006-02-13 21:25:43 +00:00
Jörg Mayer bedb2dbe4c Forgot to add ssl-dlg.h to the distro
svn path=/trunk/; revision=17188
2006-02-06 15:47:05 +00:00
Ulf Lamping 5d66658184 from Greg Morris:
Composite Expert statistics, see: 
http://www.ethereal.com/lists/ethereal-dev/200511/msg00002.html
and the following discussions

svn path=/trunk/; revision=16593
2005-11-25 23:42:52 +00:00
Guy Harris 13e0b409cf As per a suggestion by Ulf Lamping, rename gtk_*.[ch] to gui_*.[ch], so
that it doesn't appear to be part of GTK+.

svn path=/trunk/; revision=15501
2005-08-21 19:24:11 +00:00
Guy Harris b3562ac040 "gtk_tap_dfilter_dlg_cb()" is no longer used outside
gtk/tap_dfilter_dlg.c; don't export it.

That means that gtk/tap_dfilter_dlg.h is no longer useful; get rid of
it.

Rename "gtk_tap_dfilter_dlg_cb()" to "tap_dfilter_dlg_cb()", as it's
inside GTK+-specific code, so there's no need to distinguish it from
non-GTK+ callbacks.

Update some comments to reflect the name change and the new API for
registering tap_dfilter_dlg stats.

Make the AFP and SMB stats use the gtk/tap_dfilter_dlg.c stuff.

svn path=/trunk/; revision=15496
2005-08-21 11:09:36 +00:00
Guy Harris a0e68da918 Add a "register_dfilter_stat()", to register stats that take a display
filter as an argument on the command line and have a dialog box to enter
the display filter through the GUI.  Use it for all stats using
"gtk_tap_dfilter_dlg_cb()".

Add a top-level "stat_menu.h" file to declare "REGISTER_STAT_GROUP_E"
for the benefit of the declaration of "register_dfilter_stat()" in the
top-level "tap_dfilter_dlg.h".  Rename the "stat_menu.h" in the gtk
directory to "gtk_stat_menu.h", so as not to have two headers with the
same name.

Get rid of headers not declaring any functions not being used in the
module.

svn path=/trunk/; revision=15493
2005-08-21 09:48:27 +00:00
Jörg Mayer bb5c2b1f7a And if we add a file, add it to Makefile.am as well
svn path=/trunk/; revision=15477
2005-08-20 16:30:23 +00:00