Commit Graph

5932 Commits

Author SHA1 Message Date
Martin Mathieson 56643a4091 Show % UL padding as a progress bar.
svn path=/trunk/; revision=40382
2012-01-05 02:00:13 +00:00
Gerald Combs 23a520237b Add initial support for Qt along with a "ui" subdirectory.
svn path=/trunk/; revision=40378
2012-01-04 22:13:01 +00:00
Anders Broman 56188e9d27 From Mike Morrin:
GSM ENHANCED MEASUREMENT REPORT PDUs were not
dissected when present as L3_INFO in RSL MEAS_RES PDUs.

It seems that the RSL L3_INFO needs to be handled by a different dissector
depending on whether it contains a DTAP, SACCH or CCCH PDU, which fortunately
can be deduced from the RSL PDU type.  packet-rsl.c is updated to implement
this.

In packet-gsm_a_rr.c the dissection of PDUs with RR Short PD format is
improved, and also some items are renamed to make clearer the difference
between SACCH PDUs (which cna be normal or Short PD format) and RR Short PD
format PDUs (which can occur on SACCH, CCCH, or DCH).

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6699

svn path=/trunk/; revision=40357
2012-01-01 19:57:47 +00:00
Guy Harris 34c702458b Put back paragraph break.
svn path=/trunk/; revision=40351
2011-12-31 03:20:19 +00:00
Guy Harris 9f46f8b39e Leave more word-wrapping to the toolkit.
svn path=/trunk/; revision=40350
2011-12-31 03:14:30 +00:00
Guy Harris 8acc256afe We don't have any links to activate if we don't have pcap.
svn path=/trunk/; revision=40343
2011-12-30 07:31:18 +00:00
Guy Harris a031c4aec3 Make the links in the "WinPcap doesn't appear to be installed" text
active.

Get rid of hard returns, and make it word wrap.

svn path=/trunk/; revision=40342
2011-12-30 07:07:20 +00:00
Guy Harris 3c2f7c883d Clean up word wrapping a bit.
svn path=/trunk/; revision=40341
2011-12-30 04:26:33 +00:00
Guy Harris 815d6367c4 For the "don't have WinPcap" case, put up some stuff in the welcome
screen discussing that.  (XXX - those links should be made live.)

svn path=/trunk/; revision=40340
2011-12-30 00:52:15 +00:00
Guy Harris cc98c8a901 Get rid of extra blank line.
svn path=/trunk/; revision=40338
2011-12-29 23:34:20 +00:00
Guy Harris 32c1ee2010 Leave it up to dumpcap to determine whether WinPcap was loaded and, if
it wasn't, whether it matters; that way you can still capture from a
pipe (named or "-" for standard input) even if you don't have WinPcap.

svn path=/trunk/; revision=40337
2011-12-29 23:33:29 +00:00
Guy Harris 7e531049a0 Swallow cant_load_winpcap_err() up into capture-wpcap.c, so that
anything that uses WinPcap can use that message text in its error
messages.

svn path=/trunk/; revision=40335
2011-12-29 23:09:42 +00:00
Guy Harris 3864d5d19d Add an additional DONT_HAVE_PCAP return value from get_interface_list()
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-29 22:49:49 +00:00
Stig Bjørlykke 87d587b53f Set filter text after connecting to filter string callback so the
initial filter will be syntax checked.

svn path=/trunk/; revision=40324
2011-12-29 11:54:08 +00:00
Gerald Combs dc9a4de8c9 Add PLACE_OF_INTEREST_SIGN, a.k.a. the OS X Command key symbol. Annotate
entries with their decimal and hexadecimal values. Add a modeline blurb.

svn path=/trunk/; revision=40322
2011-12-29 00:12:22 +00:00
Gerald Combs 6b178bd415 Add 'extern "C"' wrappers and #include guards to various header files.
svn path=/trunk/; revision=40321
2011-12-29 00:08:47 +00:00
Bill Meier 43466d9eb1 Use tvb accessors rather than directly accessing tvb struct.
svn path=/trunk/; revision=40286
2011-12-23 16:14:06 +00:00
Chris Maynard e4733909c1 Correct a few typos.
svn path=/trunk/; revision=40250
2011-12-20 17:53:44 +00:00
Chris Maynard da449008f1 Well, until someone has the time to write ct2ext(), just return the content type, which is better than nothing.
svn path=/trunk/; revision=40155
2011-12-12 00:35:51 +00:00
Chris Maynard cbb120e626 If no filename, include the packet number in the generic name. TODO: Implement the ct2ext() function.
svn path=/trunk/; revision=40154
2011-12-12 00:27:32 +00:00
Chris Maynard 89a747fb07 If the object to export doesn't have a filename, use a generic "object" name instead. This fixes the crash reported in https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6250
svn path=/trunk/; revision=40153
2011-12-11 23:43:03 +00:00
Anders Broman d1738b2a90 Enabling crosshairs on TCP stream graph paints the screen.
Move the problem to GTK3+

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6646

svn path=/trunk/; revision=40106
2011-12-06 19:28:28 +00:00
Guy Harris 3ac10358b5 In capture_prep_monitor_changed_cb(), don't update the monitor mode
checkbox unless we're actually forcing it off.

Small indentation fix.

svn path=/trunk/; revision=40101
2011-12-06 07:13:40 +00:00
Guy Harris 95bcab48a7 If capture_get_if_capabilities() fails, pop up a message, just as we
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-06 04:00:39 +00:00
Anders Broman 8b06ec686b Get rid of warnings.
svn path=/trunk/; revision=40060
2011-12-01 06:33:14 +00:00
Anders Broman f7a1ebf62e Use gtk_box_new() if GTK3+
svn path=/trunk/; revision=40054
2011-11-30 19:53:59 +00:00
Martin Mathieson f24e897094 Extend coverage of #ifdef HAVE_PCAP_REMOTE to cover the static function insert_new_rows().
svn path=/trunk/; revision=40047
2011-11-30 09:47:10 +00:00
Anders Broman f8de290bfa Get rid of warnings.
svn path=/trunk/; revision=40046
2011-11-30 06:58:44 +00:00
Anders Broman 4904586292 Gtk3 package byte highlighter colour fix.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6624

svn path=/trunk/; revision=40036
2011-11-29 17:46:38 +00:00
Martin Mathieson 18478b7ba9 Add priority to the channel table.
svn path=/trunk/; revision=40034
2011-11-29 14:42:22 +00:00
Jörg Mayer 296fade785 There is now an early (source only) Win32 version of GTK3 available.
svn path=/trunk/; revision=40009
2011-11-26 10:50:27 +00:00
Jörg Mayer 4ea7f38015 More warnings "set but not used" fixed
svn path=/trunk/; revision=39969
2011-11-21 15:03:17 +00:00
Guy Harris 741432d483 Handle ctime() and localtime() returning NULL and localtime() on Windows
blowing up when handed a bad value.

svn path=/trunk/; revision=39878
2011-11-16 03:13:02 +00:00
Guy Harris 225d9b98ef Fix indentation.
svn path=/trunk/; revision=39871
2011-11-16 01:25:49 +00:00
Guy Harris a6ccc83e22 If we set "column.hidden" on the command line but don't set
"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-13 22:51:49 +00:00
Anders Broman ec9a5ca9cb From Jan Šafránek:
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-12 11:23:30 +00:00
Guy Harris fbe117bacc Note that we should catch the OutOfMemoryError exception here to avoid
an "unhandled exception" crash if we run out of memory.

svn path=/trunk/; revision=39797
2011-11-12 06:16:57 +00:00
Guy Harris 6b1284fa7c Get rid of the last remnants of the "check the syntax of capture
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-10 23:02:42 +00:00
Gerald Combs b529b73943 Pass a GMutex * instead of a GMutex **.
svn path=/trunk/; revision=39778
2011-11-10 04:01:09 +00:00
Gerald Combs aa0c9c965c Try to fix the GLib thread API deprecations listed in bug 6552.
svn path=/trunk/; revision=39776
2011-11-09 23:43:50 +00:00
Gerald Combs 7d442f4c22 Change the use of threads from "mostly always, depending on your
configure options and Gtk+ and GLib versions" to "always".

svn path=/trunk/; revision=39751
2011-11-07 23:42:53 +00:00
Stig Bjørlykke edc2689422 Only have the option to turn off syntax check capture filter
if not using threads.

svn path=/trunk/; revision=39732
2011-11-04 17:02:33 +00:00
Stig Bjørlykke 66b220330a Revert revision 39665 (for bug 6472) which introduced bug 6537.
svn path=/trunk/; revision=39719
2011-11-02 20:06:40 +00:00
Stig Bjørlykke 69d36a6271 Based on a patch provided by Prashanth in bug 6472:
Only have one Filter Expression window.

svn path=/trunk/; revision=39665
2011-10-29 10:28:58 +00:00
Stig Bjørlykke f62ac938e5 Set default focus to the filter text box.
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-23 14:06:17 +00:00
Jeff Morriss e925843f90 Fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3161 :
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-21 01:03:48 +00:00
Michael Tüxen c219f2eea5 Back out infrastructure change. We missed supporting
stdin and pipes.




svn path=/trunk/; revision=39498
2011-10-20 19:44:40 +00:00
Michael Tüxen 3c1f16f904 (Try to) fix compilation.
svn path=/trunk/; revision=39497
2011-10-20 19:15:38 +00:00
Stig Bjørlykke f806432288 Use g_strdup.
svn path=/trunk/; revision=39496
2011-10-20 18:57:26 +00:00
Michael Tüxen 95ae2fe13a Use a global list containing all interfaces and only change
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-20 18:17:54 +00:00