aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/keys.h
Commit message (Collapse)AuthorAgeFilesLines
* Removed trailing whitespaces from .h and .c files using theJörg Mayer2002-08-281-4/+4
| | | | | | | winapi_cleanup tool written by Patrik Stridvall for the wine project. svn path=/trunk/; revision=6117
* Clean up the handling of filter strings:Guy Harris2002-05-031-5/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | have "filter_packets()" make a copy of the filter string handed to it, as it may save the filter string in the "capture_file" structure, and the caller of "filter_packets()" shouldn't have to worry about the string it passed to "filter_packets()" being stashed away somewhere so that it can't just free that string or change it; have callers of "filter_packets()" free up the string they handed to it, if the string was allocated and they're done with it; plug some memory leaks in "match_selected_cb_do()". Check for an illegal "action" argument being passed to "match_selected_cb_do()". Move some keys out of "keys.h" into "gtk/main.c", as they're only used in "gtk/main.c". Make the pointer to the filter list a data item for the combo box, as it's a copy of the list of strings for the combo box, rather than attaching it to the widgets that activate the filter (a pointer to the combo box *itself* is a data item for those widgets). In "filter_activate_cb()", make a copy of the text from the text entry field as soon as we fetch it, and use that copy. Free that copy if we didn't add the filter to the filter list. Don't make a copy of the entire filter list and use that to set the combo box's list of items - just use the list itself. Also, when the list is changed, make the new value the data for the combo box (the list pointer will actually not be changed, because we happen to be using "g_list_append()", but let's not rely on that). svn path=/trunk/; revision=5368
* From Jirka Novak:Guy Harris2002-01-111-1/+4
| | | | | | | | | | Support for generating filter expressions based on packet list column values Support for adding filter expressions generated from column or protocol tree field values to the current expression rather than replacing the current expression svn path=/trunk/; revision=4522
* Add a popup menu for the hexdump window. For now, it has only theLaurent Deniel2000-08-201-1/+2
| | | | | | common items but let's prepare the future (e.g. Match selected)... svn path=/trunk/; revision=2314
* Jerry Talkington's changes to support, in the packet list and protocolGuy Harris2000-01-181-1/+5
| | | | | | tree panes, menus popped up by the right mouse button. svn path=/trunk/; revision=1504
* Printing multiple pages of PostScript wasn't as tricky as I thought; addGuy Harris2000-01-061-2/+1
| | | | | | support for printing in PostScript to the "Print..." dialog box. svn path=/trunk/; revision=1426
* plugins support (i.e. Dynamically loadable dissectors)Olivier Abad1999-12-091-1/+3
| | | | | | depends on dlopen() being available on the target platform svn path=/trunk/; revision=1263
* Change display filter entry widget to a GtkCombo.Gerald Combs1999-11-251-2/+4
| | | | | | Modify filter_packtes to return 1 on success, and 0 on failure. svn path=/trunk/; revision=1106
* Add an item to the "File/Print" dialog box to ask that the full hex dataGuy Harris1999-09-291-4/+1
| | | | | | | | | | | | | of the packet be printed (this is only done if "Print detail" is selected; it should be grayed out of "Print summary" is selected). If that item is selected, suppress the hex printing of uninterpreted data items in the protocol tree. Move some GTK+ keys not used outside of "gtk/print_dlg.c" from "gtk/keys.h" into "gtk/print_dlg.c". svn path=/trunk/; revision=736
* Make "Expand all levels" and "Print as displayed" radioGuy Harris1999-09-121-10/+11
| | | | | | | | buttons insensitive if "Print summary" is selected, and make them sensitive if "Print detail" is selected, as they apply only to the "print detail" output. svn path=/trunk/; revision=672
* Add a "Expand all levels"/"Print as displayed" pair of radio buttons toGuy Harris1999-09-121-9/+10
| | | | | | | | | | the "File/Print" dialog box; "Expand all levels" means that all levels of the protocol tree should be printed, while "Print as displayed" means that only those levels shown in the display should be printed. Free the table of column widths once printing is done. svn path=/trunk/; revision=671
* Add summary-vs-detail radio buttons to the print dialog box; detailGuy Harris1999-09-121-9/+9
| | | | | | | | | | | | | | | | | | | | | prints the protocol tree, and summary prints the fields in the summary clist, with a header line at the beginning of the printout. Print only packets selected by the current packet filter. Just have "ARP" and "RARP" in the "Protocol" field for ARP packets; whether it's a request or a reply can be seen in the "Info" field. Add to the "Frame" section of the protocol tree the time between the current packet and the previous displayed packet, and the packet number. Have FT_RELATIVE_TIME fields be a "struct timeval", and display them as seconds and fractional seconds (we didn't have any fields of that type, and that type of time fits the delta time above). Add an FT_DOUBLE field type (although we don't yet have anything using it). svn path=/trunk/; revision=666
* Put RCS IDs (and a copyright notice and GPL notice) in several files,Guy Harris1999-09-091-0/+25
| | | | | | and fix up the introductory comment on some other files. svn path=/trunk/; revision=640
* Moved GTK-dependent routines for file dialogues, print dialogues, printGilbert Ramirez1999-09-011-0/+16
preferences, and menus to gtk subdirectory. svn path=/trunk/; revision=623