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
December 2011
----- 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
2 participants
810 discussions
Start a n
N
ew thread
Nikolay Sivov : wshom.ocx: Fix IWshShell3 definition.
by Alexandre Julliard
30 Dec '11
30 Dec '11
Module: wine Branch: master Commit: bf0e3a58517147d8711a1a757fe4dcd2d40a068c URL:
http://source.winehq.org/git/wine.git/?a=commit;h=bf0e3a58517147d8711a1a757…
Author: Nikolay Sivov <nsivov(a)codeweavers.com> Date: Fri Dec 30 13:40:13 2011 +0300 wshom.ocx: Fix IWshShell3 definition. --- dlls/wshom.ocx/shell.c | 72 +++++++++++++++++- dlls/wshom.ocx/wshom.idl | 184 +++++++++++++++++++++++++++++++++++++++++++--- 2 files changed, 241 insertions(+), 15 deletions(-) diff --git a/dlls/wshom.ocx/shell.c b/dlls/wshom.ocx/shell.c index 68f14b8..857a48d 100644 --- a/dlls/wshom.ocx/shell.c +++ b/dlls/wshom.ocx/shell.c @@ -61,7 +61,6 @@ static ULONG WINAPI WshShell3_Release(IWshShell3 *iface) static HRESULT WINAPI WshShell3_GetTypeInfoCount(IWshShell3 *iface, UINT *pctinfo) { TRACE("(%p)\n", pctinfo); - *pctinfo = 1; return S_OK; } @@ -112,19 +111,73 @@ static HRESULT WINAPI WshShell3_Invoke(IWshShell3 *iface, DISPID dispIdMember, R static HRESULT WINAPI WshShell3_get_SpecialFolders(IWshShell3 *iface, IWshCollection **out_Folders) { - FIXME("(%p)\n", out_Folders); + FIXME("(%p): stub\n", out_Folders); return E_NOTIMPL; } static HRESULT WINAPI WshShell3_get_Environment(IWshShell3 *iface, VARIANT *Type, IWshEnvironment **out_Env) { - FIXME("(%p %p)\n", Type, out_Env); + FIXME("(%p %p): stub\n", Type, out_Env); return E_NOTIMPL; } static HRESULT WINAPI WshShell3_Run(IWshShell3 *iface, BSTR Command, VARIANT *WindowStyle, VARIANT *WaitOnReturn, int *out_ExitCode) { - FIXME("(%p %p %p)\n", WindowStyle, WaitOnReturn, out_ExitCode); + FIXME("(%p %p %p): stub\n", WindowStyle, WaitOnReturn, out_ExitCode); + return E_NOTIMPL; +} + +static HRESULT WINAPI WshShell3_Popup(IWshShell3 *iface, BSTR Text, VARIANT* SecondsToWait, VARIANT *Title, VARIANT *Type, int *button) +{ + FIXME("(%s %p %p %p %p): stub\n", debugstr_w(Text), SecondsToWait, Title, Type, button); + return E_NOTIMPL; +} + +static HRESULT WINAPI WshShell3_CreateShortcut(IWshShell3 *iface, BSTR PathLink, IDispatch** out_Shortcut) +{ + FIXME("(%s %p): stub\n", debugstr_w(PathLink), out_Shortcut); + return E_NOTIMPL; +} + +static HRESULT WINAPI WshShell3_ExpandEnvironmentStrings(IWshShell3 *iface, BSTR Src, BSTR* out_Dst) +{ + FIXME("(%s %p): stub\n", debugstr_w(Src), out_Dst); + return E_NOTIMPL; +} + +static HRESULT WINAPI WshShell3_RegRead(IWshShell3 *iface, BSTR Name, VARIANT* out_Value) +{ + FIXME("(%s %p): stub\n", debugstr_w(Name), out_Value); + return E_NOTIMPL; +} + +static HRESULT WINAPI WshShell3_RegWrite(IWshShell3 *iface, BSTR Name, VARIANT *Value, VARIANT *Type) +{ + FIXME("(%s %p %p): stub\n", debugstr_w(Name), Value, Type); + return E_NOTIMPL; +} + +static HRESULT WINAPI WshShell3_RegDelete(IWshShell3 *iface, BSTR Name) +{ + FIXME("(%s): stub\n", debugstr_w(Name)); + return E_NOTIMPL; +} + +static HRESULT WINAPI WshShell3_LogEvent(IWshShell3 *iface, VARIANT *Type, BSTR Message, BSTR Target, VARIANT_BOOL *out_Success) +{ + FIXME("(%p %s %s %p): stub\n", Type, debugstr_w(Message), debugstr_w(Target), out_Success); + return E_NOTIMPL; +} + +static HRESULT WINAPI WshShell3_AppActivate(IWshShell3 *iface, VARIANT *App, VARIANT *Wait, VARIANT_BOOL *out_Success) +{ + FIXME("(%p %p %p): stub\n", App, Wait, out_Success); + return E_NOTIMPL; +} + +static HRESULT WINAPI WshShell3_SendKeys(IWshShell3 *iface, BSTR Keys, VARIANT *Wait) +{ + FIXME("(%s %p): stub\n", debugstr_w(Keys), Wait); return E_NOTIMPL; } @@ -138,7 +191,16 @@ static const IWshShell3Vtbl WshShell3Vtbl = { WshShell3_Invoke, WshShell3_get_SpecialFolders, WshShell3_get_Environment, - WshShell3_Run + WshShell3_Run, + WshShell3_Popup, + WshShell3_CreateShortcut, + WshShell3_ExpandEnvironmentStrings, + WshShell3_RegRead, + WshShell3_RegWrite, + WshShell3_RegDelete, + WshShell3_LogEvent, + WshShell3_AppActivate, + WshShell3_SendKeys }; static IWshShell3 WshShell3 = { &WshShell3Vtbl }; diff --git a/dlls/wshom.ocx/wshom.idl b/dlls/wshom.ocx/wshom.idl index a7dcb3a..8d0b8e1 100644 --- a/dlls/wshom.ocx/wshom.idl +++ b/dlls/wshom.ocx/wshom.idl @@ -17,6 +17,7 @@ */ import "oaidl.idl"; +cpp_quote("#undef ExpandEnvironmentStrings") [ helpstring("Windows Script Host Object Model"), @@ -27,6 +28,61 @@ library IWshRuntimeLibrary { importlib("stdole2.tlb"); + typedef enum { + WshRunning = 0, + WshFinished, + WshFailed + } WshExecStatus; + + [ + uuid(53bad8c1-e718-11cf-893d-00a0c9054228), + odl, + hidden, + dual, + nonextensible, + oleautomation + ] + interface ITextStream : IDispatch { + [id(0x2710), propget] + HRESULT Line([out, retval] long* Line); + + [id(0xfffffdef), propget] + HRESULT Column([out, retval] long* Column); + + [id(0x2712), propget] + HRESULT AtEndOfStream([out, retval] VARIANT_BOOL* EOS); + + [id(0x2713), propget] + HRESULT AtEndOfLine([out, retval] VARIANT_BOOL* EOL); + + [id(0x2714)] + HRESULT Read([in] long Characters, [out, retval] BSTR* Text); + + [id(0x2715)] + HRESULT ReadLine([out, retval] BSTR* Text); + + [id(0x2716)] + HRESULT ReadAll([out, retval] BSTR* Text); + + [id(0x2717)] + HRESULT Write([in] BSTR Text); + + [id(0x2718)] + HRESULT WriteLine([in, optional, defaultvalue("")] BSTR Text); + + [id(0x2719)] + HRESULT WriteBlankLines([in] long Lines); + + [id(0x271a)] + HRESULT Skip([in] long Characters); + + [id(0x271b)] + HRESULT SkipLine(); + + [id(0x271c)] + HRESULT Close(); + }; + [ uuid(f935dc27-1cf0-11d0-adb9-00c04fd58a0b), odl, @@ -80,27 +136,135 @@ library IWshRuntimeLibrary } [ - uuid(41904400-be18-11d3-a28b-00104bd35090), + uuid(08fed190-be19-11d3-a28b-00104bd35090), odl, dual, oleautomation ] - interface IWshShell3 : IDispatch { + interface IWshExec : IDispatch { + [id(0x0001), propget] + HRESULT Status([out, retval] WshExecStatus* Status); + + [id(0x0003), propget] + HRESULT StdIn([out, retval] ITextStream** stream); + + [id(0x0004), propget] + HRESULT StdOut([out, retval] ITextStream** stream); + + [id(0x0005), propget] + HRESULT StdErr([out, retval] ITextStream** stream); + + [id(0x0006), propget] + HRESULT ProcessID([out, retval] long* pid); + + [id(0x0007), propget] + HRESULT ExitCode([out, retval] long* ExitCode); + + [id(0x0008)] + HRESULT Terminate(); + }; + + [ + uuid(f935dc21-1cf0-11d0-adb9-00c04fd58a0b), + odl, + dual, + oleautomation, + hidden + ] + interface IWshShell : IDispatch { [id(0x0064), propget] - HRESULT SpecialFolders([out, retval] IWshCollection **out_Folders); + HRESULT SpecialFolders([out, retval] IWshCollection** out_Folders); [id(0x00c8), propget] HRESULT Environment( - [in, optional] VARIANT *Type, - [out, retval] IWshEnvironment **out_Env); + [in, optional] VARIANT* Type, + [out, retval] IWshEnvironment** out_Env); [id(0x03e8)] HRESULT Run( - [in] BSTR Command, - [in, optional] VARIANT *WindowStyle, - [in, optional] VARIANT *WaitOnReturn, - [out, retval] int *out_ExitCode); - } + [in] BSTR Command, + [in, optional] VARIANT* WindowStyle, + [in, optional] VARIANT* WaitOnReturn, + [out, retval] int* out_ExitCode); + + [id(0x03e9)] + HRESULT Popup( + [in] BSTR Text, + [in, optional] VARIANT* SecondsToWait, + [in, optional] VARIANT* Title, + [in, optional] VARIANT* Type, + [out, retval] int* out_Button); + + [id(0x03ea)] + HRESULT CreateShortcut( + [in] BSTR PathLink, + [out, retval] IDispatch** out_Shortcut); + + [id(0x03ee)] + HRESULT ExpandEnvironmentStrings( + [in] BSTR Src, + [out, retval] BSTR* out_Dst); + + [id(0x07d0)] + HRESULT RegRead( + [in] BSTR Name, + [out, retval] VARIANT* out_Value); + + [id(0x07d1)] + HRESULT RegWrite( + [in] BSTR Name, + [in] VARIANT* Value, + [in, optional] VARIANT* Type); + + [id(0x07d2)] + HRESULT RegDelete([in] BSTR Name); + }; + + [ + uuid(24be5a30-edfe-11d2-b933-00104b365c9f), + odl, + dual, + oleautomation, + hidden + ] + interface IWshShell2 : IWshShell { + [id(0x0bb8)] + HRESULT LogEvent( + [in] VARIANT* Type, + [in] BSTR Message, + [in, optional, defaultvalue("")] BSTR Target, + [out, retval] VARIANT_BOOL* out_Success); + + [id(0x0bc2)] + HRESULT AppActivate( + [in] VARIANT* App, + [in, optional] VARIANT* Wait, + [out, retval] VARIANT_BOOL* out_Success); + + [id(0x0bc3)] + HRESULT SendKeys( + [in] BSTR Keys, + [in, optional] VARIANT* Wait); + }; + + [ + uuid(41904400-be18-11d3-a28b-00104bd35090), + odl, + dual, + oleautomation + ] + interface IWshShell3 : IWshShell2 { + [id(0x0bc4)] + HRESULT Exec( + [in] BSTR Command, + [out, retval] IWshExec** out_Exec); + + [id(0x0bc5), propget] + HRESULT CurrentDirectory([out, retval] BSTR* out_Directory); + + [id(0x0bc5), propput] + HRESULT CurrentDirectory([in] BSTR out_Directory); + }; [ uuid(24be5a31-edfe-11d2-b933-00104b365c9f),
1
0
0
0
Jacek Caban : mshtml: Use IUri in IHTMLLocation::put_port implementation.
by Alexandre Julliard
30 Dec '11
30 Dec '11
Module: wine Branch: master Commit: 2e2a80ce8abb070632ce1dcd4187f286a8636e91 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=2e2a80ce8abb070632ce1dcd4…
Author: Jacek Caban <jacek(a)codeweavers.com> Date: Fri Dec 30 12:23:41 2011 +0100 mshtml: Use IUri in IHTMLLocation::put_port implementation. --- dlls/mshtml/htmllocation.c | 21 +++++++++++++-------- 1 files changed, 13 insertions(+), 8 deletions(-) diff --git a/dlls/mshtml/htmllocation.c b/dlls/mshtml/htmllocation.c index b5d6b5e..e386d17 100644 --- a/dlls/mshtml/htmllocation.c +++ b/dlls/mshtml/htmllocation.c @@ -402,7 +402,7 @@ static HRESULT WINAPI HTMLLocation_put_port(IHTMLLocation *iface, BSTR v) static HRESULT WINAPI HTMLLocation_get_port(IHTMLLocation *iface, BSTR *p) { HTMLLocation *This = impl_from_IHTMLLocation(iface); - URL_COMPONENTSW url = {sizeof(URL_COMPONENTSW)}; + DWORD port; HRESULT hres; TRACE("(%p)->(%p)\n", This, p); @@ -410,18 +410,23 @@ static HRESULT WINAPI HTMLLocation_get_port(IHTMLLocation *iface, BSTR *p) if(!p) return E_POINTER; - hres = get_url_components(This, &url); + if(!This->window || !This->window->uri) { + FIXME("No current URI\n"); + return E_NOTIMPL; + } + + hres = IUri_GetPort(This->window->uri, &port); if(FAILED(hres)) return hres; - if(url.nPort) { - const WCHAR format[] = {'%','u',0}; - WCHAR buf[6]; - snprintfW(buf, 6, format, url.nPort); + if(hres == S_OK) { + static const WCHAR formatW[] = {'%','u',0}; + WCHAR buf[12]; + + sprintfW(buf, formatW, port); *p = SysAllocString(buf); }else { - const WCHAR empty[] = {0}; - *p = SysAllocString(empty); + *p = SysAllocStringLen(NULL, 0); } if(!*p)
1
0
0
0
Alistair Leslie-Hughes : mmcndmgr: Register MMCVersionInfo Interface.
by Alexandre Julliard
30 Dec '11
30 Dec '11
Module: wine Branch: master Commit: 71109b509e34372a74571ded77b2b941b66a248b URL:
http://source.winehq.org/git/wine.git/?a=commit;h=71109b509e34372a74571ded7…
Author: Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> Date: Fri Dec 30 19:49:42 2011 +1100 mmcndmgr: Register MMCVersionInfo Interface. --- include/mmc.idl | 13 +++++++++++-- 1 files changed, 11 insertions(+), 2 deletions(-) diff --git a/include/mmc.idl b/include/mmc.idl index 828660f..b0443b2 100644 --- a/include/mmc.idl +++ b/include/mmc.idl @@ -20,6 +20,12 @@ import "basetsd.h"; import "oaidl.idl"; +#ifndef __WIDL__ +#define threading(model) +#define progid(str) +#define vi_progid(str) +#endif + [ uuid(A8D2C5FE-CDCB-4B9D-BDE5-A27343FF54BC), ] @@ -38,8 +44,11 @@ library MMCVersionLib importlib("stdole2.tlb"); [ - helpstring("MMCVersionInfo coclass"), - uuid(D6FEDB1D-CF21-4BD9-AF3B-C5468E9C6684) + helpstring("MMCVersionInfo 1.0 Object"), + uuid(D6FEDB1D-CF21-4BD9-AF3B-C5468E9C6684), + threading(apartment), + progid("NODEMGR.MMCVersionInfo.1"), + vi_progid("NODEMGR.MMCVersionInfo") ] coclass MMCVersionInfo {
1
0
0
0
Austin English : inetcpl.cpl: Add a stub for LaunchPrivacyDialog.
by Alexandre Julliard
30 Dec '11
30 Dec '11
Module: wine Branch: master Commit: 56b18f88572ab5a353fa029f046b3d7aff9c9d51 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=56b18f88572ab5a353fa029f0…
Author: Austin English <austinenglish(a)gmail.com> Date: Thu Dec 29 16:32:29 2011 -0600 inetcpl.cpl: Add a stub for LaunchPrivacyDialog. --- dlls/inetcpl.cpl/inetcpl.c | 10 ++++++++++ dlls/inetcpl.cpl/inetcpl.cpl.spec | 2 +- 2 files changed, 11 insertions(+), 1 deletions(-) diff --git a/dlls/inetcpl.cpl/inetcpl.c b/dlls/inetcpl.cpl/inetcpl.c index 4a7b2b0..6981277 100644 --- a/dlls/inetcpl.cpl/inetcpl.c +++ b/dlls/inetcpl.cpl/inetcpl.c @@ -201,3 +201,13 @@ BOOL WINAPI LaunchInternetControlPanel(HWND parent) display_cpl_sheets(parent); return TRUE; } + +/********************************************************************* + * LaunchInternetControlPanel (inetcpl.@) + * + */ +BOOL WINAPI LaunchPrivacyDialog(HWND hParent) +{ + FIXME(": stub\n"); + return FALSE; +} diff --git a/dlls/inetcpl.cpl/inetcpl.cpl.spec b/dlls/inetcpl.cpl/inetcpl.cpl.spec index eaf5e4d..90f1d43 100644 --- a/dlls/inetcpl.cpl/inetcpl.cpl.spec +++ b/dlls/inetcpl.cpl/inetcpl.cpl.spec @@ -11,7 +11,7 @@ @ stdcall LaunchInternetControlPanel(long) @ stub LaunchPerSitePrivacyActionDialog @ stub LaunchPopupWindowManagementDialog -@ stub LaunchPrivacyDialog +@ stdcall LaunchPrivacyDialog(long) @ stub LaunchSecurityDialog @ stub LaunchSecurityDialogEx @ stdcall LaunchSiteCertDialog(long)
1
0
0
0
Austin English : ntoskrnl.exe: Add a stub for Ke386SetIoAccessMap.
by Alexandre Julliard
30 Dec '11
30 Dec '11
Module: wine Branch: master Commit: daf0cba81f706d9a94188eae62a33e993a5ae9ba URL:
http://source.winehq.org/git/wine.git/?a=commit;h=daf0cba81f706d9a94188eae6…
Author: Austin English <austinenglish(a)gmail.com> Date: Thu Dec 29 16:17:54 2011 -0600 ntoskrnl.exe: Add a stub for Ke386SetIoAccessMap. --- dlls/ntoskrnl.exe/ntoskrnl.c | 9 +++++++++ dlls/ntoskrnl.exe/ntoskrnl.exe.spec | 2 +- 2 files changed, 10 insertions(+), 1 deletions(-) diff --git a/dlls/ntoskrnl.exe/ntoskrnl.c b/dlls/ntoskrnl.exe/ntoskrnl.c index f3f26d1..4dbab40 100644 --- a/dlls/ntoskrnl.exe/ntoskrnl.c +++ b/dlls/ntoskrnl.exe/ntoskrnl.c @@ -1742,3 +1742,12 @@ BOOLEAN WINAPI Ke386IoSetAccessProcess(PEPROCESS *process, ULONG flag) FIXME("(%p %d) stub\n", process, flag); return FALSE; } + +/***************************************************** + * Ke386SetIoAccessMap (NTOSKRNL.EXE.@) + */ +BOOLEAN WINAPI Ke386SetIoAccessMap(ULONG flag, PVOID buffer) +{ + FIXME("(%d %p) stub\n", flag, buffer); + return FALSE; +} diff --git a/dlls/ntoskrnl.exe/ntoskrnl.exe.spec b/dlls/ntoskrnl.exe/ntoskrnl.exe.spec index 4ddb578..2982d8b 100644 --- a/dlls/ntoskrnl.exe/ntoskrnl.exe.spec +++ b/dlls/ntoskrnl.exe/ntoskrnl.exe.spec @@ -505,7 +505,7 @@ @ stub Ke386CallBios @ stdcall Ke386IoSetAccessProcess(ptr long) @ stub Ke386QueryIoAccessMap -@ stub Ke386SetIoAccessMap +@ stdcall Ke386SetIoAccessMap(long ptr) @ stub KeAcquireInterruptSpinLock @ stub KeAcquireSpinLockAtDpcLevel @ stub KeAddSystemServiceTable
1
0
0
0
Austin English : ntoskrnl.exe: Add a stub for Ke386IoSetAccessProcess.
by Alexandre Julliard
30 Dec '11
30 Dec '11
Module: wine Branch: master Commit: 60bd62b07c2cd3033e1c0bfec2d156141caaf74a URL:
http://source.winehq.org/git/wine.git/?a=commit;h=60bd62b07c2cd3033e1c0bfec…
Author: Austin English <austinenglish(a)gmail.com> Date: Thu Dec 29 16:14:16 2011 -0600 ntoskrnl.exe: Add a stub for Ke386IoSetAccessProcess. --- dlls/ntoskrnl.exe/ntoskrnl.c | 9 +++++++++ dlls/ntoskrnl.exe/ntoskrnl.exe.spec | 2 +- 2 files changed, 10 insertions(+), 1 deletions(-) diff --git a/dlls/ntoskrnl.exe/ntoskrnl.c b/dlls/ntoskrnl.exe/ntoskrnl.c index 4f6f493..f3f26d1 100644 --- a/dlls/ntoskrnl.exe/ntoskrnl.c +++ b/dlls/ntoskrnl.exe/ntoskrnl.c @@ -1733,3 +1733,12 @@ BOOL WINAPI DllMain( HINSTANCE inst, DWORD reason, LPVOID reserved ) } return TRUE; } + +/***************************************************** + * Ke386IoSetAccessProcess (NTOSKRNL.EXE.@) + */ +BOOLEAN WINAPI Ke386IoSetAccessProcess(PEPROCESS *process, ULONG flag) +{ + FIXME("(%p %d) stub\n", process, flag); + return FALSE; +} diff --git a/dlls/ntoskrnl.exe/ntoskrnl.exe.spec b/dlls/ntoskrnl.exe/ntoskrnl.exe.spec index 187439f..4ddb578 100644 --- a/dlls/ntoskrnl.exe/ntoskrnl.exe.spec +++ b/dlls/ntoskrnl.exe/ntoskrnl.exe.spec @@ -503,7 +503,7 @@ @ stub KdPollBreakIn @ stub KdPowerTransition @ stub Ke386CallBios -@ stub Ke386IoSetAccessProcess +@ stdcall Ke386IoSetAccessProcess(ptr long) @ stub Ke386QueryIoAccessMap @ stub Ke386SetIoAccessMap @ stub KeAcquireInterruptSpinLock
1
0
0
0
Aric Stewart : usp10: Convert newOtTag to an OPENTYPE_TAG.
by Alexandre Julliard
30 Dec '11
30 Dec '11
Module: wine Branch: master Commit: ee2981c6efabe00dcbbe483ae4448791a867b4a6 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=ee2981c6efabe00dcbbe483ae…
Author: Aric Stewart <aric(a)codeweavers.com> Date: Thu Dec 29 14:50:27 2011 -0600 usp10: Convert newOtTag to an OPENTYPE_TAG. --- dlls/usp10/shape.c | 176 ++++++++++++++++++++++++++-------------------------- 1 files changed, 88 insertions(+), 88 deletions(-) Diff:
http://source.winehq.org/git/wine.git/?a=commitdiff;h=ee2981c6efabe00dcbbe4…
1
0
0
0
Aric Stewart : usp10: Remove redundant information by making scriptData accessible and removing otTag .
by Alexandre Julliard
30 Dec '11
30 Dec '11
Module: wine Branch: master Commit: ef98d143d748873d9e6fbce84c985c7f83e0dd93 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=ef98d143d748873d9e6fbce84…
Author: Aric Stewart <aric(a)codeweavers.com> Date: Thu Dec 29 14:50:23 2011 -0600 usp10: Remove redundant information by making scriptData accessible and removing otTag. --- dlls/usp10/shape.c | 180 +++++++++++++++++++++---------------------- dlls/usp10/usp10.c | 10 +-- dlls/usp10/usp10_internal.h | 8 ++ 3 files changed, 98 insertions(+), 100 deletions(-) Diff:
http://source.winehq.org/git/wine.git/?a=commitdiff;h=ef98d143d748873d9e6fb…
1
0
0
0
Aric Stewart : usp10: Update get_opentype_script to return OPENTYPE_TAG.
by Alexandre Julliard
30 Dec '11
30 Dec '11
Module: wine Branch: master Commit: 419d3d7100d399c45ea5398dfd266da9fd979bca URL:
http://source.winehq.org/git/wine.git/?a=commit;h=419d3d7100d399c45ea5398df…
Author: Aric Stewart <aric(a)codeweavers.com> Date: Thu Dec 29 14:50:19 2011 -0600 usp10: Update get_opentype_script to return OPENTYPE_TAG. --- dlls/usp10/shape.c | 53 ++++++++++++++++++++---------------------- dlls/usp10/usp10_internal.h | 2 +- 2 files changed, 26 insertions(+), 29 deletions(-) diff --git a/dlls/usp10/shape.c b/dlls/usp10/shape.c index e9e5721..6b59622 100644 --- a/dlls/usp10/shape.c +++ b/dlls/usp10/shape.c @@ -1158,23 +1158,23 @@ static INT GSUB_apply_feature_all_lookups(const GSUB_Header * header, const GSUB return out_index; } -static const char* get_opentype_script(HDC hdc, SCRIPT_ANALYSIS *psa, ScriptCache *psc, BOOL tryNew) +static OPENTYPE_TAG get_opentype_script(HDC hdc, SCRIPT_ANALYSIS *psa, ScriptCache *psc, BOOL tryNew) { UINT charset; if (psc->userScript != 0) { if (tryNew && ShapingData[psa->eScript].newOtTag[0] != 0 && strncmp((char*)&psc->userScript,ShapingData[psa->eScript].otTag,4)==0) - return ShapingData[psa->eScript].newOtTag; + return MS_MAKE_TAG(ShapingData[psa->eScript].newOtTag[0], ShapingData[psa->eScript].newOtTag[1], ShapingData[psa->eScript].newOtTag[2], ShapingData[psa->eScript].newOtTag[3]); else - return (char*)&psc->userScript; + return psc->userScript; } if (tryNew && ShapingData[psa->eScript].newOtTag[0] != 0) - return ShapingData[psa->eScript].newOtTag; + return MS_MAKE_TAG(ShapingData[psa->eScript].newOtTag[0], ShapingData[psa->eScript].newOtTag[1], ShapingData[psa->eScript].newOtTag[2], ShapingData[psa->eScript].newOtTag[3]); if (ShapingData[psa->eScript].otTag[0] != 0) - return ShapingData[psa->eScript].otTag; + return MS_MAKE_TAG(ShapingData[psa->eScript].otTag[0], ShapingData[psa->eScript].otTag[1], ShapingData[psa->eScript].otTag[2], ShapingData[psa->eScript].otTag[3]); /* * fall back to the font charset @@ -1182,36 +1182,36 @@ static const char* get_opentype_script(HDC hdc, SCRIPT_ANALYSIS *psa, ScriptCach charset = GetTextCharsetInfo(hdc, NULL, 0x0); switch (charset) { - case ANSI_CHARSET: return "latn"; - case BALTIC_CHARSET: return "latn"; /* ?? */ - case CHINESEBIG5_CHARSET: return "hani"; - case EASTEUROPE_CHARSET: return "latn"; /* ?? */ - case GB2312_CHARSET: return "hani"; - case GREEK_CHARSET: return "grek"; - case HANGUL_CHARSET: return "hang"; - case RUSSIAN_CHARSET: return "cyrl"; - case SHIFTJIS_CHARSET: return "kana"; - case TURKISH_CHARSET: return "latn"; /* ?? */ - case VIETNAMESE_CHARSET: return "latn"; - case JOHAB_CHARSET: return "latn"; /* ?? */ - case ARABIC_CHARSET: return "arab"; - case HEBREW_CHARSET: return "hebr"; - case THAI_CHARSET: return "thai"; - default: return "latn"; + case ANSI_CHARSET: + case BALTIC_CHARSET: return MS_MAKE_TAG('l','a','t','n'); + case CHINESEBIG5_CHARSET: return MS_MAKE_TAG('h','a','n','i'); + case EASTEUROPE_CHARSET: return MS_MAKE_TAG('l','a','t','n'); /* ?? */ + case GB2312_CHARSET: return MS_MAKE_TAG('h','a','n','i'); + case GREEK_CHARSET: return MS_MAKE_TAG('g','r','e','k'); + case HANGUL_CHARSET: return MS_MAKE_TAG('h','a','n','g'); + case RUSSIAN_CHARSET: return MS_MAKE_TAG('c','y','r','l'); + case SHIFTJIS_CHARSET: return MS_MAKE_TAG('k','a','n','a'); + case TURKISH_CHARSET: return MS_MAKE_TAG('l','a','t','n'); /* ?? */ + case VIETNAMESE_CHARSET: return MS_MAKE_TAG('l','a','t','n'); + case JOHAB_CHARSET: return MS_MAKE_TAG('l','a','t','n'); /* ?? */ + case ARABIC_CHARSET: return MS_MAKE_TAG('a','r','a','b'); + case HEBREW_CHARSET: return MS_MAKE_TAG('h','e','b','r'); + case THAI_CHARSET: return MS_MAKE_TAG('t','h','a','i'); + default: return MS_MAKE_TAG('l','a','t','n'); } } static LPCVOID load_GSUB_feature(HDC hdc, SCRIPT_ANALYSIS *psa, ScriptCache *psc, const char* feat) { const GSUB_Feature *feature; - const char* script; + OPENTYPE_TAG script; int i; script = get_opentype_script(hdc,psa,psc,FALSE); for (i = 0; i < psc->feature_count; i++) { - if (strncmp(psc->features[i].tag,feat,4)==0 && strncmp(psc->features[i].script,script,4)==0) + if (strncmp(psc->features[i].tag,feat,4)==0 && psc->features[i].script == script) return psc->features[i].feature; } @@ -1228,10 +1228,7 @@ static LPCVOID load_GSUB_feature(HDC hdc, SCRIPT_ANALYSIS *psa, ScriptCache *psc do { - const char* tag; - - tag = get_opentype_script(hdc,psa,psc,(attempt==2)); - hr = GSUB_GetFontScriptTags(psc, MS_MAKE_TAG(tag[0],tag[1],tag[2],tag[3]), 1, &scriptTags, &cTags, (LPCVOID*)&script); + hr = GSUB_GetFontScriptTags(psc, get_opentype_script(hdc,psa,psc,(attempt==2)), 1, &scriptTags, &cTags, (LPCVOID*)&script); attempt--; if (SUCCEEDED(hr) && cTags && script) @@ -1268,7 +1265,7 @@ static LPCVOID load_GSUB_feature(HDC hdc, SCRIPT_ANALYSIS *psa, ScriptCache *psc psc->features = HeapAlloc(GetProcessHeap(), 0, psc->feature_count * sizeof(LoadedFeature)); lstrcpynA(psc->features[psc->feature_count - 1].tag, feat, 5); - lstrcpynA(psc->features[psc->feature_count - 1].script, script, 5); + psc->features[psc->feature_count - 1].script = script; psc->features[psc->feature_count - 1].feature = feature; return feature; } diff --git a/dlls/usp10/usp10_internal.h b/dlls/usp10/usp10_internal.h index 6243877..4c5f728 100644 --- a/dlls/usp10/usp10_internal.h +++ b/dlls/usp10/usp10_internal.h @@ -127,7 +127,7 @@ typedef struct { char tag[5]; - char script[5]; + OPENTYPE_TAG script; LPCVOID feature; } LoadedFeature;
1
0
0
0
Aric Stewart : usp10: Replace GSUB_get_script_table with GSUB_GetFontScriptTags.
by Alexandre Julliard
30 Dec '11
30 Dec '11
Module: wine Branch: master Commit: 71373552fffabd93cbd9af12b8bc18ed2d01805e URL:
http://source.winehq.org/git/wine.git/?a=commit;h=71373552fffabd93cbd9af12b…
Author: Aric Stewart <aric(a)codeweavers.com> Date: Thu Dec 29 14:50:17 2011 -0600 usp10: Replace GSUB_get_script_table with GSUB_GetFontScriptTags. --- dlls/usp10/shape.c | 50 ++++++++++++++++++++------------------------------ 1 files changed, 20 insertions(+), 30 deletions(-) diff --git a/dlls/usp10/shape.c b/dlls/usp10/shape.c index fcf765e..e9e5721 100644 --- a/dlls/usp10/shape.c +++ b/dlls/usp10/shape.c @@ -347,6 +347,7 @@ typedef struct { } CMAP_SegmentedCoverage; static INT GSUB_apply_lookup(const GSUB_LookupList* lookup, INT lookup_index, WORD *glyphs, INT glyph_index, INT write_dir, INT *glyph_count); +static HRESULT GSUB_GetFontScriptTags(ScriptCache *psc, OPENTYPE_TAG searchingFor, int cMaxTags, OPENTYPE_TAG *pScriptTags, int *pcTags, LPCVOID* script_table); typedef struct tagVowelComponents { @@ -764,30 +765,6 @@ static INT GSUB_is_glyph_covered(LPCVOID table , UINT glyph) return -1; } -static const GSUB_Script* GSUB_get_script_table( const GSUB_Header* header, const char* tag) -{ - const GSUB_ScriptList *script; - const GSUB_Script *deflt = NULL; - int i; - script = (const GSUB_ScriptList*)((const BYTE*)header + GET_BE_WORD(header->ScriptList)); - - TRACE("%i scripts in this font\n",GET_BE_WORD(script->ScriptCount)); - for (i = 0; i < GET_BE_WORD(script->ScriptCount); i++) - { - const GSUB_Script *scr; - int offset; - - offset = GET_BE_WORD(script->ScriptRecord[i].Script); - scr = (const GSUB_Script*)((const BYTE*)script + offset); - - if (strncmp(script->ScriptRecord[i].ScriptTag, tag,4)==0) - return scr; - if (strncmp(script->ScriptRecord[i].ScriptTag, "dflt",4)==0) - deflt = scr; - } - return deflt; -} - static const GSUB_LangSys* GSUB_get_lang_table( const GSUB_Script* script, const char* tag) { int i; @@ -1242,15 +1219,22 @@ static LPCVOID load_GSUB_feature(HDC hdc, SCRIPT_ANALYSIS *psa, ScriptCache *psc if (psc->GSUB_Table) { - const GSUB_Script *script; + const GSUB_Script *script = NULL; const GSUB_LangSys *language; int attempt = 2; + OPENTYPE_TAG scriptTags; + int cTags; + HRESULT hr; do { - script = GSUB_get_script_table(psc->GSUB_Table, get_opentype_script(hdc,psa,psc,(attempt==2))); + const char* tag; + + tag = get_opentype_script(hdc,psa,psc,(attempt==2)); + hr = GSUB_GetFontScriptTags(psc, MS_MAKE_TAG(tag[0],tag[1],tag[2],tag[3]), 1, &scriptTags, &cTags, (LPCVOID*)&script); + attempt--; - if (script) + if (SUCCEEDED(hr) && cTags && script) { if (psc->userLang != 0) language = GSUB_get_lang_table(script,(char*)&psc->userLang); @@ -1264,8 +1248,8 @@ static LPCVOID load_GSUB_feature(HDC hdc, SCRIPT_ANALYSIS *psa, ScriptCache *psc /* try in the default (latin) table */ if (!feature) { - script = GSUB_get_script_table(psc->GSUB_Table, "latn"); - if (script) + hr = GSUB_GetFontScriptTags(psc, MS_MAKE_TAG('l','a','t','n'), 1, &scriptTags, &cTags, (LPCVOID*)&script); + if (SUCCEEDED(hr) && script) { language = GSUB_get_lang_table(script, "xxxx"); /* Need to get Lang tag */ if (language) @@ -1609,7 +1593,13 @@ static int apply_GSUB_feature(HDC hdc, SCRIPT_ANALYSIS *psa, ScriptCache* psc, W static inline BOOL get_GSUB_Indic2(SCRIPT_ANALYSIS *psa, ScriptCache *psc) { - return(GSUB_get_script_table(psc->GSUB_Table,ShapingData[psa->eScript].newOtTag)!=NULL); + OPENTYPE_TAG tag; + HRESULT hr; + int count = 0; + + hr = GSUB_GetFontScriptTags(psc, MS_MAKE_TAG(ShapingData[psa->eScript].newOtTag[0],ShapingData[psa->eScript].newOtTag[1],ShapingData[psa->eScript].newOtTag[2],ShapingData[psa->eScript].newOtTag[3]), 1, &tag, &count, NULL); + + return(SUCCEEDED(hr)); } static WCHAR neighbour_char(int i, int delta, const WCHAR* chars, INT cchLen)
1
0
0
0
← Newer
1
2
3
4
5
...
81
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
Results per page:
10
25
50
100
200