Re: [PATCH] gdi32: Don't enumerate font when OpenFontFace fails.

2012-12-05 Thread Qian Hong
Hello, On Thu, Dec 6, 2012 at 3:42 PM, Dmitry Timoshkov wrote: > > 'face' and 'family' are leaked here. Also returning FALSE at this point > is too late since both 'face' and 'family' are already in the linked lists. Thanks for point out this! I'll investigate more. -- Regards, Qian Hong - Sen

Re: [PATCH] gdi32: Don't enumerate font when OpenFontFace fails.

2012-12-05 Thread Dmitry Timoshkov
Qian Hong wrote: > -GetEnumStructs( face, &elf, &ntm, &type ); > +if (!get_enum_structs( face, &elf, &ntm, &type )) return FALSE; > free_family( family ); 'face' and 'family' are leaked here. Also returning FALSE at this point is too late since both 'face' and 'family' are already i

Re: [PATCH 1/4] kernel32: Support UTF-7 in MultiByteToWideChar.

2012-12-05 Thread Alex Henrie
2012/12/5 Alexandre Julliard : > You have nowhere near enough tests to make such a claim. When I said to > write more tests, I didn't mean one or two more. You'd probably need at > least 100 tests to have decent coverage of all the interesting cases. It's not as much of a technical problem as it i

[3/4] gdiplus: Always use AlphaBlend to draw to 32-bit DIB's.

2012-12-05 Thread Vincent Povirk
From c785203469fe96df081c5b0812d64699ec8f4f2f Mon Sep 17 00:00:00 2001 From: Vincent Povirk Date: Wed, 5 Dec 2012 13:15:25 -0600 Subject: [PATCH 3/4] gdiplus: Always use AlphaBlend to draw to 32-bit DIB's. --- dlls/gdiplus/gdiplus_private.h |1 + dlls/gdiplus/graphics.c| 19 ++

Re: [PATCH] winmm: Don't mask out SND_ALIAS_ID or SND_FILENAME in sndPlaySound

2012-12-05 Thread Alexandre Julliard
Dmitry Timoshkov writes: > Andrew Eikum wrote: > >> There is an implied test which is that the tests do not crash. Without >> the change to , the tests you object to will >> crash. With the change, they do not crash. This is the behavior being >> tested. > > I think that Alexandre said several t

Re: [PATCH] winmm: Don't mask out SND_ALIAS_ID or SND_FILENAME in sndPlaySound

2012-12-05 Thread Dmitry Timoshkov
Andrew Eikum wrote: > There is an implied test which is that the tests do not crash. Without > the change to , the tests you object to will > crash. With the change, they do not crash. This is the behavior being > tested. I think that Alexandre said several times that the tests for crashes are u

Re: [PATCH] winmm: Don't mask out SND_ALIAS_ID or SND_FILENAME in sndPlaySound

2012-12-05 Thread Andrew Eikum
On Thu, Dec 06, 2012 at 12:14:53AM +0800, Dmitry Timoshkov wrote: > Andrew Eikum wrote: > > > > > The call is only supposed to return TRUE or FALSE, so I guess it's > > > > checking that the return value isn't 3 or something. Not very useful, > > > > sure, but it looked odd to just have a series

Re: [PATCH] winmm: Don't mask out SND_ALIAS_ID or SND_FILENAME in sndPlaySound

2012-12-05 Thread Dmitry Timoshkov
Andrew Eikum wrote: > > > The call is only supposed to return TRUE or FALSE, so I guess it's > > > checking that the return value isn't 3 or something. Not very useful, > > > sure, but it looked odd to just have a series of sndPlaySound calls in > > > a row without ok() calls. The real test is to

Re: [PATCH] winmm: Don't mask out SND_ALIAS_ID or SND_FILENAME in sndPlaySound

2012-12-05 Thread Andrew Eikum
On Wed, Dec 05, 2012 at 11:21:39PM +0800, Dmitry Timoshkov wrote: > Andrew Eikum wrote: > > The call is only supposed to return TRUE or FALSE, so I guess it's > > checking that the return value isn't 3 or something. Not very useful, > > sure, but it looked odd to just have a series of sndPlaySound

Re: [PATCH] winmm: Don't mask out SND_ALIAS_ID or SND_FILENAME in sndPlaySound

2012-12-05 Thread Dmitry Timoshkov
Andrew Eikum wrote: > > > > > +br = sndPlaySoundA((LPCSTR)SND_ALIAS_SYSTEMASTERISK, > > > > > SND_ALIAS_ID|SND_SYNC); > > > > > +ok(br == TRUE || br == FALSE, "sndPlaySound gave strange return: > > > > > %u\n", br); > > > > > > > > This kind of test is broken. > > > > > > > > > > Car

Re: [PATCH] winmm: Don't mask out SND_ALIAS_ID or SND_FILENAME in sndPlaySound

2012-12-05 Thread Andrew Eikum
On Wed, Dec 05, 2012 at 11:06:48PM +0800, Dmitry Timoshkov wrote: > Andrew Eikum wrote: > > > > > +br = sndPlaySoundA((LPCSTR)SND_ALIAS_SYSTEMASTERISK, > > > > SND_ALIAS_ID|SND_SYNC); > > > > +ok(br == TRUE || br == FALSE, "sndPlaySound gave strange return: > > > > %u\n", br); > > > >

Re: [PATCH] winmm: Don't mask out SND_ALIAS_ID or SND_FILENAME in sndPlaySound

2012-12-05 Thread Dmitry Timoshkov
Andrew Eikum wrote: > > > +br = sndPlaySoundA((LPCSTR)SND_ALIAS_SYSTEMASTERISK, > > > SND_ALIAS_ID|SND_SYNC); > > > +ok(br == TRUE || br == FALSE, "sndPlaySound gave strange return: > > > %u\n", br); > > > > This kind of test is broken. > > > > Care to elaborate? Being this terse hel

Re: [PATCH] winmm: Don't mask out SND_ALIAS_ID or SND_FILENAME in sndPlaySound

2012-12-05 Thread Andrew Eikum
On Wed, Dec 05, 2012 at 11:59:01AM +0800, Dmitry Timoshkov wrote: > Andrew Eikum wrote: > > > +br = sndPlaySoundA((LPCSTR)SND_ALIAS_SYSTEMASTERISK, > > SND_ALIAS_ID|SND_SYNC); > > +ok(br == TRUE || br == FALSE, "sndPlaySound gave strange return: > > %u\n", br); > > This kind of test is

Re: testbot/build: Chdir to the Wine source directory before calling 'git apply'.

2012-12-05 Thread Henri Verbeet
On 5 December 2012 05:35, Francois Gouget wrote: > The --directory option is not meant to specify where the Git repository lives. > --- > > I'm not sure how it worked before. Maybe this use of the --directory > option worked by chance but git changed and broke it. > Alternatively you could set GIT

Re: [PATCH 1/4] kernel32: Support UTF-7 in MultiByteToWideChar.

2012-12-05 Thread Alexandre Julliard
Alex Henrie writes: > Far from not addressing any of these issues, I feel that I have > addressed all of them. More importantly, my implementation is correct; > it matches Windows XP exactly. You have nowhere near enough tests to make such a claim. When I said to write more tests, I didn't mean

Re: d3dx9_36 [patch 1/3]: Implement D3DXSHEvalHemisphereLight

2012-12-05 Thread Rico Schüller
On 05.12.2012 09:07, Nozomi Kodama wrote: Hello any problems with the patches http://source.winehq.org/patches/data/91986 http://source.winehq.org/patches/data/91985 http://source.winehq.org/patches/data/91984 Best regards, Nozomi 91985/6: +for (i = 0; i < order; i++) +{ +s

Re: [PATCH 1/4] kernel32: Support UTF-7 in MultiByteToWideChar.

2012-12-05 Thread Dmitry Timoshkov
David Laight wrote: > > I think encoding and decoding in UTF-7 arbitrary binary data was > > considered a "feature" in Windows XP. As MSDN said, "Code written in > > earlier versions of Windows that rely on this behavior to encode > > random non-text binary data might run into problems." So I'm s

d3dx9_36 [patch 1/3]: Implement D3DXSHEvalHemisphereLight

2012-12-05 Thread Nozomi Kodama
Hello any problems with the patches http://source.winehq.org/patches/data/91986 http://source.winehq.org/patches/data/91985 http://source.winehq.org/patches/data/91984 Best regards, Nozomi

Re: [PATCH 1/4] kernel32: Support UTF-7 in MultiByteToWideChar.

2012-12-05 Thread David Laight
On Tue, Dec 04, 2012 at 08:30:55PM -0700, Alex Henrie wrote: > 2012/12/4 Fr?d?ric Delanoy : > > The above MSDN comment indicates pre-Vista versions are buggy, so it's > > probably not a good idea to match that behaviour. > > I think encoding and decoding in UTF-7 arbitrary binary data was > consid