aboutsummaryrefslogtreecommitdiffstats
path: root/gtk
AgeCommit message (Collapse)AuthorFilesLines
2011-12-29Swallow cant_load_winpcap_err() up into capture-wpcap.c, so thatGuy Harris2-2/+0
anything that uses WinPcap can use that message text in its error messages. svn path=/trunk/; revision=40335
2011-12-29Add an additional DONT_HAVE_PCAP return value from get_interface_list()Guy Harris4-4/+10
and capture_interface_list(). Return it if, on Windows, we ask for the interface list but don't have WinPcap installed. Handle it like CANT_GET_INTERFACE_LIST. svn path=/trunk/; revision=40334
2011-12-29Set filter text after connecting to filter string callback so theStig Bjørlykke1-5/+6
initial filter will be syntax checked. svn path=/trunk/; revision=40324
2011-12-29Add PLACE_OF_INTEREST_SIGN, a.k.a. the OS X Command key symbol. AnnotateGerald Combs1-4/+18
entries with their decimal and hexadecimal values. Add a modeline blurb. svn path=/trunk/; revision=40322
2011-12-29Add 'extern "C"' wrappers and #include guards to various header files.Gerald Combs1-4/+12
svn path=/trunk/; revision=40321
2011-12-23Use tvb accessors rather than directly accessing tvb struct.Bill Meier1-5/+4
svn path=/trunk/; revision=40286
2011-12-20Correct a few typos.Chris Maynard1-3/+3
svn path=/trunk/; revision=40250
2011-12-12Well, until someone has the time to write ct2ext(), just return the content ↵Chris Maynard1-3/+3
type, which is better than nothing. svn path=/trunk/; revision=40155
2011-12-12If no filename, include the packet number in the generic name. TODO: ↵Chris Maynard1-8/+21
Implement the ct2ext() function. svn path=/trunk/; revision=40154
2011-12-11If the object to export doesn't have a filename, use a generic "object" name ↵Chris Maynard1-5/+11
instead. This fixes the crash reported in https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6250 svn path=/trunk/; revision=40153
2011-12-06Enabling crosshairs on TCP stream graph paints the screen.Anders Broman1-2/+2
Move the problem to GTK3+ https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6646 svn path=/trunk/; revision=40106
2011-12-06In capture_prep_monitor_changed_cb(), don't update the monitor modeGuy Harris1-5/+3
checkbox unless we're actually forcing it off. Small indentation fix. svn path=/trunk/; revision=40101
2011-12-06If capture_get_if_capabilities() fails, pop up a message, just as weGuy Harris1-5/+140
print a message in tshark. That doesn't fix the problem seen on Linux distributions, such as recent versions of Debian and derivatives, that have libpcap 1.1.0 or later built without libnl, where the monitor mode checkbox doesn't work - that's a libpcap bug, fixed in the 1.2 branch and trunk, so a future 1.2.1 or 1.3.0 release should fix it, and perhaps a future Debian release will build libpcap with libnl - but at least it means you get a dialog box rather than just getting mysterious behavior when you try to check the "monitor mode" checkbox. svn path=/trunk/; revision=40098
2011-12-01Get rid of warnings.Anders Broman2-39/+39
svn path=/trunk/; revision=40060
2011-11-30Use gtk_box_new() if GTK3+Anders Broman1-1/+174
svn path=/trunk/; revision=40054
2011-11-30Extend coverage of #ifdef HAVE_PCAP_REMOTE to cover the static function ↵Martin Mathieson1-2/+0
insert_new_rows(). svn path=/trunk/; revision=40047
2011-11-30Get rid of warnings.Anders Broman2-35/+35
svn path=/trunk/; revision=40046
2011-11-29Gtk3 package byte highlighter colour fix.Anders Broman1-16/+23
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6624 svn path=/trunk/; revision=40036
2011-11-29Add priority to the channel table.Martin Mathieson1-2/+10
svn path=/trunk/; revision=40034
2011-11-26There is now an early (source only) Win32 version of GTK3 available.Jörg Mayer1-1/+3
svn path=/trunk/; revision=40009
2011-11-21More warnings "set but not used" fixedJörg Mayer2-8/+2
svn path=/trunk/; revision=39969
2011-11-16Handle ctime() and localtime() returning NULL and localtime() on WindowsGuy Harris1-22/+30
blowing up when handed a bad value. svn path=/trunk/; revision=39878
2011-11-16Fix indentation.Guy Harris1-1/+1
svn path=/trunk/; revision=39871
2011-11-13If we set "column.hidden" on the command line but don't setGuy Harris2-35/+20
"column.format" in a later argument, make sure we mark the appropriate existing columns as hidden. As part of cleaning up the infrastructure for doing this, store the COL_ code for a column in a fmt_data structure rather than a pointer to the raw column format string; this simplifies some code. Have a routine to return whether a column is visible, not hidden, as it's used to set a "visible" flag. svn path=/trunk/; revision=39822
2011-11-12From Jan Šafránek:Anders Broman1-4/+5
if the message box is displayed when the main window is in GDK_WINDOW_STATE_WITHDRAWN state (i.e. the main window is being composed and it is not shown yet), the message box gets overlapped by the main window when it's finally shown. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6559 svn path=/trunk/; revision=39800
2011-11-12Note that we should catch the OutOfMemoryError exception here to avoidGuy Harris1-0/+4
an "unhandled exception" crash if we run out of memory. svn path=/trunk/; revision=39797
2011-11-10Get rid of the last remnants of the "check the syntax of captureGuy Harris2-10/+1
filters" preference; now that we always build with threads, we do the syntax checking in a separate thread, so it doesn't hang the UI, and we no longer have UI to change it but we were still trying to fetch the value of the non-existent checkbox for it and getting a warning printed. (We still check for it when reading, so that we don't print warnings if it's present.) svn path=/trunk/; revision=39788
2011-11-10Pass a GMutex * instead of a GMutex **.Gerald Combs1-1/+1
svn path=/trunk/; revision=39778
2011-11-09Try to fix the GLib thread API deprecations listed in bug 6552.Gerald Combs3-6/+30
svn path=/trunk/; revision=39776
2011-11-07Change the use of threads from "mostly always, depending on yourGerald Combs7-130/+18
configure options and Gtk+ and GLib versions" to "always". svn path=/trunk/; revision=39751
2011-11-04Only have the option to turn off syntax check capture filterStig Bjørlykke1-1/+6
if not using threads. svn path=/trunk/; revision=39732
2011-11-02Revert revision 39665 (for bug 6472) which introduced bug 6537.Stig Bjørlykke1-10/+2
svn path=/trunk/; revision=39719
2011-10-29Based on a patch provided by Prashanth in bug 6472:Stig Bjørlykke1-2/+10
Only have one Filter Expression window. svn path=/trunk/; revision=39665
2011-10-23Set default focus to the filter text box.Stig Bjørlykke1-19/+10
Don't use a tree view for IP addresses, as it's not possible to do any actions on them. Just list them as labels. Maybe we should have the scrolled window only if having more than 2 IP addresses? svn path=/trunk/; revision=39510
2011-10-21Fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3161 :Jeff Morriss1-5/+5
Solaris doesn't like _XOPEN_SOURCE being defined but with no value, at least when being compiled in C99-mode. So set it to 600 (XPG6); hopefully this won't break any other systems. svn path=/trunk/; revision=39501
2011-10-20Back out infrastructure change. We missed supportingMichael Tüxen9-970/+1474
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 g_strdup.Stig Bjørlykke2-2/+2
svn path=/trunk/; revision=39496
2011-10-20Use a global list containing all interfaces and only changeMichael Tüxen9-1475/+963
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-19Fix a bug when drawing TSN plots which results in a crash.Michael Tüxen1-1/+2
Obtained from Irene Ruengeler. svn path=/trunk/; revision=39466
2011-10-18There's only one expert info dialog now; dispense with the "composite" partJeff Morriss2-8/+8
of the name (at least what we show users; the files and functions still reference composite). svn path=/trunk/; revision=39462
2011-10-14Make make_menu_actions() static again, but protect withMartin Mathieson1-1/+5
#ifdef HAVE_LUA_5_1 #endif As per discission on wireshark-dev, this function might later see wider use, so don't add 'lua' to the function name. svn path=/trunk/; revision=39424
2011-10-14make_menu_items() isn't called without LUA support, so can't be static.Martin Mathieson1-1/+1
svn path=/trunk/; revision=39422
2011-10-14{0, NULL} is required as the last value_string array entry: value_string ↵Anders Broman1-1/+2
VALS_GROUP_NAMES[] svn path=/trunk/; revision=39412
2011-10-14From Tony Trinh:Anders Broman2-44/+255
Patch to fix/restore Lua menu functionality Remove unnecessary Lua placeholder in UI definition for the main menu bar https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6405 svn path=/trunk/; revision=39410
2011-10-13Make clang on Mac OS X 10.7.2. happy.Michael Tüxen1-1/+1
svn path=/trunk/; revision=39406
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 Combs3-24/+200
svn path=/trunk/; revision=39349
2011-10-09Added a button to refresh a UAT from the system defaults (if existing).Stig Bjørlykke1-41/+66
Added a button to clear the list. Added tooltip to some buttons. Removed unused clist code. svn path=/trunk/; revision=39319
2011-10-06Fix unused parameter warnings.Anders Broman1-7/+7
svn path=/trunk/; revision=39290