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
August 2009
----- 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
1042 discussions
Start a n
N
ew thread
Henri Verbeet : wined3d: Properly check if an attribute is used in drawStridedInstanced().
by Alexandre Julliard
27 Aug '09
27 Aug '09
Module: wine Branch: master Commit: c51432344282189c2b3b8a9b0867054ec3d0a229 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=c51432344282189c2b3b8a9b0…
Author: Henri Verbeet <hverbeet(a)codeweavers.com> Date: Thu Aug 27 10:04:52 2009 +0200 wined3d: Properly check if an attribute is used in drawStridedInstanced(). --- dlls/wined3d/drawprim.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/dlls/wined3d/drawprim.c b/dlls/wined3d/drawprim.c index 6103ff3..5627b90 100644 --- a/dlls/wined3d/drawprim.c +++ b/dlls/wined3d/drawprim.c @@ -522,6 +522,8 @@ static inline void drawStridedInstanced(IWineD3DDevice *iface, const struct wine for (i = 0; i < sizeof(si->elements) / sizeof(*si->elements); ++i) { + if (!(si->use_map & (1 << i))) continue; + if (stateblock->streamFlags[si->elements[i].stream_idx] & WINED3DSTREAMSOURCE_INSTANCEDATA) { instancedData[numInstancedAttribs] = i;
1
0
0
0
Michael Stefaniuc : user32: Remove a stray '; ' that produces an empty if condition.
by Alexandre Julliard
27 Aug '09
27 Aug '09
Module: wine Branch: master Commit: 3a7a0eb9dd9b8b68eb93ee9273fcf065cd995da9 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=3a7a0eb9dd9b8b68eb93ee927…
Author: Michael Stefaniuc <mstefani(a)redhat.de> Date: Thu Aug 27 00:30:56 2009 +0200 user32: Remove a stray ';' that produces an empty if condition. --- dlls/user32/edit.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/user32/edit.c b/dlls/user32/edit.c index 83e004a..5a62bc2 100644 --- a/dlls/user32/edit.c +++ b/dlls/user32/edit.c @@ -3636,7 +3636,7 @@ static LRESULT EDIT_WM_KeyDown(EDITSTATE *es, INT key) } break; case VK_ESCAPE: - if ((es->style & ES_MULTILINE) && EDIT_IsInsideDialog(es)); + if ((es->style & ES_MULTILINE) && EDIT_IsInsideDialog(es)) PostMessageW(es->hwndParent, WM_CLOSE, 0, 0); break; case VK_TAB:
1
0
0
0
Jacek Caban : mshtml: Update wine_url in nsIURL::SetQuery.
by Alexandre Julliard
27 Aug '09
27 Aug '09
Module: wine Branch: master Commit: 46ca3c433f99344b2c9cc03bb816633f207f46ff URL:
http://source.winehq.org/git/wine.git/?a=commit;h=46ca3c433f99344b2c9cc03bb…
Author: Jacek Caban <jacek(a)codeweavers.com> Date: Wed Aug 26 23:14:20 2009 +0200 mshtml: Update wine_url in nsIURL::SetQuery. --- dlls/mshtml/nsio.c | 46 +++++++++++++++++++++++++++++++++++++++++++--- 1 files changed, 43 insertions(+), 3 deletions(-) diff --git a/dlls/mshtml/nsio.c b/dlls/mshtml/nsio.c index b5fe51e..12e8520 100644 --- a/dlls/mshtml/nsio.c +++ b/dlls/mshtml/nsio.c @@ -1856,14 +1856,54 @@ static nsresult NSAPI nsURL_GetQuery(nsIWineURI *iface, nsACString *aQuery) static nsresult NSAPI nsURL_SetQuery(nsIWineURI *iface, const nsACString *aQuery) { nsURI *This = NSURI_THIS(iface); + const WCHAR *ptr1, *ptr2; + const char *query; + WCHAR *new_url, *ptr; + DWORD len, size; TRACE("(%p)->(%s)\n", This, debugstr_nsacstr(aQuery)); if(This->nsurl) - return nsIURL_SetQuery(This->nsurl, aQuery); + nsIURL_SetQuery(This->nsurl, aQuery); - FIXME("default action not implemented\n"); - return NS_ERROR_NOT_IMPLEMENTED; + if(!This->wine_url) + return NS_OK; + + nsACString_GetData(aQuery, &query); + size = len = MultiByteToWideChar(CP_ACP, 0, query, -1, NULL, 0); + ptr1 = strchrW(This->wine_url, '?'); + if(ptr1) { + size += ptr1-This->wine_url; + ptr2 = strchrW(ptr1, '#'); + if(ptr2) + size += strlenW(ptr2); + }else { + ptr1 = This->wine_url + strlenW(This->wine_url); + ptr2 = NULL; + size += strlenW(This->wine_url); + } + + if(*query) + size++; + + new_url = heap_alloc(size*sizeof(WCHAR)); + memcpy(new_url, This->wine_url, (ptr1-This->wine_url)*sizeof(WCHAR)); + ptr = new_url + (ptr1-This->wine_url); + if(*query) { + *ptr++ = '?'; + MultiByteToWideChar(CP_ACP, 0, query, -1, ptr, len); + ptr += len-1; + } + if(ptr2) + strcpyW(ptr, ptr2); + else + *ptr = 0; + + TRACE("setting %s\n", debugstr_w(new_url)); + + heap_free(This->wine_url); + This->wine_url = new_url; + return NS_OK; } static nsresult NSAPI nsURL_GetRef(nsIWineURI *iface, nsACString *aRef)
1
0
0
0
Jacek Caban : mshtml: Wrap nsIURL interface.
by Alexandre Julliard
27 Aug '09
27 Aug '09
Module: wine Branch: master Commit: d6215843d79bea52badca3d7ace6e0bb323d1d81 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=d6215843d79bea52badca3d7a…
Author: Jacek Caban <jacek(a)codeweavers.com> Date: Thu Aug 27 11:31:14 2009 +0200 mshtml: Wrap nsIURL interface. --- dlls/mshtml/nsiface.idl | 30 +++++- dlls/mshtml/nsio.c | 271 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 300 insertions(+), 1 deletions(-) Diff:
http://source.winehq.org/git/wine.git/?a=commitdiff;h=d6215843d79bea52badca…
1
0
0
0
Jacek Caban : mshtml: Remove no longer used create_nsstream.
by Alexandre Julliard
27 Aug '09
27 Aug '09
Module: wine Branch: master Commit: 9545da643f31adce5a1bc5de07a7ecbcd124f1d8 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=9545da643f31adce5a1bc5de0…
Author: Jacek Caban <jacek(a)codeweavers.com> Date: Wed Aug 26 23:13:29 2009 +0200 mshtml: Remove no longer used create_nsstream. --- dlls/mshtml/nsembed.c | 30 ------------------------------ dlls/mshtml/nsiface.idl | 13 ------------- 2 files changed, 0 insertions(+), 43 deletions(-) diff --git a/dlls/mshtml/nsembed.c b/dlls/mshtml/nsembed.c index 41f762f..50001aa 100644 --- a/dlls/mshtml/nsembed.c +++ b/dlls/mshtml/nsembed.c @@ -38,14 +38,10 @@ WINE_DECLARE_DEBUG_CHANNEL(gecko); #define NS_APPSTARTUPNOTIFIER_CONTRACTID "@mozilla.org/embedcomp/appstartup-notifier;1" #define NS_WEBBROWSER_CONTRACTID "@mozilla.org/embedding/browser/nsWebBrowser;1" -#define NS_PROFILE_CONTRACTID "@mozilla.org/profile/manager;1" #define NS_MEMORY_CONTRACTID "@mozilla.org/xpcom/memory-service;1" -#define NS_STRINGSTREAM_CONTRACTID "@mozilla.org/io/string-input-stream;1" #define NS_COMMANDPARAMS_CONTRACTID "@mozilla.org/embedcomp/command-params;1" #define NS_HTMLSERIALIZER_CONTRACTID "@mozilla.org/layout/contentserializer;1?mimetype=text/html" #define NS_EDITORCONTROLLER_CONTRACTID "@mozilla.org/editor/editorcontroller;1" -#define NS_ARRAY_CONTRACTID "@mozilla.org/array;1" -#define NS_VARIANT_CONTRACTID "@mozilla.org/variant;1" #define NS_PREFERENCES_CONTRACTID "@mozilla.org/preferences;1" #define APPSTARTUP_TOPIC "app-startup" @@ -581,32 +577,6 @@ void nsAString_Finish(nsAString *str) NS_StringContainerFinish(str); } -nsIInputStream *create_nsstream(const char *data, PRInt32 data_len) -{ - nsIStringInputStream *ret; - nsresult nsres; - - if(!pCompMgr) - return NULL; - - nsres = nsIComponentManager_CreateInstanceByContractID(pCompMgr, - NS_STRINGSTREAM_CONTRACTID, NULL, &IID_nsIStringInputStream, - (void**)&ret); - if(NS_FAILED(nsres)) { - ERR("Could not get nsIStringInputStream\n"); - return NULL; - } - - nsres = nsIStringInputStream_SetData(ret, data, data_len); - if(NS_FAILED(nsres)) { - ERR("AdoptData failed: %08x\n", nsres); - nsIStringInputStream_Release(ret); - return NULL; - } - - return (nsIInputStream*)ret; -} - nsICommandParams *create_nscommand_params(void) { nsICommandParams *ret = NULL; diff --git a/dlls/mshtml/nsiface.idl b/dlls/mshtml/nsiface.idl index b6ae250..1bfc67d 100644 --- a/dlls/mshtml/nsiface.idl +++ b/dlls/mshtml/nsiface.idl @@ -286,19 +286,6 @@ interface nsIInputStream : nsISupports [ object, - uuid(450cd2d4-f0fd-424d-b365-b1251f80fd53), - local - /* NOT_FROZEN */ -] -interface nsIStringInputStream : nsIInputStream -{ - nsresult SetData(const char *data, PRInt32 dataLen); - nsresult AdoptData(char *data, PRInt32 dataLen); - nsresult ShareData(const char *data, PRInt32 dataLen); -} - -[ - object, uuid(07a22cc0-0ce5-11d3-9331-00104ba0fd40), local /* FROZEN */
1
0
0
0
Juan Lang : crypt32: Fix a test failure on Windows 7.
by Alexandre Julliard
27 Aug '09
27 Aug '09
Module: wine Branch: master Commit: 9227947a5952f38fd4c79c0a01ec75a53b3da2af URL:
http://source.winehq.org/git/wine.git/?a=commit;h=9227947a5952f38fd4c79c0a0…
Author: Juan Lang <juan.lang(a)gmail.com> Date: Wed Aug 26 08:56:55 2009 -0700 crypt32: Fix a test failure on Windows 7. --- dlls/crypt32/tests/oid.c | 8 -------- 1 files changed, 0 insertions(+), 8 deletions(-) diff --git a/dlls/crypt32/tests/oid.c b/dlls/crypt32/tests/oid.c index 8b680c4..030a548 100644 --- a/dlls/crypt32/tests/oid.c +++ b/dlls/crypt32/tests/oid.c @@ -98,16 +98,8 @@ static void testOIDToAlgID(void) DWORD alg; /* Test with a bogus one */ - SetLastError(0xdeadbeef); alg = CertOIDToAlgId("1.2.3"); ok(!alg, "Expected failure, got %d\n", alg); - ok(GetLastError() == 0xdeadbeef || - GetLastError() == ERROR_RESOURCE_NAME_NOT_FOUND || - GetLastError() == ERROR_INVALID_PARAMETER || /* Vista */ - GetLastError() == ERROR_SUCCESS || /* win2k */ - GetLastError() == ERROR_FILE_INVALID, /* another Vista */ - "Expected ERROR_RESOURCE_NAME_NOT_FOUND, ERROR_INVALID_PARAMETER, " - "ERROR_SUCCESS or no error set, got %08x\n", GetLastError()); for (i = 0; i < sizeof(oidToAlgID) / sizeof(oidToAlgID[0]); i++) {
1
0
0
0
Juan Lang : comctl32: Return the number of characters copied in WM_GETTEXT even if the buffer is too small .
by Alexandre Julliard
27 Aug '09
27 Aug '09
Module: wine Branch: master Commit: 390a248e0649cf5cc4c4e8a476f0747bc204c3ba URL:
http://source.winehq.org/git/wine.git/?a=commit;h=390a248e0649cf5cc4c4e8a47…
Author: Juan Lang <juan.lang(a)gmail.com> Date: Wed Aug 26 08:50:39 2009 -0700 comctl32: Return the number of characters copied in WM_GETTEXT even if the buffer is too small. --- dlls/comctl32/status.c | 11 ++++++++--- dlls/comctl32/tests/status.c | 29 +++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+), 3 deletions(-) diff --git a/dlls/comctl32/status.c b/dlls/comctl32/status.c index 11a977d..d6b627a 100644 --- a/dlls/comctl32/status.c +++ b/dlls/comctl32/status.c @@ -1016,12 +1016,17 @@ STATUSBAR_WMGetText (const STATUS_INFO *infoPtr, INT size, LPWSTR buf) len = strlenW (infoPtr->parts[0].text); - if (size > len) { + if (!size) + return len; + else if (size > len) { strcpyW (buf, infoPtr->parts[0].text); return len; } - - return -1; + else { + memcpy (buf, infoPtr->parts[0].text, (size - 1) * sizeof(WCHAR)); + buf[size - 1] = 0; + return size - 1; + } } diff --git a/dlls/comctl32/tests/status.c b/dlls/comctl32/tests/status.c index f1cbda4..28df50f 100644 --- a/dlls/comctl32/tests/status.c +++ b/dlls/comctl32/tests/status.c @@ -466,6 +466,34 @@ static void test_status_ownerdraw(void) SetWindowLongPtr( g_hMainWnd, GWLP_WNDPROC, (LONG_PTR)g_wndproc_saved ); } +static void test_gettext(void) +{ + HWND hwndStatus = CreateWindow(SUBCLASS_NAME, NULL, WS_CHILD|WS_VISIBLE, + 0, 0, 300, 20, g_hMainWnd, NULL, NULL, NULL); + char buf[5]; + int r; + + r = SendMessage(hwndStatus, SB_SETTEXT, 0, (LPARAM)"Text"); + expect(TRUE, r); + r = SendMessage(hwndStatus, WM_GETTEXTLENGTH, 0, 0); + expect(4, r); + /* A size of 0 returns the length of the text */ + r = SendMessage(hwndStatus, WM_GETTEXT, 0, 0); + expect(4, r); + /* A size of 1 only stores the NULL terminator */ + buf[0] = 0xa; + r = SendMessage(hwndStatus, WM_GETTEXT, 1, (LPARAM)buf); + expect(0, r); + ok(!buf[0], "expected empty buffer\n"); + /* A size of 2 returns a length 1 */ + r = SendMessage(hwndStatus, WM_GETTEXT, 2, (LPARAM)buf); + expect(1, r); + r = SendMessage(hwndStatus, WM_GETTEXT, sizeof(buf), (LPARAM)buf); + expect(4, r); + ok(!strcmp(buf, "Text"), "expected Text, got %s\n", buf); + DestroyWindow(hwndStatus); +} + START_TEST(status) { hinst = GetModuleHandleA(NULL); @@ -483,4 +511,5 @@ START_TEST(status) test_create(); test_height(); test_status_ownerdraw(); + test_gettext(); }
1
0
0
0
Jörg Höhle : wined3d: Delete meaningless UNIX GL driver version parsing.
by Alexandre Julliard
27 Aug '09
27 Aug '09
Module: wine Branch: master Commit: b9d955b86d2c03ad877767d97ad77f092d664ceb URL:
http://source.winehq.org/git/wine.git/?a=commit;h=b9d955b86d2c03ad877767d97…
Author: Jörg Höhle <hoehle(a)users.sourceforge.net> Date: Sun Aug 23 19:35:36 2009 +0200 wined3d: Delete meaningless UNIX GL driver version parsing. --- dlls/wined3d/directx.c | 109 ++--------------------------------------------- 1 files changed, 5 insertions(+), 104 deletions(-) diff --git a/dlls/wined3d/directx.c b/dlls/wined3d/directx.c index 64f04fc..8d1995d 100644 --- a/dlls/wined3d/directx.c +++ b/dlls/wined3d/directx.c @@ -927,7 +927,9 @@ static void fixup_extensions(struct wined3d_gl_info *gl_info, const char *gl_ren /* Find out if PBOs work as they are supposed to. */ test_pbo_functionality(gl_info); - /* Fixup the driver version */ + /* Fixup the driver version we'll report to the app. */ + gl_info->driver_version = MAKEDWORD_VERSION(8, 6); /* Nvidia RIVA TNT, arbitrary */ + gl_info->driver_version_hipart = MAKEDWORD_VERSION(7, 1); for (i = 0; i < (sizeof(driver_version_table) / sizeof(driver_version_table[0])); ++i) { if (gl_info->gl_vendor == driver_version_table[i].vendor @@ -944,6 +946,8 @@ static void fixup_extensions(struct wined3d_gl_info *gl_info, const char *gl_ren break; } } + TRACE_(d3d_caps)("Reporting (fake) driver version 0x%08X-0x%08X.\n", + gl_info->driver_version_hipart, gl_info->driver_version); } static DWORD wined3d_parse_gl_version(const char *gl_version) @@ -964,105 +968,6 @@ static DWORD wined3d_parse_gl_version(const char *gl_version) return MAKEDWORD_VERSION(major, minor); } -static DWORD wined3d_guess_driver_version(const char *gl_version, GL_Vendors vendor) -{ - int major, minor; - const char *ptr; - DWORD ret; - - /* Now parse the driver specific string which we'll report to the app. */ - switch (vendor) - { - case VENDOR_NVIDIA: - ptr = strstr(gl_version, "NVIDIA"); - if (!ptr) return 0; - - ptr = strstr(ptr, " "); - if (!ptr) return 0; - - while (isspace(*ptr)) ++ptr; - if (!*ptr) return 0; - - major = atoi(ptr); - while (isdigit(*ptr)) ++ptr; - - if (*ptr++ != '.') return 0; - - minor = atoi(ptr); - minor = major * 100 + minor; - major = 10; - break; - - case VENDOR_ATI: - major = minor = 0; - - ptr = strchr(gl_version, '-'); - if (!ptr) return 0; - - ++ptr; - - /* Check if version number is of the form x.y.z. */ - if (strlen(ptr) < 5 - || !isdigit(ptr[0]) || ptr[1] != '.' - || !isdigit(ptr[2]) || ptr[3] != '.' - || !isdigit(ptr[4])) - { - return 0; - } - - major = ptr[0] - '0'; - minor = ((ptr[2] - '0') << 8) | (ptr[4] - '0'); - break; - - case VENDOR_INTEL: - /* Apple and Mesa version strings look differently, but both provide intel drivers. */ - if (strstr(gl_version, "APPLE")) - { - /* [0-9]+.[0-9]+ APPLE-[0-9]+.[0.9]+.[0.9]+ - * We only need the first part, and use the APPLE as identification - * "1.2 APPLE-1.4.56". */ - ptr = gl_version; - - major = atoi(ptr); - while (isdigit(*ptr)) ++ptr; - - if (*ptr++ != '.') return 0; - - minor = atoi(ptr); - break; - } - /* Fallthrough */ - - case VENDOR_MESA: - ptr = strstr(gl_version, "Mesa"); - if (!ptr) return 0; - - ptr = strstr(ptr, " "); - if (!ptr) return 0; - - while (isspace(*ptr)) ++ptr; - if (!*ptr) return 0; - - major = atoi(ptr); - while (isdigit(*ptr)) ++ptr; - - if (*ptr++ != '.') return 0; - - minor = atoi(ptr); - break; - - default: - FIXME("Unhandled vendor %#x.\n", vendor); - return 0; - } - - ret = MAKEDWORD_VERSION(major, minor); - TRACE_(d3d_caps)("Found driver version %s -> %d.%d -> 0x%08x.\n", - debugstr_a(gl_version), major, minor, ret); - - return ret; -} - static GL_Vendors wined3d_guess_vendor(const char *gl_vendor, const char *gl_renderer) { if (strstr(gl_vendor, "NVIDIA")) @@ -1605,10 +1510,6 @@ static BOOL IWineD3DImpl_FillGLCaps(struct wined3d_gl_info *gl_info) return FALSE; } gl_version = wined3d_parse_gl_version(gl_string); - gl_info->driver_version = wined3d_guess_driver_version(gl_string, gl_info->gl_vendor); - if (!gl_info->driver_version) FIXME_(d3d_caps)("Unrecognized GL_VERSION %s.\n", debugstr_a(gl_string)); - /* Current Windows drivers have versions like 6.14.... (some older have an earlier version). */ - gl_info->driver_version_hipart = MAKEDWORD_VERSION(6, 14); /* * Initialize openGL extension related variables
1
0
0
0
Alexandre Julliard : ntdll: Correctly jump to the modified context after an exception on x86_64.
by Alexandre Julliard
27 Aug '09
27 Aug '09
Module: wine Branch: master Commit: 70c39c4456cd0492417b3df938b0a6b0d5351f7f URL:
http://source.winehq.org/git/wine.git/?a=commit;h=70c39c4456cd0492417b3df93…
Author: Alexandre Julliard <julliard(a)winehq.org> Date: Wed Aug 26 21:24:17 2009 +0200 ntdll: Correctly jump to the modified context after an exception on x86_64. --- dlls/ntdll/signal_x86_64.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/dlls/ntdll/signal_x86_64.c b/dlls/ntdll/signal_x86_64.c index 716efea..1a0fd88 100644 --- a/dlls/ntdll/signal_x86_64.c +++ b/dlls/ntdll/signal_x86_64.c @@ -1685,6 +1685,7 @@ static void raise_segv_exception( EXCEPTION_RECORD *rec, CONTEXT *context ) } status = raise_exception( rec, context, TRUE ); if (status) raise_status( status, rec ); + set_cpu_context( context ); } @@ -1697,6 +1698,7 @@ static void raise_generic_exception( EXCEPTION_RECORD *rec, CONTEXT *context ) { NTSTATUS status = raise_exception( rec, context, TRUE ); if (status) raise_status( status, rec ); + set_cpu_context( context ); }
1
0
0
0
Alexandre Julliard : riched20: Make sure we have a valid ITextHost vtable for all platforms.
by Alexandre Julliard
27 Aug '09
27 Aug '09
Module: wine Branch: master Commit: c1a1f0cfb4c783f22dd7b6dc7adf72ea8b35b981 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=c1a1f0cfb4c783f22dd7b6dc7…
Author: Alexandre Julliard <julliard(a)winehq.org> Date: Wed Aug 26 21:23:52 2009 +0200 riched20: Make sure we have a valid ITextHost vtable for all platforms. --- dlls/riched20/txthost.c | 90 +++++++++++++++++++++++----------------------- 1 files changed, 45 insertions(+), 45 deletions(-) diff --git a/dlls/riched20/txthost.c b/dlls/riched20/txthost.c index cd5a54f..ddf3d76 100644 --- a/dlls/riched20/txthost.c +++ b/dlls/riched20/txthost.c @@ -635,51 +635,6 @@ DEFINE_STDCALL_WRAPPER(39,ITextHostImpl_TxImmGetContext,4) DEFINE_STDCALL_WRAPPER(40,ITextHostImpl_TxImmReleaseContext,8) DEFINE_STDCALL_WRAPPER(41,ITextHostImpl_TxGetSelectionBarWidth,8) -static ITextHostVtbl textHostVtbl = { - ITextHostImpl_QueryInterface, - ITextHostImpl_AddRef, - ITextHostImpl_Release, - THISCALL(ITextHostImpl_TxGetDC), - THISCALL(ITextHostImpl_TxReleaseDC), - THISCALL(ITextHostImpl_TxShowScrollBar), - THISCALL(ITextHostImpl_TxEnableScrollBar), - THISCALL(ITextHostImpl_TxSetScrollRange), - THISCALL(ITextHostImpl_TxSetScrollPos), - THISCALL(ITextHostImpl_TxInvalidateRect), - THISCALL(ITextHostImpl_TxViewChange), - THISCALL(ITextHostImpl_TxCreateCaret), - THISCALL(ITextHostImpl_TxShowCaret), - THISCALL(ITextHostImpl_TxSetCaretPos), - THISCALL(ITextHostImpl_TxSetTimer), - THISCALL(ITextHostImpl_TxKillTimer), - THISCALL(ITextHostImpl_TxScrollWindowEx), - THISCALL(ITextHostImpl_TxSetCapture), - THISCALL(ITextHostImpl_TxSetFocus), - THISCALL(ITextHostImpl_TxSetCursor), - THISCALL(ITextHostImpl_TxScreenToClient), - THISCALL(ITextHostImpl_TxClientToScreen), - THISCALL(ITextHostImpl_TxActivate), - THISCALL(ITextHostImpl_TxDeactivate), - THISCALL(ITextHostImpl_TxGetClientRect), - THISCALL(ITextHostImpl_TxGetViewInset), - THISCALL(ITextHostImpl_TxGetCharFormat), - THISCALL(ITextHostImpl_TxGetParaFormat), - THISCALL(ITextHostImpl_TxGetSysColor), - THISCALL(ITextHostImpl_TxGetBackStyle), - THISCALL(ITextHostImpl_TxGetMaxLength), - THISCALL(ITextHostImpl_TxGetScrollBars), - THISCALL(ITextHostImpl_TxGetPasswordChar), - THISCALL(ITextHostImpl_TxGetAcceleratorPos), - THISCALL(ITextHostImpl_TxGetExtent), - THISCALL(ITextHostImpl_OnTxCharFormatChange), - THISCALL(ITextHostImpl_OnTxParaFormatChange), - THISCALL(ITextHostImpl_TxGetPropertyBits), - THISCALL(ITextHostImpl_TxNotify), - THISCALL(ITextHostImpl_TxImmGetContext), - THISCALL(ITextHostImpl_TxImmReleaseContext), - THISCALL(ITextHostImpl_TxGetSelectionBarWidth), -}; - ITextHostVtbl itextHostStdcallVtbl = { NULL, NULL, @@ -726,3 +681,48 @@ ITextHostVtbl itextHostStdcallVtbl = { }; #endif /* __i386__ */ + +static ITextHostVtbl textHostVtbl = { + ITextHostImpl_QueryInterface, + ITextHostImpl_AddRef, + ITextHostImpl_Release, + THISCALL(ITextHostImpl_TxGetDC), + THISCALL(ITextHostImpl_TxReleaseDC), + THISCALL(ITextHostImpl_TxShowScrollBar), + THISCALL(ITextHostImpl_TxEnableScrollBar), + THISCALL(ITextHostImpl_TxSetScrollRange), + THISCALL(ITextHostImpl_TxSetScrollPos), + THISCALL(ITextHostImpl_TxInvalidateRect), + THISCALL(ITextHostImpl_TxViewChange), + THISCALL(ITextHostImpl_TxCreateCaret), + THISCALL(ITextHostImpl_TxShowCaret), + THISCALL(ITextHostImpl_TxSetCaretPos), + THISCALL(ITextHostImpl_TxSetTimer), + THISCALL(ITextHostImpl_TxKillTimer), + THISCALL(ITextHostImpl_TxScrollWindowEx), + THISCALL(ITextHostImpl_TxSetCapture), + THISCALL(ITextHostImpl_TxSetFocus), + THISCALL(ITextHostImpl_TxSetCursor), + THISCALL(ITextHostImpl_TxScreenToClient), + THISCALL(ITextHostImpl_TxClientToScreen), + THISCALL(ITextHostImpl_TxActivate), + THISCALL(ITextHostImpl_TxDeactivate), + THISCALL(ITextHostImpl_TxGetClientRect), + THISCALL(ITextHostImpl_TxGetViewInset), + THISCALL(ITextHostImpl_TxGetCharFormat), + THISCALL(ITextHostImpl_TxGetParaFormat), + THISCALL(ITextHostImpl_TxGetSysColor), + THISCALL(ITextHostImpl_TxGetBackStyle), + THISCALL(ITextHostImpl_TxGetMaxLength), + THISCALL(ITextHostImpl_TxGetScrollBars), + THISCALL(ITextHostImpl_TxGetPasswordChar), + THISCALL(ITextHostImpl_TxGetAcceleratorPos), + THISCALL(ITextHostImpl_TxGetExtent), + THISCALL(ITextHostImpl_OnTxCharFormatChange), + THISCALL(ITextHostImpl_OnTxParaFormatChange), + THISCALL(ITextHostImpl_TxGetPropertyBits), + THISCALL(ITextHostImpl_TxNotify), + THISCALL(ITextHostImpl_TxImmGetContext), + THISCALL(ITextHostImpl_TxImmReleaseContext), + THISCALL(ITextHostImpl_TxGetSelectionBarWidth), +};
1
0
0
0
← Newer
1
...
14
15
16
17
18
19
20
...
105
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
97
98
99
100
101
102
103
104
105
Results per page:
10
25
50
100
200