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
September 2008
----- 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
3 participants
1215 discussions
Start a n
N
ew thread
James Hawkins : comctl32: Fix a failing test in win9x.
by Alexandre Julliard
03 Sep '08
03 Sep '08
Module: wine Branch: master Commit: 99a5afa616eb6a01b0c91e8dd8fd9326b4ea1863 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=99a5afa616eb6a01b0c91e8dd…
Author: James Hawkins <jhawkins(a)codeweavers.com> Date: Tue Sep 2 22:43:39 2008 -0500 comctl32: Fix a failing test in win9x. --- dlls/comctl32/tests/listview.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/dlls/comctl32/tests/listview.c b/dlls/comctl32/tests/listview.c index 2e00e67..805a48a 100644 --- a/dlls/comctl32/tests/listview.c +++ b/dlls/comctl32/tests/listview.c @@ -735,7 +735,9 @@ static void test_columns(void) /* Check its width */ rc = ListView_GetColumnWidth(hwnd, 0); - ok(rc==10, "Inserting column with no mask failed to set width to 10 with %d\n", rc); + ok(rc==10 || + broken(rc==0), /* win9x */ + "Inserting column with no mask failed to set width to 10 with %d\n", rc); DestroyWindow(hwnd); }
1
0
0
0
James Hawkins : comctl32: Fix a failing test in win98.
by Alexandre Julliard
03 Sep '08
03 Sep '08
Module: wine Branch: master Commit: a9086abac69dce8c84cc2251e601627f8f5e2e0e URL:
http://source.winehq.org/git/wine.git/?a=commit;h=a9086abac69dce8c84cc2251e…
Author: James Hawkins <jhawkins(a)codeweavers.com> Date: Tue Sep 2 22:43:00 2008 -0500 comctl32: Fix a failing test in win98. --- dlls/comctl32/tests/comboex.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/dlls/comctl32/tests/comboex.c b/dlls/comctl32/tests/comboex.c index d0e0bb6..7add84b 100644 --- a/dlls/comctl32/tests/comboex.c +++ b/dlls/comctl32/tests/comboex.c @@ -271,7 +271,8 @@ static void test_WM_LBUTTONDOWN(void) result = SendMessage(hList, WM_LBUTTONUP, 0, MAKELPARAM(x, y)); ok(!result, "WM_LBUTTONUP was not processed. LastError=%d\n", GetLastError()); - todo_wine ok(GetFocus() == hEdit, + todo_wine ok(GetFocus() == hEdit || + broken(GetFocus() == hCombo), /* win98 */ "Focus not on ComboBoxEx's Edit Control, instead on %p\n", GetFocus());
1
0
0
0
James Hawkins : schannel: Fix a failing test in Vista.
by Alexandre Julliard
03 Sep '08
03 Sep '08
Module: wine Branch: master Commit: 4ad88d25af72de6fa3f8edd9fb1ea1a599112b9c URL:
http://source.winehq.org/git/wine.git/?a=commit;h=4ad88d25af72de6fa3f8edd9f…
Author: James Hawkins <jhawkins(a)codeweavers.com> Date: Tue Sep 2 22:42:21 2008 -0500 schannel: Fix a failing test in Vista. --- dlls/schannel/tests/main.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/dlls/schannel/tests/main.c b/dlls/schannel/tests/main.c index 814b60a..5575cc1 100644 --- a/dlls/schannel/tests/main.c +++ b/dlls/schannel/tests/main.c @@ -148,7 +148,9 @@ static void testGetInfo(void) PackageInfo.fCapabilities); ok(PackageInfo.wVersion == 1, "wVersion: %d\n", PackageInfo.wVersion); ok(PackageInfo.wRPCID == 14, "wRPCID: %d\n", PackageInfo.wRPCID); - ok(PackageInfo.cbMaxToken == 0x4000, "cbMaxToken: 0x%lx\n", + ok(PackageInfo.cbMaxToken == 0x4000 || + PackageInfo.cbMaxToken == 0x6000, /* Vista */ + "cbMaxToken: 0x%lx\n", PackageInfo.cbMaxToken); /* Second package: SChannel */
1
0
0
0
James Hawkins : rpcrt4: Fix a failing test in Vista.
by Alexandre Julliard
03 Sep '08
03 Sep '08
Module: wine Branch: master Commit: bb6a8f36c3a447a885f972dd6b8fd4d860f6d7b8 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=bb6a8f36c3a447a885f972dd6…
Author: James Hawkins <jhawkins(a)codeweavers.com> Date: Tue Sep 2 22:41:36 2008 -0500 rpcrt4: Fix a failing test in Vista. --- dlls/rpcrt4/tests/rpc.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/dlls/rpcrt4/tests/rpc.c b/dlls/rpcrt4/tests/rpc.c index bcd6a65..9f2684e 100644 --- a/dlls/rpcrt4/tests/rpc.c +++ b/dlls/rpcrt4/tests/rpc.c @@ -328,7 +328,9 @@ static void test_towers(void) BOOL same; ret = TowerConstruct(&mapi_if_id, &ndr_syntax, "ncacn_ip_tcp", "135", "10.0.0.1", &tower); - ok(ret == RPC_S_OK, "TowerConstruct failed with error %ld\n", ret); + ok(ret == RPC_S_OK || + broken(ret == RPC_S_INVALID_RPC_PROTSEQ), /* Vista */ + "TowerConstruct failed with error %ld\n", ret); if (ret == RPC_S_INVALID_RPC_PROTSEQ) { /* Windows Vista fails with this error and crashes if we continue */
1
0
0
0
Nikolay Sivov : gdiplus: Add few TRACE(..) for Matrix.
by Alexandre Julliard
03 Sep '08
03 Sep '08
Module: wine Branch: master Commit: 38196119f36295717edc42094d35a1b666277209 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=38196119f36295717edc42094…
Author: Nikolay Sivov <bunglehead(a)gmail.com> Date: Wed Sep 3 00:49:54 2008 +0400 gdiplus: Add few TRACE(..) for Matrix. --- dlls/gdiplus/matrix.c | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 43 insertions(+), 0 deletions(-) diff --git a/dlls/gdiplus/matrix.c b/dlls/gdiplus/matrix.c index 008dcae..d2e1511 100644 --- a/dlls/gdiplus/matrix.c +++ b/dlls/gdiplus/matrix.c @@ -61,6 +61,8 @@ static REAL matrix_det(GDIPCONST GpMatrix *matrix) GpStatus WINGDIPAPI GdipCreateMatrix2(REAL m11, REAL m12, REAL m21, REAL m22, REAL dx, REAL dy, GpMatrix **matrix) { + TRACE("(%.2f, %.2f, %.2f, %.2f, %.2f, %.2f, %p)\n", m11, m12, m21, m22, dx, dy, matrix); + if(!matrix) return InvalidParameter; @@ -83,6 +85,8 @@ GpStatus WINGDIPAPI GdipCreateMatrix2(REAL m11, REAL m12, REAL m21, REAL m22, GpStatus WINGDIPAPI GdipCreateMatrix3(GDIPCONST GpRectF *rect, GDIPCONST GpPointF *pt, GpMatrix **matrix) { + TRACE("(%p, %p, %p)\n", rect, pt, matrix); + if(!matrix) return InvalidParameter; @@ -103,6 +107,8 @@ GpStatus WINGDIPAPI GdipCreateMatrix3I(GDIPCONST GpRect *rect, GDIPCONST GpPoint GpRectF rectF; GpPointF ptF; + TRACE("(%p, %p, %p)\n", rect, pt, matrix); + rectF.X = (REAL)rect->X; rectF.Y = (REAL)rect->Y; rectF.Width = (REAL)rect->Width; @@ -116,6 +122,8 @@ GpStatus WINGDIPAPI GdipCreateMatrix3I(GDIPCONST GpRect *rect, GDIPCONST GpPoint GpStatus WINGDIPAPI GdipCloneMatrix(GpMatrix *matrix, GpMatrix **clone) { + TRACE("(%p, %p)\n", matrix, clone); + if(!matrix || !clone) return InvalidParameter; @@ -129,6 +137,8 @@ GpStatus WINGDIPAPI GdipCloneMatrix(GpMatrix *matrix, GpMatrix **clone) GpStatus WINGDIPAPI GdipCreateMatrix(GpMatrix **matrix) { + TRACE("(%p)\n", matrix); + if(!matrix) return InvalidParameter; @@ -147,6 +157,8 @@ GpStatus WINGDIPAPI GdipCreateMatrix(GpMatrix **matrix) GpStatus WINGDIPAPI GdipDeleteMatrix(GpMatrix *matrix) { + TRACE("(%p)\n", matrix); + if(!matrix) return InvalidParameter; @@ -158,6 +170,8 @@ GpStatus WINGDIPAPI GdipDeleteMatrix(GpMatrix *matrix) GpStatus WINGDIPAPI GdipGetMatrixElements(GDIPCONST GpMatrix *matrix, REAL *out) { + TRACE("(%p, %p)\n", matrix, out); + if(!matrix || !out) return InvalidParameter; @@ -172,6 +186,8 @@ GpStatus WINGDIPAPI GdipInvertMatrix(GpMatrix *matrix) REAL det; BOOL invertible; + TRACE("(%p)\n", matrix); + if(!matrix) return InvalidParameter; @@ -195,6 +211,8 @@ GpStatus WINGDIPAPI GdipInvertMatrix(GpMatrix *matrix) GpStatus WINGDIPAPI GdipIsMatrixInvertible(GDIPCONST GpMatrix *matrix, BOOL *result) { + TRACE("(%p, %p)\n", matrix, result); + if(!matrix || !result) return InvalidParameter; @@ -206,6 +224,8 @@ GpStatus WINGDIPAPI GdipIsMatrixInvertible(GDIPCONST GpMatrix *matrix, BOOL *res GpStatus WINGDIPAPI GdipMultiplyMatrix(GpMatrix *matrix, GpMatrix* matrix2, GpMatrixOrder order) { + TRACE("(%p, %p, %d)\n", matrix, matrix2, order); + if(!matrix || !matrix2) return InvalidParameter; @@ -222,6 +242,8 @@ GpStatus WINGDIPAPI GdipRotateMatrix(GpMatrix *matrix, REAL angle, { REAL cos_theta, sin_theta, rotate[6]; + TRACE("(%p, %.2f, %d)\n", matrix, angle, order); + if(!matrix) return InvalidParameter; @@ -249,6 +271,8 @@ GpStatus WINGDIPAPI GdipScaleMatrix(GpMatrix *matrix, REAL scaleX, REAL scaleY, { REAL scale[6]; + TRACE("(%p, %.2f, %.2f, %d)\n", matrix, scaleX, scaleY, order); + if(!matrix) return InvalidParameter; @@ -270,6 +294,9 @@ GpStatus WINGDIPAPI GdipScaleMatrix(GpMatrix *matrix, REAL scaleX, REAL scaleY, GpStatus WINGDIPAPI GdipSetMatrixElements(GpMatrix *matrix, REAL m11, REAL m12, REAL m21, REAL m22, REAL dx, REAL dy) { + TRACE("(%p, %.2f, %.2f, %.2f, %.2f, %.2f, %.2f)\n", matrix, m11, m12, + m21, m22, dx, dy); + if(!matrix) return InvalidParameter; @@ -288,6 +315,8 @@ GpStatus WINGDIPAPI GdipShearMatrix(GpMatrix *matrix, REAL shearX, REAL shearY, { REAL shear[6]; + TRACE("(%p, %.2f, %.2f, %d)\n", matrix, shearX, shearY, order); + if(!matrix) return InvalidParameter; @@ -313,6 +342,8 @@ GpStatus WINGDIPAPI GdipTransformMatrixPoints(GpMatrix *matrix, GpPointF *pts, REAL x, y; INT i; + TRACE("(%p, %p, %d)\n", matrix, pts, count); + if(!matrix || !pts || count <= 0) return InvalidParameter; @@ -334,6 +365,8 @@ GpStatus WINGDIPAPI GdipTransformMatrixPointsI(GpMatrix *matrix, GpPoint *pts, I GpStatus ret; INT i; + TRACE("(%p, %p, %d)\n", matrix, pts, count); + if(count <= 0) return InvalidParameter; @@ -363,6 +396,8 @@ GpStatus WINGDIPAPI GdipTranslateMatrix(GpMatrix *matrix, REAL offsetX, { REAL translate[6]; + TRACE("(%p, %.2f, %.2f, %d)\n", matrix, offsetX, offsetY, order); + if(!matrix) return InvalidParameter; @@ -386,6 +421,8 @@ GpStatus WINGDIPAPI GdipVectorTransformMatrixPoints(GpMatrix *matrix, GpPointF * REAL x, y; INT i; + TRACE("(%p, %p, %d)\n", matrix, pts, count); + if(!matrix || !pts || count <= 0) return InvalidParameter; @@ -407,6 +444,8 @@ GpStatus WINGDIPAPI GdipVectorTransformMatrixPointsI(GpMatrix *matrix, GpPoint * GpStatus ret; INT i; + TRACE("(%p, %p, %d)\n", matrix, pts, count); + if(count <= 0) return InvalidParameter; @@ -434,6 +473,8 @@ GpStatus WINGDIPAPI GdipVectorTransformMatrixPointsI(GpMatrix *matrix, GpPoint * GpStatus WINGDIPAPI GdipIsMatrixEqual(GDIPCONST GpMatrix *matrix, GDIPCONST GpMatrix *matrix2, BOOL *result) { + TRACE("(%p, %p, %p)\n", matrix, matrix2, result); + if(!matrix || !matrix2 || !result) return InvalidParameter; /* based on single array member of GpMatrix */ @@ -448,6 +489,8 @@ GpStatus WINGDIPAPI GdipIsMatrixIdentity(GDIPCONST GpMatrix *matrix, BOOL *resul GpStatus ret; BOOL isIdentity; + TRACE("(%p, %p)\n", matrix, result); + if(!matrix || !result) return InvalidParameter;
1
0
0
0
Nikolay Sivov : gdiplus: Add few TRACE(..) for ImageAttributes.
by Alexandre Julliard
03 Sep '08
03 Sep '08
Module: wine Branch: master Commit: 088ed7a52d2dc08baaf481dbf45ba126e1ae4ba7 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=088ed7a52d2dc08baaf481dbf…
Author: Nikolay Sivov <bunglehead(a)gmail.com> Date: Wed Sep 3 00:38:01 2008 +0400 gdiplus: Add few TRACE(..) for ImageAttributes. --- dlls/gdiplus/imageattributes.c | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/dlls/gdiplus/imageattributes.c b/dlls/gdiplus/imageattributes.c index dcee68b..55bff18 100644 --- a/dlls/gdiplus/imageattributes.c +++ b/dlls/gdiplus/imageattributes.c @@ -30,6 +30,8 @@ WINE_DEFAULT_DEBUG_CHANNEL(gdiplus); GpStatus WINGDIPAPI GdipCloneImageAttributes(GDIPCONST GpImageAttributes *imageattr, GpImageAttributes **cloneImageattr) { + TRACE("(%p, %p)\n", imageattr, cloneImageattr); + if(!imageattr || !cloneImageattr) return InvalidParameter; @@ -40,6 +42,8 @@ GpStatus WINGDIPAPI GdipCloneImageAttributes(GDIPCONST GpImageAttributes *imagea GpStatus WINGDIPAPI GdipCreateImageAttributes(GpImageAttributes **imageattr) { + TRACE("(%p)\n", imageattr); + if(!imageattr) return InvalidParameter; @@ -51,6 +55,8 @@ GpStatus WINGDIPAPI GdipCreateImageAttributes(GpImageAttributes **imageattr) GpStatus WINGDIPAPI GdipDisposeImageAttributes(GpImageAttributes *imageattr) { + TRACE("(%p)\n", imageattr); + if(!imageattr) return InvalidParameter;
1
0
0
0
Nikolay Sivov : gdiplus: Add TRACE(..) for font calls.
by Alexandre Julliard
03 Sep '08
03 Sep '08
Module: wine Branch: master Commit: c9d4046bcf95c7b1700a92af1f6b0860ebe83021 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=c9d4046bcf95c7b1700a92af1…
Author: Nikolay Sivov <bunglehead(a)gmail.com> Date: Wed Sep 3 00:33:58 2008 +0400 gdiplus: Add TRACE(..) for font calls. --- dlls/gdiplus/font.c | 22 ++++++++++++++++++++++ 1 files changed, 22 insertions(+), 0 deletions(-) diff --git a/dlls/gdiplus/font.c b/dlls/gdiplus/font.c index 3a9d36d..210ebff 100644 --- a/dlls/gdiplus/font.c +++ b/dlls/gdiplus/font.c @@ -166,6 +166,8 @@ GpStatus WINGDIPAPI GdipCreateFontFromLogfontW(HDC hdc, HFONT hfont, oldfont; TEXTMETRICW textmet; + TRACE("(%p, %p, %p)\n", hdc, logfont, font); + if(!logfont || !font) return InvalidParameter; @@ -206,6 +208,8 @@ GpStatus WINGDIPAPI GdipCreateFontFromLogfontA(HDC hdc, { LOGFONTW lfw; + TRACE("(%p, %p, %p)\n", hdc, lfa, font); + if(!lfa || !font) return InvalidParameter; @@ -224,6 +228,8 @@ GpStatus WINGDIPAPI GdipCreateFontFromLogfontA(HDC hdc, */ GpStatus WINGDIPAPI GdipDeleteFont(GpFont* font) { + TRACE("(%p)\n", font); + if(!font) return InvalidParameter; @@ -240,6 +246,8 @@ GpStatus WINGDIPAPI GdipCreateFontFromDC(HDC hdc, GpFont **font) HFONT hfont; LOGFONTW lfw; + TRACE("(%p, %p)\n", hdc, font); + if(!font) return InvalidParameter; @@ -294,6 +302,8 @@ GpStatus WINGDIPAPI GdipGetFamily(GpFont *font, GpFontFamily **family) */ GpStatus WINGDIPAPI GdipGetFontSize(GpFont *font, REAL *size) { + TRACE("(%p, %p)\n", font, size); + if (!(font && size)) return InvalidParameter; *size = font->emSize; @@ -348,6 +358,8 @@ GpStatus WINGDIPAPI GdipGetFontStyle(GpFont *font, INT *style) */ GpStatus WINGDIPAPI GdipGetFontUnit(GpFont *font, Unit *unit) { + TRACE("(%p, %p)\n", font, unit); + if (!(font && unit)) return InvalidParameter; *unit = font->unit; @@ -361,6 +373,8 @@ GpStatus WINGDIPAPI GdipGetFontUnit(GpFont *font, Unit *unit) GpStatus WINGDIPAPI GdipGetLogFontW(GpFont *font, GpGraphics *graphics, LOGFONTW *lfw) { + TRACE("(%p, %p, %p)\n", font, graphics, lfw); + /* FIXME: use graphics */ if(!font || !graphics || !lfw) return InvalidParameter; @@ -375,6 +389,8 @@ GpStatus WINGDIPAPI GdipGetLogFontW(GpFont *font, GpGraphics *graphics, */ GpStatus WINGDIPAPI GdipCloneFont(GpFont *font, GpFont **cloneFont) { + TRACE("(%p, %p)\n", font, cloneFont); + if(!font || !cloneFont) return InvalidParameter; @@ -624,6 +640,8 @@ GpStatus WINGDIPAPI GdipGetCellAscent(GDIPCONST GpFontFamily *family, GpStatus WINGDIPAPI GdipGetCellDescent(GDIPCONST GpFontFamily *family, INT style, UINT16* CellDescent) { + TRACE("(%p, %d, %p)\n", family, style, CellDescent); + if (!(family && CellDescent)) return InvalidParameter; *CellDescent = family->tmw.tmDescent; @@ -730,6 +748,8 @@ GpStatus WINGDIPAPI GdipGetGenericFontFamilySerif(GpFontFamily **nativeFamily) { static const WCHAR TimesNewRoman[] = {'T','i','m','e','s',' ','N','e','w',' ','R','o','m','a','n','\0'}; + TRACE("(%p)\n", nativeFamily); + if (nativeFamily == NULL) return InvalidParameter; return GdipCreateFontFamilyFromName(TimesNewRoman, NULL, nativeFamily); @@ -753,6 +773,8 @@ GpStatus WINGDIPAPI GdipGetGenericFontFamilySansSerif(GpFontFamily **nativeFamil * affect anything */ static const WCHAR MSSansSerif[] = {'M','S',' ','S','a','n','s',' ','S','e','r','i','f','\0'}; + TRACE("(%p)\n", nativeFamily); + if (nativeFamily == NULL) return InvalidParameter; return GdipCreateFontFamilyFromName(MSSansSerif, NULL, nativeFamily);
1
0
0
0
Nikolay Sivov : gdiplus: GdipGetLineGammaCorrection should check result pointer. Test added.
by Alexandre Julliard
03 Sep '08
03 Sep '08
Module: wine Branch: master Commit: 69e17d6a6a879aaf1b3bafe87d3fe3b99c8f3feb URL:
http://source.winehq.org/git/wine.git/?a=commit;h=69e17d6a6a879aaf1b3bafe87…
Author: Nikolay Sivov <bunglehead(a)gmail.com> Date: Wed Sep 3 00:25:39 2008 +0400 gdiplus: GdipGetLineGammaCorrection should check result pointer. Test added. --- dlls/gdiplus/brush.c | 2 +- dlls/gdiplus/tests/brush.c | 25 +++++++++++++++++++++++++ 2 files changed, 26 insertions(+), 1 deletions(-) diff --git a/dlls/gdiplus/brush.c b/dlls/gdiplus/brush.c index b8c5870..8bb807b 100644 --- a/dlls/gdiplus/brush.c +++ b/dlls/gdiplus/brush.c @@ -631,7 +631,7 @@ GpStatus WINGDIPAPI GdipGetLineGammaCorrection(GpLineGradient *line, { TRACE("(%p, %p)\n", line, usinggamma); - if(!line) + if(!line || !usinggamma) return InvalidParameter; *usinggamma = line->gamma; diff --git a/dlls/gdiplus/tests/brush.c b/dlls/gdiplus/tests/brush.c index 6711fe4..c9f9826 100644 --- a/dlls/gdiplus/tests/brush.c +++ b/dlls/gdiplus/tests/brush.c @@ -145,6 +145,30 @@ static void test_getbounds(void) GdipDeleteBrush((GpBrush*) brush); } +static void test_getgamma(void) +{ + GpStatus status; + GpLineGradient *line; + GpPointF start, end; + BOOL gamma; + + start.X = start.Y = 0.0; + end.X = end.Y = 100.0; + + status = GdipCreateLineBrush(&start, &end, (ARGB)0xdeadbeef, 0xdeadbeef, WrapModeTile, &line); + expect(Ok, status); + + /* NULL arguments */ + status = GdipGetLineGammaCorrection(NULL, NULL); + expect(InvalidParameter, status); + status = GdipGetLineGammaCorrection(line, NULL); + expect(InvalidParameter, status); + status = GdipGetLineGammaCorrection(NULL, &gamma); + expect(InvalidParameter, status); + + GdipDeleteBrush((GpBrush*)line); +} + START_TEST(brush) { struct GdiplusStartupInput gdiplusStartupInput; @@ -162,6 +186,7 @@ START_TEST(brush) test_gradientblendcount(); test_getblend(); test_getbounds(); + test_getgamma(); GdiplusShutdown(gdiplusToken); }
1
0
0
0
Nikolay Sivov : gdiplus: Add TRACE(..) for brush calls.
by Alexandre Julliard
03 Sep '08
03 Sep '08
Module: wine Branch: master Commit: 26ccb33f864f30e3da32d7951d4b61e07d1fe9e5 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=26ccb33f864f30e3da32d7951…
Author: Nikolay Sivov <bunglehead(a)gmail.com> Date: Wed Sep 3 00:13:40 2008 +0400 gdiplus: Add TRACE(..) for brush calls. --- dlls/gdiplus/brush.c | 90 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 90 insertions(+), 0 deletions(-) Diff:
http://source.winehq.org/git/wine.git/?a=commitdiff;h=26ccb33f864f30e3da32d…
1
0
0
0
Nikolay Sivov : gdiplus: Add TRACE(..) to CustomLineCap.
by Alexandre Julliard
03 Sep '08
03 Sep '08
Module: wine Branch: master Commit: 0f87374a175bc18aeaccc417d1e98e095657f077 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=0f87374a175bc18aeaccc417d…
Author: Nikolay Sivov <bunglehead(a)gmail.com> Date: Tue Sep 2 23:52:20 2008 +0400 gdiplus: Add TRACE(..) to CustomLineCap. --- dlls/gdiplus/customlinecap.c | 14 ++++++++++++++ 1 files changed, 14 insertions(+), 0 deletions(-) diff --git a/dlls/gdiplus/customlinecap.c b/dlls/gdiplus/customlinecap.c index 48a20df..7fb7f4a 100644 --- a/dlls/gdiplus/customlinecap.c +++ b/dlls/gdiplus/customlinecap.c @@ -33,6 +33,8 @@ WINE_DEFAULT_DEBUG_CHANNEL(gdiplus); GpStatus WINGDIPAPI GdipCloneCustomLineCap(GpCustomLineCap* from, GpCustomLineCap** to) { + TRACE("(%p, %p)\n", from, to); + if(!from || !to) return InvalidParameter; @@ -108,6 +110,8 @@ GpStatus WINGDIPAPI GdipCreateCustomLineCap(GpPath* fillPath, GpPath* strokePath GpStatus WINGDIPAPI GdipDeleteCustomLineCap(GpCustomLineCap *customCap) { + TRACE("(%p)\n", customCap); + if(!customCap) return InvalidParameter; @@ -121,6 +125,8 @@ GpStatus WINGDIPAPI GdipDeleteCustomLineCap(GpCustomLineCap *customCap) GpStatus WINGDIPAPI GdipGetCustomLineCapStrokeJoin(GpCustomLineCap* customCap, GpLineJoin* lineJoin) { + TRACE("(%p, %p)\n", customCap, lineJoin); + if(!customCap || !lineJoin) return InvalidParameter; @@ -132,6 +138,8 @@ GpStatus WINGDIPAPI GdipGetCustomLineCapStrokeJoin(GpCustomLineCap* customCap, GpStatus WINGDIPAPI GdipGetCustomLineCapWidthScale(GpCustomLineCap* custom, REAL* widthScale) { + TRACE("(%p, %p)\n", custom, widthScale); + if(!custom || !widthScale) return InvalidParameter; @@ -168,6 +176,8 @@ GpStatus WINGDIPAPI GdipSetCustomLineCapBaseCap(GpCustomLineCap* custom, GpStatus WINGDIPAPI GdipGetCustomLineCapBaseInset(GpCustomLineCap* custom, REAL* inset) { + TRACE("(%p, %p)\n", custom, inset); + if(!custom || !inset) return InvalidParameter; @@ -191,6 +201,8 @@ GpStatus WINGDIPAPI GdipSetCustomLineCapBaseInset(GpCustomLineCap* custom, GpStatus WINGDIPAPI GdipSetCustomLineCapStrokeJoin(GpCustomLineCap* custom, GpLineJoin join) { + TRACE("(%p, %d)\n", custom, join); + if(!custom) return InvalidParameter; @@ -212,6 +224,8 @@ GpStatus WINGDIPAPI GdipSetCustomLineCapWidthScale(GpCustomLineCap* custom, GpStatus WINGDIPAPI GdipGetCustomLineCapBaseCap(GpCustomLineCap *customCap, GpLineCap *baseCap) { + TRACE("(%p, %p)\n", customCap, baseCap); + if(!customCap || !baseCap) return InvalidParameter;
1
0
0
0
← Newer
1
...
104
105
106
107
108
109
110
...
122
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
113
114
115
116
117
118
119
120
121
122
Results per page:
10
25
50
100
200