aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/proto_help.c
AgeCommit message (Collapse)AuthorFilesLines
2012-01-15Move gtk to ui/gtk.jmayer1-696/+0
This looses the last checkin to gtk, will add this manually back. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@40518 f5534014-38df-0310-8fa8-9805f1628bb7
2011-09-25We now always build with MAIN_MENU_USE_UIMANAGER, so remove all code usingjmayer1-3/+5
the old ways except the proto_help.c file, which is kept for now in case someone is willing to reimplement the help menus using non-deprecated methods. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39137 f5534014-38df-0310-8fa8-9805f1628bb7
2011-08-22Rename UI_MANAGER to ENABLE_UI_MANAGER, put it intojmayer1-2/+2
CMakeOptions and enable it by default. Update comment in proto_help that this feature is no longer built by default. Enable PYTHON by default. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38659 f5534014-38df-0310-8fa8-9805f1628bb7
2011-08-17These two files cannot be compiled with GTK_DISABLE_DEPRECATEDjmayer1-0/+4
as long as they are still using the non MAIN_MENU_USE_UIMANAGER case. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38587 f5534014-38df-0310-8fa8-9805f1628bb7
2011-08-08MAIN_MENU_USE_UIMANAGER is also used in some includes, not onlyjmayer1-4/+0
in .c files, so the aproach to #undef GTK_DISABLE_DEPRECATED was wrong. Only enable GTK_DISABLE_DEPRECATED if MAIN_MENU_USE_UIMANAGER is defined. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38420 f5534014-38df-0310-8fa8-9805f1628bb7
2011-08-08Proto help also doesn't like GTK_DISABLE_DEPRECATEDjmayer1-0/+4
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38406 f5534014-38df-0310-8fa8-9805f1628bb7
2011-07-18Add instructions how to use the database offline (taken fromjmayer1-0/+3
an explanation by Chris Maynard) git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38098 f5534014-38df-0310-8fa8-9805f1628bb7
2011-07-18Add a comment how to actually use the protocol help.jmayer1-1/+9
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38097 f5534014-38df-0310-8fa8-9805f1628bb7
2011-07-18Small comment update: GtkItemFactory has been deprecated as of gtk 2.4jmayer1-1/+2
(aka close to forever). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38083 f5534014-38df-0310-8fa8-9805f1628bb7
2011-07-18Update STATUS.gtk3jmayer1-0/+9
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
2011-07-18Prevent error about undefined function while linking.jmayer1-1/+4
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38078 f5534014-38df-0310-8fa8-9805f1628bb7
2011-07-14Remove €˜GtkItemFactoryEntry code in MAIN_MENU_USE_UIMANAGERetxrab1-1/+3
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
2011-07-11More GLIB_CHECK_VERSION, GTK_CHECK_VERSION, and related whitespacegerald1-10/+0
cleanup. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37970 f5534014-38df-0310-8fa8-9805f1628bb7
2011-05-19Don't assign to an unused variable; remove variable definition: Coverity 1144.wmeier1-2/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37291 f5534014-38df-0310-8fa8-9805f1628bb7
2011-05-17Make some routines static that aren't used outside the source file inguy1-0/+2
which they're defined. Include some header files that declare functions in the source files that define the functions. Declare packet_list_get_type() in gtk/packet_list_store.h, as it defines a macro that uses that function. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37223 f5534014-38df-0310-8fa8-9805f1628bb7
2011-03-23Removed "comparing an array to null", with no effect.stig1-1/+2
Coverity 534. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36281 f5534014-38df-0310-8fa8-9805f1628bb7
2010-07-20(Minor) Fix several usages of deprecated GTK functions.wmeier1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@33597 f5534014-38df-0310-8fa8-9805f1628bb7
2010-06-10From Jim Young via bug 4862:stig1-3/+3
GLIB 2.14 necessary to compile Wireshark with Protocol help. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@33204 f5534014-38df-0310-8fa8-9805f1628bb7
2010-05-28Add svn:keywords & svn:eol-style propertieswmeier1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@33007 f5534014-38df-0310-8fa8-9805f1628bb7
2010-05-27fopen -> ws_fopengerald1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@33002 f5534014-38df-0310-8fa8-9805f1628bb7
2010-05-27Protocol Help requires GLib 2.6+. Add newlines. Fixup whitespace.gerald1-30/+40
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@33001 f5534014-38df-0310-8fa8-9805f1628bb7
2010-05-27From Edgar Gladkich:gerald1-0/+662
This is an extension to the Wireshark context sensitive protocol help. Rows in TreeView window are analyzed and suitable help file (as HTML) is opened in a browser. The help part (large file, 23 MB) of the Protocol Help can be downloaded under www.inacon.com/dowload/stuff/protocol_help.tar.gz This protocol help "light" provides descriptive content for the most frequently used standard protocols, including IP, TCP or SMTP. From me: Changes: Rename "ph_" in some function names to "proto_help_". Move the protocol help code to its own module. Make a bunch of functions static. Remove unused code. Use browser_open_url() instead of a custom function. Increase the logging levels. Don't clobber the normal log handler. Update some Doxygen comments to match the format in the rest of the code base. Removed GTK version checks. We've been 2.x only for a while. Move ph_replace_string to string_replace() in epan/strutil.[ch]. Fix a bunch of memory leaks. Add a NULL pointer check. Reformat the overview menu label. Document the file format and locations. Add Edgar to AUTHORS. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32995 f5534014-38df-0310-8fa8-9805f1628bb7