aboutsummaryrefslogtreecommitdiffstats
path: root/tools/convert_proto_tree_add_text.pl
AgeCommit message (Collapse)AuthorFilesLines
2014-06-15acknowledge BASE_RANGE_STRINGMichael Mann1-0/+1
Change-Id: I3e899f79a3d58b8a2e72b88253a7e9ec51a314b5 Reviewed-on: https://code.wireshark.org/review/2222 Reviewed-by: Michael Mann <mmann78@netscape.net>
2014-02-14Remove $Id$ and other Subversion leftovers from the tools.Jeff Morriss1-2/+0
There are a few things in here which could still use attention. Don't regenerate anything now. Change-Id: I283c224d3523212144707fca3d6265916cb11792 Reviewed-on: https://code.wireshark.org/review/205 Reviewed-by: Jeff Morriss <jeff.morriss.ws@gmail.com>
2013-12-19proto_tree_add_text -> proto_tree_add_xxx conversion.Michael Mann1-0/+3
svn path=/trunk/; revision=54274
2013-10-06Add support for RELATIVE-OID ASN.1 type. Bug 9192 ↵Michael Mann1-1/+1
(https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9192) From Ed Beroset. svn path=/trunk/; revision=52393
2013-09-09Have conversion tools use the "new" expert_add_info_format.Michael Mann1-2/+2
svn path=/trunk/; revision=51857
2013-08-24If the proto_tree_add_text string is just "%s", assume it won't be converted ↵Michael Mann1-6/+14
(it's usually a header that has the same field filterable in its subtree) svn path=/trunk/; revision=51505
2013-08-09Allow display base, not field type to have multiple ORed entries (for things ↵Michael Mann1-8/+8
like BASE_EXT_STRING) svn path=/trunk/; revision=51235
2013-08-05Add support for determining BASE_EXT_STRING.Michael Mann1-5/+18
svn path=/trunk/; revision=51149
2013-07-28Make many items filterable for Vines dissectors.Michael Mann1-3/+6
Add support for FT_VINES type. svn path=/trunk/; revision=50962
2013-07-26The descriptive name for a field is the field full name; the name usedGuy Harris1-4/+4
in packet-matching expressions and TShark's -e flag and... is the field's abbreviated name. svn path=/trunk/; revision=50927
2013-07-26Add support for common FT_ETHER cases.Michael Mann1-2/+5
Bugfix gauging where the "field text" argument when parsing the proto_tree_add_text call. svn path=/trunk/; revision=50925
2013-07-24fix "compile" errorMichael Mann1-1/+1
svn path=/trunk/; revision=50874
2013-07-24Add "usage" for expert optionMichael Mann1-0/+4
svn path=/trunk/; revision=50864
2013-07-22fix "compiler errors"Michael Mann1-4/+5
Add better support for IP field detection. svn path=/trunk/; revision=50781
2013-07-21Add ability to convert proto_tree_add_text to "expert" API. It's a little ↵Michael Mann1-98/+327
hacky because the first pass doesn't know that a proto_tree_add_text call will be converted into an expert API call, so there is some "field reappropriation" (but not enough to have a different field layout) in the .proto_tree_input file. svn path=/trunk/; revision=50762
2013-07-18Add better detection of strings and byte arrays.Michael Mann1-4/+11
svn path=/trunk/; revision=50714
2013-07-16Add in basic error checking of the .proto_tree_input file to prevent some ↵Michael Mann1-5/+27
issues with updated dissector. svn path=/trunk/; revision=50658
2013-07-15Set convert_proto_tree_add_text has executableAlexis La Goutte1-0/+0
svn path=/trunk/; revision=50607
2013-07-14Generate better hf_ nameMichael Mann1-77/+81
Generate initial filter name Apply consistent whitespace svn path=/trunk/; revision=50567
2013-07-13set svn propertiesMartin Kaiser1-419/+419
svn path=/trunk/; revision=50561
2013-07-13Here's a tool to help in the conversion of proto_tree_add_text to ↵Michael Mann1-0/+419
proto_tree_add_item. It's still rough around the edges, but it's a lot better than doing it all manually. It targets proto_tree_add_text functions with formatted parameters. It "guesses" the necessary parameters for proto_tree_add_item and the associated hf_ strictly through proto_tree_add_text parameters, so it does better for cases where the tvb_ function (ie tvb_get_guint8) is one of the printf style parameters in the proto_tree_add_text. If there are cleaner ways (better regex) to represent the logic, please feel free to update. The key is to improve the "defaults" detected so less manual editting of the proto_tree_input file (and subsequent dissector file) is necessary. I'll be testing it more (and probably updating) as I try to work through the checkAPIs.pl "naughty list" (now that the list has expanded) svn path=/trunk/; revision=50559