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 2008
----- 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
1216 discussions
Start a n
N
ew thread
Huw Davies : ole32: Create the '\1Ole' stream.
by Alexandre Julliard
28 Oct '08
28 Oct '08
Module: wine Branch: master Commit: 0cc2c53107e0c4a328dea72e7a3bdaf54b87305a URL:
http://source.winehq.org/git/wine.git/?a=commit;h=0cc2c53107e0c4a328dea72e7…
Author: Huw Davies <huw(a)codeweavers.com> Date: Mon Oct 27 15:19:16 2008 +0000 ole32: Create the '\1Ole' stream. --- dlls/ole32/defaulthandler.c | 53 ++++++++++++++++++ dlls/ole32/tests/Makefile.in | 1 + dlls/ole32/tests/defaulthandler.c | 110 +++++++++++++++++++++++++++++++++++++ 3 files changed, 164 insertions(+), 0 deletions(-) diff --git a/dlls/ole32/defaulthandler.c b/dlls/ole32/defaulthandler.c index 49bb733..66d2bff 100644 --- a/dlls/ole32/defaulthandler.c +++ b/dlls/ole32/defaulthandler.c @@ -1546,6 +1546,58 @@ static HRESULT WINAPI DefaultHandler_IPersistStorage_IsDirty( return hr; } +/*********************************************************************** + * init_ole_stream + * + * Creates the '\1Ole' stream. + * The format of this stream is as follows: + * + * DWORD Version == 0x02000001 + * DWORD Flags - low bit set indicates the object is a link otherwise it's embedded. + * DWORD LinkupdateOption - [MS-OLEDS describes this as an implementation specific hint + * supplied by the app that creates the data structure. May be + * ignored on processing]. + * + * DWORD Reserved == 0 + * DWORD MonikerStreamSize - size of the rest of the data (ie CLSID + moniker stream data). + * CLSID clsid - class id of object capable of processing the moniker + * BYTE data[] - moniker data for a link + */ + +static const WCHAR OleStream[] = {1,'O','l','e',0}; +typedef struct +{ + DWORD version; + DWORD flags; + DWORD link_update_opt; + DWORD res; + DWORD moniker_size; +} ole_stream_header_t; +static const DWORD ole_stream_version = 0x02000001; + +static void init_ole_stream(IStorage *storage) +{ + HRESULT hr; + IStream *stream; + + hr = IStorage_CreateStream(storage, OleStream, STGM_READWRITE | STGM_SHARE_EXCLUSIVE, 0, 0, &stream); + if(SUCCEEDED(hr)) + { + DWORD written; + ole_stream_header_t header; + + header.version = ole_stream_version; + header.flags = 0; + header.link_update_opt = 0; + header.res = 0; + header.moniker_size = 0; + + IStream_Write(stream, &header, sizeof(header), &written); + IStream_Release(stream); + } + return; +} + /************************************************************************ * DefaultHandler_IPersistStorage_InitNew * @@ -1558,6 +1610,7 @@ static HRESULT WINAPI DefaultHandler_IPersistStorage_InitNew( HRESULT hr; TRACE("(%p)->(%p)\n", iface, pStg); + init_ole_stream(pStg); hr = IPersistStorage_InitNew(This->dataCache_PersistStg, pStg); diff --git a/dlls/ole32/tests/Makefile.in b/dlls/ole32/tests/Makefile.in index 22da459..0193095 100644 --- a/dlls/ole32/tests/Makefile.in +++ b/dlls/ole32/tests/Makefile.in @@ -8,6 +8,7 @@ IMPORTS = oleaut32 ole32 user32 gdi32 advapi32 kernel32 CTESTS = \ clipboard.c \ compobj.c \ + defaulthandler.c \ dragdrop.c \ errorinfo.c \ hglobalstream.c \ diff --git a/dlls/ole32/tests/defaulthandler.c b/dlls/ole32/tests/defaulthandler.c new file mode 100644 index 0000000..a6469b7 --- /dev/null +++ b/dlls/ole32/tests/defaulthandler.c @@ -0,0 +1,110 @@ +/* + * Default Handler Tests + * + * Copyright 2008 Huw Davies + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#define COBJMACROS +#define CONST_VTABLE + +#include <stdarg.h> + +#include "windef.h" +#include "winbase.h" +#include "objbase.h" + +#include "wine/test.h" + + +static HRESULT create_storage(IStorage **stg) +{ + HRESULT hr; + ILockBytes *lock_bytes; + + hr = CreateILockBytesOnHGlobal(NULL, TRUE, &lock_bytes); + if(SUCCEEDED(hr)) + { + hr = StgCreateDocfileOnILockBytes(lock_bytes, + STGM_CREATE | STGM_SHARE_EXCLUSIVE | STGM_READWRITE, 0, stg); + ILockBytes_Release(lock_bytes); + } + return hr; +} + +typedef struct +{ + DWORD version; + DWORD flags; + DWORD link_update_opt; + DWORD res; + DWORD moniker_size; +} ole_stream_header_t; + +static void test_olestream(void) +{ + HRESULT hr; + const CLSID non_existent_class = {0xa5f1772f, 0x3772, 0x490f, {0x9e, 0xc6, 0x77, 0x13, 0xe8, 0xb3, 0x4b, 0x5d}}; + IOleObject *ole_obj; + IPersistStorage *persist; + IStorage *stg; + IStream *stm; + static const WCHAR olestream[] = {1,'O','l','e',0}; + ULONG read; + ole_stream_header_t header; + + hr = create_storage(&stg); + ok(hr == S_OK, "got %08x\n", hr); + + hr = IStorage_OpenStream(stg, olestream, NULL, STGM_SHARE_EXCLUSIVE | STGM_READ, 0, &stm); + ok(hr == STG_E_FILENOTFOUND, "got %08x\n", hr); + + hr = OleCreateDefaultHandler(&non_existent_class, 0, &IID_IOleObject, (void**)&ole_obj); + ok(hr == S_OK, "got %08x\n", hr); + + hr = IOleObject_QueryInterface(ole_obj, &IID_IPersistStorage, (void**)&persist); + ok(hr == S_OK, "got %08x\n", hr); + + hr = IPersistStorage_InitNew(persist, stg); + ok(hr == S_OK, "got %08x\n", hr); + + hr = IStorage_OpenStream(stg, olestream, NULL, STGM_SHARE_EXCLUSIVE | STGM_READ, 0, &stm); + ok(hr == S_OK, "got %08x\n", hr); + hr = IStream_Read(stm, &header, sizeof(header), &read); + ok(hr == S_OK, "got %08x\n", hr); + ok(read == sizeof(header), "read %d\n", read); + ok(header.version == 0x02000001, "got version %08x\n", header.version); + ok(header.flags == 0x0, "got flags %08x\n", header.flags); + ok(header.link_update_opt == 0x0, "got link update option %08x\n", header.link_update_opt); + ok(header.res == 0x0, "got reserved %08x\n", header.res); + ok(header.moniker_size == 0x0, "got moniker size %08x\n", header.moniker_size); + + IStream_Release(stm); + + IPersistStorage_Release(persist); + IOleObject_Release(ole_obj); + + IStorage_Release(stg); +} + +START_TEST(defaulthandler) +{ + OleInitialize(NULL); + + test_olestream(); + + OleUninitialize(); +}
1
0
0
0
Dmitry Timoshkov : gdi32: Move DC mapping APIs to the 'dc' debug channel.
by Alexandre Julliard
28 Oct '08
28 Oct '08
Module: wine Branch: master Commit: 61900098b16181e6da3867e0986a526088d63b11 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=61900098b16181e6da3867e09…
Author: Dmitry Timoshkov <dmitry(a)codeweavers.com> Date: Mon Oct 27 22:00:26 2008 +0800 gdi32: Move DC mapping APIs to the 'dc' debug channel. --- dlls/gdi32/mapping.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/gdi32/mapping.c b/dlls/gdi32/mapping.c index c5ea270..cc82fc2 100644 --- a/dlls/gdi32/mapping.c +++ b/dlls/gdi32/mapping.c @@ -27,7 +27,7 @@ #include "gdi_private.h" #include "wine/debug.h" -WINE_DEFAULT_DEBUG_CHANNEL(gdi); +WINE_DEFAULT_DEBUG_CHANNEL(dc); /***********************************************************************
1
0
0
0
Nicolas Le Cam : msi/tests: Fix a failing test on all platforms up to and including win2k.
by Alexandre Julliard
28 Oct '08
28 Oct '08
Module: wine Branch: master Commit: cec5d3f5149459225b1c80319c616a9adcebf7f1 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=cec5d3f5149459225b1c80319…
Author: Nicolas Le Cam <niko.lecam(a)gmail.com> Date: Mon Oct 27 14:16:33 2008 +0100 msi/tests: Fix a failing test on all platforms up to and including win2k. --- dlls/msi/tests/db.c | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/dlls/msi/tests/db.c b/dlls/msi/tests/db.c index 961aa5a..3561eeb 100644 --- a/dlls/msi/tests/db.c +++ b/dlls/msi/tests/db.c @@ -6860,15 +6860,13 @@ static void test_dbmerge(void) r = run_query(hdb, 0, query); ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", r); - create_file_data("codepage.idt", "\r\n\r\n28603\t_ForceCodepage\r\n", 0); + create_file_data("codepage.idt", "\r\n\r\n850\t_ForceCodepage\r\n", 0); GetCurrentDirectoryA(MAX_PATH, buf); r = MsiDatabaseImportA(hdb, buf, "codepage.idt"); todo_wine { - ok(r == ERROR_SUCCESS || - broken(r == ERROR_FUNCTION_FAILED), /* win9x */ - "Expected ERROR_SUCCESS, got %d\n", r); + ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", r); } query = "DROP TABLE `One`";
1
0
0
0
Dmitry Timoshkov : kernel32: Don't ignore extended keys.
by Alexandre Julliard
28 Oct '08
28 Oct '08
Module: wine Branch: master Commit: 67be35304088c916867472ff05114a11d2750881 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=67be35304088c916867472ff0…
Author: Dmitry Timoshkov <dmitry(a)codeweavers.com> Date: Mon Oct 27 19:14:28 2008 +0800 kernel32: Don't ignore extended keys. --- dlls/kernel32/console.c | 3 +-- dlls/kernel32/editline.c | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/dlls/kernel32/console.c b/dlls/kernel32/console.c index a985060..edaafbc 100644 --- a/dlls/kernel32/console.c +++ b/dlls/kernel32/console.c @@ -1377,8 +1377,7 @@ BOOL WINAPI ReadConsoleW(HANDLE hConsoleInput, LPVOID lpBuffer, { if (read_console_input(hConsoleInput, &ir, timeout) != rci_gotone) break; if (ir.EventType == KEY_EVENT && ir.Event.KeyEvent.bKeyDown && - ir.Event.KeyEvent.uChar.UnicodeChar && - !(ir.Event.KeyEvent.dwControlKeyState & ENHANCED_KEY)) + ir.Event.KeyEvent.uChar.UnicodeChar) { xbuf[charsread++] = ir.Event.KeyEvent.uChar.UnicodeChar; timeout = 0; diff --git a/dlls/kernel32/editline.c b/dlls/kernel32/editline.c index 0a663cf..6fab049 100644 --- a/dlls/kernel32/editline.c +++ b/dlls/kernel32/editline.c @@ -818,7 +818,7 @@ WCHAR* CONSOLE_Readline(HANDLE hConsoleIn) /* EPP WCEL_Dump(&ctx, "before func"); */ ofs = ctx.ofs; /* mask out some bits which don't interest us */ - ks = ir.Event.KeyEvent.dwControlKeyState & ~(NUMLOCK_ON|SCROLLLOCK_ON|CAPSLOCK_ON); + ks = ir.Event.KeyEvent.dwControlKeyState & ~(NUMLOCK_ON|SCROLLLOCK_ON|CAPSLOCK_ON|ENHANCED_KEY); func = NULL; for (km = (use_emacs) ? EmacsKeyMap : Win32KeyMap; km->entries != NULL; km++) @@ -845,7 +845,7 @@ WCHAR* CONSOLE_Readline(HANDLE hConsoleIn) if (func) (func)(&ctx); - else if (!(ir.Event.KeyEvent.dwControlKeyState & (ENHANCED_KEY|LEFT_ALT_PRESSED))) + else if (!(ir.Event.KeyEvent.dwControlKeyState & LEFT_ALT_PRESSED)) WCEL_InsertChar(&ctx, ir.Event.KeyEvent.uChar.UnicodeChar); else TRACE("Dropped event\n");
1
0
0
0
Dmitry Timoshkov : wineconsole: Don't ignore extended keys.
by Alexandre Julliard
28 Oct '08
28 Oct '08
Module: wine Branch: master Commit: b8b0b7fa41640bc983479595f9bb337bbdbbd019 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=b8b0b7fa41640bc983479595f…
Author: Dmitry Timoshkov <dmitry(a)codeweavers.com> Date: Mon Oct 27 19:14:05 2008 +0800 wineconsole: Don't ignore extended keys. --- programs/wineconsole/user.c | 33 +++++++++++++++------------------ 1 files changed, 15 insertions(+), 18 deletions(-) diff --git a/programs/wineconsole/user.c b/programs/wineconsole/user.c index 01950a3..1c00f31 100644 --- a/programs/wineconsole/user.c +++ b/programs/wineconsole/user.c @@ -1035,26 +1035,23 @@ static void WCUSER_GenerateKeyInputRecord(struct inner_data* data, BOOL down, if (lParam & (1L << 24)) ir.Event.KeyEvent.dwControlKeyState |= ENHANCED_KEY; if (sys) ir.Event.KeyEvent.dwControlKeyState |= LEFT_ALT_PRESSED; /* FIXME: gotta choose one */ - if (!(ir.Event.KeyEvent.dwControlKeyState & ENHANCED_KEY)) + if (down) { - if (down) - { - switch (ToUnicode(wParam, HIWORD(lParam), keyState, buf, 2, 0)) - { - case 2: - /* FIXME... should generate two events... */ - /* fall thru */ - case 1: - last = buf[0]; - break; - default: - last = 0; - break; - } - } - ir.Event.KeyEvent.uChar.UnicodeChar = last; /* FIXME: HACKY... and buggy because it should be a stack, not a single value */ - if (!down) last = 0; + switch (ToUnicode(wParam, HIWORD(lParam), keyState, buf, 2, 0)) + { + case 2: + /* FIXME... should generate two events... */ + /* fall thru */ + case 1: + last = buf[0]; + break; + default: + last = 0; + break; + } } + ir.Event.KeyEvent.uChar.UnicodeChar = last; /* FIXME: HACKY... and buggy because it should be a stack, not a single value */ + if (!down) last = 0; WriteConsoleInput(data->hConIn, &ir, 1, &n); }
1
0
0
0
Detlef Riekenberg : user32/tests: Avoid crash on win9x.
by Alexandre Julliard
27 Oct '08
27 Oct '08
Module: wine Branch: master Commit: de267347c555d5420e0a91ee361b3f44f7d25212 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=de267347c555d5420e0a91ee3…
Author: Detlef Riekenberg <wine.dev(a)web.de> Date: Sun Oct 26 23:08:50 2008 +0100 user32/tests: Avoid crash on win9x. --- dlls/user32/tests/win.c | 10 ++++++++-- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/dlls/user32/tests/win.c b/dlls/user32/tests/win.c index 76ca103..6e41100 100644 --- a/dlls/user32/tests/win.c +++ b/dlls/user32/tests/win.c @@ -4768,14 +4768,20 @@ static void test_GetWindowModuleFileName(void) static void test_hwnd_message(void) { + static const WCHAR mainwindowclassW[] = {'M','a','i','n','W','i','n','d','o','w','C','l','a','s','s',0}; + static const WCHAR message_windowW[] = {'m','e','s','s','a','g','e',' ','w','i','n','d','o','w',0}; + HWND parent = 0, hwnd, found; RECT rect; - hwnd = CreateWindowExA(0, "MainWindowClass", "message window", WS_CAPTION | WS_VISIBLE, + /* HWND_MESSAGE is not supported below w2k, but win9x return != 0 + on CreateWindowExA and crash later in the test. + Use UNICODE here to fail on win9x */ + hwnd = CreateWindowExW(0, mainwindowclassW, message_windowW, WS_CAPTION | WS_VISIBLE, 100, 100, 200, 200, HWND_MESSAGE, 0, 0, NULL); if (!hwnd) { - win_skip("CreateWindowExA with parent HWND_MESSAGE failed\n"); + win_skip("CreateWindowExW with parent HWND_MESSAGE failed\n"); return; }
1
0
0
0
Reece Dunn : uxtheme: Fixed the todo blocks in the IsThemed tests when theming is inactive.
by Alexandre Julliard
27 Oct '08
27 Oct '08
Module: wine Branch: master Commit: d85c3e7c72d0a7ade4104768b5bbd8b12cae5495 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=d85c3e7c72d0a7ade4104768b…
Author: Reece Dunn <msclrhd(a)googlemail.com> Date: Mon Oct 27 09:04:48 2008 +0000 uxtheme: Fixed the todo blocks in the IsThemed tests when theming is inactive. --- dlls/uxtheme/system.c | 1 + dlls/uxtheme/tests/system.c | 14 ++++++-------- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/dlls/uxtheme/system.c b/dlls/uxtheme/system.c index f2c24ae..3630a6d 100644 --- a/dlls/uxtheme/system.c +++ b/dlls/uxtheme/system.c @@ -566,6 +566,7 @@ BOOL WINAPI IsAppThemed(void) BOOL WINAPI IsThemeActive(void) { TRACE("\n"); + SetLastError(ERROR_SUCCESS); return bThemeActive; } diff --git a/dlls/uxtheme/tests/system.c b/dlls/uxtheme/tests/system.c index b82472b..df20885 100644 --- a/dlls/uxtheme/tests/system.c +++ b/dlls/uxtheme/tests/system.c @@ -85,10 +85,9 @@ static void test_IsThemed(void) SetLastError(0xdeadbeef); bThemeActive = pIsThemeActive(); trace("Theming is %s\n", (bThemeActive) ? "active" : "inactive"); - todo_wine - ok( GetLastError() == ERROR_SUCCESS, - "Expected ERROR_SUCCESS, got 0x%08x\n", - GetLastError()); + ok( GetLastError() == ERROR_SUCCESS, + "Expected ERROR_SUCCESS, got 0x%08x\n", + GetLastError()); /* This test is not themed */ SetLastError(0xdeadbeef); @@ -101,10 +100,9 @@ static void test_IsThemed(void) /* Although Wine currently returns FALSE, the logic behind it is wrong. It is not a todo_wine though in the testing sense */ ok( bAppThemed == FALSE, "Expected FALSE as this test executable is not (yet) themed.\n"); - todo_wine - ok( GetLastError() == ERROR_SUCCESS, - "Expected ERROR_SUCCESS, got 0x%08x\n", - GetLastError()); + ok( GetLastError() == ERROR_SUCCESS, + "Expected ERROR_SUCCESS, got 0x%08x\n", + GetLastError()); SetLastError(0xdeadbeef); bTPDefined = pIsThemePartDefined(NULL, 0 , 0);
1
0
0
0
Reece Dunn : winecfg: Renamed 'Shell Folder' to 'Folder'.
by Alexandre Julliard
27 Oct '08
27 Oct '08
Module: wine Branch: master Commit: 20d8e4685853ed1b3ea433b90b6bf220d3b56a45 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=20d8e4685853ed1b3ea433b90…
Author: Reece Dunn <msclrhd(a)googlemail.com> Date: Fri Oct 24 20:14:43 2008 +0100 winecfg: Renamed 'Shell Folder' to 'Folder'. --- programs/winecfg/En.rc | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/programs/winecfg/En.rc b/programs/winecfg/En.rc index b9575b2..c93bfa9 100644 --- a/programs/winecfg/En.rc +++ b/programs/winecfg/En.rc @@ -197,7 +197,7 @@ BEGIN EDITTEXT IDC_SYSPARAM_SIZE,166,74,23,13,ES_AUTOHSCROLL | WS_TABSTOP | WS_DISABLED CONTROL "",IDC_SYSPARAM_SIZE_UD,UPDOWN_CLASS,UDS_SETBUDDYINT | WS_DISABLED,187,74,15,13 PUSHBUTTON "&Font...",IDC_SYSPARAM_FONT,208,74,37,13,WS_DISABLED - GROUPBOX " S&hell Folder ",IDC_STATIC,8,114,244,100 + GROUPBOX " Fol&ders ",IDC_STATIC,8,114,244,100 CONTROL "Listview",IDC_LIST_SFPATHS,"SysListView32",LVS_REPORT | LVS_AUTOARRANGE | LVS_ALIGNLEFT | LVS_SINGLESEL | WS_BORDER | WS_TABSTOP, 15,126,230,64 CONTROL "&Link to:",IDC_LINK_SFPATH,"Button",BS_AUTOCHECKBOX|WS_TABSTOP|WS_DISABLED,15,195,50,13 @@ -223,7 +223,7 @@ BEGIN IDS_THEMEFILE "Theme files" IDS_THEMEFILE_SELECT "Select a theme file" IDS_AUDIO_MISSING "There is no audio driver currently specified in the registry.\n\nA recommended driver has been selected for you.\nYou can use this driver or select another driver if available.\n\nYou must click Apply for the selection to take effect." - IDS_SHELL_FOLDER "Shell Folder" + IDS_SHELL_FOLDER "Folder" IDS_LINKS_TO "Links to" END
1
0
0
0
Reece Dunn : winecfg: Add ellipsis ('...') to buttons that launch other dialogs.
by Alexandre Julliard
27 Oct '08
27 Oct '08
Module: wine Branch: master Commit: bd645a8482eb4f68e4b4c7471dd5b284bce6e9e7 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=bd645a8482eb4f68e4b4c7471…
Author: Reece Dunn <msclrhd(a)googlemail.com> Date: Fri Oct 24 20:11:14 2008 +0100 winecfg: Add ellipsis ('...') to buttons that launch other dialogs. --- programs/winecfg/En.rc | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/programs/winecfg/En.rc b/programs/winecfg/En.rc index 1a07d71..b9575b2 100644 --- a/programs/winecfg/En.rc +++ b/programs/winecfg/En.rc @@ -102,7 +102,7 @@ BEGIN PUSHBUTTON "&Add",IDC_DLLS_ADDDLL, 164,68,82,13,BS_DEFPUSHBUTTON LTEXT "Existing &overrides:",IDC_STATIC,16,86,100,8 LISTBOX IDC_DLLS_LIST,16,96,140,140,WS_BORDER | WS_TABSTOP | WS_VSCROLL - PUSHBUTTON "&Edit",IDC_DLLS_EDITDLL,164,96,82,14 + PUSHBUTTON "&Edit...",IDC_DLLS_EDITDLL,164,96,82,14 PUSHBUTTON "&Remove",IDC_DLLS_REMOVEDLL,164,114,82,14 END @@ -196,13 +196,13 @@ BEGIN LTEXT "Si&ze:",IDC_SYSPARAM_SIZE_TEXT,166,64,30,8,WS_DISABLED EDITTEXT IDC_SYSPARAM_SIZE,166,74,23,13,ES_AUTOHSCROLL | WS_TABSTOP | WS_DISABLED CONTROL "",IDC_SYSPARAM_SIZE_UD,UPDOWN_CLASS,UDS_SETBUDDYINT | WS_DISABLED,187,74,15,13 - PUSHBUTTON "&Font",IDC_SYSPARAM_FONT,208,74,37,13,WS_DISABLED + PUSHBUTTON "&Font...",IDC_SYSPARAM_FONT,208,74,37,13,WS_DISABLED GROUPBOX " S&hell Folder ",IDC_STATIC,8,114,244,100 CONTROL "Listview",IDC_LIST_SFPATHS,"SysListView32",LVS_REPORT | LVS_AUTOARRANGE | LVS_ALIGNLEFT | LVS_SINGLESEL | WS_BORDER | WS_TABSTOP, 15,126,230,64 CONTROL "&Link to:",IDC_LINK_SFPATH,"Button",BS_AUTOCHECKBOX|WS_TABSTOP|WS_DISABLED,15,195,50,13 - EDITTEXT IDC_EDIT_SFPATH,65,195,145,13,ES_AUTOHSCROLL|WS_TABSTOP|WS_DISABLED - PUSHBUTTON "B&rowse",IDC_BROWSE_SFPATH,215,195,30,13,WS_DISABLED + EDITTEXT IDC_EDIT_SFPATH,65,195,125,13,ES_AUTOHSCROLL|WS_TABSTOP|WS_DISABLED + PUSHBUTTON "B&rowse...",IDC_BROWSE_SFPATH,195,195,50,13,WS_DISABLED END STRINGTABLE DISCARDABLE
1
0
0
0
Alexandre Julliard : ntdll: Make sure the last relocation contains some data.
by Alexandre Julliard
27 Oct '08
27 Oct '08
Module: wine Branch: master Commit: eaae717ede28d155937fdab12f35a9b33f2ca00e URL:
http://source.winehq.org/git/wine.git/?a=commit;h=eaae717ede28d155937fdab12…
Author: Alexandre Julliard <julliard(a)winehq.org> Date: Mon Oct 27 13:19:30 2008 +0100 ntdll: Make sure the last relocation contains some data. --- dlls/ntdll/virtual.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/ntdll/virtual.c b/dlls/ntdll/virtual.c index 78e38dc..527dedd 100644 --- a/dlls/ntdll/virtual.c +++ b/dlls/ntdll/virtual.c @@ -1108,7 +1108,7 @@ static NTSTATUS map_image( HANDLE hmapping, int fd, char *base, SIZE_T total_siz end = (IMAGE_BASE_RELOCATION *)(ptr + relocs->VirtualAddress + relocs->Size); delta = ptr - base; - while (rel <= end - 1 && rel->SizeOfBlock) + while (rel < end - 1 && rel->SizeOfBlock) { if (rel->VirtualAddress >= total_size) {
1
0
0
0
← Newer
1
...
10
11
12
13
14
15
16
...
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