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
April 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
4 participants
1278 discussions
Start a n
N
ew thread
Jeff Zaroyko : msacm32.drv: Increase the reported vDriverVersion.
by Alexandre Julliard
28 Apr '08
28 Apr '08
Module: wine Branch: master Commit: 120cd69ddd07b9ef45afcd2db4653d870f89ed67 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=120cd69ddd07b9ef45afcd2db…
Author: Jeff Zaroyko <jeffz(a)jeffz.name> Date: Sun Apr 27 17:27:39 2008 +1000 msacm32.drv: Increase the reported vDriverVersion. --- dlls/msacm32.drv/wavemap.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/msacm32.drv/wavemap.c b/dlls/msacm32.drv/wavemap.c index 38bb1f1..9e58a3d 100644 --- a/dlls/msacm32.drv/wavemap.c +++ b/dlls/msacm32.drv/wavemap.c @@ -509,7 +509,7 @@ static DWORD wodGetDevCaps(UINT wDevID, WAVEMAPDATA* wom, LPWAVEOUTCAPSW lpWaveC WAVEOUTCAPSW woc; woc.wMid = 0x00FF; woc.wPid = 0x0001; - woc.vDriverVersion = 0x0100; + woc.vDriverVersion = 0x0332; lstrcpyW(woc.szPname, name); woc.dwFormats = WAVE_FORMAT_96M08 | WAVE_FORMAT_96S08 | WAVE_FORMAT_96M16 | WAVE_FORMAT_96S16 |
1
0
0
0
David Adam : amstream: Register CLSID_AMDirectDrawStream.
by Alexandre Julliard
28 Apr '08
28 Apr '08
Module: wine Branch: master Commit: 8c21ebc6854d46c486e9e29e100a414fbdfef90e URL:
http://source.winehq.org/git/wine.git/?a=commit;h=8c21ebc6854d46c486e9e29e1…
Author: David Adam <david.adam.cnrs(a)gmail.com> Date: Sun Apr 27 12:16:33 2008 +0200 amstream: Register CLSID_AMDirectDrawStream. --- dlls/amstream/main.c | 1 + dlls/amstream/regsvr.c | 8 ++++++++ 2 files changed, 9 insertions(+), 0 deletions(-) diff --git a/dlls/amstream/main.c b/dlls/amstream/main.c index 080fc17..7bebe90 100644 --- a/dlls/amstream/main.c +++ b/dlls/amstream/main.c @@ -74,6 +74,7 @@ struct object_creation_info static const struct object_creation_info object_creation[] = { { &CLSID_AMMultiMediaStream, AM_create }, + { &CLSID_AMDirectDrawStream, AM_create }, }; static HRESULT WINAPI diff --git a/dlls/amstream/regsvr.c b/dlls/amstream/regsvr.c index 054de6a..478818f 100644 --- a/dlls/amstream/regsvr.c +++ b/dlls/amstream/regsvr.c @@ -447,6 +447,14 @@ static struct regsvr_coclass const coclass_list[] = { "amstream.dll", "Both" }, + + { &CLSID_AMDirectDrawStream, + "ActiveMovie MultiMedia Stream", + NULL, + "amstream.dll", + "Both" + }, + { NULL } /* list terminator */ };
1
0
0
0
David Adam : amstream: Fix the condition of existence of the IMediaStream interface.
by Alexandre Julliard
28 Apr '08
28 Apr '08
Module: wine Branch: master Commit: 653c7e7dcaf7ebee2cfc8a6e356779dc8974aac6 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=653c7e7dcaf7ebee2cfc8a6e3…
Author: David Adam <david.adam.cnrs(a)gmail.com> Date: Sun Apr 27 12:10:32 2008 +0200 amstream: Fix the condition of existence of the IMediaStream interface. --- dlls/amstream/mediastream.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/dlls/amstream/mediastream.c b/dlls/amstream/mediastream.c index 2cb7ce6..3d15731 100644 --- a/dlls/amstream/mediastream.c +++ b/dlls/amstream/mediastream.c @@ -71,7 +71,8 @@ static HRESULT WINAPI IMediaStreamImpl_QueryInterface(IMediaStream* iface, REFII TRACE("(%p/%p)->(%s,%p)\n", iface, This, debugstr_guid(riid), ppvObject); if (IsEqualGUID(riid, &IID_IUnknown) || - IsEqualGUID(riid, &IID_IAMMultiMediaStream)) + IsEqualGUID(riid, &IID_IAMMultiMediaStream) || + IsEqualGUID(riid, &IID_IDirectDrawMediaStream)) { IClassFactory_AddRef(iface); *ppvObject = This;
1
0
0
0
Alistair Leslie-Hughes : msxml3: Added IObjectWithSite support in IXMLDOMDocument2.
by Alexandre Julliard
28 Apr '08
28 Apr '08
Module: wine Branch: master Commit: 340f34ddf632fab78608075781d273c6520f5999 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=340f34ddf632fab7860807578…
Author: Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> Date: Sat Apr 26 22:55:05 2008 +1000 msxml3: Added IObjectWithSite support in IXMLDOMDocument2. --- dlls/msxml3/domdoc.c | 91 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 91 insertions(+), 0 deletions(-) diff --git a/dlls/msxml3/domdoc.c b/dlls/msxml3/domdoc.c index a05247a..7ce17bd 100644 --- a/dlls/msxml3/domdoc.c +++ b/dlls/msxml3/domdoc.c @@ -34,6 +34,7 @@ #include "urlmon.h" #include "winreg.h" #include "shlwapi.h" +#include "ocidl.h" #include "wine/debug.h" @@ -169,6 +170,7 @@ typedef struct _domdoc { const struct IXMLDOMDocument2Vtbl *lpVtbl; const struct IPersistStreamVtbl *lpvtblIPersistStream; + const struct IObjectWithSiteVtbl *lpvtblIObjectWithSite; LONG ref; VARIANT_BOOL async; VARIANT_BOOL validating; @@ -182,6 +184,9 @@ typedef struct _domdoc /* IPersistStream */ IStream *stream; + + /* IObjectWithSite*/ + IUnknown *site; } domdoc; LONG xmldoc_add_ref(xmlDocPtr doc) @@ -219,6 +224,11 @@ static inline domdoc *impl_from_IPersistStream(IPersistStream *iface) return (domdoc *)((char*)iface - FIELD_OFFSET(domdoc, lpvtblIPersistStream)); } +static inline domdoc *impl_from_IObjectWithSite(IObjectWithSite *iface) +{ + return (domdoc *)((char*)iface - FIELD_OFFSET(domdoc, lpvtblIObjectWithSite)); +} + /************************************************************************ * xmldoc implementation of IPersistStream. */ @@ -368,6 +378,10 @@ static HRESULT WINAPI domdoc_QueryInterface( IXMLDOMDocument2 *iface, REFIID rii { *ppvObject = (IPersistStream*)&(This->lpvtblIPersistStream); } + else if (IsEqualGUID(&IID_IObjectWithSite, riid)) + { + *ppvObject = (IObjectWithSite*)&(This->lpvtblIObjectWithSite); + } else if(IsEqualGUID(&IID_IRunnableObject, riid)) { TRACE("IID_IRunnableObject not supported returning NULL\n"); @@ -405,6 +419,8 @@ static ULONG WINAPI domdoc_Release( ref = InterlockedDecrement( &This->ref ); if ( ref == 0 ) { + if (This->site) + IUnknown_Release( This->site ); IUnknown_Release( This->node_unk ); if(This->schema) IXMLDOMSchemaCollection_Release( This->schema ); if (This->stream) IStream_Release(This->stream); @@ -1930,6 +1946,79 @@ static const struct IXMLDOMDocument2Vtbl domdoc_vtbl = domdoc_getProperty }; +/* xmldoc implementation of IObjectWithSite */ +static HRESULT WINAPI +xmldoc_ObjectWithSite_QueryInterface( IObjectWithSite* iface, REFIID riid, void** ppvObject ) +{ + domdoc *This = impl_from_IObjectWithSite(iface); + return IXMLDocument_QueryInterface( (IXMLDocument *)This, riid, ppvObject ); +} + +static ULONG WINAPI +xmldoc_ObjectWithSite_AddRef( IObjectWithSite* iface ) +{ + domdoc *This = impl_from_IObjectWithSite(iface); + return IXMLDocument_AddRef((IXMLDocument *)This); +} + +static ULONG WINAPI +xmldoc_ObjectWithSite_Release( IObjectWithSite* iface ) +{ + domdoc *This = impl_from_IObjectWithSite(iface); + return IXMLDocument_Release((IXMLDocument *)This); +} + +static HRESULT WINAPI +xmldoc_GetSite( IObjectWithSite *iface, REFIID iid, void ** ppvSite ) +{ + domdoc *This = impl_from_IObjectWithSite(iface); + + TRACE("%p %s %p\n", This, debugstr_guid( iid ), ppvSite ); + + if ( !This->site ) + return E_FAIL; + + return IUnknown_QueryInterface( This->site, iid, ppvSite ); +} + +static HRESULT WINAPI +xmldoc_SetSite( IObjectWithSite *iface, IUnknown *punk ) +{ + domdoc *This = impl_from_IObjectWithSite(iface); + + TRACE("%p %p\n", iface, punk); + + if(!punk) + { + if(This->site) + { + IUnknown_Release( This->site ); + This->site = NULL; + } + + return S_OK; + } + + if ( punk ) + IUnknown_AddRef( punk ); + + if(This->site) + IUnknown_Release( This->site ); + + This->site = punk; + + return S_OK; +} + +static const IObjectWithSiteVtbl domdocObjectSite = +{ + xmldoc_ObjectWithSite_QueryInterface, + xmldoc_ObjectWithSite_AddRef, + xmldoc_ObjectWithSite_Release, + xmldoc_SetSite, + xmldoc_GetSite, +}; + HRESULT DOMDocument_create(IUnknown *pUnkOuter, LPVOID *ppObj) { domdoc *doc; @@ -1944,6 +2033,7 @@ HRESULT DOMDocument_create(IUnknown *pUnkOuter, LPVOID *ppObj) doc->lpVtbl = &domdoc_vtbl; doc->lpvtblIPersistStream = &xmldoc_IPersistStream_VTable; + doc->lpvtblIObjectWithSite = &domdocObjectSite; doc->ref = 1; doc->async = 0; doc->validating = 0; @@ -1953,6 +2043,7 @@ HRESULT DOMDocument_create(IUnknown *pUnkOuter, LPVOID *ppObj) doc->error = S_OK; doc->schema = NULL; doc->stream = NULL; + doc->site = NULL; xmldoc = xmlNewDoc(NULL); if(!xmldoc)
1
0
0
0
Bryan DeGrendel : winex11: Rudimentary drawing support for display balloon tool tips in systray.
by Alexandre Julliard
28 Apr '08
28 Apr '08
Module: wine Branch: master Commit: 6ed80f15297486877a9fd89863a60735ce6b390e URL:
http://source.winehq.org/git/wine.git/?a=commit;h=6ed80f15297486877a9fd8986…
Author: Bryan DeGrendel <sirnuke(a)gmail.com> Date: Sat Apr 26 06:44:07 2008 -0400 winex11: Rudimentary drawing support for display balloon tool tips in systray. --- dlls/winex11.drv/systray.c | 30 ++++++++++++++++++++++-------- 1 files changed, 22 insertions(+), 8 deletions(-) diff --git a/dlls/winex11.drv/systray.c b/dlls/winex11.drv/systray.c index 460fd47..a6cf182 100644 --- a/dlls/winex11.drv/systray.c +++ b/dlls/winex11.drv/systray.c @@ -55,7 +55,8 @@ struct tray_icon HWND tooltip; /* Icon tooltip */ UINT id; /* the unique id given by the app */ UINT callback_message; - WCHAR tiptext[128]; /* Tooltip text. If empty => tooltip disabled */ + WCHAR tiptext[256]; /* Tooltip text. If empty => tooltip disabled */ + WCHAR tiptitle[64]; /* Tooltip title for ballon style tooltips. If empty => tooltip is not balloon style. */ }; static struct list icon_list = LIST_INIT( icon_list ); @@ -95,12 +96,22 @@ static void create_tooltip(struct tray_icon *icon) InitCommonControlsEx(&init_tooltip); tooltips_initialized = TRUE; } - - icon->tooltip = CreateWindowExW( WS_EX_TOPMOST, TOOLTIPS_CLASSW, NULL, - WS_POPUP | TTS_ALWAYSTIP, - CW_USEDEFAULT, CW_USEDEFAULT, - CW_USEDEFAULT, CW_USEDEFAULT, - icon->window, NULL, NULL, NULL); + if (icon->tiptitle[0] != 0) + { + icon->tooltip = CreateWindowExW( WS_EX_TOPMOST, TOOLTIPS_CLASSW, NULL, + WS_POPUP | TTS_ALWAYSTIP | TTS_BALLOON, + CW_USEDEFAULT, CW_USEDEFAULT, + CW_USEDEFAULT, CW_USEDEFAULT, + icon->window, NULL, NULL, NULL); + } + else + { + icon->tooltip = CreateWindowExW( WS_EX_TOPMOST, TOOLTIPS_CLASSW, NULL, + WS_POPUP | TTS_ALWAYSTIP, + CW_USEDEFAULT, CW_USEDEFAULT, + CW_USEDEFAULT, CW_USEDEFAULT, + icon->window, NULL, NULL, NULL); + } if (icon->tooltip) { TTTOOLINFOW ti; @@ -344,11 +355,14 @@ static BOOL modify_icon( struct tray_icon *icon, NOTIFYICONDATAW *nid ) if (nid->uFlags & NIF_TIP) { lstrcpynW(icon->tiptext, nid->szTip, sizeof(icon->tiptext)/sizeof(WCHAR)); + icon->tiptitle[0] = 0; if (icon->tooltip) update_tooltip_text(icon); } if (nid->uFlags & NIF_INFO && nid->cbSize >= NOTIFYICONDATAA_V2_SIZE) { - FIXME("balloon tip title %s, message %s\n", wine_dbgstr_w(nid->szInfoTitle), wine_dbgstr_w(nid->szInfo)); + lstrcpynW(icon->tiptext, nid->szInfo, sizeof(icon->tiptext)/sizeof(WCHAR)); + lstrcpynW(icon->tiptitle, nid->szInfoTitle, sizeof(icon->tiptitle)/sizeof(WCHAR)); + if (icon->tooltip) update_tooltip_text(icon); } return TRUE; }
1
0
0
0
ByeongSik Jeon : imm32: Updated implementation of the Imm{Get|Set}CompositionFont{A|W}.
by Alexandre Julliard
28 Apr '08
28 Apr '08
Module: wine Branch: master Commit: 4ce9b42c80472150df22cad924e65d1ece99f6aa URL:
http://source.winehq.org/git/wine.git/?a=commit;h=4ce9b42c80472150df22cad92…
Author: ByeongSik Jeon <bsjeon(a)hanmail.net> Date: Sat Apr 26 00:19:42 2008 +0900 imm32: Updated implementation of the Imm{Get|Set}CompositionFont{A|W}. --- dlls/imm32/imm.c | 20 +++++++++++--------- 1 files changed, 11 insertions(+), 9 deletions(-) diff --git a/dlls/imm32/imm.c b/dlls/imm32/imm.c index 2a29361..2247cf4 100644 --- a/dlls/imm32/imm.c +++ b/dlls/imm32/imm.c @@ -774,13 +774,13 @@ BOOL WINAPI ImmGetCompositionFontA(HIMC hIMC, LPLOGFONTA lplf) TRACE("(%p, %p):\n", hIMC, lplf); rc = ImmGetCompositionFontW(hIMC,&lfW); - if (rc) - { - memcpy(lplf,&lfW,sizeof(LOGFONTA)); - WideCharToMultiByte(CP_ACP, 0, lfW.lfFaceName, -1, lplf->lfFaceName, + if (!rc || !lplf) + return FALSE; + + memcpy(lplf,&lfW,sizeof(LOGFONTA)); + WideCharToMultiByte(CP_ACP, 0, lfW.lfFaceName, -1, lplf->lfFaceName, LF_FACESIZE, NULL, NULL); - } - return rc; + return TRUE; } /*********************************************************************** @@ -792,7 +792,7 @@ BOOL WINAPI ImmGetCompositionFontW(HIMC hIMC, LPLOGFONTW lplf) TRACE("(%p, %p):\n", hIMC, lplf); - if (!data) + if (!data || !lplf) return FALSE; *lplf = data->IMC.lfFont.W; @@ -1658,12 +1658,13 @@ BOOL WINAPI ImmSetCompositionFontA(HIMC hIMC, LPLOGFONTA lplf) InputContextData *data = (InputContextData*)hIMC; TRACE("(%p, %p)\n", hIMC, lplf); - if (!data) + if (!data || !lplf) return FALSE; memcpy(&data->IMC.lfFont.W,lplf,sizeof(LOGFONTA)); MultiByteToWideChar(CP_ACP, 0, lplf->lfFaceName, -1, data->IMC.lfFont.W.lfFaceName, LF_FACESIZE); + ImmNotifyIME(hIMC, NI_CONTEXTUPDATED, 0, IMC_SETCOMPOSITIONFONT); ImmInternalSendIMENotify(data, IMN_SETCOMPOSITIONFONT, 0); return TRUE; @@ -1677,10 +1678,11 @@ BOOL WINAPI ImmSetCompositionFontW(HIMC hIMC, LPLOGFONTW lplf) InputContextData *data = (InputContextData*)hIMC; TRACE("(%p, %p)\n", hIMC, lplf); - if (!data) + if (!data || !lplf) return FALSE; data->IMC.lfFont.W = *lplf; + ImmNotifyIME(hIMC, NI_CONTEXTUPDATED, 0, IMC_SETCOMPOSITIONFONT); ImmInternalSendIMENotify(data, IMN_SETCOMPOSITIONFONT, 0); return TRUE;
1
0
0
0
ByeongSik Jeon : imm32: Implementation of the Imm{Get|Set}StatusWindowPos.
by Alexandre Julliard
28 Apr '08
28 Apr '08
Module: wine Branch: master Commit: b322bc682e814e5d9c3bee717f76812240cf93cc URL:
http://source.winehq.org/git/wine.git/?a=commit;h=b322bc682e814e5d9c3bee717…
Author: ByeongSik Jeon <bsjeon(a)hanmail.net> Date: Sat Apr 26 00:19:34 2008 +0900 imm32: Implementation of the Imm{Get|Set}StatusWindowPos. --- dlls/imm32/imm.c | 30 ++++++++++++++++++++++++------ 1 files changed, 24 insertions(+), 6 deletions(-) diff --git a/dlls/imm32/imm.c b/dlls/imm32/imm.c index 259bf3a..2a29361 100644 --- a/dlls/imm32/imm.c +++ b/dlls/imm32/imm.c @@ -1384,9 +1384,16 @@ UINT WINAPI ImmGetRegisterWordStyleW( */ BOOL WINAPI ImmGetStatusWindowPos(HIMC hIMC, LPPOINT lpptPos) { - FIXME("(%p, %p): stub\n", hIMC, lpptPos); - SetLastError(ERROR_CALL_NOT_IMPLEMENTED); - return FALSE; + InputContextData *data = (InputContextData*)hIMC; + + TRACE("(%p, %p)\n", hIMC, lpptPos); + + if (!data || !lpptPos) + return FALSE; + + *lpptPos = data->IMC.ptStatusWndPos; + + return TRUE; } /*********************************************************************** @@ -1882,9 +1889,20 @@ BOOL WINAPI ImmSetOpenStatus(HIMC hIMC, BOOL fOpen) */ BOOL WINAPI ImmSetStatusWindowPos(HIMC hIMC, LPPOINT lpptPos) { - FIXME("(%p, %p): stub\n", hIMC, lpptPos); - SetLastError(ERROR_CALL_NOT_IMPLEMENTED); - return FALSE; + InputContextData *data = (InputContextData*)hIMC; + + TRACE("(%p, %p)\n", hIMC, lpptPos); + + if (!data || !lpptPos) + return FALSE; + + TRACE("\t(%i,%i)\n", lpptPos->x, lpptPos->y); + + data->IMC.ptStatusWndPos = *lpptPos; + ImmNotifyIME( hIMC, NI_CONTEXTUPDATED, 0, IMC_SETSTATUSWINDOWPOS); + ImmInternalSendIMENotify(data, IMN_SETSTATUSWINDOWPOS, 0); + + return TRUE; } /***********************************************************************
1
0
0
0
ByeongSik Jeon : imm32: Implementation of the Imm{Get|Set}CandidateWindow.
by Alexandre Julliard
28 Apr '08
28 Apr '08
Module: wine Branch: master Commit: 5d49b3db8d80d8f37c97d32dbb2defa132200f27 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=5d49b3db8d80d8f37c97d32db…
Author: ByeongSik Jeon <bsjeon(a)hanmail.net> Date: Sat Apr 26 00:19:27 2008 +0900 imm32: Implementation of the Imm{Get|Set}CandidateWindow. --- dlls/imm32/imm.c | 42 +++++++++++++++++++++++++++++++++++------- 1 files changed, 35 insertions(+), 7 deletions(-) diff --git a/dlls/imm32/imm.c b/dlls/imm32/imm.c index 0400939..259bf3a 100644 --- a/dlls/imm32/imm.c +++ b/dlls/imm32/imm.c @@ -746,11 +746,21 @@ DWORD WINAPI ImmGetCandidateListW( * ImmGetCandidateWindow (IMM32.@) */ BOOL WINAPI ImmGetCandidateWindow( - HIMC hIMC, DWORD dwBufLen, LPCANDIDATEFORM lpCandidate) + HIMC hIMC, DWORD dwIndex, LPCANDIDATEFORM lpCandidate) { - FIXME("(%p, %d, %p): stub\n", hIMC, dwBufLen, lpCandidate); - SetLastError(ERROR_CALL_NOT_IMPLEMENTED); - return FALSE; + InputContextData *data = (InputContextData*)hIMC; + + TRACE("%p, %d, %p\n", hIMC, dwIndex, lpCandidate); + + if (!data || !lpCandidate) + return FALSE; + + if ( dwIndex >= (sizeof(data->IMC.cfCandForm) / sizeof(CANDIDATEFORM)) ) + return FALSE; + + *lpCandidate = data->IMC.cfCandForm[dwIndex]; + + return TRUE; } /*********************************************************************** @@ -1610,9 +1620,27 @@ LRESULT WINAPI ImmRequestMessageW(HIMC hIMC, WPARAM wParam, LPARAM lParam) BOOL WINAPI ImmSetCandidateWindow( HIMC hIMC, LPCANDIDATEFORM lpCandidate) { - FIXME("(%p, %p): stub\n", hIMC, lpCandidate); - SetLastError(ERROR_CALL_NOT_IMPLEMENTED); - return FALSE; + InputContextData *data = (InputContextData*)hIMC; + + TRACE("(%p, %p)\n", hIMC, lpCandidate); + + if (!data || !lpCandidate) + return FALSE; + + TRACE("\t%x, %x, (%i,%i), (%i,%i - %i,%i)\n", + lpCandidate->dwIndex, lpCandidate->dwStyle, + lpCandidate->ptCurrentPos.x, lpCandidate->ptCurrentPos.y, + lpCandidate->rcArea.top, lpCandidate->rcArea.left, + lpCandidate->rcArea.bottom, lpCandidate->rcArea.right); + + if ( lpCandidate->dwIndex >= (sizeof(data->IMC.cfCandForm) / sizeof(CANDIDATEFORM)) ) + return FALSE; + + data->IMC.cfCandForm[lpCandidate->dwIndex] = *lpCandidate; + ImmNotifyIME(hIMC, NI_CONTEXTUPDATED, 0, IMC_SETCANDIDATEPOS); + ImmInternalSendIMENotify(data, IMN_SETCANDIDATEPOS, 1 << lpCandidate->dwIndex); + + return TRUE; } /***********************************************************************
1
0
0
0
ByeongSik Jeon : user32: Set the vkey value to VK_PROCESSKEY when IME process key.
by Alexandre Julliard
28 Apr '08
28 Apr '08
Module: wine Branch: master Commit: 936e8473dbea0790ecb64d8af843e87840a6b331 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=936e8473dbea0790ecb64d8af…
Author: ByeongSik Jeon <bsjeon(a)hanmail.net> Date: Sat Apr 26 00:19:22 2008 +0900 user32: Set the vkey value to VK_PROCESSKEY when IME process key. --- dlls/user32/message.c | 10 ++++++++-- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/dlls/user32/message.c b/dlls/user32/message.c index 7f3407e..7f1b68b 100644 --- a/dlls/user32/message.c +++ b/dlls/user32/message.c @@ -36,6 +36,7 @@ #include "dbt.h" #include "dde.h" #include "imm.h" +#include "ddk/imm.h" #include "wine/unicode.h" #include "wine/server.h" #include "user_private.h" @@ -1747,6 +1748,11 @@ static BOOL process_keyboard_message( MSG *msg, UINT hw_id, HWND hwnd_filter, return FALSE; } accept_hardware_message( hw_id, remove, 0 ); + + if ( msg->message == WM_KEYDOWN || msg->message == WM_KEYUP ) + if ( ImmProcessKey(msg->hwnd, GetKeyboardLayout(0), msg->wParam, msg->lParam, 0) ) + msg->wParam = VK_PROCESSKEY; + return TRUE; } @@ -2995,8 +3001,8 @@ BOOL WINAPI TranslateMessage( const MSG *msg ) TRACE_(key)("Translating key %s (%04lx), scancode %02x\n", SPY_GetVKeyName(msg->wParam), msg->wParam, LOBYTE(HIWORD(msg->lParam))); - if (ImmProcessKey(msg->hwnd, GetKeyboardLayout(0), msg->wParam, msg->lParam,0)) - return TRUE; + if ( msg->wParam == VK_PROCESSKEY ) + return ImmTranslateMessage(msg->hwnd, msg->message, msg->wParam, msg->lParam); GetKeyboardState( state ); /* FIXME : should handle ToUnicode yielding 2 */
1
0
0
0
ByeongSik Jeon : imm32: Add the updated ImmTranslateMessage declaration.
by Alexandre Julliard
28 Apr '08
28 Apr '08
Module: wine Branch: master Commit: 63d81263e2ce8c181a6fa202f80f2bfeced5f0b0 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=63d81263e2ce8c181a6fa202f…
Author: ByeongSik Jeon <bsjeon(a)hanmail.net> Date: Sat Apr 26 00:19:15 2008 +0900 imm32: Add the updated ImmTranslateMessage declaration. --- dlls/imm32/imm.c | 6 ++++-- include/ddk/imm.h | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/dlls/imm32/imm.c b/dlls/imm32/imm.c index f89dd2a..0400939 100644 --- a/dlls/imm32/imm.c +++ b/dlls/imm32/imm.c @@ -2233,7 +2233,7 @@ BOOL WINAPI ImmGenerateMessage(HIMC hIMC) * ImmTranslateMessage(IMM32.@) * ( Undocumented, call internally and from user32.dll ) */ -BOOL WINAPI ImmTranslateMessage(HWND hwnd, UINT msg, WCHAR chr, LPARAM lKeyData) +BOOL WINAPI ImmTranslateMessage(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lKeyData) { InputContextData *data; HIMC imc = ImmGetContext(hwnd); @@ -2244,7 +2244,7 @@ BOOL WINAPI ImmTranslateMessage(HWND hwnd, UINT msg, WCHAR chr, LPARAM lKeyData) UINT uVirtKey; static const int list_count = 10; - TRACE("%p %x %x %x\n",hwnd, msg, chr, (UINT)lKeyData); + TRACE("%p %x %x %x\n",hwnd, msg, (UINT)wParam, (UINT)lKeyData); if (imc) data = (InputContextData*)imc; @@ -2262,6 +2262,8 @@ BOOL WINAPI ImmTranslateMessage(HWND hwnd, UINT msg, WCHAR chr, LPARAM lKeyData) if (data->immKbd->imeInfo.fdwProperty & IME_PROP_KBD_CHAR_FIRST) { + WCHAR chr; + if (!is_himc_ime_unicode(data)) ToAscii(data->lastVK, scancode, state, &chr, 0); else diff --git a/include/ddk/imm.h b/include/ddk/imm.h index a33073d..6e4d42f 100644 --- a/include/ddk/imm.h +++ b/include/ddk/imm.h @@ -144,7 +144,7 @@ BOOL WINAPI ImmGenerateMessage(HIMC); LRESULT WINAPI ImmRequestMessageA(HIMC, WPARAM, LPARAM); LRESULT WINAPI ImmRequestMessageW(HIMC, WPARAM, LPARAM); #define ImmRequestMessage WINELIB_NAME_AW(ImmRequestMessage); - +BOOL WINAPI ImmTranslateMessage(HWND, UINT, WPARAM, LPARAM); HWND WINAPI ImmCreateSoftKeyboard(UINT, UINT, int, int); BOOL WINAPI ImmDestroySoftKeyboard(HWND); BOOL WINAPI ImmShowSoftKeyboard(HWND, int);
1
0
0
0
← Newer
1
...
10
11
12
13
14
15
16
...
128
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
123
124
125
126
127
128
Results per page:
10
25
50
100
200