Commit graph

312 commits

Author SHA1 Message Date
Stephen Fisher
6d8d2854c8 From Sake Blok:
Fix for bug #491: Unexpected frame.time_delta behavior

This patch ... fixes bug 491. It does this by changing the
behaviour of the frame.time_delta field so it reflects the delta
time between captured packets (tshark already did this).  To keep
the delta time between displayed packets, the field 
frame.time_delta_displayed is created.


svn path=/trunk/; revision=21154
2007-03-23 18:08:17 +00:00
Stephen Fisher
2e562ea7b4 From Sake Blok (via -dev list and enhancement bug #1449):
I did however see some small errors in the
documentation that I did not notice when I sent in the patch. This
patch corrects them and adds an accelerated key:

- table 6.1 remove "Analyze" from "Identical..." column for "Copy as Filter"
- table 6.2 add "Edit" from "Identical..." column for "Copy as Filter"
- Added accelerator key for "Copy as Filter". I chose "Shift+Ctrl+C", so
  that "Ctrl+C" is still available for "standard" copy

Image figure 3.4 should be renewed, reflecting the change in the menu
structure. 


svn path=/trunk/; revision=21140
2007-03-23 00:42:45 +00:00
Ulf Lamping
d877cbc394 minor "Copy" menu item fix:
split the "sensitivity control" into "Copy" and "Copy/As Filter", otherwise it's not possible to copy a field that is not filterable (e.g. text only descriptions)

svn path=/trunk/; revision=21097
2007-03-21 21:23:56 +00:00
Guy Harris
082282b6f4 Don't enable "Save As" if you don't have an unsaved live capture file
and there are no formats in which the file can be saved by some means
other than copying the raw data; "Save As" isn't a very useful function
in that case, and that prevents us from having an empty list of formats
in which the file can be saved.

svn path=/trunk/; revision=21032
2007-03-14 19:30:19 +00:00
Ulf Lamping
acefba187a from Sake Blok:
I have changed the patch according to your suggestions and also changed
the doc[book] files accordingly. I tested the patch and it does seem to
work fine on my test-system.

ULFL: In addition, I've added the en-/disabling to the other (already existing) Copy menu items - some just did nothing, some crashed if nothing was selected.
I've also sligthly changed the menu seperators and made both context menus look a bit more identical.

svn path=/trunk/; revision=21005
2007-03-08 23:37:55 +00:00
Stephen Fisher
f8d82fab38 Activate the File -> Export menu when a capture is in
progress in addition to when a capture file is open.


svn path=/trunk/; revision=20959
2007-03-02 21:47:34 +00:00
Stephen Fisher
d3b873b60d Sync up my changes so far to the content list (now called object
list) feature for http traffic.  It's now available under File->
Export->Objects->HTTP.  More changes to come..


svn path=/trunk/; revision=20951
2007-02-28 23:20:40 +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
Stephen Fisher
07f8ad771e Put the rest of the #if GTK_MAJOR_VERSION >= 2 preprocessor statements around parts of the Content List -> HTTP feature code.
svn path=/trunk/; revision=20869
2007-02-20 00:22:00 +00:00
Stephen Fisher
7a2bfb7a61 Initial version of the new Statistics -> Content List -> HTTP feature. This
feature lists all of the content found in an HTTP stream (images, http, etc.)
and displays it in a list that allows the user to save each one as a file that
is already reassembled by the dissectors.


svn path=/trunk/; revision=20867
2007-02-19 22:37:45 +00:00
Ulf Lamping
ca590fafbe ooops, and here comes the actual context menu code change from Douglas Pratley ... already mentioned in SVN 20787
svn path=/trunk/; revision=20790
2007-02-12 05:08:33 +00:00
Luis Ontanon
7c57c05ed5 * Add a Submenu (/Views/User Tables) where UATs can be accessed.
* Remove macros_dlg, the DFMacros UAT goes in the menu with all the rest
* in packet-user_encap.c WTAP_ENCAP=XXX has become useless information for the user leave just the DLT#



svn path=/trunk/; revision=20753
2007-02-09 03:11:14 +00:00
Stephen Fisher
b4a656ec1f From Douglas Pratley:
This is a patch adding items to the context menus for the packet list
and packet details panes for copying packet data to the clipboard.

New menu item on packet list pane:
Copy (sub menu) ->
        Summary (Text)          Copies fields displayed in the packet
list, tab separated
        Summary (CSV)           Copies fields displayed in the packet
list, comma separated
        Hex and Text            Copies data for the selected frame in
hex-editor style (similar to Copy\All Information in packet bytes pane)
        Text Only               Copies data for the selected frame,
dropping non-printable characters other than line breaks (similar to
Copy\Text Only in packet bytes pane)
        Hex Columns             As Hex and Text but without text
        Hex Stream              Copies data for the selected frame as an
unpunctuated list of hex values
        Binary Stream           Copies raw packet bytes to the clipboard
as MIME type application/octet-stream


svn path=/trunk/; revision=20581
2007-01-28 02:49:50 +00:00
Ulf Lamping
18cf691f7d as Bill Meier noted:
"The Help ! Contents and the Help ! User's Guide  both display the User's 
Guide."

Remove the duplicate Help!/User's Guide item

svn path=/trunk/; revision=20523
2007-01-22 04:03:17 +00:00
Luis Ontanon
80dcfb23d2 display filter macros.
NOT to be copied over to release 0.99.5


svn path=/trunk/; revision=20467
2007-01-18 02:54:56 +00:00
Ulf Lamping
2d760bf075 in effect use the User's Guide as the online help system now (for GTK > V1)!
remove ENABLE_WSUG setting from config.nmake and replace it with GLIB_MAJOR_VERSION >= 2 (as Glib 1.x cannot open a browser to show a HTML file - it's just currently? not implemented)

svn path=/trunk/; revision=20446
2007-01-16 04:08:35 +00:00
Graeme Lunt
6fd190ecec U3 support for "recent" files.
When the "recent" file is written, any references to files on the U3 device itself are modified to have the drive replace with "$U3_DEVICE_PATH". Similarly, when the recent file is read, "$U3_DEVICE_PATH" is replaced with the current U3 device path.

This ensures that if/when the U3 device path changes when inserting it into different machines, recent captures on the U3 device itself can still be opened from the recent menu.


svn path=/trunk/; revision=20417
2007-01-13 16:06:28 +00:00
Ulf Lamping
fbcd16a443 change it to "Seconds Since Epoch (1970-01-01): 1234567890.123456"
svn path=/trunk/; revision=20079
2006-12-09 09:32:21 +00:00
Stephen Fisher
75acf34518 From Douglas Pratley with trivial changes and documentation changes
by myself:

Corrected patch; epan/column.c and epan/column_utils.c were not included. This
one has now been properly tested against a clean checkout of today's code.

- New menu option available under view\time display format
- New sub-option (e) to -t switch for both wireshark and tshark
- Extended recent settings code to handle new value
- Did NOT add new explicit epoch time column


svn path=/trunk/; revision=20040
2006-12-05 03:19:51 +00:00
Guy Harris
d3fed959bc Have separate proto_construct_match_selected_string() and
proto_can_match_selected() routines, to more clearly separate the two
functions - but have them both call the same underlying routine, so
they both make the same decisions as to whether a match-selected string
can be constructed or not.

svn path=/trunk/; revision=19976
2006-11-24 18:25:23 +00:00
Guy Harris
37a6c02697 Rename proto_construct_dfilter_string() to
proto_construct_match_selected_string() to indicate what it does - and
have it return a Boolean indication of whether the string could be
built, returning the string through a pointer, and, if that pointer is
null, have it just return the Boolean and not construct the string.

Get rid of proto_can_match_selected() -
proto_construct_match_selected_string() can be used for that, which
means we have only one piece of code that knows whether a "match
selected" string can be constructed or not.

Have proto_construct_match_selected_string() support matching
zero-length FT_NONE (and FT_PCRE, but that shouldn't happen) fields even
if there's no epan_dissect_t, as such a match just checks whether the
field is present.

svn path=/trunk/; revision=19967
2006-11-23 21:16:46 +00:00
Gerald Combs
1ed6291425 Add additional keyboard navigation: Ctrl+Up & Ctrl+Down (under the "Go"
menu) move to the previous and next packet even if the packet list isn't
in focus (specifically, the packet detail will stay in focus if that was
already the case).  Make the return and enter keys toggle tree items in
the packet detail and the backspace key jump to the parent node.  Add a
navigation section to the User's Guide.

Make SIGNAL_EMIT_BY_NAME a simple #define, so that we can feed it
multiple arguments.  Fix up whitespace.

svn path=/trunk/; revision=19924
2006-11-18 01:47:49 +00:00
Luis Ontanon
482ded17c6 Hide the "Tools" menu if it has no items .
svn path=/trunk/; revision=19578
2006-10-17 17:52:15 +00:00
Luis Ontanon
dad92a4808 Hide the "Tools" menu if unused.
svn path=/trunk/; revision=19559
2006-10-16 16:54:48 +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
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
Jaap Keuter
34dcddd3d0 Move Copy below the tree manipulation options.
svn path=/trunk/; revision=19292
2006-09-22 21:18:51 +00:00
Ulf Lamping
04fe34d711 various nmake related build file cleanups
svn path=/trunk/; revision=19198
2006-09-12 00:27:03 +00:00
Ulf Lamping
27529d334e have only one Export/File menu entry for the Win32 dialog, instead of 5 entries leading to exactly the same dialog (with a single setting - the file type - set different)
we might want the Unix/GTK version work the same way, as this is how other programs I know work as well ... and making the documentation easier by desribing only one way how it's working

svn path=/trunk/; revision=19090
2006-08-30 20:38:17 +00:00
Ulf Lamping
3cefeb07f6 don't put "..." in front of a menu item
svn path=/trunk/; revision=19030
2006-08-25 19:15:55 +00:00
Gerald Combs
98883c6538 AirPcap fix from Florent Drouin:
Since version 18928, there is a GTK warning at wireshark startup.
I think a #ifdef HAVE_AIRPCAP is missing in ./gtk/menu.c

svn path=/trunk/; revision=18976
2006-08-21 14:40:05 +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
Ulf Lamping
96539fbb08 experimental: add a "Conversation Filter" entry to the context menu of the packet list. More info to come in the developer list shortly.
svn path=/trunk/; revision=18885
2006-08-12 22:38:08 +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
Michael Tüxen
45b5d20416 From Irene Ruengeler: Add context menu for SCTP analysis.
svn path=/trunk/; revision=18576
2006-06-26 13:18:37 +00:00
Ulf Lamping
2bfd2bf5a7 update of "Edit" menu:
Add missing "Find Next Mark" and "Find Previous Mark" functionality to the "Edit" menu.

"unify" the menu items of "Time Reference" and "Mark Frame" functionality (both main and packet list context menus)

... we need to update the User's Guide screenshots anyway because of the Wireshark changes :-)

svn path=/trunk/; revision=18438
2006-06-12 19:35:26 +00:00
Gerald Combs
8958bab6de Tethereal/tethereal -> TShark/tshark.
svn path=/trunk/; revision=18268
2006-05-31 17:38:42 +00:00
Anders Broman
7e68c9c370 Ethereal->Wireshark
svn path=/trunk/; revision=18246
2006-05-29 18:44:53 +00:00
Anders Broman
996d4db495 Ethereal->Wireshark
svn path=/trunk/; revision=18234
2006-05-28 19:49:07 +00:00
Anders Broman
05448fcc3d Ethereal->Wireshark
svn path=/trunk/; revision=18232
2006-05-28 17:19:08 +00:00
Guy Harris
92552c2d76 Get rid of a bunch of "Ethereal"s and "ethereal"s in comments, GUI
strings, and function names.

svn path=/trunk/; revision=18205
2006-05-22 07:29:40 +00:00
Ronnie Sahlberg
89f022b12b name change
svn path=/trunk/; revision=18197
2006-05-21 05:12:17 +00:00
Graeme Lunt
6c381119a9 Removal of useless "Field Information" introduced in r18125
svn path=/trunk/; revision=18133
2006-05-11 16:42:38 +00:00
Anders Broman
8bebcb8d8e From Greg Morris:
add copy functionality to the details window. Also includes a change in the copy function of the hex data window to allow copying just the text strings instead of all of the hex data.

svn path=/trunk/; revision=18129
2006-05-11 05:08:00 +00:00
Graeme Lunt
ab19b927c8 "Field Information" context menu item that will bring up a web page reference to a field type of FT_OID
svn path=/trunk/; revision=18125
2006-05-10 19:50:54 +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
Ulf Lamping
ce15cc9233 fix a very minor bug if ETHEREAL_EUG_DIR is set (which is barely the case)
svn path=/trunk/; revision=17933
2006-04-20 20:29:48 +00:00
Ulf Lamping
c1b208bd74 add the dumpcap manpage to the menu
svn path=/trunk/; revision=17402
2006-02-24 23:59:22 +00:00
Jörg Mayer
377e6e2e27 Paolo Abeni:
pinfo->net_src and pinfo->net_dst where used to set up conversation, but
this fields are null on eap stream. use pinfo->src and pinfo->dst
instead.
The patch also enable strict checking in the 'follow ssl stream' dialog.


svn path=/trunk/; revision=17333
2006-02-17 11:56:52 +00:00