Commit Graph

238 Commits

Author SHA1 Message Date
Ulf Lamping 801e9dd35e from Stefano Pettini: add CSV export function, similar to PSML export
svn path=/trunk/; revision=13724
2005-03-11 20:56:31 +00:00
Jörg Mayer bef62eee0d Warning fix:
menu.c:1841:1: warning: C++ style comments are not allowed in ISO C90
menu.c:1841:1: warning: (this will be reported only once per input file)
(just removed it)

svn path=/trunk/; revision=13627
2005-03-06 10:03:53 +00:00
Ulf Lamping 9a4881e142 bringing the packet details context menu item "Expand Tree" back as "Expand Subtrees". Renaming this, as this makes it much more obvious that potentially more than subtree (recursively) will be expanded
svn path=/trunk/; revision=13352
2005-02-08 19:12:17 +00:00
Guy Harris 1041ccdbe5 Don't have "set_menus_for_captured_packets()" call
"main_set_for_capture_file()"; it should only deal with menus, not
anything else - and it gets called while the menus are being set up,
which is before the main window has been completely created, so
"main_widgets_show_or_hide()", which is called by
"main_set_for_capture_file()", gets errors trying to show or hide
widgets the pointers to which are null.

svn path=/trunk/; revision=13328
2005-02-06 23:16:05 +00:00
Ulf Lamping fe7e1ec13c completely hide the main window panes, if we currently don't have a capture file.
svn path=/trunk/; revision=13312
2005-02-05 17:53:39 +00:00
Ulf Lamping 0861927ce3 huge cleanup of capture file API (functions in file.c/file.h).
This includes: all functions in file.h now have a cf_ prefix, will have doxygen tags, will have the capture_file *cf as the first parameter and I tried to generalize the return values for non trivial functions.

Hopefully, I didn't introduced any new bugs, as I had to change a lot of files...

svn path=/trunk/; revision=13289
2005-02-04 18:44:44 +00:00
Ulf Lamping 3d9c7d48ae Add a new menu item "View/Resize Columns" to, well, resize columns. As this might take a long time, I've provided a progress bar with the option to cancel the operation.
I might later add something like "View/Auto Resize Columns" with a checkbox menu item, so this is done everytime a capture file finished loading. However, I don't know how well this will work together with "Update list of packets in real time" while doing a capture.

svn path=/trunk/; revision=13192
2005-01-29 02:14:25 +00:00
Ulf Lamping 5c19161dc2 if context menu item "Print" is clicked from the packet list context menu, it should use the selected range setting as default. As we currently have only one packet selectable, this will print only this one.
If we would allow selecting multiple packets in the packet list in the future, this option would print all selected packets.

svn path=/trunk/; revision=13169
2005-01-24 19:33:47 +00:00
Ulf Lamping 4ca1660945 first proposal: try to rearrange context menus to be more context relevant
svn path=/trunk/; revision=13161
2005-01-22 01:03:21 +00:00
Ulf Lamping 66ce7f3623 add some more online help functionality and help buttons at various dialog boxes, if a help page *is* available. However, the new help system needs a lot more work before completed.
svn path=/trunk/; revision=13152
2005-01-20 23:17:23 +00:00
Ulf Lamping 5b84b7e764 while I'm at it, add another packet details context menu item, which will link to the specific display filter reference page (just try it out :-)
svn path=/trunk/; revision=13117
2005-01-19 01:12:45 +00:00
Ulf Lamping 5a36a73d25 added the "Online Protocol Info" to the packet details context menu with a simple_dialog doing some explanation.
svn path=/trunk/; revision=13115
2005-01-18 22:24:07 +00:00
Ulf Lamping 421737d210 add first implementation of context relevant calls to the protocol specific wiki pages. I've commented out the items in menu.c, so this (hopefully) won't break the current release run. We might think about further steps after the release is out.
However, if someone (already) want's to try out right now, you simply have to remove the comments in menu.c around line 430

svn path=/trunk/; revision=13091
2005-01-17 21:48:51 +00:00
Ronnie Sahlberg 2e61f4d4c7 make ethereal compile with --without-pcap configuration option
svn path=/trunk/; revision=12652
2004-12-02 00:12:54 +00:00
Ulf Lamping a309bf0a8a first implementation of the packet history function
svn path=/trunk/; revision=12460
2004-11-01 11:42:08 +00:00
Guy Harris eaadcc4c62 Move various tables into the epan directory.
svn path=/trunk/; revision=12130
2004-09-29 00:52:45 +00:00
Guy Harris 6472876ab3 Move the tap infrastructure to the epan directory.
svn path=/trunk/; revision=12128
2004-09-29 00:06:36 +00:00
Guy Harris bbe7f89742 Move prefs.c and prefs.h into the epan subdirectory.
svn path=/trunk/; revision=12115
2004-09-27 22:55:15 +00:00
Ulf Lamping 8f921fa5f4 add a link to the Ethereal wiki front page
svn path=/trunk/; revision=12084
2004-09-24 15:41:46 +00:00
Ulf Lamping 6cd11f14ef first steps towards using the User's Guide as Ethereal's help system
svn path=/trunk/; revision=12021
2004-09-16 22:07:03 +00:00
Guy Harris f23f4ecf04 Use _WIN32 rather than WIN32 to determine if we're compiling on Win32;
according to Gisle Vanem, WIN32 isn't a built-in in MSVC, but _WIN32 is.

svn path=/trunk/; revision=11972
2004-09-11 23:03:36 +00:00
Richard Sharpe 5569136351 Add support for copying hex data to the clipboard. Submitted by Thomas
Palmer.

What we really should do is add this to the Edit menu as well.


svn path=/trunk/; revision=11883
2004-09-02 16:58:43 +00:00
Guy Harris 3a583aeb59 From Albert Chin: rename resolv.{ch} to addr_resolv.{ch}, so that an
include of <resolv.h> in any system header file gets the system
<resolv.h> (needed for builds on Tru64 with GTK+ 1.2[.x]).

svn path=/trunk/; revision=11615
2004-08-06 19:57:49 +00:00
Ulf Lamping 1f7a025246 move the File/Close item back to it's former position. Add an explanatory comment why it's placed there, in difference to the Gnome HIG.
svn path=/trunk/; revision=11554
2004-07-28 17:19:17 +00:00
Guy Harris ccf6fdf10e In the GNOME HIG, the File -> Close menu item is in the last group,
right above File -> Quit.

svn path=/trunk/; revision=11547
2004-07-27 23:32:44 +00:00
Ulf Lamping e083ac3514 some more renaming of the conversation tables things
svn path=/trunk/; revision=11448
2004-07-20 20:56:53 +00:00
Ulf Lamping d23af58fd6 renamed endpoint_talkers to conversations, as this reduces confusion in combination with the hostlist/endpoints table
(some code refactoring still needs to be done in table.c/.h).

svn path=/trunk/; revision=11439
2004-07-20 06:06:41 +00:00
Ulf Lamping bfd6ace52e renamed filter_prefs to filter_dlg, as the filter settings are (well, for a long time) no longer part of the preferences dialog.
svn path=/trunk/; revision=11436
2004-07-19 21:42:01 +00:00
Guy Harris 8a8b883450 Set the svn:eol-style property on all text files to "native", so that
they have LF at the end of the line on UN*X and CR/LF on Windows;
hopefully this means that if a CR/LF version is checked in on Windows,
the CRs will be stripped so that they show up only when checked out on
Windows, not on UN*X.

svn path=/trunk/; revision=11400
2004-07-18 00:24:25 +00:00
Ulf Lamping 357ebbca5a add a new dialog box to menu "Capture/Interfaces..." to show the current state of the interfaces and a quick way to start a capture.
added the IP address of the currently selected interface to the capture options dialog

svn path=/trunk/; revision=11396
2004-07-17 13:50:07 +00:00
Ulf Lamping 355c9126ff don't show webbrowser calling menu items, when using GLib 1.x
svn path=/trunk/; revision=11333
2004-07-07 16:26:52 +00:00
Ulf Lamping 10eacc1f0a Add "Resolve Name" to "View/Name Resolution" and
rename "Protocol Properties" to "Protocol Preferences"

svn path=/trunk/; revision=11241
2004-06-25 17:33:33 +00:00
Ulf Lamping eab0af6659 add functionality, to show html files from the local installation
svn path=/trunk/; revision=11213
2004-06-22 16:28:27 +00:00
Guy Harris 11a2f11698 "Home page" is typically two words.
svn path=/trunk/; revision=11210
2004-06-22 01:11:14 +00:00
Ulf Lamping 2a6da1361c Add experimental feature of opening a webbrowser, to show some of the
webpages from http://www.ethereal.com. This functionality is copied from
the Gimp.
Win32 will use ShellExecute to use the system registered webbrowser.
On unix builds, currently the mozilla browser is hardcoded, we still need a
preference setting for this (I will add this later).

svn path=/trunk/; revision=11206
2004-06-21 17:27:35 +00:00
Ulf Lamping c5bae1f7e3 preference setting, so "ask for unsaved capture files" can be switched off
svn path=/trunk/; revision=11196
2004-06-20 15:57:11 +00:00
Ulf Lamping bd3aea8d04 add Merge functionality to Ethereal in an experimental state.
Copied and sligthly modified merge.c from mergecap.c
(needs a lot of code cleanup, though)

svn path=/trunk/; revision=11171
2004-06-17 21:53:26 +00:00
Guy Harris 64d5806cec Make static some routines and variables not used outside the source file
defining them.

Move declarations of some callbacks outside the source files using them
into the appropriate header, and arrange that the appropriate header is
included by those source files.

Move the SAT_E definition into a "sat.h" file, included both by
"endpoint_talkers_table.h" and "hostlist_table.h", so that both of the
latter headers can be included by the same file ("menu.c" has to include
both, as per the change in the previous paragraph).

svn path=/trunk/; revision=11096
2004-06-03 21:46:27 +00:00
Guy Harris 7928433795 Make the definition of "register_tap_menu_item()" match its declaration.
svn path=/trunk/; revision=11079
2004-06-03 02:14:50 +00:00
Ulf Lamping 14bf83c340 add details for doxygen, various code cleanups as a result of this
svn path=/trunk/; revision=11052
2004-06-01 17:33:37 +00:00
Ulf Lamping 7d37fc9d23 more code cleanup from dialog things:
changed window_xy (dialog) function calling in a lot of gtk files
cleanup of file selection code
cleanup in dlg_utils/file_dlg/ui_util
Please report any problems!!!

svn path=/trunk/; revision=11003
2004-05-26 03:49:24 +00:00
Guy Harris 466ffc8977 Now that the "About" dialog box's code is in "gtk/about_dlg.c", move the
"create an About dialog" function's declaration to "gtk/about_dlg.h".

svn path=/trunk/; revision=10941
2004-05-21 08:44:45 +00:00
Ulf Lamping 5719e84c96 beautify the "About Ethereal" page, put plugin list into the dialog
svn path=/trunk/; revision=10930
2004-05-20 18:23:38 +00:00
Ulf Lamping ad85db871f moved the about dialog from main.c to it's own new about_dlg.c,
added a notebook tab with some directory infos (still incomplete and ugly)
cleaned up #includes in main.c (hoping this didn't break the build on unix)

svn path=/trunk/; revision=10925
2004-05-20 12:01:13 +00:00
Ulf Lamping 3e28c4726d update menu check items, if name resolution prefs changed
svn path=/trunk/; revision=10922
2004-05-20 10:37:41 +00:00
Ulf Lamping 09962ebb64 make notebook tabs scrollable, if not all fits into the pane,
enable a popup menu on the notebook tabs, with the tab labels

svn path=/trunk/; revision=10828
2004-05-09 07:01:07 +00:00
Ulf Lamping bd96071d8c rename context menu items:
Match -> Apply as Filter
Prepare -> Prepare a Filter
and prepended a ... at appropriate submenu items

svn path=/trunk/; revision=10814
2004-05-07 12:15:24 +00:00
Guy Harris 70e4f7ff87 Use "main_widgets_show_or_hide()" to control the visibility of all the
main window widgets, rather than requiring a relayout if the visibility
of the main toolbar, filter toolbar, or statusbar is changed.

Clean up indentation.

svn path=/trunk/; revision=10796
2004-05-04 21:08:03 +00:00
Guy Harris 76574b554b If all we're doing is changing the visibility of a pane, we don't have
to re-lay-out the main window, we just need to change the visibility of
the appropriate widgets - that reduces the amount of drawing done,
speeding things up a little and reducing flicker.

svn path=/trunk/; revision=10795
2004-05-04 20:49:33 +00:00
Guy Harris 3e331f08f0 Put the coloring rules back under View.
svn path=/trunk/; revision=10793
2004-05-04 20:04:26 +00:00