Commit graph

3679 commits

Author SHA1 Message Date
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