Re: Diffing Windows and Wine (part2)

2000-12-19 Thread Francois Gouget
On Tue, 19 Dec 2000, Jon wrote: On Tuesday 19 December 2000 3:57 am, Francois Gouget wrote: (even, if it could be rather easy to get the figures higher, with empty stubs) FWIW, I have written a stub dll generator which will read a win dll, and generate a compilable [dll].spec

Re: Diffing Windows and Wine (part2)

2000-12-19 Thread Uwe Bonnes
Francois Gouget writes: Yes, I can see that it could be useful. It's also a very good precursor for writing a 'pedump' tool :-). Well, there is a linux pedump tool. And it even dumps ne/vxd/... Ask Ulrich about a copy :-) Bye Uwe Bonnes[EMAIL PROTECTED] Institut fuer

Re: Diffing Windows and Wine (part2)

2000-12-19 Thread Jon
On Tuesday 19 December 2000 9:05 am, Francois Gouget wrote: It just has one problem: I tested it on comctl32 and it did not generate anything for entry-points that are exported by ordinal only. But I believe adding support for them should be easy. heh, I think it probably has more than

Re: Diffing Windows and Wine (part2)

2000-12-19 Thread Francois Gouget
On Tue, 19 Dec 2000, Uwe Bonnes wrote: Francois Gouget writes: Yes, I can see that it could be useful. It's also a very good precursor for writing a 'pedump' tool :-). Well, there is a linux pedump tool. And it even dumps ne/vxd/... Ask Ulrich about a copy :-) Yes, I know.

RE: Diffing Windows and Wine (part2)

2000-12-19 Thread Patrik Stridvall
On Tuesday 19 December 2000 9:05 am, Francois Gouget wrote: It just has one problem: I tested it on comctl32 and it did not generate anything for entry-points that are exported by ordinal only. But I believe adding support for them should be easy. heh, I think it probably has more

Re: Diffing Windows and Wine (part2)

2000-12-19 Thread Jon
On Tuesday 19 December 2000 10:22 am, you wrote: I have (almost). Just look in wine/tools/winapi_check/winapi_parser.pm. I tried, but I think my brain is just not wired to understand perl beyond a certain level... after 5 minutes of staring at lines like:

RE: Diffing Windows and Wine (part2)

2000-12-19 Thread Patrik Stridvall
On Tuesday 19 December 2000 10:22 am, you wrote: I have (almost). Just look in wine/tools/winapi_check/winapi_parser.pm. I tried, but I think my brain is just not wired to understand perl beyond a certain level... after 5 minutes of staring at lines like:

Re: Diffing Windows and Wine (part2)

2000-12-19 Thread Jon
On Tuesday 19 December 2000 7:39 pm, you wrote: Wow. I'm impressed, that was *quick*. It is a little more complicated than that. You can have comments in the prototype and all sort of nasty things. Yeah, its well above my level. I never got past small mods to other peoples scripts myself.

RE: Diffing Windows and Wine (part2)

2000-12-19 Thread Patrik Stridvall
On Tuesday 19 December 2000 7:39 pm, you wrote: Wow. I'm impressed, that was *quick*. Well, it took almost 3 hours (debugging regexps takes time), so it was not that quick. Of course if hadn't borrowed 95% of the code from winapi_check it would have taken _much_ longer. It is a little

Re: Diffing Windows and Wine (part2)

2000-12-19 Thread Jon
Why do you wish to know awk (except to read awk applications)? Perl is much better. Just for a more lightweight solution (one liners). I know, though, I should just learn more Perl... Also strange function protypes that can't be identified as such are simple skipped and it is hard for me

RE: Diffing Windows and Wine (part2)

2000-12-19 Thread Patrik Stridvall
Why do you wish to know awk (except to read awk applications)? Perl is much better. Just for a more lightweight solution (one liners). Perl one liners work just fine: perl -i -pe 's/Foo/Bar/g' *.c does inplace search and replace of Foo with Bar in all *.c files. I know,

RE: Diffing Windows and Wine (part2)

2000-12-19 Thread Neulinger, Nathan R.
: RE: Diffing Windows and Wine (part2) Why do you wish to know awk (except to read awk applications)? Perl is much better. Just for a more lightweight solution (one liners). Perl one liners work just fine: perl -i -pe 's/Foo/Bar/g' *.c does inplace search and replace of Foo

Re: Diffing Windows and Wine (part2)

2000-12-19 Thread Alexandre Julliard
Francois Gouget [EMAIL PROTECTED] writes: Yes, I know. But what I want is a pedump that is in the Wine CVS tree and under the Wine license. Because then we can really start exploiting it for more things (winemaker, extending specdiff, ...). Did you look at tools/cvdump? Making it dump

Re: Diffing Windows and Wine (part2)

2000-12-19 Thread Francois Gouget
On 19 Dec 2000, Alexandre Julliard wrote: Francois Gouget [EMAIL PROTECTED] writes: Yes, I know. But what I want is a pedump that is in the Wine CVS tree and under the Wine license. Because then we can really start exploiting it for more things (winemaker, extending specdiff, ...).

Re: Diffing Windows and Wine (part2)

2000-12-18 Thread Eric Pouech
Francois Gouget wrote: And don't forget to let me know if you find bugs, have suggestions (patches) for improvement, or questions. one thing that could be added is the number of known APIs for each reference system (set 1). This could give an "advancement percentage" (even, if it could be

Re: Diffing Windows and Wine (part2)

2000-12-18 Thread Francois Gouget
On Mon, 18 Dec 2000, Eric Pouech wrote: Francois Gouget wrote: And don't forget to let me know if you find bugs, have suggestions (patches) for improvement, or questions. one thing that could be added is the number of known APIs for each reference system (set 1). This could give an

Re: Diffing Windows and Wine (part2)

2000-12-18 Thread Jon
On Tuesday 19 December 2000 3:57 am, Francois Gouget wrote: (even, if it could be rather easy to get the figures higher, with empty stubs) FWIW, I have written a stub dll generator which will read a win dll, and generate a compilable [dll].spec [dll]_main.c and [dll].h from it. I was

Diffing Windows and Wine (part2)

2000-12-13 Thread Francois Gouget
Now, how did I do that? No, not by hand and comparing APIs one by one! I whipped up three perl scripts that I attached them to this mail. Be sure to check them out to see in more details what they can do (use '-?' for the usage). * dlldump This one is derived from the 'imports'