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 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
957 discussions
Start a n
N
ew thread
Jason Edmeades : user32: MDI tile and cascade should not resize non-resizable windows.
by Alexandre Julliard
24 Jul '07
24 Jul '07
Module: wine Branch: master Commit: ca710edc345b3b03d2a534fe40f651b576741b15 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=ca710edc345b3b03d2a534fe4…
Author: Jason Edmeades <jason.edmeades(a)googlemail.com> Date: Mon Jul 23 22:59:46 2007 +0100 user32: MDI tile and cascade should not resize non-resizable windows. --- dlls/user32/mdi.c | 13 ++++++++++--- 1 files changed, 10 insertions(+), 3 deletions(-) diff --git a/dlls/user32/mdi.c b/dlls/user32/mdi.c index a269292..1fc2fbd 100644 --- a/dlls/user32/mdi.c +++ b/dlls/user32/mdi.c @@ -726,13 +726,17 @@ static LONG MDICascade( HWND client, MDICLIENTINFO *ci ) /* walk the list (backwards) and move windows */ for (i = total - 1; i >= 0; i--) { + LONG style; + LONG posOptions = SWP_DRAWFRAME | SWP_NOACTIVATE | SWP_NOZORDER; MDI_CalcDefaultChildPos(client, n++, pos, delta, NULL); TRACE("move %p to (%d,%d) size [%d,%d]\n", win_array[i], pos[0].x, pos[0].y, pos[1].x, pos[1].y); + style = GetWindowLongW(win_array[i], GWL_STYLE); + if (!(style & WS_SIZEBOX)) posOptions |= SWP_NOSIZE; SetWindowPos( win_array[i], 0, pos[0].x, pos[0].y, pos[1].x, pos[1].y, - SWP_DRAWFRAME | SWP_NOACTIVATE | SWP_NOZORDER); + posOptions); } } HeapFree( GetProcessHeap(), 0, win_array ); @@ -812,8 +816,11 @@ static void MDITile( HWND client, MDICLIENTINFO *ci, WPARAM wParam ) y = 0; for (r = 1; r <= rows && *pWnd; r++, i++) { - SetWindowPos(*pWnd, 0, x, y, xsize, ysize, - SWP_DRAWFRAME | SWP_NOACTIVATE | SWP_NOZORDER); + LONG posOptions = SWP_DRAWFRAME | SWP_NOACTIVATE | SWP_NOZORDER; + LONG style = GetWindowLongW(win_array[i], GWL_STYLE); + if (!(style & WS_SIZEBOX)) posOptions |= SWP_NOSIZE; + + SetWindowPos(*pWnd, 0, x, y, xsize, ysize, posOptions); y += ysize; pWnd++; }
1
0
0
0
Jason Edmeades : user32: Correct trace to log calculated values rather than uninitialized ones.
by Alexandre Julliard
24 Jul '07
24 Jul '07
Module: wine Branch: master Commit: 1c07a97ffd80bb6ada10cd204b14a6f0be310404 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=1c07a97ffd80bb6ada10cd204…
Author: Jason Edmeades <jason.edmeades(a)googlemail.com> Date: Mon Jul 23 22:59:45 2007 +0100 user32: Correct trace to log calculated values rather than uninitialized ones. --- dlls/user32/mdi.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/dlls/user32/mdi.c b/dlls/user32/mdi.c index 51dd405..a269292 100644 --- a/dlls/user32/mdi.c +++ b/dlls/user32/mdi.c @@ -726,10 +726,11 @@ static LONG MDICascade( HWND client, MDICLIENTINFO *ci ) /* walk the list (backwards) and move windows */ for (i = total - 1; i >= 0; i--) { + + MDI_CalcDefaultChildPos(client, n++, pos, delta, NULL); TRACE("move %p to (%d,%d) size [%d,%d]\n", win_array[i], pos[0].x, pos[0].y, pos[1].x, pos[1].y); - MDI_CalcDefaultChildPos(client, n++, pos, delta, NULL); SetWindowPos( win_array[i], 0, pos[0].x, pos[0].y, pos[1].x, pos[1].y, SWP_DRAWFRAME | SWP_NOACTIVATE | SWP_NOZORDER); }
1
0
0
0
Michael Stefaniuc : winefile: Move some self contained functions to use explicit W functions.
by Alexandre Julliard
24 Jul '07
24 Jul '07
Module: wine Branch: master Commit: cee98d2969099851a74c5436250a85c458e3204d URL:
http://source.winehq.org/git/wine.git/?a=commit;h=cee98d2969099851a74c54362…
Author: Michael Stefaniuc <mstefani(a)redhat.de> Date: Mon Jul 23 22:38:18 2007 +0200 winefile: Move some self contained functions to use explicit W functions. --- programs/winefile/winefile.c | 20 ++++++++++---------- 1 files changed, 10 insertions(+), 10 deletions(-) diff --git a/programs/winefile/winefile.c b/programs/winefile/winefile.c index 59d1717..85a169f 100644 --- a/programs/winefile/winefile.c +++ b/programs/winefile/winefile.c @@ -245,28 +245,28 @@ static void display_network_error(HWND hwnd) static VOID WineLicense(HWND Wnd) { - TCHAR cap[20], text[1024]; - LoadString(Globals.hInstance, IDS_LICENSE, text, 1024); - LoadString(Globals.hInstance, IDS_LICENSE_CAPTION, cap, 20); - MessageBox(Wnd, text, cap, MB_ICONINFORMATION | MB_OK); + WCHAR cap[20], text[1024]; + LoadStringW(Globals.hInstance, IDS_LICENSE, text, 1024); + LoadStringW(Globals.hInstance, IDS_LICENSE_CAPTION, cap, 20); + MessageBoxW(Wnd, text, cap, MB_ICONINFORMATION | MB_OK); } static VOID WineWarranty(HWND Wnd) { - TCHAR cap[20], text[1024]; - LoadString(Globals.hInstance, IDS_WARRANTY, text, 1024); - LoadString(Globals.hInstance, IDS_WARRANTY_CAPTION, cap, 20); - MessageBox(Wnd, text, cap, MB_ICONEXCLAMATION | MB_OK); + WCHAR cap[20], text[1024]; + LoadStringW(Globals.hInstance, IDS_WARRANTY, text, 1024); + LoadStringW(Globals.hInstance, IDS_WARRANTY_CAPTION, cap, 20); + MessageBoxW(Wnd, text, cap, MB_ICONEXCLAMATION | MB_OK); } static inline BOOL get_check(HWND hwnd, INT id) { - return BST_CHECKED&SendMessage(GetDlgItem(hwnd, id), BM_GETSTATE, 0, 0); + return BST_CHECKED&SendMessageW(GetDlgItem(hwnd, id), BM_GETSTATE, 0, 0); } static inline INT set_check(HWND hwnd, INT id, BOOL on) { - return SendMessage(GetDlgItem(hwnd, id), BM_SETCHECK, on?BST_CHECKED:BST_UNCHECKED, 0); + return SendMessageW(GetDlgItem(hwnd, id), BM_SETCHECK, on?BST_CHECKED:BST_UNCHECKED, 0); } #ifdef __WINE__
1
0
0
0
Michael Stefaniuc : wldap32: Don' t produce unreachable code during conditional compilation. Found bySmatch.
by Alexandre Julliard
24 Jul '07
24 Jul '07
Module: wine Branch: master Commit: ca2a6673c994f6040602d0936eecb27d5fbe74f6 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=ca2a6673c994f6040602d0936…
Author: Michael Stefaniuc <mstefani(a)redhat.de> Date: Mon Jul 23 22:25:50 2007 +0200 wldap32: Don't produce unreachable code during conditional compilation. Found bySmatch. --- dlls/wldap32/init.c | 24 ++++++++++++++++-------- dlls/wldap32/misc.c | 12 ++++++++---- dlls/wldap32/page.c | 5 ++--- dlls/wldap32/value.c | 6 ++++-- 4 files changed, 30 insertions(+), 17 deletions(-) diff --git a/dlls/wldap32/init.c b/dlls/wldap32/init.c index a1cf79b..08cab81 100644 --- a/dlls/wldap32/init.c +++ b/dlls/wldap32/init.c @@ -236,8 +236,9 @@ exit: strfreeW( hostnameW ); return ld; -#endif +#else return NULL; +#endif } /*********************************************************************** @@ -288,8 +289,9 @@ exit: strfreeU( url ); return ld; -#endif +#else return NULL; +#endif } /*********************************************************************** @@ -342,8 +344,9 @@ exit: strfreeW( hostnameW ); return ld; -#endif +#else return NULL; +#endif } /*********************************************************************** @@ -395,8 +398,9 @@ exit: strfreeU( url ); return ld; -#endif +#else return NULL; +#endif } /*********************************************************************** @@ -423,8 +427,9 @@ exit: strfreeW( hostnameW ); return ld; -#endif +#else return NULL; +#endif } /*********************************************************************** @@ -475,8 +480,9 @@ exit: strfreeU( url ); return ld; -#endif +#else return NULL; +#endif } /*********************************************************************** @@ -502,8 +508,9 @@ WLDAP32_LDAP * CDECL ldap_sslinitA( PCHAR hostname, ULONG portnumber, int secure strfreeW( hostnameW ); return ld; -#endif +#else return NULL; +#endif } /*********************************************************************** @@ -559,8 +566,9 @@ exit: strfreeU( url ); return ld; -#endif +#else return NULL; +#endif } /*********************************************************************** diff --git a/dlls/wldap32/misc.c b/dlls/wldap32/misc.c index 9007faf..9d938c8 100644 --- a/dlls/wldap32/misc.c +++ b/dlls/wldap32/misc.c @@ -375,8 +375,9 @@ WLDAP32_LDAPMessage * CDECL WLDAP32_ldap_first_entry( WLDAP32_LDAP *ld, WLDAP32_ if (!ld || !res) return NULL; return ldap_first_entry( ld, res ); -#endif +#else return NULL; +#endif } /*********************************************************************** @@ -401,8 +402,9 @@ WLDAP32_LDAPMessage * CDECL WLDAP32_ldap_first_reference( WLDAP32_LDAP *ld, WLDA if (!ld) return NULL; return ldap_first_reference( ld, res ); -#endif +#else return NULL; +#endif } /*********************************************************************** @@ -536,8 +538,9 @@ WLDAP32_LDAPMessage * CDECL WLDAP32_ldap_next_entry( WLDAP32_LDAP *ld, WLDAP32_L if (!ld || !entry) return NULL; return ldap_next_entry( ld, entry ); -#endif +#else return NULL; +#endif } /*********************************************************************** @@ -565,8 +568,9 @@ WLDAP32_LDAPMessage * CDECL WLDAP32_ldap_next_reference( WLDAP32_LDAP *ld, WLDAP if (!ld || !entry) return NULL; return ldap_next_reference( ld, entry ); -#endif +#else return NULL; +#endif } /*********************************************************************** diff --git a/dlls/wldap32/page.c b/dlls/wldap32/page.c index cc1d0af..a3ed112 100644 --- a/dlls/wldap32/page.c +++ b/dlls/wldap32/page.c @@ -152,9 +152,7 @@ static ULONG create_page_control( ULONG pagesize, struct WLDAP32_berval *cookie, ULONG CDECL ldap_create_page_controlW( WLDAP32_LDAP *ld, ULONG pagesize, struct WLDAP32_berval *cookie, UCHAR critical, PLDAPControlW *control ) { - ULONG ret = LDAP_NOT_SUPPORTED; #ifdef HAVE_LDAP - TRACE( "(%p, 0x%08x, %p, 0x%02x, %p)\n", ld, pagesize, cookie, critical, control ); @@ -163,8 +161,9 @@ ULONG CDECL ldap_create_page_controlW( WLDAP32_LDAP *ld, ULONG pagesize, return create_page_control( pagesize, cookie, critical, control ); +#else + return LDAP_NOT_SUPPORTED; #endif - return ret; } ULONG CDECL ldap_get_next_page( WLDAP32_LDAP *ld, PLDAPSearch search, ULONG pagesize, diff --git a/dlls/wldap32/value.c b/dlls/wldap32/value.c index 1d1155b..61bcfc3 100644 --- a/dlls/wldap32/value.c +++ b/dlls/wldap32/value.c @@ -272,8 +272,9 @@ struct WLDAP32_berval ** CDECL ldap_get_values_lenA( WLDAP32_LDAP *ld, strfreeW( attrW ); return ret; -#endif +#else return NULL; +#endif } /*********************************************************************** @@ -314,8 +315,9 @@ struct WLDAP32_berval ** CDECL ldap_get_values_lenW( WLDAP32_LDAP *ld, strfreeU( attrU ); return (struct WLDAP32_berval **)ret; -#endif +#else return NULL; +#endif } /***********************************************************************
1
0
0
0
Michael Stefaniuc : winefile: Replace malloc with HeapAlloc.
by Alexandre Julliard
24 Jul '07
24 Jul '07
Module: wine Branch: master Commit: 11bb71d3d6a34d301291b2d15c849a1381bd7789 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=11bb71d3d6a34d301291b2d15…
Author: Michael Stefaniuc <mstefani(a)redhat.de> Date: Mon Jul 23 22:25:20 2007 +0200 winefile: Replace malloc with HeapAlloc. --- programs/winefile/winefile.c | 24 ++++++++++++------------ 1 files changed, 12 insertions(+), 12 deletions(-) diff --git a/programs/winefile/winefile.c b/programs/winefile/winefile.c index 860ecd2..59d1717 100644 --- a/programs/winefile/winefile.c +++ b/programs/winefile/winefile.c @@ -319,7 +319,7 @@ static LPCWSTR my_wcsrchr(LPCWSTR str, WCHAR c) /* allocate and initialise a directory entry */ static Entry* alloc_entry(void) { - Entry* entry = (Entry*) malloc(sizeof(Entry)); + Entry* entry = HeapAlloc(GetProcessHeap(), 0, sizeof(Entry)); #ifdef _SHELL_FOLDERS entry->pidl = NULL; @@ -344,7 +344,7 @@ static void free_entry(Entry* entry) IMalloc_Free(Globals.iMalloc, entry->pidl); #endif - free(entry); + HeapFree(GetProcessHeap(), 0, entry); } /* recursively free all child entries */ @@ -1437,7 +1437,7 @@ static ChildWnd* alloc_child_window(LPCTSTR path, LPITEMIDLIST pidl, HWND hwnd) TCHAR b1[BUFFER_LEN]; static const TCHAR sAsterics[] = {'*', '\0'}; - ChildWnd* child = (ChildWnd*) malloc(sizeof(ChildWnd)); + ChildWnd* child = HeapAlloc(GetProcessHeap(), 0, sizeof(ChildWnd)); Root* root = &child->root; Entry* entry; @@ -1504,7 +1504,7 @@ static ChildWnd* alloc_child_window(LPCTSTR path, LPITEMIDLIST pidl, HWND hwnd) static void free_child_window(ChildWnd* child) { free_entries(&child->root.entry); - free(child); + HeapFree(GetProcessHeap(), 0, child); } @@ -1927,7 +1927,7 @@ static void CheckForFileInfo(struct PropertiesDialog* dlg, HWND hwnd, LPCTSTR st DWORD dwVersionDataLen = GetFileVersionInfoSize(strFilename, NULL); if (dwVersionDataLen) { - dlg->pVersionData = malloc(dwVersionDataLen); + dlg->pVersionData = HeapAlloc(GetProcessHeap(), 0, dwVersionDataLen); if (GetFileVersionInfo(strFilename, 0, dwVersionDataLen, dlg->pVersionData)) { LPVOID pVal; @@ -2045,7 +2045,7 @@ static INT_PTR CALLBACK PropertiesDialogDlgProc(HWND hwnd, UINT nmsg, WPARAM wpa return 1;} case WM_NCDESTROY: - free(dlg->pVersionData); + HeapFree(GetProcessHeap(), 0, dlg->pVersionData); dlg->pVersionData = NULL; break; } @@ -2291,7 +2291,7 @@ static LRESULT CALLBACK FrameWndProc(HWND hwnd, UINT nmsg, WPARAM wparam, LPARAM child = alloc_child_window(path, NULL, hwnd); if (!create_child_window(child)) - free(child); + HeapFree(GetProcessHeap(), 0, child); } else switch(cmd) { case ID_FILE_EXIT: SendMessage(hwnd, WM_CLOSE, 0, 0); @@ -2305,7 +2305,7 @@ static LRESULT CALLBACK FrameWndProc(HWND hwnd, UINT nmsg, WPARAM wparam, LPARAM child = alloc_child_window(path, NULL, hwnd); if (!create_child_window(child)) - free(child); + HeapFree(GetProcessHeap(), 0, child); break;} case ID_REFRESH: @@ -2472,7 +2472,7 @@ static LRESULT CALLBACK FrameWndProc(HWND hwnd, UINT nmsg, WPARAM wparam, LPARAM child = alloc_child_window(path, NULL, hwnd); if (!create_child_window(child)) - free(child); + HeapFree(GetProcessHeap(), 0, child); break;} #endif #ifdef _SHELL_FOLDERS @@ -2487,7 +2487,7 @@ static LRESULT CALLBACK FrameWndProc(HWND hwnd, UINT nmsg, WPARAM wparam, LPARAM child = alloc_child_window(path, get_path_pidl(path,hwnd), hwnd); if (!create_child_window(child)) - free(child); + HeapFree(GetProcessHeap(), 0, child); break;} #endif #endif @@ -4434,7 +4434,7 @@ static LRESULT CALLBACK ChildWndProc(HWND hwnd, UINT nmsg, WPARAM wparam, LPARAM ChildWnd* new_child = alloc_child_window(child->path, NULL, hwnd); if (!create_child_window(new_child)) - free(new_child); + HeapFree(GetProcessHeap(), 0, new_child); break;} @@ -4860,7 +4860,7 @@ static void show_frame(HWND hwndParent, int cmdshow, LPCTSTR path) child->pos.rcNormalPosition.bottom = 280; if (!create_child_window(child)) - free(child); + HeapFree(GetProcessHeap(), 0, child); SetWindowPlacement(child->hwnd, &child->pos);
1
0
0
0
Paul Vriens : advapi32/service: Handle is checked before servicename.
by Alexandre Julliard
24 Jul '07
24 Jul '07
Module: wine Branch: master Commit: 83d8cbcc48745b0e5bc8f3e6b3c8d5a27f60f374 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=83d8cbcc48745b0e5bc8f3e6b…
Author: Paul Vriens <paul.vriens.wine(a)gmail.com> Date: Mon Jul 23 21:07:55 2007 +0200 advapi32/service: Handle is checked before servicename. --- dlls/advapi32/service.c | 20 ++++++++++---------- dlls/advapi32/tests/service.c | 1 - 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/dlls/advapi32/service.c b/dlls/advapi32/service.c index eb1c30f..1ecaf70 100644 --- a/dlls/advapi32/service.c +++ b/dlls/advapi32/service.c @@ -2273,16 +2273,16 @@ BOOL WINAPI GetServiceDisplayNameA( SC_HANDLE hSCManager, LPCSTR lpServiceName, TRACE("%p %s %p %p\n", hSCManager, debugstr_a(lpServiceName), lpDisplayName, lpcchBuffer); - if (!lpServiceName) + hscm = sc_handle_get_handle_data(hSCManager, SC_HTYPE_MANAGER); + if (!hscm) { - SetLastError(ERROR_INVALID_PARAMETER); + SetLastError(ERROR_INVALID_HANDLE); return FALSE; } - hscm = sc_handle_get_handle_data(hSCManager, SC_HTYPE_MANAGER); - if (!hscm) + if (!lpServiceName) { - SetLastError(ERROR_INVALID_HANDLE); + SetLastError(ERROR_INVALID_ADDRESS); return FALSE; } @@ -2320,16 +2320,16 @@ BOOL WINAPI GetServiceDisplayNameW( SC_HANDLE hSCManager, LPCWSTR lpServiceName, TRACE("%p %s %p %p\n", hSCManager, debugstr_w(lpServiceName), lpDisplayName, lpcchBuffer); - if (!lpServiceName) + hscm = sc_handle_get_handle_data(hSCManager, SC_HTYPE_MANAGER); + if (!hscm) { - SetLastError(ERROR_INVALID_PARAMETER); + SetLastError(ERROR_INVALID_HANDLE); return FALSE; } - hscm = sc_handle_get_handle_data(hSCManager, SC_HTYPE_MANAGER); - if (!hscm) + if (!lpServiceName) { - SetLastError(ERROR_INVALID_HANDLE); + SetLastError(ERROR_INVALID_ADDRESS); return FALSE; } diff --git a/dlls/advapi32/tests/service.c b/dlls/advapi32/tests/service.c index 61d18dd..adbfe2b 100644 --- a/dlls/advapi32/tests/service.c +++ b/dlls/advapi32/tests/service.c @@ -392,7 +392,6 @@ static void test_get_displayname(void) SetLastError(0xdeadbeef); ret = GetServiceDisplayNameA(NULL, NULL, NULL, &displaysize); ok(!ret, "Expected failure\n"); - todo_wine ok(GetLastError() == ERROR_INVALID_HANDLE, "Expected ERROR_INVALID_HANDLE, got %d\n", GetLastError());
1
0
0
0
H. Verbeet : wined3d: Trace the declaration element type in primitiveDeclarationConvertToStridedData ().
by Alexandre Julliard
24 Jul '07
24 Jul '07
Module: wine Branch: master Commit: fc4c73902ac8dc22ef5f010ae69e846d840965d9 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=fc4c73902ac8dc22ef5f010ae…
Author: H. Verbeet <hverbeet(a)gmail.com> Date: Mon Jul 23 21:35:22 2007 +0200 wined3d: Trace the declaration element type in primitiveDeclarationConvertToStridedData(). --- dlls/wined3d/drawprim.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/wined3d/drawprim.c b/dlls/wined3d/drawprim.c index c1484d1..721d913 100644 --- a/dlls/wined3d/drawprim.c +++ b/dlls/wined3d/drawprim.c @@ -221,10 +221,10 @@ void primitiveDeclarationConvertToStridedData( if (stride_used) { TRACE("Loaded %s array %u [usage=%s, usage_idx=%u, " - "stream=%u, offset=%u, stride=%u, VBO=%u]\n", + "stream=%u, offset=%u, stride=%u, type=%s, VBO=%u]\n", useVertexShaderFunction? "shader": "fixed function", idx, debug_d3ddeclusage(element->Usage), element->UsageIndex, - element->Stream, element->Offset, stride, streamVBO); + element->Stream, element->Offset, stride, debug_d3ddecltype(element->Type), streamVBO); strided->u.input[idx].lpData = data; strided->u.input[idx].dwType = element->Type;
1
0
0
0
H. Verbeet : wined3d: Don't modify the blending parameters in state_blend() .
by Alexandre Julliard
24 Jul '07
24 Jul '07
Module: wine Branch: master Commit: be8226593c10da6a4627a9d8c3352b3d452fc069 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=be8226593c10da6a4627a9d8c…
Author: H. Verbeet <hverbeet(a)gmail.com> Date: Mon Jul 23 21:35:15 2007 +0200 wined3d: Don't modify the blending parameters in state_blend(). --- dlls/wined3d/state.c | 8 +++----- 1 files changed, 3 insertions(+), 5 deletions(-) diff --git a/dlls/wined3d/state.c b/dlls/wined3d/state.c index fbd0cd3..3d6101d 100644 --- a/dlls/wined3d/state.c +++ b/dlls/wined3d/state.c @@ -306,12 +306,10 @@ static void state_blend(DWORD state, IWineD3DStateBlockImpl *stateblock, WineD3D glEnable(GL_LINE_SMOOTH); checkGLcall("glEnable(GL_LINE_SMOOTH)"); if(srcBlend != GL_SRC_ALPHA) { - FIXME("WINED3DRS_EDGEANTIALIAS enabled, but incompatible src blending param - what to do?\n"); - srcBlend = GL_SRC_ALPHA; + WARN("WINED3DRS_EDGEANTIALIAS enabled, but unexpected src blending param\n"); } - if(dstBlend != GL_ONE_MINUS_SRC_ALPHA) { - FIXME("WINED3DRS_EDGEANTIALIAS enabled, but incompatible dst blending param - what to do?\n"); - dstBlend = GL_ONE_MINUS_SRC_ALPHA; + if(dstBlend != GL_ONE_MINUS_SRC_ALPHA && dstBlend != GL_ONE) { + WARN("WINED3DRS_EDGEANTIALIAS enabled, but unexpected dst blending param\n"); } } else { glDisable(GL_LINE_SMOOTH);
1
0
0
0
Andrew Talbot : msi: Cast-qual warning fix.
by Alexandre Julliard
24 Jul '07
24 Jul '07
Module: wine Branch: master Commit: 0e14c29d6616febb30683b830b8a06bd404b2792 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=0e14c29d6616febb30683b830…
Author: Andrew Talbot <Andrew.Talbot(a)talbotville.com> Date: Mon Jul 23 18:53:19 2007 +0100 msi: Cast-qual warning fix. --- dlls/msi/action.c | 11 +++++++---- 1 files changed, 7 insertions(+), 4 deletions(-) diff --git a/dlls/msi/action.c b/dlls/msi/action.c index 953ecb5..953c65b 100644 --- a/dlls/msi/action.c +++ b/dlls/msi/action.c @@ -630,22 +630,26 @@ UINT MSI_InstallPackage( MSIPACKAGE *package, LPCWSTR szPackagePath, if (szPackagePath) { LPWSTR p, check, dir; + LPCWSTR file; dir = strdupW(szPackagePath); p = strrchrW(dir, '\\'); if (p) + { *(++p) = 0; + file = szPackagePath + (p - dir); + } else { msi_free(dir); dir = msi_alloc(MAX_PATH*sizeof(WCHAR)); GetCurrentDirectoryW(MAX_PATH, dir); lstrcatW(dir, cszbs); - p = (LPWSTR)szPackagePath; + file = szPackagePath; } msi_free( package->PackagePath ); - package->PackagePath = msi_alloc((lstrlenW(dir) + lstrlenW(p) + 2) * sizeof(WCHAR)); + package->PackagePath = msi_alloc((lstrlenW(dir) + lstrlenW(file) + 1) * sizeof(WCHAR)); if (!package->PackagePath) { msi_free(dir); @@ -653,8 +657,7 @@ UINT MSI_InstallPackage( MSIPACKAGE *package, LPCWSTR szPackagePath, } lstrcpyW(package->PackagePath, dir); - lstrcatW(package->PackagePath, cszbs); - lstrcatW(package->PackagePath, p); + lstrcatW(package->PackagePath, file); check = msi_dup_property( package, cszSourceDir ); if (!check)
1
0
0
0
appdb/include version.php
by WineHQ
24 Jul '07
24 Jul '07
ChangeSet ID: 31273 CVSROOT: /opt/cvs-commit Module name: appdb Changes by: wineowner(a)winehq.org 2007/07/23 20:50:19 Modified files: include : version.php Log message: Alexander Nicolaysen Sørnes <alex(a)thehandofagony.com> Fix version list to display missing tested release field Patch:
http://cvs.winehq.org/patch.py?id=31273
Old revision New revision Changes Path 1.139 1.140 +4 -0 appdb/include/version.php Index: appdb/include/version.php diff -u -p appdb/include/version.php:1.139 appdb/include/version.php:1.140 --- appdb/include/version.php:1.139 24 Jul 2007 1:50:19 -0000 +++ appdb/include/version.php 24 Jul 2007 1:50:19 -0000 @@ -1145,6 +1145,10 @@ class version { $oTableCell->SetAlign("center"); $oTableRow->AddCell($oTableCell); + $oTableCell = new TableCell($oVersion->sTestedRelease); + $oTableCell->SetAlign("center"); + $oTableRow->AddCell($oTableCell); + $oTableCell = new TableCell(testData::get_testdata_count_for_versionid($oVersion->iVersionId)); $oTableCell->SetAlign("center"); $oTableRow->AddCell($oTableCell);
1
0
0
0
← Newer
1
...
31
32
33
34
35
36
37
...
96
Older →
Jump to page:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
Results per page:
10
25
50
100
200