aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/graph_analysis.c
AgeCommit message (Collapse)AuthorFilesLines
2011-08-03Fix compiler warning turned error:sfisher1-1/+1
graph_analysis.c:1363: warning: unused parameter 'widget' git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38320 f5534014-38df-0310-8fa8-9805f1628bb7
2011-08-03- Get rid of deprecated functions.etxrab1-236/+190
- Include pangocairo. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38317 f5534014-38df-0310-8fa8-9805f1628bb7
2011-07-21Create a file containing macros to provide the access-functionsjmayer1-48/+3
when the gtk version is too old (for the 2,14,0 case). Remove all old access methods that were guarded by 2,14,0 tests. Feel free to do the same for newer guards :-) git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38147 f5534014-38df-0310-8fa8-9805f1628bb7
2011-07-14Replace deprecated gdk_pixmap_unref() with g_object_unref().etxrab1-3/+3
Update checkAPIs. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38013 f5534014-38df-0310-8fa8-9805f1628bb7
2011-07-12Fix more tooltips.etxrab1-3/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37987 f5534014-38df-0310-8fa8-9805f1628bb7
2011-06-20GTK3 fixes:jmayer1-0/+3
- Replace 2 cases where GtkObject was used (no longer exists in GTK3) - Whenever gdkkeysyms.h is included also include gdkkeysyms-compat.h iff we are building against gtk3 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37722 f5534014-38df-0310-8fa8-9805f1628bb7
2011-06-07Fix gcc 4.6 "set but not used [-Wunused-but-set-variable]" warnings;wmeier1-15/+8
Also: whitespace cleanup in some cases. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37601 f5534014-38df-0310-8fa8-9805f1628bb7
2011-02-08Fix compilation problem for GTK+ < 2.18sfisher1-2/+2
graph_analysis.c(1450): error C2039: 'allocation' : is not a member of '_GtkStyle' git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35877 f5534014-38df-0310-8fa8-9805f1628bb7
2011-02-08Build with pre-2.18 GTK+es.guy1-2/+8
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35874 f5534014-38df-0310-8fa8-9805f1628bb7
2011-02-08More -DGSEAL_ENABLE cleanup (hopefully without breaking anything)...sfisher1-45/+213
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35870 f5534014-38df-0310-8fa8-9805f1628bb7
2010-09-02Add commentsetxrab1-9/+24
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@34047 f5534014-38df-0310-8fa8-9805f1628bb7
2010-08-30Remove some unnecessary includes: a lot of things don't need globals.h and ↵morriss1-1/+0
register.h git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@34017 f5534014-38df-0310-8fa8-9805f1628bb7
2010-08-11Remove 1K line limit when saving a flow graph to a file;wmeier1-62/+50
(Refactor code to write directly to file instead of first storing data in an array of fixed size). Fixes Bug #5101: https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5101 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@33772 f5534014-38df-0310-8fa8-9805f1628bb7
2010-07-30Minor code cleanup:wmeier1-115/+68
- Define several event callback functions with the correct number of args; - Remove several unnecessary 'if (!user_data) exit(10);' code sequences; - Use 'user_data' arg of event callbacks instead of an object property in several cases; - Reformat some long lines. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@33677 f5534014-38df-0310-8fa8-9805f1628bb7
2009-11-16Remove debug code.jake1-26/+18
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30970 f5534014-38df-0310-8fa8-9805f1628bb7
2009-11-15From Alejandro Vaquero:etxrab1-72/+134
Add RTP player to "RTP Stream Analysis" and makeover of VoIP flow https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4240 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30967 f5534014-38df-0310-8fa8-9805f1628bb7
2009-11-10Removed some unused variables and unused assignments.stig1-10/+0
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30918 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-27Add #include <stdio.h> in a few more places for Solaris.wmeier1-0/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29577 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-17Change window_new() to dlg_window_new() and destroy the window with the top ↵jake1-5/+3
level window. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29457 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-12Restore the formatting of the saved graph.jake1-2/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29391 f5534014-38df-0310-8fa8-9805f1628bb7
2009-06-01flow_graph & etc: rework graph "save as" slightly:wmeier1-27/+56
- Pop up an alert box if unable to open file for write; - Prevent "dead" save-as window if unable to open file for write or if a directory is entered as the filename; - Fix a memory leak. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28554 f5534014-38df-0310-8fa8-9805f1628bb7
2009-04-16More Win64 fixes.gerald1-6/+5
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28062 f5534014-38df-0310-8fa8-9805f1628bb7
2009-03-19As suggested by Jakub Zawadzki: actually use sizeof(...) rather than a ↵wmeier1-2/+2
numeric constant in various places; git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27800 f5534014-38df-0310-8fa8-9805f1628bb7
2009-03-12From Jakub Zawadzki:stig1-2/+1
Use non-formatting functions when appropriate. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27709 f5534014-38df-0310-8fa8-9805f1628bb7
2009-02-22Use gtk_file_chooser_dialog_new().etxrab1-18/+13
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27514 f5534014-38df-0310-8fa8-9805f1628bb7
2008-10-31Fix some "format not a string literal and no format arguments" warnings.stig1-2/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26641 f5534014-38df-0310-8fa8-9805f1628bb7
2008-10-29Fix for bug 1854:jake1-10/+32
Even though not perfect, this effectively doubles the width of the header labels without changing the rest of the layout. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26615 f5534014-38df-0310-8fa8-9805f1628bb7
2008-10-20Clean up the whitespace.jake1-225/+224
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26503 f5534014-38df-0310-8fa8-9805f1628bb7
2008-07-08Fix some simple cases of GTK2 deprecated API usage by using a renamed or ↵wmeier1-1/+1
equivalent API gtk_button_box_set_spacing() ==> gtk_box_set_spacing() git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25673 f5534014-38df-0310-8fa8-9805f1628bb7
2008-06-29Fix some simple cases of GTK2 deprecated API usage by using a renamed or ↵wmeier1-1/+1
equivalent API gtk_container_border_width() ==> gtk_container_set_border_width() gtk_container_children() ==> gtk_container_get_children() gtk_entry_new_with_max_length() ==> gtk_entry_new(); gtk_entry_set_max_length() gtk_menu_append() ==> gtk_menu_shell_append() gtk_menu_prepend() ==> gtk_menu_shell_prepend() gtk_notebook_set_page() ==> gtk_notebook_set_current_page() gtk_paned_gutter_size() ==> gtk_paned_set_gutter_size() gtk_radio_button_group() ==> gtk_radio_button_get_group() gtk_signal_connect() ==> g_signal_connect() gtk_signal_disconnect() ==> g_signal_handler_disconnect() gtk_signal_emit_by_name() ==> g_signal_emit_by_name() gtk_signal_handler_block_by_data() ==> g_signal_handlers_block_matched() gtk_signal_handler_block_by_func() ==> g_signal_handlers_block_by_func() gtk_signal_handler_unblock_by_data() ==> g_signal-handlers_unblock_matched() gtk_signal_handler_unblock_by_func() ==> g_signal-handlers_unblock_by_func() gtk_spin_button_get_value_as_float() ==> gtk_spin_button_get_value() gtk_toggle_button_set_state() ==> gtk_toggle_button_set_active() git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25634 f5534014-38df-0310-8fa8-9805f1628bb7
2008-05-22Move the file utility functions from wiretap to libwsutil so thatmorriss1-9/+9
libwireshark (and the plugins using those functions) do not depend on wiretap on Windows. While doing that, rename the eth_* functions to ws_*. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25354 f5534014-38df-0310-8fa8-9805f1628bb7
2008-05-06Fix some of the Errors/warnings detected by checkapi.etxrab1-7/+7
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25244 f5534014-38df-0310-8fa8-9805f1628bb7
2008-04-13sort #includes by directoriesulfl1-28/+19
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@24968 f5534014-38df-0310-8fa8-9805f1628bb7
2008-04-12where it's not necessary, remove #include "compat_macros.h"ulfl1-1/+0
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@24922 f5534014-38df-0310-8fa8-9805f1628bb7
2008-04-11last round to replace SIGNAL_CONNECT with g_signal_connectulfl1-18/+18
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@24918 f5534014-38df-0310-8fa8-9805f1628bb7
2008-04-11third round to replace SIGNAL_CONNECT with g_signal_connectulfl1-18/+18
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@24914 f5534014-38df-0310-8fa8-9805f1628bb7
2008-04-11replace WIDGET_SET_SIZE with gtk_widget_set_size_requestulfl1-12/+12
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@24910 f5534014-38df-0310-8fa8-9805f1628bb7
2008-04-11replace all appearances of BUTTON_NEW_FROM_STOCK with GTK2's ↵ulfl1-2/+2
gtk_button_new_from_stock git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@24904 f5534014-38df-0310-8fa8-9805f1628bb7
2008-04-11OBJECT_..._DATA --> g_object_..._datawmeier1-13/+13
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@24895 f5534014-38df-0310-8fa8-9805f1628bb7
2008-04-09some minor GTK1 related code fixesulfl1-2/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@24873 f5534014-38df-0310-8fa8-9805f1628bb7
2008-04-06remove GTK1 codeulfl1-166/+0
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@24820 f5534014-38df-0310-8fa8-9805f1628bb7
2007-12-05Do not redraw graph and goto frame 1 if selecting an "item" outside the liststig1-0/+1
in Graph Analysis list. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23770 f5534014-38df-0310-8fa8-9805f1628bb7
2007-12-01After taking a closer look at SVN 23089, I believe it was intended only to ↵sake1-1/+1
add the file-name to the window title and not change the rest of the name. (the graph window is both used from "Flow Graph" and from "VoIP calls") git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23695 f5534014-38df-0310-8fa8-9805f1628bb7
2007-11-30Give the flow graph window the correct title.sake1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23689 f5534014-38df-0310-8fa8-9805f1628bb7
2007-10-08VoIP Calls changes: Add the file name to the title window in VoIP calls, ↵avaquero1-1/+7
Voip graph and RTP player windows. Make the calls selection using standard multiple selection using the GTK buildin functions. Add a 'Select All' buttom to the VoIP calls window. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23089 f5534014-38df-0310-8fa8-9805f1628bb7
2007-05-30Fix bug #1530 this time for GTK1 builds.sfisher1-2/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@22009 f5534014-38df-0310-8fa8-9805f1628bb7
2007-05-30Update to revision 22000: change #if GTK_MAJOR_VERSION > 2 to >= 2sfisher1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@22001 f5534014-38df-0310-8fa8-9805f1628bb7
2007-05-30Wrap call to gtk_window_set_destroy_with_parent() within check for ↵sfisher1-0/+4
GTK_MAJOR_VERSION > 2 to get the Windows build-bot going again. This means that bug #1530 has to be reopened awaiting a fix that covers GTK1 also. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@22000 f5534014-38df-0310-8fa8-9805f1628bb7
2007-05-29Fix for bug #1530: Graph Analysis window misbehaves if Flow Window thatsfisher1-0/+8
created it is closed. The fix is to close the graph analysis window when the flow graph setup window is closed since closing the flow graph window first destroys all of the data structures. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21994 f5534014-38df-0310-8fa8-9805f1628bb7
2007-04-22Another fix to allow gtk1 to compile w/o warnings....wmeier1-1/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21512 f5534014-38df-0310-8fa8-9805f1628bb7