Commit Graph

3888 Commits

Author SHA1 Message Date
Stig Bjørlykke 6c068534c2 Improved filter autocompletion when having one exact match to be more
like other autocompletion implementations.
Check for case match before removing a popup with one entry.

svn path=/trunk/; revision=26768
2008-11-13 12:59:31 +00:00
Stig Bjørlykke f9c07203cb Still support GTK 2.4.0. No separator in combo box for GTK 2.4.0 :(
svn path=/trunk/; revision=26748
2008-11-11 12:46:16 +00:00
Stig Bjørlykke 053dd12cbd Rewrote interface type option_menu to gtk_combo_box, this fixes the bug
showing the correct type on connect failure or cancel in the remote
interface dialog.

Added list of recent remote hosts to interface type combo box.
Save the recent remote hosts in the recent file.
Fixed some indents.

svn path=/trunk/; revision=26747
2008-11-11 11:37:53 +00:00
Tomas Kukosa 608e51ef4c explicit cast to avoid warning which stops Windows build
svn path=/trunk/; revision=26737
2008-11-10 13:22:18 +00:00
Guy Harris aa81efc51c Use the standard I/O routines to write out audio files, rather than
doing 1-byte, 2-byte, and 4-byte read() and write() calls.

svn path=/trunk/; revision=26735
2008-11-08 23:36:12 +00:00
Anders Broman 04f9b031ef From Pascal Quantin:
Add 3GPP 44.018 RR Short Protocol Discriminator dissection.

svn path=/trunk/; revision=26730
2008-11-07 17:37:22 +00:00
Stig Bjørlykke 0132b9a092 Save the remote interfaces list to be able to show the remote IP addresses
without fetching a new list each time the interface changes.

Catch the "activate" signal on the text boxes in the remote interfaces dialog.

svn path=/trunk/; revision=26727
2008-11-07 15:52:14 +00:00
Stig Bjørlykke 7d8a21da5a Initialize the interface type value key to fix updating the local interface
list when changing from remote to local interfaces.

svn path=/trunk/; revision=26720
2008-11-06 22:36:43 +00:00
Anders Broman e95a3f43c8 From Pascal Quantin:
Add 3GPP Special Conformance Testing Procedures to GSM statistics

svn path=/trunk/; revision=26716
2008-11-06 21:49:21 +00:00
Stig Bjørlykke 2e3656d31a Fixed a check button text.
svn path=/trunk/; revision=26709
2008-11-06 15:33:44 +00:00
Stig Bjørlykke 2207381990 Changes in the "Capture Options" window:
- Moved all RPCAP settings to a "Remote Settings" dialog
- Rearranged "Buffer size" and "Wireless Settings" on win32
- Fall back to local interfaces when error listing remote interfaces
- Fixed setting correct sampling type when reopening the capture dialog
- Aligned some widgets in the "Capture Options" frame 
- Added some tooltips

svn path=/trunk/; revision=26687
2008-11-04 18:50:34 +00:00
Stig Bjørlykke 32d411be1d Do not set buffer size for remote interfaces or when using default value.
Do not get link-layer for remote interfaces.

svn path=/trunk/; revision=26683
2008-11-03 21:38:53 +00:00
Stig Bjørlykke 1655ca17d0 Do not use functions for remote capture on local interfaces.
This makes it possible to compile with remote capture features on unix.

svn path=/trunk/; revision=26681
2008-11-03 20:04:01 +00:00
Stig Bjørlykke da4327b2ea Always show version in black.
svn path=/trunk/; revision=26678
2008-11-03 14:25:39 +00:00
Stig Bjørlykke 395bad32ac gtk_tree_view_set_hover_selection only for gtk 2.6 and above.
svn path=/trunk/; revision=26675
2008-11-03 07:52:42 +00:00
Stig Bjørlykke d3164c3f78 Adjustments to the filter autocompletion window:
- Do not default select the first entry
- Use the same window width as the filter widget
- Better support for PageUp and PageDown

svn path=/trunk/; revision=26673
2008-11-02 20:44:19 +00:00
Stig Bjørlykke ab557c4f30 Fix some "format not a string literal and no format arguments" warnings.
svn path=/trunk/; revision=26643
2008-10-31 10:33:20 +00:00
Stig Bjørlykke 8608c8f1de Fix some "format not a string literal and no format arguments" warnings.
svn path=/trunk/; revision=26641
2008-10-31 09:53:56 +00:00
Stephen Fisher 002716a7cf Fix bug #3022: Fix potential memory leak
svn path=/trunk/; revision=26638
2008-10-31 00:45:01 +00:00
Stephen Fisher 7901fd3b99 Fix bug #3021: Fix potential memory leak
svn path=/trunk/; revision=26637
2008-10-31 00:41:48 +00:00
Stephen Fisher d8e451b946 Fix bug #3019: Fix potential memory leaks
svn path=/trunk/; revision=26635
2008-10-31 00:30:23 +00:00
Stephen Fisher 43524ae6f7 Fix bug #3018: Fix potential memory leaks
svn path=/trunk/; revision=26634
2008-10-31 00:23:40 +00:00
Balint Reczey 4995d58135 show the type of the filter (Display/Capture Filter) on filter dialog
This fixes bug 1703.

svn path=/trunk/; revision=26622
2008-10-30 13:19:07 +00:00
Stephen Fisher e103054f47 Fix a few (not all) of the current checkapi errors in gtk/
- Non-ASCII characters in a few filess
 - Missing $Id$ tag in one file


svn path=/trunk/; revision=26616
2008-10-29 07:31:45 +00:00
Jaap Keuter 7ae1591787 Fix for bug 1854:
Even though not perfect, this effectively doubles the width of the header labels
without changing the rest of the layout.

svn path=/trunk/; revision=26615
2008-10-29 07:28:44 +00:00
Stig Bjørlykke 7bd9f5f483 Cleanup by using a common function for building the autocompletion list.
Untabify.

svn path=/trunk/; revision=26595
2008-10-27 23:17:22 +00:00
Jaap Keuter 920794d199 Fix the GeoIP preference description.
svn path=/trunk/; revision=26594
2008-10-27 21:59:50 +00:00
Gerald Combs 1d1dcb604b Allow more characters in each column.
svn path=/trunk/; revision=26592
2008-10-27 21:38:40 +00:00
Stig Bjørlykke 2ec94c8f7c Show configured GeoIP paths in About->Folders
svn path=/trunk/; revision=26587
2008-10-27 20:35:52 +00:00
Stig Bjørlykke 7024e2be7c Do not popup the autocompletion window with only one exactly matching entry.
svn path=/trunk/; revision=26585
2008-10-27 19:36:00 +00:00
Stig Bjørlykke 40271a29a5 Removed a g_warning().
svn path=/trunk/; revision=26583
2008-10-27 19:13:07 +00:00
Stig Bjørlykke 749f4359eb From Bahaa Naamneh and me:
Check if the filter string being typed is a beginning of a protocol name
before calling the autocomplete functionality.

svn path=/trunk/; revision=26581
2008-10-27 18:49:34 +00:00
Stig Bjørlykke 9676190af1 Uh, new attempt to sort hostlist correct...
svn path=/trunk/; revision=26577
2008-10-27 14:40:44 +00:00
Stig Bjørlykke 164b61e7b0 Sort hostlist columns correct.
Temporary fix for adding GeoIPCity names with norwegian characters,
so we do not crash in gtk_clist_insert(). 

svn path=/trunk/; revision=26576
2008-10-27 14:17:04 +00:00
Stephen Fisher e7057d72d8 Remove random ; at the end of preprocessor directive.
svn path=/trunk/; revision=26572
2008-10-27 05:24:01 +00:00
Gerald Combs 1b7064bb6a Add support for the GeoIP library. Using different database files,
GeoIP can map IP addresses to Countries, Cities, AS numbers, ISPs,
etc. If any library paths are defined AND any database files are found,
corresponding columns are added to the endpoint tables in the GUI.

To do:
  - Add columns to the conversation list
  - Add GeoIP info to "-z conv,..."
  - Create a default UAT file.

svn path=/trunk/; revision=26571
2008-10-27 04:50:57 +00:00
Gerald Combs 09bf9e6946 ETH -> WS updates.
svn path=/trunk/; revision=26570
2008-10-27 04:47:57 +00:00
Stephen Fisher b8b74f901d Add About, Preferences and a working Quit option to the OS X application menu
when ige mac integration is used.


svn path=/trunk/; revision=26569
2008-10-27 04:40:54 +00:00
Guy Harris 93f9555975 #ifdef out variable used only if we have the Immendio OS X integration
for GTK+.

svn path=/trunk/; revision=26566
2008-10-27 00:18:43 +00:00
Stephen Fisher 1fa606decf More updates to the IGE Mac OS X integration feature:
- Adds preference "MacOS X style" to the (G)UI preferences pane
 - When the preference above is enabled, the menu bar is moved from
   the Wireshark window to the top of the screen.  It is no longer displayed
   in both places at once.  This preference defaults to on.
 - Calls function to enable shortcut keys for OS X top of screen menus.
 - NOTE: The IGE Mac Integration functions change the Control key to Command
         key in the menus.  This may or may not be desirable.


svn path=/trunk/; revision=26565
2008-10-26 23:07:37 +00:00
Stig Bjørlykke 3a14d073c0 Correct the include for ige-mac-menu.h
svn path=/trunk/; revision=26564
2008-10-26 22:33:43 +00:00
Stig Bjørlykke 63309c74b8 Do not autocomplete when editing capture filter.
svn path=/trunk/; revision=26563
2008-10-26 21:53:24 +00:00
Stephen Fisher 812ecb21c3 Tweak Mac IGE integration detection so that it can find the functions not
only in the Gtk+ OS X framework, but also in the separate igemacintegration
library.  Also add call to ite_mac_menu_set_menu_bar() to synchronize the
OS X menu bar with the Gtk menu bar in Wireshark.  The Gtk menu bar in
Wireshark will remain there.


svn path=/trunk/; revision=26560
2008-10-26 20:09:54 +00:00
Stig Bjørlykke 6eedb9577b Make a new popup when appending a dot to an existing filer entry without
an existing popup.

svn path=/trunk/; revision=26552
2008-10-25 11:50:01 +00:00
Bill Meier 0e7d674d23 Fix for SVN #26535 so that building Wireshark with VC6 doesn't fail.
svn path=/trunk/; revision=26545
2008-10-24 22:13:09 +00:00
Stig Bjørlykke ee48afbc74 Always select an entry in the autocomplete list.
svn path=/trunk/; revision=26544
2008-10-24 22:13:07 +00:00
Stig Bjørlykke 674d209dbe Added autocomplete and autocompletion list of protocol names in the filter
entry.  This still has some side effects, but hopefully not too bad.

svn path=/trunk/; revision=26542
2008-10-24 20:36:09 +00:00
Stig Bjørlykke 5e5a674e76 Show both short and long protocol name in the Filter Expression dialog.
svn path=/trunk/; revision=26537
2008-10-24 07:48:09 +00:00
Bill Meier 8afa208ffb Windows build: #include winsock2.h only when needed.
#include winsock2.h pulls in about 90 distinct .h files
and about 140 total .h files. 
Currently winsock2.h is (mostly unnecessarily) included
for each dissector via packet.h/wtap.h.
This patch removes #include winsock2.h from wtap.h and 
then includes winsock2.h (or windows.h) in the 
few specific places required. 
With this patch, my Windows Wireshark build takes 
about 30% less time.


svn path=/trunk/; revision=26535
2008-10-24 00:42:09 +00:00
Jaap Keuter 8a32775150 Set a title on the splash window even though it's not decorated.
This sets the title/icon of the taskbar item created when the splash screen is up.

svn path=/trunk/; revision=26533
2008-10-23 21:13:58 +00:00
Stig Bjørlykke 3cd4e0ad4d Only use the statusbar for filter messages from the main window.
Updating the statusbar from popup windows is confusing.

svn path=/trunk/; revision=26523
2008-10-23 14:30:35 +00:00
Jaap Keuter 784ca2bd43 Clean up the whitespace.
svn path=/trunk/; revision=26503
2008-10-20 20:24:01 +00:00
Stig Bjørlykke 32b542de4f Use invisible event boxes so the preferences looks good when using themes.
svn path=/trunk/; revision=26502
2008-10-20 19:18:12 +00:00
Stig Bjørlykke 71e81ef3f6 Fixed a small issue using esc and backspace in filter autocompletion.
svn path=/trunk/; revision=26496
2008-10-19 14:56:25 +00:00
Stig Bjørlykke 0e3e22851a Add filter autocomplete for filter in color edit dialog.
svn path=/trunk/; revision=26494
2008-10-19 14:40:16 +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 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 51ac347364 Construct a new autocomplete popup window again if pressing backspace
while having no existing popup window.

svn path=/trunk/; revision=26490
2008-10-19 12:37:38 +00:00
Gerald Combs 92ae7f9c87 When we set the channel and offset entries in the wireless toolbar,
set the offset first.  This makes sure the offset entry is initialized
correctly.  In the advanced wireless settings dialog, don't bother
enabling/disabling the toolbar.  Remove some leftover debugging
code. Remove some checks for data we don't use (and mark it as unused).
Fixup whitespace.

svn path=/trunk/; revision=26487
2008-10-17 23:48:33 +00:00
Stig Bjørlykke 73ad418699 Removed some "statement not reached" warnings.
svn path=/trunk/; revision=26480
2008-10-16 14:16:21 +00:00
Jaap Keuter cddb781f53 Various corrections, as in: typos, whitespace, few return values, _U_ markers.
svn path=/trunk/; revision=26472
2008-10-15 23:17:40 +00:00
Gerald Combs 41d39d4f33 If we click on an interface in the welcome screen, correctly enable/disable
the wireless toolbar.

svn path=/trunk/; revision=26471
2008-10-15 22:51:17 +00:00
Gerald Combs 9a41723b2b Keep the wireless toolbar extension channel entry from inadvertently
setting its value to -1. Fix a bug that kept the wireless toolbar from
being enabled if HAVE_PCAP_REMOTE was defined. Fix a couple of other
minor issues.
--Thisr line, and those below, will be ignored--

M    airpcap_loader.c
M    gtk/airpcap_dlg.c
M    gtk/main_airpcap_toolbar.c

svn path=/trunk/; revision=26469
2008-10-15 21:43:00 +00:00
Jaap Keuter be90b5571c Clean up conversation filter code.
Make it work in the intended cases and add IPv6 support.

svn path=/trunk/; revision=26461
2008-10-15 07:43:24 +00:00
Gerald Combs c99312dae0 Use a more accurate variable name for the wiretap file type. Add the file
encapsulation to the summary display.

svn path=/trunk/; revision=26459
2008-10-14 22:55:16 +00:00
Jaap Keuter 0367cd7768 Fix for bug 2964.
When right click on any packet (From Packet List) - > "Export Selected Packet Bytes" you 
get "No data selected to save!" MessageBox. This option should not be in this menu at all.

svn path=/trunk/; revision=26458
2008-10-14 20:04:06 +00:00
Anders Broman 917c091669 Make verion in startscreen a visible preference.
svn path=/trunk/; revision=26453
2008-10-14 18:18:21 +00:00
Stig Bjørlykke 13843b56df Bring the windows to front when rescanning of packets are done.
svn path=/trunk/; revision=26439
2008-10-13 18:59:21 +00:00
Stig Bjørlykke f9c4288e09 Bring the windows to front when rescanning of packets are done.
svn path=/trunk/; revision=26438
2008-10-13 18:37:00 +00:00
Stig Bjørlykke b4d9a5c868 Bring the windows to front when rescanning of packets are done.
svn path=/trunk/; revision=26436
2008-10-13 18:16:35 +00:00
Stig Bjørlykke 489b5e1fec Bring the windows to front when rescanning of packets are done.
svn path=/trunk/; revision=26435
2008-10-13 17:38:28 +00:00
Stig Bjørlykke 6d6288fae9 Bring the windows to front when rescanning of packets are done.
svn path=/trunk/; revision=26434
2008-10-13 17:28:48 +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
Anders Broman 939367b801 Bring the windows to front when rescanning of packets are done.
svn path=/trunk/; revision=26423
2008-10-12 16:56:38 +00:00
Stig Bjørlykke 2046b2731d Rewrote to use gtk_widget_modify_text() and gtk_widget_modify_base()
to change the background color for filter text edit boxes, because
gtk_widget_set_style() interacts badly with themes.

Go back to default values when filter is empty (instead of white).

Also rewrote the same in the "Edit Color Filter" dialog.

svn path=/trunk/; revision=26421
2008-10-12 13:41:04 +00:00
Stig Bjørlykke 426f90cbe9 Forgot this for the Display Filter dialog:
Ensure we initialize the 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=26418
2008-10-11 15:50:29 +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
Anders Broman 93a0edf6dd From David Aggeler:
packet-dcm, improved DICOM Tag support, misc fixes.

svn path=/trunk/; revision=26413
2008-10-11 14:25:02 +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
Stig Bjørlykke d4e9b3742f Only check for a valid field name in the custom column.
svn path=/trunk/; revision=26406
2008-10-10 17:01:36 +00:00
Stig Bjørlykke 6012a91ebb Added an option to syntax check only a single field name.
svn path=/trunk/; revision=26405
2008-10-10 17:00:38 +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
Stig Bjørlykke 91977bfa15 Add a "Field name" label for the custom column.
svn path=/trunk/; revision=26402
2008-10-10 15:50:08 +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
Stig Bjørlykke 7e3514c200 Add a hidden preference to show the version in the welcome page.
svn path=/trunk/; revision=26371
2008-10-07 15:18:40 +00:00
Stig Bjørlykke 66f160728f Fix printing of version in welcome page.
svn path=/trunk/; revision=26370
2008-10-07 14:06:44 +00:00
Gerald Combs a6bb39afe3 Add a hidden preference to set the welcome screen title.
svn path=/trunk/; revision=26366
2008-10-06 22:49:01 +00:00
Anders Broman cee238507d From Kari Tiirikainen:
Req/resp tracking and service response time stats for GTP-C

svn path=/trunk/; revision=26361
2008-10-06 20:11:44 +00:00
Ronnie Sahlberg 24b76bdc14 add a -K command line option to provide the name of the kerberos keytab
file to use for decryption of Krb5 and GSS-KRB


svn path=/trunk/; revision=26343
2008-10-03 05:21:28 +00:00
Sake Blok 0996e23a81 Fix for Bug 2891:
Read the capture setting from the preferences *before* parsing the
capture command line arguments.


svn path=/trunk/; revision=26268
2008-09-25 06:21:02 +00:00
Anders Broman dc8a11f7bb Fix:About dialog: all text selected when switching tabs
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1349
Hopfully the right thing to do :)

svn path=/trunk/; revision=26247
2008-09-22 21:28:55 +00:00
Jeff Morriss 4dcba9a359 Don't define a static variable (the_tapinfo_struct) in a header file; instead declare it in each C file that needs it.
svn path=/trunk/; revision=26244
2008-09-21 14:50:05 +00:00
Gerald Combs ba485a4163 Add /D_BIND_TO_CURRENT_CRT_VERSION=1 to LOCAL_CFLAGS in modern versions
of Visual C++. (How did this "feature" ever see the light of day?) Make
sure we use LOCAL_CFLAGS *everywhere*. This should fix problems with
building a usable installer under Visual Studio 2008 SP1.

Add comments with links to Visual C++'s idiotic handling of assemblies
and deployment using xcopy. Move to c-ares 1.5.3. Make sure we remove
all of our manifests in epan and packaging/u3/tools.

svn path=/trunk/; revision=26219
2008-09-16 21:08:18 +00:00
Sake Blok bb4173e140 Close filter autocompletion list when it's empty. This re-enables
entering a filter like this:

ip.addr==1.1.1.1<ENTER>


svn path=/trunk/; revision=26154
2008-09-06 23:22:50 +00:00
Guy Harris af49f01616 The AFP field containing the command is "afp.command", not "afp.cmd".
Fixes bug 2847.

svn path=/trunk/; revision=26126
2008-09-03 10:24:38 +00:00
Guy Harris 28971d38fc Fix typo in #define.
Fix indentation (a tab doesn't necessarily expand to 4 spaces).

svn path=/trunk/; revision=26118
2008-09-02 18:20:36 +00:00
Anders Broman f3fd97dc39 Make it easy to put the version on the Welcom page if wanted.
svn path=/trunk/; revision=26117
2008-09-02 17:41:47 +00:00
Bill Meier c9898d7f6b #include <emem.h> not req'd
svn path=/trunk/; revision=26094
2008-08-26 02:53:21 +00:00
Bill Meier 99c797748e Fix minor typo/spelling ...
svn path=/trunk/; revision=26048
2008-08-20 19:27:07 +00:00
Gerald Combs 1ac736e634 Simplify the PortAudio section.
svn path=/trunk/; revision=26030
2008-08-15 00:07:16 +00:00
Gerald Combs bb8e507f31 From cjkelly1: Add "/MD" to the PortAudio compilation flags. Fixes
bug 2791.

Don't use "-o" in the PortAudio compilation flags. If we're running Visual
C++ 2008, don't use "/Zd" when compiling packet-rrc.c. Fixes bug 2795.

svn path=/trunk/; revision=26023
2008-08-14 20:56:34 +00:00
Bill Meier 871036f49d Fix a spelling error
svn path=/trunk/; revision=26016
2008-08-14 16:37:44 +00:00
Guy Harris ce89de75da If capture_dlg_prep() finds an error, don't continue with the capture.
Get rid of an extra g_strdup() (get_if_name() doesn't mangle its
argument and doesn't modify prefs.capture_device).

If there's no interface on which to capture, pop up a dialog to indicate
that.

svn path=/trunk/; revision=25997
2008-08-13 08:15:47 +00:00
Jaap Keuter bfc12627c9 From Alexey Neyman:
Start Wireshark without a preference file saved. Open the capture options dialog, 
then click "Start" button without selecting any interface. Wireshark segfaults while
dereferencing NULL pointer in get_if_name() called from capture_start_cb().

svn path=/trunk/; revision=25987
2008-08-12 05:14:29 +00:00
Anders Broman 3eadb385c3 From Alexey Neyman:
Implement dissector for IPMB (DLT_IPMB_LINUX, 209).

svn path=/trunk/; revision=25986
2008-08-12 04:44:35 +00:00
Luis Ontanon 55e3c847cf try to avoid:
funnel_stat.c:528: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
funnel_stat.c:535: error: expected ‘)’ before ‘*’ token
funnel_stat.c:541: error: expected ‘)’ before ‘*’ token
funnel_stat.c:572: error: ‘funnel_new_progress_window’ undeclared here (not in a function)


svn path=/trunk/; revision=25978
2008-08-11 01:55:27 +00:00
Luis Ontanon dfd6dd53a4 Add a slightly modified version of Paolo Abeni's funneled progress dialog (ref https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2725) and its wslua interface.
svn path=/trunk/; revision=25977
2008-08-11 01:33:31 +00:00
Stig Bjørlykke e0740e22e5 Remove the "Save column widths" option so we always save the widths.
svn path=/trunk/; revision=25968
2008-08-09 16:14:34 +00:00
Stig Bjørlykke d182dfab21 Check if the recent_common file exists instead of having a setting in
the recent file.

svn path=/trunk/; revision=25967
2008-08-09 16:12:41 +00:00
Sake Blok b08d70271d From Alexey Neyman (Bug 2786):
Make "stop" button in the capture info dialog work


svn path=/trunk/; revision=25966
2008-08-09 08:17:53 +00:00
Jaap Keuter d6df3a1f1c Fix for bug 2780:
Correct reverse direction payload save.

svn path=/trunk/; revision=25961
2008-08-08 19:57:50 +00:00
Sake Blok 643d1baa53 From Kovarththanan Rajaratnam (Bug 2660):
Make display filter max recent entries a preference

(From me: fixed an off by one bug in saving to the recent file)


svn path=/trunk/; revision=25960
2008-08-08 19:41:35 +00:00
Gerald Combs 021a926793 Add support for the c-ares asynchronous DNS resolution library to the
Windows build. Add support for async IPv6 lookups. Update the ADNS
code slightly.

This is not supported (yet) on the UNIX side.

svn path=/trunk/; revision=25953
2008-08-07 21:41:48 +00:00
Bill Meier 4b53209990 Remove some obsolete comments related to GTK 1.
svn path=/trunk/; revision=25949
2008-08-07 12:31:43 +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
Luis Ontanon a8ddad6d91 Have the window being resizable
svn path=/trunk/; revision=25946
2008-08-06 12:03:16 +00:00
Luis Ontanon a4412aa3c1 Make the buttons of the UAT dialog usable again, and get rid of some gtk warnings.
svn path=/trunk/; revision=25940
2008-08-06 00:43:01 +00:00
Luis Ontanon 42c3239a1a luis.ontanon@gmail.com => luis@ontanon.org
svn path=/trunk/; revision=25937
2008-08-05 21:03:46 +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
Gerald Combs 7d8e29f501 From Pascal Quantin via bug 2719: Fix support for Microsoft Visual C++ 2008.
From me:

Instead of adding adns_config.h, place it a custom adns package in
wireshark-win32-libs. Update tools/win32-setup.sh accordingly.

Split the MSVC2008EE variant into MSVC2008 and MSVC2008EE, similar to
MSVC2005 and MSVC2005EE. We have to worry about vcredist_x86.exe in
both cases.

Add Pascal to AUTHORS.

Update the Developer's Guide.

svn path=/trunk/; revision=25921
2008-08-04 23:05:32 +00:00
Anders Broman 96aa45646d First step to split the gsm_a dissector into several smaller ones ( done by Neil Piercy)
rename the "old" one to gsm_a_common.

svn path=/trunk/; revision=25915
2008-08-04 16:11:17 +00:00
Anders Broman 449e40f6b1 From Abhik Sarkar:
Some buttons are always disabled in the "User DLTs Table" dialog.

svn path=/trunk/; revision=25904
2008-08-02 13:47:31 +00:00
Anders Broman 8db1e7a8b2 From David Aggeler:
Follow-up from SVN 25825 check in

The g_slist_free() is really needed in export_object.c, otherwise, the export
list has false (repetitive) entries in it, that cause a crash when selecting
them.

Whether false entries are in the list, only depends on the speed of the export
processing, since this tap is 

Replaced all guchar with gchar. This should eliminate the warnings on solaris. 
I guess I used the wrong reference.

Added patch for 'Authors' in case I need to add myself to the list.

svn path=/trunk/; revision=25834
2008-07-25 22:58:05 +00:00
Anders Broman b7f89ecec1 From David Aggeler:
Patch to enable DICOM Export

svn path=/trunk/; revision=25825
2008-07-25 13:45:31 +00:00
Bill Meier 7631d2b494 Add NULL termination element to value_string array
svn path=/trunk/; revision=25798
2008-07-22 20:20:17 +00:00
Bill Meier 3b6cd83389 Add NULL termination element to value_string arrays;
Fix some indentation

svn path=/trunk/; revision=25797
2008-07-22 20:19:17 +00:00
Martin Mathieson 75890548d7 Filter autocompletion from Bahaa Naamneh (bug 2581).
There are still display filter controls where this isn't being used
yet, but I'm committing it now so hopefully people can report any
problems.

Some commenting and formatting was done by myself.

svn path=/trunk/; revision=25788
2008-07-22 15:19:10 +00:00
Gerald Combs a7d388325e From Dustin Johnson: Don't pop up a warning dialog every time we can't save
our AirPcap configuration. Just print out a warning to the console instead.

svn path=/trunk/; revision=25781
2008-07-21 18:51:05 +00:00
Jaap Keuter e86825b8f8 From Francesco Fondelli:
Attached is a patch for:
- PW Associated Channel Header dissection as per RFC 4385
- PW MPLS Control Word dissection as per RFC 4385
- mpls subdissector table indexed by label value
- enhanced "what's past last mpls label?" heuristic
- Ethernet PW (w/o CW) support as per RFC 4448

svn path=/trunk/; revision=25730
2008-07-13 17:19:33 +00:00
Stig Bjørlykke b1e0d8edc5 Correct help topic for firewall dialog.
svn path=/trunk/; revision=25725
2008-07-12 19:28:08 +00:00
Jeff Morriss c50b4aec09 More (mostly stats tree) unsigned->signed char cleanup
svn path=/trunk/; revision=25717
2008-07-12 01:48:24 +00:00
Guy Harris 08b4f712c8 Note bug 2699, which reports a bug in xdg-open.
svn path=/trunk/; revision=25700
2008-07-10 18:36:19 +00:00
Gerald Combs 98f5096bbd Replace r25638 with a better fix. On Windows, don't open a console window if
we've been passed "-i -", since it clobbers stdio.

svn path=/trunk/; revision=25695
2008-07-09 23:28:18 +00:00
Bill Meier c18d922045 Fix compile error
svn path=/trunk/; revision=25674
2008-07-08 03:21:54 +00:00
Bill Meier d3fc3b6c3e Fix some simple cases of GTK2 deprecated API usage by using a renamed or equivalent API
gtk_button_box_set_spacing()  ==> gtk_box_set_spacing()

svn path=/trunk/; revision=25673
2008-07-08 02:43:40 +00:00
Bill Meier 44efa0ed2e Fix some simple cases of GTK2 deprecated API usage by using a renamed or equivalent API
gtk_timeout_add()     ==> g_timeout_add
   gtk_timeout_remove()  ==> g_source_remove()

Also: timer callback should return gboolean (not void or gint)

svn path=/trunk/; revision=25672
2008-07-08 02:25:30 +00:00
Guy Harris a04774395f Add Makefile.common files for epan/dfilter and epan/ftypes.
Add checkapi rules to Makefile.am files.

svn path=/trunk/; revision=25656
2008-07-02 01:44:30 +00:00
Jeff Morriss 83f9ecf96f Move privileges.c and unicode-utils.c from epan to wsutil (so things like
capinfos and dumpcap don't need to depend on libwireshark nor directly pull
in those modules).  Because capinfos and editcap were only being linked with
privileges.c if we had plugins, this allows those programs to be linked when
someone is compiling --without-plugins.

svn path=/trunk/; revision=25640
2008-06-30 17:16:29 +00:00
Gerald Combs 6d4f9c1eda When we open a debug console on Windows, don't grab stdin. We never read
anything on this particular console, and if we open stdin here we can't
read a capture from an anonymous pipe.

svn path=/trunk/; revision=25638
2008-06-30 16:36:37 +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
Sake Blok cd7405c44d From Kovarththanan Rajaratnam (bug 2657):
Resolve accelerator ambiguity in filter toolbar


svn path=/trunk/; revision=25633
2008-06-29 14:59:23 +00:00
Sake Blok 50fa079b11 From Kovarththanan Rajaratnam (bug 2658):
Leading $ will now be propageted to display filter entry (on keyboards
where AltGr needs to be used to enter a '$').


svn path=/trunk/; revision=25632
2008-06-29 12:55:14 +00:00
Sake Blok be8956d104 Add accelerator keys for (un)mark all packets
svn path=/trunk/; revision=25630
2008-06-29 09:01:12 +00:00
Sake Blok 9fe2206771 From Kovarththanan Rajaratnam (bug 2652):
Add accelerator keys for Find Next/Previous Reference


svn path=/trunk/; revision=25629
2008-06-29 08:36:24 +00:00
Gerald Combs 72965329b0 Remove a lot of vestigal GTK-Wimp stuff. It's been included with
GTK+ since version 2.8, when its name was changed to the "GTK MS
Windows-Engine."

Simplify the Windows installer by removing the GTK-Wimp option (which
means the "Wireshark" item can be an entry instead of a group). Move
Rawshark to the "Tools" group.

(If anyone wants to disable the MS Windows Engine they can still do so
after installation by disabling or removing libwimp.dll.)

svn path=/trunk/; revision=25611
2008-06-26 16:42:07 +00:00
Guy Harris 83fc9d5e09 Constify a bunch of stuff, to squelch -Wwrite-strings warnings.
epan/dissectors/packet-ncp2222.inc is a bit hard to fix, so we're not
ready to enable that warning by default yet.

Throw in some casts to handle GLib routines that take arbitrary
non-const pointers (they can later return the pointers, and some
callers might want to modify or free up those pointers in cases where
they're known to be writable or allocated).

Use ep_tvb_memdup() rather than a combination of ep_alloc() and
tvb_memcpy().

Clean up some indentation.

svn path=/trunk/; revision=25601
2008-06-25 09:12:35 +00:00
Gerald Combs 495ddc2830 Make it obvious that this is a development version. Fix a makefile
dependency on the splash images.

svn path=/trunk/; revision=25594
2008-06-24 22:53:52 +00:00
Guy Harris c4932893e3 Have separate callback mechanisms in file.c and capture.c; pass the
capture callbacks the capture_options * as its second argument in all
cases.  This makes it a bit clearer what arguments callbacks take, and
means we can get rid of all global_capture_opts references in
gtk/main_statusbar.c.

Put the interface between gtk/main.c and gtk/main_statusbar.c into a
private header.

svn path=/trunk/; revision=25576
2008-06-24 08:05:45 +00:00
Guy Harris a9ffacc1b3 Only include gtk/capture_globals.h if we're building with capture
support.

svn path=/trunk/; revision=25575
2008-06-24 04:04:47 +00:00
Guy Harris f441b8941e Add gtk/capture_globals.h, to declare global_capture_opts, so files that
don't need global_capture_opts don't need to have it declared and thus
don't need capture_options defined.

Include gtk/capture_globals in the files in question.

Change some more capture_opts references to refer to
global_capture_opts.

Change some global_capture_opts references in routines with a
capture_opts argument to refer to capture_opts.

The structure type is capture_options, not capture_opts; fix some
references.

Include <sys/types.h>, if it's present, in capture_opts.h, so we get
gid_t defined.

Clean up indentation.

svn path=/trunk/; revision=25574
2008-06-24 03:38:15 +00:00
Guy Harris 881a38f96e For now, just refer to global_capture_opts, replacing references to the
now-defult global capture_opts pointer; we eventually should try to
minimize the use of global variables.

svn path=/trunk/; revision=25572
2008-06-24 02:24:17 +00:00
Guy Harris e53bf053f9 For now, just refer to global_capture_opts, replacing references to the
now-defult global capture_opts pointer; we eventually should try to
minimize the use of global variables.

Export global_capture_opts from gtk/main.h.

Clean up indentation.

svn path=/trunk/; revision=25571
2008-06-24 02:22:36 +00:00
Guy Harris 2a691a0aec Have capture_info_ui_create() and capture_info_open() take a pointer to
the capture_opts structure as an argument, rather than just a pointer to
the interface name.

Don't declare a global "capture_opts" pointer, as we don't define it any
more.

svn path=/trunk/; revision=25570
2008-06-24 01:23:33 +00:00
Guy Harris 0b1a0718ce Get rid of the static capture_opts pointer - it collides with parameter
names, as noted by John Smith.

svn path=/trunk/; revision=25546
2008-06-23 20:29:13 +00:00
Guy Harris bbccb9cbfb Give more details on the stuff Beast does, and suggest a possible scheme
for getting things as right as possible.

gnome_url_show() is run by gnome-open, so just running gnome-open - or
xdg-open, which runs gnome-open on GNOME - will suffice.

svn path=/trunk/; revision=25533
2008-06-23 18:46:29 +00:00
Guy Harris 4745bbf0d5 Add stuff to a comment, and move stuff to that comment from elsewhere,
discussing the fun of launching on UNIX+X11.

svn path=/trunk/; revision=25519
2008-06-21 23:53:15 +00:00
Guy Harris 8f244766f3 If we have xdg-open, always run that to launch a Web browser, and ignore
the Web browser setting; that should honor the user's *real* preferred
Web browser setting (i.e., the one they've selected in their desktop
environment).

Don't bother defining HTML_VIEWER as "xdg-open" if we have xdg-open - we
don't need it.

svn path=/trunk/; revision=25514
2008-06-21 18:09:17 +00:00
Stig Bjørlykke 45e0a74c15 And use correct help topic...
svn path=/trunk/; revision=25507
2008-06-21 14:06:08 +00:00
Stig Bjørlykke 7c29c08046 Added help topic item previous reused for another topic.
Todo: add documentation text.

svn path=/trunk/; revision=25506
2008-06-21 13:59:52 +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
Stig Bjørlykke 960d9138af Added a help button in the Interface Options dialog.
Added the Interface Options docbook chapter.

svn path=/trunk/; revision=25502
2008-06-21 13:08:02 +00:00
Stig Bjørlykke 01de1202bc Update the statusbar expert info icon when changing profile.
svn path=/trunk/; revision=25491
2008-06-19 21:56:25 +00:00
Stig Bjørlykke 4889fc41e9 Make storage-based and time-based "Next file every" checkboxes behave equal
in "Use multiple files".  Also default to storage-based if not time-based.

This fixes the initial problem in bug #2599.

svn path=/trunk/; revision=25489
2008-06-19 17:25:34 +00:00
Guy Harris 19470978ef Encase another variable used only if we support capture in #ifdef
HAVE_LIBPCAP/#endif.

svn path=/trunk/; revision=25482
2008-06-18 21:23:52 +00:00
Stig Bjørlykke 4235740cad Put a variable inside a ifdef HAVE_LIBPCAP
svn path=/trunk/; revision=25481
2008-06-18 20:59:57 +00:00
Stig Bjørlykke 52bb83fd57 Reload the interface list on the welcome page when changing profile and
after editing the interface options.

svn path=/trunk/; revision=25479
2008-06-18 20:14:28 +00:00
Stig Bjørlykke 9e4cb36cba Draw menu items with radio buttons.
svn path=/trunk/; revision=25471
2008-06-18 15:57:12 +00:00
Stig Bjørlykke d69f8cd46c The recent.gui_time_precision fix introduced a worse bug when changing
profiles, so I revert this and will investigate some more...

svn path=/trunk/; revision=25469
2008-06-17 20:37:34 +00:00
Stig Bjørlykke 4cd3667832 Popup a menu with configuration profiles instead of the profile dlg
when clicking the profile in the statusbar.  Much easier to use.

svn path=/trunk/; revision=25468
2008-06-17 19:50:22 +00:00
Stig Bjørlykke b82eba3f42 Initialize recent.gui_time_precision when changing profile to avoid a crash
in some rare cases.

svn path=/trunk/; revision=25457
2008-06-15 20:53:06 +00:00
Stig Bjørlykke 2198a435da Cleanup return values from info_bar_new() and packets_bar_new().
svn path=/trunk/; revision=25456
2008-06-15 20:50:10 +00:00
Stig Bjørlykke 15963a143b Click on the profile in the statusbar will open Configuration Profiles dialog.
svn path=/trunk/; revision=25455
2008-06-15 20:47:06 +00:00
Stig Bjørlykke f9b3982cd2 Moved setting of E_MPACKET_LIST_KEY object data to the function creating
packet_list to ensure it's created before we set it.

Applying filter from the packet list still doesn't work correctly.

svn path=/trunk/; revision=25454
2008-06-15 18:29:22 +00:00
Stig Bjørlykke c64847fe16 Update all time columns when changing the time precision.
Not implemented for conversation relative and delta time yet, because this
will need a reload as they are set by the dissectors and does not exist in
the frame data.

svn path=/trunk/; revision=25452
2008-06-14 16:51:11 +00:00
Stig Bjørlykke 98325a69c9 Save the column width in the recent list on every change so we can
pick the correct width when changing the time precision.

svn path=/trunk/; revision=25451
2008-06-14 16:45:06 +00:00
Guy Harris aeda5cffa7 Sun C warns about an integer overflow for 1 << 31, presumably because 1
is signed; make the flags field in "struct magnify" unsigned, and make
the flags unsigned, so we shift 1U rather than 1.

svn path=/trunk/; revision=25421
2008-06-04 00:05:57 +00:00
Guy Harris 60e49f65bc GTK+ 1.2[.x] is no longer relevant - we require 2.x - so don't talk
about it in a comment.

svn path=/trunk/; revision=25419
2008-06-03 23:57:26 +00:00
Stig Bjørlykke 3fe084beb3 Rewrote ifopts_options_add() to make it readable and simpler.
Fixed a bug where a one character comment would skip the interface.
If syntax error in the comment just skip the comment instead of the interface.

svn path=/trunk/; revision=25413
2008-06-02 22:18:25 +00:00
Stig Bjørlykke d8b975c6cb Rewrote to not use gtk_combo_box_get_active_text().
svn path=/trunk/; revision=25412
2008-06-02 21:35:22 +00:00
Stig Bjørlykke 561f66c1b8 Added an option to set default link-layer header type for each interface.
Set linktype history for each interface so we don't mix them.
Fixed some indents.

svn path=/trunk/; revision=25411
2008-06-02 17:45:03 +00:00
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