winehq.org
Sign In
Sign Up
Sign In
Sign Up
Manage this list
×
Keyboard Shortcuts
Thread View
j
: Next unread message
k
: Previous unread message
j a
: Jump to all threads
j l
: Jump to MailingList overview
2025
February
January
2024
December
November
October
September
August
July
June
May
April
March
February
January
2023
December
November
October
September
August
July
June
May
April
March
February
January
2022
December
November
October
September
August
July
June
May
April
March
February
January
2021
December
November
October
September
August
July
June
May
April
March
February
January
2020
December
November
October
September
August
July
June
May
April
March
February
January
2019
December
November
October
September
August
July
June
May
April
March
February
January
2018
December
November
October
September
August
July
June
May
April
March
February
January
2017
December
November
October
September
August
July
June
May
April
March
February
January
2016
December
November
October
September
August
July
June
May
April
March
February
January
2015
December
November
October
September
August
July
June
May
April
March
February
January
2014
December
November
October
September
August
July
June
May
April
March
February
January
2013
December
November
October
September
August
July
June
May
April
March
February
January
2012
December
November
October
September
August
July
June
May
April
March
February
January
2011
December
November
October
September
August
July
June
May
April
March
February
January
2010
December
November
October
September
August
July
June
May
April
March
February
January
2009
December
November
October
September
August
July
June
May
April
March
February
January
2008
December
November
October
September
August
July
June
May
April
March
February
January
2007
December
November
October
September
August
July
June
May
April
March
February
January
2006
December
November
October
September
August
July
June
May
April
March
February
January
2005
December
November
October
September
August
July
June
May
April
March
February
January
2004
December
November
October
September
August
July
June
May
April
March
February
January
2003
December
November
October
September
August
July
June
May
April
March
February
January
2002
December
November
October
September
August
July
June
May
April
March
February
January
2001
December
November
October
September
August
July
June
May
April
March
February
List overview
wine-commits
April 2010
----- 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
898 discussions
Start a n
N
ew thread
Detlef Riekenberg : msvcr70: Sync exports to current msvcrt.
by Alexandre Julliard
28 Apr '10
28 Apr '10
Module: wine Branch: master Commit: 6f79f3a27a52b630eb725ecc8565c29ed2e6d04e URL:
http://source.winehq.org/git/wine.git/?a=commit;h=6f79f3a27a52b630eb725ecc8…
Author: Detlef Riekenberg <wine.dev(a)web.de> Date: Wed Apr 28 17:35:06 2010 +0200 msvcr70: Sync exports to current msvcrt. --- dlls/msvcr70/msvcr70.spec | 6 +++--- dlls/msvcr71/msvcr71.spec | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/dlls/msvcr70/msvcr70.spec b/dlls/msvcr70/msvcr70.spec index b5934fa..866d49a 100644 --- a/dlls/msvcr70/msvcr70.spec +++ b/dlls/msvcr70/msvcr70.spec @@ -570,8 +570,8 @@ @ cdecl _wcsnset(wstr long long) msvcrt._wcsnset @ cdecl _wcsrev(wstr) msvcrt._wcsrev @ cdecl _wcsset(wstr long) msvcrt._wcsset -@ stub _wcstoi64 -@ stub _wcstoui64 +@ cdecl _wcstoi64(wstr ptr long) msvcrt._wcstoi64 +@ cdecl _wcstoui64(wstr ptr long) msvcrt._wcstoui64 @ cdecl _wcsupr(wstr) msvcrt._wcsupr @ cdecl _wctime(ptr) msvcrt._wctime @ cdecl _wctime64(ptr) msvcrt._wctime64 @@ -634,7 +634,7 @@ @ cdecl _wsystem(wstr) msvcrt._wsystem @ cdecl _wtempnam(wstr wstr) msvcrt._wtempnam @ stub _wtmpnam -@ stub _wtof +@ cdecl _wtof(wstr) msvcrt._wtof @ cdecl _wtoi(wstr) msvcrt._wtoi @ cdecl _wtoi64(wstr) msvcrt._wtoi64 @ cdecl _wtol(wstr) msvcrt._wtol diff --git a/dlls/msvcr71/msvcr71.spec b/dlls/msvcr71/msvcr71.spec index 8012cfd..20240e0 100644 --- a/dlls/msvcr71/msvcr71.spec +++ b/dlls/msvcr71/msvcr71.spec @@ -566,8 +566,8 @@ @ cdecl _wcsnset(wstr long long) msvcrt._wcsnset @ cdecl _wcsrev(wstr) msvcrt._wcsrev @ cdecl _wcsset(wstr long) msvcrt._wcsset -@ stub _wcstoi64 -@ stub _wcstoui64 +@ cdecl _wcstoi64(wstr ptr long) msvcrt._wcstoi64 +@ cdecl _wcstoui64(wstr ptr long) msvcrt._wcstoui64 @ cdecl _wcsupr(wstr) msvcrt._wcsupr @ cdecl _wctime(ptr) msvcrt._wctime @ cdecl _wctime64(ptr) msvcrt._wctime64 @@ -630,7 +630,7 @@ @ cdecl _wsystem(wstr) msvcrt._wsystem @ cdecl _wtempnam(wstr wstr) msvcrt._wtempnam @ cdecl _wtmpnam(ptr) msvcrt._wtmpnam -@ stub _wtof +@ cdecl _wtof(wstr) msvcrt._wtof @ cdecl _wtoi(wstr) msvcrt._wtoi @ cdecl _wtoi64(wstr) msvcrt._wtoi64 @ cdecl _wtol(wstr) msvcrt._wtol
1
0
0
0
Detlef Riekenberg : msvcr90: Sync exports to current msvcrt exports.
by Alexandre Julliard
28 Apr '10
28 Apr '10
Module: wine Branch: master Commit: 747df00ea8aee2a2433fcf52b0c826f53ffaf938 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=747df00ea8aee2a2433fcf52b…
Author: Detlef Riekenberg <wine.dev(a)web.de> Date: Wed Apr 28 17:32:34 2010 +0200 msvcr90: Sync exports to current msvcrt exports. --- dlls/msvcr90/msvcr90.spec | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/msvcr90/msvcr90.spec b/dlls/msvcr90/msvcr90.spec index ea3e534..2f2f275 100644 --- a/dlls/msvcr90/msvcr90.spec +++ b/dlls/msvcr90/msvcr90.spec @@ -398,11 +398,11 @@ @ cdecl _findclose(long) msvcrt._findclose @ stub _findfirst32 @ stub _findfirst32i64 -@ stub _findfirst64 +@ cdecl _findfirst64(str ptr) msvcrt._findfirst64 @ stub _findfirst64i32 @ stub _findnext32 @ stub _findnext32i64 -@ stub _findnext64 +@ cdecl _findnext64(long ptr) msvcrt._findnext64 @ stub _findnext64i32 @ cdecl _finite( double ) msvcrt._finite @ cdecl _flsbuf(long ptr) msvcrt._flsbuf
1
0
0
0
Detlef Riekenberg : msvcr80: Sync exports to current msvcrt exports.
by Alexandre Julliard
28 Apr '10
28 Apr '10
Module: wine Branch: master Commit: 86b234983d2f67452064853f028f858afd1ee8d2 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=86b234983d2f67452064853f0…
Author: Detlef Riekenberg <wine.dev(a)web.de> Date: Wed Apr 28 17:32:34 2010 +0200 msvcr80: Sync exports to current msvcrt exports. --- dlls/msvcr80/msvcr80.spec | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/msvcr80/msvcr80.spec b/dlls/msvcr80/msvcr80.spec index 3866dc6..f3d74c8 100644 --- a/dlls/msvcr80/msvcr80.spec +++ b/dlls/msvcr80/msvcr80.spec @@ -406,11 +406,11 @@ @ cdecl _findclose(long) msvcrt._findclose @ stub _findfirst32 @ stub _findfirst32i64 -@ stub _findfirst64 +@ cdecl _findfirst64(str ptr) msvcrt._findfirst64 @ stub _findfirst64i32 @ stub _findnext32 @ stub _findnext32i64 -@ stub _findnext64 +@ cdecl _findnext64(long ptr) msvcrt._findnext64 @ stub _findnext64i32 @ cdecl _finite( double ) msvcrt._finite @ cdecl _flsbuf(long ptr) msvcrt._flsbuf
1
0
0
0
Aric Stewart : usp10/test: Restructure test_ScriptItemize to make the test easier to manage and expand .
by Alexandre Julliard
28 Apr '10
28 Apr '10
Module: wine Branch: master Commit: d979afc4c81fa474e08e730986f49c650daafaa8 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=d979afc4c81fa474e08e73098…
Author: Aric Stewart <aric(a)codeweavers.com> Date: Wed Apr 28 09:30:12 2010 -0500 usp10/test: Restructure test_ScriptItemize to make the test easier to manage and expand. --- dlls/usp10/tests/usp10.c | 494 ++++++++++------------------------------------ 1 files changed, 103 insertions(+), 391 deletions(-) Diff:
http://source.winehq.org/git/wine.git/?a=commitdiff;h=d979afc4c81fa474e08e7…
1
0
0
0
Ilya Shpigor : wineps.drv: Start a new current path in PSDRV_PolyPolygon.
by Alexandre Julliard
28 Apr '10
28 Apr '10
Module: wine Branch: master Commit: d1971a458bbeee1f56e8ee2ac4e3bc4681c06d63 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=d1971a458bbeee1f56e8ee2ac…
Author: Ilya Shpigor <shpigor(a)etersoft.ru> Date: Mon Apr 26 14:12:16 2010 +0400 wineps.drv: Start a new current path in PSDRV_PolyPolygon. --- dlls/wineps.drv/graphics.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/dlls/wineps.drv/graphics.c b/dlls/wineps.drv/graphics.c index e9c66d2..16a4482 100644 --- a/dlls/wineps.drv/graphics.c +++ b/dlls/wineps.drv/graphics.c @@ -396,6 +396,7 @@ BOOL CDECL PSDRV_PolyPolygon( PSDRV_PDEVICE *physDev, const POINT* pts, const IN PSDRV_WriteSpool(physDev, "%PolyPolygon\n",13); PSDRV_SetPen(physDev); PSDRV_SetClip(physDev); + PSDRV_WriteNewPath(physDev); for(polygon = 0; polygon < polygons; polygon++) { PSDRV_WriteMoveTo(physDev, pt->x, pt->y);
1
0
0
0
Detlef Riekenberg : control: Convert application to Unicode.
by Alexandre Julliard
28 Apr '10
28 Apr '10
Module: wine Branch: master Commit: a2a47baac0bde63d1fdefdd9a76c7e69375bcc34 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=a2a47baac0bde63d1fdefdd9a…
Author: Detlef Riekenberg <wine.dev(a)web.de> Date: Tue Apr 27 21:13:53 2010 +0200 control: Convert application to Unicode. --- programs/control/Makefile.in | 2 +- programs/control/control.c | 81 +++++++++++++++++++++++++---------------- programs/control/params.h | 42 ---------------------- 3 files changed, 50 insertions(+), 75 deletions(-) diff --git a/programs/control/Makefile.in b/programs/control/Makefile.in index f3b859b..291836b 100644 --- a/programs/control/Makefile.in +++ b/programs/control/Makefile.in @@ -4,7 +4,7 @@ TOPOBJDIR = ../.. SRCDIR = @srcdir@ VPATH = @srcdir@ MODULE = control.exe -APPMODE = -mwindows +APPMODE = -mwindows -municode IMPORTS = shell32 user32 kernel32 C_SRCS = control.c diff --git a/programs/control/control.c b/programs/control/control.c index 095d221..49f006c 100644 --- a/programs/control/control.c +++ b/programs/control/control.c @@ -1,6 +1,8 @@ /* - * Control + * Start a control panel applet or open the control panel window + * * Copyright (C) 1998 by Marcel Baur <mbaur(a)g26.ethz.ch> + * Copyright 2010 Detlef Riekenberg * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -23,48 +25,63 @@ #include <string.h> #include <windows.h> #include <shellapi.h> -#include "params.h" -extern void WINAPI Control_RunDLL(HWND hWnd, HINSTANCE hInst, LPCSTR cmd, DWORD nCmdShow); -static void launch(const char *what) +/* alphabetical list of recognized optional command line parameters */ +static const WCHAR szP_COLOR[] = {'C','O','L','O','R',0}; +static const WCHAR szP_DATETIME[] = {'D','A','T','E','/','T','I','M','E',0}; +static const WCHAR szP_DESKTOP[] = {'D','E','S','K','T','O','P',0}; +static const WCHAR szP_INTERNATIONAL[] = {'I','N','T','E','R','N','A','T','I','O','N','A','L',0}; +static const WCHAR szP_KEYBOARD[] = {'K','E','Y','B','O','A','R','D',0}; +static const WCHAR szP_MOUSE[] = {'M','O','U','S','E',0}; +static const WCHAR szP_PORTS[] = {'P','O','R','T','S',0}; +static const WCHAR szP_PRINTERS [] = {'P','R','I','N','T','E','R','S',0}; + +/* alphabetical list of appropriate commands to execute */ +static const WCHAR szC_COLOR[] = {'d','e','s','k','.','c','p','l',',',',','2',0}; +static const WCHAR szC_DATETIME[] = {'t','i','m','e','d','a','t','e','.','c','p','l',0}; +static const WCHAR szC_DESKTOP[] = {'d','e','s','k','.','c','p','l',0}; +static const WCHAR szC_FONTS[] = {'m','a','i','n','.','c','p','l',' ','@','3',0}; +static const WCHAR szC_INTERNATIONAL[] = {'i','n','t','l','.','c','p','l',0}; +static const WCHAR szC_KEYBOARD[] = {'m','a','i','n','.','c','p','l',' ','@','1',0}; +static const WCHAR szC_MOUSE[] = {'m','a','i','n','.','c','p','l',0}; +static const WCHAR szC_PORTS[] = {'s','y','s','d','m','.','c','p','l',',',',','1',0}; +static const WCHAR szC_PRINTERS[] = {'m','a','i','n','.','c','p','l',' ','@','2',0}; + + +extern void WINAPI Control_RunDLLW(HWND hWnd, HINSTANCE hInst, LPCWSTR cmd, DWORD nCmdShow); + +static void launch(LPCWSTR what) { - Control_RunDLL(GetDesktopWindow(), 0, what, SW_SHOW); + Control_RunDLLW(GetDesktopWindow(), 0, what, SW_SHOW); ExitProcess(0); } -int WINAPI WinMain(HINSTANCE hInst, HINSTANCE hPrev, LPSTR lpszCmdLine, INT nCmdShow) +int WINAPI wWinMain(HINSTANCE hInst, HINSTANCE hPrev, LPWSTR lpszCmdLine, INT nCmdShow) { - char szParams[255]; - strcpy(szParams, lpszCmdLine); - CharUpperA(szParams); - /* no parameters - pop up whole "Control Panel" by default */ - if (!*szParams) { - launch(""); - return 0; + if (!*lpszCmdLine) { + launch(lpszCmdLine); } /* check for optional parameter */ - if (!strcmp(szParams,szP_DESKTOP)) - launch(szC_DESKTOP); - if (!strcmp(szParams,szP_COLOR)) - launch(szC_COLOR); - if (!strcmp(szParams,szP_DATETIME)) - launch(szC_DATETIME); - if (!strcmp(szParams,szP_DESKTOP)) - launch(szC_DESKTOP); - if (!strcmp(szParams,szP_INTERNATIONAL)) - launch(szC_INTERNATIONAL); - if (!strcmp(szParams,szP_KEYBOARD)) - launch(szC_KEYBOARD); - if (!strcmp(szParams,szP_MOUSE)) - launch(szC_MOUSE); - if (!strcmp(szParams,szP_PORTS)) - launch(szC_PORTS); - if (!strcmp(szParams,szP_PRINTERS)) - launch(szC_PRINTERS); + if (!lstrcmpiW(lpszCmdLine,szP_COLOR)) + launch(szC_COLOR); + if (!lstrcmpiW(lpszCmdLine,szP_DATETIME)) + launch(szC_DATETIME); + if (!lstrcmpiW(lpszCmdLine,szP_DESKTOP)) + launch(szC_DESKTOP); + if (!lstrcmpiW(lpszCmdLine,szP_INTERNATIONAL)) + launch(szC_INTERNATIONAL); + if (!lstrcmpiW(lpszCmdLine,szP_KEYBOARD)) + launch(szC_KEYBOARD); + if (!lstrcmpiW(lpszCmdLine,szP_MOUSE)) + launch(szC_MOUSE); + if (!lstrcmpiW(lpszCmdLine,szP_PORTS)) + launch(szC_PORTS); + if (!lstrcmpiW(lpszCmdLine,szP_PRINTERS)) + launch(szC_PRINTERS); /* try to launch if a .cpl file is given directly */ - launch(szParams); + launch(lpszCmdLine); return 0; } diff --git a/programs/control/params.h b/programs/control/params.h deleted file mode 100644 index d7b73d3..0000000 --- a/programs/control/params.h +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Control - * Copyright (C) 1998 by Marcel Baur <mbaur(a)g26.ethz.ch> - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA - */ - -/* alphabetical list of recognized optional command line parameters */ - -#define szP_COLOR "COLOR" -#define szP_DATETIME "DATE/TIME" -#define szP_DESKTOP "DESKTOP" -#define szP_INTERNATIONAL "INTERNATIONAL" -#define szP_KEYBOARD "KEYBOARD" -#define szP_MOUSE "MOUSE" -#define szP_PORTS "PORTS" -#define szP_PRINTERS "PRINTERS" - - -/* alphabetical list of appropriate commands to execute */ - -#define szC_COLOR "desk.cpl,,2" -#define szC_DATETIME "timedate.cpl" -#define szC_DESKTOP "desk.cpl" -#define szC_FONTS "main.cpl @3" -#define szC_INTERNATIONAL "intl.cpl" -#define szC_KEYBOARD "main.cpl @1" -#define szC_MOUSE "main.cpl" -#define szC_PORTS "sysdm.cpl,,1" -#define szC_PRINTERS "main.cpl @2"
1
0
0
0
Detlef Riekenberg : dinput: Add the riid for an unsupported interface to a FIXME.
by Alexandre Julliard
28 Apr '10
28 Apr '10
Module: wine Branch: master Commit: 5a195bda98e19290d75e11e16b4ee5027c8f96a8 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=5a195bda98e19290d75e11e16…
Author: Detlef Riekenberg <wine.dev(a)web.de> Date: Tue Apr 27 23:45:43 2010 +0200 dinput: Add the riid for an unsupported interface to a FIXME. --- dlls/dinput/dinput_main.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/dinput/dinput_main.c b/dlls/dinput/dinput_main.c index 513d2c0..06971db 100644 --- a/dlls/dinput/dinput_main.c +++ b/dlls/dinput/dinput_main.c @@ -393,7 +393,7 @@ static HRESULT WINAPI IDirectInputAImpl_QueryInterface(LPDIRECTINPUT7A iface, RE return DI_OK; } - FIXME( "Unsupported interface !\n" ); + FIXME( "Unsupported interface: %s\n", debugstr_guid(riid)); return E_FAIL; }
1
0
0
0
Huw Davies : wineps.drv: MM_ISOTROPIC and MM_ANISOTROPIC should also have inverted y-transforms ( even if the page -> device mapping results in a negative y-scale).
by Alexandre Julliard
28 Apr '10
28 Apr '10
Module: wine Branch: master Commit: 5eef3594add2ba749d22f3a6d8cd515b6fe93a32 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=5eef3594add2ba749d22f3a6d…
Author: Huw Davies <huw(a)codeweavers.com> Date: Wed Apr 28 15:05:02 2010 +0100 wineps.drv: MM_ISOTROPIC and MM_ANISOTROPIC should also have inverted y-transforms (even if the page -> device mapping results in a negative y-scale). --- dlls/wineps.drv/download.c | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/dlls/wineps.drv/download.c b/dlls/wineps.drv/download.c index 8be03c9..9ad8a2c 100644 --- a/dlls/wineps.drv/download.c +++ b/dlls/wineps.drv/download.c @@ -276,8 +276,11 @@ BOOL PSDRV_WriteSetDownloadFont(PSDRV_PDEVICE *physDev) physDev->font.size.yx = ps_round(ppem * xform.eM21); physDev->font.size.yy = ps_round(ppem * xform.eM22); - if(GetMapMode(physDev->hdc) == MM_TEXT) + switch(GetMapMode(physDev->hdc)) { + case MM_TEXT: + case MM_ISOTROPIC: + case MM_ANISOTROPIC: physDev->font.size.yx *= -1; physDev->font.size.yy *= -1; }
1
0
0
0
Andrew Nguyen : kernel32/tests: Document a few FormatMessage tests which are broken on older Windows.
by Alexandre Julliard
28 Apr '10
28 Apr '10
Module: wine Branch: master Commit: cff134daf456e007635a12b388a5d45083f2ac33 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=cff134daf456e007635a12b38…
Author: Andrew Nguyen <anguyen(a)codeweavers.com> Date: Wed Apr 28 04:20:50 2010 -0500 kernel32/tests: Document a few FormatMessage tests which are broken on older Windows. --- dlls/kernel32/tests/format_msg.c | 18 ++++++++++++------ 1 files changed, 12 insertions(+), 6 deletions(-) diff --git a/dlls/kernel32/tests/format_msg.c b/dlls/kernel32/tests/format_msg.c index 1609090..25be3ac 100644 --- a/dlls/kernel32/tests/format_msg.c +++ b/dlls/kernel32/tests/format_msg.c @@ -383,7 +383,8 @@ static void test_message_from_string_wide(void) ok(r==11,"failed: r=%d\n",r); r = doitW(FORMAT_MESSAGE_FROM_STRING, fmt_1oou3oou, 0, 0, out, sizeof(out)/sizeof(WCHAR), 5, 3, 1, 6, 4, 2 ); - ok(!lstrcmpW( s_sp001sp002, out) || broken(!lstrcmpW(s_sp001004, out)), + ok(!lstrcmpW( s_sp001sp002, out) || + broken(!lstrcmpW(s_sp001004, out)), /* NT4/Win2k */ "failed out=[%s]\n", wine_dbgstr_w(out)); ok(r==12,"failed: r=%d\n",r); /* args are not counted the same way with an argument array */ @@ -404,8 +405,8 @@ static void test_message_from_string_wide(void) /* line feed */ r = doitW(FORMAT_MESSAGE_FROM_STRING | FORMAT_MESSAGE_MAX_WIDTH_MASK, fmt_hi_lf, 0, 0, out, sizeof(out)/sizeof(WCHAR)); - ok(!lstrcmpW(s_hi_sp, out) || !lstrcmpW(s_hi_crlf, out), "failed out=%s\n", wine_dbgstr_w(out)); - ok(r==3 || r==4,"failed: r=%d\n", r); + ok(!lstrcmpW(s_hi_sp, out), "failed out=%s\n", wine_dbgstr_w(out)); + ok(r==3,"failed: r=%d\n", r); /* carriage return line feed */ r = doitW(FORMAT_MESSAGE_FROM_STRING | FORMAT_MESSAGE_MAX_WIDTH_MASK, fmt_hi_crlf, 0, @@ -691,7 +692,8 @@ static void test_message_from_string(void) 0, 0, out, sizeof(out), 5, 3, 1, 6, 4, 2 ); /* older Win versions marked as broken even though this is arguably the correct behavior */ /* but the new (brain-damaged) behavior is specified on MSDN */ - ok(!strcmp( " 001, 0002", out) || broken(!strcmp(" 001,000004", out)), + ok(!strcmp( " 001, 0002", out) || + broken(!strcmp(" 001,000004", out)), /* NT4/Win2k */ "failed out=[%s]\n",out); ok(r==12,"failed: r=%d\n",r); /* args are not counted the same way with an argument array */ @@ -713,8 +715,12 @@ static void test_message_from_string(void) /* line feed */ r = doit(FORMAT_MESSAGE_FROM_STRING | FORMAT_MESSAGE_MAX_WIDTH_MASK, "hi\n", 0, 0, out, sizeof(out)/sizeof(CHAR)); - ok(!strcmp("hi ", out) || !strcmp("hi\r\n", out),"failed out=[%s]\n",out); - ok(r==3 || r==4,"failed: r=%d\n",r); + ok(!strcmp("hi ", out) || + broken(!strcmp("hi\r\n", out)), /* Win9x */ + "failed out=[%s]\n",out); + ok(r==3 || + broken(r==4), /* Win9x */ + "failed: r=%d\n",r); /* carriage return line feed */ r = doit(FORMAT_MESSAGE_FROM_STRING | FORMAT_MESSAGE_MAX_WIDTH_MASK, "hi\r\n", 0,
1
0
0
0
Andrew Nguyen : kernel32: Merge the insertion and non-insertion codepaths in the format_message helper together to share common functionality .
by Alexandre Julliard
28 Apr '10
28 Apr '10
Module: wine Branch: master Commit: 57636255efd1b5bf5f18b2053227dc48898ba5dd URL:
http://source.winehq.org/git/wine.git/?a=commit;h=57636255efd1b5bf5f18b2053…
Author: Andrew Nguyen <anguyen(a)codeweavers.com> Date: Wed Apr 28 04:20:48 2010 -0500 kernel32: Merge the insertion and non-insertion codepaths in the format_message helper together to share common functionality. --- dlls/kernel32/format_msg.c | 162 +++++++++++++++----------------------- dlls/kernel32/tests/format_msg.c | 106 +++++++++++++++++++++++++ 2 files changed, 169 insertions(+), 99 deletions(-) Diff:
http://source.winehq.org/git/wine.git/?a=commitdiff;h=57636255efd1b5bf5f18b…
1
0
0
0
← Newer
1
2
3
4
5
6
7
...
90
Older →
Jump to page:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
Results per page:
10
25
50
100
200