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
July
June
May
April
March
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
November 2011
----- 2025 -----
July 2025
June 2025
May 2025
April 2025
March 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
852 discussions
Start a n
N
ew thread
Alexander Morozov : crypt32/tests: Add some tests for CryptDecodeObjectEx without CRYPT_DECODE_ALLOC_FLAG.
by Alexandre Julliard
22 Nov '11
22 Nov '11
Module: wine Branch: master Commit: fc78c2242ea1cb92c1bede700066bafd33736995 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=fc78c2242ea1cb92c1bede700…
Author: Alexander Morozov <amorozov(a)etersoft.ru> Date: Mon Nov 21 19:47:32 2011 +0400 crypt32/tests: Add some tests for CryptDecodeObjectEx without CRYPT_DECODE_ALLOC_FLAG. --- dlls/crypt32/tests/encode.c | 107 +++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 107 insertions(+), 0 deletions(-) diff --git a/dlls/crypt32/tests/encode.c b/dlls/crypt32/tests/encode.c index b79c34d..d74b1c9 100644 --- a/dlls/crypt32/tests/encode.c +++ b/dlls/crypt32/tests/encode.c @@ -2710,6 +2710,21 @@ static void test_decodeExtensions(DWORD dwEncoding) } LocalFree(buf); } + ret = pCryptDecodeObjectEx(dwEncoding, X509_EXTENSIONS, + exts[i].encoded, exts[i].encoded[1] + 2, 0, NULL, NULL, &bufSize); + ok(ret, "CryptDecodeObjectEx failed: %08x\n", GetLastError()); + buf = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, bufSize); + if (buf) + { + ret = pCryptDecodeObjectEx(dwEncoding, X509_EXTENSIONS, + exts[i].encoded, exts[i].encoded[1] + 2, 0, NULL, buf, &bufSize); + if (!i) + ok(ret, "CryptDecodeObjectEx failed: %08x\n", GetLastError()); + else + todo_wine + ok(ret, "CryptDecodeObjectEx failed: %08x\n", GetLastError()); + HeapFree(GetProcessHeap(), 0, buf); + } } } @@ -3601,6 +3616,20 @@ static void test_decodeCRLDistPoints(DWORD dwEncoding) ok(!lstrcmpW(U(*entry).pwszURL, url), "Unexpected name\n"); LocalFree(buf); } + ret = pCryptDecodeObjectEx(dwEncoding, X509_CRL_DIST_POINTS, + distPointWithUrlAndIssuer, distPointWithUrlAndIssuer[1] + 2, 0, + NULL, NULL, &size); + ok(ret, "CryptDecodeObjectEx failed: %08x\n", GetLastError()); + buf = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, size); + if (buf) + { + ret = pCryptDecodeObjectEx(dwEncoding, X509_CRL_DIST_POINTS, + distPointWithUrlAndIssuer, distPointWithUrlAndIssuer[1] + 2, 0, + NULL, buf, &size); + todo_wine + ok(ret, "CryptDecodeObjectEx failed: %08x\n", GetLastError()); + HeapFree(GetProcessHeap(), 0, buf); + } } static const BYTE badFlagsIDP[] = { 0x30,0x06,0x81,0x01,0xff,0x82,0x01,0xff }; @@ -4741,6 +4770,18 @@ static void test_decodeEnhancedKeyUsage(DWORD dwEncoding) usage->rgpszUsageIdentifier[i]); LocalFree(buf); } + ret = pCryptDecodeObjectEx(dwEncoding, X509_ENHANCED_KEY_USAGE, + encodedUsage, sizeof(encodedUsage), 0, NULL, NULL, &size); + ok(ret, "CryptDecodeObjectEx failed: %08x\n", GetLastError()); + buf = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, size); + if (buf) + { + ret = pCryptDecodeObjectEx(dwEncoding, X509_ENHANCED_KEY_USAGE, + encodedUsage, sizeof(encodedUsage), 0, NULL, buf, &size); + todo_wine + ok(ret, "CryptDecodeObjectEx failed: %08x\n", GetLastError()); + HeapFree(GetProcessHeap(), 0, buf); + } } static BYTE keyId[] = { 1,2,3,4 }; @@ -5215,6 +5256,20 @@ static void test_decodeAuthorityInfoAccess(DWORD dwEncoding) LocalFree(buf); buf = NULL; } + ret = pCryptDecodeObjectEx(dwEncoding, X509_AUTHORITY_INFO_ACCESS, + authorityInfoAccessWithUrlAndIPAddr, + sizeof(authorityInfoAccessWithUrlAndIPAddr), 0, NULL, NULL, &size); + ok(ret, "CryptDecodeObjectEx failed: %x\n", GetLastError()); + buf = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, size); + if (buf) + { + ret = pCryptDecodeObjectEx(dwEncoding, X509_AUTHORITY_INFO_ACCESS, + authorityInfoAccessWithUrlAndIPAddr, + sizeof(authorityInfoAccessWithUrlAndIPAddr), 0, NULL, buf, &size); + todo_wine + ok(ret, "CryptDecodeObjectEx failed: %x\n", GetLastError()); + HeapFree(GetProcessHeap(), 0, buf); + } } static const BYTE emptyCTL[] = { @@ -6168,6 +6223,18 @@ static void test_decodePKCSAttributes(DWORD dwEncoding) attributes->rgAttr[1].rgValue[0].cbData), "Unexpected value\n"); LocalFree(buf); } + ret = pCryptDecodeObjectEx(dwEncoding, PKCS_ATTRIBUTES, + doublePKCSAttributes, sizeof(doublePKCSAttributes), 0, NULL, NULL, &size); + ok(ret, "CryptDecodeObjectEx failed: %x\n", GetLastError()); + buf = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, size); + if (buf) + { + ret = pCryptDecodeObjectEx(dwEncoding, PKCS_ATTRIBUTES, + doublePKCSAttributes, sizeof(doublePKCSAttributes), 0, NULL, buf, &size); + todo_wine + ok(ret, "CryptDecodeObjectEx failed: %x\n", GetLastError()); + HeapFree(GetProcessHeap(), 0, buf); + } } static const BYTE singleCapability[] = { @@ -6325,6 +6392,20 @@ static void test_decodePKCSSMimeCapabilities(DWORD dwEncoding) compareSMimeCapabilities("two capabilities", &capabilities, ptr); LocalFree(ptr); } + SetLastError(0xdeadbeef); + ret = pCryptDecodeObjectEx(dwEncoding, PKCS_SMIME_CAPABILITIES, + twoCapabilities, sizeof(twoCapabilities), 0, NULL, NULL, &size); + ok(ret, "CryptDecodeObjectEx failed: %08x\n", GetLastError()); + ptr = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, size); + if (ptr) + { + SetLastError(0xdeadbeef); + ret = pCryptDecodeObjectEx(dwEncoding, PKCS_SMIME_CAPABILITIES, + twoCapabilities, sizeof(twoCapabilities), 0, NULL, ptr, &size); + todo_wine + ok(ret, "CryptDecodeObjectEx failed: %08x\n", GetLastError()); + HeapFree(GetProcessHeap(), 0, ptr); + } } static BYTE encodedCommonNameNoNull[] = { 0x30,0x14,0x31,0x12,0x30,0x10, @@ -7487,6 +7568,18 @@ static void test_decodeCertPolicies(DWORD dwEncoding) "unexpected qualifier value\n"); LocalFree(info); } + ret = pCryptDecodeObjectEx(dwEncoding, X509_CERT_POLICIES, + twoPolicies, sizeof(twoPolicies), 0, NULL, NULL, &size); + ok(ret, "CryptDecodeObjectEx failed: %08x\n", GetLastError()); + info = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, size); + if (info) + { + ret = pCryptDecodeObjectEx(dwEncoding, X509_CERT_POLICIES, + twoPolicies, sizeof(twoPolicies), 0, NULL, info, &size); + todo_wine + ok(ret, "CryptDecodeObjectEx failed: %08x\n", GetLastError()); + HeapFree(GetProcessHeap(), 0, info); + } } static const BYTE policyMappingWithOneMapping[] = { @@ -7630,6 +7723,20 @@ static void test_decodeCertPolicyMappings(DWORD dwEncoding) info->rgPolicyMapping[1].pszSubjectDomainPolicy); LocalFree(info); } + ret = pCryptDecodeObjectEx(dwEncoding, mappingOids[i], + policyMappingWithTwoMappings, sizeof(policyMappingWithTwoMappings), 0, + NULL, NULL, &size); + ok(ret, "CryptDecodeObjectEx failed: %08x\n", GetLastError()); + info = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, size); + if (info) + { + ret = pCryptDecodeObjectEx(dwEncoding, mappingOids[i], + policyMappingWithTwoMappings, sizeof(policyMappingWithTwoMappings), 0, + NULL, info, &size); + todo_wine + ok(ret, "CryptDecodeObjectEx failed: %08x\n", GetLastError()); + HeapFree(GetProcessHeap(), 0, info); + } } }
1
0
0
0
Alexandre Julliard : makefiles: Build tags from all the source files.
by Alexandre Julliard
22 Nov '11
22 Nov '11
Module: wine Branch: master Commit: c360ee0b661a759ca5c3e6903a13c8be790c4633 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=c360ee0b661a759ca5c3e6903…
Author: Alexandre Julliard <julliard(a)winehq.org> Date: Tue Nov 22 18:20:05 2011 +0100 makefiles: Build tags from all the source files. --- Makefile.in | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile.in b/Makefile.in index 723bd82..72161fc 100644 --- a/Makefile.in +++ b/Makefile.in @@ -84,10 +84,12 @@ $(MAKEDEP): include/config.h # Misc rules +TAGSFLAGS = --langmap='c:+.idl.l.rh,make:(Make*.in)' + TAGS etags: $(RM) TAGS - (test -d .git && git ls-files '*.[chly]' '*.idl' || find -L $(top_srcdir) -name '*.[ch]' -print) | xargs etags -a + (test -d .git && git ls-files || find -L $(top_srcdir) -name '*.[ch]' -print) | xargs etags -a $(TAGSFLAGS) tags ctags: $(RM) tags - (test -d .git && git ls-files '*.[chly]' '*.idl' || find -L $(top_srcdir) -name '*.[ch]' -print) | xargs ctags -a + (test -d .git && git ls-files || find -L $(top_srcdir) -name '*.[ch]' -print) | xargs ctags -a $(TAGSFLAGS)
1
0
0
0
Alexandre Julliard : msxml3: Don't return REFIID to avoid compiler warnings .
by Alexandre Julliard
22 Nov '11
22 Nov '11
Module: wine Branch: master Commit: dbdf356f72ccfe8e7d3cf23fbfd3403f21d89e56 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=dbdf356f72ccfe8e7d3cf23fb…
Author: Alexandre Julliard <julliard(a)winehq.org> Date: Tue Nov 22 18:19:31 2011 +0100 msxml3: Don't return REFIID to avoid compiler warnings. --- dlls/msxml3/dispex.c | 2 +- dlls/msxml3/msxml_private.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/msxml3/dispex.c b/dlls/msxml3/dispex.c index d71fb04..529fd96 100644 --- a/dlls/msxml3/dispex.c +++ b/dlls/msxml3/dispex.c @@ -152,7 +152,7 @@ static tid_id_t tid_ids[] = { { &IID_IVBMXNamespaceManager, LibXml2 } }; -inline REFIID get_riid_from_tid(tid_t tid) +const IID *get_riid_from_tid(tid_t tid) { return tid_ids[tid].iid; } diff --git a/dlls/msxml3/msxml_private.h b/dlls/msxml3/msxml_private.h index 10067a6..bb517a7 100644 --- a/dlls/msxml3/msxml_private.h +++ b/dlls/msxml3/msxml_private.h @@ -157,7 +157,7 @@ extern HINSTANCE MSXML_hInstance DECLSPEC_HIDDEN; void init_dispex(DispatchEx*,IUnknown*,dispex_static_data_t*) DECLSPEC_HIDDEN; void release_dispex(DispatchEx*) DECLSPEC_HIDDEN; BOOL dispex_query_interface(DispatchEx*,REFIID,void**) DECLSPEC_HIDDEN; -REFIID get_riid_from_tid(enum tid_t tid) DECLSPEC_HIDDEN; +const IID *get_riid_from_tid(enum tid_t tid) DECLSPEC_HIDDEN; /* memory allocation functions */
1
0
0
0
Alexandre Julliard : kernel32/tests: Avoid size_t in traces.
by Alexandre Julliard
22 Nov '11
22 Nov '11
Module: wine Branch: master Commit: 1998c22d1b6e5c345b2e55e1516be047a7b6abfb URL:
http://source.winehq.org/git/wine.git/?a=commit;h=1998c22d1b6e5c345b2e55e15…
Author: Alexandre Julliard <julliard(a)winehq.org> Date: Tue Nov 22 18:19:06 2011 +0100 kernel32/tests: Avoid size_t in traces. --- dlls/kernel32/tests/module.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/dlls/kernel32/tests/module.c b/dlls/kernel32/tests/module.c index 06cf557..e86b63b 100644 --- a/dlls/kernel32/tests/module.c +++ b/dlls/kernel32/tests/module.c @@ -395,8 +395,7 @@ static void testGetDllDirectory(void) { CHAR bufferA[MAX_PATH]; WCHAR bufferW[MAX_PATH]; - size_t length; - DWORD ret; + DWORD length, ret; int i; static const char *dll_directories[] = {
1
0
0
0
Andrew Eikum : winecoreaudio.drv: Make driver sample accurate.
by Alexandre Julliard
22 Nov '11
22 Nov '11
Module: wine Branch: master Commit: 2da60016affdbc13356aef162e0ff6d70b03d677 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=2da60016affdbc13356aef162…
Author: Andrew Eikum <aeikum(a)codeweavers.com> Date: Tue Nov 22 09:50:48 2011 -0600 winecoreaudio.drv: Make driver sample accurate. --- dlls/winecoreaudio.drv/mmdevdrv.c | 176 ++++++++++++++++++++++++++++++------- 1 files changed, 144 insertions(+), 32 deletions(-) Diff:
http://source.winehq.org/git/wine.git/?a=commitdiff;h=2da60016affdbc13356ae…
1
0
0
0
Andrew Eikum : winecoreaudio.drv: Fix latency calculation.
by Alexandre Julliard
22 Nov '11
22 Nov '11
Module: wine Branch: master Commit: ca18b8ffb33f254597accf7b59d5dbc578e0a179 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=ca18b8ffb33f254597accf7b5…
Author: Andrew Eikum <aeikum(a)codeweavers.com> Date: Tue Nov 22 09:49:44 2011 -0600 winecoreaudio.drv: Fix latency calculation. --- dlls/winecoreaudio.drv/mmdevdrv.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/dlls/winecoreaudio.drv/mmdevdrv.c b/dlls/winecoreaudio.drv/mmdevdrv.c index 1b0a39e..f0a3892 100644 --- a/dlls/winecoreaudio.drv/mmdevdrv.c +++ b/dlls/winecoreaudio.drv/mmdevdrv.c @@ -1096,6 +1096,9 @@ static HRESULT WINAPI AudioClient_GetStreamLatency(IAudioClient *iface, } latency += stream_latency; + /* pretend we process audio in Period chunks, so max latency includes + * the period time */ + latency += DefaultPeriod; *out = (latency / (double)This->fmt->nSamplesPerSec) * 10000000; OSSpinLockUnlock(&This->lock);
1
0
0
0
Jacek Caban : jscript: Use bytecode for '+' expression implementation.
by Alexandre Julliard
22 Nov '11
22 Nov '11
Module: wine Branch: master Commit: b1b0aadaab522d8ca97c31e3ac4483d65d167594 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=b1b0aadaab522d8ca97c31e3a…
Author: Jacek Caban <jacek(a)codeweavers.com> Date: Tue Nov 22 16:31:44 2011 +0100 jscript: Use bytecode for '+' expression implementation. --- dlls/jscript/compile.c | 2 ++ dlls/jscript/engine.c | 16 ++++++++++++---- dlls/jscript/engine.h | 2 +- dlls/jscript/parser.y | 2 +- 4 files changed, 16 insertions(+), 6 deletions(-) diff --git a/dlls/jscript/compile.c b/dlls/jscript/compile.c index 1bc887c..1e496a8 100644 --- a/dlls/jscript/compile.c +++ b/dlls/jscript/compile.c @@ -107,6 +107,8 @@ static HRESULT compile_interp_fallback(compiler_ctx_t *ctx, expression_t *expr) static HRESULT compile_expression(compiler_ctx_t *ctx, expression_t *expr) { switch(expr->type) { + case EXPR_ADD: + return compile_binary_expression(ctx, (binary_expression_t*)expr, OP_add); case EXPR_BITNEG: return compile_unary_expression(ctx, (unary_expression_t*)expr, OP_bneg); case EXPR_EQEQ: diff --git a/dlls/jscript/engine.c b/dlls/jscript/engine.c index 1f5863a..cbfde6d 100644 --- a/dlls/jscript/engine.c +++ b/dlls/jscript/engine.c @@ -2213,13 +2213,21 @@ static HRESULT add_eval(script_ctx_t *ctx, VARIANT *lval, VARIANT *rval, jsexcep } /* ECMA-262 3rd Edition 11.6.1 */ -HRESULT add_expression_eval(script_ctx_t *ctx, expression_t *_expr, DWORD flags, jsexcept_t *ei, exprval_t *ret) +HRESULT interp_add(exec_ctx_t *ctx) { - binary_expression_t *expr = (binary_expression_t*)_expr; + VARIANT *l, *r, ret; + HRESULT hres; - TRACE("\n"); + r = stack_pop(ctx); + l = stack_pop(ctx); + + TRACE("%s + %s\n", debugstr_variant(l), debugstr_variant(r)); + + hres = add_eval(ctx->parser->script, l, r, &ctx->ei, &ret); + if(FAILED(hres)) + return hres; - return binary_expr_eval(ctx, expr, add_eval, ei, ret); + return stack_push(ctx, &ret); } /* ECMA-262 3rd Edition 11.6.2 */ diff --git a/dlls/jscript/engine.h b/dlls/jscript/engine.h index c004af3..829274d 100644 --- a/dlls/jscript/engine.h +++ b/dlls/jscript/engine.h @@ -42,6 +42,7 @@ typedef struct _func_stack { } func_stack_t; #define OP_LIST \ + X(add, 1, 0) \ X(bneg, 1, 0) \ X(eq2, 1, 0) \ X(neg, 1, 0) \ @@ -529,7 +530,6 @@ HRESULT binary_xor_expression_eval(script_ctx_t*,expression_t*,DWORD,jsexcept_t* HRESULT binary_and_expression_eval(script_ctx_t*,expression_t*,DWORD,jsexcept_t*,exprval_t*) DECLSPEC_HIDDEN; HRESULT instanceof_expression_eval(script_ctx_t*,expression_t*,DWORD,jsexcept_t*,exprval_t*) DECLSPEC_HIDDEN; HRESULT in_expression_eval(script_ctx_t*,expression_t*,DWORD,jsexcept_t*,exprval_t*) DECLSPEC_HIDDEN; -HRESULT add_expression_eval(script_ctx_t*,expression_t*,DWORD,jsexcept_t*,exprval_t*) DECLSPEC_HIDDEN; HRESULT sub_expression_eval(script_ctx_t*,expression_t*,DWORD,jsexcept_t*,exprval_t*) DECLSPEC_HIDDEN; HRESULT mul_expression_eval(script_ctx_t*,expression_t*,DWORD,jsexcept_t*,exprval_t*) DECLSPEC_HIDDEN; HRESULT div_expression_eval(script_ctx_t*,expression_t*,DWORD,jsexcept_t*,exprval_t*) DECLSPEC_HIDDEN; diff --git a/dlls/jscript/parser.y b/dlls/jscript/parser.y index 92c79fc..98813b4 100644 --- a/dlls/jscript/parser.y +++ b/dlls/jscript/parser.y @@ -1313,7 +1313,7 @@ static const expression_eval_t expression_eval_table[] = { binary_and_expression_eval, instanceof_expression_eval, in_expression_eval, - add_expression_eval, + compiled_expression_eval, sub_expression_eval, mul_expression_eval, div_expression_eval,
1
0
0
0
Jacek Caban : jscript: Added tests of unary '+' on not existent property.
by Alexandre Julliard
22 Nov '11
22 Nov '11
Module: wine Branch: master Commit: dcca57fd87d84bef6f71a809d771d73c3719711f URL:
http://source.winehq.org/git/wine.git/?a=commit;h=dcca57fd87d84bef6f71a809d…
Author: Jacek Caban <jacek(a)codeweavers.com> Date: Tue Nov 22 16:31:29 2011 +0100 jscript: Added tests of unary '+' on not existent property. --- dlls/jscript/tests/lang.js | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/dlls/jscript/tests/lang.js b/dlls/jscript/tests/lang.js index 7cd20dd..c85907c 100644 --- a/dlls/jscript/tests/lang.js +++ b/dlls/jscript/tests/lang.js @@ -216,6 +216,10 @@ tmp = new Object(); ok((~tmp.nonexistent) === -1, "!tmp.nonexistent = " + ~tmp.nonexistent); ok(!("nonexistent" in tmp), "nonexistent is in tmp after '~' expression") +tmp = new Object(); +ok(isNaN(tmp.nonexistent), "!tmp.nonexistent = " + (+tmp.nonexistent)); +ok(!("nonexistent" in tmp), "nonexistent is in tmp after '+' expression") + tmp = 0; if(true) tmp = 1;
1
0
0
0
Alexandre Julliard : shlwapi: Convert dialogs to po files.
by Alexandre Julliard
22 Nov '11
22 Nov '11
Module: wine Branch: master Commit: 3d818c3aa83b614a9ef7a6ddb974ee2e39d31feb URL:
http://source.winehq.org/git/wine.git/?a=commit;h=3d818c3aa83b614a9ef7a6ddb…
Author: Alexandre Julliard <julliard(a)winehq.org> Date: Tue Nov 22 14:20:10 2011 +0100 shlwapi: Convert dialogs to po files. --- dlls/shlwapi/Makefile.in | 30 +--------------------- dlls/shlwapi/shlwapi.rc | 14 ++++++++++ dlls/shlwapi/shlwapi_Da.rc | 37 -------------------------- dlls/shlwapi/shlwapi_De.rc | 39 ---------------------------- dlls/shlwapi/shlwapi_En.rc | 37 -------------------------- dlls/shlwapi/shlwapi_Eo.rc | 37 -------------------------- dlls/shlwapi/shlwapi_Es.rc | 37 -------------------------- dlls/shlwapi/shlwapi_Fi.rc | 37 -------------------------- dlls/shlwapi/shlwapi_Fr.rc | 40 ---------------------------- dlls/shlwapi/shlwapi_He.rc | 41 ----------------------------- dlls/shlwapi/shlwapi_Hu.rc | 40 ---------------------------- dlls/shlwapi/shlwapi_It.rc | 39 ---------------------------- dlls/shlwapi/shlwapi_Ja.rc | 40 ---------------------------- dlls/shlwapi/shlwapi_Ko.rc | 39 ---------------------------- dlls/shlwapi/shlwapi_Lt.rc | 40 ---------------------------- dlls/shlwapi/shlwapi_Nl.rc | 37 -------------------------- dlls/shlwapi/shlwapi_No.rc | 37 -------------------------- dlls/shlwapi/shlwapi_Pl.rc | 38 --------------------------- dlls/shlwapi/shlwapi_Pt.rc | 41 ----------------------------- dlls/shlwapi/shlwapi_Ro.rc | 38 --------------------------- dlls/shlwapi/shlwapi_Ru.rc | 40 ---------------------------- dlls/shlwapi/shlwapi_Si.rc | 39 ---------------------------- dlls/shlwapi/shlwapi_Sk.rc | 37 -------------------------- dlls/shlwapi/shlwapi_Sr.rc | 56 ---------------------------------------- dlls/shlwapi/shlwapi_Sv.rc | 37 -------------------------- dlls/shlwapi/shlwapi_Tr.rc | 37 -------------------------- dlls/shlwapi/shlwapi_Uk.rc | 40 ---------------------------- dlls/shlwapi/shlwapi_Zh.rc | 56 ---------------------------------------- po/ar.po | 51 +++++++++++++++++++++++------------- po/bg.po | 52 +++++++++++++++++++++++------------- po/ca.po | 52 +++++++++++++++++++++++------------- po/cs.po | 52 +++++++++++++++++++++++------------- po/da.po | 51 +++++++++++++++++++++++------------- po/de.po | 51 +++++++++++++++++++++++------------- po/el.po | 52 +++++++++++++++++++++++------------- po/en.po | 51 +++++++++++++++++++++++------------- po/en_US.po | 51 +++++++++++++++++++++++------------- po/eo.po | 51 +++++++++++++++++++++++------------- po/es.po | 51 +++++++++++++++++++++++------------- po/fa.po | 51 +++++++++++++++++++++++------------- po/fi.po | 51 +++++++++++++++++++++++------------- po/fr.po | 51 +++++++++++++++++++++++------------- po/he.po | 51 +++++++++++++++++++++++------------- po/hi.po | 51 +++++++++++++++++++++++------------- po/hu.po | 51 +++++++++++++++++++++++------------- po/it.po | 51 +++++++++++++++++++++++------------- po/ja.po | 51 +++++++++++++++++++++++------------- po/ko.po | 51 +++++++++++++++++++++++------------- po/lt.po | 51 +++++++++++++++++++++++------------- po/ml.po | 51 +++++++++++++++++++++++------------- po/nb_NO.po | 51 +++++++++++++++++++++++------------- po/nl.po | 51 +++++++++++++++++++++++------------- po/or.po | 51 +++++++++++++++++++++++------------- po/pa.po | 51 +++++++++++++++++++++++------------- po/pl.po | 51 +++++++++++++++++++++++------------- po/pt_BR.po | 51 +++++++++++++++++++++++------------- po/pt_PT.po | 51 +++++++++++++++++++++++------------- po/rm.po | 51 +++++++++++++++++++++++------------- po/ro.po | 51 +++++++++++++++++++++++------------- po/ru.po | 51 +++++++++++++++++++++++------------- po/sk.po | 51 +++++++++++++++++++++++------------- po/sl.po | 51 +++++++++++++++++++++++------------- po/sr_RS(a)cyrillic.po | 51 +++++++++++++++++++++++------------- po/sr_RS(a)latin.po | 51 +++++++++++++++++++++++------------- po/sv.po | 51 +++++++++++++++++++++++------------- po/te.po | 51 +++++++++++++++++++++++------------- po/th.po | 52 +++++++++++++++++++++++------------- po/tr.po | 51 +++++++++++++++++++++++------------- po/uk.po | 51 +++++++++++++++++++++++------------- po/wa.po | 51 +++++++++++++++++++++++------------- po/wine.pot | 51 +++++++++++++++++++++++------------- po/zh_CN.po | 51 +++++++++++++++++++++++------------- po/zh_TW.po | 61 ++++++++++++++++++++++++++----------------- 73 files changed, 1465 insertions(+), 1925 deletions(-) Diff:
http://source.winehq.org/git/wine.git/?a=commitdiff;h=3d818c3aa83b614a9ef7a…
1
0
0
0
Alexandre Julliard : browseui: Make sure that common controls are loaded before creating the dialog.
by Alexandre Julliard
22 Nov '11
22 Nov '11
Module: wine Branch: master Commit: 01593894846537244d938cbbf1c746d5db970efe URL:
http://source.winehq.org/git/wine.git/?a=commit;h=01593894846537244d938cbbf…
Author: Alexandre Julliard <julliard(a)winehq.org> Date: Tue Nov 22 14:15:23 2011 +0100 browseui: Make sure that common controls are loaded before creating the dialog. --- dlls/browseui/Makefile.in | 2 +- dlls/browseui/progressdlg.c | 3 +++ 2 files changed, 4 insertions(+), 1 deletions(-) diff --git a/dlls/browseui/Makefile.in b/dlls/browseui/Makefile.in index 102b9e6..b463cd7 100644 --- a/dlls/browseui/Makefile.in +++ b/dlls/browseui/Makefile.in @@ -1,5 +1,5 @@ MODULE = browseui.dll -IMPORTS = uuid ole32 user32 advapi32 +IMPORTS = uuid ole32 comctl32 user32 advapi32 EXTRADEFS = -DCOM_NO_WINDOWS_H C_SRCS = \ diff --git a/dlls/browseui/progressdlg.c b/dlls/browseui/progressdlg.c index 2de858c..9b970e2 100644 --- a/dlls/browseui/progressdlg.c +++ b/dlls/browseui/progressdlg.c @@ -304,6 +304,7 @@ static ULONG WINAPI ProgressDialog_Release(IProgressDialog *iface) static HRESULT WINAPI ProgressDialog_StartProgressDialog(IProgressDialog *iface, HWND hwndParent, IUnknown *punkEnableModeless, DWORD dwFlags, LPCVOID reserved) { + static const INITCOMMONCONTROLSEX init = { sizeof(init), ICC_ANIMATE_CLASS }; ProgressDialog *This = impl_from_IProgressDialog(iface); struct create_params params; HANDLE hThread; @@ -316,6 +317,8 @@ static HRESULT WINAPI ProgressDialog_StartProgressDialog(IProgressDialog *iface, if (dwFlags & PROGDLG_NOTIME) FIXME("Flags PROGDLG_NOTIME not supported\n"); + InitCommonControlsEx( &init ); + EnterCriticalSection(&This->cs); if (This->hwnd)
1
0
0
0
← Newer
1
...
19
20
21
22
23
24
25
...
86
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
Results per page:
10
25
50
100
200