winehq.org
Sign In
Sign Up
Sign In
Sign Up
Manage this list
×
Keyboard Shortcuts
Thread View
j
: Next unread message
k
: Previous unread message
j a
: Jump to all threads
j l
: Jump to MailingList overview
2025
February
January
2024
December
November
October
September
August
July
June
May
April
March
February
January
2023
December
November
October
September
August
July
June
May
April
March
February
January
2022
December
November
October
September
August
July
June
May
April
March
February
January
2021
December
November
October
September
August
July
June
May
April
March
February
January
2020
December
November
October
September
August
July
June
May
April
March
February
January
2019
December
November
October
September
August
July
June
May
April
March
February
January
2018
December
November
October
September
August
July
June
May
April
March
February
January
2017
December
November
October
September
August
July
June
May
April
March
February
January
2016
December
November
October
September
August
July
June
May
April
March
February
January
2015
December
November
October
September
August
July
June
May
April
March
February
January
2014
December
November
October
September
August
July
June
May
April
March
February
January
2013
December
November
October
September
August
July
June
May
April
March
February
January
2012
December
November
October
September
August
July
June
May
April
March
February
January
2011
December
November
October
September
August
July
June
May
April
March
February
January
2010
December
November
October
September
August
July
June
May
April
March
February
January
2009
December
November
October
September
August
July
June
May
April
March
February
January
2008
December
November
October
September
August
July
June
May
April
March
February
January
2007
December
November
October
September
August
July
June
May
April
March
February
January
2006
December
November
October
September
August
July
June
May
April
March
February
January
2005
December
November
October
September
August
July
June
May
April
March
February
January
2004
December
November
October
September
August
July
June
May
April
March
February
January
2003
December
November
October
September
August
July
June
May
April
March
February
January
2002
December
November
October
September
August
July
June
May
April
March
February
January
2001
December
November
October
September
August
July
June
May
April
March
February
List overview
wine-commits
November 2005
----- 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
575 discussions
Start a n
N
ew thread
wine/dlls/dsound mixer.c
by Alexandre Julliard
01 Nov '05
01 Nov '05
ChangeSet ID: 21013 CVSROOT: /opt/cvs-commit Module name: wine Changes by: julliard(a)winehq.org 2005/11/01 04:18:55 Modified files: dlls/dsound : mixer.c Log message: Davin McCall <davmac(a)davmac.org> PhaseCancel subtracts secondary buffer from primary buffer, not the other way around. Patch:
http://cvs.winehq.org/patch.py?id=21013
Old revision New revision Changes Path 1.41 1.42 +8 -8 wine/dlls/dsound/mixer.c Index: wine/dlls/dsound/mixer.c diff -u -p wine/dlls/dsound/mixer.c:1.41 wine/dlls/dsound/mixer.c:1.42 --- wine/dlls/dsound/mixer.c 1 Nov 2005 10:18:55 -0000 +++ /dev/null 1 Nov 2005 10:18:55 -0000 @@ -536,8 +536,8 @@ static void DSOUND_PhaseCancel(IDirectSo for (i = 0; i < todo; i++) { /* 8-bit WAV is unsigned */ - field = (*ibuf++ - 128); - field -= (*obuf - 128); + field = (*obuf - 128); + field -= (*ibuf++ - 128); if (field > 127) field = 127; else if (field < -128) field = -128; *obuf++ = field + 128; @@ -549,8 +549,8 @@ static void DSOUND_PhaseCancel(IDirectSo for (i = 0; i < todo; i++) { /* 8-bit WAV is unsigned */ - field = (*ibuf++ - 128); - field -= (*obuf - 128); + field = (*obuf - 128); + field -= (*ibuf++ - 128); if (field > 127) field = 127; else if (field < -128) field = -128; *obuf++ = field + 128; @@ -569,8 +569,8 @@ static void DSOUND_PhaseCancel(IDirectSo for (i = 0; i < todo; i++) { /* 16-bit WAV is signed */ - field = *ibufs++; - field -= *obufs; + field = *obufs; + field -= *ibufs++; if (field > 32767) field = 32767; else if (field < -32768) field = -32768; *obufs++ = field; @@ -582,8 +582,8 @@ static void DSOUND_PhaseCancel(IDirectSo for (i = 0; i < todo; i++) { /* 16-bit WAV is signed */ - field = *ibufs++; - field -= *obufs; + field = *obufs; + field -= *ibufs++; if (field > 32767) field = 32767; else if (field < -32768) field = -32768; *obufs++ = field;
1
0
0
0
wine/dlls/user painting.c
by Alexandre Julliard
01 Nov '05
01 Nov '05
ChangeSet ID: 21012 CVSROOT: /opt/cvs-commit Module name: wine Changes by: julliard(a)winehq.org 2005/11/01 03:53:59 Modified files: dlls/user : painting.c Log message: Michael Kaufmann <hallo(a)michael-kaufmann.ch> ScrollWindowEx: Don't move the caret of child windows and hide it only if it's in the source or in the destination rectangle. Patch:
http://cvs.winehq.org/patch.py?id=21012
Old revision New revision Changes Path 1.34 1.35 +66 -18 wine/dlls/user/painting.c Index: wine/dlls/user/painting.c diff -u -p wine/dlls/user/painting.c:1.34 wine/dlls/user/painting.c:1.35 --- wine/dlls/user/painting.c 1 Nov 2005 9:53:59 -0000 +++ /dev/null 1 Nov 2005 9:53:59 -0000 @@ -346,30 +346,75 @@ static void update_now( HWND hwnd, UINT /************************************************************************* * fix_caret * - * Helper for ScrollWindowEx. + * Helper for ScrollWindowEx: + * If the return value is 0, no special caret handling is necessary. + * Otherwise the return value is the handle of the window that owns the + * caret. Its caret needs to be hidden during the scroll operation and + * moved to new_caret_pos if move_caret is TRUE. */ -static HWND fix_caret(HWND hWnd, LPRECT lprc, UINT flags) +static HWND fix_caret(HWND hWnd, const LPRECT scroll_rect, INT dx, INT dy, + UINT flags, LPBOOL move_caret, LPPOINT new_caret_pos) { GUITHREADINFO info; + RECT rect, mapped_rcCaret; + BOOL hide_caret = FALSE; if (!GetGUIThreadInfo( GetCurrentThreadId(), &info )) return 0; if (!info.hwndCaret) return 0; - if (info.hwndCaret == hWnd || - ((flags & SW_SCROLLCHILDREN) && IsChild(hWnd, info.hwndCaret))) + + if (info.hwndCaret == hWnd) { - POINT pt; - pt.x = info.rcCaret.left; - pt.y = info.rcCaret.top; - MapWindowPoints( info.hwndCaret, hWnd, (LPPOINT)&info.rcCaret, 2 ); - if( IntersectRect(lprc, lprc, &info.rcCaret) ) + /* Move the caret if it's (partially) in the source rectangle */ + if (IntersectRect(&rect, scroll_rect, &info.rcCaret)) { - HideCaret(0); - lprc->left = pt.x; - lprc->top = pt.y; - return info.hwndCaret; + *move_caret = TRUE; + hide_caret = TRUE; + new_caret_pos->x = info.rcCaret.left + dx; + new_caret_pos->y = info.rcCaret.top + dy; + } + else + { + *move_caret = FALSE; + + /* Hide the caret if it's in the destination rectangle */ + rect = *scroll_rect; + OffsetRect(&rect, dx, dy); + hide_caret = IntersectRect(&rect, &rect, &info.rcCaret); + } + } + else + { + if ((flags & SW_SCROLLCHILDREN) && IsChild(hWnd, info.hwndCaret)) + { + *move_caret = FALSE; + + /* Hide the caret if it's in the source or in the destination + rectangle */ + mapped_rcCaret = info.rcCaret; + MapWindowPoints(info.hwndCaret, hWnd, (LPPOINT)&mapped_rcCaret, 2); + + if (IntersectRect(&rect, scroll_rect, &mapped_rcCaret)) + { + hide_caret = TRUE; + } + else + { + rect = *scroll_rect; + OffsetRect(&rect, dx, dy); + hide_caret = IntersectRect(&rect, &rect, &mapped_rcCaret); + } } + else + return 0; } - return 0; + + if (hide_caret) + { + HideCaret(info.hwndCaret); + return info.hwndCaret; + } + else + return 0; } @@ -756,8 +801,9 @@ INT WINAPI ScrollWindowEx( HWND hwnd, IN HRGN hrgnWinupd = 0; HDC hDC; RECT rc, cliprc; - RECT caretrc; HWND hwndCaret = NULL; + BOOL moveCaret = FALSE; + POINT newCaretPos; TRACE( "%p, %d,%d hrgnUpdate=%p rcUpdate = %p %s %04x\n", hwnd, dx, dy, hrgnUpdate, rcUpdate, wine_dbgstr_rect(rect), flags ); @@ -780,11 +826,13 @@ INT WINAPI ScrollWindowEx( HWND hwnd, IN if( hrgnUpdate ) bOwnRgn = FALSE; else if( bUpdate ) hrgnUpdate = CreateRectRgn( 0, 0, 0, 0 ); + newCaretPos.x = newCaretPos.y = 0; + if( !IsRectEmpty(&cliprc) && (dx || dy)) { DWORD dcxflags = DCX_CACHE; DWORD style = GetWindowLongW( hwnd, GWL_STYLE ); - caretrc = rc; - hwndCaret = fix_caret(hwnd, &caretrc, flags); + + hwndCaret = fix_caret(hwnd, &rc, dx, dy, flags, &moveCaret, &newCaretPos); if( style & WS_CLIPSIBLINGS) dcxflags |= DCX_CLIPSIBLINGS; if( GetClassLongW( hwnd, GCL_STYLE ) & CS_PARENTDC) @@ -859,7 +907,7 @@ INT WINAPI ScrollWindowEx( HWND hwnd, IN } if( hwndCaret ) { - SetCaretPos( caretrc.left + dx, caretrc.top + dy ); + if ( moveCaret ) SetCaretPos( newCaretPos.x, newCaretPos.y ); ShowCaret(hwndCaret); }
1
0
0
0
wine/dlls/shell32 shlfolder.c shfldr_fs.c shfl ...
by Alexandre Julliard
01 Nov '05
01 Nov '05
ChangeSet ID: 21011 CVSROOT: /opt/cvs-commit Module name: wine Changes by: julliard(a)winehq.org 2005/11/01 03:34:03 Modified files: dlls/shell32 : shlfolder.c shfldr_fs.c shfldr_desktop.c shfldr.h Log message: Robert Shearman <rob(a)codeweavers.com> Convert SHELL32_BindToChild to Unicode and fix up the callers. Patch:
http://cvs.winehq.org/patch.py?id=21011
Old revision New revision Changes Path 1.104 1.105 +14 -17 wine/dlls/shell32/shlfolder.c 1.47 1.48 +3 -1 wine/dlls/shell32/shfldr_fs.c 1.47 1.48 +1 -4 wine/dlls/shell32/shfldr_desktop.c 1.10 1.11 +1 -1 wine/dlls/shell32/shfldr.h Index: wine/dlls/shell32/shlfolder.c diff -u -p wine/dlls/shell32/shlfolder.c:1.104 wine/dlls/shell32/shlfolder.c:1.105 --- wine/dlls/shell32/shlfolder.c 1 Nov 2005 9:34: 3 -0000 +++ /dev/null 1 Nov 2005 9:34: 3 -0000 @@ -192,12 +192,12 @@ HRESULT SHELL32_ParseNextElement (IShell * pathRoot can be NULL for Folders beeing a drive. * In this case the absolute path is build from pidlChild (eg. C:) */ -HRESULT SHELL32_CoCreateInitSF (LPCITEMIDLIST pidlRoot, LPCSTR pathRoot, +static HRESULT SHELL32_CoCreateInitSF (LPCITEMIDLIST pidlRoot, LPCWSTR pathRoot, LPCITEMIDLIST pidlChild, REFCLSID clsid, REFIID riid, LPVOID * ppvOut) { HRESULT hr; - TRACE ("%p %s %p\n", pidlRoot, pathRoot, pidlChild); + TRACE ("%p %s %p\n", pidlRoot, debugstr_w(pathRoot), pidlChild); if (SUCCEEDED ((hr = SHCoCreateInstance (NULL, clsid, NULL, riid, ppvOut)))) { LPITEMIDLIST pidlAbsolute = ILCombine (pidlRoot, pidlChild); @@ -208,32 +208,29 @@ HRESULT SHELL32_CoCreateInitSF (LPCITEMI SUCCEEDED (IUnknown_QueryInterface ((IUnknown *) * ppvOut, &IID_IPersistFolder3, (LPVOID *) & ppf))) { PERSIST_FOLDER_TARGET_INFO ppfti; - char szDestPath[MAX_PATH]; ZeroMemory (&ppfti, sizeof (ppfti)); + /* fill the PERSIST_FOLDER_TARGET_INFO */ + ppfti.dwAttributes = -1; + ppfti.csidl = -1; + /* build path */ if (pathRoot) { - lstrcpyA (szDestPath, pathRoot); - PathAddBackslashA(szDestPath); /* FIXME: why have drives a backslash here ? */ - } else { - szDestPath[0] = '\0'; + lstrcpynW (ppfti.szTargetParsingName, pathRoot, MAX_PATH - 1); + PathAddBackslashW(ppfti.szTargetParsingName); /* FIXME: why have drives a backslash here ? */ } if (pidlChild) { - LPSTR pszChild = _ILGetTextPointer(pidlChild); + LPCSTR pszChild = _ILGetTextPointer(pidlChild); + int len = lstrlenW(ppfti.szTargetParsingName); if (pszChild) - lstrcatA (szDestPath, pszChild); + MultiByteToWideChar (CP_ACP, 0, pszChild, -1, ppfti.szTargetParsingName + len, MAX_PATH - len); else hr = E_INVALIDARG; } - /* fill the PERSIST_FOLDER_TARGET_INFO */ - ppfti.dwAttributes = -1; - ppfti.csidl = -1; - MultiByteToWideChar (CP_ACP, 0, szDestPath, -1, ppfti.szTargetParsingName, MAX_PATH); - IPersistFolder3_InitializeEx (ppf, NULL, pidlAbsolute, &ppfti); IPersistFolder3_Release (ppf); } @@ -265,7 +262,7 @@ HRESULT SHELL32_CoCreateInitSF (LPCITEMI * means you probably can't use it for your IShellFolder implementation. */ HRESULT SHELL32_BindToChild (LPCITEMIDLIST pidlRoot, - LPCSTR pathRoot, LPCITEMIDLIST pidlComplete, REFIID riid, LPVOID * ppvOut) + LPCWSTR pathRoot, LPCITEMIDLIST pidlComplete, REFIID riid, LPVOID * ppvOut) { GUID const *clsid; IShellFolder *pSF; @@ -290,10 +287,10 @@ HRESULT SHELL32_BindToChild (LPCITEMIDLI /* see if folder CLSID should be overridden by desktop.ini file */ if (pathRoot) { - MultiByteToWideChar(CP_ACP, 0, pathRoot, -1, wszFolderPath, MAX_PATH); + lstrcpynW(wszFolderPath, pathRoot, MAX_PATH); pwszPathTail = PathAddBackslashW(wszFolderPath); } - MultiByteToWideChar(CP_ACP, 0, _ILGetTextPointer(pidlChild), -1, pwszPathTail, MAX_PATH); + MultiByteToWideChar(CP_ACP, 0, _ILGetTextPointer(pidlChild), -1, pwszPathTail, MAX_PATH - (int)(pwszPathTail - wszFolderPath)); if (SHELL32_GetCustomFolderAttributeFromPath (wszFolderPath, wszDotShellClassInfo, wszCLSID, wszCLSIDValue, CHARS_IN_GUID)) CLSIDFromString (wszCLSIDValue, &clsidFolder); Index: wine/dlls/shell32/shfldr_fs.c diff -u -p wine/dlls/shell32/shfldr_fs.c:1.47 wine/dlls/shell32/shfldr_fs.c:1.48 --- wine/dlls/shell32/shfldr_fs.c 1 Nov 2005 9:34: 4 -0000 +++ /dev/null 1 Nov 2005 9:34: 4 -0000 @@ -481,11 +481,13 @@ IShellFolder_fnBindToObject (IShellFolde LPBC pbc, REFIID riid, LPVOID * ppvOut) { IGenericSFImpl *This = impl_from_IShellFolder2(iface); + WCHAR szPath[MAX_PATH]; TRACE ("(%p)->(pidl=%p,%p,%s,%p)\n", This, pidl, pbc, shdebugstr_guid (riid), ppvOut); - return SHELL32_BindToChild (This->pidlRoot, This->sPathTarget, pidl, riid, + MultiByteToWideChar(CP_ACP, 0, This->sPathTarget, -1, szPath, MAX_PATH); + return SHELL32_BindToChild (This->pidlRoot, szPath, pidl, riid, ppvOut); } Index: wine/dlls/shell32/shfldr_desktop.c diff -u -p wine/dlls/shell32/shfldr_desktop.c:1.47 wine/dlls/shell32/shfldr_desktop.c:1.48 --- wine/dlls/shell32/shfldr_desktop.c 1 Nov 2005 9:34: 4 -0000 +++ /dev/null 1 Nov 2005 9:34: 4 -0000 @@ -341,14 +341,11 @@ static HRESULT WINAPI ISF_Desktop_fnBind LPCITEMIDLIST pidl, LPBC pbcReserved, REFIID riid, LPVOID * ppvOut) { IGenericSFImpl *This = (IGenericSFImpl *)iface; - char szPath[MAX_PATH]; TRACE ("(%p)->(pidl=%p,%p,%s,%p)\n", This, pidl, pbcReserved, shdebugstr_guid (riid), ppvOut); - WideCharToMultiByte( CP_ACP, 0, This->sPathTarget, -1, - szPath, MAX_PATH, NULL, NULL ); - return SHELL32_BindToChild( This->pidlRoot, szPath, pidl, riid, ppvOut ); + return SHELL32_BindToChild( This->pidlRoot, This->sPathTarget, pidl, riid, ppvOut ); } /************************************************************************** Index: wine/dlls/shell32/shfldr.h diff -u -p wine/dlls/shell32/shfldr.h:1.10 wine/dlls/shell32/shfldr.h:1.11 --- wine/dlls/shell32/shfldr.h 1 Nov 2005 9:34: 4 -0000 +++ /dev/null 1 Nov 2005 9:34: 4 -0000 @@ -43,7 +43,7 @@ HRESULT SHELL32_GetDisplayNameOfChild (I DWORD dwOutLen); HRESULT SHELL32_BindToChild (LPCITEMIDLIST pidlRoot, - LPCSTR pathRoot, LPCITEMIDLIST pidlComplete, REFIID riid, LPVOID * ppvOut); + LPCWSTR pathRoot, LPCITEMIDLIST pidlComplete, REFIID riid, LPVOID * ppvOut); HRESULT SHELL32_CompareIDs (IShellFolder * iface, LPARAM lParam, LPCITEMIDLIST pidl1, LPCITEMIDLIST pidl2); LPITEMIDLIST SHELL32_CreatePidlFromBindCtx(IBindCtx *pbc, LPCWSTR path);
1
0
0
0
wine/dlls/ntdll signal_i386.c exception.c
by Alexandre Julliard
01 Nov '05
01 Nov '05
ChangeSet ID: 21010 CVSROOT: /opt/cvs-commit Module name: wine Changes by: julliard(a)winehq.org 2005/11/01 03:21:03 Modified files: dlls/ntdll : signal_i386.c exception.c Log message: Robert Shearman <rob(a)codeweavers.com> Make the call exception handler function more compatible with NT and with what Shrinker expects. Patch:
http://cvs.winehq.org/patch.py?id=21010
Old revision New revision Changes Path 1.101 1.102 +37 -22 wine/dlls/ntdll/signal_i386.c 1.86 1.87 +0 -2 wine/dlls/ntdll/exception.c Index: wine/dlls/ntdll/signal_i386.c diff -u -p wine/dlls/ntdll/signal_i386.c:1.101 wine/dlls/ntdll/signal_i386.c:1.102 --- wine/dlls/ntdll/signal_i386.c 1 Nov 2005 9:21: 3 -0000 +++ /dev/null 1 Nov 2005 9:21: 3 -0000 @@ -1387,33 +1387,48 @@ __ASM_GLOBAL_FUNC( DbgUserBreakPoint, "i /********************************************************************** * EXC_CallHandler (internal) + * + * Some exception handlers depend on EBP to have a fixed position relative to + * the exception frame. + * Shrinker depends on (*1) doing what it does, + * (*2) being the exact instruction it is and (*3) beginning with 0x64 + * (i.e. the %fs prefix to the movl instruction). It also depends on the + * function calling the handler having only 5 parameters (*4). */ __ASM_GLOBAL_FUNC( EXC_CallHandler, " pushl %ebp\n" " movl %esp, %ebp\n" -" subl $12, %esp\n" -" movl 28(%ebp), %eax\n" -" movl 12(%ebp), %edx\n" -" movl %eax, -8(%ebp)\n" -" movl %edx, -4(%ebp)\n" -" leal -12(%ebp), %eax\n" -" .byte 0x64\n" -" movl (0),%ecx\n" -" movl %ecx,(%eax)\n" -" .byte 0x64\n" -" movl %eax,(0)\n" -" movl 20(%ebp), %eax\n" -" pushl %eax\n" -" movl 16(%ebp), %eax\n" -" pushl %eax\n" -" movl 8(%ebp), %eax\n" -" pushl %edx\n" -" pushl %eax\n" -" call *24(%ebp)\n" -" movl -12(%ebp), %edx\n" -" .byte 0x64\n" -" movl %edx,(0)\n" +" movl 28(%ebp), %edx\n" /* ugly hack to pass the 6th param needed because of Shrinker */ +" pushl 24(%ebp)\n" +" pushl 20(%ebp)\n" +" pushl 16(%ebp)\n" +" pushl 12(%ebp)\n" +" pushl 8(%ebp)\n" +" call call_exception_handler\n" " leave\n" " ret\n" ); +__ASM_GLOBAL_FUNC(call_exception_handler, +" pushl %ebp\n" +" movl %esp, %ebp\n" +" pushl 12(%ebp)\n" /* make any exceptions in this... */ +" pushl %edx\n" /* handler be handled by... */ +" .byte 0x64\n" +" pushl (0)\n" /* nested_handler (passed in edx). */ +" .byte 0x64\n" +" movl %esp,(0)\n" /* push the new exception frame onto the exception stack. */ +" pushl 20(%ebp)\n" +" pushl 16(%ebp)\n" +" pushl 12(%ebp)\n" +" pushl 8(%ebp)\n" +" movl 24(%ebp), %ecx\n" /* (*1) */ +" call *%ecx\n" /* call handler. (*2) */ +" .byte 0x64\n" +" movl (0), %esp\n" /* restore previous... (*3) */ +" .byte 0x64\n" +" popl (0)\n" /* exception frame. */ +" movl %ebp, %esp\n" /* restore saved stack, in case it was corrupted */ +" popl %ebp\n" +" ret $20\n" /* (*4) */ +); #endif /* __i386__ */ Index: wine/dlls/ntdll/exception.c diff -u -p wine/dlls/ntdll/exception.c:1.86 wine/dlls/ntdll/exception.c:1.87 --- wine/dlls/ntdll/exception.c 1 Nov 2005 9:21: 3 -0000 +++ /dev/null 1 Nov 2005 9:21: 3 -0000 @@ -114,8 +114,6 @@ static DWORD EXC_UnwindHandler( EXCEPTIO * * Call an exception handler, setting up an exception frame to catch exceptions * happening during the handler execution. - * Please do not change the first 4 parameters order in any way - some exceptions handlers - * rely on Base Pointer (EBP) to have a fixed position related to the exception frame * * For i386 this function is implemented in assembler in signal_i386.c. */
1
0
0
0
CVSROOT/. log_accum
by Alexandre Julliard
01 Nov '05
01 Nov '05
ChangeSet ID: 21009 CVSROOT: /opt/cvs-commit Module name: CVSROOT Changes by: julliard(a)winehq.org 2005/11/01 03:10:49 Modified files: . : log_accum Log message: Added support for sending XML notifications to the CIA bot. Patch:
http://cvs.winehq.org/patch.py?id=21009
Old revision New revision Changes Path 1.29 1.30 +98 -18 CVSROOT/log_accum
1
0
0
0
← Newer
1
...
55
56
57
58
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
Results per page:
10
25
50
100
200