Commit Graph

3392 Commits

Author SHA1 Message Date
Ulf Lamping fbd8124387 remove GTK1 related stuff from the file header comment
svn path=/trunk/; revision=24801
2008-04-06 16:23:05 +00:00
Ulf Lamping 6634af3022 try to fix the OSX buildbot
svn path=/trunk/; revision=24800
2008-04-06 02:28:36 +00:00
Ulf Lamping 263396db2f fix compilation without HAVE_AIRPCAP
svn path=/trunk/; revision=24799
2008-04-05 23:55:35 +00:00
Ulf Lamping a171ea4769 click on the "expert info" indicator opens the corresponding dialog
svn path=/trunk/; revision=24798
2008-04-05 23:16:59 +00:00
Stephen Fisher 2000fa9fcf Remove more GTK1 code and related xpm files.
svn path=/trunk/; revision=24795
2008-04-05 19:23:07 +00:00
Ulf Lamping 165e1a5dc7 update expert info LED also while doing live capturing
svn path=/trunk/; revision=24793
2008-04-05 15:20:20 +00:00
Ulf Lamping 054b263486 add HAVE_LIBPCAP to IntelliSense settings
svn path=/trunk/; revision=24791
2008-04-05 15:05:29 +00:00
Ulf Lamping 40f0277d5a add "recently" added files
svn path=/trunk/; revision=24789
2008-04-05 09:32:30 +00:00
Ulf Lamping 01dcf4b3c6 remove GTK1 stuff
svn path=/trunk/; revision=24788
2008-04-05 09:31:49 +00:00
Stephen Fisher fdfbcf1422 Remove GTK1 references and code (other than our packet list clist).
svn path=/trunk/; revision=24783
2008-04-05 05:39:07 +00:00
Ulf Lamping 0ee0f3ac43 add an "LED" to the statusbar, that indicates the most important level of expert info in the capture file
svn path=/trunk/; revision=24777
2008-04-05 00:13:27 +00:00
Stephen Fisher ae48504af2 Remove GTK1 code.
svn path=/trunk/; revision=24776
2008-04-05 00:12:04 +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 d476d3fa4b set SVN properties
svn path=/trunk/; revision=24774
2008-04-04 23:16:07 +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
Luis Ontanon 906d2f3cbb http://www.wireshark.org/lists/wireshark-dev/200803/msg00308.html
proto.[hc]
    define new APIs to allow delayed registration of protocol fields,
	so that dissectors with "flexible" fields  like xml, radius, diameter,
	snmp do not have to load their files at startup but can do so as late as possible.

gtk/dfilter_expr_dlg.c :
	have the expression dialog registering all prefixes so that all fileds appear in the dialog

tshark.c
	register all prefixes when called with -G

epan/radius_dict.l
epan/dissectors/packet-radius.c
epan/dissectors/packet-radius.h
	refactor registration to delay dictionary loading as long as possible



svn path=/trunk/; revision=24762
2008-04-03 22:13:52 +00:00
Ulf Lamping 0e1dae9f67 remove no longer existing follow_dlg.h
svn path=/trunk/; revision=24755
2008-03-29 17:50:32 +00:00
Stephen Fisher 9dc1d5b9a7 Fix bug #2286: Folow TCP stream window [needs line wrapping turned back on]
wrapped lines


svn path=/trunk/; revision=24742
2008-03-28 04:42:29 +00:00
Gerald Combs 2f4830393c Add tooltips for the filter button and text entry in the open and merge
dialogs.

svn path=/trunk/; revision=24735
2008-03-27 17:26:59 +00:00
Gerald Combs 35a5e1d68b Change the "Filter:" button in the Win32 open and merge dialogs to a
"Display filter" label.

svn path=/trunk/; revision=24734
2008-03-27 17:21:48 +00:00
Stephen Fisher 8d95969dba Remove unterminated comment to fix compile
svn path=/trunk/; revision=24733
2008-03-26 23:08:58 +00:00
Gerald Combs 71b562a850 Make the default save format "Raw". Make it easy to change the default
format.

svn path=/trunk/; revision=24732
2008-03-26 22:33:56 +00:00
Stephen Fisher c4571a6ad5 Fix bug #1212: Follow SSL/UDP Stream gets direction wrong ...
svn path=/trunk/; revision=24715
2008-03-22 05:50:19 +00:00
Stephen Fisher 76c84e35c3 Finish fixing bug #1138: Follow TCP Streams gets stream direction wrong ...
svn path=/trunk/; revision=24687
2008-03-18 05:01:18 +00:00
Stephen Fisher 5f0021ccba Fix bug #1143 - Can't read packet details....bad color scheme forced
Change the code so we don't force a white background in the protocol tree
area, instead just unset it so it goes back to its natural background.  This
matters with color schemes that have a black background.


svn path=/trunk/; revision=24625
2008-03-14 06:15:06 +00:00
Gerald Combs f8e75ecd32 Make the SMI preference a little more verbose. In the COPS and SNMP
preferences, tell the user where they can change the SMI settings. In
the 802.11 preferences, fix a tooltip.

svn path=/trunk/; revision=24620
2008-03-13 22:17:11 +00:00
Stephen Fisher 4718890a3c Fix a minor memory leak.
svn path=/trunk/; revision=24616
2008-03-13 06:25:53 +00:00
Stig Bjørlykke fa2033ab8b Fixed server and client packet count in C Array variables in
Follow TCP/UDP/SSL Stream.  This error was introduced when merging
duplicate code between TCP & SSL stream functions, r22869.

svn path=/trunk/; revision=24610
2008-03-12 08:50:09 +00:00
Stig Bjørlykke ba7cbb5aa9 From Nathan Jennings (bug 2350):
Highlight the selected interface in the edit interfaces list.

svn path=/trunk/; revision=24609
2008-03-12 07:16:25 +00:00
Stig Bjørlykke cf3a5d8d55 Fix some texts in the file types list.
svn path=/trunk/; revision=24608
2008-03-11 22:50:17 +00:00
Stig Bjørlykke 1aa356313e Disable the "Packet Format" when save as "C Arrays".
svn path=/trunk/; revision=24607
2008-03-11 21:06:56 +00:00
Stig Bjørlykke d0a04bd7df Added "C Arrays" to list of file types to export.
svn path=/trunk/; revision=24606
2008-03-11 19:35:53 +00:00
Stig Bjørlykke 5800abad46 From Francesco Fondelli (bug 2349):
Attached is a patch to export packets data as "C Arrays".  I often have
the need to [re]send data captured with wireshark using a raw/pf_packet socket.
Output format is one char[] per packet, it looks like almost the same as
the one produced by "Follow TCP stream".

svn path=/trunk/; revision=24604
2008-03-11 18:23:16 +00:00
Stig Bjørlykke 11eda6b97b Add check for gtk 2.4 when calling gtk_tree_view_column_set_expand.
svn path=/trunk/; revision=24603
2008-03-11 17:27:41 +00:00
Stig Bjørlykke 0e761b5839 Free another allocated string.
svn path=/trunk/; revision=24577
2008-03-06 18:26:09 +00:00
Bill Meier 80b754bb01 Fix some typos; Fix some indenting to be at least locally consistent
svn path=/trunk/; revision=24575
2008-03-06 15:51:44 +00:00
Stig Bjørlykke 1e6d34261d get_persconffile_path() return malloc'd memory,
free it when we're done with the file name.

svn path=/trunk/; revision=24558
2008-03-04 22:02:24 +00:00
Michael Tüxen 4306c7037d Include epan/strutil.h for gtk-1.2 builds.
svn path=/trunk/; revision=24513
2008-03-01 10:23:57 +00:00
Michael Tüxen 5ccc995362 Include strutil.h to find g_strlcpy and g_strlcat in gtk-1.2 builds.
svn path=/trunk/; revision=24512
2008-03-01 09:05:40 +00:00
Stephen Fisher 56226b49b8 Custom column updates:
- Change apply / prepare / ... as filter to use the field's value, which
   is now stored in fdata as well as cinfo.  Now we don't have to reprocess
   the entire packet list when using these features.  This also prevents
   the use of these features from overwriting custom column information.
   (custom columns can now be used in apply / prepare ... as filter)
 - Break col_expr and col_expr_val out into a struct that is included not only
   in cinfo, but now also fdata.
 - Have col_custom_set_fstr() quote FT_STRING & FT_STRINGZ when storing the
   col_expr_val value (for filter creation).


svn path=/trunk/; revision=24511
2008-03-01 05:16:45 +00:00
Jeff Morriss 61caa0b5b9 Include strutil.h so we find g_strlcat() in gtk-1.2 builds
svn path=/trunk/; revision=24510
2008-03-01 02:33:38 +00:00
Stig Bjørlykke b5886343ea Save correct gui.time_format for "seconds since previous displayed packet"
and "seconds since epoch".

This fixes bug 2315.

svn path=/trunk/; revision=24508
2008-02-29 20:11:29 +00:00
Stig Bjørlykke 7deec480ff Next attempt to cleanup some string functions, including:
strncpy -> g_strlcpy, strncat -> g_strlcat

svn path=/trunk/; revision=24504
2008-02-29 13:33:37 +00:00
Stig Bjørlykke b3e2991f19 Corrected right-justification of custom boolean and framenum columns.
svn path=/trunk/; revision=24453
2008-02-24 15:31:29 +00:00
Stig Bjørlykke 29bd9c96ae Sort custom columns according to field type.
(absolute time and 64bit values not yet correct)

Right-justify numeric custom columns.

svn path=/trunk/; revision=24452
2008-02-24 12:37:37 +00:00
Stig Bjørlykke 5ff0326b90 Moved init of custom_field.
Cleanup some GTK1/GTK2 code.

svn path=/trunk/; revision=24448
2008-02-23 21:26:07 +00:00
Stig Bjørlykke ae42e39556 Fixed a check for custom column.
svn path=/trunk/; revision=24442
2008-02-23 10:14:43 +00:00
Stephen Fisher 5399d02752 Add filter syntax check to custom column filter field. This will allow
filter expressions such as filter == value, which won't work as a custom
column.  We may need to modify its behavior to prevent entire expressions
from being entered.  For the time being though, it does check the filter
syntax itself as well.


svn path=/trunk/; revision=24441
2008-02-23 01:15:14 +00:00
Stig Bjørlykke 51b26f95f3 Improved custom columns with custom title.
Fixed a crash when adding an empty custom field.

svn path=/trunk/; revision=24438
2008-02-22 22:47:19 +00:00
Ulf Lamping d41b403367 add rawshark.html to packaging and Wireshark help menu
svn path=/trunk/; revision=24431
2008-02-22 20:38:50 +00:00
Bill Meier b56def1506 Fix compile errors if 'configure ... --without-pcap'
svn path=/trunk/; revision=24416
2008-02-22 04:56:26 +00:00
Stephen Fisher 470000e6c1 Use default numeric/text sort for custom columns also.
svn path=/trunk/; revision=24414
2008-02-22 01:26:26 +00:00
Bill Meier 4f82d2a007 Fix two compilation errors
svn path=/trunk/; revision=24405
2008-02-21 02:10:05 +00:00
Stig Bjørlykke 9f522c8eaf Added logarithmic y axis scale option.
svn path=/trunk/; revision=24402
2008-02-20 17:53:31 +00:00
Stephen Fisher ed3a633dd5 Fix some formatting
svn path=/trunk/; revision=24399
2008-02-20 05:47:39 +00:00
Gerald Combs 3df577499f Switch to the "oooh shiny" splash image.
svn path=/trunk/; revision=24393
2008-02-19 18:06:57 +00:00
Bill Meier 5b8da491d7 Add $Id$
svn path=/trunk/; revision=24382
2008-02-18 22:39:03 +00:00
Stig Bjørlykke fd9486cea6 Added help button in expert info and expert info composite dialogs.
svn path=/trunk/; revision=24374
2008-02-17 21:22:00 +00:00
Stig Bjørlykke 1c3c9d7828 When resize the IO Graphs window expand the filter field and advanced
calc field instead of the space between "Style:" and the style boxes, and
the X/Y Axis labels and corresponding boxes.

svn path=/trunk/; revision=24373
2008-02-17 18:37:56 +00:00
Bill Meier 16032ced67 Remove redundant (repeated) "PortAudio" from "About Wireshark" screen.
svn path=/trunk/; revision=24372
2008-02-17 16:26:06 +00:00
Stig Bjørlykke c9f7367658 Simplified printing of x-axis values so we get a consistent view even if
resizing the window.  Also draw a 8 pixel x-axis line between the x-axis
labels to make it easier to determine midway.

svn path=/trunk/; revision=24370
2008-02-17 14:27:52 +00:00
Stig Bjørlykke 43272f9435 Added an option to Conversations and Endpoints to limit the list to match
the current display filter.

Some Hosts -> Endpoints cleanup.

svn path=/trunk/; revision=24368
2008-02-17 00:35:55 +00:00
Stig Bjørlykke f8a07f7eff Added check for idx in get_frame_num().
svn path=/trunk/; revision=24364
2008-02-16 19:57:37 +00:00
Stig Bjørlykke 7af630f136 Corrected previous cast.
svn path=/trunk/; revision=24361
2008-02-16 17:19:09 +00:00
Stig Bjørlykke c1f721e423 Cast a double to guint32.
svn path=/trunk/; revision=24359
2008-02-16 17:00:08 +00:00
Stig Bjørlykke 11de0a827d Click in the IO Graph to select the first package in the selected interval.
Click button 3 to select the last package.

svn path=/trunk/; revision=24358
2008-02-16 16:40:36 +00:00
Stig Bjørlykke ba11df88da Added option to turn off name resolution.
Added help button (documentation TBD).

svn path=/trunk/; revision=24329
2008-02-14 09:33:57 +00:00
Gerald Combs 269b0d0474 Add a priority level to each context in the info status bar. Use it to make
sure we don't overwrite filter status messages during live captures.

When "!=" is used in a display filter, point the user to the User's Guide.

svn path=/trunk/; revision=24315
2008-02-13 01:18:40 +00:00
Stig Bjørlykke 5df0b2fe77 Do not update window title when destroying the dialog.
svn path=/trunk/; revision=24314
2008-02-13 00:31:54 +00:00
Stig Bjørlykke f410d0b781 Fixed an incorrect free loop.
svn path=/trunk/; revision=24311
2008-02-12 15:18:01 +00:00
Stig Bjørlykke a356f552b4 Added WLAN Traffic Statistics dialog.
svn path=/trunk/; revision=24310
2008-02-12 14:17:18 +00:00
Gerald Combs 556d14a8bf Wireshark occasionally starts up behind other applications. Bring it to the
front.

svn path=/trunk/; revision=24304
2008-02-11 19:20:10 +00:00
Stig Bjørlykke 56b0985653 Fixed setting filter in SCTP Chunk Counter statistics.
Fixed setting filter in NCP Endpoints.
Corrected $Id$ in hostlist_ncp.c

svn path=/trunk/; revision=24300
2008-02-11 13:15:48 +00:00
Stig Bjørlykke 89693ff729 Avoid double space in filter when creating from conversations and endpoints.
svn path=/trunk/; revision=24299
2008-02-11 11:06:35 +00:00
Stephen Fisher aa3c4cafbc Fix for bug #2250
svn path=/trunk/; revision=24294
2008-02-09 01:09:05 +00:00
Stig Bjørlykke 59a76191b4 Added SCTP Endpoints table.
Display port number in SCTP Conversations table.
Get correct display filter from SCTP Conversations.
Arrange Conversations and Endpoints tabs alphabetically.

svn path=/trunk/; revision=24291
2008-02-08 12:33:26 +00:00
Stig Bjørlykke 42fe2398b9 Added missing "svn:keywords Id" and "svn:eol-style native" for some
c and h files.

svn path=/trunk/; revision=24290
2008-02-08 09:45:36 +00:00
Stig Bjørlykke ad5e6ad06b Removed some more "statement not reached" warnings.
svn path=/trunk/; revision=24283
2008-02-07 12:52:08 +00:00
Stig Bjørlykke a60079bd1e Improved the profile name check to popup a dialog when trying to apply an
invalid profile name.

svn path=/trunk/; revision=24268
2008-02-04 15:50:17 +00:00
Bill Meier 3d02aa4c1f Clean up (some) indentation ...
svn path=/trunk/; revision=24266
2008-02-04 00:21:20 +00:00
Bill Meier ccabb036ec Fix benign typo
svn path=/trunk/; revision=24265
2008-02-04 00:11:59 +00:00
Sake Blok c8276a5c91 From Balint Reczey (bug 2233):
The attached patch makes the Statistics -> RTP -> Show All Streams feature of
wireshark accessible via tshark.

I found it helpful in dealing with tons of RTP captures.


svn path=/trunk/; revision=24252
2008-02-03 10:31:55 +00:00
Stig Bjørlykke de3c7e9a0b Disallow ending space was not such a good idea, chop it of before save instead.
Also disallow '/' in profilename for !win32. 

svn path=/trunk/; revision=24243
2008-02-01 18:42:59 +00:00
Stig Bjørlykke 4c2f3b0644 Fixed a problem with renaming a profile after hitting apply.
Profile name cannot start or end with space, and on win32 it cannot contain
any of this characters: \ / : * ? " < > |
Added a tooltip to the profile name text box.

svn path=/trunk/; revision=24242
2008-02-01 16:49:34 +00:00
Stig Bjørlykke fe98fab03c Added tooltip description for yellow filter background.
svn path=/trunk/; revision=24241
2008-02-01 10:02:19 +00:00
Stig Bjørlykke 10a8f59e03 Rewrote some prohibited APIs in gtk/ (sprintf, strcpy, strcat).
If we get some truncated strings we probably overwrote some buffers...

svn path=/trunk/; revision=24239
2008-02-01 01:07:58 +00:00
Stig Bjørlykke 18fd58de40 Added missing space in front of new statusbar messages.
svn path=/trunk/; revision=24233
2008-01-31 20:00:45 +00:00
Gerald Combs 9703c2bb75 If "!=" or "ne" are used in a display filter, warn the user that the results
may be unexpected.

svn path=/trunk/; revision=24232
2008-01-31 19:50:38 +00:00
Stig Bjørlykke f3747bf637 Hide hidden devices in "Capture Interfaces" dialog.
Added a function to check for hidden devices, which also work correctly
for plumbed devices on solaris.

svn path=/trunk/; revision=24231
2008-01-31 16:47:05 +00:00
Bill Meier 161eb8b6d7 Add missing g_object_unref for treeview models;
Remove not needed set_tree_model (stats_tree_stat.c)

svn path=/trunk/; revision=24230
2008-01-31 16:37:56 +00:00
Stig Bjørlykke 1efb7e3627 Add Luis' uat_get_table_by_name() to fetch SMI uat tables.
svn path=/trunk/; revision=24229
2008-01-30 22:50:55 +00:00
Stig Bjørlykke 869213d9ef Added missing space in front of some statusbar messages.
svn path=/trunk/; revision=24226
2008-01-30 15:16:21 +00:00
Stig Bjørlykke 7ec0e26318 When having more than one matching item in a frame the MAX and MIN calculation
could return an invalid value.  Also fixed AVG calculation.

svn path=/trunk/; revision=24220
2008-01-29 14:27:02 +00:00
Stig Bjørlykke 3278775634 When having more than one matching item in a frame the AVG calculation
did not return a correct value.

svn path=/trunk/; revision=24210
2008-01-27 18:19:40 +00:00
Stig Bjørlykke 8369bda495 Expand the Protocol column instead of the last column on window resize.
svn path=/trunk/; revision=24209
2008-01-27 15:54:15 +00:00
Stig Bjørlykke 45572b611c Do not change profile if directory creation failed, and change to default
profile if existing profile was deleted.

svn path=/trunk/; revision=24208
2008-01-27 14:45:31 +00:00
Stig Bjørlykke 57ab05545c Also destroy the window when failure to export/import color filters.
svn path=/trunk/; revision=24204
2008-01-26 17:04:49 +00:00
Stig Bjørlykke dce0761a4a Destroy the open window after open failure to avoid having an unusable
open dialog when using GTK >= 2.4.

This fixes bug 1986.

svn path=/trunk/; revision=24203
2008-01-26 16:50:08 +00:00
Stig Bjørlykke 9c8078686e Destroy the save window after canceling a save to an existing file, so
the user is able to save again without having a hidden save window which 
will not open.

Older GTK versions will show the hidden window after failure.

This fixes bug 1896.

svn path=/trunk/; revision=24202
2008-01-26 16:45:29 +00:00
Bill Meier e923010814 Fix various small memory leaks & 1 invalid g_free (airpcap_gui_utils.c)
svn path=/trunk/; revision=24185
2008-01-24 22:26:05 +00:00
Bill Meier 644a5bb6d2 Change "Found no match" to "No match found"
svn path=/trunk/; revision=24183
2008-01-24 22:12:10 +00:00
Jeff Morriss 75849c12f1 s/%ll/%" G_GINT64_MODIFIER "/g
svn path=/trunk/; revision=24181
2008-01-24 21:57:13 +00:00
Stig Bjørlykke 6a31f43f8b Always return a valid profile name from get_profile_name().
svn path=/trunk/; revision=24175
2008-01-24 17:06:22 +00:00
Bill Meier dc0b8a0727 One of fixes in SVN #24173 incomplete; Undo it for now
svn path=/trunk/; revision=24174
2008-01-24 05:39:48 +00:00
Bill Meier b01c07bcdd Fix two very minor memory leaks
svn path=/trunk/; revision=24173
2008-01-24 04:20:07 +00:00
Gerald Combs 690f8f51f8 Arrange things so that if '-o "capture.auto_scroll: FALSE"' is passed to
Wireshark on the command line, auto-scroll is actually disabled.

svn path=/trunk/; revision=24172
2008-01-24 01:23:19 +00:00
Bill Meier a054ed6040 Fix a minor memory leak; Remove some unused variables
svn path=/trunk/; revision=24168
2008-01-23 14:07:40 +00:00
Bill Meier 6bb8b5f9b9 Fix minor memory leak
svn path=/trunk/; revision=24167
2008-01-23 14:05:22 +00:00
Jaap Keuter 56222aed0e Fix for bug 1920:
Avoid double free, causing crash, and stop memory leak via normal code path.

svn path=/trunk/; revision=24152
2008-01-21 07:35:16 +00:00
Stig Bjørlykke edf727387f Fixed crash when save IO Graphs (bug 2126).
The problem was that configure_event() is called each time the window size
changes, and each time the pixmap buffer is recreated and a new signal added
to the save button.

svn path=/trunk/; revision=24145
2008-01-20 16:53:53 +00:00
Stig Bjørlykke 27db1b2798 Added "copy as CSV" button to IO Graphs.
svn path=/trunk/; revision=24143
2008-01-20 12:24:14 +00:00
Jaap Keuter d3e52cc1fe Cleanup the whitespace.
svn path=/trunk/; revision=24137
2008-01-19 07:46:52 +00:00
Stig Bjørlykke 1621224a86 Free allocated data in prefs_reset, removed need for uat_reload_all and
made some cleanups in profile_dlg.

svn path=/trunk/; revision=24136
2008-01-19 01:18:35 +00:00
Stig Bjørlykke cd259ecb55 I can't find any reason to unselect the current package only when an entry
in the packet details view is selected.  I suppose unselecting the field is
more correct.  The previous behaviour lead to some strange errors:

 Select a packet and an entry in the packet details.  Add a new column
 and change a protocol preference.  Observe the selected package is
 unselected and packet 1 is selected, which I think is wrong.

 Do the same as above with one of the following exceptions:
  - without selecting an entry in the packet details.
  - without adding a new column.
  - without changing a protocol preference.
 Observe the selected package is still selected, which is correct.

The correct behaviour here happens because of the cf_goto_frame call in
redraw_hex_dump_all, which causes the field to be unselected before
packet_list_set_sel_browse is called, and then the cf_unselect_package
is never called.  

Maybe someone with a deeper knowledge should have a look at this...

svn path=/trunk/; revision=24135
2008-01-18 22:51:37 +00:00
Jaap Keuter 44ea74a5da Move libsmi settings from virtual mibs protocol page to name resolution page.
svn path=/trunk/; revision=24131
2008-01-18 07:18:32 +00:00
Jaap Keuter 32e4818641 Whitespace cleanup of AIRPCAP code.
svn path=/trunk/; revision=24127
2008-01-17 22:28:31 +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 ac7dfec61d Changed to use GTK stock icon for preferences in the toolbar.
svn path=/trunk/; revision=24094
2008-01-15 00:24:59 +00:00
Stig Bjørlykke c6ab78409f Save the changes also when selecting a profile from the list.
svn path=/trunk/; revision=24092
2008-01-14 21:58:45 +00:00
Stig Bjørlykke ba3f5057b1 Several profile enhancements:
- Give initial focus to the profiles list
- Enter in the profiles list selects the profile
- Give focus to the profile name when creating a new profile

svn path=/trunk/; revision=24091
2008-01-14 21:43:10 +00:00
Stig Bjørlykke a6c7284e3b Added cast of argument to isspace.
svn path=/trunk/; revision=24090
2008-01-14 19:19:47 +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
Stig Bjørlykke 8b4e80384a Fixed a few "statement not reached" warnings and a "assignment type mismatch" warning.
svn path=/trunk/; revision=24085
2008-01-14 09:39:55 +00:00
Stephen Fisher 9463667692 Fix for bug #2017: VoIP trace crashes Wireshark when specific RTP Player
buttons are clicked


svn path=/trunk/; revision=24073
2008-01-13 04:24:24 +00:00
Bill Meier addba66749 Use glib equivalent of ntohs
svn path=/trunk/; revision=24056
2008-01-10 14:42:55 +00:00
Stephen Fisher 430866e511 To ease troubleshooting of bug #2017 and for code clarity in the future, use
two different variables for types voip_rtp_stream_info_t (strinfo) and
voip_calls_info_t (callsinfo) instead of using strinfo for both.


svn path=/trunk/; revision=24038
2008-01-09 08:34:58 +00:00
Stig Bjørlykke eef80786a8 Fixed some small typos.
svn path=/trunk/; revision=24035
2008-01-08 23:14:13 +00:00
Stig Bjørlykke 6d4a2e7ebf Changed email address for Gerald from zing.org to wireshark.org
in a lot of files, which I suppose is correct.

svn path=/trunk/; revision=24034
2008-01-08 22:54:51 +00:00
Jaap Keuter 670e46f78b Make RTP player G.729 Annex B compatible.
svn path=/trunk/; revision=24032
2008-01-08 13:04:50 +00:00
Stig Bjørlykke 56bf2afc04 Never print x axis values outside the graph (we now have "view as time of day").
Fixed calculating first_interval (the scrollbar issue in bug 1763).

svn path=/trunk/; revision=23989
2008-01-03 01:17:47 +00:00
Stig Bjørlykke ddac83a322 Initialize io->view_as_time.
svn path=/trunk/; revision=23988
2008-01-02 20:09:20 +00:00
Stig Bjørlykke cb1448416f Fix a cut'n'paste error for GTK_VERSION < 2 in last commit.
Fixed some indentation.

svn path=/trunk/; revision=23975
2007-12-29 23:20:14 +00:00
Stig Bjørlykke 1776029a7c Add an option to view the X axis as time of day instead of seconds since
start of capture.

svn path=/trunk/; revision=23974
2007-12-29 20:57:15 +00:00
Stig Bjørlykke 69be72052c Add a warning in the IO Graph if too many elements.
svn path=/trunk/; revision=23973
2007-12-29 20:53:10 +00:00
Tomas Kukosa 487792b348 save RTP in 16-bit linear PCM instead of 8-bit G.711 u-Law
(preparation for more codecs support via codec plugins)

svn path=/trunk/; revision=23961
2007-12-28 13:01:55 +00:00
Jaap Keuter 789d4770d5 Fix menu sensitivity even for text only nodes.
svn path=/trunk/; revision=23936
2007-12-21 22:22:19 +00:00
Guy Harris 0cadc40746 Temporarily #if 0 out code that was causing crashes.
svn path=/trunk/; revision=23893
2007-12-16 22:33:03 +00:00
Sake Blok 9a2d18d386 Changes the name of the menu item "View/Reset Coloring" to
"View/Reset Coloring 1-10" and adds sensitivity to it so that
it will be greyed out when none of the temporary color filters
are used.

(as per discussion on wireshark-dev some time ago)


svn path=/trunk/; revision=23879
2007-12-15 23:38:29 +00:00
Jaap Keuter a629334be6 With increasing number of dissectors, heuristics cause sometimes false hits on packets. It's a pain to go through the menu / enabled protocols dialog to temporarily disable such dissector. This change adds an option to the packet detail menu to do a point-and-click style temporary disable of such protocol.
svn path=/trunk/; revision=23873
2007-12-15 13:26:09 +00:00
Jaap Keuter 14141c3275 Source code cleanup.
svn path=/trunk/; revision=23860
2007-12-14 07:06:22 +00:00
Stig Bjørlykke 74c6f15a03 Do not use calc_field unless in advanced y axis (bug 1763).
Register new tap listener (new filter) when going from advanced y axis.
Add parantheses to the filters to ensure they are correct when concatenated.

svn path=/trunk/; revision=23844
2007-12-12 09:31:02 +00:00
Ronnie Sahlberg 757e72e177 If not building for gtk 2.4.0, if out a function that is only used when
building for 2.4.0


svn path=/trunk/; revision=23830
2007-12-10 20:40:31 +00:00
Bill Meier 2b73cb3e19 Fix conversions so compiles for both 32-bit and 64-bit
svn path=/trunk/; revision=23826
2007-12-10 18:09:52 +00:00
Bill Meier df4f2f604e Fix Bug #2055: "File Save not working properly";
Change SVN #23487 patch to not use signal_connect each time the
the function of the save button is changed since that
results in multiple callbacks attached to the save button.
Intead: associate data with the save button which species its
current function.
(It sure would be nice if the original problem causing the 
 blank spot on the toolbar could be resolved; the work-around 
is starting to get messy).

svn path=/trunk/; revision=23821
2007-12-10 03:27:40 +00:00
Guy Harris d4672d13f5 Add macros for various filter actions and types, and to combine them
into a callback argument and split a callback argument up.

svn path=/trunk/; revision=23816
2007-12-09 09:04:58 +00:00
Guy Harris 7c03d14d60 Add macros for various filter actions, types, and directions, and to
combine them into a callback argument and split a callback argument up.

svn path=/trunk/; revision=23815
2007-12-09 09:04:39 +00:00
Guy Harris 88adb489c3 Add extra parenthesization, tweak name of argument to some macros to
more accurately reflect what it is.

svn path=/trunk/; revision=23814
2007-12-09 09:02:14 +00:00
Ronnie Sahlberg b57ce9e48f some updates to make it compile with gtk/glib < 2
svn path=/trunk/; revision=23810
2007-12-08 22:45:30 +00:00
Bill Meier 01ec87aee5 Revert SVN #23728 since change (to fix a Windows issue) is in code not used on Windows
and thus does not actually fix anything.
See Bug #2055 for further info.

svn path=/trunk/; revision=23809
2007-12-08 20:59:15 +00:00
Stig Bjørlykke 4783f12c08 Added "Apply as filter"/"Prepare a filter"/"Find frame"/"Colorize Protocol"
menu.  Simplified getting the Display filter.

svn path=/trunk/; revision=23786
2007-12-06 18:10:35 +00:00