aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/rtp_stream_dlg.c
AgeCommit message (Collapse)AuthorFilesLines
2006-04-30Move the file selection dialog routines to file_dlg.c, and give it aGuy Harris1-0/+1
header file. #if 0 out some includes; if none of the builds have a problem with that, I'll remove them. svn path=/trunk/; revision=18036
2005-09-17Move a pile of protocol-related headers from the top-level sourceGuy Harris1-1/+1
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-08-21As per a suggestion by Ulf Lamping, rename gtk_*.[ch] to gui_*.[ch], soGuy Harris1-1/+1
that it doesn't appear to be part of GTK+. svn path=/trunk/; revision=15501
2005-08-21Have "register_dfilter_stat()" add "..." to the menu item, as all menuGuy Harris1-1/+1
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 Harris1-1/+2
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-20- Declare some functions staticJörg Mayer1-2/+2
- Add plugins_dlg.h - Include .h files in their respective .c files - Include .h and remove extern declarations in .c files - set eol-style and keywords on gui_utils.[hc] svn path=/trunk/; revision=15471
2005-08-20renamed ui_util.c/.h to gui_utils.c/.h to prevent confusion with identical ↵Ulf Lamping1-1/+1
named ui_util.h in / dir svn path=/trunk/; revision=15465
2005-08-19Move the APIs for registering and processing "-z" command-line argumentsGuy Harris1-2/+2
and "Statistics" menu items into "stat.h" and "stat.c", to separate them from the core tapping APIs. A tap could conceivably not register as a "-z" command-line argument or "Statistics" menu item, and a stat could conceivably not be implemented as a tap, and dissectors that implement tapping points don't need the UI-related stuff from "stat.h", they just want the tap-related stuff in <epan/tap.h>. svn path=/trunk/; revision=15427
2005-04-16add 12 new toolbar/menu iconsUlf Lamping1-1/+1
add two toolbar toggle buttons add icons to various menu items create new Statistics telephony group and put telephony and alike protocols in it svn path=/trunk/; revision=14098
2005-03-21From Lars Ruoff:Guy Harris1-129/+190
when formatting numerical values for CSV lists, save the locale before formatting, set the locale to the "C" locale, and then restore the locale, so that numbers are always formatted with "." as the decimal point; add to the RTP streams window a Copy button that copies all data from the CList to the clipboard as CSV. svn path=/trunk/; revision=13842
2005-03-02Frrom Francisco AlcobaLuis Ontanon1-10/+11
- Name resolution support for the RTP Stream Analysis functionality - fix a crash when trying to analyze with no stream selected. svn path=/trunk/; revision=13572
2005-02-27From Martin MathielsonLuis Ontanon1-0/+5
- from the "RTP streams" dialog, pressing 'Analyze' with no stream selected would throw up an 'invalid filter' error. This patch avoids anything if no steam(s) are selected. svn path=/trunk/; revision=13529
2005-02-24Mallocate the strings to be put into the columns, rather than filling inGuy Harris1-27/+16
fixed-length buffers. svn path=/trunk/; revision=13492
2005-02-22buttons should use "Header capitalization" see GNOME HIG ↵Ulf Lamping1-2/+2
http://developer.gnome.org/projects/gup/hig/1.0/layout.html#layout-capitalization svn path=/trunk/; revision=13465
2005-02-16from lars ruoff a few extra columns for rtp analysisRonnie Sahlberg1-17/+51
svn path=/trunk/; revision=13410
2005-02-04huge cleanup of capture file API (functions in file.c/file.h).Ulf Lamping1-1/+1
This includes: all functions in file.h now have a cf_ prefix, will have doxygen tags, will have the capture_file *cf as the first parameter and I tried to generalize the return values for non trivial functions. Hopefully, I didn't introduced any new bugs, as I had to change a lot of files... svn path=/trunk/; revision=13289
2005-02-02Get rid of an unused typedef.Guy Harris1-2/+0
svn path=/trunk/; revision=13239
2004-12-01From Francisco Alcoba:Guy Harris1-29/+54
add IPv6 support; replace "delay" with "delta". svn path=/trunk/; revision=12636
2004-10-03add some button tooltips, renamed some buttonsUlf Lamping1-9/+17
svn path=/trunk/; revision=12192
2004-07-18Set the svn:eol-style property on all text files to "native", so thatGuy Harris1-1/+1
they have LF at the end of the line on UN*X and CR/LF on Windows; hopefully this means that if a CR/LF version is checked in on Windows, the CRs will be stripped so that they show up only when checked out on Windows, not on UN*X. svn path=/trunk/; revision=11400
2004-06-30From Martin Mathieson: Show number of detected streams in RTP Analysis windowAnders Broman1-30/+40
svn path=/trunk/; revision=11288
2004-06-02move "extern GtkWidget *main_display_filter_widget" fromUlf Lamping1-3/+2
various stats files to gtkglobals.h svn path=/trunk/; revision=11073
2004-06-02Get rid of the #if 0'ed out "rtp_payload_type_vals[]" table - we shouldGuy Harris1-34/+1
be using the one from libethereal. svn path=/trunk/; revision=11072
2004-06-01bugfix: don't double define rtp_payload_type_valsUlf Lamping1-2/+3
svn path=/trunk/; revision=11065
2004-06-01add details for doxygen, various code cleanups as a result of thisUlf Lamping1-2/+2
svn path=/trunk/; revision=11052
2004-05-26more code cleanup from dialog things:Ulf Lamping1-100/+51
changed window_xy (dialog) function calling in a lot of gtk files cleanup of file selection code cleanup in dlg_utils/file_dlg/ui_util Please report any problems!!! svn path=/trunk/; revision=11003
2004-04-12ESC key presses Close buttonUlf Lamping1-2/+7
svn path=/trunk/; revision=10587
2004-03-14Fix incorrect number of arguments for format and compilation warnings.Laurent Deniel1-5/+4
svn path=/trunk/; revision=10379
2004-03-13various string related changes, mainly replace sprintf/snprintf by g_snprintfUlf Lamping1-15/+20
svn path=/trunk/; revision=10371
2004-02-23Add a "force" argument to "filter_packets()" andGuy Harris1-2/+2
"main_filter_packets()", to force the filtering to be done even if the filter is the same as the current one; this is necessary in order to make sure "Follow TCP Stream" gets the packets processed even if you're filtering the stream that's currently filtered in. svn path=/trunk/; revision=10209
2004-02-23statistics menu redesigned, now looking more like the former menu,Ulf Lamping1-2/+2
items now again grouped by function, not by ISO layer svn path=/trunk/; revision=10202
2004-02-22Redesigned the menu structure of the former statistics stuff,Ulf Lamping1-3/+3
now sorted by ISO-layer, than alphabetically (now longer by functionality). Seperated the tap registering from the actual menu making stuff, so the seperate step of registering the tap and the menu is no longer needed. Removed all things related to this double registering. svn path=/trunk/; revision=10180
2004-02-11Move the declaration of "register_tap_menu_item()" into a newGuy Harris1-2/+2
"tap_menu.h" file, and have the Ethereal taps include that rather than "menu.h", so we don't have to worry about making sure we've included <stdio.h> to define FILE, etc. just because some "menu.h" functions require it. svn path=/trunk/; revision=10031
2004-02-06replaced every appearance of gtk_scrolled_window_new() withUlf Lamping1-2/+2
scrolled_window_new(). added gtk_scrolled_window_set_policy(AUTOMATIC,AUTOMATIC) to scrolled_window_new() added GTK2's gtk_scrolled_window_set_shadow(GTK_SHADOW_IN) to every place needed svn path=/trunk/; revision=9999
2004-01-26From Lars Ruoff:Olivier Biot1-161/+220
- made streams list sortable by column - added a button "Find Reverse" that finds the reverse stream to the selected forward stream. (If different reverse streams available, pushing the button repeatedly will cycle through all of them, one after the other.) - tidied up lots of superflous code. Also get rid of a const pointer cast warning, and remove the _U_ attribute from rtpstream_reset(). svn path=/trunk/; revision=9863
2004-01-25apply automatically generated filters strings to the recent dropdown list,Ulf Lamping1-2/+2
e.g. when applying a "Follow TCP stream", fix a bug in the recent function, discarding the newest entries when saving a full list (now discarding the oldest). svn path=/trunk/; revision=9849
2004-01-25Report open errors when saving the contents of an RTP stream. Check forGuy Harris1-2/+6
and report write errors as well. svn path=/trunk/; revision=9833
2004-01-21use stock buttons whereever possible,Ulf Lamping1-4/+4
added some ethereal specific stock icons svn path=/trunk/; revision=9763
2004-01-03Make Analyze/Statistics have an accelerator of Alt+A S and moveRichard Sharpe1-2/+2
Analyze/Summary to Alt+A Y. svn path=/trunk/; revision=9537
2003-12-17From Lars Roland: have common code to handle display filter dialogs inGuy Harris1-2/+2
taps, and use that in the H.225 taps. svn path=/trunk/; revision=9327
2003-12-16Use gtk compatibility macros (from compat_macros.h) instead of some gtk+Olivier Abad1-76/+57
v1.2 functions which are deprecated in gtk+ v2. Update OBJECT_SET_DATA macros to cast "data" to (gpointer). svn path=/trunk/; revision=9296
2003-11-20From Lars Roland:Guy Harris1-3/+18
- added a pointer to raw rtp data to _rtp_info that can be used by taps; - RTP packets are passed to the tap queue only if they are not error packets (so that you don't need to filter out ICMP packets) - use that pointer in rtp_stream, so it handles packets with padding, and should handle RTP packets fragmented across lower-level packets - moved rtp_stream from tap sources to normal files (prevents on-start-up registration of the rtp_stream tap listener) - rtp_stream tap gets registered/unregistered with the "RTP Streams" dialog box i.e. the tap is registered as long as the dialog box is open. Alternatively, it is de-/registered on demand if RTP Analysis is called directly on a packet. - rtp_stream tap listener no longer uses a filter in dissection ` and does not need to have a proto tree being built. (performance increase) - fixed: RTP Streams list will get updated in real time if the dialog box is open while a redissection takes place. svn path=/trunk/; revision=9051
2003-10-06(Based on a patch from Lars Roland.)Guy Harris1-2/+2
Use "gtk_dialog_new()" to create the window - that doesn't create a "dialog box" in the sense of a transient-for window, but it does create a window with a button vbox that the code expects to be present. svn path=/trunk/; revision=8622
2003-09-26Get the RTP payload types from rtp_pt.h rather than defining themGuy Harris1-37/+3
ourselves. svn path=/trunk/; revision=8551
2003-09-26Assorted GUI cleanups.Guy Harris1-2/+2
svn path=/trunk/; revision=8544
2003-09-24From Lars Ruoff: rewritten RTP analysis module.Guy Harris1-0/+806
svn path=/trunk/; revision=8529