aboutsummaryrefslogtreecommitdiffstats
path: root/stat_menu.h
AgeCommit message (Collapse)AuthorFilesLines
2014-06-30Move stat_menu.h to libui.Guy Harris1-76/+0
Change-Id: I7bed7f7931845bc41035535cc62e1fe17c71047d Reviewed-on: https://code.wireshark.org/review/2726 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2014-03-04Remove all $Id$ from top of fileAlexis La Goutte1-2/+0
(Using sed : sed -i '/^ \* \$Id\$/,+1 d') Fix manually some typo (in export_object_dicom.c and crc16-plain.c) Change-Id: I4c1ae68d1c4afeace8cb195b53c715cf9e1227a8 Reviewed-on: https://code.wireshark.org/review/497 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-02-21Add test suite for verifying Lua global variables/tables of previous ↵Hadriel Kaplan1-0/+1
releases have not disappeared. Several bugs have been introduced due to changing of perl scripts or #define names, such that things exported into Lua have dissapeared or changed unintentionally. This commit adds a test suite which compares the Lua global table with the ones from previous releases (1.8 and 1.10), to verify nothing has gone missing. New items can be added, but old ones cannot go away. The added script to verify these things, called 'verify_globals.lua', also has the ability to display what's new - i.e., what was not in the olrder releases. Lastly, this commit also fixes a bug: MENU_STAT_ENDPOINT became MENU_STAT_ENDPOINT_LIST due to a change in the make-init-lua.pl perl script in this 1.11 release. Change-Id: Iba143d1a436e706970635a5f8cc2b317955392bf Reviewed-on: https://code.wireshark.org/review/284 Reviewed-by: Evan Huus <eapache@gmail.com> Tested-by: Evan Huus <eapache@gmail.com>
2014-02-21Revert "Add test suite for verifying Lua global variables/tables of previous ↵Evan Huus1-1/+0
releases have not disappeared." This reverts commit 5b7f00178f45149ecdce204f1c71c1598ceedac1. Change-Id: Idf09d25270847970713b67d02bcd7cbc411a4e9c Reviewed-on: https://code.wireshark.org/review/280 Reviewed-by: Evan Huus <eapache@gmail.com>
2014-02-21Add test suite for verifying Lua global variables/tables of previous ↵Hadriel Kaplan1-0/+1
releases have not disappeared. Several bugs have been introduced due to changing of perl scripts or #define names, such that things exported into Lua have dissapeared or changed unintentionally. This commit adds a test suite which compares the Lua global table with the ones from previous releases (1.8 and 1.10), to verify nothing has gone missing. New items can be added, but old ones cannot go away. The added script to verify these things, called 'verify_globals.lua', also has the ability to display what's new - i.e., what was not in the olrder releases. Lastly, this commit also fixes a bug: MENU_STAT_ENDPOINT became MENU_STAT_ENDPOINT_LIST due to a change in the make-init-lua.pl perl script in this 1.11 release. Change-Id: Ic46172904256dc535b0fe4543237c07dddb3b9b5 Reviewed-on: https://code.wireshark.org/review/242 Reviewed-by: Evan Huus <eapache@gmail.com>
2014-02-08Fix bug 9732: ' Lua: recent commit changed some MENU_ key names in init.lua'Hadriel Kaplan1-0/+13
A recent fix (made by me) for bug 9707, in Change-Id: If4ee1906aa60dd37366cf2ef9bc4168e0ea024b6, made the perl regex grab too much of the menu name. It changed MENU_STAT_CONVERSATION, MENU_STAT_RESPONSE, and MENU_ANALYZE_CONVERSATION's key names into their longer C-code names. Ugh. The fix for this is a bit brittle, but I think it's impractical to avoid it being brittle, due to needing to support legacy Lua scripts. I put comments in stat_menu.h to warn of the danger. Change-Id: I41408e9d4f5b5bd73e2871fccabff81c7cbd242d Reviewed-on: https://code.wireshark.org/review/140 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2013-05-31Add a REGISTER_STAT_GROUP_TELEPHONY_SCTP, make the SCTP chunk counterGuy Harris1-0/+1
register itself in that group, and get rid of its hardcoded menu item. Also, as the H.225 counter is registering itself, get rid of its hardcoded menu item. svn path=/trunk/; revision=49662
2013-05-31Add a REGISTER_STAT_GROUP_TELEPHONY_LTE for the Telephony/LTE menu, andGuy Harris1-1/+2
use it o register the MAC and RLC statistics dialogues. Get rid of the explicit menu items for them, as they now show up in the menu as a result of the tap registering itself. svn path=/trunk/; revision=49658
2013-05-30Add a stat group REGISTER_STAT_GROUP_TELEPHONY_GSM for the Telephony/GSMGuy Harris1-0/+1
statistics menu. Have the CAMEL counter register itself in that menu, rather than having main_menubar.c create the menu item for it. svn path=/trunk/; revision=49641
2011-06-05Rename the tap_dfilter_dlg.[ch] files to reflect that they can do moreGuy Harris1-1/+1
than just filters. svn path=/trunk/; revision=37560
2009-02-17Clean up indentation.Jaap Keuter1-3/+3
svn path=/trunk/; revision=27473
2009-02-10add some commentsUlf Lamping1-9/+9
svn path=/trunk/; revision=27406
2008-04-17rename REGISTER_xxx_GROUP_NONE to REGISTER_xxx_GROUP_UNSORTED, as NONE seems ↵Ulf Lamping1-8/+5
a bit misleading svn path=/trunk/; revision=25086
2007-08-16experimental feature: dissector filtersUlf Lamping1-1/+2
add the possibility, that a dissector writer can provide (usually non-trivial) display filters specific for the protocol in question (with an example in packet-dcerpc-pn-io.c), that will appear in the GUI svn path=/trunk/; revision=22530
2007-02-28Sync up my changes so far to the content list (now called objectStephen Fisher1-3/+0
list) feature for http traffic. It's now available under File-> Export->Objects->HTTP. More changes to come.. svn path=/trunk/; revision=20951
2007-02-25revert (most) changes in rev #20753, to avoid items being created on a wrong ↵Luis Ontanon1-2/+1
menu on windows. svn path=/trunk/; revision=20928
2007-02-20Put the rest of the #if GTK_MAJOR_VERSION >= 2 preprocessor statements ↵Stephen Fisher1-0/+2
around parts of the Content List -> HTTP feature code. svn path=/trunk/; revision=20869
2007-02-19Initial version of the new Statistics -> Content List -> HTTP feature. ThisStephen Fisher1-0/+1
feature lists all of the content found in an HTTP stream (images, http, etc.) and displays it in a list that allows the user to save each one as a file that is already reassembled by the dissectors. svn path=/trunk/; revision=20867
2007-02-09* Add a Submenu (/Views/User Tables) where UATs can be accessed.Luis Ontanon1-1/+2
* Remove macros_dlg, the DFMacros UAT goes in the menu with all the rest * in packet-user_encap.c WTAP_ENCAP=XXX has become useless information for the user leave just the DLT# svn path=/trunk/; revision=20753
2006-11-05From Albert ChinJaap Keuter1-3/+3
The IBM C compiler on AIX 4.3.3 doesn't accept a trailing comma after the last enum definition. Patch attached for stat_menu.h svn path=/trunk/; revision=19813
2006-09-28Avoid to add an empty menu if there's no Lua.Luis Ontanon1-0/+2
svn path=/trunk/; revision=19346
2006-09-27* rename REGISTER_STAT_GROUP_E -> register_stat_group_tLuis Ontanon1-2/+3
* Add a "Tools" menu * allow wslua's register_menu to register menu items into more menus svn path=/trunk/; revision=19338
2006-05-21name changeRonnie Sahlberg1-2/+2
svn path=/trunk/; revision=18197
2005-09-13implement a way to add menu items to the "Analyze" menuUlf Lamping1-1/+2
svn path=/trunk/; revision=15788
2005-08-21Add a "register_dfilter_stat()", to register stats that take a displayGuy Harris1-0/+59
filter as an argument on the command line and have a dialog box to enter the display filter through the GUI. Use it for all stats using "gtk_tap_dfilter_dlg_cb()". Add a top-level "stat_menu.h" file to declare "REGISTER_STAT_GROUP_E" for the benefit of the declaration of "register_dfilter_stat()" in the top-level "tap_dfilter_dlg.h". Rename the "stat_menu.h" in the gtk directory to "gtk_stat_menu.h", so as not to have two headers with the same name. Get rid of headers not declaring any functions not being used in the module. svn path=/trunk/; revision=15493