Re: [PATCH 2/2] winemac: Implement support for global hot keys.

2013-09-19 Thread Vincent Povirk
I don't think this is going to work correctly when replacing hotkeys (by passing an already-registered hwnd and id to RegisterHotKey with a different key combination). Since the user driver's RegisterHotKey function will be called with the new id/vkey/flags before UnregisterHotKey is called for

Re: oledb32: Implement IErrorRecord GetBasicErrorInfo

2013-09-18 Thread Nikolay Sivov
On 09/18/2013 09:47 AM, Alistair Leslie-Hughes wrote: +LIST_FOR_EACH_ENTRY(cursor,This-errors, struct ErrorEntry, entry) +{ +if(nCnt == ulRecordNum) +{ +*pErrorInfo = cursor-info; +break; +} +} + This looks wrong, cause you never update

Re: [1/4] ntdll/tests: Add 0-length read tests for a disk file.

2013-09-18 Thread Nikolay Sivov
On 09/18/2013 10:53 AM, Dmitry Timoshkov wrote: --- dlls/ntdll/tests/file.c | 41 + 1 file changed, 41 insertions(+) diff --git a/dlls/ntdll/tests/file.c b/dlls/ntdll/tests/file.c index 120fdac..5ae605b 100644 --- a/dlls/ntdll/tests/file.c +++

Re: [1/4] ntdll/tests: Add 0-length read tests for a disk file.

2013-09-18 Thread Dmitry Timoshkov
Nikolay Sivov nsi...@codeweavers.com wrote: --- a/dlls/ntdll/tests/file.c +++ b/dlls/ntdll/tests/file.c @@ -1985,6 +1985,22 @@ static void test_read_write(void) bytes = 0xdeadbeef; SetLastError(0xdeadbeef); +ret = ReadFile(INVALID_HANDLE_VALUE, buf, 0,bytes, NULL);

Re: [8/9] gdi32: Return GDI_ERROR when requested empty glyph bitmaps.

2013-09-18 Thread Marvin
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 https://newtestbot.winehq.org/JobDetails.pl?Key=2207 Your paranoid

Re: [PATCH 2/8] wined3d: Introduce a format flag for volume texture support.

2013-09-18 Thread Henri Verbeet
On 17 September 2013 21:07, Stefan Dösinger ste...@codeweavers.com wrote: I might have misunderstood what you meant with separate flags for each GL resource type. Did you mean something like this B8G8R8A8_UNORM.flags[texture2d] = RENDERTARGET | TEXTURE | ...;

Re: patch:add ualapi directory

2013-09-18 Thread Marvin
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 https://newtestbot.winehq.org/JobDetails.pl?Key=2209 Your paranoid

Re: [1/5] ws2_32: Advertise protocol entries as default

2013-09-18 Thread Marvin
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 https://newtestbot.winehq.org/JobDetails.pl?Key=2210 Your paranoid

Asynchronous read/write tests in ntdll/tests/file.c

2013-09-18 Thread Thomas Faber
Hey Dmitry, I noticed a couple of tests structured like this: status = pNtWriteFile(hfile, 0, NULL, NULL, iob, contents, sizeof(contents), offset, NULL); ok(status == STATUS_PENDING || broken(status == STATUS_SUCCESS) /* see below */, expected STATUS_PENDING, got %#x\n, status); ok(iob.Status ==

Re: Asynchronous read/write tests in ntdll/tests/file.c

2013-09-18 Thread Dmitry Timoshkov
Thomas Faber thfa...@gmx.de wrote: I noticed a couple of tests structured like this: status = pNtWriteFile(hfile, 0, NULL, NULL, iob, contents, sizeof(contents), offset, NULL); ok(status == STATUS_PENDING || broken(status == STATUS_SUCCESS) /* see below */, expected STATUS_PENDING, got

Re: [4/5] ws2_32: Fix WSASocket return code for invalid combination of socket type and protocol

2013-09-18 Thread Marvin
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 https://newtestbot.winehq.org/JobDetails.pl?Key=2211 Your paranoid

Re: [5/5] ws2_32: Fix the error returned for denied SOCK_RAW attempts

2013-09-18 Thread Marvin
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 https://newtestbot.winehq.org/JobDetails.pl?Key=2212 Your paranoid

Re: [2/2] shlwapi: Write file access also assumes read access.

2013-09-18 Thread Marvin
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 https://newtestbot.winehq.org/JobDetails.pl?Key=2215 Your paranoid

Re: [1/2] shlwapi/tests: Add a read/write test for IStream on files.

2013-09-18 Thread Marvin
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 https://newtestbot.winehq.org/JobDetails.pl?Key=2214 Your paranoid

Re: msvcrt: Fix Inf and NaN handling in printf function

2013-09-18 Thread Marvin
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 https://newtestbot.winehq.org/JobDetails.pl?Key=2217 Your paranoid

Re: kernel32/tests: Add initial CreateFile2 tests based on the CreateFileW tests (try 3)

2013-09-18 Thread Marvin
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 https://newtestbot.winehq.org/JobDetails.pl?Key=2221 Your paranoid

Re: msvcrt/tests: Load the correct function on ARM

2013-09-18 Thread Marvin
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 https://newtestbot.winehq.org/JobDetails.pl?Key= Your paranoid

Re: Asynchronous read/write tests in ntdll/tests/file.c

2013-09-18 Thread Thomas Faber
On 2013-09-18 11:31, Dmitry Timoshkov wrote: Thomas Faber thfa...@gmx.de wrote: status = pNtWriteFile(hfile, 0, NULL, NULL, iob, contents, sizeof(contents), offset, NULL); ok(status == STATUS_PENDING || broken(status == STATUS_SUCCESS) /* see below */, expected STATUS_PENDING, got %#x\n,

Re: [3/4] ws2_32: Filter invalid socket parameters and return the appropriate error

2013-09-18 Thread Marvin
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 https://newtestbot.winehq.org/JobDetails.pl?Key=2228 Your paranoid

Re: [4/4] ws2_32: Do not allow socket creation if WSAStartup was not called

2013-09-18 Thread Marvin
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 https://newtestbot.winehq.org/JobDetails.pl?Key=2229 Your paranoid

Re: [2/4] ws2_32: Auto detect the socket type and family based on the protocol (try 2)

2013-09-18 Thread Marvin
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 https://newtestbot.winehq.org/JobDetails.pl?Key=2236 Your paranoid

Re: wsnmp32: Add stub implementations for a couple of functions.

2013-09-18 Thread Marvin
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 https://newtestbot.winehq.org/JobDetails.pl?Key=2230 Your paranoid

Re: [1/4] ws2_32: Use the struct information when the parameters are zero in WSASocket (try 2)

2013-09-18 Thread Marvin
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 https://newtestbot.winehq.org/JobDetails.pl?Key=2235 Your paranoid

Re: [PATCH 7/8] d3d9/tests: Add tests for block-based volume formats.

2013-09-18 Thread Marvin
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 https://newtestbot.winehq.org/JobDetails.pl?Key=2233 Your paranoid

Re: [4/4] ws2_32: Do not allow socket creation if WSAStartup was not called

2013-09-18 Thread Marvin
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 https://newtestbot.winehq.org/JobDetails.pl?Key=2238 Your paranoid

Re: [PATCH 1/8] d3dx9_36/tests: Create*TextureFromFileInMemory doesn't fail.

2013-09-18 Thread Marvin
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 https://newtestbot.winehq.org/JobDetails.pl?Key=2231 Your paranoid

Re: [PATCH 3/8] wined3d: Check for support before creating volume textures.

2013-09-18 Thread Marvin
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 https://newtestbot.winehq.org/JobDetails.pl?Key=2232 Your paranoid

Re: [3/4] ws2_32: Filter invalid socket parameters and return the appropriate error

2013-09-18 Thread Marvin
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 https://newtestbot.winehq.org/JobDetails.pl?Key=2237 Your paranoid

Re: [PATCH 8/8] d3d9/tests: Test invalid volume lock boxes.

2013-09-18 Thread Marvin
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 https://newtestbot.winehq.org/JobDetails.pl?Key=2234 Your paranoid

Re: [PATCH 1/5] user32: Add a SetMinMaxInfo driver entry point.

2013-09-18 Thread Ken Thomases
On Sep 16, 2013, at 1:21 PM, Ken Thomases wrote: On Sep 16, 2013, at 12:55 PM, Alexandre Julliard wrote: It's better to avoid adding entry points that don't correspond to Windows APIs. Instead you should request the info when you need it. Cocoa makes use of the size limits spontaneously,

Re: [PATCH 3/5] mshtml: Keep moniker reference after start_binding call.

2013-09-18 Thread Alexandre Julliard
Jacek Caban ja...@codeweavers.com writes: --- dlls/mshtml/navigate.c | 3 --- 1 file changed, 3 deletions(-) It doesn't work here: ../../../tools/runtest -q -P wine -M urlmon.dll -T ../../.. -p urlmon_test.exe.so url.c touch url.ok url.c:3397: Test failed: mon should be destroyed here

Re: Bad CPU autoscaling is making games unplayable for a lot of users

2013-09-17 Thread Konstantin Litvinenko
On 09/14/2013 12:14 AM, Scott Ritchie wrote: Over the past couple years I've been able to try out Wine games on many different environments -- laptops, desktops, even cloud servers. On many occasions, I've discovered that a game appears to run functionally but slowly, however upon further

Re: iphlpapi: Add AllocateAndGetTcpExTableFromStack() (try 7)

2013-09-17 Thread Ralf Habacker
Am 10.09.2013 11:44, schrieb Ralf Habacker: - remove misleading comment Just for the record: http://msdn.microsoft.com/en-us/library/windows/desktop/aa365804%28v=vs.85%29.aspx do not mention any error code, which could be tested If the function succeeds, it returns ERROR_SUCCESS. If the

Re: Bad CPU autoscaling is making games unplayable for a lot of users

2013-09-17 Thread David Laight
On Fri, Sep 13, 2013 at 02:14:24PM -0700, Scott Ritchie wrote: Over the past couple years I've been able to try out Wine games on many different environments -- laptops, desktops, even cloud servers. On many occasions, I've discovered that a game appears to run functionally but slowly,

server/protocol.def and array types

2013-09-17 Thread Hugh McMaster
I'm testing support for GetConsoleScreenBufferInfoEx. At the moment, I've extended the screen_buffer struct in server/console.c to look like this: struct screen_buffer { struct object obj; /* object header */ struct list entry; /* entry in list of all

Re: [PATCH 2/5] ddraw: Don't set render target / depth stencil usage on sysmem surfaces.

2013-09-17 Thread Stefan Dösinger
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 2013-09-17 09:22, schrieb Henri Verbeet: Setting render target usage on a P8 surface for example would fail surface creation, while such surfaces can't be used for actual rendering anyway. Tests confirm that surface creation is supposed to

Re: [PATCH 7/8] d3d9/tests: Add tests for block-based volume formats.

2013-09-17 Thread Stefan Dösinger
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 2013-09-17 11:39, schrieb Stefan Dösinger: --- dlls/d3d9/tests/device.c | 340 +++ 1 file changed, 340 insertions(+) Fyi, I have equivalent tests for d3d8, the behavior is the same. -BEGIN PGP

Re: [PATCH 2/5] ddraw: Don't set render target / depth stencil usage on sysmem surfaces.

2013-09-17 Thread Henri Verbeet
On 17 September 2013 11:48, Stefan Dösinger stefandoesin...@gmail.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 2013-09-17 09:22, schrieb Henri Verbeet: Setting render target usage on a P8 surface for example would fail surface creation, while such surfaces can't be used for

Re: [1/4] ws2_32: Use the struct information when the parameters are zero in WSASocket

2013-09-17 Thread Alexandre Julliard
Bruno Jesus 00cp...@gmail.com writes: @@ -5884,20 +5884,20 @@ SOCKET WINAPI WSASocketW(int af, int type, int protocol, return ret; } -/* convert the socket family and type */ -af = convert_af_w2u(af); -type = convert_socktype_w2u(type); - if

Re: [1/9] Fix expected values in various messages.

2013-09-17 Thread Marvin
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 https://newtestbot.winehq.org/JobDetails.pl?Key=2198 Your paranoid

Re: [PATCH 2/5] ddraw: Don't set render target / depth stencil usage on sysmem surfaces.

2013-09-17 Thread Stefan Dösinger
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 2013-09-17 11:55, schrieb Henri Verbeet: CreateDevice() returns D3DERR_SURFACENOTINVIDMEM, provided the surface would otherwise be suitable for rendering. SetRenderTarget() has inconsistent behaviour between versions, but returns

Re: [PATCH 2/8] wined3d: Introduce a format flag for volume texture support.

2013-09-17 Thread Henri Verbeet
On 17 September 2013 11:39, Stefan Dösinger ste...@codeweavers.com wrote: diff --git a/dlls/wined3d/wined3d_private.h b/dlls/wined3d/wined3d_private.h index 4928f92..eabf890 100644 --- a/dlls/wined3d/wined3d_private.h +++ b/dlls/wined3d/wined3d_private.h @@ -2927,6 +2927,7 @@ extern enum

Re: [PATCH 5/8] wined3d: Implement locking of block-based volume textures.

2013-09-17 Thread Henri Verbeet
On 17 September 2013 11:39, Stefan Dösinger ste...@codeweavers.com wrote: --- dlls/wined3d/volume.c | 95 +++ 1 file changed, 88 insertions(+), 7 deletions(-) Can't most of this be done on the resource level instead?

Re: [PATCH 5/8] wined3d: Implement locking of block-based volume textures.

2013-09-17 Thread Stefan Dösinger
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 2013-09-17 13:55, schrieb Henri Verbeet: On 17 September 2013 11:39, Stefan Dösinger ste...@codeweavers.com wrote: --- dlls/wined3d/volume.c | 95 +++ 1 file changed, 88 insertions(+), 7

Re: [PATCH 5/8] wined3d: Implement locking of block-based volume textures.

2013-09-17 Thread Henri Verbeet
On 17 September 2013 14:58, Stefan Dösinger ste...@codeweavers.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 2013-09-17 13:55, schrieb Henri Verbeet: On 17 September 2013 11:39, Stefan Dösinger ste...@codeweavers.com wrote: --- dlls/wined3d/volume.c | 95

Re: [1/4] ws2_32: Use the struct information when the parameters are zero in WSASocket

2013-09-17 Thread Bruno Jesus
On Tue, Sep 17, 2013 at 7:00 AM, Alexandre Julliard julli...@winehq.org wrote: Bruno Jesus 00cp...@gmail.com writes: @@ -5884,20 +5884,20 @@ SOCKET WINAPI WSASocketW(int af, int type, int protocol, return ret; } -/* convert the socket family and type */ -af =

Re: [PATCH 5/8] wined3d: Implement locking of block-based volume textures.

2013-09-17 Thread Stefan Dösinger
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 2013-09-17 15:05, schrieb Henri Verbeet: I was mostly thinking of merging e.g. wined3d_surface_get_pitch() and wined3d_volume_get_pitch() into wined3d_resource_get_pitch(). I don't feel strongly about doing that first though, so if you're

Re: [5/9] gdiplus: Fix empty glyph handling.

2013-09-17 Thread Akihiro Sagawa
On Mon, 16 Sep 2013 11:33:34 -0500, Vincent Povirk wrote: Typically, native GetGlyphOutlineW(hdc, ' ', GGO_BITMAP, gm, 0, NULL, ...) returns gm.gmBlackBoxX = 1 instead of 0. Unfortunately, Wine's didn't, and existing source codes (winex11, gdiplus, gdi32) expect 0 in this case. I don't

Re: [PATCH 2/8] wined3d: Introduce a format flag for volume texture support.

2013-09-17 Thread Stefan Dösinger
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 2013-09-17 13:55, schrieb Henri Verbeet: I don't like this approach much. I think we should either do the right thing right away and have separate flags for each GL resource type (i.e., vertex/index buffers, renderbuffers, 1D/2D/3D/CUBE/RECT

Re: [PATCH 2/8] wined3d: Introduce a format flag for volume texture support.

2013-09-17 Thread Henri Verbeet
On 17 September 2013 16:52, Stefan Dösinger ste...@codeweavers.com wrote: Am 2013-09-17 13:55, schrieb Henri Verbeet: I don't like this approach much. I think we should either do the right thing right away and have separate flags for each GL resource type (i.e., vertex/index buffers,

Re: [PATCH] oleaut32: Implement VarDecRound

2013-09-17 Thread Bruno Jesus
On Tue, Sep 17, 2013 at 3:01 PM, Andrew Eikum aei...@codeweavers.com wrote: This fixes a crash in PowerPoint when a shape is made semi-transparent. May also fix bug http://bugs.winehq.org/show_bug.cgi?id=34463 and http://bugs.winehq.org/show_bug.cgi?id=30485

Re: [5/9] gdiplus: Fix empty glyph handling.

2013-09-17 Thread Vincent Povirk
Typically, native GetGlyphOutlineW(hdc, ' ', GGO_BITMAP, gm, 0, NULL, ...) returns gm.gmBlackBoxX = 1 instead of 0. Unfortunately, Wine's didn't, and existing source codes (winex11, gdiplus, gdi32) expect 0 in this case. I don't think the existing code for finding the mask size would

Re: [PATCH 2/8] wined3d: Introduce a format flag for volume texture support.

2013-09-17 Thread Stefan Dösinger
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 2013-09-17 17:12, schrieb Henri Verbeet: The point is that the distinction you're making here between volumes and everything else is a bit arbitrary, and I think this patch as it is will make it more work rather than less to move towards having

Bad CPU autoscaling is making games unplayable for a lot of users

2013-09-16 Thread Scott Ritchie
Over the past couple years I've been able to try out Wine games on many different environments -- laptops, desktops, even cloud servers. On many occasions, I've discovered that a game appears to run functionally but slowly, however upon further investigation I find that forcing the CPU to run at

Re: [1/9] Fix expected values in various messages.

2013-09-16 Thread Marvin
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 https://newtestbot.winehq.org/JobDetails.pl?Key=2187 Your paranoid

Re: kernel32/tests: Add initial CreateFile2 tests based on the CreateFileW tests (try 2)

2013-09-16 Thread Alexandre Julliard
André Hentschel n...@dawncrow.de writes: --- dlls/kernel32/tests/file.c | 84 ++ 1 file changed, 84 insertions(+) It doesn't work here: ../../../tools/runtest -q -P wine -M kernel32.dll -T ../../.. -p kernel32_test.exe.so file.c touch file.ok

Re: [5/9] gdiplus: Fix empty glyph handling.

2013-09-16 Thread Vincent Povirk
Thanks for you comments. The answer is yes, as you guessed. Typically, native GetGlyphOutlineW(hdc, ' ', GGO_BITMAP, gm, 0, NULL, ...) returns gm.gmBlackBoxX = 1 instead of 0. Unfortunately, Wine's didn't, and existing source codes (winex11, gdiplus, gdi32) expect 0 in this case. I don't

Re: [PATCH 1/5] user32: Add a SetMinMaxInfo driver entry point.

2013-09-16 Thread Ken Thomases
On Sep 16, 2013, at 12:55 PM, Alexandre Julliard wrote: Ken Thomases k...@codeweavers.com writes: --- dlls/user32/driver.c | 12 dlls/user32/user_private.h |1 + dlls/user32/winpos.c |2 ++ 3 files changed, 15 insertions(+), 0 deletions(-) It's better to

Re: [PATCH 1/5] user32: Add a SetMinMaxInfo driver entry point.

2013-09-16 Thread Alexandre Julliard
Ken Thomases k...@codeweavers.com writes: --- dlls/user32/driver.c | 12 dlls/user32/user_private.h |1 + dlls/user32/winpos.c |2 ++ 3 files changed, 15 insertions(+), 0 deletions(-) It's better to avoid adding entry points that don't correspond to Windows

Re: windowscodecs: Implement CreateBitmapFromHBITMAP.

2013-09-16 Thread Vincent Povirk
Maybe the format for 32-bit bitmaps should be determined by the alpha channel options? On Monday, September 16, 2013, Dmitry Timoshkov dmi...@baikal.ru wrote: Based on a gdiplus implementation. --- dlls/windowscodecs/imgfactory.c | 149 +-

Re: [1/9] Fix expected values in various messages.

2013-09-16 Thread Marvin
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 https://newtestbot.winehq.org/JobDetails.pl?Key=2195 Your paranoid

Re: [1/9] Fix expected values in various messages.

2013-09-16 Thread Marvin
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 https://newtestbot.winehq.org/JobDetails.pl?Key=2196 Your paranoid

Re: Bad CPU autoscaling is making games unplayable for a lot of users

2013-09-16 Thread Roderick Colenbrander
Hi Scott, On Linux power management decisions are made by cpufreq governors. Most distributions I have used recently use the 'ondemand' scheduler, which makes decisions as you would guess based on cpu load. This scheduler has various parameters you can tweak in

Re: windowscodecs: Implement CreateBitmapFromHBITMAP.

2013-09-16 Thread Dmitry Timoshkov
Vincent Povirk madewokh...@gmail.com wrote: Maybe the format for 32-bit bitmaps should be determined by the alpha channel options? Probably, but as the patch comment says the code is based on gdiplus implementation, and there is no such an option flag in the corresponding gdiplus API params.

Re: windowscodecs: Implement CreateBitmapFromHBITMAP.

2013-09-16 Thread Vincent Povirk
Probably, but as the patch comment says the code is based on gdiplus implementation, and there is no such an option flag in the corresponding gdiplus API params. I'd suggest to accept the patch as as, and make further improvements based on it. Fair enough, the patch looks good otherwise.

Re: [1/9] Fix expected values in various messages.

2013-09-15 Thread Henri Verbeet
On 15 September 2013 14:25, Akihiro Sagawa sagawa@gmail.com wrote: diff --git a/dlls/d3d8/tests/device.c b/dlls/d3d8/tests/device.c index 83cdaf9..9f9e12a 100644 --- a/dlls/d3d8/tests/device.c +++ b/dlls/d3d8/tests/device.c @@ -1308,7 +1308,7 @@ static void test_reset(void)

Re: patch:add ualapi directory

2013-09-15 Thread Henri Verbeet
On 15 September 2013 17:50, matyapiro31 matyapir...@gmail.com wrote: + * wine is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at

Re: D3D command stream patches for testing

2013-09-15 Thread Forest
In the past months I have been working on a command stream / worker thread for wined3d. It moves most OpenGL calls into a separate thread to improve performance (bug 11674) and fix some bugs that are otherwise hard to fix (24684). Thank you, Stefan! I applied your patches to the Ubuntu PPA that

Re: D3D command stream patches for testing

2013-09-15 Thread Henri Verbeet
On 15 September 2013 21:47, Forest win...@tibit.com wrote: I wonder if the 80%+ gains reported in other games are not to be seen in Guild Wars 2, or if they're heavily dependent on CPU, GPU, graphics driver, and screen resolution. For the record, I'm using an Intel i5-3570K (stock speeds),

Re: D3D command stream patches for testing

2013-09-15 Thread Forest
In general, this patchset helps more for mostly CPU limited applications than for mostly GPU limited applications. That roughly means that in general you'll see a larger difference on lower resolutions or with less demanding applications / graphics settings, and that you'll see a larger difference

Re: D3D command stream patches for testing

2013-09-15 Thread Stefan Dösinger
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 2013-09-15 21:47, schrieb Forest: In the past months I have been working on a command stream / worker thread for wined3d. It moves most OpenGL calls into a separate thread to improve performance (bug 11674) and fix some bugs that are otherwise

Re: [1/9] Fix expected values in various messages.

2013-09-15 Thread Nikolay Sivov
On 09/15/2013 04:25 PM, Akihiro Sagawa wrote: hr = IUnknown_QueryInterface(reader_input,IID_IStream, (void**)stream2); -ok(hr == E_NOINTERFACE, Expected S_OK, got %08x\n, hr); +ok(hr == E_NOINTERFACE, Expected E_NOINTERFACE, got %08x\n, hr); As Henri said, it's not that useful

Re: [2/2] kernel32: implement callback and cancellation in CopyFileEx

2013-09-15 Thread Daniel Jeliński
2013/9/15 Nikolay Sivov nsi...@codeweavers.com You could add CopyFile2 style callback function in our code, pass everything you need as 'pvCallbackContext', that could be CopyFileEx callback pointer or pointer to a structure that contains pointer to user callback (and anything else you might

Re: [5/9] gdiplus: Fix empty glyph handling.

2013-09-15 Thread Vincent Povirk
This seems suspicious to me. Why can't we use those values in glyphmetrics if GetGlyphOutlineW returns 0? Does Windows provide bad values in this case, or is our GetGlyphOutlineW broken? When does the call to GetGlyphOutlineW in the second loop fail, and why ignore those failures?

Re: [5/9] gdiplus: Fix empty glyph handling.

2013-09-15 Thread Vincent Povirk
BTW, we should probably quit early if max_glyphsize is 0 at the end of the first loop, rather than fail with OutOfMemory.

Re: [5/9] gdiplus: Fix empty glyph handling.

2013-09-15 Thread Akihiro Sagawa
On Sun, 15 Sep 2013 16:32:25 -0500, Vincent Povirk wrote: This seems suspicious to me. Why can't we use those values in glyphmetrics if GetGlyphOutlineW returns 0? Does Windows provide bad values in this case, or is our GetGlyphOutlineW broken? Thanks for you comments. The answer is yes, as

Re: [1/9] Fix expected values in various messages.

2013-09-15 Thread Marvin
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 https://newtestbot.winehq.org/JobDetails.pl?Key=2185 Your paranoid

Re: [PATCH 1/3] riched20: Use codepage in ME_ToUnicode. (try 5)

2013-09-14 Thread Jactry Zeng
Hi Nikolay, 2013/9/13 Nikolay Sivov bungleh...@gmail.com Does it actually accept any other value besides CP_ACP or 1200? Documentation is unclear here, and makes impression that only two these values are valid. Did you mean EM_SETTEXTEX? I had some tests today. And I found native EM_SETTEXTEX

Re: [2/2] kernel32: implement callback and cancellation in CopyFileEx

2013-09-14 Thread Nikolay Sivov
On 09/14/2013 03:25 AM, Daniel Jeliński wrote: Could you implement necessary part of CopyFile2 instead, and use it in CopyFileEx? I think CopyFile2 has everything to do that.

Re: [2/2] kernel32: implement callback and cancellation in CopyFileEx

2013-09-14 Thread Daniel Jeliński
2013/9/14 Nikolay Sivov nsi...@codeweavers.com Could you implement necessary part of CopyFile2 instead, and use it in CopyFileEx? I think CopyFile2 has everything to do that. I suppose I could, but then, CopyFile2 uses a different callback than CopyFileEx: CopyFile2:

Re: [2/2] kernel32: implement callback and cancellation in CopyFileEx

2013-09-14 Thread Nikolay Sivov
On 09/14/2013 11:46 PM, Daniel Jeliński wrote: 2013/9/14 Nikolay Sivov nsi...@codeweavers.com mailto:nsi...@codeweavers.com Could you implement necessary part of CopyFile2 instead, and use it in CopyFileEx? I think CopyFile2 has everything to do that. I suppose I could, but then,

Re: ntdll: Add a file access test.

2013-09-13 Thread Nikolay Sivov
On 9/13/2013 11:20, Dmitry Timoshkov wrote: This test passes under Wine and shows that ReadFile after CreateFile(GENERIC_WRITE) is really supposed to fail. --- dlls/ntdll/tests/file.c | 82 + 1 file changed, 82 insertions(+) It looks like it

Re: ntdll: Add a file access test.

2013-09-13 Thread Dmitry Timoshkov
Nikolay Sivov bungleh...@gmail.com wrote: It looks like it belongs to kernel32/tests. Since actual access checks are done by ntdll APIs I believe that ntdll/tests is appropriate place, kernel32 file APIs are just wrappers around the tested functionality. -- Dmitry.

Re: ntdll: Add a file access test.

2013-09-13 Thread Nikolay Sivov
On 9/13/2013 12:16, Dmitry Timoshkov wrote: Nikolay Sivov bungleh...@gmail.com wrote: It looks like it belongs to kernel32/tests. Since actual access checks are done by ntdll APIs I believe that ntdll/tests is appropriate place, kernel32 file APIs are just wrappers around the tested

Re: [1/2] ntdll: Properly handle 0-length reads. Resend.

2013-09-13 Thread Alexandre Julliard
Dmitry Timoshkov dmi...@baikal.ru writes: This matches what NtWriteFile does. I assume that this patch is in 'pending' state because of a test failure caused by 2/2, if the reason is different - please let me know. It would need some test cases for other file types. -- Alexandre Julliard

Re: ntdll: Add a file access test.

2013-09-13 Thread Dmitry Timoshkov
Nikolay Sivov bungleh...@gmail.com wrote: It looks like it belongs to kernel32/tests. Since actual access checks are done by ntdll APIs I believe that ntdll/tests is appropriate place, kernel32 file APIs are just wrappers around the tested functionality. It doesn't matter what it uses

Re: ntdll/tests: Fix compilation on systems that don't support nameless unions. (rediffed)

2013-09-13 Thread Dmitry Timoshkov
Francois Gouget fgou...@free.fr wrote: That tree was a bit out of date causing the patch to fail to apply. I updated it and rediffed. I'd appreciate if you could postpone sending this sort of patches when they could conflict with other pending patches in that area. Thanks. -- Dmitry.

Re: ntdll: Add a file access test.

2013-09-13 Thread Alexandre Julliard
Dmitry Timoshkov dmi...@baikal.ru writes: Nikolay Sivov bungleh...@gmail.com wrote: It looks like it belongs to kernel32/tests. Since actual access checks are done by ntdll APIs I believe that ntdll/tests is appropriate place, kernel32 file APIs are just wrappers around the tested

Re: [PATCH 3/3] riched20: Add UTF8 support for EM_SETTEXTEX. (try 5)

2013-09-13 Thread Alexandre Julliard
Jactry Zeng jactr...@gmail.com writes: @@ -3313,6 +3315,10 @@ LRESULT ME_HandleMessage(ME_TextEditor *editor, UINT msg, WPARAM wParam, len = lParam ? strlen((char *)lParam) : 0; } } else { + if(bUTF8) { +lParam = lParam + 3; +pStruct-codepage =

Re: fonts: Add some box-type glyphs to wingdings.

2013-09-13 Thread Huw Davies
On Fri, Sep 13, 2013 at 11:07:19AM +0100, Huw Davies wrote: --- fonts/wingding.sfd | 86 + Please ignore this one and use 'try 2'. I had the points of one glyph selected in the outline editor which apparently gets saved to the .sfd . Huw.

Re: [PATCH 3/3] riched20: Add UTF8 support for EM_SETTEXTEX. (try 5)

2013-09-13 Thread Jactry Zeng
2013/9/13 Alexandre Julliard julli...@winehq.org @@ -3313,6 +3315,10 @@ LRESULT ME_HandleMessage(ME_TextEditor *editor, UINT msg, WPARAM wParam, len = lParam ? strlen((char *)lParam) : 0; } } else { + if(bUTF8) { +lParam = lParam + 3; +

Re: [PATCH 1/3] riched20: Use codepage in ME_ToUnicode. (try 5)

2013-09-13 Thread Nikolay Sivov
On 9/13/2013 13:27, Jactry Zeng wrote: Re-based to latest git. Does it actually accept any other value besides CP_ACP or 1200? Documentation is unclear here, and makes impression that only two these values are valid.

Re: [PATCH 3/3] riched20: Add UTF8 support for EM_SETTEXTEX. (try 6)

2013-09-13 Thread Nikolay Sivov
On 9/13/2013 15:05, Jactry Zeng wrote: bUnicode = !bRtf pStruct-codepage == CP_UNICODE; +bUTF8 = (lParam (!strncmp((char *)lParam, utf8_bom, 3))); What will happen if both of these are true? This needs a test with BOM and 'codepage' set to 1200.

Re: [PATCH 3/3] riched20: Add UTF8 support for EM_SETTEXTEX. (try 6)

2013-09-13 Thread Jactry Zeng
Hi Nikolay, 2013/9/13 Nikolay Sivov bungleh...@gmail.com On 9/13/2013 15:05, Jactry Zeng wrote: bUnicode = !bRtf pStruct-codepage == CP_UNICODE; +bUTF8 = (lParam (!strncmp((char *)lParam, utf8_bom, 3))); What will happen if both of these are true? This needs a test with BOM and

Re: [PATCH 2/3] riched20/tests: Add UTF8 BOM tests for EM_SETTEXTEX. (try 5)

2013-09-13 Thread Marvin
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 https://newtestbot.winehq.org/JobDetails.pl?Key=2155 Your paranoid

Re: [PATCH 1/3] iphlpapi/tests: Increase buffer size to prevent overflow.

2013-09-13 Thread Marvin
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 https://newtestbot.winehq.org/JobDetails.pl?Key=2158 Your paranoid

Re: kernel32/tests: Add initial CreateFile2 tests based on the CreateFileW tests (try 2)

2013-09-13 Thread Nikolay Sivov
On 9/13/2013 22:26, André Hentschel wrote: Sorry, ignore my comment. I missed that we actually have this call already in wine.

Re: kernel32/tests: Add initial CreateFile2 tests based on the CreateFileW tests (try 2)

2013-09-13 Thread Nikolay Sivov
On 9/13/2013 22:26, André Hentschel wrote: +if (!pCreateFile2) +{ +win_skip(CreateFile2 is missing\n); +return; +} Should be skip() so it'll show up when running with wine. Not sure how important it is though.

Re: [1/2] ntdll: Properly handle 0-length reads.

2013-09-12 Thread Marvin
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 https://newtestbot.winehq.org/JobDetails.pl?Key=2127 Your paranoid

Re: [1/2] ntdll: Properly handle 0-length reads.

2013-09-12 Thread Dmitry Timoshkov
Marvin test...@winehq.org wrote: === wxppro (32 bit comm) === comm.c:863: Test failed: WaitCommEvent failed with a timeout comm.c:875: recovering after WAIT_TIMEOUT... comm.c:886: Test failed: WaitCommEvent error 0 comm.c:888: Test failed: WaitCommEvent: expected EV_TXEMPTY, got 0

<    1   2   3   4   5   6   7   8   9   10   >