Commit Graph

810 Commits

Author SHA1 Message Date
Ulf Lamping 1f8e6c08be various code cleanup
svn path=/trunk/; revision=24964
2008-04-12 23:34:44 +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
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
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 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 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
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 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
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 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 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 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 b5309506a4 OBECT_..._DATA --> g_object_..._data
svn path=/trunk/; revision=24892
2008-04-11 15:41:51 +00:00
Anders Broman c973aa3830 Remove:
#ifdef NEED_G_ASCII_STRCASECMP_H
#include "g_ascii_strcasecmp.h"
#endif

svn path=/trunk/; revision=24868
2008-04-09 19:39:58 +00:00
Ulf Lamping b6c168413f fix some GTK1 related comments
svn path=/trunk/; revision=24862
2008-04-09 05:54:09 +00:00
Ulf Lamping 4214543e5a fix a comment typo
svn path=/trunk/; revision=24861
2008-04-09 05:43:07 +00:00
Ulf Lamping df724f83cd remove GTK1 specific font handling
svn path=/trunk/; revision=24842
2008-04-08 04:47:32 +00:00
Ulf Lamping c857a03907 replace confusing #if checking for GlIB2.6.0 by #if GLIB_CHECK_VERSION(2,6,0)
svn path=/trunk/; revision=24822
2008-04-07 00:29:43 +00:00
Ulf Lamping 263396db2f fix compilation without HAVE_AIRPCAP
svn path=/trunk/; revision=24799
2008-04-05 23:55:35 +00:00
Ulf Lamping a171ea4769 click on the "expert info" indicator opens the corresponding dialog
svn path=/trunk/; revision=24798
2008-04-05 23:16:59 +00:00
Ulf Lamping 165e1a5dc7 update expert info LED also while doing live capturing
svn path=/trunk/; revision=24793
2008-04-05 15:20:20 +00:00
Ulf Lamping 01dcf4b3c6 remove GTK1 stuff
svn path=/trunk/; revision=24788
2008-04-05 09:31:49 +00:00
Ulf Lamping 0ee0f3ac43 add an "LED" to the statusbar, that indicates the most important level of expert info in the capture file
svn path=/trunk/; revision=24777
2008-04-05 00:13:27 +00:00
Ulf Lamping 792d18eaee carve out the (currently disabled) welcome page into it's own file to slightly reduce the huge main.c file size
svn path=/trunk/; revision=24773
2008-04-04 23:14:27 +00:00
Stig Bjørlykke 0e761b5839 Free another allocated string.
svn path=/trunk/; revision=24577
2008-03-06 18:26:09 +00:00
Stephen Fisher 56226b49b8 Custom column updates:
- Change apply / prepare / ... as filter to use the field's value, which
   is now stored in fdata as well as cinfo.  Now we don't have to reprocess
   the entire packet list when using these features.  This also prevents
   the use of these features from overwriting custom column information.
   (custom columns can now be used in apply / prepare ... as filter)
 - Break col_expr and col_expr_val out into a struct that is included not only
   in cinfo, but now also fdata.
 - Have col_custom_set_fstr() quote FT_STRING & FT_STRINGZ when storing the
   col_expr_val value (for filter creation).


svn path=/trunk/; revision=24511
2008-03-01 05:16:45 +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 b56def1506 Fix compile errors if 'configure ... --without-pcap'
svn path=/trunk/; revision=24416
2008-02-22 04:56:26 +00:00
Bill Meier 16032ced67 Remove redundant (repeated) "PortAudio" from "About Wireshark" screen.
svn path=/trunk/; revision=24372
2008-02-17 16:26:06 +00:00
Gerald Combs 269b0d0474 Add a priority level to each context in the info status bar. Use it to make
sure we don't overwrite filter status messages during live captures.

When "!=" is used in a display filter, point the user to the User's Guide.

svn path=/trunk/; revision=24315
2008-02-13 01:18:40 +00:00
Gerald Combs 556d14a8bf Wireshark occasionally starts up behind other applications. Bring it to the
front.

svn path=/trunk/; revision=24304
2008-02-11 19:20:10 +00:00
Bill Meier 3d02aa4c1f Clean up (some) indentation ...
svn path=/trunk/; revision=24266
2008-02-04 00:21:20 +00:00
Bill Meier ccabb036ec Fix benign typo
svn path=/trunk/; revision=24265
2008-02-04 00:11:59 +00:00
Stig Bjørlykke fe98fab03c Added tooltip description for yellow filter background.
svn path=/trunk/; revision=24241
2008-02-01 10:02:19 +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
Gerald Combs 9703c2bb75 If "!=" or "ne" are used in a display filter, warn the user that the results
may be unexpected.

svn path=/trunk/; revision=24232
2008-01-31 19:50:38 +00:00
Stig Bjørlykke 869213d9ef Added missing space in front of some statusbar messages.
svn path=/trunk/; revision=24226
2008-01-30 15:16:21 +00:00
Stig Bjørlykke 45572b611c Do not change profile if directory creation failed, and change to default
profile if existing profile was deleted.

svn path=/trunk/; revision=24208
2008-01-27 14:45:31 +00:00
Bill Meier e923010814 Fix various small memory leaks & 1 invalid g_free (airpcap_gui_utils.c)
svn path=/trunk/; revision=24185
2008-01-24 22:26:05 +00:00
Jeff Morriss 75849c12f1 s/%ll/%" G_GINT64_MODIFIER "/g
svn path=/trunk/; revision=24181
2008-01-24 21:57:13 +00:00
Stig Bjørlykke 6a31f43f8b Always return a valid profile name from get_profile_name().
svn path=/trunk/; revision=24175
2008-01-24 17:06:22 +00:00
Bill Meier dc0b8a0727 One of fixes in SVN #24173 incomplete; Undo it for now
svn path=/trunk/; revision=24174
2008-01-24 05:39:48 +00:00
Bill Meier b01c07bcdd Fix two very minor memory leaks
svn path=/trunk/; revision=24173
2008-01-24 04:20:07 +00:00