Wine-Devel
By thread
wine-devel@list.winehq.org
By month
Messages by month
- ----- 2026 -----
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2025 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2005 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2004 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2003 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2002 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2001 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
November 2014
- 48 participants
- 283 messages
Re: d3d8/tests: Allow passing a resolution to reset_device (v2).
by 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://testbot.winehq.org/JobDetails.pl?Key=10211
Your paranoid android.
=== w8 (32 bit device) ===
device.c:1181: Test failed: TestCooperativeLevel failed, hr 0x88760868.
device.c:1226: Test failed: Reset failed, hr 0x88760868.
device.c:1228: Test failed: TestCooperativeLevel failed, hr 0x88760869.
device.c:1232: Test failed: Got unexpected value 0 for D3DRS_LIGHTING.
device.c:1239: Test failed: D3DVIEWPORT->X = 10, expected 0.
device.c:1240: Test failed: D3DVIEWPORT->Y = 20, expected 0.
device.c:1241: Test failed: D3DVIEWPORT->Width = 400, expected 800.
device.c:1242: Test failed: D3DVIEWPORT->Height = 300, expected 600.
device.c:1243: Test failed: D3DVIEWPORT->MinZ = 2.00000003e-001, expected 0.
device.c:1244: Test failed: D3DVIEWPORT->MaxZ = 3.00000012e-001, expected 1.
device.c:1249: Test failed: Screen width is 640, expected 800.
device.c:1250: Test failed: Screen height is 480, expected 600.
device.c:1256: Test failed: Back buffer width is 640, expected 800.
device.c:1258: Test failed: Back buffer height is 480, expected 600.
device.c:1288: Test failed: Screen width is 640, expected 1024.
device.c:1289: Test failed: Screen height is 480, expected 768.
device.c:2447: Test failed: Expected foreground window 000B00CA, got 0002004C.
device.c:2822: Test failed: Expected device window style 0x14cf0000, got 0x4cf0000.
device.c:2826: Test failed: Expected device window extended style 0x108, got 0x100.
device.c:2849: Test failed: Failed to reset device, hr 0x88760868.
device.c:2853: Test failed: Expected device window style 0x14cf0000, got 0x4cf0000.
device.c:2857: Test failed: Expected device window extended style 0x108, got 0x100.
device.c:3225: Test failed: Failed to reset device.
device.c:3232: Test failed: Expected {0, 0, 1024, 768}, got {0, 0, 512, 384}.
device.c:3240: Test failed: Expected wndproc != 0x412e90.
Nov. 12, 2014
Re: dinput: Fix device type dump
by Michael Stefaniuc
Bruno,
On 11/12/2014 02:06 AM, Bruno Jesus wrote:
> Related to bug https://bugs.winehq.org/show_bug.cgi?id=35954
>
>
using a switch statement instead of the ?: chain of death looks IMHO
nicer. You can even use a macro like the popular
#define X(x) case (x): return #x
to make it more concise and avoid copy and paste errors.
>
> diff --git a/dlls/dinput/joystick.c b/dlls/dinput/joystick.c index
> 0d61f57..2931832 100644 --- a/dlls/dinput/joystick.c +++
> b/dlls/dinput/joystick.c @@ -402,14 +402,30 @@ HRESULT WINAPI
> JoystickAGenericImpl_SetProperty(LPDIRECTINPUTDEVICE8A iface, REF
>
> void _dump_DIDEVCAPS(const DIDEVCAPS *lpDIDevCaps) { + int type
> = GET_DIDEVICE_TYPE(lpDIDevCaps->dwDevType); TRACE("dwSize: %d\n",
> lpDIDevCaps->dwSize); TRACE("dwFlags: %08x\n",
> lpDIDevCaps->dwFlags); TRACE("dwDevType: %08x %s\n",
> lpDIDevCaps->dwDevType, - lpDIDevCaps->dwDevType ==
> DIDEVTYPE_DEVICE ? "DIDEVTYPE_DEVICE" : -
> lpDIDevCaps->dwDevType == DIDEVTYPE_MOUSE ? "DIDEVTYPE_MOUSE" : -
> lpDIDevCaps->dwDevType == DIDEVTYPE_KEYBOARD ? "DIDEVTYPE_KEYBOARD"
> : - lpDIDevCaps->dwDevType == DIDEVTYPE_JOYSTICK ?
> "DIDEVTYPE_JOYSTICK" : - lpDIDevCaps->dwDevType ==
> DIDEVTYPE_HID ? "DIDEVTYPE_HID" : "UNKNOWN"); + /* Directx
> <= 7 definitions */ + type == DIDEVTYPE_DEVICE ?
> "DIDEVTYPE_DEVICE" : + type == DIDEVTYPE_MOUSE ?
> "DIDEVTYPE_MOUSE" : + type == DIDEVTYPE_KEYBOARD ?
> "DIDEVTYPE_KEYBOARD" : + type == DIDEVTYPE_JOYSTICK ?
> "DIDEVTYPE_JOYSTICK" : + type == DIDEVTYPE_HID ?
> "DIDEVTYPE_HID" : + /* Directx >= 8 definitions */ +
> type == DI8DEVTYPE_DEVICE ? "DI8DEVTYPE_DEVICE" : + type
> == DI8DEVTYPE_MOUSE ? "DI8DEVTYPE_MOUSE" : + type ==
> DI8DEVTYPE_KEYBOARD ? "DI8DEVTYPE_KEYBOARD" : + type ==
> DI8DEVTYPE_JOYSTICK ? "DI8DEVTYPE_JOYSTICK" : + type ==
> DI8DEVTYPE_GAMEPAD ? "DI8DEVTYPE_GAMEPAD" : + type ==
> DI8DEVTYPE_DRIVING ? "DI8DEVTYPE_DRIVING" : + type ==
> DI8DEVTYPE_FLIGHT ? "DI8DEVTYPE_FLIGHT" : + type ==
> DI8DEVTYPE_1STPERSON ? "DI8DEVTYPE_1STPERSON" : + type ==
> DI8DEVTYPE_DEVICECTRL ? "DI8DEVTYPE_DEVICECTRL" : + type
> == DI8DEVTYPE_SCREENPOINTER ? "DI8DEVTYPE_SCREENPOINTER" : +
> type == DI8DEVTYPE_REMOTE ? "DI8DEVTYPE_REMOTE" : + type
> == DI8DEVTYPE_SUPPLEMENTAL ? "DI8DEVTYPE_SUPPLEMENTAL" : +
> "UNKNOWN"); TRACE("dwAxes: %d\n", lpDIDevCaps->dwAxes);
> TRACE("dwButtons: %d\n", lpDIDevCaps->dwButtons); TRACE("dwPOVs:
> %d\n", lpDIDevCaps->dwPOVs);
bye
michael
Nov. 12, 2014
Re: [PATCH 5/5] d3d8/tests: Allow passing a resolution to reset_device.
by Henri Verbeet
On 12 November 2014 00:18, Stefan Dösinger <stefan(a)codeweavers.com> wrote:
> @@ -2830,7 +2844,8 @@ static void test_window_style(void)
> focus_rect.left, focus_rect.top, focus_rect.right, focus_rect.bottom,
> r.left, r.top, r.right, r.bottom);
> ·
> - hr = reset_device(device, device_window, TRUE);
> + device_desc.flags = 0;·
You have a whitespace error here.
Nov. 12, 2014
Re: [PATCH 5/5] d3d8/tests: Allow passing a resolution to reset_device.
by 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://testbot.winehq.org/JobDetails.pl?Key=10199
Your paranoid android.
=== w8 (32 bit device) ===
device.c:1181: Test failed: TestCooperativeLevel failed, hr 0x88760868.
device.c:1226: Test failed: Reset failed, hr 0x88760868.
device.c:1228: Test failed: TestCooperativeLevel failed, hr 0x88760869.
device.c:1232: Test failed: Got unexpected value 0 for D3DRS_LIGHTING.
device.c:1239: Test failed: D3DVIEWPORT->X = 10, expected 0.
device.c:1240: Test failed: D3DVIEWPORT->Y = 20, expected 0.
device.c:1241: Test failed: D3DVIEWPORT->Width = 400, expected 800.
device.c:1242: Test failed: D3DVIEWPORT->Height = 300, expected 600.
device.c:1243: Test failed: D3DVIEWPORT->MinZ = 2.00000003e-001, expected 0.
device.c:1244: Test failed: D3DVIEWPORT->MaxZ = 3.00000012e-001, expected 1.
device.c:1249: Test failed: Screen width is 640, expected 800.
device.c:1250: Test failed: Screen height is 480, expected 600.
device.c:1256: Test failed: Back buffer width is 640, expected 800.
device.c:1258: Test failed: Back buffer height is 480, expected 600.
device.c:1288: Test failed: Screen width is 640, expected 1024.
device.c:1289: Test failed: Screen height is 480, expected 768.
device.c:2447: Test failed: Expected foreground window 000B00CA, got 0002004C.
device.c:2822: Test failed: Expected device window style 0x14cf0000, got 0x4cf0000.
device.c:2826: Test failed: Expected device window extended style 0x108, got 0x100.
device.c:2849: Test failed: Failed to reset device, hr 0x88760868.
device.c:2853: Test failed: Expected device window style 0x14cf0000, got 0x4cf0000.
device.c:2857: Test failed: Expected device window extended style 0x108, got 0x100.
device.c:3225: Test failed: Failed to reset device.
device.c:3232: Test failed: Expected {0, 0, 1024, 768}, got {0, 0, 512, 384}.
device.c:3240: Test failed: Expected wndproc != 0x412e90.
Nov. 12, 2014
Re: [PATCH 2/2] mshtml: Added script element readyState and onreadystatechange tests.
by 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://testbot.winehq.org/JobDetails.pl?Key=10188
Your paranoid android.
=== w8 (32 bit script) ===
script.c:632: Test failed: L"extern_res_script_rs = loaded0,eval,complete1, expected eval,complete1,"
Nov. 11, 2014
Re: [PATCH v2] cmd/tests: Add tests for 'del' (Fixes bug 35970)
by 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://testbot.winehq.org/JobDetails.pl?Key=10186
Your paranoid android.
=== wxppro (32 bit) ===
batch.c:312: Test failed: unexpected char 0x47 position 0 in line 689 (got 'Got unexpected result: "C:\Documents"', wanted 'Plain directory enumeration from provided root')
batch.c:312: Test failed: unexpected char 0x47 position 0 in line 690 (got 'Got unexpected result: "C:\Documents"', wanted 'File enumeration')
batch.c:312: Test failed: unexpected char 0x47 position 0 in line 691 (got 'Got unexpected result: "C:\Documents"', wanted 'File enumeration from provided root')
batch.c:312: Test failed: unexpected char 0x47 position 0 in line 692 (got 'Got unexpected result: "C:\Documents"', wanted 'Mixed enumeration')
batch.c:312: Test failed: unexpected char 0x46 position 0 in line 693 (got 'Found missing result: "C:\Documents and Settings\winetest\My Documents\foobar\."', wanted 'Mixed enumeration from provided root')
batch.c:312: Test failed: unexpected char 0x46 position 0 in line 694 (got 'Found missing result: "C:\Documents and Settings\winetest\My Documents\foobar\bar\."', wanted 'With duplicates enumeration')
batch.c:312: Test failed: unexpected char 0x46 position 0 in line 695 (got 'Found missing result: "C:\Documents and Settings\winetest\My Documents\foobar\baz\."', wanted 'Strip missing wildcards, keep unwildcarded names')
batch.c:312: Test failed: unexpected char 0x46 position 0 in line 696 (got 'Found missing result: "C:\Documents and Settings\winetest\My Documents\foobar\foo\."', wanted 'for /R passed')
batch.c:312: Test failed: unexpected char 0x50 position 0 in line 697 (got 'Plain directory enumeration from provided root', wanted '--- Complex wildcards unix and windows slash')
batch.c:312: Test failed: unexpected char 0x47 position 0 in line 698 (got 'Got unexpected result: "C:\Documents"', wanted '--- Complex wildcards unix and windows slash')
batch.c:312: Test failed: unexpected char 0x47 position 0 in line 699 (got 'Got unexpected result: "C:\Documents"', wanted '--- Complex wildcards unix and windows slash')
batch.c:312: Test failed: unexpected char 0x47 position 0 in line 700 (got 'Got unexpected result: "C:\Documents"', wanted '--- Complex wildcards unix and windows slash')
batch.c:312: Test failed: unexpected char 0x47 position 0 in line 701 (got 'Got unexpected result: "C:\Documents"', wanted '--- Complex wildcards unix and windows slash')
batch.c:312: Test failed: unexpected char 0x46 position 0 in line 702 (got 'Found missing result: "C:\Documents and Settings\winetest\My Documents\foobar\."', wanted '--- Complex wildcards unix and windows slash')
batch.c:312: Test failed: unexpected char 0x46 position 0 in line 703 (got 'Found missing result: "C:\Documents and Settings\winetest\My Documents\foobar\bar\."', wanted '--- Complex wildcards unix and windows slash')
batch.c:312: Test failed: unexpected char 0x46 position 0 in line 704 (got 'Found missing result: "C:\Documents and Settings\winetest\My Documents\foobar\baz\."', wanted '--- Complex wildcards unix and windows slash')
batch.c:312: Test failed: unexpected char 0x46 position 0 in line 705 (got 'Found missing result: "C:\Documents and Settings\winetest\My Documents\foobar\foo\."', wanted '--- Complex wildcards unix and windows slash')
batch.c:312: Test failed: unexpected char 0x46 position 0 in line 706 (got 'File enumeration', wanted '--- Complex wildcards unix and windows slash')
batch.c:312: Test failed: unexpected char 0x47 position 0 in line 707 (got 'Got unexpected result: "C:\Documents"', wanted '--- Complex wildcards unix and windows slash')
batch.c:312: Test failed: unexpected char 0x47 position 0 in line 708 (got 'Got unexpected result: "C:\Documents"', wanted '--- Complex wildcards unix and windows slash')
batch.c:312: Test failed: unexpected char 0x46 position 0 in line 709 (got 'Found missing result: "C:\Documents and Settings\winetest\My Documents\foobar\baz\bazbaz"', wanted '--- Complex wildcards unix and windows slash')
batch.c:312: Test failed: unexpected char 0x46 position 0 in line 710 (got 'Found missing result: "C:\Documents and Settings\winetest\My Documents\foobar\bazbaz"', wanted '--- Complex wildcards unix and windows slash')
batch.c:312: Test failed: unexpected char 0x46 position 0 in line 711 (got 'File enumeration from provided root', wanted '--- Complex wildcards unix and windows slash')
batch.c:312: Test failed: unexpected char 0x47 position 0 in line 712 (got 'Got unexpected result: "C:\Documents"', wanted '--- Complex wildcards unix and windows slash')
batch.c:312: Test failed: unexpected char 0x47 position 0 in line 713 (got 'Got unexpected result: "C:\Documents"', wanted '--- Complex wildcards unix and windows slash')
batch.c:312: Test failed: unexpected char 0x46 position 0 in line 714 (got 'Found missing result: "C:\Documents and Settings\winetest\My Documents\foobar\baz\bazbaz"', wanted '--- Complex wildcards unix and windows slash')
batch.c:312: Test failed: unexpected char 0x46 position 0 in line 715 (got 'Found missing result: "C:\Documents and Settings\winetest\My Documents\foobar\bazbaz"', wanted '--- Complex wildcards unix and windows slash')
batch.c:312: Test failed: unexpected char 0x4d position 0 in line 716 (got 'Mixed enumeration', wanted '--- Complex wildcards unix and windows slash')
batch.c:312: Test failed: unexpected char 0x47 position 0 in line 717 (got 'Got unexpected result: "C:\Documents"', wanted '--- Complex wildcards unix and windows slash')
batch.c:312: Test failed: unexpected char 0x47 position 0 in line 718 (got 'Got unexpected result: "C:\Documents"', wanted '--- Complex wildcards unix and windows slash')
batch.c:312: Test failed: unexpected char 0x47 position 0 in line 719 (got 'Got unexpected result: "C:\Documents"', wanted '--- Complex wildcards unix and windows slash')
batch.c:312: Test failed: unexpected char 0x47 position 0 in line 720 (got 'Got unexpected result: "C:\Documents"', wanted '--- Complex wildcards unix and windows slash')
batch.c:312: Test failed: unexpected char 0x47 position 0 in line 721 (got 'Got unexpected result: "C:\Documents"', wanted '--- Complex wildcards unix and windows slash')
batch.c:312: Test failed: unexpected char 0x47 position 0 in line 722 (got 'Got unexpected result: "C:\Documents"', wanted '--- Complex wildcards unix and windows slash')
batch.c:312: Test failed: unexpected char 0x46 position 0 in line 723 (got 'Found missing result: "C:\Documents and Settings\winetest\My Documents\foobar\."', wanted '--- Complex wildcards unix and windows slash')
batch.c:312: Test failed: unexpected char 0x46 position 0 in line 724 (got 'Found missing result: "C:\Documents and Settings\winetest\My Documents\foobar\bar\."', wanted '--- Complex wildcards unix and windows slash')
batch.c:312: Test failed: unexpected char 0x46 position 0 in line 725 (got 'Found missing result: "C:\Documents and Settings\winetest\My Documents\foobar\baz\."', wanted '--- Complex wildcards unix and windows slash')
batch.c:312: Test failed: unexpected char 0x46 position 0 in line 726 (got 'Found missing result: "C:\Documents and Settings\winetest\My Documents\foobar\baz\bazbaz"', wanted '--- Complex wildcards unix and windows slash')
batch.c:312: Test failed: unexpected char 0x46 position 0 in line 727 (got 'Found missing result: "C:\Documents and Settings\winetest\My Documents\foobar\bazbaz"', wanted '--- Complex wildcards unix and windows slash')
batch.c:312: Test failed: unexpected char 0x46 position 0 in line 728 (got 'Found missing result: "C:\Documents and Settings\winetest\My Documents\foobar\foo\."', wanted '--- Complex wildcards unix and windows slash')
batch.c:312: Test failed: unexpected char 0x4d position 0 in line 729 (got 'Mixed enumeration from provided root', wanted '--- Complex wildcards unix and windows slash')
batch.c:312: Test failed: unexpected char 0x47 position 0 in line 730 (got 'Got unexpected result: "C:\Documents"', wanted '--- Complex wildcards unix and windows slash')
batch.c:312: Test failed: unexpected char 0x47 position 0 in line 731 (got 'Got unexpected result: "C:\Documents"', wanted '--- Complex wildcards unix and windows slash')
batch.c:312: Test failed: unexpected char 0x47 position 0 in line 732 (got 'Got unexpected result: "C:\Documents"', wanted '--- Complex wildcards unix and windows slash')
batch.c:312: Test failed: unexpected char 0x47 position 0 in line 733 (got 'Got unexpected result: "C:\Documents"', wanted '--- Complex wildcards unix and windows slash')
batch.c:312: Test failed: unexpected char 0x47 position 0 in line 734 (got 'Got unexpected result: "C:\Documents"', wanted '--- Complex wildcards unix and windows slash')
batch.c:312: Test failed: unexpected char 0x47 position 0 in line 735 (got 'Got unexpected result: "C:\Documents"', wanted '--- Complex wildcards unix and windows slash')
batch.c:312: Test failed: unexpected char 0x46 position 0 in line 736 (got 'Found missing result: "C:\Documents and Settings\winetest\My Documents\foobar\."', wanted '--- Complex wildcards unix and windows slash')
batch.c:312: Test failed: unexpected char 0x46 position 0 in line 737 (got 'Found missing result: "C:\Documents and Settings\winetest\My Documents\foobar\bar\."', wanted '--- Complex wildcards unix and windows slash')
batch.c:312: Test failed: unexpected char 0x46 position 0 in line 738 (got 'Found missing result: "C:\Documents and Settings\winetest\My Documents\foobar\baz\."', wanted '--- Complex wildcards unix and windows slash')
batch.c:312: Test failed: unexpected char 0x46 position 0 in line 739 (got 'Found missing result: "C:\Documents and Settings\winetest\My Documents\foobar\baz\bazbaz"', wanted '--- Complex wildcards unix and windows slash')
batch.c:312: Test failed: unexpected char 0x46 position 0 in line 740 (got 'Found missing result: "C:\Documents and Settings\winetest\My Documents\foobar\bazbaz"', wanted '--- Complex wildcards unix and windows slash')
batch.c:312: Test failed: unexpected char 0x46 position 0 in line 741 (got 'Found missing result: "C:\Documents and Settings\winetest\My Documents\foobar\foo\."', wanted '--- Complex wildcards unix and windows slash')
batch.c:312: Test failed: unexpected char 0x57 position 0 in line 742 (got 'With duplicates enumeration', wanted '--- Complex wildcards unix and windows slash')
batch.c:312: Test failed: unexpected char 0x47 position 0 in line 743 (got 'Got unexpected result: "C:\Documents"', wanted '--- Complex wildcards unix and windows slash')
batch.c:312: Test failed: unexpected char 0x47 position 0 in line 744 (got 'Got unexpected result: "C:\Documents"', wanted '--- Complex wildcards unix and windows slash')
batch.c:312: Test failed: unexpected char 0x47 position 0 in line 745 (got 'Got unexpected result: "C:\Documents"', wanted '--- Complex wildcards unix and windows slash')
batch.c:312: Test failed: unexpected char 0x47 position 0 in line 746 (got 'Got unexpected result: "C:\Documents"', wanted '--- Complex wildcards unix and windows slash')
batch.c:312: Test failed: unexpected char 0x47 position 0 in line 747 (got 'Got unexpected result: "C:\Documents"', wanted '--- Complex wildcards unix and windows slash')
batch.c:312: Test failed: unexpected char 0x47 position 0 in line 748 (got 'Got unexpected result: "C:\Documents"', wanted '--- Complex wildcards unix and windows slash')
batch.c:312: Test failed: unexpected char 0x47 position 0 in line 749 (got 'Got unexpected result: "C:\Documents"', wanted '--- Complex wildcards unix and windows slash')
batch.c:312: Test failed: unexpected char 0x47 position 0 in line 750 (got 'Got unexpected result: "C:\Documents"', wanted '--- Complex wildcards unix and windows slash')
batch.c:312: Test failed: unexpected char 0x47 position 0 in line 751 (got 'Got unexpected result: "C:\Documents"', wanted '--- Complex wildcards unix and windows slash')
batch.c:312: Test failed: unexpected char 0x47 position 0 in line 752 (got 'Got unexpected result: "C:\Documents"', wanted '--- Complex wildcards unix and windows slash')
batch.c:312: Test failed: unexpected char 0x47 position 0 in line 753 (got 'Got unexpected result: "C:\Documents"', wanted '--- Complex wildcards unix and windows slash')
batch.c:312: Test failed: unexpected char 0x47 position 0 in line 754 (got 'Got unexpected result: "C:\Documents"', wanted '--- Complex wildcards unix and windows slash')
batch.c:312: Test failed: unexpected char 0x46 position 0 in line 755 (got 'Found missing result: "C:\Documents and Settings\winetest\My Documents\foobar\bar\bazbaz"', wanted '--- Complex wildcards unix and windows slash')
batch.c:312: Test failed: unexpected char 0x46 position 0 in line 756 (got 'Found missing result: "C:\Documents and Settings\winetest\My Documents\foobar\bar\fred"', wanted '--- Complex wildcards unix and windows slash')
batch.c:312: Test failed: unexpected char 0x46 position 0 in line 757 (got 'Found missing result: "C:\Documents and Settings\winetest\My Documents\foobar\baz\bazbaz"', wanted '--- Complex wildcards unix and windows slash')
batch.c:312: Test failed: unexpected char 0x46 position 0 in line 758 (got 'Found missing result: "C:\Documents and Settings\winetest\My Documents\foobar\baz\bazbaz"', wanted '--- Complex wildcards unix and windows slash')
batch.c:312: Test failed: unexpected char 0x46 position 0 in line 759 (got 'Found missing result: "C:\Documents and Settings\winetest\My Documents\foobar\baz\bazbaz"', wanted '--- Complex wildcards unix and windows slash')
batch.c:312: Test failed: unexpected char 0x46 position 0 in line 760 (got 'Found missing result: "C:\Documents and Settings\winetest\My Documents\foobar\baz\fred"', wanted '--- Complex wildcards unix and windows slash')
batch.c:312: Test failed: unexpected char 0x46 position 0 in line 761 (got 'Found missing result: "C:\Documents and Settings\winetest\My Documents\foobar\bazbaz"', wanted '--- Complex wildcards unix and windows slash')
batch.c:312: Test failed: unexpected char 0x46 position 0 in line 762 (got 'Found missing result: "C:\Documents and Settings\winetest\My Documents\foobar\bazbaz"', wanted '--- Complex wildcards unix and windows slash')
batch.c:312: Test failed: unexpected char 0x46 position 0 in line 763 (got 'Found missing result: "C:\Documents and Settings\winetest\My Documents\foobar\bazbaz"', wanted '--- Complex wildcards unix and windows slash')
batch.c:312: Test failed: unexpected char 0x46 position 0 in line 764 (got 'Found missing result: "C:\Documents and Settings\winetest\My Documents\foobar\foo\bazbaz"', wanted '--- Complex wildcards unix and windows slash')
batch.c:312: Test failed: unexpected char 0x46 position 0 in line 765 (got 'Found missing result: "C:\Documents and Settings\winetest\My Documents\foobar\foo\fred"', wanted '--- Complex wildcards unix and windows slash')
batch.c:312: Test failed: unexpected char 0x46 position 0 in line 766 (got 'Found missing result: "C:\Documents and Settings\winetest\My Documents\foobar\fred"', wanted '--- Complex wildcards unix and windows slash')
batch.c:312: Test failed: unexpected char 0x53 position 0 in line 767 (got 'Strip missing wildcards, keep unwildcarded names', wanted '--- Complex wildcards unix and windows slash')
batch.c:312: Test failed: unexpected char 0x47 position 0 in line 768 (got 'Got unexpected result: "C:\Documents"', wanted '--- Complex wildcards unix and windows slash')
batch.c:312: Test failed: unexpected char 0x47 position 0 in line 769 (got 'Got unexpected result: "C:\Documents"', wanted '--- Complex wildcards unix and windows slash')
batch.c:312: Test failed: unexpected char 0x47 position 0 in line 770 (got 'Got unexpected result: "C:\Documents"', wanted '--- Complex wildcards unix and windows slash')
batch.c:312: Test failed: unexpected char 0x47 position 0 in line 771 (got 'Got unexpected result: "C:\Documents"', wanted '--- Complex wildcards unix and windows slash')
batch.c:312: Test failed: unexpected char 0x47 position 0 in line 772 (got 'Got unexpected result: "C:\Documents"', wanted '--- Complex wildcards unix and windows slash')
batch.c:312: Test failed: unexpected char 0x47 position 0 in line 773 (got 'Got unexpected result: "C:\Documents"', wanted '--- Complex wildcards unix and windows slash')
batch.c:312: Test failed: unexpected char 0x46 position 0 in line 774 (got 'Found missing result: "C:\Documents and Settings\winetest\My Documents\foobar\bar\jim"', wanted '--- Complex wildcards unix and windows slash')
batch.c:312: Test failed: unexpected char 0x46 position 0 in line 775 (got 'Found missing result: "C:\Documents and Settings\winetest\My Documents\foobar\baz\bazbaz"', wanted '--- Complex wildcards unix and windows slash')
batch.c:312: Test failed: unexpected char 0x46 position 0 in line 776 (got 'Found missing result: "C:\Documents and Settings\winetest\My Documents\foobar\baz\jim"', wanted '--- Complex wildcards unix and windows slash')
batch.c:312: Test failed: unexpected char 0x46 position 0 in line 777 (got 'Found missing result: "C:\Documents and Settings\winetest\My Documents\foobar\bazbaz"', wanted '--- Complex wildcards unix and windows slash')
batch.c:312: Test failed: unexpected char 0x46 position 0 in line 778 (got 'Found missing result: "C:\Documents and Settings\winetest\My Documents\foobar\foo\jim"', wanted '--- Complex wildcards unix and windows slash')
batch.c:312: Test failed: unexpected char 0x46 position 0 in line 779 (got 'Found missing result: "C:\Documents and Settings\winetest\My Documents\foobar\jim"', wanted '--- Complex wildcards unix and windows slash')
batch.c:312: Test failed: unexpected char 0x66 position 0 in line 780 (got 'for /R passed', wanted '--- Complex wildcards unix and windows slash')
batch.c:312: Test failed: unexpected char 0x46 position 0 in line 1367 (got 'Finished:', wanted 'value2')
batch.c:312: Test failed: unexpected char 0x76 position 0 in line 1368 (got 'value2', wanted '2set1endvalue1')
batch.c:312: Test failed: unexpected char 0x43 position 0 in line 1369 (got 'C:\Documents and Settings\winetest\My Documents\foobar\foodir2', wanted '@drive@@path(a)foobar\foodir3')
batch.c:312: Test failed: unexpected char 0x76 position 0 in line 1370 (got 'value1', wanted 'Finished:')
batch.c:312: Test failed: unexpected char 0x43 position 0 in line 1371 (got 'C:\Documents and Settings\winetest\My Documents\foobar', wanted 'value2')
batch.c:312: Test failed: unexpected char 0x2d position 0 in line 1372 (got '--- Extra endlocal in called batch', wanted '@drive@@path(a)foobar\foodir2')
batch.c:312: Test failed: unexpected char 0x2d position 0 in line 1373 (got '--- Extra endlocal in called batch', wanted 'value1')
batch.c:312: Test failed: unexpected char 0x2d position 0 in line 1374 (got '--- Extra endlocal in called batch', wanted '@drive@@path(a)foobar')
batch.c:312: Test failed: unexpected char 0x46 position 0 in line 1376 (got 'Finished:', wanted 'value2')
batch.c:312: Test failed: unexpected char 0x76 position 0 in line 1379 (got 'value1', wanted 'value2')
batch.c:312: Test failed: unexpected char 0x43 position 0 in line 1380 (got 'C:\Documents and Settings\winetest\My Documents\foobar', wanted '@drive@@path(a)foobar\foodir2')
batch.c:312: Test failed: unexpected char 0x2d position 0 in line 1381 (got '--- endlocal in called function rather than batch pgm is ineffective', wanted 'Finished:')
batch.c:312: Test failed: unexpected char 0x2d position 0 in line 1382 (got '--- endlocal in called function rather than batch pgm is ineffective', wanted 'value2')
batch.c:312: Test failed: unexpected char 0x2d position 0 in line 1383 (got '--- endlocal in called function rather than batch pgm is ineffective', wanted '@drive@@path(a)foobar\foodir2')
batch.c:312: Test failed: unexpected char 0x2d position 0 in line 1384 (got '--- endlocal in called function rather than batch pgm is ineffective', wanted 'value1')
batch.c:312: Test failed: unexpected char 0x2d position 0 in line 1385 (got '--- endlocal in called function rather than batch pgm is ineffective', wanted '@drive@@path(a)foobar')
=== wvistau64 (32 bit) ===
batch.c:312: Test failed: unexpected char 0x27 position 0 in line 318 (got ''--a--c---'', wanted ''--a------'@or_broken@'%~ai'')
=== w8 (32 bit) ===
batch.c:312: Test failed: unexpected char 0x27 position 0 in line 318 (got ''--a--------'', wanted ''--a------'@or_broken@'%~ai'')
=== wvistau64 (64 bit) ===
batch.c:312: Test failed: unexpected char 0x27 position 0 in line 318 (got ''--a--c---'', wanted ''--a------'@or_broken@'%~ai'')
Nov. 11, 2014
Re: [PATCH 1/5] ddraw/tests: Rename modes and rectangles in test_coop_level_mode_set.
by Henri Verbeet
On 10 November 2014 23:08, Stefan Dösinger <stefan(a)codeweavers.com> wrote:
> ddraw = create_ddraw();
> ok(!!ddraw, "Failed to create a ddraw object.\n");
>
> + memset(¶m, 0, sizeof(param));
> + hr = IDirectDraw7_EnumDisplayModes(ddraw, 0, NULL, ¶m, test_coop_level_mode_set_enum_cb);
> + ok(SUCCEEDED(hr), "Failed to enumerate display mode, hr %#x.\n", hr);
> + ref = IDirectDraw7_Release(ddraw);
> + ok(ref == 0, "The ddraw object was not properly freed: refcount %u.\n", ref);
...
> + ddraw = create_ddraw();
> + ok(!!ddraw, "Failed to create a ddraw object.\n");
This seems odd, why do you recreate the ddraw object?
Nov. 11, 2014
Re: [PATCH 4/5] d3d8/tests: Fix some wndproc comparison error messages.
by 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://testbot.winehq.org/JobDetails.pl?Key=10175
Your paranoid android.
=== w8 (32 bit device) ===
device.c:1173: Test failed: TestCooperativeLevel failed, hr 0x88760868.
device.c:1218: Test failed: Reset failed, hr 0x88760868.
device.c:1220: Test failed: TestCooperativeLevel failed, hr 0x88760869.
device.c:1224: Test failed: Got unexpected value 0 for D3DRS_LIGHTING.
device.c:1231: Test failed: D3DVIEWPORT->X = 10, expected 0.
device.c:1232: Test failed: D3DVIEWPORT->Y = 20, expected 0.
device.c:1233: Test failed: D3DVIEWPORT->Width = 400, expected 800.
device.c:1234: Test failed: D3DVIEWPORT->Height = 300, expected 600.
device.c:1235: Test failed: D3DVIEWPORT->MinZ = 2.00000003e-001, expected 0.
device.c:1236: Test failed: D3DVIEWPORT->MaxZ = 3.00000012e-001, expected 1.
device.c:1241: Test failed: Screen width is 640, expected 800.
device.c:1242: Test failed: Screen height is 480, expected 600.
device.c:1248: Test failed: Back buffer width is 640, expected 800.
device.c:1250: Test failed: Back buffer height is 480, expected 600.
device.c:1280: Test failed: Screen width is 640, expected 1024.
device.c:1281: Test failed: Screen height is 480, expected 768.
device.c:2439: Test failed: Expected foreground window 000701B2, got 0002004C.
device.c:2808: Test failed: Expected device window style 0x14cf0000, got 0x4cf0000.
device.c:2812: Test failed: Expected device window extended style 0x108, got 0x100.
device.c:2834: Test failed: Failed to reset device, hr 0x88760868.
device.c:2838: Test failed: Expected device window style 0x14cf0000, got 0x4cf0000.
device.c:2842: Test failed: Expected device window extended style 0x108, got 0x100.
device.c:3209: Test failed: Failed to reset device.
device.c:3216: Test failed: Expected {0, 0, 1024, 768}, got {0, 0, 512, 384}.
device.c:3224: Test failed: Expected wndproc != 0x412eb0.
Nov. 11, 2014
RE: [PATCH v3 03/10] reg: Add system error printing function
by Hugh McMaster
On Monday, 10 Nov 2014 14:46:49 +0100, Jonathan Vollebregt wrote:
> I'd still have to use reg_print_error as is because it's there to get
> the error string from standard error codes like ERROR_INVALID_DATA not
> to actually format the output string (FORMAT_MESSAGE_FROM_SYSTEM vs
> FORMAT_MESSAGE_FROM_STRING)
>
> Giving reg_message extra arguments is a good idea, but I'm not sure if
> we're supposed to have format specifiers in LoadString resources.
>
> I'm not sure whether having output_vprintf is really an advantage over
> just calling reg_printf since it uses different format specifiers than
> printf and basically does the same thing (Minus the variable size issue
> of course)
Format specifiers are perfectly valid in resource strings. See programs/regsvr32/regsvr32.rc as one example.
Not having to deal with variable memory allocation is the obvious advantage of using output_vprintf(). My personal choice would be to convert static const WCHAR nonnumber[] and static const WCHAR unhandled[] to resource strings and using reg_message(). These messages really should be translated anyway.
That leaves the three static const WCHAR stubW[] arrays to consider. Personally, I would remove them. They serve no real purpose and native reg doesn't have anything like them.
As to the getting the error message from the system table, I came up with two possibilities.
static void __cdecl reg_printfW(const WCHAR* msg, ...)
{
__ms_va_list va_args;
__ms_va_start(va_args, msg);
output_vprintf(msg, va_args);
__ms_va_end(va_args);
}
static void reg_print_error(LSTATUS error_code)
{
WCHAR *str, *buffer;
int len, extra_char = 8;
static const WCHAR error_string1[] = {'%','1','!','*','.','*','d','!',':',' ','%','3',0};
static const WCHAR error_string2[] = {'%','0','5','d',':',' ','%','s',0};
len = FormatMessageW(FORMAT_MESSAGE_FROM_SYSTEM|FORMAT_MESSAGE_ALLOCATE_BUFFER,
NULL, error_code, 0, (LPWSTR)&str, 0, NULL);
if (len == 0 && GetLastError() != NO_ERROR)
{
WINE_FIXME("Could not format system string: le=%u\n", GetLastError());
return;
}
reg_printfW(error_string1, 0, 5, error_code, str); /* Option 1 - fully automated */
/* Option 2 */
buffer = HeapAlloc(GetProcessHeap(), 0, (len + extra_char) * sizeof(WCHAR));
if (buffer)
{
sprintfW(buffer, error_string2, error_code, str);
output_write(buffer, strlenW(buffer));
HeapFree(GetProcessHeap(), 0, buffer);
}
LocalFree(str);
}
Nov. 11, 2014
Re: avifil32: Simplify comparing two unsigned ints (PVS-Studio) (try 2)
by Ken Thomases
On Nov 10, 2014, at 5:09 PM, Ken Thomases <ken(a)codeweavers.com> wrote:
> On Nov 10, 2014, at 4:56 PM, André Hentschel <nerv(a)dawncrow.de> wrote:
>
>> try 2: added the missing +1 thanks to a hint by ken on irc
>> ---
>> dlls/avifil32/avifile.c | 6 +++---
>> 1 file changed, 3 insertions(+), 3 deletions(-)
>>
>> diff --git a/dlls/avifil32/avifile.c b/dlls/avifil32/avifile.c
>> index 6295c7b..3d90e20 100644
>> --- a/dlls/avifil32/avifile.c
>> +++ b/dlls/avifil32/avifile.c
>> @@ -466,9 +466,9 @@ static HRESULT WINAPI IAVIFile_fnDeleteStream(IAVIFile *iface, DWORD fccType, LO
>> /* ... so delete it now */
>> HeapFree(GetProcessHeap(), 0, This->ppStreams[nStream]);
>>
>> - if (This->fInfo.dwStreams - nStream > 0)
>> - memcpy(This->ppStreams + nStream, This->ppStreams + nStream + 1,
>> - (This->fInfo.dwStreams - nStream) * sizeof(IAVIStreamImpl*));
>> + if (nStream < This->fInfo.dwStreams)
>> + memcpy(&This->ppStreams[nStream], &This->ppStreams[nStream + 1],
>> + (This->fInfo.dwStreams - nStream) * sizeof(This->ppStreams[0]));
>>
>> This->ppStreams[This->fInfo.dwStreams] = NULL;
>> This->fInfo.dwStreams--;
>
> This is a more faithful refactoring of the original logic. However, looking at it some more, it looks like the original logic was wrong. It's removing an entry from the array and shifting the following entries up to fill the gap. There are This->fInfo.dwStreams - nStream entries from the nStream'th one to the end. There are only This->fInfo.dwStreams - (nStream + 1) entries that actually _follow_ the nStream'th one. The original logic read past the end of the array and this logic still does.
And Matteo pointed out on IRC that the code should use memmove() for overlapping ranges.
-Ken
Nov. 10, 2014