Commit graph

79 commits

Author SHA1 Message Date
Ronnie Sahlberg
6d5d4f8bec From Graeme Hewson
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-24 07:28:28 +00:00
Ulf Lamping
eafbbbcabb renamed ui_util.c/.h to gui_utils.c/.h to prevent confusion with identical named ui_util.h in / dir
svn path=/trunk/; revision=15465
2005-08-20 12:09:48 +00:00
Jörg Mayer
e9ea42eed9 Fix more "no previous declaration" warnings
svn path=/trunk/; revision=15173
2005-08-02 04:47:15 +00:00
Luis Ontanon
37636903bc From Alejandro Vaquero:
fix a crash when graphing packets whose src and dst is the same address


svn path=/trunk/; revision=15023
2005-07-24 01:48:01 +00:00
Luis Ontanon
4545d72483 Avoid the selected item been white on white by making all analysis widows colored.
Fixes bug 286.


svn path=/trunk/; revision=14961
2005-07-19 21:40:12 +00:00
Ronnie Sahlberg
31590a170f GTK 1.2 does not define the macro GDK_IS_DRAWABLE which made compilation of the recent flow analysis fail to compile.
For the time being, just add a dummy define for this symbol making it always TRUE for gtk-1.x users so that it compiles.

this should be fixed properly at a later stage, but i guess there are very few users of gtk-1.2 anyway  so no urgency.


svn path=/trunk/; revision=14949
2005-07-18 08:29:03 +00:00
Luis Ontanon
b231e455c7 From Francisco Alcoba
Flow Graphs for any protocol


svn path=/trunk/; revision=14948
2005-07-17 23:12:12 +00:00
Anders Broman
c8b69874cb From Alejandro Vaquero
- avoid the clist of the calls dlg to be refreshed multiple times when 
first appear.
- destroy the Graph window when the data is not valid anymore.
- fixes an H245 packet count error
- resizing the Graph windows when is displayed (up to 5 columns).
With a change to leave static voip_calls_tapinfo_t the_tapinfo_struct =
	{0, NULL, 0, NULL, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 0, 0, 0, 0, 0};
alone.

svn path=/trunk/; revision=14852
2005-07-05 05:16:28 +00:00
Ronnie Sahlberg
cc3b0df4ca From Alejandro, fix for GTK1 graph_analysis issue.
svn path=/trunk/; revision=14757
2005-06-26 00:12:15 +00:00
Anders Broman
abcecaaf90 From Alejandro Vaquero:
glib-object.h is is glib2 only.
 graph_analysis.c:47:25: glib-object.h: No such file or directory
 a patch for ths issue and also to correct the "first_item" 
issue reported in "RE: [Ethereal-dev] Voip graph analysis "Save as" button"

svn path=/trunk/; revision=14577
2005-06-07 15:21:22 +00:00
Anders Broman
936bcef09d From Alejandro Vaquero:
- Add a pane to contain  the main graph and the comments to be able to 
split them
- Change the main graph area to be a scrolled_window
- Change the look of the selected item to be blue with white text color
- Gray color the title area
- Change the conversations color to more "soft" colors (it was difficult 
to read in some cases before)

svn path=/trunk/; revision=14556
2005-06-06 14:01:04 +00:00
Ulf Lamping
af9bcf3bf8 prevent unused function warning
svn path=/trunk/; revision=14463
2005-05-28 11:04:11 +00:00
Ronnie Sahlberg
0938d01e38 GdKEventScroll is not available in GTK-1.2
svn path=/trunk/; revision=14451
2005-05-27 05:04:03 +00:00
Ulf Lamping
abab83d6e4 fix #203: the scroll event handler used an inappropriate implementation to get event values, fixed this. On win32 this was working before and after the changes, so the bug *might* remain ...
svn path=/trunk/; revision=14448
2005-05-26 23:18:10 +00:00
Lars Roland
13f019e952 From Francisco Alcoba:
- change the "write to file" to "save as"
- avoid the segmentation fault reported by Ruud Linders in another mail

svn path=/trunk/; revision=14069
2005-04-13 23:12:41 +00:00
Ronnie Sahlberg
6ac7c99cc5 From Francisco Alcoba
Very cool ASCII art version of viop graphs


svn path=/trunk/; revision=14023
2005-04-07 09:14:35 +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
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
Lars Roland
2ed9ca813b By Francisco Alcoba:
Support for name resolution and IPv6 in VoIP Call Analysis

svn path=/trunk/; revision=13501
2005-02-24 21:31:20 +00:00
Luis Ontanon
516d559fe8 From Alejandro Vaquero
voip_calls_dlg.c
    Change the "prepare filter" function to be protocol independent. Now it uses the
    "frame_num"s  from the Graph structure to create the filter. This also add support
    to MGCP and H323 LRQ/LCF filters that were not supported before.

graph_analysis.c:
    Change the mouse scroll wheel implementation to make a 3 line step change instead of 1 line.


svn path=/trunk/; revision=13489
2005-02-24 04:15:40 +00:00
Ulf Lamping
bb3310bd9d prevent messages like "Couldn't load font x, falling back to y", see comment for details
svn path=/trunk/; revision=13468
2005-02-22 07:53:54 +00:00
Luis Ontanon
b4ffe0e024 From Alejandro Vaquero
Add support of mouse scroll wheel and directional keys
(Up, down, left, and right) in the Graph Analysis.


svn path=/trunk/; revision=13457
2005-02-21 03:06:41 +00:00
Lars Roland
aec5f71469 remove a bunch of unnecessary "includes" from VoIP tap and graph analysis sources
svn path=/trunk/; revision=13392
2005-02-13 23:30:56 +00:00
Ulf Lamping
0861927ce3 huge cleanup of capture file API (functions in file.c/file.h).
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-04 18:44:44 +00:00
Guy Harris
26c2759ebc Get rid of an unused typedef.
svn path=/trunk/; revision=13239
2005-02-02 10:19:35 +00:00
Guy Harris
291e154e03 Use C89 syntax, not C++ syntax, for functions that take no arguments.
svn path=/trunk/; revision=13238
2005-02-02 09:08:42 +00:00
Guy Harris
de76a7c615 Clean up white space.
Get rid of an unused variable and two #includes that aren't needed.

svn path=/trunk/; revision=13234
2005-02-02 08:02:46 +00:00
Lars Roland
2614749268 add packet-sdp.h
and from Julien Leproust:
fix graph_analysis.c

svn path=/trunk/; revision=13226
2005-02-01 14:00:25 +00:00
Lars Roland
197ceddab1 From Alejandro Vaquero:
h323 taps support up to 5 messages per packet now.

VoIP call analysis:
      - Collect ISUP, SIP and H323 calls from a capture and show them in window with the following info:
      - Start and Stop time of the call
      - Init

svn path=/trunk/; revision=13225
2005-02-01 12:12:35 +00:00