Re: kernel32: add a test for CreateFileA()

2010-07-17 Thread Nikolay Sivov
On 7/18/2010 10:17, Austin English wrote: Passed all the vm's on wtb. Hi, Austin. This looks strange: + +hFile = CreateFileA("c:\\*.*", GENERIC_READ,FILE_SHARE_READ,NULL,OPEN_EXISTING,FILE_ATTRIBUTE_NORMAL,NULL ); +ok(GetLastError() == ERROR_INVALID_NAME || broken(GetLastError() ==

re: dlls/user.exec16/user.c: Use FIXME_ONCE for quieter reports

2010-07-17 Thread Dan Kegel
James wrote: > This whole line of thought was rejected, at least once. Yes, but see his later patchset. I think he's now just trying to provide a uniform abstraction for the existing ad-hoc single-shot FIXMEs without adding any new ones, following Henri's advice in http://www.winehq.org/pipermail

Re: user32: RegisterClassEx should check for invalid cbSize field.

2010-07-17 Thread Dylan Smith
On Sat, Jul 17, 2010 at 11:32 PM, Dmitry Timoshkov wrote: > > Testing other values besides 0 would be helpful, in particular values like > sizeof(class) - 1 and sizeof(class) + 1. Did you inspect all the places > in Wine which call RegisterClassEx()? Also, GetClassInfoEx() in Wine is an > obvious

Re: user32: RegisterClassEx should check for invalid cbSize field.

2010-07-17 Thread Dmitry Timoshkov
Dylan Smith wrote: > +wcexA.cbSize= 0; > +wcexA.style = cls.style; > +wcexA.lpfnWndProc = cls.lpfnWndProc; > +wcexA.cbClsExtra= cls.cbClsExtra; > +wcexA.cbWndExtra= cls.cbWndExtra; > +wcexA.hInstance = cls.hInstance; > +wcexA.hIcon

Re: dlls/user.exec16/user.c: Use FIXME_ONCE for quieter reports

2010-07-17 Thread James McKenzie
Max TenEyck Woodbury wrote: --- dlls/user.exe16/user.c | 48 1 files changed, 24 insertions(+), 24 deletions(-) This whole line of thought was rejected, at least once. What is your justification to add this to the project. This should be

Re: [Resend] Add '_ONCE' variants of DPRINTF, FIXME, WARN.

2010-07-17 Thread Mike Kaplinskiy
On Sat, Jul 17, 2010 at 1:29 AM, Max TenEyck Woodbury wrote: > +#define WINE_FIXME_ONCE(args...) do { } while(0) > +#define WINE_FIXME_ONCE_ONCE_(ch) WINE_FIXME_ONCE I think you want WINE_FIXME_ONCE_ not WINE_FIXME_ONCE_ONCE_. > +#define WINE_FIXME_ONCE(args...) do { } while(0) > +#define WINE_FI

Re: ws2_32: socket.c: wrapped WSASendTo/WSARecvFrom with a different function name

2010-07-17 Thread Mike Kaplinskiy
On Sat, Jul 17, 2010 at 7:02 AM, Pigeon wrote: > > WSASendTo/WSARecvFrom, wrapped in a different function name, so that > internal calls from ws2_32 itself will not trigger programs like Garena, > which catches WSASendTo/WSARecvFrom calls. > > Reference: Wine Bug Id #16047 > > --- >  dlls/ws2_32/s

[PATCH] winealsa.drv: Always scan devices, even if a default device exists.

2010-07-17 Thread Jeff Cook
Let me know what you guys think of this one, I think it will be somewhat controversial. There is a registry key to enable this currently, but it should really occur by default and maybe be unchangeable. If you have multiple cards, like a USB mic for capture, scan_devices to 0, as would occur on ma

Re: ws2_32: socket.c: wrapped WSASendTo/WSARecvFrom with a different function name

2010-07-17 Thread John Klehm
On Sat, Jul 17, 2010 at 6:02 AM, Pigeon wrote: > > WSASendTo/WSARecvFrom, wrapped in a different function name, so that > internal calls from ws2_32 itself will not trigger programs like Garena, > which catches WSASendTo/WSARecvFrom calls. > > Reference: Wine Bug Id #16047 > > --- Need your real

Re: [1/2] imagehlp: Add tests for ImageGetDigestStream

2010-07-17 Thread Henri Verbeet
On 17 July 2010 09:07, Andrey Turkin wrote: > +#ifdef NONAMELESSUNION > +# define U(x) (x).u > +#else > +# define U(x) (x) > +#endif I think this is already done in wine/test.h? > +static BOOL WINAPI accumulating_stream_output(DIGEST_HANDLE handle, BYTE *pb, > + DWORD cb) "pb" can probably be c

Re: kernel32: Enhance EndUpdateResource

2010-07-17 Thread Henri Verbeet
On 17 July 2010 09:06, Andrey Turkin wrote: > +if (nt->OptionalHeader.FileAlignment <= 0) I can't comment much on the changes themselves, but FileAlignment is unsigned, so can't be < 0.

Re: [RFC PATCH 2/2] wined3d: Let GetRasterStatus return D3DERR_INVALIDCALL.

2010-07-17 Thread Henri Verbeet
On 17 July 2010 12:43, Florian Köberle wrote: > diff --git a/dlls/wined3d/swapchain_base.c b/dlls/wined3d/swapchain_base.c > index 1817de2..3f2a4e5 100644 > --- a/dlls/wined3d/swapchain_base.c > +++ b/dlls/wined3d/swapchain_base.c > @@ -131,7 +131,7 @@ HRESULT WINAPI > IWineD3DBaseSwapChainImpl_G

Re: [RFC PATCH 1/2] d3d9/tests: Test that GetRasterStatus returns D3DERR_INVALIDCALL if D3DCAPS_READ_SCANLINE isn't set.

2010-07-17 Thread Henri Verbeet
On 17 July 2010 12:43, Florian Köberle wrote: > +    if ((caps.Caps & D3DCAPS_READ_SCANLINE) == 0) { > +        ZeroMemory( &rasterStatus, sizeof(rasterStatus) ); > +        hr = IDirect3DDevice9_GetRasterStatus(pDevice, 0, &rasterStatus); > +        todo_wine > +        ok(hr == D3DERR_INVALIDCAL

Re: [PATCH 1/5] jscript: Fixed sort_cmp for non-string arguments.

2010-07-17 Thread Henri Verbeet
On 17 July 2010 13:28, Jacek Caban wrote: > +}else if(V_VT(v1) == VT_EMPTY) { > +*cmp = V_VT(v1) == VT_EMPTY ? 0 : 1; That looks wrong, should that read "*cmp = V_VT(v2) == VT_EMPTY ? 0 : 1;" instead?

Re: [PATCH 09/10] d3dx9: Implement D3DXCreateBox for the case of incorrect parameters. (try 2)

2010-07-17 Thread testbot
Hi, While running your changed tests on Windows, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check? Full results can be found at http://testbot.winehq.org/JobDetails.pl?Key=3425 Your paranoid android.

Re: [PATCH 07/10] d3dx9: Add tests for D3DXCreateBox index buffer description. (try 2)

2010-07-17 Thread testbot
Hi, While running your changed tests on Windows, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check? Full results can be found at http://testbot.winehq.org/JobDetails.pl?Key=3423 Your paranoid android.

Re: [PATCH 05/10] d3dx9: Add comment to delineate vertex buffer and index buffer tests. (try 2)

2010-07-17 Thread testbot
Hi, While running your changed tests on Windows, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check? Full results can be found at http://testbot.winehq.org/JobDetails.pl?Key=3421 Your paranoid android.

Re: [2/2] imagehlp: Implement ImageGetDigestStream

2010-07-17 Thread Andrey Turkin
On Saturday 17 July 2010 18:19:50 Dan Kegel wrote: > I was worried that mapping the file will fail if you're > low on address space and are running this function > on a large PE file. > It ought to be possible to write a test to see how > the function behaves when you've used up oodles > of address

Re: [PATCH 10/10] d3dx9: Add basic test for D3DXCreateBox vertex buffer declaration. (try 2)

2010-07-17 Thread testbot
Hi, While running your changed tests on Windows, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check? Full results can be found at http://testbot.winehq.org/JobDetails.pl?Key=3426 Your paranoid android.

Re: [PATCH 08/10] d3dx9: Add NULL mesh parameter test to D3DXCreateBox. (try 2)

2010-07-17 Thread testbot
Hi, While running your changed tests on Windows, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check? Full results can be found at http://testbot.winehq.org/JobDetails.pl?Key=3424 Your paranoid android.

Re: [PATCH 06/10] d3dx9: Add test for number of faces in D3DXCreateBox. (try 2)

2010-07-17 Thread testbot
Hi, While running your changed tests on Windows, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check? Full results can be found at http://testbot.winehq.org/JobDetails.pl?Key=3422 Your paranoid android.

Re: [PATCH 01/10] d3dx9: Test number of vertices for D3DXCreateSphere, retrieve vertex buffer. (try 2)

2010-07-17 Thread testbot
Hi, While running your changed tests on Windows, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check? Full results can be found at http://testbot.winehq.org/JobDetails.pl?Key=3417 Your paranoid android.

Re: [PATCH 02/10] d3dx9: Add tests for D3DXCreateSphere vertex buffer description. (try 2)

2010-07-17 Thread testbot
Hi, While running your changed tests on Windows, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check? Full results can be found at http://testbot.winehq.org/JobDetails.pl?Key=3418 Your paranoid android.

Re: [PATCH 03/10] d3dx9: Test raw vertex data for D3DXCreateSphere. (try 2)

2010-07-17 Thread testbot
Hi, While running your changed tests on Windows, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check? Full results can be found at http://testbot.winehq.org/JobDetails.pl?Key=3419 Your paranoid android.

Re: [PATCH 04/10] d3dx9: Add tests for D3DXCreateBox. (try 2)

2010-07-17 Thread testbot
Hi, While running your changed tests on Windows, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check? Full results can be found at http://testbot.winehq.org/JobDetails.pl?Key=3420 Your paranoid android.

Re: Sending patches for bug #22918

2010-07-17 Thread Misha Koshelev
On Sat, 2010-07-17 at 15:39 +0200, Frédéric Delanoy wrote: > On Sat, Jul 17, 2010 at 14:43, Misha Koshelev wrote: > > On Fri, 2010-07-16 at 20:08 -0700, James McKenzie wrote: > >> Misha Koshelev wrote: > > p.s. Do I remember correctly AJ does not commit on weekends? > > Exactly. 5 times a week sh

Re: shell32: Implement Set/GetCurrentViewMode in the default shellview.

2010-07-17 Thread Nikolay Sivov
On 7/17/2010 21:20, David Hedberg wrote: Thanks for the pointers, I'll see if I can expand the tests somewhat and send a new version, probably simply using the local SetStyle helper (unless the tests shows something really weird). I realized that probably not all modes could be supported with v5

Re: If we can't open a device as stereo, try mono. This is necessary for snd-usb-audio mics.

2010-07-17 Thread Austin English
On Sat, Jul 17, 2010 at 8:04 AM, Jeff Cook wrote: > --- >  dlls/winealsa.drv/waveinit.c |    4 >  1 files changed, 4 insertions(+), 0 deletions(-) Patches should be sent to wine-patches, not wine-devel. Unless you're asking for comments/review. -- -Austin

Re: shell32: Implement Set/GetCurrentViewMode in the default shellview.

2010-07-17 Thread David Hedberg
On Sat, Jul 17, 2010 at 5:51 PM, Nikolay Sivov wrote: >  On 7/17/2010 19:45, David Hedberg wrote: >> >> On Sat, Jul 17, 2010 at 5:30 PM, Nikolay Sivov >>  wrote: >>> >>>  On 7/17/2010 19:08, David Hedberg wrote:  static HRESULT WINAPI IFView_SetCurrentViewMode(IFolderView *iface, UI

Re: shell32: Implement Set/GetCurrentViewMode in the default shellview.

2010-07-17 Thread Nikolay Sivov
On 7/17/2010 19:45, David Hedberg wrote: On Sat, Jul 17, 2010 at 5:30 PM, Nikolay Sivov wrote: On 7/17/2010 19:08, David Hedberg wrote: static HRESULT WINAPI IFView_SetCurrentViewMode(IFolderView *iface, UINT mode) { - IShellViewImpl *This = impl_from_IFolderView(iface); - F

Re: shell32: Implement Set/GetCurrentViewMode in the default shellview.

2010-07-17 Thread David Hedberg
On Sat, Jul 17, 2010 at 5:30 PM, Nikolay Sivov wrote: >  On 7/17/2010 19:08, David Hedberg wrote: >> >>  static HRESULT WINAPI IFView_SetCurrentViewMode(IFolderView *iface, UINT >> mode) >>  { >> -       IShellViewImpl *This = impl_from_IFolderView(iface); >> -       FIXME("(%p)->(%u), stub\n", Th

Re: [PATCH 1/2] include/shell32: Shell_MergeMenus should be declared in shlobj.h and exported by name.

2010-07-17 Thread testbot
Hi, While running your changed tests on Windows, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check? Full results can be found at http://testbot.winehq.org/JobDetails.pl?Key=3414 Your paranoid android.

Re: shell32: Implement IPersistFolder2 for the desktop folder.

2010-07-17 Thread Nikolay Sivov
On 7/17/2010 19:08, David Hedberg wrote: +static HRESULT WINAPI ISF_Desktop_IPersistFolder2_fnInitialize( +IPersistFolder2 *iface, LPCITEMIDLIST pidl) +{ +FIXME("Not implemented.\n"); +return E_NOTIMPL; Call it just "stub" and dump parameters please. + +pidl = NULL; +

Re: shell32: Implement Set/GetCurrentViewMode in the default shellview.

2010-07-17 Thread Nikolay Sivov
On 7/17/2010 19:08, David Hedberg wrote: static HRESULT WINAPI IFView_SetCurrentViewMode(IFolderView *iface, UINT mode) { - IShellViewImpl *This = impl_from_IFolderView(iface); - FIXME("(%p)->(%u), stub\n", This, mode); - return E_NOTIMPL; +IShellViewImpl *This = im

Re: Anotated 'make test' log

2010-07-17 Thread Detlef Riekenberg
Hi Max Welcome to Wine. Your Patch "[Add '_ONCE' variants of DPRINTF, FIXME, WARN.]" ( http://source.winehq.org/patches/data/63503 ) has a typo near the end: #define ERR_ONCE WINE_ERR_ONCEE -- By by ... Detlef ___ Neu:

re: [2/2] imagehlp: Implement ImageGetDigestStream

2010-07-17 Thread Dan Kegel
I was worried that mapping the file will fail if you're low on address space and are running this function on a large PE file. It ought to be possible to write a test to see how the function behaves when you've used up oodles of address space, though it'd be tricky to make the test reliable. I see

Re: Please remove / block user from bugzilla

2010-07-17 Thread Rosanne DiMesio
On Sat, 17 Jul 2010 10:43:00 +0200 Gert van den Berg wrote: > It might be a good idea to try and get most potential bug reports > discussed on the forum first? > That's what I meant when I suggested adding a line above the comment box (or anywhere on the page that seems suitable). Some users

Re: Sending patches for bug #22918

2010-07-17 Thread Frédéric Delanoy
On Sat, Jul 17, 2010 at 14:43, Misha Koshelev wrote: > On Fri, 2010-07-16 at 20:08 -0700, James McKenzie wrote: >> Misha Koshelev wrote: > p.s. Do I remember correctly AJ does not commit on weekends? Exactly. 5 times a week should be sufficient ;)

Re: [PATCH 5/5] mshtml: Added IHTMLDocument3::detachEvent implementation.

2010-07-17 Thread testbot
Hi, While running your changed tests on Windows, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check? Full results can be found at http://testbot.winehq.org/JobDetails.pl?Key=3405 Your paranoid android.

If we can't open a device as stereo, try mono. This is necessary for snd-usb-audio mics.

2010-07-17 Thread Jeff Cook
--- dlls/winealsa.drv/waveinit.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/dlls/winealsa.drv/waveinit.c b/dlls/winealsa.drv/waveinit.c index 4da53c9..4ae93bb 100644 --- a/dlls/winealsa.drv/waveinit.c +++ b/dlls/winealsa.drv/waveinit.c @@ -106,6 +106,10 @@ static

Init mixer on cards with a single Mic control, like snd_usb_audio mics

2010-07-17 Thread Jeff Cook
This patch fixes bug #12706 and creates a mixer for snd-usb-audio cards, which have only a single Mic control and nothing else. Subsequent patches may be needed to make this useful depending on configuration. I am including this here for commentary before I submit to wine-patches. This is my f

[without attachment][RFC PATCH 0/2] GetRasterStatus: Needs to be tested on Windows

2010-07-17 Thread Florian Köberle
Hello my first mail with the 1.4 MB attachment got luckily filtered by the mailinglist. This is a slightly modified version of it: According to the MSDN GetRasterStatus should return D3DERR_INVALIDCALL if the flag D3DCAPS_READ_SCANLINE isn't set [0]. I wrote a test which tests exactly that stat

Re: Sending patches for bug #22918

2010-07-17 Thread Misha Koshelev
On Fri, 2010-07-16 at 20:08 -0700, James McKenzie wrote: > Misha Koshelev wrote: > > Dear All: > > > > Congrats on 1.2! > > > > I have begun sending my patches from my repository: > > http://github.com/misha680/wine/commits/master > > > > > Misha: > > Might I make a tiny suggestion: Send in on

Re: [PATCH 1/5] jscript: Fixed sort_cmp for non-string arguments.

2010-07-17 Thread testbot
Hi, While running your changed tests on Windows, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check? Full results can be found at http://testbot.winehq.org/JobDetails.pl?Key=3401 Your paranoid android.

Re: [PATCH] WEBSITE: fixed 1.2 tarball link

2010-07-17 Thread Marcus Meissner
On Sat, Jul 17, 2010 at 01:21:19PM +0200, Marcus Meissner wrote: > --- > news/de/2010071601.xml |4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/news/de/2010071601.xml b/news/de/2010071601.xml > index b521984..5dc2a1a 100644 > --- a/news/de/2010071601.xml > +++ b/n

Re: Post-release plans

2010-07-17 Thread Ben Klein
On 17 July 2010 16:07, Scott Ritchie wrote: > On 07/16/2010 11:22 AM, Alexandre Julliard wrote: >> Folks, >> >> First I want to thank everybody for your great work of the past two >> years. I'm very happy with what we have achieved with 1.2 (even if we >> didn't manage to get the regression number

[RFC PATCH 2/2] wined3d: Let GetRasterStatus return D3DERR_INVALIDCALL.

2010-07-17 Thread Florian Köberle
--- dlls/d3d9/tests/device.c |1 - dlls/wined3d/swapchain_base.c |2 +- 2 files changed, 1 insertions(+), 2 deletions(-) diff --git a/dlls/d3d9/tests/device.c b/dlls/d3d9/tests/device.c index 0acedcb..2345c34 100644 --- a/dlls/d3d9/tests/device.c +++ b/dlls/d3d9/tests/device.c @@ -27

[RFC PATCH 1/2] d3d9/tests: Test that GetRasterStatus returns D3DERR_INVALIDCALL if D3DCAPS_READ_SCANLINE isn't set.

2010-07-17 Thread Florian Köberle
--- dlls/d3d9/tests/device.c | 53 ++ 1 files changed, 53 insertions(+), 0 deletions(-) diff --git a/dlls/d3d9/tests/device.c b/dlls/d3d9/tests/device.c index ba25760..0acedcb 100644 --- a/dlls/d3d9/tests/device.c +++ b/dlls/d3d9/tests/device.c @@ -27

Re: [RFC PATCH 0/2] GetRasterStatus: Needs to be tested on Windows

2010-07-17 Thread Florian Köberle
Sorry for the big attachment, didn't realize that crosstests executables are so large.

Re: Please remove / block user from bugzilla

2010-07-17 Thread Gert van den Berg
On Sat, Jul 17, 2010 at 10:27, David Gerard wrote: > You are going to get noise. Stopping people reporting bugs is probably > not the answer. It's hard enough to get bug reports out of people > already. A "Where do I" (of "What do I do when...") section in the FAQ might help in some cases? (w

Re: Please remove / block user from bugzilla

2010-07-17 Thread David Gerard
On 17 July 2010 03:56, James McKenzie wrote: > Does this sound doable and is it permissible?  I don't want folks walking > away because they cannot post, but if they are posting garbage it doesn't > help us. It depends also on the balance you want between (a) the possibility of a bad comment o