On Wed, 29 Mar 2000, Patrik Stridvall wrote:

> >     In 'Contributing to Wine' I tried to come up with concrete
> > project ideas for contributing to Wine, with special thoughts for
> > people new to Wine who might be a bit overwhelmed and not 
> > know where to 
> > start. I realize this list is not complete (I should try to merge at
> > least some of the winehq/projects) and may need adjustments.
> 
> You have forgotten one very important point.
> "Documentation of the Windows API functions"

        Yes. That's part of the things that are in /projects on Wine HQ
that I wanted to have a look at. 
        Now it's done.

[...]
> < Keep track of unimplemented Windows APIs 
[...]
> This is trivial to add to winapi_check.
> 
> It is simply a matter of adding something like
>       if($statements =~ /FIXME[^;]*stub/s) {
>           # Do what?
>       }
> at the appropriate place.
> 
> The question is what should if do with the stubs it finds
> and how it should be presented?

        There's more than one way to present the results depending
on exactly what is your goal. One way to present things would be
like this:

                   Functions    Stubs    % Implemented

        Total      10000         2000     80%


        User32       100          10      90%
        Kernel32     100          20      80%
        Icmp           4           2      50%
...

        Then if we integrate this with the documentation or the Dll
cross-referencing it would make sense to have a page per Dll and to
repeat the relevant statistics. Such a page would likely contain an
index of this Dll's API and we would then indicate the status of each
API there (potentially using also a color code). Then if each API has a
documentation page we could repeat its status there too. 

        So to answer in a more direct way, simply incrementing a counter
each time an API is found and another each time a stub is found and then
printing the ratio when winapi_check completes would give the first
level of statistics. Then keeping two counters per library would provide
the second level of statistics. Then generating actual HTMl pages, ...

        Well, it can go quite far and most of it probably does not
really fit in the scope winapi_check and what you're doing.


--
Francois Gouget        [EMAIL PROTECTED]        http://fgouget.free.fr/

      Broadcast message : fin du monde dans cinq minutes, repentez vous !

Reply via email to