set_menu_visible needs to be protected to avoid defined but unused
warning turned error.


git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@43372 f5534014-38df-0310-8fa8-9805f1628bb7
capture_dlg.h:
- Replace airpcap_tb in comment
- Remove trailing whitespace
main.c:
- wireless_tb must always be defined now, even if compiling without
  HAVE_AIRPCAP


git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@43373 f5534014-38df-0310-8fa8-9805f1628bb7
Replace last instance of airpcap_tb by wireless_tb for
consistency.


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

add libnl detection to configure
(not yet used until the missing part of bug 6973 has been committed)


git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@43375 f5534014-38df-0310-8fa8-9805f1628bb7
Mark another variable as volatile to pacify the buildbot.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@43376 f5534014-38df-0310-8fa8-9805f1628bb7
Followup to r43370: don't install idl2wrs or its man page.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@43377 f5534014-38df-0310-8fa8-9805f1628bb7
Use newly introduced proto_tree_add_unicode_string() to add UTF-8 strings


git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@43379 f5534014-38df-0310-8fa8-9805f1628bb7
The "save as" dialog is modal, so we don't need to worry about keeping
track of multiple such "save as" windows.

Use modal dialog boxes to report errors, while we're at it.  That lets
us keep the dialog open if we get an error.


git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@43380 f5534014-38df-0310-8fa8-9805f1628bb7
The GTK+ file chooser already *includes* UI code to ask the user whether
they want to overwrite an existing file; just use that.  (The Win32 file
chooser also does that itself.)  Just do UI for "do you want to
overwrite this {user-immutable,unwritable} file?".


git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@43381 f5534014-38df-0310-8fa8-9805f1628bb7
AAAAARGH.  Making the UI libs platform-dependent breaks dependency
checking, so if a UI library changes Wireshark won't be relinked with
it.  Revert the change that made them platform-dependent; we may end up
having to have separate targets for GTK+ Wireshark and Qt Wireshark.


git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@43384 f5534014-38df-0310-8fa8-9805f1628bb7
Use tvb_get_ephemeral_string_enc() in combination with proto_tree_add_unicode_string() (as recommended by Jakub on the mailing list)


git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@43385 f5534014-38df-0310-8fa8-9805f1628bb7
Simplify proto_tree_add_string_format_value(..., val, "%s", val) with proto_tree_add_string.

hash is 16-bytes hex dump (ASCII!). No need to use proto_tree_add_string_format_value().


git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@43386 f5534014-38df-0310-8fa8-9805f1628bb7
ascend_scanner.c includes ascend.h. Add corresponding makefile
dependencies, otherwise we might have a race condition when doing
parallel makes. Hopefully this will fix intermitten buildbot failures
we've been getting lately.


git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@43387 f5534014-38df-0310-8fa8-9805f1628bb7
Correct the IPv6 fragment offset shown in COL_INFO.

Make some Fragment header fields filterable (add_text() -> add_item()).
Display (and make filterable) the reserved octet and bits.


git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@43389 f5534014-38df-0310-8fa8-9805f1628bb7
Add a list of release dates for major versions of GTK+ and GLib in case
we want to have another Purging Of Old Code.


git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@43390 f5534014-38df-0310-8fa8-9805f1628bb7
Use the first matched color instead of the last one, which is what
Wireshark does.


git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@43391 f5534014-38df-0310-8fa8-9805f1628bb7
If the file has an SHB comment or any packet comments, and the user
tries to do "Save As" in a format for which we don't support comments
(currently, we only support them for pcap-ng), ask whether they want to
discard the comments and save anyway or, *if* the file can be saved in a
format for which we *do* support comments, they want to save the file in
some other format.

Keep a count of packet comments so that we don't have to scan all the
frame_data structures to determine whether we have any comments.


git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@43392 f5534014-38df-0310-8fa8-9805f1628bb7
MAke it compile by adding discard_comments = FALSE

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@43394 f5534014-38df-0310-8fa8-9805f1628bb7
Handle the case where the user has added comments to a file that's not
in a format that supports comments and they do a "Save" by popping up a
similar question to the one we pop up in the "Save As" case and, if they
say "choose another format", pop up a "Save As" dialog box.


git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@43395 f5534014-38df-0310-8fa8-9805f1628bb7
Clean up white space (no tabs).


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