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
August 2006
----- 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
5 participants
746 discussions
Start a n
N
ew thread
Kai Blin : secur32: Move NTLM tests to ntlm.c to avoid cluttering main. c with NTLM-specific tests.
by Alexandre Julliard
09 Aug '06
09 Aug '06
Module: wine Branch: refs/heads/master Commit: c62193266d30dff4ae5e14fb6ad9996f615d2cba URL:
http://source.winehq.org/git/?p=wine.git;a=commit;h=c62193266d30dff4ae5e14f…
Author: Kai Blin <kai.blin(a)gmail.com> Date: Tue Aug 8 16:23:19 2006 +0200 secur32: Move NTLM tests to ntlm.c to avoid cluttering main.c with NTLM-specific tests. --- dlls/secur32/tests/Makefile.in | 1 dlls/secur32/tests/main.c | 438 --------------------------- dlls/secur32/tests/ntlm.c | 659 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 660 insertions(+), 438 deletions(-) create mode 100644 dlls/secur32/tests/ntlm.c Diff:
http://source.winehq.org/git/?p=wine.git;a=commitdiff;h=c62193266d30dff4ae5…
1
0
0
0
Juan Lang : rsaenh: Test and fix CryptEncrypt with NULL buffer.
by Alexandre Julliard
08 Aug '06
08 Aug '06
Module: wine Branch: refs/heads/master Commit: e64999426273366d3e4ff3d18290c4d5640c875f URL:
http://source.winehq.org/git/?p=wine.git;a=commit;h=e64999426273366d3e4ff3d…
Author: Juan Lang <juan_lang(a)yahoo.com> Date: Tue Aug 8 09:47:32 2006 -0700 rsaenh: Test and fix CryptEncrypt with NULL buffer. --- dlls/rsaenh/rsaenh.c | 8 ++++++++ dlls/rsaenh/tests/rsaenh.c | 17 +++++++++++++++++ 2 files changed, 25 insertions(+), 0 deletions(-) diff --git a/dlls/rsaenh/rsaenh.c b/dlls/rsaenh/rsaenh.c index 02e3e6e..eafc92c 100644 --- a/dlls/rsaenh/rsaenh.c +++ b/dlls/rsaenh/rsaenh.c @@ -1940,12 +1940,20 @@ BOOL WINAPI RSAENH_CPEncrypt(HCRYPTPROV memcpy(in, out, pCryptKey->dwBlockLen); } } else if (GET_ALG_TYPE(pCryptKey->aiAlgid) == ALG_TYPE_STREAM) { + if (pbData == NULL) { + *pdwDataLen = dwBufLen; + return TRUE; + } encrypt_stream_impl(pCryptKey->aiAlgid, &pCryptKey->context, pbData, *pdwDataLen); } else if (GET_ALG_TYPE(pCryptKey->aiAlgid) == ALG_TYPE_RSA) { if (pCryptKey->aiAlgid == CALG_RSA_SIGN) { SetLastError(NTE_BAD_KEY); return FALSE; } + if (!pbData) { + *pdwDataLen = pCryptKey->dwBlockLen; + return TRUE; + } if (dwBufLen < pCryptKey->dwBlockLen) { SetLastError(ERROR_MORE_DATA); return FALSE; diff --git a/dlls/rsaenh/tests/rsaenh.c b/dlls/rsaenh/tests/rsaenh.c index 01cbb0c..90caeb4 100644 --- a/dlls/rsaenh/tests/rsaenh.c +++ b/dlls/rsaenh/tests/rsaenh.c @@ -303,6 +303,11 @@ static void test_block_cipher_modes(void result = CryptSetKeyParam(hKey, KP_MODE, (BYTE*)&dwMode, 0); ok(result, "%08lx\n", GetLastError()); + dwLen = 23; + result = CryptEncrypt(hKey, (HCRYPTHASH)NULL, TRUE, 0, NULL, &dwLen, 24); + ok(result, "CryptEncrypt failed: %08lx\n", GetLastError()); + ok(dwLen == 24, "Unexpected length %ld\n", dwLen); + SetLastError(ERROR_SUCCESS); dwLen = 23; result = CryptEncrypt(hKey, (HCRYPTHASH)NULL, TRUE, 0, abData, &dwLen, 24); @@ -318,6 +323,11 @@ static void test_block_cipher_modes(void ok(result, "%08lx\n", GetLastError()); dwLen = 23; + result = CryptEncrypt(hKey, (HCRYPTHASH)NULL, TRUE, 0, NULL, &dwLen, 24); + ok(result, "CryptEncrypt failed: %08lx\n", GetLastError()); + ok(dwLen == 24, "Unexpected length %ld\n", dwLen); + + dwLen = 23; result = CryptEncrypt(hKey, (HCRYPTHASH)NULL, TRUE, 0, abData, &dwLen, 24); ok(result && dwLen == 24 && !memcmp(cbc, abData, sizeof(cbc)), "%08lx, dwLen: %ld\n", GetLastError(), dwLen); @@ -596,6 +606,9 @@ static void test_rc4(void) ok(result, "%08lx\n", GetLastError()); dwDataLen = 16; + result = CryptEncrypt(hKey, (HCRYPTHASH)NULL, TRUE, 0, NULL, &dwDataLen, 24); + ok(result, "%08lx\n", GetLastError()); + dwDataLen = 16; result = CryptEncrypt(hKey, (HCRYPTHASH)NULL, TRUE, 0, pbData, &dwDataLen, 24); ok(result, "%08lx\n", GetLastError()); @@ -1105,6 +1118,10 @@ static void test_rsa_encrypt(void) if (!result) return; dwLen = 12; + result = CryptEncrypt(hRSAKey, 0, TRUE, 0, NULL, &dwLen, (DWORD)sizeof(abData)); + ok(result, "CryptEncrypt failed: %08lx\n", GetLastError()); + ok(dwLen == 128, "Unexpected length %ld\n", dwLen); + dwLen = 12; result = CryptEncrypt(hRSAKey, 0, TRUE, 0, abData, &dwLen, (DWORD)sizeof(abData)); ok (result, "%08lx\n", GetLastError()); if (!result) return;
1
0
0
0
Jeff Latimer : usp10: ScriptItemize will break up the string into script_items.
by Alexandre Julliard
08 Aug '06
08 Aug '06
Module: wine Branch: refs/heads/master Commit: ff421fde8e88243b8d78e26969a6e4e86c463de9 URL:
http://source.winehq.org/git/?p=wine.git;a=commit;h=ff421fde8e88243b8d78e26…
Author: Jeff Latimer <lats(a)yless4u.com.au> Date: Tue Aug 8 18:57:37 2006 +1000 usp10: ScriptItemize will break up the string into script_items. --- dlls/usp10/tests/usp10.c | 50 +++++++++++++ dlls/usp10/usp10.c | 171 +++++++++++++++++++++++++++++++++------------- 2 files changed, 173 insertions(+), 48 deletions(-) Diff:
http://source.winehq.org/git/?p=wine.git;a=commitdiff;h=ff421fde8e88243b8d7…
1
0
0
0
Francois Gouget : configure: Fix the linux/ipx.h detection.
by Alexandre Julliard
08 Aug '06
08 Aug '06
Module: wine Branch: refs/heads/master Commit: faf05dfd3bff183b896a891b6be29a6f7c235536 URL:
http://source.winehq.org/git/?p=wine.git;a=commit;h=faf05dfd3bff183b896a891…
Author: Francois Gouget <fgouget(a)codeweavers.com> Date: Mon Aug 7 21:52:36 2006 +0200 configure: Fix the linux/ipx.h detection. --- configure | 85 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++- configure.ac | 11 +++++++- 2 files changed, 93 insertions(+), 3 deletions(-) diff --git a/configure b/configure index a3c54e0..0e6e1e0 100755 --- a/configure +++ b/configure @@ -8844,6 +8844,88 @@ done +for ac_header in linux/ipx.h +do +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +{ echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <sys/types.h> + #ifdef HAVE_ASM_TYPES_H + # include <asm/types.h> + #endif + #if HAVE_SYS_SOCKET_H + # include <sys/socket.h> + #endif + +#include <$ac_header> +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_Header=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + eval "$as_ac_Header=no" +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +ac_res=`eval echo '${'$as_ac_Header'}'` + { echo "$as_me:$LINENO: result: $ac_res" >&5 +echo "${ECHO_T}$ac_res" >&6; } +if test `eval echo '${'$as_ac_Header'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + + for ac_header in resolv.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` @@ -9005,8 +9087,7 @@ done - -for ac_header in linux/ipx.h linux/videodev.h +for ac_header in linux/videodev.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` { echo "$as_me:$LINENO: checking for $ac_header" >&5 diff --git a/configure.ac b/configure.ac index daa79fa..de3151b 100644 --- a/configure.ac +++ b/configure.ac @@ -283,6 +283,15 @@ AC_CHECK_HEADERS([net/if.h net/if_arp.h # include <sys/socket.h> #endif]) +AC_CHECK_HEADERS([linux/ipx.h],,, + [#include <sys/types.h> + #ifdef HAVE_ASM_TYPES_H + # include <asm/types.h> + #endif + #if HAVE_SYS_SOCKET_H + # include <sys/socket.h> + #endif]) + AC_CHECK_HEADERS([resolv.h],,, [#include <sys/types.h> #if HAVE_SYS_SOCKET_H @@ -297,7 +306,7 @@ AC_CHECK_HEADERS([resolv.h],,, AC_CHECK_HEADERS(ucontext.h,,,[#include <signal.h>]) -AC_CHECK_HEADERS([linux/ipx.h linux/videodev.h],,, +AC_CHECK_HEADERS([linux/videodev.h],,, [#ifdef HAVE_SYS_TIME_H #include <sys/time.h> #endif
1
0
0
0
Roderick Colenbrander : wined3d: Volume texture addressing caps.
by Alexandre Julliard
08 Aug '06
08 Aug '06
Module: wine Branch: refs/heads/master Commit: c856432fab7399ad2d243dab868b8f0b68c89cce URL:
http://source.winehq.org/git/?p=wine.git;a=commit;h=c856432fab7399ad2d243da…
Author: Roderick Colenbrander <thunderbird2k(a)gmx.net> Date: Tue Aug 8 17:50:33 2006 +0200 wined3d: Volume texture addressing caps. --- dlls/wined3d/directx.c | 16 +++++++++++++++- 1 files changed, 15 insertions(+), 1 deletions(-) diff --git a/dlls/wined3d/directx.c b/dlls/wined3d/directx.c index 9bc7e71..7720723 100644 --- a/dlls/wined3d/directx.c +++ b/dlls/wined3d/directx.c @@ -1917,7 +1917,21 @@ #endif *pCaps->TextureAddressCaps |= D3DPTADDRESSCAPS_MIRRORONCE; } - *pCaps->VolumeTextureAddressCaps = 0; + if (GL_SUPPORT(EXT_TEXTURE3D)) { + *pCaps->VolumeTextureAddressCaps = D3DPTADDRESSCAPS_INDEPENDENTUV | + D3DPTADDRESSCAPS_CLAMP | + D3DPTADDRESSCAPS_WRAP; + if (GL_SUPPORT(ARB_TEXTURE_BORDER_CLAMP)) { + *pCaps->VolumeTextureAddressCaps |= D3DPTADDRESSCAPS_BORDER; + } + if (GL_SUPPORT(ARB_TEXTURE_MIRRORED_REPEAT)) { + *pCaps->VolumeTextureAddressCaps |= D3DPTADDRESSCAPS_MIRROR; + } + if (GL_SUPPORT(ATI_TEXTURE_MIRROR_ONCE)) { + *pCaps->VolumeTextureAddressCaps |= D3DPTADDRESSCAPS_MIRRORONCE; + } + } else + *pCaps->VolumeTextureAddressCaps = 0; *pCaps->LineCaps = D3DLINECAPS_TEXTURE | D3DLINECAPS_ZTEST;
1
0
0
0
Roderick Colenbrander : wined3d: Shader declaration cap fixes.
by Alexandre Julliard
08 Aug '06
08 Aug '06
Module: wine Branch: refs/heads/master Commit: eba1f90ef6f4292592b75e4771eda960de19c3ff URL:
http://source.winehq.org/git/?p=wine.git;a=commit;h=eba1f90ef6f4292592b75e4…
Author: Roderick Colenbrander <thunderbird2k(a)gmx.net> Date: Tue Aug 8 17:46:03 2006 +0200 wined3d: Shader declaration cap fixes. --- dlls/wined3d/directx.c | 21 ++++++++++++++++++--- 1 files changed, 18 insertions(+), 3 deletions(-) diff --git a/dlls/wined3d/directx.c b/dlls/wined3d/directx.c index dca813e..9bc7e71 100644 --- a/dlls/wined3d/directx.c +++ b/dlls/wined3d/directx.c @@ -2031,7 +2031,7 @@ #endif WINED3DVTXPCAPS_VERTEXFOG | WINED3DVTXPCAPS_TEXGEN; /* FIXME: Add - D3DVTXPCAPS_TWEENING */ + D3DVTXPCAPS_TWEENING, D3DVTXPCAPS_TEXGEN_SPHEREMAP */ *pCaps->MaxPrimitiveCount = 0xFFFFF; /* For now set 2^20-1 which is used by most >=Geforce3/Radeon8500 cards */ *pCaps->MaxVertexIndex = 0xFFFFF; @@ -2095,12 +2095,27 @@ #endif GLint max_buffers = 1; FIXME("Caps support for directx9 is nonexistent at the moment!\n"); *pCaps->DevCaps2 = 0; - /* TODO: D3DDEVCAPS2_CAN_STRETCHRECT_FROM_TEXTURES */ + /* TODO: D3DDEVCAPS2_CAN_STRETCHRECT_FROM_TEXTURES and VS3.0 needs atleast D3DDEVCAPS2_VERTEXELEMENTSCANSHARESTREAMOFFSET */ *pCaps->MaxNpatchTessellationLevel = 0; *pCaps->MasterAdapterOrdinal = 0; *pCaps->AdapterOrdinalInGroup = 0; *pCaps->NumberOfAdaptersInGroup = 1; - *pCaps->DeclTypes = 0; + + if(*pCaps->VertexShaderVersion >= D3DVS_VERSION(2,0)) { + /* OpenGL supports all formats below perhaps not allways without conversion but it supports them. + Further GLSL doesn't seem to have an official unsigned type as I'm not sure how we handle it + don't advertise iet yet. We might need to add some clamping in the shader engine to support it. + TODO: D3DDTCAPS_USHORT2N, D3DDTCAPS_USHORT4N, D3DDTCAPS_UDEC3, D3DDTCAPS_DEC3N */ + *pCaps->DeclTypes = D3DDTCAPS_UBYTE4 | + D3DDTCAPS_UBYTE4N | + D3DDTCAPS_SHORT2N | + D3DDTCAPS_SHORT4N | + D3DDTCAPS_FLOAT16_2 | + D3DDTCAPS_FLOAT16_4; + + } else + *pCaps->DeclTypes = 0; + #if 0 /*FIXME: Simultaneous render targets*/ GL_MAX_DRAW_BUFFERS_ATI 0x00008824 if (GL_SUPPORT(GL_MAX_DRAW_BUFFERS_ATI)) {
1
0
0
0
Matt Finnicum : riched20: Modify ME_CharFromPoint to work properly with password controls.
by Alexandre Julliard
08 Aug '06
08 Aug '06
Module: wine Branch: refs/heads/master Commit: cba3b122ed952f0569ca0e68ae202c09a0721940 URL:
http://source.winehq.org/git/?p=wine.git;a=commit;h=cba3b122ed952f0569ca0e6…
Author: Matt Finnicum <mattfinn(a)gmail.com> Date: Tue Aug 8 11:55:08 2006 -0400 riched20: Modify ME_CharFromPoint to work properly with password controls. --- dlls/riched20/run.c | 16 ++++++++++++++-- 1 files changed, 14 insertions(+), 2 deletions(-) diff --git a/dlls/riched20/run.c b/dlls/riched20/run.c index d74d68f..f9b1ef6 100644 --- a/dlls/riched20/run.c +++ b/dlls/riched20/run.c @@ -512,8 +512,20 @@ int ME_CharFromPoint(ME_TextEditor *edit } hDC = GetDC(editor->hWnd); hOldFont = ME_SelectStyleFont(editor, hDC, run->style); - GetTextExtentExPointW(hDC, run->strText->szData, run->strText->nLen, - cx, &fit, NULL, &sz); + + if (editor->cPasswordMask) + { + ME_String *strMasked = ME_MakeStringR(editor->cPasswordMask,ME_StrVLen(run->strText)); + GetTextExtentExPointW(hDC, strMasked->szData, run->strText->nLen, + cx, &fit, NULL, &sz); + ME_DestroyString(strMasked); + } + else + { + GetTextExtentExPointW(hDC, run->strText->szData, run->strText->nLen, + cx, &fit, NULL, &sz); + } + ME_UnselectStyleFont(editor, hDC, run->style, hOldFont); ReleaseDC(editor->hWnd, hDC); return fit;
1
0
0
0
Samuel Lidén Borell : mshtml: Add Swedish translation.
by Alexandre Julliard
08 Aug '06
08 Aug '06
Module: wine Branch: refs/heads/master Commit: 1209e6691b384178d96fdca6e6c5156c92b7d964 URL:
http://source.winehq.org/git/?p=wine.git;a=commit;h=1209e6691b384178d96fdca…
Author: Samuel Lidén Borell <samuellb(a)bredband.net> Date: Tue Aug 8 15:33:45 2006 +0200 mshtml: Add Swedish translation. --- dlls/mshtml/Sv.rc | 259 +++++++++++++++++++++++++++++++++++++++++++++++++++ dlls/mshtml/rsrc.rc | 1 2 files changed, 260 insertions(+), 0 deletions(-) create mode 100644 dlls/mshtml/Sv.rc Diff:
http://source.winehq.org/git/?p=wine.git;a=commitdiff;h=1209e6691b384178d96…
1
0
0
0
Roderick Colenbrander : wined3d: Shader cap fixes.
by Alexandre Julliard
08 Aug '06
08 Aug '06
Module: wine Branch: refs/heads/master Commit: 194cdfa4b01bb5876829f3ec4b583326531be098 URL:
http://source.winehq.org/git/?p=wine.git;a=commit;h=194cdfa4b01bb5876829f3e…
Author: Roderick Colenbrander <thunderbird2k(a)gmx.net> Date: Tue Aug 8 10:57:15 2006 +0200 wined3d: Shader cap fixes. --- dlls/wined3d/directx.c | 118 ++++++++++++++++++++++++++++++++++++++++----- include/wine/wined3d_gl.h | 4 ++ 2 files changed, 110 insertions(+), 12 deletions(-) Diff:
http://source.winehq.org/git/?p=wine.git;a=commitdiff;h=194cdfa4b01bb587682…
1
0
0
0
Robert Shearman : user: Make ExitWindowsEx asynchronous by deferring the real work to the explorer process .
by Alexandre Julliard
08 Aug '06
08 Aug '06
Module: wine Branch: refs/heads/master Commit: b550f34f2e1ef3e73d21dfe87fbb2d7b3d49fb14 URL:
http://source.winehq.org/git/?p=wine.git;a=commit;h=b550f34f2e1ef3e73d21dfe…
Author: Robert Shearman <rob(a)codeweavers.com> Date: Fri Aug 4 17:28:04 2006 +0100 user: Make ExitWindowsEx asynchronous by deferring the real work to the explorer process. --- dlls/user/user_main.c | 13 ++++++++++++- programs/explorer/desktop.c | 7 +++++++ 2 files changed, 19 insertions(+), 1 deletions(-) diff --git a/dlls/user/user_main.c b/dlls/user/user_main.c index 70ec9fc..743bded 100644 --- a/dlls/user/user_main.c +++ b/dlls/user/user_main.c @@ -411,6 +411,18 @@ BOOL WINAPI ExitWindowsEx( UINT flags, D { TRACE("(%x,%lx)\n", flags, reason); + if (!WIN_IsCurrentThread( GetDesktopWindow() )) + { + BOOL ret = PostMessageW( GetDesktopWindow(), WM_USER + 666, + MAKEWPARAM( flags, 0xbabe ), reason); + if (ret) + return TRUE; + /* this can happen if explorer hasn't been started or created the + * desktop window yet */ + WARN("PostMessage failed with error %ld\n", GetLastError()); + /* fall through to doing it in the same process */ + } + if ((flags & EWX_FORCE) == 0) { HWND *list; @@ -468,6 +480,5 @@ BOOL WINAPI ExitWindowsEx( UINT flags, D MESSAGE("wine: Failed to start wineboot\n"); } - ExitProcess(0); return TRUE; } diff --git a/programs/explorer/desktop.c b/programs/explorer/desktop.c index 67025b8..d4db46d 100644 --- a/programs/explorer/desktop.c +++ b/programs/explorer/desktop.c @@ -62,6 +62,13 @@ static LRESULT WINAPI desktop_wnd_proc( } return 0; + /* simple check to prevent applications accidentally triggering the + * ExitWindowsEx code if they send random messages to the desktop window */ + case WM_USER + 666: + if (HIWORD(wp) == 0xbabe) + return ExitWindowsEx( LOWORD(wp), lp ); + return DefWindowProcW( hwnd, message, wp, lp ); + default: return DefWindowProcW( hwnd, message, wp, lp ); }
1
0
0
0
← Newer
1
...
52
53
54
55
56
57
58
...
75
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
Results per page:
10
25
50
100
200