Anders Broman
bbd73d2a11
Remove remaining direct access to GTK structs in Windows.
...
svn path=/trunk/; revision=38251
2011-07-29 10:11:24 +00:00
Gerald Combs
4608a76a51
Remaining GLIB_CHECK_VERSION and GTK_CHECK_VERSION in the gtk directory.
...
svn path=/trunk/; revision=37973
2011-07-11 19:10:57 +00:00
Chris Maynard
0eb0b8f1f3
Undo r37833 in favor of Sake's changes to be committed at some future date.
...
svn path=/trunk/; revision=37839
2011-06-30 01:05:49 +00:00
Chris Maynard
531a787d9c
Based on user feedback from Sharkfest '11, make the default choice when saving or printing packets apply to only displayed packets and not all packets.
...
svn path=/trunk/; revision=37833
2011-06-29 16:31:44 +00:00
Anders Broman
9f60fc7471
Handle deprecated GtkTooltips.
...
svn path=/trunk/; revision=37661
2011-06-13 15:13:39 +00:00
Sake Blok
307c0d70fb
Removal of the old packet-list in favor of the new packet list.
...
It compiles with "./configure without options" on my Mac. Let's see what the buildbots have to say about it :-)
svn path=/trunk/; revision=36161
2011-03-08 01:52:25 +00:00
Stephen Fisher
82c78778ae
More cleanup toward being able to compile with GTK+ 3.0. Mostly replacing
...
deprecated GtkToolTips with new functions.
svn path=/trunk/; revision=35966
2011-02-16 18:27:00 +00:00
Stephen Fisher
a29a04f112
Traditional GtkTooltips deprecated at GTK+ 2.14 (and removed in 3.0), so
...
use the new functions when available.
svn path=/trunk/; revision=35926
2011-02-12 00:27:47 +00:00
Stephen Fisher
049e9e39e8
Fix the rest of the include paths after the move of native win32 code to win32 and out of the gtk directory in r35032
...
svn path=/trunk/; revision=35034
2010-11-26 20:57:46 +00:00
Bill Meier
c78221d4ce
Rename g_resolv_flags --> gbl_resolv_flags; Also: cleanup some whitespace & indentation.
...
svn path=/trunk/; revision=34487
2010-10-12 13:15:08 +00:00
Guy Harris
74b7ca5802
Don't set the sensitivity of the Open button based on whether we can
...
open the currently-selected file; that button is also used to select the
file or directory typed in the location bar. This should fix bug 1791.
svn path=/trunk/; revision=32774
2010-05-12 19:44:23 +00:00
Bill Meier
dabad92be6
Fix a gcc -Wshadow warning inadvertantly introduced in SVN #32262 .
...
svn path=/trunk/; revision=32264
2010-03-22 15:18:06 +00:00
Bill Meier
245f3c1787
Rework code so File ! Merge file_type selection works and to remove use of global 'filetype'.
...
svn path=/trunk/; revision=32262
2010-03-21 19:26:32 +00:00
Bill Meier
9e89185da6
Bug Fix: File ! Save As (on *nix) causes a gtk_critical message.
...
ToDo: Fix Filetype handling for File ! Merge so it works again;
(These issues were inroduced in SVN #31950 ).
svn path=/trunk/; revision=32251
2010-03-20 20:41:50 +00:00
Bill Meier
2b3fd5ba4e
GtkOptionMenu --> GtkComboBox
...
svn path=/trunk/; revision=31950
2010-02-22 18:50:56 +00:00
Bill Meier
7b01915b6b
Fix various gcc -Wshadow warnings.
...
svn path=/trunk/; revision=31730
2010-01-29 16:13:26 +00:00
Jaap Keuter
81b585cf8e
From Valerio Messina:
...
As now, when Wireshark save capture files, it show "Loading" in status bar and
in the dialog box, warning many users of lost them packets. Saving work as expected.
Is simply a GUI use interaction problem.
svn path=/trunk/; revision=31269
2009-12-14 22:05:29 +00:00
Stig Bjørlykke
0dbfde8b6d
Removed some unused variables and unused assignments.
...
svn path=/trunk/; revision=30918
2009-11-10 12:05:25 +00:00
Stig Bjørlykke
74ffeef1e8
Removed an unneeded cast.
...
svn path=/trunk/; revision=30728
2009-10-27 09:58:57 +00:00
Stig Bjørlykke
ad6a8fbe51
Move cfselect_cb to avoid variable shadowing.
...
svn path=/trunk/; revision=30181
2009-09-28 17:44:06 +00:00
Michael Tüxen
3e74e4043d
Get it compiling with -DNEW_PACKET_LIST on Mac OS X.
...
svn path=/trunk/; revision=28929
2009-07-02 22:04:22 +00:00
Stig Bjørlykke
58eba2d80c
Added NEW_PACKET_LIST guard for new_packet_list.h
...
svn path=/trunk/; revision=28904
2009-07-01 09:05:13 +00:00
Anders Broman
ddad90c3e3
Make it possible to configure use of NEW_PACKET_LIST and fix
...
one compile error. It still fails in file.c trying to include gtk/gtk.h in new_packet_list.h
svn path=/trunk/; revision=28903
2009-07-01 08:23:32 +00:00
Stephen Fisher
e6d0686f7b
Introduce experimental new feature: GTK2 tree view based packet list
...
To use the GTK2 based packet list, define NEW_PACKET_LIST when compiling.
To do this with gcc, set the environment variable CPPFLAGS to
"-DNEW_PACKET_LIST" and re-run configure.
Many features do not yet work. This work began with prototypes by Ulf
quite a while back. I've put quite a bit of work into this so far and
as discussed with a few of the core team members at Sharkfest09 and it was
decided that it would be best to commit what I have so far to allow others to
help work on this.
svn path=/trunk/; revision=28892
2009-06-30 18:05:04 +00:00
Guy Harris
432cac16f3
"main_menu.[ch]" -> "menus.[ch]"; it handles not only the main menu, but
...
context menus.
Note why we have an empty hex dump pane context menu.
svn path=/trunk/; revision=28794
2009-06-21 19:16:37 +00:00
Bill Meier
3c13985c49
*nix color_filters import/export: fix minor bug: failure to close dialog if a file open error.
...
svn path=/trunk/; revision=28685
2009-06-10 15:48:20 +00:00
Bill Meier
a599e0f938
Fix some small memory leaks.
...
svn path=/trunk/; revision=28613
2009-06-02 20:57:57 +00:00
Guy Harris
54c159cb41
Turn on -Wshorten-64-to-32 by default, and fix some issues that turned
...
up (99 44/100% of which were assignments of double-precision
floating-point constants to floats). Hopefully this will catch at least
some P64 issues on UN*X.
svn path=/trunk/; revision=28108
2009-04-21 16:57:52 +00:00
Stig Bjørlykke
18c5caa3d4
From Jakub Zawadzki:
...
Use non-formatting functions when appropriate.
svn path=/trunk/; revision=27709
2009-03-12 07:56:42 +00:00
Bill Meier
a392d821db
Minor rewording of a few comments; fix a few typos.
...
svn path=/trunk/; revision=27151
2009-01-04 14:21:54 +00:00
Bill Meier
ea5cd2d8ff
Check for preview timeout only every 1000 frames
...
svn path=/trunk/; revision=27110
2008-12-24 14:21:03 +00:00
Stig Bjørlykke
2aebbfb9f4
Add filter autocomplete for filter in file->open and file->merge windows.
...
svn path=/trunk/; revision=26493
2008-10-19 14:12:58 +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
Jeff Morriss
c77c787122
Merge files chronologically by default which:
...
- makes (much) more sense to me
- makes the GUI's default behavior the same as mergecap's
For whatever reason the default behavior was to append the new file
/if transport resolution was enabled/ (not sure what those two things have to
do with each other).
svn path=/trunk/; revision=25947
2008-08-06 14:11:46 +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
Jeff Morriss
a5cee04fad
Move the file utility functions from wiretap to libwsutil so that
...
libwireshark (and the plugins using those functions) do not depend on
wiretap on Windows.
While doing that, rename the eth_* functions to ws_*.
svn path=/trunk/; revision=25354
2008-05-22 15:46:27 +00:00
Stephen Fisher
bbf7ec011a
Remove all GTK+ < 2.4 code and minimum version checks.
...
svn path=/trunk/; revision=25182
2008-04-27 07:01:58 +00:00
Ulf Lamping
15b3bb93df
don't mark a used parameter as unused
...
svn path=/trunk/; revision=25054
2008-04-15 20:53:41 +00:00
Ulf Lamping
6a5b1e0ec0
use the ending "_win32" for every windows specific file
...
svn path=/trunk/; revision=24972
2008-04-13 12:14:57 +00:00
Ulf Lamping
0b97c4211e
sort #includes by directories
...
svn path=/trunk/; revision=24967
2008-04-13 00:55:59 +00:00
Ulf Lamping
b51da2eb77
rename menu -> main_menu
...
remove old (and unused and confusing) ../menu.h
svn path=/trunk/; revision=24947
2008-04-12 19:18:26 +00:00
Ulf Lamping
1dbdc34841
move drag_and_drop declarations into it's own file
...
svn path=/trunk/; revision=24927
2008-04-12 09:33:59 +00:00
Guy Harris
8c3d1dd9f1
Include "stock_icons.h" to get WIRESHARK_STOCK_DISPLAY_FILTER_ENTRY.
...
svn path=/trunk/; revision=24924
2008-04-12 02:28:21 +00:00
Ulf Lamping
b4f3c5fd40
compat_macros.h is gone now!!!
...
all GTK1 compatibility code was removed, so this file can simply be dropped
svn path=/trunk/; revision=24923
2008-04-12 01:41:53 +00:00
Guy Harris
434e7709ed
Wrap the callback function pointer for g_signal_connect() in
...
G_CALLBACK(), to suppress compiler warnings (that's what the old
SIGNAL_CONNECT macro did).
svn path=/trunk/; revision=24915
2008-04-11 23:00:34 +00:00
Ulf Lamping
9af9a0e619
first round to replace SIGNAL_CONNECT with g_signal_connect
...
This requires some casts to be added and I just don't want to add casts at all possible places. So I compile and only add casts where the (MSVC) compiler has a hard time.
Unfortunately this won't find any problems in Linux/Unix only code - I'll keep an eye on the buildbot and try to fix things as I'm going on ...
svn path=/trunk/; revision=24912
2008-04-11 21:20:51 +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
1ab5a1ea4b
replace RADIO_BUTTON_NEW_WITH_MNEMONIC with gtk_radio_button_new_with_mnemonic_from_widget
...
svn path=/trunk/; revision=24908
2008-04-11 19:26:22 +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