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
November 2007
----- 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
757 discussions
Start a n
N
ew thread
Francois Gouget : wined3d: Add trailing '\n's to two shader_addline() calls .
by Alexandre Julliard
13 Nov '07
13 Nov '07
Module: wine Branch: master Commit: 41643327ee810e1024ab33c72b2fce86bf47568f URL:
http://source.winehq.org/git/wine.git/?a=commit;h=41643327ee810e1024ab33c72…
Author: Francois Gouget <fgouget(a)free.fr> Date: Tue Nov 13 09:28:16 2007 +0100 wined3d: Add trailing '\n's to two shader_addline() calls. --- dlls/wined3d/vertexshader.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/wined3d/vertexshader.c b/dlls/wined3d/vertexshader.c index 4e2a7c5..286565a 100644 --- a/dlls/wined3d/vertexshader.c +++ b/dlls/wined3d/vertexshader.c @@ -399,8 +399,8 @@ static VOID IWineD3DVertexShaderImpl_GenerateShader( * 1.0 or -1.0 to turn the rendering upside down for offscreen rendering. PosFixup.x * contains 1.0 to allow a mad, but arb vs swizzles are too restricted for that. */ - shader_addline(&buffer, "ADD TMP_OUT.x, TMP_OUT.x, posFixup.z;"); - shader_addline(&buffer, "MAD TMP_OUT.y, TMP_OUT.y, posFixup.y, posFixup.w;"); + shader_addline(&buffer, "ADD TMP_OUT.x, TMP_OUT.x, posFixup.z;\n"); + shader_addline(&buffer, "MAD TMP_OUT.y, TMP_OUT.y, posFixup.y, posFixup.w;\n"); /* Z coord [0;1]->[-1;1] mapping, see comment in transform_projection in state.c * and the glsl equivalent
1
0
0
0
James Hawkins : msi: Fix the condition for checking a drive.
by Alexandre Julliard
13 Nov '07
13 Nov '07
Module: wine Branch: master Commit: 474fca1eec2fc60d049361ec5d19417284ee208e URL:
http://source.winehq.org/git/wine.git/?a=commit;h=474fca1eec2fc60d049361ec5…
Author: James Hawkins <truiken(a)gmail.com> Date: Tue Nov 13 00:57:49 2007 -0600 msi: Fix the condition for checking a drive. --- dlls/msi/appsearch.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/msi/appsearch.c b/dlls/msi/appsearch.c index d1f1d7a..5baaa76 100644 --- a/dlls/msi/appsearch.c +++ b/dlls/msi/appsearch.c @@ -730,7 +730,7 @@ static UINT ACTION_SearchDirectory(MSIPACKAGE *package, MSISIGNATURE *sig, rc = ERROR_SUCCESS; *appValue = NULL; for (i = 0; rc == ERROR_SUCCESS && !*appValue && i < 26; i++) - if (drives & (1 << drives)) + if (drives & (1 << i)) { pathWithDrive[0] = 'A' + i; if (GetDriveTypeW(pathWithDrive) == DRIVE_FIXED)
1
0
0
0
James Hawkins : msi: Set the file to NULL when running the directory search .
by Alexandre Julliard
13 Nov '07
13 Nov '07
Module: wine Branch: master Commit: bee95916f74b1c6bc6c99cd0f8343a3bfea22e46 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=bee95916f74b1c6bc6c99cd0f…
Author: James Hawkins <truiken(a)gmail.com> Date: Tue Nov 13 00:57:01 2007 -0600 msi: Set the file to NULL when running the directory search. --- dlls/msi/appsearch.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/dlls/msi/appsearch.c b/dlls/msi/appsearch.c index 14d0ab9..d1f1d7a 100644 --- a/dlls/msi/appsearch.c +++ b/dlls/msi/appsearch.c @@ -769,6 +769,9 @@ static UINT ACTION_AppSearchDr(MSIPACKAGE *package, LPWSTR *appValue, MSISIGNATU TRACE("%s\n", debugstr_w(sig->Name)); + msi_free(sig->File); + sig->File = NULL; + *appValue = NULL; row = MSI_QueryGetRecord( package->db, query, sig->Name );
1
0
0
0
James Hawkins : msi: Implement the VolumeSelectCombo control.
by Alexandre Julliard
13 Nov '07
13 Nov '07
Module: wine Branch: master Commit: 9459ef5ab1f3c7cc27649c4fbc44984e99669025 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=9459ef5ab1f3c7cc27649c4fb…
Author: James Hawkins <truiken(a)gmail.com> Date: Tue Nov 13 00:50:14 2007 -0600 msi: Implement the VolumeSelectCombo control. --- dlls/msi/dialog.c | 80 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 80 insertions(+), 0 deletions(-) diff --git a/dlls/msi/dialog.c b/dlls/msi/dialog.c index ff22f28..9241a66 100644 --- a/dlls/msi/dialog.c +++ b/dlls/msi/dialog.c @@ -143,6 +143,7 @@ static const WCHAR szListBox[] = { 'L','i','s','t','B','o','x',0 }; static const WCHAR szDirectoryCombo[] = { 'D','i','r','e','c','t','o','r','y','C','o','m','b','o',0 }; static const WCHAR szDirectoryList[] = { 'D','i','r','e','c','t','o','r','y','L','i','s','t',0 }; static const WCHAR szVolumeCostList[] = { 'V','o','l','u','m','e','C','o','s','t','L','i','s','t',0 }; +static const WCHAR szVolumeSelectCombo[] = { 'V','o','l','u','m','e','S','e','l','e','c','t','C','o','m','b','o',0 }; static const WCHAR szSelectionDescription[] = {'S','e','l','e','c','t','i','o','n','D','e','s','c','r','i','p','t','i','o','n',0}; static const WCHAR szSelectionPath[] = {'S','e','l','e','c','t','i','o','n','P','a','t','h',0}; static const WCHAR szProperty[] = {'P','r','o','p','e','r','t','y',0}; @@ -2566,6 +2567,84 @@ static UINT msi_dialog_volumecost_list( msi_dialog *dialog, MSIRECORD *rec ) return ERROR_SUCCESS; } +/******************** VolumeSelect Combo ***************************************/ + +static UINT msi_dialog_volsel_handler( msi_dialog *dialog, + msi_control *control, WPARAM param ) +{ + WCHAR text[MAX_PATH]; + LPWSTR prop; + BOOL indirect; + int index; + + if (HIWORD(param) != CBN_SELCHANGE) + return ERROR_SUCCESS; + + index = SendMessageW( control->hwnd, CB_GETCURSEL, 0, 0 ); + if ( index == CB_ERR ) + { + ERR("No ComboBox item selected!\n"); + return ERROR_FUNCTION_FAILED; + } + + SendMessageW( control->hwnd, CB_GETLBTEXT, index, (LPARAM)text ); + + indirect = control->attributes & msidbControlAttributesIndirect; + prop = msi_dialog_dup_property( dialog, control->property, indirect ); + + MSI_SetPropertyW( dialog->package, prop, text ); + + msi_free( prop ); + return ERROR_SUCCESS; +} + +static void msi_dialog_vsc_add_drives( msi_dialog *dialog, msi_control *control ) +{ + LPWSTR drives, ptr; + DWORD size; + + size = GetLogicalDriveStringsW( 0, NULL ); + if ( !size ) return; + + drives = msi_alloc( (size + 1) * sizeof(WCHAR) ); + if ( !drives ) return; + + GetLogicalDriveStringsW( size, drives ); + + ptr = drives; + while (*ptr) + { + SendMessageW( control->hwnd, CB_ADDSTRING, 0, (LPARAM)ptr ); + ptr += lstrlenW(ptr) + 1; + } + + msi_free( drives ); +} + +static UINT msi_dialog_volumeselect_combo( msi_dialog *dialog, MSIRECORD *rec ) +{ + msi_control *control; + LPCWSTR prop; + DWORD style; + + /* FIXME: CBS_OWNERDRAWFIXED */ + style = WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP | + CBS_DROPDOWNLIST | CBS_SORT | CBS_HASSTRINGS | + WS_EX_LEFT | WS_EX_LTRREADING | WS_EX_RIGHTSCROLLBAR; + control = msi_dialog_add_control( dialog, rec, WC_COMBOBOXW, style ); + if (!control) + return ERROR_FUNCTION_FAILED; + + control->attributes = MSI_RecordGetInteger( rec, 8 ); + control->handler = msi_dialog_volsel_handler; + prop = MSI_RecordGetString( rec, 9 ); + control->property = msi_dialog_dup_property( dialog, prop, FALSE ); + + msi_dialog_vsc_add_drives( dialog, control ); + + return ERROR_SUCCESS; +} + static const struct control_handler msi_dialog_handler[] = { { szText, msi_dialog_text_control }, @@ -2587,6 +2666,7 @@ static const struct control_handler msi_dialog_handler[] = { szDirectoryCombo, msi_dialog_directory_combo }, { szDirectoryList, msi_dialog_directory_list }, { szVolumeCostList, msi_dialog_volumecost_list }, + { szVolumeSelectCombo, msi_dialog_volumeselect_combo }, }; #define NUM_CONTROL_TYPES (sizeof msi_dialog_handler/sizeof msi_dialog_handler[0])
1
0
0
0
James Hawkins : msi: Test the Uninstall registry entries.
by Alexandre Julliard
13 Nov '07
13 Nov '07
Module: wine Branch: master Commit: c68825569d362ba395536547b481f47d2a6f44c0 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=c68825569d362ba395536547b…
Author: James Hawkins <truiken(a)gmail.com> Date: Tue Nov 13 00:48:18 2007 -0600 msi: Test the Uninstall registry entries. --- dlls/msi/tests/install.c | 498 +++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 496 insertions(+), 2 deletions(-) Diff:
http://source.winehq.org/git/wine.git/?a=commitdiff;h=c68825569d362ba395536…
1
0
0
0
James Hawkins : msi: Delete the uninstall key when the product is removed.
by Alexandre Julliard
13 Nov '07
13 Nov '07
Module: wine Branch: master Commit: f6b27673b0aa851214fa21733bccec87604ee314 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=f6b27673b0aa851214fa21733…
Author: James Hawkins <truiken(a)gmail.com> Date: Tue Nov 13 00:47:21 2007 -0600 msi: Delete the uninstall key when the product is removed. --- dlls/msi/action.c | 1 + dlls/msi/msipriv.h | 1 + dlls/msi/registry.c | 10 ++++++++++ 3 files changed, 12 insertions(+), 0 deletions(-) diff --git a/dlls/msi/action.c b/dlls/msi/action.c index ec2bbea..3066308 100644 --- a/dlls/msi/action.c +++ b/dlls/msi/action.c @@ -4039,6 +4039,7 @@ static UINT msi_unpublish_product(MSIPACKAGE *package) MSIREG_DeleteUserProductKey(package->ProductCode); MSIREG_DeleteUserDataProductKey(package->ProductCode); MSIREG_DeleteUserFeaturesKey(package->ProductCode); + MSIREG_DeleteUninstallKey(package->ProductCode); done: msi_free(remove); diff --git a/dlls/msi/msipriv.h b/dlls/msi/msipriv.h index 8c416b8..4c7565b 100644 --- a/dlls/msi/msipriv.h +++ b/dlls/msi/msipriv.h @@ -729,6 +729,7 @@ extern BOOL squash_guid(LPCWSTR in, LPWSTR out); extern BOOL encode_base85_guid(GUID *,LPWSTR); extern BOOL decode_base85_guid(LPCWSTR,GUID*); extern UINT MSIREG_OpenUninstallKey(LPCWSTR szProduct, HKEY* key, BOOL create); +extern UINT MSIREG_DeleteUninstallKey(LPCWSTR szProduct); extern UINT MSIREG_OpenUserProductsKey(LPCWSTR szProduct, HKEY* key, BOOL create); extern UINT MSIREG_OpenUserPatchesKey(LPCWSTR szPatch, HKEY* key, BOOL create); extern UINT MSIREG_OpenFeatures(HKEY* key); diff --git a/dlls/msi/registry.c b/dlls/msi/registry.c index 9a88aea..beaecae 100644 --- a/dlls/msi/registry.c +++ b/dlls/msi/registry.c @@ -504,6 +504,16 @@ UINT MSIREG_OpenUninstallKey(LPCWSTR szProduct, HKEY* key, BOOL create) return rc; } +UINT MSIREG_DeleteUninstallKey(LPCWSTR szProduct) +{ + WCHAR keypath[0x200]; + TRACE("%s\n",debugstr_w(szProduct)); + + sprintfW(keypath,szUninstall_fmt,szProduct); + + return RegDeleteTreeW(HKEY_LOCAL_MACHINE, keypath); +} + UINT MSIREG_OpenUserProductsKey(LPCWSTR szProduct, HKEY* key, BOOL create) { UINT rc;
1
0
0
0
David Adam : d3dx8: Implement D3DXMatrixAffine Transformation.
by Alexandre Julliard
13 Nov '07
13 Nov '07
Module: wine Branch: master Commit: 6840049f2f2b74537ce152196249075c4cdd1ea9 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=6840049f2f2b74537ce152196…
Author: David Adam <David.Adam(a)math.cnrs.fr> Date: Mon Nov 12 11:27:13 2007 +0100 d3dx8: Implement D3DXMatrixAffine Transformation. --- dlls/d3dx8/d3dx8.spec | 2 +- dlls/d3dx8/math.c | 38 ++++++++++++++++++++++++++++++++++++++ dlls/d3dx8/tests/math.c | 17 ++++++++++++++++- include/d3dx8math.h | 1 + 4 files changed, 56 insertions(+), 2 deletions(-) diff --git a/dlls/d3dx8/d3dx8.spec b/dlls/d3dx8/d3dx8.spec index 82c9586..7578597 100644 --- a/dlls/d3dx8/d3dx8.spec +++ b/dlls/d3dx8/d3dx8.spec @@ -34,7 +34,7 @@ @ stdcall D3DXMatrixRotationQuaternion(ptr ptr) @ stdcall D3DXMatrixRotationYawPitchRoll(ptr long long long) @ stub D3DXMatrixTransformation -@ stub D3DXMatrixAffineTransformation +@ stdcall D3DXMatrixAffineTransformation(ptr long ptr ptr ptr) @ stdcall D3DXMatrixLookAtRH(ptr ptr ptr ptr) @ stdcall D3DXMatrixLookAtLH(ptr ptr ptr ptr) @ stdcall D3DXMatrixPerspectiveRH(ptr long long long long) diff --git a/dlls/d3dx8/math.c b/dlls/d3dx8/math.c index 7f96583..15276fa 100644 --- a/dlls/d3dx8/math.c +++ b/dlls/d3dx8/math.c @@ -34,6 +34,44 @@ WINE_DEFAULT_DEBUG_CHANNEL(d3dx8); /*_________________D3DXMatrix____________________*/ +D3DXMATRIX* WINAPI D3DXMatrixAffineTransformation(D3DXMATRIX *pout, float scaling, D3DXVECTOR3 *rotationcenter, D3DXQUATERNION *rotation, D3DXVECTOR3 *translation) +{ + D3DXMATRIX m1, m2, m3, m4, m5, p1, p2, p3; + + D3DXMatrixScaling(&m1, scaling, scaling, scaling); + if ( !rotationcenter ) + { + D3DXMatrixIdentity(&m2); + D3DXMatrixIdentity(&m4); + } + else + { + D3DXMatrixTranslation(&m2, -rotationcenter->x, -rotationcenter->y, -rotationcenter->z); + D3DXMatrixTranslation(&m4, rotationcenter->x, rotationcenter->y, rotationcenter->z); + } + if ( !rotation ) + { + D3DXMatrixIdentity(&m3); + } + else + { + D3DXMatrixRotationQuaternion(&m3, rotation); + } + if ( !translation ) + { + D3DXMatrixIdentity(&m5); + } + else + { + D3DXMatrixTranslation(&m5, translation->x, translation->y, translation->z); + } + D3DXMatrixMultiply(&p1, &m1, &m2); + D3DXMatrixMultiply(&p2, &p1, &m3); + D3DXMatrixMultiply(&p3, &p2, &m4); + D3DXMatrixMultiply(pout, &p3, &m5); + return pout; +} + FLOAT WINAPI D3DXMatrixfDeterminant(CONST D3DXMATRIX *pm) { D3DXVECTOR4 minor, v1, v2, v3; diff --git a/dlls/d3dx8/tests/math.c b/dlls/d3dx8/tests/math.c index 65a0e5a..9e862ab 100644 --- a/dlls/d3dx8/tests/math.c +++ b/dlls/d3dx8/tests/math.c @@ -21,7 +21,7 @@ #include "wine/test.h" -#define admitted_error 0.00001f +#define admitted_error 0.0001f #define expect_color(expectedcolor,gotcolor) ok((fabs(expectedcolor.r-gotcolor.r)<admitted_error)&&(fabs(expectedcolor.g-gotcolor.g)<admitted_error)&&(fabs(expectedcolor.b-gotcolor.b)<admitted_error)&&(fabs(expectedcolor.a-gotcolor.a)<admitted_error),"Expected Color= (%f, %f, %f, %f)\n , Got Color= (%f, %f, %f, %f)\n", expectedcolor.r, expectedcolor.g, expectedcolor.b, expectedcolor.a, gotcolor.r, gotcolor.g, gotcolor.b, gotcolor.a); @@ -177,6 +177,21 @@ static void D3DXMatrixTest(void) angle = D3DX_PI/3.0f; +/*____________D3DXMatrixAffineTransformation______*/ + expectedmat.m[0][0] = -459.239990f; expectedmat.m[0][1] = -576.719971f; expectedmat.m[0][2] = -263.440002f; expectedmat.m[0][3] = 0.0f; + expectedmat.m[1][0] = 519.760010f; expectedmat.m[1][1] = -352.440002f; expectedmat.m[1][2] = -277.679993f; expectedmat.m[1][3] = 0.0f; + expectedmat.m[2][0] = 363.119995f; expectedmat.m[2][1] = -121.040001f; expectedmat.m[2][2] = -117.479996f; expectedmat.m[2][3] = 0.0f; + expectedmat.m[3][0] = -1239.0f; expectedmat.m[3][1] = 667.0f; expectedmat.m[3][2] = 567.0f; expectedmat.m[3][3] = 1.0f; + D3DXMatrixAffineTransformation(&gotmat,3.56f,&at,&q,&axis); + expect_mat(expectedmat,gotmat); +/* Test the NULL case */ + expectedmat.m[0][0] = -459.239990f; expectedmat.m[0][1] = -576.719971f; expectedmat.m[0][2] = -263.440002f; expectedmat.m[0][3] = 0.0f; + expectedmat.m[1][0] = 519.760010f; expectedmat.m[1][1] = -352.440002f; expectedmat.m[1][2] = -277.679993f; expectedmat.m[1][3] = 0.0f; + expectedmat.m[2][0] = 363.119995f; expectedmat.m[2][1] = -121.040001f; expectedmat.m[2][2] = -117.479996f; expectedmat.m[2][3] = 0.0f; + expectedmat.m[3][0] = 1.0f; expectedmat.m[3][1] = -3.0f; expectedmat.m[3][2] = 7.0f; expectedmat.m[3][3] = 1.0f; + D3DXMatrixAffineTransformation(&gotmat,3.56f,NULL,&q,&axis); + expect_mat(expectedmat,gotmat); + /*____________D3DXMatrixfDeterminant_____________*/ expectedfloat = -147888.0f; gotfloat = D3DXMatrixfDeterminant(&mat); diff --git a/include/d3dx8math.h b/include/d3dx8math.h index 9916490..da0c8f3 100644 --- a/include/d3dx8math.h +++ b/include/d3dx8math.h @@ -259,6 +259,7 @@ typedef struct D3DXCOLOR FLOAT r, g, b, a; } D3DXCOLOR, *LPD3DXCOLOR; +D3DXMATRIX* WINAPI D3DXMatrixAffineTransformation(D3DXMATRIX *pout, float scaling, D3DXVECTOR3 *rotationcenter, D3DXQUATERNION *rotation, D3DXVECTOR3 *translation); FLOAT WINAPI D3DXMatrixfDeterminant(CONST D3DXMATRIX *pm); D3DXMATRIX* WINAPI D3DXMatrixInverse(D3DXMATRIX *pout, FLOAT *pdeterminant, CONST D3DXMATRIX *pm); D3DXMATRIX* WINAPI D3DXMatrixLookAtLH(D3DXMATRIX *pout, CONST D3DXVECTOR3 *peye, CONST D3DXVECTOR3 *pat, CONST D3DXVECTOR3 *pup);
1
0
0
0
Rob Shearman : rpcrt4: Implement RpcCancelThread for the ncacn_ip_tcp protocol sequence.
by Alexandre Julliard
13 Nov '07
13 Nov '07
Module: wine Branch: master Commit: a51486c657c4c2c4df9b94446822c234c34510cf URL:
http://source.winehq.org/git/wine.git/?a=commit;h=a51486c657c4c2c4df9b94446…
Author: Rob Shearman <rob(a)codeweavers.com> Date: Mon Nov 12 20:10:19 2007 +0000 rpcrt4: Implement RpcCancelThread for the ncacn_ip_tcp protocol sequence. --- dlls/rpcrt4/rpc_binding.h | 8 ++++ dlls/rpcrt4/rpc_message.c | 8 ++++ dlls/rpcrt4/rpc_transport.c | 86 ++++++++++++++++++++++++++++++++++++++++--- dlls/rpcrt4/rpcrt4_main.c | 82 ++++++++++++++++++++++++++++++++++++++++- 4 files changed, 176 insertions(+), 8 deletions(-) Diff:
http://source.winehq.org/git/wine.git/?a=commitdiff;h=a51486c657c4c2c4df9b9…
1
0
0
0
Lei Zhang : shell32: Don't crash if $HOME is not set.
by Alexandre Julliard
13 Nov '07
13 Nov '07
Module: wine Branch: master Commit: 4dda7c6371f04d6aaf8c7d37e58139a2acaee567 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=4dda7c6371f04d6aaf8c7d37e…
Author: Lei Zhang <thestig(a)google.com> Date: Mon Nov 12 13:30:24 2007 -0800 shell32: Don't crash if $HOME is not set. --- dlls/shell32/shellpath.c | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/dlls/shell32/shellpath.c b/dlls/shell32/shellpath.c index 9e832c1..5be77d7 100644 --- a/dlls/shell32/shellpath.c +++ b/dlls/shell32/shellpath.c @@ -2065,8 +2065,6 @@ static void _SHCreateSymbolicLinks(void) } } - HeapFree(GetProcessHeap(), 0, pszPersonal); - /* Create symbolic links for 'My Pictures', 'My Video' and 'My Music'. */ for (i=0; i < sizeof(aidsMyStuff)/sizeof(aidsMyStuff[0]); i++) { /* Create the current 'My Whatever' folder and get it's unix path. */ @@ -2094,7 +2092,12 @@ static void _SHCreateSymbolicLinks(void) } /* Last but not least, the Desktop folder */ - strcpy(szDesktopTarget, pszHome); + if (pszHome) + strcpy(szDesktopTarget, pszHome); + else + strcpy(szDesktopTarget, pszPersonal); + HeapFree(GetProcessHeap(), 0, pszPersonal); + if (_SHAppendToUnixPath(szDesktopTarget, DesktopW) && !stat(szDesktopTarget, &statFolder) && S_ISDIR(statFolder.st_mode)) {
1
0
0
0
Lei Zhang : shell32: rename My Video to My Videos.
by Alexandre Julliard
13 Nov '07
13 Nov '07
Module: wine Branch: master Commit: 70c75dcd0d7d39b67547e9700eec52dfd5dbc6d0 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=70c75dcd0d7d39b67547e9700…
Author: Lei Zhang <thestig(a)google.com> Date: Mon Nov 12 11:57:33 2007 -0800 shell32: rename My Video to My Videos. --- dlls/shell32/shell32_En.rc | 4 ++-- dlls/shell32/shellpath.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dlls/shell32/shell32_En.rc b/dlls/shell32/shell32_En.rc index 5941917..053a89a 100644 --- a/dlls/shell32/shell32_En.rc +++ b/dlls/shell32/shell32_En.rc @@ -225,7 +225,7 @@ STRINGTABLE DISCARDABLE IDS_SENDTO "SendTo" IDS_STARTMENU "Start Menu" IDS_MYMUSIC "My Music" - IDS_MYVIDEO "My Video" + IDS_MYVIDEO "My Videos" IDS_DESKTOPDIRECTORY "Desktop" IDS_NETHOOD "NetHood" IDS_TEMPLATES "Templates" @@ -242,6 +242,6 @@ STRINGTABLE DISCARDABLE IDS_ADMINTOOLS "Start Menu\\Programs\\Administrative Tools" IDS_COMMON_MUSIC "Documents\\My Music" IDS_COMMON_PICTURES "Documents\\My Pictures" - IDS_COMMON_VIDEO "Documents\\My Video" + IDS_COMMON_VIDEO "Documents\\My Videos" IDS_CDBURN_AREA "Local Settings\\Application Data\\Microsoft\\CD Burning" } diff --git a/dlls/shell32/shellpath.c b/dlls/shell32/shellpath.c index 241b4a7..9e832c1 100644 --- a/dlls/shell32/shellpath.c +++ b/dlls/shell32/shellpath.c @@ -784,7 +784,7 @@ static const WCHAR HistoryW[] = {'H','i','s','t','o','r','y','\0'}; static const WCHAR Local_AppDataW[] = {'L','o','c','a','l',' ','A','p','p','D','a','t','a','\0'}; static const WCHAR My_MusicW[] = {'M','y',' ','M','u','s','i','c','\0'}; static const WCHAR My_PicturesW[] = {'M','y',' ','P','i','c','t','u','r','e','s','\0'}; -static const WCHAR My_VideoW[] = {'M','y',' ','V','i','d','e','o','\0'}; +static const WCHAR My_VideoW[] = {'M','y',' ','V','i','d','e','o','s','\0'}; static const WCHAR NetHoodW[] = {'N','e','t','H','o','o','d','\0'}; static const WCHAR PersonalW[] = {'P','e','r','s','o','n','a','l','\0'}; static const WCHAR PrintHoodW[] = {'P','r','i','n','t','H','o','o','d','\0'};
1
0
0
0
← Newer
1
...
37
38
39
40
41
42
43
...
76
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
Results per page:
10
25
50
100
200