Commit Graph

2000 Commits

Author SHA1 Message Date
Guy Harris 460ff2d162 From Lars Ruoff:
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-21 01:24:19 +00:00
Luis Ontanon 04dcf4e154 Rename all stats_tree extern functions to start with stats_tree_
svn path=/trunk/; revision=13840
2005-03-21 00:55:04 +00:00
Guy Harris 18fe5b7195 Put the source file names in alphabetical order.
svn path=/trunk/; revision=13838
2005-03-20 23:32:56 +00:00
Guy Harris 536718bb6c Fix the expansion of the top-level nodes in GTK+ 1.2[.x].
svn path=/trunk/; revision=13837
2005-03-20 23:28:36 +00:00
Ulf Lamping 64d1dde5b2 fix some typos, capitalization and don't put two SCTP entries in the Statistics menu
svn path=/trunk/; revision=13836
2005-03-20 23:26:19 +00:00
Luis Ontanon d4f461c418 Expand the root nodes by default
svn path=/trunk/; revision=13833
2005-03-20 21:48:11 +00:00
Guy Harris 976666eb49 The GTK+ 2.x version doesn't automatically expand the root node; don't
do so in the GTK+ 1.2[.x] version.

svn path=/trunk/; revision=13831
2005-03-20 20:27:51 +00:00
Guy Harris 0f39d86edf Make columns in the GTK+ 1.2[.x] version auto-resizing.
svn path=/trunk/; revision=13830
2005-03-20 19:51:09 +00:00
Guy Harris e859032069 Make the top-level node start out expanded in GTK+ 1.2[.x].
svn path=/trunk/; revision=13829
2005-03-20 19:44:19 +00:00
Guy Harris 9b25f7ea1e The commented-out entry for sctp_chunk_stat_dlg.c broke
automake/autoconf-based builds, as Makefile.common wasn't getting
included into Makefile.in - remove it.

svn path=/trunk/; revision=13826
2005-03-20 18:58:11 +00:00
Michael Tüxen 3aa6383210 From Oleg Terletsky: Support for SCTP chunk counters. Modified to handle bundling correctly.
svn path=/trunk/; revision=13823
2005-03-20 12:02:00 +00:00
Guy Harris 612b5f4fc6 Do a GTK+ 1.2[.x] version.
Clean up indentation.

Put the members of the _stat_tree_columns enum in order by column number.

svn path=/trunk/; revision=13822
2005-03-20 11:39:14 +00:00
Luis Ontanon 000ce4f915 st->name was moved to st->cfg->name
svn path=/trunk/; revision=13821
2005-03-20 11:12:21 +00:00
Luis Ontanon 9e9a658369 There was a design flaw that caused a crash on windows and
left uninitialized successive copies of the stats tree.

Split the stats_tree data in two different structs one for data that's
always needed and it's not going to change at every run and another
for each run of the tap.



svn path=/trunk/; revision=13816
2005-03-20 00:19:15 +00:00
Ulf Lamping 6c8482f286 Move request packets above (before) response ones, this seems to be more natural.
Use a single HTTP submenu instead of two menu items with an entry and a submenu

svn path=/trunk/; revision=13814
2005-03-19 19:06:08 +00:00
Ulf Lamping bcaacc0569 Use capitalized words for column headers
svn path=/trunk/; revision=13812
2005-03-19 18:13:09 +00:00
Ulf Lamping ed0cdf9eb7 Add a "Close" button, as not everyone uses a window manager providing the 'X' to close a window.
In addition, this enables the ESC key to close the window

Slightly increase the initial window size

svn path=/trunk/; revision=13810
2005-03-19 16:43:30 +00:00
Ulf Lamping 568f8f798c make a duplicate of the window title to prevent problems if API user g_free's it's title before it was saved to the "recent" file.
svn path=/trunk/; revision=13809
2005-03-19 16:36:23 +00:00
Luis Ontanon 3e98d671fd From Graeme Hewson:
don't try to call register_all_plugin_tap_listeners() if configured without plugins.

svn path=/trunk/; revision=13737
2005-03-12 21:36:24 +00:00
Ulf Lamping 801e9dd35e from Stefano Pettini: add CSV export function, similar to PSML export
svn path=/trunk/; revision=13724
2005-03-11 20:56:31 +00:00
Guy Harris c0f813c0a4 Flag an unused argument as unused, to squelch compiler warnings, and
don't flag a used argument as unused.

svn path=/trunk/; revision=13706
2005-03-11 01:15:35 +00:00
Jörg Mayer bce97ef171 Warning fix: voip_calls_dlg.c:733: implicit declaration of function rtp_event_init_tap
svn path=/trunk/; revision=13705
2005-03-10 21:47:35 +00:00
Luis Ontanon 008054453b From Alejandro Vaquero:
- Automatic dissection of RTP events (RFC2833) set in SDP sessions.
- Add RTP events (RFC2833) to the Voip Graph


svn path=/trunk/; revision=13697
2005-03-10 19:32:22 +00:00
Jörg Mayer 8783c27b4b Warning fix: function declaration isn’t a prototype
svn path=/trunk/; revision=13693
2005-03-10 14:04:35 +00:00
Jörg Mayer 33145f026d Warning fix: ISO C forbids zero-size array ‘tsns
svn path=/trunk/; revision=13692
2005-03-10 12:49:05 +00:00
Jörg Mayer 9804663036 Trivial warning fixes
svn path=/trunk/; revision=13691
2005-03-10 12:43:35 +00:00
Ulf Lamping 2f73c1d242 removed some MSVC compiler warnings, mostly I've casted "downsized function parameters"
svn path=/trunk/; revision=13684
2005-03-09 23:00:21 +00:00
Guy Harris ae622c416d From Francisco Alcoba: don't generate long filter expressions, fall back
to the old filter mechanism if the filter expression is too long.

svn path=/trunk/; revision=13675
2005-03-09 10:12:05 +00:00
Lars Roland 466603ba82 add a default size to stats_tree windows. so we do not have to resize them everytime.
svn path=/trunk/; revision=13655
2005-03-07 21:11:34 +00:00
Luis Ontanon 27915a0f80 From Alejandro Vaqero:
- Fix a problem when pressing a key when  the "Graph" is  displayed
without any frame selected.

   - Add support for RTP Payload changes. Now the graph will show any
change in the RTP payload type. This is useful for example to show DTMF
2833 in a call.

-This line, and those below, will be ignored--

M    gtk/graph_analysis.c
M    gtk/voip_calls.c
M    gtk/voip_calls.h

svn path=/trunk/; revision=13651
2005-03-07 19:10:21 +00:00
Luis Ontanon e968b0c066 From Francisco Alcoba:
- Correct the order of the calls in the VoIP Calls dialog when ordering by time fields
 - Prevent an assertion when ordering on the last columns


svn path=/trunk/; revision=13649
2005-03-07 11:01:16 +00:00
Jörg Mayer 58d8f2f652 - pcap.h needs to be included before capture.h
- As capture.h is empty without libpcap defined, only include it in that
  case and don't protect the file internally against libpcap any more.

svn path=/trunk/; revision=13648
2005-03-07 10:19:33 +00:00
Guy Harris 802859d3fd Call the "new-style init" routine for plugins a "register" routine, as
it serves the same purpose as the register routine in a built-in
dissector, and don't require all dissectors to have one, as they might
just be taps.

Get rid of the stats tree's init routine, as it's just a tap, and as it
doesn't do anything.

Update the idl2eth Python script to generate plugins with register routines.

svn path=/trunk/; revision=13644
2005-03-07 02:44:41 +00:00
Jörg Mayer a0506eb598 Undo the last "fix" (13626): Unconditionally including <pcap.h> is
going to cause trouble for compilations without libpcap.

svn path=/trunk/; revision=13628
2005-03-06 10:26:00 +00:00
Jörg Mayer bef62eee0d Warning fix:
menu.c:1841:1: warning: C++ style comments are not allowed in ISO C90
menu.c:1841:1: warning: (this will be reported only once per input file)
(just removed it)

svn path=/trunk/; revision=13627
2005-03-06 10:03:53 +00:00
Jörg Mayer af9b899e73 Warning fix:
../capture.h:115: warning: struct pcap_stat declared inside parameter list
../capture.h:115: warning: its scope is only this definition or declaration,
        which is probably not what you want
../capture.h:125: warning: struct pcap_stat declared inside parameter list


svn path=/trunk/; revision=13626
2005-03-06 10:02:39 +00:00
Guy Harris 55eaf4bbae Get rid of a redundant test.
svn path=/trunk/; revision=13604
2005-03-05 23:44:23 +00:00
Guy Harris 8cffb1cad3 From Laurent Rabret: handle the case where there's no file name (i.e.,
an unsaved live capture), and avoid dividing by zero.

svn path=/trunk/; revision=13601
2005-03-05 20:52:03 +00:00
Gerald Combs eb372831dd When analyzing RTP streams, use the source address as well as the SSRC
to determine forward and reverse directions.  This fixes a capture I
have which has the same SSRC in the forward and reverse streams.

svn path=/trunk/; revision=13599
2005-03-05 17:57:27 +00:00
Ronnie Sahlberg 91a8ef6b5f from didier: bug fix for the menu,
if ethereal could not open the file   make us still be able to use the Open menu item to open a different file



svn path=/trunk/; revision=13589
2005-03-04 22:25:02 +00:00
Luis Ontanon 2e28b1b828 From Alejandro Vaquero:
Avoid adding to a call non ISUP mtp3 packets towards the same destination as a copy of the last ISUP packet towards that dpc.

svn path=/trunk/; revision=13576
2005-03-02 23:25:41 +00:00
Luis Ontanon 93b30edbb5 This is the rest of the patch from Francisco Alcoba.
I forgot to check in changes to these files yesterday


svn path=/trunk/; revision=13575
2005-03-02 23:22:11 +00:00
Luis Ontanon 28e58deeb1 Frrom Francisco Alcoba
- 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-03-02 01:24:18 +00:00
Luis Ontanon f7d5537137 From Alejandro Vaquero:
patch to the voip calls facility to:

- Add a horizontal scrollbar in the "Graph" to scroll the "comments"
- Fix a "state" bug in H323 and SIP calls
- Fix a bug that can make the "graph" to crash, and also clean up the "address" when the window is close



svn path=/trunk/; revision=13565
2005-03-01 16:19:46 +00:00
Luis Ontanon 6e0186da12 - do not free the string passed to register_ethereal_tap()
it caused the taps to have "funny" names.

- rename the window as "$name Stats Tree"


svn path=/trunk/; revision=13546
2005-02-28 01:20:52 +00:00
Luis Ontanon 5319cabe88 Make sure that plugin tap listeners get registered before the non-plugin tap listeners
that's because stat trees are registered as tap listeners by either
gtk/stats_tree_stat.c or tap-stats_tree.c


svn path=/trunk/; revision=13545
2005-02-28 00:55:49 +00:00
Guy Harris dd4b0b718b The stats tree stuff should ultimately allow us to have plugin taps, so
add infrastructure for them, and display the plugin type (which could be
both dissector *and* tap) in the list of plugins.

svn path=/trunk/; revision=13543
2005-02-27 22:04:48 +00:00
Guy Harris 343810d95a Move "get_natural_int()" and "get_positive_int()" from "capture_opts.c"
to "clopts_common.c", make them not static, and use them in "gtk/main.c".

svn path=/trunk/; revision=13541
2005-02-27 21:15:30 +00:00
Luis Ontanon c81ca733db the last commit broke windows compilation.
minor changes in typing variables
 exclude a GTK2 call from being called while using GTK1


svn path=/trunk/; revision=13539
2005-02-27 20:17:06 +00:00
Ulf Lamping e7fafa28c6 some clarification of the capture child thing
svn path=/trunk/; revision=13535
2005-02-27 17:30:33 +00:00