Stig Bjørlykke
62f60df6b4
From Jakub Zawadzki (bug 3331):
...
g_free() is NULL safe, so we don't need check against it.
svn path=/trunk/; revision=27718
2009-03-13 22:06:48 +00:00
Bill Meier
6fee0f704e
Fix some typos and spelling
...
svn path=/trunk/; revision=27070
2008-12-20 01:39:16 +00:00
Stig Bjørlykke
4a9957df9e
Fill the scrollbar when the graph is empty.
...
svn path=/trunk/; revision=26790
2008-11-16 14:41:35 +00:00
Stig Bjørlykke
c8d3fe7cbe
Remove a misplaced comment...
...
svn path=/trunk/; revision=26492
2008-10-19 14:07:00 +00:00
Stig Bjørlykke
381285f61c
Add filter autocomplete for more places we use filter entries.
...
svn path=/trunk/; revision=26491
2008-10-19 13:40:52 +00:00
Stig Bjørlykke
b19ba53f35
Bring the windows to front when rescanning of packets are done.
...
svn path=/trunk/; revision=26433
2008-10-13 17:28:36 +00:00
Stig Bjørlykke
828f6baa42
Ensure we initialize all colorized filter text entries before we show the
...
widget, so we don't get wrong foreground color when using a dark theme.
svn path=/trunk/; revision=26414
2008-10-11 14:32:46 +00:00
Stig Bjørlykke
6b0c906c19
Added check for a valid field name in the advanced field.
...
svn path=/trunk/; revision=26407
2008-10-10 17:10:15 +00:00
Balint Reczey
172d8448e8
temporary fix for return type warning
...
svn path=/trunk/; revision=26404
2008-10-10 16:29:09 +00:00
Balint Reczey
feed6d124f
fixed conversion warning
...
svn path=/trunk/; revision=26403
2008-10-10 16:06:04 +00:00
Balint Reczey
8ae1ce5822
support float and double values in IO Graph calculations
...
svn path=/trunk/; revision=26400
2008-10-10 15:18:37 +00:00
Jeff Morriss
dd6a15e1c7
Don't put (non-extern'd) prototypes for protect_thread_critical_region() and
...
unprotect_thread_critical_region() in every module in gtk/: instead have those
modules include main.h (which has the properly extern'd prototype).
This should fix the link error on HP-UX described in
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2702
svn path=/trunk/; revision=25933
2008-08-05 17:33:14 +00:00
Bill Meier
56206e0002
Fix some simple cases of GTK2 deprecated API usage by using a renamed or 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()
svn path=/trunk/; revision=25634
2008-06-29 15:51:43 +00:00
Stig Bjørlykke
860028c634
Removed the usage of topic_available() as we now have all topics.
...
svn path=/trunk/; revision=25505
2008-06-21 13:36:31 +00:00
Anders Broman
b6454e76ac
Fix some of the Errors/warnings detected by checkapi.
...
svn path=/trunk/; revision=25244
2008-05-06 05:50:31 +00:00
Ulf Lamping
5f96c98776
add the (optional) possibility to register a stock icon for a stats menu entry
...
svn path=/trunk/; revision=25005
2008-04-13 23:55:32 +00:00
Ulf Lamping
644a474c95
sort #includes by directories
...
svn path=/trunk/; revision=24969
2008-04-13 03:32:24 +00:00
Ulf Lamping
55c2be83db
move stock icon code from toolbar.c into specific stock_icons file(s)
...
svn path=/trunk/; revision=24921
2008-04-12 00:49:20 +00:00
Ulf Lamping
8e58ec7085
last round to replace SIGNAL_CONNECT with g_signal_connect
...
svn path=/trunk/; revision=24918
2008-04-11 23:16:06 +00:00
Ulf Lamping
736cada149
third round to replace SIGNAL_CONNECT with g_signal_connect
...
svn path=/trunk/; revision=24914
2008-04-11 22:10:36 +00:00
Ulf Lamping
c6d13dc2c8
replace WIDGET_SET_SIZE with gtk_widget_set_size_request
...
svn path=/trunk/; revision=24910
2008-04-11 20:31:05 +00:00
Ulf Lamping
4de04eae27
replace CHECK_BUTTON_NEW_WITH_MNEMONIC with gtk_check_button_new_with_mnemonic
...
svn path=/trunk/; revision=24905
2008-04-11 19:04:34 +00:00
Ulf Lamping
ae5f841083
replace all appearances of BUTTON_NEW_FROM_STOCK with GTK2's gtk_button_new_from_stock
...
svn path=/trunk/; revision=24904
2008-04-11 18:58:19 +00:00
Bill Meier
10f2ea11d5
OBECT_..._DATA --> g_object_..._data
...
svn path=/trunk/; revision=24894
2008-04-11 16:26:32 +00:00
Stig Bjørlykke
1924255bbd
Removed some GTK1 code.
...
svn path=/trunk/; revision=24805
2008-04-06 21:45:04 +00:00
Michael Tüxen
4306c7037d
Include epan/strutil.h for gtk-1.2 builds.
...
svn path=/trunk/; revision=24513
2008-03-01 10:23:57 +00:00
Stig Bjørlykke
7deec480ff
Next attempt to cleanup some string functions, including:
...
strncpy -> g_strlcpy, strncat -> g_strlcat
svn path=/trunk/; revision=24504
2008-02-29 13:33:37 +00:00
Bill Meier
4f82d2a007
Fix two compilation errors
...
svn path=/trunk/; revision=24405
2008-02-21 02:10:05 +00:00
Stig Bjørlykke
9f522c8eaf
Added logarithmic y axis scale option.
...
svn path=/trunk/; revision=24402
2008-02-20 17:53:31 +00:00
Stig Bjørlykke
1c3c9d7828
When resize the IO Graphs window expand the filter field and advanced
...
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-17 18:37:56 +00:00
Stig Bjørlykke
c9f7367658
Simplified printing of x-axis values so we get a consistent view even if
...
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-17 14:27:52 +00:00
Stig Bjørlykke
f8a07f7eff
Added check for idx in get_frame_num().
...
svn path=/trunk/; revision=24364
2008-02-16 19:57:37 +00:00
Stig Bjørlykke
7af630f136
Corrected previous cast.
...
svn path=/trunk/; revision=24361
2008-02-16 17:19:09 +00:00
Stig Bjørlykke
c1f721e423
Cast a double to guint32.
...
svn path=/trunk/; revision=24359
2008-02-16 17:00:08 +00:00
Stig Bjørlykke
11de0a827d
Click in the IO Graph to select the first package in the selected interval.
...
Click button 3 to select the last package.
svn path=/trunk/; revision=24358
2008-02-16 16:40:36 +00:00
Stig Bjørlykke
10a8f59e03
Rewrote some prohibited APIs in gtk/ (sprintf, strcpy, strcat).
...
If we get some truncated strings we probably overwrote some buffers...
svn path=/trunk/; revision=24239
2008-02-01 01:07:58 +00:00
Stig Bjørlykke
7ec0e26318
When having more than one matching item in a frame the MAX and MIN calculation
...
could return an invalid value. Also fixed AVG calculation.
svn path=/trunk/; revision=24220
2008-01-29 14:27:02 +00:00
Stig Bjørlykke
3278775634
When having more than one matching item in a frame the AVG calculation
...
did not return a correct value.
svn path=/trunk/; revision=24210
2008-01-27 18:19:40 +00:00
Stig Bjørlykke
edf727387f
Fixed crash when save IO Graphs (bug 2126).
...
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-20 16:53:53 +00:00
Stig Bjørlykke
27db1b2798
Added "copy as CSV" button to IO Graphs.
...
svn path=/trunk/; revision=24143
2008-01-20 12:24:14 +00:00
Stig Bjørlykke
56bf2afc04
Never print x axis values outside the graph (we now have "view as time of day").
...
Fixed calculating first_interval (the scrollbar issue in bug 1763).
svn path=/trunk/; revision=23989
2008-01-03 01:17:47 +00:00
Stig Bjørlykke
ddac83a322
Initialize io->view_as_time.
...
svn path=/trunk/; revision=23988
2008-01-02 20:09:20 +00:00
Stig Bjørlykke
cb1448416f
Fix a cut'n'paste error for GTK_VERSION < 2 in last commit.
...
Fixed some indentation.
svn path=/trunk/; revision=23975
2007-12-29 23:20:14 +00:00
Stig Bjørlykke
1776029a7c
Add an option to view the X axis as time of day instead of seconds since
...
start of capture.
svn path=/trunk/; revision=23974
2007-12-29 20:57:15 +00:00
Stig Bjørlykke
69be72052c
Add a warning in the IO Graph if too many elements.
...
svn path=/trunk/; revision=23973
2007-12-29 20:53:10 +00:00
Stig Bjørlykke
74c6f15a03
Do not use calc_field unless in advanced y axis (bug 1763).
...
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-12 09:31:02 +00:00
Stig Bjørlykke
1b7aed33ca
- Added three more y axis scale values to be able to draw time values
...
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-04 01:28:38 +00:00
Stig Bjørlykke
b20e64d4f9
Simplified y-positions for FBAR and DOT to ensure out-of-graph values are
...
drawn as they should be. I hope this is the last fix this time...
svn path=/trunk/; revision=23729
2007-12-04 00:36:39 +00:00
Stig Bjørlykke
96586ead65
Use same notation for all y axis time labels, so we don't end up having one
...
in seconds, one in milliseconds and one in microseconds.
svn path=/trunk/; revision=23722
2007-12-03 22:11:06 +00:00
Guy Harris
ae459b483f
Parenthesize the operand of the cast, to make it clearer that we're
...
casting the result of the entire computation.
svn path=/trunk/; revision=23714
2007-12-03 21:35:54 +00:00