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
June
May
April
March
February
January
2024
December
November
October
September
August
July
June
May
April
March
February
January
2023
December
November
October
September
August
July
June
May
April
March
February
January
2022
December
November
October
September
August
July
June
May
April
March
February
January
2021
December
November
October
September
August
July
June
May
April
March
February
January
2020
December
November
October
September
August
July
June
May
April
March
February
January
2019
December
November
October
September
August
July
June
May
April
March
February
January
2018
December
November
October
September
August
July
June
May
April
March
February
January
2017
December
November
October
September
August
July
June
May
April
March
February
January
2016
December
November
October
September
August
July
June
May
April
March
February
January
2015
December
November
October
September
August
July
June
May
April
March
February
January
2014
December
November
October
September
August
July
June
May
April
March
February
January
2013
December
November
October
September
August
July
June
May
April
March
February
January
2012
December
November
October
September
August
July
June
May
April
March
February
January
2011
December
November
October
September
August
July
June
May
April
March
February
January
2010
December
November
October
September
August
July
June
May
April
March
February
January
2009
December
November
October
September
August
July
June
May
April
March
February
January
2008
December
November
October
September
August
July
June
May
April
March
February
January
2007
December
November
October
September
August
July
June
May
April
March
February
January
2006
December
November
October
September
August
July
June
May
April
March
February
January
2005
December
November
October
September
August
July
June
May
April
March
February
January
2004
December
November
October
September
August
July
June
May
April
March
February
January
2003
December
November
October
September
August
July
June
May
April
March
February
January
2002
December
November
October
September
August
July
June
May
April
March
February
January
2001
December
November
October
September
August
July
June
May
April
March
February
List overview
wine-commits
September 2008
----- 2025 -----
June 2025
May 2025
April 2025
March 2025
February 2025
January 2025
----- 2024 -----
December 2024
November 2024
October 2024
September 2024
August 2024
July 2024
June 2024
May 2024
April 2024
March 2024
February 2024
January 2024
----- 2023 -----
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
----- 2022 -----
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
----- 2021 -----
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
----- 2020 -----
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
----- 2019 -----
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
----- 2018 -----
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
----- 2017 -----
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
----- 2016 -----
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
----- 2015 -----
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
----- 2014 -----
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
----- 2013 -----
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
----- 2012 -----
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
----- 2011 -----
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
----- 2010 -----
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
----- 2009 -----
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
----- 2008 -----
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
----- 2007 -----
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
----- 2006 -----
December 2006
November 2006
October 2006
September 2006
August 2006
July 2006
June 2006
May 2006
April 2006
March 2006
February 2006
January 2006
----- 2005 -----
December 2005
November 2005
October 2005
September 2005
August 2005
July 2005
June 2005
May 2005
April 2005
March 2005
February 2005
January 2005
----- 2004 -----
December 2004
November 2004
October 2004
September 2004
August 2004
July 2004
June 2004
May 2004
April 2004
March 2004
February 2004
January 2004
----- 2003 -----
December 2003
November 2003
October 2003
September 2003
August 2003
July 2003
June 2003
May 2003
April 2003
March 2003
February 2003
January 2003
----- 2002 -----
December 2002
November 2002
October 2002
September 2002
August 2002
July 2002
June 2002
May 2002
April 2002
March 2002
February 2002
January 2002
----- 2001 -----
December 2001
November 2001
October 2001
September 2001
August 2001
July 2001
June 2001
May 2001
April 2001
March 2001
February 2001
wine-commits@winehq.org
3 participants
1215 discussions
Start a n
N
ew thread
Steven Edwards : widl: Open files in binary mode to avoid corruption from text mode on Windows.
by Alexandre Julliard
10 Sep '08
10 Sep '08
Module: wine Branch: master Commit: 6bdfc2fa2c12a35f4df4e918d435ed8c50e8d8b3 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=6bdfc2fa2c12a35f4df4e918d…
Author: Steven Edwards <winehacker(a)gmail.com> Date: Wed Sep 10 09:18:14 2008 -0400 widl: Open files in binary mode to avoid corruption from text mode on Windows. --- tools/widl/typelib.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/widl/typelib.c b/tools/widl/typelib.c index b30b323..2706870 100644 --- a/tools/widl/typelib.c +++ b/tools/widl/typelib.c @@ -354,10 +354,10 @@ static void read_importlib(importlib_t *importlib) file_name = wpp_find_include(importlib->name, NULL); if(file_name) { - fd = open(file_name, O_RDONLY); + fd = open(file_name, O_RDONLY | O_BINARY ); free(file_name); }else { - fd = open(importlib->name, O_RDONLY); + fd = open(importlib->name, O_RDONLY | O_BINARY ); } if(fd < 0)
1
0
0
0
Hans Leidekker : winhttp: Better diagnostics in the notification test.
by Alexandre Julliard
10 Sep '08
10 Sep '08
Module: wine Branch: master Commit: 3cfa9c626f92f24f0f7e893bb5c079571fc493ee URL:
http://source.winehq.org/git/wine.git/?a=commit;h=3cfa9c626f92f24f0f7e893bb…
Author: Hans Leidekker <hans(a)codeweavers.com> Date: Tue Sep 9 16:45:04 2008 +0200 winhttp: Better diagnostics in the notification test. --- dlls/winhttp/tests/notification.c | 67 +++++++++++++++++++++--------------- 1 files changed, 39 insertions(+), 28 deletions(-) diff --git a/dlls/winhttp/tests/notification.c b/dlls/winhttp/tests/notification.c index 049e7ca..64adaea 100644 --- a/dlls/winhttp/tests/notification.c +++ b/dlls/winhttp/tests/notification.c @@ -54,10 +54,12 @@ struct info unsigned int count; unsigned int index; HANDLE wait; + unsigned int line; }; static void CALLBACK check_notification( HINTERNET handle, DWORD_PTR context, DWORD status, LPVOID buffer, DWORD buflen ) { + BOOL status_ok, function_ok; struct info *info = (struct info *)context; unsigned int i = info->index; @@ -68,20 +70,23 @@ static void CALLBACK check_notification( HINTERNET handle, DWORD_PTR context, DW } ok(i < info->count, "unexpected notification 0x%08x\n", status); if (i >= info->count) return; + + status_ok = (info->test[i].status == status); + function_ok = (info->test[i].function == info->function); if (!info->test[i].todo) { - ok(info->test[i].status == status, "expected status 0x%08x got 0x%08x\n", info->test[i].status, status); - ok(info->test[i].function == info->function, "expected function %u got %u\n", info->test[i].function, info->function); + ok(status_ok, "%u: expected status 0x%08x got 0x%08x\n", info->line, info->test[i].status, status); + ok(function_ok, "%u: expected function %u got %u\n", info->line, info->test[i].function, info->function); } else { - todo_wine ok(info->test[i].status == status, "expected status 0x%08x got 0x%08x\n", info->test[i].status, status); - if (info->test[i].status == status) + todo_wine ok(status_ok, "%u: expected status 0x%08x got 0x%08x\n", info->line, info->test[i].status, status); + if (status_ok) { - todo_wine ok(info->test[i].function == info->function, "expected function %u got %u\n", info->test[i].function, info->function); + todo_wine ok(function_ok, "%u: expected function %u got %u\n", info->line, info->test[i].function, info->function); } } - if (info->test[i].status == status) info->index++; + if (status_ok) info->index++; if (status & WINHTTP_CALLBACK_FLAG_ALL_COMPLETIONS) SetEvent( info->wait ); } @@ -104,6 +109,12 @@ static const struct notification cache_test[] = { winhttp_close_handle, WINHTTP_CALLBACK_STATUS_HANDLE_CLOSING, 1 } }; +static void setup_test( struct info *info, enum api function, unsigned int line ) +{ + info->function = function; + info->line = line; +} + static void test_connection_cache( void ) { static const WCHAR codeweavers[] = {'w','w','w','.','c','o','d','e','w','e','a','v','e','r','s','.','c','o','m',0}; @@ -126,19 +137,19 @@ static void test_connection_cache( void ) ret = WinHttpSetOption( ses, WINHTTP_OPTION_CONTEXT_VALUE, &context, sizeof(struct info *) ); ok(ret, "failed to set context value %u\n", GetLastError()); - info.function = winhttp_connect; + setup_test( &info, winhttp_connect, __LINE__ ); con = WinHttpConnect( ses, codeweavers, 0, 0 ); ok(con != NULL, "failed to open a connection %u\n", GetLastError()); - info.function = winhttp_open_request; + setup_test( &info, winhttp_open_request, __LINE__ ); req = WinHttpOpenRequest( con, NULL, NULL, NULL, NULL, NULL, 0 ); ok(req != NULL, "failed to open a request %u\n", GetLastError()); - info.function = winhttp_send_request; + setup_test( &info, winhttp_send_request, __LINE__ ); ret = WinHttpSendRequest( req, NULL, 0, NULL, 0, 0, 0 ); ok(ret, "failed to send request %u\n", GetLastError()); - info.function = winhttp_receive_response; + setup_test( &info, winhttp_receive_response, __LINE__ ); ret = WinHttpReceiveResponse( req, NULL ); ok(ret, "failed to receive response %u\n", GetLastError()); @@ -147,7 +158,7 @@ static void test_connection_cache( void ) ok(ret, "failed unexpectedly %u\n", GetLastError()); ok(status == 200, "request failed unexpectedly %u\n", status); - info.function = winhttp_close_handle; + setup_test( &info, winhttp_close_handle, __LINE__ ); WinHttpCloseHandle( req ); WinHttpCloseHandle( con ); WinHttpCloseHandle( ses ); @@ -164,22 +175,22 @@ static void test_connection_cache( void ) ret = WinHttpSetOption( ses, WINHTTP_OPTION_CONTEXT_VALUE, &context, sizeof(struct info *) ); ok(ret, "failed to set context value %u\n", GetLastError()); - info.function = winhttp_connect; + setup_test( &info, winhttp_connect, __LINE__ ); con = WinHttpConnect( ses, codeweavers, 0, 0 ); ok(con != NULL, "failed to open a connection %u\n", GetLastError()); - info.function = winhttp_open_request; + setup_test( &info, winhttp_open_request, __LINE__ ); req = WinHttpOpenRequest( con, NULL, NULL, NULL, NULL, NULL, 0 ); ok(req != NULL, "failed to open a request %u\n", GetLastError()); ret = WinHttpSetOption( req, WINHTTP_OPTION_CONTEXT_VALUE, &context, sizeof(struct info *) ); ok(ret, "failed to set context value %u\n", GetLastError()); - info.function = winhttp_send_request; + setup_test( &info, winhttp_send_request, __LINE__ ); ret = WinHttpSendRequest( req, NULL, 0, NULL, 0, 0, 0 ); ok(ret, "failed to send request %u\n", GetLastError()); - info.function = winhttp_receive_response; + setup_test( &info, winhttp_receive_response, __LINE__ ); ret = WinHttpReceiveResponse( req, NULL ); ok(ret, "failed to receive response %u\n", GetLastError()); @@ -188,7 +199,7 @@ static void test_connection_cache( void ) ok(ret, "failed unexpectedly %u\n", GetLastError()); ok(status == 200, "request failed unexpectedly %u\n", status); - info.function = winhttp_close_handle; + setup_test( &info, winhttp_close_handle, __LINE__ ); WinHttpCloseHandle( req ); WinHttpCloseHandle( con ); WinHttpCloseHandle( ses ); @@ -244,18 +255,18 @@ static void test_redirect( void ) ret = WinHttpSetOption( ses, WINHTTP_OPTION_CONTEXT_VALUE, &context, sizeof(struct info *) ); ok(ret, "failed to set context value %u\n", GetLastError()); - info.function = winhttp_connect; + setup_test( &info, winhttp_connect, __LINE__ ); con = WinHttpConnect( ses, codeweavers, 0, 0 ); ok(con != NULL, "failed to open a connection %u\n", GetLastError()); - info.function = winhttp_open_request; + setup_test( &info, winhttp_open_request, __LINE__ ); req = WinHttpOpenRequest( con, NULL, NULL, NULL, NULL, NULL, 0 ); ok(req != NULL, "failed to open a request %u\n", GetLastError()); - info.function = winhttp_send_request; + setup_test( &info, winhttp_send_request, __LINE__ ); ret = WinHttpSendRequest( req, NULL, 0, NULL, 0, 0, 0 ); - info.function = winhttp_receive_response; + setup_test( &info, winhttp_receive_response, __LINE__ ); ret = WinHttpReceiveResponse( req, NULL ); ok(ret, "failed to receive response %u\n", GetLastError()); @@ -264,7 +275,7 @@ static void test_redirect( void ) ok(ret, "failed unexpectedly %u\n", GetLastError()); ok(status == 200, "request failed unexpectedly %u\n", status); - info.function = winhttp_close_handle; + setup_test( &info, winhttp_close_handle, __LINE__ ); WinHttpCloseHandle( req ); WinHttpCloseHandle( con ); WinHttpCloseHandle( ses ); @@ -327,21 +338,21 @@ static void test_async( void ) ret = WinHttpSetOption( ses, WINHTTP_OPTION_CONTEXT_VALUE, &context, sizeof(struct info *) ); ok(ret, "failed to set context value %u\n", GetLastError()); - info.function = winhttp_connect; + setup_test( &info, winhttp_connect, __LINE__ ); con = WinHttpConnect( ses, codeweavers, 0, 0 ); ok(con != NULL, "failed to open a connection %u\n", GetLastError()); - info.function = winhttp_open_request; + setup_test( &info, winhttp_open_request, __LINE__ ); req = WinHttpOpenRequest( con, NULL, NULL, NULL, NULL, NULL, 0 ); ok(req != NULL, "failed to open a request %u\n", GetLastError()); - info.function = winhttp_send_request; + setup_test( &info, winhttp_send_request, __LINE__ ); ret = WinHttpSendRequest( req, NULL, 0, NULL, 0, 0, 0 ); ok(ret, "failed to send request %u\n", GetLastError()); WaitForSingleObject( info.wait, INFINITE ); - info.function = winhttp_receive_response; + setup_test( &info, winhttp_receive_response, __LINE__ ); ret = WinHttpReceiveResponse( req, NULL ); ok(ret, "failed to receive response %u\n", GetLastError()); @@ -352,19 +363,19 @@ static void test_async( void ) ok(ret, "failed unexpectedly %u\n", GetLastError()); ok(status == 200, "request failed unexpectedly %u\n", status); - info.function = winhttp_query_data; + setup_test( &info, winhttp_query_data, __LINE__ ); ret = WinHttpQueryDataAvailable( req, NULL ); ok(ret, "failed to query data available %u\n", GetLastError()); WaitForSingleObject( info.wait, INFINITE ); - info.function = winhttp_read_data; + setup_test( &info, winhttp_read_data, __LINE__ ); ret = WinHttpReadData( req, buffer, sizeof(buffer), NULL ); ok(ret, "failed to query data available %u\n", GetLastError()); WaitForSingleObject( info.wait, INFINITE ); - info.function = winhttp_close_handle; + setup_test( &info, winhttp_close_handle, __LINE__ ); WinHttpCloseHandle( req ); WinHttpCloseHandle( con ); WinHttpCloseHandle( ses );
1
0
0
0
Hans Leidekker : winhttp: Increase sleep between two tests that connect to the same host.
by Alexandre Julliard
10 Sep '08
10 Sep '08
Module: wine Branch: master Commit: ddbe713e6bdfedd0da03523f91ee3ecde59ad8ef URL:
http://source.winehq.org/git/wine.git/?a=commit;h=ddbe713e6bdfedd0da03523f9…
Author: Hans Leidekker <hans(a)codeweavers.com> Date: Tue Sep 9 16:43:57 2008 +0200 winhttp: Increase sleep between two tests that connect to the same host. --- dlls/winhttp/tests/notification.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/winhttp/tests/notification.c b/dlls/winhttp/tests/notification.c index 784e350..049e7ca 100644 --- a/dlls/winhttp/tests/notification.c +++ b/dlls/winhttp/tests/notification.c @@ -152,7 +152,7 @@ static void test_connection_cache( void ) WinHttpCloseHandle( con ); WinHttpCloseHandle( ses ); - Sleep(1500); /* make sure connection is evicted from cache */ + Sleep(2000); /* make sure connection is evicted from cache */ info.index = 0; @@ -375,6 +375,6 @@ START_TEST (notification) { test_connection_cache(); test_redirect(); - Sleep(1500); /* make sure previous connection is evicted from cache */ + Sleep(2000); /* make sure previous connection is evicted from cache */ test_async(); }
1
0
0
0
Hans Leidekker : winhttp: Don' t loop on response codes other than 301 and 302.
by Alexandre Julliard
10 Sep '08
10 Sep '08
Module: wine Branch: master Commit: f8f9c4cb9cc45075b829e3ffbdeb88a6c00c0ece URL:
http://source.winehq.org/git/wine.git/?a=commit;h=f8f9c4cb9cc45075b829e3ffb…
Author: Hans Leidekker <hans(a)codeweavers.com> Date: Tue Sep 9 16:42:11 2008 +0200 winhttp: Don't loop on response codes other than 301 and 302. --- dlls/winhttp/request.c | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/dlls/winhttp/request.c b/dlls/winhttp/request.c index b11c426..ada8ae6 100644 --- a/dlls/winhttp/request.c +++ b/dlls/winhttp/request.c @@ -1267,14 +1267,16 @@ static BOOL receive_response( request_t *request, BOOL async ) if (!query_headers( request, query, NULL, &request->content_length, &size, NULL )) request->content_length = ~0UL; - if (status == 200) break; if (status == 301 || status == 302) { if (request->hdr.disable_flags & WINHTTP_DISABLE_REDIRECTS) break; drain_content( request ); if (!(ret = handle_redirect( request ))) break; + ret = send_request( request, NULL, 0, NULL, 0, 0, 0, FALSE ); /* recurse synchronously */ + continue; } - ret = send_request( request, NULL, 0, NULL, 0, 0, 0, FALSE ); /* recurse synchronously */ + if (status == 401) FIXME("authentication not supported\n"); + break; } if (async)
1
0
0
0
Huw Davies : winex11.drv: Fix SetDIBits optimization to work with top-down dib sections.
by Alexandre Julliard
10 Sep '08
10 Sep '08
Module: wine Branch: master Commit: 165b21dd2d27f88496c4fffe4b5b14bac118d549 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=165b21dd2d27f88496c4fffe4…
Author: Huw Davies <huw(a)codeweavers.com> Date: Tue Sep 9 12:33:37 2008 +0100 winex11.drv: Fix SetDIBits optimization to work with top-down dib sections. --- dlls/winex11.drv/dib.c | 18 +++++++++--------- 1 files changed, 9 insertions(+), 9 deletions(-) diff --git a/dlls/winex11.drv/dib.c b/dlls/winex11.drv/dib.c index 461da16..f017943 100644 --- a/dlls/winex11.drv/dib.c +++ b/dlls/winex11.drv/dib.c @@ -3922,7 +3922,7 @@ INT X11DRV_SetDIBits( X11DRV_PDEVICE *physDev, HBITMAP hbitmap, UINT startscan, { X_PHYSBITMAP *physBitmap = X11DRV_get_phys_bitmap( hbitmap ); X11DRV_DIB_IMAGEBITS_DESCR descr; - BITMAP bitmap; + DIBSECTION ds; LONG width, height, tmpheight; INT result; @@ -3939,7 +3939,7 @@ INT X11DRV_SetDIBits( X11DRV_PDEVICE *physDev, HBITMAP hbitmap, UINT startscan, if (!lines || (startscan >= height)) return 0; - if (!GetObjectW( hbitmap, sizeof(bitmap), &bitmap )) return 0; + if (!GetObjectW( hbitmap, sizeof(ds), &ds )) return 0; if (startscan + lines > height) lines = height - startscan; @@ -3986,7 +3986,7 @@ INT X11DRV_SetDIBits( X11DRV_PDEVICE *physDev, HBITMAP hbitmap, UINT startscan, descr.ySrc = 0; descr.xDest = 0; descr.yDest = height - startscan - lines; - descr.width = bitmap.bmWidth; + descr.width = ds.dsBm.bmWidth; descr.height = lines; descr.useShm = FALSE; descr.dibpitch = ((descr.infoWidth * descr.infoBpp + 31) &~31) / 8; @@ -3998,27 +3998,27 @@ INT X11DRV_SetDIBits( X11DRV_PDEVICE *physDev, HBITMAP hbitmap, UINT startscan, * cheap - saves a round trip to the X server */ if (descr.compression == BI_RGB && coloruse == DIB_RGB_COLORS && - descr.infoBpp == bitmap.bmBitsPixel && + descr.infoBpp == ds.dsBm.bmBitsPixel && physBitmap->base && physBitmap->size < 65536) { - unsigned int srcwidthb = bitmap.bmWidthBytes; + unsigned int srcwidthb = ds.dsBm.bmWidthBytes; int dstwidthb = X11DRV_DIB_GetDIBWidthBytes( width, descr.infoBpp ); LPBYTE dbits = physBitmap->base, sbits = (LPBYTE)bits + (startscan * srcwidthb); int widthb; UINT y; TRACE("syncing compatible set bits to app bits\n"); - if ((tmpheight < 0) ^ (bitmap.bmHeight < 0)) + if ((tmpheight < 0) ^ (ds.dsBmih.biHeight < 0)) { dbits += dstwidthb * (lines-1); dstwidthb = -dstwidthb; } - X11DRV_DIB_DoProtectDIBSection( physBitmap, PAGE_READWRITE ); + X11DRV_DIB_DoProtectDIBSection( physBitmap, PAGE_READWRITE ); widthb = min(srcwidthb, abs(dstwidthb)); for (y = 0; y < lines; y++, dbits += dstwidthb, sbits += srcwidthb) memcpy(dbits, sbits, widthb); - X11DRV_DIB_DoProtectDIBSection( physBitmap, PAGE_READONLY ); - physBitmap->status = DIB_Status_InSync; + X11DRV_DIB_DoProtectDIBSection( physBitmap, PAGE_READONLY ); + physBitmap->status = DIB_Status_InSync; } X11DRV_DIB_Unlock( physBitmap, TRUE );
1
0
0
0
Aric Stewart : mlang: Expand stub of fnIMLangFontLink2_GetStrCodePages.
by Alexandre Julliard
10 Sep '08
10 Sep '08
Module: wine Branch: master Commit: 38901f08c66904430d5a7546c2bf7a48c6210c5e URL:
http://source.winehq.org/git/wine.git/?a=commit;h=38901f08c66904430d5a7546c…
Author: Aric Stewart <aric(a)codeweavers.com> Date: Tue Sep 9 07:12:36 2008 -0500 mlang: Expand stub of fnIMLangFontLink2_GetStrCodePages. --- dlls/mlang/mlang.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/dlls/mlang/mlang.c b/dlls/mlang/mlang.c index 0170631..e2f0970 100644 --- a/dlls/mlang/mlang.c +++ b/dlls/mlang/mlang.c @@ -3049,7 +3049,9 @@ static HRESULT WINAPI fnIMLangFontLink2_GetStrCodePages( IMLangFontLink2* This, DWORD *pdwCodePages, long *pcchCodePages) { FIXME("(%p)->%s %li %x %p %p\n",This, debugstr_wn(pszSrc,cchSrc),cchSrc,dwPriorityCodePages,pdwCodePages,pcchCodePages); - return E_NOTIMPL; + *pdwCodePages = 0; + *pcchCodePages = 1; + return S_OK; } static HRESULT WINAPI fnIMLangFontLink2_CodePageToCodePages(IMLangFontLink2* This,
1
0
0
0
Alexandre Julliard : configure: Fixed the check for sigset_t on mingw.
by Alexandre Julliard
10 Sep '08
10 Sep '08
Module: wine Branch: master Commit: 43048397d66d99305fc08d41b1fa4206175cad20 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=43048397d66d99305fc08d41b…
Author: Alexandre Julliard <julliard(a)winehq.org> Date: Tue Sep 9 14:47:47 2008 +0200 configure: Fixed the check for sigset_t on mingw. --- configure | 1 + configure.ac | 3 ++- 2 files changed, 3 insertions(+), 1 deletions(-) diff --git a/configure b/configure index 7be7427..e898943 100755 --- a/configure +++ b/configure @@ -18729,6 +18729,7 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ +#include <sys/types.h> #include <signal.h> typedef sigset_t ac__type_new_; diff --git a/configure.ac b/configure.ac index 46d071e..27ae9ef 100644 --- a/configure.ac +++ b/configure.ac @@ -1487,7 +1487,8 @@ dnl **** Check for types **** AC_C_CONST AC_C_INLINE AC_CHECK_TYPES([mode_t, off_t, pid_t, size_t, ssize_t, long long, fsblkcnt_t, fsfilcnt_t]) -AC_CHECK_TYPES([sigset_t],,,[#include <signal.h>]) +AC_CHECK_TYPES([sigset_t],,,[#include <sys/types.h> +#include <signal.h>]) AC_CHECK_TYPES([request_sense],,,[#include <linux/cdrom.h>]) AC_CHECK_MEMBERS([struct ff_effect.direction],,,
1
0
0
0
Paul Vriens : ws2_32/tests: Remove redundant NULL check before HeapFree.
by Alexandre Julliard
09 Sep '08
09 Sep '08
Module: wine Branch: master Commit: c8aba692af267f25ce5f43e0747e6c67fa7ab216 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=c8aba692af267f25ce5f43e07…
Author: Paul Vriens <paul.vriens.wine(a)gmail.com> Date: Tue Sep 9 11:45:40 2008 +0200 ws2_32/tests: Remove redundant NULL check before HeapFree. --- dlls/ws2_32/tests/sock.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/dlls/ws2_32/tests/sock.c b/dlls/ws2_32/tests/sock.c index 5883078..4b8c57f 100644 --- a/dlls/ws2_32/tests/sock.c +++ b/dlls/ws2_32/tests/sock.c @@ -2187,8 +2187,7 @@ static void test_write_events(void) } end: - if (buffer != NULL) - HeapFree(GetProcessHeap(), 0, buffer); + HeapFree(GetProcessHeap(), 0, buffer); if (src != INVALID_SOCKET) closesocket(src); if (dst != INVALID_SOCKET)
1
0
0
0
Paul Vriens : quartz/tests: Fix the tests on several platforms.
by Alexandre Julliard
09 Sep '08
09 Sep '08
Module: wine Branch: master Commit: ee14852ea9d064fe8249edce602239cf528d6575 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=ee14852ea9d064fe8249edce6…
Author: Paul Vriens <paul.vriens.wine(a)gmail.com> Date: Tue Sep 9 10:50:51 2008 +0200 quartz/tests: Fix the tests on several platforms. --- dlls/quartz/tests/avisplitter.c | 17 ++++++----------- 1 files changed, 6 insertions(+), 11 deletions(-) diff --git a/dlls/quartz/tests/avisplitter.c b/dlls/quartz/tests/avisplitter.c index 82fd4cf..f4c8157 100644 --- a/dlls/quartz/tests/avisplitter.c +++ b/dlls/quartz/tests/avisplitter.c @@ -206,11 +206,8 @@ static void test_threads() return; } - /* Before doing anything */ + /* Before doing anything (number of threads at the start differs per OS) */ baselevel = count_threads(); - expected = 1; - ok(baselevel == expected, - "Basic amount of threads should be %d, not %d!\n", expected, baselevel); file = CreateFileW(wfile, GENERIC_READ, FILE_SHARE_READ|FILE_SHARE_WRITE, NULL, OPEN_EXISTING, 0, NULL); @@ -374,11 +371,7 @@ static void test_threads() IBaseFilter_GetState(pavi, INFINITE, &state); curlevel = count_threads(); - /* On a 2 stream filter, there are 4 or 5 threads (seems to be 5) - * One is the thread we are in. That leaves 3 or 4 for other dark purposes - * Wine is 1 thread short! - */ - ok(curlevel == expected || curlevel == expected + 1, + ok(curlevel == expected, "Amount of threads should be %d not %d\n", expected, curlevel); IBaseFilter_Pause(pavi); @@ -452,8 +445,10 @@ fail: if (pfile) IUnknown_Release(pfile); - ok(baselevel == 1, - "Basic amount of threads should be %d, not %d!\n", 1, baselevel); + curlevel = count_threads(); + todo_wine + ok(curlevel == baselevel, + "Amount of threads should be %d not %d\n", baselevel, curlevel); } START_TEST(avisplitter)
1
0
0
0
Rob Shearman : include: Fix function names in IVBSAXXMLReader interface in msxml2.idl.
by Alexandre Julliard
09 Sep '08
09 Sep '08
Module: wine Branch: master Commit: 60b4feedca740f7f8c4ed484dca87b90845f6c0b URL:
http://source.winehq.org/git/wine.git/?a=commit;h=60b4feedca740f7f8c4ed484d…
Author: Rob Shearman <robertshearman(a)gmail.com> Date: Tue Sep 9 10:26:51 2008 +0100 include: Fix function names in IVBSAXXMLReader interface in msxml2.idl. --- dlls/msxml3/saxreader.c | 56 +++++++++++++++++++++++----------------------- include/msxml2.idl | 28 +++++++++++----------- 2 files changed, 42 insertions(+), 42 deletions(-) diff --git a/dlls/msxml3/saxreader.c b/dlls/msxml3/saxreader.c index 4821a60..d0ba6b5 100644 --- a/dlls/msxml3/saxreader.c +++ b/dlls/msxml3/saxreader.c @@ -2172,7 +2172,7 @@ static HRESULT WINAPI saxxmlreader_putProperty( return E_NOTIMPL; } -static HRESULT WINAPI saxxmlreader_getEntityResolver( +static HRESULT WINAPI saxxmlreader_get_entityResolver( IVBSAXXMLReader* iface, IVBSAXEntityResolver **pEntityResolver) { @@ -2180,7 +2180,7 @@ static HRESULT WINAPI saxxmlreader_getEntityResolver( return internal_getEntityResolver(This, pEntityResolver, TRUE); } -static HRESULT WINAPI saxxmlreader_putEntityResolver( +static HRESULT WINAPI saxxmlreader_put_entityResolver( IVBSAXXMLReader* iface, IVBSAXEntityResolver *pEntityResolver) { @@ -2188,7 +2188,7 @@ static HRESULT WINAPI saxxmlreader_putEntityResolver( return internal_putEntityResolver(This, pEntityResolver, TRUE); } -static HRESULT WINAPI saxxmlreader_getContentHandler( +static HRESULT WINAPI saxxmlreader_get_contentHandler( IVBSAXXMLReader* iface, IVBSAXContentHandler **ppContentHandler) { @@ -2196,7 +2196,7 @@ static HRESULT WINAPI saxxmlreader_getContentHandler( return internal_getContentHandler(This, ppContentHandler, TRUE); } -static HRESULT WINAPI saxxmlreader_putContentHandler( +static HRESULT WINAPI saxxmlreader_put_contentHandler( IVBSAXXMLReader* iface, IVBSAXContentHandler *contentHandler) { @@ -2204,7 +2204,7 @@ static HRESULT WINAPI saxxmlreader_putContentHandler( return internal_putContentHandler(This, contentHandler, TRUE); } -static HRESULT WINAPI saxxmlreader_getDTDHandler( +static HRESULT WINAPI saxxmlreader_get_dtdHandler( IVBSAXXMLReader* iface, IVBSAXDTDHandler **pDTDHandler) { @@ -2212,7 +2212,7 @@ static HRESULT WINAPI saxxmlreader_getDTDHandler( return internal_getDTDHandler(This, pDTDHandler, TRUE); } -static HRESULT WINAPI saxxmlreader_putDTDHandler( +static HRESULT WINAPI saxxmlreader_put_dtdHandler( IVBSAXXMLReader* iface, IVBSAXDTDHandler *pDTDHandler) { @@ -2220,7 +2220,7 @@ static HRESULT WINAPI saxxmlreader_putDTDHandler( return internal_putDTDHandler(This, pDTDHandler, TRUE); } -static HRESULT WINAPI saxxmlreader_getErrorHandler( +static HRESULT WINAPI saxxmlreader_get_errorHandler( IVBSAXXMLReader* iface, IVBSAXErrorHandler **pErrorHandler) { @@ -2228,7 +2228,7 @@ static HRESULT WINAPI saxxmlreader_getErrorHandler( return internal_getErrorHandler(This, pErrorHandler, TRUE); } -static HRESULT WINAPI saxxmlreader_putErrorHandler( +static HRESULT WINAPI saxxmlreader_put_errorHandler( IVBSAXXMLReader* iface, IVBSAXErrorHandler *errorHandler) { @@ -2236,7 +2236,7 @@ static HRESULT WINAPI saxxmlreader_putErrorHandler( return internal_putErrorHandler(This, errorHandler, TRUE); } -static HRESULT WINAPI saxxmlreader_getBaseURL( +static HRESULT WINAPI saxxmlreader_get_baseURL( IVBSAXXMLReader* iface, const WCHAR **pBaseUrl) { @@ -2246,7 +2246,7 @@ static HRESULT WINAPI saxxmlreader_getBaseURL( return E_NOTIMPL; } -static HRESULT WINAPI saxxmlreader_putBaseURL( +static HRESULT WINAPI saxxmlreader_put_baseURL( IVBSAXXMLReader* iface, const WCHAR *pBaseUrl) { @@ -2256,7 +2256,7 @@ static HRESULT WINAPI saxxmlreader_putBaseURL( return E_NOTIMPL; } -static HRESULT WINAPI saxxmlreader_getSecureBaseURL( +static HRESULT WINAPI saxxmlreader_get_secureBaseURL( IVBSAXXMLReader* iface, const WCHAR **pSecureBaseUrl) { @@ -2267,7 +2267,7 @@ static HRESULT WINAPI saxxmlreader_getSecureBaseURL( } -static HRESULT WINAPI saxxmlreader_putSecureBaseURL( +static HRESULT WINAPI saxxmlreader_put_secureBaseURL( IVBSAXXMLReader* iface, const WCHAR *secureBaseUrl) { @@ -2306,18 +2306,18 @@ static const struct IVBSAXXMLReaderVtbl saxreader_vtbl = saxxmlreader_putFeature, saxxmlreader_getProperty, saxxmlreader_putProperty, - saxxmlreader_getEntityResolver, - saxxmlreader_putEntityResolver, - saxxmlreader_getContentHandler, - saxxmlreader_putContentHandler, - saxxmlreader_getDTDHandler, - saxxmlreader_putDTDHandler, - saxxmlreader_getErrorHandler, - saxxmlreader_putErrorHandler, - saxxmlreader_getBaseURL, - saxxmlreader_putBaseURL, - saxxmlreader_getSecureBaseURL, - saxxmlreader_putSecureBaseURL, + saxxmlreader_get_entityResolver, + saxxmlreader_put_entityResolver, + saxxmlreader_get_contentHandler, + saxxmlreader_put_contentHandler, + saxxmlreader_get_dtdHandler, + saxxmlreader_put_dtdHandler, + saxxmlreader_get_errorHandler, + saxxmlreader_put_errorHandler, + saxxmlreader_get_baseURL, + saxxmlreader_put_baseURL, + saxxmlreader_get_secureBaseURL, + saxxmlreader_put_secureBaseURL, saxxmlreader_parse, saxxmlreader_parseURL }; @@ -2456,7 +2456,7 @@ static HRESULT WINAPI isaxxmlreader_getBaseURL( const WCHAR **pBaseUrl) { saxreader *This = impl_from_ISAXXMLReader( iface ); - return IVBSAXXMLReader_get_getBaseURL( + return IVBSAXXMLReader_get_baseURL( (IVBSAXXMLReader*)&This->lpVBSAXXMLReaderVtbl, pBaseUrl); } @@ -2466,7 +2466,7 @@ static HRESULT WINAPI isaxxmlreader_putBaseURL( const WCHAR *pBaseUrl) { saxreader *This = impl_from_ISAXXMLReader( iface ); - return IVBSAXXMLReader_put_putBaseURL( + return IVBSAXXMLReader_put_baseURL( (IVBSAXXMLReader*)&This->lpVBSAXXMLReaderVtbl, pBaseUrl); } @@ -2476,7 +2476,7 @@ static HRESULT WINAPI isaxxmlreader_getSecureBaseURL( const WCHAR **pSecureBaseUrl) { saxreader *This = impl_from_ISAXXMLReader( iface ); - return IVBSAXXMLReader_get_getSecureBaseURL( + return IVBSAXXMLReader_get_secureBaseURL( (IVBSAXXMLReader*)&This->lpVBSAXXMLReaderVtbl, pSecureBaseUrl); } @@ -2486,7 +2486,7 @@ static HRESULT WINAPI isaxxmlreader_putSecureBaseURL( const WCHAR *secureBaseUrl) { saxreader *This = impl_from_ISAXXMLReader( iface ); - return IVBSAXXMLReader_put_putSecureBaseURL( + return IVBSAXXMLReader_put_secureBaseURL( (IVBSAXXMLReader*)&This->lpVBSAXXMLReaderVtbl, secureBaseUrl); } diff --git a/include/msxml2.idl b/include/msxml2.idl index ab10f14..eae84c4 100644 --- a/include/msxml2.idl +++ b/include/msxml2.idl @@ -1736,40 +1736,40 @@ interface IVBSAXXMLReader : IDispatch HRESULT putProperty( [in] const WCHAR * pProp, [in] VARIANT value); [propget, id(DISPID_SAX_XMLREADER_ENTITYRESOLVER)] - HRESULT getEntityResolver( + HRESULT entityResolver( [out, retval] IVBSAXEntityResolver ** ppEntityResolver); [propputref, id(DISPID_SAX_XMLREADER_ENTITYRESOLVER)] - HRESULT putEntityResolver( [in] IVBSAXEntityResolver * pEntityResolver); + HRESULT entityResolver( [in] IVBSAXEntityResolver * pEntityResolver); [propget, id(DISPID_SAX_XMLREADER_CONTENTHANDLER)] - HRESULT getContentHandler( + HRESULT contentHandler( [out, retval] IVBSAXContentHandler ** pContentHandler); [propputref, id(DISPID_SAX_XMLREADER_CONTENTHANDLER)] - HRESULT putContentHandler([in] IVBSAXContentHandler * contentHandler); + HRESULT contentHandler([in] IVBSAXContentHandler * contentHandler); [propget, id(DISPID_SAX_XMLREADER_DTDHANDLER)] - HRESULT getDTDHandler([out, retval] IVBSAXDTDHandler ** pDTDHandler); + HRESULT dtdHandler([out, retval] IVBSAXDTDHandler ** pDTDHandler); [propputref, id(DISPID_SAX_XMLREADER_DTDHANDLER)] - HRESULT putDTDHandler([in] IVBSAXDTDHandler * pDTDHandler); + HRESULT dtdHandler([in] IVBSAXDTDHandler * pDTDHandler); [propget, id(DISPID_SAX_XMLREADER_ERRORHANDLER)] - HRESULT getErrorHandler([out, retval] IVBSAXErrorHandler ** pErrorHandler); + HRESULT errorHandler([out, retval] IVBSAXErrorHandler ** pErrorHandler); [propputref, id(DISPID_SAX_XMLREADER_ERRORHANDLER)] - HRESULT putErrorHandler([in] IVBSAXErrorHandler * errorHandler); + HRESULT errorHandler([in] IVBSAXErrorHandler * errorHandler); [propget, id(DISPID_SAX_XMLREADER_BASEURL)] - HRESULT getBaseURL([out, retval] const WCHAR ** pBaseUrl); + HRESULT baseURL([out, retval] const WCHAR ** pBaseUrl); [propput, id(DISPID_SAX_XMLREADER_BASEURL)] - HRESULT putBaseURL([in] const WCHAR * pBaseUrl); + HRESULT baseURL([in] const WCHAR * pBaseUrl); [propget, id(DISPID_SAX_XMLREADER_SECUREBASEURL)] - HRESULT getSecureBaseURL([out, retval] const WCHAR ** pSecureBaseUrl); + HRESULT secureBaseURL([out, retval] const WCHAR ** pSecureBaseUrl); [propput, id(DISPID_SAX_XMLREADER_SECUREBASEURL)] - HRESULT putSecureBaseURL([in] const WCHAR * secureBaseUrl); + HRESULT secureBaseURL([in] const WCHAR * secureBaseUrl); - [propget, id(DISPID_SAX_XMLREADER_PARSE)] + [id(DISPID_SAX_XMLREADER_PARSE)] HRESULT parse( [in] VARIANT varInput); - [propput, id(DISPID_SAX_XMLREADER_PARSE)] + [id(DISPID_SAX_XMLREADER_PARSEURL)] HRESULT parseURL([in] const WCHAR * url); }
1
0
0
0
← Newer
1
...
72
73
74
75
76
77
78
...
122
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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
Results per page:
10
25
50
100
200