aboutsummaryrefslogtreecommitdiffstats
path: root/menu.c
Commit message (Collapse)AuthorAgeFilesLines
* Moved GTK-dependent routines for file dialogues, print dialogues, printGilbert Ramirez1999-09-011-172/+0
| | | | | | preferences, and menus to gtk subdirectory. svn path=/trunk/; revision=623
* Added John McDermott's colorization routines. There's still someGilbert Ramirez1999-08-241-1/+3
| | | | | | debug printf's in there. svn path=/trunk/; revision=562
* Fixed match_selected to work with new display filter code. It usesGilbert Ramirez1999-08-041-4/+1
| | | | | | | "frame[x:y]" in the display filte that it creates so that it works with any datalink type. svn path=/trunk/; revision=431
* Check in Olivier Abad's patch to add dissectors for LAP-B and X.25, andGuy Harris1999-08-021-2/+2
| | | | | | | | | | | | | | | | | | | | | | | wiretap support for RADCOM Ltd.'s WAN/LAN analyzers (see http://www.radcom-inc.com/ ). Note: as I remember, IEEE 802.2/ISO 8022 LLC has somewhat of an SDLC flavor to it, just as I think LAP, LAPB, LAPD, and so on do, so we may be able to combine some of the LLC dissection and the LAPB dissection into common code that could, conceivably be used for other SDLC-flavored protocols. Make "S" a mnemonic for "Summary" in the "Tools" menu. Move the routine, used for the "Tools/Summary" display, that turns a wiretap file type into a descriptive string for it into the wiretap library itself, expand on some of its descriptions, and add an entry for files from a RADCOM analyzer. Have "Tools/Summary" display the snapshot length for the capture. svn path=/trunk/; revision=416
* Get rid of the "Tools/Capture" menu item, in favor of "Capture/Start".Guy Harris1999-07-281-4/+1
| | | | svn path=/trunk/; revision=395
* Actually, I think File/Reload is still used if you do a capture withGuy Harris1999-07-271-1/+3
| | | | | | | "-F" - you do a File/Reload to see any new packets that showed up since the last time the file was loaded. svn path=/trunk/; revision=387
* File/Reload isn't necessary any more - to run a display filter, justGuy Harris1999-07-271-3/+1
| | | | | | | fill in the display filter text entry box and hit <Enter> - so remove it. svn path=/trunk/; revision=386
* Have "close_cap_file()" disable all menu items that make sense only ifGuy Harris1999-07-241-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | you have a capture. Leave the job of enabling and disabling menu items that make sense only if you have a capture (except for "File/Save" and "File/Save As...", for now) up to "load_cap_file()", "close_cap_file()", and the like - don't scatter that stuff throughout the code. Disable "File/Print Packet" if no packet is selected; enable it only if a packet is selected. If there's a selected packet, and a display filter is run: if the selected packet passed the filter, re-select it; if the selected packet didn't pass the filter, un-select it. If we've opened a live "pcap" capture, but can't do the capture because we can't get the netmask info, or can't parse the capture filter string, or can't install the filter, close the live capture and the dump and delete the dump file. If we failed to open a live "pcap" capture, don't try to read the capture file - it doesn't exist. svn path=/trunk/; revision=384
* Add a "File/Print" menu item, which prints *all* the packets in theGuy Harris1999-07-231-2/+4
| | | | | | | | | | | | | | | | | capture to a file or printer. This should eventually get the ability to print either all the packets or only the packets selected by the display filter, and possibly also the ability to print only packets M through N. Get rid of "cur" member of "capture_file" structure; nobody used it. There's no need to pass a pointer to a "dialog_button" variable to "simple_dialog()" for the error boxes displayed if a file copy or move fails; that dialog box is just a message box and has only an "OK" button. Put the declaration of "prefs" into "prefs.h". svn path=/trunk/; revision=378
* Added just enough fields to TCP to support "Follow TCP Stream". It works now.Gilbert Ramirez1999-07-171-2/+2
| | | | | | Added the protocol IDs for ipx and IGMP, but not their fields. svn path=/trunk/; revision=365
* Since ethereal is now dependent on GTK+-1.2.x (because of proto_tree andGilbert Ramirez1999-07-131-195/+1
| | | | | | | display filter code, which uses features in GLIB-1.2.x), I removed the vestigial code supporting old 1.0.x and 1.1.x GTK+ versions. svn path=/trunk/; revision=360
* Added the ability to create a read-only ethereal, i.e., one thatGilbert Ramirez1999-07-091-4/+14
| | | | | | | | | | doesn't link with libpcap, so no packet captures can be made. The "--disable-pcap" option has been added to the configure script. Docs have been updated. And the string buffer size in the simple_dialog() has been doubled so that Johan's e-mail address in the "About" dialogue window doesn't get chopped off. svn path=/trunk/; revision=351
* Created a new protocol tree implementation and a new display filterGilbert Ramirez1999-07-071-5/+4
| | | | | | | mechanism that is built into ethereal. Wiretap is now used to read all file formats. Libpcap is used only for capturing. svn path=/trunk/; revision=342
* Added Ashok's Match Selected functionality, and changes to move etherealGilbert Ramirez1999-06-241-3/+7
| | | | | | to version 0.6.3. svn path=/trunk/; revision=330
* Added Aaron Hillegass' summary dialogue. We're ignoring the problem withGilbert Ramirez1999-06-221-1/+6
| | | | | | | | NetMon statistic packets for now. We might fix that problem with wiretap, either filtering out those packets, and/or providing the summary information through a new wiretap API. svn path=/trunk/; revision=326
* Added "Capture" and "Display" menus; "Capture" has a "Start" item, whichGuy Harris1999-06-191-3/+10
| | | | | | | | | | | | | | | is the same as "Tools/Capture", and "Display" has an "Options" item, which pops up a dialog box to let you change the "default" time-stamp column display format on the fly (the "default" is what the "-t" command-line option sets), and have the display change when you do that. Made infrastructure changes to make the immediate display update work. Removed some unused functions, declared some functions used only in the file in which they're defined "static", and removed some unnecessary #includes. svn path=/trunk/; revision=317
* Put "..." after menu items that will cause a dialog box to be popped upGuy Harris1999-06-151-15/+15
| | | | | | | | | (standard convention in many GUIs). Make "Save as" be "Save As", and make "A" be the menu mnemonic for it in the "File" menu, with GTK 1.2. svn path=/trunk/; revision=315
* Move the comment from the GTK 1.0 tutorial just before the GTK 1.0Guy Harris1999-06-121-8/+31
| | | | | | | GtkMenuEntry table, and add the comment from the equivalent part of the GTK 1.2 tutorial before the GTK 1.2 GtkItemFactoryEntry table. svn path=/trunk/; revision=307
* Capturing packets from ethereal now saves the capture in an "anonymous" ↵Gilbert Ramirez1999-04-061-7/+5
| | | | | | | | | | | buffer. That is, it's a random name chosen by tempnam(), unknown to the user. If the user decides to save that trace, he then uses File | Save to save it to a file. File | Save As lets him make a copy of his named trace file as well. I also updated my e-mail address in the various credit locations. svn path=/trunk/; revision=242
* Get rid of include of <strings.h> from "util.c", as it's not needed, andGuy Harris1999-04-051-2/+2
| | | | | | | | | change include of <strings.h> in "menu.c" to include <string.h>, the latter being the ANSI standard include file for string functions; that eliminates all use of <strings.h< so get rid of test for its existence in "configure.in" as well. svn path=/trunk/; revision=239
* Disables "Follow TCP Stream" if compiled with wiretap.Gilbert Ramirez1999-03-011-1/+7
| | | | svn path=/trunk/; revision=199
* Added display filters to wiretap.Gilbert Ramirez1999-03-011-2/+4
| | | | svn path=/trunk/; revision=198
* When doing a capture, decode enough of the incoming packets to correctlyGuy Harris1999-02-091-2/+2
| | | | | | | update the packet counts and percentages in the dialog box popped up during a capture, even for non-Ethernet captures. svn path=/trunk/; revision=184
* * Minor changes for GTK+ 1.1/1.2 supportGerald Combs1998-12-271-2/+2
| | | | svn path=/trunk/; revision=139
* A patch spread across many files to let Ethereal compile under GTK+-1.1.x.Gilbert Ramirez1998-12-171-18/+105
| | | | | | | | | | | Tests for GTK versions are done during compilation, not during "./configure". The big problems have been taken care of in this patch (functional change in the packet clist and conversion of menu_factory to item_factory), but plenty of smaller problems with dialogue boxes abound. I have fixed a small problem with file_open*(), but have left 2 comments in just in case I'm not going about this the right way. Can someone verify? svn path=/trunk/; revision=127
* A lengthy patch to add the wiretap library. Wiretap is not used by defaultGilbert Ramirez1998-11-121-2/+2
| | | | | | | | | | because it is still in its infancy, but it can be compiled in optionally. The library exists in its own subdirectory ethereal/wiretap. This patch also edits all the packet-*.c files to remove the #include <pcap.h> line which is unnecessary in these files. In the ethereal code, file.c is the most heavily modified with #ifdef WITH_WIRETAP lines for the optional library. svn path=/trunk/; revision=82
* * Added preference file saves and reads.Gerald Combs1998-10-281-2/+2
| | | | svn path=/trunk/; revision=75
* * Copied in the correct GNU license (I'm such a goober)Gerald Combs1998-10-161-3/+2
| | | | | | | | | * Hacks to the filter interface (Gerald) * About box (Laurent) * AppleTalk support (Simon) * Mods to the match_strval routine (Gerald) svn path=/trunk/; revision=61
* - Added match_strval function to packet.cGerald Combs1998-10-121-4/+13
| | | | | | | - Separated display and capture filters; rearranged some of the look and feel - Lots of other miscellaneous fixes and updates svn path=/trunk/; revision=38
* * OSPF alignment fixes (Gerald)Gerald Combs1998-10-101-3/+1
| | | | | | * FDDI support (Laurent, Guy) svn path=/trunk/; revision=36
* Initial prefs support.Gerald Combs1998-09-261-4/+1
| | | | svn path=/trunk/; revision=27
* * Ethernet manufacturer support (Laurent)Gerald Combs1998-09-251-1/+5
| | | | | | | * PPP fixes (Gerald) * Null/loopback interface support (Gerald) svn path=/trunk/; revision=25
* * Added Mike Hall's TCP reconstruction code.Gerald Combs1998-09-171-1/+3
| | | | svn path=/trunk/; revision=10
* Added ID tags to the beginning of each source file.Gerald Combs1998-09-161-0/+2
| | | | svn path=/trunk/; revision=7
* Initial revisionstartethereal-0.3.15ethereal-0-3-15backups/ethereal@18706etherealGerald Combs1998-09-161-0/+215
svn path=/trunk/; revision=2