Module: tools Branch: master Commit: 7498191d2b7b9f3e01856601d57bea131da37c9d URL: http://source.winehq.org/git/tools.git/?a=commit;h=7498191d2b7b9f3e01856601d...
Author: Alexandre Julliard julliard@winehq.org Date: Fri Dec 15 12:45:17 2017 +0100
wine_release: Remove the winapi_stats page generation, it's not meaningful information.
Signed-off-by: Alexandre Julliard julliard@winehq.org
---
winapi_stats | 62 ------------------------------------------------------------ wine_release | 9 +-------- 2 files changed, 1 insertion(+), 70 deletions(-)
diff --git a/winapi_stats b/winapi_stats deleted file mode 100755 index 786017f..0000000 --- a/winapi_stats +++ /dev/null @@ -1,62 +0,0 @@ -#!/usr/bin/perl -# -# Filter to generate the winapi stats table using winapi_extract. -# Must be run from the Wine top-level source directory. -# - -my %stats; - -open STATS, "-|" or exec "./tools/winapi/winapi_extract", "--pseudo-stub-statistics", "--no-verbose", "--no-progress" or die "cannot run winapi_extract"; -while (<STATS>) -{ - chomp; - if (/*.c: (.*): (\d+) of (\d+) functions are stubs ((\d+) real, (\d+) pseudo) and (\d+) are forwards/) - { - my ($dll, $stubs, $total, $real, $pseudo, $forwards) = ($1, $2, $3, $4, $5, $6); - next if $dll =~ /^(wine.*.drv|wine.*.acm|wined3d|winedos|wprocs)$/; - $stats{$dll} = [ $stubs, $total, $real, $pseudo, $forwards ]; - ${$stats{" Total"}}[0] += $stubs; - ${$stats{" Total"}}[1] += $total; - ${$stats{" Total"}}[2] += $real; - ${$stats{" Total"}}[3] += $pseudo; - ${$stats{" Total"}}[4] += $forwards; - } -} -close STATS or die "winapi_extract failed"; - -my $bg = 0; - -print "<!--TITLE:[Win API Stats]-->\n\n"; -print "<h3>Win API Stats</h3>\n\n"; -print "<table width="100%" border="0" cellspacing="1" cellpadding="3">\n\n"; -print "<tr class="hdr">\n"; -print "<th>Library</th>\n"; -print "<th>API count</th>\n"; -print "<th>% implemented</th>\n"; -print "<th>Total stubs</th>\n"; -print "<th>Real stubs</th>\n"; -print "<th>Pseudo stubs</th>\n"; -print "<th>Forwards</th>\n"; -print "</tr>\n"; - -foreach my $dll (sort keys %stats) -{ - my ($stubs, $total, $real, $pseudo, $forwards) = @{$stats{$dll}}; - my $color = $bg ? "white" : "grey"; - my $pct = $total ? ($total - $stubs) / $total * 100 : 0; - printf "<tr>\n"; - printf "<td class="%s">%s</td>\n", $color, $dll; - printf "<td class="%s">%u</td>\n", $color, $total; - printf "<td class="pct%u">%u%%</td>\n", int(($pct + 2.5) / 5) * 5, $pct; - printf "<td class="%s">%u</td>\n", $color, $stubs; - printf "<td class="%s">%u</td>\n", $color, $real; - printf "<td class="%s">%u</td>\n", $color, $pseudo; - printf "<td class="%s">%u</td>\n", $color, $forwards; - printf "</tr>\n"; - $bg = !$bg; -} - -my $now = `date`; -chomp $now; -print "\n</table>\n"; -print "<p>last modified: $now</p>\n"; diff --git a/wine_release b/wine_release index aed1545..7b8def1 100755 --- a/wine_release +++ b/wine_release @@ -32,14 +32,11 @@ if [ "$branch" = "master" ] then # nuke old attempt (if any) rm -rf wine-$version - git clone -l -s -n git/wine.git wine-$version + git clone -b wine-$version git/wine.git wine-$version cd wine-$version - git checkout wine-$version
# update man page and documentation - echo "==== UPDATING DOCUMENTATION ====" ./configure --quiet --without-x --without-freetype - make -s depend
manpages="\ loader/wine.man \ @@ -74,10 +71,6 @@ then
make -s htmlpages && rm -rf ../WineAPI && mv documentation/html ../WineAPI
- # Wine API Stats - echo "==== UPDATING WINE API STATS PAGE ====" - $tools_dir/winapi_stats > winapi_stats.template && mv -f winapi_stats.template $templates_dir/en/winapi_stats.template - cd .. rm -rf wine-$version fi