aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/main.c
AgeCommit message (Collapse)AuthorFilesLines
2011-11-09Try to fix the GLib thread API deprecations listed in bug 6552.Gerald Combs1-0/+2
svn path=/trunk/; revision=39776
2011-11-07Change the use of threads from "mostly always, depending on yourGerald Combs1-8/+0
configure options and Gtk+ and GLib versions" to "always". svn path=/trunk/; revision=39751
2011-10-20Back out infrastructure change. We missed supportingMichael Tüxen1-351/+138
stdin and pipes. svn path=/trunk/; revision=39498
2011-10-20(Try to) fix compilation.Michael Tüxen1-0/+8
svn path=/trunk/; revision=39497
2011-10-20Use a global list containing all interfaces and only changeMichael Tüxen1-139/+344
properties of the entries when changes are made in the GUI. Do not misuse the list of interfaces specified on the command line anymore. This patch does not provide any new functionality, it just provides the base for future extensions like removing remote interface, mulitple airpcap devices and multiple pipes. This patch was provided by Irene Ruengeler. svn path=/trunk/; revision=39495
2011-10-11No libpcap, no capturing, no capture filters, no capture_filter_init().Guy Harris1-0/+2
svn path=/trunk/; revision=39354
2011-10-10Check our capture filter syntax in a separate thread.Gerald Combs1-2/+3
svn path=/trunk/; revision=39349
2011-10-05Michael Mann:Anders Broman1-7/+9
Removed the Save button if live capture is going on when File->Quit is selected. Solves Assertion failed when doing File->Quit->Save during live capture https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1710 svn path=/trunk/; revision=39266
2011-10-05From Sake Blok and Michael Mann:Anders Broman1-1/+1
Change "File -> Save As" to only save the displayed frames by default. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6192 svn path=/trunk/; revision=39265
2011-09-22Add an option -d to specify display filter from the command line.Stig Bjørlykke1-2/+14
This was requested in bug 2463. svn path=/trunk/; revision=39090
2011-09-08From Edwin Groothuis via bug 6207:Stig Bjørlykke1-0/+3
Added Filter Toolbar Save functionality. From me: Removed unused code. svn path=/trunk/; revision=38937
2011-09-05From Kurnia Hendrawan via bug 2931:Stig Bjørlykke1-0/+3
Added an option to save "decode as" entries. svn path=/trunk/; revision=38883
2011-08-29Replace "-Q" with "WIRESHARK_QUIT_AFTER_CAPTURE" as discussed in bug 6256.Gerald Combs1-3/+1
svn path=/trunk/; revision=38784
2011-08-17More GTK 3.0 changes:Anders Broman1-0/+4
- In main skipp RC for now - main_proto_draw incomplete fix.(#if 0) svn path=/trunk/; revision=38581
2011-08-14Take the interface description into account when looking up the preferredMichael Tüxen1-7/+6
interface to capture from. svn path=/trunk/; revision=38530
2011-08-13Make the description of -I match the description in dumpcap and TShark.Guy Harris1-1/+1
svn path=/trunk/; revision=38517
2011-08-13Add description of -I option in -h output.Michael Tüxen1-0/+3
svn path=/trunk/; revision=38505
2011-08-12In gtk3, gtk_set_locale is gone without replacement orJörg Mayer1-1/+1
even deprecation. As it basically just did a setlocale put that call in directly. svn path=/trunk/; revision=38502
2011-08-12Replace almost all occurances of GTK_OBJECT by G_OBJECT.Jörg Mayer1-2/+2
The remaining uses are inside calls to functions that are deprecated in gtk3. svn path=/trunk/; revision=38499
2011-08-09Fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5608 :Jeff Morriss1-3/+1
getopt() can/should normally be found in unistd.h, so: - When testing for getopt(), define that we HAVE_GETOPT instead of HAVE_GETOPT_H (to avoid confusion). - Don't attempt to include getopt.h: not all OS's have it (for example, Solaris 9 does not). - (All the places which need getopt already include unistd.h (if we have it).) If this breaks things on some OS, we might need (a real) HAVE_GETOPT_H check. svn path=/trunk/; revision=38437
2011-08-08Include Cairo and Pango version in "compiled with"Anders Broman1-0/+11
svn path=/trunk/; revision=38401
2011-08-01Another fix for building with MSVC2005.Stig Bjørlykke1-0/+4
The previous fixes in r37728 and r37730 did build a wireshark which was unable to use the native windows file dialog (GetOpenFileName). svn path=/trunk/; revision=38299
2011-07-25Fix typo, get rid of #if no longer necessary with the typo fixed.Guy Harris1-4/+0
svn path=/trunk/; revision=38195
2011-07-25gtk_widget_get_visible() is only available in GTK+ 2.18 and later.Guy Harris1-0/+4
svn path=/trunk/; revision=38194
2011-07-24Replace deprecated functions.Anders Broman1-4/+0
svn path=/trunk/; revision=38188
2011-07-21Create a file containing macros to provide the access-functionsJörg Mayer1-11/+2
when the gtk version is too old (for the 2,14,0 case). Remove all old access methods that were guarded by 2,14,0 tests. Feel free to do the same for newer guards :-) svn path=/trunk/; revision=38147
2011-07-21Make sure that the interfaces listed in ifaces really exist.Michael Tüxen1-23/+40
Some protection code in capture / options. Obtained from Irene Ruengeler. svn path=/trunk/; revision=38142
2011-07-18Make sure that the Capture/Start menue item will always use theMichael Tüxen1-1/+1
same interfaces as selected in the Main Welcome Window. svn path=/trunk/; revision=38087
2011-07-16Use correct plausability check.Michael Tüxen1-1/+1
svn path=/trunk/; revision=38062
2011-07-16Don't allow capturing from multiple interface when compiled with multiple threadMichael Tüxen1-2/+7
support. svn path=/trunk/; revision=38057
2011-07-14On Windows enable threads everywhere instead of just in dumpcap. IfGerald Combs1-0/+4
threads are enabled use them to check the recent file list. Fixes bug 3810. svn path=/trunk/; revision=38033
2011-07-09Show a hint to read http://wiki.wireshark.org/CaptureSetup/CapturePrivilegesBalint Reczey1-1/+4
when showing the warning about running Wireshark as root Thanks to Evan Huus for the suggestion. svn path=/trunk/; revision=37943
2011-07-08If no interface is specified on the command line, use the defaultMichael Tüxen1-0/+35
capture interface if given. This patch is provided by Irene Ruengeler. svn path=/trunk/; revision=37939
2011-07-06Add support for multiple interface to the main welcome screen.Michael Tüxen1-0/+1
This patch is from Irene Ruengeler. svn path=/trunk/; revision=37913
2011-07-04From Michael Mann:Anders Broman1-0/+4
Added ability to display UTC time or UTC time with date. I liked having the difference between UTC and local time, not just setting local=UTC. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2629 svn path=/trunk/; revision=37898
2011-06-28Replace all strerror() with g_strerror().Stig Bjørlykke1-20/+16
Remove our local strerror implementation. Mark strerror as locale unsafe API. This fixes bug 5715. svn path=/trunk/; revision=37812
2011-06-27Get rid of old non-interface specific settings which are now interfaceMichael Tüxen1-8/+8
specifc. This finalizes the change of the infrastructure. This patch is based on work by Irene Ruengeler. svn path=/trunk/; revision=37794
2011-06-24Make Wireshark portable to all locales by calling setlocale(). This, along ↵Chris Maynard1-0/+3
with my previous commits in revisions 36160 and 36166 ought to fix the problem that Bartosz Kiziukiewicz first reported on the wireshark-users mailing list here: http://www.wireshark.org/lists/wireshark-users/201103/msg00018.html (I successfully generated Wireshark compare statistics after applying this change and also changing my locale to Polish.) svn path=/trunk/; revision=37779
2011-06-20GTK3 fixes:Jörg Mayer1-0/+3
- Replace 2 cases where GtkObject was used (no longer exists in GTK3) - Whenever gdkkeysyms.h is included also include gdkkeysyms-compat.h iff we are building against gtk3 svn path=/trunk/; revision=37722
2011-06-05Rename the tap_dfilter_dlg.[ch] files to reflect that they can do moreGuy Harris1-1/+1
than just filters. svn path=/trunk/; revision=37560
2011-06-05Some work on generalizing the "display filter" tap parameter dialog boxGuy Harris1-1/+1
to more generally support fetching parameters for taps. svn path=/trunk/; revision=37559
2011-06-01Improve handling of command line arg errors (for example "wireshark -f").Michael Tüxen1-30/+31
From Irene Ruengeler. svn path=/trunk/; revision=37505
2011-05-31REmove the check for HAVE_AIRPDCAPAnders Broman1-7/+1
svn path=/trunk/; revision=37494
2011-05-31Get rid of has_cfilter to simplify the handling of multiple interfaces.Michael Tüxen1-2/+1
svn path=/trunk/; revision=37478
2011-05-24Move the Windows argument list conversion code to a common routine.Gerald Combs1-9/+2
svn path=/trunk/; revision=37372
2011-05-21Fix the capturing from the GUI. Honor the iface variable.Michael Tüxen1-3/+1
The next step is to retire the iface variable and use the ifaces array only. This should simplify things and fix the cases, where you start wireshark with command line arguments and also use the GUI. svn path=/trunk/; revision=37342
2011-05-19When capturing from multiple interfaces, indicate this in the windowMichael Tüxen1-1/+1
title of the wireshark main window. svn path=/trunk/; revision=37289
2011-05-18Add support for multiple interfaces for the -L option.Michael Tüxen1-16/+19
svn path=/trunk/; revision=37250
2011-05-15main_widgets_rearrange(): only pack the airpcap_tb once (to avoid GTK ↵Jeff Morriss1-15/+10
complaints about the child already having a parent). svn path=/trunk/; revision=37150
2011-05-13Get -L and -d working with multiple interface. Internally get some functionsMichael Tüxen1-1/+2
using the array of interface data. Improve output of -L by printing the interface name. svn path=/trunk/; revision=37120