Age | Commit message (Collapse) | Author | Files | Lines |
|
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
|
|
svn path=/trunk/; revision=35909
|
|
(in the argument list) calls to tvb_get_ptr().
svn path=/trunk/; revision=35906
|
|
svn path=/trunk/; revision=35825
|
|
svn path=/trunk/; revision=35759
|
|
doesn't get confused by things like /* inside a string). And don't remove comments+strings before checking the hf's.
svn path=/trunk/; revision=35453
|
|
when the comments are gone but the strings are not.
svn path=/trunk/; revision=35447
|
|
waiting for the buildbot to complain.)
svn path=/trunk/; revision=35410
|
|
the dissector-bug macros, or try your best to dissect a packet that's
"wrong".
svn path=/trunk/; revision=35409
|
|
entries).
svn path=/trunk/; revision=35364
|
|
former and warns on the latter.
svn path=/trunk/; revision=35363
|
|
dissector_get_port_handle(), dissector_reset(), dissector_try_port(),
dissector_try_port_new(), and next_tvb_add_port().
Re-tabify the file.
svn path=/trunk/; revision=35229
|
|
svn path=/trunk/; revision=34711
|