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
January 2007
----- 2025 -----
April 2025
March 2025
February 2025
January 2025
----- 2024 -----
December 2024
November 2024
October 2024
September 2024
August 2024
July 2024
June 2024
May 2024
April 2024
March 2024
February 2024
January 2024
----- 2023 -----
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
----- 2022 -----
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
----- 2021 -----
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
----- 2020 -----
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
----- 2019 -----
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
----- 2018 -----
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
----- 2017 -----
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
----- 2016 -----
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
----- 2015 -----
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
----- 2014 -----
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
----- 2013 -----
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
----- 2012 -----
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
----- 2011 -----
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
----- 2010 -----
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
----- 2009 -----
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
----- 2008 -----
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
----- 2007 -----
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
----- 2006 -----
December 2006
November 2006
October 2006
September 2006
August 2006
July 2006
June 2006
May 2006
April 2006
March 2006
February 2006
January 2006
----- 2005 -----
December 2005
November 2005
October 2005
September 2005
August 2005
July 2005
June 2005
May 2005
April 2005
March 2005
February 2005
January 2005
----- 2004 -----
December 2004
November 2004
October 2004
September 2004
August 2004
July 2004
June 2004
May 2004
April 2004
March 2004
February 2004
January 2004
----- 2003 -----
December 2003
November 2003
October 2003
September 2003
August 2003
July 2003
June 2003
May 2003
April 2003
March 2003
February 2003
January 2003
----- 2002 -----
December 2002
November 2002
October 2002
September 2002
August 2002
July 2002
June 2002
May 2002
April 2002
March 2002
February 2002
January 2002
----- 2001 -----
December 2001
November 2001
October 2001
September 2001
August 2001
July 2001
June 2001
May 2001
April 2001
March 2001
February 2001
wine-commits@winehq.org
4 participants
893 discussions
Start a n
N
ew thread
Andrew Talbot : oledlg: Declare a function static.
by Alexandre Julliard
22 Jan '07
22 Jan '07
Module: wine Branch: master Commit: 1308d09808041b473e340b4f2c255f411b87266b URL:
http://source.winehq.org/git/wine.git/?a=commit;h=1308d09808041b473e340b4f2…
Author: Andrew Talbot <Andrew.Talbot(a)talbotville.com> Date: Sat Jan 20 16:52:22 2007 +0000 oledlg: Declare a function static. --- dlls/oledlg/insobjdlg.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/oledlg/insobjdlg.c b/dlls/oledlg/insobjdlg.c index 8928b35..e945a07 100644 --- a/dlls/oledlg/insobjdlg.c +++ b/dlls/oledlg/insobjdlg.c @@ -57,7 +57,7 @@ typedef struct } InsertObjectDlgInfo; -INT_PTR CALLBACK UIInsertObjectDlgProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam); +static INT_PTR CALLBACK UIInsertObjectDlgProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam); static LRESULT UIINSOBJDLG_OnWMCommand(HWND hwnd, WPARAM wParam, LPARAM lParam); static void UIINSERTOBJECTDLG_InitDialog(InsertObjectDlgInfo* pdlgInfo); static void UIINSERTOBJECTDLG_SelectCreateCtrl(InsertObjectDlgInfo* pdlgInfo);
1
0
0
0
Andrew Talbot : oleaut32: Declare some items static.
by Alexandre Julliard
22 Jan '07
22 Jan '07
Module: wine Branch: master Commit: d6fc116475efe301685f05866b4504abbd5eeea3 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=d6fc116475efe301685f05866…
Author: Andrew Talbot <Andrew.Talbot(a)talbotville.com> Date: Sat Jan 20 16:51:29 2007 +0000 oleaut32: Declare some items static. --- dlls/oleaut32/typelib.c | 2 +- dlls/oleaut32/typelib.h | 1 - dlls/oleaut32/variant.c | 2 +- dlls/oleaut32/variant.h | 2 -- 4 files changed, 2 insertions(+), 5 deletions(-) diff --git a/dlls/oleaut32/typelib.c b/dlls/oleaut32/typelib.c index 6c3b16a..0992683 100644 --- a/dlls/oleaut32/typelib.c +++ b/dlls/oleaut32/typelib.c @@ -1229,7 +1229,7 @@ static void dump_TLBImplType(const TLBIm } } -void dump_Variant(const VARIANT * pvar) +static void dump_Variant(const VARIANT * pvar) { SYSTEMTIME st; diff --git a/dlls/oleaut32/typelib.h b/dlls/oleaut32/typelib.h index c2ce2eb..fc1cba0 100644 --- a/dlls/oleaut32/typelib.h +++ b/dlls/oleaut32/typelib.h @@ -599,7 +599,6 @@ WORD typeofarray HRESULT ITypeInfoImpl_GetInternalFuncDesc( ITypeInfo *iface, UINT index, const FUNCDESC **ppFuncDesc ); extern DWORD _invoke(FARPROC func,CALLCONV callconv, int nrargs, DWORD *args); -extern void dump_Variant(const VARIANT * pvar); HRESULT TMARSHAL_DllGetClassObject(REFCLSID rclsid, REFIID iid,LPVOID *ppv); diff --git a/dlls/oleaut32/variant.c b/dlls/oleaut32/variant.c index 03c1537..37fdea2 100644 --- a/dlls/oleaut32/variant.c +++ b/dlls/oleaut32/variant.c @@ -1465,7 +1465,7 @@ HRESULT WINAPI VarUdateFromDate(DATE dat TRACE("lcid 0x%x, " #name "=%d '%c'\n", lcid, lpChars->name, lpChars->name) /* Get the valid number characters for an lcid */ -void VARIANT_GetLocalisedNumberChars(VARIANT_NUMBER_CHARS *lpChars, LCID lcid, DWORD dwFlags) +static void VARIANT_GetLocalisedNumberChars(VARIANT_NUMBER_CHARS *lpChars, LCID lcid, DWORD dwFlags) { static const VARIANT_NUMBER_CHARS defaultChars = { '-','+','.',',','$',0,'.',',' }; LCTYPE lctype = dwFlags & LOCALE_NOUSEROVERRIDE; diff --git a/dlls/oleaut32/variant.h b/dlls/oleaut32/variant.h index c5f2e5d..41f8a9a 100644 --- a/dlls/oleaut32/variant.h +++ b/dlls/oleaut32/variant.h @@ -123,5 +123,3 @@ typedef struct tagVARIANT_NUMBER_CHARS WCHAR cCurrencyDecimalPoint; WCHAR cCurrencyDigitSeparator; } VARIANT_NUMBER_CHARS; - -void VARIANT_GetLocalisedNumberChars(VARIANT_NUMBER_CHARS*,LCID,DWORD);
1
0
0
0
Detlef Riekenberg : kernel32/tests: GetVolumeNameForMountPoint not present before w2k.
by Alexandre Julliard
22 Jan '07
22 Jan '07
Module: wine Branch: master Commit: dc577ed68553b26eb2182ee2cfa00c3560c13e12 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=dc577ed68553b26eb2182ee2c…
Author: Detlef Riekenberg <wine.dev(a)web.de> Date: Sat Jan 20 12:46:34 2007 +0100 kernel32/tests: GetVolumeNameForMountPoint not present before w2k. --- dlls/kernel32/tests/volume.c | 38 ++++++++++++++++++++++++++++++-------- 1 files changed, 30 insertions(+), 8 deletions(-) diff --git a/dlls/kernel32/tests/volume.c b/dlls/kernel32/tests/volume.c index e940a4b..b673947 100644 --- a/dlls/kernel32/tests/volume.c +++ b/dlls/kernel32/tests/volume.c @@ -27,6 +27,12 @@ #define LANMAN "LANMANREDIRECTOR" #define RAMDISK "RAMDISK" +static HINSTANCE hdll; +static BOOL (WINAPI * pGetVolumeNameForVolumeMountPointA)(LPCSTR, LPSTR, DWORD); +static BOOL (WINAPI * pGetVolumeNameForVolumeMountPointW)(LPCWSTR, LPWSTR, DWORD); + +/* ############################### */ + static void test_query_dos_deviceA(void) { char drivestr[] = "a:"; @@ -51,18 +57,24 @@ static void test_GetVolumeNameForVolumeM char volume[MAX_PATH], path[] = "c:\\"; DWORD len = sizeof(volume); - ret = GetVolumeNameForVolumeMountPointA(path, volume, 0); + /* not present before w2k */ + if (!pGetVolumeNameForVolumeMountPointA) { + skip("GetVolumeNameForVolumeMountPointA not found\n"); + return; + } + + ret = pGetVolumeNameForVolumeMountPointA(path, volume, 0); ok(ret == FALSE, "GetVolumeNameForVolumeMountPointA succeeded\n"); if (0) { /* these crash on XP */ - ret = GetVolumeNameForVolumeMountPointA(path, NULL, len); + ret = pGetVolumeNameForVolumeMountPointA(path, NULL, len); ok(ret == FALSE, "GetVolumeNameForVolumeMountPointA succeeded\n"); - ret = GetVolumeNameForVolumeMountPointA(NULL, volume, len); + ret = pGetVolumeNameForVolumeMountPointA(NULL, volume, len); ok(ret == FALSE, "GetVolumeNameForVolumeMountPointA succeeded\n"); } - ret = GetVolumeNameForVolumeMountPointA(path, volume, len); + ret = pGetVolumeNameForVolumeMountPointA(path, volume, len); ok(ret == TRUE, "GetVolumeNameForVolumeMountPointA failed\n"); } @@ -72,23 +84,33 @@ static void test_GetVolumeNameForVolumeM WCHAR volume[MAX_PATH], path[] = {'c',':','\\',0}; DWORD len = sizeof(volume) / sizeof(WCHAR); - ret = GetVolumeNameForVolumeMountPointW(path, volume, 0); + /* not present before w2k */ + if (!pGetVolumeNameForVolumeMountPointW) { + skip("GetVolumeNameForVolumeMountPointW not found\n"); + return; + } + + ret = pGetVolumeNameForVolumeMountPointW(path, volume, 0); ok(ret == FALSE, "GetVolumeNameForVolumeMountPointA succeeded\n"); if (0) { /* these crash on XP */ - ret = GetVolumeNameForVolumeMountPointW(path, NULL, len); + ret = pGetVolumeNameForVolumeMountPointW(path, NULL, len); ok(ret == FALSE, "GetVolumeNameForVolumeMountPointW succeeded\n"); - ret = GetVolumeNameForVolumeMountPointW(NULL, volume, len); + ret = pGetVolumeNameForVolumeMountPointW(NULL, volume, len); ok(ret == FALSE, "GetVolumeNameForVolumeMountPointW succeeded\n"); } - ret = GetVolumeNameForVolumeMountPointW(path, volume, len); + ret = pGetVolumeNameForVolumeMountPointW(path, volume, len); ok(ret == TRUE, "GetVolumeNameForVolumeMountPointW failed\n"); } START_TEST(volume) { + hdll = GetModuleHandleA("kernel32.dll"); + pGetVolumeNameForVolumeMountPointA = (void *) GetProcAddress(hdll, "GetVolumeNameForVolumeMountPointA"); + pGetVolumeNameForVolumeMountPointW = (void *) GetProcAddress(hdll, "GetVolumeNameForVolumeMountPointW"); + test_query_dos_deviceA(); test_GetVolumeNameForVolumeMountPointA(); test_GetVolumeNameForVolumeMountPointW();
1
0
0
0
Detlef Riekenberg : kernel32/tests: VirtualAllocEx not present in Win95.
by Alexandre Julliard
22 Jan '07
22 Jan '07
Module: wine Branch: master Commit: 9b8f699a080ef0b921f629624ef3f7cf9037cc89 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=9b8f699a080ef0b921f629624…
Author: Detlef Riekenberg <wine.dev(a)web.de> Date: Sat Jan 20 12:44:35 2007 +0100 kernel32/tests: VirtualAllocEx not present in Win95. --- dlls/kernel32/tests/virtual.c | 36 ++++++++++++++++++++++++++---------- 1 files changed, 26 insertions(+), 10 deletions(-) diff --git a/dlls/kernel32/tests/virtual.c b/dlls/kernel32/tests/virtual.c index 5993a0c..bcff9c4 100644 --- a/dlls/kernel32/tests/virtual.c +++ b/dlls/kernel32/tests/virtual.c @@ -28,6 +28,12 @@ #define NUM_THREADS 4 +static HINSTANCE hkernel32; +static LPVOID (WINAPI *pVirtualAllocEx)(HANDLE, LPVOID, SIZE_T, DWORD, DWORD); +static BOOL (WINAPI *pVirtualFreeEx)(HANDLE, LPVOID, SIZE_T, DWORD); + +/* ############################### */ + static HANDLE create_target_process(const char *arg) { char **argv; @@ -55,15 +61,21 @@ static void test_VirtualAllocEx(void) MEMORY_BASIC_INFORMATION info; HANDLE hProcess; + /* not exported in all windows-versions */ + if ((!pVirtualAllocEx) || (!pVirtualFreeEx)) { + skip("VirtualAllocEx not found\n"); + return; + } + hProcess = create_target_process("sleep"); ok(hProcess != NULL, "Can't start process\n"); SetLastError(0xdeadbeef); - addr1 = VirtualAllocEx(hProcess, NULL, alloc_size, MEM_COMMIT, + addr1 = pVirtualAllocEx(hProcess, NULL, alloc_size, MEM_COMMIT, PAGE_EXECUTE_READWRITE); if (!addr1 && GetLastError() == ERROR_CALL_NOT_IMPLEMENTED) { /* Win9x */ - trace("VirtualAllocEx is not implemented, skipping the test\n"); + skip("VirtualAllocEx not implemented\n"); TerminateProcess(hProcess, 0); CloseHandle(hProcess); return; @@ -81,7 +93,7 @@ static void test_VirtualAllocEx(void) b = ReadProcessMemory(hProcess, addr1, dst, alloc_size, &bytes_read); ok(b && (bytes_read == alloc_size), "%lu bytes read\n", bytes_read); ok(!memcmp(src, dst, alloc_size), "Data from remote process differs\n"); - b = VirtualFreeEx(hProcess, addr1, 0, MEM_RELEASE); + b = pVirtualFreeEx(hProcess, addr1, 0, MEM_RELEASE); ok(b != 0, "VirtualFreeEx, error %u\n", GetLastError()); HeapFree( GetProcessHeap(), 0, src ); @@ -92,13 +104,13 @@ static void test_VirtualAllocEx(void) */ SetLastError(0xdeadbeef); - addr1 = VirtualAllocEx(hProcess, 0, 0, MEM_RESERVE, PAGE_NOACCESS); + addr1 = pVirtualAllocEx(hProcess, 0, 0, MEM_RESERVE, PAGE_NOACCESS); ok(addr1 == NULL, "VirtualAllocEx should fail on zero-sized allocation\n"); ok(GetLastError() == ERROR_INVALID_PARAMETER /* NT */ || GetLastError() == ERROR_NOT_ENOUGH_MEMORY, /* Win9x */ "got %u, expected ERROR_INVALID_PARAMETER\n", GetLastError()); - addr1 = VirtualAllocEx(hProcess, 0, 0xFFFC, MEM_RESERVE, PAGE_NOACCESS); + addr1 = pVirtualAllocEx(hProcess, 0, 0xFFFC, MEM_RESERVE, PAGE_NOACCESS); ok(addr1 != NULL, "VirtualAllocEx failed\n"); /* test a not committed memory */ @@ -122,7 +134,7 @@ static void test_VirtualAllocEx(void) GetLastError() == ERROR_INVALID_PARAMETER, /* Win9x */ "got %u, expected ERROR_INVALID_ADDRESS\n", GetLastError()); - addr2 = VirtualAllocEx(hProcess, addr1, 0x1000, MEM_COMMIT, PAGE_NOACCESS); + addr2 = pVirtualAllocEx(hProcess, addr1, 0x1000, MEM_COMMIT, PAGE_NOACCESS); ok(addr1 == addr2, "VirtualAllocEx failed\n"); /* test a committed memory */ @@ -153,20 +165,20 @@ static void test_VirtualAllocEx(void) ok(VirtualProtectEx(hProcess, addr1, 0x1000, PAGE_READWRITE, &old_prot), "VirtualProtectEx failed\n"); ok(old_prot == PAGE_READONLY, "wrong old protection: got %04x instead of PAGE_READONLY\n", old_prot); - ok(!VirtualFreeEx(hProcess, addr1, 0x10000, 0), + ok(!pVirtualFreeEx(hProcess, addr1, 0x10000, 0), "VirtualFreeEx should fail with type 0\n"); ok(GetLastError() == ERROR_INVALID_PARAMETER, "got %u, expected ERROR_INVALID_PARAMETER\n", GetLastError()); - ok(VirtualFreeEx(hProcess, addr1, 0x10000, MEM_DECOMMIT), "VirtualFreeEx failed\n"); + ok(pVirtualFreeEx(hProcess, addr1, 0x10000, MEM_DECOMMIT), "VirtualFreeEx failed\n"); /* if the type is MEM_RELEASE, size must be 0 */ - ok(!VirtualFreeEx(hProcess, addr1, 1, MEM_RELEASE), + ok(!pVirtualFreeEx(hProcess, addr1, 1, MEM_RELEASE), "VirtualFreeEx should fail\n"); ok(GetLastError() == ERROR_INVALID_PARAMETER, "got %u, expected ERROR_INVALID_PARAMETER\n", GetLastError()); - ok(VirtualFreeEx(hProcess, addr1, 0, MEM_RELEASE), "VirtualFreeEx failed\n"); + ok(pVirtualFreeEx(hProcess, addr1, 0, MEM_RELEASE), "VirtualFreeEx failed\n"); TerminateProcess(hProcess, 0); CloseHandle(hProcess); @@ -495,6 +507,10 @@ START_TEST(virtual) return; } + hkernel32 = GetModuleHandleA("kernel32.dll"); + pVirtualAllocEx = (void *) GetProcAddress(hkernel32, "VirtualAllocEx"); + pVirtualFreeEx = (void *) GetProcAddress(hkernel32, "VirtualFreeEx"); + test_VirtualAllocEx(); test_VirtualAlloc(); test_MapViewOfFile();
1
0
0
0
Detlef Riekenberg : kernel32/tests: Fix a declaration and use skip for the message.
by Alexandre Julliard
22 Jan '07
22 Jan '07
Module: wine Branch: master Commit: fb9df99dc0a6fc920fe625311316a3802b9edaef URL:
http://source.winehq.org/git/wine.git/?a=commit;h=fb9df99dc0a6fc920fe625311…
Author: Detlef Riekenberg <wine.dev(a)web.de> Date: Sat Jan 20 12:38:14 2007 +0100 kernel32/tests: Fix a declaration and use skip for the message. --- dlls/kernel32/tests/process.c | 12 ++++++++---- 1 files changed, 8 insertions(+), 4 deletions(-) diff --git a/dlls/kernel32/tests/process.c b/dlls/kernel32/tests/process.c index 8e782f1..162a622 100644 --- a/dlls/kernel32/tests/process.c +++ b/dlls/kernel32/tests/process.c @@ -33,8 +33,9 @@ static HINSTANCE hkernel32; static LPVOID (WINAPI *pVirtualAllocEx)(HANDLE, LPVOID, SIZE_T, DWORD, DWORD); -static LPVOID (WINAPI *pVirtualFreeEx)(HANDLE, LPVOID, SIZE_T, DWORD); +static BOOL (WINAPI *pVirtualFreeEx)(HANDLE, LPVOID, SIZE_T, DWORD); +/* ############################### */ static char base[MAX_PATH]; static char selfname[MAX_PATH]; static char* exename; @@ -1302,8 +1303,11 @@ static void test_OpenProcess(void) MEMORY_BASIC_INFORMATION info; SIZE_T dummy, read_bytes; - /* Not implemented in all windows versions */ - if ((!pVirtualAllocEx) || (!pVirtualFreeEx)) return; + /* not exported in all windows versions */ + if ((!pVirtualAllocEx) || (!pVirtualFreeEx)) { + skip("VirtualAllocEx not found\n"); + return; + } /* without PROCESS_VM_OPERATION */ hproc = OpenProcess(PROCESS_ALL_ACCESS & ~PROCESS_VM_OPERATION, FALSE, GetCurrentProcessId()); @@ -1315,7 +1319,7 @@ static void test_OpenProcess(void) if (GetLastError() == ERROR_CALL_NOT_IMPLEMENTED) { /* Win9x */ CloseHandle(hproc); - trace("VirtualAllocEx is not implemented, skipping the test\n"); + skip("VirtualAllocEx not implemented\n"); return; } ok(GetLastError() == ERROR_ACCESS_DENIED, "wrong error %d\n", GetLastError());
1
0
0
0
Dmitry Timoshkov : comctl32: Fix the updown control test to pass under XP.
by Alexandre Julliard
22 Jan '07
22 Jan '07
Module: wine Branch: master Commit: 105cf6b28234ba16f877cbe147f8442eed505dd4 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=105cf6b28234ba16f877cbe14…
Author: Dmitry Timoshkov <dmitry(a)codeweavers.com> Date: Sat Jan 20 17:09:43 2007 +0800 comctl32: Fix the updown control test to pass under XP. --- dlls/comctl32/tests/updown.c | 13 +++++++++++-- 1 files changed, 11 insertions(+), 2 deletions(-) diff --git a/dlls/comctl32/tests/updown.c b/dlls/comctl32/tests/updown.c index e0b8131..9a9c493 100644 --- a/dlls/comctl32/tests/updown.c +++ b/dlls/comctl32/tests/updown.c @@ -109,6 +109,7 @@ static const struct message create_paren { WM_SETFOCUS, sent|wparam|defwinproc, 0 }, /* Win9x adds SWP_NOZORDER below */ { WM_WINDOWPOSCHANGED, sent, /*|wparam, SWP_SHOWWINDOW|SWP_NOSIZE|SWP_NOMOVE|SWP_NOCLIENTSIZE|SWP_NOCLIENTMOVE*/ }, + { WM_NCCALCSIZE, sent|wparam|optional, 1 }, { WM_SIZE, sent }, { WM_MOVE, sent }, { 0 } @@ -123,7 +124,7 @@ static const struct message add_updown_w { WM_WINDOWPOSCHANGING, sent }, { WM_NCCALCSIZE, sent|wparam, TRUE }, { WM_WINDOWPOSCHANGED, sent }, - { WM_SIZE, sent|wparam|lparam|defwinproc, SIZE_RESTORED, MAKELONG(91, 75) }, + { WM_SIZE, sent|wparam|defwinproc, SIZE_RESTORED /*, MAKELONG(91, 75) exact size depends on font */ }, { 0 } }; @@ -202,6 +203,8 @@ static void ok_sequence_(int sequence_in while (expected->message && actual->message) { + trace_( file, line)("expected %04x - actual %04x\n", expected->message, actual->message); + if (expected->message == actual->message) { if (expected->flags & wparam) @@ -356,6 +359,8 @@ static LRESULT WINAPI parent_wnd_proc(HW message != WM_GETICON && message != WM_DEVICECHANGE) { + trace("parent: %p, %04x, %08x, %08lx\n", hwnd, message, wParam, lParam); + msg.message = message; msg.flags = sent|wparam|lparam; if (defwndproc_counter) msg.flags |= defwinproc; @@ -413,6 +418,8 @@ static LRESULT WINAPI edit_subclass_proc LRESULT ret; struct message msg; + trace("edit: %p, %04x, %08x, %08lx\n", hwnd, message, wParam, lParam); + msg.message = message; msg.flags = sent|wparam|lparam; if (defwndproc_counter) msg.flags |= defwinproc; @@ -459,6 +466,8 @@ static LRESULT WINAPI updown_subclass_pr LRESULT ret; struct message msg; + trace("updown: %p, %04x, %08x, %08lx\n", hwnd, message, wParam, lParam); + msg.message = message; msg.flags = sent|wparam|lparam; if (defwndproc_counter) msg.flags |= defwinproc; @@ -519,7 +528,7 @@ static void test_create_updown_control(v updown = create_updown_control(); ok(updown != NULL, "Failed to create updown control\n"); ok_sequence(PARENT_SEQ_INDEX, add_updown_to_parent_seq, "add updown control to parent", TRUE); - ok_sequence(EDIT_SEQ_INDEX, add_updown_with_edit_seq, "add updown control with edit", TRUE); + ok_sequence(EDIT_SEQ_INDEX, add_updown_with_edit_seq, "add updown control with edit", FALSE); flush_sequences();
1
0
0
0
Hans Leidekker : mlang: Implement IMultiLanguage::GetCodePageInfo.
by Alexandre Julliard
22 Jan '07
22 Jan '07
Module: wine Branch: master Commit: 4275a093c175678a880316fdb4f492a51c273e0b URL:
http://source.winehq.org/git/wine.git/?a=commit;h=4275a093c175678a880316fdb…
Author: Hans Leidekker <hans(a)it.vu.nl> Date: Sat Jan 20 10:52:57 2007 +0100 mlang: Implement IMultiLanguage::GetCodePageInfo. --- dlls/mlang/mlang.c | 20 ++++++++++++++++++-- 1 files changed, 18 insertions(+), 2 deletions(-) diff --git a/dlls/mlang/mlang.c b/dlls/mlang/mlang.c index f290426..8c20bc4 100644 --- a/dlls/mlang/mlang.c +++ b/dlls/mlang/mlang.c @@ -1497,8 +1497,24 @@ static HRESULT WINAPI fnIMultiLanguage_G UINT uiCodePage, PMIMECPINFO pCodePageInfo) { - FIXME("\n"); - return E_NOTIMPL; + UINT i, n; + + ICOM_THIS_MULTI(MLang_impl, vtbl_IMultiLanguage, iface); + TRACE("%p, %u, %p\n", This, uiCodePage, pCodePageInfo); + + for (i = 0; i < sizeof(mlang_data)/sizeof(mlang_data[0]); i++) + { + for (n = 0; n < mlang_data[i].number_of_cp; n++) + { + if (mlang_data[i].mime_cp_info[n].cp == uiCodePage) + { + fill_cp_info(&mlang_data[i], n, pCodePageInfo); + return S_OK; + } + } + } + + return S_FALSE; } static HRESULT WINAPI fnIMultiLanguage_GetFamilyCodePage(
1
0
0
0
Vitaliy Margolen : server: User correct user sid for the default_dacl.
by Alexandre Julliard
22 Jan '07
22 Jan '07
Module: wine Branch: master Commit: 97b122c03f2eb46a2bb18e47461541f7d97ecbef URL:
http://source.winehq.org/git/wine.git/?a=commit;h=97b122c03f2eb46a2bb18e474…
Author: Vitaliy Margolen <wine-patches(a)kievinfo.com> Date: Fri Jan 19 12:28:59 2007 -0700 server: User correct user sid for the default_dacl. --- server/token.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/server/token.c b/server/token.c index b84c91b..c27e73b 100644 --- a/server/token.c +++ b/server/token.c @@ -542,7 +542,8 @@ struct token *token_create_admin( void ) static const unsigned int alias_users_subauth[] = { SECURITY_BUILTIN_DOMAIN_RID, DOMAIN_ALIAS_RID_USERS }; PSID alias_admins_sid; PSID alias_users_sid; - ACL *default_dacl = create_default_dacl( &local_system_sid ); + /* note: should be the owner specified in the token */ + ACL *default_dacl = create_default_dacl( &interactive_sid ); alias_admins_sid = security_sid_alloc( &nt_authority, sizeof(alias_admins_subauth)/sizeof(alias_admins_subauth[0]), alias_admins_subauth );
1
0
0
0
Rob Shearman : kernel32: Handle the SECURITY_* flags passed into CreateFileW by filling out the SECURITY_QUALITY_OF_SERVICE structure and passing it to NtCreateFile .
by Alexandre Julliard
22 Jan '07
22 Jan '07
Module: wine Branch: master Commit: 8132707bce02a70dab50062d7f038380ed885179 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=8132707bce02a70dab50062d7…
Author: Rob Shearman <rob(a)codeweavers.com> Date: Fri Jan 19 07:00:29 2007 -0600 kernel32: Handle the SECURITY_* flags passed into CreateFileW by filling out the SECURITY_QUALITY_OF_SERVICE structure and passing it to NtCreateFile. Print a fixme in NtCreateFile if the SECURITY_QUALITY_OF_SERVICE structure is specified, since it isn't handled yet. --- dlls/kernel32/file.c | 12 +++++++++++- dlls/ntdll/file.c | 4 ++++ 2 files changed, 15 insertions(+), 1 deletions(-) diff --git a/dlls/kernel32/file.c b/dlls/kernel32/file.c index 5a0c5cb..f92d37a 100644 --- a/dlls/kernel32/file.c +++ b/dlls/kernel32/file.c @@ -1281,6 +1281,7 @@ HANDLE WINAPI CreateFileW( LPCWSTR filen static const WCHAR bkslashes_with_dotW[] = {'\\','\\','.','\\',0}; static const WCHAR coninW[] = {'C','O','N','I','N','$',0}; static const WCHAR conoutW[] = {'C','O','N','O','U','T','$',0}; + SECURITY_QUALITY_OF_SERVICE qos; static const UINT nt_disposition[5] = { @@ -1406,7 +1407,16 @@ HANDLE WINAPI CreateFileW( LPCWSTR filen attr.Attributes = OBJ_CASE_INSENSITIVE; attr.ObjectName = &nameW; attr.SecurityDescriptor = sa ? sa->lpSecurityDescriptor : NULL; - attr.SecurityQualityOfService = NULL; + if (attributes & SECURITY_SQOS_PRESENT) + { + qos.Length = sizeof(qos); + qos.ImpersonationLevel = (attributes >> 16) & 0x3; + qos.ContextTrackingMode = attributes & SECURITY_CONTEXT_TRACKING ? SECURITY_DYNAMIC_TRACKING : SECURITY_STATIC_TRACKING; + qos.EffectiveOnly = attributes & SECURITY_EFFECTIVE_ONLY ? TRUE : FALSE; + attr.SecurityQualityOfService = &qos; + } + else + attr.SecurityQualityOfService = NULL; if (sa && sa->bInheritHandle) attr.Attributes |= OBJ_INHERIT; diff --git a/dlls/ntdll/file.c b/dlls/ntdll/file.c index a79d227..a9b9142 100644 --- a/dlls/ntdll/file.c +++ b/dlls/ntdll/file.c @@ -162,6 +162,8 @@ NTSTATUS WINAPI NtCreateFile( PHANDLE ha if (attr->ObjectName->Length > sizeof(pipeW) && !memicmpW( attr->ObjectName->Buffer, pipeW, sizeof(pipeW)/sizeof(WCHAR) )) { + if (attr->SecurityQualityOfService) + FIXME("SecurityQualityOfService ignored\n"); SERVER_START_REQ( open_named_pipe ) { req->access = access; @@ -182,6 +184,8 @@ NTSTATUS WINAPI NtCreateFile( PHANDLE ha if (attr->ObjectName->Length > sizeof(mailslotW) && !memicmpW( attr->ObjectName->Buffer, mailslotW, sizeof(mailslotW)/sizeof(WCHAR) )) { + if (attr->SecurityQualityOfService) + FIXME("SecurityQualityOfService ignored\n"); SERVER_START_REQ( open_mailslot ) { req->access = access & GENERIC_WRITE;
1
0
0
0
Rob Shearman : rpcrt4: Handle security quality of service flags relevant to the ncacn_np protocol .
by Alexandre Julliard
22 Jan '07
22 Jan '07
Module: wine Branch: master Commit: 0debcf5b1e1525b189918458044a6a6b4ddbe604 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=0debcf5b1e1525b1899184580…
Author: Rob Shearman <rob(a)codeweavers.com> Date: Fri Jan 19 07:01:23 2007 -0600 rpcrt4: Handle security quality of service flags relevant to the ncacn_np protocol. --- dlls/rpcrt4/rpc_transport.c | 27 ++++++++++++++++++++++++++- 1 files changed, 26 insertions(+), 1 deletions(-) diff --git a/dlls/rpcrt4/rpc_transport.c b/dlls/rpcrt4/rpc_transport.c index 7f6d8a2..9c07d7d 100644 --- a/dlls/rpcrt4/rpc_transport.c +++ b/dlls/rpcrt4/rpc_transport.c @@ -162,8 +162,33 @@ static RPC_STATUS rpcrt4_conn_open_pipe( TRACE("connecting to %s\n", pname); while (TRUE) { + DWORD dwFlags = 0; + if (Connection->QOS) + { + switch (Connection->QOS->qos->ImpersonationType) + { + dwFlags = SECURITY_SQOS_PRESENT; + case RPC_C_IMP_LEVEL_DEFAULT: + /* FIXME: what to do here? */ + break; + case RPC_C_IMP_LEVEL_ANONYMOUS: + dwFlags |= SECURITY_ANONYMOUS; + break; + case RPC_C_IMP_LEVEL_IDENTIFY: + dwFlags |= SECURITY_IDENTIFICATION; + break; + case RPC_C_IMP_LEVEL_IMPERSONATE: + dwFlags |= SECURITY_IMPERSONATION; + break; + case RPC_C_IMP_LEVEL_DELEGATE: + dwFlags |= SECURITY_DELEGATION; + break; + } + if (Connection->QOS->qos->IdentityTracking == RPC_C_QOS_IDENTIFY_DYNAMIC) + dwFlags |= SECURITY_CONTEXT_TRACKING; + } pipe = CreateFileA(pname, GENERIC_READ|GENERIC_WRITE, 0, NULL, - OPEN_EXISTING, 0, 0); + OPEN_EXISTING, dwFlags, 0); if (pipe != INVALID_HANDLE_VALUE) break; err = GetLastError(); if (err == ERROR_PIPE_BUSY) {
1
0
0
0
← Newer
1
...
15
16
17
18
19
20
21
...
90
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
Results per page:
10
25
50
100
200