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
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
July 2008
----- 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
3 participants
1114 discussions
Start a n
N
ew thread
Nikolay Sivov : gdiplus: GdipIsMatrixInvertible implementation with tests.
by Alexandre Julliard
08 Jul '08
08 Jul '08
Module: wine Branch: master Commit: d4554ad5d5f8748d57222e3f2a0b8be336d5f6a6 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=d4554ad5d5f8748d57222e3f2…
Author: Nikolay Sivov <bunglehead(a)gmail.com> Date: Tue Jul 8 01:32:30 2008 +0400 gdiplus: GdipIsMatrixInvertible implementation with tests. --- dlls/gdiplus/gdiplus.spec | 2 +- dlls/gdiplus/matrix.c | 14 ++++++++++++++ dlls/gdiplus/tests/matrix.c | 30 ++++++++++++++++++++++++++++++ include/gdiplusflat.h | 1 + 4 files changed, 46 insertions(+), 1 deletions(-) diff --git a/dlls/gdiplus/gdiplus.spec b/dlls/gdiplus/gdiplus.spec index 1906a88..34e094d 100644 --- a/dlls/gdiplus/gdiplus.spec +++ b/dlls/gdiplus/gdiplus.spec @@ -420,7 +420,7 @@ @ stdcall GdipIsInfiniteRegion(ptr ptr ptr) @ stdcall GdipIsMatrixEqual(ptr ptr ptr) @ stdcall GdipIsMatrixIdentity(ptr ptr) -@ stub GdipIsMatrixInvertible +@ stdcall GdipIsMatrixInvertible(ptr ptr) @ stub GdipIsOutlineVisiblePathPoint @ stdcall GdipIsOutlineVisiblePathPointI(ptr long long ptr ptr ptr) @ stub GdipIsStyleAvailable diff --git a/dlls/gdiplus/matrix.c b/dlls/gdiplus/matrix.c index eb83884..dcdc2bd 100644 --- a/dlls/gdiplus/matrix.c +++ b/dlls/gdiplus/matrix.c @@ -158,6 +158,20 @@ GpStatus WINGDIPAPI GdipGetMatrixElements(GDIPCONST GpMatrix *matrix, return Ok; } +GpStatus WINGDIPAPI GdipIsMatrixInvertible(GDIPCONST GpMatrix *matrix, BOOL *result) +{ + REAL det; + + if(!matrix || !result) + return InvalidParameter; + + det = matrix->matrix[0]*matrix->matrix[3] - matrix->matrix[1]*matrix->matrix[2]; + + *result = (fabs(det) >= 1e-5); + + return Ok; +} + GpStatus WINGDIPAPI GdipMultiplyMatrix(GpMatrix *matrix, GpMatrix* matrix2, GpMatrixOrder order) { diff --git a/dlls/gdiplus/tests/matrix.c b/dlls/gdiplus/tests/matrix.c index cc53488..7d5e798 100644 --- a/dlls/gdiplus/tests/matrix.c +++ b/dlls/gdiplus/tests/matrix.c @@ -89,6 +89,35 @@ static void test_transform(void) GdipDeleteMatrix(matrix); } +static void test_isinvertible(void) +{ + GpStatus status; + GpMatrix *matrix = NULL; + BOOL result; + + /* NULL arguments */ + status = GdipIsMatrixInvertible(NULL, &result); + expect(InvalidParameter, status); + status = GdipIsMatrixInvertible((GpMatrix*)0xdeadbeef, NULL); + expect(InvalidParameter, status); + status = GdipIsMatrixInvertible(NULL, NULL); + expect(InvalidParameter, status); + + /* invertible */ + GdipCreateMatrix2(1.0, 1.2, 2.3, -1.0, 2.0, 3.0, &matrix); + status = GdipIsMatrixInvertible(matrix, &result); + expect(Ok, status); + expect(TRUE, result); + GdipDeleteMatrix(matrix); + + /* noninvertible */ + GdipCreateMatrix2(2.0, -1.0, 6.0, -3.0, 2.2, 3.0, &matrix); + status = GdipIsMatrixInvertible(matrix, &result); + expect(Ok, status); + expect(FALSE, result); + GdipDeleteMatrix(matrix); +} + START_TEST(matrix) { struct GdiplusStartupInput gdiplusStartupInput; @@ -103,6 +132,7 @@ START_TEST(matrix) test_constructor_destructor(); test_transform(); + test_isinvertible(); GdiplusShutdown(gdiplusToken); } diff --git a/include/gdiplusflat.h b/include/gdiplusflat.h index 09bcafe..92cb286 100644 --- a/include/gdiplusflat.h +++ b/include/gdiplusflat.h @@ -264,6 +264,7 @@ GpStatus WINGDIPAPI GdipCreateMatrix3(GDIPCONST GpRectF *,GDIPCONST GpPointF*,Gp GpStatus WINGDIPAPI GdipCreateMatrix3I(GDIPCONST GpRect*,GDIPCONST GpPoint*,GpMatrix**); GpStatus WINGDIPAPI GdipIsMatrixEqual(GDIPCONST GpMatrix*, GDIPCONST GpMatrix*, BOOL*); GpStatus WINGDIPAPI GdipIsMatrixIdentity(GDIPCONST GpMatrix*, BOOL*); +GpStatus WINGDIPAPI GdipIsMatrixInvertible(GDIPCONST GpMatrix*, BOOL*); GpStatus WINGDIPAPI GdipDeleteMatrix(GpMatrix*); GpStatus WINGDIPAPI GdipGetMatrixElements(GDIPCONST GpMatrix*,REAL*);
1
0
0
0
Nikolay Sivov : gdiplus: GdipGetLineWrapMode implementation.
by Alexandre Julliard
08 Jul '08
08 Jul '08
Module: wine Branch: master Commit: 9fbec615ae4e78dd3ed3b185dba3097be0cba056 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=9fbec615ae4e78dd3ed3b185d…
Author: Nikolay Sivov <bunglehead(a)gmail.com> Date: Tue Jul 8 01:32:19 2008 +0400 gdiplus: GdipGetLineWrapMode implementation. --- dlls/gdiplus/brush.c | 10 ++++++++++ dlls/gdiplus/gdiplus.spec | 2 +- include/gdiplusflat.h | 1 + 3 files changed, 12 insertions(+), 1 deletions(-) diff --git a/dlls/gdiplus/brush.c b/dlls/gdiplus/brush.c index 2d15e01..d128f20 100644 --- a/dlls/gdiplus/brush.c +++ b/dlls/gdiplus/brush.c @@ -482,6 +482,16 @@ GpStatus WINGDIPAPI GdipGetLineGammaCorrection(GpLineGradient *line, return Ok; } +GpStatus WINGDIPAPI GdipGetLineWrapMode(GpLineGradient *brush, GpWrapMode *wrapmode) +{ + if(!brush || !wrapmode) + return InvalidParameter; + + *wrapmode = brush->wrap; + + return Ok; +} + GpStatus WINGDIPAPI GdipGetPathGradientCenterPoint(GpPathGradient *grad, GpPointF *point) { diff --git a/dlls/gdiplus/gdiplus.spec b/dlls/gdiplus/gdiplus.spec index 861b68d..1906a88 100644 --- a/dlls/gdiplus/gdiplus.spec +++ b/dlls/gdiplus/gdiplus.spec @@ -310,7 +310,7 @@ @ stdcall GdipGetLineRectI(ptr ptr) @ stdcall GdipGetLineSpacing(ptr long ptr) @ stub GdipGetLineTransform -@ stub GdipGetLineWrapMode +@ stdcall GdipGetLineWrapMode(ptr ptr) @ stub GdipGetLogFontA @ stdcall GdipGetLogFontW(ptr ptr ptr) @ stdcall GdipGetMatrixElements(ptr ptr) diff --git a/include/gdiplusflat.h b/include/gdiplusflat.h index 3c8d587..09bcafe 100644 --- a/include/gdiplusflat.h +++ b/include/gdiplusflat.h @@ -179,6 +179,7 @@ GpStatus WINGDIPAPI GdipCreateTextureIAI(GpImage*,GDIPCONST GpImageAttributes*, GpStatus WINGDIPAPI GdipDeleteBrush(GpBrush*); GpStatus WINGDIPAPI GdipGetBrushType(GpBrush*,GpBrushType*); GpStatus WINGDIPAPI GdipGetLineGammaCorrection(GpLineGradient*,BOOL*); +GpStatus WINGDIPAPI GdipGetLineWrapMode(GpLineGradient*,GpWrapMode*); GpStatus WINGDIPAPI GdipGetLineRect(GpLineGradient*,GpRectF*); GpStatus WINGDIPAPI GdipGetLineRectI(GpLineGradient*,GpRect*); GpStatus WINGDIPAPI GdipGetLineColors(GpLineGradient*,ARGB*);
1
0
0
0
Alexandre Julliard : include: Remove duplicate definition in winhttp.h.
by Alexandre Julliard
08 Jul '08
08 Jul '08
Module: wine Branch: master Commit: f1fd5667f1ad65a04bf51ca083039b30d2342eaf URL:
http://source.winehq.org/git/wine.git/?a=commit;h=f1fd5667f1ad65a04bf51ca08…
Author: Alexandre Julliard <julliard(a)winehq.org> Date: Tue Jul 8 11:16:17 2008 +0200 include: Remove duplicate definition in winhttp.h. --- include/winhttp.h | 5 +---- 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/include/winhttp.h b/include/winhttp.h index c866df2..8a6bc17 100644 --- a/include/winhttp.h +++ b/include/winhttp.h @@ -58,10 +58,6 @@ typedef int INTERNET_SCHEME, *LPINTERNET_SCHEME; #define WINHTTP_NO_REFERER NULL #define WINHTTP_DEFAULT_ACCEPT_TYPES NULL -#define WINHTTP_ERROR_BASE 12000 - -#define ERROR_WINHTTP_AUTODETECTION_FAILED (WINHTTP_ERROR_BASE + 180) - /* flags for WinHttp{Set/Query}Options */ #define WINHTTP_FIRST_OPTION WINHTTP_OPTION_CALLBACK #define WINHTTP_OPTION_CALLBACK 1 @@ -162,6 +158,7 @@ typedef int INTERNET_SCHEME, *LPINTERNET_SCHEME; #define ERROR_WINHTTP_NOT_INITIALIZED (WINHTTP_ERROR_BASE + 172) #define ERROR_WINHTTP_SECURE_FAILURE (WINHTTP_ERROR_BASE + 175) #define ERROR_WINHTTP_AUTO_PROXY_SERVICE_ERROR (WINHTTP_ERROR_BASE + 178) +#define ERROR_WINHTTP_AUTODETECTION_FAILED (WINHTTP_ERROR_BASE + 180) typedef struct {
1
0
0
0
Alexandre Julliard : msvcrt/tests: Fix register constraints on thiscall wrappers.
by Alexandre Julliard
08 Jul '08
08 Jul '08
Module: wine Branch: master Commit: c2545cd43e578ea2f19cad77369d3e7d231c0e30 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=c2545cd43e578ea2f19cad773…
Author: Alexandre Julliard <julliard(a)winehq.org> Date: Tue Jul 8 11:16:01 2008 +0200 msvcrt/tests: Fix register constraints on thiscall wrappers. --- dlls/msvcrt/tests/cpp.c | 20 ++++++++++---------- 1 files changed, 10 insertions(+), 10 deletions(-) diff --git a/dlls/msvcrt/tests/cpp.c b/dlls/msvcrt/tests/cpp.c index f642bcd..c2fdf36 100644 --- a/dlls/msvcrt/tests/cpp.c +++ b/dlls/msvcrt/tests/cpp.c @@ -157,20 +157,20 @@ static inline void* do_call_func2(void *func, void *_this, const void* arg) #else static void* do_call_func1(void *func, void *_this) { - void* ret; - __asm__ __volatile__ ("call *%1" - : "=a" (ret) - : "g" (func), "c" (_this) - : "memory" ); + void *ret, *dummy; + __asm__ __volatile__ ("call *%2" + : "=a" (ret), "=c" (dummy) + : "g" (func), "1" (_this) + : "edx", "memory" ); return ret; } static void* do_call_func2(void *func, void *_this, const void* arg) { - void* ret; - __asm__ __volatile__ ("pushl %2\n\tcall *%1" - : "=a" (ret) - : "r" (func), "g" (arg), "c" (_this) - : "memory" ); + void *ret, *dummy; + __asm__ __volatile__ ("pushl %3\n\tcall *%2" + : "=a" (ret), "=c" (dummy) + : "r" (func), "r" (arg), "1" (_this) + : "edx", "memory" ); return ret; } #endif
1
0
0
0
James Hawkins : mlang: Encode all the way to the NULL terminator.
by Alexandre Julliard
08 Jul '08
08 Jul '08
Module: wine Branch: master Commit: 8b2bfbb778a6c8731b98c7c717e4bd82d52e4a56 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=8b2bfbb778a6c8731b98c7c71…
Author: James Hawkins <jhawkins(a)codeweavers.com> Date: Tue Jul 8 00:04:47 2008 -0500 mlang: Encode all the way to the NULL terminator. --- dlls/mlang/tests/mlang.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/mlang/tests/mlang.c b/dlls/mlang/tests/mlang.c index 59774a1..81377ed 100644 --- a/dlls/mlang/tests/mlang.c +++ b/dlls/mlang/tests/mlang.c @@ -269,7 +269,7 @@ static BOOL check_convertible(IMultiLanguage2 *iML2, UINT from, UINT to) static WCHAR strW[] = {'a','b','c',0}; - srcsz = -1; + srcsz = lstrlenW(strW) + 1; destsz = MAX_PATH; hr = IMultiLanguage2_ConvertStringFromUnicode(iML2, NULL, from, strW, &srcsz, convert, &destsz);
1
0
0
0
James Hawkins : mlang: Add tests for ConvertINetMultiByteToUnicode.
by Alexandre Julliard
08 Jul '08
08 Jul '08
Module: wine Branch: master Commit: 6e313864e8ece443b3c70ac96fd851150f8390a7 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=6e313864e8ece443b3c70ac96…
Author: James Hawkins <jhawkins(a)codeweavers.com> Date: Tue Jul 8 00:02:59 2008 -0500 mlang: Add tests for ConvertINetMultiByteToUnicode. --- dlls/mlang/tests/mlang.c | 384 +++++++++++++++++++++++++++++++++++++++++---- 1 files changed, 349 insertions(+), 35 deletions(-) Diff:
http://source.winehq.org/git/wine.git/?a=commitdiff;h=6e313864e8ece443b3c70…
1
0
0
0
James Hawkins : mlang: Reimplement ConvertINetMultiByteToUnicode.
by Alexandre Julliard
08 Jul '08
08 Jul '08
Module: wine Branch: master Commit: 4e3ce9f887d01bdd46f77a0ec6eee8ad7dbc8ad1 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=4e3ce9f887d01bdd46f77a0ec…
Author: James Hawkins <jhawkins(a)codeweavers.com> Date: Tue Jul 8 00:01:21 2008 -0500 mlang: Reimplement ConvertINetMultiByteToUnicode. --- dlls/mlang/mlang.c | 57 +++++++++++++++++++++++++++++++-------------------- 1 files changed, 35 insertions(+), 22 deletions(-) diff --git a/dlls/mlang/mlang.c b/dlls/mlang/mlang.c index 2f73f1f..14f881e 100644 --- a/dlls/mlang/mlang.c +++ b/dlls/mlang/mlang.c @@ -546,50 +546,63 @@ HRESULT WINAPI ConvertINetUnicodeToMultiByte( LPSTR pDstStr, LPINT pcDstSize) { - + INT destsz, size; INT src_len = -1; TRACE("%p %d %s %p %p %p\n", pdwMode, dwEncoding, debugstr_w(pSrcStr), pcSrcSize, pDstStr, pcDstSize); if (!pcDstSize) - return E_FAIL; + return S_OK; if (!pcSrcSize) pcSrcSize = &src_len; - if (!*pcSrcSize) - { - *pcDstSize = 0; + destsz = (pDstStr) ? *pcDstSize : 0; + *pcDstSize = 0; + + if (!pSrcStr || !*pcSrcSize) return S_OK; - } - switch (dwEncoding) + if (*pcSrcSize == -1) + *pcSrcSize = lstrlenW(pSrcStr); + + if (dwEncoding == CP_UNICODE) { - case CP_UNICODE: if (*pcSrcSize == -1) *pcSrcSize = lstrlenW(pSrcStr); - *pcDstSize = min(*pcSrcSize * sizeof(WCHAR), *pcDstSize); + + size = min(*pcSrcSize, destsz) * sizeof(WCHAR); if (pDstStr) - memmove(pDstStr, pSrcStr, *pcDstSize); - break; + memmove(pDstStr, pSrcStr, size); - default: - if (*pcSrcSize == -1) - *pcSrcSize = lstrlenW(pSrcStr); + if (size >= destsz) + goto fail; + } + else + { + size = WideCharToMultiByte(dwEncoding, 0, pSrcStr, *pcSrcSize, + NULL, 0, NULL, NULL); + if (!size) + goto fail; if (pDstStr) - *pcDstSize = WideCharToMultiByte(dwEncoding, 0, pSrcStr, *pcSrcSize, pDstStr, *pcDstSize, NULL, NULL); - else - *pcDstSize = WideCharToMultiByte(dwEncoding, 0, pSrcStr, *pcSrcSize, NULL, 0, NULL, NULL); - break; + { + size = min(size, destsz); + size = WideCharToMultiByte(dwEncoding, 0, pSrcStr, *pcSrcSize, + pDstStr, destsz, NULL, NULL); + if (!size) + goto fail; + } } - - if (!*pcDstSize) - return E_FAIL; - + *pcDstSize = size; return S_OK; + +fail: + *pcSrcSize = 0; + *pcDstSize = 0; + return E_FAIL; } HRESULT WINAPI ConvertINetString(
1
0
0
0
James Hawkins : fusion: Implement GetCachePath.
by Alexandre Julliard
08 Jul '08
08 Jul '08
Module: wine Branch: master Commit: e7fe63df60ae01acd0c73915e7d9168b8d604cff URL:
http://source.winehq.org/git/wine.git/?a=commit;h=e7fe63df60ae01acd0c73915e…
Author: James Hawkins <jhawkins(a)codeweavers.com> Date: Mon Jul 7 23:57:16 2008 -0500 fusion: Implement GetCachePath. --- dlls/fusion/fusion.c | 91 +++++++++++++++++++- dlls/fusion/tests/Makefile.in | 5 +- dlls/fusion/tests/asmcache.c | 5 +- dlls/fusion/tests/fusion.c | 191 +++++++++++++++++++++++++++++++++++++++++ 4 files changed, 284 insertions(+), 8 deletions(-) Diff:
http://source.winehq.org/git/wine.git/?a=commitdiff;h=e7fe63df60ae01acd0c73…
1
0
0
0
James Hawkins : oleaut32: Fix a few failing tests in win9x.
by Alexandre Julliard
08 Jul '08
08 Jul '08
Module: wine Branch: master Commit: 698fac49839ad93cc95aa87cd3f089d4577efd16 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=698fac49839ad93cc95aa87cd…
Author: James Hawkins <jhawkins(a)codeweavers.com> Date: Tue Jul 8 00:00:01 2008 -0500 oleaut32: Fix a few failing tests in win9x. --- dlls/oleaut32/tests/vartest.c | 13 ++++++++++--- 1 files changed, 10 insertions(+), 3 deletions(-) diff --git a/dlls/oleaut32/tests/vartest.c b/dlls/oleaut32/tests/vartest.c index c3842bf..21eeb3f 100644 --- a/dlls/oleaut32/tests/vartest.c +++ b/dlls/oleaut32/tests/vartest.c @@ -2085,7 +2085,12 @@ static void test_VarSub(void) leftvt == VT_RECORD || rightvt == VT_RECORD) { if (leftvt == VT_RECORD && rightvt == VT_I8) - expectedhres = DISP_E_TYPEMISMATCH; + { + if (HAVE_OLEAUT32_I8) + expectedhres = DISP_E_TYPEMISMATCH; + else + expectedhres = DISP_E_BADVARTYPE; + } else if (leftvt < VT_UI1 && rightvt == VT_RECORD) expectedhres = DISP_E_TYPEMISMATCH; else if (leftvt >= VT_UI1 && rightvt == VT_RECORD) @@ -5412,7 +5417,8 @@ static void test_VarCat(void) hres = VarCat(&left,&right,&result); ok(hres == S_OK, "VarCat failed with error 0x%08x\n", hres); hres = VarCmp(&result,&expected,lcid,0); - ok(hres == VARCMP_EQ, "Expected VARCMP_EQ, got %08x\n", hres); + ok(hres == VARCMP_EQ || + broken(hres == VARCMP_GT), "Expected VARCMP_EQ, got %08x\n", hres); VariantClear(&left); VariantClear(&right); @@ -5428,7 +5434,8 @@ static void test_VarCat(void) hres = VarCat(&left,&right,&result); ok(hres == S_OK, "VarCat failed with error 0x%08x\n", hres); hres = VarCmp(&result,&expected,lcid,0); - ok(hres == VARCMP_EQ, "Expected VARCMP_EQ, got %08x\n", hres); + ok(hres == VARCMP_EQ || + broken(hres == VARCMP_GT), "Expected VARCMP_EQ, got %08x\n", hres); VariantClear(&left); VariantClear(&right);
1
0
0
0
James Hawkins : msi: Consolidate and add more SourceDir tests.
by Alexandre Julliard
08 Jul '08
08 Jul '08
Module: wine Branch: master Commit: e59b3fa8645a41e19cb0aca523cda12e7d0c9beb URL:
http://source.winehq.org/git/wine.git/?a=commit;h=e59b3fa8645a41e19cb0aca52…
Author: James Hawkins <jhawkins(a)codeweavers.com> Date: Tue Jul 8 00:09:45 2008 -0500 msi: Consolidate and add more SourceDir tests. --- dlls/msi/tests/package.c | 498 +++++++++++++++++++++++++++++++--------------- 1 files changed, 334 insertions(+), 164 deletions(-) Diff:
http://source.winehq.org/git/wine.git/?a=commitdiff;h=e59b3fa8645a41e19cb0a…
1
0
0
0
← Newer
1
...
80
81
82
83
84
85
86
...
112
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
Results per page:
10
25
50
100
200