From: Duncan C. <dun...@us...> - 2004-08-03 02:40:22
|
Update of /cvsroot/gtk2hs/gtk2hs/tools/apicoverage In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27069/tools/apicoverage Modified Files: Makefile gtk.ignore Log Message: Make the count of unbound gtk functions accurate. Also added a few more APIs to ignore. Index: Makefile =================================================================== RCS file: /cvsroot/gtk2hs/gtk2hs/tools/apicoverage/Makefile,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- Makefile 1 Aug 2004 16:16:50 -0000 1.3 +++ Makefile 3 Aug 2004 02:40:13 -0000 1.4 @@ -1,9 +1,9 @@ # system to help check gtk2hs's api coverage -# which vesion of gtk+ to compare against +# which vesion of gtk+ to compare against, eg 2.0.9, 2.2.4, 2.4.4 GTK_MAJOR_VERSION = 2 -GTK_MINOR_VERSION = 4 -GTK_MICRO_VERSION = 4 +GTK_MINOR_VERSION = 2 +GTK_MICRO_VERSION = 0 GTK_VERSION = $(GTK_MAJOR_VERSION).$(GTK_MINOR_VERSION).$(GTK_MICRO_VERSION) @@ -46,13 +46,14 @@ rm -f gtk.coverage gtk.def.filtered gtk.def gtk.ignore.combined gtk_total=$(shell wc -l < gtk.def.filtered) -gtk2hs_total=$(shell wc -l < gtk.coverage) +gtk2hs_total=$(shell wc -l < gtk.coverage.filtered) +difference=$(shell diff gtk.def.filtered gtk.coverage.filtered | grep -c '<') stats : gtk.def.filtered gtk.coverage.filtered @echo "**** gtk2hs API coverage report (for gtk-$(GTK_VERSION)) ****" @echo " total gtk functions :" $(gtk_total) @echo " total gtk2hs functions :" $(gtk2hs_total) - @echo " difference :" `echo $(gtk_total) - $(gtk2hs_total) | bc` + @echo " unbound gtk functions :" $(difference) @echo @echo "run 'make summary' to get a list of groups of unbound functions" @echo " on 'diff gtk.def.filtered gtk.coverage' to see in detail" Index: gtk.ignore =================================================================== RCS file: /cvsroot/gtk2hs/gtk2hs/tools/apicoverage/gtk.ignore,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- gtk.ignore 1 Aug 2004 16:16:50 -0000 1.2 +++ gtk.ignore 3 Aug 2004 02:40:13 -0000 1.3 @@ -62,6 +62,7 @@ exclude gtk_ruler exclude gtk_hruler exclude gtk_vruler +exclude gtk_input_dialog #low level @@ -106,6 +107,9 @@ exclude gtk_gc exclude gtk_key_snooper exclude gtk_rc +exclude gtk_settings +exclude gtk_selection #docs say low level, use clipboard api instead +exclude gtk_target_list #as above exclude gtk_disable_setlocale exclude gtk_set_locale exclude gtk_parse_args #allows to init gtk without opening an X display |