obnox/wireshark/wip.git
8 years agoAdd instructions how to work with "git svn" instead of "svn"
jmayer [Mon, 18 Jul 2011 12:44:19 +0000 (12:44 +0000)]
Add instructions how to work with "git svn" instead of "svn"

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38080 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoUpdate STATUS.gtk3
jmayer [Mon, 18 Jul 2011 12:40:40 +0000 (12:40 +0000)]
Update STATUS.gtk3
Make linking with stubbed out proto_help functions really work.
Add a comment to proto_help that its functionality will be lost
  once we make the ui-manager code default unless someone cares
  enough to fix it.
Enable -DGTK_DISABLE_DEPRECATED iff building with ui-manager.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38079 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoPrevent error about undefined function while linking.
jmayer [Mon, 18 Jul 2011 12:18:00 +0000 (12:18 +0000)]
Prevent error about undefined function while linking.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38078 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoFor UL retx, show links forward to next Tx as well as backwards to previous.
martinm [Mon, 18 Jul 2011 11:57:38 +0000 (11:57 +0000)]
For UL retx, show links forward to next Tx as well as backwards to previous.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38077 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoAdd a generated field for the number of NACKs in an AM status PDU.
martinm [Mon, 18 Jul 2011 10:40:57 +0000 (10:40 +0000)]
Add a generated field for the number of NACKs in an AM status PDU.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38076 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoWe don't have an "--enable-osxapp" configure option; update a comment.
guy [Sun, 17 Jul 2011 23:47:10 +0000 (23:47 +0000)]
We don't have an "--enable-osxapp" configure option; update a comment.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38075 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoGet rid of the .pkg and .dmg with "make clean".
guy [Sun, 17 Jul 2011 20:40:13 +0000 (20:40 +0000)]
Get rid of the .pkg and .dmg with "make clean".

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38074 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoAdd the .pkg and .dmg to the list of files to ignore.
guy [Sun, 17 Jul 2011 20:36:17 +0000 (20:36 +0000)]
Add the .pkg and .dmg to the list of files to ignore.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38073 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoHandle versions of GTK+ where gdk-pixbuf is a separate library.
guy [Sun, 17 Jul 2011 20:23:07 +0000 (20:23 +0000)]
Handle versions of GTK+ where gdk-pixbuf is a separate library.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38072 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoCleanup and indent in Makefile.
stig [Sun, 17 Jul 2011 17:56:57 +0000 (17:56 +0000)]
Cleanup and indent in Makefile.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38071 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoCheck for a valid wspy_dissectors disectory to avoid a warning if missing.
stig [Sun, 17 Jul 2011 17:56:42 +0000 (17:56 +0000)]
Check for a valid wspy_dissectors disectory to avoid a warning if missing.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38070 f5534014-38df-0310-8fa8-9805f1628bb7

8 years ago[Automatic manuf, services and enterprise-numbers update for 2011-07-17]
gerald [Sun, 17 Jul 2011 14:03:36 +0000 (14:03 +0000)]
[Automatic manuf, services and enterprise-numbers update for 2011-07-17]

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38067 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoInclude Cairo lib to be able to use caro functions.
etxrab [Sun, 17 Jul 2011 13:18:55 +0000 (13:18 +0000)]
Include Cairo lib to be able to use caro functions.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38066 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoRepair "Follow TCP Stream" which got broken by my change in SVN 38056
sake [Sun, 17 Jul 2011 11:08:02 +0000 (11:08 +0000)]
Repair "Follow TCP Stream" which got broken by my change in SVN 38056

Mental note: Try to not do half work ;-)

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38065 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoImproved check for valid custom column in preferences.
stig [Sat, 16 Jul 2011 18:30:57 +0000 (18:30 +0000)]
Improved check for valid custom column in preferences.

This fixes bug 6131.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38064 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoRemove redundant code.
tuexen [Sat, 16 Jul 2011 17:04:48 +0000 (17:04 +0000)]
Remove redundant code.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38063 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoUse correct plausability check.
tuexen [Sat, 16 Jul 2011 14:19:43 +0000 (14:19 +0000)]
Use correct plausability check.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38062 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoAdd option for USE_THREADS.
tuexen [Sat, 16 Jul 2011 13:05:46 +0000 (13:05 +0000)]
Add option for USE_THREADS.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38061 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoUse threads per default. Same as on Windows.
tuexen [Sat, 16 Jul 2011 13:02:44 +0000 (13:02 +0000)]
Use threads per default. Same as on Windows.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38060 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoUse the threads based workaround only on windows (with thread support enabled),
tuexen [Sat, 16 Jul 2011 12:45:47 +0000 (12:45 +0000)]
Use the threads based workaround only on windows (with thread support enabled),
since the workaround is only intended to work on windows.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38059 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoProvide information regarding thred support.
tuexen [Sat, 16 Jul 2011 12:19:57 +0000 (12:19 +0000)]
Provide information regarding thred support.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38058 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoDon't allow capturing from multiple interface when compiled with multiple thread
tuexen [Sat, 16 Jul 2011 11:07:32 +0000 (11:07 +0000)]
Don't allow capturing from multiple interface when compiled with multiple thread
support.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38057 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoStop using the conversation index for tcp stream values as the gaps in the numbering...
sake [Fri, 15 Jul 2011 23:40:16 +0000 (23:40 +0000)]
Stop using the conversation index for tcp stream values as the gaps in the numbering is causing to many questions. Also, numbering could be different for the same file when viewed on different Wireshark versions, which could lead to confusion too.

(see also: http://ask.wireshark.org/questions/5056/how-does-wireshark-calculate-the-tcp-stream-index)

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38056 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoPatch GnuTLS's pkg-config file; it says "requires zlib", but OS X, while
guy [Fri, 15 Jul 2011 23:26:22 +0000 (23:26 +0000)]
Patch GnuTLS's pkg-config file; it says "requires zlib", but OS X, while
it supplies zlib, doesn't supply a pkgconfig file for it, so we don't
want it to say "requires zlib".

This script is part of the Wireshark source, so giving "download
Wireshark source" as the next step doesn't make sense.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38055 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoUpdate URL addition in r37899 with an "original" site instead of a mirror.
sfisher [Fri, 15 Jul 2011 22:50:53 +0000 (22:50 +0000)]
Update URL addition in r37899 with an "original" site instead of a mirror.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38054 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoAdd Joerg Mayer's macos-setup.sh script, modified to add an "x" after
guy [Fri, 15 Jul 2011 21:48:02 +0000 (21:48 +0000)]
Add Joerg Mayer's macos-setup.sh script, modified to add an "x" after
"macos", to fix some bugs, to use "sudo" if necessary when installing,
to make the library version numbers variables, and to download the
optional libraries, by default, as well.  Also add his patches to make
GLib build and work.

Update README.macos to reflect that.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38053 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoGet rid of two gtk runtime warnings.
tuexen [Fri, 15 Jul 2011 21:26:43 +0000 (21:26 +0000)]
Get rid of two gtk runtime warnings.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38052 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoDon't show interface info when loading a capture file.
tuexen [Fri, 15 Jul 2011 20:45:28 +0000 (20:45 +0000)]
Don't show interface info when loading a capture file.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38051 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoFrom bug 6129:
stig [Fri, 15 Jul 2011 19:35:46 +0000 (19:35 +0000)]
From bug 6129:
Added proto_tree_add_uint_bits_format_value to libwireshark.def.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38050 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoFix gcc 4.6 "set but not used [-Wunused-but-set-variable]" warnings.
wmeier [Fri, 15 Jul 2011 19:07:25 +0000 (19:07 +0000)]
Fix gcc 4.6 "set but not used [-Wunused-but-set-variable]" warnings.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38049 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoUpdate ptvcursor API description to reflect 'endianness' --> 'encoding' parameter...
wmeier [Fri, 15 Jul 2011 17:44:24 +0000 (17:44 +0000)]
Update ptvcursor API description to reflect 'endianness' --> 'encoding' parameter change.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38048 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoFix gcc 4.6 "set but not used [-Wunused-but-set-variable]" warnings;
wmeier [Fri, 15 Jul 2011 16:59:18 +0000 (16:59 +0000)]
Fix gcc 4.6 "set but not used [-Wunused-but-set-variable]" warnings;
Whitespace changes: "4 space tabs" --> spaces.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38047 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoEnsure that USE_THREADS is defined when --enable-threads is specified.
tuexen [Fri, 15 Jul 2011 14:59:42 +0000 (14:59 +0000)]
Ensure that USE_THREADS is defined when --enable-threads is specified.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38046 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoYou can't create a mutex without initializing the thread system.
tuexen [Fri, 15 Jul 2011 14:58:45 +0000 (14:58 +0000)]
You can't create a mutex without initializing the thread system.
So #ifdef the code with USE_THREADS.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38045 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoFix compilation on non-windows platforms defining USE_THREADS.
tuexen [Fri, 15 Jul 2011 14:31:27 +0000 (14:31 +0000)]
Fix compilation on non-windows platforms defining USE_THREADS.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38044 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoHandle the case where dumpcap is compiled without thread support, which
tuexen [Fri, 15 Jul 2011 12:20:00 +0000 (12:20 +0000)]
Handle the case where dumpcap is compiled without thread support, which
is the default.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38043 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoAdd a missing ( in the UI_MANAGER case
jmayer [Fri, 15 Jul 2011 11:14:41 +0000 (11:14 +0000)]
Add a missing ( in the UI_MANAGER case

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38042 f5534014-38df-0310-8fa8-9805f1628bb7

8 years ago* If first 8 bytes in icmp data do not look like a timestamp in BE, try LE representa...
sake [Fri, 15 Jul 2011 08:57:59 +0000 (08:57 +0000)]
* If first 8 bytes in icmp data do not look like a timestamp in BE, try LE representation.

* Change field title to not confuse people when the clocks of the pinging system and the capturing system are not in sync.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38041 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoSet default svn:ignore targets on rua and hnbap.
stig [Fri, 15 Jul 2011 08:23:49 +0000 (08:23 +0000)]
Set default svn:ignore targets on rua and hnbap.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38040 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoFix "comparison between signed and unsigned" warning.
cmaynard [Fri, 15 Jul 2011 04:40:03 +0000 (04:40 +0000)]
Fix "comparison between signed and unsigned" warning.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38039 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoBe sure there's enough bytes in the ICMP payload before trying to access it in
cmaynard [Fri, 15 Jul 2011 02:39:53 +0000 (02:39 +0000)]
Be sure there's enough bytes in the ICMP payload before trying to access it in
order to try to determine if it contains a timestamp.  Added some FIXME notes.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38038 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoNo need to define USE_THREADS twice.
cmaynard [Fri, 15 Jul 2011 01:30:06 +0000 (01:30 +0000)]
No need to define USE_THREADS twice.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38037 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoFix gcc 4.6 "set but not used [-Wunused-but-set-variable]" warnings;
wmeier [Fri, 15 Jul 2011 00:15:01 +0000 (00:15 +0000)]
Fix gcc 4.6 "set but not used [-Wunused-but-set-variable]" warnings;
Also: whitespace cleanup.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38036 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoFix gcc 4.6 "set but not used [-Wunused-but-set-variable]" warnings.
wmeier [Fri, 15 Jul 2011 00:13:59 +0000 (00:13 +0000)]
Fix gcc 4.6 "set but not used [-Wunused-but-set-variable]" warnings.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38035 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoFix gcc 4.6 "set but not used [-Wunused-but-set-variable]" warnings;
wmeier [Fri, 15 Jul 2011 00:08:45 +0000 (00:08 +0000)]
Fix gcc 4.6 "set but not used [-Wunused-but-set-variable]" warnings;
Also:
 - Move proto_reg_handoff_msrp() to the end of the file;
 - Define a function and a global variable as static;

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38034 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoOn Windows enable threads everywhere instead of just in dumpcap. If
gerald [Thu, 14 Jul 2011 23:18:02 +0000 (23:18 +0000)]
On Windows enable threads everywhere instead of just in dumpcap. If
threads are enabled use them to check the recent file list. Fixes bug
3810.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38033 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoAdd a note re possible issues when 'info_all_data_present == FALSE'
wmeier [Thu, 14 Jul 2011 22:17:17 +0000 (22:17 +0000)]
Add a note re possible issues when 'info_all_data_present == FALSE'

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38032 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoFix trunk/gtk/menus.c:4427:9: error: â\80\98sep_entryâ\80\99 undeclared (first use in this...
etxrab [Thu, 14 Jul 2011 22:08:15 +0000 (22:08 +0000)]
Fix trunk/gtk/menus.c:4427:9: error: â\80\98sep_entryâ\80\99 undeclared (first use in this function)

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38031 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoMake windows buildbot happy (hopefully!)
sake [Thu, 14 Jul 2011 22:03:13 +0000 (22:03 +0000)]
Make windows buildbot happy (hopefully!)

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38030 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoFix a property name typo: svn:keyworrds --> svn:keywords
wmeier [Thu, 14 Jul 2011 21:37:39 +0000 (21:37 +0000)]
Fix a property name typo: svn:keyworrds --> svn:keywords

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38029 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoIf the first 8 bytes of the icmp echo/echo-reply data look like a timestamp, dissect...
sake [Thu, 14 Jul 2011 21:27:17 +0000 (21:27 +0000)]
If the first 8 bytes of the icmp echo/echo-reply data look like a timestamp, dissect it as a timestmap and calculate the time since the icmp packet was created.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38028 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoRemove trailing whitespace
jmayer [Thu, 14 Jul 2011 21:25:33 +0000 (21:25 +0000)]
Remove trailing whitespace
Replace a deprecated gdk function

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38027 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoFix property name typo: svn:eol-syle --> svn:eol-style
wmeier [Thu, 14 Jul 2011 21:24:37 +0000 (21:24 +0000)]
Fix property name typo:   svn:eol-syle --> svn:eol-style

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38026 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoUse correct property name: svn.keywords --> svn:keywords
wmeier [Thu, 14 Jul 2011 20:58:14 +0000 (20:58 +0000)]
Use correct property name: svn.keywords --> svn:keywords

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38025 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoRemove \80\98GtkItemFactoryEntry code in MAIN_MENU_USE_UIMANAGER
etxrab [Thu, 14 Jul 2011 20:36:00 +0000 (20:36 +0000)]
Remove \80\98GtkItemFactoryEntry code in MAIN_MENU_USE_UIMANAGER
code path.
Don't build and don't use protocol help if MAIN_MENU_USE_UIMANAGER is defined.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38024 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoFix a crash when doing Telephony ! RTP ! Stream Analysis with capture files with...
wmeier [Thu, 14 Jul 2011 19:51:53 +0000 (19:51 +0000)]
Fix a crash when doing Telephony ! RTP ! Stream Analysis with capture files with truncated frames.
(That is: the capture files were created with a snapshot length less than the maximum).

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

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38023 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoAdd LTE RLC stats tap to tshark.
martinm [Thu, 14 Jul 2011 17:07:41 +0000 (17:07 +0000)]
Add LTE RLC stats tap to tshark.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38019 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoAdd back r37749, which was taken out by accident.
tuexen [Thu, 14 Jul 2011 16:54:44 +0000 (16:54 +0000)]
Add back r37749, which was taken out by accident.
Thanks to Stephen Fisher for pointing it out.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38018 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoUpdate the algorithms in line with RFC 5912 including support for eliptic curve algor...
gal [Thu, 14 Jul 2011 13:47:13 +0000 (13:47 +0000)]
Update the algorithms in line with RFC 5912 including support for eliptic curve algorithms.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38017 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoAdd LTE MAC statistics to tshark.
martinm [Thu, 14 Jul 2011 13:39:02 +0000 (13:39 +0000)]
Add LTE MAC statistics to tshark.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38016 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoFix the last non-gtkitemfactory stuff for use with -DGTK_DISABLE_DEPRECATED.
jmayer [Thu, 14 Jul 2011 09:43:53 +0000 (09:43 +0000)]
Fix the last non-gtkitemfactory stuff for use with -DGTK_DISABLE_DEPRECATED.
Left are:

gtk/menus.c:4382:5: error: ‘GtkItemFactoryEntry’ undeclared (first use in this function)
gtk/menus.c:4382:26: error: ‘sep_entry’ undeclared (first use in this function)
gtk/proto_help.c:79:16: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
gtk/proto_help.c:166:2: error: ‘g_ph_menu_factory’ undeclared (first use in this function)
gtk/proto_help.c:166:2: error: implicit declaration of function ‘gtk_item_factory_from_widget’
gtk/proto_help.c:181:6: error: ‘g_ph_menu_factory’ undeclared (first use in this function)
gtk/proto_help.c:183:2: error: implicit declaration of function ‘gtk_item_factory_get_widget’
gtk/proto_help.c:191:2: error: implicit declaration of function ‘gtk_item_factory_get_item’
gtk/proto_help.c:216:2: error: ‘GtkItemFactoryEntry’ undeclared (first use in this function)
gtk/proto_help.c:216:23: error: ‘menu_entry’ undeclared (first use in this function)
gtk/proto_help.c:217:2: error: ISO C90 forbids mixed declarations and code
gtk/proto_help.c:222:6: error: ‘g_ph_menu_factory’ undeclared (first use in this function)
gtk/proto_help.c:258:4: error: implicit declaration of function ‘gtk_item_factory_create_item’

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38015 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoUpdate to correct the definition of the clearance attribute used in certificates.
gal [Thu, 14 Jul 2011 08:47:05 +0000 (08:47 +0000)]
Update to correct the definition of the clearance attribute used in certificates.
RFC3281 erroneously defined the Clearance attribute to be different to that defined in X.509. This has been recognised and corrected in RFC5755.
The RFC3281 syntax is retained and registered as the "RFC3281Clearance" syntax, which can be used to override the correct syntax in the BER oidtables if necessary.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38014 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoReplace deprecated gdk_pixmap_unref() with g_object_unref().
etxrab [Thu, 14 Jul 2011 08:11:16 +0000 (08:11 +0000)]
Replace deprecated gdk_pixmap_unref() with g_object_unref().
Update checkAPIs.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38013 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoFrom Joerg Mayer:
etxrab [Thu, 14 Jul 2011 08:02:32 +0000 (08:02 +0000)]
From Joerg Mayer:
Patch fixes most of the remaining errors when compiling with
GTK_DISABLE_DEPRECATED.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38012 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoAs with Makefile.am, so with Makefile.nmake. To quote the comment for
guy [Thu, 14 Jul 2011 03:15:09 +0000 (03:15 +0000)]
As with Makefile.am, so with Makefile.nmake.  To quote the comment for
rev 37866:

  Removed empty directory docbook/wsluarm_src.  It's generated during 'make',
  and now removed during 'make clean'.

so we have to generate it now during nmake as well.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38011 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoUpdate status of compile with -DGTK_DISABLE_DEPRECATED
jmayer [Thu, 14 Jul 2011 00:16:14 +0000 (00:16 +0000)]
Update status of compile with -DGTK_DISABLE_DEPRECATED

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38007 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoFix some compiler errors with -DGTK_DISABLE_DEPRECATED
jmayer [Thu, 14 Jul 2011 00:04:37 +0000 (00:04 +0000)]
Fix some compiler errors with -DGTK_DISABLE_DEPRECATED

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38006 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agomake compiling with -DGTK_DISABLE_DEPRECATED work
jmayer [Wed, 13 Jul 2011 22:49:38 +0000 (22:49 +0000)]
make compiling with -DGTK_DISABLE_DEPRECATED work

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38005 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agomake compiling with -DGTK_DISABLE_DEPRECATED work
jmayer [Wed, 13 Jul 2011 22:32:05 +0000 (22:32 +0000)]
make compiling with -DGTK_DISABLE_DEPRECATED work

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38004 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoFix gcc 4.6 "set but not used [-Wunused-but-set-variable]" warnings
wmeier [Wed, 13 Jul 2011 19:48:58 +0000 (19:48 +0000)]
Fix gcc 4.6 "set but not used [-Wunused-but-set-variable]" warnings

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38001 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoFix gcc 4.6 "set but not used [-Wunused-but-set-variable]" warnings
wmeier [Wed, 13 Jul 2011 18:42:40 +0000 (18:42 +0000)]
Fix gcc 4.6 "set but not used [-Wunused-but-set-variable]" warnings

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37999 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoFix gcc 4.6 "set but not used [-Wunused-but-set-variable]" warnings
wmeier [Wed, 13 Jul 2011 17:04:55 +0000 (17:04 +0000)]
Fix gcc 4.6 "set but not used [-Wunused-but-set-variable]" warnings

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37998 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoRemove two deprecated functions.
etxrab [Wed, 13 Jul 2011 14:47:31 +0000 (14:47 +0000)]
Remove two deprecated functions.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37997 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoFix more tooltips fixes.
etxrab [Wed, 13 Jul 2011 08:48:13 +0000 (08:48 +0000)]
Fix more tooltips fixes.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37996 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoDisplay interface stuff only when interfaces are available.
tuexen [Tue, 12 Jul 2011 21:33:11 +0000 (21:33 +0000)]
Display interface stuff only when interfaces are available.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37995 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoCopy over behaviour of commit 37967 for configure.in
jmayer [Tue, 12 Jul 2011 21:24:15 +0000 (21:24 +0000)]
Copy over behaviour of commit 37967 for configure.in

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37994 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoRemote trailing whitespace
jmayer [Tue, 12 Jul 2011 21:21:13 +0000 (21:21 +0000)]
Remote trailing whitespace

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37993 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoAdd a comment noting why AirPcap support cannot be unconditionally
guy [Tue, 12 Jul 2011 17:19:17 +0000 (17:19 +0000)]
Add a comment noting why AirPcap support cannot be unconditionally
enabled by default (i.e., it's Windows-only).  InterCap the name.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37992 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoDisable airpcap by default. This matches the configure script.
tuexen [Tue, 12 Jul 2011 11:10:57 +0000 (11:10 +0000)]
Disable airpcap by default. This matches the configure script.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37991 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoThis fixes the compile issue reported in
tuexen [Tue, 12 Jul 2011 11:06:44 +0000 (11:06 +0000)]
This fixes the compile issue reported in
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6111

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37990 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoSpeed up (slightly) reading of long text lines.
martinm [Tue, 12 Jul 2011 10:49:22 +0000 (10:49 +0000)]
Speed up (slightly) reading of long text lines.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37989 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoFix more tooltips.
etxrab [Tue, 12 Jul 2011 06:54:01 +0000 (06:54 +0000)]
Fix more tooltips.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37988 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoFix more tooltips.
etxrab [Tue, 12 Jul 2011 06:15:24 +0000 (06:15 +0000)]
Fix more tooltips.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37987 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoAdd a bunch of URLs for character encoding information.
guy [Tue, 12 Jul 2011 00:14:37 +0000 (00:14 +0000)]
Add a bunch of URLs for character encoding information.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37986 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoHaving a non-NULL capture_opts->save_file might make us crash less.
gerald [Mon, 11 Jul 2011 22:51:46 +0000 (22:51 +0000)]
Having a non-NULL capture_opts->save_file might make us crash less.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37983 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoUse the proper function name.
gerald [Mon, 11 Jul 2011 22:41:53 +0000 (22:41 +0000)]
Use the proper function name.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37982 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoFix more tooltips.
etxrab [Mon, 11 Jul 2011 21:29:47 +0000 (21:29 +0000)]
Fix more tooltips.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37980 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoMore GLIB_CHECK_VERSION cleanups. Update the minimum GLib/GTK+ versions
gerald [Mon, 11 Jul 2011 20:32:19 +0000 (20:32 +0000)]
More GLIB_CHECK_VERSION cleanups. Update the minimum GLib/GTK+ versions
in README.devloper. Remove g_gnuc.h since it's no longer needed. Remove
tvbuff_init(), tvbuff_cleanup(), reassemble_init(), and
reassemble_cleanup() since they were only used for older GLib versions
which didn't support GSlices. Assume we always support the "matches"
operator.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37978 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoFix more tooltips, mark gtk_tooltips_new with 'E' in checkapi.
etxrab [Mon, 11 Jul 2011 20:01:28 +0000 (20:01 +0000)]
Fix more tooltips, mark gtk_tooltips_new with 'E' in checkapi.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37976 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoFix a couple of tooltips.
etxrab [Mon, 11 Jul 2011 19:34:57 +0000 (19:34 +0000)]
Fix a couple of tooltips.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37975 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoIn version_info.c, assume we always have the "matches" operator. In
gerald [Mon, 11 Jul 2011 19:15:57 +0000 (19:15 +0000)]
In version_info.c, assume we always have the "matches" operator. In
capture_opts.c, assume our output filename has been passed through
arg_list_utf_16to8().

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37974 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoRemaining GLIB_CHECK_VERSION and GTK_CHECK_VERSION in the gtk directory.
gerald [Mon, 11 Jul 2011 19:10:57 +0000 (19:10 +0000)]
Remaining GLIB_CHECK_VERSION and GTK_CHECK_VERSION in the gtk directory.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37973 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoGTK_CHECK_VERSION cleanup.
etxrab [Mon, 11 Jul 2011 18:54:49 +0000 (18:54 +0000)]
GTK_CHECK_VERSION cleanup.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37972 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoMore GLIB_CHECK_VERSION and GTK_CHECK_VERSION cleanup.
gerald [Mon, 11 Jul 2011 18:35:36 +0000 (18:35 +0000)]
More GLIB_CHECK_VERSION and GTK_CHECK_VERSION cleanup.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37971 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoMore GLIB_CHECK_VERSION, GTK_CHECK_VERSION, and related whitespace
gerald [Mon, 11 Jul 2011 18:18:35 +0000 (18:18 +0000)]
More GLIB_CHECK_VERSION, GTK_CHECK_VERSION, and related whitespace
cleanup.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37970 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoRemove a lot of instances of GTK_CHECK_VERSION. Clean up whitespace in a
gerald [Mon, 11 Jul 2011 18:08:08 +0000 (18:08 +0000)]
Remove a lot of instances of GTK_CHECK_VERSION. Clean up whitespace in a
couple of places.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37969 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoMake the minimum GLib version 2.14 and the minimum GTK+ version 2.12.
gerald [Mon, 11 Jul 2011 17:49:59 +0000 (17:49 +0000)]
Make the minimum GLib version 2.14 and the minimum GTK+ version 2.12.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37967 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoChange encoding type from FALSE to ENC_BIG_ENDIAN.
etxrab [Mon, 11 Jul 2011 13:44:29 +0000 (13:44 +0000)]
Change encoding type from FALSE to ENC_BIG_ENDIAN.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37963 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoFrom qgj:
etxrab [Mon, 11 Jul 2011 13:43:12 +0000 (13:43 +0000)]
From qgj:
when dissect the capwap control header,the sequence's value is decoded
improperly,it tooks the wrong offset value,so the control messages' sequence is
showed improperly.
Changed to uset proto_add_item and encoding type changed from FALSE to ENC_BIG_ENDIAN.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37962 f5534014-38df-0310-8fa8-9805f1628bb7

8 years agoChange encoding type from FALSE to ENC_BIG_ENDIAN.
etxrab [Mon, 11 Jul 2011 13:41:19 +0000 (13:41 +0000)]
Change encoding type from FALSE to ENC_BIG_ENDIAN.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37961 f5534014-38df-0310-8fa8-9805f1628bb7