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
André Hentschel : po: Update German translation.
by Alexandre Julliard
01 Dec '11
01 Dec '11
Module: wine Branch: master Commit: 8a3d0dc5341bac01829ecf306c724018797da3da URL:
http://source.winehq.org/git/wine.git/?a=commit;h=8a3d0dc5341bac01829ecf306…
Author: André Hentschel <nerv(a)dawncrow.de> Date: Thu Dec 1 20:07:10 2011 +0100 po: Update German translation. --- po/de.po | 23 ++++++++--------------- 1 files changed, 8 insertions(+), 15 deletions(-) diff --git a/po/de.po b/po/de.po index ac7f043..0c1bf12 100644 --- a/po/de.po +++ b/po/de.po @@ -5,7 +5,7 @@ msgstr "" "Project-Id-Version: Wine\n" "Report-Msgid-Bugs-To:
http://bugs.winehq.org\n
" "POT-Creation-Date: N/A\n" -"PO-Revision-Date: 2011-11-29 18:54+0100\n" +"PO-Revision-Date: 2011-12-01 20:05+0100\n" "Last-Translator: André Hentschel\n" "Language-Team: none\n" "Language: German\n" @@ -2184,38 +2184,32 @@ msgid "Default MidiOut Device" msgstr "Standard MidiOut - Gerät" #: dinput.rc:40 -#, fuzzy msgid "Configure Devices" -msgstr "Kon&figurieren" +msgstr "Geräte konfigurieren" #: dinput.rc:45 msgid "Reset" -msgstr "" +msgstr "Rücksetzen" #: dinput.rc:48 -#, fuzzy msgid "Player" -msgstr "Abspielen" +msgstr "Player" #: dinput.rc:49 -#, fuzzy msgid "Device" -msgstr "De&vice:" +msgstr "Gerät" #: dinput.rc:50 -#, fuzzy msgid "Actions" -msgstr "Aktion" +msgstr "Aktionen" #: dinput.rc:51 -#, fuzzy msgid "Mapping" msgstr "Zuordnung" #: dinput.rc:53 -#, fuzzy msgid "Sort Assigned" -msgstr "Bereits zugewiesen\n" +msgstr "Zugewiesene sortieren" #: dinput.rc:34 msgid "Action" @@ -6507,9 +6501,8 @@ msgid "us" msgstr "µs" #: serialui.rc:25 -#, fuzzy msgid "Settings for %s" -msgstr "Eigenschaften für %s" +msgstr "Einstellungen für %s" #: serialui.rc:28 msgid "Baud Rate"
1
0
0
0
Alexandre Julliard : appwiz.cpl: Make the Gecko URL a proper link.
by Alexandre Julliard
01 Dec '11
01 Dec '11
Module: wine Branch: master Commit: 8d54ce675d76d86c01469354979d26419e246129 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=8d54ce675d76d86c014693549…
Author: Alexandre Julliard <julliard(a)winehq.org> Date: Thu Dec 1 20:37:18 2011 +0100 appwiz.cpl: Make the Gecko URL a proper link. --- dlls/appwiz.cpl/addons.c | 13 +++++++++++++ dlls/appwiz.cpl/appwiz.c | 2 +- dlls/appwiz.cpl/appwiz.rc | 6 +++--- po/ar.po | 5 +++-- po/bg.po | 6 ++++-- po/ca.po | 6 ++++-- po/cs.po | 5 +++-- po/da.po | 6 ++++-- po/de.po | 6 ++++-- po/el.po | 5 +++-- po/en.po | 5 +++-- po/en_US.po | 10 ++++++---- po/eo.po | 5 +++-- po/es.po | 6 ++++-- po/fa.po | 5 +++-- po/fi.po | 5 +++-- po/fr.po | 6 ++++-- po/he.po | 6 ++++-- po/hi.po | 5 +++-- po/hu.po | 6 ++++-- po/it.po | 6 ++++-- po/ja.po | 6 ++++-- po/ko.po | 6 ++++-- po/lt.po | 6 ++++-- po/ml.po | 5 +++-- po/nb_NO.po | 6 ++++-- po/nl.po | 6 ++++-- po/or.po | 5 +++-- po/pa.po | 5 +++-- po/pl.po | 6 ++++-- po/pt_BR.po | 6 ++++-- po/pt_PT.po | 6 ++++-- po/rm.po | 5 +++-- po/ro.po | 6 ++++-- po/ru.po | 6 ++++-- po/sk.po | 5 +++-- po/sl.po | 6 ++++-- po/sr_RS(a)cyrillic.po | 6 ++++-- po/sr_RS(a)latin.po | 6 ++++-- po/sv.po | 6 ++++-- po/te.po | 5 +++-- po/th.po | 5 +++-- po/tr.po | 6 ++++-- po/uk.po | 6 ++++-- po/wa.po | 5 +++-- po/wine.pot | 5 +++-- po/zh_CN.po | 6 ++++-- po/zh_TW.po | 6 ++++-- 48 files changed, 182 insertions(+), 96 deletions(-) Diff:
http://source.winehq.org/git/wine.git/?a=commitdiff;h=8d54ce675d76d86c01469…
1
0
0
0
Alexandre Julliard : comctl32: Fix text wrapping in syslink when an item starts in the middle of a line.
by Alexandre Julliard
01 Dec '11
01 Dec '11
Module: wine Branch: master Commit: 682b03731cb8139f3e1b3e143c1841a03ee19e84 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=682b03731cb8139f3e1b3e143…
Author: Alexandre Julliard <julliard(a)winehq.org> Date: Thu Dec 1 20:30:16 2011 +0100 comctl32: Fix text wrapping in syslink when an item starts in the middle of a line. --- dlls/comctl32/syslink.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dlls/comctl32/syslink.c b/dlls/comctl32/syslink.c index 823c7ac..42fb987 100644 --- a/dlls/comctl32/syslink.c +++ b/dlls/comctl32/syslink.c @@ -606,7 +606,7 @@ static PDOC_ITEM SYSLINK_GetPrevLink (const SYSLINK_INFO *infoPtr, PDOC_ITEM Cur * SYSLINK_WrapLine * Tries to wrap a line. */ -static BOOL SYSLINK_WrapLine (LPWSTR Text, WCHAR BreakChar, int *LineLen, +static BOOL SYSLINK_WrapLine (LPWSTR Text, WCHAR BreakChar, int x, int *LineLen, int nFit, LPSIZE Extent) { int i; @@ -625,7 +625,7 @@ static BOOL SYSLINK_WrapLine (LPWSTR Text, WCHAR BreakChar, int *LineLen, { Extent->cx = 0; Extent->cy = 0; - i = max( nFit, 1 ); + if (x == SL_LEFTMARGIN) i = max( nFit, 1 ); } } *LineLen = i; @@ -722,7 +722,7 @@ static VOID SYSLINK_Render (const SYSLINK_INFO *infoPtr, HDC hdc, PRECT pRect) if(n != 0) { - Wrap = SYSLINK_WrapLine(tx, infoPtr->BreakChar, &LineLen, nFit, &szDim); + Wrap = SYSLINK_WrapLine(tx, infoPtr->BreakChar, x, &LineLen, nFit, &szDim); if(LineLen == 0) {
1
0
0
0
Alexandre Julliard : appwiz.cpl: Convert dialogs to po files.
by Alexandre Julliard
01 Dec '11
01 Dec '11
Module: wine Branch: master Commit: b247174ea7aae3cf4dd77cb73c409ed26ba7dc5d URL:
http://source.winehq.org/git/wine.git/?a=commit;h=b247174ea7aae3cf4dd77cb73…
Author: Alexandre Julliard <julliard(a)winehq.org> Date: Thu Dec 1 20:17:33 2011 +0100 appwiz.cpl: Convert dialogs to po files. --- dlls/appwiz.cpl/Bg.rc | 35 --------- dlls/appwiz.cpl/Ca.rc | 85 -------------------- dlls/appwiz.cpl/Da.rc | 86 --------------------- dlls/appwiz.cpl/De.rc | 86 --------------------- dlls/appwiz.cpl/En.rc | 82 -------------------- dlls/appwiz.cpl/Es.rc | 85 -------------------- dlls/appwiz.cpl/Fr.rc | 86 --------------------- dlls/appwiz.cpl/He.rc | 86 --------------------- dlls/appwiz.cpl/Hu.rc | 83 -------------------- dlls/appwiz.cpl/It.rc | 83 -------------------- dlls/appwiz.cpl/Ja.rc | 85 -------------------- dlls/appwiz.cpl/Ko.rc | 84 -------------------- dlls/appwiz.cpl/Lt.rc | 83 -------------------- dlls/appwiz.cpl/Makefile.in | 29 +------- dlls/appwiz.cpl/Nl.rc | 83 -------------------- dlls/appwiz.cpl/No.rc | 83 -------------------- dlls/appwiz.cpl/Pl.rc | 81 ------------------- dlls/appwiz.cpl/Pt.rc | 151 ------------------------------------ dlls/appwiz.cpl/Ro.rc | 83 -------------------- dlls/appwiz.cpl/Ru.rc | 84 -------------------- dlls/appwiz.cpl/Si.rc | 83 -------------------- dlls/appwiz.cpl/Sr.rc | 147 ----------------------------------- dlls/appwiz.cpl/Sv.rc | 85 -------------------- dlls/appwiz.cpl/Tr.rc | 35 --------- dlls/appwiz.cpl/Uk.rc | 84 -------------------- dlls/appwiz.cpl/Zh.rc | 140 --------------------------------- dlls/appwiz.cpl/appwiz.rc | 57 ++++++++++++++ po/ar.po | 164 ++++++++++++++++++++++++++++++---------- po/bg.po | 175 ++++++++++++++++++++++++++++++++---------- po/ca.po | 172 ++++++++++++++++++++++++++++++++---------- po/cs.po | 170 +++++++++++++++++++++++++++++++---------- po/da.po | 172 +++++++++++++++++++++++++++++++---------- po/de.po | 173 ++++++++++++++++++++++++++++++++---------- po/el.po | 164 ++++++++++++++++++++++++++++++---------- po/en.po | 160 +++++++++++++++++++++++++++++---------- po/en_US.po | 171 +++++++++++++++++++++++++++++++---------- po/eo.po | 172 +++++++++++++++++++++++++++++++---------- po/es.po | 174 ++++++++++++++++++++++++++++++++---------- po/fa.po | 164 ++++++++++++++++++++++++++++++---------- po/fi.po | 178 +++++++++++++++++++++++++++++++++---------- po/fr.po | 173 ++++++++++++++++++++++++++++++++---------- po/he.po | 169 +++++++++++++++++++++++++++++++---------- po/hi.po | 161 +++++++++++++++++++++++++++++---------- po/hu.po | 175 ++++++++++++++++++++++++++++++++---------- po/it.po | 173 ++++++++++++++++++++++++++++++++---------- po/ja.po | 171 +++++++++++++++++++++++++++++++---------- po/ko.po | 171 +++++++++++++++++++++++++++++++---------- po/lt.po | 171 +++++++++++++++++++++++++++++++---------- po/ml.po | 161 +++++++++++++++++++++++++++++---------- po/nb_NO.po | 171 +++++++++++++++++++++++++++++++---------- po/nl.po | 174 ++++++++++++++++++++++++++++++++---------- po/or.po | 161 +++++++++++++++++++++++++++++---------- po/pa.po | 161 +++++++++++++++++++++++++++++---------- po/pl.po | 173 ++++++++++++++++++++++++++++++++---------- po/pt_BR.po | 173 ++++++++++++++++++++++++++++++++---------- po/pt_PT.po | 173 ++++++++++++++++++++++++++++++++---------- po/rm.po | 168 ++++++++++++++++++++++++++++++---------- po/ro.po | 174 ++++++++++++++++++++++++++++++++---------- po/ru.po | 174 ++++++++++++++++++++++++++++++++---------- po/sk.po | 170 +++++++++++++++++++++++++++++++---------- po/sl.po | 174 ++++++++++++++++++++++++++++++++---------- po/sr_RS(a)cyrillic.po | 172 +++++++++++++++++++++++++++++++---------- po/sr_RS(a)latin.po | 172 +++++++++++++++++++++++++++++++---------- po/sv.po | 172 +++++++++++++++++++++++++++++++---------- po/te.po | 161 +++++++++++++++++++++++++++++---------- po/th.po | 165 ++++++++++++++++++++++++++++++---------- po/tr.po | 175 ++++++++++++++++++++++++++++++++---------- po/uk.po | 170 +++++++++++++++++++++++++++++++---------- po/wa.po | 170 +++++++++++++++++++++++++++++++---------- po/wine.pot | 160 +++++++++++++++++++++++++++++---------- po/zh_CN.po | 165 +++++++++++++++++++++++++++++---------- po/zh_TW.po | 164 +++++++++++++++++++++++++++++---------- 72 files changed, 5853 insertions(+), 4047 deletions(-) Diff:
http://source.winehq.org/git/wine.git/?a=commitdiff;h=b247174ea7aae3cf4dd77…
1
0
0
0
Andrew Eikum : wineoss.drv: Add period to latency calculation.
by Alexandre Julliard
01 Dec '11
01 Dec '11
Module: wine Branch: master Commit: 3cc871b0b08094319f4a9eb6a8c07a6ae456fe05 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=3cc871b0b08094319f4a9eb6a…
Author: Andrew Eikum <aeikum(a)codeweavers.com> Date: Thu Dec 1 10:57:18 2011 -0600 wineoss.drv: Add period to latency calculation. --- dlls/wineoss.drv/mmdevdrv.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/dlls/wineoss.drv/mmdevdrv.c b/dlls/wineoss.drv/mmdevdrv.c index b46b60e..bb3297b 100644 --- a/dlls/wineoss.drv/mmdevdrv.c +++ b/dlls/wineoss.drv/mmdevdrv.c @@ -1055,6 +1055,10 @@ static HRESULT WINAPI AudioClient_GetStreamLatency(IAudioClient *iface, }else *latency = 10000; /* OSS doesn't provide input latency */ + /* pretend we process audio in Period chunks, so max latency includes + * the period time */ + *latency += DefaultPeriod; + LeaveCriticalSection(&This->lock); return S_OK;
1
0
0
0
Andrew Eikum : wineoss.drv: Remove volume setting support.
by Alexandre Julliard
01 Dec '11
01 Dec '11
Module: wine Branch: master Commit: 65381d1c376585277d30bdfdde9cc2aa17c15392 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=65381d1c376585277d30bdfdd…
Author: Andrew Eikum <aeikum(a)codeweavers.com> Date: Thu Dec 1 10:57:11 2011 -0600 wineoss.drv: Remove volume setting support. --- dlls/wineoss.drv/mmdevdrv.c | 105 ++++-------------------------------------- 1 files changed, 10 insertions(+), 95 deletions(-) diff --git a/dlls/wineoss.drv/mmdevdrv.c b/dlls/wineoss.drv/mmdevdrv.c index 51ae720..b46b60e 100644 --- a/dlls/wineoss.drv/mmdevdrv.c +++ b/dlls/wineoss.drv/mmdevdrv.c @@ -165,7 +165,6 @@ static CRITICAL_SECTION g_sessions_lock = { &g_sessions_lock_debug, -1, 0, 0, 0, static struct list g_sessions = LIST_INIT(g_sessions); static AudioSessionWrapper *AudioSessionWrapper_Create(ACImpl *client); -static HRESULT oss_setvol(ACImpl *This, UINT32 index); static const IAudioClientVtbl AudioClient_Vtbl; static const IAudioRenderClientVtbl AudioRenderClient_Vtbl; @@ -993,8 +992,6 @@ static HRESULT WINAPI AudioClient_Initialize(IAudioClient *iface, This->initted = TRUE; - oss_setvol(This, -1); - LeaveCriticalSection(&This->lock); return S_OK; @@ -2405,83 +2402,6 @@ static const IAudioSessionControl2Vtbl AudioSessionControl2_Vtbl = AudioSessionControl_SetDuckingPreference }; -/* index == -1 means set all channels, otherwise sets only the given channel */ -static HRESULT oss_setvol(ACImpl *This, UINT32 index) -{ - int setreq, getreq; - unsigned int vol; - unsigned short l; - float level; - - if(index == (UINT32)-1){ - HRESULT ret = S_OK; - UINT32 i; - for(i = 0; i < This->fmt->nChannels; ++i){ - HRESULT hr; - hr = oss_setvol(This, i); - if(FAILED(hr)) - ret = hr; - } - return ret; - } - - if(index > 1) - /* OSS doesn't support volume control past the first two channels */ - return S_OK; - - if(This->dataflow == eRender){ - setreq = SNDCTL_DSP_SETPLAYVOL; - getreq = SNDCTL_DSP_GETPLAYVOL; - }else if(This->dataflow == eCapture){ - setreq = SNDCTL_DSP_SETRECVOL; - getreq = SNDCTL_DSP_GETRECVOL; - }else - return E_UNEXPECTED; - - if(ioctl(This->fd, getreq, &vol) < 0){ - if(errno == EINVAL) - /* device doesn't support this call */ - return S_OK; - - WARN("GET[REC|PLAY]VOL failed: %d (%s)\n", errno, strerror(errno)); - return E_FAIL; - } - - level = This->session->master_vol * This->session->channel_vols[index] * - This->vols[index]; - l = level * 100; - if(index == 0) - vol = l | (vol & 0xFF00); - else - vol = (vol & 0xFF) | (l << 8); - - if(ioctl(This->fd, setreq, &vol) < 0){ - if(errno == EINVAL) - /* device doesn't support this call */ - return S_OK; - - WARN("SET[REC|PLAY]VOL failed: %d (%s)\n", errno, strerror(errno)); - return E_FAIL; - } - - return S_OK; -} - -static HRESULT oss_session_setvol(AudioSession *session, UINT32 index) -{ - HRESULT ret = S_OK; - ACImpl *client; - - LIST_FOR_EACH_ENTRY(client, &session->clients, ACImpl, entry){ - HRESULT hr; - hr = oss_setvol(client, index); - if(FAILED(hr)) - ret = hr; - } - - return ret; -} - static HRESULT WINAPI SimpleAudioVolume_QueryInterface( ISimpleAudioVolume *iface, REFIID riid, void **ppv) { @@ -2520,7 +2440,6 @@ static HRESULT WINAPI SimpleAudioVolume_SetMasterVolume( { AudioSessionWrapper *This = impl_from_ISimpleAudioVolume(iface); AudioSession *session = This->session; - HRESULT ret; TRACE("(%p)->(%f, %s)\n", session, level, wine_dbgstr_guid(context)); @@ -2534,11 +2453,11 @@ static HRESULT WINAPI SimpleAudioVolume_SetMasterVolume( session->master_vol = level; - ret = oss_session_setvol(session, -1); + TRACE("OSS doesn't support setting volume\n"); LeaveCriticalSection(&session->lock); - return ret; + return S_OK; } static HRESULT WINAPI SimpleAudioVolume_GetMasterVolume( @@ -2667,7 +2586,6 @@ static HRESULT WINAPI AudioStreamVolume_SetChannelVolume( IAudioStreamVolume *iface, UINT32 index, float level) { ACImpl *This = impl_from_IAudioStreamVolume(iface); - HRESULT ret; TRACE("(%p)->(%d, %f)\n", This, index, level); @@ -2681,11 +2599,11 @@ static HRESULT WINAPI AudioStreamVolume_SetChannelVolume( This->vols[index] = level; - ret = oss_setvol(This, index); + TRACE("OSS doesn't support setting volume\n"); LeaveCriticalSection(&This->lock); - return ret; + return S_OK; } static HRESULT WINAPI AudioStreamVolume_GetChannelVolume( @@ -2711,7 +2629,6 @@ static HRESULT WINAPI AudioStreamVolume_SetAllVolumes( { ACImpl *This = impl_from_IAudioStreamVolume(iface); int i; - HRESULT ret; TRACE("(%p)->(%d, %p)\n", This, count, levels); @@ -2726,11 +2643,11 @@ static HRESULT WINAPI AudioStreamVolume_SetAllVolumes( for(i = 0; i < count; ++i) This->vols[i] = levels[i]; - ret = oss_setvol(This, -1); + TRACE("OSS doesn't support setting volume\n"); LeaveCriticalSection(&This->lock); - return ret; + return S_OK; } static HRESULT WINAPI AudioStreamVolume_GetAllVolumes( @@ -2824,7 +2741,6 @@ static HRESULT WINAPI ChannelAudioVolume_SetChannelVolume( { AudioSessionWrapper *This = impl_from_IChannelAudioVolume(iface); AudioSession *session = This->session; - HRESULT ret; TRACE("(%p)->(%d, %f, %s)\n", session, index, level, wine_dbgstr_guid(context)); @@ -2842,11 +2758,11 @@ static HRESULT WINAPI ChannelAudioVolume_SetChannelVolume( session->channel_vols[index] = level; - ret = oss_session_setvol(session, index); + TRACE("OSS doesn't support setting volume\n"); LeaveCriticalSection(&session->lock); - return ret; + return S_OK; } static HRESULT WINAPI ChannelAudioVolume_GetChannelVolume( @@ -2875,7 +2791,6 @@ static HRESULT WINAPI ChannelAudioVolume_SetAllVolumes( AudioSessionWrapper *This = impl_from_IChannelAudioVolume(iface); AudioSession *session = This->session; int i; - HRESULT ret; TRACE("(%p)->(%d, %p, %s)\n", session, count, levels, wine_dbgstr_guid(context)); @@ -2894,11 +2809,11 @@ static HRESULT WINAPI ChannelAudioVolume_SetAllVolumes( for(i = 0; i < count; ++i) session->channel_vols[i] = levels[i]; - ret = oss_session_setvol(session, -1); + TRACE("OSS doesn't support setting volume\n"); LeaveCriticalSection(&session->lock); - return ret; + return S_OK; } static HRESULT WINAPI ChannelAudioVolume_GetAllVolumes(
1
0
0
0
Nikolay Sivov : shlwapi: Partially implement SHRegCreateUSKeyW.
by Alexandre Julliard
01 Dec '11
01 Dec '11
Module: wine Branch: master Commit: 191bc054a52f06b06337c5d154097f2679a39cf3 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=191bc054a52f06b06337c5d15…
Author: Nikolay Sivov <nsivov(a)codeweavers.com> Date: Thu Dec 1 20:19:29 2011 +0300 shlwapi: Partially implement SHRegCreateUSKeyW. --- dlls/shlwapi/reg.c | 47 ++++++++++++++++++++++++++++--- dlls/shlwapi/tests/shreg.c | 66 ++++++++++++++++++++++++++++---------------- 2 files changed, 84 insertions(+), 29 deletions(-) diff --git a/dlls/shlwapi/reg.c b/dlls/shlwapi/reg.c index 09fce55..26f83bf 100644 --- a/dlls/shlwapi/reg.c +++ b/dlls/shlwapi/reg.c @@ -235,12 +235,49 @@ LONG WINAPI SHRegCreateUSKeyA(LPCSTR pszPath, REGSAM samDesired, HUSKEY hRelativ * * See SHRegCreateUSKeyA. */ -LONG WINAPI SHRegCreateUSKeyW(LPCWSTR pszPath, REGSAM samDesired, HUSKEY hRelativeUSKey, - PHUSKEY phNewUSKey, DWORD dwFlags) +LONG WINAPI SHRegCreateUSKeyW(LPCWSTR path, REGSAM samDesired, HUSKEY relative_key, + PHUSKEY new_uskey, DWORD flags) { - FIXME("(%s, 0x%08x, %p, %p, 0x%08x) stub\n", debugstr_w(pszPath), samDesired, - hRelativeUSKey, phNewUSKey, dwFlags); - return ERROR_SUCCESS; + LONG ret = ERROR_CALL_NOT_IMPLEMENTED; + SHUSKEY *ret_key; + + TRACE("(%s, 0x%08x, %p, %p, 0x%08x)\n", debugstr_w(path), samDesired, + relative_key, new_uskey, flags); + + if (!new_uskey) return ERROR_INVALID_PARAMETER; + + *new_uskey = NULL; + + if (flags & ~SHREGSET_FORCE_HKCU) + { + FIXME("unsupported flags 0x%08x\n", flags); + return ERROR_SUCCESS; + } + + ret_key = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*ret_key)); + lstrcpynW(ret_key->lpszPath, path, sizeof(ret_key->lpszPath)/sizeof(WCHAR)); + + if (relative_key) + { + ret_key->HKCUstart = SHRegDuplicateHKey(REG_GetHKEYFromHUSKEY(relative_key, REG_HKCU)); + ret_key->HKLMstart = SHRegDuplicateHKey(REG_GetHKEYFromHUSKEY(relative_key, REG_HKLM)); + } + else + { + ret_key->HKCUstart = HKEY_CURRENT_USER; + ret_key->HKLMstart = HKEY_LOCAL_MACHINE; + } + + if (flags & SHREGSET_FORCE_HKCU) + { + ret = RegCreateKeyExW(ret_key->HKCUstart, path, 0, NULL, 0, samDesired, NULL, &ret_key->HKCUkey, NULL); + if (ret == ERROR_SUCCESS) + *new_uskey = ret_key; + else + HeapFree(GetProcessHeap(), 0, ret_key); + } + + return ret; } /************************************************************************* diff --git a/dlls/shlwapi/tests/shreg.c b/dlls/shlwapi/tests/shreg.c index 3cee765..3634041 100644 --- a/dlls/shlwapi/tests/shreg.c +++ b/dlls/shlwapi/tests/shreg.c @@ -33,12 +33,11 @@ #define REG_CURRENT_VERSION "Software\\Microsoft\\Windows\\CurrentVersion\\explorer" static HMODULE hshlwapi; -typedef DWORD (WINAPI *SHCopyKeyA_func)(HKEY,LPCSTR,HKEY,DWORD); -static SHCopyKeyA_func pSHCopyKeyA; -typedef DWORD (WINAPI *SHRegGetPathA_func)(HKEY,LPCSTR,LPCSTR,LPSTR,DWORD); -static SHRegGetPathA_func pSHRegGetPathA; -typedef LSTATUS (WINAPI *SHRegGetValueA_func)(HKEY,LPCSTR,LPCSTR,SRRF,LPDWORD,LPVOID,LPDWORD); -static SHRegGetValueA_func pSHRegGetValueA; + +static DWORD (WINAPI *pSHCopyKeyA)(HKEY,LPCSTR,HKEY,DWORD); +static DWORD (WINAPI *pSHRegGetPathA)(HKEY,LPCSTR,LPCSTR,LPSTR,DWORD); +static LSTATUS (WINAPI *pSHRegGetValueA)(HKEY,LPCSTR,LPCSTR,SRRF,LPDWORD,LPVOID,LPDWORD); +static LSTATUS (WINAPI *pSHRegCreateUSKeyW)(LPCWSTR,REGSAM,HUSKEY,PHUSKEY,DWORD); static char sTestpath1[] = "%LONGSYSTEMVAR%\\subdir1"; static char sTestpath2[] = "%FOO%\\subdir1"; @@ -444,28 +443,47 @@ static void test_SHDeleteKey(void) ok( 0, "Could not set up SHDeleteKey test\n"); } +static void test_SHRegCreateUSKeyW(void) +{ + static const WCHAR subkeyW[] = {'s','u','b','k','e','y',0}; + LONG ret; + + if (!pSHRegCreateUSKeyW) + { + win_skip("SHRegCreateUSKeyW not available\n"); + return; + } + + ret = pSHRegCreateUSKeyW(subkeyW, KEY_ALL_ACCESS, NULL, NULL, SHREGSET_FORCE_HKCU); + ok(ret == ERROR_INVALID_PARAMETER, "got %d\n", ret); +} + START_TEST(shreg) { - HKEY hkey = create_test_entries(); + HKEY hkey = create_test_entries(); - if (!hkey) return; + if (!hkey) return; - hshlwapi = GetModuleHandleA("shlwapi.dll"); + hshlwapi = GetModuleHandleA("shlwapi.dll"); - /* SHCreateStreamOnFileEx was introduced in shlwapi v6.0 */ - if(!GetProcAddress(hshlwapi, "SHCreateStreamOnFileEx")){ - win_skip("Too old shlwapi version\n"); - return; - } + /* SHCreateStreamOnFileEx was introduced in shlwapi v6.0 */ + if(!GetProcAddress(hshlwapi, "SHCreateStreamOnFileEx")){ + win_skip("Too old shlwapi version\n"); + return; + } + + pSHCopyKeyA = (void*)GetProcAddress(hshlwapi,"SHCopyKeyA"); + pSHRegGetPathA = (void*)GetProcAddress(hshlwapi,"SHRegGetPathA"); + pSHRegGetValueA = (void*)GetProcAddress(hshlwapi,"SHRegGetValueA"); + pSHRegCreateUSKeyW = (void*)GetProcAddress(hshlwapi, "SHRegCreateUSKeyW"); + + test_SHGetValue(); + test_SHRegGetValue(); + test_SHQueryValueEx(); + test_SHGetRegPath(); + test_SHCopyKey(); + test_SHDeleteKey(); + test_SHRegCreateUSKeyW(); - pSHCopyKeyA=(SHCopyKeyA_func)GetProcAddress(hshlwapi,"SHCopyKeyA"); - pSHRegGetPathA=(SHRegGetPathA_func)GetProcAddress(hshlwapi,"SHRegGetPathA"); - pSHRegGetValueA=(SHRegGetValueA_func)GetProcAddress(hshlwapi,"SHRegGetValueA"); - test_SHGetValue(); - test_SHRegGetValue(); - test_SHQueryValueEx(); - test_SHGetRegPath(); - test_SHCopyKey(); - test_SHDeleteKey(); - delete_key( hkey, "Software\\Wine", "Test" ); + delete_key( hkey, "Software\\Wine", "Test" ); }
1
0
0
0
Aric Stewart : usp10: Handle the Gurmukhi addak.
by Alexandre Julliard
01 Dec '11
01 Dec '11
Module: wine Branch: master Commit: ff9ae10ba567bf72b512e545fb398d33e9a9eea0 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=ff9ae10ba567bf72b512e545f…
Author: Aric Stewart <aric(a)codeweavers.com> Date: Thu Dec 1 10:13:34 2011 -0600 usp10: Handle the Gurmukhi addak. --- dlls/usp10/shape.c | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/dlls/usp10/shape.c b/dlls/usp10/shape.c index 7583326..36fa404 100644 --- a/dlls/usp10/shape.c +++ b/dlls/usp10/shape.c @@ -2597,7 +2597,10 @@ static void ContextualShape_Bengali(HDC hdc, ScriptCache *psc, SCRIPT_ANALYSIS * static int gurmukhi_lex(WCHAR c) { - return unicode_lex(c); + if (c == 0x0A71) + return lex_Modifier; + else + return unicode_lex(c); } static const ConsonantComponents Gurmukhi_consonants[] = {
1
0
0
0
Aric Stewart : usp10: Always apply features in logical order.
by Alexandre Julliard
01 Dec '11
01 Dec '11
Module: wine Branch: master Commit: 302409ebe49fb42f434c3adbe8e351c6cdd18c45 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=302409ebe49fb42f434c3adbe…
Author: Aric Stewart <aric(a)codeweavers.com> Date: Thu Dec 1 09:09:41 2011 -0600 usp10: Always apply features in logical order. --- dlls/usp10/shape.c | 26 +++++++++++++++----------- 1 files changed, 15 insertions(+), 11 deletions(-) diff --git a/dlls/usp10/shape.c b/dlls/usp10/shape.c index 9e09c86..7583326 100644 --- a/dlls/usp10/shape.c +++ b/dlls/usp10/shape.c @@ -726,7 +726,7 @@ static INT GSUB_apply_SingleSubst(const GSUB_LookupTable *look, WORD *glyphs, IN TRACE(" Glyph 0x%x ->",glyphs[glyph_index]); glyphs[glyph_index] = glyphs[glyph_index] + GET_BE_WORD(ssf1->DeltaGlyphID); TRACE(" 0x%x\n",glyphs[glyph_index]); - return glyph_index + 1; + return glyph_index + write_dir; } } else @@ -748,7 +748,7 @@ static INT GSUB_apply_SingleSubst(const GSUB_LookupTable *look, WORD *glyphs, IN TRACE(" Glyph is 0x%x ->",glyphs[glyph_index]); glyphs[glyph_index] = GET_BE_WORD(ssf2->Substitute[index]); TRACE("0x%x\n",glyphs[glyph_index]); - return glyph_index + 1; + return glyph_index + write_dir; } } } @@ -797,7 +797,7 @@ static INT GSUB_apply_MultipleSubst(const GSUB_LookupTable *look, WORD *glyphs, TRACE("\n"); } - return glyph_index + sub_count; + return glyph_index + (sub_count * write_dir); } } return GSUB_E_NOGLYPH; @@ -831,7 +831,7 @@ static INT GSUB_apply_AlternateSubst(const GSUB_LookupTable *look, WORD *glyphs, TRACE(" Glyph 0x%x ->",glyphs[glyph_index]); glyphs[glyph_index] = GET_BE_WORD(as->Alternate[0]); TRACE(" 0x%x\n",glyphs[glyph_index]); - return glyph_index + 1; + return glyph_index + write_dir; } } return GSUB_E_NOGLYPH; @@ -894,7 +894,7 @@ static INT GSUB_apply_LigatureSubst(const GSUB_LookupTable *look, WORD *glyphs, glyphs[j] =glyphs[j+CompCount]; *glyph_count = *glyph_count - CompCount; } - return replaceIdx + 1; + return replaceIdx + write_dir; } } } @@ -1338,7 +1338,7 @@ static void UpdateClusters(int nextIndex, int changeCount, int write_dir, int ch else { int i; - int target_glyph = nextIndex - 1; + int target_glyph = nextIndex - write_dir; int seeking_glyph; int target_index = -1; int replacing_glyph = -1; @@ -1346,7 +1346,7 @@ static void UpdateClusters(int nextIndex, int changeCount, int write_dir, int ch if (changeCount > 0) - target_glyph = nextIndex - (changeCount+1); + target_glyph = nextIndex - ((changeCount+1)*write_dir); seeking_glyph = target_glyph; @@ -1437,21 +1437,25 @@ static int apply_GSUB_feature(HDC hdc, SCRIPT_ANALYSIS *psa, ScriptCache* psc, W for (lookup_index = 0; lookup_index < lookup_count; lookup_index++) { int i; - i = 0; + + if (write_dir > 0) + i = 0; + else + i = *pcGlyphs-1; TRACE("applying lookup (%i/%i)\n",lookup_index,lookup_count); - while(i < *pcGlyphs) + while(i < *pcGlyphs && i >= 0) { INT nextIndex; INT prevCount = *pcGlyphs; nextIndex = GSUB_apply_lookup(lookup, GET_BE_WORD(feature->LookupListIndex[lookup_index]), pwOutGlyphs, i, write_dir, pcGlyphs); - if (nextIndex > GSUB_E_NOGLYPH) + if (*pcGlyphs != prevCount) { UpdateClusters(nextIndex, *pcGlyphs - prevCount, write_dir, cChars, pwLogClust); i = nextIndex; } else - i++; + i+=write_dir; } } return *pcGlyphs;
1
0
0
0
Aric Stewart : usp10: Apply lookups in order over the whole range of glyphs instead of individually to each glyph .
by Alexandre Julliard
01 Dec '11
01 Dec '11
Module: wine Branch: master Commit: c4c9f8b041280535388ac10f50446fba899f1028 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=c4c9f8b041280535388ac10f5…
Author: Aric Stewart <aric(a)codeweavers.com> Date: Thu Dec 1 09:09:25 2011 -0600 usp10: Apply lookups in order over the whole range of glyphs instead of individually to each glyph. --- dlls/usp10/shape.c | 28 +++++++++++++++++++--------- 1 files changed, 19 insertions(+), 9 deletions(-) diff --git a/dlls/usp10/shape.c b/dlls/usp10/shape.c index e1cadd1..9e09c86 100644 --- a/dlls/usp10/shape.c +++ b/dlls/usp10/shape.c @@ -1027,7 +1027,7 @@ static INT GSUB_apply_lookup(const GSUB_LookupList* lookup, INT lookup_index, WO return GSUB_E_NOGLYPH; } -static INT GSUB_apply_feature(const GSUB_Header * header, const GSUB_Feature* feature, WORD *glyphs, INT glyph_index, INT write_dir, INT *glyph_count) +static INT GSUB_apply_feature_all_lookups(const GSUB_Header * header, const GSUB_Feature* feature, WORD *glyphs, INT glyph_index, INT write_dir, INT *glyph_count) { int i; int out_index = GSUB_E_NOGLYPH; @@ -1047,7 +1047,7 @@ static INT GSUB_apply_feature(const GSUB_Header * header, const GSUB_Feature* fe else { int out2; - out2 = GSUB_apply_feature(header, feature, glyphs, glyph_index, write_dir, glyph_count); + out2 = GSUB_apply_feature_all_lookups(header, feature, glyphs, glyph_index, write_dir, glyph_count); if (out2!=GSUB_E_NOGLYPH) out_index = out2; } @@ -1171,7 +1171,7 @@ static INT apply_GSUB_feature_to_glyph(HDC hdc, SCRIPT_ANALYSIS *psa, ScriptCach return GSUB_E_NOFEATURE; TRACE("applying feature %s\n",feat); - return GSUB_apply_feature(psc->GSUB_Table, feature, glyphs, index, write_dir, glyph_count); + return GSUB_apply_feature_all_lookups(psc->GSUB_Table, feature, glyphs, index, write_dir, glyph_count); } static VOID *load_gsub_table(HDC hdc) @@ -1419,23 +1419,32 @@ static void UpdateClusters(int nextIndex, int changeCount, int write_dir, int ch static int apply_GSUB_feature(HDC hdc, SCRIPT_ANALYSIS *psa, ScriptCache* psc, WORD *pwOutGlyphs, int write_dir, INT* pcGlyphs, INT cChars, const char* feat, WORD *pwLogClust ) { - int i; - if (psc->GSUB_Table) { const GSUB_Feature *feature; + const GSUB_LookupList *lookup; + const GSUB_Header *header = psc->GSUB_Table; + int lookup_index, lookup_count; feature = load_GSUB_feature(hdc, psa, psc, feat); if (!feature) return GSUB_E_NOFEATURE; - i = 0; TRACE("applying feature %s\n",debugstr_an(feat,4)); - while(i < *pcGlyphs) - { + lookup = (const GSUB_LookupList*)((const BYTE*)header + GET_BE_WORD(header->LookupList)); + lookup_count = GET_BE_WORD(feature->LookupCount); + TRACE("%i lookups\n", lookup_count); + for (lookup_index = 0; lookup_index < lookup_count; lookup_index++) + { + int i; + i = 0; + TRACE("applying lookup (%i/%i)\n",lookup_index,lookup_count); + while(i < *pcGlyphs) + { INT nextIndex; INT prevCount = *pcGlyphs; - nextIndex = GSUB_apply_feature(psc->GSUB_Table, feature, pwOutGlyphs, i, write_dir, pcGlyphs); + + nextIndex = GSUB_apply_lookup(lookup, GET_BE_WORD(feature->LookupListIndex[lookup_index]), pwOutGlyphs, i, write_dir, pcGlyphs); if (nextIndex > GSUB_E_NOGLYPH) { UpdateClusters(nextIndex, *pcGlyphs - prevCount, write_dir, cChars, pwLogClust); @@ -1443,6 +1452,7 @@ static int apply_GSUB_feature(HDC hdc, SCRIPT_ANALYSIS *psa, ScriptCache* psc, W } else i++; + } } return *pcGlyphs; } @@ -2134,7 +2144,7 @@ static void Apply_Indic_BasicForm(HDC hdc, ScriptCache *psc, SCRIPT_ANALYSIS *ps { INT nextIndex; INT prevCount = *pcGlyphs; - nextIndex = GSUB_apply_feature(psc->GSUB_Table, feature, pwOutGlyphs, index, 1, pcGlyphs); + nextIndex = GSUB_apply_feature_all_lookups(psc->GSUB_Table, feature, pwOutGlyphs, index, 1, pcGlyphs); if (nextIndex > GSUB_E_NOGLYPH) { UpdateClusters(nextIndex, *pcGlyphs - prevCount, 1, cChars, pwLogClust);
1
0
0
0
← Newer
1
...
74
75
76
77
78
79
80
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