aboutsummaryrefslogtreecommitdiffstats
path: root/gtk
AgeCommit message (Collapse)AuthorFilesLines
2005-09-22do freeze/thaw in packet_list_set_selected_row only, if the list must be ↵Ulf Lamping1-4/+4
moved. This avoids some screen flickering. svn path=/trunk/; revision=15965
2005-09-22Instead of checking if this is a new packet at every call to avoid ↵Luis Ontanon1-4/+18
recounting the packets at every rerun remove the tap listener of this stats tree. fixes bug 474 svn path=/trunk/; revision=15960
2005-09-21fix 467: when using -k command line option, convert interface name display ↵Ulf Lamping1-1/+1
string ("user_description: devicename" from Preferences) into device name. Hopefully this won't break the UNIX version. svn path=/trunk/; revision=15943
2005-09-21fix #465: replace all fprintf(stderr, ...) with g_warning(...) callsUlf Lamping1-27/+29
svn path=/trunk/; revision=15942
2005-09-21fix/add doxygen commentsUlf Lamping5-7/+47
svn path=/trunk/; revision=15941
2005-09-21fix a copy/paste error inside of a comment Ulf Lamping1-1/+1
svn path=/trunk/; revision=15940
2005-09-21Free our flow graph strings when we're done with them. Add a note aboutGerald Combs1-0/+11
flow graphs to the release notes, along with other stuff. svn path=/trunk/; revision=15928
2005-09-21In an attempt to fix bug 396, switch over to GStrings. There still appearsGerald Combs1-827/+805
to be a problem with formatting, but we don't crash any more. svn path=/trunk/; revision=15923
2005-09-21Squelch a compiler warning (the argument might be used later).Guy Harris1-4/+4
Clean up indentation. svn path=/trunk/; revision=15917
2005-09-20add two new callbacks:Ulf Lamping1-1/+59
cf_cb_file_closing (called before closing a capture file) cf_cb_file_closed will be called afterwards, but both only if a file is really closed as cf_close is called more often ... If we are closing large capture files (~20MB), the screen looks ugly while the file is closed. Change this so the screen will immediately go back to initial state and a dialog (without buttons) is shown that the file is currently closed. As the operation which takes most of the time to close the file is a single eth_clist_clear call, we can't use a progress bar here. cf_cb_live_capture_stopping: called when the user wants to stop the capture (toolbar or menu clicked). At least on Win32, the time between this and the actual stop completed can be noticeable (1-2 seconds), so the user doesn't know if the button press did anything at all. Do something similar as above, show a dialog box without buttons to inform that the close is in progress. svn path=/trunk/; revision=15891
2005-09-20if the capture child pops up it's own console, title it as suchUlf Lamping1-2/+5
svn path=/trunk/; revision=15889
2005-09-20Squelch a compiler warning.Guy Harris1-1/+1
svn path=/trunk/; revision=15888
2005-09-20the buildbot has a problem not knowing sa_family_t, define eth_sa_family_t ↵Ulf Lamping1-4/+7
and use it here (ok, this *is* a dirty hack) don't know why the last commit compiled on my machine and not on the buildbot. svn path=/trunk/; revision=15887
2005-09-20enhance simple dialog: add the possibility to use no buttons at all and add ↵Ulf Lamping2-7/+27
a stop icon (similar to the splash_window, but with a slightly different layout and a way to choose the icon shown) svn path=/trunk/; revision=15886
2005-09-19fix #340: define the missing sockaddr_storage struct to be able to use ↵Ulf Lamping1-0/+34
Packet32.h even with WinPcap 3.1 and without the platform SDK svn path=/trunk/; revision=15878
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