aboutsummaryrefslogtreecommitdiffstats
path: root/stat_menu.h
Commit message (Collapse)AuthorAgeFilesLines
* Remove all $Id$ from top of fileAlexis La Goutte2014-03-041-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>
* Add test suite for verifying Lua global variables/tables of previous ↵Hadriel Kaplan2014-02-211-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>
* Revert "Add test suite for verifying Lua global variables/tables of previous ↵Evan Huus2014-02-211-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>
* Add test suite for verifying Lua global variables/tables of previous ↵Hadriel Kaplan2014-02-211-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>
* Fix bug 9732: ' Lua: recent commit changed some MENU_ key names in init.lua'Hadriel Kaplan2014-02-081-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>
* Add a REGISTER_STAT_GROUP_TELEPHONY_SCTP, make the SCTP chunk counterGuy Harris2013-05-311-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
* Add a REGISTER_STAT_GROUP_TELEPHONY_LTE for the Telephony/LTE menu, andGuy Harris2013-05-311-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
* Add a stat group REGISTER_STAT_GROUP_TELEPHONY_GSM for the Telephony/GSMGuy Harris2013-05-301-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
* Rename the tap_dfilter_dlg.[ch] files to reflect that they can do moreGuy Harris2011-06-051-1/+1
| | | | | | than just filters. svn path=/trunk/; revision=37560
* Clean up indentation.Jaap Keuter2009-02-171-3/+3
| | | | svn path=/trunk/; revision=27473
* add some commentsUlf Lamping2009-02-101-9/+9
| | | | svn path=/trunk/; revision=27406
* rename REGISTER_xxx_GROUP_NONE to REGISTER_xxx_GROUP_UNSORTED, as NONE seems ↵Ulf Lamping2008-04-171-8/+5
| | | | | | a bit misleading svn path=/trunk/; revision=25086
* experimental feature: dissector filtersUlf Lamping2007-08-161-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
* Sync up my changes so far to the content list (now called objectStephen Fisher2007-02-281-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
* revert (most) changes in rev #20753, to avoid items being created on a wrong ↵Luis Ontanon2007-02-251-2/+1
| | | | | | menu on windows. svn path=/trunk/; revision=20928
* Put the rest of the #if GTK_MAJOR_VERSION >= 2 preprocessor statements ↵Stephen Fisher2007-02-201-0/+2
| | | | | | around parts of the Content List -> HTTP feature code. svn path=/trunk/; revision=20869
* Initial version of the new Statistics -> Content List -> HTTP feature. ThisStephen Fisher2007-02-191-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
* * Add a Submenu (/Views/User Tables) where UATs can be accessed.Luis Ontanon2007-02-091-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
* From Albert ChinJaap Keuter2006-11-051-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
* Avoid to add an empty menu if there's no Lua.Luis Ontanon2006-09-281-0/+2
| | | | svn path=/trunk/; revision=19346
* * rename REGISTER_STAT_GROUP_E -> register_stat_group_tLuis Ontanon2006-09-271-2/+3
| | | | | | | | * Add a "Tools" menu * allow wslua's register_menu to register menu items into more menus svn path=/trunk/; revision=19338
* name changeRonnie Sahlberg2006-05-211-2/+2
| | | | svn path=/trunk/; revision=18197
* implement a way to add menu items to the "Analyze" menuUlf Lamping2005-09-131-1/+2
| | | | svn path=/trunk/; revision=15788
* Add a "register_dfilter_stat()", to register stats that take a displayGuy Harris2005-08-211-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