winehq.org
Sign In
Sign Up
Sign In
Sign Up
Manage this list
×
Keyboard Shortcuts
Thread View
j
: Next unread message
k
: Previous unread message
j a
: Jump to all threads
j l
: Jump to MailingList overview
2025
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
List overview
wine-commits
April 2007
----- 2025 -----
April 2025
March 2025
February 2025
January 2025
----- 2024 -----
December 2024
November 2024
October 2024
September 2024
August 2024
July 2024
June 2024
May 2024
April 2024
March 2024
February 2024
January 2024
----- 2023 -----
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
----- 2022 -----
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
----- 2021 -----
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
----- 2020 -----
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
----- 2019 -----
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
----- 2018 -----
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
----- 2017 -----
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
----- 2016 -----
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
----- 2015 -----
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
----- 2014 -----
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
----- 2013 -----
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
----- 2012 -----
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
----- 2011 -----
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
----- 2010 -----
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
----- 2009 -----
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
----- 2008 -----
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
----- 2007 -----
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
----- 2006 -----
December 2006
November 2006
October 2006
September 2006
August 2006
July 2006
June 2006
May 2006
April 2006
March 2006
February 2006
January 2006
----- 2005 -----
December 2005
November 2005
October 2005
September 2005
August 2005
July 2005
June 2005
May 2005
April 2005
March 2005
February 2005
January 2005
----- 2004 -----
December 2004
November 2004
October 2004
September 2004
August 2004
July 2004
June 2004
May 2004
April 2004
March 2004
February 2004
January 2004
----- 2003 -----
December 2003
November 2003
October 2003
September 2003
August 2003
July 2003
June 2003
May 2003
April 2003
March 2003
February 2003
January 2003
----- 2002 -----
December 2002
November 2002
October 2002
September 2002
August 2002
July 2002
June 2002
May 2002
April 2002
March 2002
February 2002
January 2002
----- 2001 -----
December 2001
November 2001
October 2001
September 2001
August 2001
July 2001
June 2001
May 2001
April 2001
March 2001
February 2001
wine-commits@winehq.org
4 participants
687 discussions
Start a n
N
ew thread
Laurent Vromman : gdi32: Correct WidenPath behaviour when working on an open path.
by Alexandre Julliard
03 Apr '07
03 Apr '07
Module: wine Branch: master Commit: 932c6f5bdda350b2a24fb2b35e202ec36f2eca25 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=932c6f5bdda350b2a24fb2b35…
Author: Laurent Vromman <laurent(a)vromman.org> Date: Tue Apr 3 07:45:40 2007 +0200 gdi32: Correct WidenPath behaviour when working on an open path. --- dlls/gdi32/path.c | 8 ++++---- dlls/gdi32/tests/path.c | 15 ++++++++------- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/dlls/gdi32/path.c b/dlls/gdi32/path.c index c3b1f1c..22c153f 100644 --- a/dlls/gdi32/path.c +++ b/dlls/gdi32/path.c @@ -1778,13 +1778,13 @@ static BOOL PATH_WidenPath(DC *dc) pPath = &dc->path; - PATH_FlattenPath(pPath); - - if(pPath->state != PATH_Closed) { - ERR("Path Closed\n"); + if(pPath->state == PATH_Open) { + SetLastError(ERROR_CAN_NOT_COMPLETE); return FALSE; } + PATH_FlattenPath(pPath); + size = GetObjectW( dc->hPen, 0, NULL ); if (!size) return FALSE; diff --git a/dlls/gdi32/tests/path.c b/dlls/gdi32/tests/path.c index 074a151..e9a6d39 100644 --- a/dlls/gdi32/tests/path.c +++ b/dlls/gdi32/tests/path.c @@ -35,7 +35,8 @@ static void test_widenpath(void) HPEN greenPen, narrowPen; HPEN oldPen; POINT pnt[6]; - INT nSize; + INT nSize, ret; + DWORD error; /* Create a pen to be used in WidenPath */ greenPen = CreatePen(PS_SOLID, 10, RGB(0,0,0)); @@ -70,12 +71,12 @@ static void test_widenpath(void) AbortPath(hdc); - todo_wine { - /* Test WidenPath with an empty path */ - SetLastError(0xdeadbeef); - BeginPath(hdc); - ok(WidenPath(hdc) == FALSE, "WidenPath fails while widening an empty path. Error : %d\n", GetLastError()); - } + /* Test WidenPath with an open path */ + SetLastError(0xdeadbeef); + BeginPath(hdc); + ret = WidenPath(hdc); + error = GetLastError(); + ok(ret == FALSE && GetLastError() == ERROR_CAN_NOT_COMPLETE, "WidenPath fails while widening an open path. Return value is %d, should be %d. Error is %08x, should be %08x\n", ret, FALSE, GetLastError(), ERROR_CAN_NOT_COMPLETE); AbortPath(hdc);
1
0
0
0
Laurent Vromman : gdi32: Correction of WidenPath behaviour when pen width is 1.
by Alexandre Julliard
03 Apr '07
03 Apr '07
Module: wine Branch: master Commit: 525fd823665dc896b7c8efe625c2a472e9154eed URL:
http://source.winehq.org/git/wine.git/?a=commit;h=525fd823665dc896b7c8efe62…
Author: Laurent Vromman <laurent(a)vromman.org> Date: Mon Apr 2 23:33:09 2007 +0200 gdi32: Correction of WidenPath behaviour when pen width is 1. --- dlls/gdi32/path.c | 5 +++++ dlls/gdi32/tests/path.c | 16 +++++++++++++++- 2 files changed, 20 insertions(+), 1 deletions(-) diff --git a/dlls/gdi32/path.c b/dlls/gdi32/path.c index af756b3..c3b1f1c 100644 --- a/dlls/gdi32/path.c +++ b/dlls/gdi32/path.c @@ -1795,6 +1795,11 @@ static BOOL PATH_WidenPath(DC *dc) penWidth = elp->elpWidth; HeapFree( GetProcessHeap(), 0, elp ); + /* pen width must be strictly higher than 1 */ + if(penWidth == 1) { + return TRUE; + } + /* FIXME : If extPen, use the shape on corners */ penWidthIn = penWidth / 2; penWidthOut = penWidth / 2; diff --git a/dlls/gdi32/tests/path.c b/dlls/gdi32/tests/path.c index 0346b28..074a151 100644 --- a/dlls/gdi32/tests/path.c +++ b/dlls/gdi32/tests/path.c @@ -19,6 +19,7 @@ */ #include <stdarg.h> +#include <stdio.h> #include "windef.h" #include "winbase.h" #include "wingdi.h" @@ -31,7 +32,7 @@ static void test_widenpath(void) { HDC hdc = GetDC(0); - HPEN greenPen; + HPEN greenPen, narrowPen; HPEN oldPen; POINT pnt[6]; INT nSize; @@ -67,6 +68,8 @@ static void test_widenpath(void) ok(nSize != -1, "GetPath fails after calling WidenPath.\n"); ok(nSize > 6, "Path number of points is to low. Should be more than 6 but is %d\n", nSize); + AbortPath(hdc); + todo_wine { /* Test WidenPath with an empty path */ SetLastError(0xdeadbeef); @@ -74,6 +77,17 @@ static void test_widenpath(void) ok(WidenPath(hdc) == FALSE, "WidenPath fails while widening an empty path. Error : %d\n", GetLastError()); } + AbortPath(hdc); + + /* Test when the pen width is equal to 1. The path should not change */ + narrowPen = CreatePen(PS_SOLID, 1, RGB(0,0,0)); + oldPen = SelectObject(hdc, narrowPen); + BeginPath(hdc); + Polyline(hdc, pnt, 6); + EndPath(hdc); + nSize = GetPath(hdc, NULL, NULL, 0); + ok(nSize == 6, "WidenPath fails detecting 1px wide pen. Path length is %d, should be 6\n", nSize); + ReleaseDC(0, hdc); return; }
1
0
0
0
Jason Edmeades : oleaut32: Convert to VT_DECIMAL fails with overflow ( with test).
by Alexandre Julliard
03 Apr '07
03 Apr '07
Module: wine Branch: master Commit: 94b9b6146d8f288bbb006f8ba2884154cfc0b172 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=94b9b6146d8f288bbb006f8ba…
Author: Jason Edmeades <us(a)edmeades.me.uk> Date: Mon Apr 2 20:51:55 2007 +0100 oleaut32: Convert to VT_DECIMAL fails with overflow (with test). --- dlls/oleaut32/tests/vartest.c | 7 +++++++ dlls/oleaut32/variant.c | 2 +- 2 files changed, 8 insertions(+), 1 deletions(-) diff --git a/dlls/oleaut32/tests/vartest.c b/dlls/oleaut32/tests/vartest.c index 44cc5c3..7de21bd 100644 --- a/dlls/oleaut32/tests/vartest.c +++ b/dlls/oleaut32/tests/vartest.c @@ -1391,6 +1391,11 @@ static const char *szFailOk = "Call failed, hres = %08x\n"; #define EXPECT_CY(val) EXPECT_OK { EXPECT_TYPE(VT_CY); \ ok(V_CY(&vOut).int64 == (LONG64)(val * CY_MULTIPLIER), "Expected r8 = 0x%x%08x, got 0x%x%08x\n", \ (DWORD)((LONG64)val >> 23), (DWORD)(LONG64)val, (DWORD)(V_CY(&vOut).int64 >>32), (DWORD)V_CY(&vOut).int64); } +#define EXPECT_DECIMAL(valHi, valMid, valLo) EXPECT_OK { EXPECT_TYPE(VT_DECIMAL); \ + ok((V_DECIMAL(&vOut).Hi32 == valHi) && (V_DECIMAL(&vOut).Mid32 == valMid) && \ + (V_DECIMAL(&vOut).Lo32 == valLo), \ + "Expected decimal = %x/0x%x%08x, got %x/0x%x%08x\n", valHi, valMid, valLo, \ + V_DECIMAL(&vOut).Hi32, V_DECIMAL(&vOut).Mid32, V_DECIMAL(&vOut).Lo32); } static void test_VarNumFromParseNum(void) { @@ -1454,6 +1459,8 @@ static void test_VarNumFromParseNum(void) /* 0x7f */ SETRGB(0, 7); SETRGB(1, 0xf); CONVERT(2,0,0,2,4,0, INTEGER_VTBITS); EXPECT_I1(0x7f); + SETRGB(0, 7); SETRGB(1, 0xf); + CONVERT(2,0,0,2,4,0, VTBIT_DECIMAL); EXPECT_DECIMAL(0,0,0x7f); /* 0x7fff */ SETRGB(0, 7); SETRGB(1, 0xf); SETRGB(2, 0xf); SETRGB(3, 0xf); CONVERT(4,0,0,4,4,0, INTEGER_VTBITS); EXPECT_I2(0x7fff); diff --git a/dlls/oleaut32/variant.c b/dlls/oleaut32/variant.c index 37fdea2..d851a9b 100644 --- a/dlls/oleaut32/variant.c +++ b/dlls/oleaut32/variant.c @@ -2019,7 +2019,7 @@ HRESULT WINAPI VarNumFromParseNum(NUMPARSE *pNumprs, BYTE *rgbDig, V_UI8(pVarDst) = ul64; return S_OK; } - else if ((dwVtBits & REAL_VTBITS) == VTBIT_DECIMAL) + else if ((dwVtBits & VTBIT_DECIMAL) == VTBIT_DECIMAL) { V_VT(pVarDst) = VT_DECIMAL; DEC_SIGNSCALE(&V_DECIMAL(pVarDst)) = SIGNSCALE(DECIMAL_POS,0);
1
0
0
0
Chris Robinson : quartz: Use a second-long DSound buffer for playback.
by Alexandre Julliard
03 Apr '07
03 Apr '07
Module: wine Branch: master Commit: c76d5561a8db51b581ff7062e068f4843f0c9332 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=c76d5561a8db51b581ff7062e…
Author: Chris Robinson <chris.kcat(a)gmail.com> Date: Sun Apr 1 05:50:44 2007 -0700 quartz: Use a second-long DSound buffer for playback. --- dlls/quartz/dsoundrender.c | 13 +++++++------ 1 files changed, 7 insertions(+), 6 deletions(-) diff --git a/dlls/quartz/dsoundrender.c b/dlls/quartz/dsoundrender.c index 23c522d..96f8133 100644 --- a/dlls/quartz/dsoundrender.c +++ b/dlls/quartz/dsoundrender.c @@ -64,6 +64,7 @@ typedef struct DSoundRenderImpl LPDIRECTSOUND dsound; LPDIRECTSOUNDBUFFER dsbuffer; + DWORD buf_size; DWORD write_pos; BOOL init; @@ -100,8 +101,6 @@ static HRESULT DSoundRender_InputPin_Construct(const PIN_INFO * pPinInfo, SAMPLE } -#define DSBUFFERSIZE 8192 - static HRESULT DSoundRender_CreateSoundBuffer(IBaseFilter * iface) { HRESULT hr; @@ -148,13 +147,15 @@ static HRESULT DSoundRender_CreateSoundBuffer(IBaseFilter * iface) goto getout; } + This->buf_size = format->nAvgBytesPerSec; + wav_fmt = *format; wav_fmt.cbSize = 0; memset(&buf_desc,0,sizeof(DSBUFFERDESC)); buf_desc.dwSize = sizeof(DSBUFFERDESC); buf_desc.dwFlags = DSBCAPS_CTRLVOLUME | DSBCAPS_CTRLPAN | DSBCAPS_CTRLFREQUENCY; - buf_desc.dwBufferBytes = DSBUFFERSIZE; + buf_desc.dwBufferBytes = This->buf_size; buf_desc.lpwfxFormat = &wav_fmt; hr = IDirectSound_CreateSoundBuffer(This->dsound, &buf_desc, &This->dsbuffer, NULL); if (FAILED(hr)) { @@ -206,10 +207,10 @@ static HRESULT DSoundRender_SendSampleData(DSoundRenderImpl* This, LPBYTE data, if (This->write_pos <= play_pos) buf_free = play_pos-This->write_pos; else - buf_free = DSBUFFERSIZE - This->write_pos + play_pos; + buf_free = This->buf_size - This->write_pos + play_pos; /* Wait for enough of the buffer to empty before filling it */ - if(buf_free < DSBUFFERSIZE/4) + if(buf_free < This->buf_size/4) { Sleep(10); continue; @@ -233,7 +234,7 @@ static HRESULT DSoundRender_SendSampleData(DSoundRenderImpl* This, LPBYTE data, size -= dwsize1 + dwsize2; data += dwsize1 + dwsize2; - This->write_pos = (This->write_pos + dwsize1 + dwsize2) % DSBUFFERSIZE; + This->write_pos = (This->write_pos + dwsize1 + dwsize2) % This->buf_size; } while (size && This->state == State_Running); return hr;
1
0
0
0
Francois Gouget : shell32/tests: On NT4 FindExecutable() returns an extra backspace character in some tests.
by Alexandre Julliard
03 Apr '07
03 Apr '07
Module: wine Branch: master Commit: 996ced19816c819ad21dbd859a6d0b86c4cc8e93 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=996ced19816c819ad21dbd859…
Author: Francois Gouget <fgouget(a)codeweavers.com> Date: Mon Apr 2 19:38:15 2007 +0200 shell32/tests: On NT4 FindExecutable() returns an extra backspace character in some tests. --- dlls/shell32/tests/shlexec.c | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/dlls/shell32/tests/shlexec.c b/dlls/shell32/tests/shlexec.c index 849c275..f16cb72 100644 --- a/dlls/shell32/tests/shlexec.c +++ b/dlls/shell32/tests/shlexec.c @@ -774,14 +774,18 @@ static void test_find_executable(void) } if (rc > 32) { + int equal; + equal=strcmp(command, argv0) == 0 || + /* NT4 returns an extra 0x8 character! */ + (strlen(command) == strlen(argv0)+1 && strncmp(command, argv0, strlen(argv0)) == 0); if ((test->todo & 0x20)==0) { - ok(strcmp(command, argv0) == 0, "FindExecutable(%s) returned command='%s' instead of '%s'\n", + ok(equal, "FindExecutable(%s) returned command='%s' instead of '%s'\n", filename, command, argv0); } else todo_wine { - ok(strcmp(command, argv0) == 0, "FindExecutable(%s) returned command='%s' instead of '%s'\n", + ok(equal, "FindExecutable(%s) returned command='%s' instead of '%s'\n", filename, command, argv0); } }
1
0
0
0
Francois Gouget : shell32/tests: On Windows 98 FindExecutable() does not ' \0' terminate the returned command which caused many tests to fail.
by Alexandre Julliard
03 Apr '07
03 Apr '07
Module: wine Branch: master Commit: 1736e7eb763b13cba94c1afc9c52f11b0257abd9 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=1736e7eb763b13cba94c1afc9…
Author: Francois Gouget <fgouget(a)codeweavers.com> Date: Mon Apr 2 19:32:16 2007 +0200 shell32/tests: On Windows 98 FindExecutable() does not '\0' terminate the returned command which caused many tests to fail. --- dlls/shell32/tests/shlexec.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/dlls/shell32/tests/shlexec.c b/dlls/shell32/tests/shlexec.c index 708c06c..849c275 100644 --- a/dlls/shell32/tests/shlexec.c +++ b/dlls/shell32/tests/shlexec.c @@ -759,6 +759,8 @@ static void test_find_executable(void) c++; } } + /* Win98 does not '\0'-terminate command! */ + memset(command, '\0', sizeof(command)); rc=(int)FindExecutableA(filename, NULL, command); if (rc > 32) rc=33;
1
0
0
0
Francois Gouget : shell32/tests: End the lines with CR+LF otherwise the profile APIs are unable to read them back on Win >= 2000.
by Alexandre Julliard
03 Apr '07
03 Apr '07
Module: wine Branch: master Commit: 789fb4c994539c1e29084381225da9e7304eb944 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=789fb4c994539c1e290843812…
Author: Francois Gouget <fgouget(a)codeweavers.com> Date: Mon Apr 2 19:20:29 2007 +0200 shell32/tests: End the lines with CR+LF otherwise the profile APIs are unable to read them back on Win >= 2000. --- dlls/shell32/tests/shlexec.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dlls/shell32/tests/shlexec.c b/dlls/shell32/tests/shlexec.c index cb814d2..708c06c 100644 --- a/dlls/shell32/tests/shlexec.c +++ b/dlls/shell32/tests/shlexec.c @@ -347,15 +347,15 @@ static void doChild(int argc, char** argv) return; /* Arguments */ - childPrintf(hFile, "[Arguments]\n"); + childPrintf(hFile, "[Arguments]\r\n"); if (winetest_debug > 2) trace("argcA=%d\n", argc); - childPrintf(hFile, "argcA=%d\n", argc); + childPrintf(hFile, "argcA=%d\r\n", argc); for (i = 0; i < argc; i++) { if (winetest_debug > 2) trace("argvA%d=%s\n", i, argv[i]); - childPrintf(hFile, "argvA%d=%s\n", i, encodeA(argv[i])); + childPrintf(hFile, "argvA%d=%s\r\n", i, encodeA(argv[i])); } CloseHandle(hFile);
1
0
0
0
Francois Gouget : shell32/tests: Fix some expected FindExecutable() error codes.
by Alexandre Julliard
03 Apr '07
03 Apr '07
Module: wine Branch: master Commit: 95ddcc3bae41a12df53d71d03547bf337291a0d1 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=95ddcc3bae41a12df53d71d03…
Author: Francois Gouget <fgouget(a)codeweavers.com> Date: Mon Apr 2 19:24:40 2007 +0200 shell32/tests: Fix some expected FindExecutable() error codes. Add comments indicating which Windows version returns a given error code. --- dlls/shell32/tests/shlexec.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dlls/shell32/tests/shlexec.c b/dlls/shell32/tests/shlexec.c index 4375a9a..cb814d2 100644 --- a/dlls/shell32/tests/shlexec.c +++ b/dlls/shell32/tests/shlexec.c @@ -697,12 +697,12 @@ static void test_find_executable(void) strcpy(command, "your word"); rc=(int)FindExecutableA(NULL, NULL, command); - ok(rc == SE_ERR_FNF || rc > 32, "FindExecutable(NULL) returned %d\n", rc); + ok(rc == SE_ERR_FNF || rc > 32 /* nt4 */, "FindExecutable(NULL) returned %d\n", rc); ok(strcmp(command, "your word") != 0, "FindExecutable(NULL) returned command=[%s]\n", command); strcpy(command, "your word"); rc=(int)FindExecutableA(tmpdir, NULL, command); - todo_wine ok(rc == SE_ERR_FNF || rc > 32, "FindExecutable(NULL) returned %d\n", rc); + ok(rc == SE_ERR_NOASSOC /* >= win2000 */ || rc > 32 /* win98, nt4 */, "FindExecutable(NULL) returned %d\n", rc); ok(strcmp(command, "your word") != 0, "FindExecutable(NULL) returned command=[%s]\n", command); sprintf(filename, "%s\\test file.sfe", tmpdir); @@ -723,7 +723,7 @@ static void test_find_executable(void) sprintf(filename, "%s\\test file.shl", tmpdir); rc=(int)FindExecutableA(filename, NULL, command); - ok(rc > 32, "FindExecutable(%s) returned %d\n", filename, rc); + ok(rc == SE_ERR_FNF /* NT4 */ || rc > 32, "FindExecutable(%s) returned %d\n", filename, rc); sprintf(filename, "%s\\test file.shlfoo", tmpdir); rc=(int)FindExecutableA(filename, NULL, command);
1
0
0
0
Francois Gouget : Assorted spelling and English fixes.
by Alexandre Julliard
03 Apr '07
03 Apr '07
Module: wine Branch: master Commit: 0081b430e1f454ada5e8e6d9f4b97449b903d8e5 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=0081b430e1f454ada5e8e6d9f…
Author: Francois Gouget <fgouget(a)free.fr> Date: Mon Apr 2 19:17:56 2007 +0200 Assorted spelling and English fixes. --- dlls/comctl32/tests/tab.c | 2 +- dlls/kernel32/tests/profile.c | 2 +- dlls/localspl/tests/localmon.c | 2 +- dlls/ole32/stg_bigblockfile.c | 4 ++-- dlls/rpcrt4/rpcss_np_client.c | 4 ++-- dlls/wined3d/state.c | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/dlls/comctl32/tests/tab.c b/dlls/comctl32/tests/tab.c index 59cd969..6f7259f 100644 --- a/dlls/comctl32/tests/tab.c +++ b/dlls/comctl32/tests/tab.c @@ -719,7 +719,7 @@ static void test_getters_setters(INT nTabs) flush_sequences(sequences, NUM_MSG_SEQUENCES); - /* Testing Flat Seperators */ + /* Testing Flat Separators */ extendedStyle = SendMessage(hTab, TCM_GETEXTENDEDSTYLE, 0, 0); prevExtendedStyle = SendMessage(hTab, TCM_SETEXTENDEDSTYLE, 0, TCS_EX_FLATSEPARATORS); expect(extendedStyle, prevExtendedStyle); diff --git a/dlls/kernel32/tests/profile.c b/dlls/kernel32/tests/profile.c index 628a40b..272ba9c 100644 --- a/dlls/kernel32/tests/profile.c +++ b/dlls/kernel32/tests/profile.c @@ -236,7 +236,7 @@ static void test_profile_sections_names(void) DeleteFileA( testfile3 ); - /* Tests on non-existent file */ + /* Tests on nonexistent file */ memset(buf, 0xcc, sizeof(buf)); ret = GetPrivateProfileSectionNamesA( buf, 10, ".\\not_here.ini" ); ok( ret == 0, "expected return size 0, got %d\n", ret ); diff --git a/dlls/localspl/tests/localmon.c b/dlls/localspl/tests/localmon.c index a89f0da..af2611e 100644 --- a/dlls/localspl/tests/localmon.c +++ b/dlls/localspl/tests/localmon.c @@ -539,7 +539,7 @@ static void test_XcvDataPort_DeletePort(void) /* ToDo: cmd_AddPortW for tempfileW, then cmd_DeletePortW for the existing Port */ - /* try to delete a non-existing Port */ + /* try to delete a nonexistent Port */ needed = (DWORD) 0xdeadbeef; SetLastError(0xdeadbeef); res = pXcvDataPort(hXcv, cmd_DeletePortW, (PBYTE) tempfileW, (lstrlenW(tempfileW) + 1) * sizeof(WCHAR), NULL, 0, &needed); diff --git a/dlls/ole32/stg_bigblockfile.c b/dlls/ole32/stg_bigblockfile.c index a208bb8..08fc546 100644 --- a/dlls/ole32/stg_bigblockfile.c +++ b/dlls/ole32/stg_bigblockfile.c @@ -745,7 +745,7 @@ static HRESULT WINAPI ImplBIGBLOCKFILE_ReadAt( TRACE("(%p)-> %i %p %i %p\n",This, ulOffset.u.LowPart, pv, cb, pcbRead); - /* verify a sane enviroment */ + /* verify a sane environment */ if (!This) return E_FAIL; if (offset_in_page + bytes_left > PAGE_SIZE) @@ -833,7 +833,7 @@ static HRESULT WINAPI ImplBIGBLOCKFILE_WriteAt( TRACE("(%p)-> %i %p %i %p\n",This, ulOffset.u.LowPart, pv, cb, pcbWritten); - /* verify a sane enviroment */ + /* verify a sane environment */ if (!This) return E_FAIL; if (This->flProtect != PAGE_READWRITE) diff --git a/dlls/rpcrt4/rpcss_np_client.c b/dlls/rpcrt4/rpcss_np_client.c index dc57fd2..016f77f 100644 --- a/dlls/rpcrt4/rpcss_np_client.c +++ b/dlls/rpcrt4/rpcss_np_client.c @@ -77,8 +77,8 @@ HANDLE RPCRT4_RpcssNPConnect(void) if (!ReleaseMutex(master_mutex)) ERR("Failed to release master mutex. Expect deadlock.\n"); - /* wait for the named pipe. We are only - willing to wait only 5 seconds. It should be available /very/ soon. */ + /* wait for the named pipe. We are only willing to wait for 5 seconds. + It should be available /very/ soon. */ if (! WaitNamedPipeA(NAME_RPCSS_NAMED_PIPE, MASTER_MUTEX_WAITNAMEDPIPE_TIMEOUT)) { ERR("Named pipe unavailable after waiting. Something is probably wrong.\n"); diff --git a/dlls/wined3d/state.c b/dlls/wined3d/state.c index 07af88d..9f6a215 100644 --- a/dlls/wined3d/state.c +++ b/dlls/wined3d/state.c @@ -2865,7 +2865,7 @@ static void loadVertexData(IWineD3DStateBlockImpl *stateblock, WineDirect3DVerte } } if (GL_SUPPORT(NV_REGISTER_COMBINERS)) { - /* The number of the mapped stages increses monotonic, so we're fine to use the last used one */ + /* The number of the mapped stages increases monotonically, so it's fine to use the last used one */ for (textureNo = mapped_stage + 1; textureNo < GL_LIMITS(textures); ++textureNo) { GL_EXTCALL(glClientActiveTextureARB(GL_TEXTURE0_ARB + textureNo)); glDisableClientState(GL_TEXTURE_COORD_ARRAY);
1
0
0
0
Francois Gouget : ole32/tests: Spelling fix.
by Alexandre Julliard
03 Apr '07
03 Apr '07
Module: wine Branch: master Commit: a8695bae8874d34fee292dd1609ebf2657893a48 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=a8695bae8874d34fee292dd16…
Author: Francois Gouget <fgouget(a)free.fr> Date: Mon Apr 2 19:17:47 2007 +0200 ole32/tests: Spelling fix. --- dlls/ole32/tests/moniker.c | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/dlls/ole32/tests/moniker.c b/dlls/ole32/tests/moniker.c index 0ff8ea1..48a5262 100644 --- a/dlls/ole32/tests/moniker.c +++ b/dlls/ole32/tests/moniker.c @@ -1596,7 +1596,7 @@ static void test_bind_context(void) IUnknown *param_obj; ULONG refs; static const WCHAR wszParamName[] = {'G','e','m','m','a',0}; - static const WCHAR wszNonExistant[] = {'N','o','n','E','x','i','s','t','a','n','t',0}; + static const WCHAR wszNonExistent[] = {'N','o','n','E','x','i','s','t','e','n','t',0}; hr = CreateBindCtx(0, NULL); ok(hr == E_INVALIDARG, "CreateBindCtx with NULL ppbc should have returned E_INVALIDARG instead of 0x%08x\n", hr); @@ -1647,12 +1647,12 @@ static void test_bind_context(void) ok_ole_success(hr, "IBindCtx_GetObjectParam"); IUnknown_Release(param_obj); - hr = IBindCtx_GetObjectParam(pBindCtx, (WCHAR *)wszNonExistant, ¶m_obj); - ok(hr == E_FAIL, "IBindCtx_GetObjectParam with non-existing key should have failed with E_FAIL instead of 0x%08x\n", hr); - ok(param_obj == NULL, "IBindCtx_GetObjectParam with non-existing key should have set output parameter to NULL instead of %p\n", param_obj); + hr = IBindCtx_GetObjectParam(pBindCtx, (WCHAR *)wszNonExistent, ¶m_obj); + ok(hr == E_FAIL, "IBindCtx_GetObjectParam with nonexistent key should have failed with E_FAIL instead of 0x%08x\n", hr); + ok(param_obj == NULL, "IBindCtx_GetObjectParam with nonexistent key should have set output parameter to NULL instead of %p\n", param_obj); - hr = IBindCtx_RevokeObjectParam(pBindCtx, (WCHAR *)wszNonExistant); - ok(hr == E_FAIL, "IBindCtx_RevokeObjectParam with non-existing key should have failed with E_FAIL instead of 0x%08x\n", hr); + hr = IBindCtx_RevokeObjectParam(pBindCtx, (WCHAR *)wszNonExistent); + ok(hr == E_FAIL, "IBindCtx_RevokeObjectParam with nonexistent key should have failed with E_FAIL instead of 0x%08x\n", hr); hr = IBindCtx_EnumObjectParam(pBindCtx, &pEnumString); ok(hr == E_NOTIMPL, "IBindCtx_EnumObjectParam should have returned E_NOTIMPL instead of 0x%08x\n", hr);
1
0
0
0
← Newer
1
...
59
60
61
62
63
64
65
...
69
Older →
Jump to page:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
Results per page:
10
25
50
100
200