aboutsummaryrefslogtreecommitdiffstats
path: root/tools/checkAPIs.pl
AgeCommit message (Collapse)AuthorFilesLines
2010-05-02Run deprecated-gtk-todoon all files in the gtk dir.Anders Broman1-2/+2
svn path=/trunk/; revision=32638
2010-03-25(Minor): Improve an output message.Bill Meier1-2/+2
svn path=/trunk/; revision=32277
2009-12-29gtk_entry_append_text no longer used by Wireshark: Mark as deprecated-gtk ↵Bill Meier1-1/+1
('W" => 'E') svn path=/trunk/; revision=31387
2009-12-29gtk_progress_bar_update no longer used by Wireshark: Mark as deprecated ('W" ↵Bill Meier1-1/+1
=> 'E'). svn path=/trunk/; revision=31385
2009-12-29Mark certain GTK functions now unused by Wireshark as deprecated ("W" ==> 'E');Bill Meier1-276/+276
Rework usage() text slightly; Clean up whitespace (untabify & etc). svn path=/trunk/; revision=31381
2009-12-28Update GLib/GTK deprecated lists to match current stable Glib/GTK;Bill Meier1-27/+38
Various other minor changes .... svn path=/trunk/; revision=31374
2009-12-08Following bug 4302 added ctime() to the deprecated list.Jaap Keuter1-0/+1
svn path=/trunk/; revision=31210
2009-10-12Add some comments about GMemChunk usage;Bill Meier1-17/+24
Enable 'deprecated' checking for some GLib functions Wireshark doesn't currently use. svn path=/trunk/; revision=30528
2009-10-07Fix indentation.Bill Meier1-1/+1
svn path=/trunk/; revision=30380
2009-10-04Use gtk_image_new_from_pixmap().Anders Broman1-1/+1
svn path=/trunk/; revision=30316
2009-10-04Remove #if 0'ed code.Anders Broman1-8/+8
svn path=/trunk/; revision=30312
2009-10-04From GTK docs:Anders Broman1-1/+1
Warning gtk_window_set_policy is deprecated and should not be used in newly-written code. Use gtk_window_set_resizable() instead. Changes how a toplevel window deals with its size request and user resize attempts. There are really only two reasonable ways to call this function: 1.gtk_window_set_policy (GTK_WINDOW (window), FALSE, TRUE, FALSE) means that the window is user-resizable. 2.gtk_window_set_policy (GTK_WINDOW (window), FALSE, FALSE, TRUE) means that the window's size is program-controlled, and should simply match the current size request of the window's children. gtk_window_set_resizable () : Sets whether the user can resize a window. Windows are user resizable by default. svn path=/trunk/; revision=30311
2009-10-04Get rid of deprecated symblol gtk_widget_draw().Anders Broman1-4/+6
svn path=/trunk/; revision=30305
2009-06-30Add assert and assert_perror to the 'abort' list.Gerald Combs1-0/+2
svn path=/trunk/; revision=28896
2009-06-15It appears Wireshark now has only ASCII in its source files; Treat non-ASCII ↵Jeff Morriss1-3/+2
chars as an error. svn path=/trunk/; revision=28738
2009-05-22gtk_exit(): deprecated and no longer used in Wireshark: 'W' ==> 'E'Bill Meier1-1/+1
svn path=/trunk/; revision=28445
2009-05-07gtk_check_menu_item_set_show_toggle() is deprecated and not needed.Bill Meier1-6/+6
[show_toggle is always TRUE]. svn path=/trunk/; revision=28292
2009-05-05Change W->E for now removed functions.Anders Broman1-7/+7
svn path=/trunk/; revision=28279
2009-04-21checkAPIs: check for 'const' in value_string definition.Bill Meier1-0/+5
svn path=/trunk/; revision=28114
2009-04-14checkAPIs: Add additional GLib deprecated functions;Bill Meier1-10/+51
Update comments. svn path=/trunk/; revision=28051
2009-04-11gtk_label_get() --> gtk_label_get_text() with related code changes;Bill Meier1-4/+4
Also: Fix indentation to be consistent. svn path=/trunk/; revision=28034
2009-04-11Get rid of gtk_file_selection_new and gtk_file_selection_get_filename.Anders Broman1-2/+2
svn path=/trunk/; revision=28032
2009-04-10Remove unnecessary use of (deprecated) gtk_button_box_set_child_ipadding();Bill Meier1-3/+3
(In each case the arg values used [4,0] were the same as the defaults). checkAPIs.pl: gtk_button_box_set_child_ipadding: 'W' --> 'E' svn path=/trunk/; revision=28030
2009-04-10gtk_widget_ref: 'W' --> 'E';Bill Meier1-14/+27
Also: Add GTK 2.16.0 deprecated functions svn path=/trunk/; revision=28028
2009-04-09gtk_set_usize: W --> E;Bill Meier1-1/+4
Change 'usage' to list groups and default groups. svn path=/trunk/; revision=28020
2009-04-09gtk_widget_ref() -> g_object_ref()Anders Broman1-1/+1
GTK_SIGNAL_FUNC -> G_CALLBACK() svn path=/trunk/; revision=28017
2009-03-15Treat any usage of functions in the 'deprecated' group an an Error.Bill Meier1-1/+5
There's no longer any Wireshark usage of these functions. svn path=/trunk/; revision=27732
2009-03-15Add complete list of deprecated GTK API's (as of GTK 2.14.7).Bill Meier1-72/+736
Group 'deprecated-gtk' lists all deprecated GTK APIs which are not currently used in Wireshark. -g deprecated-gtk will 'Error'; Group 'deprecated-gtk-todo' lists the deprecated GTK APIs which are still used in Wireshark (ie: not yet fixed). -g deprecated-gtk-todo will 'Warn'. Also: two new options added: -M: -g output is one line per function per file; -s summary-group: gives a count of the usage of each function in that group [currently: any group used in -s must also be specified with -g option]. svn path=/trunk/; revision=27729
2009-02-27Add GTK deprecated functions.Anders Broman1-1/+16
svn path=/trunk/; revision=27561
2009-02-22Update CheckApi with:Anders Broman1-0/+5
#'gtk_clist_new', should we depriceate? # GtkCList has been deprecated since GTK+ 2.0 and should not be used # in newly written code. Use GtkTreeView instead. 'gtk_file_selection_new', svn path=/trunk/; revision=27508
2008-08-14Search for "(static const|static|const) value_string" whenBill Meier1-5/+7
looking for value_string definitions to validate. svn path=/trunk/; revision=26026
2008-07-24Remove the (long deprecated) proto_tree_add_*_hidden() functionsJeff Morriss1-16/+0
svn path=/trunk/; revision=25820
2008-07-23(Minor) Disable un-needed 'capture' in regexpBill Meier1-1/+1
svn path=/trunk/; revision=25811
2008-07-23Fix double-quoted string regexp to match strings with "line continuation";Bill Meier1-4/+8
Enable value_string check again .... svn path=/trunk/; revision=25810
2008-07-23Disable value_string check for now.Bill Meier1-1/+1
Apparently the "regex which matches double-quoted strings" doesn't work with some versions of Perl (eg: 5.8.8) if the string contains a 'line-continuation' (\ folowed by a new-line). (This works for Perl 5.10.0). So: disable value_string check until I look into this further. svn path=/trunk/; revision=25802
2008-07-22Add test to check if value_string arrays are NULL terminated;Bill Meier1-3/+40
default: test is enabled. Check for error return from GetOptions svn path=/trunk/; revision=25800
2008-07-01Put printf into a separate "termoutput" API group. For most files,Guy Harris1-3/+7
check for it - but not for TShark plugins, as they are expected to print to the standard output. svn path=/trunk/; revision=25653
2008-06-27Have checkAPIs.pl print to stderr, so that its output is colored red inGerald Combs1-5/+5
Buildbot. Make capitalization more consistent. Look for abort functions in wsutil. svn path=/trunk/; revision=25619
2008-06-26Add support for "API groups" in checkAPIs.pl. Make the "prohibited"Gerald Combs1-120/+152
and "deprecated" groups the default. Add an "abort" group for code that shouldn't exit the program. Update the makefiles to call "checkAPIs.pl -g abort" for dissectors. Remove a dependency on "cat" in checkAPIs.pl. svn path=/trunk/; revision=25614
2008-05-22Move the file utility functions from wiretap to libwsutil so thatJeff Morriss1-1/+1
libwireshark (and the plugins using those functions) do not depend on wiretap on Windows. While doing that, rename the eth_* functions to ws_*. svn path=/trunk/; revision=25354
2008-05-21Check for a few addt'l functions...Bill Meier1-1/+8
svn path=/trunk/; revision=25341
2008-05-13Update comments.Jeff Morriss1-4/+5
svn path=/trunk/; revision=25286
2008-05-08Run checkAPI in plugins dir.Anders Broman1-6/+24
svn path=/trunk/; revision=25259
2008-05-05Fix some of the Errors/warnings detected by checkapi,Anders Broman1-2/+3
make non ASCII char a warning for now. svn path=/trunk/; revision=25240
2008-05-05Add depreceated glib API:sAnders Broman1-0/+10
svn path=/trunk/; revision=25230
2008-04-15Ban strdup() and strndup().Jeff Morriss1-1/+6
svn path=/trunk/; revision=25045
2008-03-08Warn if a file does not have an SVN Id tag in it.Jeff Morriss1-0/+5
svn path=/trunk/; revision=24587
2008-03-01Add strncpy and strncat to the list of prohibited APIs.Stig Bjørlykke1-0/+2
svn path=/trunk/; revision=24517
2008-01-24Warn if we find %ll in the sourceJeff Morriss1-0/+7
svn path=/trunk/; revision=24182
2008-01-24Add check for non-ASCII characters (defined, for now, as any whose value is ↵Jeff Morriss1-0/+6
> 0x80) anywhere in the source files (as per discussion on -dev). Amazingly, this does not appear to slow the tool down too much. svn path=/trunk/; revision=24177