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 2006
----- 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
5 participants
857 discussions
Start a n
N
ew thread
appdb/. account.php addcomment.php appbrowse.p ...
by WineHQ
06 Jul '06
06 Jul '06
ChangeSet ID: 26251 CVSROOT: /opt/cvs-commit Module name: appdb Changes by: wineowner(a)winehq.org 2006/07/06 13:37:35 Modified files: . : account.php addcomment.php appbrowse.php appimage.php appview.php deletecomment.php index.php maintainerdelete.php maintainersubmit.php preferences.php screenshots.php search.php viewbugs.php Log message: Jonathan Ernst <jonathan(a)ernstfamily.ch> Update the comments in some files Patch:
http://cvs.winehq.org/patch.py?id=26251
Old revision New revision Changes Path 1.28 1.29 +13 -4 appdb/account.php 1.27 1.28 +16 -16 appdb/addcomment.php 1.17 1.18 +7 -3 appdb/appbrowse.php 1.21 1.22 +20 -8 appdb/appimage.php 1.87 1.88 +19 -7 appdb/appview.php 1.26 1.27 +19 -10 appdb/deletecomment.php 1.35 1.36 +10 -8 appdb/index.php 1.20 1.21 +19 -7 appdb/maintainerdelete.php 1.28 1.29 +17 -7 appdb/maintainersubmit.php 1.29 1.30 +25 -10 appdb/preferences.php 1.35 1.36 +24 -16 appdb/screenshots.php 1.18 1.19 +10 -6 appdb/search.php 1.6 1.7 +11 -5 appdb/viewbugs.php
1
0
0
0
appdb/ ./account.php ./addcomment.php ./appbro ...
by WineHQ
06 Jul '06
06 Jul '06
ChangeSet ID: 26250 CVSROOT: /opt/cvs-commit Module name: appdb Changes by: wineowner(a)winehq.org 2006/07/06 12:59:52 Modified files: . : account.php addcomment.php appbrowse.php appimage.php appsubmit.php appview.php commentview.php deletecomment.php distributionView.php maintainerdelete.php maintainersubmit.php preferences.php testResults.php vendorview.php viewbugs.php admin : addAppNote.php addCategory.php adminAppDataQueue.php adminAppQueue.php adminBugs.php adminMaintainerQueue.php adminMaintainers.php adminScreenshots.php adminTestResults.php adminUsers.php editAppFamily.php editAppNote.php editAppVersion.php editBundle.php editDistribution.php editVendor.php moveAppVersion.php include : application.php util.php version.php vote.php Log message: Jonathan Ernst <jonathan(a)ernstfamily.ch> Remove unnecessary exit calls after redirect() and util_show_error_page() calls Patch:
http://cvs.winehq.org/patch.py?id=26250
Old revision New revision Changes Path 1.27 1.28 +0 -2 appdb/account.php 1.26 1.27 +1 -4 appdb/addcomment.php 1.16 1.17 +1 -4 appdb/appbrowse.php 1.20 1.21 +1 -6 appdb/appimage.php 1.47 1.48 +0 -7 appdb/appsubmit.php 1.86 1.87 +0 -9 appdb/appview.php 1.10 1.11 +0 -3 appdb/commentview.php 1.25 1.26 +0 -1 appdb/deletecomment.php 1.13 1.14 +0 -3 appdb/distributionView.php 1.19 1.20 +0 -3 appdb/maintainerdelete.php 1.27 1.28 +0 -7 appdb/maintainersubmit.php 1.28 1.29 +0 -3 appdb/preferences.php 1.8 1.9 +0 -1 appdb/testResults.php 1.18 1.19 +0 -3 appdb/vendorview.php 1.5 1.6 +2 -6 appdb/viewbugs.php 1.26 1.27 +0 -2 appdb/admin/addAppNote.php 1.12 1.13 +1 -3 appdb/admin/addCategory.php 1.26 1.27 +0 -3 appdb/admin/adminAppDataQueue.php 1.61 1.62 +2 -9 appdb/admin/adminAppQueue.php 1.7 1.8 +0 -4 appdb/admin/adminBugs.php 1.26 1.27 +1 -3 appdb/admin/adminMaintainerQueue.php 1.23 1.24 +0 -3 appdb/admin/adminMaintainers.php 1.10 1.11 +1 -5 appdb/admin/adminScreenshots.php 1.8 1.9 +0 -3 appdb/admin/adminTestResults.php 1.10 1.11 +1 -3 appdb/admin/adminUsers.php 1.39 1.40 +0 -6 appdb/admin/editAppFamily.php 1.25 1.26 +0 -6 appdb/admin/editAppNote.php 1.37 1.38 +0 -6 appdb/admin/editAppVersion.php 1.12 1.13 +0 -3 appdb/admin/editBundle.php 1.6 1.7 +0 -4 appdb/admin/editDistribution.php 1.12 1.13 +0 -3 appdb/admin/editVendor.php 1.6 1.7 +0 -6 appdb/admin/moveAppVersion.php 1.56 1.57 +0 -3 appdb/include/application.php 1.64 1.65 +1 -0 appdb/include/util.php 1.64 1.65 +3 -11 appdb/include/version.php 1.20 1.21 +0 -3 appdb/include/vote.php
1
0
0
0
appdb/ ./account.php ./addcomment.php ./appbro ...
by WineHQ
06 Jul '06
06 Jul '06
ChangeSet ID: 26249 CVSROOT: /opt/cvs-commit Module name: appdb Changes by: wineowner(a)winehq.org 2006/07/06 12:27:55 Modified files: . : account.php addcomment.php appbrowse.php appimage.php appsubmit.php appview.php commentview.php deletecomment.php distributionView.php index.php maintainerdelete.php maintainersubmit.php preferences.php screenshots.php search.php testResults.php vendorview.php viewScreenshots.php viewbugs.php votestats.php admin : addAppNote.php addCategory.php adminAppDataQueue.php adminAppQueue.php adminBugs.php adminCommentView.php adminMaintainerQueue.php adminMaintainers.php adminScreenshots.php adminTestResults.php adminUsers.php deleteAny.php editAppFamily.php editAppNote.php editAppVersion.php editBundle.php editDistribution.php editVendor.php moveAppVersion.php help : appdb_faq.help index.php maintainer_guidelines.help include : application.php bugs.php category.php comment.php distributions.php form_login.php monitor.php note.php screenshot.php sidebar.php sidebar_login.php testResults.php url.php user.php util.php version.php vote.php Log message: Jonathan Ernst <jonathan(a)ernstfamily.ch> Prefix all GPC variables according to our coding standard Patch:
http://cvs.winehq.org/patch.py?id=26249
Old revision New revision Changes Path 1.26 1.27 +5 -5 appdb/account.php 1.25 1.26 +20 -20 appdb/addcomment.php 1.15 1.16 +12 -12 appdb/appbrowse.php 1.19 1.20 +9 -9 appdb/appimage.php 1.46 1.47 +46 -45 appdb/appsubmit.php 1.85 1.86 +28 -28 appdb/appview.php 1.9 1.10 +5 -5 appdb/commentview.php 1.24 1.25 +10 -10 appdb/deletecomment.php 1.12 1.13 +6 -6 appdb/distributionView.php 1.34 1.35 +5 -11 appdb/index.php 1.18 1.19 +16 -16 appdb/maintainerdelete.php 1.26 1.27 +25 -25 appdb/maintainersubmit.php 1.27 1.28 +8 -8 appdb/preferences.php 1.34 1.35 +24 -24 appdb/screenshots.php 1.17 1.18 +2 -2 appdb/search.php 1.7 1.8 +14 -14 appdb/testResults.php 1.17 1.18 +8 -8 appdb/vendorview.php 1.3 1.4 +12 -12 appdb/viewScreenshots.php 1.4 1.5 +9 -9 appdb/viewbugs.php 1.22 1.23 +11 -11 appdb/votestats.php 1.25 1.26 +1 -1 appdb/admin/addAppNote.php 1.11 1.12 +14 -14 appdb/admin/addCategory.php 1.25 1.26 +26 -26 appdb/admin/adminAppDataQueue.php 1.60 1.61 +51 -51 appdb/admin/adminAppQueue.php 1.6 1.7 +34 -34 appdb/admin/adminBugs.php 1.13 1.14 +11 -11 appdb/admin/adminCommentView.php 1.25 1.26 +23 -23 appdb/admin/adminMaintainerQueue.php 1.22 1.23 +11 -11 appdb/admin/adminMaintainers.php 1.9 1.10 +25 -25 appdb/admin/adminScreenshots.php 1.7 1.8 +20 -20 appdb/admin/adminTestResults.php 1.9 1.10 +5 -5 appdb/admin/adminUsers.php 1.18 1.19 +12 -12 appdb/admin/deleteAny.php 1.38 1.39 +14 -14 appdb/admin/editAppFamily.php 1.24 1.25 +2 -2 appdb/admin/editAppNote.php 1.36 1.37 +19 -19 appdb/admin/editAppVersion.php 1.11 1.12 +12 -12 appdb/admin/editBundle.php 1.5 1.6 +4 -4 appdb/admin/editDistribution.php 1.11 1.12 +4 -4 appdb/admin/editVendor.php 1.5 1.6 +14 -14 appdb/admin/moveAppVersion.php 1.8 1.9 +1 -1 appdb/help/appdb_faq.help 1.8 1.9 +3 -3 appdb/help/index.php 1.4 1.5 +5 -5 appdb/help/maintainer_guidelines.help 1.55 1.56 +50 -50 appdb/include/application.php 1.12 1.13 +9 -9 appdb/include/bugs.php 1.19 1.20 +1 -1 appdb/include/category.php 1.23 1.24 +15 -15 appdb/include/comment.php 1.9 1.10 +1 -1 appdb/include/distributions.php 1.6 1.7 +6 -6 appdb/include/form_login.php 1.7 1.8 +4 -4 appdb/include/monitor.php 1.13 1.14 +1 -1 appdb/include/note.php 1.41 1.42 +10 -10 appdb/include/screenshot.php 1.19 1.20 +4 -4 appdb/include/sidebar.php 1.14 1.15 +4 -4 appdb/include/sidebar_login.php 1.28 1.29 +7 -7 appdb/include/testResults.php 1.7 1.8 +6 -6 appdb/include/url.php 1.74 1.75 +1 -1 appdb/include/user.php 1.63 1.64 +19 -19 appdb/include/util.php 1.63 1.64 +56 -56 appdb/include/version.php 1.19 1.20 +16 -16 appdb/include/vote.php
1
0
0
0
appdb/cron .htaccess
by WineHQ
06 Jul '06
06 Jul '06
ChangeSet ID: 26248 CVSROOT: /opt/cvs-commit Module name: appdb Changes by: wineowner(a)winehq.org 2006/07/06 10:54:58 Modified files: cron : .htaccess Log message: Chris Morgan <cmorgan(a)alum.wpi.edu> Make sure the .htaccess file in cron/ disables magic quotes like the one in the lowest level appdb directory Patch:
http://cvs.winehq.org/patch.py?id=26248
Old revision New revision Changes Path 1.1 1.2 +7 -0 appdb/cron/.htaccess Index: appdb/cron/.htaccess diff -u -p appdb/cron/.htaccess:1.1 appdb/cron/.htaccess:1.2 --- appdb/cron/.htaccess:1.1 6 Jul 2006 15:54:58 -0000 +++ appdb/cron/.htaccess 6 Jul 2006 15:54:58 -0000 @@ -1 +1,8 @@ Deny from all + +#Modify PHP configuration +php_value register_globals 0 +php_value short_open_tag 0 +php_value register_long_arrays 0 +php_value magic_quotes_gpc 0 +
1
0
0
0
Jason Green : wined3d: Fix D3DSIO_M#X# instruction for both ARB and GLSL shaders.
by Alexandre Julliard
06 Jul '06
06 Jul '06
Module: wine Branch: refs/heads/master Commit: 3529e0ceeb633a3dbc2335f2c74727734468e23e URL:
http://source.winehq.org/git/?p=wine.git;a=commit;h=3529e0ceeb633a3dbc2335f…
Author: Jason Green <jave27(a)gmail.com> Date: Wed Jul 5 22:35:56 2006 -0400 wined3d: Fix D3DSIO_M#X# instruction for both ARB and GLSL shaders. This instruction was being handled incorrectly in the case where the 2nd src argument contained a relatively addressed constant. --- dlls/wined3d/arb_program_shader.c | 1 + dlls/wined3d/glsl_shader.c | 2 +- 2 files changed, 2 insertions(+), 1 deletions(-) diff --git a/dlls/wined3d/arb_program_shader.c b/dlls/wined3d/arb_program_shader.c index 47791bc..e4d7e4d 100644 --- a/dlls/wined3d/arb_program_shader.c +++ b/dlls/wined3d/arb_program_shader.c @@ -809,6 +809,7 @@ void vshader_hw_mnxn(SHADER_OPCODE_ARG* tmpArg.buffer = arg->buffer; tmpArg.src[0] = arg->src[0]; tmpArg.src_addr[0] = arg->src_addr[0]; + tmpArg.src_addr[1] = arg->src_addr[1]; tmpArg.reg_maps = arg->reg_maps; switch(arg->opcode->opcode) { diff --git a/dlls/wined3d/glsl_shader.c b/dlls/wined3d/glsl_shader.c index d15874c..d7ec6a2 100644 --- a/dlls/wined3d/glsl_shader.c +++ b/dlls/wined3d/glsl_shader.c @@ -995,6 +995,7 @@ void shader_glsl_mnxn(SHADER_OPCODE_ARG* tmpArg.buffer = arg->buffer; tmpArg.src[0] = arg->src[0]; tmpArg.src_addr[0] = arg->src_addr[0]; + tmpArg.src_addr[1] = arg->src_addr[1]; tmpArg.reg_maps = arg->reg_maps; switch(arg->opcode->opcode) { @@ -1025,7 +1026,6 @@ void shader_glsl_mnxn(SHADER_OPCODE_ARG* for (i = 0; i < nComponents; i++) { tmpArg.dst = ((arg->dst) & ~D3DSP_WRITEMASK_ALL)|(D3DSP_WRITEMASK_0<<i); tmpArg.src[1] = arg->src[1]+i; - tmpArg.src_addr[1] = arg->src[1]+i; shader_glsl_dot(&tmpArg); } }
1
0
0
0
Saulius Krasuckas : kernel/tests: More tests for OpenFile.
by Alexandre Julliard
06 Jul '06
06 Jul '06
Module: wine Branch: refs/heads/master Commit: 05bdf67d2e6b8dd50b8722861ec0602de6ba2c81 URL:
http://source.winehq.org/git/?p=wine.git;a=commit;h=05bdf67d2e6b8dd50b87228…
Author: Saulius Krasuckas <saulius.krasuckas(a)ieee.org> Date: Thu Jul 6 11:04:51 2006 +0300 kernel/tests: More tests for OpenFile. --- dlls/kernel/tests/file.c | 141 ++++++++++++++++++++++++++++++++++++++++++---- 1 files changed, 130 insertions(+), 11 deletions(-) diff --git a/dlls/kernel/tests/file.c b/dlls/kernel/tests/file.c index a0e8181..e3506a9 100644 --- a/dlls/kernel/tests/file.c +++ b/dlls/kernel/tests/file.c @@ -1451,56 +1451,175 @@ static void test_OpenFile(void) DWORD retval; static const char *file = "\\regsvr32.exe"; + static const char *foo = ".\\foo-bar-foo.baz"; + static const char *foo_too_long = ".\\foo-bar-foo.baz+++++++++++++++" + "+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++" + "+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++" + "+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++" + "+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++" + "+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++"; + static const char *backslash = "\\"; char buff[MAX_PATH]; + char buff_long[4*MAX_PATH]; + char filled_0xA5[OFS_MAXPATHNAME]; UINT length; /* Check for existing file */ length = GetSystemDirectoryA(buff, MAX_PATH); - if ((length + lstrlen(file) < MAX_PATH)) + if (length + lstrlen(file) < MAX_PATH) { - lstrcatA(buff, file); + lstrcatA(buff, file); + memset(&ofs, 0xA5, sizeof(ofs)); + SetLastError(0xfaceabee); + + hFile = OpenFile(buff, &ofs, OF_EXIST); + ok( hFile == TRUE, "%s not found : %ld\n", buff, GetLastError() ); + ok( GetLastError() == 0xfaceabee || GetLastError() == ERROR_SUCCESS, + "GetLastError() returns %ld\n", GetLastError() ); + ok( ofs.cBytes == sizeof(ofs), "OpenFile set ofs.cBytes to %d\n", ofs.cBytes ); + ok( ofs.nErrCode == ERROR_SUCCESS, "OpenFile set ofs.nErrCode to %d\n", ofs.nErrCode ); + ok( lstrcmpiA(ofs.szPathName, buff) == 0, + "OpenFile returned '%s', but was expected to return '%s' or string filled with 0xA5\n", + ofs.szPathName, buff ); + } + + memset(&filled_0xA5, 0xA5, OFS_MAXPATHNAME); + length = GetCurrentDirectoryA(MAX_PATH, buff); - hFile = OpenFile(buff, &ofs, OF_EXIST); - ok( hFile == TRUE, "%s not found : %ld\n", buff, GetLastError()); + /* Check for nonexistent file */ + if (length + lstrlenA(foo + 1) < MAX_PATH) + { + lstrcatA(buff, foo + 1); /* Avoid '.' during concatenation */ + memset(&ofs, 0xA5, sizeof(ofs)); + SetLastError(0xfaceabee); + + hFile = OpenFile(foo, &ofs, OF_EXIST); + ok( hFile == HFILE_ERROR, "hFile != HFILE_ERROR : %ld\n", GetLastError()); + ok( GetLastError() == ERROR_FILE_NOT_FOUND, "GetLastError() returns %ld\n", GetLastError() ); + todo_wine + ok( ofs.cBytes == 0xA5, "OpenFile set ofs.cBytes to %d\n", ofs.cBytes ); + ok( ofs.nErrCode == ERROR_FILE_NOT_FOUND, "OpenFile set ofs.nErrCode to %d\n", ofs.nErrCode ); + ok( lstrcmpiA(ofs.szPathName, buff) == 0 || strncmp(ofs.szPathName, filled_0xA5, OFS_MAXPATHNAME) == 0, + "OpenFile returned '%s', but was expected to return '%s' or string filled with 0xA5\n", + ofs.szPathName, buff ); } - /* Check for nonexistent file */ - SetLastError(0xfaceabee); - hFile = OpenFile(".\\foo-bar-foo.baz", &ofs, OF_EXIST); - ok( hFile == HFILE_ERROR, "hFile != HFILE_ERROR : %ld\n", GetLastError()); - ok( GetLastError() == ERROR_FILE_NOT_FOUND, "GetLastError() returns %ld\n", GetLastError() ); + length = GetCurrentDirectoryA(MAX_PATH, buff_long); + length += lstrlenA(foo_too_long + 1); + + /* Check for nonexistent file with too long filename */ + if (length >= OFS_MAXPATHNAME && length < sizeof(buff_long)) + { + lstrcatA(buff_long, foo_too_long + 1); /* Avoid '.' during concatenation */ + memset(&ofs, 0xA5, sizeof(ofs)); + SetLastError(0xfaceabee); + + hFile = OpenFile(foo_too_long, &ofs, OF_EXIST); + ok( hFile == HFILE_ERROR, "hFile != HFILE_ERROR : %ld\n", GetLastError()); + ok( GetLastError() == ERROR_INVALID_DATA || GetLastError() == ERROR_FILENAME_EXCED_RANGE, + "GetLastError() returns %ld\n", GetLastError() ); + todo_wine + ok( ofs.cBytes == 0xA5, "OpenFile set ofs.cBytes to %d\n", ofs.cBytes ); + ok( ofs.nErrCode == ERROR_INVALID_DATA || ofs.nErrCode == ERROR_FILENAME_EXCED_RANGE, + "OpenFile set ofs.nErrCode to %d\n", ofs.nErrCode ); + ok( strncmp(ofs.szPathName, filled_0xA5, OFS_MAXPATHNAME) == 0, + "OpenFile returned '%s', but was expected to return string filled with 0xA5\n", + ofs.szPathName ); + } + + length = GetCurrentDirectoryA(MAX_PATH, buff); + length += lstrlenA(backslash); + length += lstrlenA(filename); + if (length >= MAX_PATH) + { + trace("Buffer too small, requested length = %d, but MAX_PATH = %d. Skipping test.\n", length, MAX_PATH); + return; + } + lstrcatA(buff, backslash); + lstrcatA(buff, filename); + + memset(&ofs, 0xA5, sizeof(ofs)); + SetLastError(0xfaceabee); /* Create an empty file */ hFile = OpenFile(filename, &ofs, OF_CREATE); ok( hFile != HFILE_ERROR, "OpenFile failed to create nonexistent file\n" ); + ok( GetLastError() == 0xfaceabee || GetLastError() == ERROR_SUCCESS, + "GetLastError() returns %ld\n", GetLastError() ); + ok( ofs.cBytes == sizeof(OFSTRUCT), "OpenFile set ofs.cBytes to %d\n", ofs.cBytes ); + ok( ofs.nErrCode == ERROR_SUCCESS, "OpenFile set ofs.nErrCode to %d\n", ofs.nErrCode ); ret = CloseHandle((HANDLE)hFile); ok( ret == TRUE, "CloseHandle() returns %d\n", ret ); retval = GetFileAttributesA(filename); ok( retval != INVALID_FILE_ATTRIBUTES, "GetFileAttributesA: error %ld\n", GetLastError() ); - /* Check various opening options */ + memset(&ofs, 0xA5, sizeof(ofs)); + SetLastError(0xfaceabee); + /* Check various opening options: */ + /* for reading only, */ hFile = OpenFile(filename, &ofs, OF_READ); ok( hFile != HFILE_ERROR, "OpenFile failed on read\n" ); + ok( GetLastError() == 0xfaceabee || GetLastError() == ERROR_SUCCESS, + "GetLastError() returns %ld\n", GetLastError() ); + ok( ofs.cBytes == sizeof(OFSTRUCT), "OpenFile set ofs.cBytes to %d\n", ofs.cBytes ); + ok( ofs.nErrCode == ERROR_SUCCESS, "OpenFile set ofs.nErrCode to %d\n", ofs.nErrCode ); + ok( lstrcmpiA(ofs.szPathName, buff) == 0, + "OpenFile returned '%s', but was expected to return '%s'\n", ofs.szPathName, buff ); ret = CloseHandle((HANDLE)hFile); ok( ret == TRUE, "CloseHandle() returns %d\n", ret ); + memset(&ofs, 0xA5, sizeof(ofs)); + SetLastError(0xfaceabee); + /* for writing only, */ hFile = OpenFile(filename, &ofs, OF_WRITE); ok( hFile != HFILE_ERROR, "OpenFile failed on write\n" ); + ok( GetLastError() == 0xfaceabee || GetLastError() == ERROR_SUCCESS, + "GetLastError() returns %ld\n", GetLastError() ); + ok( ofs.cBytes == sizeof(OFSTRUCT), "OpenFile set ofs.cBytes to %d\n", ofs.cBytes ); + ok( ofs.nErrCode == ERROR_SUCCESS, "OpenFile set ofs.nErrCode to %d\n", ofs.nErrCode ); + ok( lstrcmpiA(ofs.szPathName, buff) == 0, + "OpenFile returned '%s', but was expected to return '%s'\n", ofs.szPathName, buff ); ret = CloseHandle((HANDLE)hFile); ok( ret == TRUE, "CloseHandle() returns %d\n", ret ); + memset(&ofs, 0xA5, sizeof(ofs)); + SetLastError(0xfaceabee); + /* for reading and writing, */ hFile = OpenFile(filename, &ofs, OF_READWRITE); ok( hFile != HFILE_ERROR, "OpenFile failed on read/write\n" ); + ok( GetLastError() == 0xfaceabee || GetLastError() == ERROR_SUCCESS, + "GetLastError() returns %ld\n", GetLastError() ); + ok( ofs.cBytes == sizeof(OFSTRUCT), "OpenFile set ofs.cBytes to %d\n", ofs.cBytes ); + ok( ofs.nErrCode == ERROR_SUCCESS, "OpenFile set ofs.nErrCode to %d\n", ofs.nErrCode ); + ok( lstrcmpiA(ofs.szPathName, buff) == 0, + "OpenFile returned '%s', but was expected to return '%s'\n", ofs.szPathName, buff ); ret = CloseHandle((HANDLE)hFile); ok( ret == TRUE, "CloseHandle() returns %d\n", ret ); + memset(&ofs, 0xA5, sizeof(ofs)); + SetLastError(0xfaceabee); + /* for checking file presence. */ hFile = OpenFile(filename, &ofs, OF_EXIST); ok( hFile == 1, "OpenFile failed on finding our created file\n" ); - + ok( GetLastError() == 0xfaceabee || GetLastError() == ERROR_SUCCESS, + "GetLastError() returns %ld\n", GetLastError() ); + ok( ofs.cBytes == sizeof(OFSTRUCT), "OpenFile set ofs.cBytes to %d\n", ofs.cBytes ); + ok( ofs.nErrCode == ERROR_SUCCESS, "OpenFile set ofs.nErrCode to %d\n", ofs.nErrCode ); + ok( lstrcmpiA(ofs.szPathName, buff) == 0, + "OpenFile returned '%s', but was expected to return '%s'\n", ofs.szPathName, buff ); + + memset(&ofs, 0xA5, sizeof(ofs)); + SetLastError(0xfaceabee); /* Delete the file and make sure it doesn't exist anymore */ hFile = OpenFile(filename, &ofs, OF_DELETE); ok( hFile == 1, "OpenFile failed on delete (%d)\n", hFile ); + ok( GetLastError() == 0xfaceabee || GetLastError() == ERROR_SUCCESS, + "GetLastError() returns %ld\n", GetLastError() ); + ok( ofs.cBytes == sizeof(OFSTRUCT), "OpenFile set ofs.cBytes to %d\n", ofs.cBytes ); + ok( ofs.nErrCode == ERROR_SUCCESS, "OpenFile set ofs.nErrCode to %d\n", ofs.nErrCode ); + ok( lstrcmpiA(ofs.szPathName, buff) == 0, + "OpenFile returned '%s', but was expected to return '%s'\n", ofs.szPathName, buff ); retval = GetFileAttributesA(filename); ok( retval == INVALID_FILE_ATTRIBUTES, "GetFileAttributesA succeeded on deleted file\n" );
1
0
0
0
Paul Vriens : wininet: Return NULL handle if no connection is established.
by Alexandre Julliard
06 Jul '06
06 Jul '06
Module: wine Branch: refs/heads/master Commit: 7687e0477c1eb041926710c01f696d09571af637 URL:
http://source.winehq.org/git/?p=wine.git;a=commit;h=7687e0477c1eb041926710c…
Author: Paul Vriens <Paul.Vriens(a)xs4all.nl> Date: Tue Jul 4 20:06:58 2006 +0200 wininet: Return NULL handle if no connection is established. --- dlls/wininet/ftp.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/dlls/wininet/ftp.c b/dlls/wininet/ftp.c index 7589a78..03540e6 100644 --- a/dlls/wininet/ftp.c +++ b/dlls/wininet/ftp.c @@ -1577,7 +1577,7 @@ lend: } /*********************************************************************** - * FTP_FtpRenameFileA (Internal) + * FTP_FtpRenameFileW (Internal) * * Rename a file on the ftp server * @@ -1806,6 +1806,7 @@ lerror: { HeapFree(GetProcessHeap(), 0, lpwfs); WININET_FreeHandle( handle ); + handle = NULL; lpwfs = NULL; }
1
0
0
0
Ivan Gyurdiev : wined3d: Clean up drawPrimitive/drawPrimitiveDrawStrided.
by Alexandre Julliard
06 Jul '06
06 Jul '06
Module: wine Branch: refs/heads/master Commit: 0472e9cd490a12c8eacdcdc2dff3223abc842e30 URL:
http://source.winehq.org/git/?p=wine.git;a=commit;h=0472e9cd490a12c8eacdcdc…
Author: Ivan Gyurdiev <ivg231(a)gmail.com> Date: Tue Jul 4 03:08:39 2006 -0600 wined3d: Clean up drawPrimitive/drawPrimitiveDrawStrided. --- dlls/wined3d/drawprim.c | 302 +++++++++++++++++++---------------------------- 1 files changed, 120 insertions(+), 182 deletions(-) Diff:
http://source.winehq.org/git/?p=wine.git;a=commitdiff;h=0472e9cd490a12c8eac…
1
0
0
0
Ivan Gyurdiev : wined3d: Implement FVF to DECL9 conversion (with tests).
by Alexandre Julliard
06 Jul '06
06 Jul '06
Module: wine Branch: refs/heads/master Commit: 1309844913ddca81ca0ead2b8a040de9766225d8 URL:
http://source.winehq.org/git/?p=wine.git;a=commit;h=1309844913ddca81ca0ead2…
Author: Ivan Gyurdiev <ivg231(a)gmail.com> Date: Tue Jul 4 02:53:13 2006 -0600 wined3d: Implement FVF to DECL9 conversion (with tests). --- dlls/d3d9/d3d9_private.h | 7 + dlls/d3d9/device.c | 22 ++ dlls/d3d9/tests/vertexdeclaration.c | 473 +++++++++++++++++++++++++++++++++++ dlls/d3d9/vertexdeclaration.c | 156 ++++++++++++ dlls/wined3d/device.c | 14 - 5 files changed, 657 insertions(+), 15 deletions(-) Diff:
http://source.winehq.org/git/?p=wine.git;a=commitdiff;h=1309844913ddca81ca0…
1
0
0
0
Ivan Gyurdiev : wined3d: Move register count pass to SetFunction.
by Alexandre Julliard
06 Jul '06
06 Jul '06
Module: wine Branch: refs/heads/master Commit: 276609e1e53f4636e8b1d5b03423f5691ae30eaf URL:
http://source.winehq.org/git/?p=wine.git;a=commit;h=276609e1e53f4636e8b1d5b…
Author: Ivan Gyurdiev <ivg231(a)gmail.com> Date: Tue Jul 4 02:01:46 2006 -0600 wined3d: Move register count pass to SetFunction. Move semantics pointers out of the reg_maps, make them persistent data in the shader (again, for future software shaders). --- dlls/wined3d/arb_program_shader.c | 12 +++++++----- dlls/wined3d/baseshader.c | 6 ++++-- dlls/wined3d/drawprim.c | 2 +- dlls/wined3d/glsl_shader.c | 12 ++++++------ dlls/wined3d/pixelshader.c | 32 +++++++++++++++----------------- dlls/wined3d/vertexshader.c | 33 +++++++++++++++------------------ dlls/wined3d/wined3d_private.h | 17 +++++++++-------- 7 files changed, 57 insertions(+), 57 deletions(-) Diff:
http://source.winehq.org/git/?p=wine.git;a=commitdiff;h=276609e1e53f4636e8b…
1
0
0
0
← Newer
1
...
74
75
76
77
78
79
80
...
86
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
Results per page:
10
25
50
100
200