Commit Graph

3756 Commits

Author SHA1 Message Date
Guy Harris 861f06b616 Clean up indentation.
svn path=/trunk/; revision=25404
2008-05-30 07:13:28 +00:00
Stig Bjørlykke 057522cbdc Print correct number of packets for captured "From first to last marked packet".
svn path=/trunk/; revision=25373
2008-05-23 14:51:17 +00:00
Stig Bjørlykke 3e55619b8b Attempt to fix the !win32 build.
svn path=/trunk/; revision=25372
2008-05-23 13:14:08 +00:00
Anders Broman 36d89bb79c Fix some of the Errors/warnings detected by checkapi.
svn path=/trunk/; revision=25368
2008-05-23 05:55:34 +00:00
Stephen Fisher 95caa8f19c Change references to follow TCP stream to just follow stream to reflect
the multi-purpose nature of the follow_stream.c code (you can also follow
SSL and UDP streams with it.)


svn path=/trunk/; revision=25363
2008-05-23 02:33:24 +00:00
Stephen Fisher 4b87014937 Remove backward compability code for GTK 2.2.1 and lower since we only
support GTK 2.4+ now.


svn path=/trunk/; revision=25361
2008-05-23 02:12:22 +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
Stig Bjørlykke 476fa1e315 Fixed percent sorting and export to csv after text-value switch in last commit.
svn path=/trunk/; revision=25320
2008-05-19 11:51:48 +00:00
Stig Bjørlykke 9612193cec Added check for GTK 2.6.0 for gtk_cell_render_progress_new()
Switched columns for percent text and percent value.
Fixed generated filter for BSSID and/or SSID.
Fix for merging elements with only BSSID or SSID.

svn path=/trunk/; revision=25319
2008-05-18 20:09:03 +00:00
Stig Bjørlykke cbc583a8f2 Added check for GTK 2.6.0 for gtk_cell_renderer_progress_new()
Switched columns for percent text and percent value.

svn path=/trunk/; revision=25318
2008-05-18 19:49:12 +00:00
Stig Bjørlykke 428c5e1eb8 - Rewrote to use GtkTreeView instead of GtkCList.
- Use the common function for applying a selected filter.
- Put a frame around the two tables.
- Enhanced the percent columns to show a progress bar.

svn path=/trunk/; revision=25316
2008-05-17 23:08:36 +00:00
Stig Bjørlykke c89675bf8f - Use the common function for applying a selected filter.
- Allocate data for filter string instead of using a static array.

svn path=/trunk/; revision=25315
2008-05-17 23:03:17 +00:00
Stig Bjørlykke 7da4ad0c47 - Use the common function for applying a selected filter.
svn path=/trunk/; revision=25314
2008-05-17 23:01:28 +00:00
Stig Bjørlykke 1cfa1550e1 - Don't create illegal filter from context menu.
- Use filter defines from common header file.

svn path=/trunk/; revision=25313
2008-05-17 22:59:52 +00:00
Stig Bjørlykke e396477922 - Use the common function for applying a selected filter.
- Enhanced the percent column to show a progress bar.

svn path=/trunk/; revision=25312
2008-05-17 22:57:53 +00:00
Stig Bjørlykke a392e8e88c Added a common function to apply a selected filter according to
values from a context menu.

svn path=/trunk/; revision=25311
2008-05-17 22:54:29 +00:00
Stig Bjørlykke 4af0ec58ef Force foreground when background is forced on welcome page.
svn path=/trunk/; revision=25301
2008-05-14 10:56:31 +00:00
Tomas Kukosa 5f4f0df387 From Alejandro Vaquero:
Added a new checkbox for the RTP player to use the RTP timing instead of the
arriving time of the packets. This is useful when the RTP is being tunneled
(e.g. EtherIP), so the original timing is missing.
In some cases when encapsulating the original IP/RTP over EtherIP, the
encapsulated data comes in chunks of 1sec, so it is useful to use the RTP
timing to play it. In these cases we can not simulate jitter buffer, so this is
disabled when checking the new "Use RTP timestamp" option.

svn path=/trunk/; revision=25293
2008-05-14 06:22:07 +00:00
Tomas Kukosa a1d164a5da Update to Portaudio pa_stable_v19_20071207
svn path=/trunk/; revision=25285
2008-05-13 07:39:23 +00:00
Stig Bjørlykke 355dfa770d Added an option to limit the list to match the current display filter.
svn path=/trunk/; revision=25281
2008-05-12 22:45:08 +00:00
Bill Meier fe5c2d9820 g_string_sprintf --> g_string_printf and g_string_sprintfa --> g_string_append_printf
svn path=/trunk/; revision=25276
2008-05-11 18:33:49 +00:00
Stig Bjørlykke 319f71c537 Sort list before thaw to avoid flicker when doing capture.
Save pane size in recent.

svn path=/trunk/; revision=25275
2008-05-11 18:03:22 +00:00
Anders Broman 1cc7c72db6 Fix some of the Errors/warnings detected by checkapi.
svn path=/trunk/; revision=25261
2008-05-09 11:59:44 +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
Stig Bjørlykke f51d73bb5d Handle SSID as binary in WLAN Traffic Statistics.
svn path=/trunk/; revision=25237
2008-05-05 19:35:16 +00:00
Stig Bjørlykke 95a44fe52a Remove gtk/isprint.h as it's not in use.
svn path=/trunk/; revision=25234
2008-05-05 18:37:20 +00:00
Stig Bjørlykke b77e2466b8 Improved the WLAN Traffic Statistics:
- Added details for each network
- Added context menu for adding a filter
- Keep the selected network when capturing
- Show probe requests with broadcast ssid
- Print '.' for non-printable characters in ssid

svn path=/trunk/; revision=25226
2008-05-04 22:37:05 +00:00
Stig Bjørlykke 32a4a97c92 Corrected some unused arguments in case someone starts using them,
or just copy the code.

svn path=/trunk/; revision=25225
2008-05-04 22:29:41 +00:00
Jaap Keuter 2b04d42e4b From Shinsuke SUZUKI:
Since this leads to a compilation failure (Warning C4819: unexpected character
in the current code page) on non-european Windows, I'd like you to avoid using
non-ASCII characters in Wireshark code (even in comment).

svn path=/trunk/; revision=25214
2008-05-02 08:23:21 +00:00
Stig Bjørlykke b6de8df503 Force foreground when background is forced in RTP analysis and VOIP calls.
svn path=/trunk/; revision=25212
2008-05-01 18:26:01 +00:00
Stig Bjørlykke 0a4ab4b039 Force foreground when background is forced in expert info dialogs.
svn path=/trunk/; revision=25211
2008-05-01 18:03:46 +00:00
Stig Bjørlykke edfab8e2aa While playing with a dark theme I found it much nicer to use the
selected background color from the packet list.

svn path=/trunk/; revision=25209
2008-05-01 17:46:03 +00:00
Stig Bjørlykke dd553f1906 From Frederic Peters (bug 1735):
Force foreground when background is forced.

From me:
Do the same for expert info's.

svn path=/trunk/; revision=25207
2008-05-01 11:02:14 +00:00
Guy Harris b35278d5d4 ...but not with a comment inside a comment, as that might cause a
warning.

svn path=/trunk/; revision=25206
2008-05-01 07:21:15 +00:00
Guy Harris 2adb021211 Get rid of C++/C99 comment.
svn path=/trunk/; revision=25205
2008-05-01 07:18:58 +00:00
Stephen Fisher dc262064c3 Change an option menu (deprecated in GTK+ 2.4) to a combo box (GTK+ 2.4+).
svn path=/trunk/; revision=25199
2008-04-29 19:14:44 +00:00
Stephen Fisher f07c708a51 Replace an option menu (deprecated as of GTK+ 2.4) with a combo box
(GTK+ 2.4+). 


svn path=/trunk/; revision=25198
2008-04-29 18:46:10 +00:00
Stig Bjørlykke d123a61162 Added flag i new recent file to determine where to get values now
moved to recent_common.  This will convert old recent file to new.

svn path=/trunk/; revision=25188
2008-04-28 13:27:25 +00:00
Stig Bjørlykke 8824568b72 Reopen the recent file when reading older common settings.
This will be optimized later.

svn path=/trunk/; revision=25187
2008-04-28 13:00:49 +00:00
Stig Bjørlykke 4674b866bc Split the recent file in two, one for the configuration profile
and one common for all profiles.  

svn path=/trunk/; revision=25186
2008-04-28 12:35:03 +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
Stig Bjørlykke a63ad85c78 Changed to display NCP connection, as in conversations.
svn path=/trunk/; revision=25181
2008-04-25 19:42:27 +00:00
Jaap Keuter cef88c913d From Jim Young:
Small patch to gtk/expert_dlg.c to test for the existance of the etd->label
before use.  This patch stops GTK assertion on Linux.

svn path=/trunk/; revision=25160
2008-04-23 23:12:18 +00:00
Martin Mathieson 1ad98b5c11 Rename "Taps/Statistics" preference group to be simply "Statistics".
"Tap" is a term likely only to be known to developers, and
"Statistics" matches the Menu item under which all of the affected
windows are launched.

svn path=/trunk/; revision=25151
2008-04-23 16:49:34 +00:00
Stig Bjørlykke 0b2837f362 From Chris:
Correct some typos.

svn path=/trunk/; revision=25145
2008-04-22 05:27:28 +00:00
Martin Mathieson e158960f5a Rename prefs_rtp_player files to prefs_taps.
(see rev 25133)

svn path=/trunk/; revision=25143
2008-04-21 21:56:45 +00:00
Martin Mathieson d4dca0d94b Allow configuration of tap update interval.
- rename rtp_player config group to taps/statistics
- will rename prefs_rtp_player files later
  (svn didn't seem keen to rename with changes present,
   and output says its just a copy/delete anyway...)

svn path=/trunk/; revision=25133
2008-04-21 10:57:32 +00:00
Ulf Lamping 92a132d4f4 fix build on GTK 2.0/2.2 and some other code cleanup
svn path=/trunk/; revision=25130
2008-04-21 01:49:53 +00:00
Ulf Lamping 277d241fac remove no longer required parameters from toolbar_item() macro
svn path=/trunk/; revision=25129
2008-04-21 00:54:46 +00:00
Guy Harris 7c60e055c7 Add GTK_SIGNAL_FUNC() casts for GTK+ 2.[0-2] code.
svn path=/trunk/; revision=25128
2008-04-20 23:42:21 +00:00
Ulf Lamping da44c1d084 bugs happen, if you're trying to do two things at once ;-)
svn path=/trunk/; revision=25122
2008-04-19 22:50:14 +00:00
Ulf Lamping be2ddd2fd5 HAVE_LUA_5_1 is no longer required for the Tools menu
svn path=/trunk/; revision=25121
2008-04-19 19:40:05 +00:00
Ulf Lamping a7e8d7f743 I'v fixed the bug reported by Stig that no items appear and also ..
from Jim Young:
The attached patch simply tests for a non-NULL 
welcome_file_panel_vb before attempting to get the 
child_list.

svn path=/trunk/; revision=25120
2008-04-19 18:39:58 +00:00
Ulf Lamping 86ee4fc3fc add a way to place the capture interfaces and recent files list into a scrolled_window once the number of them get's "too large"
svn path=/trunk/; revision=25119
2008-04-19 13:33:42 +00:00
Stig Bjørlykke b205017b3e Display the interface comment if defined.
On non-win32 also display the interface name.

svn path=/trunk/; revision=25114
2008-04-18 14:29:54 +00:00
Jeff Morriss 2f78f0145d filename2uri() doesn't modify its parameter (and in at least one place we hand it a const argument) so make the parameter const. Also move the function up in the file (before its first use).
svn path=/trunk/; revision=25113
2008-04-18 12:47:05 +00:00
Jeff Morriss 7ca7f149ce Change an assignment-in-an-if to a comparison.
svn path=/trunk/; revision=25112
2008-04-18 12:42:27 +00:00
Gerald Combs 15d0f668cf Minor banner tweaks.
svn path=/trunk/; revision=25109
2008-04-17 23:59:56 +00:00
Stig Bjørlykke a4f76f95a0 Added an option to display hidden protocol items.
svn path=/trunk/; revision=25108
2008-04-17 23:14:01 +00:00
Ulf Lamping b11501c457 as the welcome page seems generally accepted, remove #ifdef SHOW_WELCOME_PAGE around it
svn path=/trunk/; revision=25107
2008-04-17 22:11:21 +00:00
Bill Meier 7e9b56cbeb On Windows: filemanager_open_directory: ensure a trailing '\' on path to ShellExecute;
svn path=/trunk/; revision=25105
2008-04-17 20:00:26 +00:00
Guy Harris 1bf91a279c In filemanager_open_directory(), if we're not on Windows or OS X and
don't have xdg-open, convert the pathname to a URI and hand it to the
browser.

svn path=/trunk/; revision=25104
2008-04-17 19:37:40 +00:00
Guy Harris 572efdc1c4 Use the "explore" verb when opening directories; that doesn't fix the case
where there's an openable file and a directory with the same pathname
except for the extension, but at least it prevents us from trying to open
the file.

svn path=/trunk/; revision=25103
2008-04-17 18:40:45 +00:00
Guy Harris 2172b8dfb1 Sigh. g_spawn_async() should take a "const gchar **" argument for argv,
as it shouldn't be modifying the strings, but it's "gchar **", so we
can't make argv an array of "const gchar *" - which means that you can't
put a "{g}char *" into it without a cast.

Clean up white space.

svn path=/trunk/; revision=25100
2008-04-17 16:53:41 +00:00
Bill Meier 9f35411f35 Infos --> Information
svn path=/trunk/; revision=25099
2008-04-17 16:24:55 +00:00
Guy Harris b2f4f0a228 If we have xdg-open, define HAVE_XDG_OPEN.
Add a routine "filemanager_open_directory()", which takes a pathname
(presumed to be UTF-8 in Windows and Mac OS X; this might need work for
other UN*Xes) and attempts to open a file manager window for it, using
ShellExecute on Windows, Launch Services on OS X, and, for now, running
xdg-open on other OSes if we have it (should we have a preference for
the file manaager, just as we have one for the Web browser?).

(For that matter, if we have xdg-open, do we need a preference for the
Web browser, or should we just have xdg-open open the Web browser?)

svn path=/trunk/; revision=25097
2008-04-17 16:14:22 +00:00
Ulf Lamping d570c787cc set_sensitive(FALSE) for recent files that are currently not available
svn path=/trunk/; revision=25095
2008-04-17 08:53:09 +00:00
Ulf Lamping 51baf7769a cut filenames in the middle (not just at the start) and add tooltips for it
svn path=/trunk/; revision=25093
2008-04-17 04:05:14 +00:00
Ulf Lamping ebe83ebcb3 add tooltips for the welcome page buttons
svn path=/trunk/; revision=25092
2008-04-17 03:24:24 +00:00
Guy Harris cc1da67ca7 A GtkImage doesn't take any input, so it doesn't support the "clicked"
signal.

Fix the description for the "Interface List" welcome button.

svn path=/trunk/; revision=25091
2008-04-17 03:06:22 +00:00
Guy Harris 22ae89d766 colors_init() doesn't have anything to do with packet coloring, it's
just our initialization routine for low-level GTK+ stuff, such as
getting the system colormap and the "black" and "white" colors; we have
to call it before calling get_color().

svn path=/trunk/; revision=25090
2008-04-17 02:55:29 +00:00
Guy Harris 1b4b6462e8 Put a space between the number of bytes (for a file < 1024 bytes) and
"Bytes".

"Interface description" vs. "interface name" isn't Windows vs. UN*X,
it's "has a description" vs. "doesn't have a description" - the lack of
descriptions in UN*X is a result of

	1) lack of a mechanism to supply descriptions in some UN*Xes

and

	2) lack of code in libpcap to get those descriptions in some
	   other UN*Xes

and I need to work on fixing 2) (I think it can be dredged out of
FreeBSD 6 and 7, I seem to remember current OpenBSD supplying them, and
for OS X we might as well cheat the way the network preference pane does
and just call en0 the main Ethernet and en1 the AirPort interface).

Use an adverb rather than an adjective to modify a noun, as per Chris
Maynard's suggestion.

svn path=/trunk/; revision=25089
2008-04-17 02:38:21 +00:00
Guy Harris 04daff59de Oh, what the heck, go for it - do the size calculations in 64 bits, just
in case a file has more than 2^32 megabytes of data :-); we already
require 64-bit support for calculations and formatting.

svn path=/trunk/; revision=25088
2008-04-17 02:29:43 +00:00
Ulf Lamping fe630dbde0 ... bring into alphabetical order
svn path=/trunk/; revision=25087
2008-04-17 02:17:55 +00:00
Ulf Lamping 85e14ceb86 rename REGISTER_xxx_GROUP_NONE to REGISTER_xxx_GROUP_UNSORTED, as NONE seems a bit misleading
svn path=/trunk/; revision=25086
2008-04-17 02:16:39 +00:00
Stephen Fisher 3ad27f2ff8 Mark a paramter as unused
svn path=/trunk/; revision=25085
2008-04-17 02:08:23 +00:00
Ulf Lamping 061df434cb try to fix the buildbot
svn path=/trunk/; revision=25083
2008-04-17 01:13:06 +00:00
Ulf Lamping 8a6bd7e262 enable welcome page
add file size of recent files
tweak colors
code cleanup

svn path=/trunk/; revision=25082
2008-04-17 00:31:38 +00:00
Stig Bjørlykke f79f9c8504 Added missing comment closing.
svn path=/trunk/; revision=25078
2008-04-16 11:55:23 +00:00
Ulf Lamping 63acc87cf2 ups, missed one
svn path=/trunk/; revision=25077
2008-04-16 10:00:19 +00:00
Ulf Lamping ed7018b6e4 flip the import and export button "sequence", that the import button comes first. So we have the same sequence as the usual open/save menu.
svn path=/trunk/; revision=25076
2008-04-16 09:57:21 +00:00
Ulf Lamping be75f6fa16 remove the copied xpm stock icon files from SVN and use the "GTK built in" stock icons
this will also prevent us from showing different stock icons for "our" xpm stock icons and the "system defaults". GTK (for Windows?) changed the icon theme somewhere around V2.10 (or later?) and/or the user might use a different icon theme, so this isn't an esoteric case ;-)

svn path=/trunk/; revision=25075
2008-04-16 09:54:55 +00:00
Ulf Lamping f3a40604dc use a GTK_STOCK_CLEAR here
svn path=/trunk/; revision=25073
2008-04-16 08:54:50 +00:00
Ulf Lamping 45d5280ff1 add "Save As" and "Save All" buttons to the dialog / stock_icons utils
use them in the export object dialog

svn path=/trunk/; revision=25072
2008-04-16 08:47:12 +00:00
Ulf Lamping a18fefb91f a better spacing between the help and copy buttons
svn path=/trunk/; revision=25071
2008-04-16 08:06:55 +00:00
Ulf Lamping 0f34f9fd6a don't use a Close button for the preparation dialog, use a Cancel one instead
svn path=/trunk/; revision=25065
2008-04-16 00:46:16 +00:00
Ulf Lamping 80abf46094 fix button sequence, show filter... button left to Cancel button
svn path=/trunk/; revision=25064
2008-04-16 00:45:23 +00:00
Ulf Lamping ac1dbb7c85 add #include <sys/types.h>
svn path=/trunk/; revision=25063
2008-04-16 00:17:51 +00:00
Ulf Lamping 4be30a0240 special handling for the dialog boxes Copy buttons, as the behaviour is more like an auxiliary button (like Help), than one of the "action" buttons as "Ok" (as e.g. Ok will close the dialog).
To make this more clear put the Copy button to the left of the button row ...

svn path=/trunk/; revision=25062
2008-04-16 00:14:01 +00:00
Ulf Lamping 2e125b32e2 use the standard dialog button mechanism for the firewall dialog
svn path=/trunk/; revision=25061
2008-04-16 00:10:47 +00:00
Ulf Lamping 8642844fef add the firewall ACL dialog to the help topics (would be a good idea to better describe that dialog anyway...)
svn path=/trunk/; revision=25060
2008-04-16 00:09:15 +00:00
Ulf Lamping 769bd28a5d use the "Clear" icon for the "Continue without saving" action, as the icon metapher seem to fit well here
svn path=/trunk/; revision=25059
2008-04-15 23:33:39 +00:00
Ulf Lamping 5a8e585962 further work on the yet to come welcome page ...
svn path=/trunk/; revision=25057
2008-04-15 22:46:35 +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 7a8c589d32 don't use strdup() if you want to free the memory later with g_free(), this doesn't work (at least) on MSVC2005 builds!
svn path=/trunk/; revision=25037
2008-04-15 02:21:04 +00:00
Ulf Lamping 08db55300c further improve the welcome page, still incomplete so still "commented out"
svn path=/trunk/; revision=25036
2008-04-15 02:14:22 +00:00
Ulf Lamping d064016e66 add some more "links" to online pages
svn path=/trunk/; revision=25035
2008-04-15 02:10:41 +00:00
Ulf Lamping bfa3cad089 try to improve the help menu
svn path=/trunk/; revision=25034
2008-04-15 02:06:38 +00:00
Stig Bjørlykke e1aebe1cb6 get_profile_name() will always return a valid string.
svn path=/trunk/; revision=25017
2008-04-14 15:20:12 +00:00
Sake Blok a287b0f3f5 From Jim Young (bug 2212):
Add the profile name to the title of all the configuration windows.
(this is a rewrite of Jim's patch)


svn path=/trunk/; revision=25016
2008-04-14 15:01:34 +00:00
Ulf Lamping e7fde0351e add stock icons for expert info and flow graph
svn path=/trunk/; revision=25012
2008-04-14 02:09:54 +00:00
Michael Tüxen bf8f1e2faa #ifdef HAVE_LUA_5_1 the handling of REGISTER_TOOLS_GROUP_NONE
svn path=/trunk/; revision=25011
2008-04-14 01:51:15 +00:00
Ulf Lamping 3e2fcbfe6c be clear that the "multicast stream" stats are about UDP
svn path=/trunk/; revision=25008
2008-04-14 01:10:06 +00:00
Ulf Lamping 6de61b65f3 as the "Firewall ACL rules" perfectly fits into a tools menu, and together with the optional lua we have two and as it slightly simplifies the code, make the
Tools

toplevel menu item "permanent".

svn path=/trunk/; revision=25007
2008-04-14 00:10:18 +00:00
Ulf Lamping 7f1db1edd0 at least use the "open" (and not the save) icon for import
svn path=/trunk/; revision=25006
2008-04-13 23:57:14 +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
Stig Bjørlykke 50f4da953e Fix splitting MIB/PIB paths in about box for other than win32.
svn path=/trunk/; revision=25004
2008-04-13 22:21:07 +00:00
Michael Tüxen f1fedb6b73 Get it compiing on Mac OS X.
svn path=/trunk/; revision=24999
2008-04-13 20:11:16 +00:00
Graeme Lunt 39ab6c51c0 Allow the folders in the About Wireshark/Folders list to be double clicked on to open the appropriate folder in explorer.
The MIB/PIB paths have been split up to allow each one to be clicked on separately, but as a result this will lose the order if the whole list is reordered.

XXX: I have been unable to test this on MacOS or Linux. Stig? :-)
I suppose it should work, but we may need to make it WIN32 specific?


svn path=/trunk/; revision=24995
2008-04-13 17:48:47 +00:00
Ulf Lamping 4322cd8eaa it's color_utils.h
svn path=/trunk/; revision=24977
2008-04-13 13:47:52 +00:00
Ulf Lamping 6fd6381ab3 change all preferences related filenames from xy_prefs to prefs_xy
svn path=/trunk/; revision=24975
2008-04-13 13:10:32 +00:00
Ulf Lamping 38c4ebeb4a move all code from color.c into color_utils.c
remove color.c
rename colors.h into color_utils.h (hopefully this reduces confusion to /color.h)

svn path=/trunk/; revision=24974
2008-04-13 12:41:22 +00:00
Ulf Lamping ce552a159e text_page -> text_page_utils
svn path=/trunk/; revision=24973
2008-04-13 12:24:57 +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 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
Ulf Lamping 3c6c0cf220 at least remove the "done" parts from this old file
svn path=/trunk/; revision=24903
2008-04-11 18:56:25 +00:00
Ulf Lamping 5d2e42d044 explain, why we should keep PRIMARY_TEXT_START/PRIMARY_TEXT_END
svn path=/trunk/; revision=24902
2008-04-11 18:46:37 +00:00
Bill Meier c5cb800c5d Clean up a few references to OBJECT_[GS]_DATA macros
svn path=/trunk/; revision=24901
2008-04-11 17:58:27 +00:00
Bill Meier 5c9415462b OBJECT_[GS]ET_DATA macros not needed since GTK1 no longer supported
All usage of these macros has been replaced by g_object_[gs]et_data().

svn path=/trunk/; revision=24900
2008-04-11 17:57:20 +00:00
Bill Meier ab9c1b68fd OBJECT_..._DATA --> g_object_..._data
svn path=/trunk/; revision=24899
2008-04-11 17:26:09 +00:00
Bill Meier 0502078a1b OBJECT_..._DATA --> g_object_..._data
svn path=/trunk/; revision=24898
2008-04-11 17:14:11 +00:00
Bill Meier 77b615b79f OBJECT_..._DATA --> g_object_..._data
svn path=/trunk/; revision=24896
2008-04-11 16:55:44 +00:00
Bill Meier 74e1c12021 OBJECT_..._DATA --> g_object_..._data
svn path=/trunk/; revision=24895
2008-04-11 16:44:31 +00:00
Bill Meier 10f2ea11d5 OBECT_..._DATA --> g_object_..._data
svn path=/trunk/; revision=24894
2008-04-11 16:26:32 +00:00
Bill Meier 42acebd42c OBECT_..._DATA --> g_object_..._data
svn path=/trunk/; revision=24893
2008-04-11 16:04:54 +00:00
Bill Meier b5309506a4 OBECT_..._DATA --> g_object_..._data
svn path=/trunk/; revision=24892
2008-04-11 15:41:51 +00:00
Bill Meier 538b1be897 OBJECT_..._DATA --> g_object_..._data
svn path=/trunk/; revision=24891
2008-04-11 15:23:26 +00:00
Stephen Fisher 16e54385b3 Replace SIGNAL_EMIT_BY_NAME(), SIGNAL_EMIT_OBJECT() and
SIGNAL_EMIT_STOP_BY_NAME() macros with their actual function names.


svn path=/trunk/; revision=24890
2008-04-11 05:03:33 +00:00
Stephen Fisher b010ad9411 Replace FONT_TYPE macro with PangoFontDescription.
svn path=/trunk/; revision=24889
2008-04-11 04:52:36 +00:00
Stephen Fisher 464efd95fa Replace all instances of the SIGNAL_CONNECT_OBJECT() macro with the actual
function name.


svn path=/trunk/; revision=24888
2008-04-11 04:45:00 +00:00
Ulf Lamping d470674329 some minor GTK1 related code fixes
svn path=/trunk/; revision=24873
2008-04-09 23:06:01 +00:00
Anders Broman 458e8e6f7f Get the Windows build going again(?).
svn path=/trunk/; revision=24869
2008-04-09 20:55:33 +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
Stephen Fisher e462fe69d5 Remove an unused function that is causing a warning/error on Unix
svn path=/trunk/; revision=24864
2008-04-09 06:09:07 +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
Stephen Fisher 41654fe5e4 Start getting rid of the uses of compat_macro.h's macros.
svn path=/trunk/; revision=24860
2008-04-09 05:37:53 +00:00
Ulf Lamping e01e158045 remove GTK1 code
svn path=/trunk/; revision=24857
2008-04-09 05:01:03 +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 578c25b88f provide gtk_tree_view_expand_to_path only for exactly GTK2.0, avoid problems with GTK 3.0 later
svn path=/trunk/; revision=24841
2008-04-08 03:53:29 +00:00
Jaap Keuter 629a815a8b Fix for bug 2414:
- Do not compare to the possibly resolved address, but the address itself
- Do not leak memory when comparing addresses

svn path=/trunk/; revision=24837
2008-04-07 21:17:08 +00:00
Michael Tüxen 52518e3e9e Cleanup whitespaces.
svn path=/trunk/; revision=24831
2008-04-07 05:53:02 +00:00
Stephen Fisher 726a1caaf1 - Remove GLIB1 code
- Change ugly GLIB version checking statements to GLIB_CHECK_VERSION
- Remove ws_strsplit files because we no longer need to borrow GLIB2's
  g_strsplit code for the no longer supported GLIB1 builds


svn path=/trunk/; revision=24829
2008-04-07 05:22:54 +00:00
Stephen Fisher 13802b1d84 Remove GTK1 code.
svn path=/trunk/; revision=24827
2008-04-07 04:34:54 +00:00
Stephen Fisher a398bebdaf Remove GTK1 code and change ugly version checking statements into
GTK_CHECK_VERSION().


svn path=/trunk/; revision=24826
2008-04-07 03:46:01 +00:00
Ulf Lamping 0a381cca29 try to fix #if !GTK_CHECK_VERSION
svn path=/trunk/; revision=24825
2008-04-07 01:14:00 +00:00
Ulf Lamping 49ad47d477 remove GTK1 code
svn path=/trunk/; revision=24824
2008-04-07 01:05:55 +00:00
Ulf Lamping 3b7fe5fc6c remove GTK1 code
svn path=/trunk/; revision=24823
2008-04-07 00:42:04 +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 242e3b78bc remove GTK1 code
svn path=/trunk/; revision=24821
2008-04-06 23:57:02 +00:00
Ulf Lamping da80212715 remove GTK1 code
svn path=/trunk/; revision=24820
2008-04-06 23:49:02 +00:00
Ulf Lamping 006e02358a replace confusing #if checking for GTK2.4.0 (the GTK version when gtk_file_chooser was "invented") by #if GTK_CHECK_VERSION(2,4,0)
svn path=/trunk/; revision=24819
2008-04-06 23:37:52 +00:00
Ulf Lamping 63307ccc99 remove GTK1 code
svn path=/trunk/; revision=24818
2008-04-06 23:36:29 +00:00
Ulf Lamping cf431ac2ee replace confusing #if checking for GTK2.4.0 (the GTK version when gtk_file_chooser was "invented") by #if GTK_CHECK_VERSION(2,4,0)
svn path=/trunk/; revision=24817
2008-04-06 23:34:05 +00:00
Ulf Lamping 0e701b77ae remove GTK1 code
svn path=/trunk/; revision=24816
2008-04-06 23:20:23 +00:00
Ulf Lamping 70595a85f4 remove GTK1 code
svn path=/trunk/; revision=24815
2008-04-06 23:02:27 +00:00
Ulf Lamping 1c5f3ae4b9 remove GTK1 code
svn path=/trunk/; revision=24814
2008-04-06 22:54:37 +00:00
Ulf Lamping 74ea542da0 remove GTK1 code
svn path=/trunk/; revision=24813
2008-04-06 22:50:12 +00:00
Ulf Lamping 2ddd2d6b6e remove GTK1 code
svn path=/trunk/; revision=24812
2008-04-06 22:44:20 +00:00
Ulf Lamping 2db60e3b7e replace confusing #if checking for GTK2.4.0 (the GTK version when gtk_file_chooser was "invented") by #if GTK_CHECK_VERSION(2,4,0)
svn path=/trunk/; revision=24811
2008-04-06 22:36:23 +00:00
Ulf Lamping 6bd3a882ee remove GTK1 code
svn path=/trunk/; revision=24810
2008-04-06 22:25:36 +00:00
Ulf Lamping 2f39b20003 remove GTK1 code
svn path=/trunk/; revision=24809
2008-04-06 22:16:04 +00:00
Ulf Lamping 19fa41724f add expert_comp_dlg.h to the distributed files
svn path=/trunk/; revision=24808
2008-04-06 22:07:21 +00:00
Ulf Lamping 476113a643 remove GTK1 code
svn path=/trunk/; revision=24807
2008-04-06 22:04:43 +00:00
Stig Bjørlykke 1924255bbd Removed some GTK1 code.
svn path=/trunk/; revision=24805
2008-04-06 21:45:04 +00:00
Ulf Lamping fbd8124387 remove GTK1 related stuff from the file header comment
svn path=/trunk/; revision=24801
2008-04-06 16:23:05 +00:00
Ulf Lamping 6634af3022 try to fix the OSX buildbot
svn path=/trunk/; revision=24800
2008-04-06 02:28:36 +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
Stephen Fisher 2000fa9fcf Remove more GTK1 code and related xpm files.
svn path=/trunk/; revision=24795
2008-04-05 19:23:07 +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 054b263486 add HAVE_LIBPCAP to IntelliSense settings
svn path=/trunk/; revision=24791
2008-04-05 15:05:29 +00:00
Ulf Lamping 40f0277d5a add "recently" added files
svn path=/trunk/; revision=24789
2008-04-05 09:32:30 +00:00
Ulf Lamping 01dcf4b3c6 remove GTK1 stuff
svn path=/trunk/; revision=24788
2008-04-05 09:31:49 +00:00
Stephen Fisher fdfbcf1422 Remove GTK1 references and code (other than our packet list clist).
svn path=/trunk/; revision=24783
2008-04-05 05:39:07 +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
Stephen Fisher ae48504af2 Remove GTK1 code.
svn path=/trunk/; revision=24776
2008-04-05 00:12:04 +00:00
Stephen Fisher f3c333e5b9 Remove GTK1 from Unix build process.
svn path=/trunk/; revision=24775
2008-04-04 23:37:31 +00:00
Ulf Lamping d476d3fa4b set SVN properties
svn path=/trunk/; revision=24774
2008-04-04 23:16:07 +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
Luis Ontanon 906d2f3cbb http://www.wireshark.org/lists/wireshark-dev/200803/msg00308.html
proto.[hc]
    define new APIs to allow delayed registration of protocol fields,
	so that dissectors with "flexible" fields  like xml, radius, diameter,
	snmp do not have to load their files at startup but can do so as late as possible.

gtk/dfilter_expr_dlg.c :
	have the expression dialog registering all prefixes so that all fileds appear in the dialog

tshark.c
	register all prefixes when called with -G

epan/radius_dict.l
epan/dissectors/packet-radius.c
epan/dissectors/packet-radius.h
	refactor registration to delay dictionary loading as long as possible



svn path=/trunk/; revision=24762
2008-04-03 22:13:52 +00:00
Ulf Lamping 0e1dae9f67 remove no longer existing follow_dlg.h
svn path=/trunk/; revision=24755
2008-03-29 17:50:32 +00:00
Stephen Fisher 9dc1d5b9a7 Fix bug #2286: Folow TCP stream window [needs line wrapping turned back on]
wrapped lines


svn path=/trunk/; revision=24742
2008-03-28 04:42:29 +00:00
Gerald Combs 2f4830393c Add tooltips for the filter button and text entry in the open and merge
dialogs.

svn path=/trunk/; revision=24735
2008-03-27 17:26:59 +00:00
Gerald Combs 35a5e1d68b Change the "Filter:" button in the Win32 open and merge dialogs to a
"Display filter" label.

svn path=/trunk/; revision=24734
2008-03-27 17:21:48 +00:00
Stephen Fisher 8d95969dba Remove unterminated comment to fix compile
svn path=/trunk/; revision=24733
2008-03-26 23:08:58 +00:00
Gerald Combs 71b562a850 Make the default save format "Raw". Make it easy to change the default
format.

svn path=/trunk/; revision=24732
2008-03-26 22:33:56 +00:00
Stephen Fisher c4571a6ad5 Fix bug #1212: Follow SSL/UDP Stream gets direction wrong ...
svn path=/trunk/; revision=24715
2008-03-22 05:50:19 +00:00
Stephen Fisher 76c84e35c3 Finish fixing bug #1138: Follow TCP Streams gets stream direction wrong ...
svn path=/trunk/; revision=24687
2008-03-18 05:01:18 +00:00
Stephen Fisher 5f0021ccba Fix bug #1143 - Can't read packet details....bad color scheme forced
Change the code so we don't force a white background in the protocol tree
area, instead just unset it so it goes back to its natural background.  This
matters with color schemes that have a black background.


svn path=/trunk/; revision=24625
2008-03-14 06:15:06 +00:00
Gerald Combs f8e75ecd32 Make the SMI preference a little more verbose. In the COPS and SNMP
preferences, tell the user where they can change the SMI settings. In
the 802.11 preferences, fix a tooltip.

svn path=/trunk/; revision=24620
2008-03-13 22:17:11 +00:00
Stephen Fisher 4718890a3c Fix a minor memory leak.
svn path=/trunk/; revision=24616
2008-03-13 06:25:53 +00:00
Stig Bjørlykke fa2033ab8b Fixed server and client packet count in C Array variables in
Follow TCP/UDP/SSL Stream.  This error was introduced when merging
duplicate code between TCP & SSL stream functions, r22869.

svn path=/trunk/; revision=24610
2008-03-12 08:50:09 +00:00
Stig Bjørlykke ba7cbb5aa9 From Nathan Jennings (bug 2350):
Highlight the selected interface in the edit interfaces list.

svn path=/trunk/; revision=24609
2008-03-12 07:16:25 +00:00
Stig Bjørlykke cf3a5d8d55 Fix some texts in the file types list.
svn path=/trunk/; revision=24608
2008-03-11 22:50:17 +00:00
Stig Bjørlykke 1aa356313e Disable the "Packet Format" when save as "C Arrays".
svn path=/trunk/; revision=24607
2008-03-11 21:06:56 +00:00
Stig Bjørlykke d0a04bd7df Added "C Arrays" to list of file types to export.
svn path=/trunk/; revision=24606
2008-03-11 19:35:53 +00:00
Stig Bjørlykke 5800abad46 From Francesco Fondelli (bug 2349):
Attached is a patch to export packets data as "C Arrays".  I often have
the need to [re]send data captured with wireshark using a raw/pf_packet socket.
Output format is one char[] per packet, it looks like almost the same as
the one produced by "Follow TCP stream".

svn path=/trunk/; revision=24604
2008-03-11 18:23:16 +00:00
Stig Bjørlykke 11eda6b97b Add check for gtk 2.4 when calling gtk_tree_view_column_set_expand.
svn path=/trunk/; revision=24603
2008-03-11 17:27:41 +00:00
Stig Bjørlykke 0e761b5839 Free another allocated string.
svn path=/trunk/; revision=24577
2008-03-06 18:26:09 +00:00
Bill Meier 80b754bb01 Fix some typos; Fix some indenting to be at least locally consistent
svn path=/trunk/; revision=24575
2008-03-06 15:51:44 +00:00
Stig Bjørlykke 1e6d34261d get_persconffile_path() return malloc'd memory,
free it when we're done with the file name.

svn path=/trunk/; revision=24558
2008-03-04 22:02:24 +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
Michael Tüxen 5ccc995362 Include strutil.h to find g_strlcpy and g_strlcat in gtk-1.2 builds.
svn path=/trunk/; revision=24512
2008-03-01 09:05:40 +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
Jeff Morriss 61caa0b5b9 Include strutil.h so we find g_strlcat() in gtk-1.2 builds
svn path=/trunk/; revision=24510
2008-03-01 02:33:38 +00:00
Stig Bjørlykke b5886343ea Save correct gui.time_format for "seconds since previous displayed packet"
and "seconds since epoch".

This fixes bug 2315.

svn path=/trunk/; revision=24508
2008-02-29 20:11:29 +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
Stig Bjørlykke b3e2991f19 Corrected right-justification of custom boolean and framenum columns.
svn path=/trunk/; revision=24453
2008-02-24 15:31:29 +00:00
Stig Bjørlykke 29bd9c96ae Sort custom columns according to field type.
(absolute time and 64bit values not yet correct)

Right-justify numeric custom columns.

svn path=/trunk/; revision=24452
2008-02-24 12:37:37 +00:00
Stig Bjørlykke 5ff0326b90 Moved init of custom_field.
Cleanup some GTK1/GTK2 code.

svn path=/trunk/; revision=24448
2008-02-23 21:26:07 +00:00
Stig Bjørlykke ae42e39556 Fixed a check for custom column.
svn path=/trunk/; revision=24442
2008-02-23 10:14:43 +00:00
Stephen Fisher 5399d02752 Add filter syntax check to custom column filter field. This will allow
filter expressions such as filter == value, which won't work as a custom
column.  We may need to modify its behavior to prevent entire expressions
from being entered.  For the time being though, it does check the filter
syntax itself as well.


svn path=/trunk/; revision=24441
2008-02-23 01:15:14 +00:00
Stig Bjørlykke 51b26f95f3 Improved custom columns with custom title.
Fixed a crash when adding an empty custom field.

svn path=/trunk/; revision=24438
2008-02-22 22:47:19 +00:00
Ulf Lamping d41b403367 add rawshark.html to packaging and Wireshark help menu
svn path=/trunk/; revision=24431
2008-02-22 20:38:50 +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
Stephen Fisher 470000e6c1 Use default numeric/text sort for custom columns also.
svn path=/trunk/; revision=24414
2008-02-22 01:26:26 +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
Stephen Fisher ed3a633dd5 Fix some formatting
svn path=/trunk/; revision=24399
2008-02-20 05:47:39 +00:00
Gerald Combs 3df577499f Switch to the "oooh shiny" splash image.
svn path=/trunk/; revision=24393
2008-02-19 18:06:57 +00:00
Bill Meier 5b8da491d7 Add $Id$
svn path=/trunk/; revision=24382
2008-02-18 22:39:03 +00:00
Stig Bjørlykke fd9486cea6 Added help button in expert info and expert info composite dialogs.
svn path=/trunk/; revision=24374
2008-02-17 21:22:00 +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
Bill Meier 16032ced67 Remove redundant (repeated) "PortAudio" from "About Wireshark" screen.
svn path=/trunk/; revision=24372
2008-02-17 16:26:06 +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 43272f9435 Added an option to Conversations and Endpoints to limit the list to match
the current display filter.

Some Hosts -> Endpoints cleanup.

svn path=/trunk/; revision=24368
2008-02-17 00:35:55 +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 ba11df88da Added option to turn off name resolution.
Added help button (documentation TBD).

svn path=/trunk/; revision=24329
2008-02-14 09:33:57 +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
Stig Bjørlykke 5df0b2fe77 Do not update window title when destroying the dialog.
svn path=/trunk/; revision=24314
2008-02-13 00:31:54 +00:00
Stig Bjørlykke f410d0b781 Fixed an incorrect free loop.
svn path=/trunk/; revision=24311
2008-02-12 15:18:01 +00:00
Stig Bjørlykke a356f552b4 Added WLAN Traffic Statistics dialog.
svn path=/trunk/; revision=24310
2008-02-12 14:17:18 +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
Stig Bjørlykke 56b0985653 Fixed setting filter in SCTP Chunk Counter statistics.
Fixed setting filter in NCP Endpoints.
Corrected $Id$ in hostlist_ncp.c

svn path=/trunk/; revision=24300
2008-02-11 13:15:48 +00:00
Stig Bjørlykke 89693ff729 Avoid double space in filter when creating from conversations and endpoints.
svn path=/trunk/; revision=24299
2008-02-11 11:06:35 +00:00
Stephen Fisher aa3c4cafbc Fix for bug #2250
svn path=/trunk/; revision=24294
2008-02-09 01:09:05 +00:00
Stig Bjørlykke 59a76191b4 Added SCTP Endpoints table.
Display port number in SCTP Conversations table.
Get correct display filter from SCTP Conversations.
Arrange Conversations and Endpoints tabs alphabetically.

svn path=/trunk/; revision=24291
2008-02-08 12:33:26 +00:00
Stig Bjørlykke 42fe2398b9 Added missing "svn:keywords Id" and "svn:eol-style native" for some
c and h files.

svn path=/trunk/; revision=24290
2008-02-08 09:45:36 +00:00
Stig Bjørlykke ad5e6ad06b Removed some more "statement not reached" warnings.
svn path=/trunk/; revision=24283
2008-02-07 12:52:08 +00:00
Stig Bjørlykke a60079bd1e Improved the profile name check to popup a dialog when trying to apply an
invalid profile name.

svn path=/trunk/; revision=24268
2008-02-04 15:50:17 +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
Sake Blok c8276a5c91 From Balint Reczey (bug 2233):
The attached patch makes the Statistics -> RTP -> Show All Streams feature of
wireshark accessible via tshark.

I found it helpful in dealing with tons of RTP captures.


svn path=/trunk/; revision=24252
2008-02-03 10:31:55 +00:00
Stig Bjørlykke de3c7e9a0b Disallow ending space was not such a good idea, chop it of before save instead.
Also disallow '/' in profilename for !win32. 

svn path=/trunk/; revision=24243
2008-02-01 18:42:59 +00:00
Stig Bjørlykke 4c2f3b0644 Fixed a problem with renaming a profile after hitting apply.
Profile name cannot start or end with space, and on win32 it cannot contain
any of this characters: \ / : * ? " < > |
Added a tooltip to the profile name text box.

svn path=/trunk/; revision=24242
2008-02-01 16:49:34 +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