aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2000-05-12<sheepish grin>Gilbert Ramirez1-7/+7
Fix error in my conversion to tvbuff routines. Because offset was calculated based on next_tvb, which already knew to skip 8 bytes, I don't have to use "offset+8" in calls to the next non-tvbuff dissectors. </sheepish grin> svn path=/trunk/; revision=1945
2000-05-12Remove proto_tree doc, as all necessary info in it is in README.developer.Gilbert Ramirez2-473/+2
Add tvbtest.c to list of packaged files. svn path=/trunk/; revision=1944
2000-05-11Convert LLC dissector to use tvbuffs.Gilbert Ramirez10-81/+109
Non-tvbuff dissectors create a tvbuff when calling dissect_llc() Changed name of current_proto to match string in COL_PROTO ("FDDI" instead of "fddi") Changed short text to be: [Short Frame: %s] where %s is current_proto. svn path=/trunk/; revision=1943
2000-05-11Put in a comment to note that "cfgattrident2str()" was put in for useGuy Harris1-1/+7
when we parse ISAKMP data attributes - we don't do that yet, which is why it's not currently used. svn path=/trunk/; revision=1942
2000-05-11Yaniv Kaul's patch to add support for the ISAKMP Configuration MethodGuy Harris3-5/+101
(draft-ietf-ipsec-isakmp-mode-cfg-04.txt). svn path=/trunk/; revision=1941
2000-05-11I had moved the COL_INFO string to far forward, before fc wasGilbert Ramirez1-3/+4
being set. Fixed. svn path=/trunk/; revision=1940
2000-05-11Add tvbuff class.Gilbert Ramirez132-5170/+7398
Add exceptions routines. Convert proto_tree_add_*() routines to require tvbuff_t* argument. Convert all dissectors to pass NULL argument ("NullTVB" macro == NULL) as the tvbuff_t* argument to proto_tree_add_*() routines. dissect_packet() creates a tvbuff_t, wraps the next dissect call in a TRY block, will print "Short Frame" on the proto_tree if a BoundsError exception is caught. The FDDI dissector is converted to use tvbuff's. svn path=/trunk/; revision=1939
2000-05-11In "Makefile.am" and "Makefile.nmake", have "DISSECTOR_SOURCES" includeGuy Harris2-278/+82
only the dissector source files, not the header files; that way you don't feed the header files to "make-reg-dotc", as "make-reg-dotc" won't find any registration routines there so there's no point in feeding header files to it. Doing so means that we can make "DISSECTOR_OBJECTS" in "Makefile.nmake" by doing DISSECTOR_OBJECTS = $(DISSECTOR_SOURCES:.c=.obj) rather than separately enumerating the object files, as Nmake supports System V "make"-style substitution. This should let users who change "DISSECTOR_SOURCES" in one of those files just copy it to the other file. svn path=/trunk/; revision=1938
2000-05-10Include an example of "wdd" output data from an Ascend trace I got agesGuy Harris1-1/+17
ago. svn path=/trunk/; revision=1937
2000-05-10Rename the "private" member of a "wtap_dumper" structure to "dump", asGuy Harris5-58/+58
per the "capture" member of a "wtap" structure, so that it doesn't collide with the C++ reserved word "private". svn path=/trunk/; revision=1936
2000-05-10"packet-giop.h" and "packet-h1.h" have joined the Choir Invisibule, soGuy Harris1-3/+1
they can just be deleted, not just commented out. svn path=/trunk/; revision=1935
2000-05-10Fix a typo in the packet counter.Gerald Combs1-2/+2
svn path=/trunk/; revision=1934
2000-05-10Fixes for building 0.8.8.Gilbert Ramirez1-5/+5
svn path=/trunk/; revision=1933
2000-05-10Use "F<>" rather than "B<>" for file names in the Tethereal man page.Guy Harris1-7/+7
svn path=/trunk/; revision=1932
2000-05-10Graham Bloice's changes to make clicking on a column header cause theGuy Harris3-18/+107
display to be sorted by the value in that column (and to reverse the sort order the next time you click on that column). Use "F<>" rather than "B<>" for file names in the Ethereal man page. svn path=/trunk/; revision=1931
2000-05-09Fix from Ron Flory to suppress a warning GCC issues on at least someGuy Harris1-3/+3
platforms. svn path=/trunk/; revision=1930
2000-05-09Change from Jason Lango to put timestamps in the RTP summary column.Guy Harris1-5/+5
svn path=/trunk/; revision=1929
2000-05-09Fix a couple of typos.Guy Harris1-2/+2
svn path=/trunk/; revision=1928
2000-05-09One more "0.8.7" --> "0.8.8"Gilbert Ramirez1-2/+2
svn path=/trunk/; revision=1926
2000-05-08Move to version 0.8.8Gilbert Ramirez4-12/+50
svn path=/trunk/; revision=1925
2000-05-08Fix from Gerrit Gehnen.Guy Harris1-4/+6
svn path=/trunk/; revision=1924
2000-05-08Make the "Preferences" dialog box use the new utilities to make the EscGuy Harris1-1/+7
key cancel the dialog box. svn path=/trunk/; revision=1923
2000-05-08Keep a pointer to the current "Preferences" window, if any - if not, theGuy Harris2-5/+93
pointer is NULL - so that, instead of doing nothing if the user selects "Edit->Preferences" when there's already a "Preferences" dialog box open, we raise and de-iconify that window. Connect the preferences dialog box and any file selection dialog box opened from its Print tab, so that: if the preferences dialog box goes away, so does the file selection dialog box (as it no longer has a text widget into which it can stuff the selected file name); if the "File:" button is clicked when there's already a file selection dialog box open, we just reactivate that existing dialog box rather than popping up a new one. Catch the ESC key in the file selection dialog box popped up for the "File:" button in the Print tab of the Preferences dialog box, and make it cancel the file selection dialog box. svn path=/trunk/; revision=1922
2000-05-08Catch the ESC key in the file selection dialog boxes popped up forGuy Harris3-3/+24
"File->Open", "File->Save As", and the "File:" buttons in the Capture Preferences and Print dialog boxes, and make it cancel the file selection dialog box. svn path=/trunk/; revision=1921
2000-05-08Set up the buttons in the "Capture Preferences" dialog box to useGuy Harris2-7/+17
mnemonics. Give the button, in the "Display Options" dialog box, that controls whether name resolution is enabled or not the same label ("Enable name resolution") as the equivalent button in the "Capture Preferencs" dialog box. svn path=/trunk/; revision=1920
2000-05-08Connect the capture preferences dialog box and any file selection dialogGuy Harris1-1/+57
box it has open, so that: if the capture preferences dialog box goes away, so does the file selection dialog box (as it no longer has a text widget into which it can stuff the selected file name); if the "File:" button is clicked when there's already a file selection dialog box open, we just reactivate that existing dialog box rather than popping up a new one. svn path=/trunk/; revision=1919
2000-05-08Keep a pointer to the current "Print" window, if any - if not, theGuy Harris1-15/+80
pointer is NULL - so that, instead of doing nothing if the user selects "File->print" when there's already a "Print" dialog box open, we raise and de-iconify that window. Connect the print dialog box and any file selection dialog box it has open, so that: if the print dialog box goes away, so does the filter dialog box (as it no longer has a text widget into which it can stuff the selected file name); if the "File:" button is clicked when there's already a file selection dialog box open, we just reactivate that existing dialog box rather than popping up a new one. svn path=/trunk/; revision=1918
2000-05-08Keep a pointer to the current "Display Options" window, if any - if not,Guy Harris1-16/+24
the pointer is NULL - so that, instead of doing nothing if the user selects "Display->Options" when there's already a "Display Options" dialog box open, we raise and de-iconify that window. Register a "destroy" callback for the "Display Options" window, so that no matter how it's destroyed, even if it's destroyed by a window manager close button rather than by clicking the "OK" or "Cancel" button, we note that fact by clearing the pointer to the current "Display Options" window, so that if the user then selects "Display->Options", we know that we need to pop a new "Display Options" window up. svn path=/trunk/; revision=1917
2000-05-08Set up the buttons in the "Find Frame" and "Print" dialog boxes to useGuy Harris2-15/+38
mnemonics. svn path=/trunk/; revision=1916
2000-05-08Add functions to create buttons whose labels specify mnemonics, i.e.Guy Harris3-11/+88
that contain an "_" preceding a letter, indicating that the letter is to be underlined in the label, and that if the key for that letter is pressed (either with Alt or without it) in the dialog box to which the button belongs, and the widget with the input focus doesn't do anything with that button, the button is sent the "clicked" signal. Attach mnemonics to the buttons in the "Display->Options" dialog box. svn path=/trunk/; revision=1915
2000-05-08Make the display options dialog box use the new utilities to make theGuy Harris1-1/+7
Esc key cancel the dialog box. svn path=/trunk/; revision=1914
2000-05-08Get rid of some unnecessary (and "#if 0"ed-out) includes.Guy Harris1-21/+1
svn path=/trunk/; revision=1913
2000-05-06Check whether "pipe()" succeeds, and pop up a message box and quit if itGuy Harris1-3/+12
doesn't. svn path=/trunk/; revision=1912
2000-05-06Fix indentation so that it looks correct if tabs are every 8 spaces,Guy Harris1-3/+3
that being the UNIX default. svn path=/trunk/; revision=1911
2000-05-06If the attempt to execute Ethereal in a child process fails, have theGuy Harris1-85/+117
child process send to the parent a message indicating why it failed, so that the parent can report that, and then exit. If the attempt to create the child process to run Ethereal fails, pop up a dialog box indicating that this happened. Change the fork code a bit, to make it easier to substitute, on Win32 systems, code that does a "CreateProcess()" for the small chunk of code that does the fork and exec. svn path=/trunk/; revision=1910
2000-05-05Add routines to:Guy Harris16-127/+193
register lists of "heuristic" dissectors, which are handed a frame that may or may contain a payload for the protocol they dissect, and that return FALSE if it's not or dissect the packet and return TRUE if it is; add a dissector to such a list; go through such a list, calling each dissector until either a dissector returns TRUE, in which case the routine returns TRUE, or it runs out of entries in the list, in which case the routine returns FALSE. Have lists of heuristic dissectors for TCP and for COTP when used with the Inactive Subset of CLNP, and add the GIOP and Yahoo Messenger dissectors to the first list and the Sinec H1 dissector to the second list. Make the dissector name argument to "dissector_add()" and "dissector_delete()" a "const char *" rarther than just a "char *". Add "heur_dissector_add()", the routine to add a heuristic dissector to a list of heuristic dissectors, to the set of routines we can export to plugins through a table on platforms where dynamically-loaded code can't call stuff in the main program, and initialize the element in the table in question for "dissector_add()" (which we'd forgotten to do). svn path=/trunk/; revision=1909
2000-05-04Optimizations for some old code.Gilbert Ramirez1-24/+19
svn path=/trunk/; revision=1908
2000-05-03Make the "Print" dialog box use the new utilities to make the ReturnGuy Harris1-1/+15
key print the packets and make the Esc key cancel the dialog box. svn path=/trunk/; revision=1907
2000-05-03Make the summary dialog box use the new utilities to make the ReturnGuy Harris1-2/+10
and Esc keys close the dialog box; to make the Return key work, we have to make the "Close" button the default widget. svn path=/trunk/; revision=1906
2000-05-03Make dialog boxes created with "simple_dialog()" use the new utilitiesGuy Harris1-1/+12
to make the Esc key cancel the dialog box (or accept it, if it has no "Cancel" button). svn path=/trunk/; revision=1905
2000-05-03Make the "Capture Preferences" dialog box use the new utilities to makeGuy Harris1-1/+37
the Return key start the capture and make the Esc key cancel the dialog box. svn path=/trunk/; revision=1904
2000-05-02Add some utilities to:Guy Harris6-3/+147
set the "activate" signal for a widget to call a routine to activate the "OK" button for a dialog box; set the "key_press_event" signal for a top-level dialog window to call a routine to activate the "Cancel" button for a dialog box if the key being pressed is the <Esc> key; to make it easier to drive dialog boxes entirely from the keyboard. Make the "Find Frame" and "Go To Frame" dialog boxes use those utilities. svn path=/trunk/; revision=1903
2000-05-02Put in a comment to note what we'd do if we ever wanted to make theGuy Harris1-1/+8
contents of the popup menu differ based on what row or column we're in. svn path=/trunk/; revision=1902
2000-05-02 Make "P" a mnemonic for "Print" in the "File" menu.Guy Harris1-2/+2
svn path=/trunk/; revision=1901
2000-04-29Add in the patch to make the IRIX libpcap handle snapshot lengths largerGuy Harris1-1/+130
than the interface MTU. svn path=/trunk/; revision=1900
2000-04-29Update the README.hpux file to contain the latest version of the libpcapGuy Harris1-126/+183
patch, which appears to work on at least some HP-UX 10.20 systems, as well as HP-UX 11.00. svn path=/trunk/; revision=1899
2000-04-29Update the README.win32 file to reflect the fact that the latest versionGuy Harris1-23/+27
of the GTK+-for-Win32 library seems to work OK (at least with recent changes to Ethereal avoid passing signed characters to "isprint()"). Note that you will need various Cygwin tools if you modify ".y", ".l", or dissector files, and give instructions on how to get Cygwin. svn path=/trunk/; revision=1898
2000-04-29Document "match_strval()" and "val_to_str()", as per Gerrit Gehnen'sGuy Harris1-6/+38
suggestion. svn path=/trunk/; revision=1897
2000-04-29Graham Bloice's changes to, on Win32 using Microsoft's "nmake":Guy Harris4-10/+216
build "register.c" in the top-level Makefile; set path in "config.nmake" to include the Cygwin directory for tools - those tools are needed to build "register.c"; remove constructed source files, and some additional object files, when doing "nmake clean". svn path=/trunk/; revision=1896
2000-04-28Changes from Gerrit Gehnen toGuy Harris3-21/+23
1) fix some problems with the SINEC H1 dissector; 2) make it easier to plug in other dissectors atop OSI transport protocols (by making the H1 dissector return an indication of whether it recognizes the packet as an H1 packet or not, so that, if it doesn't, additional dissectors can be tried). svn path=/trunk/; revision=1895