Age | Commit message (Collapse) | Author | Files | Lines |
|
Add --check-addtext/--nocheck-addtext, --check-hf/--nocheck-hf and --debug to the usage output and format the usage output a little better.
svn path=/trunk/; revision=52006
|
|
svn path=/trunk/; revision=51782
|
|
proto_tree_add_text()s. I believe the intent was to ignore "small" dissectors that didn't have enough fields to qualify, but the previous logic ignored dissectors that were (almost) all proto_tree_add_text and no proto_tree_add_xxx.
I'm flexible on the definition of "small" (20 "fields"), but I think checkAPIs should flag the "all proto_tree_add_text" dissectors.
svn path=/trunk/; revision=50385
|
|
svn path=/trunk/; revision=48340
|
|
- Remove comments from the input string before checking hf[] entries;
- Remove code under '#if 0' before doing API checks.
svn path=/trunk/; revision=47447
|
|
proto_tree_add_item().
svn path=/trunk/; revision=46598
|
|
uncomment the code) check for being called with tvb_get_ptr().
svn path=/trunk/; revision=46326
|
|
Also check that they are all const.
svn path=/trunk/; revision=46294
|
|
for deprecated dissector add/remmove/... functions.
svn path=/trunk/; revision=45000
|
|
Also: improve error message slightly in the case of a missing NULL termination.
svn path=/trunk/; revision=44826
|
|
Also, remove some tabs.
svn path=/trunk/; revision=44824
|
|
svn path=/trunk/; revision=43939
|
|
return it, and use the return value.
svn path=/trunk/; revision=43818
|
|
calls an error.
Fix one case where we weren't counting an error (unregistered ett
variables).
svn path=/trunk/; revision=43817
|
|
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7429#c4 :
Add checks for calls to proto_tree_add_XXX (where XXX != item and a few other
functions) with an encoding (ENC_*) argument.
Also add a comment to checkAddTextCalls() about why 3 loops are used.
svn path=/trunk/; revision=43563
|
|
svn path=/trunk/; revision=43538
|
|
Replace tabs with spaces (for consistency).
svn path=/trunk/; revision=43213
|
|
svn path=/trunk/; revision=43040
|
|
that has the string "strlen" somewhere after a call to snprintf()).
svn path=/trunk/; revision=42950
|
|
there's a good chance we're doing something wrong.
svn path=/trunk/; revision=42947
|
|
Also: identify problematic fields by hf_variable_name instead of name or
abbreviation (the variable name is sure to be unique).
svn path=/trunk/; revision=42826
|
|
from makefiles (and thus from the buildbot).
The intention is to be able to tell when a human is running the tool so we
can provide more code-review guidance.
As a starter, enable the "too many proto_tree_add_text() calls" check when
a human is running the tool.
svn path=/trunk/; revision=41943
|
|
and with BASE_... in the 'display' field.
svn path=/trunk/; revision=41399
|
|
(Commented out until all the incorrect usages in Wireshark have been fixed).
svn path=/trunk/; revision=41380
|
|
Prohibit using FT_BOOLEANS with value_strings.
svn path=/trunk/; revision=41364
|
|
svn path=/trunk/; revision=41181
|
|
proto_tree_add_text() calls and compare that to the number of
proto_tree_add_<something else>() calls and complain if more than 50%
of the calls are add_text()'s.
proto_tree_add_text() calls whose returned proto_item is used are not counted
as hanging a subtree off a text item is an appropriate use for text items.
I chose 50% because even at that level there are many dissectors with "too many"
proto_tree_add_text()'s.
The function to do all of this is commented out for now for the same reason
plus the fact that it's pretty slow.
svn path=/trunk/; revision=40930
|
|
Add comment about Wireshark build defines G_DISABLE_DEPRECATED.
svn path=/trunk/; revision=40584
|
|
svn path=/trunk/; revision=40572
|
|
- Mark GDK functions which aren't used as 'E'
- Add GTK functions deprecated after GTK 2.20
- Add some comments about use of GTK_DISABLE_DEPRECATED
- reformat
...
svn path=/trunk/; revision=40569
|
|
such usage.
svn path=/trunk/; revision=40548
|
|
so do so. Add ZeroMemory to checkAPIs.pl.
svn path=/trunk/; revision=38584
|
|
svn path=/trunk/; revision=38357
|
|
svn path=/trunk/; revision=38202
|
|
GTK_WIDGET_NO_WINDOW() in pre-2.18 versions of GTK+. Treat calls to
GTK_WIDGET_NO_WINDOW() as an error in checkAPIs.pl.
svn path=/trunk/; revision=38197
|
|
svn path=/trunk/; revision=38196
|
|
Udate comments in CheckAPIs
svn path=/trunk/; revision=38185
|
|
Update checkAPIs.
svn path=/trunk/; revision=38013
|
|
svn path=/trunk/; revision=37976
|
|
Remove our local strerror implementation.
Mark strerror as locale unsafe API.
This fixes bug 5715.
svn path=/trunk/; revision=37812
|
|
svn path=/trunk/; revision=37765
|
|
with two or more periods in a row. Fix one case of that.
svn path=/trunk/; revision=37407
|
|
svn path=/trunk/; revision=36746
|
|
svn path=/trunk/; revision=36390
|
|
svn path=/trunk/; revision=36171
|
|
number on which we found them.
svn path=/trunk/; revision=36122
|
|
in another list: convert the 2nd list to a hash. This speeds checking for ett_
variables up considerably.
Store the pattern to match ett_ variable names in a variable (since it's used 3
times).
Only match ett_ variable declarations that start on their own line (hopefully to
speed things up a bit).
svn path=/trunk/; revision=35929
|
|
stored in an array which will hopefully be registered).
This is a work-in-progress, so the function is not called.
It is also EXTREMELY slow on big files. (Or maybe it's looping...
I haven't yet had the patience to let it finish processing packet-rrc.c .)
svn path=/trunk/; revision=35923
|
|
should be used (instead of the non-tvb functions with a call to tvb_get_ptr()).
Use those functions in a bunch of places.
svn path=/trunk/; revision=35911
|
|
svn path=/trunk/; revision=35910
|