Commit Graph

3392 Commits

Author SHA1 Message Date
Ulf Lamping 3b7347ce43 sort entries, update Visual Studio (ghost) project
svn path=/trunk/; revision=24971
2008-04-13 11:55:20 +00:00
Jaap Keuter 8e0c81b1d3 Add IPv6 multicast support.
svn path=/trunk/; revision=24970
2008-04-13 11:42:06 +00:00
Ulf Lamping 644a474c95 sort #includes by directories
svn path=/trunk/; revision=24969
2008-04-13 03:32:24 +00:00
Ulf Lamping 8e3e8b588f sort #includes by directories
svn path=/trunk/; revision=24968
2008-04-13 01:54:20 +00:00
Ulf Lamping 0b97c4211e sort #includes by directories
svn path=/trunk/; revision=24967
2008-04-13 00:55:59 +00:00
Guy Harris 5651d3c0dd List tap_dfilter_dlg.h here, as it's in the gtk directory.
svn path=/trunk/; revision=24966
2008-04-12 23:52:41 +00:00
Ulf Lamping 1f8e6c08be various code cleanup
svn path=/trunk/; revision=24964
2008-04-12 23:34:44 +00:00
Stig Bjørlykke e9e1796aec Include string.h
svn path=/trunk/; revision=24962
2008-04-12 22:17:29 +00:00
Ulf Lamping 660cf0a0eb move "airpcap toolbar" code from main.c into new file(s) main_airpcap_toolbar
svn path=/trunk/; revision=24961
2008-04-12 22:14:42 +00:00
Ulf Lamping 419495f71d move "filter toolbar" code from main.c into new file(s) main_filter_toolbar
svn path=/trunk/; revision=24960
2008-04-12 21:44:50 +00:00
Guy Harris 21e4075535 Add a stub set_capture_if_dialog_for_capture_in_progress() routine when
HAVE_LIBPCAP isn't defined, as it's called even when it's not defined.

svn path=/trunk/; revision=24958
2008-04-12 21:30:38 +00:00
Guy Harris 94bcd2fbbd Clean up indentation.
svn path=/trunk/; revision=24957
2008-04-12 21:28:49 +00:00
Ulf Lamping d91e0e350a move tap_dfilter_dlg.h from / to /gtk (and use the callback mechanism in main.c instead)
svn path=/trunk/; revision=24956
2008-04-12 20:31:18 +00:00
Ulf Lamping e3a9b675d1 proto_draw -> main_proto_draw
svn path=/trunk/; revision=24954
2008-04-12 20:11:12 +00:00
Stig Bjørlykke 9660d9e9c2 Some packet_list.h -> main_packet_list.h changes.
svn path=/trunk/; revision=24953
2008-04-12 19:59:05 +00:00
Stig Bjørlykke 3c927a518b Reintroduced save of column width in main_packet_list.[ch],
accidentally removed in r24950.

svn path=/trunk/; revision=24952
2008-04-12 19:53:54 +00:00
Guy Harris 7e9eb5812b Clean up indentation.
svn path=/trunk/; revision=24951
2008-04-12 19:49:43 +00:00
Ulf Lamping c05af9057b rename packet_list to main_packet_list
svn path=/trunk/; revision=24950
2008-04-12 19:38:29 +00:00
Stig Bjørlykke 41e9bde037 Added an option to save column widths in the recent file.
Not 100% implemented for usage with configuration profiles with 
different column layout yet, as this requires some of the recent
values to be saved in each profile.

svn path=/trunk/; revision=24949
2008-04-12 19:37:05 +00:00
Ulf Lamping 2b19b4e07e move noinst_HEADERS and EXTRA_DIST settings from Makefile.am to Makefile.common as it's done in /Makefile.common and elsewhere
svn path=/trunk/; revision=24948
2008-04-12 19:24:25 +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 d147ebbd2e various code cleanup, e.g. replace specific callback functions by "compounds" that uses an action value
svn path=/trunk/; revision=24946
2008-04-12 18:28:01 +00:00
Ulf Lamping e08ae89241 cleanup of "capture_in_progress" ugly hack from main_toolbar, call capture_if_dlg directly from within main.c
svn path=/trunk/; revision=24943
2008-04-12 17:04:21 +00:00
Stig Bjørlykke b651a49252 Include unistd.h, fix prototyping of static functions and mark some
unused arguments.

svn path=/trunk/; revision=24941
2008-04-12 16:47:46 +00:00
Ulf Lamping 4151a40503 rename toolbar to main_toolbar
svn path=/trunk/; revision=24940
2008-04-12 16:38:13 +00:00
Stig Bjørlykke 5084e06a5c Mark some unused arguments.
svn path=/trunk/; revision=24939
2008-04-12 16:35:28 +00:00
Ulf Lamping cef9d950d7 remove unrequired "references" to gtkglobals.h
svn path=/trunk/; revision=24938
2008-04-12 16:09:22 +00:00
Ulf Lamping 72faa680b8 move statusbar related code from main.c into it's own main_statusbar.c
svn path=/trunk/; revision=24937
2008-04-12 15:55:27 +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 6f0cea7ed2 PRIMARY_TEXT_START and PRIMARY_TEXT_END are gone; use
simple_dialog_primary_start() and simple_dialog_primary_end() instead.

svn path=/trunk/; revision=24925
2008-04-12 03:02:23 +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
Ulf Lamping d4ccf577a8 where it's not necessary, remove #include "compat_macros.h"
svn path=/trunk/; revision=24922
2008-04-12 01:02:59 +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 ca0cfac28b as we no longer need to have the stock icon label strings in two places (GTK2 will take care of the stock labels once registered), move the strings into toolbar.c and remove the no longer required definitions from compat_macros.h altogether
svn path=/trunk/; revision=24920
2008-04-12 00:05:44 +00:00
Stephen Fisher 3702095876 Add a cast to fix compilation on Unix.
svn path=/trunk/; revision=24919
2008-04-11 23:46:06 +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
Ronnie Sahlberg 154e8f0892 add missing braces to unbreak the build
svn path=/trunk/; revision=24916
2008-04-11 23:12:24 +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 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 f9f87904c4 second 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=24913
2008-04-11 21:39:16 +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 1f4b5e5f07 replace SIGNAL_DISCONNECT_BY_FUNC with g_signal_handlers_disconnect_by_func
svn path=/trunk/; revision=24911
2008-04-11 20:34:30 +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 a471e1af90 replace ITEM_FACTORY_ENTRY and ITEM_FACTORY_STOCK_ENTRY with their required data values to build the menus
svn path=/trunk/; revision=24909
2008-04-11 20:21: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 004b797630 replace RADIO_BUTTON_NEW_WITH_LABEL with gtk_radio_button_new_with_label_from_widget
svn path=/trunk/; revision=24907
2008-04-11 19:11:08 +00:00
Ulf Lamping 614d40cd7d replace TOGGLE_BUTTON_NEW_WITH_MNEMONIC with gtk_toggle_button_new_with_mnemonic
svn path=/trunk/; revision=24906
2008-04-11 19:07:46 +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