aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/io_stat.c
AgeCommit message (Collapse)AuthorFilesLines
2008-05-06Fix some of the Errors/warnings detected by checkapi.Anders Broman1-2/+2
svn path=/trunk/; revision=25244
2008-04-13add the (optional) possibility to register a stock icon for a stats menu entryUlf Lamping1-1/+2
svn path=/trunk/; revision=25005
2008-04-13sort #includes by directoriesUlf Lamping1-13/+15
svn path=/trunk/; revision=24969
2008-04-12move stock icon code from toolbar.c into specific stock_icons file(s)Ulf Lamping1-1/+1
svn path=/trunk/; revision=24921
2008-04-11last round to replace SIGNAL_CONNECT with g_signal_connectUlf Lamping1-22/+22
svn path=/trunk/; revision=24918
2008-04-11third round to replace SIGNAL_CONNECT with g_signal_connectUlf Lamping1-22/+22
svn path=/trunk/; revision=24914
2008-04-11replace WIDGET_SET_SIZE with gtk_widget_set_size_requestUlf Lamping1-1/+1
svn path=/trunk/; revision=24910
2008-04-11replace CHECK_BUTTON_NEW_WITH_MNEMONIC with gtk_check_button_new_with_mnemonicUlf Lamping1-1/+1
svn path=/trunk/; revision=24905
2008-04-11replace all appearances of BUTTON_NEW_FROM_STOCK with GTK2's ↵Ulf Lamping1-1/+1
gtk_button_new_from_stock svn path=/trunk/; revision=24904
2008-04-11OBECT_..._DATA --> g_object_..._dataBill Meier1-23/+23
svn path=/trunk/; revision=24894
2008-04-06Removed some GTK1 code.Stig Bjørlykke1-102/+6
svn path=/trunk/; revision=24805
2008-03-01Include epan/strutil.h for gtk-1.2 builds.Michael Tüxen1-0/+1
svn path=/trunk/; revision=24513
2008-02-29Next attempt to cleanup some string functions, including:Stig Bjørlykke1-5/+4
strncpy -> g_strlcpy, strncat -> g_strlcat svn path=/trunk/; revision=24504
2008-02-21Fix two compilation errorsBill Meier1-2/+2
svn path=/trunk/; revision=24405
2008-02-20Added logarithmic y axis scale option.Stig Bjørlykke1-28/+99
svn path=/trunk/; revision=24402
2008-02-17When resize the IO Graphs window expand the filter field and advancedStig Bjørlykke1-5/+5
calc field instead of the space between "Style:" and the style boxes, and the X/Y Axis labels and corresponding boxes. svn path=/trunk/; revision=24373
2008-02-17Simplified printing of x-axis values so we get a consistent view even if Stig Bjørlykke1-23/+11
resizing the window. Also draw a 8 pixel x-axis line between the x-axis labels to make it easier to determine midway. svn path=/trunk/; revision=24370
2008-02-16Added check for idx in get_frame_num().Stig Bjørlykke1-1/+5
svn path=/trunk/; revision=24364
2008-02-16Corrected previous cast.Stig Bjørlykke1-1/+1
svn path=/trunk/; revision=24361
2008-02-16Cast a double to guint32.Stig Bjørlykke1-1/+1
svn path=/trunk/; revision=24359
2008-02-16Click in the IO Graph to select the first package in the selected interval.Stig Bjørlykke1-15/+103
Click button 3 to select the last package. svn path=/trunk/; revision=24358
2008-02-01Rewrote some prohibited APIs in gtk/ (sprintf, strcpy, strcat).Stig Bjørlykke1-2/+2
If we get some truncated strings we probably overwrote some buffers... svn path=/trunk/; revision=24239
2008-01-29When having more than one matching item in a frame the MAX and MIN calculationStig Bjørlykke1-18/+20
could return an invalid value. Also fixed AVG calculation. svn path=/trunk/; revision=24220
2008-01-27When having more than one matching item in a frame the AVG calculationStig Bjørlykke1-5/+7
did not return a correct value. svn path=/trunk/; revision=24210
2008-01-20Fixed crash when save IO Graphs (bug 2126).Stig Bjørlykke1-1/+2
The problem was that configure_event() is called each time the window size changes, and each time the pixmap buffer is recreated and a new signal added to the save button. svn path=/trunk/; revision=24145
2008-01-20Added "copy as CSV" button to IO Graphs.Stig Bjørlykke1-32/+100
svn path=/trunk/; revision=24143
2008-01-03Never print x axis values outside the graph (we now have "view as time of day").Stig Bjørlykke1-10/+16
Fixed calculating first_interval (the scrollbar issue in bug 1763). svn path=/trunk/; revision=23989
2008-01-02Initialize io->view_as_time.Stig Bjørlykke1-1/+2
svn path=/trunk/; revision=23988
2007-12-29Fix a cut'n'paste error for GTK_VERSION < 2 in last commit.Stig Bjørlykke1-25/+25
Fixed some indentation. svn path=/trunk/; revision=23975
2007-12-29Add an option to view the X axis as time of day instead of seconds since Stig Bjørlykke1-13/+70
start of capture. svn path=/trunk/; revision=23974
2007-12-29Add a warning in the IO Graph if too many elements.Stig Bjørlykke1-4/+25
svn path=/trunk/; revision=23973
2007-12-12Do not use calc_field unless in advanced y axis (bug 1763).Stig Bjørlykke1-14/+18
Register new tap listener (new filter) when going from advanced y axis. Add parantheses to the filters to ensure they are correct when concatenated. svn path=/trunk/; revision=23844
2007-12-04- Added three more y axis scale values to be able to draw time valuesStig Bjørlykke1-53/+5
up to 2000 seconds (maximum when using guint32). - Combined some common code to draw the y axis values. svn path=/trunk/; revision=23732
2007-12-04Simplified y-positions for FBAR and DOT to ensure out-of-graph values areStig Bjørlykke1-3/+3
drawn as they should be. I hope this is the last fix this time... svn path=/trunk/; revision=23729
2007-12-03Use same notation for all y axis time labels, so we don't end up having oneStig Bjørlykke1-9/+9
in seconds, one in milliseconds and one in microseconds. svn path=/trunk/; revision=23722
2007-12-03Parenthesize the operand of the cast, to make it clearer that we'reGuy Harris1-1/+1
casting the result of the entire computation. svn path=/trunk/; revision=23714
2007-12-03Add another cast.Anders Broman1-1/+1
svn path=/trunk/; revision=23712
2007-12-03Add some casts to get the windows compiler happy.Stig Bjørlykke1-4/+4
svn path=/trunk/; revision=23711
2007-12-03Added two more y axis scale values to be able to draw time values up toStig Bjørlykke1-2/+2
200 seconds. svn path=/trunk/; revision=23710
2007-12-03Ensure we don't wrap the values when calculating advanced time values.Stig Bjørlykke1-2/+2
With default window size the limit for this wrap is ~27 seconds when having 0-50 seconds on the y axis, and decreases greatly on higher window size. svn path=/trunk/; revision=23708
2007-09-26- Added Tick interval 1 min and 10 min.Stig Bjørlykke1-19/+25
- Draw an empty graph if no items in given tick interval. - Initialize interval_delta so we don't get overlaping x-scale labels. - Some whitespace cleanup. svn path=/trunk/; revision=22992
2007-08-26Added "Dot" as new style in IO Graph.Stig Bjørlykke1-2/+13
svn path=/trunk/; revision=22666
2007-08-25Cast as (gfloat)Anders Broman1-1/+1
io->scrollbar_adjustment->value=(gfloat)first_interval; svn path=/trunk/; revision=22653
2007-08-24The code for resizing the scrollbar page_size was a bit strange and didStig Bjørlykke1-6/+2
some strange justifications when having high "tick values" in the graph. Simplified this to fix a problem with scrolling to X Axis zero and a problem with interval values printed in the wrong time position. svn path=/trunk/; revision=22645
2007-08-24Print the first interval in the graph.Stig Bjørlykke1-14/+21
Print zero label string in the X Axis (not centered). Always start the graph with the first interval, not at zero x value. svn path=/trunk/; revision=22644
2007-08-23Fixed drawing of X Axis decimal values: "0. 50" -> "0.050"Stig Bjørlykke1-2/+2
svn path=/trunk/; revision=22610
2007-06-23Updates to initial check-in of pixmap saving feature:Stephen Fisher1-6/+6
- Bump minimum GTK version from 2.4 to 2.6 in code and users manual - Free some strings after we're done with them svn path=/trunk/; revision=22170
2007-06-22Fix enhancement bug #1337: Export IO GraphsStephen Fisher1-1/+29
This new code adds a save button to the Statistics IO Graphs window and is also reusable by any other code that uses GDK Pixmaps to draw graphs. The Gdk-pixbuf library included in GTK is used for this save function. svn path=/trunk/; revision=22166
2007-05-29From David Howells :Sebastien Tandel1-5/+5
Fix compilation failures when building wireshark-0.99.6-SVN-21916 on an x86_64-unknown-linux-gnu target with gcc version 4.1.2 20070403 (Red Hat 4.1.2-8). The failures fall into two categories: (1) Casts between pointers and 32-bit integers without an intermediary cast via 'long' or 'unsigned long'. This results in a compiler warning complaining about casts between a pointer and an integer of a different size. (2) Passing values to "%lld" or similar printf-style format options that the compiler thinks are a different size. Such values need to be cast to 'long long' or 'unsigned long long'. svn path=/trunk/; revision=21975
2007-03-24Remove all warnings under Unix for the gtk/ directory.Stephen Fisher1-1/+1
svn path=/trunk/; revision=21160