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
June 2008
----- 2025 -----
February 2025
January 2025
----- 2024 -----
December 2024
November 2024
October 2024
September 2024
August 2024
July 2024
June 2024
May 2024
April 2024
March 2024
February 2024
January 2024
----- 2023 -----
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
----- 2022 -----
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
----- 2021 -----
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
----- 2020 -----
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
----- 2019 -----
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
----- 2018 -----
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
----- 2017 -----
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
----- 2016 -----
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
----- 2015 -----
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
----- 2014 -----
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
----- 2013 -----
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
----- 2012 -----
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
----- 2011 -----
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
----- 2010 -----
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
----- 2009 -----
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
----- 2008 -----
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
----- 2007 -----
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
----- 2006 -----
December 2006
November 2006
October 2006
September 2006
August 2006
July 2006
June 2006
May 2006
April 2006
March 2006
February 2006
January 2006
----- 2005 -----
December 2005
November 2005
October 2005
September 2005
August 2005
July 2005
June 2005
May 2005
April 2005
March 2005
February 2005
January 2005
----- 2004 -----
December 2004
November 2004
October 2004
September 2004
August 2004
July 2004
June 2004
May 2004
April 2004
March 2004
February 2004
January 2004
----- 2003 -----
December 2003
November 2003
October 2003
September 2003
August 2003
July 2003
June 2003
May 2003
April 2003
March 2003
February 2003
January 2003
----- 2002 -----
December 2002
November 2002
October 2002
September 2002
August 2002
July 2002
June 2002
May 2002
April 2002
March 2002
February 2002
January 2002
----- 2001 -----
December 2001
November 2001
October 2001
September 2001
August 2001
July 2001
June 2001
May 2001
April 2001
March 2001
February 2001
wine-commits@winehq.org
3 participants
944 discussions
Start a n
N
ew thread
Marcus Meissner : ws2_32/tests: Initialize memory to send.
by Alexandre Julliard
21 Jun '08
21 Jun '08
Module: wine Branch: master Commit: fb140649f4aa923e0aaa63107c2806dc7e78a645 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=fb140649f4aa923e0aaa63107…
Author: Marcus Meissner <marcus(a)jet.franken.de> Date: Sat Jun 21 10:32:12 2008 +0200 ws2_32/tests: Initialize memory to send. --- dlls/ws2_32/tests/sock.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/ws2_32/tests/sock.c b/dlls/ws2_32/tests/sock.c index 2e0ee28..79d2aeb 100644 --- a/dlls/ws2_32/tests/sock.c +++ b/dlls/ws2_32/tests/sock.c @@ -2021,7 +2021,7 @@ static void test_send(void) goto end; } - buffer = HeapAlloc(GetProcessHeap(), 0, buflen); + buffer = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, buflen); if (buffer == NULL) { ok(0, "HeapAlloc failed, error %d\n", GetLastError());
1
0
0
0
Andrew Talbot : wineps.drv: Use const-correct GetPrinterDataEx() instead of GetPrinterData().
by Alexandre Julliard
21 Jun '08
21 Jun '08
Module: wine Branch: master Commit: 901969f62483afaf249268a6f65f47b54d924279 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=901969f62483afaf249268a6f…
Author: Andrew Talbot <andrew.talbot(a)talbotville.com> Date: Fri Jun 20 17:38:38 2008 +0100 wineps.drv: Use const-correct GetPrinterDataEx() instead of GetPrinterData(). --- dlls/wineps.drv/init.c | 12 +++++------- 1 files changed, 5 insertions(+), 7 deletions(-) diff --git a/dlls/wineps.drv/init.c b/dlls/wineps.drv/init.c index 5b85c45..61e31d8 100644 --- a/dlls/wineps.drv/init.c +++ b/dlls/wineps.drv/init.c @@ -538,7 +538,6 @@ PRINTERINFO *PSDRV_FindPrinterInfo(LPCSTR name) char* ppdFileName = NULL; HKEY hkey; BOOL using_default_devmode = FALSE; - static CHAR paper_size[] = "Paper Size"; TRACE("'%s'\n", name); @@ -606,12 +605,11 @@ PRINTERINFO *PSDRV_FindPrinterInfo(LPCSTR name) } #endif if (!ppdFileName) { - static CHAR ppd_file[] = "PPD File"; - - res = GetPrinterDataA(hPrinter, ppd_file, NULL, NULL, 0, &needed); + res = GetPrinterDataExA(hPrinter, "PrinterDriverData", "PPD File", NULL, NULL, 0, &needed); if ((res==ERROR_SUCCESS) || (res==ERROR_MORE_DATA)) { ppdFileName=HeapAlloc(PSDRV_Heap, 0, needed); - res = GetPrinterDataA(hPrinter, ppd_file, &ppdType, (LPBYTE)ppdFileName, needed, &needed); + res = GetPrinterDataExA(hPrinter, "PrinterDriverData", "PPD File", &ppdType, + (LPBYTE)ppdFileName, needed, &needed); } } /* Look for a ppd file for this printer in the config file. @@ -706,8 +704,8 @@ PRINTERINFO *PSDRV_FindPrinterInfo(LPCSTR name) * the Devmode structure, but Wine doesn't currently provide a convenient * way to configure printers. */ - res = GetPrinterDataA (hPrinter, paper_size, NULL, (LPBYTE) &dwPaperSize, - sizeof (DWORD), &needed); + res = GetPrinterDataExA(hPrinter, "PrinterDriverData", "Paper Size", NULL, + (LPBYTE)&dwPaperSize, sizeof(DWORD), &needed); if (res == ERROR_SUCCESS) pi->Devmode->dmPublic.u1.s1.dmPaperSize = (SHORT) dwPaperSize; else if (res == ERROR_FILE_NOT_FOUND)
1
0
0
0
Maarten Lankhorst : include: Add definitions for VMR-9 interface.
by Alexandre Julliard
21 Jun '08
21 Jun '08
Module: wine Branch: master Commit: da92dcec66f34aa6d0d02812be855295f08938e2 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=da92dcec66f34aa6d0d02812b…
Author: Maarten Lankhorst <m.b.lankhorst(a)gmail.com> Date: Tue Jun 10 16:49:21 2008 +0200 include: Add definitions for VMR-9 interface. --- .gitignore | 1 + dlls/strmiids/strmiids.c | 3 + include/Makefile.in | 1 + include/uuids.h | 1 + include/vmr9.idl | 525 ++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 531 insertions(+), 0 deletions(-) Diff:
http://source.winehq.org/git/wine.git/?a=commitdiff;h=da92dcec66f34aa6d0d02…
1
0
0
0
Dan Hipschman : gdi32: Add tests for GetTextFace.
by Alexandre Julliard
21 Jun '08
21 Jun '08
Module: wine Branch: master Commit: c1480126b10ba3fe5c14242ee15e75eead3e4186 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=c1480126b10ba3fe5c14242ee…
Author: Dan Hipschman <dsh(a)linux.ucla.edu> Date: Thu Jun 19 15:59:57 2008 -0700 gdi32: Add tests for GetTextFace. Currently only GetTextFaceA is tested, and in an ancillary way, and the behavior differs from GetTextFaceW. --- dlls/gdi32/tests/font.c | 93 ++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 91 insertions(+), 2 deletions(-) diff --git a/dlls/gdi32/tests/font.c b/dlls/gdi32/tests/font.c index 710148a..c67c7b6 100644 --- a/dlls/gdi32/tests/font.c +++ b/dlls/gdi32/tests/font.c @@ -1097,8 +1097,8 @@ static BOOL get_glyph_indices(INT charset, UINT code_page, WORD *idx, UINT count ok(cs == charset, "expected %d, got %d\n", charset, cs); SetLastError(0xdeadbeef); - ret = GetTextFace(hdc, sizeof(name), name); - ok(ret, "GetTextFace error %u\n", GetLastError()); + ret = GetTextFaceA(hdc, sizeof(name), name); + ok(ret, "GetTextFaceA error %u\n", GetLastError()); if (charset == SYMBOL_CHARSET) { @@ -1930,6 +1930,94 @@ static void test_GdiRealizationInfo(void) ReleaseDC(0, hdc); } +/* Tests on XP SP2 show that the ANSI version of GetTextFace does NOT include + the nul in the count of characters copied when the face name buffer is not + NULL, whereas it does if the buffer is NULL. Further, the Unicode version + always includes it. */ +static void test_GetTextFace(void) +{ + static const char faceA[] = "Tahoma"; + static const WCHAR faceW[] = {'T','a','h','o','m','a', 0}; + LOGFONTA fA = {0}; + LOGFONTW fW = {0}; + char bufA[LF_FACESIZE]; + WCHAR bufW[LF_FACESIZE]; + HFONT f, g; + HDC dc; + int n; + + /* 'A' case. */ + memcpy(fA.lfFaceName, faceA, sizeof faceA); + f = CreateFontIndirectA(&fA); + ok(f != NULL, "CreateFontIndirectA failed\n"); + + dc = GetDC(NULL); + g = SelectObject(dc, f); + n = GetTextFaceA(dc, sizeof bufA, bufA); + ok(n == sizeof faceA - 1, "GetTextFaceA returned %d\n", n); + ok(lstrcmpA(faceA, bufA) == 0, "GetTextFaceA\n"); + + /* Play with the count arg. */ + bufA[0] = 'x'; + n = GetTextFaceA(dc, 0, bufA); + todo_wine + ok(n == 0, "GetTextFaceA returned %d\n", n); + ok(bufA[0] == 'x', "GetTextFaceA buf[0] == %d\n", bufA[0]); + + bufA[0] = 'x'; + n = GetTextFaceA(dc, 1, bufA); + ok(n == 0, "GetTextFaceA returned %d\n", n); + ok(bufA[0] == '\0', "GetTextFaceA buf[0] == %d\n", bufA[0]); + + bufA[0] = 'x'; bufA[1] = 'y'; + n = GetTextFaceA(dc, 2, bufA); + ok(n == 1, "GetTextFaceA returned %d\n", n); + ok(bufA[0] == faceA[0] && bufA[1] == '\0', "GetTextFaceA didn't copy\n"); + + n = GetTextFaceA(dc, 0, NULL); + ok(n == sizeof faceA, "GetTextFaceA returned %d\n", n); + + DeleteObject(SelectObject(dc, g)); + ReleaseDC(NULL, dc); + + /* 'W' case. */ + memcpy(fW.lfFaceName, faceW, sizeof faceW); + f = CreateFontIndirectW(&fW); + ok(f != NULL, "CreateFontIndirectW failed\n"); + + dc = GetDC(NULL); + g = SelectObject(dc, f); + n = GetTextFaceW(dc, sizeof bufW / sizeof bufW[0], bufW); + todo_wine + ok(n == sizeof faceW / sizeof faceW[0], "GetTextFaceW returned %d\n", n); + ok(lstrcmpW(faceW, bufW) == 0, "GetTextFaceW\n"); + + /* Play with the count arg. */ + bufW[0] = 'x'; + n = GetTextFaceW(dc, 0, bufW); + todo_wine + ok(n == 0, "GetTextFaceW returned %d\n", n); + ok(bufW[0] == 'x', "GetTextFaceW buf[0] == %d\n", bufW[0]); + + bufW[0] = 'x'; + n = GetTextFaceW(dc, 1, bufW); + todo_wine + ok(n == 1, "GetTextFaceW returned %d\n", n); + ok(bufW[0] == '\0', "GetTextFaceW buf[0] == %d\n", bufW[0]); + + bufW[0] = 'x'; bufW[1] = 'y'; + n = GetTextFaceW(dc, 2, bufW); + todo_wine + ok(n == 2, "GetTextFaceW returned %d\n", n); + ok(bufW[0] == faceW[0] && bufW[1] == '\0', "GetTextFaceW didn't copy\n"); + + n = GetTextFaceW(dc, 0, NULL); + ok(n == sizeof faceW / sizeof faceW[0], "GetTextFaceW returned %d\n", n); + + DeleteObject(SelectObject(dc, g)); + ReleaseDC(NULL, dc); +} + START_TEST(font) { init(); @@ -1964,4 +2052,5 @@ START_TEST(font) skip("Arial Black or Symbol/Wingdings is not installed\n"); test_GetTextMetrics(); test_GdiRealizationInfo(); + test_GetTextFace(); }
1
0
0
0
Lei Zhang : gdi32: Check for regular fonts by style instead of style name.
by Alexandre Julliard
21 Jun '08
21 Jun '08
Module: wine Branch: master Commit: 71ed7573aaa532eecae32a90136a4e0cb67a599a URL:
http://source.winehq.org/git/wine.git/?a=commit;h=71ed7573aaa532eecae32a901…
Author: Lei Zhang <thestig(a)google.com> Date: Thu Jun 19 14:57:46 2008 -0700 gdi32: Check for regular fonts by style instead of style name. --- dlls/gdi32/freetype.c | 8 +++----- 1 files changed, 3 insertions(+), 5 deletions(-) diff --git a/dlls/gdi32/freetype.c b/dlls/gdi32/freetype.c index 8bcb487..359eb6d 100644 --- a/dlls/gdi32/freetype.c +++ b/dlls/gdi32/freetype.c @@ -360,8 +360,6 @@ static const WCHAR defSerif[] = {'T','i','m','e','s',' ','N','e','w',' ','R','o' static const WCHAR defSans[] = {'A','r','i','a','l','\0'}; static const WCHAR defFixed[] = {'C','o','u','r','i','e','r',' ','N','e','w','\0'}; -static const WCHAR RegularW[] = {'R','e','g','u','l','a','r','\0'}; - static const WCHAR fontsW[] = {'\\','f','o','n','t','s','\0'}; static const WCHAR win9x_font_reg_key[] = {'S','o','f','t','w','a','r','e','\\','M','i','c','r','o','s','o','f','t','\\', 'W','i','n','d','o','w','s','\\', @@ -1945,7 +1943,7 @@ static void update_reg_entries(void) face = LIST_ENTRY(face_elem_ptr, Face, entry); if(!face->external) continue; len = len_fam; - if(strcmpiW(face->StyleName, RegularW)) + if (!(face->ntmFlags & NTM_REGULAR)) len = len_fam + strlenW(face->StyleName) + 1; valueW = HeapAlloc(GetProcessHeap(), 0, len * sizeof(WCHAR)); strcpyW(valueW, family->FamilyName); @@ -4849,7 +4847,7 @@ UINT WineEngGetOutlineTextMetrics(GdiFont *font, UINT cbSize, needed += lenfam; /* length of otmpFaceName */ - if(!strcasecmp(ft_face->style_name, "regular")) { + if ((ft_face->style_flags & (FT_STYLE_FLAG_ITALIC | FT_STYLE_FLAG_BOLD)) == 0) { needed += lenfam; /* just the family name */ } else { needed += lenfam + lensty; /* family + " " + style */ @@ -5047,7 +5045,7 @@ UINT WineEngGetOutlineTextMetrics(GdiFont *font, UINT cbSize, cp += lensty; font->potm->otmpFaceName = (LPSTR)(cp - (char*)font->potm); strcpyW((WCHAR*)cp, family_nameW); - if(strcasecmp(ft_face->style_name, "regular")) { + if (ft_face->style_flags & (FT_STYLE_FLAG_ITALIC | FT_STYLE_FLAG_BOLD)) { strcatW((WCHAR*)cp, spaceW); strcatW((WCHAR*)cp, style_nameW); cp += lenfam + lensty;
1
0
0
0
Lei Zhang : comctl32: Support LVCF_SUBITEM in LVM_GETCOLUMN.
by Alexandre Julliard
21 Jun '08
21 Jun '08
Module: wine Branch: master Commit: 4700b0bd876d4948a364dbd00ddda1def9febebc URL:
http://source.winehq.org/git/wine.git/?a=commit;h=4700b0bd876d4948a364dbd00…
Author: Lei Zhang <thestig(a)google.com> Date: Thu Jun 19 14:48:58 2008 -0700 comctl32: Support LVCF_SUBITEM in LVM_GETCOLUMN. --- dlls/comctl32/listview.c | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/dlls/comctl32/listview.c b/dlls/comctl32/listview.c index ce909fe..5501d1f 100644 --- a/dlls/comctl32/listview.c +++ b/dlls/comctl32/listview.c @@ -5223,6 +5223,9 @@ static BOOL LISTVIEW_GetColumnT(const LISTVIEW_INFO *infoPtr, INT nColumn, LPLVC if (lpColumn->mask & LVCF_ORDER) hdi.mask |= HDI_ORDER; + if (lpColumn->mask & LVCF_SUBITEM) + hdi.mask |= HDI_LPARAM; + if (!SendMessageW(infoPtr->hwndHeader, isW ? HDM_GETITEMW : HDM_GETITEMA, nColumn, (LPARAM)&hdi)) return FALSE; if (lpColumn->mask & LVCF_FMT) @@ -5237,6 +5240,9 @@ static BOOL LISTVIEW_GetColumnT(const LISTVIEW_INFO *infoPtr, INT nColumn, LPLVC if (lpColumn->mask & LVCF_ORDER) lpColumn->iOrder = hdi.iOrder; + if (lpColumn->mask & LVCF_SUBITEM) + lpColumn->iSubItem = hdi.lParam; + return TRUE; }
1
0
0
0
Louis Lenders : advapi32: Add stub for GetAuditedPermissionsFromAcl{A/W}.
by Alexandre Julliard
21 Jun '08
21 Jun '08
Module: wine Branch: master Commit: 44afc4488c47e5f406acdc88732c88cb6aac0205 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=44afc4488c47e5f406acdc887…
Author: Louis Lenders <xerox_xerox2000(a)yahoo.co.uk> Date: Thu Jun 19 13:50:02 2008 +0000 advapi32: Add stub for GetAuditedPermissionsFromAcl{A/W}. --- dlls/advapi32/advapi32.spec | 4 ++-- dlls/advapi32/security.c | 21 +++++++++++++++++++++ 2 files changed, 23 insertions(+), 2 deletions(-) diff --git a/dlls/advapi32/advapi32.spec b/dlls/advapi32/advapi32.spec index e9a3ccc..4189458 100644 --- a/dlls/advapi32/advapi32.spec +++ b/dlls/advapi32/advapi32.spec @@ -230,8 +230,8 @@ # @ stub GetAccessPermissionsForObjectW @ stdcall GetAce(ptr long ptr) @ stdcall GetAclInformation(ptr ptr long long) -# @ stub GetAuditedPermissionsFromAclA -# @ stub GetAuditedPermissionsFromAclW +@ stdcall GetAuditedPermissionsFromAclA(ptr ptr ptr ptr) +@ stdcall GetAuditedPermissionsFromAclW(ptr ptr ptr ptr) @ stdcall GetCurrentHwProfileA(ptr) @ stdcall GetCurrentHwProfileW(ptr) @ stdcall GetEffectiveRightsFromAclA(ptr ptr ptr) diff --git a/dlls/advapi32/security.c b/dlls/advapi32/security.c index 333ad86..2f91329 100644 --- a/dlls/advapi32/security.c +++ b/dlls/advapi32/security.c @@ -3442,6 +3442,27 @@ DWORD WINAPI GetExplicitEntriesFromAclW( PACL pacl, PULONG pcCountOfExplicitEntr return ERROR_CALL_NOT_IMPLEMENTED; } +/****************************************************************************** + * GetAuditedPermissionsFromAclA [ADVAPI32.@] + */ +DWORD WINAPI GetAuditedPermissionsFromAclA( PACL pacl, PTRUSTEEA pTrustee, PACCESS_MASK pSuccessfulAuditedRights, + PACCESS_MASK pFailedAuditRights) +{ + FIXME("%p %p %p %p\n",pacl, pTrustee, pSuccessfulAuditedRights, pFailedAuditRights); + return ERROR_CALL_NOT_IMPLEMENTED; + +} + +/****************************************************************************** + * GetAuditedPermissionsFromAclW [ADVAPI32.@] + */ +DWORD WINAPI GetAuditedPermissionsFromAclW( PACL pacl, PTRUSTEEW pTrustee, PACCESS_MASK pSuccessfulAuditedRights, + PACCESS_MASK pFailedAuditRights) +{ + FIXME("%p %p %p %p\n",pacl, pTrustee, pSuccessfulAuditedRights, pFailedAuditRights); + return ERROR_CALL_NOT_IMPLEMENTED; + +} /****************************************************************************** * ParseAclStringFlags
1
0
0
0
Anatoly Lyutin : user32: Return at the end of processing (cmd == SW_HIDE).
by Alexandre Julliard
21 Jun '08
21 Jun '08
Module: wine Branch: master Commit: 8fb730543dd5c2a3a44145e8d1df4b08e8e519e2 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=8fb730543dd5c2a3a44145e8d…
Author: Anatoly Lyutin <vostok(a)etersoft.ru> Date: Thu Jun 19 16:15:58 2008 +0400 user32: Return at the end of processing (cmd == SW_HIDE). --- dlls/user32/tests/msg.c | 2 +- dlls/user32/winpos.c | 1 + 2 files changed, 2 insertions(+), 1 deletions(-) diff --git a/dlls/user32/tests/msg.c b/dlls/user32/tests/msg.c index a47cfc5..a45ff8d 100644 --- a/dlls/user32/tests/msg.c +++ b/dlls/user32/tests/msg.c @@ -4112,7 +4112,7 @@ static void test_messages(void) ok(GetActiveWindow() == hwnd, "window should be active\n"); ok(GetFocus() == hwnd, "window should have input focus\n"); ShowWindow(hwnd, SW_HIDE); - ok_sequence(WmHideOverlappedSeq, "ShowWindow(SW_HIDE):overlapped", TRUE); + ok_sequence(WmHideOverlappedSeq, "ShowWindow(SW_HIDE):overlapped", FALSE); ShowWindow(hwnd, SW_SHOW); ok_sequence(WmShowOverlappedSeq, "ShowWindow(SW_SHOW):overlapped", TRUE); diff --git a/dlls/user32/winpos.c b/dlls/user32/winpos.c index 621f89a..aeea354 100644 --- a/dlls/user32/winpos.c +++ b/dlls/user32/winpos.c @@ -1073,6 +1073,7 @@ static BOOL show_window( HWND hwnd, INT cmd ) if (parent == GetDesktopWindow()) parent = 0; SetFocus(parent); } + return wasVisible; } if (IsIconic(hwnd)) WINPOS_ShowIconTitle( hwnd, TRUE );
1
0
0
0
Petr Dlouhý : shlwapi: UrlCanonicalize will canonize address in format "file://localhost/c:/" correctly.
by Alexandre Julliard
21 Jun '08
21 Jun '08
Module: wine Branch: master Commit: 283012cc95110f3700394aaa6cdfef9e9bf92ca5 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=283012cc95110f3700394aaa6…
Author: Petr Dlouhý <pdlo(a)seznam.cz> Date: Thu Jun 19 11:35:20 2008 +0200 shlwapi: UrlCanonicalize will canonize address in format "file://localhost/c:/" correctly. --- dlls/shlwapi/tests/url.c | 4 ++++ dlls/shlwapi/url.c | 7 +++++++ 2 files changed, 11 insertions(+), 0 deletions(-) diff --git a/dlls/shlwapi/tests/url.c b/dlls/shlwapi/tests/url.c index cd7a5f2..37c0111 100644 --- a/dlls/shlwapi/tests/url.c +++ b/dlls/shlwapi/tests/url.c @@ -74,6 +74,10 @@ static const TEST_URL_CANONICALIZE TEST_CANONICALIZE[] = { {"file:///c:/tests\\foo%20bar", URL_UNESCAPE , S_OK, "file:///c:/tests/foo bar", FALSE}, {"file:///c:/tests/foo%20bar", 0, S_OK, "file:///c:/tests/foo%20bar", FALSE}, {"file:///c:/tests/foo%20bar", URL_FILE_USE_PATHURL, S_OK, "file://c:\\tests\\foo bar", FALSE}, + {"file://localhost/c:/tests/../tests/foo%20bar", URL_FILE_USE_PATHURL, S_OK, "file://c:\\tests\\foo bar", FALSE}, + {"file://localhost\\c:/tests/../tests/foo%20bar", URL_FILE_USE_PATHURL, S_OK, "file://c:\\tests\\foo bar", FALSE}, + {"file://localhost\\\\c:/tests/../tests/foo%20bar", URL_FILE_USE_PATHURL, S_OK, "file://c:\\tests\\foo bar", FALSE}, + {"file://localhost\\c:\\tests/../tests/foo%20bar", URL_FILE_USE_PATHURL, S_OK, "file://c:\\tests\\foo bar", FALSE}, {"file://c:/tests/../tests/foo%20bar", URL_FILE_USE_PATHURL, S_OK, "file://c:\\tests\\foo bar", FALSE}, {"file://c:/tests\\../tests/foo%20bar", URL_FILE_USE_PATHURL, S_OK, "file://c:\\tests\\foo bar", FALSE}, {"file://c:/tests/foo%20bar", URL_FILE_USE_PATHURL, S_OK, "file://c:\\tests\\foo bar", FALSE}, diff --git a/dlls/shlwapi/url.c b/dlls/shlwapi/url.c index 2593f96..16031e8 100644 --- a/dlls/shlwapi/url.c +++ b/dlls/shlwapi/url.c @@ -319,6 +319,7 @@ HRESULT WINAPI UrlCanonicalizeW(LPCWSTR pszUrl, LPWSTR pszCanonicalized, WCHAR slash = '/'; static const WCHAR wszFile[] = {'f','i','l','e',':'}; + static const WCHAR wszLocalhost[] = {'l','o','c','a','l','h','o','s','t'}; TRACE("(%s, %p, %p, 0x%08x) *pcchCanonicalized: %d\n", debugstr_w(pszUrl), pszCanonicalized, pcchCanonicalized, dwFlags, pcchCanonicalized ? *pcchCanonicalized : -1); @@ -387,6 +388,12 @@ HRESULT WINAPI UrlCanonicalizeW(LPCWSTR pszUrl, LPWSTR pszCanonicalized, *wk2++ = *wk1++; if (*wk1 != '/') {state = 6; break;} *wk2++ = *wk1++; + if((dwFlags & URL_FILE_USE_PATHURL) && nByteLen >= sizeof(wszLocalhost) + && !memcmp(wszLocalhost, wk1, sizeof(wszLocalhost))){ + wk1 += sizeof(wszLocalhost)/sizeof(WCHAR); + while(*wk1 == '\\' && (dwFlags & URL_FILE_USE_PATHURL)) + wk1++; + } if(*wk1 == '/' && (dwFlags & URL_FILE_USE_PATHURL)) wk1++; state = 4;
1
0
0
0
Petr Dlouhý : gdiplus: Stub implementation of GdipImageGetFrameDimensionsCount + test.
by Alexandre Julliard
21 Jun '08
21 Jun '08
Module: wine Branch: master Commit: 4513fb3818c6a01e169998e039cebc6edea6669a URL:
http://source.winehq.org/git/wine.git/?a=commit;h=4513fb3818c6a01e169998e03…
Author: Petr Dlouhý <pdlo(a)seznam.cz> Date: Thu Jun 19 10:38:09 2008 +0200 gdiplus: Stub implementation of GdipImageGetFrameDimensionsCount + test. --- dlls/gdiplus/gdiplus.spec | 2 +- dlls/gdiplus/image.c | 13 +++++++++++++ dlls/gdiplus/tests/image.c | 27 +++++++++++++++++++++++++++ include/gdiplusflat.h | 1 + 4 files changed, 42 insertions(+), 1 deletions(-) diff --git a/dlls/gdiplus/gdiplus.spec b/dlls/gdiplus/gdiplus.spec index 23346fc..8d7c892 100644 --- a/dlls/gdiplus/gdiplus.spec +++ b/dlls/gdiplus/gdiplus.spec @@ -407,7 +407,7 @@ @ stub GdipGraphicsSetAbort @ stub GdipImageForceValidation @ stdcall GdipImageGetFrameCount(ptr ptr ptr) -@ stub GdipImageGetFrameDimensionsCount +@ stdcall GdipImageGetFrameDimensionsCount(ptr ptr) @ stdcall GdipImageGetFrameDimensionsList(ptr ptr long) @ stub GdipImageRotateFlip @ stdcall GdipImageSelectActiveFrame(ptr ptr long) diff --git a/dlls/gdiplus/image.c b/dlls/gdiplus/image.c index f6dffcf..330e54b 100644 --- a/dlls/gdiplus/image.c +++ b/dlls/gdiplus/image.c @@ -688,6 +688,19 @@ GpStatus WINGDIPAPI GdipImageGetFrameCount(GpImage *image, return NotImplemented; } +GpStatus WINGDIPAPI GdipImageGetFrameDimensionsCount(GpImage *image, + UINT* count) +{ + if(!image || !count) + return InvalidParameter; + + *count = 1; + + FIXME("stub\n"); + + return Ok; +} + GpStatus WINGDIPAPI GdipImageGetFrameDimensionsList(GpImage* image, GUID* dimensionIDs, UINT count) { diff --git a/dlls/gdiplus/tests/image.c b/dlls/gdiplus/tests/image.c index a3e7676..686fe54 100644 --- a/dlls/gdiplus/tests/image.c +++ b/dlls/gdiplus/tests/image.c @@ -106,6 +106,32 @@ static void test_GetImageDimension(void) GdipDisposeImage((GpImage*)bm); } +static void test_GdipImageGetFrameDimensionsCount(void) +{ + GpBitmap *bm; + GpStatus stat; + const REAL WIDTH = 10.0, HEIGHT = 20.0; + UINT w; + + bm = (GpBitmap*)0xdeadbeef; + stat = GdipCreateBitmapFromScan0(WIDTH, HEIGHT, 0, PixelFormat24bppRGB,NULL, &bm); + expect(Ok,stat); + ok((GpBitmap*)0xdeadbeef != bm, "Expected bitmap to not be 0xdeadbeef\n"); + ok(NULL != bm, "Expected bitmap to not be NULL\n"); + + stat = GdipImageGetFrameDimensionsCount(NULL,&w); + expect(InvalidParameter, stat); + + stat = GdipImageGetFrameDimensionsCount((GpImage*)bm,NULL); + expect(InvalidParameter, stat); + + w = -1; + stat = GdipImageGetFrameDimensionsCount((GpImage*)bm,&w); + expect(Ok, stat); + expect(1, w); + GdipDisposeImage((GpImage*)bm); +} + static void test_LoadingImages(void) { GpStatus stat; @@ -466,6 +492,7 @@ START_TEST(image) test_Scan0(); test_GetImageDimension(); + test_GdipImageGetFrameDimensionsCount(); test_LoadingImages(); test_SavingImages(); test_encoders(); diff --git a/include/gdiplusflat.h b/include/gdiplusflat.h index 58659fe..07c60f1 100644 --- a/include/gdiplusflat.h +++ b/include/gdiplusflat.h @@ -318,6 +318,7 @@ GpStatus WINGDIPAPI GdipGetMetafileHeaderFromStream(IStream*,MetafileHeader*); GpStatus WINGDIPAPI GdipGetMetafileHeaderFromWmf(HMETAFILE,GDIPCONST WmfPlaceableFileHeader*,MetafileHeader*); GpStatus WINGDIPAPI GdipGetPropertyItemSize(GpImage*,PROPID,UINT*); GpStatus WINGDIPAPI GdipImageGetFrameCount(GpImage*,GDIPCONST GUID*,UINT*); +GpStatus WINGDIPAPI GdipImageGetFrameDimensionsCount(GpImage*,UINT*); GpStatus WINGDIPAPI GdipImageGetFrameDimensionsList(GpImage*,GUID*,UINT); GpStatus WINGDIPAPI GdipImageSelectActiveFrame(GpImage*,GDIPCONST GUID*,UINT); GpStatus WINGDIPAPI GdipLoadImageFromFile(GDIPCONST WCHAR*,GpImage**);
1
0
0
0
← Newer
1
...
42
43
44
45
46
47
48
...
95
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
Results per page:
10
25
50
100
200