aboutsummaryrefslogtreecommitdiffstats
path: root/gtk
AgeCommit message (Collapse)AuthorFilesLines
2005-09-17Mark some unused and unremovable arguments as unused.Guy Harris1-2/+2
svn path=/trunk/; revision=15846
2005-09-17Move some headers for stuff defined by a dissector into epan/dissectorsGuy Harris1-1/+1
- and rename smb.h to packet-smb.h, as it's packet-smb.c's header file. svn path=/trunk/; revision=15845
2005-09-17Move a pile of protocol-related headers from the top-level sourceGuy Harris5-6/+6
directory to the epan directory. Some of them should perhaps ultimately be moved to epan/dissectors, if they pertain only to stuff exported by a particular dissector. Fix Gerald's e-mail address in files we're moving. svn path=/trunk/; revision=15844
2005-09-16Sort each conversation column numerically. Fix up whitespace.Gerald Combs1-55/+71
It looks like we can't put "COPYCMD=/Y" in config.nmake and expect nmake to do the right thing. Add a comment, and set COPYCMD explicitly in the root Makefile.nmake. The rest of the occurrences of xcopy will have to be taken care of at some point. svn path=/trunk/; revision=15840
2005-09-16fixing the fix, it's time to go to bed ...Ulf Lamping1-1/+1
svn path=/trunk/; revision=15830
2005-09-15bugfix: don't crash (assert), if jumping to the first packet and packet_list ↵Ulf Lamping1-0/+6
is currently empty. Can happen at capture start. svn path=/trunk/; revision=15829
2005-09-15leak fixLuis Ontanon1-2/+6
svn path=/trunk/; revision=15825
2005-09-14added compression support for capture file output. The Save/As dialog now ↵Ulf Lamping1-2/+16
has a checkbox "Compress with gzip" currently limited to Ethereal and all the variants of libpcap filetypes only. We might want to add output compression support to the other tools as well (tethereal, mergecap, ...). We might also want to add support for the other filetypes, but this is only possible if the filetype functions doesn't use special output operations like fseek. One bug is still left: if the input and output filetypes while saving are the same, Ethereal currently optimizes this by simply copy the binary file instead of using wiretap (so it will be faster but it will ignore the compress setting). Don't know a good workaround for this, as I don't know a way to find out if the input file is currently compressed or not. One idea might be to use a heuristic on the filesize (compared to the packet size summmary). Another workaround I see is to remove this optimization, which is of course not the way I like to do it ... svn path=/trunk/; revision=15804
2005-09-14Have cf_retap_packets() take an argument that indicates whether toGuy Harris27-37/+37
generate columns; use cf_retap_packets instead of cf_redissect_packets() when running taps (the general flow graph stat uses the Info column). svn path=/trunk/; revision=15793
2005-09-13Move "Expert Info" from "Statistics" to "Analyze" menu item.Ulf Lamping1-61/+142
*significantly* improve performance (100000 infos from ~5min to 25sec!) Add a simple severity based filter mechanism. replace // style comments by /**/ svn path=/trunk/; revision=15791
2005-09-13implement a way to add menu items to the "Analyze" menuUlf Lamping1-0/+7
svn path=/trunk/; revision=15788
2005-09-13don't crash with a NULL pointer exception, if "do not decode as" is usedUlf Lamping1-5/+5
svn path=/trunk/; revision=15787
2005-09-13use the same name for menu item and dialog box title, use the right ↵Ulf Lamping1-2/+2
capitalization for both svn path=/trunk/; revision=15784
2005-09-13From Alejandro Vaquero.Anders Broman2-54/+69
svn path=/trunk/; revision=15778
2005-09-12When jumping (e.g. using menu item Go/Go to Packet...) to a new packet which ↵Ulf Lamping1-3/+61
is currently not displayed, this newly selected packet will become the first in the packet list. This is inconvenient, as most of the time (at least) I'm interested not only in the packets behind the newly selected one, but also to have some history *before* it. So this change will scroll the packet list to have the selected packet after the first third of the packet list. This change won't take effect if the new packet is already visible (only the selection is changed) or it's near the beginning or end of the packet list (so the whole beginning/end of the list is shown). svn path=/trunk/; revision=15772
2005-09-11Frame numbers are unsigned, and they start at 1; 0 is what's used forGuy Harris1-3/+8
"unknown" for frame numbers. Note that in epan/frame_data.h, and make the frame number in experts unsigned, and use 0 for "unknown", and display it as an unsigned number - and, if it's 0, don't display it at all. Fix the signature of "expert_dlg_draw()" to match what a tap's draw routine's signature is expected to be. svn path=/trunk/; revision=15760
2005-09-11some things fixed, leftover from code cleanup (thanks to the buggy MSVC ↵Ulf Lamping1-2/+2
dependencies) svn path=/trunk/; revision=15755
2005-09-11I'm adding the "Expert Info" prototype now, as it seems to be in a state ↵Ulf Lamping4-15/+573
where others might have a look and probably already find it useful :-). Anyway, we can easily disable it at one or two places in the code if it get's in our way of a new release. Please see: http://wiki.ethereal.com/Development/ExpertInfo for a complete overview of the intended feature and it's current state of implementation. While I'm working on this, I've also added some more status result codes to the DCE/RPC and DCOM dissectors. svn path=/trunk/; revision=15754
2005-09-09Update new RSVP host list and conversation stats to match recent changesGuy Harris2-6/+9
to the way command-line arguments and menu items for stats are done. svn path=/trunk/; revision=15737
2005-09-09Don't handle the ETHEREAL_STOCK_CAPTURE_START button if we don't haveGuy Harris1-1/+3
libpcap - ETHEREAL_STOCK_CAPTURE_START isn't defined, and we can't capture in any case, so we don't need that button. svn path=/trunk/; revision=15736
2005-09-08set the window title of the Win32 debug consoleUlf Lamping1-0/+3
svn path=/trunk/; revision=15720
2005-09-07close the capture interfaces dialog if the user pressed "Capture" or "Prepare"Ulf Lamping1-0/+6
this dialog is live capturing from all "known" interfaces while it's open, so huge system load is generated, which is not preferred while doing a real capture. svn path=/trunk/; revision=15719
2005-09-07don't wait for a keypress if this is a capture child. This was very ↵Ulf Lamping1-2/+2
annoying, as stopping a capture seems to freeze Ethereal, but it simply waits for a keypress on the capture_child's console window. svn path=/trunk/; revision=15718
2005-09-07From Manu PathakRonnie Sahlberg3-0/+185
Make RSVP tappable add hostlist and conversation listing for RSVP conversations svn path=/trunk/; revision=15714
2005-09-03Use the "svnversion" variable, exported by version_info.c, to print theGuy Harris1-6/+2
version number from SVN for non-release builds, just as Tethereal does. Fixes bug 408. svn path=/trunk/; revision=15674
2005-09-02don't crash if the file_set dialog is opened and a "none fileset" file is ↵Ulf Lamping1-5/+11
already loaded. This bug was introduced by me after the 0.10.12 release svn path=/trunk/; revision=15671
2005-09-01convert to g_snprintf()Ronnie Sahlberg1-1/+0
also make range_convert_range() return an emem allocated string svn path=/trunk/; revision=15660
2005-09-01convert one sprintf into g_snprintf()Ronnie Sahlberg1-4/+2
at the same time, make proto_construct_dfilter_string() return an emem allocated string. This fixes a tiny memleak in print.c that never freed the string returned by this function. svn path=/trunk/; revision=15651
2005-09-01From Tomer Shani:Anders Broman1-185/+335
Patch which will enable saving payload in raw (binary) format in addition to the existing au format. We have found it very useful to be able to extract the RTP data for use with other tools (especially when dealing with proprietary/uncommon coders). Changes: rtp_packet_save_payload: no longer transforms packet to linear coding, payload is saved in raw format copy_file: will perform the needed transcoding and save to needed format (au or raw) svn path=/trunk/; revision=15648
2005-08-25timestamp display precision:Ulf Lamping5-24/+182
- automatic adjustment depending on file format - manual adjustment through menu items save the setting in the recent file svn path=/trunk/; revision=15534
2005-08-25http://bugs.ethereal.com/bugzilla/show_bug.cgi?id=377Luis Ontanon1-3/+4
svn path=/trunk/; revision=15530
2005-08-25Fix sorting in the "Ports" columns. Add a comment about address sorting.Gerald Combs1-12/+16
Remove unused code. svn path=/trunk/; revision=15529
2005-08-25The "secs" field of a "struct wtap_nstime" is a time_t, so it could beGuy Harris1-2/+4
an int or it could be a long; print stuff computed from it with %lu, and cast the arguments to "long" so that it works on platforms where time_t *isn't* a long and where "long int" and "int" have different sizes. svn path=/trunk/; revision=15523
2005-08-24EVERYTHING IN THE BUILDBOT IS GOING TO BE RED!!! Sorry! Ulf Lamping13-95/+77
I've done more than a day to change the timestamp resolution from microseconds to nanoseconds. As I really don't want to loose those changes, I'm going to check in the changes I've done so far. Hopefully someone else will give me a helping hand with the things left ... What's done: I've changed the timestamp resolution from usec to nsec in almost any place in the sources. I've changed parts of the implementation in nstime.s/.h and a lot of places elsewhere. As I don't understand the editcap source (well, I'm maybe just too tired right now), hopefully someone else might be able to fix this soon. Doing all those changes, we get native nanosecond timestamp resolution in Ethereal. After fixing all the remaining issues, I'll take a look how to display this in a convenient way... As I've also changed the wiretap timestamp resolution from usec to nsec we might want to change the wiretap version number... svn path=/trunk/; revision=15520
2005-08-24From Graeme HewsonRonnie Sahlberg1-2/+3
Fix for infinite loop of configure events that were present for early GTK 2.4 in addition to 2.2 svn path=/trunk/; revision=15517
2005-08-22Add a "time_stat_init()" routine to initialize the fields of aGuy Harris2-63/+34
"timestat_t". Move "nstime_to_msec()" to "epan/nstime.c", as it has nothing to do with a "timestat_t". Use structure assignment when possible. Fix the "addtime()" macro and use it in "time_stat_update()". Use "timestat_t"s, and the routines to manipulate them, in the service response time table code. svn path=/trunk/; revision=15509
2005-08-21Use "g_strdup_printf()" rather than formatting into a fixed-lengthGuy Harris1-46/+41
buffer and "g_strdup()"ing it. Use the nstime.c routines to compute time deltas and to add up times. Don't add rows to the CList until a procedure gets a non-zero call count, so only the ones with non-zero call counts are displayed (and especially so that procedure numbers not corresponding to real procedures aren't displayed!). Ethereal requires 64-bit integer support, so don't bother checking whether we have it. Use the right format for 64-bit integers. svn path=/trunk/; revision=15506
2005-08-21Use the tap_dfilter_dlg mechanism.Guy Harris1-116/+10
svn path=/trunk/; revision=15504
2005-08-21Use the tap_dfilter_dlg code.Guy Harris1-116/+10
svn path=/trunk/; revision=15503
2005-08-21As per a suggestion by Ulf Lamping, rename gtk_*.[ch] to gui_*.[ch], soGuy Harris52-54/+54
that it doesn't appear to be part of GTK+. svn path=/trunk/; revision=15501
2005-08-21The protocol item in the protocol tree will have a gray background now, ↵Ulf Lamping1-0/+39
which makes it much better visible. Add some more optional flags to the protocol items, so more "special cases" can be marked in the protocol tree. New flags: /** The protocol field has a bad checksum */ FI_CHECKSUM_ERROR /** The protocol field has an unusual sequence (e.g. TCP window is zero) */ FI_SEQUENCE_WARNING /** The protocol field has a bad sequence (e.g. TCP segment is lost) */ FI_SEQUENCE_ERROR svn path=/trunk/; revision=15499
2005-08-21"gtk_tap_dfilter_dlg_cb()" is no longer used outsideGuy Harris14-284/+27
gtk/tap_dfilter_dlg.c; don't export it. That means that gtk/tap_dfilter_dlg.h is no longer useful; get rid of it. Rename "gtk_tap_dfilter_dlg_cb()" to "tap_dfilter_dlg_cb()", as it's inside GTK+-specific code, so there's no need to distinguish it from non-GTK+ callbacks. Update some comments to reflect the name change and the new API for registering tap_dfilter_dlg stats. Make the AFP and SMB stats use the gtk/tap_dfilter_dlg.c stuff. svn path=/trunk/; revision=15496
2005-08-21Have "register_dfilter_stat()" add "..." to the menu item, as all menuGuy Harris8-8/+16
items registered with it pop up a dialog box before displaying the stat. Don't pass a name with "..." to it. Put "..." into other menu items that pop up a dialog box before displaying the stat; remove "..." from other menu items that don't. svn path=/trunk/; revision=15495
2005-08-21Add a "register_dfilter_stat()", to register stats that take a displayGuy Harris62-127/+134
filter as an argument on the command line and have a dialog box to enter the display filter through the GUI. Use it for all stats using "gtk_tap_dfilter_dlg_cb()". Add a top-level "stat_menu.h" file to declare "REGISTER_STAT_GROUP_E" for the benefit of the declaration of "register_dfilter_stat()" in the top-level "tap_dfilter_dlg.h". Rename the "stat_menu.h" in the gtk directory to "gtk_stat_menu.h", so as not to have two headers with the same name. Get rid of headers not declaring any functions not being used in the module. svn path=/trunk/; revision=15493
2005-08-20The routines registered with "register_stat_cmd_arg()" *are* called ifGuy Harris5-83/+123
you use the "-z" command-line options for them; make them pop up the appropriate windows. Move the calls to "register_stat_cmd_arg()" after the code to register the tap, just as the calls to "register_stat_menu_item()" are done after registering the tap. Use "g_strdup_printf()" rather than formatting into a fixed-length buffer and "g_strdup()"ing that buffer. svn path=/trunk/; revision=15489
2005-08-20We already have a tap that registers as a command-line stat under theGuy Harris1-10/+0
name "rtp"; we don't need another one, especially given that "rtp_stream.c" doesn't directly implement a stat (note that it doesn't register a menu item). svn path=/trunk/; revision=15488
2005-08-20Rename epan/stat.[ch] to epan/stat_cmd_args.[ch] - it only deals withGuy Harris48-48/+48
implementing the "-z" command-line arguments, it doesn't deal with *all* issues for stats. svn path=/trunk/; revision=15483
2005-08-20Explain in more detail the split between the stuff in ui_util.h and inGuy Harris2-3/+5
gtk/gui_utils.h. svn path=/trunk/; revision=15482
2005-08-20And if we add a file, add it to Makefile.am as well Jörg Mayer1-0/+1
svn path=/trunk/; revision=15477
2005-08-20- Include the .h files in their .c files.Jörg Mayer1-0/+2
- Remove epan/dissectors/packet-sna.h, it isn't used anywhere. svn path=/trunk/; revision=15475