Chris Maynard
1e2ae5a88a
Quote all fields when exporting to CSV. Fixes bug 2811.
...
svn path=/trunk/; revision=34920
2010-11-17 03:29:12 +00:00
Stig Bjørlykke
e111567e7e
Calculate correct io->start_time.
...
This fixes bug 5340.
svn path=/trunk/; revision=34661
2010-10-27 07:45:31 +00:00
Jeff Morriss
b4c2ed1b86
Remove some unnecessary includes: a lot of things don't need globals.h and register.h
...
svn path=/trunk/; revision=34017
2010-08-30 16:10:01 +00:00
Bill Meier
9451aa90a7
(Trivial/Cosmetic) Fix signatures of some signal callback functions;
...
Also:Add some missing G_CALLBACKs (even in commented out code)
svn path=/trunk/; revision=33890
2010-08-23 15:58:48 +00:00
Bill Meier
fac1cfc492
Various minor cleanup:
...
- Non-event signal callback functions should return void;
- Event signal callback had missing 'user_data' arg;
- Rename various symbols for clarity;
- Rename local functions with names of form gtk_...;
- Use gboolean where appropriate;
- Remove all 'exit(10)' statements;
- Whitespace;
- ...
svn path=/trunk/; revision=33843
2010-08-18 22:20:01 +00:00
Stig Bjørlykke
f4418004f6
Bring back "1 min" and "10 min" in IO Graph Tick interval.
...
svn path=/trunk/; revision=32733
2010-05-10 10:48:45 +00:00
Bill Meier
7397bb0a74
Fix various gcc -Wshadow warnings.
...
svn path=/trunk/; revision=31737
2010-01-29 23:17:32 +00:00
Stig Bjørlykke
4fe10501d2
Use correct default value in tick interval combo box.
...
svn path=/trunk/; revision=30729
2009-10-27 13:59:05 +00:00
Anders Broman
c6620d7770
More gtk_option_menu -> gtk_combo_box
...
svn path=/trunk/; revision=30570
2009-10-16 10:32:06 +00:00
Anders Broman
fa3b06e9de
Get rid of deprecated symblol gtk_widget_draw().
...
svn path=/trunk/; revision=30305
2009-10-04 15:49:52 +00:00
Bill Meier
a15bb4beb9
Add #include <stdio.h> in a few more places ....
...
svn path=/trunk/; revision=29578
2009-08-27 04:47:28 +00:00
Anders Broman
135ca5136f
Change window_new() to dlg_window_new() and destroy the window with the top level window.
...
svn path=/trunk/; revision=28796
2009-06-21 20:42:07 +00:00
Guy Harris
cf91fdf16b
Have tap listeners specify whether the "packet" routine requires
...
a protocol tree;
the column values.
This includes stats-tree listeners.
Have the routines to build the packet list, and to retap packets, honor
those requirements. This means that cf_retap_packets() no longer needs
an argument to specify whether to construct the column values or not, so
get rid of that argument.
This also means that there's no need for a tap to have a fake filter
to ensure that the protocol tree will be built, so don't set up a fake
"frame" filter.
While we're at it, clean up some cases where "no filter" was represented
as a null string rather than a null pointer.
Have a routine to return an indication of the number of tap listeners
with filters; use that rather than the global num_tap_filters.
Clean up some indentation and some gboolean vs. gint items.
svn path=/trunk/; revision=28645
2009-06-05 22:42:47 +00:00
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