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
October 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
4 participants
996 discussions
Start a n
N
ew thread
Lei Zhang : comctl32: Add tab insert item / get focus test.
by Alexandre Julliard
30 Oct '07
30 Oct '07
Module: wine Branch: master Commit: 31a09c3b7bc0b89e59c77a1f361c095536046fe9 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=31a09c3b7bc0b89e59c77a1f3…
Author: Lei Zhang <thestig(a)google.com> Date: Mon Oct 29 18:32:34 2007 -0700 comctl32: Add tab insert item / get focus test. --- dlls/comctl32/tests/tab.c | 92 +++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 92 insertions(+), 0 deletions(-) diff --git a/dlls/comctl32/tests/tab.c b/dlls/comctl32/tests/tab.c index 784901d..51bb067 100644 --- a/dlls/comctl32/tests/tab.c +++ b/dlls/comctl32/tests/tab.c @@ -233,6 +233,26 @@ static const struct message getset_tooltip_parent_seq[] = { { 0 } }; +static const struct message insert_focus_seq[] = { + { TCM_GETITEMCOUNT, sent|wparam|lparam, 0, 0 }, + { TCM_GETCURFOCUS, sent|wparam|lparam, 0, 0 }, + { TCM_INSERTITEM, sent|wparam, 1 }, + { TCM_GETITEMCOUNT, sent|wparam|lparam, 0, 0 }, + { TCM_GETCURFOCUS, sent|wparam|lparam, 0, 0 }, + { TCM_INSERTITEM, sent|wparam, 2 }, + { WM_NOTIFYFORMAT, sent|defwinproc, }, + { WM_QUERYUISTATE, sent|defwinproc, }, + { WM_PARENTNOTIFY, sent|defwinproc, }, + { TCM_GETITEMCOUNT, sent|wparam|lparam, 0, 0 }, + { TCM_GETCURFOCUS, sent|wparam|lparam, 0, 0 }, + { TCM_SETCURFOCUS, sent|wparam|lparam, -1, 0 }, + { TCM_GETCURFOCUS, sent|wparam|lparam, 0, 0 }, + { TCM_INSERTITEM, sent|wparam, 3 }, + { TCM_GETCURFOCUS, sent|wparam|lparam, 0, 0 }, + { 0 } +}; + + static HWND create_tabcontrol (DWORD style, DWORD mask) { @@ -810,6 +830,75 @@ static void test_getters_setters(HWND parent_wnd, INT nTabs) DestroyWindow(hTab); } +static void test_insert_focus(HWND parent_wnd) +{ + HWND hTab; + INT nTabsRetrieved; + INT r; + TCITEM tcNewTab; + DWORD mask = TCIF_TEXT|TCIF_IMAGE; + static char tabName[] = "TAB"; + tcNewTab.mask = mask; + tcNewTab.pszText = tabName; + + ok(parent_wnd != NULL, "no parent window!\n"); + + hTab = createFilledTabControl(parent_wnd, TCS_FIXEDWIDTH, mask, 0); + ok(hTab != NULL, "Failed to create tab control\n"); + + flush_sequences(sequences, NUM_MSG_SEQUENCES); + + nTabsRetrieved = SendMessage(hTab, TCM_GETITEMCOUNT, 0, 0); + expect(0, nTabsRetrieved); + + r = SendMessage(hTab, TCM_GETCURFOCUS, 0, 0); + expect(-1, r); + + tcNewTab.iImage = 1; + r = SendMessage(hTab, TCM_INSERTITEM, 1, (LPARAM) &tcNewTab); + expect(0, r); + + nTabsRetrieved = SendMessage(hTab, TCM_GETITEMCOUNT, 0, 0); + expect(1, nTabsRetrieved); + + r = SendMessage(hTab, TCM_GETCURFOCUS, 0, 0); + todo_wine { + expect(0, r); + } + + tcNewTab.iImage = 2; + r = SendMessage(hTab, TCM_INSERTITEM, 2, (LPARAM) &tcNewTab); + expect(1, r); + + nTabsRetrieved = SendMessage(hTab, TCM_GETITEMCOUNT, 0, 0); + expect(2, nTabsRetrieved); + + r = SendMessage(hTab, TCM_GETCURFOCUS, 0, 0); + todo_wine { + expect(0, r); + } + + r = SendMessage(hTab, TCM_SETCURFOCUS, -1, 0); + expect(0, r); + + r = SendMessage(hTab, TCM_GETCURFOCUS, 0, 0); + expect(-1, r); + + tcNewTab.iImage = 3; + r = SendMessage(hTab, TCM_INSERTITEM, 3, (LPARAM) &tcNewTab); + expect(2, r); + + r = SendMessage(hTab, TCM_GETCURFOCUS, 0, 0); + todo_wine { + expect(2, r); + } + + ok_sequence(sequences, TAB_SEQ_INDEX, insert_focus_seq, "insert_focus test sequence", TRUE); + ok_sequence(sequences, PARENT_SEQ_INDEX, empty_sequence, "insert_focus parent test sequence", FALSE); + + DestroyWindow(hTab); +} + START_TEST(tab) { HWND parent_wnd; @@ -842,5 +931,8 @@ START_TEST(tab) /* Testing getters and setters with 5 tabs */ test_getters_setters(parent_wnd, 5); + + test_insert_focus(parent_wnd); + DestroyWindow(parent_wnd); }
1
0
0
0
Lei Zhang : comctl32: Move tab test's createParentWindow() into START_TEST( ).
by Alexandre Julliard
30 Oct '07
30 Oct '07
Module: wine Branch: master Commit: c5a17f98df43d5cac9b666334c9135479b7d935d URL:
http://source.winehq.org/git/wine.git/?a=commit;h=c5a17f98df43d5cac9b666334…
Author: Lei Zhang <thestig(a)google.com> Date: Mon Oct 29 16:39:10 2007 -0700 comctl32: Move tab test's createParentWindow() into START_TEST(). --- dlls/comctl32/tests/tab.c | 14 ++++++++------ 1 files changed, 8 insertions(+), 6 deletions(-) diff --git a/dlls/comctl32/tests/tab.c b/dlls/comctl32/tests/tab.c index 1787a8b..784901d 100644 --- a/dlls/comctl32/tests/tab.c +++ b/dlls/comctl32/tests/tab.c @@ -593,16 +593,14 @@ static void test_tab(INT nMinTabWidth) DeleteObject(hFont); } -static void test_getters_setters(INT nTabs) +static void test_getters_setters(HWND parent_wnd, INT nTabs) { HWND hTab; - HWND parent_wnd; RECT rTab; INT nTabsRetrieved; INT rowCount; - parent_wnd = createParentWindow(); - ok(parent_wnd != NULL, "Failed to create parent window!\n"); + ok(parent_wnd != NULL, "no parent window!\n"); flush_sequences(sequences, NUM_MSG_SEQUENCES); hTab = createFilledTabControl(parent_wnd, TCS_FIXEDWIDTH, TCIF_TEXT|TCIF_IMAGE, nTabs); @@ -810,11 +808,11 @@ static void test_getters_setters(INT nTabs) } DestroyWindow(hTab); - DestroyWindow(parent_wnd); } START_TEST(tab) { + HWND parent_wnd; LOGFONTA logfont; lstrcpyA(logfont.lfFaceName, "Arial"); @@ -839,6 +837,10 @@ START_TEST(tab) init_msg_sequences(sequences, NUM_MSG_SEQUENCES); + parent_wnd = createParentWindow(); + ok(parent_wnd != NULL, "Failed to create parent window!\n"); + /* Testing getters and setters with 5 tabs */ - test_getters_setters(5); + test_getters_setters(parent_wnd, 5); + DestroyWindow(parent_wnd); }
1
0
0
0
Alexandre Julliard : server: Remove failed ioctls from the queue as soon as the result is set.
by Alexandre Julliard
30 Oct '07
30 Oct '07
Module: wine Branch: master Commit: 8268ad551a258de88f4e0338a19e4866fc0deea0 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=8268ad551a258de88f4e0338a…
Author: Alexandre Julliard <julliard(a)winehq.org> Date: Tue Oct 30 11:30:58 2007 +0100 server: Remove failed ioctls from the queue as soon as the result is set. --- server/device.c | 15 ++++++++++++--- 1 files changed, 12 insertions(+), 3 deletions(-) diff --git a/server/device.c b/server/device.c index 46b2796..d5e5e44 100644 --- a/server/device.c +++ b/server/device.c @@ -226,11 +226,20 @@ static void set_ioctl_result( struct ioctl_call *ioctl, unsigned int status, ioctl->device = NULL; if (ioctl->async) { - async_terminate( ioctl->async, ioctl->out_size ? STATUS_ALERTED : status ); + if (ioctl->out_size) status = STATUS_ALERTED; + async_terminate( ioctl->async, status ); release_object( ioctl->async ); ioctl->async = NULL; } wake_up( &ioctl->obj, 0 ); + + if (status != STATUS_ALERTED) + { + /* remove it from the device queue */ + /* (for STATUS_ALERTED this will be done in get_ioctl_result) */ + list_remove( &ioctl->dev_entry ); + release_object( ioctl ); /* no longer on the device queue */ + } } @@ -352,12 +361,12 @@ static struct device *create_device( struct directory *root, const struct unicod static void delete_device( struct device *device ) { - struct ioctl_call *ioctl; + struct ioctl_call *ioctl, *next; if (!device->manager) return; /* already deleted */ /* terminate all pending requests */ - LIST_FOR_EACH_ENTRY( ioctl, &device->requests, struct ioctl_call, dev_entry ) + LIST_FOR_EACH_ENTRY_SAFE( ioctl, next, &device->requests, struct ioctl_call, dev_entry ) { list_remove( &ioctl->mgr_entry ); set_ioctl_result( ioctl, STATUS_FILE_DELETED, NULL, 0 );
1
0
0
0
Hans Leidekker : wininet: Use a single connection for all ftp tests.
by Alexandre Julliard
30 Oct '07
30 Oct '07
Module: wine Branch: master Commit: a844a38fad038dc4561e171b3a58b88a8ef111de URL:
http://source.winehq.org/git/wine.git/?a=commit;h=a844a38fad038dc4561e171b3…
Author: Hans Leidekker <hans(a)it.vu.nl> Date: Mon Oct 29 21:46:52 2007 +0100 wininet: Use a single connection for all ftp tests. --- dlls/wininet/tests/ftp.c | 244 +++++++-------------------------------------- 1 files changed, 38 insertions(+), 206 deletions(-) Diff:
http://source.winehq.org/git/wine.git/?a=commitdiff;h=a844a38fad038dc4561e1…
1
0
0
0
Andrew Talbot : shell32: Constify some variables.
by Alexandre Julliard
30 Oct '07
30 Oct '07
Module: wine Branch: master Commit: a7d80730d666faabb4f0bafc59555241a9cda13b URL:
http://source.winehq.org/git/wine.git/?a=commit;h=a7d80730d666faabb4f0bafc5…
Author: Andrew Talbot <andrew.talbot(a)talbotville.com> Date: Mon Oct 29 21:51:02 2007 +0000 shell32: Constify some variables. --- dlls/shell32/shfldr_unixfs.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dlls/shell32/shfldr_unixfs.c b/dlls/shell32/shfldr_unixfs.c index f780037..c18da27 100644 --- a/dlls/shell32/shfldr_unixfs.c +++ b/dlls/shell32/shfldr_unixfs.c @@ -356,8 +356,8 @@ cleanup: * TRUE, if pIDL is accepted by fFilter * FALSE, otherwise */ -static inline BOOL UNIXFS_is_pidl_of_type(LPITEMIDLIST pIDL, SHCONTF fFilter) { - LPPIDLDATA pIDLData = _ILGetDataPointer(pIDL); +static inline BOOL UNIXFS_is_pidl_of_type(LPCITEMIDLIST pIDL, SHCONTF fFilter) { + const PIDLDATA *pIDLData = _ILGetDataPointer(pIDL); if (!(fFilter & SHCONTF_INCLUDEHIDDEN) && pIDLData && (pIDLData->u.file.uFileAttribs & FILE_ATTRIBUTE_HIDDEN)) { @@ -1738,7 +1738,7 @@ static HRESULT WINAPI UnixFolder_ISFHelper_AddFolder(ISFHelper* iface, HWND hwnd * be converted, S_FALSE is returned. In such situation DeleteItems will try to delete * the files using syscalls */ -static HRESULT UNIXFS_delete_with_shfileop(UnixFolder *This, UINT cidl, LPCITEMIDLIST *apidl) +static HRESULT UNIXFS_delete_with_shfileop(UnixFolder *This, UINT cidl, const LPCITEMIDLIST *apidl) { char szAbsolute[FILENAME_MAX], *pszRelative; LPWSTR wszPathsList, wszListPos; @@ -1792,7 +1792,7 @@ static HRESULT UNIXFS_delete_with_shfileop(UnixFolder *This, UINT cidl, LPCITEMI return ret; } -static HRESULT UNIXFS_delete_with_syscalls(UnixFolder *This, UINT cidl, LPCITEMIDLIST *apidl) +static HRESULT UNIXFS_delete_with_syscalls(UnixFolder *This, UINT cidl, const LPCITEMIDLIST *apidl) { char szAbsolute[FILENAME_MAX], *pszRelative; static const WCHAR empty[] = {0};
1
0
0
0
Paul Vriens : ntdll: Report FIXME only once.
by Alexandre Julliard
30 Oct '07
30 Oct '07
Module: wine Branch: master Commit: 2f09f50641751b2eee6c8bb8142be8c769e83974 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=2f09f50641751b2eee6c8bb81…
Author: Paul Vriens <paul.vriens.wine(a)gmail.com> Date: Mon Oct 29 14:11:23 2007 +0100 ntdll: Report FIXME only once. --- dlls/ntdll/thread.c | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/dlls/ntdll/thread.c b/dlls/ntdll/thread.c index aaa5216..37a845f 100644 --- a/dlls/ntdll/thread.c +++ b/dlls/ntdll/thread.c @@ -1217,9 +1217,17 @@ NTSTATUS WINAPI NtQueryInformationThread( HANDLE handle, THREADINFOCLASS class, } else { + static BOOL reported = FALSE; + kusrt.KernelTime.QuadPart = 0; kusrt.UserTime.QuadPart = 0; - FIXME("Cannot get kerneltime or usertime of other threads\n"); + if (reported) + TRACE("Cannot get kerneltime or usertime of other threads\n"); + else + { + FIXME("Cannot get kerneltime or usertime of other threads\n"); + reported = TRUE; + } } if (data) memcpy( data, &kusrt, min( length, sizeof(kusrt) )); if (ret_len) *ret_len = min( length, sizeof(kusrt) );
1
0
0
0
Klaus Layer : ntdll: Add missing FIXMEs for incomplete info classes in NtQuerySystemInformation .
by Alexandre Julliard
30 Oct '07
30 Oct '07
Module: wine Branch: master Commit: 9f8d9e3e05f4703784d889f9855c3e3580cd3ce6 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=9f8d9e3e05f4703784d889f98…
Author: Klaus Layer <klaus.layer(a)gmx.de> Date: Sun Oct 28 00:02:41 2007 +0200 ntdll: Add missing FIXMEs for incomplete info classes in NtQuerySystemInformation. --- dlls/ntdll/nt.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/dlls/ntdll/nt.c b/dlls/ntdll/nt.c index 15fb507..c241e94 100644 --- a/dlls/ntdll/nt.c +++ b/dlls/ntdll/nt.c @@ -738,6 +738,7 @@ NTSTATUS WINAPI NtQuerySystemInformation( else memcpy( SystemInformation, &spi, len); } else ret = STATUS_INFO_LENGTH_MISMATCH; + FIXME("info_class SYSTEM_PERFORMANCE_INFORMATION\n"); } break; case SystemTimeOfDayInformation: @@ -892,6 +893,7 @@ NTSTATUS WINAPI NtQuerySystemInformation( else memcpy( SystemInformation, &sppi, len); } else ret = STATUS_INFO_LENGTH_MISMATCH; + FIXME("info_class SYSTEM_PROCESSOR_PERFORMANCE_INFORMATION\n"); } break; case SystemModuleInformation: @@ -912,6 +914,7 @@ NTSTATUS WINAPI NtQuerySystemInformation( else memcpy( SystemInformation, &shi, len); } else ret = STATUS_INFO_LENGTH_MISMATCH; + FIXME("info_class SYSTEM_HANDLE_INFORMATION\n"); } break; case SystemCacheInformation: @@ -927,6 +930,7 @@ NTSTATUS WINAPI NtQuerySystemInformation( else memcpy( SystemInformation, &sci, len); } else ret = STATUS_INFO_LENGTH_MISMATCH; + FIXME("info_class SYSTEM_CACHE_INFORMATION\n"); } break; case SystemInterruptInformation: @@ -942,6 +946,7 @@ NTSTATUS WINAPI NtQuerySystemInformation( else memcpy( SystemInformation, &sii, len); } else ret = STATUS_INFO_LENGTH_MISMATCH; + FIXME("info_class SYSTEM_INTERRUPT_INFORMATION\n"); } break; case SystemKernelDebuggerInformation:
1
0
0
0
Alexander Nicolaysen Sørnes : application: Allow clearing the Application URL
by Chris Morgan
29 Oct '07
29 Oct '07
Module: appdb Branch: master Commit: 710d79224ab7e26d6ad6d3bb4b8659e4c0f34b6a URL:
http://source.winehq.org/git/appdb.git/?a=commit;h=710d79224ab7e26d6ad6d3bb…
Author: Alexander Nicolaysen Sørnes <alex(a)thehandofagony.com> Date: Tue Oct 30 00:09:15 2007 +0100 application: Allow clearing the Application URL --- include/application.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/application.php b/include/application.php index beba629..9bab415 100644 --- a/include/application.php +++ b/include/application.php @@ -203,7 +203,7 @@ class Application { $sWhatChanged .= "Keywords were changed from\n ".$oApp->sKeywords."\n to \n".$this->sKeywords.".\n\n"; } - if ($this->sWebpage && ($this->sWebpage!=$oApp->sWebpage)) + if ($this->sWebpage!=$oApp->sWebpage) { if (!query_parameters("UPDATE appFamily SET webPage = '?' WHERE appId = '?'", $this->sWebpage, $this->iAppId))
1
0
0
0
Alexander Dorofeyev : comctl32: Fix broken detection of non-empty string.
by Alexandre Julliard
29 Oct '07
29 Oct '07
Module: wine Branch: master Commit: 35ff6d675000333db57c27d2975a850eec25dd2f URL:
http://source.winehq.org/git/wine.git/?a=commit;h=35ff6d675000333db57c27d29…
Author: Alexander Dorofeyev <alexd14(a)hushmail.com> Date: Sun Oct 28 22:56:06 2007 -0700 comctl32: Fix broken detection of non-empty string. --- dlls/comctl32/toolbar.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/comctl32/toolbar.c b/dlls/comctl32/toolbar.c index b55298a..429444e 100644 --- a/dlls/comctl32/toolbar.c +++ b/dlls/comctl32/toolbar.c @@ -6332,7 +6332,7 @@ static LRESULT TOOLBAR_TTGetDispInfo (TOOLBAR_INFO *infoPtr, NMTTDISPINFOW *lpnm return 0; } } - else if (len > 0) + else if (tbgit.pszText[0]) { MultiByteToWideChar(CP_ACP, 0, tbgit.pszText, -1, lpnmtdi->lpszText, sizeof(lpnmtdi->szText)/sizeof(lpnmtdi->szText[0]));
1
0
0
0
Alexander Dorofeyev : comctl32: Pass command id of button in wParam.
by Alexandre Julliard
29 Oct '07
29 Oct '07
Module: wine Branch: master Commit: 77c376e0f83f7430f6549367297f81660b33cb44 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=77c376e0f83f7430f65493672…
Author: Alexander Dorofeyev <alexd14(a)hushmail.com> Date: Sun Oct 28 18:59:07 2007 -0700 comctl32: Pass command id of button in wParam. --- dlls/comctl32/toolbar.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/comctl32/toolbar.c b/dlls/comctl32/toolbar.c index 921c0ff..b55298a 100644 --- a/dlls/comctl32/toolbar.c +++ b/dlls/comctl32/toolbar.c @@ -6374,7 +6374,7 @@ static LRESULT TOOLBAR_TTGetDispInfo (TOOLBAR_INFO *infoPtr, NMTTDISPINFOW *lpnm /* last resort: send notification on to app */ /* FIXME: find out what is really used here */ - return SendMessageW(infoPtr->hwndNotify, WM_NOTIFY, 0, (LPARAM)lpnmtdi); + return SendMessageW(infoPtr->hwndNotify, WM_NOTIFY, (WPARAM)lpnmtdi->hdr.idFrom, (LPARAM)lpnmtdi); }
1
0
0
0
← Newer
1
2
3
4
5
6
7
8
9
...
100
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
Results per page:
10
25
50
100
200